diff --git a/feature/shlink-web-component-0.16.1/.htaccess b/feature/shlink-web-component-0.16.1/.htaccess new file mode 100644 index 00000000..680e1a5e --- /dev/null +++ b/feature/shlink-web-component-0.16.1/.htaccess @@ -0,0 +1,16 @@ +RewriteEngine on +RewriteBase / + +# do not do anything for already existing files +RewriteCond %{REQUEST_FILENAME} -f [OR] +RewriteCond %{REQUEST_FILENAME} -l [OR] +RewriteCond %{REQUEST_FILENAME} -d +RewriteRule (.*) - [L] + +# if request is no valid file NOR directory +RewriteCond %{REQUEST_FILENAME} !-f +RewriteCond %{REQUEST_FILENAME} !-d +# if static asset do not do anything +RewriteRule (.*)(css|js|html|png|jpe?g|gif|bmp|ico|json|csv|otf|eot|svg|svgz|ttf|woff|woff2|ijmap|pdf|tif|map) - [NC,L,R=404] +# everything else should be redirected to /index.html so it can be routed by it +RewriteRule (.*) /index.html [L] diff --git a/feature/shlink-web-component-0.16.1/assets/index-CdRM-8Jg.js b/feature/shlink-web-component-0.16.1/assets/index-CdRM-8Jg.js new file mode 100644 index 00000000..cdcd6ffd --- /dev/null +++ b/feature/shlink-web-component-0.16.1/assets/index-CdRM-8Jg.js @@ -0,0 +1,806 @@ +function xB(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const s of a.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}})();function ri(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var D1={exports:{}},Dd={};/** + * @license React + * react-jsx-runtime.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var lA;function wB(){if(lA)return Dd;lA=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,a){var s=null;if(a!==void 0&&(s=""+a),i.key!==void 0&&(s=""+i.key),"key"in i){a={};for(var u in i)u!=="key"&&(a[u]=i[u])}else a=i;return i=a.ref,{$$typeof:e,type:r,key:s,ref:i!==void 0?i:null,props:a}}return Dd.Fragment=t,Dd.jsx=n,Dd.jsxs=n,Dd}var uA;function SB(){return uA||(uA=1,D1.exports=wB()),D1.exports}var v=SB(),k1={exports:{}},kd={},I1={exports:{}},U1={};/** + * @license React + * scheduler.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var cA;function CB(){return cA||(cA=1,function(e){function t(Y,U){var I=Y.length;Y.push(U);e:for(;0>>1,M=Y[z];if(0>>1;zi(H,I))rei(ue,H)?(Y[z]=ue,Y[re]=I,z=re):(Y[z]=H,Y[W]=I,z=W);else if(rei(ue,I))Y[z]=ue,Y[re]=I,z=re;else break e}}return U}function i(Y,U){var I=Y.sortIndex-U.sortIndex;return I!==0?I:Y.id-U.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var d=[],f=[],m=1,p=null,b=3,_=!1,w=!1,x=!1,A=!1,C=typeof setTimeout=="function"?setTimeout:null,j=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function N(Y){for(var U=n(f);U!==null;){if(U.callback===null)r(f);else if(U.startTime<=Y)r(f),U.sortIndex=U.expirationTime,t(d,U);else break;U=n(f)}}function B(Y){if(x=!1,N(Y),!w)if(n(d)!==null)w=!0,V||(V=!0,ne());else{var U=n(f);U!==null&&se(B,U.startTime-Y)}}var V=!1,Z=-1,X=5,oe=-1;function ee(){return A?!0:!(e.unstable_now()-oeY&&ee());){var z=p.callback;if(typeof z=="function"){p.callback=null,b=p.priorityLevel;var M=z(p.expirationTime<=Y);if(Y=e.unstable_now(),typeof M=="function"){p.callback=M,N(Y),U=!0;break t}p===n(d)&&r(d),N(Y)}else r(d);p=n(d)}if(p!==null)U=!0;else{var D=n(f);D!==null&&se(B,D.startTime-Y),U=!1}}break e}finally{p=null,b=I,_=!1}U=void 0}}finally{U?ne():V=!1}}}var ne;if(typeof O=="function")ne=function(){O(J)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,Q=he.port2;he.port1.onmessage=J,ne=function(){Q.postMessage(null)}}else ne=function(){C(J,0)};function se(Y,U){Z=C(function(){Y(e.unstable_now())},U)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(Y){Y.callback=null},e.unstable_forceFrameRate=function(Y){0>Y||125z?(Y.sortIndex=I,t(f,Y),n(d)===null&&Y===n(f)&&(x?(j(Z),Z=-1):x=!0,se(B,I-z))):(Y.sortIndex=M,t(d,Y),w||_||(w=!0,V||(V=!0,ne()))),Y},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(Y){var U=b;return function(){var I=b;b=U;try{return Y.apply(this,arguments)}finally{b=I}}}}(U1)),U1}var fA;function EB(){return fA||(fA=1,I1.exports=CB()),I1.exports}var B1={exports:{}},yt={};/** + * @license React + * react.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var dA;function AB(){if(dA)return yt;dA=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.iterator;function b(M){return M===null||typeof M!="object"?null:(M=p&&M[p]||M["@@iterator"],typeof M=="function"?M:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,x={};function A(M,D,W){this.props=M,this.context=D,this.refs=x,this.updater=W||_}A.prototype.isReactComponent={},A.prototype.setState=function(M,D){if(typeof M!="object"&&typeof M!="function"&&M!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,M,D,"setState")},A.prototype.forceUpdate=function(M){this.updater.enqueueForceUpdate(this,M,"forceUpdate")};function C(){}C.prototype=A.prototype;function j(M,D,W){this.props=M,this.context=D,this.refs=x,this.updater=W||_}var O=j.prototype=new C;O.constructor=j,w(O,A.prototype),O.isPureReactComponent=!0;var N=Array.isArray,B={H:null,A:null,T:null,S:null,V:null},V=Object.prototype.hasOwnProperty;function Z(M,D,W,H,re,ue){return W=ue.ref,{$$typeof:e,type:M,key:D,ref:W!==void 0?W:null,props:ue}}function X(M,D){return Z(M.type,D,void 0,void 0,void 0,M.props)}function oe(M){return typeof M=="object"&&M!==null&&M.$$typeof===e}function ee(M){var D={"=":"=0",":":"=2"};return"$"+M.replace(/[=:]/g,function(W){return D[W]})}var J=/\/+/g;function ne(M,D){return typeof M=="object"&&M!==null&&M.key!=null?ee(""+M.key):D.toString(36)}function he(){}function Q(M){switch(M.status){case"fulfilled":return M.value;case"rejected":throw M.reason;default:switch(typeof M.status=="string"?M.then(he,he):(M.status="pending",M.then(function(D){M.status==="pending"&&(M.status="fulfilled",M.value=D)},function(D){M.status==="pending"&&(M.status="rejected",M.reason=D)})),M.status){case"fulfilled":return M.value;case"rejected":throw M.reason}}throw M}function se(M,D,W,H,re){var ue=typeof M;(ue==="undefined"||ue==="boolean")&&(M=null);var ce=!1;if(M===null)ce=!0;else switch(ue){case"bigint":case"string":case"number":ce=!0;break;case"object":switch(M.$$typeof){case e:case t:ce=!0;break;case m:return ce=M._init,se(ce(M._payload),D,W,H,re)}}if(ce)return re=re(M),ce=H===""?"."+ne(M,0):H,N(re)?(W="",ce!=null&&(W=ce.replace(J,"$&/")+"/"),se(re,D,W,"",function(F){return F})):re!=null&&(oe(re)&&(re=X(re,W+(re.key==null||M&&M.key===re.key?"":(""+re.key).replace(J,"$&/")+"/")+ce)),D.push(re)),1;ce=0;var ve=H===""?".":H+":";if(N(M))for(var k=0;k"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),z1.exports=TB(),z1.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var gA;function OB(){if(gA)return kd;gA=1;var e=EB(),t=mf(),n=d5();function r(o){var l="https://react.dev/errors/"+o;if(1M||(o.current=z[M],z[M]=null,M--)}function H(o,l){M++,z[M]=o.current,o.current=l}var re=D(null),ue=D(null),ce=D(null),ve=D(null);function k(o,l){switch(H(ce,l),H(ue,o),H(re,null),l.nodeType){case 9:case 11:o=(o=l.documentElement)&&(o=o.namespaceURI)?kE(o):0;break;default:if(o=l.tagName,l=l.namespaceURI)l=kE(l),o=IE(l,o);else switch(o){case"svg":o=1;break;case"math":o=2;break;default:o=0}}W(re),H(re,o)}function F(){W(re),W(ue),W(ce)}function G(o){o.memoizedState!==null&&H(ve,o);var l=re.current,h=IE(l,o.type);l!==h&&(H(ue,o),H(re,h))}function le(o){ue.current===o&&(W(re),W(ue)),ve.current===o&&(W(ve),Pd._currentValue=I)}var q=Object.prototype.hasOwnProperty,ae=e.unstable_scheduleCallback,fe=e.unstable_cancelCallback,ge=e.unstable_shouldYield,de=e.unstable_requestPaint,_e=e.unstable_now,Te=e.unstable_getCurrentPriorityLevel,Le=e.unstable_ImmediatePriority,He=e.unstable_UserBlockingPriority,Be=e.unstable_NormalPriority,qe=e.unstable_LowPriority,be=e.unstable_IdlePriority,we=e.log,De=e.unstable_setDisableYieldValue,Re=null,Ae=null;function ze(o){if(typeof we=="function"&&De(o),Ae&&typeof Ae.setStrictMode=="function")try{Ae.setStrictMode(Re,o)}catch{}}var Ve=Math.clz32?Math.clz32:at,Ze=Math.log,ut=Math.LN2;function at(o){return o>>>=0,o===0?32:31-(Ze(o)/ut|0)|0}var pt=256,Dt=4194304;function kt(o){var l=o&42;if(l!==0)return l;switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return o&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return o}}function It(o,l,h){var y=o.pendingLanes;if(y===0)return 0;var E=0,P=o.suspendedLanes,K=o.pingedLanes;o=o.warmLanes;var ie=y&134217727;return ie!==0?(y=ie&~P,y!==0?E=kt(y):(K&=ie,K!==0?E=kt(K):h||(h=ie&~o,h!==0&&(E=kt(h))))):(ie=y&~P,ie!==0?E=kt(ie):K!==0?E=kt(K):h||(h=y&~o,h!==0&&(E=kt(h)))),E===0?0:l!==0&&l!==E&&(l&P)===0&&(P=E&-E,h=l&-l,P>=h||P===32&&(h&4194048)!==0)?l:E}function wr(o,l){return(o.pendingLanes&~(o.suspendedLanes&~o.pingedLanes)&l)===0}function Vn(o,l){switch(o){case 1:case 2:case 4:case 8:case 64:return l+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function os(){var o=pt;return pt<<=1,(pt&4194048)===0&&(pt=256),o}function ii(){var o=Dt;return Dt<<=1,(Dt&62914560)===0&&(Dt=4194304),o}function ss(o){for(var l=[],h=0;31>h;h++)l.push(o);return l}function ja(o,l){o.pendingLanes|=l,l!==268435456&&(o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0)}function Gu(o,l,h,y,E,P){var K=o.pendingLanes;o.pendingLanes=h,o.suspendedLanes=0,o.pingedLanes=0,o.warmLanes=0,o.expiredLanes&=h,o.entangledLanes&=h,o.errorRecoveryDisabledLanes&=h,o.shellSuspendCounter=0;var ie=o.entanglements,pe=o.expirationTimes,Ee=o.hiddenUpdates;for(h=K&~h;0)":-1E||pe[y]!==Ee[E]){var ke=` +`+pe[y].replace(" at new "," at ");return o.displayName&&ke.includes("")&&(ke=ke.replace("",o.displayName)),ke}while(1<=y&&0<=E);break}}}finally{Zu=!1,Error.prepareStackTrace=h}return(h=o?o.displayName||o.name:"")?lo(h):""}function jt(o){switch(o.tag){case 26:case 27:case 5:return lo(o.type);case 16:return lo("Lazy");case 13:return lo("Suspense");case 19:return lo("SuspenseList");case 0:case 15:return uo(o.type,!1);case 11:return uo(o.type.render,!1);case 1:return uo(o.type,!0);case 31:return lo("Activity");default:return""}}function en(o){try{var l="";do l+=jt(o),o=o.return;while(o);return l}catch(h){return` +Error generating stack: `+h.message+` +`+h.stack}}function cr(o){switch(typeof o){case"bigint":case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function co(o){var l=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function fs(o){var l=co(o)?"checked":"value",h=Object.getOwnPropertyDescriptor(o.constructor.prototype,l),y=""+o[l];if(!o.hasOwnProperty(l)&&typeof h<"u"&&typeof h.get=="function"&&typeof h.set=="function"){var E=h.get,P=h.set;return Object.defineProperty(o,l,{configurable:!0,get:function(){return E.call(this)},set:function(K){y=""+K,P.call(this,K)}}),Object.defineProperty(o,l,{enumerable:h.enumerable}),{getValue:function(){return y},setValue:function(K){y=""+K},stopTracking:function(){o._valueTracker=null,delete o[l]}}}}function ds(o){o._valueTracker||(o._valueTracker=fs(o))}function vt(o){if(!o)return!1;var l=o._valueTracker;if(!l)return!0;var h=l.getValue(),y="";return o&&(y=co(o)?o.checked?"true":"false":o.value),o=y,o!==h?(l.setValue(o),!0):!1}function tn(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}var Bf=/[\n"\\]/g;function fr(o){return o.replace(Bf,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Sr(o,l,h,y,E,P,K,ie){o.name="",K!=null&&typeof K!="function"&&typeof K!="symbol"&&typeof K!="boolean"?o.type=K:o.removeAttribute("type"),l!=null?K==="number"?(l===0&&o.value===""||o.value!=l)&&(o.value=""+cr(l)):o.value!==""+cr(l)&&(o.value=""+cr(l)):K!=="submit"&&K!=="reset"||o.removeAttribute("value"),l!=null?hs(o,K,cr(l)):h!=null?hs(o,K,cr(h)):y!=null&&o.removeAttribute("value"),E==null&&P!=null&&(o.defaultChecked=!!P),E!=null&&(o.checked=E&&typeof E!="function"&&typeof E!="symbol"),ie!=null&&typeof ie!="function"&&typeof ie!="symbol"&&typeof ie!="boolean"?o.name=""+cr(ie):o.removeAttribute("name")}function vm(o,l,h,y,E,P,K,ie){if(P!=null&&typeof P!="function"&&typeof P!="symbol"&&typeof P!="boolean"&&(o.type=P),l!=null||h!=null){if(!(P!=="submit"&&P!=="reset"||l!=null))return;h=h!=null?""+cr(h):"",l=l!=null?""+cr(l):h,ie||l===o.value||(o.value=l),o.defaultValue=l}y=y??E,y=typeof y!="function"&&typeof y!="symbol"&&!!y,o.checked=ie?o.checked:!!y,o.defaultChecked=!!y,K!=null&&typeof K!="function"&&typeof K!="symbol"&&typeof K!="boolean"&&(o.name=K)}function hs(o,l,h){l==="number"&&tn(o.ownerDocument)===o||o.defaultValue===""+h||(o.defaultValue=""+h)}function Gr(o,l,h,y){if(o=o.options,l){l={};for(var E=0;E"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zl=!1;if(Ii)try{var ho={};Object.defineProperty(ho,"passive",{get:function(){zl=!0}}),window.addEventListener("test",ho,ho),window.removeEventListener("test",ho,ho)}catch{zl=!1}var Ui=null,ra=null,vs=null;function ys(){if(vs)return vs;var o,l=ra,h=l.length,y,E="value"in Ui?Ui.value:Ui.textContent,P=E.length;for(o=0;o=tr),Tm=" ",nc=!1;function rc(o,l){switch(o){case"keyup":return r0.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Om(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var _s=!1;function jm(o,l){switch(o){case"compositionend":return Om(l);case"keypress":return l.which!==32?null:(nc=!0,Tm);case"textInput":return o=l.data,o===Tm&&nc?null:o;default:return null}}function i0(o,l){if(_s)return o==="compositionend"||!vo&&rc(o,l)?(o=ys(),vs=ra=Ui=null,_s=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1=l)return{node:h,offset:l-o};o=y}e:{for(;h;){if(h.nextSibling){h=h.nextSibling;break e}h=h.parentNode}h=void 0}h=Hl(h)}}function ac(o,l){return o&&l?o===l?!0:o&&o.nodeType===3?!1:l&&l.nodeType===3?ac(o,l.parentNode):"contains"in o?o.contains(l):o.compareDocumentPosition?!!(o.compareDocumentPosition(l)&16):!1:!1}function Gl(o){o=o!=null&&o.ownerDocument!=null&&o.ownerDocument.defaultView!=null?o.ownerDocument.defaultView:window;for(var l=tn(o.document);l instanceof o.HTMLIFrameElement;){try{var h=typeof l.contentWindow.location.href=="string"}catch{h=!1}if(h)o=l.contentWindow;else break;l=tn(o.document)}return l}function Wl(o){var l=o&&o.nodeName&&o.nodeName.toLowerCase();return l&&(l==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||l==="textarea"||o.contentEditable==="true")}var oc=Ii&&"documentMode"in document&&11>=document.documentMode,li=null,Es=null,bo=null,sc=!1;function Rm(o,l,h){var y=h.window===h?h.document:h.nodeType===9?h:h.ownerDocument;sc||li==null||li!==tn(y)||(y=li,"selectionStart"in y&&Wl(y)?y={start:y.selectionStart,end:y.selectionEnd}:(y=(y.ownerDocument&&y.ownerDocument.defaultView||window).getSelection(),y={anchorNode:y.anchorNode,anchorOffset:y.anchorOffset,focusNode:y.focusNode,focusOffset:y.focusOffset}),bo&&Dr(bo,y)||(bo=y,y=yp(Es,"onSelect"),0>=K,E-=K,te=1<<32-Ve(l)+E|h<P?P:8;var K=Y.T,ie={};Y.T=ie,L0(o,!1,l,h);try{var pe=E(),Ee=Y.S;if(Ee!==null&&Ee(ie,pe),pe!==null&&typeof pe=="object"&&typeof pe.then=="function"){var ke=fU(pe,y);dd(o,l,ke,pi(o))}else dd(o,l,y,pi(o))}catch(Ue){dd(o,l,{then:function(){},status:"rejected",reason:Ue},pi())}finally{U.p=P,Y.T=K}}function gU(){}function R0(o,l,h,y){if(o.tag!==5)throw Error(r(476));var E=l4(o).queue;s4(o,E,l,I,h===null?gU:function(){return u4(o),h(y)})}function l4(o){var l=o.memoizedState;if(l!==null)return l;l={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Eo,lastRenderedState:I},next:null};var h={};return l.next={memoizedState:h,baseState:h,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Eo,lastRenderedState:h},next:null},o.memoizedState=l,o=o.alternate,o!==null&&(o.memoizedState=l),l}function u4(o){var l=l4(o).next.queue;dd(o,l,{},pi())}function N0(){return Er(Pd)}function c4(){return zn().memoizedState}function f4(){return zn().memoizedState}function vU(o){for(var l=o.return;l!==null;){switch(l.tag){case 24:case 3:var h=pi();o=Ns(h);var y=Ls(l,o,h);y!==null&&(gi(y,l,h),od(y,l,h)),l={cache:u0()},o.payload=l;return}l=l.return}}function yU(o,l,h){var y=pi();h={lane:y,revertLane:0,action:h,hasEagerState:!1,eagerState:null,next:null},Qm(o)?h4(l,h):(h=wo(o,l,h,y),h!==null&&(gi(h,o,y),m4(h,l,y)))}function d4(o,l,h){var y=pi();dd(o,l,h,y)}function dd(o,l,h,y){var E={lane:y,revertLane:0,action:h,hasEagerState:!1,eagerState:null,next:null};if(Qm(o))h4(l,E);else{var P=o.alternate;if(o.lanes===0&&(P===null||P.lanes===0)&&(P=l.lastRenderedReducer,P!==null))try{var K=l.lastRenderedState,ie=P(K,h);if(E.hasEagerState=!0,E.eagerState=ie,Lr(ie,K))return Zl(o,l,E,0),rn===null&&Kl(),!1}catch{}finally{}if(h=wo(o,l,E,y),h!==null)return gi(h,o,y),m4(h,l,y),!0}return!1}function L0(o,l,h,y){if(y={lane:2,revertLane:d1(),action:y,hasEagerState:!1,eagerState:null,next:null},Qm(o)){if(l)throw Error(r(479))}else l=wo(o,h,y,2),l!==null&&gi(l,o,2)}function Qm(o){var l=o.alternate;return o===bt||l!==null&&l===bt}function h4(o,l){gc=Gm=!0;var h=o.pending;h===null?l.next=l:(l.next=h.next,h.next=l),o.pending=l}function m4(o,l,h){if((h&4194048)!==0){var y=l.lanes;y&=o.pendingLanes,h|=y,l.lanes=h,Pa(o,h)}}var Jm={readContext:Er,use:Ym,useCallback:Nn,useContext:Nn,useEffect:Nn,useImperativeHandle:Nn,useLayoutEffect:Nn,useInsertionEffect:Nn,useMemo:Nn,useReducer:Nn,useRef:Nn,useState:Nn,useDebugValue:Nn,useDeferredValue:Nn,useTransition:Nn,useSyncExternalStore:Nn,useId:Nn,useHostTransitionStatus:Nn,useFormState:Nn,useActionState:Nn,useOptimistic:Nn,useMemoCache:Nn,useCacheRefresh:Nn},p4={readContext:Er,use:Ym,useCallback:function(o,l){return Yr().memoizedState=[o,l===void 0?null:l],o},useContext:Er,useEffect:Q3,useImperativeHandle:function(o,l,h){h=h!=null?h.concat([o]):null,Xm(4194308,4,n4.bind(null,l,o),h)},useLayoutEffect:function(o,l){return Xm(4194308,4,o,l)},useInsertionEffect:function(o,l){Xm(4,2,o,l)},useMemo:function(o,l){var h=Yr();l=l===void 0?null:l;var y=o();if(iu){ze(!0);try{o()}finally{ze(!1)}}return h.memoizedState=[y,l],y},useReducer:function(o,l,h){var y=Yr();if(h!==void 0){var E=h(l);if(iu){ze(!0);try{h(l)}finally{ze(!1)}}}else E=l;return y.memoizedState=y.baseState=E,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:E},y.queue=o,o=o.dispatch=yU.bind(null,bt,o),[y.memoizedState,o]},useRef:function(o){var l=Yr();return o={current:o},l.memoizedState=o},useState:function(o){o=O0(o);var l=o.queue,h=d4.bind(null,bt,l);return l.dispatch=h,[o.memoizedState,h]},useDebugValue:P0,useDeferredValue:function(o,l){var h=Yr();return M0(h,o,l)},useTransition:function(){var o=O0(!1);return o=s4.bind(null,bt,o.queue,!0,!1),Yr().memoizedState=o,[!1,o]},useSyncExternalStore:function(o,l,h){var y=bt,E=Yr();if(ht){if(h===void 0)throw Error(r(407));h=h()}else{if(h=l(),rn===null)throw Error(r(349));(Pt&124)!==0||k3(y,l,h)}E.memoizedState=h;var P={value:h,getSnapshot:l};return E.queue=P,Q3(U3.bind(null,y,P,o),[o]),y.flags|=2048,yc(9,Zm(),I3.bind(null,y,P,h,l),null),h},useId:function(){var o=Yr(),l=rn.identifierPrefix;if(ht){var h=me,y=te;h=(y&~(1<<32-Ve(y)-1)).toString(32)+h,l="«"+l+"R"+h,h=Wm++,0ft?(ar=st,st=null):ar=st.sibling;var Bt=Oe(xe,st,Ce[ft],Ie);if(Bt===null){st===null&&(st=ar);break}o&&st&&Bt.alternate===null&&l(xe,st),ye=P(Bt,ye,ft),wt===null?nt=Bt:wt.sibling=Bt,wt=Bt,st=ar}if(ft===Ce.length)return h(xe,st),ht&&Se(xe,ft),nt;if(st===null){for(;ftft?(ar=st,st=null):ar=st.sibling;var Xs=Oe(xe,st,Bt.value,Ie);if(Xs===null){st===null&&(st=ar);break}o&&st&&Xs.alternate===null&&l(xe,st),ye=P(Xs,ye,ft),wt===null?nt=Xs:wt.sibling=Xs,wt=Xs,st=ar}if(Bt.done)return h(xe,st),ht&&Se(xe,ft),nt;if(st===null){for(;!Bt.done;ft++,Bt=Ce.next())Bt=Ue(xe,Bt.value,Ie),Bt!==null&&(ye=P(Bt,ye,ft),wt===null?nt=Bt:wt.sibling=Bt,wt=Bt);return ht&&Se(xe,ft),nt}for(st=y(st);!Bt.done;ft++,Bt=Ce.next())Bt=je(st,xe,ft,Bt.value,Ie),Bt!==null&&(o&&Bt.alternate!==null&&st.delete(Bt.key===null?ft:Bt.key),ye=P(Bt,ye,ft),wt===null?nt=Bt:wt.sibling=Bt,wt=Bt);return o&&st.forEach(function(_B){return l(xe,_B)}),ht&&Se(xe,ft),nt}function Wt(xe,ye,Ce,Ie){if(typeof Ce=="object"&&Ce!==null&&Ce.type===w&&Ce.key===null&&(Ce=Ce.props.children),typeof Ce=="object"&&Ce!==null){switch(Ce.$$typeof){case b:e:{for(var nt=Ce.key;ye!==null;){if(ye.key===nt){if(nt=Ce.type,nt===w){if(ye.tag===7){h(xe,ye.sibling),Ie=E(ye,Ce.props.children),Ie.return=xe,xe=Ie;break e}}else if(ye.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===X&&v4(nt)===ye.type){h(xe,ye.sibling),Ie=E(ye,Ce.props),md(Ie,Ce),Ie.return=xe,xe=Ie;break e}h(xe,ye);break}else l(xe,ye);ye=ye.sibling}Ce.type===w?(Ie=Ia(Ce.props.children,xe.mode,Ie,Ce.key),Ie.return=xe,xe=Ie):(Ie=Ql(Ce.type,Ce.key,Ce.props,null,xe.mode,Ie),md(Ie,Ce),Ie.return=xe,xe=Ie)}return K(xe);case _:e:{for(nt=Ce.key;ye!==null;){if(ye.key===nt)if(ye.tag===4&&ye.stateNode.containerInfo===Ce.containerInfo&&ye.stateNode.implementation===Ce.implementation){h(xe,ye.sibling),Ie=E(ye,Ce.children||[]),Ie.return=xe,xe=Ie;break e}else{h(xe,ye);break}else l(xe,ye);ye=ye.sibling}Ie=fc(Ce,xe.mode,Ie),Ie.return=xe,xe=Ie}return K(xe);case X:return nt=Ce._init,Ce=nt(Ce._payload),Wt(xe,ye,Ce,Ie)}if(se(Ce))return dt(xe,ye,Ce,Ie);if(ne(Ce)){if(nt=ne(Ce),typeof nt!="function")throw Error(r(150));return Ce=nt.call(Ce),ct(xe,ye,Ce,Ie)}if(typeof Ce.then=="function")return Wt(xe,ye,ep(Ce),Ie);if(Ce.$$typeof===O)return Wt(xe,ye,Fm(xe,Ce),Ie);tp(xe,Ce)}return typeof Ce=="string"&&Ce!==""||typeof Ce=="number"||typeof Ce=="bigint"?(Ce=""+Ce,ye!==null&&ye.tag===6?(h(xe,ye.sibling),Ie=E(ye,Ce),Ie.return=xe,xe=Ie):(h(xe,ye),Ie=td(Ce,xe.mode,Ie),Ie.return=xe,xe=Ie),K(xe)):h(xe,ye)}return function(xe,ye,Ce,Ie){try{hd=0;var nt=Wt(xe,ye,Ce,Ie);return bc=null,nt}catch(st){if(st===id||st===Vm)throw st;var wt=Ur(29,st,null,xe.mode);return wt.lanes=Ie,wt.return=xe,wt}finally{}}}var _c=y4(!0),b4=y4(!1),Vi=D(null),Ba=null;function ks(o){var l=o.alternate;H(Gn,Gn.current&1),H(Vi,o),Ba===null&&(l===null||pc.current!==null||l.memoizedState!==null)&&(Ba=o)}function _4(o){if(o.tag===22){if(H(Gn,Gn.current),H(Vi,o),Ba===null){var l=o.alternate;l!==null&&l.memoizedState!==null&&(Ba=o)}}else Is()}function Is(){H(Gn,Gn.current),H(Vi,Vi.current)}function Ao(o){W(Vi),Ba===o&&(Ba=null),W(Gn)}var Gn=D(0);function np(o){for(var l=o;l!==null;){if(l.tag===13){var h=l.memoizedState;if(h!==null&&(h=h.dehydrated,h===null||h.data==="$?"||C1(h)))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===o)break;for(;l.sibling===null;){if(l.return===null||l.return===o)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}function D0(o,l,h,y){l=o.memoizedState,h=h(y,l),h=h==null?l:m({},l,h),o.memoizedState=h,o.lanes===0&&(o.updateQueue.baseState=h)}var k0={enqueueSetState:function(o,l,h){o=o._reactInternals;var y=pi(),E=Ns(y);E.payload=l,h!=null&&(E.callback=h),l=Ls(o,E,y),l!==null&&(gi(l,o,y),od(l,o,y))},enqueueReplaceState:function(o,l,h){o=o._reactInternals;var y=pi(),E=Ns(y);E.tag=1,E.payload=l,h!=null&&(E.callback=h),l=Ls(o,E,y),l!==null&&(gi(l,o,y),od(l,o,y))},enqueueForceUpdate:function(o,l){o=o._reactInternals;var h=pi(),y=Ns(h);y.tag=2,l!=null&&(y.callback=l),l=Ls(o,y,h),l!==null&&(gi(l,o,h),od(l,o,h))}};function x4(o,l,h,y,E,P,K){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(y,P,K):l.prototype&&l.prototype.isPureReactComponent?!Dr(h,y)||!Dr(E,P):!0}function w4(o,l,h,y){o=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(h,y),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(h,y),l.state!==o&&k0.enqueueReplaceState(l,l.state,null)}function au(o,l){var h=l;if("ref"in l){h={};for(var y in l)y!=="ref"&&(h[y]=l[y])}if(o=o.defaultProps){h===l&&(h=m({},h));for(var E in o)h[E]===void 0&&(h[E]=o[E])}return h}var rp=typeof reportError=="function"?reportError:function(o){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof o=="object"&&o!==null&&typeof o.message=="string"?String(o.message):String(o),error:o});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",o);return}console.error(o)};function S4(o){rp(o)}function C4(o){console.error(o)}function E4(o){rp(o)}function ip(o,l){try{var h=o.onUncaughtError;h(l.value,{componentStack:l.stack})}catch(y){setTimeout(function(){throw y})}}function A4(o,l,h){try{var y=o.onCaughtError;y(h.value,{componentStack:h.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(E){setTimeout(function(){throw E})}}function I0(o,l,h){return h=Ns(h),h.tag=3,h.payload={element:null},h.callback=function(){ip(o,l)},h}function T4(o){return o=Ns(o),o.tag=3,o}function O4(o,l,h,y){var E=h.type.getDerivedStateFromError;if(typeof E=="function"){var P=y.value;o.payload=function(){return E(P)},o.callback=function(){A4(l,h,y)}}var K=h.stateNode;K!==null&&typeof K.componentDidCatch=="function"&&(o.callback=function(){A4(l,h,y),typeof E!="function"&&(Vs===null?Vs=new Set([this]):Vs.add(this));var ie=y.stack;this.componentDidCatch(y.value,{componentStack:ie!==null?ie:""})})}function _U(o,l,h,y,E){if(h.flags|=32768,y!==null&&typeof y=="object"&&typeof y.then=="function"){if(l=h.alternate,l!==null&&tu(l,h,E,!0),h=Vi.current,h!==null){switch(h.tag){case 13:return Ba===null?s1():h.alternate===null&&En===0&&(En=3),h.flags&=-257,h.flags|=65536,h.lanes=E,y===d0?h.flags|=16384:(l=h.updateQueue,l===null?h.updateQueue=new Set([y]):l.add(y),u1(o,y,E)),!1;case 22:return h.flags|=65536,y===d0?h.flags|=16384:(l=h.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([y])},h.updateQueue=l):(h=l.retryQueue,h===null?l.retryQueue=new Set([y]):h.add(y)),u1(o,y,E)),!1}throw Error(r(435,h.tag))}return u1(o,y,E),s1(),!1}if(ht)return l=Vi.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=E,y!==nr&&(o=Error(r(422),{cause:y}),Ms(kr(o,h)))):(y!==nr&&(l=Error(r(423),{cause:y}),Ms(kr(l,h))),o=o.current.alternate,o.flags|=65536,E&=-E,o.lanes|=E,y=kr(y,h),E=I0(o.stateNode,y,E),p0(o,E),En!==4&&(En=2)),!1;var P=Error(r(520),{cause:y});if(P=kr(P,h),xd===null?xd=[P]:xd.push(P),En!==4&&(En=2),l===null)return!0;y=kr(y,h),h=l;do{switch(h.tag){case 3:return h.flags|=65536,o=E&-E,h.lanes|=o,o=I0(h.stateNode,y,o),p0(h,o),!1;case 1:if(l=h.type,P=h.stateNode,(h.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&(Vs===null||!Vs.has(P))))return h.flags|=65536,E&=-E,h.lanes|=E,E=T4(E),O4(E,o,h,y),p0(h,E),!1}h=h.return}while(h!==null);return!1}var j4=Error(r(461)),rr=!1;function hr(o,l,h,y){l.child=o===null?b4(l,null,h,y):_c(l,o.child,h,y)}function P4(o,l,h,y,E){h=h.render;var P=l.ref;if("ref"in y){var K={};for(var ie in y)ie!=="ref"&&(K[ie]=y[ie])}else K=y;return nu(l),y=_0(o,l,h,K,P,E),ie=x0(),o!==null&&!rr?(w0(o,l,E),To(o,l,E)):(ht&&ie&&Fe(l),l.flags|=1,hr(o,l,y,E),l.child)}function M4(o,l,h,y,E){if(o===null){var P=h.type;return typeof P=="function"&&!cc(P)&&P.defaultProps===void 0&&h.compare===null?(l.tag=15,l.type=P,R4(o,l,P,y,E)):(o=Ql(h.type,null,y,l,l.mode,E),o.ref=l.ref,o.return=l,l.child=o)}if(P=o.child,!H0(o,E)){var K=P.memoizedProps;if(h=h.compare,h=h!==null?h:Dr,h(K,y)&&o.ref===l.ref)return To(o,l,E)}return l.flags|=1,o=Fi(P,y),o.ref=l.ref,o.return=l,l.child=o}function R4(o,l,h,y,E){if(o!==null){var P=o.memoizedProps;if(Dr(P,y)&&o.ref===l.ref)if(rr=!1,l.pendingProps=y=P,H0(o,E))(o.flags&131072)!==0&&(rr=!0);else return l.lanes=o.lanes,To(o,l,E)}return U0(o,l,h,y,E)}function N4(o,l,h){var y=l.pendingProps,E=y.children,P=o!==null?o.memoizedState:null;if(y.mode==="hidden"){if((l.flags&128)!==0){if(y=P!==null?P.baseLanes|h:h,o!==null){for(E=l.child=o.child,P=0;E!==null;)P=P|E.lanes|E.childLanes,E=E.sibling;l.childLanes=P&~y}else l.childLanes=0,l.child=null;return L4(o,l,y,h)}if((h&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},o!==null&&$m(l,P!==null?P.cachePool:null),P!==null?R3(l,P):v0(),_4(l);else return l.lanes=l.childLanes=536870912,L4(o,l,P!==null?P.baseLanes|h:h,h)}else P!==null?($m(l,P.cachePool),R3(l,P),Is(),l.memoizedState=null):(o!==null&&$m(l,null),v0(),Is());return hr(o,l,E,h),l.child}function L4(o,l,h,y){var E=f0();return E=E===null?null:{parent:Hn._currentValue,pool:E},l.memoizedState={baseLanes:h,cachePool:E},o!==null&&$m(l,null),v0(),_4(l),o!==null&&tu(o,l,y,!0),null}function ap(o,l){var h=l.ref;if(h===null)o!==null&&o.ref!==null&&(l.flags|=4194816);else{if(typeof h!="function"&&typeof h!="object")throw Error(r(284));(o===null||o.ref!==h)&&(l.flags|=4194816)}}function U0(o,l,h,y,E){return nu(l),h=_0(o,l,h,y,void 0,E),y=x0(),o!==null&&!rr?(w0(o,l,E),To(o,l,E)):(ht&&y&&Fe(l),l.flags|=1,hr(o,l,h,E),l.child)}function D4(o,l,h,y,E,P){return nu(l),l.updateQueue=null,h=L3(l,y,h,E),N3(o),y=x0(),o!==null&&!rr?(w0(o,l,P),To(o,l,P)):(ht&&y&&Fe(l),l.flags|=1,hr(o,l,h,P),l.child)}function k4(o,l,h,y,E){if(nu(l),l.stateNode===null){var P=So,K=h.contextType;typeof K=="object"&&K!==null&&(P=Er(K)),P=new h(y,P),l.memoizedState=P.state!==null&&P.state!==void 0?P.state:null,P.updater=k0,l.stateNode=P,P._reactInternals=l,P=l.stateNode,P.props=y,P.state=l.memoizedState,P.refs={},h0(l),K=h.contextType,P.context=typeof K=="object"&&K!==null?Er(K):So,P.state=l.memoizedState,K=h.getDerivedStateFromProps,typeof K=="function"&&(D0(l,h,K,y),P.state=l.memoizedState),typeof h.getDerivedStateFromProps=="function"||typeof P.getSnapshotBeforeUpdate=="function"||typeof P.UNSAFE_componentWillMount!="function"&&typeof P.componentWillMount!="function"||(K=P.state,typeof P.componentWillMount=="function"&&P.componentWillMount(),typeof P.UNSAFE_componentWillMount=="function"&&P.UNSAFE_componentWillMount(),K!==P.state&&k0.enqueueReplaceState(P,P.state,null),ld(l,y,P,E),sd(),P.state=l.memoizedState),typeof P.componentDidMount=="function"&&(l.flags|=4194308),y=!0}else if(o===null){P=l.stateNode;var ie=l.memoizedProps,pe=au(h,ie);P.props=pe;var Ee=P.context,ke=h.contextType;K=So,typeof ke=="object"&&ke!==null&&(K=Er(ke));var Ue=h.getDerivedStateFromProps;ke=typeof Ue=="function"||typeof P.getSnapshotBeforeUpdate=="function",ie=l.pendingProps!==ie,ke||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(ie||Ee!==K)&&w4(l,P,y,K),Rs=!1;var Oe=l.memoizedState;P.state=Oe,ld(l,y,P,E),sd(),Ee=l.memoizedState,ie||Oe!==Ee||Rs?(typeof Ue=="function"&&(D0(l,h,Ue,y),Ee=l.memoizedState),(pe=Rs||x4(l,h,pe,y,Oe,Ee,K))?(ke||typeof P.UNSAFE_componentWillMount!="function"&&typeof P.componentWillMount!="function"||(typeof P.componentWillMount=="function"&&P.componentWillMount(),typeof P.UNSAFE_componentWillMount=="function"&&P.UNSAFE_componentWillMount()),typeof P.componentDidMount=="function"&&(l.flags|=4194308)):(typeof P.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=y,l.memoizedState=Ee),P.props=y,P.state=Ee,P.context=K,y=pe):(typeof P.componentDidMount=="function"&&(l.flags|=4194308),y=!1)}else{P=l.stateNode,m0(o,l),K=l.memoizedProps,ke=au(h,K),P.props=ke,Ue=l.pendingProps,Oe=P.context,Ee=h.contextType,pe=So,typeof Ee=="object"&&Ee!==null&&(pe=Er(Ee)),ie=h.getDerivedStateFromProps,(Ee=typeof ie=="function"||typeof P.getSnapshotBeforeUpdate=="function")||typeof P.UNSAFE_componentWillReceiveProps!="function"&&typeof P.componentWillReceiveProps!="function"||(K!==Ue||Oe!==pe)&&w4(l,P,y,pe),Rs=!1,Oe=l.memoizedState,P.state=Oe,ld(l,y,P,E),sd();var je=l.memoizedState;K!==Ue||Oe!==je||Rs||o!==null&&o.dependencies!==null&&zm(o.dependencies)?(typeof ie=="function"&&(D0(l,h,ie,y),je=l.memoizedState),(ke=Rs||x4(l,h,ke,y,Oe,je,pe)||o!==null&&o.dependencies!==null&&zm(o.dependencies))?(Ee||typeof P.UNSAFE_componentWillUpdate!="function"&&typeof P.componentWillUpdate!="function"||(typeof P.componentWillUpdate=="function"&&P.componentWillUpdate(y,je,pe),typeof P.UNSAFE_componentWillUpdate=="function"&&P.UNSAFE_componentWillUpdate(y,je,pe)),typeof P.componentDidUpdate=="function"&&(l.flags|=4),typeof P.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof P.componentDidUpdate!="function"||K===o.memoizedProps&&Oe===o.memoizedState||(l.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||K===o.memoizedProps&&Oe===o.memoizedState||(l.flags|=1024),l.memoizedProps=y,l.memoizedState=je),P.props=y,P.state=je,P.context=pe,y=ke):(typeof P.componentDidUpdate!="function"||K===o.memoizedProps&&Oe===o.memoizedState||(l.flags|=4),typeof P.getSnapshotBeforeUpdate!="function"||K===o.memoizedProps&&Oe===o.memoizedState||(l.flags|=1024),y=!1)}return P=y,ap(o,l),y=(l.flags&128)!==0,P||y?(P=l.stateNode,h=y&&typeof h.getDerivedStateFromError!="function"?null:P.render(),l.flags|=1,o!==null&&y?(l.child=_c(l,o.child,null,E),l.child=_c(l,null,h,E)):hr(o,l,h,E),l.memoizedState=P.state,o=l.child):o=To(o,l,E),o}function I4(o,l,h,y){return Ps(),l.flags|=256,hr(o,l,h,y),l.child}var B0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function z0(o){return{baseLanes:o,cachePool:C3()}}function F0(o,l,h){return o=o!==null?o.childLanes&~h:0,l&&(o|=qi),o}function U4(o,l,h){var y=l.pendingProps,E=!1,P=(l.flags&128)!==0,K;if((K=P)||(K=o!==null&&o.memoizedState===null?!1:(Gn.current&2)!==0),K&&(E=!0,l.flags&=-129),K=(l.flags&32)!==0,l.flags&=-33,o===null){if(ht){if(E?ks(l):Is(),ht){var ie=rt,pe;if(pe=ie){e:{for(pe=ie,ie=xn;pe.nodeType!==8;){if(!ie){ie=null;break e}if(pe=ua(pe.nextSibling),pe===null){ie=null;break e}}ie=pe}ie!==null?(l.memoizedState={dehydrated:ie,treeContext:$!==null?{id:te,overflow:me}:null,retryLane:536870912,hydrationErrors:null},pe=Ur(18,null,null,0),pe.stateNode=ie,pe.return=l,l.child=pe,tt=l,rt=null,pe=!0):pe=!1}pe||Wr(l)}if(ie=l.memoizedState,ie!==null&&(ie=ie.dehydrated,ie!==null))return C1(ie)?l.lanes=32:l.lanes=536870912,null;Ao(l)}return ie=y.children,y=y.fallback,E?(Is(),E=l.mode,ie=op({mode:"hidden",children:ie},E),y=Ia(y,E,h,null),ie.return=l,y.return=l,ie.sibling=y,l.child=ie,E=l.child,E.memoizedState=z0(h),E.childLanes=F0(o,K,h),l.memoizedState=B0,y):(ks(l),$0(l,ie))}if(pe=o.memoizedState,pe!==null&&(ie=pe.dehydrated,ie!==null)){if(P)l.flags&256?(ks(l),l.flags&=-257,l=V0(o,l,h)):l.memoizedState!==null?(Is(),l.child=o.child,l.flags|=128,l=null):(Is(),E=y.fallback,ie=l.mode,y=op({mode:"visible",children:y.children},ie),E=Ia(E,ie,h,null),E.flags|=2,y.return=l,E.return=l,y.sibling=E,l.child=y,_c(l,o.child,null,h),y=l.child,y.memoizedState=z0(h),y.childLanes=F0(o,K,h),l.memoizedState=B0,l=E);else if(ks(l),C1(ie)){if(K=ie.nextSibling&&ie.nextSibling.dataset,K)var Ee=K.dgst;K=Ee,y=Error(r(419)),y.stack="",y.digest=K,Ms({value:y,source:null,stack:null}),l=V0(o,l,h)}else if(rr||tu(o,l,h,!1),K=(h&o.childLanes)!==0,rr||K){if(K=rn,K!==null&&(y=h&-h,y=(y&42)!==0?1:mn(y),y=(y&(K.suspendedLanes|h))!==0?0:y,y!==0&&y!==pe.retryLane))throw pe.retryLane=y,Os(o,y),gi(K,o,y),j4;ie.data==="$?"||s1(),l=V0(o,l,h)}else ie.data==="$?"?(l.flags|=192,l.child=o.child,l=null):(o=pe.treeContext,rt=ua(ie.nextSibling),tt=l,ht=!0,nn=null,xn=!1,o!==null&&(S[R++]=te,S[R++]=me,S[R++]=$,te=o.id,me=o.overflow,$=l),l=$0(l,y.children),l.flags|=4096);return l}return E?(Is(),E=y.fallback,ie=l.mode,pe=o.child,Ee=pe.sibling,y=Fi(pe,{mode:"hidden",children:y.children}),y.subtreeFlags=pe.subtreeFlags&65011712,Ee!==null?E=Fi(Ee,E):(E=Ia(E,ie,h,null),E.flags|=2),E.return=l,y.return=l,y.sibling=E,l.child=y,y=E,E=l.child,ie=o.child.memoizedState,ie===null?ie=z0(h):(pe=ie.cachePool,pe!==null?(Ee=Hn._currentValue,pe=pe.parent!==Ee?{parent:Ee,pool:Ee}:pe):pe=C3(),ie={baseLanes:ie.baseLanes|h,cachePool:pe}),E.memoizedState=ie,E.childLanes=F0(o,K,h),l.memoizedState=B0,y):(ks(l),h=o.child,o=h.sibling,h=Fi(h,{mode:"visible",children:y.children}),h.return=l,h.sibling=null,o!==null&&(K=l.deletions,K===null?(l.deletions=[o],l.flags|=16):K.push(o)),l.child=h,l.memoizedState=null,h)}function $0(o,l){return l=op({mode:"visible",children:l},o.mode),l.return=o,o.child=l}function op(o,l){return o=Ur(22,o,null,l),o.lanes=0,o.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},o}function V0(o,l,h){return _c(l,o.child,null,h),o=$0(l,l.pendingProps.children),o.flags|=2,l.memoizedState=null,o}function B4(o,l,h){o.lanes|=l;var y=o.alternate;y!==null&&(y.lanes|=l),eu(o.return,l,h)}function q0(o,l,h,y,E){var P=o.memoizedState;P===null?o.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:y,tail:h,tailMode:E}:(P.isBackwards=l,P.rendering=null,P.renderingStartTime=0,P.last=y,P.tail=h,P.tailMode=E)}function z4(o,l,h){var y=l.pendingProps,E=y.revealOrder,P=y.tail;if(hr(o,l,y.children,h),y=Gn.current,(y&2)!==0)y=y&1|2,l.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=l.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&B4(o,h,l);else if(o.tag===19)B4(o,h,l);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===l)break e;for(;o.sibling===null;){if(o.return===null||o.return===l)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}y&=1}switch(H(Gn,y),E){case"forwards":for(h=l.child,E=null;h!==null;)o=h.alternate,o!==null&&np(o)===null&&(E=h),h=h.sibling;h=E,h===null?(E=l.child,l.child=null):(E=h.sibling,h.sibling=null),q0(l,!1,E,h,P);break;case"backwards":for(h=null,E=l.child,l.child=null;E!==null;){if(o=E.alternate,o!==null&&np(o)===null){l.child=E;break}o=E.sibling,E.sibling=h,h=E,E=o}q0(l,!0,h,null,P);break;case"together":q0(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function To(o,l,h){if(o!==null&&(l.dependencies=o.dependencies),$s|=l.lanes,(h&l.childLanes)===0)if(o!==null){if(tu(o,l,h,!1),(h&l.childLanes)===0)return null}else return null;if(o!==null&&l.child!==o.child)throw Error(r(153));if(l.child!==null){for(o=l.child,h=Fi(o,o.pendingProps),l.child=h,h.return=l;o.sibling!==null;)o=o.sibling,h=h.sibling=Fi(o,o.pendingProps),h.return=l;h.sibling=null}return l.child}function H0(o,l){return(o.lanes&l)!==0?!0:(o=o.dependencies,!!(o!==null&&zm(o)))}function xU(o,l,h){switch(l.tag){case 3:k(l,l.stateNode.containerInfo),Ua(l,Hn,o.memoizedState.cache),Ps();break;case 27:case 5:G(l);break;case 4:k(l,l.stateNode.containerInfo);break;case 10:Ua(l,l.type,l.memoizedProps.value);break;case 13:var y=l.memoizedState;if(y!==null)return y.dehydrated!==null?(ks(l),l.flags|=128,null):(h&l.child.childLanes)!==0?U4(o,l,h):(ks(l),o=To(o,l,h),o!==null?o.sibling:null);ks(l);break;case 19:var E=(o.flags&128)!==0;if(y=(h&l.childLanes)!==0,y||(tu(o,l,h,!1),y=(h&l.childLanes)!==0),E){if(y)return z4(o,l,h);l.flags|=128}if(E=l.memoizedState,E!==null&&(E.rendering=null,E.tail=null,E.lastEffect=null),H(Gn,Gn.current),y)break;return null;case 22:case 23:return l.lanes=0,N4(o,l,h);case 24:Ua(l,Hn,o.memoizedState.cache)}return To(o,l,h)}function F4(o,l,h){if(o!==null)if(o.memoizedProps!==l.pendingProps)rr=!0;else{if(!H0(o,h)&&(l.flags&128)===0)return rr=!1,xU(o,l,h);rr=(o.flags&131072)!==0}else rr=!1,ht&&(l.flags&1048576)!==0&&Me(l,g,l.index);switch(l.lanes=0,l.tag){case 16:e:{o=l.pendingProps;var y=l.elementType,E=y._init;if(y=E(y._payload),l.type=y,typeof y=="function")cc(y)?(o=au(y,o),l.tag=1,l=k4(null,l,y,o,h)):(l.tag=0,l=U0(null,l,y,o,h));else{if(y!=null){if(E=y.$$typeof,E===N){l.tag=11,l=P4(null,l,y,o,h);break e}else if(E===Z){l.tag=14,l=M4(null,l,y,o,h);break e}}throw l=Q(y)||y,Error(r(306,l,""))}}return l;case 0:return U0(o,l,l.type,l.pendingProps,h);case 1:return y=l.type,E=au(y,l.pendingProps),k4(o,l,y,E,h);case 3:e:{if(k(l,l.stateNode.containerInfo),o===null)throw Error(r(387));y=l.pendingProps;var P=l.memoizedState;E=P.element,m0(o,l),ld(l,y,null,h);var K=l.memoizedState;if(y=K.cache,Ua(l,Hn,y),y!==P.cache&&dc(l,[Hn],h,!0),sd(),y=K.element,P.isDehydrated)if(P={element:y,isDehydrated:!1,cache:K.cache},l.updateQueue.baseState=P,l.memoizedState=P,l.flags&256){l=I4(o,l,y,h);break e}else if(y!==E){E=kr(Error(r(424)),l),Ms(E),l=I4(o,l,y,h);break e}else{switch(o=l.stateNode.containerInfo,o.nodeType){case 9:o=o.body;break;default:o=o.nodeName==="HTML"?o.ownerDocument.body:o}for(rt=ua(o.firstChild),tt=l,ht=!0,nn=null,xn=!0,h=b4(l,null,y,h),l.child=h;h;)h.flags=h.flags&-3|4096,h=h.sibling}else{if(Ps(),y===E){l=To(o,l,h);break e}hr(o,l,y,h)}l=l.child}return l;case 26:return ap(o,l),o===null?(h=HE(l.type,null,l.pendingProps,null))?l.memoizedState=h:ht||(h=l.type,o=l.pendingProps,y=_p(ce.current).createElement(h),y[Tt]=l,y[Jt]=o,pr(y,h,o),Un(y),l.stateNode=y):l.memoizedState=HE(l.type,o.memoizedProps,l.pendingProps,o.memoizedState),null;case 27:return G(l),o===null&&ht&&(y=l.stateNode=$E(l.type,l.pendingProps,ce.current),tt=l,xn=!0,E=rt,Gs(l.type)?(E1=E,rt=ua(y.firstChild)):rt=E),hr(o,l,l.pendingProps.children,h),ap(o,l),o===null&&(l.flags|=4194304),l.child;case 5:return o===null&&ht&&((E=y=rt)&&(y=KU(y,l.type,l.pendingProps,xn),y!==null?(l.stateNode=y,tt=l,rt=ua(y.firstChild),xn=!1,E=!0):E=!1),E||Wr(l)),G(l),E=l.type,P=l.pendingProps,K=o!==null?o.memoizedProps:null,y=P.children,x1(E,P)?y=null:K!==null&&x1(E,K)&&(l.flags|=32),l.memoizedState!==null&&(E=_0(o,l,hU,null,null,h),Pd._currentValue=E),ap(o,l),hr(o,l,y,h),l.child;case 6:return o===null&&ht&&((o=h=rt)&&(h=ZU(h,l.pendingProps,xn),h!==null?(l.stateNode=h,tt=l,rt=null,o=!0):o=!1),o||Wr(l)),null;case 13:return U4(o,l,h);case 4:return k(l,l.stateNode.containerInfo),y=l.pendingProps,o===null?l.child=_c(l,null,y,h):hr(o,l,y,h),l.child;case 11:return P4(o,l,l.type,l.pendingProps,h);case 7:return hr(o,l,l.pendingProps,h),l.child;case 8:return hr(o,l,l.pendingProps.children,h),l.child;case 12:return hr(o,l,l.pendingProps.children,h),l.child;case 10:return y=l.pendingProps,Ua(l,l.type,y.value),hr(o,l,y.children,h),l.child;case 9:return E=l.type._context,y=l.pendingProps.children,nu(l),E=Er(E),y=y(E),l.flags|=1,hr(o,l,y,h),l.child;case 14:return M4(o,l,l.type,l.pendingProps,h);case 15:return R4(o,l,l.type,l.pendingProps,h);case 19:return z4(o,l,h);case 31:return y=l.pendingProps,h=l.mode,y={mode:y.mode,children:y.children},o===null?(h=op(y,h),h.ref=l.ref,l.child=h,h.return=l,l=h):(h=Fi(o.child,y),h.ref=l.ref,l.child=h,h.return=l,l=h),l;case 22:return N4(o,l,h);case 24:return nu(l),y=Er(Hn),o===null?(E=f0(),E===null&&(E=rn,P=u0(),E.pooledCache=P,P.refCount++,P!==null&&(E.pooledCacheLanes|=h),E=P),l.memoizedState={parent:y,cache:E},h0(l),Ua(l,Hn,E)):((o.lanes&h)!==0&&(m0(o,l),ld(l,null,null,h),sd()),E=o.memoizedState,P=l.memoizedState,E.parent!==y?(E={parent:y,cache:y},l.memoizedState=E,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=E),Ua(l,Hn,y)):(y=P.cache,Ua(l,Hn,y),y!==E.cache&&dc(l,[Hn],h,!0))),hr(o,l,l.pendingProps.children,h),l.child;case 29:throw l.pendingProps}throw Error(r(156,l.tag))}function Oo(o){o.flags|=4}function $4(o,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)o.flags&=-16777217;else if(o.flags|=16777216,!ZE(l)){if(l=Vi.current,l!==null&&((Pt&4194048)===Pt?Ba!==null:(Pt&62914560)!==Pt&&(Pt&536870912)===0||l!==Ba))throw ad=d0,E3;o.flags|=8192}}function sp(o,l){l!==null&&(o.flags|=4),o.flags&16384&&(l=o.tag!==22?ii():536870912,o.lanes|=l,Cc|=l)}function pd(o,l){if(!ht)switch(o.tailMode){case"hidden":l=o.tail;for(var h=null;l!==null;)l.alternate!==null&&(h=l),l=l.sibling;h===null?o.tail=null:h.sibling=null;break;case"collapsed":h=o.tail;for(var y=null;h!==null;)h.alternate!==null&&(y=h),h=h.sibling;y===null?l||o.tail===null?o.tail=null:o.tail.sibling=null:y.sibling=null}}function wn(o){var l=o.alternate!==null&&o.alternate.child===o.child,h=0,y=0;if(l)for(var E=o.child;E!==null;)h|=E.lanes|E.childLanes,y|=E.subtreeFlags&65011712,y|=E.flags&65011712,E.return=o,E=E.sibling;else for(E=o.child;E!==null;)h|=E.lanes|E.childLanes,y|=E.subtreeFlags,y|=E.flags,E.return=o,E=E.sibling;return o.subtreeFlags|=y,o.childLanes=h,l}function wU(o,l,h){var y=l.pendingProps;switch(Xe(l),l.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return wn(l),null;case 1:return wn(l),null;case 3:return h=l.stateNode,y=null,o!==null&&(y=o.memoizedState.cache),l.memoizedState.cache!==y&&(l.flags|=2048),sa(Hn),F(),h.pendingContext&&(h.context=h.pendingContext,h.pendingContext=null),(o===null||o.child===null)&&(Jl(l)?Oo(l):o===null||o.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Bm())),wn(l),null;case 26:return h=l.memoizedState,o===null?(Oo(l),h!==null?(wn(l),$4(l,h)):(wn(l),l.flags&=-16777217)):h?h!==o.memoizedState?(Oo(l),wn(l),$4(l,h)):(wn(l),l.flags&=-16777217):(o.memoizedProps!==y&&Oo(l),wn(l),l.flags&=-16777217),null;case 27:le(l),h=ce.current;var E=l.type;if(o!==null&&l.stateNode!=null)o.memoizedProps!==y&&Oo(l);else{if(!y){if(l.stateNode===null)throw Error(r(166));return wn(l),null}o=re.current,Jl(l)?Im(l):(o=$E(E,y,h),l.stateNode=o,Oo(l))}return wn(l),null;case 5:if(le(l),h=l.type,o!==null&&l.stateNode!=null)o.memoizedProps!==y&&Oo(l);else{if(!y){if(l.stateNode===null)throw Error(r(166));return wn(l),null}if(o=re.current,Jl(l))Im(l);else{switch(E=_p(ce.current),o){case 1:o=E.createElementNS("http://www.w3.org/2000/svg",h);break;case 2:o=E.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;default:switch(h){case"svg":o=E.createElementNS("http://www.w3.org/2000/svg",h);break;case"math":o=E.createElementNS("http://www.w3.org/1998/Math/MathML",h);break;case"script":o=E.createElement("div"),o.innerHTML=" + + + + +
+ + diff --git a/feature/shlink-web-component-0.16.1/manifest.json b/feature/shlink-web-component-0.16.1/manifest.json new file mode 100644 index 00000000..5bccd576 --- /dev/null +++ b/feature/shlink-web-component-0.16.1/manifest.json @@ -0,0 +1 @@ +{"name":"Shlink","short_name":"Shlink","description":"A React-based progressive web application for shlink","start_url":"/","display":"standalone","background_color":"#4696e5","theme_color":"#4696e5","lang":"en","scope":"/shlink-web-client/feature/shlink-web-component-0.16.1/","icons":[{"src":"./icons/icon-16x16.png","type":"image/png","sizes":"16x16"},{"src":"./icons/icon-24x24.png","type":"image/png","sizes":"24x24"},{"src":"./icons/icon-32x32.png","type":"image/png","sizes":"32x32"},{"src":"./icons/icon-40x40.png","type":"image/png","sizes":"40x40"},{"src":"./icons/icon-48x48.png","type":"image/png","sizes":"48x48"},{"src":"./icons/icon-60x60.png","type":"image/png","sizes":"60x60"},{"src":"./icons/icon-64x64.png","type":"image/png","sizes":"64x64"},{"src":"./icons/icon-72x72.png","type":"image/png","sizes":"72x72"},{"src":"./icons/icon-76x76.png","type":"image/png","sizes":"76x76"},{"src":"./icons/icon-96x96.png","type":"image/png","sizes":"96x96"},{"src":"./icons/icon-114x114.png","type":"image/png","sizes":"114x114"},{"src":"./icons/icon-120x120.png","type":"image/png","sizes":"120x120"},{"src":"./icons/icon-128x128.png","type":"image/png","sizes":"128x128"},{"src":"./icons/icon-144x144.png","type":"image/png","sizes":"144x144"},{"src":"./icons/icon-150x150.png","type":"image/png","sizes":"150x150"},{"src":"./icons/icon-152x152.png","type":"image/png","sizes":"152x152"},{"src":"./icons/icon-160x160.png","type":"image/png","sizes":"160x160"},{"src":"./icons/icon-167x167.png","type":"image/png","sizes":"167x167"},{"src":"./icons/icon-180x180.png","type":"image/png","sizes":"180x180"},{"src":"./icons/icon-192x192.png","type":"image/png","sizes":"192x192"},{"src":"./icons/icon-196x196.png","type":"image/png","sizes":"196x196"},{"src":"./icons/icon-228x228.png","type":"image/png","sizes":"228x228"},{"src":"./icons/icon-256x256.png","type":"image/png","sizes":"256x256"},{"src":"./icons/icon-310x310.png","type":"image/png","sizes":"310x310"},{"src":"./icons/icon-384x384.png","type":"image/png","sizes":"384x384"},{"src":"./icons/icon-512x512.png","type":"image/png","sizes":"512x512"},{"src":"./icons/icon-1024x1024.png","type":"image/png","sizes":"1024x1024"}]} diff --git a/feature/shlink-web-component-0.16.1/service-worker.js b/feature/shlink-web-component-0.16.1/service-worker.js new file mode 100644 index 00000000..e315e8cb --- /dev/null +++ b/feature/shlink-web-component-0.16.1/service-worker.js @@ -0,0 +1,2 @@ +try{self["workbox:core:7.2.0"]&&_()}catch{}const G=(s,...e)=>{let t=s;return e.length>0&&(t+=` :: ${JSON.stringify(e)}`),t},Q=G;class l extends Error{constructor(e,t){const n=Q(e,t);super(n),this.name=e,this.details=t}}const j=new Set;function z(s){j.add(s)}const d={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"workbox",runtime:"runtime",suffix:typeof registration<"u"?registration.scope:""},E=s=>[d.prefix,s,d.suffix].filter(e=>e&&e.length>0).join("-"),J=s=>{for(const e of Object.keys(d))s(e)},x={updateDetails:s=>{J(e=>{typeof s[e]=="string"&&(d[e]=s[e])})},getGoogleAnalyticsName:s=>s||E(d.googleAnalytics),getPrecacheName:s=>s||E(d.precache),getPrefix:()=>d.prefix,getRuntimeName:s=>s||E(d.runtime),getSuffix:()=>d.suffix};function K(s,e){const t=new URL(s);for(const n of e)t.searchParams.delete(n);return t.href}async function X(s,e,t,n){const a=K(e.url,t);if(e.url===a)return s.match(e,n);const r=Object.assign(Object.assign({},n),{ignoreSearch:!0}),i=await s.keys(e,r);for(const c of i){const o=K(c.url,t);if(a===o)return s.match(c,n)}}let m;function Y(){if(m===void 0){const s=new Response("");if("body"in s)try{new Response(s.body),m=!0}catch{m=!1}m=!1}return m}function q(s){s.then(()=>{})}class Z{constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}async function ee(){for(const s of j)await s()}const te=s=>new URL(String(s),location.href).href.replace(new RegExp(`^${location.origin}`),"");function se(s){return new Promise(e=>setTimeout(e,s))}function A(s,e){const t=e();return s.waitUntil(t),t}async function ne(s,e){let t=null;if(s.url&&(t=new URL(s.url).origin),t!==self.location.origin)throw new l("cross-origin-copy-response",{origin:t});const n=s.clone(),r={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},i=Y()?n.body:await n.blob();return new Response(i,r)}function ae(){self.addEventListener("activate",()=>self.clients.claim())}const re=(s,e)=>e.some(t=>s instanceof t);let O,S;function ie(){return O||(O=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function ce(){return S||(S=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const F=new WeakMap,k=new WeakMap,H=new WeakMap,D=new WeakMap,I=new WeakMap;function oe(s){const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("success",r),s.removeEventListener("error",i)},r=()=>{t(f(s.result)),a()},i=()=>{n(s.error),a()};s.addEventListener("success",r),s.addEventListener("error",i)});return e.then(t=>{t instanceof IDBCursor&&F.set(t,s)}).catch(()=>{}),I.set(e,s),e}function he(s){if(k.has(s))return;const e=new Promise((t,n)=>{const a=()=>{s.removeEventListener("complete",r),s.removeEventListener("error",i),s.removeEventListener("abort",i)},r=()=>{t(),a()},i=()=>{n(s.error||new DOMException("AbortError","AbortError")),a()};s.addEventListener("complete",r),s.addEventListener("error",i),s.addEventListener("abort",i)});k.set(s,e)}let P={get(s,e,t){if(s instanceof IDBTransaction){if(e==="done")return k.get(s);if(e==="objectStoreNames")return s.objectStoreNames||H.get(s);if(e==="store")return t.objectStoreNames[1]?void 0:t.objectStore(t.objectStoreNames[0])}return f(s[e])},set(s,e,t){return s[e]=t,!0},has(s,e){return s instanceof IDBTransaction&&(e==="done"||e==="store")?!0:e in s}};function le(s){P=s(P)}function ue(s){return s===IDBDatabase.prototype.transaction&&!("objectStoreNames"in IDBTransaction.prototype)?function(e,...t){const n=s.call(L(this),e,...t);return H.set(n,e.sort?e.sort():[e]),f(n)}:ce().includes(s)?function(...e){return s.apply(L(this),e),f(F.get(this))}:function(...e){return f(s.apply(L(this),e))}}function de(s){return typeof s=="function"?ue(s):(s instanceof IDBTransaction&&he(s),re(s,ie())?new Proxy(s,P):s)}function f(s){if(s instanceof IDBRequest)return oe(s);if(D.has(s))return D.get(s);const e=de(s);return e!==s&&(D.set(s,e),I.set(e,s)),e}const L=s=>I.get(s);function fe(s,e,{blocked:t,upgrade:n,blocking:a,terminated:r}={}){const i=indexedDB.open(s,e),c=f(i);return n&&i.addEventListener("upgradeneeded",o=>{n(f(i.result),o.oldVersion,o.newVersion,f(i.transaction),o)}),t&&i.addEventListener("blocked",o=>t(o.oldVersion,o.newVersion,o)),c.then(o=>{r&&o.addEventListener("close",()=>r()),a&&o.addEventListener("versionchange",h=>a(h.oldVersion,h.newVersion,h))}).catch(()=>{}),c}function pe(s,{blocked:e}={}){const t=indexedDB.deleteDatabase(s);return e&&t.addEventListener("blocked",n=>e(n.oldVersion,n)),f(t).then(()=>{})}const ge=["get","getKey","getAll","getAllKeys","count"],me=["put","add","delete","clear"],U=new Map;function W(s,e){if(!(s instanceof IDBDatabase&&!(e in s)&&typeof e=="string"))return;if(U.get(e))return U.get(e);const t=e.replace(/FromIndex$/,""),n=e!==t,a=me.includes(t);if(!(t in(n?IDBIndex:IDBObjectStore).prototype)||!(a||ge.includes(t)))return;const r=async function(i,...c){const o=this.transaction(i,a?"readwrite":"readonly");let h=o.store;return n&&(h=h.index(c.shift())),(await Promise.all([h[t](...c),a&&o.done]))[0]};return U.set(e,r),r}le(s=>({...s,get:(e,t,n)=>W(e,t)||s.get(e,t,n),has:(e,t)=>!!W(e,t)||s.has(e,t)}));try{self["workbox:expiration:7.2.0"]&&_()}catch{}const we="workbox-expiration",w="cache-entries",B=s=>{const e=new URL(s,location.href);return e.hash="",e.href};class ye{constructor(e){this._db=null,this._cacheName=e}_upgradeDb(e){const t=e.createObjectStore(w,{keyPath:"id"});t.createIndex("cacheName","cacheName",{unique:!1}),t.createIndex("timestamp","timestamp",{unique:!1})}_upgradeDbAndDeleteOldDbs(e){this._upgradeDb(e),this._cacheName&&pe(this._cacheName)}async setTimestamp(e,t){e=B(e);const n={url:e,timestamp:t,cacheName:this._cacheName,id:this._getId(e)},r=(await this.getDb()).transaction(w,"readwrite",{durability:"relaxed"});await r.store.put(n),await r.done}async getTimestamp(e){const n=await(await this.getDb()).get(w,this._getId(e));return n?.timestamp}async expireEntries(e,t){const n=await this.getDb();let a=await n.transaction(w).store.index("timestamp").openCursor(null,"prev");const r=[];let i=0;for(;a;){const o=a.value;o.cacheName===this._cacheName&&(e&&o.timestamp=t?r.push(a.value):i++),a=await a.continue()}const c=[];for(const o of r)await n.delete(w,o.id),c.push(o.url);return c}_getId(e){return this._cacheName+"|"+B(e)}async getDb(){return this._db||(this._db=await fe(we,1,{upgrade:this._upgradeDbAndDeleteOldDbs.bind(this)})),this._db}}class _e{constructor(e,t={}){this._isRunning=!1,this._rerunRequested=!1,this._maxEntries=t.maxEntries,this._maxAgeSeconds=t.maxAgeSeconds,this._matchOptions=t.matchOptions,this._cacheName=e,this._timestampModel=new ye(e)}async expireEntries(){if(this._isRunning){this._rerunRequested=!0;return}this._isRunning=!0;const e=this._maxAgeSeconds?Date.now()-this._maxAgeSeconds*1e3:0,t=await this._timestampModel.expireEntries(e,this._maxEntries),n=await self.caches.open(this._cacheName);for(const a of t)await n.delete(a,this._matchOptions);this._isRunning=!1,this._rerunRequested&&(this._rerunRequested=!1,q(this.expireEntries()))}async updateTimestamp(e){await this._timestampModel.setTimestamp(e,Date.now())}async isURLExpired(e){if(this._maxAgeSeconds){const t=await this._timestampModel.getTimestamp(e),n=Date.now()-this._maxAgeSeconds*1e3;return t!==void 0?t{if(!r)return null;const i=this._isResponseDateFresh(r),c=this._getCacheExpiration(a);q(c.expireEntries());const o=c.updateTimestamp(n.url);if(t)try{t.waitUntil(o)}catch{}return i?r:null},this.cacheDidUpdate=async({cacheName:t,request:n})=>{const a=this._getCacheExpiration(t);await a.updateTimestamp(n.url),await a.expireEntries()},this._config=e,this._maxAgeSeconds=e.maxAgeSeconds,this._cacheExpirations=new Map,e.purgeOnQuotaError&&z(()=>this.deleteCacheAndMetadata())}_getCacheExpiration(e){if(e===x.getRuntimeName())throw new l("expire-custom-caches-only");let t=this._cacheExpirations.get(e);return t||(t=new _e(e,this._config),this._cacheExpirations.set(e,t)),t}_isResponseDateFresh(e){if(!this._maxAgeSeconds)return!0;const t=this._getDateHeaderTimestamp(e);if(t===null)return!0;const n=Date.now();return t>=n-this._maxAgeSeconds*1e3}_getDateHeaderTimestamp(e){if(!e.headers.has("date"))return null;const t=e.headers.get("date"),a=new Date(t).getTime();return isNaN(a)?null:a}async deleteCacheAndMetadata(){for(const[e,t]of this._cacheExpirations)await self.caches.delete(e),await t.delete();this._cacheExpirations=new Map}}try{self["workbox:precaching:7.2.0"]&&_()}catch{}const be="__WB_REVISION__";function Ce(s){if(!s)throw new l("add-to-cache-list-unexpected-type",{entry:s});if(typeof s=="string"){const r=new URL(s,location.href);return{cacheKey:r.href,url:r.href}}const{revision:e,url:t}=s;if(!t)throw new l("add-to-cache-list-unexpected-type",{entry:s});if(!e){const r=new URL(t,location.href);return{cacheKey:r.href,url:r.href}}const n=new URL(t,location.href),a=new URL(t,location.href);return n.searchParams.set(be,e),{cacheKey:n.href,url:a.href}}class xe{constructor(){this.updatedURLs=[],this.notUpdatedURLs=[],this.handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)},this.cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:n})=>{if(e.type==="install"&&t&&t.originalRequest&&t.originalRequest instanceof Request){const a=t.originalRequest.url;n?this.notUpdatedURLs.push(a):this.updatedURLs.push(a)}return n}}}class Ee{constructor({precacheController:e}){this.cacheKeyWillBeUsed=async({request:t,params:n})=>{const a=n?.cacheKey||this._precacheController.getCacheKeyForURL(t.url);return a?new Request(a,{headers:t.headers}):t},this._precacheController=e}}try{self["workbox:strategies:7.2.0"]&&_()}catch{}function b(s){return typeof s=="string"?new Request(s):s}class De{constructor(e,t){this._cacheKeys={},Object.assign(this,t),this.event=t.event,this._strategy=e,this._handlerDeferred=new Z,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map;for(const n of this._plugins)this._pluginStateMap.set(n,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){const{event:t}=this;let n=b(e);if(n.mode==="navigate"&&t instanceof FetchEvent&&t.preloadResponse){const i=await t.preloadResponse;if(i)return i}const a=this.hasCallback("fetchDidFail")?n.clone():null;try{for(const i of this.iterateCallbacks("requestWillFetch"))n=await i({request:n.clone(),event:t})}catch(i){if(i instanceof Error)throw new l("plugin-error-request-will-fetch",{thrownErrorMessage:i.message})}const r=n.clone();try{let i;i=await fetch(n,n.mode==="navigate"?void 0:this._strategy.fetchOptions);for(const c of this.iterateCallbacks("fetchDidSucceed"))i=await c({event:t,request:r,response:i});return i}catch(i){throw a&&await this.runCallbacks("fetchDidFail",{error:i,event:t,originalRequest:a.clone(),request:r.clone()}),i}}async fetchAndCachePut(e){const t=await this.fetch(e),n=t.clone();return this.waitUntil(this.cachePut(e,n)),t}async cacheMatch(e){const t=b(e);let n;const{cacheName:a,matchOptions:r}=this._strategy,i=await this.getCacheKey(t,"read"),c=Object.assign(Object.assign({},r),{cacheName:a});n=await caches.match(i,c);for(const o of this.iterateCallbacks("cachedResponseWillBeUsed"))n=await o({cacheName:a,matchOptions:r,cachedResponse:n,request:i,event:this.event})||void 0;return n}async cachePut(e,t){const n=b(e);await se(0);const a=await this.getCacheKey(n,"write");if(!t)throw new l("cache-put-with-no-response",{url:te(a.url)});const r=await this._ensureResponseSafeToCache(t);if(!r)return!1;const{cacheName:i,matchOptions:c}=this._strategy,o=await self.caches.open(i),h=this.hasCallback("cacheDidUpdate"),g=h?await X(o,a.clone(),["__WB_REVISION__"],c):null;try{await o.put(a,h?r.clone():r)}catch(u){if(u instanceof Error)throw u.name==="QuotaExceededError"&&await ee(),u}for(const u of this.iterateCallbacks("cacheDidUpdate"))await u({cacheName:i,oldResponse:g,newResponse:r.clone(),request:a,event:this.event});return!0}async getCacheKey(e,t){const n=`${e.url} | ${t}`;if(!this._cacheKeys[n]){let a=e;for(const r of this.iterateCallbacks("cacheKeyWillBeUsed"))a=b(await r({mode:t,request:a,event:this.event,params:this.params}));this._cacheKeys[n]=a}return this._cacheKeys[n]}hasCallback(e){for(const t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(const n of this.iterateCallbacks(e))await n(t)}*iterateCallbacks(e){for(const t of this._strategy.plugins)if(typeof t[e]=="function"){const n=this._pluginStateMap.get(t);yield r=>{const i=Object.assign(Object.assign({},r),{state:n});return t[e](i)}}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async _ensureResponseSafeToCache(e){let t=e,n=!1;for(const a of this.iterateCallbacks("cacheWillUpdate"))if(t=await a({request:this.request,response:t,event:this.event})||void 0,n=!0,!t)break;return n||t&&t.status!==200&&(t=void 0),t}}class V{constructor(e={}){this.cacheName=x.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){const[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});const t=e.event,n=typeof e.request=="string"?new Request(e.request):e.request,a="params"in e?e.params:void 0,r=new De(this,{event:t,request:n,params:a}),i=this._getResponse(r,n,t),c=this._awaitComplete(i,r,n,t);return[i,c]}async _getResponse(e,t,n){await e.runCallbacks("handlerWillStart",{event:n,request:t});let a;try{if(a=await this._handle(t,e),!a||a.type==="error")throw new l("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(const i of e.iterateCallbacks("handlerDidError"))if(a=await i({error:r,event:n,request:t}),a)break}if(!a)throw r}for(const r of e.iterateCallbacks("handlerWillRespond"))a=await r({event:n,request:t,response:a});return a}async _awaitComplete(e,t,n,a){let r,i;try{r=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:a,request:n,response:r}),await t.doneWaiting()}catch(c){c instanceof Error&&(i=c)}if(await t.runCallbacks("handlerDidComplete",{event:a,request:n,response:r,error:i}),t.destroy(),i)throw i}}class p extends V{constructor(e={}){e.cacheName=x.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=e.fallbackToNetwork!==!1,this.plugins.push(p.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){const n=await t.cacheMatch(e);return n||(t.event&&t.event.type==="install"?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let n;const a=t.params||{};if(this._fallbackToNetwork){const r=a.integrity,i=e.integrity,c=!i||i===r;n=await t.fetch(new Request(e,{integrity:e.mode!=="no-cors"?i||r:void 0})),r&&c&&e.mode!=="no-cors"&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,n.clone()))}else throw new l("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return n}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();const n=await t.fetch(e);if(!await t.cachePut(e,n.clone()))throw new l("bad-precaching-response",{url:e.url,status:n.status});return n}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(const[n,a]of this.plugins.entries())a!==p.copyRedirectedCacheableResponsesPlugin&&(a===p.defaultPrecacheCacheabilityPlugin&&(e=n),a.cacheWillUpdate&&t++);t===0?this.plugins.push(p.defaultPrecacheCacheabilityPlugin):t>1&&e!==null&&this.plugins.splice(e,1)}}p.defaultPrecacheCacheabilityPlugin={async cacheWillUpdate({response:s}){return!s||s.status>=400?null:s}};p.copyRedirectedCacheableResponsesPlugin={async cacheWillUpdate({response:s}){return s.redirected?await ne(s):s}};class Le{constructor({cacheName:e,plugins:t=[],fallbackToNetwork:n=!0}={}){this._urlsToCacheKeys=new Map,this._urlsToCacheModes=new Map,this._cacheKeysToIntegrities=new Map,this._strategy=new p({cacheName:x.getPrecacheName(e),plugins:[...t,new Ee({precacheController:this})],fallbackToNetwork:n}),this.install=this.install.bind(this),this.activate=this.activate.bind(this)}get strategy(){return this._strategy}precache(e){this.addToCacheList(e),this._installAndActiveListenersAdded||(self.addEventListener("install",this.install),self.addEventListener("activate",this.activate),this._installAndActiveListenersAdded=!0)}addToCacheList(e){const t=[];for(const n of e){typeof n=="string"?t.push(n):n&&n.revision===void 0&&t.push(n.url);const{cacheKey:a,url:r}=Ce(n),i=typeof n!="string"&&n.revision?"reload":"default";if(this._urlsToCacheKeys.has(r)&&this._urlsToCacheKeys.get(r)!==a)throw new l("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(r),secondEntry:a});if(typeof n!="string"&&n.integrity){if(this._cacheKeysToIntegrities.has(a)&&this._cacheKeysToIntegrities.get(a)!==n.integrity)throw new l("add-to-cache-list-conflicting-integrities",{url:r});this._cacheKeysToIntegrities.set(a,n.integrity)}if(this._urlsToCacheKeys.set(r,a),this._urlsToCacheModes.set(r,i),t.length>0){const c=`Workbox is precaching URLs without revision info: ${t.join(", ")} +This is generally NOT safe. Learn more at https://bit.ly/wb-precache`;console.warn(c)}}}install(e){return A(e,async()=>{const t=new xe;this.strategy.plugins.push(t);for(const[r,i]of this._urlsToCacheKeys){const c=this._cacheKeysToIntegrities.get(i),o=this._urlsToCacheModes.get(r),h=new Request(r,{integrity:c,cache:o,credentials:"same-origin"});await Promise.all(this.strategy.handleAll({params:{cacheKey:i},request:h,event:e}))}const{updatedURLs:n,notUpdatedURLs:a}=t;return{updatedURLs:n,notUpdatedURLs:a}})}activate(e){return A(e,async()=>{const t=await self.caches.open(this.strategy.cacheName),n=await t.keys(),a=new Set(this._urlsToCacheKeys.values()),r=[];for(const i of n)a.has(i.url)||(await t.delete(i),r.push(i.url));return{deletedURLs:r}})}getURLsToCacheKeys(){return this._urlsToCacheKeys}getCachedURLs(){return[...this._urlsToCacheKeys.keys()]}getCacheKeyForURL(e){const t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForCacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){const t=e instanceof Request?e.url:e,n=this.getCacheKeyForURL(t);if(n)return(await self.caches.open(this.strategy.cacheName)).match(n)}createHandlerBoundToURL(e){const t=this.getCacheKeyForURL(e);if(!t)throw new l("non-precached-url",{url:e});return n=>(n.request=new Request(e),n.params=Object.assign({cacheKey:t},n.params),this.strategy.handle(n))}}let T;const M=()=>(T||(T=new Le),T);try{self["workbox:routing:7.2.0"]&&_()}catch{}const $="GET",C=s=>s&&typeof s=="object"?s:{handle:s};class R{constructor(e,t,n=$){this.handler=C(t),this.match=e,this.method=n}setCatchHandler(e){this.catchHandler=C(e)}}class Ue extends R{constructor(e,t,n){const a=({url:r})=>{const i=e.exec(r.href);if(i&&!(r.origin!==location.origin&&i.index!==0))return i.slice(1)};super(a,t,n)}}class Te{constructor(){this._routes=new Map,this._defaultHandlerMap=new Map}get routes(){return this._routes}addFetchListener(){self.addEventListener("fetch",e=>{const{request:t}=e,n=this.handleRequest({request:t,event:e});n&&e.respondWith(n)})}addCacheListener(){self.addEventListener("message",e=>{if(e.data&&e.data.type==="CACHE_URLS"){const{payload:t}=e.data,n=Promise.all(t.urlsToCache.map(a=>{typeof a=="string"&&(a=[a]);const r=new Request(...a);return this.handleRequest({request:r,event:e})}));e.waitUntil(n),e.ports&&e.ports[0]&&n.then(()=>e.ports[0].postMessage(!0))}})}handleRequest({request:e,event:t}){const n=new URL(e.url,location.href);if(!n.protocol.startsWith("http"))return;const a=n.origin===location.origin,{params:r,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:a,url:n});let c=i&&i.handler;const o=e.method;if(!c&&this._defaultHandlerMap.has(o)&&(c=this._defaultHandlerMap.get(o)),!c)return;let h;try{h=c.handle({url:n,request:e,event:t,params:r})}catch(u){h=Promise.reject(u)}const g=i&&i.catchHandler;return h instanceof Promise&&(this._catchHandler||g)&&(h=h.catch(async u=>{if(g)try{return await g.handle({url:n,request:e,event:t,params:r})}catch(N){N instanceof Error&&(u=N)}if(this._catchHandler)return this._catchHandler.handle({url:n,request:e,event:t});throw u})),h}findMatchingRoute({url:e,sameOrigin:t,request:n,event:a}){const r=this._routes.get(n.method)||[];for(const i of r){let c;const o=i.match({url:e,sameOrigin:t,request:n,event:a});if(o)return c=o,(Array.isArray(c)&&c.length===0||o.constructor===Object&&Object.keys(o).length===0||typeof o=="boolean")&&(c=void 0),{route:i,params:c}}return{}}setDefaultHandler(e,t=$){this._defaultHandlerMap.set(t,C(e))}setCatchHandler(e){this._catchHandler=C(e)}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new l("unregister-route-but-not-found-with-method",{method:e.method});const t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new l("unregister-route-route-not-registered")}}let y;const ke=()=>(y||(y=new Te,y.addFetchListener(),y.addCacheListener()),y);function v(s,e,t){let n;if(typeof s=="string"){const r=new URL(s,location.href),i=({url:c})=>c.href===r.href;n=new R(i,e,t)}else if(s instanceof RegExp)n=new Ue(s,e,t);else if(typeof s=="function")n=new R(s,e,t);else if(s instanceof R)n=s;else throw new l("unsupported-route-type",{moduleName:"workbox-routing",funcName:"registerRoute",paramName:"capture"});return ke().registerRoute(n),n}function Pe(s,e=[]){for(const t of[...s.searchParams.keys()])e.some(n=>n.test(t))&&s.searchParams.delete(t);return s}function*Ie(s,{ignoreURLParametersMatching:e=[/^utm_/,/^fbclid$/],directoryIndex:t="index.html",cleanURLs:n=!0,urlManipulation:a}={}){const r=new URL(s,location.href);r.hash="",yield r.href;const i=Pe(r,e);if(yield i.href,t&&i.pathname.endsWith("/")){const c=new URL(i.href);c.pathname+=t,yield c.href}if(n){const c=new URL(i.href);c.pathname+=".html",yield c.href}if(a){const c=a({url:r});for(const o of c)yield o.href}}class Me extends R{constructor(e,t){const n=({request:a})=>{const r=e.getURLsToCacheKeys();for(const i of Ie(a.url,t)){const c=r.get(i);if(c){const o=e.getIntegrityForCacheKey(c);return{cacheKey:c,integrity:o}}}};super(n,e.strategy)}}function ve(s){const e=M(),t=new Me(e,s);v(t)}function Ne(s){return M().createHandlerBoundToURL(s)}function Ke(s){M().precache(s)}function Ae(s,e){Ke(s),ve(e)}const Oe={cacheWillUpdate:async({response:s})=>s.status===200||s.status===0?s:null};class Se extends V{constructor(e={}){super(e),this.plugins.some(t=>"cacheWillUpdate"in t)||this.plugins.unshift(Oe)}async _handle(e,t){const n=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(n);let a=await t.cacheMatch(e),r;if(!a)try{a=await n}catch(i){i instanceof Error&&(r=i)}if(!a)throw new l("no-response",{url:e.url,error:r});return a}}const We="/shlink-web-client/feature/shlink-web-component-0.16.1",Be={homepage:We};ae();Ae([{"revision":null,"url":"assets/index-CdRM-8Jg.js"},{"revision":null,"url":"assets/index-DDkUSKyj.css"},{"revision":"40947f892f2d7234112675d937a92890","url":"index.html"},{"revision":"f3e729bb644bebe1dcffadcbba68f1ff","url":"icons/icon-1024x1024.png"},{"revision":"cd508d134aa805268381ead58279489b","url":"icons/icon-114x114.png"},{"revision":"0812cd0c539ec3bc3880201497ef5439","url":"icons/icon-120x120.png"},{"revision":"db11b5c2a48fbba615b39792e40f4c87","url":"icons/icon-128x128.png"},{"revision":"eb6d6cdd19cac779b6d7ac97463b888e","url":"icons/icon-144x144.png"},{"revision":"6088b31c860949672f7df75fccf9a9ba","url":"icons/icon-150x150.png"},{"revision":"e6f72b1eaa19a7c204b01f5d432b8d12","url":"icons/icon-152x152.png"},{"revision":"0e45616d9a2ada37a8cc9f27a670ca31","url":"icons/icon-160x160.png"},{"revision":"d1006b686a7ab98a5620b415792a33a6","url":"icons/icon-167x167.png"},{"revision":"d42b11e07581fa319271ae71f7093811","url":"icons/icon-16x16.png"},{"revision":"78f75b82e4ce73706359d19cb87c3b00","url":"icons/icon-180x180.png"},{"revision":"a536b5cee1e4a64fd54fc4be7b77efcf","url":"icons/icon-192x192.png"},{"revision":"9e994d55a0485b6bbaad7e63b13a0ef5","url":"icons/icon-196x196.png"},{"revision":"786e390718d25939056e8ef85e264d8a","url":"icons/icon-228x228.png"},{"revision":"556d9b9e027c4411745496790753cd73","url":"icons/icon-24x24.png"},{"revision":"7642a0a1530b73e8818bceceb3d3e7e2","url":"icons/icon-256x256.png"},{"revision":"06d7a4a92102470e88880d42920c7549","url":"icons/icon-310x310.png"},{"revision":"7fcbe3894492fb7f62a317ddd99a28d5","url":"icons/icon-32x32.png"},{"revision":"5a8a86ced62f17062326ae85d5ff352f","url":"icons/icon-384x384.png"},{"revision":"45146cbf5554683533638cb5d8b017ae","url":"icons/icon-40x40.png"},{"revision":"903d05ccefb480c98cd4cf2e484bd663","url":"icons/icon-48x48.png"},{"revision":"f25bdd85d754463f79f8ef441a035933","url":"icons/icon-512x512.png"},{"revision":"60f05c206db3360a51bef6105de2b995","url":"icons/icon-60x60.png"},{"revision":"492762bfada55a219fc687f2549ed05a","url":"icons/icon-64x64.png"},{"revision":"faa08e0d1df851afc410e939cc7bcbc4","url":"icons/icon-72x72.png"},{"revision":"6ae3db0007861108aa3db4e35450fe16","url":"icons/icon-76x76.png"},{"revision":"a5602a4acdef243f27b9acc94f49e9c2","url":"icons/icon-96x96.png"},{"revision":"e38a706062b46c439ecfa5c881762505","url":"manifest.json"}]);const je=new RegExp("/[^/?]+\\.[^/]+$");v(({request:s,url:e})=>!(s.mode!=="navigate"||e.pathname.startsWith("/_")||e.pathname.match(je)),Ne(`${Be.homepage}/index.html`));v(({url:s})=>s.origin===self.location.origin&&s.pathname.endsWith(".png"),new Se({cacheName:"images",plugins:[new Re({maxEntries:50})]}));self.addEventListener("message",s=>{s.data&&s.data.type==="SKIP_WAITING"&&self.skipWaiting()});