PageSourceSearch

https://ship.spaceshipapp.com/assets/index-UOCn7uSZ.js

js spaceshipapp.com collected 2026-10-03 21:32:10 UTC 3,230,943 bytes, 582 lines download raw bytes

vendor: 6,409 bytes, lines 1-10
1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="25c48436-bf99-534a-9f12-74c0d1d1cf30")}catch(e){}}();
2function _he(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in e)){const a=Object.getOwnPropertyDescriptor(n,i);a&&Object.defineProperty(e,i,a.get?a:{enumerable:!0,get:()=>n[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"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function r(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 n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();var yn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Phe(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var p$={exports:{}},Wr={};/**
3 * @license React
4 * react.production.min.js
5 *
6 * Copyright (c) Facebook, Inc. and its affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var Gw=Symbol.for("react.element"),Ahe=Symbol.for("react.portal"),Ohe=Symbol.for("react.fragment"),Ihe=Symbol.for("react.strict_mode"),Rhe=Symbol.for("react.profiler"),Fhe=Symbol.for("react.provider"),Dhe=Symbol.for("react.context"),Nhe=Symbol.for("react.forward_ref"),Mhe=Symbol.for("react.suspense"),Lhe=Symbol.for("react.memo"),Bhe=Symbol.for("react.lazy"),RL=Symbol.iterator;function Uhe(e){return e===null||typeof e!="object"?null:(e=RL&&e[RL]||e["@@iterator"],typeof e=="function"?e:null)}var m$={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g$=Object.assign,v$={};function ty(e,t,r){this.props=e,this.context=t,this.refs=v$,this.updater=r||m$}ty.prototype.isReactComponent={};ty.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ty.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function y$(){}y$.prototype=ty.prototype;function cN(e,t,r){this.props=e,this.context=t,this.refs=v$,this.updater=r||m$}var uN=cN.prototype=new y$;uN.constructor=cN;g$(uN,ty.prototype);uN.isPureReactComponent=!0;var FL=Array.isArray,b$=Object.prototype.hasOwnProperty,dN={current:null},S$={key:!0,ref:!0,__self:!0,__source:!0};function w$(e,t,r){var n,i={},a=null,o=null;if(t!=null)for(n in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(a=""+t.key),t)b$.call(t,n)&&!S$.hasOwnProperty(n)&&(i[n]=t[n]);var s=arguments.length-2;if(s===1)i.children=r;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];i.children=l}if(e&&e.defaultProps)for(n in s=e.defaultProps,s)i[n]===void 0&&(i[n]=s[n]);return{$$typeof:Gw,type:e,key:a,ref:o,props:i,_owner:dN.current}}function zhe(e,t){return{$$typeof:Gw,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function fN(e){return typeof e=="object"&&e!==null&&e.$$typeof===Gw}function Hhe(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var DL=/\/+/g;function yO(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Hhe(""+e.key):t.toString(36)}function lE(e,t,r,n,i){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(a){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Gw:case Ahe:o=!0}}if(o)return o=e,i=i(o),e=n===""?"."+yO(o,0):n,FL(i)?(r="",e!=null&&(r=e.replace(DL,"$&/")+"/"),lE(i,t,r,"",function(c){return c})):i!=null&&(fN(i)&&(i=zhe(i,r+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(DL,"$&/")+"/")+e)),t.push(i)),1;if(o=0,n=n===""?".":n+":",FL(e))for(var s=0;s<e.length;s++){a=e[s];var l=n+yO(a,s);o+=lE(a,t,r,l,i)}else if(l=Uhe(e),typeof l=="function")for(e=l.call(e),s=0;!(a=e.next()).done;)a=a.value,l=n+yO(a,s++),o+=lE(a,t,r,l,i);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return o}function k2(e,t,r){if(e==null)return e;var n=[],i=0;return lE(e,n,"","",function(a){return t.call(r,a,i++)}),n}function qhe(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Yo={current:null},cE={transition:null},Whe={ReactCurrentDispatcher:Yo,ReactCurrentBatchConfig:cE,ReactCurrentOwner:dN};Wr.Children={map:k2,forEach:function(e,t,r){k2(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return k2(e,function(){t++}),t},toArray:function(e){return k2(e,function(t){return t})||[]},only:function(e){if(!fN(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Wr.Component=ty;Wr.Fragment=Ohe;Wr.Profiler=Rhe;Wr.PureComponent=cN;Wr.StrictMode=Ihe;Wr.Suspense=Mhe;
vendor: 3,702 bytes, line 10
10Wr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Whe;Wr.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=g$({},e.props),i=e.key,a=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,o=dN.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)b$.call(t,l)&&!S$.hasOwnProperty(l)&&(n[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)n.children=r;else if(1<l){s=Array(l);for(var c=0;c<l;c++)s[c]=arguments[c+2];n.children=s}return{$$typeof:Gw,type:e.type,key:i,ref:a,props:n,_owner:o}};Wr.createContext=function(e){return e={$$typeof:Dhe,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Fhe,_context:e},e.Consumer=e};Wr.createElement=w$;Wr.createFactory=function(e){var t=w$.bind(null,e);return t.type=e,t};Wr.createRef=function(){return{current:null}};Wr.forwardRef=function(e){return{$$typeof:Nhe,render:e}};Wr.isValidElement=fN;Wr.lazy=function(e){return{$$typeof:Bhe,_payload:{_status:-1,_result:e},_init:qhe}};Wr.memo=function(e,t){return{$$typeof:Lhe,type:e,compare:t===void 0?null:t}};Wr.startTransition=function(e){var t=cE.transition;cE.transition={};try{e()}finally{cE.transition=t}};Wr.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};Wr.useCallback=function(e,t){return Yo.current.useCallback(e,t)};Wr.useContext=function(e){return Yo.current.useContext(e)};Wr.useDebugValue=function(){};Wr.useDeferredValue=function(e){return Yo.current.useDeferredValue(e)};Wr.useEffect=function(e,t){return Yo.current.useEffect(e,t)};Wr.useId=function(){return Yo.current.useId()};Wr.useImperativeHandle=function(e,t,r){return Yo.current.useImperativeHandle(e,t,r)};Wr.useInsertionEffect=function(e,t){return Yo.current.useInsertionEffect(e,t)};Wr.useLayoutEffect=function(e,t){return Yo.current.useLayoutEffect(e,t)};Wr.useMemo=function(e,t){return Yo.current.useMemo(e,t)};Wr.useReducer=function(e,t,r){return Yo.current.useReducer(e,t,r)};Wr.useRef=function(e){return Yo.current.useRef(e)};Wr.useState=function(e){return Yo.current.useState(e)};Wr.useSyncExternalStore=function(e,t,r){return Yo.current.useSyncExternalStore(e,t,r)};Wr.useTransition=function(){return Yo.current.useTransition()};Wr.version="18.2.0";p$.exports=Wr;var k=p$.exports;const S=fc(k),kR=_he({__proto__:null,default:S},[k]);function Vhe(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function jhe(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Ghe=function(){function e(r){var n=this;this._insertTag=function(i){var a;n.tags.length===0?n.insertionPoint?a=n.insertionPoint.nextSibling:n.prepend?a=n.container.firstChild:a=n.before:a=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,a),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(jhe(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var a=Vhe(i);try{a.insertRule(n,a.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++}
vendor: 11,804 bytes, lines 10-17
10,t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0},e}(),ro="-ms-",mk="-moz-",hn="-webkit-",x$="comm",hN="rule",pN="decl",Khe="@import",C$="@keyframes",Zhe=Math.abs,A_=String.fromCharCode,Yhe=Object.assign;function $he(e,t){return Oa(e,0)^45?(((t<<2^Oa(e,0))<<2^Oa(e,1))<<2^Oa(e,2))<<2^Oa(e,3):0}function E$(e){return e.trim()}function Xhe(e,t){return(e=t.exec(e))?e[0]:e}function En(e,t,r){return e.replace(t,r)}function TR(e,t){return e.indexOf(t)}function Oa(e,t){return e.charCodeAt(t)|0}function cS(e,t,r){return e.slice(t,r)}function Lu(e){return e.length}function mN(e){return e.length}function T2(e,t){return t.push(e),e}function Qhe(e,t){return e.map(t).join("")}var O_=1,gv=1,k$=0,xs=0,qi=0,ry="";function I_(e,t,r,n,i,a,o){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:O_,column:gv,length:o,return:""}}function Yy(e,t){return Yhe(I_("",null,null,"",null,null,0),e,{length:-e.length},t)}function Jhe(){return qi}function epe(){return qi=xs>0?Oa(ry,--xs):0,gv--,qi===10&&(gv=1,O_--),qi}function el(){return qi=xs<k$?Oa(ry,xs++):0,gv++,qi===10&&(gv=1,O_++),qi}function Yu(){return Oa(ry,xs)}function uE(){return xs}function Kw(e,t){return cS(ry,e,t)}function uS(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function T$(e){return O_=gv=1,k$=Lu(ry=e),xs=0,[]}function _$(e){return ry="",e}function dE(e){return E$(Kw(xs-1,_R(e===91?e+2:e===40?e+1:e)))}function tpe(e){for(;(qi=Yu())&&qi<33;)el();return uS(e)>2||uS(qi)>3?"":" "}function rpe(e,t){for(;--t&&el()&&!(qi<48||qi>102||qi>57&&qi<65||qi>70&&qi<97););return Kw(e,uE()+(t<6&&Yu()==32&&el()==32))}function _R(e){for(;el();)switch(qi){case e:return xs;case 34:case 39:e!==34&&e!==39&&_R(qi);break;case 40:e===41&&_R(e);break;case 92:el();break}return xs}function npe(e,t){for(;el()&&e+qi!==57;)if(e+qi===84&&Yu()===47)break;return"/*"+Kw(t,xs-1)+"*"+A_(e===47?e:el())}function ipe(e){for(;!uS(Yu());)el();return Kw(e,xs)}function ape(e){return _$(fE("",null,null,null,[""],e=T$(e),0,[0],e))}function fE(e,t,r,n,i,a,o,s,l){for(var c=0,u=0,d=o,f=0,h=0,p=0,g=1,v=1,m=1,b=0,y="",w=i,x=a,C=n,T=y;v;)switch(p=b,b=el()){case 40:if(p!=108&&Oa(T,d-1)==58){TR(T+=En(dE(b),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:T+=dE(b);break;case 9:case 10:case 13:case 32:T+=tpe(p);break;case 92:T+=rpe(uE()-1,7);continue;case 47:switch(Yu()){case 42:case 47:T2(ope(npe(el(),uE()),t,r),l);break;default:T+="/"}break;case 123*g:s[c++]=Lu(T)*m;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+u:h>0&&Lu(T)-d&&T2(h>32?ML(T+";",n,r,d-1):ML(En(T," ","")+";",n,r,d-2),l);break;case 59:T+=";";default:if(T2(C=NL(T,t,r,c,u,i,s,y,w=[],x=[],d),a),b===123)if(u===0)fE(T,t,C,C,w,a,d,s,x);else switch(f===99&&Oa(T,3)===110?100:f){case 100:case 109:case 115:fE(e,C,C,n&&T2(NL(e,C,C,0,0,i,s,y,i,w=[],d),x),i,x,d,s,n?w:x);break;default:fE(T,C,C,C,[""],x,0,s,x)}}c=u=h=0,g=m=1,y=T="",d=o;break;case 58:d=1+Lu(T),h=p;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&epe()==125)continue}switch(T+=A_(b),b*g){case 38:m=u>0?1:(T+="\f",-1);break;case 44:s[c++]=(Lu(T)-1)*m,m=1;break;case 64:Yu()===45&&(T+=dE(el())),f=Yu(),u=d=Lu(y=T+=ipe(uE())),b++;break;case 45:p===45&&Lu(T)==2&&(g=0)}}return a}function NL(e,t,r,n,i,a,o,s,l,c,u){for(var d=i-1,f=i===0?a:[""],h=mN(f),p=0,g=0,v=0;p<n;++p)for(var m=0,b=cS(e,d+1,d=Zhe(g=o[p])),y=e;m<h;++m)(y=E$(g>0?f[m]+" "+b:En(b,/&\f/g,f[m])))&&(l[v++]=y);return I_(e,t,r,i===0?hN:s,l,c,u)}function ope(e,t,r){return I_(e,t,r,x$,A_(Jhe()),cS(e,2,-2),0)}function ML(e,t,r,n){return I_(e,t,r,pN,cS(e,0,n),cS(e,n+1,-1),n)}function Ug(e,t){for(var r="",n=mN(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function spe(e,t,r,n){switch(e.type){case Khe:case pN:return e.return=e.return||e.value;case x$:return"";case C$:return e.return=e.value+"{"+Ug(e.children,n)+"}";case hN:e.value=e.props.join(",")}return Lu(r=Ug(e.children,n))?e.return=e.value+"{"+r+"}":""}function lpe(e){var t=mN(e);return function(r,n,i,a){for(var o="",s=0;s<t;s++)o+=e[s](r,n,i,a)||"";return o}}function cpe(e){return function(t){t.root||(t=t.return)&&e(t)}}var LL=function(t){var r=new WeakMap;return function(n){if(r.has(n))return r.get(n);var i=t(n);return r.set(n,i),i}};function P$(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var upe=function(t,r,n){for(var i=0,a=0;i=a,a=Yu(),i===38&&a===12&&(r[n]=1),!uS(a);)el();return Kw(t,xs)},dpe=function(t,r){var n=-1,i=44;do switch(uS(i)){case 0:i===38&&Yu()===12&&(r[n]=1),t[n]+=upe(xs-1,r,n);break;case 2:t[n]+=dE(i);break;case 4:if(i===44){t[++n]=Yu()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=A_(i)}while(i=el());return t},fpe=function(t,r){return _$(dpe(T$(t),r))},BL=new WeakMap,hpe=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!BL.get(n))&&!i){BL.set(t,!0);for(var a=[],o=fpe(r,a),s=n.props,l=0,c=0;l<o.length;l++)for(var u=0;u<s.length;u++,c++)t.props[c]=a[l]?o[l].replace(/&\f/g,s[u]):s[u]+" "+o[l]}}},ppe=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function A$(e,t){switch($he(e,t)){case 5103:return hn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return hn+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return hn+e+mk+e+ro+e+e;case 6828:case 4268:return hn+e+ro+e+e;case 6165:return hn+e+ro+"flex-"+e+e;case 5187:return hn+e+En(e,/(\w+).+(:[^]+)/,hn+"box-$1$2"+ro+"flex-$1$2")+e;case 5443:return hn+e+ro+"flex-item-"+En(e,/flex-|-self/,"")+e;case 4675:return hn+e+ro+"flex-line-pack"+En(e,/align-content|flex-|-self/,"")+e;case 5548:return hn+e+ro+En(e,"shrink","negative")+e;case 5292:return hn+e+ro+En(e,"basis","preferred-size")+e;case 6060:return hn+"box-"+En(e,"-grow","")+hn+e+ro+En(e,"grow","positive")+e;case 4554:return hn+En(e,/([^-])(transform)/g,"$1"+hn+"$2")+e;case 6187:return En(En(En(e,/(zoom-|grab)/,hn+"$1"),/(image-set)/,hn+"$1"),e,"")+e;case 5495:case 3959:return En(e,/(image-set\([^]*)/,hn+"$1$`$1");case 4968:return En(En(e,/(.+:)(flex-)?(.*)/,hn+"box-pack:$3"+ro+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+hn+e+e;case 4095:case 3583:case 4068:case 2532:return En(e,/(.+)-inline(.+)/,hn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Lu(e)-1-t>6)switch(Oa(e,t+1)){case 109:if(Oa(e,t+4)!==45)break;case 102:return En(e,/(.+:)(.+)-([^]+)/,"$1"+hn+"$2-$3$1"+mk+(Oa(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~TR(e,"stretch")?A$(En(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Oa(e,t+1)!==115)break;case 6444:switch(Oa(e,Lu(e)-3-(~TR(e,"!important")&&10))){case 107:return En(e,":",":"+hn)+e;case 101:return En(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+hn+(Oa(e,14)===45?"inline-":"")+"box$3$1"+hn+"$2$3$1"+ro+"$2box$3")+e}break;case 5936:switch(Oa(e,t+11)){case 114:return hn+e+ro+En(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return hn+e+ro+En(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return hn+e+ro+En(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return hn+e+ro+e+e}return e}var mpe=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case pN:t.return=A$(t.value,t.length);break;case C$:return Ug([Yy(t,{value:En(t.value,"@","@"+hn)})],i);case hN:if(t.length)return Qhe(t.props,function(a){switch(Xhe(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ug([Yy(t,{props:[En(a,/:(read-\w+)/,":"+mk+"$1")]})],i);case"::placeholder":return Ug([Yy(t,{props:[En(a,/:(plac\w+)/,":"+hn+"input-$1")]}),Yy(t,{props:[En(a,/:(plac\w+)/,":"+mk+"$1")]}),Yy(t,{props:[En(a,/:(plac\w+)/,ro+"input-$1")]})],i)}return""})}},gpe=[mpe],vpe=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(g){var v=g.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var i=t.stylisPlugins||gpe,a={},o,s=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(g){for(var v=g.getAttribute("data-emotion").split(" "),m=1;m<v.length;m++)a[v[m]]=!0;s.push(g)});var l,c=[hpe,ppe];{var u,d=[spe,cpe(function(g){u.insert(g)})],f=lpe(c.concat(i,d)),h=function(v){return Ug(ape(v),f)};l=function(v,m,b,y){u=b,h(v?v+"{"+m.styles+"}":m.styles),y&&(p.inserted[m.name]=!0)}}var p={key:r,sheet:new Ghe({key:r,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:l};return p.sheet.hydrate(s),p};function vv(){return vv=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vv.apply(null,arguments)}var O$={exports:{}},In={};/** @license React v16.13.1
11 * react-is.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var Ca=typeof Symbol=="function"&&Symbol.for,gN=Ca?Symbol.for("react.element"):60103,vN=Ca?Symbol.for("react.portal"):60106,R_=Ca?Symbol.for("react.fragment"):60107,F_=Ca?Symbol.for("react.strict_mode"):60108,D_=Ca?Symbol.for("react.profiler"):60114,N_=Ca?Symbol.for("react.provider"):60109,M_=Ca?Symbol.for("react.context"):60110,yN=Ca?Symbol.for("react.async_mode"):60111,L_=Ca?Symbol.for("react.concurrent_mode"):60111,B_=Ca?Symbol.for("react.forward_ref"):60112,U_=Ca?Symbol.for("react.suspense"):60113,ype=Ca?Symbol.for("react.suspense_list"):60120,z_=Ca?Symbol.for("react.memo"):60115,H_=Ca?Symbol.for("react.lazy"):60116,bpe=Ca?Symbol.for("react.block"):60121,Spe=Ca?Symbol.for("react.fundamental"):60117,wpe=Ca?Symbol.for("react.responder"):60118,xpe=Ca?Symbol.for("react.scope"):60119;function dl(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case gN:switch(e=e.type,e){case yN:case L_:case R_:case D_:case F_:case U_:return e;default:switch(e=e&&e.$$typeof,e){case M_:case B_:case H_:case z_:case N_:return e;default:return t}}case vN:return t}}}function I$(e){return dl(e)===L_}In.AsyncMode=yN;In.ConcurrentMode=L_;In.ContextConsumer=M_;In.ContextProvider=N_;In.Element=gN;In.ForwardRef=B_;In.Fragment=R_;In.Lazy=H_;In.Memo=z_;In.Portal=vN;In.Profiler=D_;In.StrictMode=F_;In.Suspense=U_;In.isAsyncMode=function(e){return I$(e)||dl(e)===yN};In.isConcurrentMode=I$;In.isContextConsumer=function(e){return dl(e)===M_};In.isContextProvider=function(e){return dl(e)===N_};In.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===gN};In.isForwardRef=function(e){return dl(e)===B_};In.isFragment=function(e){return dl(e)===R_};In.isLazy=function(e){return dl(e)===H_};In.isMemo=function(e){return dl(e)===z_};In.isPortal=function(e){return dl(e)===vN};In.isProfiler=function(e){return dl(e)===D_};In.isStrictMode=function(e){return dl(e)===F_};In.isSuspense=function(e){return dl(e)===U_};In.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===R_||e===L_||e===D_||e===F_||e===U_||e===ype||typeof e=="object"&&e!==null&&(e.$$typeof===H_||e.$$typeof===z_||e.$$typeof===N_||e.$$typeof===M_||e.$$typeof===B_||e.$$typeof===Spe||e.$$typeof===w
vendor: 5,488 bytes, lines 17-25
17pe||e.$$typeof===xpe||e.$$typeof===bpe)};In.typeOf=dl;O$.exports=In;var Cpe=O$.exports,R$=Cpe,Epe={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},kpe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},F$={};F$[R$.ForwardRef]=Epe;F$[R$.Memo]=kpe;var Tpe=!0;function D$(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):n+=i+" "}),n}var bN=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||Tpe===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},SN=function(t,r,n){bN(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var a=r;do t.insert(r===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function _pe(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Ppe={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ape=/[A-Z]|^ms/g,Ope=/_EMO_([^_]+?)_([^]*?)_EMO_/g,N$=function(t){return t.charCodeAt(1)===45},UL=function(t){return t!=null&&typeof t!="boolean"},bO=P$(function(e){return N$(e)?e:e.replace(Ape,"-$&").toLowerCase()}),zL=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Ope,function(n,i,a){return Bu={name:i,styles:a,next:Bu},i})}return Ppe[t]!==1&&!N$(t)&&typeof r=="number"&&r!==0?r+"px":r};function dS(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Bu={name:r.name,styles:r.styles,next:Bu},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Bu={name:n.name,styles:n.styles,next:Bu},n=n.next;var i=r.styles+";";return i}return Ipe(e,t,r)}case"function":{if(e!==void 0){var a=Bu,o=r(e);return Bu=a,dS(e,t,o)}break}}if(t==null)return r;var s=t[r];return s!==void 0?s:r}function Ipe(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=dS(e,t,r[i])+";";else for(var a in r){var o=r[a];if(typeof o!="object")t!=null&&t[o]!==void 0?n+=a+"{"+t[o]+"}":UL(o)&&(n+=bO(a)+":"+zL(a,o)+";");else if(Array.isArray(o)&&typeof o[0]=="string"&&(t==null||t[o[0]]===void 0))for(var s=0;s<o.length;s++)UL(o[s])&&(n+=bO(a)+":"+zL(a,o[s])+";");else{var l=dS(e,t,o);switch(a){case"animation":case"animationName":{n+=bO(a)+":"+l+";";break}default:n+=a+"{"+l+"}"}}}return n}var HL=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Bu,q_=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,a="";Bu=void 0;var o=t[0];o==null||o.raw===void 0?(i=!1,a+=dS(n,r,o)):a+=o[0];for(var s=1;s<t.length;s++)a+=dS(n,r,t[s]),i&&(a+=o[s]);HL.lastIndex=0;for(var l="",c;(c=HL.exec(a))!==null;)l+="-"+c[1];var u=_pe(a)+l;return{name:u,styles:a,next:Bu}},Rpe=function(t){return t()},M$=kR.useInsertionEffect?kR.useInsertionEffect:!1,L$=M$||Rpe,qL=M$||k.useLayoutEffect,W_={}.hasOwnProperty,B$=k.createContext(typeof HTMLElement<"u"?vpe({key:"css"}):null);B$.Provider;var wN=function(t){return k.forwardRef(function(r,n){var i=k.useContext(B$);return t(r,i,n)})},fS=k.createContext({}),Fpe=function(t,r){if(typeof r=="function"){var n=r(t);return n}return vv({},t,r)},Dpe=LL(function(e){return LL(function(t){return Fpe(e,t)})}),Npe=function(t){var r=k.useContext(fS);return t.theme!==r&&(r=Dpe(r)(t.theme)),k.createElement(fS.Provider,{value:r},t.children)},PR="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",U$=function(t,r){var n={};for(var i in r)W_.call(r,i)&&(n[i]=r[i]);return n[PR]=t,n},Mpe=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return bN(r,n,i),L$(function(){return SN(r,n,i)}),null},z$=wN(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[PR],a=[n],o="";typeof e.className=="string"?o=D$(t.registered,a,e.className):e.className!=null&&(o=e.className+" ");var s=q_(a,void 0,k.useContext(fS));o+=t.key+"-"+s.name;var l={};for(var c in e)W_.call(e,c)&&c!=="css"&&c!==PR&&(l[c]=e[c]);return l.ref=r,l.className=o,k.createElement(k.Fragment,null,k.createElement(Mpe,{cache:t,serialized:s,isStringTag:typeof i=="string"}),k.createElement(i,l))}),H$={exports:{}},V_={};/**
18 * @license React
19 * react-jsx-runtime.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */var Lpe=k,Bpe=Symbol.for("react.element"),Upe=Symbol.for("react.fragment"),zpe=Object.prototype.hasOwnProperty,Hpe=Lpe.__SECRET_INT
vendor: 11,805 bytes, lines 25-42
25ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,qpe={key:!0,ref:!0,__self:!0,__source:!0};function q$(e,t,r){var n,i={},a=null,o=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(o=t.ref);for(n in t)zpe.call(t,n)&&!qpe.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)i[n]===void 0&&(i[n]=t[n]);return{$$typeof:Bpe,type:e,key:a,ref:o,props:i,_owner:Hpe.current}}V_.Fragment=Upe;V_.jsx=q$;V_.jsxs=q$;H$.exports=V_;var Cm=H$.exports,ei=Cm.Fragment;function E(e,t,r){return W_.call(t,"css")?Cm.jsx(z$,U$(e,t),r):Cm.jsx(e,t,r)}function Te(e,t,r){return W_.call(t,"css")?Cm.jsxs(z$,U$(e,t),r):Cm.jsxs(e,t,r)}var AR={},W$={exports:{}},fl={},V$={exports:{}},j$={};/**
26 * @license React
27 * scheduler.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */(function(e){function t(se,ne){var ie=se.length;se.push(ne);e:for(;0<ie;){var ae=ie-1>>>1,ce=se[ae];if(0<i(ce,ne))se[ae]=ne,se[ie]=ce,ie=ae;else break e}}function r(se){return se.length===0?null:se[0]}function n(se){if(se.length===0)return null;var ne=se[0],ie=se.pop();if(ie!==ne){se[0]=ie;e:for(var ae=0,ce=se.length,ke=ce>>>1;ae<ke;){var ge=2*(ae+1)-1,De=se[ge],Ne=ge+1,We=se[Ne];if(0>i(De,ie))Ne<ce&&0>i(We,De)?(se[ae]=We,se[Ne]=ie,ae=Ne):(se[ae]=De,se[ge]=ie,ae=ge);else if(Ne<ce&&0>i(We,ie))se[ae]=We,se[Ne]=ie,ae=Ne;else break e}}return ne}function i(se,ne){var ie=se.sortIndex-ne.sortIndex;return ie!==0?ie:se.id-ne.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],c=[],u=1,d=null,f=3,h=!1,p=!1,g=!1,v=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(se){for(var ne=r(c);ne!==null;){if(ne.callback===null)n(c);else if(ne.startTime<=se)n(c),ne.sortIndex=ne.expirationTime,t(l,ne);else break;ne=r(c)}}function w(se){if(g=!1,y(se),!p)if(r(l)!==null)p=!0,X(x);else{var ne=r(c);ne!==null&&Y(w,ne.startTime-se)}}function x(se,ne){p=!1,g&&(g=!1,m(_),_=-1),h=!0;var ie=f;try{for(y(ne),d=r(l);d!==null&&(!(d.expirationTime>ne)||se&&!I());){var ae=d.callback;if(typeof ae=="function"){d.callback=null,f=d.priorityLevel;var ce=ae(d.expirationTime<=ne);ne=e.unstable_now(),typeof ce=="function"?d.callback=ce:d===r(l)&&n(l),y(ne)}else n(l);d=r(l)}if(d!==null)var ke=!0;else{var ge=r(c);ge!==null&&Y(w,ge.startTime-ne),ke=!1}return ke}finally{d=null,f=ie,h=!1}}var C=!1,T=null,_=-1,P=5,F=-1;function I(){return!(e.unstable_now()-F<P)}function R(){if(T!==null){var se=e.unstable_now();F=se;var ne=!0;try{ne=T(!0,se)}finally{ne?D():(C=!1,T=null)}}else C=!1}var D;if(typeof b=="function")D=function(){b(R)};else if(typeof MessageChannel<"u"){var A=new MessageChannel,M=A.port2;A.port1.onmessage=R,D=function(){M.postMessage(null)}}else D=function(){v(R,0)};function X(se){T=se,C||(C=!0,D())}function Y(se,ne){_=v(function(){se(e.unstable_now())},ne)}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(se){se.callback=null},e.unstable_continueExecution=function(){p||h||(p=!0,X(x))},e.unstable_forceFrameRate=function(se){0>se||125<se?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<se?Math.floor(1e3/se):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return r(l)},e.unstable_next=function(se){switch(f){case 1:case 2:case 3:var ne=3;break;default:ne=f}var ie=f;f=ne;try{return se()}finally{f=ie}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(se,ne){switch(se){case 1:case 2:case 3:case 4:case 5:break;default:se=3}var ie=f;f=se;try{return ne()}finally{f=ie}},e.unstable_scheduleCallback=function(se,ne,ie){var ae=e.unstable_now();switch(typeof ie=="object"&&ie!==null?(ie=ie.delay,ie=typeof ie=="number"&&0<ie?ae+ie:ae):ie=ae,se){case 1:var ce=-1;break;case 2:ce=250;break;case 5:ce=1073741823;break;case 4:ce=1e4;break;default:ce=5e3}return ce=ie+ce,se={id:u++,callback:ne,priorityLevel:se,startTime:ie,expirationTime:ce,sortIndex:-1},ie>ae?(se.sortIndex=ie,t(c,se),r(l)===null&&se===r(c)&&(g?(m(_),_=-1):g=!0,Y(w,ie-ae))):(se.sortIndex=ce,t(l,se),p||h||(p=!0,X(x))),se},e.unstable_shouldYield=I,e.unstable_wrapCallback=function(se){var ne=f;return function(){var ie=f;f=ne;try{return se.apply(this,arguments)}finally{f=ie}}}})(j$);V$.exports=j$;var Wpe=V$.exports;/**
34 * @license React
35 * react-dom.production.min.js
36 *
37 * Copyright (c) Facebook, Inc. and its affiliates.
38 *
39 * This source code is licensed under the MIT license found in the
40 * LICENSE file in the root directory of this source tree.
41 */var G$=k,sl=Wpe;function ct(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var K$=new Set,hS={};function n0(e,t){yv(e,t),yv(e+"Capture",t)}function yv(e,t){for(hS[e]=t,e=0;e<t.length;e++)K$.add(t[e])}var nf=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),OR=Object.prototype.hasOwnProperty,Vpe=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,WL={},VL={};function jpe(e){return OR.call(VL,e)?!0:OR.call(WL,e)?!1:Vpe.test(e)?VL[e]=!0:(WL[e]=!0,!1)}function Gpe(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Kpe(e,t,r,n){if(t===null||typeof t>"u"||Gpe(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function $o(e,t,r,n,i,a,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var qa={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){qa[e]=new $o(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];qa[t]=new $o(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){qa[e]=new $o(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){qa[e]=new $o(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){qa[e]=new $o(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){qa[e]=new $o(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){qa[e]=new $o(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){qa[e]=new $o(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){qa[e]=new $o(e,5,!1,e.toLowerCase(),null,!1,!1)});var xN=/[\-:]([a-z])/g;function CN(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(xN,CN);qa[t]=new $o(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(xN,CN);qa[t]=new $o(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(xN,CN);qa[t]=new $o(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){qa[e]=new $o(e,1,!1,e.toLowerCase(),null,!1,!1)});qa.xlinkHref=new $o("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){qa[e]=new $o(e,1,!1,e.toLowerCase(),null,!0,!0)});function EN(e,t,r,n){var i=qa.hasOwnProperty(t)?qa[t]:null;(i!==null?i.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Kpe(t,r,i,n)&&(r=null),n||i===null?jpe(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=r===null?i.type===3?!1:"":r:(t=i.attributeName,n=i.attributeNamespace,r===null?e.removeAttribute(t):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var vf=G$.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_2=Symbol.for("react.element"),fg=Symbol.for("react.portal"),hg=Symbol.for("react.fragment"),kN=Symbol.for("react.strict_mode"),IR=Symbol.for("react.profiler"),Z$=Symbol.for("react.provider"),Y$=Symbol.for("react.context"),TN=Symbol.for("react.forward_ref"),RR=Symbol.for("react.suspense"),FR=Symbol.for("react.suspense_list"),_N=Symbol.for("react.memo"),$f=Symbol.for("react.lazy"),$$=Symbol.for("react.offscreen"),jL=Symbol.iterator;function $y(e){return e===null||typeof e!="object"?null:(e=jL&&e[jL]||e["@@iterator"],typeof e=="function"?e:null)}var fi=Object.assign,SO;function z1(e){if(SO===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);SO=t&&t[1]||""}return`
42`+SO+e}var wO=!1;function xO(e,t){if(!e||wO)return"";wO=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var n=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){n=c}e.call(t.prototype)}else{try{throw Error()}catch(c){n=c}e()}}
vendor: 14,137 bytes, lines 42-45
42catch(c){if(c&&n&&typeof c.stack=="string"){for(var i=c.stack.split(`
43`),a=n.stack.split(`
44`),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(o!==1||s!==1)do if(o--,s--,0>s||i[o]!==a[s]){var l=`
45`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{wO=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?z1(e):""}function Zpe(e){switch(e.tag){case 5:return z1(e.type);case 16:return z1("Lazy");case 13:return z1("Suspense");case 19:return z1("SuspenseList");case 0:case 2:case 15:return e=xO(e.type,!1),e;case 11:return e=xO(e.type.render,!1),e;case 1:return e=xO(e.type,!0),e;default:return""}}function DR(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case hg:return"Fragment";case fg:return"Portal";case IR:return"Profiler";case kN:return"StrictMode";case RR:return"Suspense";case FR:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Y$:return(e.displayName||"Context")+".Consumer";case Z$:return(e._context.displayName||"Context")+".Provider";case TN:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case _N:return t=e.displayName||null,t!==null?t:DR(e.type)||"Memo";case $f:t=e._payload,e=e._init;try{return DR(e(t))}catch{}}return null}function Ype(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return DR(t);case 8:return t===kN?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function zh(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function X$(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $pe(e){var t=X$(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){n=""+o,a.call(this,o)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(o){n=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function P2(e){e._valueTracker||(e._valueTracker=$pe(e))}function Q$(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=X$(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function gk(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function NR(e,t){var r=t.checked;return fi({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function GL(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=zh(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function J$(e,t){t=t.checked,t!=null&&EN(e,"checked",t,!1)}function MR(e,t){J$(e,t);var r=zh(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?LR(e,t.type,r):t.hasOwnProperty("defaultValue")&&LR(e,t.type,zh(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function KL(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function LR(e,t,r){(t!=="number"||gk(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var H1=Array.isArray;function zg(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+zh(r),t=null,i=0;i<e.length;i++){if(e[i].value===r){e[i].selected=!0,n&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function BR(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(ct(91));return fi({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ZL(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(ct(92));if(H1(r)){if(1<r.length)throw Error(ct(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:zh(r)}}function eX(e,t){var r=zh(t.value),n=zh(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function YL(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function tX(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function UR(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?tX(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var A2,rX=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(A2=A2||document.createElement("div"),A2.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=A2.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function pS(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var db={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Xpe=["Webkit","ms","Moz","O"];Object.keys(db).forEach(function(e){Xpe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),db[t]=db[e]})});function nX(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||db.hasOwnProperty(e)&&db[e]?(""+t).trim():t+"px"}function iX(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=nX(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var Qpe=fi({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function zR(e,t){if(t){if(Qpe[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ct(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ct(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ct(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ct(62))}}function HR(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var qR=null;function PN(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var WR=null,Hg=null,qg=null;function $L(e){if(e=$w(e)){if(typeof WR!="function")throw Error(ct(280));var t=e.stateNode;t&&(t=Y_(t),WR(e.stateNode,e.type,t))}}function aX(e){Hg?qg?qg.push(e):qg=[e]:Hg=e}function oX(){if(Hg){var e=Hg,t=qg;if(qg=Hg=null,$L(e),t)for(e=0;e<t.length;e++)$L(t[e])}}function sX(e,t){return e(t)}function lX(){}var CO=!1;function cX(e,t,r){if(CO)return e(t,r);CO=!0;try{return sX(e,t,r)}finally{CO=!1,(Hg!==null||qg!==null)&&(lX(),oX())}}function mS(e,t){var r=e.stateNode;if(r===null)return null;var n=Y_(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(ct(231,t,typeof r));return r}var VR=!1;if(nf)try{var Xy={};Object.defineProperty(Xy,"passive",{get:function(){VR=!0}}),window.addEventListener("test",Xy,Xy),window.removeEventListener("test",Xy,Xy)}catch{VR=!1}function Jpe(e,t,r,n,i,a,o,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(u){this.onError(u)}}var fb=!1,vk=null,yk=!1,jR=null,eme={onError:function(e){fb=!0,vk=e}};function tme(e,t,r,n,i,a,o,s,l){fb=!1,vk=null,Jpe.apply(eme,arguments)}function rme(e,t,r,n,i,a,o,s,l){if(tme.apply(this,arguments),fb){if(fb){var c=vk;fb=!1,vk=null}else throw Error(ct(198));yk||(yk=!0,jR=c)}}function i0(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function uX(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function XL(e){if(i0(e)!==e)throw Error(ct(188))}function nme(e){var t=e.alternate;if(!t){if(t=i0(e),t===null)throw Error(ct(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(i===null)break;var a=i.alternate;if(a===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return XL(i),e;if(a===n)return XL(i),t;a=a.sibling}throw Error(ct(188))}if(r.return!==n.return)r=i,n=a;else{for(var o=!1,s=i.child;s;){if(s===r){o=!0,r=i,n=a;break}if(s===n){o=!0,n=i,r=a;break}s=s.sibling}if(!o){for(s=a.child;s;){if(s===r){o=!0,r=a,n=i;break}if(s===n){o=!0,n=a,r=i;break}s=s.sibling}if(!o)throw Error(ct(189))}}if(r.alternate!==n)throw Error(ct(190))}if(r.tag!==3)throw Error(ct(188));return r.stateNode.current===r?e:t}function dX(e){return e=nme(e),e!==null?fX(e):null}function fX(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=fX(e);if(t!==null)return t;e=e.sibling}return null}var hX=sl.unstable_scheduleCallback,QL=sl.unstable_cancelCallback,ime=sl.unstable_shouldYield,ame=sl.unstable_requestPaint,Oi=sl.unstable_now,ome=sl.unstable_getCurrentPriorityLevel,AN=sl.unstable_ImmediatePriority,pX=sl.unstable_UserBlockingPriority,bk=sl.unstable_NormalPriority,sme=sl.unstable_LowPriority,mX=sl.unstable_IdlePriority,j_=null,$u=null;function lme(e){if($u&&typeof $u.onCommitFiberRoot=="function")try{$u.onCommitFiberRoot(j_,e,void 0,(e.current.flags&128)===128)}catch{}}var Gc=Math.clz32?Math.clz32:dme,cme=Math.log,ume=Math.LN2;function dme(e){return e>>>=0,e===0?32:31-(cme(e)/ume|0)|0}var O2=64,I2=4194304;function q1(e){switch(e&-e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Sk(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,i=e.suspendedLanes,a=e.pingedLanes,o=r&268435455;if(o!==0){var s=o&~i;s!==0?n=q1(s):(a&=o,a!==0&&(n=q1(a)))}else o=r&~i,o!==0?n=q1(o):a!==0&&(n=q1(a));if(n===0)return 0;if(t!==0&&t!==n&&!(t&i)&&(i=n&-n,a=t&-t,i>=a||i===16&&(a&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-Gc(t),i=1<<r,n|=e[r],t&=~i;return n}function fme(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function hme(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-Gc(a),s=1<<o,l=i[o];l===-1?(!(s&r)||s&n)&&(i[o]=fme(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}function GR(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function gX(){var e=O2;return O2<<=1,!(O2&4194240)&&(O2=64),e}function EO(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}
vendor: 4,096 bytes, line 45
45function Zw(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Gc(t),e[t]=r}function pme(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var i=31-Gc(r),a=1<<i;t[i]=0,n[i]=-1,e[i]=-1,r&=~a}}function ON(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-Gc(r),i=1<<n;i&t|e[n]&t&&(e[n]|=t),r&=~i}}var On=0;function vX(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var yX,IN,bX,SX,wX,KR=!1,R2=[],_h=null,Ph=null,Ah=null,gS=new Map,vS=new Map,oh=[],mme="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function JL(e,t){switch(e){case"focusin":case"focusout":_h=null;break;case"dragenter":case"dragleave":Ph=null;break;case"mouseover":case"mouseout":Ah=null;break;case"pointerover":case"pointerout":gS.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":vS.delete(t.pointerId)}}function Qy(e,t,r,n,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:a,targetContainers:[i]},t!==null&&(t=$w(t),t!==null&&IN(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function gme(e,t,r,n,i){switch(t){case"focusin":return _h=Qy(_h,e,t,r,n,i),!0;case"dragenter":return Ph=Qy(Ph,e,t,r,n,i),!0;case"mouseover":return Ah=Qy(Ah,e,t,r,n,i),!0;case"pointerover":var a=i.pointerId;return gS.set(a,Qy(gS.get(a)||null,e,t,r,n,i)),!0;case"gotpointercapture":return a=i.pointerId,vS.set(a,Qy(vS.get(a)||null,e,t,r,n,i)),!0}return!1}function xX(e){var t=Vp(e.target);if(t!==null){var r=i0(t);if(r!==null){if(t=r.tag,t===13){if(t=uX(r),t!==null){e.blockedOn=t,wX(e.priority,function(){bX(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function hE(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=ZR(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r===null){r=e.nativeEvent;var n=new r.constructor(r.type,r);qR=n,r.target.dispatchEvent(n),qR=null}else return t=$w(r),t!==null&&IN(t),e.blockedOn=r,!1;t.shift()}return!0}function eB(e,t,r){hE(e)&&r.delete(t)}function vme(){KR=!1,_h!==null&&hE(_h)&&(_h=null),Ph!==null&&hE(Ph)&&(Ph=null),Ah!==null&&hE(Ah)&&(Ah=null),gS.forEach(eB),vS.forEach(eB)}function Jy(e,t){e.blockedOn===t&&(e.blockedOn=null,KR||(KR=!0,sl.unstable_scheduleCallback(sl.unstable_NormalPriority,vme)))}function yS(e){function t(i){return Jy(i,e)}if(0<R2.length){Jy(R2[0],e);for(var r=1;r<R2.length;r++){var n=R2[r];n.blockedOn===e&&(n.blockedOn=null)}}for(_h!==null&&Jy(_h,e),Ph!==null&&Jy(Ph,e),Ah!==null&&Jy(Ah,e),gS.forEach(t),vS.forEach(t),r=0;r<oh.length;r++)n=oh[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<oh.length&&(r=oh[0],r.blockedOn===null);)xX(r),r.blockedOn===null&&oh.shift()}var Wg=vf.ReactCurrentBatchConfig,wk=!0;function yme(e,t,r,n){var i=On,a=Wg.transition;Wg.transition=null;try{On=1,RN(e,t,r,n)}finally{On=i,Wg.transition=a}}function bme(e,t,r,n){var i=On,a=Wg.transition;Wg.transition=null;try{On=4,RN(e,t,r,n)}finally{On=i,Wg.transition=a}}function RN(e,t,r,n){if(wk){var i=ZR(e,t,r,n);if(i===null)DO(e,t,n,xk,r),JL(e,n);else if(gme(i,e,t,r,n))n.stopPropagation();else if(JL(e,n),t&4&&-1<mme.indexOf(e)){for(;i!==null;){var a=$w(i);if(a!==null&&yX(a),a=ZR(e,t,r,n),a===null&&DO(e,t,n,xk,r),a===i)break;i=a}i!==null&&n.stopPropagation()}else DO(e,t,n,null,r)}}var xk=null;function ZR(e,t,r,n){if(xk=null,e=PN(n),e=Vp(e),e!==null)if(t=i0(e),t===null)e=null;else if(r=t.tag,r===13){if(e=uX(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return xk=e,null}
vendor: 10,457 bytes, line 45
45function CX(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ome()){case AN:return 1;case pX:return 4;case bk:case sme:return 16;case mX:return 536870912;default:return 16}default:return 16}}var ph=null,FN=null,pE=null;function EX(){if(pE)return pE;var e,t=FN,r=t.length,n,i="value"in ph?ph.value:ph.textContent,a=i.length;for(e=0;e<r&&t[e]===i[e];e++);var o=r-e;for(n=1;n<=o&&t[r-n]===i[a-n];n++);return pE=i.slice(e,1<n?1-n:void 0)}function mE(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function F2(){return!0}function tB(){return!1}function hl(e){function t(r,n,i,a,o){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(r=e[s],this[s]=r?r(a):a[s]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?F2:tB,this.isPropagationStopped=tB,this}return fi(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=F2)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=F2)},persist:function(){},isPersistent:F2}),t}var ny={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},DN=hl(ny),Yw=fi({},ny,{view:0,detail:0}),Sme=hl(Yw),kO,TO,e1,G_=fi({},Yw,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:NN,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==e1&&(e1&&e.type==="mousemove"?(kO=e.screenX-e1.screenX,TO=e.screenY-e1.screenY):TO=kO=0,e1=e),kO)},movementY:function(e){return"movementY"in e?e.movementY:TO}}),rB=hl(G_),wme=fi({},G_,{dataTransfer:0}),xme=hl(wme),Cme=fi({},Yw,{relatedTarget:0}),_O=hl(Cme),Eme=fi({},ny,{animationName:0,elapsedTime:0,pseudoElement:0}),kme=hl(Eme),Tme=fi({},ny,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_me=hl(Tme),Pme=fi({},ny,{data:0}),nB=hl(Pme),Ame={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ome={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ime={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Rme(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ime[e])?!!t[e]:!1}function NN(){return Rme}var Fme=fi({},Yw,{key:function(e){if(e.key){var t=Ame[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=mE(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Ome[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:NN,charCode:function(e){return e.type==="keypress"?mE(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?mE(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Dme=hl(Fme),Nme=fi({},G_,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),iB=hl(Nme),Mme=fi({},Yw,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:NN}),Lme=hl(Mme),Bme=fi({},ny,{propertyName:0,elapsedTime:0,pseudoElement:0}),Ume=hl(Bme),zme=fi({},G_,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Hme=hl(zme),qme=[9,13,27,32],MN=nf&&"CompositionEvent"in window,hb=null;nf&&"documentMode"in document&&(hb=document.documentMode);var Wme=nf&&"TextEvent"in window&&!hb,kX=nf&&(!MN||hb&&8<hb&&11>=hb),aB=" ",oB=!1;function TX(e,t){switch(e){case"keyup":return qme.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _X(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var pg=!1;function Vme(e,t){switch(e){case"compositionend":return _X(t);case"keypress":return t.which!==32?null:(oB=!0,aB);case"textInput":return e=t.data,e===aB&&oB?null:e;default:return null}}function jme(e,t){if(pg)return e==="compositionend"||!MN&&TX(e,t)?(e=EX(),pE=FN=ph=null,pg=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return kX&&t.locale!=="ko"?null:t.data;default:return null}}var Gme={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function sB(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Gme[e.type]:t==="textarea"}function PX(e,t,r,n){aX(n),t=Ck(t,"onChange"),0<t.length&&(r=new DN("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var pb=null,bS=null;function Kme(e){UX(e,0)}function K_(e){var t=vg(e);if(Q$(t))return e}function Zme(e,t){if(e==="change")return t}var AX=!1;if(nf){var PO;if(nf){var AO="oninput"in document;if(!AO){var lB=document.createElement("div");lB.setAttribute("oninput","return;"),AO=typeof lB.oninput=="function"}PO=AO}else PO=!1;AX=PO&&(!document.documentMode||9<document.documentMode)}function cB(){pb&&(pb.detachEvent("onpropertychange",OX),bS=pb=null)}function OX(e){if(e.propertyName==="value"&&K_(bS)){var t=[];PX(t,bS,e,PN(e)),cX(Kme,t)}}function Yme(e,t,r){e==="focusin"?(cB(),pb=t,bS=r,pb.attachEvent("onpropertychange",OX)):e==="focusout"&&cB()}function $me(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return K_(bS)}function Xme(e,t){if(e==="click")return K_(t)}function Qme(e,t){if(e==="input"||e==="change")return K_(t)}function Jme(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Qc=typeof Object.is=="function"?Object.is:Jme;function SS(e,t){if(Qc(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var i=r[n];if(!OR.call(t,i)||!Qc(e[i],t[i]))return!1}return!0}function uB(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dB(e,t){var r=uB(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=uB(r)}}function IX(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?IX(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function RX(){for(var e=window,t=gk();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=gk(e.document)}return t}function LN(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function e0e(e){var t=RX(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&IX(r.ownerDocument.documentElement,r)){if(n!==null&&LN(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=r.textContent.length,a=Math.min(n.start,i);n=n.end===void 0?a:Math.min(n.end,i),!e.extend&&a>n&&(i=n,n=a,a=i),i=dB(r,a);var o=dB(r,n);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<t.length;r++)e=t[r],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var t0e=nf&&"documentMode"in document&&11>=document.documentMode,mg=null,YR=null,mb=null,$R=!1;function fB(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;$R||mg==null||mg!==gk(n)||(n=mg,"selectionStart"in n&&LN(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focu
vendor: 4,510 bytes, line 45
45sNode:n.focusNode,focusOffset:n.focusOffset}),mb&&SS(mb,n)||(mb=n,n=Ck(YR,"onSelect"),0<n.length&&(t=new DN("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=mg)))}function D2(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var gg={animationend:D2("Animation","AnimationEnd"),animationiteration:D2("Animation","AnimationIteration"),animationstart:D2("Animation","AnimationStart"),transitionend:D2("Transition","TransitionEnd")},OO={},FX={};nf&&(FX=document.createElement("div").style,"AnimationEvent"in window||(delete gg.animationend.animation,delete gg.animationiteration.animation,delete gg.animationstart.animation),"TransitionEvent"in window||delete gg.transitionend.transition);function Z_(e){if(OO[e])return OO[e];if(!gg[e])return e;var t=gg[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in FX)return OO[e]=t[r];return e}var DX=Z_("animationend"),NX=Z_("animationiteration"),MX=Z_("animationstart"),LX=Z_("transitionend"),BX=new Map,hB="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function np(e,t){BX.set(e,t),n0(t,[e])}for(var IO=0;IO<hB.length;IO++){var RO=hB[IO],r0e=RO.toLowerCase(),n0e=RO[0].toUpperCase()+RO.slice(1);np(r0e,"on"+n0e)}np(DX,"onAnimationEnd");np(NX,"onAnimationIteration");np(MX,"onAnimationStart");np("dblclick","onDoubleClick");np("focusin","onFocus");np("focusout","onBlur");np(LX,"onTransitionEnd");yv("onMouseEnter",["mouseout","mouseover"]);yv("onMouseLeave",["mouseout","mouseover"]);yv("onPointerEnter",["pointerout","pointerover"]);yv("onPointerLeave",["pointerout","pointerover"]);n0("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));n0("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));n0("onBeforeInput",["compositionend","keypress","textInput","paste"]);n0("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));n0("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));n0("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var W1="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),i0e=new Set("cancel close invalid load scroll toggle".split(" ").concat(W1));function pB(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,rme(n,t,void 0,e),e.currentTarget=null}function UX(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var o=n.length-1;0<=o;o--){var s=n[o],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==a&&i.isPropagationStopped())break e;pB(i,s,c),a=l}else for(o=0;o<n.length;o++){if(s=n[o],l=s.instance,c=s.currentTarget,s=s.listener,l!==a&&i.isPropagationStopped())break e;pB(i,s,c),a=l}}}if(yk)throw e=jR,yk=!1,jR=null,e}function Vn(e,t){var r=t[tF];r===void 0&&(r=t[tF]=new Set);var n=e+"__bubble";r.has(n)||(zX(t,e,2,!1),r.add(n))}function FO(e,t,r){var n=0;t&&(n|=4),zX(r,e,n,t)}var N2="_reactListening"+Math.random().toString(36).slice(2);function wS(e){if(!e[N2]){e[N2]=!0,K$.forEach(function(r){r!=="selectionchange"&&(i0e.has(r)||FO(r,!1,e),FO(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[N2]||(t[N2]=!0,FO("selectionchange",!1,t))}}function zX(e,t,r,n){switch(CX(t)){case 1:var i=yme;break;case 4:i=bme;break;default:i=RN}r=i.bind(null,t,r,e),i=void 0,!VR||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),n?i!==void 0?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):i!==void 0?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function DO(e,t,r,n,i){var a=n;if(!(t&1)&&!(t&2)&&n!==null)e:for(;;){if(n===null)return;var o=n.tag;if(o===3||o===4){var s=n.stateNode.containerInfo;
vendor: 2,535 bytes, line 45
45if(s===i||s.nodeType===8&&s.parentNode===i)break;if(o===4)for(o=n.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;s!==null;){if(o=Vp(s),o===null)return;if(l=o.tag,l===5||l===6){n=a=o;continue e}s=s.parentNode}}n=n.return}cX(function(){var c=a,u=PN(r),d=[];e:{var f=BX.get(e);if(f!==void 0){var h=DN,p=e;switch(e){case"keypress":if(mE(r)===0)break e;case"keydown":case"keyup":h=Dme;break;case"focusin":p="focus",h=_O;break;case"focusout":p="blur",h=_O;break;case"beforeblur":case"afterblur":h=_O;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=rB;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=xme;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=Lme;break;case DX:case NX:case MX:h=kme;break;case LX:h=Ume;break;case"scroll":h=Sme;break;case"wheel":h=Hme;break;case"copy":case"cut":case"paste":h=_me;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=iB}var g=(t&4)!==0,v=!g&&e==="scroll",m=g?f!==null?f+"Capture":null:f;g=[];for(var b=c,y;b!==null;){y=b;var w=y.stateNode;if(y.tag===5&&w!==null&&(y=w,m!==null&&(w=mS(b,m),w!=null&&g.push(xS(b,w,y)))),v)break;b=b.return}0<g.length&&(f=new h(f,p,null,r,u),d.push({event:f,listeners:g}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&r!==qR&&(p=r.relatedTarget||r.fromElement)&&(Vp(p)||p[af]))break e;if((h||f)&&(f=u.window===u?u:(f=u.ownerDocument)?f.defaultView||f.parentWindow:window,h?(p=r.relatedTarget||r.toElement,h=c,p=p?Vp(p):null,p!==null&&(v=i0(p),p!==v||p.tag!==5&&p.tag!==6)&&(p=null)):(h=null,p=c),h!==p)){if(g=rB,w="onMouseLeave",m="onMouseEnter",b="mouse",(e==="pointerout"||e==="pointerover")&&(g=iB,w="onPointerLeave",m="onPointerEnter",b="pointer"),v=h==null?f:vg(h),y=p==null?f:vg(p),f=new g(w,b+"leave",h,r,u),f.target=v,f.relatedTarget=y,w=null,Vp(u)===c&&(g=new g(m,b+"enter",p,r,u),g.target=y,g.relatedTarget=v,w=g),v=w,h&&p)t:{for(g=h,m=p,b=0,y=g;y;y=O0(y))b++;for(y=0,w=m;w;w=O0(w))y++;for(;0<b-y;)g=O0(g),b--;for(;0<y-b;)m=O0(m),y--;for(;b--;){if(g===m||m!==null&&g===m.alternate)break t;g=O0(g),m=O0(m)}g=null}else g=null;h!==null&&mB(d,f,h,g,!1),p!==null&&v!==null&&mB(d,v,p,g,!0)}}
vendor: 5,367 bytes, lines 45-46
45e:{if(f=c?vg(c):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var x=Zme;else if(sB(f))if(AX)x=Qme;else{x=$me;var C=Yme}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(x=Xme);if(x&&(x=x(e,c))){PX(d,x,r,u);break e}C&&C(e,f,c),e==="focusout"&&(C=f._wrapperState)&&C.controlled&&f.type==="number"&&LR(f,"number",f.value)}switch(C=c?vg(c):window,e){case"focusin":(sB(C)||C.contentEditable==="true")&&(mg=C,YR=c,mb=null);break;case"focusout":mb=YR=mg=null;break;case"mousedown":$R=!0;break;case"contextmenu":case"mouseup":case"dragend":$R=!1,fB(d,r,u);break;case"selectionchange":if(t0e)break;case"keydown":case"keyup":fB(d,r,u)}var T;if(MN)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else pg?TX(e,r)&&(_="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(_="onCompositionStart");_&&(kX&&r.locale!=="ko"&&(pg||_!=="onCompositionStart"?_==="onCompositionEnd"&&pg&&(T=EX()):(ph=u,FN="value"in ph?ph.value:ph.textContent,pg=!0)),C=Ck(c,_),0<C.length&&(_=new nB(_,e,null,r,u),d.push({event:_,listeners:C}),T?_.data=T:(T=_X(r),T!==null&&(_.data=T)))),(T=Wme?Vme(e,r):jme(e,r))&&(c=Ck(c,"onBeforeInput"),0<c.length&&(u=new nB("onBeforeInput","beforeinput",null,r,u),d.push({event:u,listeners:c}),u.data=T))}UX(d,t)})}function xS(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Ck(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,a=i.stateNode;i.tag===5&&a!==null&&(i=a,a=mS(e,r),a!=null&&n.unshift(xS(e,a,i)),a=mS(e,t),a!=null&&n.push(xS(e,a,i))),e=e.return}return n}function O0(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function mB(e,t,r,n,i){for(var a=t._reactName,o=[];r!==null&&r!==n;){var s=r,l=s.alternate,c=s.stateNode;if(l!==null&&l===n)break;s.tag===5&&c!==null&&(s=c,i?(l=mS(r,a),l!=null&&o.unshift(xS(r,l,s))):i||(l=mS(r,a),l!=null&&o.push(xS(r,l,s)))),r=r.return}o.length!==0&&e.push({event:t,listeners:o})}var a0e=/\r\n?/g,o0e=/\u0000|\uFFFD/g;function gB(e){return(typeof e=="string"?e:""+e).replace(a0e,`
46`).replace(o0e,"")}function M2(e,t,r){if(t=gB(t),gB(e)!==t&&r)throw Error(ct(425))}function Ek(){}var XR=null,QR=null;function JR(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var eF=typeof setTimeout=="function"?setTimeout:void 0,s0e=typeof clearTimeout=="function"?clearTimeout:void 0,vB=typeof Promise=="function"?Promise:void 0,l0e=typeof queueMicrotask=="function"?queueMicrotask:typeof vB<"u"?function(e){return vB.resolve(null).then(e).catch(c0e)}:eF;function c0e(e){setTimeout(function(){throw e})}function NO(e,t){var r=t,n=0;do{var i=r.nextSibling;if(e.removeChild(r),i&&i.nodeType===8)if(r=i.data,r==="/$"){if(n===0){e.removeChild(i),yS(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=i}while(r);yS(t)}function Oh(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function yB(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var iy=Math.random().toString(36).slice(2),zu="__reactFiber$"+iy,CS="__reactProps$"+iy,af="__reactContainer$"+iy,tF="__reactEvents$"+iy,u0e="__reactListeners$"+iy,d0e="__reactHandles$"+iy;function Vp(e){var t=e[zu];if(t)return t;for(var r=e.parentNode;r;){if(t=r[af]||r[zu]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=yB(e);e!==null;){if(r=e[zu])return r;e=yB(e)}return t}e=r,r=e.parentNode}return null}function $w(e){return e=e[zu]||e[af],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function vg(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(ct(33))}function Y_(e){return e[CS]||null}var rF=[],yg=-1;function ip(e){return{current:e}}function Kn(e){0>yg||(e.current=rF[yg],rF[yg]=null,yg--)}function Wn(e,t){yg++,rF[yg]=e.current,e.current=t}var Hh={},yo=ip(Hh),vs=ip(!1),Em=Hh;function bv(e,t){var r=e.type.contextTypes;if(!r)return Hh;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},a;for(a in r)i[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ys(e){return e=e.childContextTypes,e!=null}function kk(){Kn(vs),Kn(yo)}function bB(e,t,r){if(yo.current!==Hh)throw Error(ct(168));Wn(yo,t),Wn(vs,r)}function HX(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in t))throw Error(ct(108,Ype(e)||"Unknown",i));return fi({},r,n)}function Tk(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Hh,Em=yo.current,Wn(yo,e),Wn(vs,vs.current),!0}function SB(e,t,r){var n=e.stateNode;if(!n)throw Error(ct(169));r?(e=HX(e,t,Em),n.__reactInternalMemoizedMergedChildContext=e,Kn(vs),Kn(yo),Wn(yo,e)):Kn(vs),Wn(vs,r)}var Md=null,$_=!1,MO=!1;function qX(e){Md===null?Md=[e]:Md.push(e)}function f0e(e){$_=!0,qX(e)}
vendor: 4,931 bytes, line 46
46function ap(){if(!MO&&Md!==null){MO=!0;var e=0,t=On;try{var r=Md;for(On=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}Md=null,$_=!1}catch(i){throw Md!==null&&(Md=Md.slice(e+1)),hX(AN,ap),i}finally{On=t,MO=!1}}return null}var bg=[],Sg=0,_k=null,Pk=0,Dl=[],Nl=0,km=null,qd=1,Wd="";function Ip(e,t){bg[Sg++]=Pk,bg[Sg++]=_k,_k=e,Pk=t}function WX(e,t,r){Dl[Nl++]=qd,Dl[Nl++]=Wd,Dl[Nl++]=km,km=e;var n=qd;e=Wd;var i=32-Gc(n)-1;n&=~(1<<i),r+=1;var a=32-Gc(t)+i;if(30<a){var o=i-i%5;a=(n&(1<<o)-1).toString(32),n>>=o,i-=o,qd=1<<32-Gc(t)+i|r<<i|n,Wd=a+e}else qd=1<<a|r<<i|n,Wd=e}function BN(e){e.return!==null&&(Ip(e,1),WX(e,1,0))}function UN(e){for(;e===_k;)_k=bg[--Sg],bg[Sg]=null,Pk=bg[--Sg],bg[Sg]=null;for(;e===km;)km=Dl[--Nl],Dl[Nl]=null,Wd=Dl[--Nl],Dl[Nl]=null,qd=Dl[--Nl],Dl[Nl]=null}var tl=null,js=null,Jn=!1,Rc=null;function VX(e,t){var r=jl(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function wB(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,tl=e,js=Oh(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,tl=e,js=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=km!==null?{id:qd,overflow:Wd}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=jl(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,tl=e,js=null,!0):!1;default:return!1}}function nF(e){return(e.mode&1)!==0&&(e.flags&128)===0}function iF(e){if(Jn){var t=js;if(t){var r=t;if(!wB(e,t)){if(nF(e))throw Error(ct(418));t=Oh(r.nextSibling);var n=tl;t&&wB(e,t)?VX(n,r):(e.flags=e.flags&-4097|2,Jn=!1,tl=e)}}else{if(nF(e))throw Error(ct(418));e.flags=e.flags&-4097|2,Jn=!1,tl=e}}}function xB(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;tl=e}function L2(e){if(e!==tl)return!1;if(!Jn)return xB(e),Jn=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!JR(e.type,e.memoizedProps)),t&&(t=js)){if(nF(e))throw jX(),Error(ct(418));for(;t;)VX(e,t),t=Oh(t.nextSibling)}if(xB(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ct(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){js=Oh(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}js=null}}else js=tl?Oh(e.stateNode.nextSibling):null;return!0}function jX(){for(var e=js;e;)e=Oh(e.nextSibling)}function Sv(){js=tl=null,Jn=!1}function zN(e){Rc===null?Rc=[e]:Rc.push(e)}var h0e=vf.ReactCurrentBatchConfig;function Oc(e,t){if(e&&e.defaultProps){t=fi({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var Ak=ip(null),Ok=null,wg=null,HN=null;function qN(){HN=wg=Ok=null}function WN(e){var t=Ak.current;Kn(Ak),e._currentValue=t}function aF(e,t,r){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Vg(e,t){Ok=e,HN=wg=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ps=!0),e.firstContext=null)}function nc(e){var t=e._currentValue;if(HN!==e)if(e={context:e,memoizedValue:t,next:null},wg===null){if(Ok===null)throw Error(ct(308));wg=e,Ok.dependencies={lanes:0,firstContext:e}}else wg=wg.next=e;return t}var jp=null;function VN(e){jp===null?jp=[e]:jp.push(e)}function GX(e,t,r,n){var i=t.interleaved;return i===null?(r.next=r,VN(t)):(r.next=i.next,i.next=r),t.interleaved=r,of(e,n)}function of(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}var Xf=!1;function jN(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function KX(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Zd(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ih(e,t,r){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,rn&2){var i=n.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),n.pending=t,of(e,r)}return i=n.interleaved,i===null?(t.next=t,VN(n)):(t.next=i.next,i.next=t),n.interleaved=t,of(e,r)}function gE(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194240)!==0)){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,ON(e,r)}}function CB(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,a=null;if(r=r.firstBaseUpdate,r!==null){do{var o={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};a===null?i=a=o:a=a.next=o,r=r.next}
vendor: 9,313 bytes, line 46
46while(r!==null);a===null?i=a=t:a=a.next=t}else i=a=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function Ik(e,t,r,n){var i=e.updateQueue;Xf=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,c=l.next;l.next=null,o===null?a=c:o.next=c,o=l;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(a!==null){var d=i.baseState;o=0,u=c=l=null,s=a;do{var f=s.lane,h=s.eventTime;if((n&f)===f){u!==null&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,g=s;switch(f=t,h=r,g.tag){case 1:if(p=g.payload,typeof p=="function"){d=p.call(h,d,f);break e}d=p;break e;case 3:p.flags=p.flags&-65537|128;case 0:if(p=g.payload,f=typeof p=="function"?p.call(h,d,f):p,f==null)break e;d=fi({},d,f);break e;case 2:Xf=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(c=u=h,l=d):u=u.next=h,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(u===null&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else a===null&&(i.shared.lanes=0);_m|=o,e.lanes=o,e.memoizedState=d}}function EB(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(ct(191,i));i.call(n)}}}var ZX=new G$.Component().refs;function oF(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:fi({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var X_={isMounted:function(e){return(e=e._reactInternals)?i0(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=Ho(),i=Fh(e),a=Zd(n,i);a.payload=t,r!=null&&(a.callback=r),t=Ih(e,a,i),t!==null&&(Kc(t,e,i,n),gE(t,e,i))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=Ho(),i=Fh(e),a=Zd(n,i);a.tag=1,a.payload=t,r!=null&&(a.callback=r),t=Ih(e,a,i),t!==null&&(Kc(t,e,i,n),gE(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Ho(),n=Fh(e),i=Zd(r,n);i.tag=2,t!=null&&(i.callback=t),t=Ih(e,i,n),t!==null&&(Kc(t,e,n,r),gE(t,e,n))}};function kB(e,t,r,n,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,a,o):t.prototype&&t.prototype.isPureReactComponent?!SS(r,n)||!SS(i,a):!0}function YX(e,t,r){var n=!1,i=Hh,a=t.contextType;return typeof a=="object"&&a!==null?a=nc(a):(i=ys(t)?Em:yo.current,n=t.contextTypes,a=(n=n!=null)?bv(e,i):Hh),t=new t(r,a),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=X_,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function TB(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&X_.enqueueReplaceState(t,t.state,null)}function sF(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=ZX,jN(e);var a=t.contextType;typeof a=="object"&&a!==null?i.context=nc(a):(a=ys(t)?Em:yo.current,i.context=bv(e,a)),i.state=e.memoizedState,a=t.getDerivedStateFromProps,typeof a=="function"&&(oF(e,t,a,r),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&X_.enqueueReplaceState(i,i.state,null),Ik(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function t1(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(ct(309));var n=r.stateNode}if(!n)throw Error(ct(147,e));var i=n,a=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===a?t.ref:(t=function(o){var s=i.refs;s===ZX&&(s=i.refs={}),o===null?delete s[a]:s[a]=o},t._stringRef=a,t)}if(typeof e!="string")throw Error(ct(284));if(!r._owner)throw Error(ct(290,e))}return e}function B2(e,t){throw e=Object.prototype.toString.call(t),Error(ct(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function _B(e){var t=e._init;return t(e._payload)}function $X(e){function t(m,b){if(e){var y=m.deletions;y===null?(m.deletions=[b],m.flags|=16):y.push(b)}}function r(m,b){if(!e)return null;for(;b!==null;)t(m,b),b=b.sibling;return null}function n(m,b){for(m=new Map;b!==null;)b.key!==null?m.set(b.key,b):m.set(b.index,b),b=b.sibling;return m}function i(m,b){return m=Dh(m,b),m.index=0,m.sibling=null,m}function a(m,b,y){return m.index=y,e?(y=m.alternate,y!==null?(y=y.index,y<b?(m.flags|=2,b):y):(m.flags|=2,b)):(m.flags|=1048576,b)}function o(m){return e&&m.alternate===null&&(m.flags|=2),m}function s(m,b,y,w){return b===null||b.tag!==6?(b=WO(y,m.mode,w),b.return=m,b):(b=i(b,y),b.return=m,b)}function l(m,b,y,w){var x=y.type;return x===hg?u(m,b,y.props.children,w,y.key):b!==null&&(b.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===$f&&_B(x)===b.type)?(w=i(b,y.props),w.ref=t1(m,b,y),w.return=m,w):(w=xE(y.type,y.key,y.props,null,m.mode,w),w.ref=t1(m,b,y),w.return=m,w)}function c(m,b,y,w){return b===null||b.tag!==4||b.stateNode.containerInfo!==y.containerInfo||b.stateNode.implementation!==y.implementation?(b=VO(y,m.mode,w),b.return=m,b):(b=i(b,y.children||[]),b.return=m,b)}function u(m,b,y,w,x){return b===null||b.tag!==7?(b=am(y,m.mode,w,x),b.return=m,b):(b=i(b,y),b.return=m,b)}function d(m,b,y){if(typeof b=="string"&&b!==""||typeof b=="number")return b=WO(""+b,m.mode,y),b.return=m,b;if(typeof b=="object"&&b!==null){switch(b.$$typeof){case _2:return y=xE(b.type,b.key,b.props,null,m.mode,y),y.ref=t1(m,null,b),y.return=m,y;case fg:return b=VO(b,m.mode,y),b.return=m,b;case $f:var w=b._init;return d(m,w(b._payload),y)}if(H1(b)||$y(b))return b=am(b,m.mode,y,null),b.return=m,b;B2(m,b)}return null}function f(m,b,y,w){var x=b!==null?b.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return x!==null?null:s(m,b,""+y,w);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case _2:return y.key===x?l(m,b,y,w):null;case fg:return y.key===x?c(m,b,y,w):null;case $f:return x=y._init,f(m,b,x(y._payload),w)}if(H1(y)||$y(y))return x!==null?null:u(m,b,y,w,null);B2(m,y)}return null}function h(m,b,y,w,x){if(typeof w=="string"&&w!==""||typeof w=="number")return m=m.get(y)||null,s(b,m,""+w,x);if(typeof w=="object"&&w!==null){switch(w.$$typeof){case _2:return m=m.get(w.key===null?y:w.key)||null,l(b,m,w,x);case fg:return m=m.get(w.key===null?y:w.key)||null,c(b,m,w,x);case $f:var C=w._init;return h(m,b,y,C(w._payload),x)}if(H1(w)||$y(w))return m=m.get(y)||null,u(b,m,w,x,null);B2(b,w)}return null}function p(m,b,y,w){for(var x=null,C=null,T=b,_=b=0,P=null;T!==null&&_<y.length;_++){T.index>_?(P=T,T=null):P=T.sibling;var F=f(m,T,y[_],w);if(F===null){T===null&&(T=P);break}e&&T&&F.alternate===null&&t(m,T),b=a(F,b,_),C===null?x=F:C.sibling=F,C=F,T=P}if(_===y.length)return r(m,T),Jn&&Ip(m,_),x;if(T===null){for(;_<y.length;_++)T=d(m,y[_],w),T!==null&&(b=a(T,b,_),C===null?x=T:C.sibling=T,C=T);return Jn&&Ip(m,_),x}for(T=n(m,T);_<y.length;_++)P=h(T,m,_,y[_],w),P!==null&&(e&&P.alternate!==null&&T.delete(P.key===null?_:P.key),b=a(P,b,_),C===null?x=P:C.sibling=P,C=P);return e&&T.forEach(function(I){return t(m,I)}),Jn&&Ip(m,_),x}function g(m,b,y,w){var x=$y(y);if(typeof x!="function")throw Error(ct(150));if(y=x.call(y),y==null)throw Error(ct(151));for(var C=x=null,T=b,_=b=0,P=null,F=y.next();T!==null&&!F.done;_++,F=y.next()){T.index>_?(P=T,T=null):P=T.sibling;var I=f(m,T,F.value,w);if(I===null){T===null&&(T=P);break}e&&T&&I.alternate===null&&t(m,T),b=a(I,b,_),C===null?x=I:C.sibling=I,C=I,T=P}if(F.done)return r(m,T),Jn&&Ip(m,_),x;if(T===null){for(;!F.done;_++,F=y.next())F=d(m,F.value,w),F!==null&&(b=a(F,b,_),C===null?x=F:C.sibling=F,C=F);return Jn&&Ip(m,_),x}for(T=n(m,T);!F.done;_++,F=y.next())F=h(T,m,_,F.value,w),F!==null&&(e&&F.alternate!==null&&T.delete(F.key===null?_:F.key),b=a(F,b,_),C===null?x=F:C.sibling=F,C=F);return e&&T.forEach(function(R){return t(m,R)}),Jn&&Ip(m,_),x}function v(m,b,y,w){if(typeof y=="object"&&y!==null&&y.type===hg&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case _2:e:{for(var x=y.key,C=b;C!==null;){if(C.key===x){if(x=y.type,x===hg){if(C.tag===7){r(m,C.sibling),b=i(C,y.props.children),b.return=m,m=b;break e}}else if(C.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===$f&&_B(x)===C.type){r(m,C.sibling),b=i(C,y.props),b.ref=t1(m,C,y),b.return=m,m=b;break e}r(m,C);break}else t(m,C);C=C.sibling}y.type===hg?(b=am(y.props.children,m.mode,w,y.key),b.return=m,m=b):(w=xE(y.type,y.key,y.props,null,m.mode,w
vendor: 18,433 bytes, lines 46-48
46),w.ref=t1(m,b,y),w.return=m,m=w)}return o(m);case fg:e:{for(C=y.key;b!==null;){if(b.key===C)if(b.tag===4&&b.stateNode.containerInfo===y.containerInfo&&b.stateNode.implementation===y.implementation){r(m,b.sibling),b=i(b,y.children||[]),b.return=m,m=b;break e}else{r(m,b);break}else t(m,b);b=b.sibling}b=VO(y,m.mode,w),b.return=m,m=b}return o(m);case $f:return C=y._init,v(m,b,C(y._payload),w)}if(H1(y))return p(m,b,y,w);if($y(y))return g(m,b,y,w);B2(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,b!==null&&b.tag===6?(r(m,b.sibling),b=i(b,y),b.return=m,m=b):(r(m,b),b=WO(y,m.mode,w),b.return=m,m=b),o(m)):r(m,b)}return v}var wv=$X(!0),XX=$X(!1),Xw={},Xu=ip(Xw),ES=ip(Xw),kS=ip(Xw);function Gp(e){if(e===Xw)throw Error(ct(174));return e}function GN(e,t){switch(Wn(kS,t),Wn(ES,e),Wn(Xu,Xw),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:UR(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=UR(t,e)}Kn(Xu),Wn(Xu,t)}function xv(){Kn(Xu),Kn(ES),Kn(kS)}function QX(e){Gp(kS.current);var t=Gp(Xu.current),r=UR(t,e.type);t!==r&&(Wn(ES,e),Wn(Xu,r))}function KN(e){ES.current===e&&(Kn(Xu),Kn(ES))}var ci=ip(0);function Rk(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var LO=[];function ZN(){for(var e=0;e<LO.length;e++)LO[e]._workInProgressVersionPrimary=null;LO.length=0}var vE=vf.ReactCurrentDispatcher,BO=vf.ReactCurrentBatchConfig,Tm=0,di=null,ta=null,ya=null,Fk=!1,gb=!1,TS=0,p0e=0;function Xa(){throw Error(ct(321))}function YN(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Qc(e[r],t[r]))return!1;return!0}function $N(e,t,r,n,i,a){if(Tm=a,di=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,vE.current=e===null||e.memoizedState===null?y0e:b0e,e=r(n,i),gb){a=0;do{if(gb=!1,TS=0,25<=a)throw Error(ct(301));a+=1,ya=ta=null,t.updateQueue=null,vE.current=S0e,e=r(n,i)}while(gb)}if(vE.current=Dk,t=ta!==null&&ta.next!==null,Tm=0,ya=ta=di=null,Fk=!1,t)throw Error(ct(300));return e}function XN(){var e=TS!==0;return TS=0,e}function Iu(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ya===null?di.memoizedState=ya=e:ya=ya.next=e,ya}function ic(){if(ta===null){var e=di.alternate;e=e!==null?e.memoizedState:null}else e=ta.next;var t=ya===null?di.memoizedState:ya.next;if(t!==null)ya=t,ta=e;else{if(e===null)throw Error(ct(310));ta=e,e={memoizedState:ta.memoizedState,baseState:ta.baseState,baseQueue:ta.baseQueue,queue:ta.queue,next:null},ya===null?di.memoizedState=ya=e:ya=ya.next=e}return ya}function _S(e,t){return typeof t=="function"?t(e):t}function UO(e){var t=ic(),r=t.queue;if(r===null)throw Error(ct(311));r.lastRenderedReducer=e;var n=ta,i=n.baseQueue,a=r.pending;if(a!==null){if(i!==null){var o=i.next;i.next=a.next,a.next=o}n.baseQueue=i=a,r.pending=null}if(i!==null){a=i.next,n=n.baseState;var s=o=null,l=null,c=a;do{var u=c.lane;if((Tm&u)===u)l!==null&&(l=l.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),n=c.hasEagerState?c.eagerState:e(n,c.action);else{var d={lane:u,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};l===null?(s=l=d,o=n):l=l.next=d,di.lanes|=u,_m|=u}c=c.next}while(c!==null&&c!==a);l===null?o=n:l.next=s,Qc(n,t.memoizedState)||(ps=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=l,r.lastRenderedState=n}if(e=r.interleaved,e!==null){i=e;do a=i.lane,di.lanes|=a,_m|=a,i=i.next;while(i!==e)}else i===null&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function zO(e){var t=ic(),r=t.queue;if(r===null)throw Error(ct(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,a=t.memoizedState;if(i!==null){r.pending=null;var o=i=i.next;do a=e(a,o.action),o=o.next;while(o!==i);Qc(a,t.memoizedState)||(ps=!0),t.memoizedState=a,t.baseQueue===null&&(t.baseState=a),r.lastRenderedState=a}return[a,n]}function JX(){}function eQ(e,t){var r=di,n=ic(),i=t(),a=!Qc(n.memoizedState,i);if(a&&(n.memoizedState=i,ps=!0),n=n.queue,QN(nQ.bind(null,r,n,e),[e]),n.getSnapshot!==t||a||ya!==null&&ya.memoizedState.tag&1){if(r.flags|=2048,PS(9,rQ.bind(null,r,n,i,t),void 0,null),wa===null)throw Error(ct(349));Tm&30||tQ(r,t,i)}return i}function tQ(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=di.updateQueue,t===null?(t={lastEffect:null,stores:null},di.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function rQ(e,t,r,n){t.value=r,t.getSnapshot=n,iQ(t)&&aQ(e)}function nQ(e,t,r){return r(function(){iQ(t)&&aQ(e)})}function iQ(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Qc(e,r)}catch{return!0}}function aQ(e){var t=of(e,1);t!==null&&Kc(t,e,1,-1)}function PB(e){var t=Iu();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:_S,lastRenderedState:e},t.queue=e,e=e.dispatch=v0e.bind(null,di,e),[t.memoizedState,e]}function PS(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=di.updateQueue,t===null?(t={lastEffect:null,stores:null},di.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function oQ(){return ic().memoizedState}function yE(e,t,r,n){var i=Iu();di.flags|=e,i.memoizedState=PS(1|t,r,void 0,n===void 0?null:n)}function Q_(e,t,r,n){var i=ic();n=n===void 0?null:n;var a=void 0;if(ta!==null){var o=ta.memoizedState;if(a=o.destroy,n!==null&&YN(n,o.deps)){i.memoizedState=PS(t,r,a,n);return}}di.flags|=e,i.memoizedState=PS(1|t,r,a,n)}function AB(e,t){return yE(8390656,8,e,t)}function QN(e,t){return Q_(2048,8,e,t)}function sQ(e,t){return Q_(4,2,e,t)}function lQ(e,t){return Q_(4,4,e,t)}function cQ(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function uQ(e,t,r){return r=r!=null?r.concat([e]):null,Q_(4,4,cQ.bind(null,t,e),r)}function JN(){}function dQ(e,t){var r=ic();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&YN(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function fQ(e,t){var r=ic();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&YN(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function hQ(e,t,r){return Tm&21?(Qc(r,t)||(r=gX(),di.lanes|=r,_m|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ps=!0),e.memoizedState=r)}function m0e(e,t){var r=On;On=r!==0&&4>r?r:4,e(!0);var n=BO.transition;BO.transition={};try{e(!1),t()}finally{On=r,BO.transition=n}}function pQ(){return ic().memoizedState}function g0e(e,t,r){var n=Fh(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},mQ(e))gQ(t,r);else if(r=GX(e,t,r,n),r!==null){var i=Ho();Kc(r,e,n,i),vQ(r,t,n)}}function v0e(e,t,r){var n=Fh(e),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(mQ(e))gQ(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,r);if(i.hasEagerState=!0,i.eagerState=s,Qc(s,o)){var l=t.interleaved;l===null?(i.next=i,VN(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}r=GX(e,t,i,n),r!==null&&(i=Ho(),Kc(r,e,n,i),vQ(r,t,n))}}function mQ(e){var t=e.alternate;return e===di||t!==null&&t===di}function gQ(e,t){gb=Fk=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function vQ(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,ON(e,r)}}var Dk={readContext:nc,useCallback:Xa,useContext:Xa,useEffect:Xa,useImperativeHandle:Xa,useInsertionEffect:Xa,useLayoutEffect:Xa,useMemo:Xa,useReducer:Xa,useRef:Xa,useState:Xa,useDebugValue:Xa,useDeferredValue:Xa,useTransition:Xa,useMutableSource:Xa,useSyncExternalStore:Xa,useId:Xa,unstable_isNewReconciler:!1},y0e={readContext:nc,useCallback:function(e,t){return Iu().memoizedState=[e,t===void 0?null:t],e},useContext:nc,useEffect:AB,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,yE(4194308,4,cQ.bind(null,t,e),r)},useLayoutEffect:function(e,t){return yE(4194308,4,e,t)},useInsertionEffect:function(e,t){return yE(4,2,e,t)},useMemo:function(e,t){var r=Iu();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Iu();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=g0e.bind(null,di,e),[n.memoizedState,e]},useRef:function(e){var t=Iu();return e={current:e},t.memoizedState=e},useState:PB,useDebugValue:JN,useDeferredValue:function(e){return Iu().memoizedState=e},useTransition:function(){var e=PB(!1),t=e[0];return e=m0e.bind(null,e[1]),Iu().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=di,i=Iu();if(Jn){if(r===void 0)throw Error(ct(407));r=r()}else{if(r=t(),wa===null)throw Error(ct(349));Tm&30||tQ(n,t,r)}i.memoizedState=r;var a={value:r,getSnapshot:t};return i.queue=a,AB(nQ.bind(null,n,a,e),[e]),n.flags|=2048,PS(9,rQ.bind(null,n,a,r,t),void 0,null),r},useId:function(){var e=Iu(),t=wa.identifierPrefix;if(Jn){var r=Wd,n=qd;r=(n&~(1<<32-Gc(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=TS++,0<r&&(t+="H"+r.toString(32)),t+=":"}else r=p0e++,t=":"+t+"r"+r.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},b0e={readContext:nc,useCallback:dQ,useContext:nc,useEffect:QN,useImperativeHandle:uQ,useInsertionEffect:sQ,useLayoutEffect:lQ,useMemo:fQ,useReducer:UO,useRef:oQ,useState:function(){return UO(_S)},useDebugValue:JN,useDeferredValue:function(e){var t=ic();return hQ(t,ta.memoizedState,e)},useTransition:function(){var e=UO(_S)[0],t=ic().memoizedState;return[e,t]},useMutableSource:JX,useSyncExternalStore:eQ,useId:pQ,unstable_isNewReconciler:!1},S0e={readContext:nc,useCallback:dQ,useContext:nc,useEffect:QN,useImperativeHandle:uQ,useInsertionEffect:sQ,useLayoutEffect:lQ,useMemo:fQ,useReducer:zO,useRef:oQ,useState:function(){return zO(_S)},useDebugValue:JN,useDeferredValue:function(e){var t=ic();return ta===null?t.memoizedState=e:hQ(t,ta.memoizedState,e)},useTransition:function(){var e=zO(_S)[0],t=ic().memoizedState;return[e,t]},useMutableSource:JX,useSyncExternalStore:eQ,useId:pQ,unstable_isNewReconciler:!1};function Cv(e,t){try{var r="",n=t;do r+=Zpe(n),n=n.return;while(n);var i=r}catch(a){i=`
47Error generating stack: `+a.message+`
48`+a.stack}return{value:e,source:t,stack:i,digest:null}}function HO(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function lF(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var w0e=typeof WeakMap=="function"?WeakMap:Map;function yQ(e,t,r){r=Zd(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Mk||(Mk=!0,yF=n),lF(e,t)},r}function bQ(e,t,r){r=Zd(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return n(i)},r.callback=function(){lF(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){lF(e,t),typeof n!="function"&&(Rh===null?Rh=new Set([this]):Rh.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),r}function OB(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new w0e;var i=new Set;n.set(t,i)}else i=n.get(t),i===void 0&&(i=new Set,n.set(t,i));i.has(r)||(i.add(r),e=N0e.bind(null,e,t,r),t.then(e,e))}function IB(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function RB(e,t,r,n,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Zd(-1,1),t.tag=2,Ih(r,t,1))),r.lanes|=1),e)}var x0e=vf.ReactCurrentOwner,ps=!1;function Ao(e,t,r,n){t.child=e===null?XX(t,null,r,n):wv(t,e.child,r,n)}function FB(e,t,r,n,i){r=r.render;var a=t.ref;return Vg(t,i),n=$N(e,t,r,n,a,i),r=XN(),e!==null&&!ps?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,sf(e,t,i)):(Jn&&r&&BN(t),t.flags|=1,Ao(e,t,n,i),t.child)}function DB(e,t,r,n,i){if(e===null){var a=r.type;return typeof a=="function"&&!s5(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,SQ(e,t,a,n,i)):(e=xE(r.type,null,n,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&i)){var o=a.memoizedProps;if(r=r.compare,r=r!==null?r:SS,r(o,n)&&e.ref===t.ref)return sf(e,t,i)}return t.flags|=1,e=Dh(a,n),e.ref=t.ref,e.return=t,t.child=e}function SQ(e,t,r,n,i){if(e!==null){var a=e.memoizedProps;if(SS(a,n)&&e.ref===t.ref)if(ps=!1,t.pendingProps=n=a,(e.lanes&i)!==0)e.flags&131072&&(ps=!0);else return t.lanes=e.lanes,sf(e,t,i)}return cF(e,t,r,n,i)}function wQ(e,t,r){var n=t.pendingProps,i=n.children,a=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Wn(Cg,Ms),Ms|=r;else{if(!(r&1073741824))return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Wn(Cg,Ms),Ms|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=a!==null?a.baseLanes:r,Wn(Cg,Ms),Ms|=n}else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,Wn(Cg,Ms),Ms|=n;return Ao(e,t,i,r),t.child}function xQ(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function cF(e,t,r,n,i){var a=ys(r)?Em:yo.current;return a=bv(t,a),Vg(t,i),r=$N(e,t,r,n,a,i),n=XN(),e!==null&&!ps?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,sf(e,t,i)):(Jn&&n&&BN(t),t.flags|=1,Ao(e,t,r,i),t.child)}function NB(e,t,r,n,i){if(ys(r)){var a=!0;Tk(t)}else a=!1;if(Vg(t,i),t.stateNode===null)bE(e,t),YX(t,r,n),sF(t,r,n,i),n=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,c=r.contextType;typeof c=="object"&&c!==null?c=nc(c):(c=ys(r)?Em:yo.current,c=bv(t,c));var u=r.getDerivedStateFromProps,d=typeof u=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==n||l!==c)&&TB(t,o,n,c),Xf=!1;var f=t.memoizedState;o.state=f,Ik(t,n,o,i),l=t.memoizedState,s!==n||f!==l||vs.current||Xf?(typeof u=="function"&&(oF(t,r,u,n),l=t.memoizedState),(s=Xf||kB(t,r,s,n,f,l,c))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),o.props=n,o.state=l,o.context=c,n=s):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{o=t.stateNode,KX(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Oc(t.type,s),o.props=c,d=t.pendingProps,f=o.context,l=r.contextType,typeof l=="object"&&l!==null?l=nc(l):(l=ys(r)?Em:yo.current,l=bv(t,l));var h=r.getDerivedStateFromProps;(u=typeof h=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==d||f!==l)&&TB(t,o,n,l),Xf=!1,f=t.memoizedState,o.state=f,Ik(t,n,o,i);var p=t.memoizedState;s!==d||f!==p||vs.current||Xf?(typeof h=="function"&&(oF(t,r,h,n),p=t.memoizedState),(c=Xf||kB(t,r,c,n,f,p,l)||!1)?(u||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(n,p,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(n,p,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=p),o.props=n,o.state=p,o.context=l,n=c):(typeof o.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),n=!1)}return uF(e,t,r,n,a,i)}function uF(e,t,r,n,i,a){xQ(e,t);var o=(t.flags&128)!==0;if(!n&&!o)return i&&SB(t,r,!1),sf(e,t,a);n=t.stateNode,x0e.current=t;var s=o&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&o?(t.child=wv(t,e.child,null,a),t.child=wv(t,null,s,a)):Ao(e,t,s,a),t.memoizedState=n.state,i&&SB(t,r,!0),t.child}function CQ(e){var t=e.stateNode;t.pendingContext?bB(e,t.pendingContext,t.pendingContext!==t.context):t.context&&bB(e,t.context,!1),GN(e,t.containerInfo)}function MB(e,t,r,n,i){return Sv(),zN(i),t.flags|=256,Ao(e,t,r,n),t.child}var dF={dehydrated:null,treeContext:null,retryLane:0};function fF(e){return{baseLanes:e,cachePool:null,transitions:null}}function EQ(e,t,r){var n=t.pendingProps,i=ci.current,a=!1,o=(t.flags&128)!==0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(a=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Wn(ci,i&1),e===null)return iF(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=n.children,e=n.fallback,a?(n=t.mode,a=t.child,o={mode:"hidden",children:o},!(n&1)&&a!==null?(a.childLanes=0,a.pendingProps=o):a=tP(o,n,0,null),e=am(e,n,r,null),a.return=t,e.return=t,a.sibling=e,t.child=a,t.child.memoizedState=fF(r),t.memoizedState=dF,e):e5(t,o));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return C0e(e,t,o,n,s,i,r);if(a){a=n.fallback,o=t.mode,i=e.child,s=i.sibling;var l={mode:"hidden",children:n.children};return!(o&1)&&t.child!==i?(n=t.child,n.childLanes=0,n.pendingProps=l,t.deletions=null):(n=Dh(i,l),n.subtreeFlags=i.subtreeFlags&14680064),s!==null?a=Dh(s,a):(a=am(a,o,r,null),a.flags|=2),a.return=t,n.return=t,n.sibling=a,t.child=n,n=a,a=t.child,o=e.child.memoizedState,o=o===null?fF(r):{base
vendor: 7,578 bytes, line 48
48Lanes:o.baseLanes|r,cachePool:null,transitions:o.transitions},a.memoizedState=o,a.childLanes=e.childLanes&~r,t.memoizedState=dF,n}return a=e.child,e=a.sibling,n=Dh(a,{mode:"visible",children:n.children}),!(t.mode&1)&&(n.lanes=r),n.return=t,n.sibling=null,e!==null&&(r=t.deletions,r===null?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=n,t.memoizedState=null,n}function e5(e,t){return t=tP({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function U2(e,t,r,n){return n!==null&&zN(n),wv(t,e.child,null,r),e=e5(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function C0e(e,t,r,n,i,a,o){if(r)return t.flags&256?(t.flags&=-257,n=HO(Error(ct(422))),U2(e,t,o,n)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(a=n.fallback,i=t.mode,n=tP({mode:"visible",children:n.children},i,0,null),a=am(a,i,o,null),a.flags|=2,n.return=t,a.return=t,n.sibling=a,t.child=n,t.mode&1&&wv(t,e.child,null,o),t.child.memoizedState=fF(o),t.memoizedState=dF,a);if(!(t.mode&1))return U2(e,t,o,null);if(i.data==="$!"){if(n=i.nextSibling&&i.nextSibling.dataset,n)var s=n.dgst;return n=s,a=Error(ct(419)),n=HO(a,n,void 0),U2(e,t,o,n)}if(s=(o&e.childLanes)!==0,ps||s){if(n=wa,n!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(n.suspendedLanes|o)?0:i,i!==0&&i!==a.retryLane&&(a.retryLane=i,of(e,i),Kc(n,e,i,-1))}return o5(),n=HO(Error(ct(421))),U2(e,t,o,n)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=M0e.bind(null,e),i._reactRetry=t,null):(e=a.treeContext,js=Oh(i.nextSibling),tl=t,Jn=!0,Rc=null,e!==null&&(Dl[Nl++]=qd,Dl[Nl++]=Wd,Dl[Nl++]=km,qd=e.id,Wd=e.overflow,km=t),t=e5(t,n.children),t.flags|=4096,t)}function LB(e,t,r){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),aF(e.return,t,r)}function qO(e,t,r,n,i){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i)}function kQ(e,t,r){var n=t.pendingProps,i=n.revealOrder,a=n.tail;if(Ao(e,t,n.children,r),n=ci.current,n&2)n=n&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&LB(e,r,t);else if(e.tag===19)LB(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(Wn(ci,n),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&Rk(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),qO(t,!1,i,r,a);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Rk(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}qO(t,!0,r,null,a);break;case"together":qO(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function bE(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function sf(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),_m|=t.lanes,!(r&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(ct(153));if(t.child!==null){for(e=t.child,r=Dh(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Dh(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function E0e(e,t,r){switch(t.tag){case 3:CQ(t),Sv();break;case 5:QX(t);break;case 1:ys(t.type)&&Tk(t);break;case 4:GN(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,i=t.memoizedProps.value;Wn(Ak,n._currentValue),n._currentValue=i;break;case 13:if(n=t.memoizedState,n!==null)return n.dehydrated!==null?(Wn(ci,ci.current&1),t.flags|=128,null):r&t.child.childLanes?EQ(e,t,r):(Wn(ci,ci.current&1),e=sf(e,t,r),e!==null?e.sibling:null);Wn(ci,ci.current&1);break;case 19:if(n=(r&t.childLanes)!==0,e.flags&128){if(n)return kQ(e,t,r);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Wn(ci,ci.current),n)break;return null;case 22:case 23:return t.lanes=0,wQ(e,t,r)}return sf(e,t,r)}var TQ,hF,_Q,PQ;TQ=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};hF=function(){};_Q=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,Gp(Xu.current);var a=null;switch(r){case"input":i=NR(e,i),n=NR(e,n),a=[];break;case"select":i=fi({},i,{value:void 0}),n=fi({},n,{value:void 0}),a=[];break;case"textarea":i=BR(e,i),n=BR(e,n),a=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Ek)}zR(r,n);var o;r=null;for(c in i)if(!n.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var s=i[c];for(o in s)s.hasOwnProperty(o)&&(r||(r={}),r[o]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(hS.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in n){var l=n[c];if(s=i!=null?i[c]:void 0,n.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(o in s)!s.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(r||(r={}),r[o]="");for(o in l)l.hasOwnProperty(o)&&s[o]!==l[o]&&(r||(r={}),r[o]=l[o])}else r||(a||(a=[]),a.push(c,r)),r=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(a=a||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(a=a||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(hS.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&Vn("scroll",e),a||s===l||(a=[])):(a=a||[]).push(c,l))}r&&(a=a||[]).push("style",r);var c=a;(t.updateQueue=c)&&(t.flags|=4)}};PQ=function(e,t,r,n){r!==n&&(t.flags|=4)};function r1(e,t){if(!Jn)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Qa(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,n=0;if(t)for(var i=e.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags&14680064,n|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function k0e(e,t,r){var n=t.pendingProps;switch(UN(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qa(t),null;case 1:return ys(t.type)&&kk(),Qa(t),null;case 3:return n=t.stateNode,xv(),Kn(vs),Kn(yo),ZN(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(L2(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Rc!==null&&(wF(Rc),Rc=null))),hF(e,t),Qa(t),null;case 5:KN(t);var i=Gp(kS.current);if(r=t.type,e!==null&&t.stateNode!=null)_Q(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(t.stateNode===null)throw Error(ct(166));return Qa(t),null}
vendor: 26,215 bytes, line 48
48if(e=Gp(Xu.current),L2(t)){n=t.stateNode,r=t.type;var a=t.memoizedProps;switch(n[zu]=t,n[CS]=a,e=(t.mode&1)!==0,r){case"dialog":Vn("cancel",n),Vn("close",n);break;case"iframe":case"object":case"embed":Vn("load",n);break;case"video":case"audio":for(i=0;i<W1.length;i++)Vn(W1[i],n);break;case"source":Vn("error",n);break;case"img":case"image":case"link":Vn("error",n),Vn("load",n);break;case"details":Vn("toggle",n);break;case"input":GL(n,a),Vn("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},Vn("invalid",n);break;case"textarea":ZL(n,a),Vn("invalid",n)}zR(r,a),i=null;for(var o in a)if(a.hasOwnProperty(o)){var s=a[o];o==="children"?typeof s=="string"?n.textContent!==s&&(a.suppressHydrationWarning!==!0&&M2(n.textContent,s,e),i=["children",s]):typeof s=="number"&&n.textContent!==""+s&&(a.suppressHydrationWarning!==!0&&M2(n.textContent,s,e),i=["children",""+s]):hS.hasOwnProperty(o)&&s!=null&&o==="onScroll"&&Vn("scroll",n)}switch(r){case"input":P2(n),KL(n,a,!0);break;case"textarea":P2(n),YL(n);break;case"select":case"option":break;default:typeof a.onClick=="function"&&(n.onclick=Ek)}n=i,t.updateQueue=n,n!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=tX(r)),e==="http://www.w3.org/1999/xhtml"?r==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=o.createElement(r,{is:n.is}):(e=o.createElement(r),r==="select"&&(o=e,n.multiple?o.multiple=!0:n.size&&(o.size=n.size))):e=o.createElementNS(e,r),e[zu]=t,e[CS]=n,TQ(e,t,!1,!1),t.stateNode=e;e:{switch(o=HR(r,n),r){case"dialog":Vn("cancel",e),Vn("close",e),i=n;break;case"iframe":case"object":case"embed":Vn("load",e),i=n;break;case"video":case"audio":for(i=0;i<W1.length;i++)Vn(W1[i],e);i=n;break;case"source":Vn("error",e),i=n;break;case"img":case"image":case"link":Vn("error",e),Vn("load",e),i=n;break;case"details":Vn("toggle",e),i=n;break;case"input":GL(e,n),i=NR(e,n),Vn("invalid",e);break;case"option":i=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=fi({},n,{value:void 0}),Vn("invalid",e);break;case"textarea":ZL(e,n),i=BR(e,n),Vn("invalid",e);break;default:i=n}zR(r,i),s=i;for(a in s)if(s.hasOwnProperty(a)){var l=s[a];a==="style"?iX(e,l):a==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&rX(e,l)):a==="children"?typeof l=="string"?(r!=="textarea"||l!=="")&&pS(e,l):typeof l=="number"&&pS(e,""+l):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(hS.hasOwnProperty(a)?l!=null&&a==="onScroll"&&Vn("scroll",e):l!=null&&EN(e,a,l,o))}switch(r){case"input":P2(e),KL(e,n,!1);break;case"textarea":P2(e),YL(e);break;case"option":n.value!=null&&e.setAttribute("value",""+zh(n.value));break;case"select":e.multiple=!!n.multiple,a=n.value,a!=null?zg(e,!!n.multiple,a,!1):n.defaultValue!=null&&zg(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Ek)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Qa(t),null;case 6:if(e&&t.stateNode!=null)PQ(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(ct(166));if(r=Gp(kS.current),Gp(Xu.current),L2(t)){if(n=t.stateNode,r=t.memoizedProps,n[zu]=t,(a=n.nodeValue!==r)&&(e=tl,e!==null))switch(e.tag){case 3:M2(n.nodeValue,r,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&M2(n.nodeValue,r,(e.mode&1)!==0)}a&&(t.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[zu]=t,t.stateNode=n}return Qa(t),null;case 13:if(Kn(ci),n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Jn&&js!==null&&t.mode&1&&!(t.flags&128))jX(),Sv(),t.flags|=98560,a=!1;else if(a=L2(t),n!==null&&n.dehydrated!==null){if(e===null){if(!a)throw Error(ct(318));if(a=t.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(ct(317));a[zu]=t}else Sv(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Qa(t),a=!1}else Rc!==null&&(wF(Rc),Rc=null),a=!0;if(!a)return t.flags&65536?t:null}return t.flags&128?(t.lanes=r,t):(n=n!==null,n!==(e!==null&&e.memoizedState!==null)&&n&&(t.child.flags|=8192,t.mode&1&&(e===null||ci.current&1?oa===0&&(oa=3):o5())),t.updateQueue!==null&&(t.flags|=4),Qa(t),null);case 4:return xv(),hF(e,t),e===null&&wS(t.stateNode.containerInfo),Qa(t),null;case 10:return WN(t.type._context),Qa(t),null;case 17:return ys(t.type)&&kk(),Qa(t),null;case 19:if(Kn(ci),a=t.memoizedState,a===null)return Qa(t),null;if(n=(t.flags&128)!==0,o=a.rendering,o===null)if(n)r1(a,!1);else{if(oa!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Rk(e),o!==null){for(t.flags|=128,r1(a,!1),n=o.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;r!==null;)a=r,e=n,a.flags&=14680066,o=a.alternate,o===null?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=o.childLanes,a.lanes=o.lanes,a.child=o.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=o.memoizedProps,a.memoizedState=o.memoizedState,a.updateQueue=o.updateQueue,a.type=o.type,e=o.dependencies,a.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return Wn(ci,ci.current&1|2),t.child}e=e.sibling}a.tail!==null&&Oi()>Ev&&(t.flags|=128,n=!0,r1(a,!1),t.lanes=4194304)}else{if(!n)if(e=Rk(o),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),r1(a,!0),a.tail===null&&a.tailMode==="hidden"&&!o.alternate&&!Jn)return Qa(t),null}else 2*Oi()-a.renderingStartTime>Ev&&r!==1073741824&&(t.flags|=128,n=!0,r1(a,!1),t.lanes=4194304);a.isBackwards?(o.sibling=t.child,t.child=o):(r=a.last,r!==null?r.sibling=o:t.child=o,a.last=o)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Oi(),t.sibling=null,r=ci.current,Wn(ci,n?r&1|2:r&1),t):(Qa(t),null);case 22:case 23:return a5(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Ms&1073741824&&(Qa(t),t.subtreeFlags&6&&(t.flags|=8192)):Qa(t),null;case 24:return null;case 25:return null}throw Error(ct(156,t.tag))}function T0e(e,t){switch(UN(t),t.tag){case 1:return ys(t.type)&&kk(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return xv(),Kn(vs),Kn(yo),ZN(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return KN(t),null;case 13:if(Kn(ci),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ct(340));Sv()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Kn(ci),null;case 4:return xv(),null;case 10:return WN(t.type._context),null;case 22:case 23:return a5(),null;case 24:return null;default:return null}}var z2=!1,lo=!1,_0e=typeof WeakSet=="function"?WeakSet:Set,Dt=null;function xg(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){yi(e,t,n)}else r.current=null}function pF(e,t,r){try{r()}catch(n){yi(e,t,n)}}var BB=!1;function P0e(e,t){if(XR=wk,e=RX(),LN(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,a=n.focusNode;n=n.focusOffset;try{r.nodeType,a.nodeType}catch{r=null;break e}var o=0,s=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var h;d!==r||i!==0&&d.nodeType!==3||(s=o+i),d!==a||n!==0&&d.nodeType!==3||(l=o+n),d.nodeType===3&&(o+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===r&&++c===i&&(s=o),f===a&&++u===n&&(l=o),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}r=s===-1||l===-1?null:{start:s,end:l}}else r=null}r=r||{start:0,end:0}}else r=null;for(QR={focusedElem:e,selectionRange:r},wk=!1,Dt=t;Dt!==null;)if(t=Dt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Dt=e;else for(;Dt!==null;){t=Dt;try{var p=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var g=p.memoizedProps,v=p.memoizedState,m=t.stateNode,b=m.getSnapshotBeforeUpdate(t.elementType===t.type?g:Oc(t.type,g),v);m.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ct(163))}}catch(w){yi(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,Dt=e;break}Dt=t.return}return p=BB,BB=!1,p}function vb(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,a!==void 0&&pF(t,r,a)}i=i.next}while(i!==n)}}function J_(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function mF(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function AQ(e){var t=e.alternate;t!==null&&(e.alternate=null,AQ(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zu],delete t[CS],delete t[tF],delete t[u0e],delete t[d0e])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function OQ(e){return e.tag===5||e.tag===3||e.tag===4}function UB(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||OQ(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function gF(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Ek));else if(n!==4&&(e=e.child,e!==null))for(gF(e,t,r),e=e.sibling;e!==null;)gF(e,t,r),e=e.sibling}function vF(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(vF(e,t,r),e=e.sibling;e!==null;)vF(e,t,r),e=e.sibling}var Pa=null,Ic=!1;function Af(e,t,r){for(r=r.child;r!==null;)IQ(e,t,r),r=r.sibling}function IQ(e,t,r){if($u&&typeof $u.onCommitFiberUnmount=="function")try{$u.onCommitFiberUnmount(j_,r)}catch{}switch(r.tag){case 5:lo||xg(r,t);case 6:var n=Pa,i=Ic;Pa=null,Af(e,t,r),Pa=n,Ic=i,Pa!==null&&(Ic?(e=Pa,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Pa.removeChild(r.stateNode));break;case 18:Pa!==null&&(Ic?(e=Pa,r=r.stateNode,e.nodeType===8?NO(e.parentNode,r):e.nodeType===1&&NO(e,r),yS(e)):NO(Pa,r.stateNode));break;case 4:n=Pa,i=Ic,Pa=r.stateNode.containerInfo,Ic=!0,Af(e,t,r),Pa=n,Ic=i;break;case 0:case 11:case 14:case 15:if(!lo&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var a=i,o=a.destroy;a=a.tag,o!==void 0&&(a&2||a&4)&&pF(r,t,o),i=i.next}while(i!==n)}Af(e,t,r);break;case 1:if(!lo&&(xg(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(s){yi(r,t,s)}Af(e,t,r);break;case 21:Af(e,t,r);break;case 22:r.mode&1?(lo=(n=lo)||r.memoizedState!==null,Af(e,t,r),lo=n):Af(e,t,r);break;default:Af(e,t,r)}}function zB(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new _0e),t.forEach(function(n){var i=L0e.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function wc(e,t){var r=t.deletions;if(r!==null)for(var n=0;n<r.length;n++){var i=r[n];try{var a=e,o=t,s=o;e:for(;s!==null;){switch(s.tag){case 5:Pa=s.stateNode,Ic=!1;break e;case 3:Pa=s.stateNode.containerInfo,Ic=!0;break e;case 4:Pa=s.stateNode.containerInfo,Ic=!0;break e}s=s.return}if(Pa===null)throw Error(ct(160));IQ(a,o,i),Pa=null,Ic=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(c){yi(i,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)RQ(t,e),t=t.sibling}function RQ(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(wc(t,e),pu(e),n&4){try{vb(3,e,e.return),J_(3,e)}catch(g){yi(e,e.return,g)}try{vb(5,e,e.return)}catch(g){yi(e,e.return,g)}}break;case 1:wc(t,e),pu(e),n&512&&r!==null&&xg(r,r.return);break;case 5:if(wc(t,e),pu(e),n&512&&r!==null&&xg(r,r.return),e.flags&32){var i=e.stateNode;try{pS(i,"")}catch(g){yi(e,e.return,g)}}if(n&4&&(i=e.stateNode,i!=null)){var a=e.memoizedProps,o=r!==null?r.memoizedProps:a,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&a.type==="radio"&&a.name!=null&&J$(i,a),HR(s,o);var c=HR(s,a);for(o=0;o<l.length;o+=2){var u=l[o],d=l[o+1];u==="style"?iX(i,d):u==="dangerouslySetInnerHTML"?rX(i,d):u==="children"?pS(i,d):EN(i,u,d,c)}switch(s){case"input":MR(i,a);break;case"textarea":eX(i,a);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!a.multiple;var h=a.value;h!=null?zg(i,!!a.multiple,h,!1):f!==!!a.multiple&&(a.defaultValue!=null?zg(i,!!a.multiple,a.defaultValue,!0):zg(i,!!a.multiple,a.multiple?[]:"",!1))}i[CS]=a}catch(g){yi(e,e.return,g)}}break;case 6:if(wc(t,e),pu(e),n&4){if(e.stateNode===null)throw Error(ct(162));i=e.stateNode,a=e.memoizedProps;try{i.nodeValue=a}catch(g){yi(e,e.return,g)}}break;case 3:if(wc(t,e),pu(e),n&4&&r!==null&&r.memoizedState.isDehydrated)try{yS(t.containerInfo)}catch(g){yi(e,e.return,g)}break;case 4:wc(t,e),pu(e);break;case 13:wc(t,e),pu(e),i=e.child,i.flags&8192&&(a=i.memoizedState!==null,i.stateNode.isHidden=a,!a||i.alternate!==null&&i.alternate.memoizedState!==null||(n5=Oi())),n&4&&zB(e);break;case 22:if(u=r!==null&&r.memoizedState!==null,e.mode&1?(lo=(c=lo)||u,wc(t,e),lo=c):wc(t,e),pu(e),n&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!u&&e.mode&1)for(Dt=e,u=e.child;u!==null;){for(d=Dt=u;Dt!==null;){switch(f=Dt,h=f.child,f.tag){case 0:case 11:case 14:case 15:vb(4,f,f.return);break;case 1:xg(f,f.return);var p=f.stateNode;if(typeof p.componentWillUnmount=="function"){n=f,r=f.return;try{t=n,p.props=t.memoizedProps,p.state=t.memoizedState,p.componentWillUnmount()}catch(g){yi(n,r,g)}}break;case 5:xg(f,f.return);break;case 22:if(f.memoizedState!==null){qB(d);continue}}h!==null?(h.return=f,Dt=h):qB(d)}u=u.sibling}e:for(u=null,d=e;;){if(d.tag===5){if(u===null){u=d;try{i=d.stateNode,c?(a=i.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"):(s=d.stateNode,l=d.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=nX("display",o))}catch(g){yi(e,e.return,g)}}}else if(d.tag===6){if(u===null)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(g){yi(e,e.return,g)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;u===d&&(u=null),d=d.return}u===d&&(u=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:wc(t,e),pu(e),n&4&&zB(e);break;case 21:break;default:wc(t,e),pu(e)}}function pu(e){var t=e.flags;if(t&2){try{e:{for(var r=e.return;r!==null;){if(OQ(r)){var n=r;break e}r=r.return}throw Error(ct(160))}switch(n.tag){case 5:var i=n.stateNode;n.flags&32&&(pS(i,""),n.flags&=-33);var a=UB(e);vF(e,a,i);break;case 3:case 4:var o=n.stateNode.containerInfo,s=UB(e);gF(e,s,o);break;default:throw Error(ct(161))}}catch(l){yi(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function A0e(e,t,r){Dt=e,FQ(e)}function FQ(e,t,r){for(var n=(e.mode&1)!==0;Dt!==null;){var i=Dt,a=i.child;if(i.tag===22&&n){var o=i.memoizedState!==null||z2;if(!o){var s=i.alternate,l=s!==null&&s.memoizedState!==null||lo;s=z2;var c=lo;if(z2=o,(lo=l)&&!c)for(Dt=i;Dt!==null;)o=Dt,l=o.child,o.tag===22&&o.memoizedState!==null?WB(i):l!==null?(l.return=o,Dt=l):WB(i);for(;a!==null;)Dt=a,FQ(a),a=a.sibling;Dt=i,z2=s,lo=c}HB(e)}else i.subtreeFlags&8772&&a!==null?(a.return=i,Dt=a):HB(e)}}function HB(e){for(;Dt!==null;){var t=Dt;if(t.flags&8772){var r=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:lo||J_(5,t);break;case 1:var n=t.stateNode;if(t.flags&4&&!lo)if(r===null)n.componentDidMount();else{var i=t.elementType===t.type?r.memoizedProps:Oc(t.type,r.memoizedProps);n.componentDidUpdate(i,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;a!==null&&EB(t,a,n);break;case 3:var o=t.updateQueue;if(o!==null){if(r=null,t.child!==null)switch(t.child.tag){case 5:r=t.child.stateNode;break;case 1:r=t.child.stateNode}EB(t,o,r)}break;case 5:var s=t.stateNode;if(r===null&&t.flags&4){r=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&r.focus();break;case"img":l.src&&(r.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var u=c.memoizedState;if(u!==null){var d=u.dehydrated;d!==null&&yS(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(ct(163))}lo||t.flags&512&&mF(t)}catch(f){yi(t,t.return,f)}}if(t===e){Dt=null;break}if(r=t.sibling,r!==null){r.return=t.return,Dt=r;break}Dt=t.return}}function qB(e){for(;Dt!==null;){var t=Dt;if(t===e){Dt=null;break}var r=t.sibling;if(r!==null){r.return=t.return,Dt=r;break}Dt=t.return}}function WB(e){for(;Dt!==null;){var t=Dt;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{J_(4,t)}catch(l){yi(t,r,l)}break;case 1:var n=t.stateNode;if(typeof n.componentDidMount=="function"){var i=t.return;try{n.componentDidMount()}catch(l){yi(t,i,l)}}var a=t.return;try{mF(t)}catch(l){yi(t,a,l)}break;case 5:var o=t.return;try{mF(t)}catch(l){yi(t,o,l)}}}catch(l){yi(t,t.return,l)}if(t===e){Dt=null;break}var s=t.sibling;if(s!==null){s.return=t.return,Dt=s;break}Dt=t.return}}var O0e=Math.ceil,Nk=vf.ReactCurrentDispatcher,t5=vf.ReactCurrentOwner,$l=vf.ReactCurrentBatchConfig,rn=0,wa=null,Wi=null,Ua=0,Ms=0,Cg=ip(0),oa=0,AS=null,_m=0,eP=0,r5=0,yb=null,cs=null,n5=0,Ev=1/0,Od=null,Mk=!1,yF=null,Rh=null,H2=!1,mh=null,Lk=0,bb=0,bF=null,SE=-1,wE=0;function Ho(){return rn&6?Oi():SE!==-1?SE:SE=Oi()}function Fh(e){return e.mode&1?rn&2&&Ua!==0?Ua&-Ua:h0e.transition!==null?(wE===0&&(wE=gX()),wE):(e=On,e!==0||(e=window.event,e=e===void 0?16:CX(e.type)),e):1}function Kc(e,t,r,n){if(50<bb)throw bb=0,bF=null,Error(ct(185));Zw(e,r,n),(!(rn&2)||e!==wa)&&(e===wa&&(!(rn&2)&&(eP|=r),oa===4&&sh(e,Ua)),bs(e,n),r===1&&rn===0&&!(t.mode&1)&&(Ev=Oi()+500,$_&&ap()))}function bs(e,t){var r=e.callbackNode;hme(e,t);var n=Sk(e,e===wa?Ua:0);if(n===0)r!==null&&QL(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(r!=null&&QL(r),t===1)e.tag===0?f0e(VB.bind(null,e)):qX(VB.bind(null,e)),l0e(function(){!(rn&6)&&ap()}),r=null;else{switch(vX(n)){case 1:r=AN;break;case 4:r=pX;break;case 16:r=bk;break;case 536870912:r=mX;break;default:r=bk}r=HQ(r,DQ.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function DQ(e,t){if(SE=-1,wE=0,rn&6)throw Error(ct(327));var r=e.callbackNode;if(jg()&&e.callbackNode!==r)return null;var n=Sk(e,e===wa?Ua:0);if(n===0)return null;if(n&30||n&e.expiredLanes||t)t=Bk(e,n);else{t=n;var i=rn;rn|=2;var a=MQ();(wa!==e||Ua!==t)&&(Od=null,Ev=Oi()+500,im(e,t));do try{F0e();break}catch(s){NQ(e,s)}while(!0);qN(),Nk.current=a,rn=i,Wi!==null?t=0:(wa=null,Ua=0,t=oa)}if(t!==0){if(t===2&&(i=GR(e),i!==0&&(n=i,t=SF(e,i))),t===1)throw r=AS,im(e,0),sh(e,n),bs(e,Oi()),r;if(t===6)sh(e,n);else{if(i=e.current.alternate,!(n&30)&&!I0e(i)&&(t=Bk(e,n),t===2&&(a=GR(e),a!==0&&(n=a,t=SF(e,a))),t===1))throw r=AS,im(e,0),sh(e,n),bs(e,Oi()),r;switch(e.finishedWork=i,e.finishedLanes=n,t){case 0:case 1:throw Error(ct(345));case 2:Rp(e,cs,Od);break;case 3:if(sh(e,n),(n&130023424)===n&&(t=n5+500-Oi(),10<t)){if(Sk(e,0)!==0)break;if(i=e.suspendedLanes,(i&n)!==n){Ho(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=eF(Rp.bind(null,e,cs,Od),t);break}Rp(e,cs,Od);break;case 4:if(sh(e,n),(n&4194240)===n)break;for(t=e.eventTimes,i=-1;0<n;){var o=31-Gc(n);a=1<<o,o=t[o],o>i&&(i=o),n&=~a}if(n=i,n=Oi()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*O0e(n/1960))-n,10<n){e.timeoutHandle=eF(Rp.bind(null,e,cs,Od),n);break}Rp(e,cs,Od);break;case 5:Rp(e,cs,Od);break;default:throw Error(ct(329))}}}return bs(e,Oi()),e.callbackNode===r?DQ.bind(null,e):null}function SF(e,t){var r=yb;return e.current.memoizedState.isDehydrated&&(im(e,t).flags|=256),e=Bk(e,t),e!==2&&(t=cs,cs=r,t!==null&&wF(t)),e}function wF(e){cs===null?cs=e:cs.push.apply(cs,e)}function I0e(e){for(var t=e;;){if(t.flags&16384){var r=t.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var i=r[n],a=i.getSnapshot;i=i.value;try{if(!Qc(a(),i))return!1}catch{return!1}}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function sh(e,t){for(t&=~r5,t&=~eP,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-Gc(t),n=1<<r;e[r]=-1,t&=~n}}function VB(e){if(rn&6)throw Error(ct(327));jg();var t=Sk(e,0);if(!(t&1))return bs(e,Oi()),null;var r=Bk(e,t);if(e.tag!==0&&r===2){var n=GR(e);n!==0&&(t=n,r=SF(e,n))}if(r===1)throw r=AS,im(e,0),sh(e,t),bs(e,Oi()),r;if(r===6)throw Error(ct(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Rp(e,cs,Od),bs(e,Oi()),null}function i5(e,t){var r=rn;rn|=1;try{return e(t)}finally{rn=r,rn===0&&(Ev=Oi()+500,$_&&ap())}}function Pm(e){mh!==null&&mh.tag===0&&!(rn&6)&&jg();var t=rn;rn|=1;var r=$l.transition,n=On;try{if($l.transition=null,On=1,e)return e()}finally{On=n,$l.transition=r,rn=t,!(rn&6)&&ap()}}function a5(){Ms=Cg.current,Kn(Cg)}function im(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,s0e(r)),Wi!==null)for(r=Wi.return;r!==null;){var n=r;switch(UN(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&kk();break;case 3:xv(),Kn(vs),Kn(yo),ZN();break;case 5:KN(n);break;case 4:xv();break;case 13:Kn(ci);break;case 19:Kn(ci);break;case 10:WN(n.type._context);break;case 22:case 23:a5()}r=r.return}if(wa=e,Wi=e=Dh(e.current,null),Ua=Ms=t,oa=0,AS=null,r5=eP=_m=0,cs=yb=null,jp!==null){for(t=0;t<jp.length;t++)if(r=jp[t],n=r.interleaved,n!==null){r.interleaved=null;var i=n.next,a=r.pending;if(a!==null){var o=a.next;a.next=i,n.next=o}r.pending=n}jp=null}return e}function NQ(e,t){do{var r=Wi;try{if(qN(),vE.current=Dk,Fk){for(var n=di.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}Fk=!1}if(Tm=0,ya=ta=di=null,gb=!1,TS=0,t5.current=null,r===null||r.return===null){oa=1,AS=t,Wi=null;break}e:{var a=e,o=r.return,s=r,l=t;if(t=Ua,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l,u=s,d=u.tag;if(!(u.mode&1)&&(d===0||d===11||d===15)){var f=u.alternate;f?(u.updateQueue=f.updateQueue,u.memoizedState=f.memoizedState,u.lanes=f.lanes):(u.updateQueue=null,u.memoizedState=null)}var h=IB(o);if(h!==null){h.flags&=-257,RB(h,o,s,a,t),h.mode&1&&OB(a,c,t),t=h,l=c;var p=t.updateQueue;if(p===null){var g=new Set;g.add(l),t.updateQueue=g}else p.add(l);break e}else{if(!(t&1)){OB(a,c,t),o5();break e}l=Error(ct(426))}}else if(Jn&&s.mode&1){var v=IB(o);if(v!==null){!(v.flags&65536)&&(v.flags|=256),RB(v,o,s,a,t),zN(Cv(l,s));break e}}a=l=Cv(l,s),oa!==4&&(oa=2),yb===null?yb=[a]:yb.push(a),a=o;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t;var m=yQ(a,l,t);CB(a,m);break e;case 1:s=l;var b=a.type,y=a.stateNode;if(!(a.flags&128)&&(typeof b.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Rh===null||!Rh.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t;var w=bQ(a,s,t);CB(a,w);break e}}a=a.return}while(a!==null)}BQ(r)}catch(x){t=x,Wi===r&&r!==null&&(Wi=r=r.return);continue}break}while(!0)}function MQ(){var e=Nk.current;return Nk.current=Dk,e===null?Dk:e}function o5(){(oa===0||oa===3||oa===2)&&(oa=4),wa===null||!(_m&268435455)&&!(eP&268435455)||sh(wa,Ua)}function Bk(e,t){var r=rn;rn|=2;var n=MQ();(wa!==e||Ua!==t)&&(Od=null,im(e,t));do try{R0e();break}catch(i){NQ(e,i)}while(!0);if(qN(),rn=r,Nk.current=n,Wi!==null)throw Error(ct(261));return wa=null,Ua=0,oa}function R0e(){for(;Wi!==null;)LQ(Wi)}function F0e(){for(;Wi!==null&&!ime();)LQ(Wi)}function LQ(e){var t=zQ(e.alternate,e,Ms);e.memoizedProps=e.pendingProps,t===null?BQ(e):Wi=t,t5.current=null}function BQ(e){var t=e;do{var r=t.alternate;if(e=t.return,t.flags&32768){if(r=T0e(r,t),r!==null){r.flags&=32767,Wi=r;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{oa=6,Wi=null;return}}else if(r=k0e(r,t,Ms),r!==null){Wi=r;return}if(t=t.sibling,t!==null){Wi=t;return}Wi=t=e}while(t!==null);oa===0&&(oa=5)}function Rp(e,t,r){var n=On,i=$l.transition;try{$l.transition=null,On=1,D0e(e,t,r,n)}finally{$l.transition=i,On=n}return null}function D0e(e,t,r,n){do jg();while(mh!==null);if(rn&6)throw Error(ct(327));r=e.finishedWork;var i=e.finishedLanes;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(ct(177));e.callbackNode=null,e.callbackPriority=0;var a=r.lanes|r.childLanes;if(pme(e,a),e===wa&&(Wi=wa=null,Ua=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||H2||(H2=!0,HQ(bk,function(){return jg(),null})),a=(r.flags&15990)!==0,r.subtreeFlags&15990||a){a=$l.transition,$l.transition=null;var o=On;On=1;var s=rn;rn|=4,t5.current=null,P0e(e,r),RQ(r,e),e0e(QR),wk=!!XR,QR=XR=null,e.current=r,A0e(r),ame(),rn=s,On=o,$l.transition=a}else e.current=r;if(H2&&(H2=!1,mh=e,Lk=i),a=e.pendingLanes,a===0&&(Rh=null),lme(r.stateNode),bs(e,Oi()),t!==null)for(n=e.onRecoverableError,r=0;r<t.length;r++)i=t[r],n(i.value,{componentStack:i.stack,digest:i.digest});if(Mk)throw Mk=!1,e=yF,yF=null,e;return Lk&1&&e.tag!==0&&jg(),a=e.pendingLanes,a&1?e===bF?bb++:(bb=0,bF=e):bb=0,ap(),null}function jg(){if(mh!==null){var e=vX(Lk),t=$l.transition,r=On;try{if($l.transition=null,On=16>e?16:e,mh===null)var n=!1;else{if(e=mh,mh=null,Lk=0,rn&6)throw Error(ct(331));var i=rn;for(rn|=4,Dt=e.current;Dt!==null;){var a=Dt,o=a.child;
vendor: 1,792 bytes, line 48
48if(Dt.flags&16){var s=a.deletions;if(s!==null){for(var l=0;l<s.length;l++){var c=s[l];for(Dt=c;Dt!==null;){var u=Dt;switch(u.tag){case 0:case 11:case 15:vb(8,u,a)}var d=u.child;if(d!==null)d.return=u,Dt=d;else for(;Dt!==null;){u=Dt;var f=u.sibling,h=u.return;if(AQ(u),u===c){Dt=null;break}if(f!==null){f.return=h,Dt=f;break}Dt=h}}}var p=a.alternate;if(p!==null){var g=p.child;if(g!==null){p.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(g!==null)}}Dt=a}}if(a.subtreeFlags&2064&&o!==null)o.return=a,Dt=o;else e:for(;Dt!==null;){if(a=Dt,a.flags&2048)switch(a.tag){case 0:case 11:case 15:vb(9,a,a.return)}var m=a.sibling;if(m!==null){m.return=a.return,Dt=m;break e}Dt=a.return}}var b=e.current;for(Dt=b;Dt!==null;){o=Dt;var y=o.child;if(o.subtreeFlags&2064&&y!==null)y.return=o,Dt=y;else e:for(o=b;Dt!==null;){if(s=Dt,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:J_(9,s)}}catch(x){yi(s,s.return,x)}if(s===o){Dt=null;break e}var w=s.sibling;if(w!==null){w.return=s.return,Dt=w;break e}Dt=s.return}}if(rn=i,ap(),$u&&typeof $u.onPostCommitFiberRoot=="function")try{$u.onPostCommitFiberRoot(j_,e)}catch{}n=!0}return n}finally{On=r,$l.transition=t}}return!1}function jB(e,t,r){t=Cv(r,t),t=yQ(e,t,1),e=Ih(e,t,1),t=Ho(),e!==null&&(Zw(e,1,t),bs(e,t))}function yi(e,t,r){if(e.tag===3)jB(e,e,r);else for(;t!==null;){if(t.tag===3){jB(t,e,r);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Rh===null||!Rh.has(n))){e=Cv(r,e),e=bQ(t,e,1),t=Ih(t,e,1),e=Ho(),t!==null&&(Zw(t,1,e),bs(t,e));break}}t=t.return}}function N0e(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=Ho(),e.pingedLanes|=e.suspendedLanes&r,wa===e&&(Ua&r)===r&&(oa===4||oa===3&&(Ua&130023424)===Ua&&500>Oi()-n5?im(e,0):r5|=r),bs(e,t)}
vendor: 4,466 bytes, line 48
48function UQ(e,t){t===0&&(e.mode&1?(t=I2,I2<<=1,!(I2&130023424)&&(I2=4194304)):t=1);var r=Ho();e=of(e,t),e!==null&&(Zw(e,t,r),bs(e,r))}function M0e(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),UQ(e,r)}function L0e(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,i=e.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(ct(314))}n!==null&&n.delete(t),UQ(e,r)}var zQ;zQ=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||vs.current)ps=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return ps=!1,E0e(e,t,r);ps=!!(e.flags&131072)}else ps=!1,Jn&&t.flags&1048576&&WX(t,Pk,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;bE(e,t),e=t.pendingProps;var i=bv(t,yo.current);Vg(t,r),i=$N(null,t,n,e,i,r);var a=XN();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ys(n)?(a=!0,Tk(t)):a=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,jN(t),i.updater=X_,t.stateNode=i,i._reactInternals=t,sF(t,n,e,r),t=uF(null,t,n,!0,a,r)):(t.tag=0,Jn&&a&&BN(t),Ao(null,t,i,r),t=t.child),t;case 16:n=t.elementType;e:{switch(bE(e,t),e=t.pendingProps,i=n._init,n=i(n._payload),t.type=n,i=t.tag=U0e(n),e=Oc(n,e),i){case 0:t=cF(null,t,n,e,r);break e;case 1:t=NB(null,t,n,e,r);break e;case 11:t=FB(null,t,n,e,r);break e;case 14:t=DB(null,t,n,Oc(n.type,e),r);break e}throw Error(ct(306,n,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Oc(n,i),cF(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Oc(n,i),NB(e,t,n,i,r);case 3:e:{if(CQ(t),e===null)throw Error(ct(387));n=t.pendingProps,a=t.memoizedState,i=a.element,KX(e,t),Ik(t,n,null,r);var o=t.memoizedState;if(n=o.element,a.isDehydrated)if(a={element:n,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=a,t.memoizedState=a,t.flags&256){i=Cv(Error(ct(423)),t),t=MB(e,t,n,r,i);break e}else if(n!==i){i=Cv(Error(ct(424)),t),t=MB(e,t,n,r,i);break e}else for(js=Oh(t.stateNode.containerInfo.firstChild),tl=t,Jn=!0,Rc=null,r=XX(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(Sv(),n===i){t=sf(e,t,r);break e}Ao(e,t,n,r)}t=t.child}return t;case 5:return QX(t),e===null&&iF(t),n=t.type,i=t.pendingProps,a=e!==null?e.memoizedProps:null,o=i.children,JR(n,i)?o=null:a!==null&&JR(n,a)&&(t.flags|=32),xQ(e,t),Ao(e,t,o,r),t.child;case 6:return e===null&&iF(t),null;case 13:return EQ(e,t,r);case 4:return GN(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=wv(t,null,n,r):Ao(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Oc(n,i),FB(e,t,n,i,r);case 7:return Ao(e,t,t.pendingProps,r),t.child;case 8:return Ao(e,t,t.pendingProps.children,r),t.child;case 12:return Ao(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value,Wn(Ak,n._currentValue),n._currentValue=o,a!==null)if(Qc(a.value,o)){if(a.children===i.children&&!vs.current){t=sf(e,t,r);break e}}else for(a=t.child,a!==null&&(a.return=t);a!==null;){var s=a.dependencies;if(s!==null){o=a.child;for(var l=s.firstContext;l!==null;){if(l.context===n){if(a.tag===1){l=Zd(-1,r&-r),l.tag=2;var c=a.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}a.lanes|=r,l=a.alternate,l!==null&&(l.lanes|=r),aF(a.return,r,t),s.lanes|=r;break}l=l.next}}else if(a.tag===10)o=a.type===t.type?null:a.child;else if(a.tag===18){if(o=a.return,o===null)throw Error(ct(341));o.lanes|=r,s=o.alternate,s!==null&&(s.lanes|=r),aF(o,r,t),o=a.sibling}else o=a.child;if(o!==null)o.return=a;else for(o=a;o!==null;){if(o===t){o=null;break}if(a=o.sibling,a!==null){a.return=o.return,o=a;break}o=o.return}a=o}Ao(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,n=t.pendingProps.children,Vg(t,r),i=nc(i),n=n(i),t.flags|=1,Ao(e,t,n,r),t.child;case 14:return n=t.type,i=Oc(n,t.pendingProps),i=Oc(n.type,i),DB(e,t,n,i,r);case 15:return SQ(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:Oc(n,i),bE(e,t),t.tag=1,ys(n)?(e=!0,Tk(t)):e=!1,Vg(t,r),YX(t,n,i),sF(t,n,i,r),uF(null,t,n,!0,e,r);case 19:return kQ(e,t,r);case 22:return wQ(e,t,r)}throw Error(ct(156,t.tag))};function HQ(e,t){return hX(e,t)}function B0e(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 11,853 bytes, line 48
48ype=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function jl(e,t,r,n){return new B0e(e,t,r,n)}function s5(e){return e=e.prototype,!(!e||!e.isReactComponent)}function U0e(e){if(typeof e=="function")return s5(e)?1:0;if(e!=null){if(e=e.$$typeof,e===TN)return 11;if(e===_N)return 14}return 2}function Dh(e,t){var r=e.alternate;return r===null?(r=jl(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function xE(e,t,r,n,i,a){var o=2;if(n=e,typeof e=="function")s5(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case hg:return am(r.children,i,a,t);case kN:o=8,i|=8;break;case IR:return e=jl(12,r,t,i|2),e.elementType=IR,e.lanes=a,e;case RR:return e=jl(13,r,t,i),e.elementType=RR,e.lanes=a,e;case FR:return e=jl(19,r,t,i),e.elementType=FR,e.lanes=a,e;case $$:return tP(r,i,a,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Z$:o=10;break e;case Y$:o=9;break e;case TN:o=11;break e;case _N:o=14;break e;case $f:o=16,n=null;break e}throw Error(ct(130,e==null?e:typeof e,""))}return t=jl(o,r,t,i),t.elementType=e,t.type=n,t.lanes=a,t}function am(e,t,r,n){return e=jl(7,e,n,t),e.lanes=r,e}function tP(e,t,r,n){return e=jl(22,e,n,t),e.elementType=$$,e.lanes=r,e.stateNode={isHidden:!1},e}function WO(e,t,r){return e=jl(6,e,null,t),e.lanes=r,e}function VO(e,t,r){return t=jl(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function z0e(e,t,r,n,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=EO(0),this.expirationTimes=EO(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=EO(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function l5(e,t,r,n,i,a,o,s,l){return e=new z0e(e,t,r,s,l),t===1?(t=1,a===!0&&(t|=8)):t=0,a=jl(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},jN(a),e}function H0e(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:fg,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function qQ(e){if(!e)return Hh;e=e._reactInternals;e:{if(i0(e)!==e||e.tag!==1)throw Error(ct(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ys(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(ct(171))}if(e.tag===1){var r=e.type;if(ys(r))return HX(e,r,t)}return t}function WQ(e,t,r,n,i,a,o,s,l){return e=l5(r,n,!0,e,i,a,o,s,l),e.context=qQ(null),r=e.current,n=Ho(),i=Fh(r),a=Zd(n,i),a.callback=t??null,Ih(r,a,i),e.current.lanes=i,Zw(e,i,n),bs(e,n),e}function rP(e,t,r,n){var i=t.current,a=Ho(),o=Fh(i);return r=qQ(r),t.context===null?t.context=r:t.pendingContext=r,t=Zd(a,o),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),e=Ih(i,t,o),e!==null&&(Kc(e,i,o,a),gE(e,i,o)),o}function Uk(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function GB(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function c5(e,t){GB(e,t),(e=e.alternate)&&GB(e,t)}function q0e(){return null}var VQ=typeof reportError=="function"?reportError:function(e){console.error(e)};function u5(e){this._internalRoot=e}nP.prototype.render=u5.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(ct(409));rP(e,t,null,null)};nP.prototype.unmount=u5.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Pm(function(){rP(null,e,null,null)}),t[af]=null}};function nP(e){this._internalRoot=e}nP.prototype.unstable_scheduleHydration=function(e){if(e){var t=SX();e={blockedOn:null,target:e,priority:t};for(var r=0;r<oh.length&&t!==0&&t<oh[r].priority;r++);oh.splice(r,0,e),r===0&&xX(e)}};function d5(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function iP(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function KB(){}function W0e(e,t,r,n,i){if(i){if(typeof n=="function"){var a=n;n=function(){var c=Uk(o);a.call(c)}}var o=WQ(t,n,e,0,null,!1,!1,"",KB);return e._reactRootContainer=o,e[af]=o.current,wS(e.nodeType===8?e.parentNode:e),Pm(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof n=="function"){var s=n;n=function(){var c=Uk(l);s.call(c)}}var l=l5(e,0,!1,null,null,!1,!1,"",KB);return e._reactRootContainer=l,e[af]=l.current,wS(e.nodeType===8?e.parentNode:e),Pm(function(){rP(t,l,r,n)}),l}function aP(e,t,r,n,i){var a=r._reactRootContainer;if(a){var o=a;if(typeof i=="function"){var s=i;i=function(){var l=Uk(o);s.call(l)}}rP(t,o,e,i)}else o=W0e(r,t,e,i,n);return Uk(o)}yX=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=q1(t.pendingLanes);r!==0&&(ON(t,r|1),bs(t,Oi()),!(rn&6)&&(Ev=Oi()+500,ap()))}break;case 13:Pm(function(){var n=of(e,1);if(n!==null){var i=Ho();Kc(n,e,1,i)}}),c5(e,1)}};IN=function(e){if(e.tag===13){var t=of(e,134217728);if(t!==null){var r=Ho();Kc(t,e,134217728,r)}c5(e,134217728)}};bX=function(e){if(e.tag===13){var t=Fh(e),r=of(e,t);if(r!==null){var n=Ho();Kc(r,e,t,n)}c5(e,t)}};SX=function(){return On};wX=function(e,t){var r=On;try{return On=e,t()}finally{On=r}};WR=function(e,t,r){switch(t){case"input":if(MR(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=Y_(n);if(!i)throw Error(ct(90));Q$(n),MR(n,i)}}}break;case"textarea":eX(e,r);break;case"select":t=r.value,t!=null&&zg(e,!!r.multiple,t,!1)}};sX=i5;lX=Pm;var V0e={usingClientEntryPoint:!1,Events:[$w,vg,Y_,aX,oX,i5]},n1={findFiberByHostInstance:Vp,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},j0e={bundleType:n1.bundleType,version:n1.version,rendererPackageName:n1.rendererPackageName,rendererConfig:n1.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:vf.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=dX(e),e===null?null:e.stateNode},findFiberByHostInstance:n1.findFiberByHostInstance||q0e,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var q2=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!q2.isDisabled&&q2.supportsFiber)try{j_=q2.inject(j0e),$u=q2}catch{}}fl.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V0e;fl.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!d5(t))throw Error(ct(200));return H0e(e,t,null,r)};fl.createRoot=function(e,t){if(!d5(e))throw Error(ct(299));var r=!1,n="",i=VQ;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=l5(e,1,!1,null,null,r,!1,n,i),e[af]=t.current,wS(e.nodeType===8?e.parentNode:e),new u5(t)};fl.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(ct(188)):(e=Object.keys(e).join(","),Error(ct(268,e)));return e=dX(t),e=e===null?null:e.stateNode,e};fl.flushSync=function(e){return Pm(e)};fl.hydrate=function(e,t,r){if(!iP(t))throw Error(ct(200));return aP(null,e,t,!0,r)};fl.hydrateRoot=function(e,t,r){if(!d5(e))throw Error(ct(405));var n=r!=null&&r.hydratedSources||null,i=!1,a="",o=VQ;if(r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(a=r.identifierPrefix),r.onRecoverableError!==void 0&&(o=r.onRecoverableError)),t=WQ(t,null,e,1,r??null,i,!1,a,o),e[af]=t.current,wS(e),n)for(e=0;e<n.length;e++)r=n[e],i=r._getVersion,i=i(r._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[r,i]:t.mutableSourceEagerHydrationData.push(r,i);return new nP(t)};fl.render=function(e,t,r){if(!iP(t))throw Error(ct(200));return aP(null,e,t,!1,r)};fl.unmountComponentAtNode=function(e){if(!iP(e))throw Error(ct(40));return e._reactRootContainer?(Pm(function(){aP(null,null,e,!1,function(){e._reactRootContainer=null,e[af]=null})}),!0):!1};fl.unstable_batchedUpdates=i5;fl.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!iP(r))throw Error(ct(200));if(e==null||e._reactInternals===void 0)throw Error(ct(38));return aP(e,t,r,!1,n)};fl.version="18.2.0-next-9e3b772b8-20220608";function jQ(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(jQ)}catch(e){console.error(e)}}jQ(),W$.exports=fl;var Qw=W$.exports;const W2=fc(Qw);var ZB=Qw;AR.createRoot=ZB.createRoot,AR.hydrateRoot=ZB.hydrateRoot;var G0e=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRen
vendor: 4,446 bytes, line 48
48dering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,K0e=P$(function(e){return G0e.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),f5=wN(function(e,t){var r=e.styles,n=q_([r],void 0,k.useContext(fS)),i=k.useRef();return qL(function(){var a=t.key+"-global",o=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+a+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",a),o.hydrate([l])),i.current=[o,s],function(){o.flush()}},[t]),qL(function(){var a=i.current,o=a[0],s=a[1];if(s){a[1]=!1;return}if(n.next!==void 0&&SN(t,n.next,!0),o.tags.length){var l=o.tags[o.tags.length-1].nextElementSibling;o.before=l,o.flush()}t.insert("",n,o,!1)},[t,n.name]),null});function Am(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return q_(t)}var Z0e=function(){var t=Am.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Y0e=K0e,$0e=function(t){return t!=="theme"},YB=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Y0e:$0e},$B=function(t,r,n){var i;if(r){var a=r.shouldForwardProp;i=t.__emotion_forwardProp&&a?function(o){return t.__emotion_forwardProp(o)&&a(o)}:a}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},X0e=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return bN(r,n,i),L$(function(){return SN(r,n,i)}),null},bt=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,a,o;r!==void 0&&(a=r.label,o=r.target);var s=$B(t,r,n),l=s||YB(i),c=!l("as");return function(){var u=arguments,d=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push("label:"+a+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{d.push(u[0][0]);for(var f=u.length,h=1;h<f;h++)d.push(u[h],u[0][h])}var p=wN(function(g,v,m){var b=c&&g.as||i,y="",w=[],x=g;if(g.theme==null){x={};for(var C in g)x[C]=g[C];x.theme=k.useContext(fS)}typeof g.className=="string"?y=D$(v.registered,w,g.className):g.className!=null&&(y=g.className+" ");var T=q_(d.concat(w),v.registered,x);
48y+=v.key+"-"+T.name,o!==void 0&&(y+=" "+o);var _=c&&s===void 0?YB(b):l,P={};for(var F in g)c&&F==="as"||_(F)&&(P[F]=g[F]);return P.className=y,P.ref=m,k.createElement(k.Fragment,null,k.createElement(X0e,{cache:v,serialized:T,isStringTag:typeof b=="string"}),k.createElement(b,P))});return p.displayName=a!==void 0?a:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",p.defaultProps=t.defaultProps,p.__emotion_real=p,p.__emotion_base=i,p.__emotion_styles=d,p.__emotion_forwardProp=s,Object.defineProperty(p,"toString",{value:function(){return"."+o}}),p.withComponent=function(g,v){return e(g,vv({},r,v,{shouldForwardProp:$B(p,v,!0)})).apply(void 0,d)},p}};let mo;(function(e){e[e.Backspace=8]="Backspace",e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Shift=16]="Shift",e[e.Ctrl=17]="Ctrl",e[e.Alt=18]="Alt",e[e.Pause=19]="Pause",e[e.CapsLock=20]="CapsLock",e[e.Escape=27]="Escape",e[e.Space=32]="Space",e[e.PageUp=33]="PageUp",e[e.PageDown=34]="PageDown",e[e.End=35]="End",e[e.Home=36]="Home",e[e.LeftArrow=37]="LeftArrow",e[e.UpArrow=38]="UpArrow",e[e.RightArrow=39]="RightArrow",e[e.DownArrow=40]="DownArrow",e[e.Insert=45]="Insert",e[e.Delete=46]="Delete",e[e.Key0=48]="Key0",e[e.Key1=49]="Key1",e[e.Key2=50]="Key2",e[e.Key3=51]="Key3",e[e.Key4=52]="Key4",e[e.Key5=53]="Key5",e[e.Key6=54]="Key6",e[e.Key7=55]="Key7",e[e.Key8=56]="Key8",e[e.Key9=57]="Key9",e[e.KeyA=65]="KeyA",e[e.KeyB=66]="KeyB",e[e.KeyC=67]="KeyC",e[e.KeyD=68]="KeyD",e[e.KeyE=69]="KeyE",e[e.KeyF=70]="KeyF",e[e.KeyG=71]="KeyG",e[e.KeyH=72]="KeyH",e[e.KeyI=73]="KeyI",e[e.KeyJ=74]="KeyJ",e[e.KeyK=75]="KeyK",e[e.KeyL=76]="KeyL",e[e.KeyM=77]="KeyM",e[e.KeyN=78]="KeyN",e[e.KeyO=79]="KeyO",e[e.KeyP=80]="KeyP",e[e.KeyQ=81]="KeyQ",e[e.KeyR=82]="KeyR",e[e.KeyS=83]="KeyS",e[e.KeyT=84]="KeyT",e[e.KeyU=85]="KeyU",e[e.KeyV=86]="KeyV",e[e.KeyW=87]="KeyW",e[e.KeyX=88]="KeyX",e[e.KeyY=89]="KeyY",e[e.KeyZ=90]="KeyZ",e[e.LeftMeta=91]="LeftMeta",e[e.RightMeta=92]="RightMeta",e[e.Select=93]="Select",e[e.Numpad0=96]="Numpad0",e[e.Numpad1=97]="Numpad1",e[e.Numpad2=98]="Numpad2",e[e.Numpad3=99]="Numpad3",e[e.Numpad4=100]="Numpad4",e[e.Numpad5=101]="Numpad5",e[e.Numpad6=102]="Numpad6",e[e.Numpad7=103]="Numpad7",e[e.Numpad8=104]="Numpad8",e[e.Numpad9=105]="Numpad9",e[e.Multiply=106]="Multiply",e[e.Add=107]="Add",e[e.Subtract=109]="Subtract",e[e.Decimal=110]="Decimal",e[e.Divide=111]="Divide",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F3=114]="F3",e[e.F4=115]="F4",e[e.F5=116]="F5",e[e.F6=117]="F6",e[e.F7=118]="F7",e[e.F8=119]="F8",e[e.F9=120]="F9",e[e.F10=121]="F10",e[e.F11=122]="F11",e[e.F12=123]="F12",e[e.NumLock=144]="NumLock",e[e.ScrollLock=145]="ScrollLock",e[e.Semicolon=186]="Semicolon",e[e.Equals=187]="Equals",e[e.Comma=188]="Comma",e[e.Dash=189]="Dash",e[e.Period=190]="Period",e[e.ForwardSlash=191]="ForwardSlash",e[e.GraveAccent=192]="GraveAccent",e[e.OpenBracket=219]="OpenBracket",e[e.BackSlash=220]="BackSlash",e[e.CloseBracket=221]="CloseBracket",e[e.SingleQuote=222]="SingleQuote"})(mo||(mo={}));const oP={props:{"data-polaris-scrollable":!0},selector:"[data-polaris-scrollable]"},Q0e={props:{"data-polaris-overlay":!0}},zk={props:{"data-polaris-layer":!0},selector:"[data-polaris-layer]"},XB={props:{"data-polaris-unstyled":!0}},h5={props:{"data-polaris-top-bar":!0},selector:"[data-polaris-top-bar]"},Ewt={props:{"data-polaris-header-cell":!0},selector:"[data-polaris-header-cell]"},GQ={selector:"[data-portal-id]"};function J0e(e,t,r){return e<t?t:e>r?r:e}const Jw=k.createContext(!1),p5=typeof window>"u"||typeof document>"u",xF=p5?k.useEffect:k.useLayoutEffect;function ege(e,t,r,n){const i=k.useRef(t),a=k.useRef(n);xF(()=>{i.current=t},[t]),xF(()=>{a.current=n},[n]),k.useEffect(()=>{let o;o=window;const s=a.current,l=c=>i.current(c);return o.addEventListener(e,l,s),()=>{o.removeEventListener(e,l,s)}},[e,r])}function QB(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function JB(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
48t%2?QB(Object(r),!0).forEach(function(n){tge(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):QB(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function tge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rge(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function KQ(e,t){return nge(e)||ige(e,t)||age(e,t)||oge()}function nge(e){if(Array.isArray(e))return e}function ige(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,a=!1,o,s;try{for(r=r.call(e);!(i=(o=r.next()).done)&&(n.push(o.value),!(t&&n.length===t));i=!0);}catch(l){a=!0,s=l}finally{try{!i&&r.return!=null&&r.return()}finally{if(a)throw s}}return n}}function age(e,t){if(e){if(typeof e=="string")return e9(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e9(e,t)}}function e9(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function oge(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
49In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var t9,Hk=16,kv="px",Gg="em",Kg="rem",ZQ=new RegExp(String.raw(t9||(t9=rge(["-?d+(?:.d+|d*)"],["-?\\d+(?:\\.\\d+|\\d*)"])))),sge=new RegExp("".concat(kv,"|").concat(Gg,"|").concat(Kg));function m5(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=e.match(new RegExp("".concat(ZQ.source,"(").concat(sge.source,")")));return t&&t[1]}function YQ(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=m5(e);if(!t||t===kv)return e;if(t===Gg||t===Kg)return"".concat(parseFloat(e)*Hk).concat(kv)}function $Q(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Hk,r=m5(e);if(!r||r===Gg)return e;if(r===kv)return"".concat(parseFloat(e)/t).concat(Gg);if(r===Kg)return"".concat(parseFloat(e)*Hk/t).concat(Gg)}function lge(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=m5(e);if(!t||t===Kg)return e;if(t===Gg)return"".concat(parseFloat(e)).concat(Kg);if(t===kv)return"".concat(parseFloat(e)/Hk).concat(Kg)}function cge(e){return e.replace(new RegExp("".concat(ZQ.source,"(").concat(kv,")"),"g"),function(t){var r;return(r=lge(t))!==null&&r!==void 0?r:t})}function i1(e){return Object.fromEntries(Object.entries(e).map(function(t){var r=KQ(t,2),n=r[0],i=r[1];return[n,JB(JB({},i),{},{value:cge(i.value)})]}))}function uge(e){var t=Object.entries(e),r=t.length-1;return Object.fromEntries(t.map(function(n,i){var a=n,o=KQ(a,2),s=o[0],l=o[1],c=dge(l),u=r9(l),d=i===r?c:"".concat(c," and ").concat(r9(t[i+1][1]));return[s,{up:c,down:u,only:d}]}))}function dge(e){return"(min-width: ".concat($Q(e),")")}function r9(e){var t,r=parseFloat((t=YQ(e))!==null&&t!==void 0?t:"")-.04;return"(max-width: ".concat($Q("".concat(r,"px")),")")}var fge={"breakpoints-xs":{value:"0px",description:"Commonly used for sizing containers (e.g. max-width). See below for media query usage."},"breakpoints-sm":{value:"490px",description:"Commonly used for sizing containers (e.g. max-width). See below for media query usage."},"breakpoints-md":{value:"768px",description:"Commonly used for sizing containers (e.g. max-width). See below for media query usage."},"breakpoints-lg":{value:"1040px",description:"Commonly used for sizing containers (e.g. max-width). See below for media query usage."},"breakpoints-xl":{value:"1440px",description:"Commonly used for sizing containers (e.g. max-width). See below for media query usage."}},hge={"shadow-transparent":{value:"0 0 0 0 transparent"},"shadow-faint":{value:"0 1px 0 0 rgba(22, 29, 37, 0.05)"},"shadow-base":{value:"0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 rgba(63, 63, 68, 0.15)"}
49,"shadow-deep":{value:"0 0 0 1px rgba(6, 44, 82, 0.1), 0 2px 16px rgba(33, 43, 54, 0.08)"},"shadow-button":{value:"0 1px 0 rgba(0, 0, 0, 0.05)"},"shadow-top-bar":{value:"0 2px 2px -1px rgba(0, 0, 0, 0.15)"},"shadow-card":{value:"0 0 5px rgba(23, 24, 24, 0.05), 0 1px 2px rgba(0, 0, 0, 0.15)"},"shadow-popover":{value:"0 3px 6px -3px rgba(23, 24, 24, 0.08), 0 8px 20px -4px rgba(23, 24, 24, 0.12)"},"shadow-layer":{value:"0 31px 41px 0 rgba(32, 42, 53, 0.2), 0 2px 16px 0 rgba(32, 42, 54, 0.08)"},"shadow-modal":{value:"0 26px 80px rgba(0, 0, 0, 0.2), 0 0px 1px rgba(0, 0, 0, 0.2)"},"shadows-inset-button":{value:"inset 0 -1px 0 rgba(0, 0, 0, 0.2)"},"shadows-inset-button-pressed":{value:"inset 0 1px 0 rgba(0, 0, 0, 0.15)"}},pge={"font-family-sans":{value:"-apple-system, BlinkMacSystemFont, 'San Francisco', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif"},"font-family-mono":{value:"ui-monospace, SFMono-Regular, 'SF Mono', Consolas, 'Liberation Mono', Menlo, monospace"},"font-size-75":{value:"12px"},"font-size-100":{value:"14px"},"font-size-200":{value:"16px"},"font-size-300":{value:"20px"},"font-size-400":{value:"24px"},"font-size-500":{value:"28px"},"font-size-600":{value:"32px"},"font-size-700":{value:"40px"},"font-weight-regular":{value:"400"},"font-weight-medium":{value:"500"},"font-weight-semibold":{value:"600"},"font-weight-bold":{value:"700"},"font-line-height-1":{value:"16px"},"font-line-height-2":{value:"20px"},"font-line-height-3":{value:"24px"},"font-line-height-4":{value:"28px"},"font-line-height-5":{value:"32px"},"font-line-height-6":{value:"40px"},"font-line-height-7":{value:"48px"}},mge={"override-loading-z-index":{value:"514"},"choice-size":{value:"20px"},"icon-size-small":{value:"8px"},"icon-size-medium":{value:"20px"},"choice-margin":{value:"1px"},"control-border-width":{value:"2px"},"banner-border-default":{value:"inset 0 1px 0 0 var(--p-border-neutral-subdued), inset 0 0 0 1px var(--p-border-neutral-subdued)"},"banner-border-success":{value:"inset 0 1px 0 0 var(--p-border-success-subdued), inset 0 0 0 1px var(--p-border-success-subdued)"},"banner-border-highlight":{value:"inset 0 1px 0 0 var(--p-border-highlight-subdued), inset 0 0 0 1px var(--p-border-highlight-subdued)"},"banner-border-warning":{value:"inset 0 1px 0 0 var(--p-border-warning-subdued), inset 0 0 0 1px var(--p-border-warning-subdued)"},"banner-border-critical":{value:"inset 0 1px 0 0 var(--p-border-critical-subdued), inset 0 0 0 1px var(--p-border-critical-subdued)"},"thin-border-subdued":{value:"1px solid var(--p-border-subdued)"},"text-field-spinner-offset":{value:"2px"},"text-field-focus-ring-offset":{value:"-4px"},"button-group-item-spacing":{value:"-1px"},"range-slider-thumb-size-base":{value:"16px"},"range-slider-thumb-size-active":{value:"24px"},"frame-offset":{value:"0px"}},gge={background:{value:"rgba(246, 246, 247, 1)",description:"For use as a background color, in components such as Page and Frame backgrounds."},"background-hovered":{value:"rgba(241, 242, 243, 1)",description:"For use when an action or navigation is used on a background."},"background-pressed":{value:"rgba(237, 238, 239, 1)",description:"For use when an action or navigation is used on a background."},"background-selected":{value:"rgba(237, 238, 239, 1)",description:"For use in the selected item in navigation"},surface:{value:"rgba(255, 255, 255, 1)",description:"For use as a background color, in components such as Card, Modal, and Popover."},"surface-dark":{value:"rgba(32, 33, 35, 1)",description:"For use as a dark background color, in components such as Card, Modal, and Popover."},"surface-neutral":{value:"rgba(228, 229, 231, 1)",description:"For use as a background color in neutral badges."},"surface-neutral-hovered":{value:"rgba(219, 221, 223, 1)",description:"For use as a hovered background color in neutral badges."},"surface-neutral-pressed":{value:"rgba(201, 204, 208, 1)",description:"For use as a pressed background color in neutral badges."},"surface-neutral-disabled":{value:"rgba(241, 242, 243, 1)",description:"For use as a disabled background color in neutral badges."},"surface-neutral-subdued":{value:"rgba(246, 246, 247, 1)",description:"For use as a background color in neutral banners."},"surface-neutral-subdued-dark":{value:"rgba(68, 71, 74, 1)",description:"For use as a dark background color in neutral banners."},"surface-subdued":{value:"rgba(250, 251, 251, 1)",description:"For use as a subdued background color, in components such as Card, Modal, and Popover."},"surface-disabled":{value:"rgba(250, 251, 251, 1)",description:"For use as a surface color on disabled interactive elements such as option list items and action list items when in a disabled state."},"surface-hovered":{value:"rgba(246, 246, 247, 1)",description:"For use as a surface color on interactive elements such as resource list items and action list items when in a hovered state."},"surface-hovered-dark":{value:"rgba(47, 49, 51, 1)",description:"For use as a dark surface color on interactive elements such as resource list items and action list items when in a hovered state."},"surface-pressed":{value:"rgba(241, 242, 243, 1)",description:"For use as a surface color on interactive elements such as resource list items and action list items when in a pressed state."},"surface-pressed-dark":{value:"rgba(62, 64, 67, 1)",description:"For use as a dark surface color on interactive elements such as resource list items and action list items when in a pressed state."},"surface-depressed":{value:"rgba(237, 238, 239, 1)",description:"For use as a surface color on interactive elements such as resource list items and action list items when in a depressed state."},"surface-search-field":{value:"rgba(241, 242, 243, 1)",description:"For use as a background color, in components on surface elements such as SearchField"},"surface-search-field-dark":{value:"rgba(47, 49, 51, 1)",description:"For use as a dark background color, in components on surface elements such as SearchField"},backdrop:{value:"rgba(0, 0, 0, 0.5)",description:"For use as the background color of the backdrop component for navigation and modal. This color has an alpha of `0.5`."},overlay:{value:"rgba(255, 255, 255, 0.5)",description:"For use as the background color of elements which lay on top of surfaces to obscure their contents. This color has an alpha of `0.5`."},"shadow-color-picker":{value:"rgba(0, 0, 0, 0.5)"},"shadow-color-picker-dragger":{value:"rgba(33, 43, 54, 0.32)"},"hint-from-direct-light":{value:"rgba(0, 0, 0, 0.15)",description:"For use in building shadows scrollables."},border:{value:"rgba(140, 145, 150, 1)",description:"For use as the default border on elements."},"border-on-dark":{value:"rgba(80, 83, 86, 1)",description:"For use as the default border on dark elements."},"border-neutral-subdued":{value:"rgba(186, 191, 195, 1)",description:"For use as the border on banners."},"border-hovered":{value:"rgba(153, 158, 164, 1)",description:"Used for borders on hovered interactive elements"},"border-disabled":{value:"rgba(210, 213, 216, 1)",description:"Used for disabled borders on interactive elements"},"border-subdued":{value:"rgba(201, 204, 207, 1)",description:"For use as a subdued border on elements."},"border-depressed":{value:"rgba(87, 89, 89, 1)",description:"For use as a border on depressed elements."},"border-shadow":{value:"rgba(174, 180, 185, 1)",description:"For use as an additional bottom border on elements."},"border-shadow-subdued":{value:"rgba(186, 191, 196, 1)",description:"For use as an additional, subdued bottom border on elements."},divider:{value:"rgba(225, 227, 229, 1)",description:"For use as a divider between elements."},"divider-dark":{value:"rgba(69, 71, 73, 1)",description:"For use as a dark divider between elements."},icon:{value:"rgba(92, 95, 98, 1)",description:"For use as the fill color of icons."},"icon-on-dark":{value:"rgba(166, 172, 178, 1)",description:"For use as the fill color of dark icons."},"icon-hovered":{value:"rgba(26, 28, 29, 1)",description:"For use as the fill color of hovered icons."},"icon-pressed":{value:"rgba(68, 71, 74, 1)",description:"For use as the fill color of pressed icons."},"icon-disabled":{value:"rgba(186, 190, 195, 1)",description:"For use as the fill color of disabled icons."},"icon-subdued":{value:"rgba(140, 145, 150, 1)",description:"For use as the fill color of subdued icons."},text:{value:"rgba(32, 34, 35, 1)",description:"For use as a text color."},"text-on-dark":{value:"rgba(227, 229, 231, 1)",description:"For use as a text color on dark elements."},"text-disabled":{value:"rgba(140, 145, 150, 1)",description:"For use as a disabled text color and as a placeholder text color."},"text-subdued":{value:"rgba(109, 113, 117, 1)",description:"For use as a subdued text color."},"text-subdued-on-dark":{value:"rgba(153, 159, 164, 1)",description:"For use as a subdued text color on dark elements."},interactive:{value:"rgba(44, 110, 203, 1)",description:"Used for links, plain buttons, and as the fill color for selected checkboxes and radio buttons."},"interactive-on-dark":{value:"rgba(54, 163, 255, 1)",description:"Used for links, plain buttons, and as the fill color for selected checkboxes and radio buttons when on a dark element."},"interactive-disabled":{value:"rgba(189, 193, 204, 1)",description:"Used for disabled links and plain buttons."},"interactive-hovered":{value:"rgba(31, 81, 153, 1)",description:"Used for hovered links and plain buttons."},"interactive-pressed":{value:"rgba(16, 50, 98, 1)",description:"Used for pressed links and plain buttons."},"interactive-pressed-on-dark":{value:"rgba(136, 188, 255, 1)",description:"Used for pressed links and plain buttons on dark elements."},focused:{value:"rgba(69, 143, 255, 1)",description:"For use in the focus ring on interactive elements."},"surface-selected":{value:"rgba(242, 247, 254, 1)",description:"For use as a surface color in selected interactive elements, in components such as action list and resource list."},"surface-selected-hovered":{value:"rgba(237, 244, 254, 1)",description:"For use as a surface color in selected interactive elements that are hovered, in components such as action list and resource list."},"surface-selected-pressed":{value:"rgba(229, 239, 253, 1)",description:"For use as a surface color in selected interactive elements that are pressed, in components such as action list and resource list."},"icon-on-interactive":{value:"rgba(255, 255, 255, 1)",description:"For use as a fill color for icons on interactive elements."},"text-on-interactive":{value:"rgba(255, 255, 255, 1)",description:"For use as a text color on interactive elements."},"action-secondary":{value:"rgba(255, 255, 255, 1)",description:"Used for secondary buttons and tertiary buttons, as well as in form elements as a background color and pontentially other secondary surfaces."},"action-secondary-disabled":{value:"rgba(255, 255, 255, 1)",description:"Used as a disabled state for secondary buttons"},"action-secondary-hovered":{value:"rgba(246, 246, 247, 1)",description:"Used as a hovered state for secondary buttons"},"action-secondary-hovered-dark":{value:"rgba(84, 87, 91, 1)",description:"Used as a dark hovered state for secondary buttons"},"action-secondary-pressed":{value:"rgba(241, 242, 243, 1)",description:"Used as a pressed state for secondary buttons"}
49,"action-secondary-pressed-dark":{value:"rgba(96, 100, 103, 1)",description:"Used as a dark pressed state for secondary buttons"},"action-secondary-depressed":{value:"rgba(109, 113, 117, 1)",description:"Used as a depressed state for secondary buttons"},"action-primary":{value:"rgba(0, 128, 96, 1)",description:"Used as the background color for primary actions, and as the fill color for icons and the text color in navigation and tabs to communicate interaction states."},"action-primary-disabled":{value:"rgba(241, 241, 241, 1)",description:"Used as the background color for disabled primary actions, and as the fill color for icons and the text color in navigation and tabs to communicate interaction states."},"action-primary-hovered":{value:"rgba(0, 110, 82, 1)",description:"Used as the background color for hovered primary actions, and as the fill color for icons and the text color in navigation and tabs to communicate interaction states."},"action-primary-pressed":{value:"rgba(0, 94, 70, 1)",description:"Used as the background color for pressed primary actions, and as the fill color for icons and the text color in navigation and tabs to communicate interaction states."},"action-primary-depressed":{value:"rgba(0, 61, 44, 1)",description:"Used as the background color for pressed primary actions, and as the fill color for icons and the text color in navigation and tabs to communicate interaction states."},"icon-on-primary":{value:"rgba(255, 255, 255, 1)",description:"For use as a fill color for icons on primary actions. Not for use in icons on navigation and tabs."},"text-on-primary":{value:"rgba(255, 255, 255, 1)",description:"For use as a text color on primary actions. Not for use in text on navigation and tabs."},"text-primary":{value:"rgba(0, 123, 92, 1)",description:"For use as primary text color on background. For use in text in components such as Navigation."},"text-primary-hovered":{value:"rgba(0, 108, 80, 1)",description:"For use as primary hovered text color on background. For use in text in components such as Navigation."},"text-primary-pressed":{value:"rgba(0, 92, 68, 1)",description:"For use as primary pressed text color on background. For use in text in components such as Navigation."},"surface-primary-selected":{value:"rgba(241, 248, 245, 1)",description:"Used as a surface color to indicate selected interactive states in navigation and tabs."},"surface-primary-selected-hovered":{value:"rgba(179, 208, 195, 1)",description:"Used as a surface color to indicate selected interactive states that are hovered in navigation and tabs."},"surface-primary-selected-pressed":{value:"rgba(162, 188, 176, 1)",description:"Used as a surface color to indicate selected interactive states that are pressed in navigation and tabs."},"border-critical":{value:"rgba(253, 87, 73, 1)",description:"For use as a border on critical components such as an outline on interactive elements in an error state."},"border-critical-subdued":{value:"rgba(224, 179, 178, 1)",description:"For use as a border on critical components such as banners."},"border-critical-disabled":{value:"rgba(255, 167, 163, 1)",description:"For use as a disabled border on critical components such as banners, and as an outline on interactive elements in an error state."},"icon-critical":{value:"rgba(215, 44, 13, 1)",description:"For use as an icon fill color on top of critical elements."},"surface-critical":{value:"rgba(254, 211, 209, 1)",description:"For use as a surface color on critical elements including badges."},"surface-critical-subdued":{value:"rgba(255, 244, 244, 1)",description:"For use as a subdued surface color on critical elements including banners."},"surface-critical-subdued-hovered":{value:"rgba(255, 240, 240, 1)",description:"For use as a surface color on critical interactive elements including action list items in a hovered state."},"surface-critical-subdued-pressed":{value:"rgba(255, 233, 232, 1)",description:"For use as a surface color on critical interactive elements including action list items in a pressed state."},"surface-critical-subdued-depressed":{value:"rgba(254, 188, 185, 1)",description:"For use as a surface color on critical interactive elements including action list items in a depressed state."},"text-critical":{value:"rgba(215, 44, 13, 1)",description:"For use as a text color in inert critical elements such as exception list. Not for use as a text color on banners and badges."},"action-critical":{value:"rgba(216, 44, 13, 1)",description:"For use as the background color for destructive buttons, and as the background color for error toast messages."},"action-critical-disabled":{value:"rgba(241, 241, 241, 1)",description:"For use as the background color for disabled destructive buttons, and as the background color for error toast messages."},"action-critical-hovered":{value:"rgba(188, 34, 0, 1)",description:"For use as the background color for hovered destructive buttons, and as the background color for error toast messages."},"action-critical-pressed":{value:"rgba(162, 27, 0, 1)",description:"For use as the background color for pressed destructive buttons, and as the background color for error toast messages."},"action-critical-depressed":{value:"rgba(108, 15, 0, 1)",description:"For use as the background color for depressed destructive buttons, and as the background color for error toast messages."},"icon-on-critical":{value:"rgba(255, 255, 255, 1)",description:"For use as a fill color for icons on critical actions."},"text-on-critical":{value:"rgba(255, 255, 255, 1)",description:"For use as a text color on critical actions."},"interactive-critical":{value:"rgba(216, 44, 13, 1)",description:"For use as the text color for destructive interactive elements: links, plain buttons, error state of selected checkboxes and radio buttons, as well as a text color on destructive action list items. Not for use on critical banners and badges."},"interactive-critical-disabled":{value:"rgba(253, 147, 141, 1)",description:"For use as a text color in disabled destructive plain buttons, as well as a text color on destructive action list items. Not for use on critical banners and badges."},"interactive-critical-hovered":{value:"rgba(205, 41, 12, 1)",description:"For use as a text color in hovered destructive plain buttons, as well as a text color on destructive action list items. Not for use on critical banners and badges."},"interactive-critical-pressed":{value:"rgba(103, 15, 3, 1)",description:"For use as a text color in pressed destructive plain buttons, as well as a text color on destructive action list items. Not for use on critical banners and badges."},"border-warning":{value:"rgba(185, 137, 0, 1)",description:"For use as a border on warning components such as..."},"border-warning-subdued":{value:"rgba(225, 184, 120, 1)",description:"For use as a border on warning components such as banners."},"icon-warning":{value:"rgba(185, 137, 0, 1)",description:"For use as an icon fill color on top of warning elements."}
49,"surface-warning":{value:"rgba(255, 215, 157, 1)",description:"For use as a surface color on warning elements including badges."},"surface-warning-subdued":{value:"rgba(255, 245, 234, 1)",description:"For use as a subdued surface color on warning elements including banners."},"surface-warning-subdued-hovered":{value:"rgba(255, 242, 226, 1)",description:"For use as a subdued surface color on warning elements including banners."},"surface-warning-subdued-pressed":{value:"rgba(255, 235, 211, 1)",description:"For use as a subdued surface color on warning elements including banners."},"text-warning":{value:"rgba(145, 106, 0, 1)",description:"For use as a text color in inert critical elements such as exception list. Not for use as a text color on banners and badges."},"border-highlight":{value:"rgba(68, 157, 167, 1)",description:"For use as a border on informational components such as..."},"border-highlight-subdued":{value:"rgba(152, 198, 205, 1)",description:"For use as a border on informational components such as banners."},"icon-highlight":{value:"rgba(0, 160, 172, 1)",description:"For use as an icon fill color on top of informational elements."},"surface-highlight":{value:"rgba(164, 232, 242, 1)",description:"For use as a surface color on information elements including badges."},"surface-highlight-subdued":{value:"rgba(235, 249, 252, 1)",description:"For use as a surface color on information elements including banners."},"surface-highlight-subdued-hovered":{value:"rgba(228, 247, 250, 1)",description:"For use as a surface color on information elements including banners."},"surface-highlight-subdued-pressed":{value:"rgba(213, 243, 248, 1)",description:"For use as a surface color on information elements including banners."},"text-highlight":{value:"rgba(52, 124, 132, 1)",description:"For use as a text color in inert informational elements. Not for use as a text color on banners and badges."},"border-success":{value:"rgba(0, 164, 124, 1)",description:"For use as a border on success components such as text inputs."},"border-success-subdued":{value:"rgba(149, 201, 180, 1)",description:"For use as a border on success components such as banners."},"icon-success":{value:"rgba(0, 127, 95, 1)",description:"For use as an icon fill color on top of success elements."},"surface-success":{value:"rgba(174, 233, 209, 1)",description:"For use as a surface color on success elements including badges."},"surface-success-subdued":{value:"rgba(241, 248, 245, 1)",description:"For use as a surface color on information elements including banners."},"surface-success-subdued-hovered":{value:"rgba(236, 246, 241, 1)",description:"For use as a surface color on information elements including banners."},"surface-success-subdued-pressed":{value:"rgba(226, 241, 234, 1)",description:"For use as a surface color on information elements including banners."},"text-success":{value:"rgba(0, 128, 96, 1)",description:"For use as a text color in inert success elements. Not for use as a text color on banners and badges."},"icon-attention":{value:"rgba(138, 97, 22, 1)"},"surface-attention":{value:"rgba(255, 234, 138, 1)"},"decorative-one-icon":{value:"rgba(126, 87, 0, 1)",description:"For use as a decorative icon color that is applied on a decorative surface."},"decorative-one-surface":{value:"rgba(255, 201, 107, 1)",description:"For use as a decorative surface color."},"decorative-one-text":{value:"rgba(61, 40, 0, 1)",description:"For use as a decorative text color that is applied on a decorative surface."},"decorative-two-icon":{value:"rgba(175, 41, 78, 1)",description:"For use as a decorative icon color that is applied on a decorative surface."},"decorative-two-surface":{value:"rgba(255, 196, 176, 1)",description:"For use as a decorative surface color."},"decorative-two-text":{value:"rgba(73, 11, 28, 1)",description:"For use as a decorative text color that is applied on a decorative surface."},"decorative-three-icon":{value:"rgba(0, 109, 65, 1)",description:"For use as a decorative icon color that is applied on a decorative surface."},"decorative-three-surface":{value:"rgba(146, 230, 181, 1)",description:"For use as a decorative surface color."},"decorative-three-text":{value:"rgba(0, 47, 25, 1)",description:"For use as a decorative text color that is applied on a decorative surface."},"decorative-four-icon":{value:"rgba(0, 106, 104, 1)",description:"For use as a decorative icon color that is applied on a decorative surface."},"decorative-four-surface":{value:"rgba(145, 224, 214, 1)",description:"For use as a decorative surface color."},"decorative-four-text":{value:"rgba(0, 45, 45, 1)",description:"For use as a decorative text color that is applied on a decorative surface."},"decorative-five-icon":{value:"rgba(174, 43, 76, 1)",description:"For use as a decorative icon color that is applied on a decorative surface."},"decorative-five-surface":{value:"rgba(253, 201, 208, 1)",description:"For use as a decorative surface color."},"decorative-five-text":{value:"rgba(79, 14, 31, 1)",description:"For use as a decorative text color that is applied on a decorative surface."}}
49,vge={"duration-0":{value:"0ms"},"duration-50":{value:"50ms"},"duration-100":{value:"100ms"},"duration-150":{value:"150ms"},"duration-200":{value:"200ms"},"duration-250":{value:"250ms"},"duration-300":{value:"300ms"},"duration-350":{value:"350ms"},"duration-400":{value:"400ms"},"duration-450":{value:"450ms"},"duration-500":{value:"500ms"},"duration-5000":{value:"5000ms"},ease:{value:"cubic-bezier(0.25, 0.1, 0.25, 1)"},"ease-in":{value:"cubic-bezier(0.42, 0, 1, 1)"},"ease-out":{value:"cubic-bezier(0, 0, 0.58, 1)"},"ease-in-out":{value:"cubic-bezier(0.42, 0, 0.58, 1)"},linear:{value:"cubic-bezier(0, 0, 1, 1)"},"keyframes-bounce":{value:"{ from, 65%, 85% { transform: scale(1) } 75% { transform: scale(0.85) } 82.5% { transform: scale(1.05) } }"},"keyframes-fade-in":{value:"{ to { opacity: 1 } }"},"keyframes-pulse":{value:"{ from, 75% { transform: scale(0.85); opacity: 1; } to { transform: scale(2.5); opacity: 0; } }"},"keyframes-spin":{value:"{ to { transform: rotate(1turn) } }"}},yge={"border-radius-05":{value:"2px"},"border-radius-1":{value:"4px"},"border-radius-2":{value:"8px"},"border-radius-3":{value:"12px"},"border-radius-4":{value:"16px"},"border-radius-5":{value:"20px"},"border-radius-6":{value:"30px"},"border-radius-base":{value:"3px"},"border-radius-large":{value:"6px"},"border-radius-half":{value:"50%"},"border-width-1":{value:"1px"},"border-width-2":{value:"2px"},"border-width-3":{value:"3px"},"border-width-4":{value:"4px"},"border-width-5":{value:"5px"},"border-base":{value:"var(--p-border-width-1) solid var(--p-border-subdued)"},"border-dark":{value:"var(--p-border-width-1) solid var(--p-border)"},"border-transparent":{value:"var(--p-border-width-1) solid transparent"},"border-divider":{value:"var(--p-border-width-1) solid var(--p-divider)"},"border-divider-on-dark":{value:"var(--p-border-width-1) solid var(--p-divider-dark)"}},bge={"space-0":{value:"0"},"space-025":{value:"1px"},"space-05":{value:"2px"},"space-1":{value:"4px"},"space-2":{value:"8px"},"space-3":{value:"12px"},"space-4":{value:"16px"},"space-5":{value:"20px"},"space-6":{value:"24px"},"space-8":{value:"32px"},"space-10":{value:"40px"},"space-12":{value:"48px"},"space-16":{value:"64px"},"space-20":{value:"80px"},"space-24":{value:"96px"},"space-28":{value:"112px"},"space-32":{value:"128px"}},Sge={"z-1":{value:"100"},"z-2":{value:"400"},"z-3":{value:"510"},"z-4":{value:"512"},"z-5":{value:"513"},"z-6":{value:"514"},"z-7":{value:"515"},"z-8":{value:"516"},"z-9":{value:"517"},"z-10":{value:"518"},"z-11":{value:"519"},"z-12":{value:"520"}};i1(fge),i1(pge),i1(mge),i1(yge),i1(bge);var wge={"breakpoints-xs":"0rem","breakpoints-sm":"30.625rem","breakpoints-md":"48rem","breakpoints-lg":"65rem","breakpoints-xl":"90rem"},kwt={"icon-highlight":"rgba(0, 160, 172, 1)"},Tv={"duration-0":"0ms","duration-100":"100ms","duration-200":"200ms","duration-300":"300ms","duration-500":"500ms"},xge={"space-5":"1.25rem"},Mo={breakpoints:{"breakpoints-sm":"30.625rem","breakpoints-md":"48rem","breakpoints-lg":"65rem"},colors:{"surface-neutral":"rgba(228, 229, 231, 1)","surface-hovered":"rgba(246, 246, 247, 1)","border-subdued":"rgba(201, 204, 207, 1)",divider:"rgba(225, 227, 229, 1)","icon-disabled":"rgba(186, 190, 195, 1)",text:"rgba(32, 34, 35, 1)","border-critical":"rgba(253, 87, 73, 1)","icon-critical":"rgba(215, 44, 13, 1)","surface-critical-subdued":"rgba(255, 244, 244, 1)","text-critical":"rgba(215, 44, 13, 1)","icon-warning":"rgba(185, 137, 0, 1)","icon-success":"rgba(0, 127, 95, 1)"},font:{"font-size-100":"0.875rem","font-line-height-2":"1.25rem","font-line-height-3":"1.5rem"},shape:{"border-radius-1":"0.25rem","border-width-1":"0.0625rem"},spacing:{"space-05":"0.125rem","space-1":"0.25rem","space-2":"0.5rem","space-3":"0.75rem","space-4":"1rem","space-5":"1.25rem","space-6":"1.5rem"}};const XQ={navigationBarCollapsed:"767.95px",stackedContent:"1039.95px"},QQ={media:"",addListener:a1,removeListener:a1,matches:!1,onchange:a1,addEventListener:a1,removeEventListener:a1,dispatchEvent:e=>!0};function a1(){}function jO(){return typeof window>"u"?QQ:window.matchMedia(`(max-width: ${XQ.navigationBarCollapsed})`)}function Cge(){return typeof window>"u"?QQ:window.matchMedia(`(max-width: ${XQ.stackedContent})`)}Ege(wge);function Ege(e){return Object.entries(uge(e)).map(([r,n])=>Object.entries(n).map(([i,a])=>[`${r.split("-")[1]}${kge(i)}`,a])).flat()}function kge(e){return e.charAt(0).toUpperCase()+e.slice(1)}function rl(e,t,r){let n,i,a,o,s,l,c=0,u=!1,d=!1,f=!0;const h=!t&&t!==0;if(typeof e!="function")throw new TypeError("Expected a function");const p=t||0;typeof r=="object"&&(u=!!r.leading,d="maxWait"in r,a=d?Math.max(Number(r.maxWait)||0,p):void 0,f="trailing"in r?!!r.trailing:f);function g(I){const R=n,D=i;return n=void 0,i=void 0,c=I,o=e.apply(D,R),o}function v(I,R){return h?(cancelAnimationFrame(s),requestAnimationFrame(I)):setTimeout(I,R)}function m(I){if(h)return cancelAnimationFrame(I);clearTimeout(I)}function b(I){return c=I,s=v(x,p),u?g(I):o}function y(I){const R=I-l,D=I-c,A=p-R;return d&&a?Math.min(A,a-D):A}function w(I){const R=I-l,D=I-c;return l===void 0||R>=p||R<0||d&&a&&D>=a}function x(){const I=Date.now();if(w(I))return C(I);s=v(x,y(I))}
49function C(I){return s=void 0,f&&n?g(I):(n=i=void 0,o)}function T(){s!==void 0&&m(s),c=0,n=l=i=s=void 0}function _(){return s===void 0?o:C(Date.now())}function P(){return s!==void 0}function F(...I){const R=Date.now(),D=w(R);if(n=I,i=this,l=R,D){if(s===void 0)return b(l);if(d)return s=v(x,p),g(l)}return s===void 0&&(s=v(x,p)),o}return F.cancel=T,F.flush=_,F.pending=P,F}class Om{static get zero(){return new Om}constructor({top:t=0,left:r=0,width:n=0,height:i=0}={}){this.top=void 0,this.left=void 0,this.width=void 0,this.height=void 0,this.top=t,this.left=r,this.width=n,this.height=i}get center(){return{x:this.left+this.width/2,y:this.top+this.height/2}}}function Hu(e){if(!(e instanceof Element))return new Om({width:window.innerWidth,height:window.innerHeight});const t=e.getBoundingClientRect();return new Om({top:t.top,left:t.left,width:t.width,height:t.height})}const V2=1e3/60;class JQ{constructor(t){this.stickyItems=[],this.stuckItems=[],this.container=null,this.topBarOffset=0,this.handleResize=rl(()=>{this.manageStickyItems()},V2,{leading:!0,trailing:!0,maxWait:V2}),this.handleScroll=rl(()=>{this.manageStickyItems()},V2,{leading:!0,trailing:!0,maxWait:V2}),t&&this.setContainer(t)}registerStickyItem(t){this.stickyItems.push(t)}unregisterStickyItem(t){const r=this.stickyItems.findIndex(({stickyNode:n})=>t===n);this.stickyItems.splice(r,1)}setContainer(t){this.container=t,eJ(t)&&this.setTopBarOffset(t),this.container.addEventListener("scroll",this.handleScroll),window.addEventListener("resize",this.handleResize),this.manageStickyItems()}removeScrollListener(){this.container&&(this.container.removeEventListener("scroll",this.handleScroll),window.removeEventListener("resize",this.handleResize))}manageStickyItems(){if(this.stickyItems.length<=0)return;const t=this.container?Tge(this.container):0,r=Hu(this.container).top+this.topBarOffset;this.stickyItems.forEach(n=>{const{handlePositioning:i}=n,{sticky:a,top:o,left:s,width:l}=this.evaluateStickyItem(n,t,r);this.updateStuckItems(n,a),i(a,o,s,l)})}evaluateStickyItem(t,r,n){const{stickyNode:i,placeHolderNode:a,boundingElement:o,offset:s,disableWhenStacked:l}=t;if(l&&Cge().matches)return{sticky:!1,top:0,left:0,width:"auto"};const c=s?this.getOffset(i)+parseInt(xge["space-5"],10):this.getOffset(i),u=r+c,d=a.getBoundingClientRect().top-n+r,f=n+c,h=a.getBoundingClientRect().width,p=a.getBoundingClientRect().left;let g;if(o==null)g=u>=d;else{var v;const m=i.getBoundingClientRect().height||((v=i.firstElementChild)===null||v===void 0?void 0:v.getBoundingClientRect().height)||0,b=o.getBoundingClientRect().bottom-m+r-n;g=u>=d&&u<b}return{sticky:g,top:f,left:p,width:h}}updateStuckItems(t,r){const{stickyNode:n}=t;r&&!this.isNodeStuck(n)?this.addStuckItem(t):!r&&this.isNodeStuck(n)&&this.removeStuckItem(t)}addStuckItem(t){this.stuckItems.push(t)}removeStuckItem(t){const{stickyNode:r}=t,n=this.stuckItems.findIndex(({stickyNode:i})=>r===i);this.stuckItems.splice(n,1)}getOffset(t){if(this.stuckItems.length===0)return 0;let r=0,n=0;const i=this.stuckItems.length,a=Hu(t);for(;n<i;){const o=this.stuckItems[n].stickyNode;if(o!==t){const s=Hu(o);_ge(a,s)||(r+=Hu(o).height)}else break;n++}return r}isNodeStuck(t){return this.stuckItems.findIndex(({stickyNode:n})=>t===n)>=0}setTopBarOffset(t){const r=t.querySelector(`:not(${oP.selector}) ${h5.selector}`);this.topBarOffset=r?r.clientHeight:0}}function eJ(e){return e===document}function Tge(e){return eJ(e)?document.body.scrollTop||document.documentElement.scrollTop:e.scrollTop}function _ge(e,t){const r=e.left,n=e.left+e.width,i=t.left;return t.left+t.width<r||n<i}const n9="data-lock-scrolling",i9="data-lock-scrolling-hidden",a9="data-lock-scrolling-wrapper";let j2=0;function Pge(){const{body:e}=document;return e.scrollHeight>e.clientHeight}class Age{constructor(){this.scrollLocks=0,this.locked=!1}registerScrollLock(){this.scrollLocks+=1,this.handleScrollLocking()}unregisterScrollLock(){this.scrollLocks-=1,this.handleScrollLocking()}handleScrollLocking(){if(p5)return;const{scrollLocks:t}=this,{body:r}=document,n=r.firstElementChild;t===0?(r.removeAttribute(n9),r.removeAttribute(i9),n&&n.removeAttribute(a9),window.scroll(0,j2),this.locked=!1):t>0&&!this.locked&&(j2=window.pageYOffset,r.setAttribute(n9,""),Pge()||r.setAttribute(i9,""),n&&(n.setAttribute(a9,""),n.scrollTop=j2),this.locked=!0)}resetScrollPosition(){j2=0}}class Oge{constructor(t){this.idGeneratorFactory=void 0,this.idGenerators={},this.idGeneratorFactory=t}nextId(t){return this.idGenerators[t]||(this.idGenerators[t]=this.idGeneratorFactory(t)),this.idGenerators[t]()}}function Ige(e=""){let t=1;return()=>`Polaris${e}${t++}`}const Rge=/\[(.*?)\]|(\w+)/g;function o9(e,t,r){if(e==null)return;const n=Array.isArray(t)?t:Fge(t);let i=e;for(let a=0;a<n.length;a++){const o=i[n[a]];if(o===void 0)return r;i=o}return i}function Fge(e){const t=[];let r;for(;r=Rge.exec(e);){const[,n,i]=r;t.push(n||i)}return t}function Dge(...e){let t={};for(const r of e)t=tJ(t,r);return t}function tJ(e,t){const r=Array.isArray(e)?[...e]:{...e};for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n))s9(t[n])&&s9(r[n])?r[n]=tJ(r[n],t[n]):r[n]=t[n];else continue;return r}function s9(e){return e!==null&&typeof e=="object"}const Nge=/{([^}]*)}/g;let l9=class{constructor(t){this.translation={},this.translation=Array.isArray(t)?Dge(...t.slice().reverse()):t}translate(t,r){const n=o9(this.translation,t,"");return n?r?n.replace(Nge,i=>{const a=i.substring(1,i.length-1);if(r[a]===void 0){const o=JSON.stringify(r);throw new Error(`Error in translation for key '${t}'. No replacement found for key '${a}'. The following replacements were passed: '${o}'`)}return r[a]}):n:""}translationKeyExists(t){return!!o9(this.translation,t)}};const Mge=k.createContext(void 0),rJ=k.createContext(void 0),nJ=k.createContext(void 0),g5=k.createContext(void 0),iJ=k.createContext(void 0),aJ=k.createContext(void 0),oJ=k.createContext(void 0);
49class id extends k.PureComponent{componentDidMount(){this.attachListener()}componentDidUpdate({passive:t,...r}){this.detachListener(r),this.attachListener()}componentWillUnmount(){this.detachListener()}render(){return null}attachListener(){const{event:t,handler:r,capture:n,passive:i}=this.props;window.addEventListener(t,r,{capture:n,passive:i})}detachListener(t){const{event:r,handler:n,capture:i}=t||this.props;window.removeEventListener(r,n,i)}}const Lge=function({children:t}){const[r,n]=k.useState(jO().matches),i=k.useCallback(rl(()=>{r!==jO().matches&&n(!r)},40,{trailing:!0,leading:!0,maxWait:40}),[r]);k.useEffect(()=>{n(jO().matches)},[]);const a=k.useMemo(()=>({isNavigationCollapsed:r}),[r]);return S.createElement(oJ.Provider,{value:a},S.createElement(id,{event:"resize",handler:i}),t)},v5=k.createContext(void 0);function Bge(e,t){return S.createElement("div",{id:"PolarisPortalsContainer",ref:t})}const Uge=k.forwardRef(Bge);function zge({children:e,container:t}){const[r,n]=k.useState(null),i=t??r,a=k.useMemo(()=>({container:i}),[i]);return S.createElement(v5.Provider,{value:a},e,t?null:S.createElement(Uge,{ref:n}))}const sJ=k.createContext(void 0);function Hge({children:e}){const[t,r]=k.useState([]),n=k.useCallback(o=>{r(s=>[...s,o])},[]),i=k.useCallback(o=>{let s=!0;return r(l=>{const c=[...l],u=c.indexOf(o);return u===-1?s=!1:c.splice(u,1),c}),s},[]),a=k.useMemo(()=>({trapFocusList:t,add:n,remove:i}),[n,t,i]);return S.createElement(sJ.Provider,{value:a},e)}class qge extends k.Component{constructor(t){super(t),this.stickyManager=void 0,this.scrollLockManager=void 0,this.uniqueIdFactory=void 0,this.setBodyStyles=()=>{document.body.style.backgroundColor="var(--p-background)",document.body.style.color="var(--p-text)"},this.stickyManager=new JQ,this.scrollLockManager=new Age,this.uniqueIdFactory=new Oge(Ige);const{i18n:r,linkComponent:n}=this.props;this.state={link:n,intl:new l9(r)}}componentDidMount(){document!=null&&(this.stickyManager.setContainer(document),this.setBodyStyles())}componentDidUpdate({i18n:t,linkComponent:r}){const{i18n:n,linkComponent:i}=this.props;n===t&&i===r||this.setState({link:i,intl:new l9(n)})}render(){const{children:t,features:r={}}=this.props,{intl:n,link:i}=this.state;return S.createElement(Mge.Provider,{value:r},S.createElement(rJ.Provider,{value:n},S.createElement(nJ.Provider,{value:this.scrollLockManager},S.createElement(g5.Provider,{value:this.stickyManager},S.createElement(iJ.Provider,{value:this.uniqueIdFactory},S.createElement(aJ.Provider,{value:i},S.createElement(Lge,null,S.createElement(zge,null,S.createElement(Hge,null,t)))))))))}}function Ve(...e){return e.filter(Boolean).join(" ")}function Ln(e,t){return`${e}${t.charAt(0).toUpperCase()}${t.slice(1)}`}function Wge(e){const t=Object.entries(e).filter(([r,n])=>n!=null);return t.length?Object.fromEntries(t):void 0}function Co(e){const[t,r]=k.useState(e);return{value:t,toggle:k.useCallback(()=>r(n=>!n),[]),setTrue:k.useCallback(()=>r(!0),[]),setFalse:k.useCallback(()=>r(!1),[])}}var zs={Card:"Polaris-Card",subdued:"Polaris-Card--subdued","Section-hideOnPrint":"Polaris-Card__Section--hideOnPrint",hideOnPrint:"Polaris-Card--hideOnPrint",Header:"Polaris-Card__Header",Section:"Polaris-Card__Section","Section-fullWidth":"Polaris-Card__Section--fullWidth","Section-flush":"Polaris-Card__Section--flush","Section-subdued":"Polaris-Card__Section--subdued",SectionHeader:"Polaris-Card__SectionHeader",Subsection:"Polaris-Card__Subsection",Footer:"Polaris-Card__Footer",LeftJustified:"Polaris-Card__LeftJustified"},CF=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M10 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm-1-9a1 1 0 0 0 2 0v-2a1 1 0 1 0-2 0v2zm0 4a1 1 0 1 0 2 0 1 1 0 0 0-2 0z"}))},lJ=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M17 9h-11.586l3.293-3.293a.999.999 0 1 0-1.414-1.414l-5 5a.999.999 0 0 0 0 1.414l5 5a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414l-3.293-3.293h11.586a1 1 0 1 0 0-2z"}))},Vge=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"m17.707 9.293-5-5a.999.999 0 1 0-1.414 1.414l3.293 3.293h-11.586a1 1 0 1 0 0 2h11.586l-3.293 3.293a.999.999 0 1 0 1.414 1.414l5-5a.999.999 0 0 0 0-1.414z"}))},jge=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{fillRule:"evenodd",d:"M7 2a1 1 0 0 1 1 1v1h4v-1a1 1 0 1 1 2 0v1h1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h1v-1a1 1 0 0 1 1-1Zm-2 6v7h10v-7h-10Z"}))},cJ=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M6.707 5.293a1 1 0 0 0-1.414 1.414l3.293 3.293-3.293 3.293a1 1 0 1 0 1.414 1.414l3.293-3.293 3.293 3.293a1 1 0 0 0 1.414-1.414l-3.293-3.293 3.293-3.293a1 1 0 0 0-1.414-1.414l-3.293 3.293-3.293-3.293Z"}))},y5=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M13.098 8h-6.196c-.751 0-1.172.754-.708 1.268l3.098 3.432c.36.399 1.055.399 1.416 0l3.098-3.433c.464-.513.043-1.267-.708-1.267Z"}))},uJ=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M6.902 12h6.196c.751 0 1.172-.754.708-1.268l-3.098-3.432c-.36-.399-1.055-.399-1.416 0l-3.098 3.433c-.464.513-.043 1.267.708 1.267Z"}))},Gge=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M12 16a.997.997 0 0 1-.707-.293l-5-5a.999.999 0 0 1 0-1.414l5-5a.999.999 0 1 1 1.414 1.414l-4.293 4.293 4.293 4.293a.999.999 0 0 1-.707 1.707z"}))},Kge=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M8 16a.999.999 0 0 1-.707-1.707l4.293-4.293-4.293-4.293a.999.999 0 1 1 1.414-1.414l5 5a.999.999 0 0 1 0 1.414l-5 5a.997.997 0 0 1-.707.293z"}))},dJ=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{fillRule:"evenodd",d:"M10 0c-5.514 0-10 4.486-10 10s4.486 10 10 10 10-4.486 10-10-4.486-10-10-10zm-1 6a1 1 0 1 1 2 0v4a1 1 0 1 1-2 0v-4zm1 9a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"}))},fJ=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{fillRule:"evenodd",d:"M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16zm-2.293 4.293a1 1 0 0 0-1.414 1.414l2.293 2.293-2.293 2.293a1 1 0 1 0 1.414 1.414l2.293-2.293 2.293 2.293a1 1 0 1 0 1.414-1.414l-2.293-2.293 2.293-2.293a1 1 0 0 0-1.414-1.414l-2.293 2.293-2.293-2.293z"}))},c9=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{fillRule:"evenodd",d:"M10 20c5.514 0 10-4.486 10-10s-4.486-10-10-10-10 4.486-10 10 4.486 10 10 10zm1-6a1 1 0 1 1-2 0v-4a1 1 0 1 1 2 0v4zm-1-9a1 1 0 1 0 0 2 1 1 0 0 0 0-2z"}))},Zge=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{fillRule:"evenodd",d:"M0 10a10 10 0 1 0 20 0 10 10 0 0 0-20 0zm15.2-1.8a1 1 0 0 0-1.4-1.4l-4.8 4.8-2.3-2.3a1 1 0 0 0-1.4 1.4l3 3c.4.4 1 .4 
491.4 0l5.5-5.5z"}))},Yge=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M11.768.768a2.5 2.5 0 0 0-3.536 0l-7.464 7.464a2.5 2.5 0 0 0 0 3.536l7.464 7.464a2.5 2.5 0 0 0 3.536 0l7.464-7.464a2.5 2.5 0 0 0 0-3.536l-7.464-7.464zm-2.768 5.232a1 1 0 1 1 2 0v4a1 1 0 1 1-2 0v-4zm2 8a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"}))},$ge=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{fillRule:"evenodd",d:"M4.5 3a1.5 1.5 0 0 0-1.5 1.5v11a1.5 1.5 0 0 0 1.5 1.5h11a1.5 1.5 0 0 0 1.5-1.5v-11a1.5 1.5 0 0 0-1.5-1.5h-11zm9.207 5.707a1 1 0 0 0-1.414-1.414l-3.293 3.293-1.293-1.293a1 1 0 0 0-1.414 1.414l2 2a1 1 0 0 0 1.414 0l4-4z"}))},hJ=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M6 10a2 2 0 1 1-4.001-.001 2 2 0 0 1 4.001.001zm6 0a2 2 0 1 1-4.001-.001 2 2 0 0 1 4.001.001zm6 0a2 2 0 1 1-4.001-.001 2 2 0 0 1 4.001.001z"}))},Xge=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M14.167 9h-8.334c-.46 0-.833.448-.833 1s.372 1 .833 1h8.334c.46 0 .833-.448.833-1s-.373-1-.833-1"}))},b5=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"m11.414 10 6.293-6.293a1 1 0 1 0-1.414-1.414l-6.293 6.293-6.293-6.293a1 1 0 0 0-1.414 1.414l6.293 6.293-6.293 6.293a1 1 0 1 0 1.414 1.414l6.293-6.293 6.293 6.293a.998.998 0 0 0 1.707-.707.999.999 0 0 0-.293-.707l-6.293-6.293z"}))},Qge=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M19 11h-18a1 1 0 0 1 0-2h18a1 1 0 1 1 0 2zm0-7h-18a1 1 0 0 1 0-2h18a1 1 0 1 1 0 2zm0 14h-18a1 1 0 0 1 0-2h18a1 1 0 0 1 0 2z"}))},Jge=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{fillRule:"evenodd",d:"M6 11h8v-2h-8v2zm0 4h8v-2h-8v2zm0-8h4v-2h-4v2zm6-5h-6.5a1.5 1.5 0 0 0-1.5 1.5v13a1.5 1.5 0 0 0 1.5 1.5h9a1.5 1.5 0 0 0 1.5-1.5v-10.5l-4-4z"}))},eve=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M8 12a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm9.707 4.293-4.82-4.82a5.968 5.968 0 0 0 1.113-3.473 6 6 0 0 0-12 0 6 6 0 0 0 6 6 5.968 5.968 0 0 0 3.473-1.113l4.82 4.82a.997.997 0 0 0 1.414 0 .999.999 0 0 0 0-1.414z"}))},pJ=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M7.676 9h4.648c.563 0 .879-.603.53-1.014l-2.323-2.746a.708.708 0 0 0-1.062 0l-2.324 2.746c-.347.411-.032 1.014.531 1.014Zm4.648 2h-4.648c-.563 0-.878.603-.53 1.014l2.323 2.746c.27.32.792.32 1.062 0l2.323-2.746c.349-.411.033-1.014-.53-1.014Z"}))},u9=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M12.324 9h-4.648c-.563 0-.878-.603-.53-1.014l2.323-2.746a.708.708 0 0 1 1.062 0l2.323 2.746c.349.411.033 1.014-.53 1.014Z"}),S.createElement("path",{d:"M7.676 11h4.648c.563 0 .879.603.53 1.014l-2.323 2.746a.708.708 0 0 1-1.062 0l-2.324-2.746c-.347-.411-.032-1.014.531-1.014Z",fillOpacity:"50%"}))},d9=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M12.324 9h-4.648c-.563 0-.878-.603-.53-1.014l2.323-2.746a.708.708 0 0 1 1.062 0l2.323 2.746c.349.411.033 1.014-.53 1.014Z",fillOpacity:"50%"}),S.createElement("path",{d:"M7.676 11h4.648c.563 0 .879.603.53 1.014l-2.323 2.746a.708.708 0 0 1-1.062 0l-2.324-2.746c-.347-.411-.032-1.014.531-1.014Z"}))},mJ=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{d:"M14.723 6.237a.94.94 0 0 1 .053 1.277l-5.366 6.193a.834.834 0 0 1-.611.293.83.83 0 0 1-.622-.264l-2.927-3.097a.94.94 0 0 1 0-1.278.82.82 0 0 1 1.207 0l2.297 2.43 4.763-5.498a.821.821 0 0 1 1.206-.056Z"}))},tve=function(t){return S.createElement("svg",Object.assign({viewBox:"0 0 20 20"},t),S.createElement("path",{fillRule:"evenodd",d:"M20 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10 10 4.477 10 10zm-14.707-1.707 4-4a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414l-2.293-2.293v7.586a1 1 0 1 1-2 0v-7.586l-2.293 2.293a1 1 0 0 1-1.414-1.414z"}))};function rve(e){const{top:t,left:r,bottom:n,right:i}=e.getBoundingClientRect();return t>=0&&i<=window.innerWidth&&n<=window.innerHeight&&r>=0}const EF="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]",qk='a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]:not
49([tabindex="-1"])',nve='a[role="menuitem"],frame[role="menuitem"],iframe[role="menuitem"],input[role="menuitem"]:not([type=hidden]):not(:disabled),select[role="menuitem"]:not(:disabled),textarea[role="menuitem"]:not(:disabled),button[role="menuitem"]:not(:disabled),*[tabindex]:not([tabindex="-1"])',Im=({currentTarget:e})=>e.blur();function ive(e,t){const r=[...document.querySelectorAll(EF)],n=r.indexOf(e)+1,i=r.slice(n);for(const a of i)if(rve(a)&&(!t||t&&t(a)))return a;return null}function gJ(e,t=!0){return!t&&lP(e,EF)?e:e.querySelector(EF)}function GO(e){const t="a,button,frame,iframe,input:not([type=hidden]),select,textarea,*[tabindex]";return lP(e,t)?e:e.querySelector(t)}function sP(e,t=!0){var r;(r=gJ(e,t))===null||r===void 0||r.focus()}function ave(e,t){const r=ive(e,t);return r&&r instanceof HTMLElement?(r.focus(),!0):!1}function S5(e,t=!0){return!t&&lP(e,qk)?e:e.querySelector(qk)}function ove(e,t=!0){const r=S5(e,t);return r?(r.focus(),!0):!1}function vJ(e,t=!0){if(!t&&lP(e,qk))return e;const r=e.querySelectorAll(qk);return r[r.length-1]}function sve(e,t=!0){const r=vJ(e,t);return r?(r.focus(),!0):!1}function lve(e,t){const r=yJ(e),n=bJ(r,t);n===-1?r[0].focus():r[(n-1+r.length)%r.length].focus()}function cve(e,t){const r=yJ(e),n=bJ(r,t);n===-1?r[0].focus():r[(n+1)%r.length].focus()}function yJ(e){return e.querySelectorAll(nve)}function bJ(e,t){let r=0;for(const n of e){if(n===t)break;r++}return r===e.length?-1:r}function lP(e,t){if(e.matches)return e.matches(t);const r=(e.ownerDocument||document).querySelectorAll(t);let n=r.length;for(;--n>=0&&r.item(n)!==e;)return n>-1}function SJ(e,t){const r=k.useCallback(n=>{e&&(n.preventDefault(),n.stopPropagation())},[e]);return e?r:t}var Mr={Button:"Polaris-Button",pressed:"Polaris-Button--pressed",disabled:"Polaris-Button--disabled",connectedDisclosure:"Polaris-Button--connectedDisclosure",Content:"Polaris-Button__Content",plain:"Polaris-Button--plain",textAlignLeft:"Polaris-Button--textAlignLeft",textAlignStart:"Polaris-Button--textAlignStart",textAlignCenter:"Polaris-Button--textAlignCenter",textAlignRight:"Polaris-Button--textAlignRight",textAlignEnd:"Polaris-Button--textAlignEnd",Icon:"Polaris-Button__Icon",fullWidth:"Polaris-Button--fullWidth",hidden:"Polaris-Button--hidden",Spinner:"Polaris-Button__Spinner",primary:"Polaris-Button--primary",destructive:"Polaris-Button--destructive",outline:"Polaris-Button--outline",loading:"Polaris-Button--loading",removeUnderline:"Polaris-Button--removeUnderline",iconOnly:"Polaris-Button--iconOnly",sizeSlim:"Polaris-Button--sizeSlim",sizeLarge:"Polaris-Button--sizeLarge",monochrome:"Polaris-Button--monochrome",Text:"Polaris-Button__Text",ConnectedDisclosureWrapper:"Polaris-Button__ConnectedDisclosureWrapper",ConnectedDisclosure:"Polaris-Button__ConnectedDisclosure"};function ex(){const[e,t]=k.useState(!1);return k.useEffect(()=>{t(!0)},[]),e}var f9={Spinner:"Polaris-Spinner",sizeSmall:"Polaris-Spinner--sizeSmall",sizeLarge:"Polaris-Spinner--sizeLarge"},mu={root:"Polaris-Text--root",block:"Polaris-Text--block",truncate:"Polaris-Text--truncate",visuallyHidden:"Polaris-Text--visuallyHidden",start:"Polaris-Text--start",center:"Polaris-Text--center",end:"Polaris-Text--end",justify:"Polaris-Text--justify",success:"Polaris-Text--success",critical:"Polaris-Text--critical",warning:"Polaris-Text--warning",subdued:"Polaris-Text--subdued","text-inverse":"Polaris-Text__text--inverse",regular:"Polaris-Text--regular",medium:"Polaris-Text--medium",semibold:"Polaris-Text--semibold",bold:"Polaris-Text--bold",headingXs:"Polaris-Text--headingXs",headingSm:"Polaris-Text--headingSm",headingMd:"Polaris-Text--headingMd",headingLg:"Polaris-Text--headingLg",headingXl:"Polaris-Text--headingXl",heading2xl:"Polaris-Text--heading2xl",heading3xl:"Polaris-Text--heading3xl",heading4xl:"Polaris-Text--heading4xl",bodySm:"Polaris-Text--bodySm",bodyMd:"Polaris-Text--bodyMd",bodyLg:"Polaris-Text--bodyLg",break:"Polaris-Text--break"};const uve={headingXs:"semibold",headingSm:"semibold",headingMd:"semibold",headingLg:"semibold",headingXl:"semibold",heading2xl:"semibold",heading3xl:"semibold",heading4xl:"bold",bodySm:"regular",bodyMd:"regular",bodyLg:"regular"},qe=({alignment:e,as:t,breakWord:r,children:n,color:i,fontWeight:a,id:o,truncate:s=!1,variant:l,visuallyHidden:c=!1})=>{const u=t||(c?"span":"p"),d=Ve(mu.root,mu[l],a?mu[a]:mu[uve[l]],(e||s)&&mu.block,e&&mu[e],r&&mu.break,i&&mu[i],s&&mu.truncate,c&&mu.visuallyHidden);return S.createElement(u,Object.assign({className:d},o&&{id:o}),n)};function lf({size:e="large",accessibilityLabel:t,hasFocusableParent:r}){const n=ex(),i=Ve(f9.Spinner,e&&f9[Ln("size",e)]),a=e==="large"?S.createElement("svg",{viewBox:"0 0 44 44",xmlns:"http://www.w3.org/2000/svg"},S.createElement("path",{d:"M15.542 1.487A21.507 21.507 0 00.5 22c0 11.874 9.626 21.5 21.5 21.5 9.847 0 18.364-6.675 20.809-16.072a1.5 1.5 0 00-2.904-.756C37.803 34.755 30.473 40.5 22 40.5 11.783 40.5 3.5 32.217 3.5 22c0-8.137 5.3-15.247 12.942-1
497.65a1.5 1.5 0 10-.9-2.863z"})):S.createElement("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},S.createElement("path",{d:"M7.229 1.173a9.25 9.25 0 1011.655 11.412 1.25 1.25 0 10-2.4-.698 6.75 6.75 0 11-8.506-8.329 1.25 1.25 0 10-.75-2.385z"})),o={...!r&&{role:"status"}},s=(n||!r)&&S.createElement(qe,{variant:"bodySm",as:"span",visuallyHidden:!0},t);return S.createElement(S.Fragment,null,S.createElement("span",{className:i},a),S.createElement("span",o,s))}function dve(e,{id:t,active:r=!1,ariaHaspopup:n,activatorDisabled:i=!1}){i||(e.tabIndex=e.tabIndex||0),e.setAttribute("aria-controls",t),e.setAttribute("aria-owns",t),e.setAttribute("aria-expanded",String(r)),n!=null&&e.setAttribute("aria-haspopup",String(n))}function fve(){const e=k.useContext(v5);if(!e)throw new Error("No portals manager was provided. Your application must be wrapped in an <AppProvider> component. See https://polaris.shopify.com/components/app-provider for implementation instructions.");return e}class tx extends Error{constructor(t=""){super(`${t&&`${t} `}Your application must be wrapped in an <AppProvider> component. See https://polaris.shopify.com/components/app-provider for implementation instructions.`),this.name="MissingAppProviderError"}}function ni(e="",t=""){const r=k.useContext(iJ),n=k.useRef(null);if(!r)throw new tx("No UniqueIdFactory was provided.");return t||(n.current||(n.current=r.nextId(e)),n.current)}function cP({children:e,idPrefix:t="",onPortalCreated:r=hve}){const{container:n}=fve(),i=ni("portal"),a=t!==""?`${t}-${i}`:i;return k.useEffect(()=>{r()},[r]),n?Qw.createPortal(S.createElement("div",{"data-portal-id":a},e),n):null}function hve(){}function ay(e,t,r){return e==null?null:w5(e,t)?e:S.createElement(t,r,e)}const pve=(e,t)=>e===t;function w5(e,t){var r;if(e==null||!k.isValidElement(e)||typeof e.type=="string")return!1;const{type:n}=e,a=((r=e.props)===null||r===void 0?void 0:r.__type__)||n;return(Array.isArray(t)?t:[t]).some(s=>typeof a!="string"&&pve(s,a))}function wJ(e,t=()=>!0){return k.Children.toArray(e).filter(r=>k.isValidElement(r)&&t(r))}function mve({condition:e,wrapper:t,children:r}){return e?t(r):r}function G2({condition:e,children:t}){return e?t:null}var Yi={Popover:"Polaris-Popover",PopoverOverlay:"Polaris-Popover__PopoverOverlay","PopoverOverlay-entering":"Polaris-Popover__PopoverOverlay--entering","PopoverOverlay-open":"Polaris-Popover__PopoverOverlay--open","PopoverOverlay-exiting":"Polaris-Popover__PopoverOverlay--exiting",measuring:"Polaris-Popover--measuring",fullWidth:"Polaris-Popover--fullWidth",Content:"Polaris-Popover__Content",positionedAbove:"Polaris-Popover--positionedAbove",Wrapper:"Polaris-Popover__Wrapper","Content-fullHeight":"Polaris-Popover__Content--fullHeight","Content-fluidContent":"Polaris-Popover__Content--fluidContent",Pane:"Polaris-Popover__Pane","Pane-fixed":"Polaris-Popover__Pane--fixed","Pane-captureOverscroll":"Polaris-Popover__Pane--captureOverscroll",Section:"Polaris-Popover__Section",FocusTracker:"Polaris-Popover__FocusTracker","PopoverOverlay-hideOnPrint":"Polaris-Popover__PopoverOverlay--hideOnPrint"};function Xl({keyCode:e,handler:t,keyEvent:r="keyup",options:n,useCapture:i}){const a=k.useRef({handler:t,keyCode:e});xF(()=>{a.current={handler:t,keyCode:e}},[t,e]);const o=k.useCallback(s=>{const{handler:l,keyCode:c}=a.current;s.keyCode===c&&l(s)},[]);return k.useEffect(()=>(document.addEventListener(r,o,i||n),()=>{document.removeEventListener(r,o,i||n)}),[r,o,i,n]),null}function gve(e,t,r,n,i,a,o,s=0){const l=e.top,c=l+e.height,u=e.top-s,d=i.height-e.top-e.height,f=t.height,h=r.activator+r.container,p=r.container,g=e.top-Math.max(n.top,0),v=i.top+Math.min(i.height,n.top+n.height)-(e.top+e.height),m=g>=p,b=v>=p,y=Math.min(d,f),w=Math.min(u,f),x=o?0:i.top,C={height:w-h,top:l+x-w,positioning:"above"},T={height:y-h,top:c+x,positioning:"below"};return a==="above"?(m||g>=v&&!b)&&(u>f||u>d)?C:T:a==="below"?(b||v>=g&&!m)&&(d>f||d>u)?T:C:m&&b?u>d?C:T:g>p?C:T}function vve(e,t,r,n,i){const a=r.width-t.width;if(i==="left")return Math.min(a,Math.max(0,e.left-n.horizontal));if(i==="right"){const o=r.width-(e.left+e.width);return Math.min(a,Math.max(0,o-n.horizontal))}return Math.min(a,Math.max(0,e.center.x-t.width/2))}function yve(e,t){const{center:r}=e;return r.y<t.top||r.y>t.top+t.height}function bve(e,t=xJ()){const r=Math.max(e.top,0),n=Math.max(e.left,0),i=Math.min(e.top+e.height,t.height),a=Math.min(e.left+e.width,t.width);return new Om({top:r,left:n,height:i-r,width:a-n})}function xJ(){return new Om({top:window.scrollY,left:window.scrollX,height:window.innerHeight,width:document.body.clientWidth}
49)}var KO={PositionedOverlay:"Polaris-PositionedOverlay",fixed:"Polaris-PositionedOverlay--fixed",preventInteraction:"Polaris-PositionedOverlay--preventInteraction"};const h9=Symbol("unique_identifier");function Sve(e){const t=k.useRef(h9);return t.current===h9&&(t.current=e()),t}function x5(e){const t=ex(),r=k.useRef(!1);if(t&&!r.current)return r.current=!0,e()}const CJ=k.createContext(void 0);var o1={Scrollable:"Polaris-Scrollable",horizontal:"Polaris-Scrollable--horizontal",vertical:"Polaris-Scrollable--vertical",hasTopShadow:"Polaris-Scrollable--hasTopShadow",hasBottomShadow:"Polaris-Scrollable--hasBottomShadow"};function wve(){const e=k.useRef(null),t=k.useContext(CJ);k.useEffect(()=>{!t||!e.current||t(e.current.offsetTop)},[t]);const r=ni("ScrollTo");return S.createElement("a",{id:r,ref:e})}const p9=100,EJ=2;function op({children:e,className:t,horizontal:r=!0,vertical:n=!0,shadow:i,hint:a,focusable:o,onScrolledToBottom:s,...l}){const[c,u]=k.useState(!1),[d,f]=k.useState(!1),h=Sve(()=>new JQ),p=k.useRef(null),g=k.useCallback(b=>{var y;const w=kJ()?"auto":"smooth";(y=p.current)===null||y===void 0||y.scrollTo({top:b,behavior:w})},[]),v=k.useCallback(()=>{const b=p.current;b&&requestAnimationFrame(()=>{const{scrollTop:y,clientHeight:w,scrollHeight:x}=b,C=x>w,T=y>0,_=y+w>=x-EJ;u(T),f(!_),C&&_&&s&&s()})},[s]);x5(()=>{v(),a&&requestAnimationFrame(()=>xve(p.current))}),k.useEffect(()=>{var b;const y=p.current;if(!y)return;const w=rl(v,50,{trailing:!0});return(b=h.current)===null||b===void 0||b.setContainer(y),y.addEventListener("scroll",v),globalThis.addEventListener("resize",w),()=>{y.removeEventListener("scroll",v),globalThis.removeEventListener("resize",w)}},[h,v]);const m=Ve(t,o1.Scrollable,n&&o1.vertical,r&&o1.horizontal,i&&c&&o1.hasTopShadow,i&&d&&o1.hasBottomShadow);return S.createElement(CJ.Provider,{value:g},S.createElement(g5.Provider,{value:h.current},S.createElement("div",Object.assign({className:m},oP.props,l,{ref:p,tabIndex:o?0:void 0}),e)))}function kJ(){try{return window.matchMedia("(prefers-reduced-motion: reduce)").matches}catch{return!1}}function xve(e){if(!e||kJ())return;const t=e.scrollHeight-e.clientHeight,r=Math.min(p9,t)-EJ,n=()=>{requestAnimationFrame(()=>{e.scrollTop>=r&&(e.removeEventListener("scroll",n),e.scrollTo({top:0,behavior:"smooth"}))})};e.addEventListener("scroll",n),e.scrollTo({top:p9,behavior:"smooth"})}op.ScrollTo=wve;op.forNode=e=>{const t=e.closest(oP.selector);return t instanceof HTMLElement?t:document};const m9={childList:!0,subtree:!0,characterData:!0};class TJ extends k.PureComponent{constructor(t){super(t),this.state={measuring:!0,activatorRect:Hu(this.props.activator),right:void 0,left:void 0,top:0,height:0,width:null,positioning:"below",zIndex:null,outsideScrollableContainer:!1,lockPosition:!1},this.overlay=null,this.scrollableContainer=null,this.observer=void 0,this.overlayDetails=()=>{const{measuring:r,left:n,right:i,positioning:a,height:o,activatorRect:s}=this.state;return{measuring:r,left:n,right:i,desiredHeight:o,positioning:a,activatorRect:s}},this.setOverlay=r=>{this.overlay=r},this.handleMeasurement=()=>{const{lockPosition:r,top:n}=this.state;this.observer.disconnect(),this.setState(({left:i,top:a,right:o})=>({left:i,right:o,top:a,height:0,positioning:"below",measuring:!0}),()=>{if(this.overlay==null||this.scrollableContainer==null)return;const{activator:i,preferredPosition:a="below",preferredAlignment:o="center",onScrollOut:s,fullWidth:l,fixed:c,preferInputActivator:u=!0}=this.props,d=u&&i.querySelector("input")||i,f=Hu(d),h=Hu(this.overlay),p=kve(this.scrollableContainer)?document.body:this.scrollableContainer,g=Hu(p),v=l?new Om({...h,width:f.width}):h;p===document.body&&(g.height=document.body.scrollHeight);let m=0;const b=p.querySelector(`${h5.selector}`);b&&(m=b.clientHeight);const y=this.overlay.firstElementChild&&this.overlay.firstChild instanceof HTMLElement?Cve(this.overlay.firstElementChild):{activator:0,container:0,horizontal:0},w=xJ(),x=Eve(i),C=x==null?x:x+1,T=gve(f,v,y,g,w,a,c,m),_=vve(f,v,w,y,o);this.setState({measuring:!1,activatorRect:Hu(i),left:o!=="right"?_:void 0,right:o==="right"?_:void 0,top:r?n:T.top,lockPosition:!!c,height:T.height||0,width:l?v.width:null,positioning:T.positioning,outsideScrollableContainer:s!=null&&yve(f,bve(g)),zIndex:C}
49,()=>{this.overlay&&(this.observer.observe(this.overlay,m9),this.observer.observe(i,m9))})})},this.observer=new MutationObserver(this.handleMeasurement)}componentDidMount(){this.scrollableContainer=op.forNode(this.props.activator),this.scrollableContainer&&!this.props.fixed&&this.scrollableContainer.addEventListener("scroll",this.handleMeasurement),this.handleMeasurement()}componentWillUnmount(){this.observer.disconnect(),this.scrollableContainer&&!this.props.fixed&&this.scrollableContainer.removeEventListener("scroll",this.handleMeasurement)}componentDidUpdate(){const{outsideScrollableContainer:t,top:r}=this.state,{onScrollOut:n,active:i}=this.props;i&&n!=null&&r!==0&&t&&n()}render(){const{left:t,right:r,top:n,zIndex:i,width:a}=this.state,{render:o,fixed:s,preventInteraction:l,classNames:c,zIndexOverride:u}=this.props,d={top:n==null||isNaN(n)?void 0:n,left:t==null||isNaN(t)?void 0:t,right:r==null||isNaN(r)?void 0:r,width:a==null||isNaN(a)?void 0:a,zIndex:u||i||void 0},f=Ve(KO.PositionedOverlay,s&&KO.fixed,l&&KO.preventInteraction,c);return S.createElement("div",{className:f,style:d,ref:this.setOverlay},S.createElement(id,{event:"resize",handler:this.handleMeasurement}),o(this.overlayDetails()))}forceUpdatePosition(){requestAnimationFrame(this.handleMeasurement)}}function Cve(e){const t=window.getComputedStyle(e);return{activator:parseFloat(t.marginTop||"0"),container:parseFloat(t.marginBottom||"0"),horizontal:parseFloat(t.marginLeft||"0")}}function Eve(e){const t=e.closest(zk.selector)||document.body,r=t===document.body?"auto":parseInt(window.getComputedStyle(t).zIndex||"0",10);return r==="auto"||isNaN(r)?null:r}function kve(e){return e===document}function _J({children:e}){return S.createElement("div",{className:Yi.Section},e)}function kF({captureOverscroll:e=!1,fixed:t,sectioned:r,children:n,height:i,onScrolledToBottom:a}){const o=Ve(Yi.Pane,t&&Yi["Pane-fixed"],e&&Yi["Pane-captureOverscroll"]),s=r?ay(n,_J,{}):n,l=i?{height:i,maxHeight:i,minHeight:i}:void 0;return t?S.createElement("div",{style:l,className:o},s):S.createElement(op,{shadow:!0,className:o,style:l,onScrolledToBottom:a},s)}let zd;(function(e){e[e.Click=0]="Click",e[e.EscapeKeypress=1]="EscapeKeypress",e[e.FocusOut=2]="FocusOut",e[e.ScrollOut=3]="ScrollOut"})(zd||(zd={}));var ns;(function(e){e.Entering="entering",e.Entered="entered",e.Exiting="exiting",e.Exited="exited"})(ns||(ns={}));class PJ extends k.PureComponent{constructor(t){super(t),this.context=void 0,this.state={transitionStatus:this.props.active?ns.Entering:ns.Exited},this.contentNode=k.createRef(),this.enteringTimer=void 0,this.exitingTimer=void 0,this.overlayRef=void 0,this.renderPopover=r=>{const{measuring:n,desiredHeight:i,positioning:a}=r,{id:o,children:s,sectioned:l,fullWidth:c,fullHeight:u,fluidContent:d,hideOnPrint:f,autofocusTarget:h,captureOverscroll:p}=this.props,g=Ve(Yi.Popover,a==="above"&&Yi.positionedAbove,c&&Yi.fullWidth,n&&Yi.measuring,f&&Yi["PopoverOverlay-hideOnPrint"]),v=n?void 0:{height:i},m=Ve(Yi.Content,u&&Yi["Content-fullHeight"],d&&Yi["Content-fluidContent"]),b=S.createElement("div",{id:o,tabIndex:h==="none"?void 0:-1,className:m,style:v,ref:this.contentNode},Tve(s,{captureOverscroll:p,sectioned:l}));return S.createElement("div",Object.assign({className:g},Q0e.props),S.createElement(id,{event:"click",handler:this.handleClick}),S.createElement(id,{event:"touchstart",handler:this.handleClick}),S.createElement(Xl,{keyCode:mo.Escape,handler:this.handleEscape}),S.createElement("div",{className:Yi.FocusTracker,tabIndex:0,onFocus:this.handleFocusFirstItem}),S.createElement("div",{className:Yi.Wrapper},b),S.createElement("div",{className:Yi.FocusTracker,tabIndex:0,onFocus:this.handleFocusLastItem}))},this.handleClick=r=>{const n=r.target,{contentNode:i,props:{activator:a,onClose:o,preventCloseOnChildOverlayClick:s}}=this,l=r.composedPath(),c=s?_ve(l,this.context.container):v9(l,i),u=g9(a,n);c||u||this.state.transitionStatus!==ns.Entered||o(zd.Click)},this.handleScrollOut=()=>{this.props.onClose(zd.ScrollOut)},this.handleEscape=r=>{const n=r.target,{contentNode:i,props:{activator:a}}=this,o=r.composedPath(),s=v9(o,i),l=g9(a,n);(s||l)&&this.props.onClose(zd.EscapeKeypress)},this.handleFocusFirstItem=()=>{this.props.onClose(zd.FocusOut)},this.handleFocusLastItem=()=>{this.props.onClose(zd.FocusOut)},this.overlayRef=k.createRef()}forceUpdatePosition(){var t;(t=this.overlayRef.current)===null||t===void 0||t.forceUpdatePosition()}changeTransitionStatus(t,r){this.setState({transitionStatus:t},r),this.contentNode.current&&this.contentNode.current.getBoundingClientRect()}componentDidMount(){this.props.active&&(this.focusContent(),this.changeTransitionStatus(ns.Entered))}componentDidUpdate(t){this.props.active&&!t.active&&(this.focusContent(),this.changeTransitionStatus(ns.Entering,()=>{this.clearTransitionTimeout(),this.enteringTimer=window.setTimeout(()=>{this.setState({transitionStatus:ns.Entered})},parseInt(Tv["duration-100"],10))})),!this.props.active&&t.active&&this.changeTransitionStatus(ns.Exiting,()=>{this.clearTransitionTimeout(),this.exitingTimer=window.setTimeout(()=>{this.setState({transitionStatus:ns.Exited})},parseInt(Tv["duration-100"],10))})}componentWillUnmount(){this.clearTransitionTimeout()}render(){const{active:t,activator:r,fullWidth:n,preferredPosition:i="below",preferredAlignment:a="center",preferInputActivator:o=!0,fixed:s,zIndexOverride:l}=this.props,{transitionStatus:c}=this.state;if(c===ns.Exited&&!t)return null;const u=Ve(Yi.PopoverOverlay,c===ns.Entering&&Yi["PopoverOverlay-entering"],c===ns.Entered&&Yi["PopoverOverlay-open"],c===ns.Exiting&&Yi["PopoverOverlay-exiting"]);return S.createElement(TJ,{ref:this.overlayRef,fullWidth:n,active:t,activator:r,preferInputActivator:o,preferredPosition:i,preferredAlignment:a,render:this.renderPopover.bind(this),fixed:s,onScrollOut:this.handleScrollOut,classNames:u,zIndexOverride:l})}clearTransitionTimeout(){this.enteringTimer&&window.clearTimeout(this.enteringTimer),this.exitingTimer&&window.clearTimeout(this.exitingTimer)}focusContent(){const{autofocusTarget:t="container"}=this.props;t==="none"||this.contentNode==null||requestAnimationFrame(()=>{if(this.contentNode.current==null)return;const r=S5(this.contentNode.current);r&&t==="first-node"?r.focus({preventScroll:!1}):this.contentNode.current.focus({preventScroll:!1})})}}PJ.contextType=v5;function Tve(e,t){const r=k.Children.toArray(e);return w5(r[0],kF)?r:ay(r,kF,t)}function g9(e,t){if(e===t)return!0;let r=t.parentNode;for(;r!=null;){if(r===e)return!0;r=r.parentNode}return!1}function v9(e,t){return t.current!=null&&e.includes(t.current)}function _ve(e,t){return e.some(r=>r instanceof Node&&(t==null?void 0:t.contains(r)))}const Pve=k.forwardRef(function({activatorWrapper:t="div",children:r,onClose:n,activator:i,preventFocusOnClose
49:a,active:o,fixed:s,ariaHaspopup:l,preferInputActivator:c=!0,zIndexOverride:u,...d},f){const[h,p]=k.useState(),g=k.useRef(null),v=k.useRef(null),m=t,b=ni("popover");function y(){var T;(T=g.current)===null||T===void 0||T.forceUpdatePosition()}k.useImperativeHandle(f,()=>({forceUpdatePosition:y}));const w=k.useCallback(()=>{if(v.current==null)return;const _=GO(v.current)||v.current,P="disabled"in _&&!!_.disabled;dve(_,{id:b,active:o,ariaHaspopup:l,activatorDisabled:P})},[b,o,l]),x=T=>{if(n(T),!(v.current==null||a)&&(T===zd.FocusOut||T===zd.EscapeKeypress)&&h){const _=GO(h)||GO(v.current)||v.current;ave(_,Ave)||_.focus()}};k.useEffect(()=>{(!h&&v.current||h&&v.current&&!v.current.contains(h))&&p(v.current.firstElementChild),w()},[h,w]),k.useEffect(()=>{h&&v.current&&p(v.current.firstElementChild),w()},[h,w]);const C=h?S.createElement(cP,{idPrefix:"popover"},S.createElement(PJ,Object.assign({ref:g,id:b,activator:h,preferInputActivator:c,onClose:x,active:o,fixed:s,zIndexOverride:u},d),r)):null;return S.createElement(m,{ref:v},k.Children.only(i),C)});function Ave(e){let t=e.parentElement;for(;t;){if(t.matches(GQ.selector))return!1;t=t.parentElement}return!0}const hi=Object.assign(Pve,{Pane:kF,Section:_J});var _a={ActionList:"Polaris-ActionList",Section:"Polaris-ActionList__Section","Section-withoutTitle":"Polaris-ActionList__Section--withoutTitle",Actions:"Polaris-ActionList__Actions",Item:"Polaris-ActionList__Item",active:"Polaris-ActionList--active",destructive:"Polaris-ActionList--destructive",disabled:"Polaris-ActionList--disabled",Prefix:"Polaris-ActionList__Prefix",Suffix:"Polaris-ActionList__Suffix",Content:"Polaris-ActionList__Content",ContentBlock:"Polaris-ActionList__ContentBlock",ContentBlockInner:"Polaris-ActionList__ContentBlockInner",Text:"Polaris-ActionList__Text"};const Ove=k.createContext(!1);var Cp={Badge:"Polaris-Badge",statusSuccess:"Polaris-Badge--statusSuccess",statusInfo:"Polaris-Badge--statusInfo",statusAttention:"Polaris-Badge--statusAttention",statusWarning:"Polaris-Badge--statusWarning",statusCritical:"Polaris-Badge--statusCritical",statusNew:"Polaris-Badge--statusNew",withinFilter:"Polaris-Badge--withinFilter",Icon:"Polaris-Badge__Icon",PipContainer:"Polaris-Badge__PipContainer"};let Qf;(function(e){e.Info="info",e.Success="success",e.Warning="warning",e.Critical="critical",e.Attention="attention",e.New="new"})(Qf||(Qf={}));let Sb;(function(e){e.Incomplete="incomplete",e.PartiallyComplete="partiallyComplete",e.Complete="complete"})(Sb||(Sb={}));function AJ(e,t,r){let n="",i="";if(!t&&!r)return"";switch(t){case Sb.Incomplete:n=e.translate("Polaris.Badge.PROGRESS_LABELS.incomplete");break;case Sb.PartiallyComplete:n=e.translate("Polaris.Badge.PROGRESS_LABELS.partiallyComplete");break;case Sb.Complete:n=e.translate("Polaris.Badge.PROGRESS_LABELS.complete");break}switch(r){case Qf.Info:i=e.translate("Polaris.Badge.STATUS_LABELS.info");break;case Qf.Success:i=e.translate("Polaris.Badge.STATUS_LABELS.success");break;case Qf.Warning:i=e.translate("Polaris.Badge.STATUS_LABELS.warning");break;case Qf.Critical:i=e.translate("Polaris.Badge.STATUS_LABELS.critical");break;case Qf.Attention:i=e.translate("Polaris.Badge.STATUS_LABELS.attention");break;case Qf.New:i=e.translate("Polaris.Badge.STATUS_LABELS.new");break}return!r&&t?n:r&&!t?i:e.translate("Polaris.Badge.progressAndStatus",{progressLabel:n,statusLabel:i})}var ZO={Pip:"Polaris-Badge-Pip",statusInfo:"Polaris-Badge-Pip--statusInfo",statusSuccess:"Polaris-Badge-Pip--statusSuccess",statusNew:"Polaris-Badge-Pip--statusNew",statusAttention:"Polaris-Badge-Pip--statusAttention",statusWarning:"Polaris-Badge-Pip--statusWarning",statusCritical:"Polaris-Badge-Pip--statusCritical",progressIncomplete:"Polaris-Badge-Pip--progressIncomplete",progressPartiallyComplete:"Polaris-Badge-Pip--progressPartiallyComplete",progressComplete:"Polaris-Badge-Pip--progressComplete"};function Yr(){const e=k.useContext(rJ);if(!e)throw new tx("No i18n was provided.");return e}function OJ({status:e,progress:t="complete",accessibilityLabelOverride:r}){const n=Yr(),i=Ve(ZO.Pip,e&&ZO[Ln("status",e)],t&&ZO[Ln("progress",t)]),a=r||AJ(n,t,e);return S.createElement("span",{className:i},S.createElement(qe,{variant:"bodySm",as:"span",visuallyHidden:!0},a))}var Ep={Icon:"Polaris-Icon",applyColor:"Polaris-Icon--applyColor",hasBackdrop:"Polaris-Icon--hasBackdrop",colorBase:"Polaris-Icon--colorBase",colorSubdued:"Polaris-Icon--colorSubdued",colorCritical:"Polaris-Icon--colorCritical",colorInteractive:"Polaris-Icon--colorInteractive",colorWarning:"Polaris-Icon--colorWarning",colorHighlight:"Polaris-Icon--colorHighlight",colorSuccess:"Polaris-Icon--colorSuccess",colorPrimary:"Polaris-Icon--colorPrimary",Svg:"Polaris-Icon__Svg",Img:"Polaris-Icon__Img",Placeholder:"Polaris-Icon__Placeholder"};function bn({source:e,color:t,backdrop:r,accessibilityLabel:n}){let i;typeof e=="function"?i="function":e==="placeholder"?i="placeholder":i="external";const a=Ve(Ep.Icon,t&&Ep[Ln("color",t)],t&&Ep.applyColor,r&&Ep.hasBackdrop),o=e,s={function:S.createElement(o,{className:Ep.Svg,focusable:"false","aria-hidden":"true"}),placeholder:S.createElement("div",{className:Ep.Placeholder}),external:S.createElement("img",{className:Ep.Img,src:`data:image/svg+xml;utf8,${e}`,alt:"","aria-hidden":"true"})};return S.createElement("span",{className:a},S.createElement(qe,{variant:"bodySm",as:"span",visuallyHidden:!0},n),s[i])}const y9="medium";function ad({children:e,status:t,progress:r,icon:n,size:i=y9,statusAndProgressLabelOverride:a}){const o=Yr(),s=k.useContext(Ove),l=Ve(Cp.Badge,t&&Cp[Ln("status",t)],n&&Cp.icon,i&&i!==y9&&Cp[Ln("size",i)],s&&Cp.withinFilter),c=a||AJ(o,r,t);let u=!!c&&S.createElement(qe,{variant:"bodySm",as:"span",visuallyHidden:!0},c);return r&&!n&&(u=S.createElement("span",{className:Cp.PipContainer},S.createElement(OJ,{progress:r,status:t,accessibilityLabelOverride:c}))),S.createElement("span",{className:l},u,n&&S.createElement("span",{className:Cp.Icon},S.createElement(bn,{source:n})),e&&S.createElement(qe,{as:"span",variant:"bodySm"},e))}ad.Pip=OJ;function Ive(){return k.useContext(aJ)}const od=k.memo(k.forwardRef(function(t,r){const n=Ive();if(n)return S.createElement(n,Object.assign({}
49,XB.props,t));const{external:i,url:a,...o}=t,s=i?"_blank":void 0,l=i?"noopener noreferrer":void 0;return S.createElement("a",Object.assign({target:s},o,{href:a,rel:l},XB.props))}));function IJ({id:e,badge:t,content:r,accessibilityLabel:n,helpText:i,url:a,onAction:o,icon:s,image:l,prefix:c,suffix:u,disabled:d,external:f,destructive:h,ellipsis:p,active:g,role:v}){const m=Ve(_a.Item,d&&_a.disabled,h&&_a.destructive,g&&_a.active);let b=null;c?b=S.createElement("span",{className:_a.Prefix},c):s?b=S.createElement("span",{className:_a.Prefix},S.createElement(bn,{source:s})):l&&(b=S.createElement("span",{role:"presentation",className:_a.Prefix,style:{backgroundImage:`url(${l}`}}));const y=p&&r?`${r}…`:r,w=i?S.createElement("span",{className:_a.ContentBlock},S.createElement("span",{className:_a.ContentBlockInner},y),S.createElement(qe,{variant:"bodyMd",color:"subdued",as:"span"},i)):y,x=t&&S.createElement("span",{className:_a.Suffix},S.createElement(ad,{status:t.status},t.content)),C=u&&S.createElement("span",{className:_a.Suffix},u),T=S.createElement("span",{className:_a.Text},w),_=S.createElement("span",{className:_a.Content},b,T,x,C),P=g?S.createElement(op.ScrollTo,null):null,F=a?S.createElement(od,{id:e,url:d?null:a,className:m,external:f,"aria-label":n,onClick:d?null:o,role:v},_):S.createElement("button",{id:e,type:"button",className:m,disabled:d,"aria-label":n,onClick:o,onMouseUp:Im,role:v},_);return S.createElement(S.Fragment,null,P,F)}var Rve={Box:"Polaris-Box"};const vd=k.forwardRef(({as:e="div",background:t,border:r,borderBlockEnd:n,borderInlineStart:i,borderInlineEnd:a,borderBlockStart:o,borderWidth:s,borderBlockStartWidth:l,borderBlockEndWidth:c,borderInlineStartWidth:u,borderInlineEndWidth:d,borderRadius:f,borderRadiusEndStart:h,borderRadiusEndEnd:p,borderRadiusStartStart:g,borderRadiusStartEnd:v,children:m,color:b,id:y,minHeight:w,minWidth:x,maxWidth:C,overflowX:T,overflowY:_,padding:P,paddingBlockStart:F,paddingBlockEnd:I,paddingInlineStart:R,paddingInlineEnd:D,shadow:A,width:M},X)=>{const Y={blockEnd:n,inlineStart:i,inlineEnd:a,blockStart:o},se={endStart:h,endEnd:p,startStart:g,startEnd:v},ne={blockStart:l,blockEnd:c,inlineStart:u,inlineEnd:d},ie={blockEnd:I,inlineStart:R,inlineEnd:D,blockStart:F},ae={"--pc-box-color":b?`var(--p-${b})`:void 0,"--pc-box-background":t?`var(--p-${t})`:void 0,"--pc-box-border":r?`var(--p-border-${r})`:void 0,"--pc-box-border-block-end":Y.blockEnd?`var(--p-border-${Y.blockEnd})`:void 0,"--pc-box-border-inline-start":Y.inlineStart?`var(--p-border-${Y.inlineStart})`:void 0,"--pc-box-border-inline-end":Y.inlineEnd?`var(--p-border-${Y.inlineEnd})`:void 0,"--pc-box-border-block-start":Y.blockStart?`var(--p-border-${Y.blockStart})`:void 0,"--pc-box-border-radius":f?`var(--p-border-radius-${f})`:void 0,"--pc-box-border-radius-end-start":se.endStart?`var(--p-border-radius-${se.endStart})`:void 0,"--pc-box-border-radius-end-end":se.endEnd?`var(--p-border-radius-${se.endEnd})`:void 0,"--pc-box-border-radius-start-start":se.startStart?`var(--p-border-radius-${se.startStart})`:void 0,"--pc-box-border-radius-start-end":se.startEnd?`var(--p-border-radius-${se.startEnd})`:void 0,"--pc-box-border-width":s?`var(--p-border-width-${s})`:void 0,"--pc-box-border-block-start-width":ne.blockStart?`var(--p-border-width-${ne.blockStart})`:void 0,"--pc-box-border-block-end-width":ne.blockEnd?`var(--p-border-width-${ne.blockEnd})`:void 0,"--pc-box-border-inline-start-width":ne.inlineStart?`var(--p-border-width-${ne.inlineStart})`:void 0,"--pc-box-border-inline-end-width":ne.inlineEnd?`var(--p-border-width-${ne.inlineEnd})`:void 0,"--pc-box-min-height":w,"--pc-box-min-width":x,"--pc-box-max-width":C,"--pc-box-overflow-x":T,"--pc-box-overflow-y":_,"--pc-box-padding":P?`var(--p-space-${P})`:void 0,"--pc-box-padding-block-end":ie.blockEnd?`var(--p-space-${ie.blockEnd})`:void 0,"--pc-box-padding-inline-start":ie.inlineStart?`var(--p-space-${ie.inlineStart})`:void 0,"--pc-box-padding-inline-end":ie.inlineEnd?`var(--p-space-${ie.inlineEnd})`:void 0,"--pc-box-padding-block-start":ie.blockStart?`var(--p-space-${ie.blockStart}
49)`:void 0,"--pc-box-shadow":A?`var(--p-shadow-${A})`:void 0,"--pc-box-width":M},ce=Ve(Rve.Box);return k.createElement(e,{className:ce,id:y,ref:X,style:Wge(ae)},m)});vd.displayName="Box";function Fve({section:e,hasMultipleSections:t,actionRole:r,onActionAnyItem:n}){const i=u=>()=>{u&&u(),n&&n()},a=e.items.map(({content:u,helpText:d,onAction:f,...h},p)=>S.createElement("li",{key:`${u}-${p}`,role:r==="menuitem"?"presentation":void 0},S.createElement(IJ,Object.assign({content:u,helpText:d,role:r,onAction:i(f)},h)))),o=e.title?void 0:_a["Section-withoutTitle"],s=e.title?S.createElement(vd,{paddingBlockStart:"4",paddingInlineStart:"4",paddingBlockEnd:"2",paddingInlineEnd:"4"},S.createElement(qe,{as:"p",variant:"headingXs"},e.title)):null;let l;switch(r){case"option":l="presentation";break;case"menuitem":l=t?"presentation":"menu";break;default:l=void 0;break}const c=S.createElement("div",{className:o},s,S.createElement("ul",{className:_a.Actions,role:l,tabIndex:t?void 0:-1},a));return t?S.createElement("li",{className:_a.Section,role:"presentation"},c):c}function ac({items:e,sections:t=[],actionRole:r,onActionAnyItem:n}){let i=[];const a=k.useRef(null);e?i=[{items:e},...t]:t&&(i=t);const o=Ve(_a.ActionList),s=i.length>1,l=s?"ul":"div",c=s&&r==="menuitem"?"menu":void 0,u=s&&r==="menuitem"?-1:void 0,d=i.map((g,v)=>g.items.length>0?S.createElement(Fve,{key:g.title||v,section:g,hasMultipleSections:s,actionRole:r,onActionAnyItem:n}):null),f=g=>{g.preventDefault(),a.current&&g.target&&a.current.contains(g.target)&&lve(a.current,g.target)},h=g=>{g.preventDefault(),a.current&&g.target&&a.current.contains(g.target)&&cve(a.current,g.target)},p=r==="menuitem"?S.createElement(S.Fragment,null,S.createElement(Xl,{keyEvent:"keydown",keyCode:mo.DownArrow,handler:h}),S.createElement(Xl,{keyEvent:"keydown",keyCode:mo.UpArrow,handler:f})):null;return S.createElement(l,{ref:a,className:o,role:c,tabIndex:u},p,d)}ac.Item=IJ;function uP({id:e,children:t,className:r,url:n,external:i,download:a,submit:o,disabled:s,loading:l,pressed:c,accessibilityLabel:u,role:d,ariaControls:f,ariaExpanded:h,ariaDescribedBy:p,ariaChecked:g,onClick:v,onFocus:m,onBlur:b,onKeyDown:y,onKeyPress:w,onKeyUp:x,onMouseEnter:C,onTouchStart:T,..._}){let P;const F={id:e,className:r,"aria-label":u},I={...F,role:d,onClick:v,onFocus:m,onBlur:b,onMouseUp:Im,onMouseEnter:C,onTouchStart:T},R=SJ(s,v);return n?P=s?S.createElement("a",F,t):S.createElement(od,Object.assign({},I,{url:n,external:i,download:a},_),t):P=S.createElement("button",Object.assign({},I,{"aria-disabled":s,type:o?"submit":"button","aria-busy":l?!0:void 0,"aria-controls":f,"aria-expanded":h,"aria-describedby":p,"aria-checked":g,"aria-pressed":c,onKeyDown:y,onKeyUp:x,onKeyPress:w,onClick:R,tabIndex:s?-1:void 0},_),t),P}const YO="medium";function vr({id:e,children:t,url:r,disabled:n,external:i,download:a,submit:o,loading:s,pressed:l,accessibilityLabel:c,role:u,ariaControls:d,ariaExpanded:f,ariaDescribedBy:h,ariaChecked:p,onClick:g,onFocus:v,onBlur:m,onKeyDown:b,onKeyPress:y,onKeyUp:w,onMouseEnter:x,onTouchStart:C,onPointerDown:T,icon:_,primary:P,outline:F,destructive:I,disclosure:R,plain:D,monochrome:A,removeUnderline:M,size:X=YO,textAlign:Y,fullWidth:se,connectedDisclosure:ne,dataPrimaryLink:ie}){const ae=Yr(),ce=n||s,ke=Ve(Mr.Button,P&&Mr.primary,F&&Mr.outline,I&&Mr.destructive,ce&&Mr.disabled,s&&Mr.loading,D&&Mr.plain,l&&!n&&!r&&Mr.pressed,A&&Mr.monochrome,X&&X!==YO&&Mr[Ln("size",X)],Y&&Mr[Ln("textAlign",Y)],se&&Mr.fullWidth,_&&t==null&&Mr.iconOnly,ne&&Mr.connectedDisclosure,M&&Mr.removeUnderline),ge=R?S.createElement("span",{className:Mr.Icon},S.createElement("div",{className:Ve(Mr.DisclosureIcon,s&&Mr.hidden)},S.createElement(bn,{source:s?"placeholder":Nve(R)}))):null,De=Dve(_)?S.createElement(bn,{source:s?"placeholder":_}):_,Ne=De?S.createElement("span",{className:Ve(Mr.Icon,s&&Mr.hidden)},De):null,We=t?S.createElement("span",{className:Ve(Mr.Text,M&&Mr.removeUnderline),key:n?"text-disabled":"text"},t):null,z=s?S.createElement("span",{className:Mr.Spinner},S.createElement(lf,{size:"small",accessibilityLabel:ae.translate("Polaris.Button.spinnerAccessibilityLabel")})):null,[J,j]=k.useState(!1),q=k.useCallback(()=>{j(V=>!V)},[]),G=SJ(n,q);let N;if(ne){const V=Ve(Mr.Button,P&&Mr.primary,F&&Mr.outline,X&&X!==YO&&Mr[Ln("size",X)],Y&&Mr[Ln("textAlign",Y)],I&&Mr.destructive,ne.disabled&&Mr.disabled,Mr.iconOnly,Mr.ConnectedDisclosure,A&&Mr.monochrome),de=ae.translate("Polaris.Button.connectedDisclosureAcce
49ssibilityLabel"),{disabled:Pe,accessibilityLabel:ze=de}=ne,Se=S.createElement("button",{type:"button",className:V,"aria-disabled":Pe,"aria-label":ze,"aria-describedby":h,"aria-checked":p,onClick:G,onMouseUp:Im,tabIndex:Pe?-1:void 0},S.createElement("span",{className:Mr.Icon},S.createElement(bn,{source:y5})));N=S.createElement(hi,{active:J,onClose:q,activator:Se,preferredAlignment:"right"},S.createElement(ac,{items:ne.actions,onActionAnyItem:q}))}const O={id:e,className:ke,accessibilityLabel:c,ariaDescribedBy:h,role:u,onClick:g,onFocus:v,onBlur:m,onMouseUp:Im,onMouseEnter:x,onTouchStart:C,"data-primary-link":ie},oe={url:r,external:i,download:a},Z={submit:o,disabled:ce,loading:s,ariaControls:d,ariaExpanded:f,ariaChecked:p,pressed:l,onKeyDown:b,onKeyUp:w,onKeyPress:y,onPointerDown:T},B=S.createElement(uP,Object.assign({},O,oe,Z),S.createElement("span",{className:Mr.Content},z,Ne,We,ge));return N?S.createElement("div",{className:Mr.ConnectedDisclosureWrapper},B,N):B}function Dve(e){return typeof e=="string"||typeof e=="object"&&e.body||typeof e=="function"}function Nve(e){return e==="select"?pJ:e==="up"?uJ:y5}function _v(e,t={}){return Array.isArray(e)?e.map((r,n)=>qh(r,t,n)):qh(e,t)}function qh({content:e,onAction:t,...r},n,i){return S.createElement(vr,Object.assign({key:i,onClick:t},r,n),e)}var Kp={ButtonGroup:"Polaris-ButtonGroup",Item:"Polaris-ButtonGroup__Item","Item-plain":"Polaris-ButtonGroup__Item--plain",segmented:"Polaris-ButtonGroup--segmented","Item-focused":"Polaris-ButtonGroup__Item--focused",fullWidth:"Polaris-ButtonGroup--fullWidth",extraTight:"Polaris-ButtonGroup--extraTight",tight:"Polaris-ButtonGroup--tight",loose:"Polaris-ButtonGroup--loose"};function Mve({button:e}){const{value:t,setTrue:r,setFalse:n}=Co(!1),i=Ve(Kp.Item,t&&Kp["Item-focused"],e.props.plain&&Kp["Item-plain"]);return S.createElement("div",{className:i,onFocus:r,onBlur:n},e)}function Jc({children:e,spacing:t,segmented:r,fullWidth:n,connectedTop:i}){const a=Ve(Kp.ButtonGroup,t&&Kp[t],r&&Kp.segmented,n&&Kp.fullWidth),o=wJ(e).map((s,l)=>S.createElement(Mve,{button:s,key:l}));return S.createElement("div",{className:a,"data-buttongroup-segmented":r,"data-buttongroup-connected-top":i,"data-buttongroup-full-width":n},o)}var Jf={Stack:"Polaris-Stack",Item:"Polaris-Stack__Item",noWrap:"Polaris-Stack--noWrap",spacingNone:"Polaris-Stack--spacingNone",spacingExtraTight:"Polaris-Stack--spacingExtraTight",spacingTight:"Polaris-Stack--spacingTight",spacingBaseTight:"Polaris-Stack--spacingBaseTight",spacingLoose:"Polaris-Stack--spacingLoose",spacingExtraLoose:"Polaris-Stack--spacingExtraLoose",distributionLeading:"Polaris-Stack--distributionLeading",distributionTrailing:"Polaris-Stack--distributionTrailing",distributionCenter:"Polaris-Stack--distributionCenter",distributionEqualSpacing:"Polaris-Stack--distributionEqualSpacing",distributionFill:"Polaris-Stack--distributionFill",distributionFillEvenly:"Polaris-Stack--distributionFillEvenly",alignmentLeading:"Polaris-Stack--alignmentLeading",alignmentTrailing:"Polaris-Stack--alignmentTrailing",alignmentCenter:"Polaris-Stack--alignmentCenter",alignmentFill:"Polaris-Stack--alignmentFill",alignmentBaseline:"Polaris-Stack--alignmentBaseline",vertical:"Polaris-Stack--vertical","Item-fill":"Polaris-Stack__Item--fill"};function RJ({children:e,fill:t}){const r=Ve(Jf.Item,t&&Jf["Item-fill"]);return S.createElement("div",{className:r},e)}const je=k.memo(function({children:t,vertical:r,spacing:n,distribution:i,alignment:a,wrap:o}){const s=Ve(Jf.Stack,r&&Jf.vertical,n&&Jf[Ln("spacing",n)],i&&Jf[Ln("distribution",i)],a&&Jf[Ln("alignment",a)],o===!1&&Jf.noWrap),l=wJ(t).map((c,u)=>ay(c,RJ,{key:u}));return S.createElement("div",{className:s},l)});je.Item=RJ;function FJ({children:e,title:t,actions:r}){const n=r?S.createElement(Jc,null,_v(r,{plain:!0})):null,i=k.isValidElement(t)?t:S.createElement(qe,{variant:"headingMd",as:"h2"},t),a=n||e?S.createElement(je,{alignment:"baseline"},S.createElement(je.Item,{fill:!0},i),n,e):i;return S.createElement("div",{className:zs.Header},a)}function DJ({children:e,title:t,subdued:r,flush:n,fullWidth:i,actions:a,hideOnPrint:o}){const s=Ve(zs.Section,n&&zs["Section-flush"],r&&zs["Section-subdued"],i&&zs["Section-fullWidth"],o&&zs["Section-hideOnPrint"]),l=a?S.createElement(Jc,null,_v(a,{plain:!0})):null,c=typeof t=="string"?S.createElement(qe,{variant:"headingSm",as:"h3"},t):t,u=c||l?S.createElement("div",{className:zs.SectionHeader},l?S.createElement(je,{alignment:"baseline"},S.createElement(je.Item,{fill:!0},c),l):c):null;return S.createElement("div",{className:s},u,e)}function Lve({children:e}){return S.createElement("div",{className:zs.Subsection},e)}const Vi=function({children:t,hideOnPrint:r,title:n,subdued:i,sectioned:a,actions:o,primaryFooterAction:s,secondaryFooterActions:l,secondaryFooterActionsDisclosureText:c,footerActionAlignment:u="right"}){const d=Yr(),{value:f,toggle:h}=Co(!1),p=Ve(zs.Card,i&&zs.subdued,r&&zs.hideOnPrint),g=n||o?S.createElement(FJ,{actions:o,title:n}):null,v=a?S.createElement(DJ,null,t):t,m=s?qh(s,{primary:!0}):null;let b=null;l&&l.length&&(l.length===1?b=qh(l[0]):b=S.createElement(S.Fragment,null,S.createElement(hi,{active:f,activator:S.createElement(vr,{disclosure:!0,onClick:h},c||d.translate("Polaris.Common.more")),onClose:h},S.createElement(ac,{items:l}))));const y=m||b?S.createElement("div",{className:Ve(zs.Footer,u==="left"&&zs.LeftJustified)},u==="right"?S.createElement(Jc,null,b,m):S.createElement(Jc,null,m,b)):null;return S.createElement(Jw.Provider,{value:!0},S.createElement("div",{className:p},g,v,y))};Vi.Header=FJ;Vi.Section=DJ;Vi.Subsection=Lve;var xc={Avatar:"Polaris-Avatar",Text:"Polaris-Avatar__Text",long:"Polaris-Avatar--long",shapeRound:"Polaris-Avatar--shapeRound",shapeSquare:"Polaris-Avatar--shapeSquare",hidden:"Polaris-Avatar--hidden",sizeExtraSmall:"Polaris-Avatar--sizeExtraSmall",sizeSmall:"Polaris-Avatar--sizeSmall",sizeMedium:"Polaris-Avatar--sizeMedium",sizeLarge:"Polaris-Avatar--sizeLarge",styleOne:"Polaris-Avatar--styleOne",styleTwo:"Polaris-Avatar--styleTwo",styleThree:"Polaris-Avatar--styleThree",styleFour:"Polaris-Avatar--styleFour",styleFive:"Polaris-Avatar--styleFive",imageHasLoaded:"Polaris-Avatar--imageHasLoaded",Image:"Polaris-Avatar__Image",Initials:"Polaris-Avatar__Initials",Svg:"Polaris-Avatar__Svg"};function Wh({alt:e,sourceSet:t,source:r,crossOrigin:n,onLoad:i,className:a,...o}){const s=t?t.map(({source:c,descriptor:u})=>`${c} ${u}`).join(","):null,l=k.useCallback(()=>{i&&i()},[i]);return S.createElement("img",Object.assign({alt:e,src:r,crossOrigin:n,className:a,onLoad:l},s?{srcSet:s}:{},o))}var Ru;(function(e){e.Pending="PENDING",e.Loaded="LOADED",e.Errored="ERRORED"})(Ru||(Ru={}));const $O=["one","two","three","four","five"];function Bve(e){let t=0;for(const r of e)t^=r.charCodeAt(0);return t}function Uve(e){return e?$O[Bve(e)%$O.length]:$O[0]}function TF({name:e,source:t,onError:r,initials:n,customer:i,size:a="medium",shape:o="roun
49d",accessibilityLabel:s}){const l=Yr(),c=ex(),[u,d]=k.useState(Ru.Pending);k.useEffect(()=>{d(Ru.Pending)},[t]);const f=k.useCallback(()=>{d(Ru.Errored),r&&r()},[r]),h=k.useCallback(()=>{d(Ru.Loaded)},[]),p=t&&u!==Ru.Errored,g=e||n;let v;if(s)v=s;else if(e)v=e;else if(n){const _=n.split("").join(" ");v=l.translate("Polaris.Avatar.labelWithInitials",{initials:_})}else v=l.translate("Polaris.Avatar.label");const m=Ve(xc.Avatar,a&&xc[Ln("size",a)],p&&u===Ru.Loaded&&xc.imageHasLoaded,o&&xc[Ln("shape",o)],!i&&!t&&xc[Ln("style",Uve(g))]),b=Ve(xc.Text,((n==null?void 0:n.length)||0)>2&&xc.long),y=Ve(xc.Image,u!==Ru.Loaded&&xc.hidden),w=t&&c&&u!==Ru.Errored?S.createElement(Wh,{className:y,source:t,alt:"",role:"presentation",onLoad:h,onError:f}):null,C=i||!n?S.createElement("path",{fill:"currentColor",d:"M8.28 27.5A14.95 14.95 0 0120 21.8c4.76 0 8.97 2.24 11.72 5.7a14.02 14.02 0 01-8.25 5.91 14.82 14.82 0 01-6.94 0 14.02 14.02 0 01-8.25-5.9zM13.99 12.78a6.02 6.02 0 1112.03 0 6.02 6.02 0 01-12.03 0z"}):S.createElement("text",{className:b,x:"50%",y:"50%",dy:"0.35em",fill:"currentColor",textAnchor:"middle"},n),T=p?null:S.createElement("span",{className:xc.Initials},S.createElement("svg",{className:xc.Svg,viewBox:"0 0 40 40"},C));return S.createElement("span",{"aria-label":v,role:"img",className:m},T,w)}var b9={ActionMenu:"Polaris-ActionMenu"},zve={RollupActivator:"Polaris-ActionMenu-RollupActions__RollupActivator"};function Hve({accessibilityLabel:e,items:t=[],sections:r=[]}){const n=Yr(),{value:i,toggle:a}=Co(!1);if(t.length===0&&r.length===0)return null;const o=S.createElement("div",{className:zve.RollupActivator},S.createElement(vr,{outline:!0,icon:hJ,accessibilityLabel:e||n.translate("Polaris.ActionMenu.RollupActions.rollupButton"),onClick:a}));return S.createElement(hi,{active:i,activator:o,preferredAlignment:"right",onClose:a,hideOnPrint:!0},S.createElement(ac,{items:t,sections:r,onActionAnyItem:a}))}var qve={ActionsLayout:"Polaris-ActionMenu-Actions__ActionsLayout"},Wve={Details:"Polaris-ActionMenu-MenuGroup__Details"},S9={SecondaryAction:"Polaris-ActionMenu-SecondaryAction",destructive:"Polaris-ActionMenu-SecondaryAction--destructive"},K2={TooltipOverlay:"Polaris-Tooltip-TooltipOverlay",measuring:"Polaris-Tooltip-TooltipOverlay--measuring",positionedAbove:"Polaris-Tooltip-TooltipOverlay--positionedAbove",Content:"Polaris-Tooltip-TooltipOverlay__Content"};function Vve({active:e,activator:t,preferredPosition:r="below",preventInteraction:n,id:i,children:a,accessibilityLabel:o}){const s=Yr();return e?S.createElement(TJ,{active:e,activator:t,preferredPosition:r,preventInteraction:n,render:c}):null;function c(u){const{measuring:d,desiredHeight:f,positioning:h}=u,p=Ve(K2.TooltipOverlay,d&&K2.measuring,h==="above"&&K2.positionedAbove),g=d?void 0:{minHeight:f};return S.createElement("div",Object.assign({className:p},zk.props),S.createElement("div",{id:i,role:"tooltip",className:K2.Content,style:g,"aria-label":o?s.translate("Polaris.TooltipOverlay.accessibilityLabel",{label:o}):void 0},a))}}function Rm({children:e,content:t,dismissOnMouseOut:r,active:n,preferredPosition:i="below",activatorWrapper:a="span",accessibilityLabel:o,onOpen:s,onClose:l}){const c=a,{value:u,setTrue:d,setFalse:f}=Co(!!n),[h,p]=k.useState(null),g=ni("TooltipContent"),v=k.useRef(null),m=k.useRef(!1);k.useEffect(()=>{const P=(v.current?gJ(v.current):null)||v.current;P&&(P.tabIndex=0,P.setAttribute("aria-describedby",g),P.setAttribute("data-polaris-tooltip-activator","true"))},[g,e]);const b=k.useCallback(_=>{_.key==="Escape"&&(l==null||l(),f())},[f,l]),y=h?S.createElement(cP,{idPrefix:"tooltip"},S.createElement(Vve,{id:g,preferredPosition:i,activator:h,active:u,accessibilityLabel:o,onClose:jve,preventInteraction:r},t)):null;return S.createElement(c,{onFocus:()=>{s==null||s(),d()},onBlur:()=>{l==null||l(),f()},onMouseLeave:C,onMouseOver:T,ref:w,onKeyUp:b},e,y);function w(_){const P=v;if(_==null){P.current=null,p(null);return}_.firstElementChild instanceof HTMLElement&&p(_.firstElementChild),P.current=_}function x(){m.current=!0,s==null||s(),d()}function C(){m.current=!1,l==null||l(),f()}function T(){!m.current&&x()}}function jve(){}function _F({children:e,destructive:t,helpText:r,onAction:n,getOffsetWidth:i,...a}){const o=k.useRef(null);k.useEffect(()=>{var c;!i||!o.current||i((c=o.current)===null||c===void 0?void 0:c.offsetWidth)},[i]);const s=S.createElement(vr,Object.assign({onClick:n},a),e),l=r?S.createElement(Rm,{content:r},s):s;return S.createElement("span",{className:Ve(S9.SecondaryAction,t&&S9.destructive),ref:o},l)}function XO({accessibilityLabel:e,active:t,actions:r,details:n,title:i,icon:a,disabled:o,onClick:s,onClose:l,onOpen:c,getOffsetWidth:u,sections:d}){const f=k.useCallback(()=>
49{l(i)},[l,i]),h=k.useCallback(()=>{c(i)},[c,i]),p=k.useCallback(()=>{s?s(h):h()},[s,h]),g=k.useCallback(m=>{u&&u(m)},[u]),v=S.createElement(_F,{disclosure:!0,disabled:o,icon:a,accessibilityLabel:e,onClick:p,getOffsetWidth:g},i);return S.createElement(hi,{active:!!t,activator:v,preferredAlignment:"left",onClose:f,hideOnPrint:!0},S.createElement(ac,{items:r,sections:d,onActionAnyItem:f}),n&&S.createElement("div",{className:Wve.Details},n))}const w9=8;function Gve({actions:e=[],groups:t=[],onActionRollup:r}){const n=Yr(),i=k.useRef(null),a=k.useRef(0),o=k.useRef(0),s=k.useRef(0),l=k.useRef(0),c=k.useRef([]),u=k.useRef(null),[d,f]=k.useState(void 0),[h,p]=k.useState({showable:[],rolledUp:[]}),g={title:n.translate("Polaris.ActionMenu.Actions.moreActions"),actions:[]},v=[...t].pop(),m=[...c.current].pop()||0,b=k.useCallback(D=>{c.current=[...c.current,D]},[]),y=k.useCallback(D=>f(d?void 0:D),[d]),w=k.useCallback(()=>f(void 0),[]),x=k.useCallback(()=>{let D=[...e,...t];t.length>0&&(D=[...D].slice(0,D.length-1)),p(A=>{const M=D.slice(0,A.showable.length),X=D.slice(A.showable.length,D.length);return{showable:M,rolledUp:X}})},[e,t]),C=k.useCallback(()=>{if(c.current.length===0||o.current===0)return;const D=[...e,...t];if(D.length===1){p({showable:D,rolledUp:[]});return}let A=o.current,M=[],X=[];if(D.forEach((Y,se)=>{if(c.current[se]+a.current+w9+m<=A)A-=c.current[se]+w9*2,M=[...M,Y];else{if(A=0,Y===v)return;X=[...X,Y]}}),r){const Y=M.length<D.length-1;u.current!==Y&&(r(Y),u.current=Y)}p({showable:M,rolledUp:X}),l.current+=1,s.current=D.length},[e,t,v,m,r]),T=k.useMemo(()=>rl(()=>{i.current&&(o.current=i.current.offsetWidth,l.current=0,C())},50,{leading:!1,trailing:!0}),[C]);ege("resize",T),k.useLayoutEffect(()=>{if(i.current){if(o.current=i.current.offsetWidth,l.current>=2&&[...e,...t].length===s.current){x();return}C()}},[e,t,C,x]);const _=e.map(D=>{if(h.showable.length>0||h.rolledUp.includes(D))return null;const{content:A,onAction:M,...X}=D;return S.createElement(_F,Object.assign({key:A,onClick:M},X,{getOffsetWidth:b}),A)}),P=h.showable.length>0?h.showable.map(D=>D.content&&S.createElement(_F,Object.assign({key:D.content},D,{getOffsetWidth:b}),D.content)):null,I=[...t,g].filter(D=>t.length===0?D:D===v||!h.rolledUp.some(A=>x9(A)&&A.title===D.title)).map(D=>{const{title:A,actions:M,...X}=D,Y=D===g,se=D===v,[ne,ie]=h.rolledUp.reduce(([ae,ce],ke)=>(x9(ke)?ce.push({title:ke.title,items:ke.actions.map(ge=>({...ge,disabled:ke.disabled||ge.disabled}))}):ae.push(ke),[ae,ce]),[[],[]]);if(!Y&&!se)return S.createElement(XO,Object.assign({key:A,title:A,active:A===d,actions:M},X,{onOpen:y,onClose:w,getOffsetWidth:b}));if(!Y&&se)return S.createElement(XO,Object.assign({key:A,title:A,active:A===d,actions:[...ne,...M],sections:ie},X,{onOpen:y,onClose:w,getOffsetWidth:b}));if(Y&&t.length===0&&ne.length)return S.createElement(XO,Object.assign({key:A,title:A,active:A===d,actions:ne,sections:ie},X,{onOpen:y,onClose:w,getOffsetWidth:b}))}),R=S.createElement(Jc,{spacing:"extraTight"},P,_,I);return S.createElement("div",{className:qve.ActionsLayout,ref:i},R)}function x9(e){return"title"in e}function Kve({actions:e=[],groups:t=[],rollup:r,rollupActionsLabel:n,onActionRollup:i}){if(e.length===0&&t.length===0)return null;const a=Ve(b9.ActionMenu,r&&b9.rollup),o=t.map(s=>Yve(s));return S.createElement("div",{className:a},r?S.createElement(Hve,{accessibilityLabel:n,items:e,sections:o}):S.createElement(Gve,{actions:e,groups:t,onActionRollup:i}))}function Zve(e=[]){return e.length===0?!1:e.some(t=>t.actions.length>0)}function Yve({title:e,actions:t,disabled:r}){return{title:e,items:t.map(n=>({...n,disabled:r||n.disabled}))}}function PF(e){return typeof e[0]=="object"&&Object.prototype.hasOwnProperty.call(e[0],"options")}var $ve={SectionWrapper:"Polaris-Autocomplete__SectionWrapper"},Z2={Content:"Polaris-Autocomplete-MappedOption__Content",Media:"Polaris-Autocomplete-MappedOption__Media",singleSelectionMedia:"Polaris-Autocomplete-MappedOption--singleSelectionMedia",disabledMedia:"Polaris-Autocomplete-MappedOption--disabledMedia"},Xve={Listbox:"Polaris-Listbox"};const NJ=k.createContext(void 0),MJ=k.createContext({}),LJ=k.createContext({});function Qve(){const e=k.useContext(NJ);if(!e)throw new Error("No Combobox was provided. Your component must be wrapped in a <Combobox> component.");return e}function Jve(){return k.useContext(MJ)}function eye(e,t){const r=t.scrollTop,n=r+t.clientHeight,{offsetHeight:i}=e,{offsetTop:a}=e,o=a+i;if(!(a>r&&o<n)){let l=0;o>n?l=o+i*.85-n:a<r&&(l=a-i*.15-r),requestAnimationFrame(()=>{t.scrollBy({top:l,behavior:"auto"})})}}const BJ=k.createContext(void 0),UJ=k.createContext(!1),C5=k.createContext(!1);var kp={TextOption:"Polaris-Listbox-TextOption",allowMultiple:"Polaris-Listbox-TextOption--allowMultiple",isAction:"Polaris-Listbox-TextOption--isAction",selected:"Polaris-Listbox-TextOption--selected",disabled:"Polaris-Listbox-TextOption--disabled",Content:"Polaris-Listbox-TextOption__Content",Checkbox:"Polaris-Listbox-TextOption__Checkbox"},Of={Checkbox:"Polaris-Checkbox",Input:"Polaris-Checkbox__Input",keyFocused:"Polaris-Checkbox--keyFocused",Backdrop:"Polaris-Checkbox__Backdrop","Input-indeterminate":"Polaris-Checkbox__Input--indeterminate",Icon:"Polaris-Checkbox__Icon",hover:"Polaris-Checkbox--hover",error:"Polaris-Checkbox--error"},If={Choice:"Polaris-Choice",labelHidden:"Polaris-Choice--labelHidden",Label:"Polaris-Choice__Label",Control:"Polaris-Choice__Control",disabled:"Polaris-Choice--disabled",Descriptions:"Polaris-Choice__Descriptions",HelpText:"Polaris-Choice__HelpText"},C9={InlineError:"Polaris-InlineError",Icon:"Polaris-InlineError__Icon"};function su({message:e,fieldID:t}){return e?S.createElement("div",{id:zJ(t),className:C9.InlineError},S.createElement("div",{className:C9.Icon},S.createElement(bn,{source:CF})),e):null}function zJ(e){return`${e}Error`}function HJ({id:e,label:t,disabled:r,error:n,children:i,labelHidden:a,helpText:o,onClick:s,onMouseOut:l,onMouseOver:c}){const u=Ve(If.Choice,a&&If.labelHidden,r&&If.disabled),d=S.createElement("label",{className:u,htmlFor:e,onClick:s,onMouseOver:c,onMouseOut:l},S.createElement("span",{className:If.Control},i),S.createElement("span",{className:If.Label},S.createElement(qe,{as:"span",variant:"bodyMd"},t))),f=o?S.createElement("div",{className:If.HelpText,id:E5(e)},S.createElement(qe,{as:"span",variant:"bodyMd",color:"subdued"},o)):null,h=n&&typeof n!="boolean"&&S.createElement("div",{className:If.Error},S.createElement(su,{message:n,fieldID:e})),p=f||h?S.createElement("div",{className:If.Descriptions},h,f):null;return p?S.createElement("div",null,d,p):d}function E5(e){return`${e}HelpText`}
49const oy=k.forwardRef(function({ariaControls:t,ariaDescribedBy:r,label:n,labelHidden:i,checked:a=!1,helpText:o,disabled:s,id:l,name:c,value:u,error:d,onChange:f,onFocus:h,onBlur:p},g){const v=k.useRef(null),m=ni("Checkbox",l),{value:b,setTrue:y,setFalse:w}=Co(!1),[x,C]=k.useState(!1),T=k.useContext(UJ);k.useImperativeHandle(g,()=>({focus:()=>{v.current&&v.current.focus()}}));const _=()=>{p&&p(),C(!1)},P=ie=>{const{keyCode:ae}=ie;(ae===mo.Space||ae===mo.Tab)&&!x&&C(!0)},F=()=>{f==null||v.current==null||s||(f(v.current.checked,m),v.current.focus())},I=[];d&&typeof d!="boolean"&&I.push(zJ(m)),o&&I.push(E5(m)),r&&I.push(r);const R=I.length?I.join(" "):void 0,D=Ve(Of.Checkbox,d&&Of.error),A=Ve(Of.Backdrop,b&&Of.hover),M=a==="indeterminate",X=!M&&!!a,Y=M?{indeterminate:"true","aria-checked":"mixed"}:{"aria-checked":X},se=M?Xge:mJ,ne=Ve(Of.Input,M&&Of["Input-indeterminate"],x&&Of.keyFocused);return S.createElement(HJ,{id:m,label:n,labelHidden:i,helpText:o,error:d,disabled:s,onMouseOver:y,onMouseOut:w},S.createElement("span",{className:D},S.createElement("input",Object.assign({ref:v,id:m,name:c,value:u,type:"checkbox",checked:X,disabled:s,className:ne,onBlur:_,onChange:tye,onClick:F,onFocus:h,onKeyUp:P,"aria-invalid":d!=null,"aria-controls":t,"aria-describedby":R,role:T?"presentation":"checkbox"},Y)),S.createElement("span",{className:A,onClick:E9,onKeyUp:E9}),S.createElement("span",{className:Of.Icon},S.createElement(bn,{source:se}))))});function tye(){}function E9(e){e.stopPropagation()}const k5=k.memo(function({children:t,selected:r,disabled:n}){const{allowMultiple:i}=k.useContext(LJ),a=k.useContext(C5),o=Ve(kp.TextOption,r&&!i&&kp.selected,n&&kp.disabled,i&&kp.allowMultiple,a&&kp.isAction);return S.createElement("div",{className:o},S.createElement("div",{className:kp.Content},i&&!a?S.createElement("div",{className:kp.Checkbox},S.createElement(oy,{disabled:n,checked:r,label:t})):t))});var k9={ListItem:"Polaris-Listbox-Loading__ListItem",Loading:"Polaris-Listbox-Loading"};function qJ(){const e=k.useContext(BJ);if(!e)throw new Error("No Listbox was provided. Listbox components must be wrapped in a Listbox");return e}const rye=k.memo(function({children:t,accessibilityLabel:r}){const{setLoading:n}=qJ();return k.useEffect(()=>(n(r),()=>{n(void 0)}),[r,n]),S.createElement("li",{className:k9.ListItem,role:"presentation"},t||S.createElement("div",{className:k9.Loading},S.createElement(lf,{size:"small",accessibilityLabel:r})))}),nye={props:{"data-polaris-listbox-section-item":!0}},iye={attribute:"data-polaris-listbox-within-section-item"},WJ=k.createContext(null);var T9={SectionGroup:"Polaris-Listbox-Section__SectionGroup",noDivider:"Polaris-Listbox-Section--noDivider"};function aye({children:e,divider:t=!0,title:r}){const n=ni("ListboxSection");return S.createElement(WJ.Provider,{value:n},S.createElement("li",Object.assign({role:"presentation"},nye.props),r,S.createElement("ul",{role:"group","aria-labelledby":n,className:Ve(T9.SectionGroup,!t&&T9.noDivider)},e)))}function VJ(){return k.useContext(WJ)}function oye({children:e}){const t=VJ()||"",r=typeof e=="string"?S.createElement(vd,{paddingBlockStart:"2",paddingInlineStart:"4",paddingBlockEnd:"2",paddingInlineEnd:"4"},S.createElement(qe,{as:"span",variant:"headingXs",color:"subdued"},e)):e;return S.createElement("div",{"aria-hidden":!0,id:t},r)}var QO={Action:"Polaris-Listbox-Action",ActionDivider:"Polaris-Listbox-Action__ActionDivider",Icon:"Polaris-Listbox-Action__Icon"},_9={Option:"Polaris-Listbox-Option",divider:"Polaris-Listbox-Option--divider"};const jJ=k.createContext({}),GJ=k.memo(function({value:t,children:r,selected:n,disabled:i=!1,accessibilityLabel:a,divider:o}){const{onOptionSelect:s}=qJ(),l=k.useContext(C5),{role:c,url:u,external:d,onAction:f,destructive:h}=k.useContext(jJ),p=k.useRef(null),g=ni("ListboxOption"),m=!!VJ(),b=k.useCallback(_=>{_.preventDefault(),_.stopPropagation(),f&&f(),p.current&&!f&&s({domId:g,value:t,element:p.current,disabled:i})},[g,s,t,i,f]),y=_=>{_.preventDefault()},w=typeof r=="string"?S.createElement(k5,{selected:n,disabled:i},r):r,x={[iye.attribute]:m},C=c||"option",T=u?S.createElement(od,{url:u,external:d},w):w;return S.createElement("li",Object.assign({},x,{"data-listbox-option":!0,"data-listbox-option-action":l,"data-listbox-option-value":t,"data-listbox-option-destructive":h,"data-within-section":m,className:Ve(_9.Option,o&&_9.divider),id:g,ref:p,tabIndex:-1,role:C,"aria-label":a,"aria-selected":n,"aria-disabled":i,onClick:i?void 0:b,onKeyDown:i?void 0:b,onMouseDown:y}),T)});function sye(e){const{selected:t,disabled:r,children:n,icon:i,divider:a}=e,o=i&&S.createElement("div",{className:QO.Icon},S.createElement(bn,{color:"subdued",source:i})),s=Ve(QO.Action,a&&QO.ActionDivider);return S.createElement(C5.Provider,{value:!0},S.createElement(GJ,e,S.createElement("div",{className:s},S.createElement(k5,{selected:t,disabled:r},o,n))))}let Zp;(function(e){e.FirstSelected="FIRST_SELECTED",e.First="FIRST",e.None="NONE"})(Zp||(Zp={}));const lye="[data-listbox-option]",JO="data-listbox-option-value",cye="data-listbox-option-action",P9="data-focused";function Fo({children:e,autoSelection:t=Zp.FirstSelected,enableKeyboardControl:r,accessibilityLabel:n,customListId:i,onSelect:a,onActiveOptionChange:o}){const[s,l]=k.useState(),[c,u]=k.useState(),[d,f]=k.useState(!1),[h,p]=k.useState([]),{value:g,setTrue:v,setFalse:m}=Co(!!r),b=ni("Listbox"),y=i||b,w=k.useRef(null),x=k.useRef(null),{listboxId:C,textFieldLabelId:T,textFieldFocused:_,willLoadMoreOptions:P,setActiveOptionId:F,setListboxI
49d:I,onOptionSelected:R,onKeyToBottom:D}=Jve(),A=!!F;k.useEffect(()=>{I&&!C&&I(y)},[I,C,y]);const M=k.useCallback(()=>x.current?[...new Set(x.current.querySelectorAll(lye))]:[],[]),X=k.useCallback(O=>{const oe=O.some(V=>V.getAttribute("aria-selected")==="true");let Z=0;const B=O.find((V,de)=>{const Pe=V.getAttribute("aria-disabled")!=="true";let ze;return oe&&t===Zp.FirstSelected?ze=V.getAttribute("aria-selected")==="true"&&Pe:ze=Pe,ze&&(Z=de),ze});if(B)return{element:B,index:Z}},[t]),Y=k.useCallback(O=>{const{current:oe}=w;oe&&eye(O.element,oe)},[]),se=rl(Y,50),ne=k.useCallback(()=>{if(D)return f(!0),Promise.resolve(D())},[D]),ie=k.useCallback(O=>{if(!O)return u(void 0);c==null||c.element.removeAttribute(P9),O.element.setAttribute(P9,"true"),se(O),u(O),F==null||F(O.domId),o==null||o(O.value,O.domId)},[c,F,o,se]),ae=k.useCallback((O,oe)=>({element:O,index:oe,domId:O.id,value:O.getAttribute(JO)||"",disabled:O.getAttribute("aria-disabled")==="true",isAction:O.getAttribute(cye)==="true"}),[]),ce=k.useCallback(()=>{var O,oe,Z;let B;const V=M(),de=X(V);if(V.length===0&&h.length>0){p(V),ie();return}if(de){const{element:at,index:rt}=de;B=ae(at,rt)}const Pe=c!==void 0&&((O=B)===null||O===void 0?void 0:O.domId)===(c==null?void 0:c.domId),ze=(c==null?void 0:c.isAction)&&((oe=B)===null||oe===void 0?void 0:oe.isAction)&&((Z=B)===null||Z===void 0?void 0:Z.value)!==(c==null?void 0:c.value),Se=h.map(at=>at.getAttribute(JO)),Me=V.map(at=>at.getAttribute(JO)),Ze=Me.length===Se.length&&Me.every((at,rt)=>Se[rt]===at),_e=Se.length!==0&&Me.length>Se.length&&Se.every((at,rt)=>Me[rt]===at);if(Ze){Pe&&ze&&(p(V),ie(B));return}if(_e){p(V);return}if(p(V),d){f(!1);return}ie(B)},[d,h,c,X,M,ae,ie]);k.useEffect(()=>{t!==Zp.None&&!s&&e&&k.Children.count(e)>0&&ce()},[e,t,c,s,ce]),k.useEffect(()=>{x.current&&(w.current=x.current.closest(oP.selector))},[]),k.useEffect(()=>{r&&!g&&v()},[r,g,v]);const ke=k.useCallback(O=>{ie(O),R&&R(),a&&a(O.value)},[ie,a,R]),ge=k.useCallback((O,oe,Z)=>{let B;return Z==="down"?O===oe?B=P?O+1:0:B=O+1:B=O===0?oe:O-1,B},[P]),De=k.useCallback(async O=>{const oe=h.length-1;let Z=(c==null?void 0:c.index)||0,B=0,V=c==null?void 0:c.element,de=-1;if(!c&&t===Zp.None){const ze=M(),Se=X(ze);return p(ze),{element:Se==null?void 0:Se.element,nextIndex:(Se==null?void 0:Se.index)||0}}for(;de++<oe;){var Pe;B=ge(Z,oe,O),V=h[B];const ze=B>=oe,Se=((Pe=V)===null||Pe===void 0?void 0:Pe.getAttribute("aria-disabled"))==="true";if(ze&&P&&await ne(),Se){Z=B,V=void 0;continue}break}return{element:V,nextIndex:B}},[t,h,c,P,ge,ne,X,M]),Ne=k.useCallback(async(O,oe)=>{oe.preventDefault();const{element:Z,nextIndex:B}=await De(O);if(!Z)return;const V=ae(Z,B);ie(V)},[ae,De,ie]),We=k.useCallback(O=>{Ne("down",O)},[Ne]),z=k.useCallback(O=>{Ne("up",O)},[Ne]),J=k.useCallback(O=>{O.preventDefault(),O.stopPropagation(),c&&ke(c)},[c,ke]),j=k.useCallback(()=>{r||v()},[r,v]),q=k.useCallback(O=>{if(O.stopPropagation(),g){const oe=X(h);if(oe){const{element:Z,index:B}=oe,V=ae(Z,B);ie(V)}}r||m()},[r,h,g,m,X,ae,ie]),G=g||_?S.createElement(S.Fragment,null,S.createElement(Xl,{keyEvent:"keydown",keyCode:mo.DownArrow,handler:We}),S.createElement(Xl,{keyEvent:"keydown",keyCode:mo.UpArrow,handler:z}),S.createElement(Xl,{keyEvent:"keydown",keyCode:mo.Enter,handler:J})):null,N=k.useMemo(()=>({onOptionSelect:ke,setLoading:l}),[ke]);return S.createElement(S.Fragment,null,G,S.createElement(qe,{variant:"bodySm",as:"span",visuallyHidden:!0},S.createElement("div",{"aria-live":"polite"},s||null)),S.createElement(BJ.Provider,{value:N},S.createElement(UJ.Provider,{value:!0},e?S.createElement("ul",{tabIndex:0,role:"listbox",className:Xve.Listbox,"aria-label":A?void 0:n,"aria-labelledby":T,"aria-busy":!!s,"aria-activedescendant":c&&c.domId,id:y,onFocus:A?void 0:j,onBlur:A?void 0:q,ref:x},e):null)))}Fo.Option=GJ;Fo.TextOption=k5;Fo.Loading=rye;Fo.Section=aye;Fo.Header=oye;Fo.Action=sye;const uye=k.memo(function({label:t,value:r,disabled:n,media:i,selected:a,singleSelection:o}){const s=Ve(Z2.Media,n&&Z2.disabledMedia,o&&Z2.singleSelectionMedia),l=i?S.createElement("div",{className:s},i):null,c=typeof t=="string"?t:void 0;return S.createElement(Fo.Option,{accessibilityLabel:c,key:r,selected:a,value:r,disabled:n},S.createElement(Fo.TextOption,{selected:a,disabled:n},S.createElement("div",{className:Z2.Content},l,t)))});var dye={Listbox:"Polaris-Combobox__Listbox"},kn={TextField:"Polaris-TextField",multiline:"Polaris-TextField--multiline",Input:"Polaris-TextField__Input",hasValue:"Polaris-TextField--hasValue",focus:"Polaris-TextField--focus",VerticalContent:"Polaris-TextField__VerticalContent",Backdrop:"Polaris-TextField__Backdrop",error:"Polaris-TextField--error",readOnly:"Polaris-TextField--readOnly",disabled:"Polaris-TextField--disabled",Prefix:"Polaris-TextField__Prefix",suggestion:"Polaris-TextField--suggestion","Input-hasClearButton":"Polaris-TextField__Input--hasClearButton","Input-suffixed":"Polaris-TextField__Input--suffixed","Input-alignRight":"Polaris-TextField__Input--alignRight","Input-alignLeft":"Polaris-TextField__Input--alignLeft","Input-alignCenter":"Polaris-TextField__Input--alignCenter",Suffix:"Polaris-TextField__Suffix",CharacterCount:"Polaris-TextField__CharacterCount",AlignFieldBottom:"Polaris-TextField__AlignFieldBottom",ClearButton:"Polaris-TextField__ClearButton",Spinner:"Polaris-TextField__Spinner",SpinnerIcon:"Polaris-TextField__SpinnerIcon",Resizer:"Polaris-TextField__Resizer",DummyInput:"Polaris-TextField__DummyInput",Segment:"Polaris-TextField__Segment",monospaced:"Polaris-TextField--monospaced"};const fye=S.forwardRef(function({onChange:t,onClick:r,onMouseDown:n,onMouseUp:i},a){function o(l){return()=>t(l)}function s(l){return c=>{c.button===0&&n(l)}}return S.createElement("div",{className:kn.Spinner,onClick:r,"aria-hidden":!0,ref:a},S.createElement("div",{role:"button",className:kn.Segment,tabIndex:-1,onClick:o(1),onMouseDown:s(o(1)),onMouseUp:i},S.createElement("div",{className:kn.SpinnerIcon},S.createElement(bn,{source:uJ}))),S.createElement("div",{role:"button",className:kn.Segment,tabIndex:-1,onClick:o(-1),onMouseDown:s(o(-1)),onMouseUp:i},S.createElement("div",{className:kn.SpinnerIcon},S.createElement(bn,{source:y5}))))});var s1={hidden:"Polaris-Labelled--hidden",LabelWrapper:"Polaris-Labelled__LabelWrapper",HelpText:"Polaris-Labelled__HelpText",Error:"Polaris-Labelled__Error",Action:"Polaris-Labelled__Action"},Y2={Label:"Polaris-Label",hidden:"Polaris-Label--hidden",Text:"Polaris-Label__Text",RequiredIndicator:"Polaris-Label__RequiredIndicator"};function T5(e){return`${e}Label`}function dP({children:e,id:t,hidden:r,requiredIndicator:n}){const i=Ve(Y2.Label,r&&Y2.hidden);return S.createElement("div",{className:i},S.createElement("label",{id:T5(t),htmlFor:t,className:Ve(Y2.Text,n&&Y2.RequiredIndicator)},S.createElement(qe,{as:"span",variant:"bodyMd"},e)))}function _5({id:e,label:t,error:r,action:n,helpText:i,children:a,labelHidden:o,requiredIndicator:s,...l}){const c=Ve(o&&s1.hidden),u=n?S.createElement("div",{className:s1.Action},qh(n,{plain:!0})):null,d=i?S.createElement("div",{className:s1.HelpText,id:P5(e)},S.createElement(qe,{as:"span",variant:"bodyMd",color:"subdued",breakWord:!0}
49,i)):null,f=r&&typeof r!="boolean"&&S.createElement("div",{className:s1.Error},S.createElement(su,{message:r,fieldID:e})),h=t?S.createElement("div",{className:s1.LabelWrapper},S.createElement(dP,Object.assign({id:e,requiredIndicator:s},l,{hidden:!1}),t),u):null;return S.createElement("div",{className:c},h,a,f,d)}function P5(e){return`${e}HelpText`}var V1={Connected:"Polaris-Connected",Item:"Polaris-Connected__Item","Item-primary":"Polaris-Connected__Item--primary","Item-focused":"Polaris-Connected__Item--focused"};function eI({children:e,position:t}){const{value:r,setTrue:n,setFalse:i}=Co(!1),a=Ve(V1.Item,r&&V1["Item-focused"],t==="primary"?V1["Item-primary"]:V1["Item-connection"]);return S.createElement("div",{onBlur:i,onFocus:n,className:a},e)}function hye({children:e,left:t,right:r}){const n=t?S.createElement(eI,{position:"left"},t):null,i=r?S.createElement(eI,{position:"right"},r):null;return S.createElement("div",{className:V1.Connected},n,S.createElement(eI,{position:"primary"},e),i)}function pye({contents:e,currentHeight:t=null,minimumLines:r,onHeightChange:n}){const i=k.useRef(null),a=k.useRef(null),o=k.useRef(),s=k.useRef(t);t!==s.current&&(s.current=t),k.useEffect(()=>()=>{o.current&&cancelAnimationFrame(o.current)},[]);const l=r?S.createElement("div",{ref:a,className:kn.DummyInput,dangerouslySetInnerHTML:{__html:vye(r)}}):null,c=k.useCallback(()=>{o.current&&cancelAnimationFrame(o.current),o.current=requestAnimationFrame(()=>{if(!i.current||!a.current)return;const u=Math.max(i.current.offsetHeight,a.current.offsetHeight);u!==s.current&&n(u)})},[n]);return k.useLayoutEffect(()=>{c()}),S.createElement("div",{"aria-hidden":!0,className:kn.Resizer},S.createElement(id,{event:"resize",handler:c}),S.createElement("div",{ref:i,className:kn.DummyInput,dangerouslySetInnerHTML:{__html:yye(e)}}),l)}const KJ={"&":"&amp;","<":"&lt;",">":"&gt;","\n":"<br>","\r":""},mye=new RegExp(`[${Object.keys(KJ).join()}]`,"g");function gye(e){return KJ[e]}function vye(e){let t="";for(let r=0;r<e;r++)t+="<br>";return t}function yye(e){return e?`${e.replace(mye,gye)}<br>`:"<br>"}function bi({prefix:e,suffix:t,verticalContent:r,placeholder:n,value:i="",helpText:a,label:o,labelAction:s,labelHidden:l,disabled:c,clearButton:u,readOnly:d,autoFocus:f,focused:h,multiline:p,error:g,connectedRight:v,connectedLeft:m,type:b="text",name:y,id:w,role:x,step:C,autoComplete:T,max:_,maxLength:P,maxHeight:F,min:I,minLength:R,pattern:D,inputMode:A,spellCheck:M,ariaOwns:X,ariaControls:Y,ariaExpanded:se,ariaActiveDescendant:ne,ariaAutocomplete:ie,showCharacterCount:ae,align:ce,requiredIndicator:ke,monospaced:ge,selectTextOnFocus:De,suggestion:Ne,onClearButtonClick:We,onChange:z,onFocus:J,onBlur:j}){const q=Yr(),[G,N]=k.useState(null),[O,oe]=k.useState(!!h),Z=ex(),B=ni("TextField",w),V=k.useRef(null),de=k.useRef(null),Pe=k.useRef(null),ze=k.useRef(null),Se=k.useRef(null),Me=k.useRef(),Ze=k.useRef(null);k.useEffect(()=>{const K=p?de.current:V.current;!K||h===void 0||(h?K.focus():K.blur())},[h,r,p]),k.useEffect(()=>{const K=V.current;!K||!(b==="text"||b==="tel"||b==="search"||b==="url"||b==="password")||!Ne||K.setSelectionRange(i.length,Ne.length)},[O,i,b,Ne]);const _e=Ne||i,at=C??1,rt=_??1/0,ut=I??-1/0,Mt=Ve(kn.TextField,!!_e&&kn.hasValue,c&&kn.disabled,d&&kn.readOnly,g&&kn.error,p&&kn.multiline,O&&kn.focus),rr=b==="currency"?"text":b,tt=e?S.createElement("div",{className:kn.Prefix,id:`${B}-Prefix`,ref:Pe},e):null,nr=t?S.createElement("div",{className:kn.Suffix,id:`${B}-Suffix`,ref:ze},t):null;let Ht=null;if(ae){const K=_e.length,ye=P?q.translate("Polaris.TextField.characterCountWithMaxLength",{count:K,limit:P}):q.translate("Polaris.TextField.characterCount",{count:K}),Ae=Ve(kn.CharacterCount,p&&kn.AlignFieldBottom),we=P?`${K}/${P}`:K;Ht=S.createElement("div",{id:`${B}-CharacterCounter`,className:Ae,"aria-label":ye,"aria-live":O?"polite":"off","aria-atomic":"true",onClick:Ee},we)}const xe=u&&_e!==""?S.createElement("button",{type:"button",className:kn.ClearButton,onClick:Ue,disabled:c},S.createElement(qe,{variant:"bodySm",as:"span",visuallyHidden:!0},q.translate("Polaris.Common.clear")),S.createElement(bn,{source:fJ,color:"base"})):null,zn=k.useCallback(K=>{if(z==null)return;const ye=pe=>(pe.toString().split(".")[1]||[]).length,Ae=i?parseFloat(i):0;if(isNaN(Ae))return;const we=Math.max(ye(Ae),ye(at)),be=Math.min(Number(rt),Math.max(Ae+K*at,Number(ut)));z(String(be.toFixed(we)),B)},[B,rt,ut,z,at,i]),da=k.useCallback(()=>
49{clearTimeout(Me.current)},[]),_s=k.useCallback(K=>{let we=200;const be=()=>{we>50&&(we-=10),K(0),Me.current=window.setTimeout(be,we)};Me.current=window.setTimeout(be,we),document.addEventListener("mouseup",da,{once:!0})},[da]),gl=b==="number"&&C!==0&&!c&&!d?S.createElement(fye,{onClick:Ee,onChange:zn,onMouseDown:_s,onMouseUp:da,ref:Ze}):null,Ps=p&&G?{height:G,maxHeight:F}:null,ka=k.useCallback(K=>{N(K)},[]),Ga=p&&Z?S.createElement(pye,{contents:_e||n,currentHeight:G,minimumLines:typeof p=="number"?p:1,onHeightChange:ka}):null,ii=[];g&&ii.push(`${B}Error`),a&&ii.push(P5(B)),ae&&ii.push(`${B}-CharacterCounter`);const Xo=[];e&&Xo.push(`${B}-Prefix`),t&&Xo.push(`${B}-Suffix`),r&&Xo.push(`${B}-VerticalContent`),Xo.unshift(T5(B));const Qo=Ve(kn.Input,ce&&kn[Ln("Input-align",ce)],t&&kn["Input-suffixed"],u&&kn["Input-hasClearButton"],ge&&kn.monospaced,Ne&&kn.suggestion),Jo=K=>{if(oe(!0),De&&!Ne){const ye=p?de.current:V.current;ye==null||ye.select()}J&&J(K)},ko=K=>{oe(!1),j&&j(K)},As=k.createElement(p?"textarea":"input",{name:y,id:B,disabled:c,readOnly:d,role:x,autoFocus:f,value:_e,placeholder:n,style:Ps,autoComplete:T,className:Qo,ref:p?de:V,min:I,max:_,step:C,minLength:R,maxLength:P,spellCheck:M,pattern:D,inputMode:A,type:rr,rows:bye(p),"aria-describedby":ii.length?ii.join(" "):void 0,"aria-labelledby":Xo.join(" "),"aria-invalid":!!g,"aria-owns":X,"aria-activedescendant":ne,"aria-autocomplete":ie,"aria-controls":Y,"aria-expanded":se,"aria-required":ke,...Sye(p),onFocus:Jo,onBlur:ko,onClick:Ee,onKeyPress:U,onChange:Ne?void 0:bl,onInput:Ne?bl:void 0}),vl=r?S.createElement("div",{className:kn.VerticalContent,id:`${B}-VerticalContent`,ref:Se,onClick:Ee},r,As):null,yl=r?vl:As,Ed=S.createElement("div",{className:Ve(kn.Backdrop,m&&kn["Backdrop-connectedLeft"],v&&kn["Backdrop-connectedRight"])});return S.createElement(_5,{label:o,id:B,error:g,action:s,labelHidden:l,helpText:a,requiredIndicator:ke},S.createElement(hye,{left:m,right:v},S.createElement("div",{className:Mt,onClick:me},tt,yl,nr,Ht,xe,gl,Ed,Ga)));function bl(K){z&&z(K.currentTarget.value,B)}function me(K){var ye,Ae;const{target:we}=K,be=V==null||(ye=V.current)===null||ye===void 0?void 0:ye.getAttribute("role");if(we===V.current&&be==="combobox"){var pe;(pe=V.current)===null||pe===void 0||pe.focus(),Jo(K);return}Q(we)||le(we)||W(we)||te(we)||O||(Ae=V.current)===null||Ae===void 0||Ae.focus()}function Ee(K){!te(K.target)&&!W(K.target)&&K.stopPropagation(),!(Q(K.target)||le(K.target)||W(K.target)||O)&&oe(!0)}function Ue(){We&&We(B)}function U(K){const{key:ye,which:Ae}=K,we=/[\d.eE+-]$/;b!=="number"||Ae===mo.Enter||we.test(ye)||K.preventDefault()}function W(K){return K instanceof HTMLElement&&V.current&&(V.current.contains(K)||V.current.contains(document.activeElement))}function Q(K){return K instanceof Element&&(Pe.current&&Pe.current.contains(K)||ze.current&&ze.current.contains(K))}function te(K){return K instanceof Element&&Ze.current&&Ze.current.contains(K)}function le(K){return K instanceof Element&&Se.current&&(Se.current.contains(K)||Se.current.contains(document.activeElement))}}function bye(e){if(e)return typeof e=="number"?e:1}function Sye(e){if(e)return e||e>0?{"aria-multiline":!0}:void 0}function wye({value:e,id:t,type:r="text",ariaAutocomplete:n="list",onFocus:i,onBlur:a,onChange:o,...s}){const l=Qve(),{activeOptionId:c,listboxId:u,expanded:d,setTextFieldFocused:f,setTextFieldLabelId:h,onTextFieldFocus:p,onTextFieldChange:g,onTextFieldBlur:v}=l,m=ni("ComboboxTextField"),b=k.useMemo(()=>t||m,[m,t]),y=k.useMemo(()=>T5(t||m),[m,t]);k.useEffect(()=>{h&&h(y)},[y,h]);const w=k.useCallback(T=>{i&&i(T),p&&p(),f&&f(!0)},[i,p,f]),x=k.useCallback(T=>{a&&a(T),v&&v(),f&&f(!1)},[a,v,f]),C=k.useCallback((T,_)=>{o&&o(T,_),g&&g(T)},[o,g]);return S.createElement(bi,Object.assign({},s,{value:e,id:b,type:r,ariaAutocomplete:n,"aria-haspopup":"listbox",ariaActiveDescendant:c,ariaControls:u,role:"combobox",ariaExpanded:d,onFocus:w,onBlur:x,onChange:C}))}function A5({activator:e,allowMultiple:t,children:r,preferredPosition:n="below",willLoadMoreOptions:i,height:a,onScrolledToBottom:o,onClose:s}){const[l,c]=k.useState(!1),[u,d]=k.useState(),[f,h]=k.useState(),[p,g]=k.useState(),[v,m]=k.useState(!1),b=!l&&k.Children.count(r)>0,y=k.useRef(null),w=k.useCallback(()=>{c(!1),s==null||s(),d(void 0)},[s]),x=k.useCallback(()=>{c(!0),d(void 0)},[]),C=k.useCallback(()=>{var D;if(!t){w(),d(void 0);return}(D=y.current)===null||D===void 0||D.forceUpdatePosition()},[t,w]),T=k.useCallback(()=>{b&&x()},[b,x]),_=k.useCallback(()=>{b&&x()},[b,x]),P=k.useCallback(()=>{l&&w()},[l,w]),F=k.useMemo(()=>({activeOptionId:u,expanded:l,listboxId:p,setTextFieldFocused:m,setTextFieldLabelId:h,onTextFieldFocus:T,onTextFieldChange:_,onTextFieldBlur:P}),[u,l,p,m,h,T,_,P]),I=k.useMemo(()=>({allowMultiple:t}),[t]),R=k.useMemo(()=>({listboxId:p,textFieldLabelId:f,textFieldFocused:v,willLoadMoreOptions:i,onOptionSelected:C,setActiveOptionId:d,setListboxI
49d:g,onKeyToBottom:o}),[p,f,v,i,C,d,g,o]);return S.createElement(hi,{ref:y,active:l,activator:S.createElement(NJ.Provider,{value:F},e),autofocusTarget:"none",preventFocusOnClose:!0,fullWidth:!0,preferInputActivator:!1,preferredPosition:n,onClose:w},k.Children.count(r)>0?S.createElement(hi.Pane,{onScrolledToBottom:o,height:a},S.createElement(MJ.Provider,{value:R},S.createElement(LJ.Provider,{value:I},S.createElement("div",{className:dye.Listbox},r)))):null)}A5.TextField=wye;var Fs={ActionContainer:"Polaris-Autocomplete-MappedAction__ActionContainer",Action:"Polaris-Autocomplete-MappedAction__Action",destructive:"Polaris-Autocomplete-MappedAction--destructive",selected:"Polaris-Autocomplete-MappedAction--selected",disabled:"Polaris-Autocomplete-MappedAction--disabled",Prefix:"Polaris-Autocomplete-MappedAction__Prefix",Suffix:"Polaris-Autocomplete-MappedAction__Suffix",Content:"Polaris-Autocomplete-MappedAction__Content",Text:"Polaris-Autocomplete-MappedAction__Text",ContentWrap:"Polaris-Autocomplete-MappedAction__ContentWrap"};function xye({active:e,content:t,disabled:r,icon:n,image:i,prefix:a,suffix:o,ellipsis:s,role:l,url:c,external:u,onAction:d,destructive:f,badge:h,helpText:p,wrapOverflow:g=!1}){const v=Yr();let m=null;const b=g?Fs.ContentWrap:void 0;a?m=S.createElement("div",{className:Fs.Prefix},a):n?m=S.createElement("div",{className:Fs.Prefix},S.createElement(bn,{source:n})):i&&(m=S.createElement("div",{role:"presentation",className:Fs.Prefix,style:{backgroundImage:`url(${i}`}}));const y=h&&S.createElement("span",{className:Fs.Suffix},S.createElement(ad,{status:h.status},h.content)),w=o&&S.createElement("span",{className:Fs.Suffix},o),x=s&&t?v.translate("Polaris.Autocomplete.ellipsis",{content:t}):t,C=S.createElement("div",{className:Fs.Text},S.createElement("div",{className:b},x),p?S.createElement(qe,{variant:"bodyMd",color:"subdued",as:"span"},p):null),T=k.useMemo(()=>({role:l,url:c,external:u,onAction:d,destructive:f}),[l,c,u,d,f]),_=Ve(Fs.Action,r&&Fs.disabled,f&&Fs.destructive,e&&Fs.selected);return S.createElement(jJ.Provider,{value:T},S.createElement("div",{className:Fs.ActionContainer},S.createElement(Fo.Action,{selected:e,disabled:r,value:t||""},S.createElement("div",{className:_}
49,S.createElement("div",{className:Fs.Content},m,C,y,w)))))}const OS=function({options:t,selected:r,textField:n,preferredPosition:i,listTitle:a,allowMultiple:o,loading:s,actionBefore:l,willLoadMoreResults:c,emptyState:u,onSelect:d,onLoadMoreResults:f}){const h=Yr(),p=k.useCallback(x=>x.map(C=>S.createElement(uye,Object.assign({key:C.id||C.value},C,{selected:r.includes(C.value),singleSelection:!o}))),[r,o]),g=k.useMemo(()=>{const x=s&&!c?[]:t;if(PF(x)){if(x.every(({options:P})=>P.length===0))return null;const _=x.map(({options:P,title:F})=>{if(P.length===0)return null;const I=p(P);return S.createElement(Fo.Section,{divider:!1,title:S.createElement(Fo.Header,null,F),key:F},I)});return S.createElement("div",{className:$ve.SectionWrapper},_)}const C=x.length>0?p(x):null;return a?S.createElement(Fo.Section,{divider:!1,title:S.createElement(Fo.Header,null,a)},C):C},[a,s,t,c,p]),v=s?S.createElement(Fo.Loading,{accessibilityLabel:h.translate("Polaris.Autocomplete.spinnerAccessibilityLabel")}):null,m=k.useCallback(x=>{if(l&&x===l.content){l.onAction&&l.onAction();return}o?r.includes(x)?d(r.filter(C=>C!==x)):d([...r,x]):d([x])},[o,d,r,l]),b=l&&S.createElement(xye,l),y=u&&t.length<1&&!s&&S.createElement("div",{role:"status"},u),w=l?Zp.First:void 0;return S.createElement(A5,{activator:n,allowMultiple:o,onScrolledToBottom:f,preferredPosition:i,willLoadMoreOptions:c},b||g||v||y?S.createElement(Fo,{autoSelection:w,onSelect:m},b,g&&(!s||c)?g:null,v,y):null)};OS.TextField=A5.TextField;var tI={Backdrop:"Polaris-Backdrop",transparent:"Polaris-Backdrop--transparent",belowNavigation:"Polaris-Backdrop--belowNavigation"};function Cye(){const e=k.useContext(nJ);if(!e)throw new tx("No ScrollLockManager was provided.");return e}function ZJ(e){const t=Cye();return k.useEffect(()=>(t.registerScrollLock(),()=>{t.unregisterScrollLock()}),[t]),null}function YJ(e){const{onClick:t,onTouchStart:r,belowNavigation:n,transparent:i,setClosing:a}=e,o=Ve(tI.Backdrop,n&&tI.belowNavigation,i&&tI.transparent),s=()=>{a&&a(!0)},l=()=>{a&&t&&(a(!1),t())};return S.createElement(S.Fragment,null,S.createElement(ZJ,null),S.createElement("div",{className:o,onClick:t,onTouchStart:r,onMouseDown:s,onMouseUp:l}))}const $J=k.createContext(!1);var Pi={Banner:"Polaris-Banner",statusCritical:"Polaris-Banner--statusCritical",PrimaryAction:"Polaris-Banner__PrimaryAction",Button:"Polaris-Banner__Button",statusWarning:"Polaris-Banner--statusWarning",statusInfo:"Polaris-Banner--statusInfo",statusSuccess:"Polaris-Banner--statusSuccess",ContentWrapper:"Polaris-Banner__ContentWrapper",withinContentContainer:"Polaris-Banner--withinContentContainer",Dismiss:"Polaris-Banner__Dismiss",Ribbon:"Polaris-Banner__Ribbon",keyFocused:"Polaris-Banner--keyFocused",Actions:"Polaris-Banner__Actions",withinPage:"Polaris-Banner--withinPage",hasDismiss:"Polaris-Banner--hasDismiss",Heading:"Polaris-Banner__Heading",Content:"Polaris-Banner__Content",SecondaryAction:"Polaris-Banner__SecondaryAction",Text:"Polaris-Banner__Text",pressed:"Polaris-Banner--pressed",loading:"Polaris-Banner--loading",Spinner:"Polaris-Banner__Spinner"};function Eye({content:e,onAction:t,...r},n,i){return S.createElement(uP,Object.assign({key:i,onClick:t},r,n),e)}const rx=k.forwardRef(function({icon:t,action:r,secondaryAction:n,title:i,children:a,status:o,onDismiss:s,stopAnnouncements:l},c){const u=k.useContext(Jw),d=ni("Banner"),f=Yr(),{wrapperRef:h,handleKeyUp:p,handleBlur:g,handleMouseUp:v,shouldShowFocus:m}=_ye(c),{defaultIcon:b,iconColor:y,ariaRoleType:w}=Tye(o),x=t||b,C=Ve(Pi.Banner,o&&Pi[Ln("status",o)],s&&Pi.hasDismiss,m&&Pi.keyFocused,u?Pi.withinContentContainer:Pi.withinPage);let T=null,_;i&&(_=`${d}Heading`,T=S.createElement("div",{className:Pi.Heading,id:_},S.createElement(qe,{as:"p",variant:"headingMd"},i)));const P=r!=null&&r.loading?S.createElement("button",{disabled:!0,"aria-busy":!0,className:Ve(Pi.Button,Pi.loading)},S.createElement("span",{className:Pi.Spinner},S.createElement(lf,{size:"small",accessibilityLabel:f.translate("Polaris.Button.spinnerAccessibilityLabel")})),r.content):null,F=r?S.createElement("div",{className:Pi.PrimaryAction},r.loading?P:Eye(r,{className:Pi.Button})):null,I=n?S.createElement(kye,{action:n}):null,R=r||n?S.createElement("div",{className:Pi.Actions},S.createElement(Jc,null,F,I)):null;let D=null,A;(a||R)&&(A=`${d}Content`,D=S.createElement("div",{className:Pi.Content,id:A},a,R));const M=s&&S.createElement("div",{className:Pi.Dismiss},S.createElement(vr,{plain:!0,icon:cJ,onClick:s,accessibilityLabel:"Dismiss notification"}));return S.createElement($J.Provider,{value:!0},S.createElement("div",{className:C,tabIndex:0,ref:h,role:w,"aria-live":l?"off":"polite",onMouseUp:v,onKeyUp:p,onBlur:g,"aria-labelledby":_,"aria-describedby":A},M,S.createElement("div",{className:Pi.Ribbon},S.createElement(bn,{source:x,color:y})),S.createElement("div",{className:Pi.ContentWrapper},T,D)))});function kye({action:e}){return e.url?S.createElement(od,{className:Pi.SecondaryAction,url:e.url,external:e.external},S.createElement("span",{className:Pi.Text},e.content)):S.createElement(uP,{className:Pi.SecondaryAction,onClick:e.onAction},S.createElement("span",{className:Pi.Text},e.content))}function Tye(e){switch(e){case"success":return{defaultIcon:Zge,iconColor:"success",ariaRoleType:"status"};case"info":return{defaultIcon:c9,iconColor:"highlight",ariaRoleType:"status"};case"warning":return{defaultIcon:dJ,iconColor:"warning",ariaRoleType:"alert"};case"critical":return{defaultIcon:Yge,iconColor:"critical",ariaRoleType:"alert"};default:return{defaultIcon:c9,iconColor:"base",ariaRoleType:"status"}}}function _ye(e){const t=k.useRef(null),[r,n]=k.useState(!1);return k.useImperativeHandle(e,()=>({focus:()=>{var s;(s=t.current)===null||s===void 0||s.focus(),n(!0)}}),[]),{wrapperRef:t,handleKeyUp:s=>{s.target===t.current&&n(!0)},handleBlur:()=>n(!1),handleMouseUp:s=>{s.currentTarget.blur(),n(!1)},shouldShowFocus:r}}var rI={Breadcrumb:"Polaris-Breadcrumbs__Breadcrumb",Icon:"Polaris-Breadcrumbs__Icon"};function Pye({breadcrumbs:e}){const t=e[e.length-1];if(t==null)return null;const{content:r}=t,n=S.createElement(S.Fragment,null,S.createElement("span",{className:rI.Icon},S.createElement(bn,{source:lJ})),S.createElement(qe,{variant:"bodySm",as:"span",visuallyHidden:!0,color:"subdued"},r)),i="url"in t?S.createElement(od,{key:r,url:t.url,className:rI.Breadcrumb,onMouseUp:Im,"aria-label":t.accessibilityLabel},n):S.createElement("button",{key:r,className:rI.Breadcrumb,onClick:t.onAction,onMouseUp:Im,type:"button","aria-label":t.accessibilityLabel},n);return S.createElement("nav",{role:"navigation"},i)}function fP(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}
vendor: 1,302 bytes, line 49
49function Wk(e,t){return Wk=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Wk(e,t)}function O5(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Wk(e,t)}var XJ={exports:{}},Aye="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Oye=Aye,Iye=Oye;function QJ(){}function JJ(){}JJ.resetWarningCache=QJ;var Rye=function(){function e(n,i,a,o,s,l){if(l!==Iye){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:JJ,resetWarningCache:QJ};return r.PropTypes=r,r};XJ.exports=Rye();var Fye=XJ.exports;const Jt=fc(Fye);function Dye(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function Nye(e,t){e.classList?e.classList.add(t):Dye(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}
vendor: 4,476 bytes, line 49
49function A9(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function Mye(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=A9(e.className,t):e.setAttribute("class",A9(e.className&&e.className.baseVal||"",t))}const O9={disabled:!1},Vk=S.createContext(null);var eee=function(t){return t.scrollTop},j1="unmounted",Fp="exited",Dp="entering",rg="entered",AF="exiting",oc=function(e){O5(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=i,s=o&&!o.isMounting?n.enter:n.appear,l;return a.appearStatus=null,n.in?s?(l=Fp,a.appearStatus=Dp):l=rg:n.unmountOnExit||n.mountOnEnter?l=j1:l=Fp,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===j1?{status:Fp}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==Dp&&o!==rg&&(a=Dp):(o===Dp||o===rg)&&(a=AF)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,s;return a=o=s=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,s=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:s}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===Dp){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:W2.findDOMNode(this);o&&eee(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Fp&&this.setState({status:j1})},r.performEnter=function(i){var a=this,o=this.props.enter,s=this.context?this.context.isMounting:i,l=this.props.nodeRef?[s]:[W2.findDOMNode(this),s],c=l[0],u=l[1],d=this.getTimeouts(),f=s?d.appear:d.enter;if(!i&&!o||O9.disabled){this.safeSetState({status:rg},function(){a.props.onEntered(c)});return}this.props.onEnter(c,u),this.safeSetState({status:Dp},function(){a.props.onEntering(c,u),a.onTransitionEnd(f,function(){a.safeSetState({status:rg},function(){a.props.onEntered(c,u)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),s=this.props.nodeRef?void 0:W2.findDOMNode(this);if(!a||O9.disabled){this.safeSetState({status:Fp},function(){i.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:AF},function(){i.props.onExiting(s),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Fp},function(){i.props.onExited(s)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(s){o&&(o=!1,a.nextCallback=null,i(s))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:W2.findDOMNode(this),s=i==null&&!this.props.addEndListener;if(!o||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],c=l[0],u=l[1];this.props.addEndListener(c,u)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===j1)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=fP(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return S.createElement(Vk.Provider,{value:null},typeof o=="function"?o(i,s):S.cloneElement(S.Children.only(o),s))},t}(S.Component);oc.contextType=Vk;oc.propTypes={};function I0(){}oc.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:I0,onEntering:I0,onEntered:I0,onExit:I0,onExiting:I0,onExited:I0};oc.UNMOUNTED=j1;oc.EXITED=Fp;oc.ENTERING=Dp;oc.ENTERED=rg;oc.EXITING=AF;var Lye=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return Nye(t,n)})},nI=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return Mye(t,n)})},a0=function(e){O5(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];
vendor: 2,991 bytes, line 49
49return n=e.call.apply(e,[this].concat(a))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(s,l){var c=n.resolveArguments(s,l),u=c[0],d=c[1];n.removeClasses(u,"exit"),n.addClass(u,d?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(s,l)},n.onEntering=function(s,l){var c=n.resolveArguments(s,l),u=c[0],d=c[1],f=d?"appear":"enter";n.addClass(u,f,"active"),n.props.onEntering&&n.props.onEntering(s,l)},n.onEntered=function(s,l){var c=n.resolveArguments(s,l),u=c[0],d=c[1],f=d?"appear":"enter";n.removeClasses(u,f),n.addClass(u,f,"done"),n.props.onEntered&&n.props.onEntered(s,l)},n.onExit=function(s){var l=n.resolveArguments(s),c=l[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(s)},n.onExiting=function(s){var l=n.resolveArguments(s),c=l[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(s)},n.onExited=function(s){var l=n.resolveArguments(s),c=l[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(s)},n.resolveArguments=function(s,l){return n.props.nodeRef?[n.props.nodeRef.current,s]:[s,l]},n.getClassNames=function(s){var l=n.props.classNames,c=typeof l=="string",u=c&&l?l+"-":"",d=c?""+u+s:l[s],f=c?d+"-active":l[s+"Active"],h=c?d+"-done":l[s+"Done"];return{baseClassName:d,activeClassName:f,doneClassName:h}},n}var r=t.prototype;return r.addClass=function(i,a,o){var s=this.getClassNames(a)[o+"ClassName"],l=this.getClassNames("enter"),c=l.doneClassName;a==="appear"&&o==="done"&&c&&(s+=" "+c),o==="active"&&i&&eee(i),s&&(this.appliedClasses[a][o]=s,Lye(i,s))},r.removeClasses=function(i,a){var o=this.appliedClasses[a],s=o.base,l=o.active,c=o.done;this.appliedClasses[a]={},s&&nI(i,s),l&&nI(i,l),c&&nI(i,c)},r.render=function(){var i=this.props;i.classNames;var a=fP(i,["classNames"]);return S.createElement(oc,vv({},a,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(S.Component);a0.defaultProps={classNames:""};a0.propTypes={};function Yd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I5(e,t){var r=function(a){return t&&k.isValidElement(a)?t(a):a},n=Object.create(null);return e&&k.Children.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function Bye(e,t){e=e||{},t=t||{};function r(u){return u in t?t[u]:e[u]}var n=Object.create(null),i=[];for(var a in e)a in t?i.length&&(n[a]=i,i=[]):i.push(a);var o,s={};for(var l in t){if(n[l])for(o=0;o<n[l].length;o++){var c=n[l][o];s[n[l][o]]=r(c)}s[l]=r(l)}for(o=0;o<i.length;o++)s[i[o]]=r(i[o]);return s}function Yp(e,t,r){return r[t]!=null?r[t]:e.props[t]}function Uye(e,t){return I5(e.children,function(r){return k.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:Yp(r,"appear",e),enter:Yp(r,"enter",e),exit:Yp(r,"exit",e)})})}function zye(e,t,r){var n=I5(e.children),i=Bye(t,n);
49return Object.keys(i).forEach(function(a){var o=i[a];if(k.isValidElement(o)){var s=a in t,l=a in n,c=t[a],u=k.isValidElement(c)&&!c.props.in;l&&(!s||u)?i[a]=k.cloneElement(o,{onExited:r.bind(null,o),in:!0,exit:Yp(o,"exit",e),enter:Yp(o,"enter",e)}):!l&&s&&!u?i[a]=k.cloneElement(o,{in:!1}):l&&s&&k.isValidElement(c)&&(i[a]=k.cloneElement(o,{onExited:r.bind(null,o),in:c.props.in,exit:Yp(o,"exit",e),enter:Yp(o,"enter",e)}))}}),i}var Hye=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},qye={component:"div",childFactory:function(t){return t}},hP=function(e){O5(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=a.handleExited.bind(Yd(a));return a.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},a}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,a){var o=a.children,s=a.handleExited,l=a.firstRender;return{children:l?Uye(i,s):zye(i,o,s),firstRender:!1}},r.handleExited=function(i,a){var o=I5(this.props.children);i.key in o||(i.props.onExited&&i.props.onExited(a),this.mounted&&this.setState(function(s){var l=vv({},s.children);return delete l[i.key],{children:l}}))},r.render=function(){var i=this.props,a=i.component,o=i.childFactory,s=fP(i,["component","childFactory"]),l=this.state.contextValue,c=Hye(this.state.children).map(o);return delete s.appear,delete s.enter,delete s.exit,a===null?S.createElement(Vk.Provider,{value:l},c):S.createElement(Vk.Provider,{value:l},S.createElement(a,s,c))},t}(S.Component);hP.propTypes={};hP.defaultProps=qye;var $n={Group:"Polaris-BulkActions__Group","Group-measuring":"Polaris-BulkActions__Group--measuring","Group-entering":"Polaris-BulkActions__Group--entering","Group-exiting":"Polaris-BulkActions__Group--exiting","Group-entered":"Polaris-BulkActions__Group--entered","Group-exited":"Polaris-BulkActions__Group--exited","Group-smallScreen":"Polaris-BulkActions__Group--smallScreen","Group-largeScreen":"Polaris-BulkActions__Group--largeScreen",ButtonGroupWrapper:"Polaris-BulkActions__ButtonGroupWrapper",BulkActionButton:"Polaris-BulkActions__BulkActionButton",CheckableContainer:"Polaris-BulkActions__CheckableContainer",disabled:"Polaris-BulkActions--disabled",PaginatedSelectAll:"Polaris-BulkActions__PaginatedSelectAll",Slide:"Polaris-BulkActions__Slide","Slide-appear":"Polaris-BulkActions__Slide--appear","Slide-enter":"Polaris-BulkActions__Slide--enter","Slide-exit":"Polaris-BulkActions__Slide--exit","Slide-appearing":"Polaris-BulkActions__Slide--appearing","Slide-entering":"Polaris-BulkActions__Slide--entering"},I9={Indicator:"Polaris-Indicator",pulseIndicator:"Polaris-Indicator--pulseIndicator"};function tee({pulse:e=!0}){const t=Ve(I9.Indicator,e&&I9.pulseIndicator);return S.createElement("span",{className:t})}function CE({handleMeasurement:e,url:t,external:r,onAction:n,content:i,disclosure:a,accessibilityLabel:o,disabled:s,indicator:l}){const c=k.useRef(null);return x5(()=>{if(e&&c.current){const u=c.current.getBoundingClientRect().width;e(u)}}),S.createElement("div",{className:$n.BulkActionButton,ref:c},S.createElement(vr,{external:r,url:t,"aria-label":o,onClick:n,disabled:s,disclosure:a},i),l&&S.createElement(tee,null))}function Wye({title:e,actions:t,isNewBadgeInBadgeActions:r}){const{value:n,toggle:i}=Co(!1);return S.createElement(S.Fragment,null,S.createElement(hi,{active:n,activator:S.createElement(CE,{disclosure:!0,onAction:i,content:e,indicator:r}),onClose:i,preferInputActivator:!0},S.createElement(ac,{items:t,onActionAnyItem:i})))}var Rf={CheckableButton:"Polaris-CheckableButton","CheckableButton-measuring":"Polaris-CheckableButton__CheckableButton--measuring","CheckableButton-plain":"Polaris-CheckableButton__CheckableButton--plain","CheckableButton-selectMode":"Polaris-CheckableButton__CheckableButton--selectMode","CheckableButton-selected":"Polaris-CheckableButton__CheckableButton--selected",Checkbox:"Polaris-CheckableButton__Checkbox",Label:"Polaris-CheckableButton__Label"};const Vye=k.createContext({});function iI({accessibilityLabel:e,label:t="",onToggleAll:r,selected:n,selectMode:i,plain:a,measuring:o,disabled:s,smallScreen:l}){const c=k.useRef(null),{registerCheckableButtons:u}=k.useContext(Vye);let d="bulkLg";a?d="plain":l&&(d="bulkSm"),k.useEffect(()=>{c.current&&u&&u(d,c.current)},[d,u]);const f=a?Ve(Rf.CheckableButton,Rf["CheckableButton-plain"]):Ve(Rf.CheckableButton,i&&Rf["CheckableButton-selectMode"],n&&Rf["CheckableButton-selected"],o&&Rf["CheckableButton-measuring"]);return S.createElement("div",{className:f,onClick:r},S.createElement("div",{className:Rf.Checkbox},S.createElement(oy,{label:e,labelHidden:!0,checked:n,disabled:s,onChange:r,ref:c}
49)),S.createElement("span",{className:Rf.Label},t))}const jye=2,Gye={appear:Ve($n.Slide,$n["Slide-appear"]),appearActive:Ve($n.Slide,$n["Slide-appearing"]),enter:Ve($n.Slide,$n["Slide-enter"]),enterActive:Ve($n.Slide,$n["Slide-entering"]),exit:Ve($n.Slide,$n["Slide-exit"])};class Kye extends k.PureComponent{constructor(...t){super(...t),this.state={smallScreenPopoverVisible:!1,largeScreenPopoverVisible:!1,containerWidth:0,measuring:!0},this.containerNode=null,this.largeScreenButtonsNode=null,this.moreActionsNode=null,this.checkableWrapperNode=k.createRef(),this.largeScreenGroupNode=k.createRef(),this.smallScreenGroupNode=k.createRef(),this.promotedActionsWidths=[],this.bulkActionsWidth=0,this.addedMoreActionsWidthForMeasuring=0,this.handleResize=rl(()=>{const{smallScreenPopoverVisible:r,largeScreenPopoverVisible:n}=this.state;if(this.containerNode){const i=this.containerNode.getBoundingClientRect().width;i>0&&this.setState({containerWidth:i})}(r||n)&&this.setState({smallScreenPopoverVisible:!1,largeScreenPopoverVisible:!1})},50,{trailing:!0}),this.setLargeScreenButtonsNode=r=>{this.largeScreenButtonsNode=r},this.setContainerNode=r=>{this.containerNode=r},this.setMoreActionsNode=r=>{this.moreActionsNode=r},this.setSelectMode=r=>{const{onSelectModeToggle:n}=this.props;n&&n(r)},this.toggleSmallScreenPopover=()=>{this.props.onMoreActionPopoverToggle&&this.props.onMoreActionPopoverToggle(this.state.smallScreenPopoverVisible),this.setState(({smallScreenPopoverVisible:r})=>({smallScreenPopoverVisible:!r}))},this.toggleLargeScreenPopover=()=>{this.props.onMoreActionPopoverToggle&&this.props.onMoreActionPopoverToggle(this.state.largeScreenPopoverVisible),this.setState(({largeScreenPopoverVisible:r})=>({largeScreenPopoverVisible:!r}))},this.handleMeasurement=r=>{const{measuring:n}=this.state;n&&this.promotedActionsWidths.push(r)}}numberOfPromotedActionsToRender(){const{promotedActions:t}=this.props,{containerWidth:r,measuring:n}=this.state;if(!t)return 0;if(r>=this.bulkActionsWidth||n)return t.length;let i=!1,a=t.length-1,o=0;for(;!i&&a>=0;){o+=this.promotedActionsWidths[a];const s=this.bulkActionsWidth-o+this.addedMoreActionsWidthForMeasuring;r>=s?i=!0:a--}return J0e(a,0,t.length)}hasActions(){const{promotedActions:t,actions:r}=this.props;return!!(t&&t.length>0||r&&r.length>0)}actionSections(){const{actions:t}=this.props;if(!(!t||t.length===0)){if(Zye(t))return t;if(Yye(t))return[{items:t}]}}rolledInPromotedActions(){const{promotedActions:t}=this.props,r=this.numberOfPromotedActionsToRender();return!t||t.length===0||r>=t.length?[]:t.map(i=>R9(i)?{items:[...i.actions]}:{items:[i]}).slice(r)}componentDidMount(){const{actions:t,promotedActions:r}=this.props;r&&!t&&this.moreActionsNode&&(this.addedMoreActionsWidthForMeasuring=this.moreActionsNode.getBoundingClientRect().width),this.bulkActionsWidth=this.largeScreenButtonsNode?this.largeScreenButtonsNode.getBoundingClientRect().width-this.addedMoreActionsWidthForMeasuring:0,this.containerNode&&this.setState({containerWidth:this.containerNode.getBoundingClientRect().width,measuring:!1})}render(){const{selectMode:t,accessibilityLabel:r,label:n="",onToggleAll:i,selected:a,smallScreen:o,disabled:s,promotedActions:l,paginatedSelectAllText:c=null,paginatedSelectAllAction:u,i18n:d}=this.props,f=this.actionSections();l&&l.length>jye;const{smallScreenPopoverVisible:h,largeScreenPopoverVisible:p,measuring:g}=this.state,v=u?S.createElement(vr,{onClick:u.onAction,plain:!0,disabled:s},u.content):null,m=c&&u?S.createElement("span",{"aria-live":"polite"},c):c,b=v||m?S.createElement("div",{className:$n.PaginatedSelectAll},m," ",v):null,y=S.createElement(vr,{onClick:this.setSelectMode.bind(this,!1),disabled:s},d.translate("Polaris.Common.cancel")),w=this.numberOfPromotedActionsToRender(),x=this.hasActions()?S.createElement("div",{className:$n.Popover,ref:this.setMoreActionsNode},S.createElement(hi,{active:h&&t===!0,activator:S.createElement(CE,{disclosure:!0,onAction:this.toggleSmallScreenPopover,content:d.translate("Polaris.ResourceList.BulkActions.actionsActivatorLabel"),disabled:s,indicator:this.isNewBadgeInBadgeActions()}),onClose:this.toggleSmallScreenPopover},S.createElement(ac,{items:l,sections:f,onActionAnyItem:this.toggleSmallScreenPopover}))):null,C=l&&w>0?[...l].slice(0,w).map((M,X)=>R9(M)?S.createElement(Wye,Object.assign({key:X},M,{isNewBadgeInBadgeActions:this.isNewBadgeInBadgeActions()})):S.createElement(CE,Object.assign({key:X,disabled:s},M,{handleMeasurement:this.handleMeasurement}))):null,T=this.rolledInPromotedActions(),_=!l||l&&w===0&&!g?d.translate("Polaris.ResourceList.BulkActions.actionsActivatorLabel"):d.translate("Polaris.ResourceList.BulkActions.moreActionsActivatorLabel");let P=[];f&&T.length>0?P=[...T,...f]:f?P=f:T.length>0&&(P=[...T]);const F=f||T.length>0||g?S.createElement("div",{className:$n.Popover,ref:this.setMoreActionsNode},S.createElement(hi,{active:p&&t===!0,activator:S.createElement(CE,{disclosure:!0,onAction:this.toggleLargeScreenPopover,content:_,disabled:s,indicator:this.isNewBadgeInBadgeActions()}),onClose:this.toggleLargeScreenPopover},S.createElement(ac,{sections:P,onActionAnyItem:this.toggleLargeScreenPopover}))):null,I={accessibilityLabel:r,label:n,selected:a,selectMode:t,onToggleAll:i,measuring:g,disabled:s},R=o?S.createElement(oc,{timeout:0,in:t,key:"smallGroup",nodeRef:this.smallScreenGroupNode},M=>{const X=Ve($n.Group,$n["Group-smallScreen"],$n[`Group-${M}`]);return S.createElement("div",{className:X,ref:this.smallScreenGroupNode},S.createElement("div",{className:$n.ButtonGroupWrapper},S.createElement(Jc,{segmented:!0},S.createElement(a0,{nodeRef:this.checkableWrapperNode,in:t,timeout:parseInt(Tv["duration-200"],10),classNames:Gye,appear:!t},S.createElement("div",{className:$n.CheckableContainer,ref:this.checkableWrapperNode},S.createElement(iI,Object.assign({},I,{smallScreen:!0})))),x,y)),b)}):null,D=C||F?S.createElement(Jc,{segmented:!0},S.createElement(iI,I),C,F):S.createElement(iI,I),A=o?null:S.createElement(oc,{timeout:0,in:t,key:"largeGroup",nodeRef:this.largeScreenGroupNode},M=>{const X=Ve($n.Group,$n["Group-largeScreen"],!g&&$n[`Group-${M}`],g&&$n["Group-measuring"]);return S.createElement("div",{className:X,ref:this.largeScreenGroupNode},S.createElement(id,{event:"resize",handler:this.handleResize}),S.createElement("div",{className:$n.ButtonGroupWrapper,ref:this.setLargeScreenButtonsNode},D),b)});return S.createElement("div",{ref:this.setContainerNode},R,A)}isNewBadgeInBadgeActions(){const t=this.actionSections();if(!t)return!1;for(const n of t)for(const i of n.items){var r;if(((r=i.badge)===null||r===void 0?void 0:r.status)==="new")return!0}return!1}}function Zye(e){const t=e.filter(r=>r.items);return e.length===t.length}function Yye(e){const t=e.filter(r=>!r.items);return e.length===t.length}function R9(e){return"title"in e}function $ye(e){const t=Yr();return S.createElement(Kye,Object.assign({},e,{i18n:t}))}var F9={TextContainer:"Polaris-TextContainer",spacingTight:"Polaris-TextContainer--spacingTight",spacingLoose:"Polaris-TextContainer--spacingLoose"};function nx({spacing:e,children:t}){const r=Ve(F9.TextContainer,e&&F9[Ln("spacing",e)]);return S.createElement("div",{className:r},t)}var l1={RadioButton:"Polaris-RadioButton",Input:"Polaris-RadioButton__Input",keyFocused:"Polaris-RadioButton--keyFocused",Backdrop:"Polaris-RadioButton__Backdrop",hover:"Polaris-RadioButton--hover"};function ree({ariaDescribedBy:e,label:t,labelHidden:r,helpText:n,checked:i,disabled:a,onChange:o,onFocus:s,onBlur:l,id:c,name:u,value:d}){const f=ni("RadioButton",c),h=u||f,p=k.useRef(null),[g,v]=k.useState(!1),{value:m,setTrue:b,setFalse:y}=Co(!1),w=()=>{!g&&v(!0)},x=()=>{l&&l(),v(!1)};function C({currentTarget:I}){o&&o(I.checked,f)}const T=[];n&&T.push(E5(f)),e&&T.push(e);const _=T.length?T.join(" "):void 0,P=Ve(l1.Input,g&&l1.keyFocused),F=Ve(l1.Backdrop,m&&l1.hover);return S.createElement(HJ,{label:t,labelHidden:r,disabled:a,id:f,helpText:n,onMouseOver:b,onMouseOut:y},S.createElement("span",{className:l1.RadioButton},S.createElement("input",{id:f,name:h,value:d,type:"radio",checked:i,disabled:a,className:P,onChange:C,onFocus:s,onKeyUp:w,onBlur:x,"aria-describedby":_,ref:p}),S.createElement("span",{className:F})))}var aI={Collapsible:"Polaris-Collapsible",isFullyClosed:"Polaris-Collapsible--isFullyClosed",expandOnPrint:"Polaris-Collapsible--expandOnPrint"};function nee({id:e,expandOnPrint:t,open:r,transition:n=!0,preventMeasuringOnChildrenUpdate:i,children:a}){const[o,s]=k.useState(0),[l,c]=k.useState(r),[u,d]=k.useState("idle"),f=k.useRef(null),h=u==="idle"&&r&&l,p=u==="idle"&&!r&&!l,g=t||!p?a:null,v=Ve(aI.Collapsible,p&&aI.isFullyClosed,t&&aI.expandOnPrint),m=Qye(n),y={...typeof n=="object"&&{transitionDuration:n.duration,transitionTimingFunction:n.timingFunction},maxHeight:h?"none":`${o}px`,overflow:h?"visible":"hidden"},w=k.useCallback(({target:C})=>{C===f.current&&(d("idle"),c(r))},[r]),x=k.useCallback(()=>{m?(c(r),d("idle"),r&&f.current?s(f.current.scrollHeight):s(0)):d("measuring")},[r,m]);return k.useEffect(()=>{r!==l&&x()},[r,l]),k.useEffect(()=>{!r||!f.current||s(f.current.scrollHeight)},[]),k.useEffect(()=>{if(f.current)switch(u){case"idle":break;case"measuring":s(f.current.scrollHeight),d("animating");break;case"animating":s(r?f.current.scrollHeight:0)}},[u,r,l]),S.createElement("div",{id:e,style:y,ref:f,className:v,onTransitionEnd:w,"aria-hidden":!r},g)}const Xye=/^0(ms|s)$/;function Qye(e){if(typeof e=="boolean")return!e;const{duration:t}=e;return!!(t&&Xye.test(t.trim()))}const iee=k.createContext(void 0);function ix(){const e=k.useContext(iee);if(!e)throw new Error("No Frame context was provided. Your component must be wrapped in a <Frame> component. See https://polaris.shopify.com/components/frame for implementation instructions.");return e}var Jye=typeof Element<"u",e1e=typeof Map=="function",t1e=typeof Set=="function",r1e=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function EE(e,t){if(e===t)return!0;
49if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!EE(e[n],t[n]))return!1;return!0}var a;if(e1e&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;for(a=e.entries();!(n=a.next()).done;)if(!EE(n.value[1],t.get(n.value[0])))return!1;return!0}if(t1e&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(n=a.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(r1e&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[n]))return!1;if(Jye&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&e.$$typeof)&&!EE(e[i[n]],t[i[n]]))return!1;return!0}return e!==e&&t!==t}var n1e=function(t,r){try{return EE(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}};const i1e=fc(n1e);function D9({children:e,onMount:t,fallback:r=null}){const n=ex(),i=n?e:r;return k.useEffect(()=>{n&&t&&t()},[n,t]),S.createElement(S.Fragment,null,i)}function a1e(){const e=k.useContext(g5);if(!e)throw new tx("No StickyManager was provided.");return e}class o1e extends k.Component{constructor(...t){super(...t),this.state={isSticky:!1,style:{}},this.placeHolderNode=null,this.stickyNode=null,this.setPlaceHolderNode=r=>{this.placeHolderNode=r},this.setStickyNode=r=>{this.stickyNode=r},this.handlePositioning=(r,n=0,i=0,a=0)=>{const{isSticky:o}=this.state;(r&&!o||!r&&o)&&(this.adjustPlaceHolderNode(r),this.setState({isSticky:!o},()=>{if(this.props.onStickyChange==null||(this.props.onStickyChange(!o),this.props.boundingElement==null))return null;this.props.boundingElement.toggleAttribute("data-sticky-active")}));const s=r?{position:"fixed",top:n,left:i,width:a}:{};this.setState({style:s})},this.adjustPlaceHolderNode=r=>{this.placeHolderNode&&this.stickyNode&&(this.placeHolderNode.style.paddingBottom=r?`${Hu(this.stickyNode).height}px`:"0px")}}componentDidMount(){const{boundingElement:t,offset:r=!1,disableWhenStacked:n=!1,stickyManager:i}=this.props;!this.stickyNode||!this.placeHolderNode||i.registerStickyItem({stickyNode:this.stickyNode,placeHolderNode:this.placeHolderNode,handlePositioning:this.handlePositioning,offset:r,boundingElement:t,disableWhenStacked:n})}componentWillUnmount(){const{stickyManager:t}=this.props;this.stickyNode&&t.unregisterStickyItem(this.stickyNode)}render(){const{style:t,isSticky:r}=this.state,{children:n}=this.props,i=s1e(n)?n(r):n;return S.createElement("div",null,S.createElement("div",{ref:this.setPlaceHolderNode}),S.createElement("div",{ref:this.setStickyNode,style:t},i))}}function s1e(e){return typeof e=="function"}function l1e(e){const t=a1e();return S.createElement(o1e,Object.assign({},e,{stickyManager:t}))}
49const c1e=7;function u1e(e,t,r=0){const n=new Date(t,e,1),i=n.getDay(),a=[[]];let o=a[0],s=n;const l=aee(r);for(let c=0;c<l.indexOf(i);c++)o.push(null);for(;s.getMonth()===e;)o.length===c1e&&(o=[],a.push(o)),o.push(s),s=new Date(t,e,s.getDate()+1);for(;o.length<7;)o.push(null);return a}function d1e(e,t){if(e==null)return!1;const{start:r,end:n}=t;return!!(r&&e>r&&n&&e<n)}function f1e(e,t){if(e==null)return!1;const{start:r,end:n}=t;return!!(r&&Nc(r,e)||n&&Nc(n,e))}function Nc(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function h1e(e,t){if(e==null)return{start:t,end:t};const{start:r,end:n}=e;return n&&(IS(r,n)||om(r,n))?{start:t,end:t}:r?om(t,r)?{start:t,end:t}:{start:r,end:t}:n?om(t,n)?{start:t,end:n}:{start:r||n,end:t}:{start:t,end:t}}function N9(e){return e===11?0:e+1}function M9(e,t){return e===11?t+1:t}function p1e(e){return e===0?11:e-1}function m1e(e,t){return e===0?t-1:t}function IS(e,t){return e.getTime()>t.getTime()}function om(e,t){return e.getTime()<t.getTime()}function G1(e,t){return t.some(r=>e.getTime()===r.getTime())}const g1e=[0,1,2,3,4,5,6];function aee(e){const t=[...g1e];return[...t.splice(e),...t]}function wb(e){switch(e){case 0:return"january";case 1:return"february";case 2:return"march";case 3:return"april";case 4:return"may";case 5:return"june";case 6:return"july";case 7:return"august";case 8:return"september";case 9:return"october";case 10:return"november";case 11:return"december"}}function L9(e){switch(e){case 0:return"sunday";case 1:return"monday";case 2:return"tuesday";case 3:return"wednesday";case 4:return"thursday";case 5:return"friday";case 6:return"saturday"}}var Fn={DatePicker:"Polaris-DatePicker",MonthLayout:"Polaris-DatePicker__MonthLayout",MonthContainer:"Polaris-DatePicker__MonthContainer",Month:"Polaris-DatePicker__Month","Month-current":"Polaris-DatePicker__Month--current",DayCell:"Polaris-DatePicker__DayCell","DayCell-inRange":"Polaris-DatePicker__DayCell--inRange",Day:"Polaris-DatePicker__Day","Day-today":"Polaris-DatePicker__Day--today","Day-inRange":"Polaris-DatePicker__Day--inRange","Day-selected":"Polaris-DatePicker__Day--selected","Day-disabled":"Polaris-DatePicker__Day--disabled",EmptyDayCell:"Polaris-DatePicker__EmptyDayCell",Weekday:"Polaris-DatePicker__Weekday","Weekday-current":"Polaris-DatePicker__Weekday--current",Header:"Polaris-DatePicker__Header",Title:"Polaris-DatePicker__Title","Day-firstInRange":"Polaris-DatePicker__Day--firstInRange","Day-hasRange":"Polaris-DatePicker__Day--hasRange","Day-hoverRight":"Polaris-DatePicker__Day--hoverRight","Day-lastInRange":"Polaris-DatePicker__Day--lastInRange",Week:"Polaris-DatePicker__Week"};const v1e=k.memo(function({label:t,title:r,current:n}){const i=Ve(Fn.Weekday,n&&Fn["Weekday-current"]);return S.createElement("th",{"aria-label":t,scope:"col",className:i},r)}),B9=k.memo(function({day:t,focused:r,onClick:n,onHover:i=oI,onFocus:a=oI,selected:o,inRange:s,inHoveringRange:l,disabled:c,lastDayOfMonth:u,isLastSelectedDay:d,isFirstSelectedDay:f,isHoveringRight:h,rangeIsDifferent:p,weekday:g,selectedAccessibilityLabelPrefix:v}){const m=Yr(),b=k.useRef(null),y=u||t;if(k.useEffect(()=>{r&&b.current&&b.current.focus()},[r]),!t)return S.createElement("td",{className:Fn.EmptyDayCell,onMouseOver:()=>i(y)});const w=n&&!c?n.bind(null,t):oI,x=Nc(new Date,t),C=Ve(Fn.DayCell,o&&Fn["DayCell-selected"],(s||l)&&!c&&Fn["DayCell-inRange"],d&&Fn["DayCell-lastInRange"],f&&Fn["DayCell-firstInRange"],h&&Fn["DayCell-hoverRight"],p&&Fn["DayCell-hasRange"]),T=Ve(Fn.Day,o&&Fn["Day-selected"],c&&Fn["Day-disabled"],x&&Fn["Day-today"],(s||l)&&!c&&Fn["Day-inRange"],d&&Fn["Day-lastInRange"],f&&Fn["Day-firstInRange"],h&&Fn["Day-hoverRight"],p&&Fn["Day-hasRange"]),_=t.getDate(),P=(r||o||x||_===1)&&!c?0:-1,F=[o&&v?`${v} `:"",`${x?m.translate("Polaris.DatePicker.today"):""}`,`${g||""} `,`${m.translate(`Polaris.DatePicker.months.${wb(t.getMonth())}`)} `,`${_} `,`${t.getFullYear()}`].join("");return S.createElement("td",{className:C},S.createElement("button",{onFocus:()=>a(t),type:"button",ref:b,tabIndex:P,className:T,onMouseOver:()=>i(y),onClick:w,"aria-label":F,"aria-disabled":c,"aria-pressed":o},_))});function oI(){}function U9({focusedDate:e,selected:t,hoverDate:r,disableDatesBefore:n,disableDatesAfter:i,disableSpecificDates:a,allowRange:o,onChange:s=sI,onHover:l=sI,onFocus:c=sI,month:u,year:d,weekStartsOn:f,accessibilityLabelPrefixes:h}){const p=Yr(),g=o?y1e:()=>!1,v=new Date,m=v.getMonth()===u&&v.getFullYear()===d,b=Ve(Fn.Title,m&&Fn["Month-current"]),y=k.useMemo(()=>u1e(u,d,f),[u,f,d]),w=aee(f).map(F=>S.createElement(v1e,{key:F,title:p.translate(`Polaris.DatePicker.daysAbbreviated.${L9(F)}`),label:P(F),current:m&&new Date().getDay()===F})),x=k.useCallback(F=>{s(h1e(o?t:void 0,F))},[o,s,t]),C=k.useMemo(()=>new Date(d,u+1,0),[u,d]);function T(F,I){if(F==null)return S.createElement(B9,{key:I,onHover:l,lastDayOfMonth:C});const R=n&&om(F,n)||i&&IS(F,i)||a&&G1(F,a),D=o&&t&&S1e(F,t),A=o&&t&&(!Nc(t.start,t.end)&&b1e(F,t)||r&&Nc(t.start,t.end)&&IS(r,t.start)&&Nc(F,r)&&!D),M=!(t&&Nc(t.start,t.end)),X=r&&om(F,r),[Y,se]=h;let ne;return o&&D||!o&&Y?ne=Y:o&&A&&(ne=se),S.createElement(B9,{selectedAccessibilityLabelPrefix:ne,weekday:P(I),focused:e!=null&&Nc(F,e),day:F,key:I,onFocus:c,onClick:x,onHover:l,selected:t!=null&&f1e(F,t),inRange:t!=null&&d1e(F,t),disabled:R,inHoveringRange:t!=null&&r!=null&&g(F,t,r),isLastSelectedDay:A,isFirstSelectedDay:D,isHoveringRight:X,rangeIsDifferent:M})}const _=y.map((F,I)=>S.createElement("tr",{className:Fn.Week,key:I},F.map(T)));return S.createElement("div",{className:Fn.MonthContainer},S.createElement("table",{role:"grid",className:Fn.Month},S.createElement("caption",{className:b},p.translate(`Polaris.DatePicker.months.${wb(u)}`)," ",d),S.createElement("thead",null,S.createElement("tr",{className:Fn.WeekHeadings},w)),S.createElement("tbody",null,_)));function P(F){return p.translate(`Polaris.DatePicker.days.${L9(F)}`)}}function sI(){}function y1e(e,t,r){if(e==null)return!1;const{start:n,end:i}=t;return!!(Nc(n,i)&&e>n&&e<=r)}function b1e(e,t){if(e==null)return!1;const{end:r}=t;return!!(r&&Nc(r,e))}function S1e(e,t){if(e==null)return!1;const{start:r}=t;return!!(r&&Nc(r,e))}function w1e({id:e,selected:t,month:r,year:n,allowRange:i,multiMonth:a,disableDatesBefore:o,disableDatesAfter:s,disableSpecificDates:l,weekStartsOn:c=0,dayAccessibilityLabelPrefix:u,onMonthChange:d,onChange:f=x1e}){const h=Yr(),[p,g]=k.useState(void 0),[v,m]=k.useState(void 0);k.useEffect(()=>{m(void 0)},[t]);const b=k.useCallback(ke=>{m(ke)},[]),y=k.useCallback(ke=>{d&&d(ke.getMonth(),ke.getFullYear()),g(ke),m(ke)},[d]),w=k.useCallback(ke=>{const{end:ge}=ke;g(ge),m(new Date(ge)),f(ke)},[f]),x=k.useCallback((ke,ge)=>{d&&(m(void 0),d(ke,ge))},[d]),C=k.useCallback(ke=>{g(ke)},[]),T=k.useCallback(ke=>{const{key:ge}=ke,De=lI(t),Ne=v||De&&De.start;if(Ne!=null){if(ge==="ArrowUp"){const We=new Date(Ne);We.setDate(Ne.getDate()-7),o&&om(We,o)||l&&G1(We,l)||y(We)}if(ge==="ArrowDown"){const We=new Date(Ne);We.setDate(Ne.getDate()+7),s&&IS(We,s)||l&&G1(We,l)||y(We)}if(ge==="ArrowRight"){const We=new Date(Ne);We.setDate(Ne.getDate()+1),s&&IS(We,s)||l&&G1(We,l)||y(We)}if(ge==="ArrowLeft"){const We=new Date(Ne);We.setDate(Ne.getDate()-1),o&&om(We,o)||l&&G1(We,l)||y(We)}}},[s,o,l,v,t,y]),_=M9(r,n),P=N9(r),F=M9(P,_),I=N9(P),R=m1e(r,n),D=p1e(r),A=h.translate(`Polaris.DatePicker.months.${wb(D)}`),M=a?h.translate(`Polaris.DatePicker.months.${wb(I)}`):h.translate(`Polaris.DatePicker.months.${wb(P)}`),X=a?F:_,Y=k.useMemo(()=>lI(t),[t]),se=i?h.translate("Polaris.DatePicker.start"):u,ne=h.translate("Polaris.DatePicker.end"),ie=[se,ne],ae=a?S.createElement(U9,{onFocus:b,focusedDate:v,month:P,year:_,selected:Y,hoverDate:p,onChange:w,onHover:C,disableDatesBefore:o,disableDatesAfter:s,disableSpecificDates:l,allowRange:i,weekStartsOn:c,accessibilityLabelPrefixes:ie}):null,ce=Ve(Fn.DatePicker);return S.createElement("div",{id:e,className:ce,onKeyDown:C1e,onKeyUp:T},S.createElement("div",{className:Fn.Header},S.createElement(vr,{plain:!0,icon:lJ,accessibilityLabel:h.translate("Polaris.DatePicker.previousMonth",{previousMonthName:A,showPreviousYear:R}),onClick:()=>x(D,R)}),S.createElement(vr,{plain:!0,icon:Vge,accessibilityLabel:h.translate("Polaris.DatePicker.nextMonth",{nextMonth:M,nextYear:X}),onClick:()=>x(P,_)})),S.createElement("div",{className:Fn.MonthLayout},S.createElement(U9,{onFocus:b,focusedDate:v,month:r,year:n,selected:lI(t),hoverDate:p,onChange:w,onHover:C,disableDatesBefore:o,disableDatesAfter:s,disableSpecificDates:l,allowRange:i,weekStartsOn:c,accessibilityLabelPrefixes:ie}),ae))}function x1e(){}function C1e(e){const{key:t}=e;(t==="ArrowUp"||t==="ArrowDown"||t==="ArrowLeft"||t==="ArrowRight")&&(e.preventDefault(),e.stopPropagation())}function lI(e){return e instanceof Date?{start:e,end:e}:e}function oee(e=""){const t=e.toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)}const E1e=["dragover","dragenter","drop"];function k1e(e,t){return e.type==="application/x-moz-file"||T1e(e,t)}function z9(e){if(_1e(e)&&e.dataTransfer){const t=e.dataTransfer;if(t.files&&t.files.length)return Array.from(t.files);if(t.items&&t.items.length)return Array.from(t.items)}else if(P1e(e)&&e.target.files)return Array.from(e.target.files);return[]}function T1e(e,t){if(e&&t){const r=e.name||"",n=e.type||"",i=n.replace(/\/.*$/,"");return(Array.isArray(t)?t:t.split(",")).some(o=>{const s=o.trim();return s.startsWith(".")?r.toLowerCase().endsWith(s.toLowerCase()):s.endsWith("/*")?i===s.replace(/\/.*$/,""):n===s})}return!0}function _1e(e){return E1e.indexOf(e.type)>0}function P1e(e){return Object.prototype.hasOwnProperty.call(e,"target")}const see=!0;function lee(e){return e?"allowMultiple":"single"}const cee=k.createContext({disabled:!1,focused:!1,size:"extraLarge",type:"file",measuring:!1,allowMultiple:see});
49var gu={DropZone:"Polaris-DropZone",focused:"Polaris-DropZone--focused",hasOutline:"Polaris-DropZone--hasOutline",isDisabled:"Polaris-DropZone--isDisabled",isDragging:"Polaris-DropZone--isDragging",sizeLarge:"Polaris-DropZone--sizeLarge",sizeMedium:"Polaris-DropZone--sizeMedium",sizeSmall:"Polaris-DropZone--sizeSmall",measuring:"Polaris-DropZone--measuring",Container:"Polaris-DropZone__Container",Overlay:"Polaris-DropZone__Overlay",hasError:"Polaris-DropZone--hasError"},R0={FileUpload:"Polaris-DropZone-FileUpload",large:"Polaris-DropZone-FileUpload--large",small:"Polaris-DropZone-FileUpload--small",Action:"Polaris-DropZone-FileUpload__Action",disabled:"Polaris-DropZone-FileUpload--disabled"},A1e="data:image/svg+xml,%3csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M20 10a10 10 0 11-20 0 10 10 0 0120 0zM5.3 8.3l4-4a1 1 0 011.4 0l4 4a1 1 0 01-1.4 1.4L11 7.4V15a1 1 0 11-2 0V7.4L6.7 9.7a1 1 0 01-1.4-1.4z' fill='%235C5F62'/%3e%3c/svg%3e",O1e=A1e;function I1e(e){const t=Yr(),{size:r,measuring:n,type:i,disabled:a,allowMultiple:o}=k.useContext(cee),s=oee(i),l=lee(o),{actionTitle:c=t.translate(`Polaris.DropZone.${l}.actionTitle${s}`),actionHint:u}=e,d=Ve(R0.Action,a&&R0.disabled),f=S.createElement("div",{className:d},c),h=Ve(R0.FileUpload,n&&R0.measuring,r==="large"&&R0.large,r==="small"&&R0.small),p=u&&S.createElement(qe,{variant:"bodySm",as:"p",color:"subdued"},u);let g;switch(r){case"large":g=S.createElement(je,{vertical:!0,spacing:"tight"},f,p);break;case"medium":g=S.createElement(je,{vertical:!0,spacing:"tight"},f,p);break;case"small":g=S.createElement("img",{width:"20",src:O1e,alt:""});break}return S.createElement("div",{className:h},g)}const OF=function({dropOnPage:t,label:r,labelAction:n,labelHidden:i,children:a,disabled:o=!1,outline:s=!0,accept:l,active:c,overlay:u=!0,allowMultiple:d=see,overlayText:f,errorOverlayText:h,id:p,type:g="file",onClick:v,error:m,openFileDialog:b,variableHeight:y,onFileDialogClose:w,customValidator:x,onDrop:C,onDropAccepted:T,onDropRejected:_,onDragEnter:P,onDragOver:F,onDragLeave:I}){const R=k.useRef(null),D=k.useRef([]),A=k.useCallback(rl(()=>{if(!R.current)return;if(y){De(!1);return}let rt="large";const ut=R.current.getBoundingClientRect().width;ut<100?rt="small":ut<160&&(rt="medium"),ke(rt),ge&&De(!1)},50,{trailing:!0}),[]),[M,X]=k.useState(!1),[Y,se]=k.useState(!1),{value:ne,setTrue:ie,setFalse:ae}=Co(!1),[ce,ke]=k.useState("large"),[ge,De]=k.useState(!0),Ne=Yr(),We=k.useCallback(rt=>{const ut=[],Mt=[];return Array.from(rt).forEach(rr=>{!k1e(rr,l)||x&&!x(rr)?Mt.push(rr):ut.push(rr)}),d||(ut.splice(1,ut.length),Mt.push(...ut.slice(1))),{files:rt,acceptedFiles:ut,rejectedFiles:Mt}},[l,d,x]),z=k.useCallback(rt=>{if($2(rt),o)return;const ut=z9(rt),{files:Mt,acceptedFiles:rr,rejectedFiles:tt}=We(ut);D.current=[],X(!1),se(tt.length>0),C&&C(Mt,rr,tt),T&&rr.length&&T(rr),_&&tt.length&&_(tt),rt.target.value=""},[o,We,C,T,_]),J=k.useCallback(rt=>{if($2(rt),o)return;const ut=z9(rt);if(rt.target&&!D.current.includes(rt.target)&&D.current.push(rt.target),M)return;const{rejectedFiles:Mt}=We(ut);X(!0),se(Mt.length>0),P&&P()},[o,M,We,P]),j=k.useCallback(rt=>{$2(rt),!o&&F&&F()},[o,F]),q=k.useCallback(rt=>{rt.preventDefault(),!o&&(D.current=D.current.filter(ut=>{const Mt=t&&!p5?document:R.current;return ut!==rt.target&&Mt&&Mt.contains(ut)}),!(D.current.length>0)&&(X(!1),se(!1),I&&I()))},[t,o,I]);k.useEffect(()=>{const rt=t?document:R.current;if(rt)return rt.addEventListener("drop",z),rt.addEventListener("dragover",j),rt.addEventListener("dragenter",J),rt.addEventListener("dragleave",q),window.addEventListener("resize",A),()=>{rt.removeEventListener("drop",z),rt.removeEventListener("dragover",j),rt.removeEventListener("dragenter",J),rt.removeEventListener("dragleave",q),window.removeEventListener("resize",A)}},[t,z,j,J,q,A]),x5(()=>{A()});const G=ni("DropZone",p),N=oee(g),O=lee(d),oe=f===void 0?Ne.translate(`Polaris.DropZone.${O}.overlayText${N}`):f,Z=h===void 0?Ne.translate(`Polaris.DropZone.errorOverlayText${N}`):h,B=r||Ne.translate(`Polaris.DropZone.${O}.label${N}`),V=r?i:!0,de={id:G,accept:l,disabled:o,type:"file",multiple:d,onChange:z,onFocus:ie,onBlur:ae},Pe=Ve(gu.DropZone,s&&gu.hasOutline,ne&&gu.focused,(c||M)&&gu.isDragging,o&&gu.isDisabled,(Y||m)&&gu.hasError,!y&&gu[Ln("size",ce)],ge&&gu.measuring),ze=(c||M)&&!Y&&!m&&u&&Ze(tve,"interactive",oe),Se=M&&(Y||m)&&Ze(dJ,"critical",Z),Me=k.useMemo(()=>({disabled:o,focused:ne,size:ce,type:g||"file",measuring:ge,allowMultiple:d}),[o,ne,ge,ce,g,d]);return S.createElement(cee.Provider,{value:Me},S.createElement(_5,{id:G,label:B,action:n,labelHidden:V},S.createElement("div",{ref:R,className:Pe,"aria-disabled":o,onClick:at,onDragStart:$2}
49,ze,Se,S.createElement(qe,{variant:"bodySm",as:"span",visuallyHidden:!0},S.createElement(R1e,Object.assign({},de,{openFileDialog:b,onFileDialogClose:w}))),S.createElement("div",{className:gu.Container},a))));function Ze(rt,ut,Mt){return S.createElement("div",{className:gu.Overlay},S.createElement(je,{vertical:!0,spacing:"tight"},ce==="small"&&S.createElement(bn,{source:rt,color:ut}),(ce==="medium"||ce==="large")&&S.createElement(qe,{variant:"bodySm",as:"p",fontWeight:"bold"},Mt)))}function _e(){const rt=R.current&&R.current.querySelector(`#${G}`);rt&&rt instanceof HTMLElement&&rt.click()}function at(rt){if(!o)return v?v(rt):_e()}};function $2(e){e.preventDefault(),e.stopPropagation()}OF.FileUpload=I1e;class R1e extends k.Component{constructor(...t){super(...t),this.fileInputNode=k.createRef(),this.triggerFileDialog=()=>{this.open(),this.props.onFileDialogClose&&this.props.onFileDialogClose()},this.open=()=>{this.fileInputNode.current&&this.fileInputNode.current.click()}}componentDidMount(){this.props.openFileDialog&&this.triggerFileDialog()}componentDidUpdate(){this.props.openFileDialog&&this.triggerFileDialog()}render(){const{openFileDialog:t,onFileDialogClose:r,...n}=this.props;return S.createElement("input",Object.assign({},n,{ref:this.fileInputNode,autoComplete:"off"}))}}var F1e="data:image/svg+xml,%3csvg width='60' height='60' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M41.87 24a17.87 17.87 0 11-35.74 0 17.87 17.87 0 0135.74 0zm-3.15 18.96a24 24 0 114.24-4.24L59.04 54.8a3 3 0 11-4.24 4.24L38.72 42.96z' fill='%238C9196'/%3e%3c/svg%3e",D1e=F1e;function N1e({title:e,description:t,withIllustration:r}){const i=Yr().translate("Polaris.EmptySearchResult.altText"),a=t?S.createElement("p",null,t):null,o=r?S.createElement(Wh,{alt:i,source:D1e,draggable:!1}):null;return S.createElement(je,{alignment:"center",vertical:!0},o,S.createElement(qe,{variant:"headingLg",as:"p"},e),S.createElement(qe,{variant:"bodyMd",color:"subdued",as:"span"},a))}var Ds={EmptyState:"Polaris-EmptyState",Section:"Polaris-EmptyState__Section",Details:"Polaris-EmptyState__Details",Image:"Polaris-EmptyState__Image",ImageContainer:"Polaris-EmptyState__ImageContainer",DetailsContainer:"Polaris-EmptyState__DetailsContainer",withinContentContainer:"Polaris-EmptyState--withinContentContainer",Content:"Polaris-EmptyState__Content",imageContained:"Polaris-EmptyState--imageContained",fullWidth:"Polaris-EmptyState--fullWidth",Actions:"Polaris-EmptyState__Actions"};function pP({children:e,heading:t,image:r,largeImage:n,imageContained:i,fullWidth:a=!1,action:o,secondaryAction:s,footerContent:l}){const c=k.useContext(Jw),u=Ve(Ds.EmptyState,a&&Ds.fullWidth,i&&Ds.imageContained,c&&Ds.withinContentContainer),d=n?S.createElement(Wh,{alt:"",role:"presentation",className:Ds.Image,source:n,sourceSet:[{source:r,descriptor:"568w"},{source:n,descriptor:"1136w"}],sizes:"(max-width: 568px) 60vw"}):S.createElement(Wh,{role:"presentation",alt:"",className:Ds.Image,source:r}),f=s?qh(s,{}):null,h=l?S.createElement(vd,{paddingBlockStart:"4"},S.createElement(qe,{as:"span",variant:"bodyMd",color:"subdued"},l)):null,p=c?"headingLg":"headingXl",g=o?qh(o,{primary:!0,size:"medium"}):null,v=t?S.createElement(qe,{variant:p,as:"p"},t):null,m=e?S.createElement("div",{className:Ds.Content},S.createElement(qe,{as:"span",variant:"bodyMd",color:"subdued"},e)):null,b=v||e?S.createElement(nx,null,v,m):null,y=g||f?S.createElement("div",{className:Ds.Actions},S.createElement(je,{alignment:"center",distribution:"center",spacing:"tight"},f,g)):null,w=b||y||h?S.createElement("div",{className:Ds.DetailsContainer},S.createElement("div",{className:Ds.Details},b,y,h)):S.createElement("div",{className:Ds.DetailsContainer});return S.createElement("div",{className:u},S.createElement("div",{className:Ds.Section},w,S.createElement("div",{className:Ds.ImageContainer},d)))}var Tp={ExceptionList:"Polaris-ExceptionList",Item:"Polaris-ExceptionList__Item",Icon:"Polaris-ExceptionList__Icon",statusWarning:"Polaris-ExceptionList--statusWarning",statusCritical:"Polaris-ExceptionList--statusCritical",Bullet:"Polaris-ExceptionList__Bullet",Title:"Polaris-ExceptionList__Title",Description:"Polaris-ExceptionList__Description"},M1e={Truncate:"Polaris-Truncate"};function L1e({children:e}){return S.createElement("span",{className:M1e.Truncate},e)}function H9({items:e}){const t=e.map((r,n)=>{const{status:i,icon:a,title:o,description:s,truncate:l=!1}=r,c=Ve(Tp.Item,i&&Tp[Ln("status",i)]),u=a?S.createElement(bn,{source:a}):S.createElement("span",{className:Tp.Bullet}),d=o&&S.createElement("span",{className:Tp.Title},o),f=s&&S.createElement("span",{className:Tp.Description},s),h=l?L1e:k.Fragment;return S.createElement("li",{className:c,key:n},S.createElement("span",{className:Tp.Icon},u),S.createElement(h,null,d,f))});return S.createElement("ul",{className:Tp.ExceptionList},t)}var xl={Tag:"Polaris-Tag",disabled:"Polaris-Tag--disabled",clickable:"Polaris-Tag--clickable",removable:"Polaris-Tag--removable",linkable:"Polaris-Tag--linkable",TagText:"Polaris-Tag__TagText",Button:"Polaris-Tag__Button",segmented:"Polaris-Tag--segmented",Link:"Polaris-Tag__Link",LinkText:"Polaris-Tag__LinkText"};function q9({children:e,disabled:t=!1,onClick:r,onRemove:n,accessibilityLabel:i,url:a}){const o=Yr(),s=n&&a,l=Ve(xl.Tag,t&&xl.disabled,r&&xl.clickable,n&&xl.removable,a&&!t&&xl.linkable,s&&xl.segmented);if(r)return S.createElement("button",{type:"button",disabled:t,className:l,onClick:r},e);let c=i;c||(c=typeof e=="string"?e:void 0);const u=o.translate("Polaris.Tag.ariaLabel",{children:c||""}),d=n?S.createElement("button",{type:"button","aria-label":u,className:Ve(xl.Button,s&&xl.segmented),onClick:n,onMouseUp:Im,disabled:t},S.createElement(bn,{source:cJ})):null,f=a&&!t?S.createElement("a",{className:Ve(xl.Link,s&&xl.segmented),href:a},S.createElement("span",{title:c,className:xl.LinkText},e)):S.createElement("span",{title:c,className:xl.TagText},e);return S.createElement("span",{className:l},f,d)}function ax(){const e=k.useContext(oJ);if(!e)throw new Error("No mediaQuery was provided. Your application must be wrapped in an <AppProvider>
49 component. See https://polaris.shopify.com/components/app-provider for implementation instructions.");return e}function B1e({trapping:e}){const t=k.useContext(sJ),r=ni();if(!t)throw new tx("No FocusManager was provided.");const{trapFocusList:n,add:i,remove:a}=t,o=n[0]===r,s=k.useMemo(()=>({canSafelyFocus:o}),[o]);return k.useEffect(()=>{if(e)return i(r),()=>{a(r)}},[i,r,a,e]),s}const U1e=k.memo(function({children:t,disabled:r,root:n}){return k.useEffect(()=>{if(r||!n)return;const i=z1e(n)?n.current:n;!i||i.querySelector("[autofocus]")||sP(i,!1)},[r,n]),S.createElement(S.Fragment,null,t)});function z1e(e){return e.current!==void 0}function uee({trapping:e=!0,children:t}){const{canSafelyFocus:r}=B1e({trapping:e}),n=k.useRef(null),[i,a]=k.useState(!0);k.useEffect(()=>{const l=r&&!(n.current&&n.current.contains(document.activeElement))?!e:!0;a(l)},[r,e]);const o=l=>{const c=n.current&&n.current.contains(document.activeElement);e===!1||!n.current||c||l.target instanceof Element&&l.target.matches(`${GQ.selector} *`)||r&&l.target instanceof HTMLElement&&n.current!==l.target&&!n.current.contains(l.target)&&sP(n.current)},s=l=>{if(e===!1||!n.current)return;const c=S5(n.current),u=vJ(n.current);l.target===u&&!l.shiftKey&&(l.preventDefault(),ove(n.current)),l.target===c&&l.shiftKey&&(l.preventDefault(),sve(n.current))};return S.createElement(U1e,{disabled:i,root:n.current},S.createElement("div",{ref:n},S.createElement(id,{event:"focusin",handler:o}),S.createElement(Xl,{keyCode:mo.Tab,keyEvent:"keydown",handler:s}),t))}function mP({acceptCharset:e,action:t,autoComplete:r,children:n,encType:i,implicitSubmit:a=!0,method:o="post",name:s,noValidate:l,preventDefault:c=!0,target:u,onSubmit:d}){const f=Yr(),h=k.useCallback(v=>{c&&(v.preventDefault(),d(v))},[d,c]),p=H1e(r),g=a?S.createElement(qe,{variant:"bodySm",as:"span",visuallyHidden:!0},S.createElement("button",{type:"submit","aria-hidden":"true",tabIndex:-1},f.translate("Polaris.Common.submit"))):null;return S.createElement("form",{acceptCharset:e,action:t,autoComplete:p,encType:i,method:o,name:s,noValidate:l,target:u,onSubmit:h},g,n)}function H1e(e){return e==null?e:e?"on":"off"}var Eg={FormLayout:"Polaris-FormLayout",Title:"Polaris-FormLayout__Title",Items:"Polaris-FormLayout__Items",Item:"Polaris-FormLayout__Item",grouped:"Polaris-FormLayout--grouped",condensed:"Polaris-FormLayout--condensed"};function dee({children:e}){return e?S.createElement("div",{className:Eg.Item},e):null}function fee({children:e,condensed:t,title:r,helpText:n}){const i=Ve(t?Eg.condensed:Eg.grouped),a=ni("FormLayoutGroup");let o=null,s,l=null,c;n&&(s=`${a}HelpText`,o=S.createElement(vd,{id:s,paddingBlockStart:"2",paddingInlineStart:"5",paddingBlockEnd:"0",paddingInlineEnd:"5",color:"text-subdued"},n)),r&&(c=`${a}Title`,l=S.createElement("div",{id:c,className:Eg.Title},r));const u=k.Children.map(e,d=>ay(d,dee,{}));return S.createElement("div",{role:"group",className:i,"aria-labelledby":c,"aria-describedby":s},l,S.createElement("div",{className:Eg.Items},u),o)}const si=k.memo(function({children:t}){return S.createElement("div",{className:Eg.FormLayout},k.Children.map(t,q1e))});si.Group=fee;
49function q1e(e,t){return w5(e,fee)?e:ay(e,dee,{key:t})}function IF(e,t,r){if(!document)return;document.documentElement.style.setProperty(e,t)}var $i={Frame:"Polaris-Frame",Navigation:"Polaris-Frame__Navigation",hasTopBar:"Polaris-Frame--hasTopBar","Navigation-enter":"Polaris-Frame__Navigation--enter","Navigation-enterActive":"Polaris-Frame__Navigation--enterActive","Navigation-exit":"Polaris-Frame__Navigation--exit","Navigation-exitActive":"Polaris-Frame__Navigation--exitActive",NavigationDismiss:"Polaris-Frame__NavigationDismiss","Navigation-visible":"Polaris-Frame__Navigation--visible",TopBar:"Polaris-Frame__TopBar",ContextualSaveBar:"Polaris-Frame__ContextualSaveBar",Main:"Polaris-Frame__Main",hasNav:"Polaris-Frame--hasNav",Content:"Polaris-Frame__Content",GlobalRibbonContainer:"Polaris-Frame__GlobalRibbonContainer",LoadingBar:"Polaris-Frame__LoadingBar",Skip:"Polaris-Frame__Skip",focused:"Polaris-Frame--focused"};function W1e(){const e=k.useRef(!1);return k.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var W9={Loading:"Polaris-Frame-Loading",Level:"Polaris-Frame-Loading__Level"};const V9=99;function V1e(){const e=Yr(),t=W1e(),[r,n]=k.useState(0),[i,a]=k.useState(!1);k.useEffect(()=>{r>=V9||i||requestAnimationFrame(()=>{if(!t.current)return;const s=Math.max((V9-r)/10,1);a(!0),n(r+s)})},[r,i,t]);const o={transform:`scaleX(${Math.floor(r)/100})`};return S.createElement("div",{className:W9.Loading,"aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,role:"progressbar","aria-label":e.translate("Polaris.Loading.label")},S.createElement("div",{className:W9.Level,style:o,onTransitionEnd:()=>a(!1)}))}var j9={startFade:"Polaris-Frame-CSSAnimation--startFade",endFade:"Polaris-Frame-CSSAnimation--endFade"},_l;(function(e){e.Entering="entering",e.Entered="entered",e.Exiting="exiting",e.Exited="exited"})(_l||(_l={}));function j1e({in:e,className:t,type:r,children:n}){const[i,a]=k.useState(e?_l.Entering:_l.Exited),o=k.useRef(!1),s=k.useRef(null);k.useEffect(()=>{o.current&&i===_l.Entering&&d(_l.Entered)},[i]),k.useEffect(()=>{o.current&&(e&&d(_l.Entering),!e&&d(_l.Exiting))},[e]),k.useEffect(()=>{o.current=!0},[]);const l=Ve(t,j9[Ln("start",r)],e&&j9[Ln("end",r)]),c=i===_l.Exited&&!e?null:n;return S.createElement("div",{className:l,ref:s,onTransitionEnd:u},c);function u(){i===_l.Exiting&&d(_l.Exited)}function d(f){a(f),f===_l.Entering&&s.current&&s.current.getBoundingClientRect()}}function G1e(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")}function hee(e,t){if(!e)return null;const r=Object.keys(e);for(const n of r){if(n===t)return e[t];if(G1e(e[n])){const i=hee(e[n],t);if(i)return i}}return null}function R5(e={},t=0,r="width"){const n=typeof e=="number"?e:hee(e,r);return n?`${n}px`:`${t}px`}var F0={ContextualSaveBar:"Polaris-Frame-ContextualSaveBar",LogoContainer:"Polaris-Frame-ContextualSaveBar__LogoContainer",ContextControl:"Polaris-Frame-ContextualSaveBar__ContextControl",Contents:"Polaris-Frame-ContextualSaveBar__Contents",fullWidth:"Polaris-Frame-ContextualSaveBar--fullWidth",ActionContainer:"Polaris-Frame-ContextualSaveBar__ActionContainer"},c1={BodyWrapper:"Polaris-Modal__BodyWrapper",Body:"Polaris-Modal__Body",IFrame:"Polaris-Modal__IFrame",Spinner:"Polaris-Modal__Spinner"},Qi={Container:"Polaris-Modal-Dialog__Container",Dialog:"Polaris-Modal-Dialog",Modal:"Polaris-Modal-Dialog__Modal",limitHeight:"Polaris-Modal-Dialog--limitHeight",sizeSmall:"Polaris-Modal-Dialog--sizeSmall",sizeLarge:"Polaris-Modal-Dialog--sizeLarge",fullScreen:"Polaris-Modal-Dialog--fullScreen",animateFadeUp:"Polaris-Modal-Dialog--animateFadeUp",entering:"Polaris-Modal-Dialog--entering",exiting:"Polaris-Modal-Dialog--exiting",exited:"Polaris-Modal-Dialog--exited",entered:"Polaris-Modal-Dialog--entered"};function K1e({instant:e,labelledBy:t,children:r,onClose:n,onExited:i,onEntered:a,large:o,small:s,limitHeight:l,fullScreen:c,setClosing:u,...d}){const f=k.useRef(null),h=Ve(Qi.Modal,s&&Qi.sizeSmall,o&&Qi.sizeLarge,l&&Qi.limitHeight,c&&Qi.fullScreen),p=e?oc:Y1e;k.useEffect(()=>
49{f.current&&!f.current.contains(document.activeElement)&&sP(f.current)},[]);const g=()=>{u&&u(!0)},v=()=>{u&&u(!1),n()};return S.createElement(p,Object.assign({},d,{nodeRef:f,mountOnEnter:!0,unmountOnExit:!0,timeout:parseInt(Tv["duration-200"],10),onEntered:a,onExited:i}),S.createElement("div",{className:Qi.Container,"data-polaris-layer":!0,"data-polaris-overlay":!0,ref:f},S.createElement(uee,null,S.createElement("div",{role:"dialog","aria-modal":!0,"aria-labelledby":t,tabIndex:-1,className:Qi.Dialog},S.createElement("div",{className:h},S.createElement(Xl,{keyCode:mo.Escape,keyEvent:"keydown",handler:g}),S.createElement(Xl,{keyCode:mo.Escape,handler:v}),r)))))}const Z1e={appear:Ve(Qi.animateFadeUp,Qi.entering),appearActive:Ve(Qi.animateFadeUp,Qi.entered),enter:Ve(Qi.animateFadeUp,Qi.entering),enterActive:Ve(Qi.animateFadeUp,Qi.entered),exit:Ve(Qi.animateFadeUp,Qi.exiting),exitActive:Ve(Qi.animateFadeUp,Qi.exited)};function Y1e({children:e,...t}){return S.createElement(a0,Object.assign({},t,{classNames:Z1e}),e)}var cI={Header:"Polaris-Modal-Header",titleHidden:"Polaris-Modal-Header--titleHidden",Title:"Polaris-Modal-Header__Title"},uI={CloseButton:"Polaris-Modal-CloseButton",pressed:"Polaris-Modal-CloseButton--pressed",titleHidden:"Polaris-Modal-CloseButton--titleHidden"};function $1e({pressed:e,titleHidden:t=!1,onClick:r}){const n=Yr();return S.createElement("button",{onClick:r,className:Ve(uI.CloseButton,t&&uI.titleHidden,e&&uI.pressed),"aria-label":n.translate("Polaris.Common.close")},S.createElement(bn,{source:b5,color:"base"}))}function X1e({id:e,titleHidden:t,closing:r,children:n,onClose:i}){return S.createElement("div",{className:t||!n?cI.titleHidden:cI.Header},S.createElement("div",{id:e,className:cI.Title},S.createElement(qe,{as:"h2",variant:"headingLg"},n)),S.createElement($1e,{pressed:r,titleHidden:t,onClick:i}))}var X2={Section:"Polaris-Modal-Section",subdued:"Polaris-Modal-Section--subdued",flush:"Polaris-Modal-Section--flush",titleHidden:"Polaris-Modal-Section--titleHidden"};function pee({children:e,flush:t=!1,subdued:r=!1,titleHidden:n=!1}){const i=Ve(X2.Section,t&&X2.flush,r&&X2.subdued,n&&X2.titleHidden);return S.createElement("section",{className:i},e)}var G9={Footer:"Polaris-Modal-Footer",FooterContent:"Polaris-Modal-Footer__FooterContent"};function Q1e({primaryAction:e,secondaryActions:t,children:r}){const n=e&&_v(e,{primary:!0})||null,i=t&&_v(t)||null,a=n||i?S.createElement(Jc,null,i,n):null;return S.createElement("div",{className:G9.Footer},S.createElement("div",{className:G9.FooterContent},S.createElement(je,{alignment:"center"},S.createElement(je.Item,{fill:!0},r),a)))}const K9=200,J1e=400,gP=function({children:t,title:r,titleHidden:n=!1,src:i,iFrameName:a,open:o,instant:s,sectioned:l,loading:c,large:u,small:d,limitHeight:f,footer:h,primaryAction:p,secondaryActions:g,onScrolledToBottom:v,activator:m,onClose:b,onIFrameLoad:y,onTransitionEnd:w,noScroll:x,fullScreen:C}){const[T,_]=k.useState(K9),[P,F]=k.useState(!1),I=ni("modal-header"),R=k.useRef(null),A=Yr().translate("Polaris.Modal.iFrameTitle");let M,X;const Y=k.useCallback(()=>{w&&w()},[w]),se=k.useCallback(()=>{_(K9);const ce=m&&Z9(m)?m&&m.current:R.current;ce&&requestAnimationFrame(()=>sP(ce))},[m]),ne=k.useCallback(ce=>{const ke=ce.target;if(ke&&ke.contentWindow)try{_(ke.contentWindow.document.body.scrollHeight)}catch{_(J1e)}y!=null&&y(ce)},[y]);if(o){const ce=!h&&!p&&!g?null:S.createElement(Q1e,{primaryAction:p,secondaryActions:g},h),ke=l?ay(t,pee,{titleHidden:n}):t,ge=c?S.createElement("div",{className:c1.Spinner},S.createElement(lf,null)):ke,De=x?S.createElement("div",{className:c1.Body},ge):S.createElement(op,{shadow:!0,className:c1.Body,onScrolledToBottom:v},ge),Ne=i?S.createElement("iframe",{name:a,title:A,src:i,className:c1.IFrame,onLoad:ne,style:{height:`${T}px`}}):De;M=S.createElement(K1e,{instant:s,labelledBy:I,onClose:b,onEntered:Y,onExited:se,large:u,small:d,limitHeight:f,fullScreen:C,setClosing:F},S.createElement(X1e,{titleHidden:n,id:I,closing:P,onClose:b},r),S.createElement("div",{className:c1.BodyWrapper},Ne),ce),X=S.createElement(YJ,{setClosing:F,onClick:b})}const ie=!s,ae=m&&!Z9(m)?S.createElement("div",{ref:R},m):null;return S.createElement(Jw.Provider,{value:!0},ae,S.createElement(cP,{idPrefix:"modal"},S.createElement(hP,{appear:ie,enter:ie,exit:ie},M),X))};function Z9(e){return Object.prototype.hasOwnProperty.call(e,"current")}gP.Section=pee;function ebe({open:e,onDiscard:t,onCancel:r}){const n=Yr();return S.createElement(gP,{title:n.translate("Polaris.DiscardConfirmationModal.title"),open:e,onClose:r,primaryAction:{content:n.translate("Polaris.DiscardConfirmationModal.primaryAction"),destructive:!0,onAction:t},secondaryActions:[{content:n.translate("Polaris.DiscardConfirmationModal.secondaryAction"),onAction:r}],sectioned:!0},n.translate("Polaris.DiscardConfirmationModal.message"))}function tbe({alignContentFlush:e,message:t,saveAction:r,discardAction:n,fullWidth:i,contextControl:a,secondaryMenu:o}){const s=Yr(),{logo:l}=ix(),{value:c,toggle:u,setFalse:d}=Co(!1),f=k.useCallback(()=>{n&&n.onAction&&n.onAction(),d()},[d,n]),h=n&&n.content?n.content:s.translate("Polaris.ContextualSaveBar.discard");let p;n&&n.discardConfirmationModal?p=u:n&&(p=n.onAction);const g=n&&n.onAction&&n.discardConfirmationModal&&S.createElement(ebe,{open:c,onCancel:u,onDiscard:f}),v=n&&S.createElement(vr,{url:n.url,onClick:p,loading:n.loading,disabled:n.disabled,accessibilityLabel:n.content},h),m=r&&r.content?r.content:s.translate("Polaris.ContextualSaveBar.save"),b=r&&S.createElement(vr,{primary:!0,url:r.url,onClick:r.onAction,loading:r.loading,disabled:r.disabled,accessibilityLabel:r.content},m),y=R5(l,104),w=l&&S.createElement(Wh,{style:{width:y},source:l.contextualSaveBarSource||"",alt:""}),x=e||a?null:S.createElement("div",{className:F0.LogoContainer,style:{width:y}},w),C=a?S.createElement("div",{className:F0.ContextControl},a):null,T=Ve(F0.Contents,i&&F0.fullWidth);return S.createElement(S.Fragment,null,S.createElement("div",{className:F0.ContextualSaveBar},C,x,S.createElement("div",{className:T},S.createElement(qe,{as:"h2",variant:"headingMd",color:"text-inverse",truncate:!0},t),S.createElement("div",{className:F0.ActionContainer},S.createElement(je,{spacing:"tight",wrap:!1},o,v,b)))),g)}function mee(e,t=i1e){const r=k.useRef(e);return t(r.current,e)||(r.current=e),r.current}function F5(e,t,r){k.useEffect(e,mee(t,r))}function rbe(e,t,r){return k.useCallback(e,mee(t,r))}var Np={ToastManager:"Polaris-Frame-ToastManager",ToastWrapper:"Polaris-Frame-ToastManager__ToastWrapper","ToastWrapper-enter"
49:"Polaris-Frame-ToastManager__ToastWrapper--enter","ToastWrapper-exit":"Polaris-Frame-ToastManager__ToastWrapper--exit","ToastWrapper-enter-done":"Polaris-Frame-ToastManager--toastWrapperEnterDone"},Q2={Toast:"Polaris-Frame-Toast",Action:"Polaris-Frame-Toast__Action",error:"Polaris-Frame-Toast--error",CloseButton:"Polaris-Frame-Toast__CloseButton"},nbe={Inline:"Polaris-Inline"};const ibe=function({align:t="start",blockAlign:r="center",spacing:n="4",wrap:i=!0,children:a}){const o={"--pc-inline-align":t,"--pc-inline-block-align":r,"--pc-inline-wrap":i?"wrap":"nowrap","--pc-inline-spacing":`var(--p-space-${n})`};return S.createElement("div",{className:nbe.Inline,style:o},a)},abe=5e3,Y9=1e4;function obe({content:e,onDismiss:t,duration:r,error:n,action:i}){k.useEffect(()=>{let l=r||abe;i&&!r?l=Y9:i&&r&&r<Y9&&console.log("Toast with action should persist for at least 10,000 milliseconds to give the merchant enough time to act on it.");const c=setTimeout(t,l);return()=>{clearTimeout(c)}},[i,r,t]);const a=S.createElement("button",{type:"button",className:Q2.CloseButton,onClick:t},S.createElement(bn,{source:b5})),o=i?S.createElement("div",{className:Q2.Action},S.createElement(vr,{plain:!0,monochrome:!0,onClick:i.onAction},i.content)):null,s=Ve(Q2.Toast,n&&Q2.error);return S.createElement("div",{className:s},S.createElement(Xl,{keyCode:mo.Escape,handler:t}),S.createElement(ibe,{blockAlign:"center"},S.createElement(qe,{as:"span",variant:"bodyMd",fontWeight:"medium"},e)),o,a)}const sbe=k.memo(function({toastMessages:t}){const r=[],n=rbe(()=>{let a=0;t.forEach((o,s)=>{const l=r[s];l.current&&(a+=l.current.clientHeight,l.current.style.setProperty("--pc-toast-manager-translate-y-in",`-${a}px`),l.current.style.setProperty("--pc-toast-manager-translate-y-out",`${-a+150}px`))})},[t,r]);F5(()=>{n()},[t]);const i=t.map((a,o)=>{const s=k.createRef();return r[o]=s,S.createElement(a0,{nodeRef:r[o],key:a.id,timeout:{enter:0,exit:400},classNames:lbe},S.createElement("div",{ref:s},S.createElement(obe,a)))});return S.createElement(cP,null,S.createElement(id,{event:"resize",handler:n}),S.createElement("div",{className:Np.ToastManager,"aria-live":"assertive"},S.createElement(hP,{component:null},i)))}),lbe={enter:Ve(Np.ToastWrapper,Np["ToastWrapper-enter"]),enterDone:Ve(Np.ToastWrapper,Np["ToastWrapper-enter-done"]),exit:Ve(Np.ToastWrapper,Np["ToastWrapper-exit"])},$9="AppFrameMain",cbe="AppFrameNav",ube="AppFrameTopBar",dbe="AppFrameLoadingBar";class fbe extends k.PureComponent{constructor(...t){super(...t),this.state={skipFocused:!1,globalRibbonHeight:0,loadingStack:0,toastMessages:[],showContextualSaveBar:!1},this.contextualSaveBar=null,this.globalRibbonContainer=null,this.navigationNode=k.createRef(),this.setGlobalRibbonHeight=()=>{const{globalRibbonContainer:r}=this;r&&this.setState({globalRibbonHeight:r.offsetHeight},this.setGlobalRibbonRootProperty)},this.setOffset=()=>{const{offset:r="0px"}=this.props;IF("--pc-frame-offset",r)},this.setGlobalRibbonRootProperty=()=>{const{globalRibbonHeight:r}=this.state;IF("--pc-frame-global-ribbon-height",`${r}px`)},this.showToast=r=>{this.setState(({toastMessages:n})=>({toastMessages:n.find(({id:a})=>a===r.id)!=null?n:[...n,r]}))},this.hideToast=({id:r})=>{this.setState(({toastMessages:n})=>({toastMessages:n.filter(({id:i})=>r!==i)}))},this.setContextualSaveBar=r=>{const{showContextualSaveBar:n}=this.state;this.contextualSaveBar={...r},n===!0?this.forceUpdate():this.setState({showContextualSaveBar:!0})},this.removeContextualSaveBar=()=>{this.contextualSaveBar=null,this.setState({showContextualSaveBar:!1})},this.startLoading=()=>{this.setState(({loadingStack:r})=>({loadingStack:r+1}))},this.stopLoading=()=>{this.setState(({loadingStack:r})=>({loadingStack:Math.max(0,r-1)}))},this.handleResize=()=>{this.props.globalRibbon&&this.setGlobalRibbonHeight()},this.handleFocus=()=>{this.setState({skipFocused:!0})},this.handleBlur=()=>{this.setState({skipFocused:!1})},this.handleClick=r=>{const{skipToContentTarget:n}=this.props;n&&n.current&&(n.current.focus(),r==null||r.preventDefault())},this.handleNavigationDismiss=()=>{const{onNavigationDismiss:r}=this.props;r!=null&&r()},this.setGlobalRibbonContainer=r=>{this.globalRibbonContainer=r},this.handleNavKeydown=r=>{const{key:n}=r,{mediaQuery:{isNavigationCollapsed:i},showMobileNavigation:a}=this.props;i&&a&&n==="Escape"&&this.handleNavigationDismiss()}}componentDidMount(){this.handleResize(),!this.props.globalRibbon&&(this.setGlobalRibbonRootProperty(),this.setOffset())}componentDidUpdate(t){this.props.globalRibbon!==t.globalRibbon&&this.setGlobalRibbonHeight(),this.setOffset()}render(){const{skipFocused:t,loadingStack:r,toastMessages:n,showContextualSaveBar:i}=this.state,{logo:a,children:o,navigation:s,topBar:l,globalRibbon:c,showMobileNavigation:u=!1,skipToContentTarget:d,i18n:f,mediaQuery:{isNavigationCollapsed:h}}=this.props,p=Ve($i.Navigation,u&&$i["Navigation-visible"]),g=h&&!u,v=h&&u,m=v?0:-1,b={...v&&{"aria-modal":!0,role:"dialog"}},y=s?S.createElement(uee,{trapping:v},S.createElement(a0,{nodeRef:this.navigationNode,appear:h,exit:h,in:u,timeout:parseInt(Tv["duration-300"],10),classNames:hbe},S.createElement("div",Object.assign({key:"NavContent"},b,{"aria-label":f.translate("Polaris.Frame.navigationLabel"),ref:this.navigationNode,className:p,onKeyDown:this.handleNavKeydown,id:cbe,hidden:g}),s,S.createElement("button",{type:"button",className:$i.NavigationDismiss,onClick:this.handleNavigationDismiss,"aria-hidden":g||!h&&!u,"aria-label":f.translate("Polaris.Frame.Navigation.closeMobileNavigationLabel"),tabIndex:m},S.createElement(bn,{source:b5}))))):null,w=r>0?S.createElement("div",{className:$i.LoadingBar,id:dbe},S.createElement(V1e,null)):null,x=S.createElement(j1e,{in:i,className:$i.ContextualSaveBar,type:"fade"},S.createElement(tbe,this.contextualSaveBar)),C=l?S.createElement("div",Object.assign({className:$i.TopBar},zk.props,h5.props,{id:ube}),l):null,T=c?S.createElement("div",{className:$i.GlobalRibbonContainer,ref:this.setGlobalRibbonContainer},c):null,_=Ve($i.Skip,t&&$i.focused),P=d!=null&&d.current?d.current.id:$9,F=S.createElement("div",{className:_},S.createElement("a",{href:`#${P}`,onFocus:this.handleFocus,onBlur:this.handleBlur,onClick:this.handleClick},f.translate("Polaris.Frame.skipToContent"))),I=s?{"data-has-navigation":!0}:{},R=Ve($i.Frame,s&&$i.hasNav,l&&$i.hasTopBar),D=u&&h?S.createElement(YJ,{belowNavigation:!0,onClick:this.handleNavigationDismiss,onTouchStart:this.handleNavigationDismiss}):null,A={logo:a,showToast:this.showToast,hideToast:this.hideToast,startLoading:this.startLoading,stopLoading:this.stopLoading,setContextualSaveBar:this.setContextualSaveBar,removeContextualSaveBar:this.removeContextualSaveBar};return S.createElement(iee.Provider,{value:A},S.createElement("div",Object.assign({className:R},zk.props,I),F,C,y,x,w,D,S.createElement("main",{className:$i.Main,id:$9,"data-has-global-ribbon":!!c},S.createElement("div",{className:$i.Content},o)),S.createElement(sbe,{toastMessages:n}),T,S.createElement(id,{event:"resize",handler:this.handleResize}
49)))}}const hbe={enter:Ve($i["Navigation-enter"]),enterActive:Ve($i["Navigation-enterActive"]),enterDone:Ve($i["Navigation-enterActive"]),exit:Ve($i["Navigation-exit"]),exitActive:Ve($i["Navigation-exitActive"])};function X9(e){const t=Yr(),r=ax();return S.createElement(fbe,Object.assign({},e,{i18n:t,mediaQuery:r}))}var pbe={Grid:"Polaris-Grid"},D0={Cell:"Polaris-Grid-Cell","Cell-1-column-xs":"Polaris-Grid-Cell--cell_1ColumnXs","Cell-2-column-xs":"Polaris-Grid-Cell--cell_2ColumnXs","Cell-3-column-xs":"Polaris-Grid-Cell--cell_3ColumnXs","Cell-4-column-xs":"Polaris-Grid-Cell--cell_4ColumnXs","Cell-5-column-xs":"Polaris-Grid-Cell--cell_5ColumnXs","Cell-6-column-xs":"Polaris-Grid-Cell--cell_6ColumnXs","Cell-1-column-sm":"Polaris-Grid-Cell--cell_1ColumnSm","Cell-2-column-sm":"Polaris-Grid-Cell--cell_2ColumnSm","Cell-3-column-sm":"Polaris-Grid-Cell--cell_3ColumnSm","Cell-4-column-sm":"Polaris-Grid-Cell--cell_4ColumnSm","Cell-5-column-sm":"Polaris-Grid-Cell--cell_5ColumnSm","Cell-6-column-sm":"Polaris-Grid-Cell--cell_6ColumnSm","Cell-1-column-md":"Polaris-Grid-Cell--cell_1ColumnMd","Cell-2-column-md":"Polaris-Grid-Cell--cell_2ColumnMd","Cell-3-column-md":"Polaris-Grid-Cell--cell_3ColumnMd","Cell-4-column-md":"Polaris-Grid-Cell--cell_4ColumnMd","Cell-5-column-md":"Polaris-Grid-Cell--cell_5ColumnMd","Cell-6-column-md":"Polaris-Grid-Cell--cell_6ColumnMd","Cell-1-column-lg":"Polaris-Grid-Cell--cell_1ColumnLg","Cell-2-column-lg":"Polaris-Grid-Cell--cell_2ColumnLg","Cell-3-column-lg":"Polaris-Grid-Cell--cell_3ColumnLg","Cell-4-column-lg":"Polaris-Grid-Cell--cell_4ColumnLg","Cell-5-column-lg":"Polaris-Grid-Cell--cell_5ColumnLg","Cell-6-column-lg":"Polaris-Grid-Cell--cell_6ColumnLg","Cell-7-column-lg":"Polaris-Grid-Cell--cell_7ColumnLg","Cell-8-column-lg":"Polaris-Grid-Cell--cell_8ColumnLg","Cell-9-column-lg":"Polaris-Grid-Cell--cell_9ColumnLg","Cell-10-column-lg":"Polaris-Grid-Cell--cell_10ColumnLg","Cell-11-column-lg":"Polaris-Grid-Cell--cell_11ColumnLg","Cell-12-column-lg":"Polaris-Grid-Cell--cell_12ColumnLg","Cell-1-column-xl":"Polaris-Grid-Cell--cell_1ColumnXl","Cell-2-column-xl":"Polaris-Grid-Cell--cell_2ColumnXl","Cell-3-column-xl":"Polaris-Grid-Cell--cell_3ColumnXl","Cell-4-column-xl":"Polaris-Grid-Cell--cell_4ColumnXl","Cell-5-column-xl":"Polaris-Grid-Cell--cell_5ColumnXl","Cell-6-column-xl":"Polaris-Grid-Cell--cell_6ColumnXl","Cell-7-column-xl":"Polaris-Grid-Cell--cell_7ColumnXl","Cell-8-column-xl":"Polaris-Grid-Cell--cell_8ColumnXl","Cell-9-column-xl":"Polaris-Grid-Cell--cell_9ColumnXl","Cell-10-column-xl":"Polaris-Grid-Cell--cell_10ColumnXl","Cell-11-column-xl":"Polaris-Grid-Cell--cell_11ColumnXl","Cell-12-column-xl":"Polaris-Grid-Cell--cell_12ColumnXl"};function mbe({area:e,column:t,columnSpan:r,row:n,children:i}){const a=Ve(D0.Cell,(r==null?void 0:r.xs)&&D0[`Cell-${r.xs}-column-xs`],(r==null?void 0:r.sm)&&D0[`Cell-${r.sm}-column-sm`],(r==null?void 0:r.md)&&D0[`Cell-${r.md}-column-md`],(r==null?void 0:r.lg)&&D0[`Cell-${r.lg}-column-lg`],(r==null?void 0:r.xl)&&D0[`Cell-${r.xl}-column-xl`]),o={gridArea:e,"--pc-column-xs":t==null?void 0:t.xs,"--pc-column-sm":t==null?void 0:t.sm,"--pc-column-md":t==null?void 0:t.md,"--pc-column-lg":t==null?void 0:t.lg,"--pc-column-xl":t==null?void 0:t.xl,"--pc-row-xs":n==null?void 0:n.xs,"--pc-row-sm":n==null?void 0:n.sm,"--pc-row-md":n==null?void 0:n.md,"--pc-row-lg":n==null?void 0:n.lg,"--pc-row-xl":n==null?void 0:n.xl};return S.createElement("div",{className:a,style:o},i)}const _o=function({gap:t,areas:r,children:n,columns:i}){const a={"--pc-grid-gap-xs":t==null?void 0:t.xs,"--pc-grid-gap-sm":t==null?void 0:t.sm,"--pc-grid-gap-md":t==null?void 0:t.md,"--pc-grid-gap-lg":t==null?void 0:t.lg,"--pc-grid-gap-xl":t==null?void 0:t.xl,"--pc-grid-columns-xs":i==null?void 0:i.xs,"--pc-grid-columns-sm":i==null?void 0:i.sm,"--pc-grid-columns-md":i==null?void 0:i.md,"--pc-grid-columns-lg":i==null?void 0:i.lg,"--pc-grid-columns-xl":i==null?void 0:i.xl,"--pc-grid-areas-xs":u1(r==null?void 0:r.xs),"--pc-grid-areas-sm":u1(r==null?void 0:r.sm),"--pc-grid-areas-md":u1(r==null?void 0:r.md),"--pc-grid-areas-lg":u1(r==null?void 0:r.lg),"--pc-grid-areas-xl":u1(r==null?void 0:r.xl)};return S.createElement("div",{className:pbe.Grid,style:a},n)};function u1(e){if(e)return`'${e==null?void 0:e.join("' '")}'`}_o.Cell=mbe;var Ot={IndexTable:"Polaris-IndexTable","LoadingContainer-enter"
49:"Polaris-IndexTable__LoadingContainer--enter","LoadingContainer-enter-active":"Polaris-IndexTable--loadingContainerEnterActive","LoadingContainer-exit":"Polaris-IndexTable__LoadingContainer--exit","LoadingContainer-exit-active":"Polaris-IndexTable--loadingContainerExitActive",LoadingPanel:"Polaris-IndexTable__LoadingPanel",LoadingPanelRow:"Polaris-IndexTable__LoadingPanelRow",LoadingPanelText:"Polaris-IndexTable__LoadingPanelText",Table:"Polaris-IndexTable__Table","Table-scrolling":"Polaris-IndexTable__Table--scrolling","TableCell-first":"Polaris-IndexTable__TableCell--first",TableCell:"Polaris-IndexTable__TableCell","TableHeading-first":"Polaris-IndexTable__TableHeading--first","TableHeading-second":"Polaris-IndexTable__TableHeading--second","Table-sticky":"Polaris-IndexTable__Table--sticky","Table-unselectable":"Polaris-IndexTable__Table--unselectable",TableRow:"Polaris-IndexTable__TableRow","TableRow-unclickable":"Polaris-IndexTable__TableRow--unclickable",statusSuccess:"Polaris-IndexTable--statusSuccess",statusSubdued:"Polaris-IndexTable--statusSubdued","TableRow-hovered":"Polaris-IndexTable__TableRow--hovered","TableRow-selected":"Polaris-IndexTable__TableRow--selected","TableRow-subdued":"Polaris-IndexTable__TableRow--subdued","TableRow-disabled":"Polaris-IndexTable__TableRow--disabled",TableHeading:"Polaris-IndexTable__TableHeading","TableHeading-sortable":"Polaris-IndexTable__TableHeading--sortable","TableHeading-flush":"Polaris-IndexTable__TableHeading--flush",TableHeadingSortButton:"Polaris-IndexTable__TableHeadingSortButton",TableHeadingSortIcon:"Polaris-IndexTable__TableHeadingSortIcon","TableHeadingSortIcon-visible":"Polaris-IndexTable__TableHeadingSortIcon--visible",TableHeadingSortSvg:"Polaris-IndexTable__TableHeadingSortSvg",ColumnHeaderCheckboxWrapper:"Polaris-IndexTable__ColumnHeaderCheckboxWrapper",FirstStickyHeaderElement:"Polaris-IndexTable__FirstStickyHeaderElement","TableHeading-unselectable":"Polaris-IndexTable__TableHeading--unselectable","TableCell-flush":"Polaris-IndexTable__TableCell--flush","Table-sticky-scrolling":"Polaris-IndexTable--tableStickyScrolling","TableHeading-last":"Polaris-IndexTable__TableHeading--last","Table-sticky-last":"Polaris-IndexTable--tableStickyLast","Table-sortable":"Polaris-IndexTable__Table--sortable",StickyTable:"Polaris-IndexTable__StickyTable",StickyTableHeader:"Polaris-IndexTable__StickyTableHeader","StickyTableHeader-isSticky":"Polaris-IndexTable__StickyTableHeader--isSticky",StickyTableColumnHeader:"Polaris-IndexTable__StickyTableColumnHeader","StickyTableColumnHeader-isScrolling":"Polaris-IndexTable__StickyTableColumnHeader--isScrolling",StickyTableHeadings:"Polaris-IndexTable__StickyTableHeadings","StickyTableHeading-second":"Polaris-IndexTable__StickyTableHeading--second",unselectable:"Polaris-IndexTable--unselectable","StickyTableHeading-second-scrolling":"Polaris-IndexTable--stickyTableHeadingSecondScrolling",ScrollLeft:"Polaris-IndexTable__ScrollLeft",ScrollRight:"Polaris-IndexTable__ScrollRight","ScrollRight-onboarding":"Polaris-IndexTable__ScrollRight--onboarding",BulkActionsWrapper:"Polaris-IndexTable__BulkActionsWrapper",ScrollBarContainer:"Polaris-IndexTable__ScrollBarContainer",scrollBarContainerCondensed:"Polaris-IndexTable--scrollBarContainerCondensed",scrollBarContainerHidden:"Polaris-IndexTable--scrollBarContainerHidden",ScrollBar:"Polaris-IndexTable__ScrollBar",disableTextSelection:"Polaris-IndexTable--disableTextSelection",selectMode:"Polaris-IndexTable--selectMode",EmptySearchResultWrapper:"Polaris-IndexTable__EmptySearchResultWrapper",condensedRow:"Polaris-IndexTable--condensedRow",CondensedList:"Polaris-IndexTable__CondensedList",HeaderWrapper:"Polaris-IndexTable__HeaderWrapper","StickyTable-condensed":"Polaris-IndexTable__StickyTable--condensed","StickyTableHeader-condensed":"Polaris-IndexTable__StickyTableHeader--condensed",ScrollBarContent:"Polaris-IndexTable__ScrollBarContent"};const Zg="All";let ao;(function(e){e.All="all",e.Page="page",e.Multi="multi",e.Single="single"})(ao||(ao={}));const gee=k.createContext(void 0),vee=k.createContext(void 0),yee=k.createContext(void 0);function bee(){const e=k.useContext(vee);if(!e)throw new Error("Missing IndexProvider context");return e}function gbe(){const e=k.useContext(yee);if(!e)throw new Error("Missing IndexProvider context");return e}function See(){const e=k.useContext(gee);
49if(!e)throw new Error("Missing IndexProvider context");return e}function vbe({selectedItemsCount:e,itemCount:t,hasMoreItems:r,resourceName:n}){const i=Yr(),a=!!e,o=e==="All"||e>0,s={singular:i.translate("Polaris.IndexProvider.defaultItemSingular"),plural:i.translate("Polaris.IndexProvider.defaultItemPlural")},l=n||s,c=h(),u=p(),d=g();let f="indeterminate";return!e||e===0?f=void 0:(e===Zg||e===t)&&(f=!0),{paginatedSelectAllText:c,bulkActionsLabel:u,bulkActionsAccessibilityLabel:d,resourceName:l,selectMode:o,bulkSelectState:f,selectable:a};function h(){if(!(!a||!r)&&e===Zg)return i.translate("Polaris.IndexProvider.allItemsSelected",{itemsLength:t,resourceNamePlural:l.plural.toLocaleLowerCase()})}function p(){const v=e===Zg?`${t}+`:e;return i.translate("Polaris.IndexProvider.selected",{selectedItemsCount:v})}function g(){const v=t,m=e===v;return v===1&&m?i.translate("Polaris.IndexProvider.a11yCheckboxDeselectAllSingle",{resourceNameSingular:l.singular}):v===1?i.translate("Polaris.IndexProvider.a11yCheckboxSelectAllSingle",{resourceNameSingular:l.singular}):m?i.translate("Polaris.IndexProvider.a11yCheckboxDeselectAllMultiple",{itemsLength:t,resourceNamePlural:l.plural}):i.translate("Polaris.IndexProvider.a11yCheckboxSelectAllMultiple",{itemsLength:t,resourceNamePlural:l.plural})}}function ybe({onSelectionChange:e=()=>{}}){const t=k.useRef(null);return k.useCallback((n,i,a,o)=>{const s=t.current;if(ao.Multi&&typeof o=="number"&&(t.current=o),n===ao.Single||n===ao.Multi&&(typeof s!="number"||typeof o!="number"))e(ao.Single,i,a);else if(n===ao.Multi){const l=Math.min(s,o),c=Math.max(s,o);e(n,i,[l,c])}else(n===ao.Page||n===ao.All)&&e(n,i)},[e])}function bbe({children:e,resourceName:t,loading:r,onSelectionChange:n,selectedItemsCount:i=0,itemCount:a,hasMoreItems:o,condensed:s,selectable:l=!0}){const{paginatedSelectAllText:c,bulkActionsLabel:u,bulkActionsAccessibilityLabel:d,resourceName:f,selectMode:h,bulkSelectState:p}=vbe({selectedItemsCount:i,itemCount:a,hasMoreItems:o,resourceName:t}),g=ybe({onSelectionChange:n}),v=k.useMemo(()=>({itemCount:a,selectMode:h&&l,selectable:l,resourceName:f,loading:r,paginatedSelectAllText:c,hasMoreItems:o,bulkActionsLabel:u,bulkActionsAccessibilityLabel:d,bulkSelectState:p,selectedItemsCount:i,condensed:s}),[a,h,l,f,r,c,o,u,d,p,i,s]),m=k.useMemo(()=>({selectable:l,selectMode:h&&l,condensed:s}),[s,h,l]);return S.createElement(gee.Provider,{value:v},S.createElement(yee.Provider,{value:m},S.createElement(vee.Provider,{value:g},e)))}const Sbe=k.memo(function({children:t,className:r,flush:n}){const i=Ve(r,Ot.TableCell,n&&Ot["TableCell-flush"]);return S.createElement("td",{className:i},t)});var J2={TableCellContentContainer:"Polaris-IndexTable-Checkbox__TableCellContentContainer",Wrapper:"Polaris-IndexTable-Checkbox__Wrapper",expanded:"Polaris-IndexTable-Checkbox--expanded",condensed:"Polaris-IndexTable-Checkbox--condensed"};const D5=k.createContext({}),wbe=k.createContext(void 0),wee={scrollableContainer:null,canScrollLeft:!1,canScrollRight:!1},xbe=k.createContext(wee),Cbe=k.memo(function(){const t=Yr(),{resourceName:r,condensed:n}=See(),{itemId:i,selected:a,disabled:o,onInteraction:s}=k.useContext(D5),l=Ve(J2.Wrapper,n?J2.condensed:J2.expanded),c=n?k.Fragment:Ebe;return S.createElement(c,null,S.createElement("div",{className:J2.TableCellContentContainer},S.createElement("div",{className:l,onClick:s,onKeyUp:kbe},S.createElement(oy,{id:i,label:t.translate("Polaris.IndexTable.selectItem",{resourceName:r.singular}),labelHidden:!0,checked:a,disabled:o}))))});function Ebe({children:e}){const{position:t}=k.useContext(D5),r=k.useRef(null),n=k.useCallback(rl(()=>{if(t!==0||!r.current)return;const{width:a}=r.current.getBoundingClientRect();IF("--pc-checkbox-offset",`${a}px`)}),[t]);k.useEffect(()=>{n()},[n]),k.useEffect(()=>{if(r.current)return window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}},[n]);const i=Ve(Ot.TableCell,Ot["TableCell-first"]);return S.createElement("td",{className:i,ref:r},e)}function kbe(){}const Tbe=k.memo(function({children:t,selected:r,id:n,position:i,subdued:a,status:o,disabled:s,onNavigation:l,onClick:c}){const{selectable:u,selectMode:d,condensed:f}=gbe(),h=bee(),{value:p,setTrue:g,setFalse:v}=Co(!1),m=k.useCallback(I=>{if(I.stopPropagation(),"key"in I&&I.key!==" "||!h)return;const R=I.nativeEvent.shiftKey?ao.Multi:ao.Single;h(R,!r,n,i)},[n,h,i,r]),b=k.useMemo(()=>({itemId:n,selected:r,position:i,onInteraction:m,disabled:s}),[n,r,s,i,m]),y=k.useRef(null),w=k.useRef(!1),x=k.useRef(null),C=k.useCallback(I=>{x.current=I;const R=I==null?void 0:I.querySelector("[data-primary-link]");R&&(y.current=R)},[]),T=Ve(Ot.TableRow,u&&f&&Ot.condensedRow,r&&Ot["TableRow-selected"],a&&Ot["TableRow-subdued"],p&&Ot["TableRow-hovered"],s&&Ot["TableRow-disabled"],o&&Ot[Ln("status",o)],!u&&!y.current&&Ot["TableRow-unclickable"]);let _;(!s&&u||y.current)&&(_=I=>{if(!(!x.current||w.current)){if(I.stopPropagation(),I.preventDefault(),c){c();return}if(y.current&&!d){w.current=!0;const{ctrlKey:R,metaKey:D}=I.nativeEvent;if(l&&l(n),(R||D)&&y.current instanceof HTMLAnchorElement){w.current=!1,window.open(y.current.href,"_blank");return}y.current.dispatchEvent(new MouseEvent(I.type,I.nativeEvent))}else w.current=!1,m(I)}});const P=f?"li":"tr",F=u?S.createElement(Cbe,null):null;return S.createElement(D5.Provider,{value:b},S.createElement(wbe.Provider,{value:p},S.createElement(P,{key:n,className:T,onMouseEnter:g,onMouseLeave:v,onClick:_,ref:C},F,t)))});function Q9(e,t){return e?Array.from(e.querySelectorAll(t)):[]}
49var _be={ScrollContainer:"Polaris-IndexTable-ScrollContainer"};function Pbe({children:e,scrollableContainerRef:t,onScroll:r}){k.useEffect(()=>{t.current&&t.current.dispatchEvent(new Event("scroll"))},[t]);const[n,i]=k.useState(wee),a=k.useCallback(rl(()=>{if(!t.current)return;const o=t.current.scrollWidth-t.current.offsetWidth,s=t.current.scrollLeft>0,l=t.current.scrollLeft<o;r(s,l),i({scrollableContainer:t.current,canScrollLeft:s,canScrollRight:l})},40,{trailing:!0,leading:!0,maxWait:40}),[r,t]);return S.createElement(xbe.Provider,{value:n},S.createElement("div",{className:_be.ScrollContainer,ref:t,onScroll:a},e))}const Abe=4,Obe=300;function Ibe({headings:e,bulkActions:t=[],promotedBulkActions:r=[],children:n,emptyState:i,sort:a,paginatedSelectAllActionText:o,lastColumnSticky:s=!1,sortable:l,sortDirection:c,defaultSortDirection:u="descending",sortColumnIndex:d,onSort:f,sortToggleLabels:h,...p}){const{loading:g,bulkSelectState:v,resourceName:m,bulkActionsAccessibilityLabel:b,selectMode:y,selectable:w=p.selectable,paginatedSelectAllText:x,itemCount:C,hasMoreItems:T,selectedItemsCount:_,condensed:P}=See(),F=bee(),I=Yr(),{value:R,toggle:D}=Co(!1),A=k.useRef({top:0,left:0}),M=k.useRef([]),X=k.useRef(null),Y=k.useRef(null),se=k.useRef(null),[ne,ie]=k.useState(!1),[ae,ce]=k.useState(!1),[ke,ge]=k.useState(null),[De,Ne]=k.useState(!1),[We,z]=k.useState(dI()),J=k.useRef([]),j=k.useRef([]),q=k.useRef(null),G=k.useRef(null),N=k.useRef(null),O=k.useRef(null),oe=k.useRef(null),Z=k.useRef(!1),B=k.useRef(!1),V=k.useCallback(pe=>{pe!==null&&!ne&&ie(!0)},[ne]),de=k.useCallback(()=>{ce(pe=>!pe)},[]),Pe=k.useCallback(()=>{F(_===Zg?ao.Page:ao.All,!0)},[F,_]),ze=k.useCallback(()=>w?P?M.current[0].offsetWidth:M.current[0].offsetWidth+M.current[1].offsetWidth:M.current[0].offsetWidth,[P,w]),Se=k.useMemo(()=>rl(()=>{if(!Y.current||!X.current)return;const pe=X.current.getBoundingClientRect();if(A.current={top:pe.top,left:pe.left},M.current=J.current.map(Le=>({offsetWidth:Le.offsetWidth||0,offsetLeft:Le.offsetLeft||0})),J.current.length!==0){if(w&&J.current.length>1&&(J.current[1].style.left=`${M.current[0].offsetWidth}px`),w&&G!==null&&G!==void 0&&G.current){const Le=getComputedStyle(J.current[0]),Ke=J.current[0].offsetWidth;G.current.style.minWidth=`calc(${Ke}px - ${Le.paddingLeft} - ${Le.paddingRight} + 2px)`}j.current.forEach((Le,Ke)=>{let Je=0;if(Ke===0&&(!dI()||!w))Je=ze();else if(w&&M.current.length>Ke){var Ge;Je=((Ge=M.current[Ke])===null||Ge===void 0?void 0:Ge.offsetWidth)||0}else if(!w&&M.current.length>=Ke){var Xe;Je=((Xe=M.current[Ke-1])===null||Xe===void 0?void 0:Xe.offsetWidth)||0}Le.style.minWidth=`${Je}px`})}}),[ze,w]),Me=k.useCallback(()=>{if(O.current&&Y.current&&ne){var pe,Le;O.current.style.setProperty("--pc-index-table-scroll-bar-content-width",`${Y.current.offsetWidth-Abe}px`),Ne(((pe=oe.current)===null||pe===void 0?void 0:pe.offsetWidth)===((Le=Y.current)===null||Le===void 0?void 0:Le.offsetWidth))}},[ne]),Ze=k.useCallback(rl(Me,Obe,{trailing:!0}),[Me]),[_e,at]=k.useState(!0),rt=k.useCallback(rl(()=>{if(!s||!Y.current||!X.current)return;const pe=Y.current.getBoundingClientRect(),Le=X.current.getBoundingClientRect();at(pe.width>Le.width)}),[s]);k.useEffect(()=>{rt()},[rt]);const ut=k.useCallback(()=>{z(dI())},[]),[Mt,rr]=k.useState(!0),tt=k.useCallback(()=>{if(!X.current||!J.current.length)return;const pe=X.current.getBoundingClientRect(),Le=w?J.current[0].getBoundingClientRect().width:0,Ke=J.current[w?1:0].getBoundingClientRect().width,Je=w?J.current.length>2:1,Ge=s&&Je?J.current[J.current.length-1].getBoundingClientRect().width:0;rr(pe.width>Ke+Le+Ge+100)},[s,w]);k.useEffect(()=>{ne&&tt()},[tt,ne]);const nr=k.useCallback(()=>{var pe;(pe=O.current)===null||pe===void 0||pe.style.setProperty("--pc-index-table-scroll-bar-content-width","0px"),Se(),Ze(),rt(),ut(),tt()},[Se,Ze,rt,ut,tt]),Ht=k.useCallback((pe,Le)=>{!X.current||!O.current||(Z.current||(B.current=!0,O.current.scrollLeft=X.current.scrollLeft),Z.current=!1,N.current&&(N.current.scrollLeft=X.current.scrollLeft),(pe&&!R||!pe&&R)&&D(),at(Le))},[R,D]),un=k.useCallback(()=>{!X.current||!O.current||(B.current||(Z.current=!0,X.current.scrollLeft=O.current.scrollLeft),B.current=!1)},[]);k.useEffect(()=>{J.current=Q9(Y.current,"[data-index-table-heading]"),j.current=Q9(q.current,"[data-index-table-sticky-heading]"),Se()},[e,Se,G,ne]),k.useEffect(()=>{Me(),ge(P?se.current:Y.current)},[ne,Me,P]),k.useEffect(()=>{!P&&ae&&ce(!1)},[P,ae]);const xe=!!(r&&r.length>0||t&&t.length>0),zn=e.map(Q).reduce((pe,Le)=>pe.concat(Le),[]),da=r.length>0||t.length>0,_s=M.current&&M.current.length>0?{minWidth:ze()}:void 0,gl=S.createElement("div",{className:Ot.TableHeading,key:fI(e[0]),style:_s,"data-index-table-sticky-heading":!0},S.createElement(je,{spacing:"none",wrap:!1,alignment:"center"},w&&S.createElement("div",{className:Ot.FirstStickyHeaderElement,ref:G},te()),w&&S.createElement("div",{className:Ot["StickyTableHeading-second-scrolling"]},K(e[0],0)),!w&&S.createElement("div",{className:Ot.FirstStickyHeaderElement,ref:G},K(e[0],0)))),Ps=e.map(Ae),ka=_===Zg?`${C}+`:_,Ga=k.useCallback(()=>{F(ao.Page,!v||v==="indeterminate")}
49,[v,F]),ii=we(),Xo={enter:Ot["LoadingContainer-enter"],enterActive:Ot["LoadingContainer-enter-active"],exit:Ot["LoadingContainer-exit"],exitActive:Ot["LoadingContainer-exit-active"]},Qo=S.createElement(a0,{in:g,classNames:Xo,timeout:parseInt(Tv["duration-100"],10),appear:!0,unmountOnExit:!0},S.createElement("div",{className:Ot.LoadingPanel},S.createElement("div",{className:Ot.LoadingPanelRow},S.createElement(lf,{size:"small"}),S.createElement("span",{className:Ot.LoadingPanelText},I.translate("Polaris.IndexTable.resourceLoadingAccessibilityLabel",{resourceNamePlural:m.plural.toLocaleLowerCase()}))))),Jo=Ve(Ot.StickyTable,P&&Ot["StickyTable-condensed"]),ko=da&&_||ae,As=S.createElement("div",{className:Jo,role:"presentation"},S.createElement(l1e,{boundingElement:ke},pe=>{const Le=Ve(Ot.StickyTableHeader,pe&&Ot["StickyTableHeader-isSticky"]),Ke=Ve(Ot.BulkActionsWrapper,P&&Ot["StickyTableHeader-condensed"],pe&&Ot["StickyTableHeader-isSticky"]),Je=!P||_,Ge=Je?r:[],Xe=Je?t:[],At=ko?S.createElement("div",{className:Ke,"data-condensed":P},Qo,S.createElement($ye,{smallScreen:We,label:I.translate("Polaris.IndexTable.selected",{selectedItemsCount:ka}),accessibilityLabel:b,selected:v,selectMode:y||ae,onToggleAll:Ga,promotedActions:Ge,actions:Xe,paginatedSelectAllText:x,paginatedSelectAllAction:ii,onSelectModeToggle:P?be:void 0})):null,Rr=Ve(Ot.StickyTableColumnHeader,R&&Ot["StickyTableColumnHeader-isScrolling"]),Pr=S.createElement(vr,{icon:$ge,onClick:de},I.translate("Polaris.IndexTable.selectButtonText")),wn=P?S.createElement("div",{className:Ve(Ot.HeaderWrapper,!w&&Ot.unselectable)},Qo,a,w&&Pr):S.createElement("div",{className:Le,ref:q},Qo,S.createElement("div",{className:Rr},gl),S.createElement("div",{className:Ot.StickyTableHeadings,ref:N},Ps));return At||wn})),vl=Ve(Ot.ScrollBarContainer,P&&Ot.scrollBarContainerCondensed,De&&Ot.scrollBarContainerHidden),yl=Ve(Y.current&&ne&&Ot.ScrollBarContent),Ed=C>0?S.createElement(D9,{onMount:Me},S.createElement("div",{className:vl,ref:oe},S.createElement("div",{onScroll:un,className:Ot.ScrollBar,ref:O},S.createElement("div",{className:yl})))):null,bl=l==null?void 0:l.some(pe=>pe),me=Ve(Ot.Table,R&&Ot["Table-scrolling"],y&&Ot.disableTextSelection,y&&ko&&Ot.selectMode,!w&&Ot["Table-unselectable"],Mt&&Ot["Table-sticky"],bl&&Ot["Table-sortable"],Mt&&s&&Ot["Table-sticky-last"],Mt&&s&&_e&&Ot["Table-sticky-scrolling"]),Ee=i||S.createElement(N1e,{title:I.translate("Polaris.IndexTable.emptySearchTitle",{resourceNamePlural:m.plural}),description:I.translate("Polaris.IndexTable.emptySearchDescription"),withIllustration:!0}),Ue=S.createElement(S.Fragment,null,S.createElement(id,{event:"resize",handler:nr}),S.createElement(D9,null,As)),U=P?S.createElement(S.Fragment,null,Ue,S.createElement("ul",{"data-selectmode":!!(y||ae),className:Ot.CondensedList,ref:se},n)):S.createElement(S.Fragment,null,Ue,S.createElement(Pbe,{scrollableContainerRef:X,onScroll:Ht},S.createElement("table",{ref:Y,className:me},S.createElement("thead",null,S.createElement("tr",{className:Ot.HeadingRow},zn)),S.createElement("tbody",{ref:V},n)))),W=C>0?U:S.createElement("div",{className:Ot.EmptySearchResultWrapper},Ee);return S.createElement(S.Fragment,null,S.createElement("div",{className:Ot.IndexTable},!ko&&!P&&Qo,W),Ed);function Q(pe,Le){const Ke=Le===0,Je=Le===e.length-1,Ge=l==null?void 0:l.some(ki=>ki===!0),Xe=Ve(Ot.TableHeading,Ge&&Ot["TableHeading-sortable"],Ke&&Ot["TableHeading-second"],Je&&!pe.hidden&&Ot["TableHeading-last"],!w&&Ot["TableHeading-unselectable"],pe.flush&&Ot["TableHeading-flush"]),At=w!==!1&&Ke&&M.current&&M.current.length>0?{left:M.current[0].offsetWidth}:void 0,Rr=S.createElement("th",{className:Xe,key:fI(pe),"data-index-table-heading":!0,style:At},K(pe,Le));if(Le!==0||!w)return Rr;const Pr=Ve(Ot.TableHeading,Ge&&Ot["TableHeading-sortable"],Le===0&&Ot["TableHeading-first"]);return[S.createElement("th",{className:Pr,key:`${pe}-${Le}`,"data-index-table-heading":!0},te()),Rr]}function te(){return S.createElement("div",{className:Ot.ColumnHeaderCheckboxWrapper},S.createElement(oy,{label:I.translate("Polaris.IndexTable.selectAllLabel",{resourceNamePlural:m.plural}),labelHidden:!0,onChange:ye,checked:v}))}function le(pe,Le){f==null||f(pe,Le)}function K(pe,Le){let Ke;if(pe.new?Ke=S.createElement(je,{wrap:!1,alignment:"center"},S.createElement("span",null,pe.title),S.createElement(ad,{status:"new"},I.translate("Polaris.IndexTable.onboardingBadgeText"))):pe.hidden?Ke=S.createElement(qe,{variant:"bodySm",as:"span",visuallyHidden:!0},pe.title):Ke=pe.title,l!=null&&l[Le]){const Je=Le===d,Ge=c==="ascending";let Xe=u,At=u==="ascending"?u9:d9;
49Je&&(Xe=Ge?"descending":"ascending",At=c==="ascending"?u9:d9);const Rr=S.createElement("span",{className:Ve(Ot.TableHeadingSortIcon,Je&&Ot["TableHeadingSortIcon-visible"])},S.createElement(At,{focusable:"false","aria-hidden":"true",className:Ot.TableHeadingSortSvg})),Pr=S.createElement(uP,{onClick:()=>le(Le,Xe),className:Ot.TableHeadingSortButton},Rr,Ke);if(!h)return Pr;const wn=Je?c:u,ki=h[Le][wn];return S.createElement(Rm,{content:ki},Pr)}return Ke}function ye(pe){F(ao.Page,pe)}function Ae(pe,Le){const Ke=Le+1,Je=M.current&&M.current.length>Ke?{minWidth:M.current[Ke].offsetWidth}:void 0,Ge=K(pe,Le),Xe=Ve(Ot.TableHeading,Le===0&&Ot["StickyTableHeading-second"],Le===0&&!w&&Ot.unselectable);return S.createElement("div",{className:Xe,key:fI(pe),style:Je,"data-index-table-sticky-heading":!0},Ge)}function we(){if(!w||!xe||!T)return;const pe=o??I.translate("Polaris.IndexTable.selectAllItems",{itemsLength:C,resourceNamePlural:m.plural.toLocaleLowerCase()});return{content:_===Zg?I.translate("Polaris.IndexTable.undo"):pe,onAction:Pe}}function be(pe){F(ao.All,!1),ce(pe)}}const dI=()=>{var e;return typeof window>"u"?!1:window.innerWidth<parseFloat((e=YQ(Mo.breakpoints["breakpoints-sm"]))!==null&&e!==void 0?e:"")};function fI(e){return"id"in e&&e.id?e.id:typeof e.title=="string"?e.title:""}function Ro({children:e,selectable:t=!0,itemCount:r,selectedItemsCount:n=0,resourceName:i,loading:a,hasMoreItems:o,condensed:s,onSelectionChange:l,...c}){return S.createElement(bbe,{selectable:t,itemCount:r,selectedItemsCount:n,resourceName:i,loading:a,hasMoreItems:o,condensed:s,onSelectionChange:l},S.createElement(Ibe,c,e))}Ro.Cell=Sbe;Ro.Row=Tbe;var qu={Layout:"Polaris-Layout",Section:"Polaris-Layout__Section","Section-secondary":"Polaris-Layout__Section--secondary","Section-fullWidth":"Polaris-Layout__Section--fullWidth","Section-oneHalf":"Polaris-Layout__Section--oneHalf","Section-oneThird":"Polaris-Layout__Section--oneThird",AnnotatedSection:"Polaris-Layout__AnnotatedSection",AnnotationWrapper:"Polaris-Layout__AnnotationWrapper",AnnotationContent:"Polaris-Layout__AnnotationContent",Annotation:"Polaris-Layout__Annotation"};function Rbe({children:e,title:t,description:r,id:n}){const i=typeof r=="string"?S.createElement("p",null,r):r;return S.createElement("div",{className:qu.AnnotatedSection},S.createElement("div",{className:qu.AnnotationWrapper},S.createElement("div",{className:qu.Annotation},S.createElement(nx,null,S.createElement(qe,{id:n,variant:"headingMd",as:"h2"},t),i&&S.createElement(vd,{color:"text-subdued"},i))),S.createElement("div",{className:qu.AnnotationContent},e)))}function xee({children:e,secondary:t,fullWidth:r,oneHalf:n,oneThird:i}){const a=Ve(qu.Section,t&&qu["Section-secondary"],r&&qu["Section-fullWidth"],n&&qu["Section-oneHalf"],i&&qu["Section-oneThird"]);return S.createElement("div",{className:a},e)}const Pv=function({sectioned:t,children:r}){const n=t?S.createElement(xee,null,r):r;return S.createElement("div",{className:qu.Layout},n)};Pv.AnnotatedSection=Rbe;Pv.Section=xee;var hI={Link:"Polaris-Link",monochrome:"Polaris-Link--monochrome",removeUnderline:"Polaris-Link--removeUnderline"};function RS({url:e,children:t,onClick:r,external:n,id:i,monochrome:a,removeUnderline:o,accessibilityLabel:s,dataPrimaryLink:l}){return S.createElement($J.Consumer,null,c=>{const u=a||c,d=Ve(hI.Link,u&&hI.monochrome,o&&hI.removeUnderline);return e?S.createElement(od,{onClick:r,className:d,url:e,external:n,id:i,"aria-label":s,"data-primary-link":l},t):S.createElement("button",{type:"button",onClick:r,className:d,id:i,"aria-label":s,"data-primary-link":l},t)})}const N5=k.memo(function(){const{startLoading:t,stopLoading:r}=ix();return k.useEffect(()=>(t(),()=>{r()}),[t,r]),null}),Cee=k.createContext({location:""});var kr={Navigation:"Polaris-Navigation",ContextControl:"Polaris-Navigation__ContextControl",PrimaryNavigation:"Polaris-Navigation__PrimaryNavigation",LogoContainer:"Polaris-Navigation__LogoContainer",hasLogoSuffix:"Polaris-Navigation--hasLogoSuffix",Logo:"Polaris-Navigation__Logo",LogoLink:"Polaris-Navigation__LogoLink",Item:"Polaris-Navigation__Item",keyFocused:"Polaris-Navigation--keyFocused","Icon-resized":"Polaris-Navigation__Icon--resized","Item-selected":"Polaris-Navigation__Item--selected","Item-disabled":"Polaris-Navigation__Item--disabled",Icon:"Polaris-Navigation__Icon",Badge:"Polaris-Navigation__Badge",subNavigationActive:"Polaris-Navigation--subNavigationActive","Item-child-active":"Polaris-Navigation--itemChildActive",ListItem:"Polaris-Navigation__ListItem",RollupSection:"Polaris-Navigation__RollupSection",SecondaryNavigation:"Polaris-Navigation__SecondaryNavigation","ListItem-hasAction":"Polaris-Navigation__ListItem--hasAction",ItemWrapper:"Polaris-Navigation__ItemWrapper",Text:"Polaris-Navigation__Text",SecondaryAction:"Polaris-Navigation__SecondaryAction",isExpanded:"Polaris-Navigation--isExpanded",List:"Polaris-Navigation__List","SecondaryNavigation-noIcon":"Polaris-Navigation__SecondaryNavigation--noIcon",Section:"Polaris-Navigation__Section","Section-fill":"Polaris-Navigation__Section--fill","Section-withSeparator":"Polaris-Navigation__Section--withSeparator",SectionHeading:"Polaris-Navigation__SectionHeading",Action:"Polaris-Navigation__Action",RollupToggle:"Polaris-Navigation__RollupToggle",Indicator:"Polaris-Navigation__Indicator"};function Fbe({id:e,children:t,expanded:r}){const n=ni("SecondaryNavigation");return S.createElement(nee,{id:e||n,open:r,transition:!1},S.createElement("ul",{className:kr.List},t))}var us;(function(e){e[e.MatchForced=0]="MatchForced",e[e.MatchUrl=1]="MatchUrl",e[e.MatchPaths=2]="MatchPaths",e[e.Excluded=3]="Excluded",e[e.NoMatch=4]="NoMatch"})(us||(us={}));function M5({url:e,icon:t,label:r,subNavigationItems:n=[],secondaryAction:i,disabled:a,onClick:o,accessibilityLabel:s,selected:l,badge:c,new:u,matches:d,exactMatch:f,matchPaths:h,excludePaths:
49p,external:g,onToggleExpandedState:v,expanded:m,shouldResizeIcon:b}){const y=Yr(),{isNavigationCollapsed:w}=ax(),x=ni("SecondaryNavigation"),{location:C,onNavigationDismiss:T}=k.useContext(Cee),[_,P]=k.useState(!1);k.useEffect(()=>{!w&&m&&(v==null||v())},[m,w,v]);const F=k.useCallback(q=>{q.keyCode===mo.Tab&&!_&&P(!0)},[_]),I=k.useCallback(()=>{_&&P(!1)},[_]),R=a?-1:0,A=n.filter(q=>q.new).length>0?S.createElement("span",{className:kr.Indicator},S.createElement(tee,{pulse:!0})):null,M=t?S.createElement("div",{className:Ve(kr.Icon,b&&kr["Icon-resized"])},S.createElement(bn,{source:t})):null;let X=null;u?X=S.createElement(ad,{status:"new"},y.translate("Polaris.Badge.STATUS_LABELS.new")):typeof c=="string"?X=S.createElement(ad,{status:"new"},c):X=c;const Y=X==null?null:S.createElement("div",{className:kr.Badge},X),se=S.createElement(S.Fragment,null,M,S.createElement("span",{className:kr.Text},r,A),Y);if(e==null){const q=Ve(kr.Item,a&&kr["Item-disabled"],_&&kr.keyFocused,l&&kr["Item-selected"]);return S.createElement("li",{className:kr.ListItem},S.createElement("button",{type:"button",className:q,disabled:a,"aria-disabled":a,"aria-label":s,onClick:j(o),onKeyUp:F,onBlur:I},se))}const ne=i&&S.createElement(od,{external:!0,url:i.url,className:kr.SecondaryAction,tabIndex:R,"aria-disabled":a,"aria-label":i.accessibilityLabel,onClick:i.onClick},S.createElement(bn,{source:i.icon})),ie=i&&(i.tooltip?S.createElement(Rm,i.tooltip,ne):ne),ae=J9({url:e,matches:d,exactMatch:f,matchPaths:h,excludePaths:p},C),ce=n.filter(q=>{const G=J9(q,C);return G===us.MatchForced||G===us.MatchUrl||G===us.MatchPaths}),ke=ce.length>0,ge=l??(ae===us.MatchForced||ae===us.MatchUrl||ae===us.MatchPaths),De=ge||m||ke,Ne=n.length===0||!ke,We=Ve(kr.Item,a&&kr["Item-disabled"],ge&&Ne&&kr["Item-selected"],De&&kr.subNavigationActive,ke&&kr["Item-child-active"],_&&kr.keyFocused);let z=null;if(n.length>0){const q=ce.sort(({url:N},{url:O})=>O.length-N.length)[0],G=Ve(kr.SecondaryNavigation,De&&kr.isExpanded,!t&&kr["SecondaryNavigation-noIcon"]);z=S.createElement("div",{className:G},S.createElement(Fbe,{expanded:De,id:x},n.map(N=>{const{label:O,...oe}=N,Z=()=>{T&&T(),N.onClick&&N.onClick!==T&&N.onClick()};return S.createElement(M5,Object.assign({key:O},oe,{label:O,matches:N===q,onClick:Z}))})))}const J=Ve(kr.ListItem,i&&kr["ListItem-hasAction"]);return S.createElement("li",{className:J},S.createElement("div",{className:kr.ItemWrapper},S.createElement(od,Object.assign({url:e,className:We,external:g,tabIndex:R,"aria-disabled":a,"aria-label":s,onClick:j(o),onKeyUp:F,onBlur:I},Nbe(x,n.length>0,De)),se),ie),z);function j(q){return G=>{const{currentTarget:N}=G;if(N.getAttribute("href")===C&&G.preventDefault(),n&&n.length>0&&w)G.preventDefault(),v==null||v();else if(T){T(),q&&q!==T&&q();return}q&&q()}}}function jk(e){const t=e.split("?")[0].split("#")[0];return t.endsWith("/")?t:`${t}/`}function Dbe(e,t){return jk(e)===jk(t)}function pI(e,t){return jk(e).startsWith(jk(t))}function J9({url:e,matches:t,exactMatch:r,matchPaths:n,excludePaths:i},a){return e==null?us.NoMatch:t?us.MatchForced:t===!1||i&&i.some(s=>pI(a,s))?us.Excluded:n&&n.some(s=>pI(a,s))?us.MatchPaths:(r?Dbe(a,e):pI(a,e))?us.MatchUrl:us.NoMatch}function Nbe(e,t,r){return t?{"aria-expanded":r,"aria-controls":e}:void 0}function Mbe({title:e,fill:t,action:r,items:n,rollup:i,separator:a}){const{value:o,toggle:s,setFalse:l}=Co(!1),c=k.useRef(null),{isNavigationCollapsed:u}=ax(),[d,f]=k.useState(),h=(I,R)=>()=>{I&&I(),c.current&&cancelAnimationFrame(c.current),(!R||!u)&&(c.current=requestAnimationFrame(l))};k.useEffect(()=>()=>{c.current&&cancelAnimationFrame(c.current)});const p=Ve(kr.Section,a&&kr["Section-withSeparator"],t&&kr["Section-fill"]),g=r&&S.createElement("button",{type:"button",className:kr.Action,"aria-label":r.accessibilityLabel,onClick:r.onClick},S.createElement(bn,{source:r.icon})),v=r&&(r.tooltip?S.createElement(Rm,r.tooltip,g):g),m=e&&S.createElement("li",{className:kr.SectionHeading},S.createElement(qe,{as:"span",variant:"headingXs",color:"subdued"},e),v),b=n.map((I,R)=>{const{onClick:D,label:A,subNavigationItems:M,...X}=I,Y=M!=null&&M.length>0,se=()=>{f(d===R?-1:R)};return S.createElement(M5,Object.assign({key:A},X,{label:A,subNavigationItems:M,onClick:h(D,Y),onToggleExpandedState:se,expanded:d===R}))}),y=Ve(kr.Item,kr.RollupToggle),w=i&&(o?i.hide:i.view),x=i&&n.length>i.after&&S.createElement("div",{className:kr.ListItem,key:"List Item"},S.createElement("button",{type:"button",className:y,onClick:s,"aria-label":w},S.createElement("span",{className:kr.Icon},S.createElement(bn,{source:hJ})))),C=n.findIndex(I=>i?i.activePath===I.url||I.url&&i.activePath.startsWith(I.url)||(I.subNavigationItems?I.subNavigationItems.some(({url:R})=>i.activePath.startsWith(R)):!1):!1),T=i?b.slice(0,i.after):b,_=i?b.slice(i.after):[];i&&C!==-1&&C>i.after-1&&T.push(..._.splice(C-i.after,1));const P=ni("AdditionalItems"),F=i&&_.length>0&&S.createElement("li",{className:kr.RollupSection},S.createElement(nee,{id:P,open:o},S.createElement("ul",{className:kr.List},_)),x);return S.createElement("ul",{className:p},m,T,F)}const Rl=function({children:t,contextControl:r,location:n,onDismiss:i,ariaLabelledBy:a,logoSuffix:o}){const{logo:s}
49=ix(),l=R5(s,104),c=s?S.createElement("div",{className:Ve(kr.LogoContainer,o&&kr.hasLogoSuffix)},S.createElement(od,{url:s.url||"",className:kr.LogoLink,style:{width:l}},S.createElement(Wh,{source:s.topBarSource||"",alt:s.accessibilityLabel||"",className:kr.Logo,style:{width:l}})),o):null,u=r?S.createElement("div",{className:kr.ContextControl},r):c,d=k.useMemo(()=>({location:n,onNavigationDismiss:i}),[n,i]);return S.createElement(Cee.Provider,{value:d},S.createElement(Jw.Provider,{value:!0},S.createElement("nav",{className:kr.Navigation,"aria-labelledby":a},u,S.createElement(op,{className:kr.PrimaryNavigation},t))))};Rl.Item=M5;Rl.Section=Mbe;function RF(e,t,r){return e.length!==t.length?!1:e.every((n,i)=>{const a=t[i];return r!=null?r(n,a):n===a})}var e7={OptionList:"Polaris-OptionList",Options:"Polaris-OptionList__Options"},ts={Option:"Polaris-OptionList-Option",SingleSelectOption:"Polaris-OptionList-Option__SingleSelectOption",focused:"Polaris-OptionList-Option--focused",active:"Polaris-OptionList-Option--active",select:"Polaris-OptionList-Option--select",disabled:"Polaris-OptionList-Option--disabled",Media:"Polaris-OptionList-Option__Media",Label:"Polaris-OptionList-Option__Label",Checkbox:"Polaris-OptionList-Option__Checkbox",verticalAlignTop:"Polaris-OptionList-Option--verticalAlignTop",verticalAlignCenter:"Polaris-OptionList-Option--verticalAlignCenter",verticalAlignBottom:"Polaris-OptionList-Option--verticalAlignBottom"},N0={Checkbox:"Polaris-OptionList-Checkbox",active:"Polaris-OptionList-Checkbox--active",Backdrop:"Polaris-OptionList-Checkbox__Backdrop",Input:"Polaris-OptionList-Checkbox__Input",keyFocused:"Polaris-OptionList-Checkbox--keyFocused",Icon:"Polaris-OptionList-Checkbox__Icon"};function Lbe({id:e,checked:t=!1,disabled:r,active:n,onChange:i,name:a,value:o,role:s}){const l=ni("Checkbox",e),[c,u]=k.useState(!1),d=Ve(N0.Checkbox,n&&N0.active),f=()=>{u(!1)},h=()=>{!c&&u(!0)},p=Ve(N0.Input,c&&N0.keyFocused);return S.createElement("div",{className:d},S.createElement("input",{id:l,name:a,value:o,type:"checkbox",checked:t,disabled:r,className:p,"aria-checked":t,onChange:i,onBlur:f,onKeyUp:h,role:s}),S.createElement("div",{className:N0.Backdrop}),S.createElement("div",{className:N0.Icon},S.createElement(bn,{source:mJ})))}function Bbe({label:e,value:t,id:r,select:n,active:i,allowMultiple:a,disabled:o,role:s,media:l,onClick:c,section:u,index:d,verticalAlign:f}){const{value:h,toggle:p}=Co(!1),g=k.useCallback(()=>{o||c(u,d)},[o,d,c,u]),v=l?S.createElement("div",{className:ts.Media},l):null,m=Ve(ts.SingleSelectOption,h&&ts.focused,o&&ts.disabled,n&&ts.select,i&&ts.active,f&&ts[Ln("verticalAlign",f)]),b=Ve(ts.Label,o&&ts.disabled,i&&ts.active,n&&ts.select,f&&ts[Ln("verticalAlign",f)]),y=s==="option"?"presentation":void 0,w=a?S.createElement("label",{htmlFor:r,className:b},S.createElement("div",{className:ts.Checkbox},S.createElement(Lbe,{id:r,value:t,checked:n,active:i,disabled:o,onChange:g,role:y})),v,e):S.createElement("button",{id:r,type:"button",className:m,onClick:g,disabled:o,onFocus:p,onBlur:p,"aria-pressed":i},v,e),x=i?S.createElement(op.ScrollTo,null):null;return S.createElement("li",{key:r,className:ts.Option,tabIndex:-1},x,w)}function Ube({options:e,sections:t,title:r,selected:n,allowMultiple:i,role:a,optionRole:o,verticalAlign:s,onChange:l,id:c}){const[u,d]=k.useState(t7(e,t,r)),f=ni("OptionList",c);F5(()=>{d(t7(e||[],t||[],r))},[e,t,r],zbe);const h=k.useCallback((v,m)=>{const b=u[v].options[m].value,y=n.indexOf(b);if(i){const w=y===-1?[b,...n]:[...n.slice(0,y),...n.slice(y+1,n.length)];l(w);return}l([b])},[u,n,i,l]),g=u.length>0?u.map(({title:v,options:m},b)=>{const y=b===0,w=v?S.createElement(vd,{paddingBlockStart:y?"2":"4",paddingInlineStart:"2",paddingBlockEnd:"2",paddingInlineEnd:"2",borderBlockStart:y?void 0:"divider"},S.createElement(qe,{as:"p",variant:"headingXs"},v)):null,x=m&&m.map((C,T)=>{const _=n.includes(C.value),P=C.id||`${f}-${b}-${T}`;return S.createElement(Bbe,Object.assign({key:P},C,{id:P,section:b,index:T,onClick:h,select:_,allowMultiple:i,verticalAlign:s,role:o}))});return S.createElement("li",{key:v||`noTitle-${b}`},w,S.createElement("ul",{className:e7.Options,id:`${f}-${b}`,role:a},x))}):null;return S.createElement("ul",{className:e7.OptionList,role:a},g)}function t7(e,t,r){if(e==null){const n={options:[],title:r};return t==null?[]:[n,...t]}return t==null?[{title:r,options:e}]:[{title:r,options:e},...t]}function zbe(e,t){return PF(e)&&PF(t)?RF(e,t,Hbe):RF(e,t)}function Hbe(e,t){const{options:r}=e,{options:n}=t,i=RF(r,n),a=e.title===t.title;return i&&a}function FS(e){return!k.isValidElement(e)&&e!==void 0}function DS(e){return k.isValidElement(e)&&e!==void 0}var d1={Page:"Polaris-Page",fullWidth:"Polaris-Page--fullWidth",narrowWidth:"Polaris-Page--narrowWidth",Content:"Polaris-Page__Content",divi
49der:"Polaris-Page--divider"},mi={Header:"Polaris-Page-Header",titleHidden:"Polaris-Page-Header--titleHidden",TitleWrapper:"Polaris-Page-Header__TitleWrapper",Navigation:"Polaris-Page-Header__Navigation",hasActionMenu:"Polaris-Page-Header--hasActionMenu",mobileView:"Polaris-Page-Header--mobileView",BreadcrumbWrapper:"Polaris-Page-Header__BreadcrumbWrapper",PaginationWrapper:"Polaris-Page-Header__PaginationWrapper",AdditionalNavigationWrapper:"Polaris-Page-Header__AdditionalNavigationWrapper",hasNavigation:"Polaris-Page-Header--hasNavigation",PrimaryActionWrapper:"Polaris-Page-Header__PrimaryActionWrapper",Row:"Polaris-Page-Header__Row",RightAlign:"Polaris-Page-Header__RightAlign",LeftAlign:"Polaris-Page-Header__LeftAlign",noBreadcrumbs:"Polaris-Page-Header--noBreadcrumbs",AdditionalMetaData:"Polaris-Page-Header__AdditionalMetaData",Actions:"Polaris-Page-Header__Actions",longTitle:"Polaris-Page-Header--longTitle",mediumTitle:"Polaris-Page-Header--mediumTitle",isSingleRow:"Polaris-Page-Header--isSingleRow"},kg;(function(e){e.Input="INPUT",e.Textarea="TEXTAREA",e.Select="SELECT",e.ContentEditable="contenteditable"})(kg||(kg={}));function qbe(){if(document==null||document.activeElement==null)return!1;const{tagName:e}=document.activeElement;return e===kg.Input||e===kg.Textarea||e===kg.Select||document.activeElement.hasAttribute(kg.ContentEditable)}function Wbe({hasNext:e,hasPrevious:t,nextURL:r,previousURL:n,onNext:i,onPrevious:a,nextTooltip:o,previousTooltip:s,nextKeys:l,previousKeys:c,accessibilityLabel:u,accessibilityLabels:d,label:f}){const h=Yr(),p=k.createRef(),g=u||h.translate("Polaris.Pagination.pagination"),v=(d==null?void 0:d.previous)||h.translate("Polaris.Pagination.previous"),m=(d==null?void 0:d.next)||h.translate("Polaris.Pagination.next"),b=S.createElement(vr,{outline:!0,icon:Gge,accessibilityLabel:v,url:n,onClick:a,disabled:!t,id:"previousURL"}),y=s&&t?S.createElement(Rm,{activatorWrapper:"span",content:s},b):b,w=S.createElement(vr,{outline:!0,icon:Kge,accessibilityLabel:m,url:r,onClick:i,disabled:!e,id:"nextURL"}),x=o&&e?S.createElement(Rm,{activatorWrapper:"span",content:o},w):w,C=a||n7,T=c&&(n||a)&&t&&c.map(R=>S.createElement(Xl,{key:R,keyCode:R,handler:eC(n?r7("previousURL",p):C)})),_=i||n7,P=l&&(r||i)&&e&&l.map(R=>S.createElement(Xl,{key:R,keyCode:R,handler:eC(r?r7("nextURL",p):_)})),F=e&&t?S.createElement(qe,{variant:"bodyMd",as:"span"},f):S.createElement(qe,{variant:"bodyMd",color:"subdued",as:"span"},f),I=f?S.createElement("div",{"aria-live":"polite"},F):null;return S.createElement("nav",{"aria-label":g,ref:p},T,P,S.createElement(Jc,{segmented:!f},y,I,x))}function r7(e,t){return()=>{if(t.current==null)return;const r=t.current.querySelector(`#${e}`);r&&r.click()}}function eC(e){return()=>{qbe()||e()}}function n7(){}var M0={Title:"Polaris-Header-Title",TitleWithSubtitle:"Polaris-Header-Title__TitleWithSubtitle",SubTitle:"Polaris-Header-Title__SubTitle",SubtitleCompact:"Polaris-Header-Title__SubtitleCompact",TitleWithMetadataWrapper:"Polaris-Header-Title__TitleWithMetadataWrapper",TitleMetadata:"Polaris-Header-Title__TitleMetadata"};function Vbe({title:e,subtitle:t,titleMetadata:r,compactTitle:n}){const i=Ve(M0.Title,t&&M0.TitleWithSubtitle),a=e?S.createElement("h1",{className:i},e):null,o=r?S.createElement("div",{className:M0.TitleMetadata},r):null,s=r?S.createElement("div",{className:M0.TitleWithMetadataWrapper},a,o):a,l=t?S.createElement("div",{className:Ve(M0.SubTitle,n&&M0.SubtitleCompact)},S.createElement("p",null,t)):null;return S.createElement(S.Fragment,null,s,l)}const jbe=20,Gbe=8,i7=34;function Kbe({title:e,subtitle:t,titleMetadata:r,additionalMetadata:n,titleHidden:i=!1,primaryAction:a,pagination:o,additionalNavigation:s,breadcrumbs:l=[],secondaryActions:c=[],actionGroups:u=[],compactTitle:d=!1,onActionRollup:f}){const h=Yr(),{isNavigationCollapsed:p}=ax(),g=!a&&!o&&(FS(c)&&!c.length||DS(c))&&!u.length,v=l.length>0?S.createElement("div",{className:mi.BreadcrumbWrapper},S.createElement(Pye,{breadcrumbs:l})):null,m=o&&!p?S.createElement("div",{className:mi.PaginationWrapper},S.createElement(Wbe,o)):null,b=s?S.createElement("div",{className:mi.AdditionalNavigationWrapper},s):null,y=v||m||b?S.createElement("div",{className:mi.Navigation},v,b,m):null,w=S.createElement("div",{className:mi.TitleWrapper}
49,S.createElement(Vbe,{title:e,subtitle:t,titleMetadata:r,compactTitle:d})),x=a?S.createElement(Zbe,{primaryAction:a}):null;let C=null;FS(c)&&(c.length>0||Zve(u))?C=S.createElement(Kve,{actions:c,groups:u,rollup:p,rollupActionsLabel:e?h.translate("Polaris.Page.Header.rollupActionsLabel",{title:e}):void 0,onActionRollup:f}):DS(c)&&(C=S.createElement(S.Fragment,null,c));const T=n?S.createElement("div",{className:mi.AdditionalMetaData},S.createElement(qe,{variant:"bodyMd",color:"subdued",as:"span"},n)):null,_=Ve(mi.Header,g&&mi.isSingleRow,i&&mi.titleHidden,y&&mi.hasNavigation,C&&mi.hasActionMenu,p&&mi.mobileView,!l.length&&mi.noBreadcrumbs,e&&e.length<i7&&mi.mediumTitle,e&&e.length>i7&&mi.longTitle),{slot1:P,slot2:F,slot3:I,slot4:R,slot5:D,slot6:A}=$be({actionMenuMarkup:C,additionalMetadataMarkup:T,additionalNavigationMarkup:b,breadcrumbMarkup:v,isNavigationCollapsed:p,pageTitleMarkup:w,paginationMarkup:m,primaryActionMarkup:x,title:e});return S.createElement("div",{className:_},S.createElement(G2,{condition:[P,F,I,R].some(tC)},S.createElement("div",{className:mi.Row},P,F,S.createElement(G2,{condition:[I,R].some(tC)},S.createElement("div",{className:mi.RightAlign},S.createElement(mve,{condition:[I,R].every(tC),wrapper:M=>S.createElement("div",{className:mi.Actions},M)},I,R))))),S.createElement(G2,{condition:[D,A].some(tC)},S.createElement("div",{className:mi.Row},S.createElement("div",{className:mi.LeftAlign},D),S.createElement(G2,{condition:A!=null},S.createElement("div",{className:mi.RightAlign},A)))))}function Zbe({primaryAction:e}){const{isNavigationCollapsed:t}=ax();let r;if(FS(e)){const{primary:n,helpText:i}=e,a=n===void 0?!0:n,o=qh(Ybe(t,e),{primary:a});r=i?S.createElement(Rm,{content:i},o):o}else r=e;return S.createElement("div",{className:mi.PrimaryActionWrapper},r)}function Ybe(e,t){let{content:r,accessibilityLabel:n,icon:i}=t;return i==null?{...t,icon:void 0}:(e?(n=n||r,r=void 0):i=void 0,{...t,content:r,accessibilityLabel:n,icon:i})}function tC(e){return e!=null}function $be({actionMenuMarkup:e,additionalMetadataMarkup:t,additionalNavigationMarkup:r,breadcrumbMarkup:n,isNavigationCollapsed:i,pageTitleMarkup:a,paginationMarkup:o,primaryActionMarkup:s,title:l}){const c={mobileCompact:{slots:{slot1:null,slot2:a,slot3:e,slot4:s,slot5:t,slot6:r},condition:i&&n==null&&l!=null&&l.length<=Gbe},mobileDefault:{slots:{slot1:n,slot2:a,slot3:e,slot4:s,slot5:t,slot6:r},condition:i},desktopCompact:{slots:{slot1:n,slot2:a,slot3:e,slot4:s,slot5:t,slot6:r},condition:!i&&o==null&&e==null&&l!=null&&l.length<=jbe},desktopDefault:{slots:{slot1:n,slot2:a,slot3:S.createElement(S.Fragment,null,e,s),slot4:o,slot5:t,slot6:r},condition:!i}};return(Object.values(c).find(d=>d.condition)||c.desktopDefault).slots}function Eee({children:e,fullWidth:t,narrowWidth:r,divider:n,...i}){const a=Ve(d1.Page,t&&d1.fullWidth,r&&d1.narrowWidth),o=i.title!=null&&i.title!==""||i.subtitle!=null&&i.subtitle!==""||i.primaryAction!=null||i.secondaryActions!=null&&(FS(i.secondaryActions)&&i.secondaryActions.length>0||DS(i.secondaryActions))||i.actionGroups!=null&&i.actionGroups.length>0||i.breadcrumbs!=null&&i.breadcrumbs.length>0,s=Ve(!o&&d1.Content,n&&o&&d1.divider),l=o?S.createElement(Kbe,i):null;return S.createElement("div",{className:a},l,S.createElement("div",{className:s},e))}var Xbe={PageActions:"Polaris-PageActions"};function Qbe({primaryAction:e,secondaryActions:t}){let r=null;DS(e)?r=S.createElement(S.Fragment,null,e):e&&(r=_v(e,{primary:!0}));let n=null;FS(t)&&t.length>0?n=S.createElement(Jc,null,_v(t)):DS(t)&&(n=S.createElement(S.Fragment,null,t));const i=n?"equalSpacing":"trailing";return S.createElement("div",{className:Xbe.PageActions},S.createElement(je,{distribution:i,spacing:"tight"},n,r))}var _d={Select:"Polaris-Select",disabled:"Polaris-Select--disabled",Content:"Polaris-Select__Content",Icon:"Polaris-Select__Icon",Backdrop:"Polaris-Select__Backdrop",SelectedOption:"Polaris-Select__SelectedOption",Prefix:"Polaris-Select__Prefix",Input:"Polaris-Select__Input",error:"Polaris-Select--error"};const a7="";function Jbe({options:e,label:t,labelAction:r,labelHidden:n,labelInline:i,disabled:a,helpText:o,placeholder:s,id:l,name:c,value:u=a7,error:d,onChange:f,onFocus:h,onBlur:p,requiredIndicator:g}){const v=ni("Select",l),m=i?!0:n,b=Ve(_d.Select,d&&_d.error,a&&_d.disabled),y=f?R=>
49f(R.currentTarget.value,v):void 0,w=[];o&&w.push(P5(v)),d&&w.push(`${v}Error`);let C=(e||[]).map(eSe);s&&(C=[{label:s,value:a7,disabled:!0},...C]);const T=i&&S.createElement(vd,{paddingInlineEnd:"1"},S.createElement(qe,{as:"span",variant:"bodyMd",color:"subdued",truncate:!0},t)),_=tSe(C,u),P=_.prefix&&S.createElement("div",{className:_d.Prefix},_.prefix),F=S.createElement("div",{className:_d.Content,"aria-hidden":!0,"aria-disabled":a},T,P,S.createElement("span",{className:_d.SelectedOption},_.label),S.createElement("span",{className:_d.Icon},S.createElement(bn,{source:pJ}))),I=C.map(nSe);return S.createElement(_5,{id:v,label:t,error:d,action:r,labelHidden:m,helpText:o,requiredIndicator:g},S.createElement("div",{className:b},S.createElement("select",{id:v,name:c,value:u,className:_d.Input,disabled:a,onFocus:h,onBlur:p,onChange:y,"aria-invalid":!!d,"aria-describedby":w.length?w.join(" "):void 0,"aria-required":g},I),F,S.createElement("div",{className:_d.Backdrop})))}function o7(e){return typeof e=="string"}function L5(e){return typeof e=="object"&&"options"in e&&e.options!=null}function s7(e){return{label:e,value:e}}function eSe(e){if(o7(e))return s7(e);if(L5(e)){const{title:t,options:r}=e;return{title:t,options:r.map(n=>o7(n)?s7(n):n)}}return e}function tSe(e,t){const r=rSe(e);let n=r.find(i=>t===i.value);return n===void 0&&(n=r.find(i=>!i.hidden)),n||{value:"",label:""}}function rSe(e){let t=[];return e.forEach(r=>{L5(r)?t=t.concat(r.options):t.push(r)}),t}function l7(e){const{value:t,label:r,prefix:n,...i}=e;return S.createElement("option",Object.assign({key:t,value:t},i),r)}function nSe(e){if(L5(e)){const{title:t,options:r}=e;return S.createElement("optgroup",{label:t,key:t},r.map(l7))}return l7(e)}var mI={Thumbnail:"Polaris-Thumbnail",sizeExtraSmall:"Polaris-Thumbnail--sizeExtraSmall",sizeSmall:"Polaris-Thumbnail--sizeSmall",sizeMedium:"Polaris-Thumbnail--sizeMedium",sizeLarge:"Polaris-Thumbnail--sizeLarge",transparent:"Polaris-Thumbnail--transparent"};function iSe({source:e,alt:t,size:r="medium",transparent:n}){const i=Ve(mI.Thumbnail,r&&mI[Ln("size",r)],n&&mI.transparent),a=typeof e=="string"?S.createElement(Wh,{alt:t,source:e}):S.createElement(bn,{accessibilityLabel:t,source:e});return S.createElement("span",{className:i},a)}const aSe=k.memo(function(t){const r=ni("Toast"),{showToast:n,hideToast:i}=ix();return F5(()=>(n({id:r,...t}),()=>{i({id:r})}),[t]),null});var rs={TopBar:"Polaris-TopBar",LogoDisplayControl:"Polaris-TopBar__LogoDisplayControl",LogoDisplayContainer:"Polaris-TopBar__LogoDisplayContainer",LogoContainer:"Polaris-TopBar__LogoContainer",hasLogoSuffix:"Polaris-TopBar--hasLogoSuffix",Logo:"Polaris-TopBar__Logo",LogoLink:"Polaris-TopBar__LogoLink",ContextControl:"Polaris-TopBar__ContextControl",NavigationIcon:"Polaris-TopBar__NavigationIcon",focused:"Polaris-TopBar--focused",IconWrapper:"Polaris-TopBar__IconWrapper",Contents:"Polaris-TopBar__Contents",SearchField:"Polaris-TopBar__SearchField",SecondaryMenu:"Polaris-TopBar__SecondaryMenu"},rC={Search:"Polaris-TopBar-Search",SearchContent:"Polaris-TopBar-Search__SearchContent",visible:"Polaris-TopBar-Search--visible",Results:"Polaris-TopBar-Search__Results"},c7={SearchDismissOverlay:"Polaris-TopBar-SearchDismissOverlay",visible:"Polaris-TopBar-SearchDismissOverlay--visible"};function oSe({onDismiss:e,visible:t}){const r=k.useRef(null),n=k.useCallback(({target:i})=>{i===r.current&&e!=null&&e()},[e]);return S.createElement(S.Fragment,null,t?S.createElement(ZJ,null):null,S.createElement("div",{ref:r,className:Ve(c7.SearchDismissOverlay,t&&c7.visible),onClick:n}))}function sSe({visible:e,children:t,onDismiss:r,overlayVisible:n=!1}){if(t==null)return null;const i=e?S.createElement(oSe,{onDismiss:r,visible:n}):null;return S.createElement(S.Fragment,null,i,S.createElement("div",{className:Ve(rC.Search,e&&rC.visible)},S.createElement("div",{className:rC.SearchContent},S.createElement("div",{className:rC.Results},t))))}var _p={SearchField:"Polaris-TopBar-SearchField",focused:"Polaris-TopBar-SearchField--focused",Input:"Polaris-TopBar-SearchField__Input",Backdrop:"Polaris-TopBar-SearchField__Backdrop",BackdropSh
49owFocusBorder:"Polaris-TopBar-SearchField__BackdropShowFocusBorder",Icon:"Polaris-TopBar-SearchField__Icon",Clear:"Polaris-TopBar-SearchField__Clear"};function lSe({value:e,focused:t,active:r,placeholder:n,onChange:i,onFocus:a,onBlur:o,onCancel:s,showFocusBorder:l}){const c=Yr(),[u,d]=k.useState(!1),f=k.useRef(null),h=ni("SearchField"),p=k.useCallback(({currentTarget:w})=>{i(w.value)},[i]),g=k.useCallback(()=>a&&a(),[a]),v=k.useCallback(()=>o&&o(),[o]),m=k.useCallback(()=>{s&&s(),f.current&&(f.current.value="",i(""),f.current.focus())},[s,i]);k.useEffect(()=>{f.current&&(t?f.current.focus():f.current.blur())},[t]);const b=e!==""&&S.createElement("button",{type:"button","aria-label":c.translate("Polaris.TopBar.SearchField.clearButtonLabel"),className:_p.Clear,onClick:m,onBlur:()=>{d(!1),m()},onFocus:()=>{g(),d(!0)}},S.createElement(bn,{source:fJ})),y=Ve(_p.SearchField,(t||r||u)&&_p.focused);return S.createElement("div",{className:y,onFocus:g,onBlur:v},S.createElement(qe,{variant:"bodySm",as:"span",visuallyHidden:!0},S.createElement("label",{htmlFor:h},c.translate("Polaris.TopBar.SearchField.search"))),S.createElement("input",{id:h,className:_p.Input,placeholder:n,t
49ype:"search",autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",ref:f,value:e,onChange:p,onKeyDown:cSe}),S.createElement("span",{className:_p.Icon},S.createElement(bn,{source:eve})),b,S.createElement("div",{className:Ve(_p.Backdrop,l&&_p.BackdropShowFocusBorder)}))}function cSe(e){e.key==="Enter"&&e.preventDefault()}var uSe={Details:"Polaris-TopBar-UserMenu__Details"},u7={MessageIndicatorWrapper:"Polaris-MessageIndicator__MessageIndicatorWrapper",MessageIndicator:"Polaris-MessageIndicator"};function dSe({children:e,active:t}){const r=t&&S.createElement("div",{className:u7.MessageIndicator});return S.createElement("div",{className:u7.MessageIndicatorWrapper},r,e)}var d7={ActivatorWrapper:"Polaris-TopBar-Menu__ActivatorWrapper",Activator:"Polaris-TopBar-Menu__Activator"},fSe={Section:"Polaris-Menu-Message__Section"};function hSe({title:e,description:t,action:r,link:n,badge:i}){const a=i&&S.createElement(ad,{status:i.status},i.content),{to:o,content:s}=n,{onClick:l,content:c}=r;return S.createElement("div",{className:fSe.Section},S.createElement(hi.Section,null,S.createElement(je,{vertical:!0,spacing:"tight"},S.createElement(nx,null,S.createElement(qe,{variant:"headingMd",as:"h2"},e,a),S.createElement("p",null,t)),S.createElement(RS,{url:o},s),S.createElement(vr,{plain:!0,onClick:l},c))))}function kee(e){const{actions:t,onOpen:r,onClose:n,open:i,activatorContent:a,message:o,accessibilityLabel:s}=e,l=o&&o.badge&&{content:o.badge.content,status:o.badge.status},c=o&&S.createElement(hSe,{title:o.title,description:o.description,action:{onClick:o.action.onClick,content:o.action.content},link:{to:o.link.to,content:o.link.content},badge:l}),u=!!o;return S.createElement(hi,{activator:S.createElement("div",{className:d7.ActivatorWrapper},S.createElement("button",{type:"button",className:d7.Activator,onClick:r,"aria-label":s},a)),active:i,onClose:n,fixed:!0,fullHeight:u,preferredAlignment:"right"},S.createElement(ac,{onActionAnyItem:n,sections:t}),c)}function pSe({name:e,detail:t,avatar:r,initials:n,actions:i,message:a,onToggle:o,open:s,accessibilityLabel:l}){const c=!!a,u=S.createElement(S.Fragment,null,S.createElement(dSe,{active:c},S.createElement(TF,{size:"small",source:r,initials:n&&n.replace(" ","")})),S.createElement("span",{className:uSe.Details},S.createElement(qe,{as:"p",variant:"bodyMd",alignment:"start",fontWeight:"medium",truncate:!0},e),S.createElement(qe,{as:"p",variant:"bodySm",alignment:"start",color:"subdued",truncate:!0},t)));return S.createElement(kee,{activatorContent:u,open:s,onOpen:o,onClose:o,actions:i,message:a,accessibilityLabel:l})}const ox=function({showNavigationToggle:t,userMenu:r,searchResults:n,searchField:i,secondaryMenu:a,searchResultsVisible:o,searchResultsOverlayVisible:s=!1,onNavigationToggle:l,onSearchResultsDismiss:c,contextControl:u,logoSuffix:d}){const f=Yr(),{logo:h}=ix(),{value:p,setTrue:g,setFalse:v}=Co(!1),m=Ve(rs.NavigationIcon,p&&rs.focused),b=t?S.createElement("button",{type:"button",className:m,onClick:l,onFocus:g,onBlur:v,"aria-label":f.translate("Polaris.TopBar.toggleMenuLabel")},S.createElement("div",{className:rs.IconWrapper},S.createElement(bn,{source:Qge}))):null,y=R5(h,104);let w;if(u)w=S.createElement("div",{className:rs.ContextControl},u);else if(h){const C=Ve(rs.LogoContainer,t||i?rs.LogoDisplayControl:rs.LogoDisplayContainer,d&&rs.hasLogoSuffix);w=S.createElement("div",{className:C},S.createElement(od,{url:h.url||"",className:rs.LogoLink,style:{width:y}},S.createElement(Wh,{source:h.topBarSource||"",alt:h.accessibilityLabel||"",className:rs.Logo,style:{width:y}})),d)}const x=i?S.createElement(S.Fragment,null,i,S.createElement(sSe,{visible:o,onDismiss:c,overlayVisible:s},n)):null;return S.createElement("div",{className:rs.TopBar},b,w,S.createElement("div",{className:rs.Contents},S.createElement("div",{className:rs.SearchField},x),S.createElement("div",{className:rs.SecondaryMenu},a),r))};ox.Menu=kee;ox.SearchField=lSe;ox.UserMenu=pSe;var he={colorWhite:"white",colorDarkComparison:"rgba(144, 176, 223, 0.8)",colorLightComparison:"#6793cc",colorLightPositive:"var(--p-icon-success, #007f5f)",colorLightNegative:"var(--p-icon-critical, #d72c0d)",colorLightNeutral:"var(--p-icon-subdued, #8c9196)",colorDarkPositive:"var(--p-icon-success, #039c86)",colorDarkNegative:"var(--p-icon-critical, #f24f62)",colorDarkNeutral:"var(--p-icon-subdued, #8c9196)",colorGray00:"#ffffff",colorGray10:"#f6f6f7",colorGray20:"#eeeeef",colorGray30:"#dadadd",colorGray4
vendor: 15,990 bytes, line 49
490:"#cbcbcf",colorGray50:"#bdbdc2",colorGray70:"#9d9da5",colorGray80:"#909099",colorGray100:"#70707b",colorGray130:"#4b4b57",colorGray140:"#43434e",colorGray150:"#2e2e36",colorGray160:"#1f1f25",colorIndigo00:"#f7f5ff",colorIndigo10:"#efecff",colorIndigo20:"#e4deff",colorIndigo30:"#d4cbff",colorIndigo40:"#c5b7fe",colorIndigo50:"#b6a3fe",colorIndigo60:"#a78ffd",colorIndigo70:"#997afc",colorIndigo80:"#8c63fb",colorIndigo90:"#7f4afa",colorIndigo100:"#7329f9",colorIndigo110:"#6511e2",colorIndigo120:"#540dbf",colorIndigo130:"#44089e",colorIndigo140:"#34057d",colorIndigo150:"#25035e",colorIndigo160:"#16013e",colorBlue00:"#f3f7ff",colorBlue10:"#e6eefe",colorBlue20:"#d6e3fd",colorBlue30:"#bdd2fb",colorBlue40:"#a3c2f7",colorBlue50:"#88b1f2",colorBlue60:"#6ba2ec",colorBlue70:"#4b92e5",colorBlue80:"#4282cd",colorBlue90:"#3672bb",colorBlue100:"#2b62a9",colorBlue110:"#215297",colorBlue120:"#174385",colorBlue130:"#0e3572",colorBlue140:"#06275f",colorBlue150:"#021a4c",colorBlue160:"#000d36",colorTeal00:"#f0f8fb",colorTeal10:"#e0f1f8",colorTeal20:"#c8e7f4",colorTeal30:"#9edaef",colorTeal40:"#79cce5",colorTeal50:"#69bbd3",colorTeal60:"#5baac1",colorTeal70:"#4c9aaf",colorTeal80:"#3f899e",colorTeal90:"#33798c",colorTeal100:"#286a7b",colorTeal110:"#1d5a69",colorTeal120:"#144b59",colorTeal130:"#0b3d48",colorTeal140:"#042f38",colorTeal150:"#012129",colorTeal160:"#001419",colorMagenta00:"#fcf4fa",colorMagenta10:"#f9e9f5",colorMagenta20:"#f5dbef",colorMagenta30:"#f0c4e6",colorMagenta40:"#eaaedd",colorMagenta50:"#e596d4",colorMagenta60:"#e07dcc",colorMagenta70:"#da62c4",colorMagenta80:"#c654b1",colorMagenta90:"#b1489e",colorMagenta100:"#9c3c8b",colorMagenta110:"#873178",colorMagenta120:"#722665",colorMagenta130:"#5e1c53",colorMagenta140:"#4a1341",colorMagenta150:"#370b30",colorMagenta160:"#23041e",colorPurple00:"#f9f5ff",colorPurple10:"#f3eafe",colorPurple20:"#ebdcfd",colorPurple30:"#e0c8fa",colorPurple40:"#d4b3f6",colorPurple50:"#c89ef1",colorPurple60:"#bd8aea",colorPurple70:"#b176e2",colorPurple80:"#a85de0",colorPurple90:"#9f41dc",colorPurple100:"#8c35c4",colorPurple110:"#7a29ab",colorPurple120:"#671e93",colorPurple130:"#55147a",colorPurple140:"#430b62",colorPurple150:"#32054a",colorPurple160:"#200132",colorOrange00:"#fcf5f3",colorOrange10:"#f9ebe6",colorOrange20:"#f5ddd4",colorOrange30:"#f1c9b8",colorOrange40:"#eeb498",colorOrange50:"#ec9d71",colorOrange60:"#df8b55",colorOrange70:"#ca7d4a",colorOrange80:"#b66e3f",colorOrange90:"#a26134",colorOrange100:"#8e532a",colorOrange110:"#7a4621",colorOrange120:"#673a17",colorOrange130:"#552d0d",colorOrange140:"#432205",colorOrange150:"#311701",colorOrange160:"#1f0c00",colorYellow00:"#fff6df",colorYellow10:"#fcedc2",colorYellow20:"#fae275",colorYellow30:"#e6d25f",colorYellow40:"#d1c256",colorYellow50:"#bdb24e",colorYellow60:"#aaa246",colorYellow70:"#97933e",colorYellow80:"#858337",colorYellow90:"#74742c",colorYellow100:"#636522",colorYellow110:"#535718",colorYellow120:"#444810",colorYellow130:"#363a08",colorYellow140:"#2a2d03",colorYellow150:"#1d1f01",colorYellow160:"#111200"};function kE(e,t){return e==null||t==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function mSe(e,t){return e==null||t==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function Tee(e){let t,r,n;e.length!==2?(t=kE,r=(s,l)=>kE(e(s),l),n=(s,l)=>e(s)-l):(t=e===kE||e===mSe?e:gSe,r=e,n=e);function i(s,l,c=0,u=s.length){if(c<u){if(t(l,l)!==0)return u;do{const d=c+u>>>1;r(s[d],l)<0?c=d+1:u=d}while(c<u)}return c}function a(s,l,c=0,u=s.length){if(c<u){if(t(l,l)!==0)return u;do{const d=c+u>>>1;r(s[d],l)<=0?c=d+1:u=d}while(c<u)}return c}function o(s,l,c=0,u=s.length){const d=i(s,l,c,u-1);return d>c&&n(s[d-1],l)>-n(s[d],l)?d-1:d}return{left:i,center:o,right:a}}function gSe(){return 0}function vSe(e){return e===null?NaN:+e}const ySe=Tee(kE),bSe=ySe.right;Tee(vSe).center;const SSe=Math.sqrt(50),wSe=Math.sqrt(10),xSe=Math.sqrt(2);function Gk(e,t,r){const n=(t-e)/Math.max(0,r),i=Math.floor(Math.log10(n)),a=n/Math.pow(10,i),o=a>=SSe?10:a>=wSe?5:a>=xSe?2:1;let s,l,c;return i<0?(c=Math.pow(10,-i)/o,s=Math.round(e*c),l=Math.round(t*c),s/c<e&&++s,l/c>t&&--l,c=-c):(c=Math.pow(10,i)*o,s=Math.round(e/c),l=Math.round(t/c),s*c<e&&++s,l*c>t&&--l),l<s&&.5<=r&&r<2?Gk(e,t,r*2):[s,l,c]}function CSe(e,t,r){if(t=+t,e=+e,r=+r,!(r>0))return[];if(e===t)return[e];const n=t<e,[i,a,o]=n?Gk(t,e,r):Gk(e,t,r);if(!(a>=i))return[];const s=a-i+1,l=new Array(s);if(n)if(o<0)for(let c=0;c<s;++c)l[c]=(a-c)/-o;else for(let c=0;c<s;++c)l[c]=(a-c)*o;else if(o<0)for(let c=0;c<s;++c)l[c]=(i+c)/-o;else for(let c=0;c<s;++c)l[c]=(i+c)*o;return l}function FF(e,t,r){return t=+t,e=+e,r=+r,Gk(e,t,r)[2]}function ESe(e,t,r){t=+t,e=+e,r=+r;const n=t<e,i=n?FF(t,e,r):FF(e,t,r);return(n?-1:1)*(i<0?1/-i:i)}function kSe(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e);break}return this}function B5(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function _ee(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function sx(){}var NS=.7,Kk=1/NS,Yg="\\s*([+-]?\\d+)\\s*",MS="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Qu="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",TSe=/^#([0-9a-f]{3,8})$/,_Se=new RegExp(`^rgb\\(${Yg},${Yg},${Yg}\\)$`),PSe=new RegExp(`^rgb\\(${Qu},${Qu},${Qu}\\)$`),ASe=new RegExp(`^rgba\\(${Yg},${Yg},${Yg},${MS}\\)$`),OSe=new RegExp(`^rgba\\(${Qu},${Qu},${Qu},${MS}\\)$`),ISe=new RegExp(`^hsl\\(${MS},${Qu},${Qu}\\)$`),RSe=new RegExp(`^hsla\\(${MS},${Qu},${Qu},${MS}\\)$`),f7={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};B5(sx,LS,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:h7,formatHex:h7,formatHex8:FSe,formatHsl:DSe,formatRgb:p7,toString:p7});function h7(){return this.rgb().formatHex()}function FSe(){return this.rgb().formatHex8()}function DSe(){return Pee(this).formatHsl()}function p7(){return this.rgb().formatRgb()}function LS(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=TSe.exec(e))?(r=t[1].length,t=parseInt(t[1],16),r===6?m7(t):r===3?new ms(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):r===8?nC(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):r===4?nC(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=_Se.exec(e))?new ms(t[1],t[2],t[3],1):(t=PSe.exec(e))?new ms(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=ASe.exec(e))?nC(t[1],t[2],t[3],t[4]):(t=OSe.exec(e))?nC(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=ISe.exec(e))?y7(t[1],t[2]/100,t[3]/100,1):(t=RSe.exec(e))?y7(t[1],t[2]/100,t[3]/100,t[4]):f7.hasOwnProperty(e)?m7(f7[e]):e==="transparent"?new ms(NaN,NaN,NaN,0):null}function m7(e){return new ms(e>>16&255,e>>8&255,e&255,1)}function nC(e,t,r,n){return n<=0&&(e=t=r=NaN),new ms(e,t,r,n)}function NSe(e){return e instanceof sx||(e=LS(e)),e?(e=e.rgb(),new ms(e.r,e.g,e.b,e.opacity)):new ms}function DF(e,t,r,n){return arguments.length===1?NSe(e):new ms(e,t,r,n??1)}function ms(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}B5(ms,DF,_ee(sx,{brighter(e){return e=e==null?Kk:Math.pow(Kk,e),new ms(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?NS:Math.pow(NS,e),new ms(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ms(sm(this.r),sm(this.g),sm(this.b),Zk(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:g7,formatHex:g7,formatHex8:MSe,formatRgb:v7,toString:v7}));function g7(){return`#${$p(this.r)}${$p(this.g)}${$p(this.b)}`}function MSe(){return`#${$p(this.r)}${$p(this.g)}${$p(this.b)}${$p((isNaN(this.opacity)?1:this.opacity)*255)}`}function v7(){const e=Zk(this.opacity);return`${e===1?"rgb(":"rgba("}${sm(this.r)}, ${sm(this.g)}, ${sm(this.b)}${e===1?")":`, ${e})`}`}function Zk(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function sm(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function $p(e){return e=sm(e),(e<16?"0":"")+e.toString(16)}function y7(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Mc(e,t,r,n)}function Pee(e){if(e instanceof Mc)return new Mc(e.h,e.s,e.l,e.opacity);if(e instanceof sx||(e=LS(e)),!e)return new Mc;if(e instanceof Mc)return e;e=e.rgb();var t=e.r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=NaN,s=a-i,l=(a+i)/2;return s?(t===a?o=(r-n)/s+(r<n)*6:r===a?o=(n-t)/s+2:o=(t-r)/s+4,s/=l<.5?a+i:2-a-i,o*=60):s=l>0&&l<1?0:o,new Mc(o,s,l,e.opacity)}function LSe(e,t,r,n){return arguments.length===1?Pee(e):new Mc(e,t,r,n??1)}function Mc(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}B5(Mc,LSe,_ee(sx,{brighter(e){return e=e==null?Kk:Math.pow(Kk,e),new Mc(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?NS:Math.pow(NS,e),new Mc(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new ms(gI(e>=240?e-240:e+120,i,n),gI(e,i,n),gI(e<120?e+240:e-120,i,n),this.opacity)},clamp(){return new Mc(b7(this.h),iC(this.s),iC(this.l),Zk(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Zk(this.opacity);return`${e===1?"hsl(":"hsla("}${b7(this.h)}, ${iC(this.s)*100}%, ${iC(this.l)*100}%${e===1?")":`, ${e})`}`}}));function b7(e){return e=(e||0)%360,e<0?e+360:e}function iC(e){return Math.max(0,Math.min(1,e||0))}function gI(e,t,r){return(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)*255}const U5=e=>()=>e;function BSe(e,t){return function(r){return e+r*t}}function USe(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}function zSe(e){return(e=+e)==1?Aee:function(t,r){return r-t?USe(t,r,e):U5(isNaN(t)?r:t)}}function Aee(e,t){var r=t-e;return r?BSe(e,r):U5(isNaN(e)?t:e)}const S7=function e(t){var r=zSe(t);function n(i,a){var o=r((i=DF(i)).r,(a=DF(a)).r),s=r(i.g,a.g),l=r(i.b,a.b),c=Aee(i.opacity,a.opacity);return function(u){return i.r=o(u),i.g=s(u),i.b=l(u),i.opacity=c(u),i+""}}return n.gamma=e,n}(1);function HSe(e,t){t||(t=[]);var r=e?Math.min(t.length,e.length):0,n=t.slice(),i;return function(a){for(i=0;i<r;++i)n[i]=e[i]*(1-a)+t[i]*a;return n}}function qSe(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function WSe(e,t){var r=t?t.length:0,n=e?Math.min(r,e.length):0,i=new Array(n),a=new Array(r),o;for(o=0;o<n;++o)i[o]=z5(e[o],t[o]);for(;o<r;++o)a[o]=t[o];return function(s){for(o=0;o<n;++o)a[o]=i[o](s);return a}}function VSe(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Yk(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function jSe(e,t){var r={},n={},i;(e===null||typeof e!="object")&&(e={}),(t===null||typeof t!="object")&&(t={});for(i in t)i in e?r[i]=z5(e[i],t[i]):n[i]=t[i];return function(a){for(i in r)n[i]=r[i](a);return n}}var NF=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,vI=new RegExp(NF.source,"g");function GSe(e){return function(){return e}}function KSe(e){return function(t){return e(t)+""}}function ZSe(e,t){var r=NF.lastIndex=vI.lastIndex=0,n,i,a,o=-1,s=[],l=[];for(e=e+"",t=t+"";(n=NF.exec(e))&&(i=vI.exec(t));)(a=i.index)>r&&(a=t.slice(r,a),s[o]?s[o]+=a:s[++o]=a),(n=n[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,l.push({i:o,x:Yk(n,i)})),r=vI.lastIndex;return r<t.length&&(a=t.slice(r),s[o]?s[o]+=a:s[++o]=a),s.length<2?l[0]?KSe(l[0].x):GSe(t):(t=l.length,function(c){for(var u=0,d;u<t;++u)s[(d=l[u]).i]=d.x(c);return s.join("")})}function z5(e,t){var r=typeof t,n;return t==null||r==="boolean"?U5(t):(r==="number"?Yk:r==="string"?(n=LS(t))?(t=n,S7):ZSe:t instanceof LS?S7:t instanceof Date?VSe:qSe(t)?HSe:Array.isArray(t)?WSe:typeof t.valueOf!="function"&&typeof t.toString!="function"||isNaN(t)?jSe:Yk)(e,t)}function YSe(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function $Se(e){return function(){return e}}function XSe(e){return+e}var w7=[0,1];function Tg(e){return e}function MF(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:$Se(isNaN(t)?NaN:.5)}function QSe(e,t){var r;return e>t&&(r=e,e=t,t=r),function(n){return Math.max(e,Math.min(t,n))}}function JSe(e,t,r){var n=e[0],i=e[1],a=t[0],o=t[1];return i<n?(n=MF(i,n),a=r(o,a)):(n=MF(n,i),a=r(a,o)),function(s){return a(n(s))}}function ewe(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),a=new Array(n),o=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<n;)i[o]=MF(e[o],e[o+1]),a[o]=r(t[o],t[o+1]);return function(s){var l=bSe(e,s,1,n)-1;return a[l](i[l](s))}}function twe(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function rwe(){var e=w7,t=w7,r=z5,n,i,a,o=Tg,s,l,c;function u(){var f=Math.min(e.length,t.length);return o!==Tg&&(o=QSe(e[0],e[f-1])),s=f>2?ewe:JSe,l=c=null,d}function d(f){return f==null||isNaN(f=+f)?a:(l||(l=s(e.map(n),t,r)))(n(o(f)))}return d.invert=function(f){return o(i((c||(c=s(t,e.map(n),Yk)))(f)))},d.domain=function(f){return arguments.length?(e=Array.from(f,XSe),u()):e.slice()},d.range=function(f){return arguments.length?(t=Array.from(f),u()):t.slice()},d.rangeRound=function(f){return t=Array.from(f),r=YSe,u()},d.clamp=function(f){return arguments.length?(o=f?!0:Tg,u()):o!==Tg},d.interpolate=function(f){return arguments.length?(r=f,u()):r},d.unknown=function(f){return arguments.length?(a=f,d):a}
vendor: 4,546 bytes, line 49
49,function(f,h){return n=f,i=h,u()}}function nwe(){return rwe()(Tg,Tg)}function iwe(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}function $k(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function Av(e){return e=$k(Math.abs(e)),e?e[1]:NaN}function awe(e,t){return function(r,n){for(var i=r.length,a=[],o=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>n&&(s=Math.max(1,n-l)),a.push(r.substring(i-=s,i+s)),!((l+=s+1)>n));)s=e[o=(o+1)%e.length];return a.reverse().join(t)}}function owe(e){return function(t){return t.replace(/[0-9]/g,function(r){return e[+r]})}}var swe=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Xk(e){if(!(t=swe.exec(e)))throw new Error("invalid format: "+e);var t;return new H5({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}Xk.prototype=H5.prototype;function H5(e){this.fill=e.fill===void 0?" ":e.fill+"",this.align=e.align===void 0?">":e.align+"",this.sign=e.sign===void 0?"-":e.sign+"",this.symbol=e.symbol===void 0?"":e.symbol+"",this.zero=!!e.zero,this.width=e.width===void 0?void 0:+e.width,this.comma=!!e.comma,this.precision=e.precision===void 0?void 0:+e.precision,this.trim=!!e.trim,this.type=e.type===void 0?"":e.type+""}H5.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function lwe(e){e:for(var t=e.length,r=1,n=-1,i;r<t;++r)switch(e[r]){case".":n=i=r;break;case"0":n===0&&(n=r),i=r;break;default:if(!+e[r])break e;n>0&&(n=0);break}return n>0?e.slice(0,n)+e.slice(i+1):e}var Oee;function cwe(e,t){var r=$k(e,t);if(!r)return e+"";var n=r[0],i=r[1],a=i-(Oee=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,o=n.length;return a===o?n:a>o?n+new Array(a-o+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+new Array(1-a).join("0")+$k(e,Math.max(0,t+a-1))[0]}function x7(e,t){var r=$k(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}const C7={"%":(e,t)=>(e*100).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:iwe,e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>x7(e*100,t),r:x7,s:cwe,X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function E7(e){return e}var k7=Array.prototype.map,T7=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function uwe(e){var t=e.grouping===void 0||e.thousands===void 0?E7:awe(k7.call(e.grouping,Number),e.thousands+""),r=e.currency===void 0?"":e.currency[0]+"",n=e.currency===void 0?"":e.currency[1]+"",i=e.decimal===void 0?".":e.decimal+"",a=e.numerals===void 0?E7:owe(k7.call(e.numerals,String)),o=e.percent===void 0?"%":e.percent+"",s=e.minus===void 0?"−":e.minus+"",l=e.nan===void 0?"NaN":e.nan+"";function c(d){d=Xk(d);var f=d.fill,h=d.align,p=d.sign,g=d.symbol,v=d.zero,m=d.width,b=d.comma,y=d.precision,w=d.trim,x=d.type;x==="n"?(b=!0,x="g"):C7[x]||(y===void 0&&(y=12),w=!0,x="g"),(v||f==="0"&&h==="=")&&(v=!0,f="0",h="=");var C=g==="$"?r:g==="#"&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",T=g==="$"?n:/[%p]/.test(x)?o:"",_=C7[x],P=/[defgprs%]/.test(x);y=y===void 0?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y));function F(I){var R=C,D=T,A,M,X;if(x==="c")D=_(I)+D,I="";else{I=+I;var Y=I<0||1/I<0;if(I=isNaN(I)?l:_(Math.abs(I),y),w&&(I=lwe(I)),Y&&+I==0&&p!=="+"&&(Y=!1),R=(Y?p==="("?p:s:p==="-"||p==="("?"":p)+R,D=(x==="s"?T7[8+Oee/3]:"")+D+(Y&&p==="("?")":""),P){for(A=-1,M=I.length;++A<M;)if(X=I.charCodeAt(A),48>X||X>57){D=(X===46?i+I.slice(A+1):I.slice(A))+D,I=I.slice(0,A);break}}}b&&!v&&(I=t(I,1/0));var se=R.length+I.length+D.length,ne=se<m?new Array(m-se+1).join(f):"";switch(b&&v&&(I=t(ne+I,ne.length?m-D.length:1/0),ne=""),h){case"<":I=R+I+D+ne;break;case"=":I=R+ne+I+D;break;case"^":I=ne.slice(0,se=ne.length>>1)+R+I+D+ne.slice(se);break;default:I=ne+R+I+D;break}return a(I)}return F.toString=function(){return d+""},F}function u(d,f){var h=c((d=Xk(d),d.type="f",d)),p=Math.max(-8,Math.min(8,Math.floor(Av(f)/3)))*3,g=Math.pow(10,-p),v=T7[8+p/3];return function(m){return h(g*m)+v}}return{format:c,formatPrefix:u}}var aC,Iee,Ree;
49dwe({thousands:",",grouping:[3],currency:["$",""]});function dwe(e){return aC=uwe(e),Iee=aC.format,Ree=aC.formatPrefix,aC}function fwe(e){return Math.max(0,-Av(Math.abs(e)))}function hwe(e,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Av(t)/3)))*3-Av(Math.abs(e)))}function pwe(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Av(t)-Av(e))+1}function mwe(e,t,r,n){var i=ESe(e,t,r),a;switch(n=Xk(n??",f"),n.type){case"s":{var o=Math.max(Math.abs(e),Math.abs(t));return n.precision==null&&!isNaN(a=hwe(i,o))&&(n.precision=a),Ree(n,o)}case"":case"e":case"g":case"p":case"r":{n.precision==null&&!isNaN(a=pwe(i,Math.max(Math.abs(e),Math.abs(t))))&&(n.precision=a-(n.type==="e"));break}case"f":case"%":{n.precision==null&&!isNaN(a=fwe(i))&&(n.precision=a-(n.type==="%")*2);break}}return Iee(n)}function gwe(e){var t=e.domain;return e.ticks=function(r){var n=t();return CSe(n[0],n[n.length-1],r??10)},e.tickFormat=function(r,n){var i=t();return mwe(i[0],i[i.length-1],r??10,n)},e.nice=function(r){r==null&&(r=10);var n=t(),i=0,a=n.length-1,o=n[i],s=n[a],l,c,u=10;for(s<o&&(c=o,o=s,s=c,c=i,i=a,a=c);u-- >0;){if(c=FF(o,s,r),c===l)return n[i]=o,n[a]=s,t(n);if(c>0)o=Math.floor(o/c)*c,s=Math.ceil(s/c)*c;else if(c<0)o=Math.ceil(o*c)/c,s=Math.floor(s*c)/c;else break;l=c}return e},e}function Fee(){var e=nwe();return e.copy=function(){return twe(e,Fee())},kSe.apply(e,arguments),gwe(e)}const as=(...e)=>{e.reverse();const t=Fee().domain([0,e.length-1]).range([0,100]);return e.map((r,n)=>({offset:t(n),color:r}))};let _7;(function(e){e.Point="Point",e.BarGroup="BarGroup",e.Bar="Bar"})(_7||(_7={}));let LF;(function(e){e.Loading="Loading",e.Error="Error",e.Success="Success"})(LF||(LF={}));let xb;(function(e){e.Bar="Bar",e.Combo="Combo",e.Line="Line"})(xb||(xb={}));let Id;(function(e){e.Teal="Teal",e.Blue="Blue",e.Indigo="Indigo",e.Purple="Purple",e.Magenta="Magenta",e.Orange="Orange",e.Yellow="Yellow"})(Id||(Id={}));const _wt=14,Pwt=12,Awt="http://www.w3.org/2000/svg",Owt=200,Iwt=500,Rwt=30,Fu=3,Fwt={None:"0 0 0 0",Top:`${Fu} ${Fu} 0 0`,Right:`0 ${Fu} ${Fu} 0`,Bottom:`0 0 ${Fu} ${Fu}`,Left:`${Fu} 0 0 ${Fu}`},Dwt=12,Nwt=10,Mwt=20,Lwt=16,Bwt=2,Uwt=5,zwt=.5,Hwt=100,qwt=325,Wwt=10,Vwt=25,jwt=10;let P7;(function(e){e[e.Top=5]="Top",e[e.Left=0]="Left",e[e.Bottom=24]="Bottom",e[e.Right=0]="Right"})(P7||(P7={}));const Gwt={mass:1,tension:190,friction:26},Kwt={mass:1,tension:150,friction:20,restVelocity:200},Zwt={mass:1,tension:140,friction:18},Ywt={mass:1,tension:120,friction:20,clamp:!0},$wt={mass:1,tension:190,friction:26,clamp:!0},Xwt={mass:1,tension:150,friction:10},Qwt={mass:1,tension:150,friction:20,restVelocity:200},Jwt="#ffffff",Dee="Default",Nee=[{offset:0,color:he.colorIndigo90},{offset:85,color:he.colorBlue90},{offset:100,color:he.colorBlue70}],Mee="0px",Lee="0px",Bee=40,Uee=200,zee=!0,Hee=!0,qee=2,Wee=2,Vee=36,jee=!0,Gee=!0,Kee=!0,Zee=16,Yee=!1,$ee=1,vP={seriesColors:{empty:he.colorGray140,comparison:he.colorDarkComparison,single:Nee,upToEight:[as(he.colorIndigo70,he.colorIndigo90),as(he.colorBlue70,he.colorBlue90),as(he.colorMagenta70,he.colorMagenta90),as(he.colorTeal70,he.colorTeal90),as(he.colorPurple50,he.colorPurple70),as(he.colorOrange60,he.colorOrange80),as(he.colorYellow20,he.colorYellow40)],all:[he.colorTeal90,he.colorBlue50,he.colorIndigo90,he.colorPurple70,he.colorMagenta90,he.colorOrange50,he.colorYellow70,he.colorTeal40,he.colorBlue80,he.colorIndigo40,he.colorPurple90,he.colorMagenta70,he.colorOrange80,he.colorYellow20]},tooltip:{backgroundColor:he.colorGray150,textColor:he.colorWhite,titleColor:he.colorGray50},chartContainer:{backgroundColor:he.colorGray160,borderRadius:Mee,minHeight:Uee,padding:Lee,sparkChartMinHeight:Bee},line:{hasArea:zee,hasSpline:Hee,width:qee,pointStroke:he.colorGray160},arc:{cornerRadius:Wee,thickness:Vee},bar:{zeroValueColor:he.colorGray80,borderRadius:Fu},grid:{showHorizontalLines:jee,color:he.colorGray140,horizontalOverflow:Gee,horizontalMargin:Zee,verticalOverflow:Kee},xAxis:{labelColor:he.colorGray30,hide:Yee},yAxis:{backgroundColor:he.colorGray160,labelColor:he.colorGray30},crossHair:{color:he.colorGray70,width:$ee},legend:{valueColor:he.colorGray70,labelColor:he.colorGray30,backgroundColor:he.colorGray150,trendIndicator:{positive:he.colorDarkPositive,negative:he.colorDarkNegative,neutral:he.colorDarkNeutral}},annotations:{backgroundColor:he.colorGray140,textColor:he.colorGray30,titleColor:he.colorWhite,linkColor:he.colorBlue40,axisLabelColor:he.colorGray80,lineColor:he.colorGray80,pillOpacity:.6},trendIndicator:{positive:he.colorDarkPositive,negative:he.colorDarkNegative,neutral:he.colorDarkNeutral},missingData:{lineColor:he.colorGray130}},Ov={seriesColors:{empty:he.colorGray20,comparison:he.colorLightComparison,single:Nee,upToEight:[as(he.colorIndigo70,he.colorIndigo90),as(he.colorBlue70,he.colorBlue90),as(he.colorMagenta70,he.colorMagenta90),as(he.colorTeal70,he.colorTeal90),as(he.colorPurple70,he.colorPurple90),as(he.colorOrange70,he.colorOrange90),as(he.colorYellow70,he.colorYellow90)],all:[he.colorTeal90,he.colorBlue70,he.colorIndigo90,he.colorPurple70,he.colorMagenta90,he.colorOrange80,he.colorYellow50,he.colorTeal70,he.colorBlue80,he.colorIndigo70,he.colorPurple90,he.colorMagenta70,he.colorOrange110,he.colorYellow70]},tooltip:{backgroundColor:he.colorGray00,textColor:he.colorGray160,titleColor:he.colorGray100},chartContainer:{backgroundColor:he.colorGray00,borderRadius:Mee,minHeight:Uee,padding:Lee,sparkChartMinHeight:Bee},line:{hasArea:zee,hasSpline:Hee,width:qee,pointStroke:he.colorGray00},arc:{cornerRadius:Wee,thickness:Vee},bar:{zeroValueColor:he.colorGray70,borderRadius:Fu},grid:{showHorizontalLines:jee,color:he.colorGray20,horizontalOverflow:Gee,horizontalMargin:Zee,verticalOverflow:Kee},xAxis:{labelColor:he.colorGray100,hide:Yee},yAxis:{backgroundColor:he.colorGray00,labelColor:he.colorGray100}
49,crossHair:{color:he.colorGray40,width:$ee},legend:{valueColor:he.colorGray160,labelColor:he.colorGray100,backgroundColor:he.colorGray10,trendIndicator:{positive:he.colorLightPositive,negative:he.colorLightNegative,neutral:he.colorLightNeutral}},annotations:{backgroundColor:he.colorGray100,textColor:he.colorWhite,titleColor:he.colorWhite,linkColor:he.colorBlue40,axisLabelColor:he.colorGray70,lineColor:he.colorGray70,pillOpacity:1},trendIndicator:{positive:he.colorLightPositive,negative:he.colorLightNegative,neutral:he.colorLightNeutral},missingData:{lineColor:he.colorGray40}},Xee={...Ov,seriesColors:{empty:he.colorGray20,comparison:he.colorLightComparison,single:he.colorIndigo90,upToEight:[he.colorIndigo70,he.colorBlue70,he.colorMagenta70,he.colorTeal70,he.colorPurple70,he.colorOrange70,he.colorYellow70],all:[he.colorTeal90,he.colorBlue70,he.colorIndigo90,he.colorPurple70,he.colorMagenta90,he.colorOrange80,he.colorYellow50,he.colorTeal70,he.colorBlue80,he.colorIndigo70,he.colorPurple90,he.colorMagenta70,he.colorOrange110,he.colorYellow70]}},vwe=[{offset:0,color:"#079EE1"},{offset:100,color:"#2EB9F5"}],ywe=[{offset:0,color:"#6A42E9"},{offset:100,color:"#8F71EF"}],bwe=[{offset:0,color:"#3E69EA"},{offset:100,color:"#7594F0"}],Swe=[{offset:0,color:"#D147AC"},{offset:100,color:"#DD76C1"}],wwe=[{offset:0,color:"#1D9595"},{offset:100,color:"#2CD2D2"}],xwe=[{offset:0,color:"#A249DF"},{offset:100,color:"#BD7DE8"}],Cwe=[{offset:0,color:"#6F8405"},{offset:100,color:"#9DBB08"}],Ewe=[{offset:0,color:"#D77114"},{offset:100,color:"#EC882D"}],kwe="rgba(19, 172, 240, 1)",Twe="rgba(86, 42, 228, 1)",_we="rgba(89, 126, 237, 1)",Pwe="rgba(155, 39, 124, 1)",Awe="rgba(35, 186, 186, 1)",Owe="rgba(126, 33, 190, 1)",Iwe="rgba(134, 159, 7, 1)",Rwe="rgba(139, 68, 3, 1)",Fwe="rgba(158, 132, 242, 1)",Dwe="rgba(18, 138, 192, 1)",Nwe="rgba(215, 94, 183, 1)",Mwe="rgba(16, 50, 149, 1)",Lwe="rgba(175, 99, 228, 1)",Bwe="rgba(21, 117, 117, 1)",Uwe="rgba(228, 124, 29, 1)",zwe="rgba(64, 76, 3, 1)",A7="#29845A",O7="#E51C00",I7="#8A8A8A",q5={...Ov,seriesColors:{empty:he.colorGray20,comparison:"#0A97D5",single:[{offset:0,color:"#0A97D5"},{offset:100,color:"#50C3F7"}],upToEight:[vwe,ywe,bwe,Swe,wwe,xwe,Cwe,Ewe],all:[kwe,Twe,_we,Pwe,Awe,Owe,Iwe,Rwe,Fwe,Dwe,Nwe,Mwe,Lwe,Bwe,Uwe,zwe]},legend:{...Ov.legend,trendIndicator:{positive:A7,negative:O7,neutral:I7}},trendIndicator:{positive:A7,negative:O7,neutral:I7}},ext=2,txt=1,rxt=.3,nxt="singleItem",ixt="group",axt="setHiddenItems",oxt=16,sxt=16,lxt=20,cxt=16,uxt="…",dxt=46,fxt=80,hxt=30,pxt=100,mxt=80,gxt=80,vxt=14,Qee={Svg:({children:e,...t})=>k.createElement("svg",t,e),Circle:({children:e,...t})=>k.createElement("circle",t,e),Ellipse:({children:e,...t})=>k.createElement("ellipse",t,e),G:({children:e,...t})=>k.createElement("g",t,e),Text:({children:e,...t})=>k.createElement("text",t,e),TSpan:({children:e,...t})=>k.createElement("tSpan",t,e),TextPath:({children:e,...t})=>k.createElement("textPath",t,e),Path:({children:e,...t})=>k.createElement("path",t,e),Polygon:({children:e,...t})=>k.createElement("polygon",t,e),Polyline:({children:e,...t})=>k.createElement("polyline",t,e),Line:({children:e,...t})=>k.createElement("line",t,e),Rect:({children:e,...t})=>k.createElement("rect",t,e),Use:({children:e,...t})=>k.createElement("use",t,e),Image:({children:e,...t})=>k.createElement("image",t,e),Symbol:({children:e,...t})=>k.createElement("symbol",t,e),Defs:({children:e,...t})=>k.createElement("defs",t,e),LinearGradient:({children:e,...t})=>k.createElement("linearGradient",t,e),RadialGradient:({children:e,...t})=>k.createElement("radialGradient",t,e),Stop:({children:e,...t})=>k.createElement("stop",t,e),ClipPath:({children:e,...t})=>k.createElement("clipPath",t,e),Pattern:({children:e,...t})=>k.createElement("pattern",t,e),Mask:({children:e,...t})=>k.createElement("mask",t,e)},yxt=10,bxt={name:"color-vision-event",dataAttribute:"data-color-vision-event",camelCaseName:"colorVisionEvent"},Sxt={isAnimated:!0,state:LF.Success,errorText:"Could not load the chart"},wxt={[xb.Bar]:60,[xb.Line]:150,[xb.Combo]:60},xxt=14;Id.Teal+"",he.colorTeal00,he.colorTeal10,he.colorTeal20,he.colorTeal30,he.colorTeal40,he.colorTeal50,he.colorTeal60,he.colorTeal70,he.colorTeal80,he.colorTeal90,he.colorTeal100,he.colorTeal110,he.colorTeal120,he.colorTeal130,he.colorTeal140,he.colorTeal150,he.colorTeal160,Id.Blue+"",he.colorBlue00,he.colorBlue10,he.colorBlue20,he.colorBlue30,he.colorBlue40,he.colorBlue50,he.colorBlue60,he.colorBlue70,he.colorBlue80,he.colorBlue90,he.colorBlue100,he.colorBlue110,he.colorBlue120,he.colorBlue130,he.colorBlue140,he.colorBlue150,he.colorBlue160,Id.Indigo+"",he.colorIndigo00,he.colorIndigo10,he.colorIndigo20,he.colorIndigo30,he.colorIndigo40,he.colorIndigo50,he.colorIndigo60,he.colorIndigo70,he.colorIndigo80,he.colorIndigo90,he.colorIndigo100,he.colorIndigo110,he.colorIndigo120,he.colorIndigo130,he.colorIndigo140,he.colorIndigo150,he.colorIndigo160,Id.Purple+"",he.colorPurple00,he.colorPurple10,he.colorPurple20,he.colorPurple30,he.colorPurple40,he.colorPurple50,he.colorPurple60,he.colorPurple70,he.colorPurple80,he.colorPurple90,he.colorPurple100,he.colorPurple110,he.colorPurple120,he.colorPurple130,he.colorPurple140,he.colorPurple150,he.colorPurple160,Id.Magenta+"",he.colorMagenta00,he.colorMagenta10,he.colorMagenta20,he.colorMagenta30,he.colorMagenta40,he.colorMagenta50,he.colorMagenta60,he.colorMagenta70,he.colorMagenta80,he.colorMagenta90,he.colorMagenta100,he.colorMagenta110,he.colorMagenta120,he.colorMagenta130,he.colorMagenta140,he.colorMagenta150,he.colorMagenta160,Id.Orange+"",he.colorOrange00,he.colorOrange10,he.colorOrange20,he.colorOrange30,he.colorOrange40,he.colorOrange50,he.colorOrange60,he.colorOrange70,he.colorOrange80,he.colorOrange90,he.colorOrange100,he.colorOrange110,he.colorOrange120,he.colorOrange130,he.colorOrange140,he.colorOrange150,he.colorOrange160,Id.Yellow+"",he.colorYellow00,he.colorYellow10,he.colorYellow20,he.colorYellow30,he.colorYellow40,he.colorYellow50,he.colorYellow60,he.colorYellow70,he.colorYellow80,he.colorYellow90,he.colorYellow100,he.colorYellow110,he.colorYellow120,he.colorYellow130,he.colorYellow140,he.colorYellow150,he.colorYellow160;const Hwe={Default:vP,Light:Ov,Uplift:q5,Print:Xee},qwe=(e,t=vP)=>Object.keys(t).reduce((n,i)=>{const a=t[i],o=e[i];
49return typeof a=="string"||typeof o=="string"||Array.isArray(a)?n[i]=o??a:n[i]={...t[i],...e[i]},n},{}),Wwe=e=>Object.keys(e).reduce((t,r)=>(t[r]=qwe(e[r],Hwe[r]),t),{});var Vwe=Object.defineProperty,jwe=(e,t)=>{for(var r in t)Vwe(e,r,{get:t[r],enumerable:!0})},eu={};jwe(eu,{assign:()=>Zwe,colors:()=>Nh,createStringInterpolator:()=>Y5,skipAnimation:()=>ate,to:()=>ite,willAdvance:()=>$5});var W5=cx(),Er=e=>lx(e,W5),V5=cx();Er.write=e=>lx(e,V5);var yP=cx();Er.onStart=e=>lx(e,yP);var j5=cx();Er.onFrame=e=>lx(e,j5);var G5=cx();Er.onFinish=e=>lx(e,G5);var $g=[];Er.setTimeout=(e,t)=>{const r=Er.now()+t,n=()=>{const a=$g.findIndex(o=>o.cancel==n);~a&&$g.splice(a,1),vh-=~a?1:0},i={time:r,handler:e,cancel:n};return $g.splice(Jee(r),0,i),vh+=1,ete(),i};var Jee=e=>~(~$g.findIndex(t=>t.time>e)||~$g.length);Er.cancel=e=>{yP.delete(e),j5.delete(e),G5.delete(e),W5.delete(e),V5.delete(e)};Er.sync=e=>{BF=!0,Er.batchedUpdates(e),BF=!1};Er.throttle=e=>{let t;function r(){try{e(...t)}finally{t=null}}function n(...i){t=i,Er.onStart(r)}return n.handler=e,n.cancel=()=>{yP.delete(r),t=null},n};var K5=typeof window<"u"?window.requestAnimationFrame:()=>{};Er.use=e=>K5=e;Er.now=typeof performance<"u"?()=>performance.now():Date.now;Er.batchedUpdates=e=>e();Er.catch=console.error;Er.frameLoop="always";Er.advance=()=>{Er.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):rte()};var gh=-1,vh=0,BF=!1;function lx(e,t){BF?(t.delete(e),e(0)):(t.add(e),ete())}function ete(){gh<0&&(gh=0,Er.frameLoop!=="demand"&&K5(tte))}function Gwe(){gh=-1}function tte(){~gh&&(K5(tte),Er.batchedUpdates(rte))}function rte(){const e=gh;gh=Er.now();const t=Jee(gh);if(t&&(nte($g.splice(0,t),r=>r.handler()),vh-=t),!vh){Gwe();return}yP.flush(),W5.flush(e?Math.min(64,gh-e):16.667),j5.flush(),V5.flush(),G5.flush()}function cx(){let e=new Set,t=e;return{add(r){vh+=t==e&&!e.has(r)?1:0,e.add(r)},delete(r){return vh-=t==e&&e.has(r)?1:0,e.delete(r)},flush(r){t.size&&(e=new Set,vh-=t.size,nte(t,n=>n(r)&&e.add(n)),vh+=e.size,t=e)}}}function nte(e,t){e.forEach(r=>{try{t(r)}catch(n){Er.catch(n)}})}function UF(){}var Kwe=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),ot={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function Rd(e,t){if(ot.arr(e)){if(!ot.arr(t)||e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}var mr=(e,t)=>e.forEach(t);function sd(e,t,r){if(ot.arr(e)){for(let n=0;n<e.length;n++)t.call(r,e[n],`${n}`);return}for(const n in e)e.hasOwnProperty(n)&&t.call(r,e[n],n)}var Bo=e=>ot.und(e)?[]:ot.arr(e)?e:[e];function Cb(e,t){if(e.size){const r=Array.from(e);e.clear(),mr(r,t)}}var K1=(e,...t)=>Cb(e,r=>r(...t)),Z5=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),Y5,ite,Nh=null,ate=!1,$5=UF,Zwe=e=>{e.to&&(ite=e.to),e.now&&(Er.now=e.now),e.colors!==void 0&&(Nh=e.colors),e.skipAnimation!=null&&(ate=e.skipAnimation),e.createStringInterpolator&&(Y5=e.createStringInterpolator),e.requestAnimationFrame&&Er.use(e.requestAnimationFrame),e.batchedUpdates&&(Er.batchedUpdates=e.batchedUpdates),e.willAdvance&&($5=e.willAdvance),e.frameLoop&&(Er.frameLoop=e.frameLoop)},Eb=new Set,ql=[],yI=[],Qk=0,bP={get idle(){return!Eb.size&&!ql.length},start(e){Qk>e.priority?(Eb.add(e),Er.onStart(Ywe)):(ote(e),Er(zF))},advance:zF,sort(e){if(Qk)Er.onFrame(()=>bP.sort(e));else{const t=ql.indexOf(e);~t&&(ql.splice(t,1),ste(e))}},clear(){ql=[],Eb.clear()}};function Ywe(){Eb.forEach(ote),Eb.clear(),Er(zF)}function ote(e){ql.includes(e)||ste(e)}function ste(e){ql.splice($we(ql,t=>t.priority>e.priority),0,e)}function zF(e){const t=yI;for(let r=0;r<ql.length;r++){const n=ql[r];Qk=n.priority,n.idle||($5(n),n.advance(e),n.idle||t.push(n))}return Qk=0,yI=ql,yI.length=0,ql=t,ql.length>0}function $we(e,t){const r=e.findIndex(t);return r<0?e.length:r}var Xwe={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,dar
49kgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Bc="[-+]?\\d*\\.?\\d+",Jk=Bc+"%";function SP(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var Qwe=new RegExp("rgb"+SP(Bc,Bc,Bc)),Jwe=new RegExp("rgba"+SP(Bc,Bc,Bc,Bc)),exe=new RegExp("hsl"+SP(Bc,Jk,Jk)),txe=new RegExp("hsla"+SP(Bc,Jk,Jk,Bc)),rxe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,nxe=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ixe=/^#([0-9a-fA-F]{6})$/,axe=/^#([0-9a-fA-F]{8})$/;function oxe(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ixe.exec(e))?parseInt(t[1]+"ff",16)>>>0:Nh&&Nh[e]!==void 0?Nh[e]:(t=Qwe.exec(e))?(L0(t[1])<<24|L0(t[2])<<16|L0(t[3])<<8|255)>>>0:(t=Jwe.exec(e))?(L0(t[1])<<24|L0(t[2])<<16|L0(t[3])<<8|D7(t[4]))>>>0:(t=rxe.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=axe.exec(e))?parseInt(t[1],16)>>>0:(t=nxe.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=exe.exec(e))?(R7(F7(t[1]),oC(t[2]),oC(t[3]))|255)>>>0:(t=txe.exec(e))?(R7(F7(t[1]),oC(t[2]),oC(t[3]))|D7(t[4]))>>>0:null}function bI(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function R7(e,t,r){const n=r<.5?r*(1+t):r+t-r*t,i=2*r-n,a=bI(i,n,e+1/3),o=bI(i,n,e),s=bI(i,n,e-1/3);return Math.round(a*255)<<24|Math.round(o*255)<<16|Math.round(s*255)<<8}function L0(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function F7(e){return(parseFloat(e)%360+360)%360/360}function D7(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function oC(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function N7(e){let t=oxe(e);if(t===null)return e;t=t||0;const r=(t&4278190080)>>>24,n=(t&16711680)>>>16,i=(t&65280)>>>8,a=(t&255)/255;return`rgba(${r}, ${n}, ${i}, ${a})`}var BS=(e,t,r)=>{if(ot.fun(e))return e;if(ot.arr(e))return BS({range:e,output:t,extrapolate:r});if(ot.str(e.output[0]))return Y5(e);const n=e,i=n.output,a=n.range||[0,1],o=n.extrapolateLeft||n.extrapolate||"extend",s=n.extrapolateRight||n.extrapolate||"extend",l=n.easing||(c=>c);return c=>{const u=lxe(c,a);return sxe(c,a[u],a[u+1],i[u],i[u+1],l,o,s,n.map)}};function sxe(e,t,r,n,i,a,o,s,l){let c=l?l(e):e;if(c<t){if(o==="identity")return c;o==="clamp"&&(c=t)}if(c>r){if(s==="identity")return c;s==="clamp"&&(c=r)}return n===i?n:t===r?e<=t?n:i:(t===-1/0?c=-c:r===1/0?c=c-t:c=(c-t)/(r-t),c=a(c),n===-1/0?c=-c:i===1/0?c=c+n:c=c*(i-n)+n,c)}function lxe(e,t){for(var r=1;r<t.length-1&&!(t[r]>=e);++r);return r-1}var cxe=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,uxe={linear:e=>e,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeOutBounce:cxe},US=Symbol.for("FluidValue.get"),Iv=Symbol.for("FluidValue.observers"),Ml=e=>!!(e&&e[US]),os=e=>e&&e[US]?e[US]():e,M7=e=>e[Iv]||null;function dxe(e,t){e.eventObserved?e.eventObserved(t):e(t)}function zS(e,t){const r=e[Iv];r&&r.forEach(n=>{dxe(n,t)})}var lte=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");fxe(this,e)}}
49,fxe=(e,t)=>cte(e,US,t);function sy(e,t){if(e[US]){let r=e[Iv];r||cte(e,Iv,r=new Set),r.has(t)||(r.add(t),e.observerAdded&&e.observerAdded(r.size,t))}return t}function HS(e,t){const r=e[Iv];if(r&&r.has(t)){const n=r.size-1;n?r.delete(t):e[Iv]=null,e.observerRemoved&&e.observerRemoved(n,t)}}var cte=(e,t,r)=>Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0}),TE=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,hxe=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,L7=new RegExp(`(${TE.source})(%|[a-z]+)`,"i"),pxe=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,wP=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,ute=e=>{const[t,r]=mxe(e);if(!t||Z5())return e;const n=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(n)return n.trim();if(r&&r.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(r);return i||e}else{if(r&&wP.test(r))return ute(r);if(r)return r}return e},mxe=e=>{const t=wP.exec(e);if(!t)return[,];const[,r,n]=t;return[r,n]},SI,gxe=(e,t,r,n,i)=>`rgba(${Math.round(t)}, ${Math.round(r)}, ${Math.round(n)}, ${i})`,dte=e=>{SI||(SI=Nh?new RegExp(`(${Object.keys(Nh).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(a=>os(a).replace(wP,ute).replace(hxe,N7).replace(SI,N7)),r=t.map(a=>a.match(TE).map(Number)),i=r[0].map((a,o)=>r.map(s=>{if(!(o in s))throw Error('The arity of each "output" value must be equal');return s[o]})).map(a=>BS({...e,output:a}));return a=>{var l;const o=!L7.test(t[0])&&((l=t.find(c=>L7.test(c)))==null?void 0:l.replace(TE,""));let s=0;return t[0].replace(TE,()=>`${i[s++](a)}${o||""}`).replace(pxe,gxe)}},X5="react-spring: ",fte=e=>{const t=e;let r=!1;if(typeof t!="function")throw new TypeError(`${X5}once requires a function parameter`);return(...n)=>{r||(t(...n),r=!0)}},vxe=fte(console.warn);function yxe(){vxe(`${X5}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var bxe=fte(console.warn);function Sxe(){bxe(`${X5}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function xP(e){return ot.str(e)&&(e[0]=="#"||/\d/.test(e)||!Z5()&&wP.test(e)||e in(Nh||{}))}var Xp=Z5()?k.useEffect:k.useLayoutEffect,wxe=()=>{const e=k.useRef(!1);return Xp(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function Q5(){const e=k.useState()[1],t=wxe();return()=>{t.current&&e(Math.random())}}function xxe(e,t){const[r]=k.useState(()=>({inputs:t,result:e()})),n=k.useRef(),i=n.current;let a=i;return a?t&&a.inputs&&Cxe(t,a.inputs)||(a={inputs:t,result:e()}):a=r,k.useEffect(()=>{n.current=a,i==r&&(r.inputs=r.result=void 0)},[a]),a.result}function Cxe(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}var J5=e=>k.useEffect(e,Exe),Exe=[];function HF(e){const t=k.useRef();return k.useEffect(()=>{t.current=e}),t.current}var qS=Symbol.for("Animated:node"),kxe=e=>!!e&&e[qS]===e,Nu=e=>e&&e[qS],e6=(e,t)=>Kwe(e,qS,t),CP=e=>e&&e[qS]&&e[qS].getPayload(),hte=class{constructor(){e6(this,this)}getPayload(){return this.payload||[]}},ux=class extends hte{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,ot.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new ux(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return ot.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value===e?!1:(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,ot.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},WS=class extends ux{constructor(e){super(0),this._string=null,this._toString=BS({output:[e,e]})}static create(e){return new WS(e)}getValue(){const e=this._string;return e??(this._string=this._toString(this._value))}setValue(e){if(ot.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else if(super.setValue(e))this._string=null;else return!1;return!0}reset(e){e&&(this._toString=BS({output:[this.getValue(),e]})),this._value=0,super.reset()}},eT={dependencies:null},EP=class extends hte{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return sd(this.source,(r,n)=>{kxe(r)?t[n]=r.getValue(e):Ml(r)?t[n]=os(r):e||(t[n]=r)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&mr(this.payload,e=>e.reset())}_makePayload(e){if(e){const t=new Set;return sd(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){eT.dependencies&&Ml(e)&&eT.dependencies.add(e);const t=CP(e);t&&mr(t,r=>this.add(r))}}
49,pte=class extends EP{constructor(e){super(e)}static create(e){return new pte(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){const t=this.getPayload();return e.length==t.length?t.map((r,n)=>r.setValue(e[n])).some(Boolean):(super.setValue(e.map(Txe)),!0)}};function Txe(e){return(xP(e)?WS:ux).create(e)}function qF(e){const t=Nu(e);return t?t.constructor:ot.arr(e)?pte:xP(e)?WS:ux}var B7=(e,t)=>{const r=!ot.fun(e)||e.prototype&&e.prototype.isReactComponent;return k.forwardRef((n,i)=>{const a=k.useRef(null),o=r&&k.useCallback(p=>{a.current=Axe(i,p)},[i]),[s,l]=Pxe(n,t),c=Q5(),u=()=>{const p=a.current;if(r&&!p)return;(p?t.applyAnimatedValues(p,s.getValue(!0)):!1)===!1&&c()},d=new _xe(u,l),f=k.useRef();Xp(()=>(f.current=d,mr(l,p=>sy(p,d)),()=>{f.current&&(mr(f.current.deps,p=>HS(p,f.current)),Er.cancel(f.current.update))})),k.useEffect(u,[]),J5(()=>()=>{const p=f.current;mr(p.deps,g=>HS(g,p))});const h=t.getComponentProps(s.getValue());return k.createElement(e,{...h,ref:o})})},_xe=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){e.type=="change"&&Er.write(this.update)}};function Pxe(e,t){const r=new Set;return eT.dependencies=r,e.style&&(e={...e,style:t.createAnimatedStyle(e.style)}
49),e=new EP(e),eT.dependencies=null,[e,r]}function Axe(e,t){return e&&(ot.fun(e)?e(t):e.current=t),t}var U7=Symbol.for("AnimatedComponent"),mte=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:r=i=>new EP(i),getComponentProps:n=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:r,getComponentProps:n},a=o=>{const s=z7(o)||"Anonymous";return ot.str(o)?o=a[o]||(a[o]=B7(o,i)):o=o[U7]||(o[U7]=B7(o,i)),o.displayName=`Animated(${s})`,o};return sd(e,(o,s)=>{ot.arr(e)&&(s=z7(o)),a[s]=a(o)}),{animated:a}},z7=e=>ot.str(e)?e:e&&ot.str(e.displayName)?e.displayName:ot.fun(e)&&e.name||null;const Oxe=mte({g:"G"}),Ixe=k.createContext({themes:{Default:vP,Light:Ov,Uplift:q5},components:{...Qee},animated:Oxe.animated,defaultTheme:Dee});function ss(e,...t){return ot.fun(e)?e(...t):e}var kb=(e,t)=>e===!0||!!(t&&e&&(ot.fun(e)?e(t):Bo(e).includes(t))),gte=(e,t)=>ot.obj(e)?t&&e[t]:e,vte=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,Rxe=e=>e,kP=(e,t=Rxe)=>{let r=Fxe;e.default&&e.default!==!0&&(e=e.default,r=Object.keys(e));const n={};for(const i of r){const a=t(e[i],i);ot.und(a)||(n[i]=a)}return n},Fxe=["config","onProps","onStart","onChange","onPause","onResume","onRest"],Dxe={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Nxe(e){const t={};let r=0;if(sd(e,(n,i)=>{Dxe[i]||(t[i]=n,r++)}),r)return t}function t6(e){const t=Nxe(e);if(t){const r={to:t};return sd(e,(n,i)=>i in t||(r[i]=n)),r}return{...e}}function VS(e){return e=os(e),ot.arr(e)?e.map(VS):xP(e)?eu.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function yte(e){for(const t in e)return!0;return!1}function WF(e){return ot.fun(e)||ot.arr(e)&&ot.obj(e[0])}function VF(e,t){var r;(r=e.ref)==null||r.delete(e),t==null||t.delete(e)}function bte(e,t){var r;t&&e.ref!==t&&((r=e.ref)==null||r.delete(e),t.add(e),e.ref=t)}var Mxe={default:{tension:170,friction:26},stiff:{tension:210,friction:20}},jF={...Mxe.default,mass:1,damping:1,easing:uxe.linear,clamp:!1},Lxe=class{constructor(){this.velocity=0,Object.assign(this,jF)}};function Bxe(e,t,r){r&&(r={...r},H7(r,t),t={...r,...t}),H7(e,t),Object.assign(e,t);for(const o in jF)e[o]==null&&(e[o]=jF[o]);let{frequency:n,damping:i}=e;const{mass:a}=e;return ot.und(n)||(n<.01&&(n=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/n,2)*a,e.friction=4*Math.PI*i*a/n),e}function H7(e,t){if(!ot.und(t.decay))e.duration=void 0;else{const r=!ot.und(t.tension)||!ot.und(t.friction);(r||!ot.und(t.frequency)||!ot.und(t.damping)||!ot.und(t.mass))&&(e.duration=void 0,e.decay=void 0),r&&(e.frequency=void 0)}}var q7=[],Uxe=class{constructor(){this.changed=!1,this.values=q7,this.toValues=null,this.fromValues=q7,this.config=new Lxe,this.immediate=!1}};function Ste(e,{key:t,props:r,defaultProps:n,state:i,actions:a}){return new Promise((o,s)=>{let l,c,u=kb(r.cancel??(n==null?void 0:n.cancel),t);if(u)h();else{ot.und(r.pause)||(i.paused=kb(r.pause,t));let p=n==null?void 0:n.pause;p!==!0&&(p=i.paused||kb(p,t)),l=ss(r.delay||0,t),p?(i.resumeQueue.add(f),a.pause()):(a.resume(),f())}function d(){i.resumeQueue.add(f),i.timeouts.delete(c),c.cancel(),l=c.time-Er.now()}function f(){l>0&&!eu.skipAnimation?(i.delayed=!0,c=Er.setTimeout(h,l),i.pauseQueue.add(d),i.timeouts.add(c)):h()}function h(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(c),e<=(i.cancelId||0)&&(u=!0);try{a.start({...r,callId:e,cancel:u},o)}catch(p){s(p)}}})}var r6=(e,t)=>t.length==1?t[0]:t.some(r=>r.cancelled)?Xg(e.get()):t.every(r=>r.noop)?wte(e.get()):Fc(e.get(),t.every(r=>r.finished)),wte=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Fc=(e,t,r=!1)=>({value:e,finished:t,cancelled:r}),Xg=e=>({value:e,cancelled:!0,finished:!1});function xte(e,t,r,n){const{callId:i,parentId:a,onRest:o}=t,{asyncTo:s,promise:l}=r;return!a&&e===s&&!t.reset?l:r.promise=(async()=>{r.asyncId=i,r.asyncTo=e;const c=kP(t,(v,m)=>m==="onRest"?void 0:v);let u,d;const f=new Promise((v,m)=>(u=v,d=m)),h=v=>{const m=i<=(r.cancelId||0)&&Xg(n)||i!==r.asyncId&&Fc(n,!1);if(m)throw v.result=m,d(v),v},p=(v,m)=>{const b=new W7,y=new V7;return(async()=>
49{if(eu.skipAnimation)throw jS(r),y.result=Fc(n,!1),d(y),y;h(b);const w=ot.obj(v)?{...v}:{...m,to:v};w.parentId=i,sd(c,(C,T)=>{ot.und(w[T])&&(w[T]=C)});const x=await n.start(w);return h(b),r.paused&&await new Promise(C=>{r.resumeQueue.add(C)}),x})()};let g;if(eu.skipAnimation)return jS(r),Fc(n,!1);try{let v;ot.arr(e)?v=(async m=>{for(const b of m)await p(b)})(e):v=Promise.resolve(e(p,n.stop.bind(n))),await Promise.all([v.then(u),f]),g=Fc(n.get(),!0,!1)}catch(v){if(v instanceof W7)g=v.result;else if(v instanceof V7)g=v.result;else throw v}finally{i==r.asyncId&&(r.asyncId=a,r.asyncTo=a?s:void 0,r.promise=a?l:void 0)}return ot.fun(o)&&Er.batchedUpdates(()=>{o(g,n,n.item)}),g})()}function jS(e,t){Cb(e.timeouts,r=>r.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var W7=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},V7=class extends Error{constructor(){super("SkipAnimationSignal")}},GF=e=>e instanceof n6,zxe=1,n6=class extends lte{constructor(){super(...arguments),this.id=zxe++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Nu(this);return e&&e.getValue()}to(...e){return eu.to(this,e)}interpolate(...e){return yxe(),eu.to(this,e)}toJSON(){return this.get()}observerAdded(e){e==1&&this._attach()}observerRemoved(e){e==0&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){zS(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||bP.sort(this),zS(this,{type:"priority",parent:this,priority:e})}},Fm=Symbol.for("SpringPhase"),Cte=1,KF=2,ZF=4,wI=e=>(e[Fm]&Cte)>0,Ff=e=>(e[Fm]&KF)>0,f1=e=>(e[Fm]&ZF)>0,j7=(e,t)=>t?e[Fm]|=KF|Cte:e[Fm]&=~KF,G7=(e,t)=>t?e[Fm]|=ZF:e[Fm]&=~ZF,Hxe=class extends n6{constructor(e,t){if(super(),this.animation=new Uxe,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!ot.und(e)||!ot.und(t)){const r=ot.obj(e)?{...e}:{...t,from:e};ot.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(Ff(this)||this._state.asyncTo)||f1(this)}get goal(){return os(this.animation.to)}get velocity(){const e=Nu(this);return e instanceof ux?e.lastVelocity||0:e.getPayload().map(t=>t.lastVelocity||0)}get hasAnimated(){return wI(this)}get isAnimating(){return Ff(this)}get isPaused(){return f1(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,r=!1;const n=this.animation;let{toValues:i}=n;const{config:a}=n,o=CP(n.to);!o&&Ml(n.to)&&(i=Bo(os(n.to))),n.values.forEach((c,u)=>{if(c.done)return;const d=c.constructor==WS?1:o?o[u].lastPosition:i[u];let f=n.immediate,h=d;if(!f){if(h=c.lastPosition,a.tension<=0){c.done=!0;return}let p=c.elapsedTime+=e;const g=n.fromValues[u],v=c.v0!=null?c.v0:c.v0=ot.arr(a.velocity)?a.velocity[u]:a.velocity;let m;const b=a.precision||(g==d?.005:Math.min(1,Math.abs(d-g)*.001));if(ot.und(a.duration))if(a.decay){const y=a.decay===!0?.998:a.decay,w=Math.exp(-(1-y)*p);h=g+v/(1-y)*(1-w),f=Math.abs(c.lastPosition-h)<=b,m=v*w}else{m=c.lastVelocity==null?v:c.lastVelocity;const y=a.restVelocity||b/10,w=a.clamp?0:a.bounce,x=!ot.und(w),C=g==d?c.v0>0:g<d;let T,_=!1;const P=1,F=Math.ceil(e/P);for(let I=0;I<F&&(T=Math.abs(m)>y,!(!T&&(f=Math.abs(d-h)<=b,f)));++I){x&&(_=h==d||h>d==C,_&&(m=-m*w,h=d));const R=-a.tension*1e-6*(h-d),D=-a.friction*.001*m,A=(R+D)/a.mass;m=m+A*P,h=h+m*P}}else{let y=1;a.duration>0&&(this._memoizedDuration!==a.duration&&(this._memoizedDuration=a.duration,c.durationProgress>0&&(c.elapsedTime=a.duration*c.durationProgress,p=c.elapsedTime+=e)),y=(a.progress||0)+p/this._memoizedDuration,y=y>1?1:y<0?0:y,c.durationProgress=y),h=g+a.easing(y)*(d-g),m=(h-c.lastPosition)/e,f=y==1}c.lastVelocity=m,Number.isNaN(h)&&(console.warn("Got NaN while animating:",this),f=!0)}
49o&&!o[u].done&&(f=!1),f?c.done=!0:t=!1,c.setValue(h,a.round)&&(r=!0)});const s=Nu(this),l=s.getValue();if(t){const c=os(n.to);(l!==c||r)&&!a.decay?(s.setValue(c),this._onChange(c)):r&&a.decay&&this._onChange(l),this._stop()}else r&&this._onChange(l)}set(e){return Er.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Ff(this)){const{to:e,config:t}=this.animation;Er.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let r;return ot.und(e)?(r=this.queue||[],this.queue=[]):r=[ot.obj(e)?e:{...t,to:e}],Promise.all(r.map(n=>this._update(n))).then(n=>r6(this,n))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),jS(this._state,e&&this._lastCallId),Er.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){e.type=="change"?this._start():e.type=="priority"&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:r,from:n}=e;r=ot.obj(r)?r[t]:r,(r==null||WF(r))&&(r=void 0),n=ot.obj(n)?n[t]:n,n==null&&(n=void 0);const i={to:r,from:n};return wI(this)||(e.reverse&&([r,n]=[n,r]),n=os(n),ot.und(n)?Nu(this)||this._set(r):this._set(n)),i}_update({...e},t){const{key:r,defaultProps:n}=this;e.default&&Object.assign(n,kP(e,(o,s)=>/^on/.test(s)?gte(o,r):o)),Z7(this,e,"onProps"),p1(this,"onProps",e,this);const i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const a=this._state;return Ste(++this._lastCallId,{key:r,props:e,defaultProps:n,state:a,actions:{pause:()=>{f1(this)||(G7(this,!0),K1(a.pauseQueue),p1(this,"onPause",Fc(this,h1(this,this.animation.to)),this))},resume:()=>{f1(this)&&(G7(this,!1),Ff(this)&&this._resume(),K1(a.resumeQueue),p1(this,"onResume",Fc(this,h1(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(o=>{if(e.loop&&o.finished&&!(t&&o.noop)){const s=Ete(e);if(s)return this._update(s,!0)}return o})}_merge(e,t,r){if(t.cancel)return this.stop(!0),r(Xg(this));const n=!ot.und(e.to),i=!ot.und(e.from);if(n||i)if(t.callId>this._lastToId)this._lastToId=t.callId;else return r(Xg(this));const{key:a,defaultProps:o,animation:s}=this,{to:l,from:c}=s;let{to:u=l,from:d=c}=e;i&&!n&&(!t.default||ot.und(u))&&(u=d),t.reverse&&([u,d]=[d,u]);const f=!Rd(d,c);f&&(s.from=d),d=os(d);const h=!Rd(u,l);h&&this._focus(u);const p=WF(t.to),{config:g}=s,{decay:v,velocity:m}=g;(n||i)&&(g.velocity=0),t.config&&!p&&Bxe(g,ss(t.config,a),t.config!==o.config?ss(o.config,a):void 0);let b=Nu(this);if(!b||ot.und(u))return r(Fc(this,!0));const y=ot.und(t.reset)?i&&!t.default:!ot.und(d)&&kb(t.reset,a),w=y?d:this.get(),x=VS(u),C=ot.num(x)||ot.arr(x)||xP(x),T=!p&&(!C||kb(o.immediate||t.immediate,a));if(h){const I=qF(u);if(I!==b.constructor)if(T)b=this._set(x);else throw Error(`Cannot animate between ${b.constructor.name} and ${I.name}, as the "to" prop suggests`)}const _=b.constructor;let P=Ml(u),F=!1;if(!P){const I=y||!wI(this)&&f;(h||I)&&(F=Rd(VS(w),x),P=!F),(!Rd(s.immediate,T)&&!T||!Rd(g.decay,v)||!Rd(g.velocity,m))&&(P=!0)}if(F&&Ff(this)&&(s.changed&&!y?P=!0:P||this._stop(l)),!p&&((P||Ml(l))&&(s.values=b.getPayload(),s.toValues=Ml(u)?null:_==WS?[1]:Bo(x)),s.immediate!=T&&(s.immediate=T,!T&&!y&&this._set(l)),P)){const{onRest:I}=s;mr(Wxe,D=>Z7(this,t,D));const R=Fc(this,h1(this,l));K1(this._pendingCalls,R),this._pendingCalls.add(r),s.changed&&Er.batchedUpdates(()=>{var D;s.changed=!y,I==null||I(R,this),y?ss(o.onRest,R):(D=s.onStart)==null||D.call(s,R,this)})}y&&this._set(w),p?r(xte(t.to,t,this._state,this)):P?this._start():Ff(this)&&!h?this._pendingCalls.add(r):r(wte(w))}_focus(e){const t=this.animation;e!==t.to&&(M7(this)&&this._detach(),t.to=e,M7(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;Ml(t)&&(sy(t,this),GF(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;Ml(e)&&HS(e,this)}_set(e,t=!0){const r=os(e);if(!ot.und(r)){const n=Nu(this);
49if(!n||!Rd(r,n.getValue())){const i=qF(r);!n||n.constructor!=i?e6(this,i.create(r)):n.setValue(r),n&&Er.batchedUpdates(()=>{this._onChange(r,t)})}}return Nu(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,p1(this,"onStart",Fc(this,h1(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),ss(this.animation.onChange,e,this)),ss(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Nu(this).reset(os(e.to)),e.immediate||(e.fromValues=e.values.map(t=>t.lastPosition)),Ff(this)||(j7(this,!0),f1(this)||this._resume())}_resume(){eu.skipAnimation?this.finish():bP.start(this)}_stop(e,t){if(Ff(this)){j7(this,!1);const r=this.animation;mr(r.values,i=>{i.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),zS(this,{type:"idle",parent:this});const n=t?Xg(this.get()):Fc(this.get(),h1(this,e??r.to));K1(this._pendingCalls,n),r.changed&&(r.changed=!1,p1(this,"onRest",n,this))}}};function h1(e,t){const r=VS(t),n=VS(e.get());return Rd(n,r)}function Ete(e,t=e.loop,r=e.to){const n=ss(t);if(n){const i=n!==!0&&t6(n),a=(i||e).reverse,o=!i||i.reset;return GS({...e,loop:t,default:!1,pause:void 0,to:!a||WF(r)?r:void 0,from:o?e.from:void 0,reset:o,...i})}}function GS(e){const{to:t,from:r}=e=t6(e),n=new Set;return ot.obj(t)&&K7(t,n),ot.obj(r)&&K7(r,n),e.keys=n.size?Array.from(n):null,e}function qxe(e){const t=GS(e);return ot.und(t.default)&&(t.default=kP(t)),t}function K7(e,t){sd(e,(r,n)=>r!=null&&t.add(n))}var Wxe=["onStart","onRest","onChange","onPause","onResume"];function Z7(e,t,r){e.animation[r]=t[r]!==vte(t,r)?gte(t[r],e.key):void 0}function p1(e,t,...r){var n,i,a,o;(i=(n=e.animation)[t])==null||i.call(n,...r),(o=(a=e.defaultProps)[t])==null||o.call(a,...r)}var Vxe=["onStart","onChange","onRest"],jxe=1,kte=class{constructor(t,r){this.id=jxe++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),r&&(this._flush=r),t&&this.start({default:!0,...t})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each((r,n)=>t[n]=r.get()),t}set(t){for(const r in t){const n=t[r];ot.und(n)||this.springs[r].set(n)}}update(t){return t&&this.queue.push(GS(t)),this}start(t){let{queue:r}=this;return t?r=Bo(t).map(GS):this.queue=[],this._flush?this._flush(this,r):(Ote(this,r),YF(this,r))}stop(t,r){if(t!==!!t&&(r=t),r){const n=this.springs;mr(Bo(r),i=>n[i].stop(!!t))}else jS(this._state,this._lastAsyncId),this.each(n=>n.stop(!!t));return this}pause(t){if(ot.und(t))this.start({pause:!0});else{const r=this.springs;mr(Bo(t),n=>r[n].pause())}return this}resume(t){if(ot.und(t))this.start({pause:!1});else{const r=this.springs;mr(Bo(t),n=>r[n].resume())}return this}each(t){sd(this.springs,t)}_onFrame(){const{onStart:t,onChange:r,onRest:n}=this._events,i=this._active.size>0,a=this._changed.size>0;(i&&!this._started||a&&!this._started)&&(this._started=!0,Cb(t,([l,c])=>{c.value=this.get(),l(c,this,this._item)}));const o=!i&&this._started,s=a||o&&n.size?this.get():null;a&&r.size&&Cb(r,([l,c])=>{c.value=s,l(c,this,this._item)}),o&&(this._started=!1,Cb(n,([l,c])=>{c.value=s,l(c,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;Er.onFrame(this._onFrame)}};function YF(e,t){return Promise.all(t.map(r=>Tte(e,r))).then(r=>r6(e,r))}async function Tte(e,t,r){const{keys:n,to:i,from:a,loop:o,onRest:s,onResolve:l}=t,c=ot.obj(t.default)&&t.default;o&&(t.loop=!1),i===!1&&(t.to=null),a===!1&&(t.from=null);const u=ot.arr(i)||ot.fun(i)?i:void 0;u?(t.to=void 0,t.onRest=void 0,c&&(c.onRest=void 0)):mr(Vxe,g=>{const v=t[g];if(ot.fun(v)){const m=e._events[g];t[g]=({finished:b,cancelled:y})=>{const w=m.get(v);w?(b||(w.finished=!1),y&&(w.cancelled=!0)):m.set(v,{value:null,finished:b||!1,cancelled:y||!1})},c&&(c[g]=t[g])}});const d=e._state;t.pause===!d.paused?(d.paused=t.pause,K1(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);const f=(n||Object.keys(e.springs)).map(g=>e.springs[g].start(t)),h=t.cancel===!0||vte(t,"cancel")===!0;(u||h&&d.asyncId)&&f.push(Ste(++e._lastAsyncId,{props:t,state:d,actions:{pause:UF,resume:UF,start(g,v){h?(jS(d,e._lastAsyncId),v(Xg(e))):(g.onRest=s,v(xte(u,g,d,e)))}}})),d.paused&&await new Promise(g=>{d.resumeQueue.add(g)});const p=r6(e,await Promise.all(f));if(o&&p.finished&&!(r&&p.noop)){const g=Ete(t,o,i);
49if(g)return Ote(e,[g]),Tte(e,g,!0)}return l&&Er.batchedUpdates(()=>l(p,e,e.item)),p}function $F(e,t){const r={...e.springs};return t&&mr(Bo(t),n=>{ot.und(n.keys)&&(n=GS(n)),ot.obj(n.to)||(n={...n,to:void 0}),Ate(r,n,i=>Pte(i))}),_te(e,r),r}function _te(e,t){sd(t,(r,n)=>{e.springs[n]||(e.springs[n]=r,sy(r,e))})}function Pte(e,t){const r=new Hxe;return r.key=e,t&&sy(r,t),r}function Ate(e,t,r){t.keys&&mr(t.keys,n=>{(e[n]||(e[n]=r(n)))._prepareNode(t)})}function Ote(e,t){mr(t,r=>{Ate(e.springs,r,n=>Pte(n,e))})}var dx=({children:e,...t})=>{const r=k.useContext(tT),n=t.pause||!!r.pause,i=t.immediate||!!r.immediate;t=xxe(()=>({pause:n,immediate:i}),[n,i]);const{Provider:a}=tT;return k.createElement(a,{value:t},e)},tT=Gxe(dx,{});dx.Provider=tT.Provider;dx.Consumer=tT.Consumer;function Gxe(e,t){return Object.assign(e,k.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}var Ite=()=>{const e=[],t=function(n){Sxe();const i=[];return mr(e,(a,o)=>{if(ot.und(n))i.push(a.start());else{const s=r(n,a,o);s&&i.push(a.start(s))}}),i};t.current=e,t.add=function(n){e.includes(n)||e.push(n)},t.delete=function(n){const i=e.indexOf(n);~i&&e.splice(i,1)},t.pause=function(){return mr(e,n=>n.pause(...arguments)),this},t.resume=function(){return mr(e,n=>n.resume(...arguments)),this},t.set=function(n){mr(e,(i,a)=>{const o=ot.fun(n)?n(a,i):n;o&&i.set(o)})},t.start=function(n){const i=[];return mr(e,(a,o)=>{if(ot.und(n))i.push(a.start());else{const s=this._getProps(n,a,o);s&&i.push(a.start(s))}}),i},t.stop=function(){return mr(e,n=>n.stop(...arguments)),this},t.update=function(n){return mr(e,(i,a)=>i.update(this._getProps(n,i,a))),this};const r=function(n,i,a){return ot.fun(n)?n(a,i):n};return t._getProps=r,t};function Kxe(e,t,r){const n=ot.fun(t)&&t;n&&!r&&(r=[]);const i=k.useMemo(()=>n||arguments.length==3?Ite():void 0,[]),a=k.useRef(0),o=Q5(),s=k.useMemo(()=>({ctrls:[],queue:[],flush(m,b){const y=$F(m,b);return a.current>0&&!s.queue.length&&!Object.keys(y).some(x=>!m.springs[x])?YF(m,b):new Promise(x=>{_te(m,y),s.queue.push(()=>{x(YF(m,b))}),o()})}}),[]),l=k.useRef([...s.ctrls]),c=[],u=HF(e)||0;k.useMemo(()=>{mr(l.current.slice(e,u),m=>{VF(m,i),m.stop(!0)}),l.current.length=e,d(u,e)},[e]),k.useMemo(()=>{d(0,Math.min(u,e))},r);function d(m,b){for(let y=m;y<b;y++){const w=l.current[y]||(l.current[y]=new kte(null,s.flush)),x=n?n(y,w):t[y];x&&(c[y]=qxe(x))}}const f=l.current.map((m,b)=>$F(m,c[b])),h=k.useContext(dx),p=HF(h),g=h!==p&&yte(h);Xp(()=>{a.current++,s.ctrls=l.current;const{queue:m}=s;m.length&&(s.queue=[],mr(m,b=>b())),mr(l.current,(b,y)=>{i==null||i.add(b),g&&b.start({default:h});const w=c[y];w&&(bte(b,w.ref),b.ref?b.queue.push(w):b.start(w))})}),J5(()=>()=>{mr(s.ctrls,m=>m.stop(!0))});const v=f.map(m=>({...m}));return i?[v,i]:v}function Ext(e,t){const r=ot.fun(e),[[n],i]=Kxe(1,r?e:[e],r?[]:t);return r||arguments.length==2?[n,i]:n}function kxt(e,t,r){const n=ot.fun(t)&&t,{reset:i,sort:a,trail:o=0,expires:s=!0,exitBeforeEnter:l=!1,onDestroyed:c,ref:u,config:d}=n?n():t,f=k.useMemo(()=>n||arguments.length==3?Ite():void 0,[]),h=Bo(e),p=[],g=k.useRef(null),v=i?null:g.current;Xp(()=>{g.current=p}),J5(()=>(mr(p,A=>{f==null||f.add(A.ctrl),A.ctrl.ref=f}),()=>{mr(g.current,A=>{A.expired&&clearTimeout(A.expirationId),VF(A.ctrl,f),A.ctrl.stop(!0)})}));const m=Yxe(h,n?n():t,v),b=i&&g.current||[];Xp(()=>mr(b,({ctrl:A,item:M,key:X})=>{VF(A,f),ss(c,M,X)}));const y=[];if(v&&mr(v,(A,M)=>{A.expired?(clearTimeout(A.expirationId),b.push(A)):(M=y[M]=m.indexOf(A.key),~M&&(p[M]=A))}),mr(h,(A,M)=>{p[M]||(p[M]={key:m[M],item:A,phase:"mount",ctrl:new kte},p[M].ctrl.item=A)}),y.length){let A=-1;const{leave:M}=n?n():t;mr(y,(X,Y)=>{const se=v[Y];~X?(A=p.indexOf(se),p[A]={...se,item:h[X]}):M&&p.splice(++A,0,se)})}ot.fun(a)&&p.sort((A,M)=>a(A.item,M.item));let w=-o;const x=Q5(),C=kP(t),T=new Map,_=k.useRef(new Map),P=k.useRef(!1);mr(p,(A,M)=>{const X=A.key,Y=A.phase,se=n?n():t;let ne,ie;const ae=ss(se.delay||0,X);if(Y=="mount")ne=se.enter,ie="enter";else{const De=m.indexOf(X)<0;if(Y!="leave")if(De)ne=se.leave,ie="leave";else if(ne=se.update)ie="update";else return;else if(!De)ne=se.enter,ie="enter";else return}if(ne=ss(ne,A.item,M),ne=ot.obj(ne)?t6(ne):{to:ne},!ne.config){const De=d||C.config;ne.config=ss(De,A.item,M,ie)}w+=o;const ce={...C,delay:ae+w,ref:u,immediate:se.immediate,reset:!1,...ne};if(ie=="enter"&&ot.und(ce.from)){const De=n?n():t,Ne=ot.und(De.initial)||v?De.from:De.initial;ce.from=ss(Ne,A.item,M)}const{onResolve:ke}=ce;ce.onResolve=De=>{ss(ke,De);const Ne=g.current,We=Ne.find(z=>z.key===X);if(We&&!(De.cancelled&&We.phase!="update")&&We.ctrl.idle){const z=Ne.every(J=>J.ctrl.idle);if(We.phase=="leave"){const J=ss(s,We.item);if(J!==!1){const j=J===!0?0:J;if(We.expired=!0,!z&&j>0){j<=2147483647&&(We.expirationId=setTimeout(x,j));return}}}z&&Ne.some(J=>J.expired)&&(_.current.delete(We),l&&(P.current=!0),x())}};const ge=$F(A.ctrl,ce);ie==="leave"&&l?_.current.set(A,{phase:ie,springs:ge,payload:ce}):T.set(A,{phase:ie,springs:ge,payload:ce})});const F=k.useContext(dx),I=HF(F),R=F!==I&&yte(F);Xp(()=>{R&&mr(p,A=>{A.ctrl.start({default:F})})},[F]),mr(T,(A,M)=>{if(_.current.size){const X=p.findIndex(Y=>Y.key===M.key);p.splice(X,1)}}),Xp(()=>{mr(_.current.size?_.current:T,({phase:A,payload:M},X)=>{const{ctrl:Y}=X;
49X.phase=A,f==null||f.add(Y),R&&A=="enter"&&Y.start({default:F}),M&&(bte(Y,M.ref),(Y.ref||f)&&!P.current?Y.update(M):(Y.start(M),P.current&&(P.current=!1)))})},i?void 0:r);const D=A=>k.createElement(k.Fragment,null,p.map((M,X)=>{const{springs:Y}=T.get(M)||M.ctrl,se=A({...Y},M.item,M,X);return se&&se.type?k.createElement(se.type,{...se.props,key:ot.str(M.key)||ot.num(M.key)?M.key:M.ctrl.id,ref:se.ref}):se}));return f?[D,f]:D}var Zxe=1;function Yxe(e,{key:t,keys:r=t},n){if(r===null){const i=new Set;return e.map(a=>{const o=n&&n.find(s=>s.item===a&&s.phase!=="leave"&&!i.has(s));return o?(i.add(o),o.key):Zxe++})}return ot.und(r)?e:ot.fun(r)?e.map(r):Bo(r)}var Rte=class extends n6{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=BS(...t);const r=this._get(),n=qF(r);e6(this,n.create(r))}advance(e){const t=this._get(),r=this.get();Rd(t,r)||(Nu(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Y7(this._active)&&xI(this)}_get(){const e=ot.arr(this.source)?this.source.map(os):Bo(os(this.source));return this.calc(...e)}_start(){this.idle&&!Y7(this._active)&&(this.idle=!1,mr(CP(this),e=>{e.done=!1}),eu.skipAnimation?(Er.batchedUpdates(()=>this.advance()),xI(this)):bP.start(this))}_attach(){let e=1;mr(Bo(this.source),t=>{Ml(t)&&sy(t,this),GF(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){mr(Bo(this.source),e=>{Ml(e)&&HS(e,this)}),this._active.clear(),xI(this)}eventObserved(e){e.type=="change"?e.idle?this.advance():(this._active.add(e.parent),this._start()):e.type=="idle"?this._active.delete(e.parent):e.type=="priority"&&(this.priority=Bo(this.source).reduce((t,r)=>Math.max(t,(GF(r)?r.priority:0)+1),0))}};function $xe(e){return e.idle!==!1}function Y7(e){return!e.size||Array.from(e).every($xe)}function xI(e){e.idle||(e.idle=!0,mr(CP(e),t=>{t.done=!0}),zS(e,{type:"idle",parent:e}))}var Txt=(e,...t)=>new Rte(e,t);eu.assign({createStringInterpolator:dte,to:(e,t)=>new Rte(e,t)});function Xxe({children:e,defaultTheme:t=Dee,themes:r,components:n,animated:i,onError:a}){const o=k.useMemo(()=>({components:{...Qee,...n},themes:Wwe({Default:vP,Light:Ov,Print:Xee,Uplift:q5,...r}),animated:i,defaultTheme:t,onError:a}),[r,n,i,t,a]);return Cm.jsx(Ixe.Provider,{value:o,children:e})}var Fte=/^--/;function Qxe(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!Fte.test(e)&&!(Tb.hasOwnProperty(e)&&Tb[e])?t+"px":(""+t).trim()}var $7={};function Jxe(e,t){if(!e.nodeType||!e.setAttribute)return!1;const r=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",{style:n,children:i,scrollTop:a,scrollLeft:o,viewBox:s,...l}=t,c=Object.values(l),u=Object.keys(l).map(d=>r||e.hasAttribute(d)?d:$7[d]||($7[d]=d.replace(/([A-Z])/g,f=>"-"+f.toLowerCase())));i!==void 0&&(e.textContent=i);for(const d in n)if(n.hasOwnProperty(d)){const f=Qxe(d,n[d]);Fte.test(d)?e.style.setProperty(d,f):e.style[d]=f}u.forEach((d,f)=>{e.setAttribute(d,c[f])}),a!==void 0&&(e.scrollTop=a),o!==void 0&&(e.scrollLeft=o),s!==void 0&&e.setAttribute("viewBox",s)}var Tb={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},e2e=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),t2e=["Webkit","Ms","Moz","O"];Tb=Object.keys(Tb).reduce((e,t)=>(t2e.forEach(r=>e[e2e(r,t)]=e[t]),e),Tb);var r2e=/^(matrix|translate|scale|rotate|skew)/,n2e=/^(translate)/,i2e=/^(rotate|skew)/,CI=(e,t)=>ot.num(e)&&e!==0?e+t:e,_E=(e,t)=>ot.arr(e)?e.every(r=>_E(r,t)):ot.num(e)?e===t:parseFloat(e)===t,a2e=class extends EP{constructor({x:e,y:t,z:r,...n}){const i=[],a=[];(e||t||r)&&(i.push([e||0,t||0,r||0]),a.push(o=>[`translate3d(${o.map(s=>CI(s,"px")).join(",")})`,_E(o,0)])),sd(n,(o,s)=>{if(s==="transform")i.push([o||""]),a.push(l=>[l,l===""]);
49else if(r2e.test(s)){if(delete n[s],ot.und(o))return;const l=n2e.test(s)?"px":i2e.test(s)?"deg":"";i.push(Bo(o)),a.push(s==="rotate3d"?([c,u,d,f])=>[`rotate3d(${c},${u},${d},${CI(f,l)})`,_E(f,0)]:c=>[`${s}(${c.map(u=>CI(u,l)).join(",")})`,_E(c,s.startsWith("scale")?1:0)])}}),i.length&&(n.transform=new o2e(i,a)),super(n)}},o2e=class extends lte{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return mr(this.inputs,(r,n)=>{const i=os(r[0]),[a,o]=this.transforms[n](ot.arr(i)?i:r.map(os));e+=" "+a,t=t&&o}),t?"none":e}observerAdded(e){e==1&&mr(this.inputs,t=>mr(t,r=>Ml(r)&&sy(r,this)))}observerRemoved(e){e==0&&mr(this.inputs,t=>mr(t,r=>Ml(r)&&HS(r,this)))}eventObserved(e){e.type=="change"&&(this._value=null),zS(this,e)}},s2e=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];eu.assign({batchedUpdates:Qw.unstable_batchedUpdates,createStringInterpolator:dte,colors:Xwe});var l2e=mte(s2e,{applyAnimatedValues:Jxe,createAnimatedStyle:e=>new a2e(e),getComponentProps:({scrollTop:e,scrollLeft:t,...r})=>r}),c2e=l2e.animated;const u2e=({themes:e,children:t,defaultTheme:r,onError:n})=>Cm.jsx(Xxe,{themes:e,animated:c2e,defaultTheme:r,onError:n,children:t});class ly{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.push(t),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(r=>r!==t),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const KS=typeof window>"u";function Ol(){}function d2e(e,t){return typeof e=="function"?e(t):e}function XF(e){return typeof e=="number"&&e>=0&&e!==1/0}function Dte(e,t){return Math.max(e+(t||0)-Date.now(),0)}function PE(e,t,r){return fx(e)?typeof t=="function"?{...r,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function f2e(e,t,r){return fx(e)?typeof t=="function"?{...r,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:typeof e=="function"?{...t,mutationFn:e}:{...e}}function eh(e,t,r){return fx(e)?[{...t,queryKey:e},r]:[e||{},t]}function X7(e,t){const{type:r="all",exact:n,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(fx(o)){if(n){if(t.queryHash!==i6(o,t.options))return!1}else if(!rT(t.queryKey,o))return!1}if(r!=="all"){const l=t.isActive();if(r==="active"&&!l||r==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof i<"u"&&i!==t.state.fetchStatus||a&&!a(t))}function Q7(e,t){const{exact:r,fetching:n,predicate:i,mutationKey:a}=e;if(fx(a)){if(!t.options.mutationKey)return!1;if(r){if(Qp(t.options.mutationKey)!==Qp(a))return!1}else if(!rT(t.options.mutationKey,a))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||i&&!i(t))}function i6(e,t){return((t==null?void 0:t.queryKeyHashFn)||Qp)(e)}function Qp(e){return JSON.stringify(e,(t,r)=>JF(r)?Object.keys(r).sort().reduce((n,i)=>(n[i]=r[i],n),{}):r)}function rT(e,t){return Nte(e,t)}function Nte(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!Nte(e[r],t[r])):!1}function Mte(e,t){if(e===t)return e;const r=J7(e)&&J7(t);if(r||JF(e)&&JF(t)){const n=r?e.length:Object.keys(e).length,i=r?t:Object.keys(t),a=i.length,o=r?[]:{};let s=0;for(let l=0;l<a;l++){const c=r?l:i[l];o[c]=Mte(e[c],t[c]),o[c]===e[c]&&s++}return n===a&&s===n?e:o}return t}function QF(e,t){if(e&&!t||t&&!e)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function J7(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function JF(e){if(!eU(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const r=t.prototype;return!(!eU(r)||!r.hasOwnProperty("isPrototypeOf"))}function eU(e){return Object.prototype.toString.call(e)==="[object Object]"}function fx(e){return Array.isArray(e)}function Lte(e){return new Promise(t=>{setTimeout(t,e)})}function tU(e){Lte(0).then(e)}function h2e(){if(typeof AbortController=="function")return new AbortController}function e4(e,t,r){return r.isDataEqual!=null&&r.isDataEqual(e,t)?e:typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?Mte(e,t):t}class p2e extends ly{constructor(){super(),this.setup=t=>{if(!KS&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),window.addEventListener("focus",r,!1),()=>{window.removeEventListener("visibilitychange",r),window.removeEventListener("focus",r)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var r;this.setup=t,(r=this.cleanup)==null||r.call(this),this.cleanup=t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}
49onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const nT=new p2e;class m2e extends ly{constructor(){super(),this.setup=t=>{if(!KS&&window.addEventListener){const r=()=>t();return window.addEventListener("online",r,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",r)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var r;this.setup=t,(r=this.cleanup)==null||r.call(this),this.cleanup=t(n=>{typeof n=="boolean"?this.setOnline(n):this.onOnline()})}setOnline(t){this.online=t,t&&this.onOnline()}onOnline(){this.listeners.forEach(t=>{t()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const iT=new m2e;function g2e(e){return Math.min(1e3*2**e,3e4)}function TP(e){return(e??"online")==="online"?iT.isOnline():!0}class Bte{constructor(t){this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}}function AE(e){return e instanceof Bte}function Ute(e){let t=!1,r=0,n=!1,i,a,o;const s=new Promise((v,m)=>{a=v,o=m}),l=v=>{n||(h(new Bte(v)),e.abort==null||e.abort())},c=()=>{t=!0},u=()=>{t=!1},d=()=>!nT.isFocused()||e.networkMode!=="always"&&!iT.isOnline(),f=v=>{n||(n=!0,e.onSuccess==null||e.onSuccess(v),i==null||i(),a(v))},h=v=>{n||(n=!0,e.onError==null||e.onError(v),i==null||i(),o(v))},p=()=>new Promise(v=>{i=m=>{if(n||!d())return v(m)},e.onPause==null||e.onPause()}).then(()=>{i=void 0,n||e.onContinue==null||e.onContinue()}),g=()=>{if(n)return;let v;try{v=e.fn()}catch(m){v=Promise.reject(m)}Promise.resolve(v).then(f).catch(m=>{var b,y;if(n)return;const w=(b=e.retry)!=null?b:3,x=(y=e.retryDelay)!=null?y:g2e,C=typeof x=="function"?x(r,m):x,T=w===!0||typeof w=="number"&&r<w||typeof w=="function"&&w(r,m);if(t||!T){h(m);return}r++,e.onFail==null||e.onFail(r,m),Lte(C).then(()=>{if(d())return p()}).then(()=>{t?h(m):g()})})};return TP(e.networkMode)?g():p().then(g),{promise:s,cancel:l,continue:()=>{i==null||i()},cancelRetry:c,continueRetry:u}}const a6=console;function v2e(){let e=[],t=0,r=u=>{u()},n=u=>{u()};const i=u=>{let d;t++;try{d=u()}finally{t--,t||s()}return d},a=u=>{t?e.push(u):tU(()=>{r(u)})},o=u=>(...d)=>{a(()=>{u(...d)})},s=()=>{const u=e;e=[],u.length&&tU(()=>{n(()=>{u.forEach(d=>{r(d)})})})};return{batch:i,batchCalls:o,schedule:a,setNotifyFunction:u=>{r=u},setBatchNotifyFunction:u=>{n=u}}}const Si=v2e();class zte{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),XF(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,t??(KS?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class y2e extends zte{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||a6,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||b2e(this.options),this.state=this.initialState}get meta(){return this.options.meta}setOptions(t){this.options={...this.defaultOptions,...t},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(t,r){const n=e4(this.state.data,t,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(t,r){this.dispatch({type:"setState",state:t,setStateOptions:r})}cancel(t){var r;const n=this.promise;return(r=this.retryer)==null||r.cancel(t),n?n.then(Ol).catch(Ol):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!Dte(this.state.dataUpdatedAt,t)}onFocus(){var t;const r=this.observers.find(n=>n.shouldFetchOnWindowFocus());r&&r.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}onOnline(){var t;const r=this.observers.find(n=>n.shouldFetchOnReconnect());r&&r.refetch({cancelRefetch:!1}),(t=this.retryer)==null||t.continue()}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.indexOf(t)!==-1&&(this.observers=this.observers.filter(r=>
49r!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,r){var n,i;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&r!=null&&r.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var a;return(a=this.retryer)==null||a.continueRetry(),this.promise}}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}Array.isArray(this.options.queryKey);const o=h2e(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},l=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>{if(o)return this.abortSignalConsumed=!0,o.signal}})};l(s);const c=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn"),u={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:c};if(l(u),(n=this.options.behavior)==null||n.onFetch(u),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((i=u.fetchOptions)==null?void 0:i.meta)){var d;this.dispatch({type:"fetch",meta:(d=u.fetchOptions)==null?void 0:d.meta})}const f=h=>{if(AE(h)&&h.silent||this.dispatch({type:"error",error:h}),!AE(h)){var p,g;(p=(g=this.cache.config).onError)==null||p.call(g,h,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Ute({fn:u.fetchFn,abort:o==null?void 0:o.abort.bind(o),onSuccess:h=>{var p,g;if(typeof h>"u"){f(new Error("undefined"));return}this.setData(h),(p=(g=this.cache.config).onSuccess)==null||p.call(g,h,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:f,onFail:(h,p)=>{this.dispatch({type:"failed",failureCount:h,error:p})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){const r=n=>{var i,a;switch(t.type){case"failed":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(i=t.meta)!=null?i:null,fetchStatus:TP(this.options.networkMode)?"fetching":"paused",...!n.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...n,data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:(a=t.dataUpdatedAt)!=null?a:Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return AE(o)&&o.revert&&this.revertState?{...this.revertState}:{...n,error:o,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=r(this.state),Si.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}function b2e(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=typeof t<"u",n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}class S2e extends ly{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,r,n){var i;const a=r.queryKey,o=(i=r.queryHash)!=null?i:i6(a,r);let s=this.get(o);return s||(s=new y2e({cache:this,logger:t.getLogger(),queryKey:a,queryHash:o,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(a)}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const r=this.queriesMap[t.queryHash];r&&(t.destroy(),this.queries=this.queries.filter(n=>n!==t),r===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){Si.batch(()=>
49{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,r){const[n]=eh(t,r);return typeof n.exact>"u"&&(n.exact=!0),this.queries.find(i=>X7(n,i))}findAll(t,r){const[n]=eh(t,r);return Object.keys(n).length>0?this.queries.filter(i=>X7(n,i)):this.queries}notify(t){Si.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){Si.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){Si.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}class w2e extends zte{constructor(t){super(),this.options={...t.defaultOptions,...t.options},this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||a6,this.observers=[],this.state=t.state||Hte(),this.updateCacheTime(this.options.cacheTime),this.scheduleGc()}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.indexOf(t)===-1&&(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(r=>r!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()}async execute(){const t=()=>{var y;return this.retryer=Ute({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(w,x)=>{this.dispatch({type:"failed",failureCount:w,error:x})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(y=this.options.retry)!=null?y:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},r=this.state.status==="loading";try{var n,i,a,o,s,l;if(!r){var c,u,d,f;this.dispatch({type:"loading",variables:this.options.variables}),await((c=(u=this.mutationCache.config).onMutate)==null?void 0:c.call(u,this.state.variables,this));const w=await((d=(f=this.options).onMutate)==null?void 0:d.call(f,this.state.variables));w!==this.state.context&&this.dispatch({type:"loading",context:w,variables:this.state.variables})}const y=await t();return await((n=(i=this.mutationCache.config).onSuccess)==null?void 0:n.call(i,y,this.state.variables,this.state.context,this)),await((a=(o=this.options).onSuccess)==null?void 0:a.call(o,y,this.state.variables,this.state.context)),await((s=(l=this.options).onSettled)==null?void 0:s.call(l,y,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:y}),y}catch(y){try{var h,p,g,v,m,b;throw await((h=(p=this.mutationCache.config).onError)==null?void 0:h.call(p,y,this.state.variables,this.state.context,this)),await((g=(v=this.options).onError)==null?void 0:g.call(v,y,this.state.variables,this.state.context)),await((m=(b=this.options).onSettled)==null?void 0:m.call(b,void 0,y,this.state.variables,this.state.context)),y}finally{this.dispatch({type:"error",error:y})}}}dispatch(t){const r=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"loading":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!TP(this.options.networkMode),status:"loading",variables:t.variables};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"};case"setState":return{...n,...t.state}}};this.state=r(this.state),Si.batch(()=>{this.observers.forEach(n=>{n.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function Hte(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class x2e extends ly{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,r,n){const i=new w2e({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(r),state:n,defaultOptions:r.mutationKey?t.getMutationDefaults(r.mutationKey):void 0});return this.add(i),i}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(r=>r!==t),this.notify({type:"removed",mutation:t})}clear(){Si.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return typeof t.exact>"u"&&(t.exact=!0),this.mutations.find(r=>Q7(t,r))}findAll(t){return this.mutations.filter(r=>Q7(t,r))}notify(t){Si.batch(()=>
49{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.mutations.filter(r=>r.state.isPaused);return Si.batch(()=>t.reduce((r,n)=>r.then(()=>n.continue().catch(Ol)),Promise.resolve()))}}function C2e(){return{onFetch:e=>{e.fetchFn=()=>{var t,r,n,i,a,o;const s=(t=e.fetchOptions)==null||(r=t.meta)==null?void 0:r.refetchPage,l=(n=e.fetchOptions)==null||(i=n.meta)==null?void 0:i.fetchMore,c=l==null?void 0:l.pageParam,u=(l==null?void 0:l.direction)==="forward",d=(l==null?void 0:l.direction)==="backward",f=((a=e.state.data)==null?void 0:a.pages)||[],h=((o=e.state.data)==null?void 0:o.pageParams)||[];let p=h,g=!1;const v=C=>{Object.defineProperty(C,"signal",{enumerable:!0,get:()=>{var T;if((T=e.signal)!=null&&T.aborted)g=!0;else{var _;(_=e.signal)==null||_.addEventListener("abort",()=>{g=!0})}return e.signal}})},m=e.options.queryFn||(()=>Promise.reject("Missing queryFn")),b=(C,T,_,P)=>(p=P?[T,...p]:[...p,T],P?[_,...C]:[...C,_]),y=(C,T,_,P)=>{if(g)return Promise.reject("Cancelled");if(typeof _>"u"&&!T&&C.length)return Promise.resolve(C);const F={queryKey:e.queryKey,pageParam:_,meta:e.options.meta};v(F);const I=m(F);return Promise.resolve(I).then(D=>b(C,_,D,P))};let w;if(!f.length)w=y([]);else if(u){const C=typeof c<"u",T=C?c:rU(e.options,f);w=y(f,C,T)}else if(d){const C=typeof c<"u",T=C?c:E2e(e.options,f);w=y(f,C,T,!0)}else{p=[];const C=typeof e.options.getNextPageParam>"u";w=(s&&f[0]?s(f[0],0,f):!0)?y([],C,h[0]):Promise.resolve(b([],h[0],f[0]));for(let _=1;_<f.length;_++)w=w.then(P=>{if(s&&f[_]?s(f[_],_,f):!0){const I=C?h[_]:rU(e.options,P);return y(P,C,I)}return Promise.resolve(b(P,h[_],f[_]))})}return w.then(C=>({pages:C,pageParams:p}))}}}}function rU(e,t){return e.getNextPageParam==null?void 0:e.getNextPageParam(t[t.length-1],t)}function E2e(e,t){return e.getPreviousPageParam==null?void 0:e.getPreviousPageParam(t[0],t)}class k2e{constructor(t={}){this.queryCache=t.queryCache||new S2e,this.mutationCache=t.mutationCache||new x2e,this.logger=t.logger||a6,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}mount(){this.unsubscribeFocus=nT.subscribe(()=>{nT.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=iT.subscribe(()=>{iT.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})}unmount(){var t,r;(t=this.unsubscribeFocus)==null||t.call(this),(r=this.unsubscribeOnline)==null||r.call(this)}isFetching(t,r){const[n]=eh(t,r);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(t){return this.mutationCache.findAll({...t,fetching:!0}).length}getQueryData(t,r){var n;return(n=this.queryCache.find(t,r))==null?void 0:n.state.data}getQueriesData(t){return this.getQueryCache().findAll(t).map(({queryKey:r,state:n})=>{const i=n.data;return[r,i]})}setQueryData(t,r,n){const i=this.queryCache.find(t),a=i==null?void 0:i.state.data,o=d2e(r,a);if(typeof o>"u")return;const s=PE(t),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(o,{...n,manual:!0})}setQueriesData(t,r,n){return Si.batch(()=>this.getQueryCache().findAll(t).map(({queryKey:i})=>[i,this.setQueryData(i,r,n)]))}getQueryState(t,r){var n;return(n=this.queryCache.find(t,r))==null?void 0:n.state}removeQueries(t,r){const[n]=eh(t,r),i=this.queryCache;Si.batch(()=>{i.findAll(n).forEach(a=>{i.remove(a)})})}resetQueries(t,r,n){const[i,a]=eh(t,r,n),o=this.queryCache,s={type:"active",...i};return Si.batch(()=>(o.findAll(i).forEach(l=>{l.reset()}),this.refetchQueries(s,a)))}cancelQueries(t,r,n){const[i,a={}]=eh(t,r,n);typeof a.revert>"u"&&(a.revert=!0);const o=Si.batch(()=>this.queryCache.findAll(i).map(s=>s.cancel(a)));return Promise.all(o).then(Ol).catch(Ol)}invalidateQueries(t,r,n){const[i,a]=eh(t,r,n);return Si.batch(()=>{var o,s;if(this.queryCache.findAll(i).forEach(c=>{c.invalidate()}),i.refetchType==="none")return Promise.resolve();const l={...i,type:(o=(s=i.refetchType)!=null?s:i.type)!=null?o:"active"};return this.refetchQueries(l,a)})}refetchQueries(t,r,n){const[i,a]=eh(t,r,n),o=Si.batch(()=>this.queryCache.findAll(i).filter(l=>!l.isDisabled()).map(l=>{var c;return l.fetch(void 0,{...a,cancelRefetch:(c=a==null?void 0:a.cancelRefetch)!=null?c:!0,meta:{refetchPage:i.refetchPage}})}));let s=Promise.all(o).then(Ol);return a!=null&&a.throwOnError||(s=s.catch(Ol)),s}fetchQuery(t,r,n){const i=PE(t,r,n),a=this.defaultQueryOptions(i);typeof a.retry>"u"&&(a.retry=!1);const o=this.queryCache.build(this,a);return o.isStaleByTime(a.staleTime)?o.fetch(a):Promise.resolve(o.state.data)}
49prefetchQuery(t,r,n){return this.fetchQuery(t,r,n).then(Ol).catch(Ol)}fetchInfiniteQuery(t,r,n){const i=PE(t,r,n);return i.behavior=C2e(),this.fetchQuery(i)}prefetchInfiniteQuery(t,r,n){return this.fetchInfiniteQuery(t,r,n).then(Ol).catch(Ol)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,r){const n=this.queryDefaults.find(i=>Qp(t)===Qp(i.queryKey));n?n.defaultOptions=r:this.queryDefaults.push({queryKey:t,defaultOptions:r})}getQueryDefaults(t){if(!t)return;const r=this.queryDefaults.find(n=>rT(t,n.queryKey));return r==null?void 0:r.defaultOptions}setMutationDefaults(t,r){const n=this.mutationDefaults.find(i=>Qp(t)===Qp(i.mutationKey));n?n.defaultOptions=r:this.mutationDefaults.push({mutationKey:t,defaultOptions:r})}getMutationDefaults(t){if(!t)return;const r=this.mutationDefaults.find(n=>rT(t,n.mutationKey));return r==null?void 0:r.defaultOptions}defaultQueryOptions(t){if(t!=null&&t._defaulted)return t;const r={...this.defaultOptions.queries,...this.getQueryDefaults(t==null?void 0:t.queryKey),...t,_defaulted:!0};return!r.queryHash&&r.queryKey&&(r.queryHash=i6(r.queryKey,r)),typeof r.refetchOnReconnect>"u"&&(r.refetchOnReconnect=r.networkMode!=="always"),typeof r.useErrorBoundary>"u"&&(r.useErrorBoundary=!!r.suspense),r}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...this.defaultOptions.mutations,...this.getMutationDefaults(t==null?void 0:t.mutationKey),...t,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}class T2e extends ly{constructor(t,r){super(),this.client=t,this.options=r,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(r)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.length===1&&(this.currentQuery.addObserver(this),nU(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.listeners.length||this.destroy()}shouldFetchOnReconnect(){return t4(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return t4(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=[],this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,r){const n=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),QF(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),typeof this.options.enabled<"u"&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const a=this.hasListeners();a&&iU(this.currentQuery,i,this.options,n)&&this.executeFetch(),this.updateResult(r),a&&(this.currentQuery!==i||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&this.updateStaleTimeout();const o=this.computeRefetchInterval();a&&(this.currentQuery!==i||this.options.enabled!==n.enabled||o!==this.currentRefetchInterval)&&this.updateRefetchInterval(o)}getOptimisticResult(t){const r=this.client.getQueryCache().build(this.client,t);return this.createResult(r,t)}getCurrentResult(){return this.currentResult}trackResult(t){const r={};return Object.keys(t).forEach(n=>{Object.defineProperty(r,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),t[n])})}),r}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:t,...r}={}){return this.fetch({...r,meta:{refetchPage:t}})}fetchOptimistic(t){const r=this.client.defaultQueryOptions(t),n=this.client.getQueryCache().build(this.client,r);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,r))}fetch(t){var r;return this.executeFetch({...t,cancelRefetch:(r=t.cancelRefetch)!=null?r:!0}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let r=this.currentQuery.fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(Ol)),r}updateStaleTimeout(){if(this.clearStaleTimeout(),KS||this.currentResult.isStale||!XF(this.options.staleTime))return;const r=Dte(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},r)}computeRefetchInterval(){var t;return typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.currentResult.data,this.currentQuery):(t=this.options.refetchInterval)!=null?t:!1}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!(KS||this.options.enabled===!1||!XF(this.currentRefetchInterval)||this.currentRefetchInterval===0)&&(this.refetchIntervalId=setInterval(()=>
49{(this.options.refetchIntervalInBackground||nT.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,r){const n=this.currentQuery,i=this.options,a=this.currentResult,o=this.currentResultState,s=this.currentResultOptions,l=t!==n,c=l?t.state:this.currentQueryInitialState,u=l?this.currentResult:this.previousQueryResult,{state:d}=t;let{dataUpdatedAt:f,error:h,errorUpdatedAt:p,fetchStatus:g,status:v}=d,m=!1,b=!1,y;if(r._optimisticResults){const _=this.hasListeners(),P=!_&&nU(t,r),F=_&&iU(t,n,r,i);(P||F)&&(g=TP(t.options.networkMode)?"fetching":"paused",f||(v="loading")),r._optimisticResults==="isRestoring"&&(g="idle")}if(r.keepPreviousData&&!d.dataUpdatedAt&&u!=null&&u.isSuccess&&v!=="error")y=u.data,f=u.dataUpdatedAt,v=u.status,m=!0;else if(r.select&&typeof d.data<"u")if(a&&d.data===(o==null?void 0:o.data)&&r.select===this.selectFn)y=this.selectResult;else try{this.selectFn=r.select,y=r.select(d.data),y=e4(a==null?void 0:a.data,y,r),this.selectResult=y,this.selectError=null}catch(_){this.selectError=_}else y=d.data;if(typeof r.placeholderData<"u"&&typeof y>"u"&&v==="loading"){let _;if(a!=null&&a.isPlaceholderData&&r.placeholderData===(s==null?void 0:s.placeholderData))_=a.data;else if(_=typeof r.placeholderData=="function"?r.placeholderData():r.placeholderData,r.select&&typeof _<"u")try{_=r.select(_),this.selectError=null}catch(P){this.selectError=P}typeof _<"u"&&(v="success",y=e4(a==null?void 0:a.data,_,r),b=!0)}this.selectError&&(h=this.selectError,y=this.selectResult,p=Date.now(),v="error");const w=g==="fetching",x=v==="loading",C=v==="error";return{status:v,fetchStatus:g,isLoading:x,isSuccess:v==="success",isError:C,isInitialLoading:x&&w,data:y,dataUpdatedAt:f,error:h,errorUpdatedAt:p,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>c.dataUpdateCount||d.errorUpdateCount>c.errorUpdateCount,isFetching:w,isRefetching:w&&!x,isLoadingError:C&&d.dataUpdatedAt===0,isPaused:g==="paused",isPlaceholderData:b,isPreviousData:m,isRefetchError:C&&d.dataUpdatedAt!==0,isStale:o6(t,r),refetch:this.refetch,remove:this.remove}}updateResult(t){const r=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,QF(n,r))return;this.currentResult=n;const i={cache:!0},a=()=>{if(!r)return!0;const{notifyOnChangeProps:o}=this.options;if(o==="all"||!o&&!this.trackedProps.size)return!0;const s=new Set(o??this.trackedProps);return this.options.useErrorBoundary&&s.add("error"),Object.keys(this.currentResult).some(l=>{const c=l;return this.currentResult[c]!==r[c]&&s.has(c)})};(t==null?void 0:t.listeners)!==!1&&a()&&(i.listeners=!0),this.notify({...i,...t})}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const r=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const r={};t.type==="success"?r.onSuccess=!t.manual:t.type==="error"&&!AE(t.error)&&(r.onError=!0),this.updateResult(r),this.hasListeners()&&this.updateTimers()}notify(t){Si.batch(()=>{if(t.onSuccess){var r,n,i,a;(r=(n=this.options).onSuccess)==null||r.call(n,this.currentResult.data),(i=(a=this.options).onSettled)==null||i.call(a,this.currentResult.data,null)}else if(t.onError){var o,s,l,c;(o=(s=this.options).onError)==null||o.call(s,this.currentResult.error),(l=(c=this.options).onSettled)==null||l.call(c,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(u=>{u(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function _2e(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOn
49Mount===!1)}function nU(e,t){return _2e(e,t)||e.state.dataUpdatedAt>0&&t4(e,t,t.refetchOnMount)}function t4(e,t,r){if(t.enabled!==!1){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&o6(e,t)}return!1}function iU(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&o6(e,r)}function o6(e,t){return e.isStaleByTime(t.staleTime)}let P2e=class extends ly{constructor(t,r){super(),this.client=t,this.setOptions(r),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const r=this.options;this.options=this.client.defaultMutationOptions(t),QF(r,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this})}onUnsubscribe(){if(!this.listeners.length){var t;(t=this.currentMutation)==null||t.removeObserver(this)}}onMutationUpdate(t){this.updateResult();const r={listeners:!0};t.type==="success"?r.onSuccess=!0:t.type==="error"&&(r.onError=!0),this.notify(r)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(t,r){return this.mutateOptions=r,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:typeof t<"u"?t:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const t=this.currentMutation?this.currentMutation.state:Hte(),r={...t,isLoading:t.status==="loading",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset};this.currentResult=r}notify(t){Si.batch(()=>{if(this.mutateOptions){if(t.onSuccess){var r,n,i,a;(r=(n=this.mutateOptions).onSuccess)==null||r.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),(i=(a=this.mutateOptions).onSettled)==null||i.call(a,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)}else if(t.onError){var o,s,l,c;(o=(s=this.mutateOptions).onError)==null||o.call(s,this.currentResult.error,this.currentResult.variables,this.currentResult.context),(l=(c=this.mutateOptions).onSettled)==null||l.call(c,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}}t.listeners&&this.listeners.forEach(u=>{u(this.currentResult)})})}};var qte={exports:{}},Wte={};/**
50 * @license React
51 * use-sync-external-store-shim.production.min.js
52 *
53 * Copyright (c) Facebook, Inc. and its affiliates.
54 *
55 * This source code is licensed under the MIT license found in the
56 * LICENSE file in the root directory of this source tree.
57 */var Rv=k;function A2e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var O2e=typeof Object.is=="function"?Object.is:A2e,I2e=Rv.useState,R2e=Rv.useEffect,F2e=Rv.useLayoutEffect,D2e=Rv.useDebugValue;function N2e(e,t){var r=t(),n=I2e({inst:{value:r,getSnapshot:t}}),i=n[0].inst,a=n[1];return F2e(function(){i.value=r,i.getSnapshot=t,EI(i)&&a({inst:i})},[e,r,t]),R2e(function(){return EI(i)&&a({inst:i}),e(function(){EI(i)&&a({inst:i})})},[e]),D2e(r),r}function EI(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!O2e(e,r)}catch{return!0}}function M2e(e,t){return t()}var L2e=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?M2e:N2e;Wte.useSyncExternalStore=Rv.useSyncExternalStore!==void 0?Rv.useSyncExternalStore:L2e;qte.exports=Wte;var B2e=qte.exports;const Vte=B2e.useSyncExternalStore,aU=k.createContext(void 0),jte=k.createContext(!1);function Gte(e,t){return e||(t&&typeof window<"u"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=aU),window.ReactQueryClientContext):aU)}const Kte=({context:e}={})=>{const t=k.useContext(Gte(e,k.useContext(jte)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},U2e=({client:e,children:t,context:r,contextSharing:n=!1})=>{k.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const i=Gte(r,n);return k.createElement(jte.Provider,{value:!r&&n},k.createElement(i.Provider,{value:e},t))},Zte=k.createContext(!1),z2e=()=>k.useContext(Zte);Zte.Provider;function H2e(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}
57const q2e=k.createContext(H2e()),W2e=()=>k.useContext(q2e);function Yte(e,t){return typeof e=="function"?e(...t):!!e}const V2e=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},j2e=e=>{k.useEffect(()=>{e.clearReset()},[e])},G2e=({result:e,errorResetBoundary:t,useErrorBoundary:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&Yte(r,[e.error,n]),K2e=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},Z2e=(e,t)=>e.isLoading&&e.isFetching&&!t,Y2e=(e,t,r)=>(e==null?void 0:e.suspense)&&Z2e(t,r),$2e=(e,t,r)=>t.fetchOptimistic(e).then(({data:n})=>{e.onSuccess==null||e.onSuccess(n),e.onSettled==null||e.onSettled(n,null)}).catch(n=>{r.clearReset(),e.onError==null||e.onError(n),e.onSettled==null||e.onSettled(void 0,n)});function X2e(e,t){const r=Kte({context:e.context}),n=z2e(),i=W2e(),a=r.defaultQueryOptions(e);a._optimisticResults=n?"isRestoring":"optimistic",a.onError&&(a.onError=Si.batchCalls(a.onError)),a.onSuccess&&(a.onSuccess=Si.batchCalls(a.onSuccess)),a.onSettled&&(a.onSettled=Si.batchCalls(a.onSettled)),K2e(a),V2e(a,i),j2e(i);const[o]=k.useState(()=>new t(r,a)),s=o.getOptimisticResult(a);if(Vte(k.useCallback(l=>n?()=>{}:o.subscribe(Si.batchCalls(l)),[o,n]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),k.useEffect(()=>{o.setOptions(a,{listeners:!1})},[a,o]),Y2e(a,s,n))throw $2e(a,o,i);if(G2e({result:s,errorResetBoundary:i,useErrorBoundary:a.useErrorBoundary,query:o.getCurrentQuery()}))throw s.error;return a.notifyOnChangeProps?s:o.trackResult(s)}function zt(e,t,r){const n=PE(e,t,r);return X2e(n,T2e)}function Qe(e,t,r){const n=f2e(e,t,r),i=Kte({context:n.context}),[a]=k.useState(()=>new P2e(i,n));k.useEffect(()=>{a.setOptions(n)},[a,n]);const o=Vte(k.useCallback(l=>a.subscribe(Si.batchCalls(l)),[a]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),s=k.useCallback((l,c)=>{a.mutate(l,c).catch(Q2e)},[a]);if(o.error&&Yte(a.options.useErrorBoundary,[o.error]))throw o.error;return{...o,mutate:s,mutateAsync:o.mutate}}function Q2e(){}function $te(e,t){if(e==null)return{};var r,n,i=fP(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ho(e){"@babel/helpers - typeof";return ho=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ho(e)}function J2e(e,t){if(ho(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ho(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Xte(e){var t=J2e(e,"string");return ho(t)=="symbol"?t:t+""}function lu(e,t,r){return(t=Xte(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var eCe={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};const tCe=fc(eCe);var rCe=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function oU(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},r=e.match(/<\/?([^\s]+?)[/\s>]/);if(r&&(t.name=r[1],(tCe[r[1]]||e.charAt(e.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var n=e.indexOf("-->");return{type:"comment",comment:n!==-1?e.slice(4,n):""}}for(var i=new RegExp(rCe),a=null;(a=i.exec(e))!==null;)if(a[0].trim())if(a[1]){var o=a[1].trim(),s=[o,""];o.indexOf("=")>-1&&(s=o.split("=")),t.attrs[s[0]]=s[1],i.lastIndex--}else a[2]&&(t.attrs[a[2]]=a[3].trim().substring(1,a[3].length-1));return t}var nCe=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,iCe=/^\s*$/,aCe=Object.create(null);function Qte(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(r){var n=[];for(var i in r)n.push(i+'="'+r[i]+'"');return n.length?" "+n.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(Qte,"")+"</"+t.name+">";case"comment":return e+"<!--"+t.comment+"-->"}}var oCe={parse:function(e,t){t||(t={}),t.components||(t.components=aCe);var r,n=[],i=[],a=-1,o=!1;if(e.indexOf("<")!==0){var s=e.indexOf("<");n.push({type:"text",content:s===-1?e:e.substring(0,s)})}
57return e.replace(nCe,function(l,c){if(o){if(l!=="</"+r.name+">")return;o=!1}var u,d=l.charAt(1)!=="/",f=l.startsWith("<!--"),h=c+l.length,p=e.charAt(h);if(f){var g=oU(l);return a<0?(n.push(g),n):((u=i[a]).children.push(g),n)}if(d&&(a++,(r=oU(l)).type==="tag"&&t.components[r.name]&&(r.type="component",o=!0),r.voidElement||o||!p||p==="<"||r.children.push({type:"text",content:e.slice(h,e.indexOf("<",h))}),a===0&&n.push(r),(u=i[a-1])&&u.children.push(r),i[a]=r),(!d||r.voidElement)&&(a>-1&&(r.voidElement||r.name===l.slice(2,-1))&&(a--,r=a===-1?n:i[a]),!o&&p!=="<"&&p)){u=a===-1?n:i[a].children;var v=e.indexOf("<",h),m=e.slice(h,v===-1?void 0:v);iCe.test(m)&&(m=" "),(v>-1&&a+u.length>=0||m!==" ")&&u.push({type:"text",content:m})}}),n},stringify:function(e){return e.reduce(function(t,r){return t+Qte("",r)},"")}};function hc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sU(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Xte(n.key),n)}}function pc(e,t,r){return t&&sU(e.prototype,t),r&&sU(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var sCe=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,lCe={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},cCe=function(t){return lCe[t]},uCe=function(t){return t.replace(sCe,cCe)};function lU(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function cU(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?lU(Object(r),!0).forEach(function(n){lu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lU(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var r4={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:uCe},Jte,s6=k.createContext();function dCe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r4=cU(cU({},r4),e)}function ere(){return r4}var fCe=function(){function e(){hc(this,e),this.usedNamespaces={}}return pc(e,[{key:"addUsedNamespaces",value:function(r){var n=this;r.forEach(function(i){n.usedNamespaces[i]||(n.usedNamespaces[i]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function hCe(e){Jte=e}function tre(){return Jte}var pCe={type:"3rdParty",init:function(t){dCe(t.options.react),hCe(t)}};function OE(){if(console&&console.warn){for(var e,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];typeof r[0]=="string"&&(r[0]="react-i18next:: ".concat(r[0])),(e=console).warn.apply(e,r)}}var uU={};function aT(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];typeof t[0]=="string"&&uU[t[0]]||(typeof t[0]=="string"&&(uU[t[0]]=new Date),OE.apply(void 0,t))}function dU(e,t,r){e.loadNamespaces(t,function(){if(e.isInitialized)r();else{var n=function i(){setTimeout(function(){e.off("initialized",i)},0),r()};e.on("initialized",n)}})}function mCe(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=t.languages[0],i=t.options?t.options.fallbackLng:!1,a=t.languages[t.languages.length-1];if(n.toLowerCase()==="cimode")return!0;var o=function(l,c){var u=t.services.backendConnector.state["".concat(l,"|").concat(c)];return u===-1||u===2};return r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(n,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||o(n,e)&&(!i||o(a,e)))}function gCe(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};
57if(!t.languages||!t.languages.length)return aT("i18n.languages were undefined or empty",t.languages),!0;var n=t.options.ignoreJSONStructure!==void 0;return n?t.hasLoadedNamespace(e,{precheck:function(a,o){if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&a.services.backendConnector.backend&&a.isLanguageChangingTo&&!o(a.isLanguageChangingTo,e))return!1}}):mCe(e,t,r)}var vCe=["format"],yCe=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function fU(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Ji(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fU(Object(r),!0).forEach(function(n){lu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fU(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function kI(e,t){if(!e)return!1;var r=e.props?e.props.children:e.children;return t?r.length>0:!!r}function TI(e){return e?e.props?e.props.children:e.children:[]}function bCe(e){return Object.prototype.toString.call(e)!=="[object Array]"?!1:e.every(function(t){return k.isValidElement(t)})}function Z1(e){return Array.isArray(e)?e:[e]}function SCe(e,t){var r=Ji({},t);return r.props=Object.assign(e.props,t.props),r}function rre(e,t){if(!e)return"";var r="",n=Z1(e),i=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return n.forEach(function(a,o){if(typeof a=="string")r+="".concat(a);else if(k.isValidElement(a)){var s=Object.keys(a.props).length,l=i.indexOf(a.type)>-1,c=a.props.children;if(!c&&l&&s===0)r+="<".concat(a.type,"/>");else if(!c&&(!l||s!==0))r+="<".concat(o,"></").concat(o,">");else if(a.props.i18nIsDynamicList)r+="<".concat(o,"></").concat(o,">");else if(l&&s===1&&typeof c=="string")r+="<".concat(a.type,">").concat(c,"</").concat(a.type,">");else{var u=rre(c,t);r+="<".concat(o,">").concat(u,"</").concat(o,">")}}else if(a===null)OE("Trans: the passed in value is invalid - seems you passed in a null child.");else if(ho(a)==="object"){var d=a.format,f=$te(a,vCe),h=Object.keys(f);if(h.length===1){var p=d?"".concat(h[0],", ").concat(d):h[0];r+="{{".concat(p,"}}")}else OE("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",a)}else OE("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",a)}),r}function wCe(e,t,r,n,i,a){if(t==="")return[];var o=n.transKeepBasicHtmlNodesFor||[],s=t&&new RegExp(o.join("|")).test(t);if(!e&&!s)return[t];var l={};function c(v){var m=Z1(v);m.forEach(function(b){typeof b!="string"&&(kI(b)?c(TI(b)):ho(b)==="object"&&!k.isValidElement(b)&&Object.assign(l,b))})}c(e);var u=oCe.parse("<0>".concat(t,"</0>")),d=Ji(Ji({},l),i);function f(v,m,b){var y=TI(v),w=p(y,m.children,b);return bCe(y)&&w.length===0?y:w}function h(v,m,b,y,w){v.dummy&&(v.children=m),b.push(k.cloneElement(v,Ji(Ji({},v.props),{},{key:y}),w?void 0:m))}function p(v,m,b){var y=Z1(v),w=Z1(m);return w.reduce(function(x,C,T){var _=C.children&&C.children[0]&&C.children[0].content&&r.services.interpolator.interpolate(C.children[0].content,d,r.language);if(C.type==="tag"){var P=y[parseInt(C.name,10)];!P&&b.length===1&&b[0][C.name]&&(P=b[0][C.name]),P||(P={});var F=Object.keys(C.attrs).length!==0?SCe({props:C.attrs},P):P,I=k.isValidElement(F),R=I&&kI(C,!0)&&!C.voidElement,D=s&&ho(F)==="object"&&F.dummy&&!I,A=ho(e)==="object"&&e!==null&&Object.hasOwnProperty.call(e,C.name);if(typeof F=="string"){var M=r.services.interpolator.interpolate(F,d,r.language);x.push(M)}else if(kI(F)||R){var X=f(F,C,b);h(F,X,x,T)}else if(D){var Y=p(y,C.children,b);x.push(k.cloneElement(F,Ji(Ji({},F.props),{},{key:T}),Y))}else if(Number.isNaN(parseFloat(C.name)))if(A){var se=f(F,C,b);h(F,se,x,T,C.voidElement)}else if(n.transSupportBasicHtmlNodes&&o.indexOf(C.name)>-1)if(C.voidElement)x.push(k.createElement(C.name,{key:"".concat(C.name,"-").concat(T)}));else{var ne=p(y,C.children,b);x.push(k.createElement(C.name,{key:"".concat(C.name,"-").concat(T)},ne))}else if(C.voidElement)x.push("<".concat(C.name," />"));else{var ie=p(y,C.children,b);x.push("<".concat(C.name,">").concat(ie,"</").concat(C.name,">"))}else if(ho(F)==="object"&&!I){var ae=C.children[0]?_:null;ae&&x.push(ae)}else C.children.length===1&&_?x.push(k.cloneElement(F,Ji(Ji({},F.props),{},{key:T}),_)):x.push(k.cloneElement(F,Ji(Ji({},F.props),{},{key:T})))}else if(C.type==="text"){var ce=n.transWrapTextNodes,ke=a?n.unescape(r.services.interpolator.interpolate(C.content,d,r.language)):r.services.interpolator.interpolate(C.content,d,r.language);ce?x.push(k.createElement(ce,{key:"".concat(C.name,"-").concat(T)},ke)):x.push(ke)}return x},[])}var g=p([{dummy:!0,children:e||[]}],u,Z1(e||[]));return TI(g[0])}function Go(e){var t=e.children,r=e.count,n=e.parent,i=e.i18nKey,a=e.context,o=e.tOptions,s=o===void 0?{}:o,l=e.values,c=e.defaults,u=e.components,d=e.ns,f=e.i18n,h=e.t,p=e.shouldUne
57scape,g=$te(e,yCe),v=k.useContext(s6)||{},m=v.i18n,b=v.defaultNS,y=f||m||tre();if(!y)return aT("You will need to pass in an i18next instance by using i18nextReactModule"),t;var w=h||y.t.bind(y)||function(M){return M};a&&(s.context=a);var x=Ji(Ji({},ere()),y.options&&y.options.react),C=d||w.ns||b||y.options&&y.options.defaultNS;C=typeof C=="string"?[C]:C||["translation"];var T=c||rre(t,x)||x.transEmptyNodeValue||i,_=x.hashTransKey,P=i||(_?_(T):T),F=l?s.interpolation:{interpolation:Ji(Ji({},s.interpolation),{},{prefix:"#$?",suffix:"?$#"})},I=Ji(Ji(Ji(Ji({},s),{},{count:r},l),F),{},{defaultValue:T,ns:C}),R=P?w(P,I):T,D=wCe(u||t,R,y,x,I,p),A=n!==void 0?n:x.defaultTransParent;return A?k.createElement(A,g,D):D}function nre(e){if(Array.isArray(e))return e}function xCe(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,a,o,s=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,t!==0)for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}function hU(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function ire(e,t){if(e){if(typeof e=="string")return hU(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?hU(e,t):void 0}}function are(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
58In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function CCe(e,t){return nre(e)||xCe(e,t)||ire(e,t)||are()}function pU(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function _I(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?pU(Object(r),!0).forEach(function(n){lu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pU(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var ECe=function(t,r){var n=k.useRef();return k.useEffect(function(){n.current=t},[t,r]),n.current};function jt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.i18n,n=k.useContext(s6)||{},i=n.i18n,a=n.defaultNS,o=r||i||tre();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new fCe),!o){aT("You will need to pass in an i18next instance by using initReactI18next");var s=function(P){return Array.isArray(P)?P[P.length-1]:P},l=[s,{},!1];return l.t=s,l.i18n={},l.ready=!1,l}o.options.react&&o.options.react.wait!==void 0&&aT("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var c=_I(_I(_I({},ere()),o.options.react),t),u=c.useSuspense,d=c.keyPrefix,f=a||o.options&&o.options.defaultNS;f=typeof f=="string"?[f]:f||["translation"],o.reportNamespaces.addUsedNamespaces&&o.reportNamespaces.addUsedNamespaces(f);var h=(o.isInitialized||o.initializedStoreOnce)&&f.every(function(_){return gCe(_,o,c)});function p(){return o.getFixedT(null,c.nsMode==="fallback"?f:f[0],d)}var g=k.useState(p),v=CCe(g,2),m=v[0],b=v[1],y=f.join(),w=ECe(y),x=k.useRef(!0);k.useEffect(function(){var _=c.bindI18n,P=c.bindI18nStore;x.current=!0,!h&&!u&&dU(o,f,function(){x.current&&b(p)}),h&&w&&w!==y&&x.current&&b(p);function F(){x.current&&b(p)}return _&&o&&o.on(_,F),P&&o&&o.store.on(P,F),function(){x.current=!1,_&&o&&_.split(" ").forEach(function(I){return o.off(I,F)}),P&&o&&P.split(" ").forEach(function(I){return o.store.off(I,F)})}},[o,y]);var C=k.useRef(!0);k.useEffect(function(){x.current&&!C.current&&b(p),C.current=!1},[o,d]);var T=[m,o,h];if(T.t=m,T.i18n=o,T.ready=h,h||!h&&!u)return T;throw new Promise(function(_){dU(o,f,function(){_()})})}function kCe(e){var t=e.i18n,r=e.defaultNS,n=e.children,i=k.useMemo(function(){return{i18n:t,defaultNS:r}},[t,r]);return k.createElement(s6.Provider,{value:i},n)}const TCe="modulepreload",_Ce=function(e){return"/"+e},mU={},st=function(t,r,n){let i=Promise.resolve();return r&&r.length>0&&(document.getElementsByTagName("link"),i=Promise.all(r.map(a=>{if(a=_Ce(a),a in mU)return;mU[a]=!0;const o=a.endsWith(".css"),s=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${s}`))return;const l=document.createElement("link");if(l.rel=o?"stylesheet":TCe,o||(l.as="script",l.crossOrigin=""),l.href=a,document.head.appendChild(l),o)return new Promise((c,u)=>{l.addEventListener("load",c),l.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${a}`)))})}))),i.then(()=>t()).catch(a=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=a,window.dispatchEvent(o),!o.defaultPrevented)throw a})};var ore=e=>{throw TypeError(e)},sre=(e,t,r)=>t.has(e)||ore("Cannot "+r),Pl=(e,t,r)=>(sre(e,t,"read from private field"),r?r.call(e):t.get(e)),Y1=(e,t,r)=>t.has(e)?ore("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),vu=(e,t,r,n)=>(sre(e,t,"write to private field"),t.set(e,r),r),_P=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,l6=/^[\\/]{2}/;function lre(e,t){return t+e.replace(/\\/g,"/")}var gU="popstate";function vU(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function PCe(e={}){function t(n,i){var c;let a=(c=i.state)==null?void 0:c.masked,{pathname:o,search:s,hash:l}=a||n.location;return ZS("",{pathname:o,search:s,hash:l},i.state&&i.state.usr||null,i.state&&i.state.key||"default",a?{pathname:n.location.pathname,search:n.location.search,hash:n.location.hash}:void 0)}function r(n,i){return typeof i=="string"?i:ld(i)}return OCe(t,r,null,e)}function xr(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function xi(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function ACe(){return Math.random().toString(36).substring(2,10)}function yU(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function ZS(e,t,r=null,n,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?yd(t):t,state:r,key:t&&t.key||n||ACe(),mask:i}}function ld({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function yd(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function OCe(e,t,r,n={}){let{window:i=document.defaultView,v5Compat:a=!1}=n,o=i.history,s="POP",l=null,c=u();c==null&&(c=0,o.replaceState({...o.state,idx:c},""));function u(){return(o.state||{idx:null}).idx}function d(){s="POP";let v=u(),m=v==null?null:v-c;c=v,l&&l({action:s,location:g.location,delta:m})}
58function f(v,m){s="PUSH";let b=vU(v)?v:ZS(g.location,v,m);c=u()+1;let y=yU(b,c),w=g.createHref(b.mask||b);try{o.pushState(y,"",w)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;i.location.assign(w)}a&&l&&l({action:s,location:g.location,delta:1})}function h(v,m){s="REPLACE";let b=vU(v)?v:ZS(g.location,v,m);c=u();let y=yU(b,c),w=g.createHref(b.mask||b);o.replaceState(y,"",w),a&&l&&l({action:s,location:g.location,delta:0})}function p(v){return cre(i,v)}let g={get action(){return s},get location(){return e(i,o)},listen(v){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(gU,d),l=v,()=>{i.removeEventListener(gU,d),l=null}},createHref(v){return t(i,v)},createURL:p,encodeLocation(v){let m=p(v);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:h,go(v){return o.go(v)}};return g}function cre(e,t,r=!1){let n="http://localhost";e&&(n=e.location.origin!=="null"?e.location.origin:e.location.href),xr(n,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:ld(t);return i=i.replace(/ $/,"%20"),!r&&l6.test(i)&&(i=n+i),new URL(i,n)}var $1,bU=class{constructor(e){if(Y1(this,$1,new Map),e)for(let[t,r]of e)this.set(t,r)}get(e){if(Pl(this,$1).has(e))return Pl(this,$1).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error("No value found for context")}set(e,t){Pl(this,$1).set(e,t)}};$1=new WeakMap;var ICe=new Set(["lazy","caseSensitive","path","id","index","children"]);function RCe(e){return ICe.has(e)}var FCe=new Set(["lazy","caseSensitive","path","id","index","middleware","children"]);function DCe(e){return FCe.has(e)}function NCe(e){return e.index===!0}function YS(e,t,r=[],n={},i=!1){return e.map((a,o)=>{let s=[...r,String(o)],l=typeof a.id=="string"?a.id:s.join("-");if(xr(a.index!==!0||!a.children,"Cannot specify children on an index route"),xr(i||!n[l],`Found a route id collision on i
58d "${l}".  Route id's must be globally unique within Data Router usages`),NCe(a)){let c={...a,id:l};return n[l]=SU(c,t(c)),c}else{let c={...a,id:l,children:void 0};return n[l]=SU(c,t(c)),a.children&&(c.children=YS(a.children,t,s,n,i)),c}})}function SU(e,t){return Object.assign(e,{...t,...typeof t.lazy=="object"&&t.lazy!=null?{lazy:{...e.lazy,...t.lazy}}:{}})}function c6(e,t,r="/"){return Pc(e,t,r,!1)}function Pc(e,t,r,n,i){let a=typeof t=="string"?yd(t):t,o=Cs(a.pathname||"/",r);if(o==null)return null;let s=i??IE(e),l=null,c=KCe(o);for(let u=0;l==null&&u<s.length;++u)l=GCe(s[u],c,n);return l}function MCe(e,t){let{route:r,pathname:n,params:i}=e;return{id:r.id,pathname:n,params:i,data:t[r.id],loaderData:t[r.id],handle:r.handle}}function IE(e){let t=ure(e);return LCe(t),t}function ure(e,t=[],r=[],n="",i=!1){let a=(o,s,l=i,c)=>{let u={relativePath:c===void 0?o.path||"":c,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};if(u.relativePath.startsWith("/")){if(!u.relativePath.startsWith(n)&&l)return;xr(u.relativePath.startsWith(n),`Absolute route path "${u.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),u.relativePath=u.relativePath.slice(n.length)}let d=Ql([n,u.relativePath]),f=r.concat(u);o.children&&o.children.length>0&&(xr(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),ure(o.children,t,f,d,l)),!(o.path==null&&!o.index)&&t.push({path:d,score:VCe(d,o.index),routesMeta:f.map((h,p)=>{let[g,v]=hre(h.relativePath,h.caseSensitive,p===f.length-1);return{...h,matcher:g,compiledParams:v}})})};return e.forEach((o,s)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))a(o,s);else for(let c of dre(o.path))a(o,s,!0,c)}),t}function dre(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let o=dre(n.join("/")),s=[];return s.push(...o.map(l=>l===""?a:[a,l].join("/"))),i&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function LCe(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:jCe(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var BCe=/^:[\w-]+$/,UCe=3,zCe=2,HCe=1,qCe=10,WCe=-2,wU=e=>e==="*";function VCe(e,t){let r=e.split("/"),n=r.length;return r.some(wU)&&(n+=WCe),t&&(n+=zCe),r.filter(i=>!wU(i)).reduce((i,a)=>i+(BCe.test(a)?UCe:a===""?HCe:qCe),n)}function jCe(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function GCe(e,t,r=!1){let{routesMeta:n}=e,i={},a="/",o=[];for(let s=0;s<n.length;++s){let l=n[s],c=s===n.length-1,u=a==="/"?t:t.slice(a.length)||"/",d={path:l.relativePath,caseSensitive:l.caseSensitive,end:c},f=l.matcher&&l.compiledParams?fre(d,u,l.matcher,l.compiledParams):Gs(d,u),h=l.route;if(!f&&c&&r&&!n[n.length-1].route.index&&(f=Gs({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},u)),!f)return null;
58Object.assign(i,f.params),o.push({params:i,pathname:Ql([a,f.pathname]),pathnameBase:$Ce(Ql([a,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(a=Ql([a,f.pathnameBase]))}return o}function Gs(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=hre(e.path,e.caseSensitive,e.end);return fre(e,t,r,n)}function fre(e,t,r,n){let i=t.match(r);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:n.reduce((c,{paramName:u,isOptional:d},f)=>{if(u==="*"){let p=s[f]||"";o=a.slice(0,a.length-p.length).replace(/(.)\/+$/,"$1")}const h=s[f];return d&&!h?c[u]=void 0:c[u]=(h||"").replace(/%2F/g,"/"),c},{}),pathname:a,pathnameBase:o,pattern:e}}function hre(e,t=!1,r=!0){xi(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,l,c,u)=>{if(n.push({paramName:s,isOptional:l!=null}),l){let d=u.charAt(c+o.length);return d&&d!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function KCe(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return xi(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Cs(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function ZCe({basename:e,pathname:t}){return t==="/"?e:Ql([e,t])}var u6=e=>_P.test(e);function YCe(e,t="/"){let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?yd(e):e,a;return r?(r=d6(r),r.startsWith("/")?a=xU(r.substring(1),"/"):a=xU(r,t)):a=t,{pathname:a,search:XCe(n),hash:QCe(i)}}function xU(e,t){let r=oT(t).split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function PI(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}].  Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function pre(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function PP(e){let t=pre(e);return t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function hx(e,t,r,n=!1){let i;typeof e=="string"?i=yd(e):(i={...e},xr(!i.pathname||!i.pathname.includes("?"),PI("?","pathname","search",i)),xr(!i.pathname||!i.pathname.includes("#"),PI("#","pathname","hash",i)),xr(!i.search||!i.search.includes("#"),PI("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=r;else{let d=t.length-1;if(!n&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}s=d>=0?t[d]:"/"}let l=YCe(i,s),c=o&&o!=="/"&&o.endsWith("/"),u=(a||o===".")&&r.endsWith("/");return!l.pathname.endsWith("/")&&(c||u)&&(l.pathname+="/"),l}var d6=e=>e.replace(/[\\/]{2,}/g,"/"),Ql=e=>d6(e.join("/")),oT=e=>e.replace(/\/+$/,""),$Ce=e=>oT(e).replace(/^\/*/,"/"),XCe=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,QCe=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,JCe=["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],px=class{constructor(e,t,r,n=!1){this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function $S(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function mx(e){let t=e.map(r=>
58r.route.path).filter(Boolean);return Ql(t)||"/"}var mre=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function gre(e,t){let r=e;if(typeof r!="string"||!_P.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,i=!1;if(mre)try{let a=new URL(window.location.href),o=l6.test(r)?new URL(lre(r,a.protocol)):new URL(r),s=Cs(o.pathname,t);o.origin===a.origin&&s!=null?r=s+o.search+o.hash:i=!0}catch{xi(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:i,to:r}}var yh=Symbol("Uninstrumented");function eEe(e,t){let r={lazy:[],"lazy.loader":[],"lazy.action":[],"lazy.middleware":[],middleware:[],loader:[],action:[]};e.forEach(i=>i({id:t.id,index:t.index,path:t.path,instrument(a){let o=Object.keys(r);for(let s of o)a[s]&&r[s].push(a[s])}}));let n={};if(typeof t.lazy=="function"&&r.lazy.length>0){let i=_g(r.lazy,t.lazy,()=>{});i&&(n.lazy=i)}if(typeof t.lazy=="object"){let i=t.lazy;["middleware","loader","action"].forEach(a=>{let o=i[a],s=r[`lazy.${a}`];if(typeof o=="function"&&s.length>0){let l=_g(s,o,()=>{});l&&(n.lazy=Object.assign(n.lazy||{},{[a]:l}))}})}return["loader","action"].forEach(i=>{let a=t[i];if(typeof a=="function"&&r[i].length>0){let o=a[yh]??a,s=_g(r[i],o,(...l)=>CU(l[0]));s&&(i==="loader"&&o.hydrate===!0&&(s.hydrate=!0),s[yh]=o,n[i]=s)}}),t.middleware&&t.middleware.length>0&&r.middleware.length>0&&(n.middleware=t.middleware.map(i=>{let a=i[yh]??i,o=_g(r.middleware,a,(...s)=>CU(s[0]));return o?(o[yh]=a,o):i})),n}function tEe(e,t){let r={navigate:[],fetch:[]};if(t.forEach(n=>n({instrument(i){let a=Object.keys(i);for(let o of a)i[o]&&r[o].push(i[o])}})),r.navigate.length>0){let n=e.navigate[yh]??e.navigate,i=_g(r.navigate,n,(...a)=>{let[o,s]=a;return{to:typeof o=="number"||typeof o=="string"?o:o?ld(o):".",...EU(e,s??{})}});i&&(i[yh]=n,e.navigate=i)}if(r.fetch.length>0){let n=e.fetch[yh]??e.fetch,i=_g(r.fetch,n,(...a)=>{let[o,,s,l]=a;return{href:s??".",fetcherKey:o,...EU(e,l??{})}});i&&(i[yh]=n,e.fetch=i)}return e}function _g(e,t,r){return e.length===0?null:async(...n)=>{let i=await vre(e,r(...n),()=>t(...n),e.length-1);if(i.type==="error")throw i.value;return i.value}}async function vre(e,t,r,n){let i=e[n],a;if(i){let o,s=async()=>(o?console.error("You cannot call instrumented handlers more than once"):o=vre(e,t,r,n-1),a=await o,xr(a,"Expected a result"),a.type==="error"&&a.value instanceof Error?{status:"error",error:a.value}:{status:"success",error:void 0});try{await i(s,t)}catch(l){console.error("An instrumentation function threw an error:",l)}o||await s(),await o}else try{a={type:"success",value:await r()}}catch(o){a={type:"error",value:o}}return a||{type:"error",value:new Error("No result assigned in instrumentation chain.")}}function CU(e){let{request:t,context:r,params:n,pattern:i}=e;return{request:rEe(t),params:{...n},pattern:i,context:nEe(r)}}function EU(e,t){return{currentUrl:ld(e.state.location),..."formMethod"in t?{formMethod:t.formMethod}:{},..."formEncType"in t?{formEncType:t.formEncType}:{},..."formData"in t?{formData:t.formData}:{},..."body"in t?{body:t.body}:{}}}function rEe(e){return{method:e.method,url:e.url,headers:{get:(...t)=>e.headers.get(...t)}}}function nEe(e){if(aEe(e)){let t={...e};return Object.freeze(t),t}else return{get:t=>e.get(t)}}var iEe=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function aEe(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getOwnPropertyNames(t).sort().join("\0")===iEe}var yre=["POST","PUT","PATCH","DELETE"],oEe=new Set(yre),sEe=["GET",...yre],lEe=new Set(sEe),bre=new Set([301,302,303,307,308]),cEe=new Set([307,308]),AI={state:"idle",location:void 0,matches:void 0,historyAction:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},uEe={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ng={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},dEe=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Sre="remix-router-transitions",wre=Symbol("ResetLoaderData"),Mp,ig,Wf,ag,fEe=class{constructor(e){Y1(this,Mp),Y1(this,ig),Y1(this,Wf),Y1(this,ag),vu(this,Mp,e),vu(this,ig,IE(e))}get stableRoutes(){return Pl(this,Mp)}get activeRoutes(){return Pl(this,Wf)??Pl(this,Mp)}get branches(){return Pl(this,ag)??Pl(this,ig)}get hasHMRRoutes(){return Pl(this,Wf)!=null}setRoutes(e){vu(this,Mp,e),vu(this,ig,IE(e))}setHmrRoutes(e){vu(this,Wf,e),vu(this,ag,IE(e))}commitHmrRoutes(){Pl(this,Wf)&&(vu(this,Mp,Pl(this,Wf)),vu(this,ig,Pl(this,ag)),vu(this,Wf,void 0),vu(this,ag,void 0))}};Mp=new WeakMap;ig=new WeakMap;Wf=new WeakMap;ag=new WeakMap;function hEe(e){const t=e.window?e.window:typeof window<"u"?window:void 0,r=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u";xr(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let n=e.hydrationRouteProperties||[],i=e.mapRouteProperties||dEe,a=i;if(e.instrumentations){let me=e.instrumentations;a=Ee=>({...i(Ee),...eEe(me.map(Ue=>
58Ue.route).filter(Boolean),Ee)})}let o={},s=new fEe(YS(e.routes,a,void 0,o)),l=e.basename||"/";l.startsWith("/")||(l=`/${l}`);let c=e.dataStrategy||yEe,u={...e.future},d=null,f=new Set,h=null,p=null,g=null,v=null,m=e.hydrationData!=null,b=Pc(s.activeRoutes,e.history.location,l,!1,s.branches),y=!1,w=null,x,C;if(b==null&&!e.patchRoutesOnNavigation){let me=Il(404,{pathname:e.history.location.pathname}),{matches:Ee,route:Ue}=sC(s.activeRoutes);x=!0,C=!x,b=Ee,w={[Ue.id]:me}}else if(b&&!e.hydrationData&&As(b,s.activeRoutes,e.history.location.pathname).active&&(b=null),b)if(b.some(me=>me.route.lazy))x=!1,C=!x;else if(!b.some(me=>f6(me.route)))x=!0,C=!x;else{let me=e.hydrationData?e.hydrationData.loaderData:null,Ee=e.hydrationData?e.hydrationData.errors:null,Ue=b;if(Ee){let U=b.findIndex(W=>Ee[W.route.id]!==void 0);Ue=Ue.slice(0,U+1)}C=!1,x=!0,Ue.forEach(U=>{let W=xre(U.route,me,Ee);C=C||W.renderFallback,x=x&&!W.shouldLoad})}else{x=!1,C=!x,b=[];let me=As(null,s.activeRoutes,e.history.location.pathname);me.active&&me.matches&&(y=!0,b=me.matches)}let T,_={historyAction:e.history.action,location:e.history.location,matches:b,initialized:x,renderFallback:C,navigation:AI,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||w,fetchers:new Map,blockers:new Map},P="POP",F=null,I=!1,R,D=!1,A=new Map,M=null,X=!1,Y=!1,se=new Set,ne=new Map,ie=0,ae=-1,ce=new Map,ke=new Set,ge=new Map,De=new Map,Ne=new Set,We=new Map,z,J=null;function j(){if(d=e.history.listen(({action:me,location:Ee,delta:Ue})=>{if(z){z(),z=void 0;return}xi(We.size===0||Ue!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let U=Ga({currentLocation:_.location,nextLocation:Ee,historyAction:me});if(U&&Ue!=null){let W=new Promise(Q=>{z=Q});e.history.go(Ue*-1),ka(U,{state:"blocked",location:Ee,proceed(){ka(U,{state:"proceeding",proceed:void 0,reset:void 0,location:Ee}),W.then(()=>e.history.go(Ue))},reset(){let Q=new Map(_.blockers);Q.set(U,ng),N({blockers:Q})}}),F==null||F.resolve(),F=null;return}return B(me,Ee)}),r){LEe(t,A);let me=()=>BEe(t,A);t.addEventListener("pagehide",me),M=()=>t.removeEventListener("pagehide",me)}return _.initialized||B("POP",_.location,{initialHydration:!0}),T}function q(){d&&d(),M&&M(),f.clear(),R&&R.abort(),_.fetchers.forEach((me,Ee)=>Ht(_.fetchers,Ee)),_.blockers.forEach((me,Ee)=>Ps(Ee))}function G(me){if(f.add(me),h){let{newErrors:Ee}=h;h=null,me(_,{deletedFetchers:[],newErrors:Ee,viewTransitionOpts:void 0,flushSync:!1})}return()=>f.delete(me)}function N(me,Ee={}){me.matches&&(me.matches=me.matches.map(W=>{let Q=o[W.route.id],te=W.route;return te.element!==Q.element||te.errorElement!==Q.errorElement||te.hydrateFallbackElement!==Q.hydrateFallbackElement?{...W,route:Q}:W})),_={..._,...me};let Ue=[],U=[];_.fetchers.forEach((W,Q)=>{W.state==="idle"&&(Ne.has(Q)?Ue.push(Q):U.push(Q))}),Ne.forEach(W=>{!_.fetchers.has(W)&&!ne.has(W)&&Ue.push(W)}),f.size===0&&(h={newErrors:me.errors??null}),[...f].forEach(W=>W(_,{deletedFetchers:Ue,newErrors:me.errors??null,viewTransitionOpts:Ee.viewTransitionOpts,flushSync:Ee.flushSync===!0})),Ue.forEach(W=>Ht(_.fetchers,W)),U.forEach(W=>_.fetchers.delete(W))}function O(me,Ee,{flushSync:Ue}={}){var Ae,we;let U=_.actionData!=null&&_.navigation.formMethod!=null&&io(_.navigation.formMethod)&&_.navigation.state==="loading"&&((Ae=me.state)==null?void 0:Ae._isRedirect)!==!0,W;Ee.actionData?Object.keys(Ee.actionData).length>0?W=Ee.actionData:W=null:U?W=_.actionData:W=null;let Q=Ee.loaderData?DU(_.loaderData,Ee.loaderData,Ee.matches||[],Ee.errors):_.loaderData,te=_.blockers;te.size>0&&(te=new Map(te),te.forEach((be,pe)=>te.set(pe,ng)));let le=X?!1:ko(me,Ee.matches||_.matches),K=I===!0||_.navigation.formMethod!=null&&io(_.navigation.formMethod)&&((we=me.state)==null?void 0:we._isRedirect)!==!0;s.commitHmrRoutes(),X||P==="POP"||(P==="PUSH"?e.history.push(me,me.state):P==="REPLACE"&&e.history.replace(me,me.state));let ye;if(P==="POP"){let be=A.get(_.location.pathname);be&&be.has(me.pathname)?ye={currentLocation:_.location,nextLocation:me}:A.has(me.pathname)&&(ye={currentLocation:me,nextLocation:_.location})}else if(D){let be=A.get(_.location.pathname);be?be.add(me.pathname):(be=new Set([me.pathname]),A.set(_.location.pathname,be)),ye={currentLocation:_.location,nextLocation:me}}N({...Ee,actionData:W,loaderData:Q,historyAction:P,location:me,initialized:!0,renderFallback:!1,navigation:AI,revalidation:"idle",restoreScrollPosition:le,preventScrollReset:K,blockers:te},{viewTransitionOpts:ye,flushSync:Ue===!0}),P="POP",I=!1,D=!1,X=!1,Y=!1,F==null||F.resolve(),F=null,J==null||J.resolve(),J=null}async function oe(me,Ee){if(F==null||F.resolve(),F=null,typeof me=="number"){F||(F=BU());let Le=F.promise;return e.history.go(me),Le}let Ue=n4(_.location,_.matches,l,me,Ee==null?void 0:Ee.fromRouteId,Ee==null?void 0:Ee.relative),{path:U,submission:W,error:Q}=kU(!1,Ue,Ee),te;Ee!=null&&Ee.mask&&(te={pathname:"",search:"",hash:"",...typeof Ee.mask=="str
58ing"?yd(Ee.mask):{..._.location.mask,...Ee.mask}});let le=_.location,K=ZS(le,U,Ee&&Ee.state,void 0,te);K={...K,...e.history.encodeLocation(K)};let ye=Ee&&Ee.replace!=null?Ee.replace:void 0,Ae="PUSH";ye===!0?Ae="REPLACE":ye===!1||W!=null&&io(W.formMethod)&&W.formAction===_.location.pathname+_.location.search&&(Ae="REPLACE");let we=Ee&&"preventScrollReset"in Ee?Ee.preventScrollReset===!0:void 0,be=(Ee&&Ee.flushSync)===!0,pe=Ga({currentLocation:le,nextLocation:K,historyAction:Ae});if(pe){ka(pe,{state:"blocked",location:K,proceed(){ka(pe,{state:"proceeding",proceed:void 0,reset:void 0,location:K}),oe(me,Ee)},reset(){let Le=new Map(_.blockers);Le.set(pe,ng),N({blockers:Le})}});return}await B(Ae,K,{submission:W,pendingError:Q,preventScrollReset:we,replace:Ee&&Ee.replace,enableViewTransition:Ee&&Ee.viewTransition,flushSync:be,callSiteDefaultShouldRevalidate:Ee&&Ee.defaultShouldRevalidate})}function Z(){J||(J=BU()),ut(),N({revalidation:"loading"});let me=J.promise;return _.navigation.state==="submitting"?me:_.navigation.state==="idle"?(B(_.historyAction,_.location,{startUninterruptedRevalidation:!0}),me):(B(P||_.historyAction,_.navigation.location,{overrideNavigation:_.navigation,enableViewTransition:D===!0}),me)}async function B(me,Ee,Ue){R&&R.abort(),R=null,P=me,X=(Ue&&Ue.startUninterruptedRevalidation)===!0,Jo(_.location,_.matches),I=(Ue&&Ue.preventScrollReset)===!0,D=(Ue&&Ue.enableViewTransition)===!0;let U=s.activeRoutes,W=Ue!=null&&Ue.initialHydration&&_.matches&&_.matches.length>0&&!y?_.matches:Pc(U,Ee,l,!1,s.branches),Q=(Ue&&Ue.flushSync)===!0;if(W&&_.initialized&&!Y&&_Ee(_.location,Ee)&&!(Ue&&Ue.submission&&io(Ue.submission.formMethod))){O(Ee,{matches:W},{flushSync:Q});return}let te=As(W,U,Ee.pathname);if(te.active&&te.matches&&(W=te.matches),!W){let{error:Je,notFoundMatches:Ge,route:Xe}=ii(Ee.pathname);O(Ee,{matches:Ge,loaderData:{},errors:{[Xe.id]:Je}},{flushSync:Q});return}let le=Ue&&Ue.overrideNavigation?{...Ue.overrideNavigation,matches:W,historyAction:me}:void 0;R=new AbortController;let K=og(e.history,Ee,R.signal,Ue&&Ue.submission),ye=e.getContext?await e.getContext():new bU,Ae;if(Ue&&Ue.pendingError)Ae=[lh(W).route.id,{type:"error",error:Ue.pendingError}];else if(Ue&&Ue.submission&&io(Ue.submission.formMethod)){let Je=await V(K,Ee,Ue.submission,W,me,ye,te.active,Ue&&Ue.initialHydration===!0,{replace:Ue.replace,flushSync:Q});if(Je.shortCircuited)return;
58if(Je.pendingActionResult){let[Ge,Xe]=Je.pendingActionResult;if(Bs(Xe)&&$S(Xe.error)&&Xe.error.status===404){R=null,O(Ee,{matches:Je.matches,loaderData:{},errors:{[Ge]:Xe.error}});return}}W=Je.matches||W,Ae=Je.pendingActionResult,le=OI(Ee,W,me,Ue.submission),Q=!1,te.active=!1,K=og(e.history,K.url,K.signal)}let{shortCircuited:we,matches:be,loaderData:pe,errors:Le,workingFetchers:Ke}=await de(K,Ee,W,me,ye,te.active,le,Ue&&Ue.submission,Ue&&Ue.fetcherSubmission,Ue&&Ue.replace,Ue&&Ue.initialHydration===!0,Q,Ae,Ue&&Ue.callSiteDefaultShouldRevalidate);we||(R=null,O(Ee,{matches:be||W,...NU(Ae),loaderData:pe,errors:Le,...Ke?{fetchers:Ke}:{}}))}async function V(me,Ee,Ue,U,W,Q,te,le,K={}){ut();let ye=NEe(Ee,U,W,Ue);if(N({navigation:ye},{flushSync:K.flushSync===!0}),te){let be=await vl(U,Ee.pathname,me.signal);if(be.type==="aborted")return{shortCircuited:!0};if(be.type==="error"){if(be.partialMatches.length===0){let{matches:Le,route:Ke}=sC(s.activeRoutes);return{matches:Le,pendingActionResult:[Ke.id,{type:"error",error:be.error}]}}let pe=lh(be.partialMatches).route.id;return{matches:be.partialMatches,pendingActionResult:[pe,{type:"error",error:be.error}]}}else if(be.matches)U=be.matches;else{let{notFoundMatches:pe,error:Le,route:Ke}=ii(Ee.pathname);return{matches:pe,pendingActionResult:[Ke.id,{type:"error",error:Le}]}}}let Ae,we=RE(U,Ee);if(!we.route.action&&!we.route.lazy)Ae={type:"error",error:Il(405,{method:me.method,pathname:Ee.pathname,routeId:we.route.id})};else{let be=Qg(a,o,me,Ee,U,we,le?[]:n,Q),pe=await at(me,Ee,be,Q,null);if(Ae=pe[we.route.id],!Ae){for(let Le of U)if(pe[Le.route.id]){Ae=pe[Le.route.id];break}}if(me.signal.aborted)return{shortCircuited:!0}}if(Jp(Ae)){let be;return K&&K.replace!=null?be=K.replace:be=IU(Ae.response.headers.get("Location"),new URL(me.url),l,e.history)===_.location.pathname+_.location.search,await _e(me,Ae,!0,{submission:Ue,replace:be}),{shortCircuited:!0}}if(Bs(Ae)){let be=lh(U,we.route.id);return(K&&K.replace)!==!0&&(P="PUSH"),{matches:U,pendingActionResult:[be.route.id,Ae,we.route.id]}}return{matches:U,pendingActionResult:[we.route.id,Ae]}}async function de(me,Ee,Ue,U,W,Q,te,le,K,ye,Ae,we,be,pe){let Le=te||OI(Ee,Ue,U,le),Ke=le||K||LU(Le),Je=!X&&!Ae;if(Q){if(Je){let Za=Pe(be);N({navigation:Le,...Za!==void 0?{actionData:Za}:{}},{flushSync:we})}let Gt=await vl(Ue,Ee.pathname,me.signal);if(Gt.type==="aborted")return{shortCircuited:!0};if(Gt.type==="error"){if(Gt.partialMatches.length===0){let{matches:Is,route:Sl}=sC(s.activeRoutes);return{matches:Is,loaderData:{},errors:{[Sl.id]:Gt.error}}}let Za=lh(Gt.partialMatches).route.id;return{matches:Gt.partialMatches,loaderData:{},errors:{[Za]:Gt.error}}}else if(Gt.matches)Ue=Gt.matches;else{let{error:Za,notFoundMatches:Is,route:Sl}=ii(Ee.pathname);return{matches:Is,loaderData:{},errors:{[Sl.id]:Za}}}}let Ge=s.activeRoutes,{dsMatches:Xe,revalidatingFetchers:At}=TU(me,W,a,o,e.history,_,Ue,Ke,Ee,Ae?[]:n,Ae===!0,Y,se,Ne,ge,ke,Ge,l,e.patchRoutesOnNavigation!=null,s.branches,be,pe);if(ae=++ie,!e.dataStrategy&&!Xe.some(Gt=>Gt.shouldLoad)&&!Xe.some(Gt=>Gt.route.middleware&&Gt.route.middleware.length>0)&&At.length===0){let Gt=new Map(_.fetchers),Za=da(Gt);return O(Ee,{matches:Ue,loaderData:{},errors:be&&Bs(be[1])?{[be[0]]:be[1].error}:null,...NU(be),...Za?{fetchers:Gt}:{}},{flushSync:we}),{shortCircuited:!0}}if(Je){let Gt={};if(!Q){Gt.navigation=Le;let Za=Pe(be);Za!==void 0&&(Gt.actionData=Za)}At.length>0&&(Gt.fetchers=ze(At)),N(Gt,{flushSync:we})}At.forEach(Gt=>{xe(Gt.key),Gt.controller&&ne.set(Gt.key,Gt.controller)});let Rr=()=>At.forEach(Gt=>xe(Gt.key));R&&R.signal.addEventListener("abort",Rr);let{loaderResults:Pr,fetcherResults:wn}=await rt(Xe,At,me,Ee,W);if(me.signal.aborted)return{shortCircuited:!0};R&&R.signal.removeEventListener("abort",Rr),At.forEach(Gt=>ne.delete(Gt.key));let ki=lC(Pr);if(ki)return await _e(me,ki.result,!0,{replace:ye}),{shortCircuited:!0};if(ki=lC(wn),ki)return ke.add(ki.key),await _e(me,ki.result,!0,{replace:ye}),{shortCircuited:!0};let Fi=new Map(_.fetchers),{loaderData:Os,errors:fa}=FU(_,Ue,Pr,be,At,wn,Fi);Ae&&_.errors&&(fa={..._.errors,...fa});let fu=da(Fi),Ka=_s(ae,Fi),P0=fu||Ka||At.length>0;return{matches:Ue,loaderData:Os,errors:fa,...P0?{workingFetchers:Fi}:{}}}function Pe(me){if(me&&!Bs(me[1]))return{[me[0]]:me[1].data};if(_.actionData)return Object.keys(_.actionData).length===0?null:_.actionData}function ze(me){let Ee=new Map(_.fetchers);return me.forEach(Ue=>{let U=Ee.get(Ue.key),W=m1(void 0,U?U.data:void 0);Ee.set(Ue.key,W)}),Ee}async function Se(me,Ee,Ue,U){xe(me);let W=(U&&U.flushSync)===!0,Q=s.activeRoutes,te=n4(_.location,_.matches,l,Ue,Ee,U==null?void 0:U.relative),le=Pc(Q,te,l,!1,s.branches),K=As(le,Q,te);if(K.active&&K.matches&&(le=K.matches),!le){rr(me,Ee,Il(404,{pathname:te}),{flushSync:W});return}let{path:ye,submission:Ae,error:we}=kU(!0,te,U);if(we){rr(me,Ee,we,{flushSync:W});return}let be=e.getContext?await e.getContext():new bU,pe=(U&&U.preventScrollReset)===!0;if(Ae&&io(Ae.formMethod)){await Me(me,Ee,ye,le,be,K.active,W,pe,Ae,U&&U.defaultShouldRevalidate);return}ge.set(me,{routeId:Ee,path:ye}),await Ze(me,Ee,ye,le,be,K.active,W,pe,Ae)}async function Me(me,Ee,Ue,U,W,Q,te,le,K,ye){ut(),ge.delete(me);let Ae=_.fetchers.get(me);Mt(me,MEe(K,Ae),{flushSync:te});let we=new AbortController,be=og(e.history,Ue,we.signal,K);if(Q){let Mn=await vl(U,new URL(be.url).pathname,be.signal,me);if(Mn.type==="aborted")return;if(Mn.type==="error"){rr(me,Ee,Mn.error,{flushSync:te});return}else if(Mn.matches)U=Mn.matches;else{rr(me,Ee,Il(404,{pathname:Ue}),{flushSync:te});return}}let pe=RE(U,Ue);if(!pe.route.action&&!pe.route.lazy){let Mn=Il(405,{method:K.formMethod,pathname:Ue,routeId:Ee});rr(me,Ee,Mn,{flushSync:te});return}ne.set(me,we);let Le=ie,Ke=Qg(a,o,be,Ue,U,pe,n,W),Je=await at(be,Ue,Ke,W,me),Ge=Je[pe.route.id];if(!Ge){for(let Mn of Ke)if(Je[Mn.route.id]){Ge=Je[Mn.route.id];break}}if(be.signal.aborted){ne.get(me)===we&&ne.delete(me);return}if(Ne.has(me)){if(Jp(Ge)||Bs(Ge)){Mt(me,Tu(void 0));return}}else{if(Jp(Ge))if(ne.delete(me),ae>Le){Mt(me,Tu(void 0));return}else return ke.add(me),Mt(me,m1(K)),_e(be,Ge,!1,{fetcherSubmission:K,preventScrollReset:le});if(Bs(Ge)){rr(me,Ee,Ge.error);return}}let Xe=_.navigation.location||_.location,At=og(e.history,Xe,we.signal),Rr=s.activeRoutes,Pr=_.navigation.state!=="idle"?Pc(Rr,_.navigation.location,l,!1,s.branches):_.matches;xr(Pr,"Didn't find any matches after fetcher action");let wn=++ie;ce.set(me,wn);let{dsMatches:ki,revalidatingFetchers:Fi}=TU(At,W,a,o,e.history,_,Pr,K,Xe,n,!1,Y,se,Ne,ge,ke,Rr,l,e.patchRoutesOnNavigation!=null,s.branches,[pe.route.id,Ge],ye),Os=m1(K,Ge.data),fa=new Map(_.fetchers);fa.set(me,Os),Fi.filter(Mn=>Mn.key!==me).forEach(Mn=>{let es=Mn.key,g2=fa.get(es),yp=m1(void 0,g2?g2.data:void 0);fa.set(es,yp),xe(es),Mn.controller&&ne.set(es,Mn.controller)}),N({fetchers:fa});let fu=()=>Fi.forEach(Mn=>xe(Mn.key));we.signal.addEventListener("abort",fu);let{loaderResults:Ka,fetcherResults:P0}=await rt(ki,Fi,At,Xe,W);if(we.signal.aborted)return;we.signal.removeEventListener("abort",fu),ce.delete(me),ne.delete(me),Fi.forEach(Mn=>ne.delete(Mn.key));let Gt=_.fetchers.has(me),Za=Mn=>{if(!Gt)return Mn;let es=new Map(Mn.fetchers);return es.set(me,Tu(Ge.data)),{...Mn,fetchers:es}},Is=lC(Ka);if(Is)return _=Za(_),_e(At,Is.result,!1,{preventScrollReset:le});if(Is=lC(P0),Is)return ke.add(Is.key),_=Za(_),_e(At,Is.result,!1,{preventScrollReset:le});let Sl=new Map(_.fetchers);Gt&&Sl.set(me,Tu(Ge.data));let{loaderData:m2,errors:Vy}=FU(_,Pr,Ka,void 0,Fi,P0,Sl);_s(wn,Sl),_.navigation.state==="loading"&&wn>ae?(xr(P,"Expected pending action"),R&&R.abort(),O(_.navigation.location,{matches:Pr,loaderData:m2,errors:Vy,fetchers:Sl})):(N({errors:Vy,loaderData:DU(_.loaderData,m2,Pr,Vy),fetchers:Sl}),Y=!1)}async function Ze(me,Ee,Ue,U,W,Q,te,le,K){let ye=_.fetchers.get(me);Mt(me,m1(K,ye?ye.data:void 0),{flushSync:te});let Ae=new AbortController,we=og(e.history,Ue,Ae.signal);if(Q){let Ge=await vl(U,new URL(we.url).pathname,we.signal,me);if(Ge.type==="aborted")return;if(Ge.type==="error"){rr(me,Ee,Ge.error,{flushSync:te});return}else if(Ge.matches)U=Ge.matches;else{rr(me,Ee,Il(404,{pathname:Ue}),{flushSync:te});return}}let be=RE(U,Ue);ne.set(me,Ae);let pe=ie,Le=Qg(a,o,we,Ue,U,be,n,W),Ke=await at(we,Ue,Le,W,me),Je=Ke[be.route.id];if(!Je){for(let Ge of U)if(Ke[Ge.route.id]){Je=Ke[Ge.route.id];break}}if(ne.get(me)===Ae&&ne.delete(me),!we.signal.aborted){if(Ne.has(me)){Mt(me,Tu(void 0));return}
58if(Jp(Je))if(ae>pe){Mt(me,Tu(void 0));return}else{ke.add(me),await _e(we,Je,!1,{preventScrollReset:le});return}if(Bs(Je)){rr(me,Ee,Je.error);return}Mt(me,Tu(Je.data))}}async function _e(me,Ee,Ue,{submission:U,fetcherSubmission:W,preventScrollReset:Q,replace:te}={}){Ue||(F==null||F.resolve(),F=null),Ee.response.headers.has("X-Remix-Revalidate")&&(Y=!0);let le=Ee.response.headers.get("Location");xr(le,"Expected a Location header on the redirect Response"),le=IU(le,new URL(me.url),l,e.history);let K=ZS(_.location,le,{_isRedirect:!0});if(r){let Le=!1;if(Ee.response.headers.has("X-Remix-Reload-Document"))Le=!0;else if(u6(le)){const Ke=cre(t,le,!0);Le=Ke.origin!==t.location.origin||Cs(Ke.pathname,l)==null}if(Le){te?t.location.replace(le):t.location.assign(le);return}}R=null;let ye=te===!0||Ee.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Ae,formAction:we,formEncType:be}=_.navigation;!U&&!W&&Ae&&we&&be&&(U=LU(_.navigation));let pe=U||W;if(cEe.has(Ee.response.status)&&pe&&io(pe.formMethod))await B(ye,K,{submission:{...pe,formAction:le},preventScrollReset:Q||I,enableViewTransition:Ue?D:void 0});else{let Le=OI(K,[],ye,U);await B(ye,K,{overrideNavigation:Le,fetcherSubmission:W,preventScrollReset:Q||I,enableViewTransition:Ue?D:void 0})}}async function at(me,Ee,Ue,U,W){var le;let Q,te={};try{Q=await SEe(c,me,Ee,Ue,W,U,!1)}catch(K){return Ue.filter(ye=>ye.shouldLoad).forEach(ye=>{te[ye.route.id]={type:"error",error:K}}),te}if(me.signal.aborted)return te;if(!io(me.method))for(let K of Ue){if(((le=Q[K.route.id])==null?void 0:le.type)==="error")break;!Q.hasOwnProperty(K.route.id)&&!_.loaderData.hasOwnProperty(K.route.id)&&(!_.errors||!_.errors.hasOwnProperty(K.route.id))&&K.shouldCallHandler()&&(Q[K.route.id]={type:"error",result:new Error(`No result returned from dataStrategy for route ${K.route.id}`)})}for(let[K,ye]of Object.entries(Q))if(IEe(ye)){let Ae=ye.result;te[K]={type:"redirect",response:EEe(Ae,me,K,Ue,l)}
58}else te[K]=await CEe(ye);return te}async function rt(me,Ee,Ue,U,W){let Q=at(Ue,U,me,W,null),te=Promise.all(Ee.map(async ye=>{if(ye.matches&&ye.match&&ye.request&&ye.controller){let we=(await at(ye.request,ye.path,ye.matches,W,ye.key))[ye.match.route.id];return{[ye.key]:we}}else return Promise.resolve({[ye.key]:{type:"error",error:Il(404,{pathname:ye.path})}})})),le=await Q,K=(await te).reduce((ye,Ae)=>Object.assign(ye,Ae),{});return{loaderResults:le,fetcherResults:K}}function ut(){Y=!0,ge.forEach((me,Ee)=>{ne.has(Ee)&&se.add(Ee),xe(Ee)})}function Mt(me,Ee,Ue={}){let U=new Map(_.fetchers);U.set(me,Ee),N({fetchers:U},{flushSync:(Ue&&Ue.flushSync)===!0})}function rr(me,Ee,Ue,U={}){let W=lh(_.matches,Ee),Q=new Map(_.fetchers);Ht(Q,me),N({errors:{[W.route.id]:Ue},fetchers:Q},{flushSync:(U&&U.flushSync)===!0})}function tt(me){return De.set(me,(De.get(me)||0)+1),Ne.has(me)&&Ne.delete(me),_.fetchers.get(me)||uEe}function nr(me,Ee){xe(me,Ee==null?void 0:Ee.reason),Mt(me,Tu(null))}function Ht(me,Ee){let Ue=_.fetchers.get(Ee);ne.has(Ee)&&!(Ue&&Ue.state==="loading"&&ce.has(Ee))&&xe(Ee),ge.delete(Ee),ce.delete(Ee),ke.delete(Ee),Ne.delete(Ee),se.delete(Ee),me.delete(Ee)}function un(me){let Ee=(De.get(me)||0)-1;Ee<=0?(De.delete(me),Ne.add(me)):De.set(me,Ee),N({fetchers:new Map(_.fetchers)})}function xe(me,Ee){let Ue=ne.get(me);Ue&&(Ue.abort(Ee),ne.delete(me))}function zn(me,Ee){for(let Ue of me){let U=Ee.get(Ue);
58xr(U,`Expected fetcher: ${Ue}`);let W=Tu(U.data);Ee.set(Ue,W)}}function da(me){let Ee=[],Ue=!1;for(let U of ke){let W=me.get(U);xr(W,`Expected fetcher: ${U}`),W.state==="loading"&&(ke.delete(U),Ee.push(U),Ue=!0)}return zn(Ee,me),Ue}function _s(me,Ee){let Ue=[];for(let[U,W]of ce)if(W<me){let Q=Ee.get(U);xr(Q,`Expected fetcher: ${U}`),Q.state==="loading"&&(xe(U),ce.delete(U),Ue.push(U))}return zn(Ue,Ee),Ue.length>0}function gl(me,Ee){let Ue=_.blockers.get(me)||ng;return We.get(me)!==Ee&&We.set(me,Ee),Ue}function Ps(me){_.blockers.delete(me),We.delete(me)}function ka(me,Ee){let Ue=_.blockers.get(me)||ng;xr(Ue.state==="unblocked"&&Ee.state==="blocked"||Ue.state==="blocked"&&Ee.state==="blocked"||Ue.state==="blocked"&&Ee.state==="proceeding"||Ue.state==="blocked"&&Ee.state==="unblocked"||Ue.state==="proceeding"&&Ee.state==="unblocked",`Invalid blocker state transition: ${Ue.state} -> ${Ee.state}`);let U=new Map(_.blockers);U.set(me,Ee),N({blockers:U})}function Ga({currentLocation:me,nextLocation:Ee,historyAction:Ue}){if(We.size===0)return;We.size>1&&xi(!1,"A router only supports one blocker at a time");let U=Array.from(We.entries()),[W,Q]=U[U.length-1],te=_.blockers.get(W);if(!(te&&te.state==="proceeding")&&Q({currentLocation:me,nextLocation:Ee,historyAction:Ue}))return W}function ii(me){let Ee=Il(404,{pathname:me}),Ue=s.activeRoutes,{matches:U,route:W}=sC(Ue);return{notFoundMatches:U,route:W,error:Ee}}function Xo(me,Ee,Ue){if(p=me,v=Ee,g=Ue||null,!m&&_.navigation===AI){m=!0;let U=ko(_.location,_.matches);U!=null&&N({restoreScrollPosition:U})}return()=>{p=null,v=null,g=null}}function Qo(me,Ee){return g&&g(me,Ee.map(U=>MCe(U,_.loaderData)))||me.key}function Jo(me,Ee){if(p&&v){let Ue=Qo(me,Ee);p[Ue]=v()}}function ko(me,Ee){if(p){let Ue=Qo(me,Ee),U=p[Ue];if(typeof U=="number")return U}return null}function As(me,Ee,Ue){if(e.patchRoutesOnNavigation){let U=s.branches;if(me){if(Object.keys(me[0].params).length>0)return{active:!0,matches:Pc(Ee,Ue,l,!0,U)}}else return{active:!0,matches:Pc(Ee,Ue,l,!0,U)||[]}}return{active:!1,matches:null}}async function vl(me,Ee,Ue,U){if(!e.patchRoutesOnNavigation)return{type:"success",matches:me};let W=me;for(;;){let Q=o;try{await e.patchRoutesOnNavigation({signal:Ue,path:Ee,matches:W,fetcherKey:U,patch:(ye,Ae)=>{Ue.aborted||_U(ye,Ae,s,Q,a,!1)}})}catch(ye){return{type:"error",error:ye,partialMatches:W}}if(Ue.aborted)return{type:"aborted"};let te=s.branches,le=Pc(s.activeRoutes,Ee,l,!1,te),K=null;if(le){if(Object.keys(le[0].params).length===0)return{type:"success",matches:le};if(K=Pc(s.activeRoutes,Ee,l,!0,te),!(K&&W.length<K.length&&yl(W,K.slice(0,W.length))))return{type:"success",matches:le}}if(K||(K=Pc(s.activeRoutes,Ee,l,!0,te)),!K||yl(W,K))return{type:"success",matches:null};W=K}}function yl(me,Ee){return me.length===Ee.length&&me.every((Ue,U)=>Ue.route.id===Ee[U].route.id)}function Ed(me){o={},s.setHmrRoutes(YS(me,a,void 0,o))}function bl(me,Ee,Ue=!1){_U(me,Ee,s,o,a,Ue),s.hasHMRRoutes||N({})}return T={get basename(){return l},get future(){return u},get state(){return _},get routes(){return s.stableRoutes},get branches(){return s.branches},get manifest(){return o},get window(){return t},initialize:j,subscribe:G,enableScrollRestoration:Xo,navigate:oe,fetch:Se,revalidate:Z,createHref:me=>e.history.createHref(me),encodeLocation:me=>e.history.encodeLocation(me),getFetcher:tt,resetFetcher:nr,deleteFetcher:un,dispose:q,getBlocker:gl,deleteBlocker:Ps,patchRoutes:bl,_internalFetchControllers:ne,_internalSetRoutes:Ed,_internalSetStateDoNotUseOrYouWillBreakYourApp(me){N(me)}},e.instrumentations&&(T=tEe(T,e.instrumentations.map(me=>me.router).filter(Boolean))),T}function pEe(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function n4(e,t,r,n,i,a){let o,s;if(i){o=[];for(let c of t)if(o.push(c),c.route.id===i){s=c;break}}else o=t,s=t[t.length-1];let l=hx(n||".",PP(o),Cs(e.pathname,r)||e.pathname,a==="path");if(n==null&&(l.search=e.search,l.hash=e.hash),(n==null||n===""||n===".")&&s){let c=p6(l.search);if(s.route.index&&!c)l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index";else if(!s.route.index&&c){let u=new URLSearchParams(l.search),d=u.getAll("index");u.delete("index"),d.filter(h=>
58h).forEach(h=>u.append("index",h));let f=u.toString();l.search=f?`?${f}`:""}}return r!=="/"&&(l.pathname=ZCe({basename:r,pathname:l.pathname})),ld(l)}function kU(e,t,r){if(!r||!pEe(r))return{path:t};if(r.formMethod&&!DEe(r.formMethod))return{path:t,error:Il(405,{method:r.formMethod})};let n=()=>({path:t,error:Il(400,{type:"invalid-body"})}),a=(r.formMethod||"get").toUpperCase(),o=Are(t);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!io(a))return n();let d=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((f,[h,p])=>`${f}${h}=${p}
59`,""):String(r.body);return{path:t,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:void 0,text:d}}}else if(r.formEncType==="application/json"){if(!io(a))return n();try{let d=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:t,submission:{formMethod:a,formAction:o,formEncType:r.formEncType,formData:void 0,json:d,text:void 0}}}catch{return n()}}}xr(typeof FormData=="function","FormData is not available in this environment");let s,l;if(r.formData)s=o4(r.formData),l=r.formData;else if(r.body instanceof FormData)s=o4(r.body),l=r.body;else if(r.body instanceof URLSearchParams)s=r.body,l=RU(s);else if(r.body==null)s=new URLSearchParams,l=new FormData;else try{s=new URLSearchParams(r.body),l=RU(s)}catch{return n()}let c={formMethod:a,formAction:o,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:l,json:void 0,text:void 0};if(io(c.formMethod))return{path:t,submission:c};let u=yd(t);return e&&u.search&&p6(u.search)&&s.append("index",""),u.search=`?${s}`,{path:ld(u),submission:c}}function TU(e,t,r,n,i,a,o,s,l,c,u,d,f,h,p,g,v,m,b,y,w,x){var X;let C=w?Bs(w[1])?w[1].error:w[1].data:void 0,T=i.createURL(a.location),_=i.createURL(l),P;if(u&&a.errors){let Y=Object.keys(a.errors)[0];P=o.findIndex(se=>se.route.id===Y)}else if(w&&Bs(w[1])){let Y=w[0];P=o.findIndex(se=>se.route.id===Y)-1}let F=w?w[1].statusCode:void 0,I=F&&F>=400,R={currentUrl:T,currentParams:((X=a.matches[0])==null?void 0:X.params)||{},nextUrl:_,nextParams:o[0].params,...s,actionResult:C,actionStatus:F},D=mx(o),A=o.map((Y,se)=>{let{route:ne}=Y,ie=null;if(P!=null&&se>P)ie=!1;else if(ne.lazy)ie=!0;else if(!f6(ne))ie=!1;else if(u){let{shouldLoad:ge}=xre(ne,a.loaderData,a.errors);ie=ge}else mEe(a.loaderData,a.matches[se],Y)&&(ie=!0);if(ie!==null)return i4(r,n,e,l,D,Y,c,t,ie);let ae=!1;typeof x=="boolean"?ae=x:I?ae=!1:(d||T.pathname+T.search===_.pathname+_.search||T.search!==_.search||gEe(a.matches[se],Y))&&(ae=!0);let ce={...R,defaultShouldRevalidate:ae},ke=_b(Y,ce);return i4(r,n,e,l,D,Y,c,t,ke,ce,x)}),M=[];return p.forEach((Y,se)=>{if(u||!o.some(Ne=>Ne.route.id===Y.routeId)||h.has(se))return;let ne=a.fetchers.get(se),ie=ne&&ne.state!=="idle"&&ne.data===void 0,ae=Pc(v,Y.path,m??"/",!1,y);if(!ae){if(b&&ie)return;M.push({key:se,routeId:Y.routeId,path:Y.path,matches:null,match:null,request:null,controller:null});return}if(g.has(se))return;let ce=RE(ae,Y.path),ke=new AbortController,ge=og(i,Y.path,ke.signal),De=null;if(f.has(se))f.delete(se),De=Qg(r,n,ge,Y.path,ae,ce,c,t);else if(ie)d&&(De=Qg(r,n,ge,Y.path,ae,ce,c,t));else{let Ne;typeof x=="boolean"?Ne=x:I?Ne=!1:Ne=d;let We={...R,defaultShouldRevalidate:Ne};_b(ce,We)&&(De=Qg(r,n,ge,Y.path,ae,ce,c,t,We))}De&&M.push({key:se,routeId:Y.routeId,path:Y.path,matches:De,match:ce,request:ge,controller:ke})}),{dsMatches:A,revalidatingFetchers:M}}function f6(e){return e.loader!=null||e.middleware!=null&&e.middleware.length>0}function xre(e,t,r){if(e.lazy)return{shouldLoad:!0,renderFallback:!0};if(!f6(e))return{shouldLoad:!1,renderFallback:!1};let n=t!=null&&e.id in t,i=r!=null&&r[e.id]!==void 0;if(!n&&i)return{shouldLoad:!1,renderFallback:!1};if(typeof e.loader=="function"&&e.loader.hydrate===!0)return{shouldLoad:!0,renderFallback:!n};let a=!n&&!i;return{shouldLoad:a,renderFallback:a}}function mEe(e,t,r){let n=!t||r.route.id!==t.route.id,i=!e.hasOwnProperty(r.route.id);return n||i}function gEe(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function _b(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}function _U(e,t,r,n,i,a){let o;if(e){let c=n[e];xr(c,`No route found to patch children into: routeId = ${e}`),c.children||(c.children=[]),o=c.children}else o=r.activeRoutes;let s=[],l=[];
59if(t.forEach(c=>{let u=o.find(d=>Cre(c,d));u?l.push({existingRoute:u,newRoute:c}):s.push(c)}),s.length>0){let c=YS(s,i,[e||"_","patch",String((o==null?void 0:o.length)||"0")],n);o.push(...c)}if(a&&l.length>0)for(let c=0;c<l.length;c++){let{existingRoute:u,newRoute:d}=l[c],f=u,[h]=YS([d],i,[],{},!0);Object.assign(f,{element:h.element?h.element:f.element,errorElement:h.errorElement?h.errorElement:f.errorElement,hydrateFallbackElement:h.hydrateFallbackElement?h.hydrateFallbackElement:f.hydrateFallbackElement})}r.hasHMRRoutes||r.setRoutes([...r.activeRoutes])}function Cre(e,t){var r;return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:((r=e.children)==null?void 0:r.every((n,i)=>{var a;return(a=t.children)==null?void 0:a.some(o=>Cre(n,o))}))??!1:!1}var PU=new WeakMap,Ere=({key:e,route:t,manifest:r,mapRouteProperties:n})=>{let i=r[t.id];if(xr(i,"No route found in manifest"),!i.lazy||typeof i.lazy!="object")return;let a=i.lazy[e];if(!a)return;let o=PU.get(i);o||(o={},PU.set(i,o));let s=o[e];if(s)return s;let l=(async()=>{let c=RCe(e),d=i[e]!==void 0&&e!=="hasErrorBoundary";if(c)xi(!c,"Route property "+e+" is not a supported lazy route property. This property will be ignored."),o[e]=Promise.resolve();else if(d)xi(!1,`Route "${i.id}" has a static property "${e}" defined. The lazy property will be ignored.`);else{let f=await a();f!=null&&(Object.assign(i,{[e]:f}),Object.assign(i,n(i)))}typeof i.lazy=="object"&&(i.lazy[e]=void 0,Object.values(i.lazy).every(f=>f===void 0)&&(i.lazy=void 0))})();return o[e]=l,l},AU=new WeakMap;function vEe(e,t,r,n,i){let a=r[e.id];if(xr(a,"No route found in manifest"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy=="function"){let u=AU.get(a);if(u)return{lazyRoutePromise:u,lazyHandlerPromise:u};let d=(async()=>{xr(typeof e.lazy=="function","No lazy route function found");let f=await e.lazy(),h={};for(let p in f){let g=f[p];if(g===void 0)continue;let v=DCe(p),b=a[p]!==void 0&&p!=="hasErrorBoundary";v?xi(!v,"Route property "+p+" is not a supported property to be returned from a lazy route function. This property will be ignored."):b?xi(!b,`Route "${a.id}" has a static property "${p}" defined but its lazy function is also returning a value for this property. The lazy route property "${p}" will be ignored.`):h[p]=g}Object.assign(a,h),Object.assign(a,{...n(a),lazy:void 0})})();return AU.set(a,d),d.catch(()=>{}),{lazyRoutePromise:d,lazyHandlerPromise:d}}let o=Object.keys(e.lazy),s=[],l;for(let u of o){if(i&&i.includes(u))continue;let d=Ere({key:u,route:e,manifest:r,mapRouteProperties:n});d&&(s.push(d),u===t&&(l=d))}let c=s.length>0?Promise.all(s).then(()=>{}):void 0;return c==null||c.catch(()=>{}),l==null||l.catch(()=>{}),{lazyRoutePromise:c,lazyHandlerPromise:l}}async function OU(e){let t=e.matches.filter(i=>i.shouldLoad),r={};return(await Promise.all(t.map(i=>i.resolve()))).forEach((i,a)=>{r[t[a].route.id]=i}),r}async function yEe(e){return e.matches.some(t=>t.route.middleware)?kre(e,()=>OU(e)):OU(e)}function kre(e,t){return bEe(e,t,n=>{if(FEe(n))throw n;return n},AEe,r);function r(n,i,a){if(a)return Promise.resolve(Object.assign(a.value,{[i]:{type:"error",result:n}}));{let{matches:o}=e,s=Math.min(Math.max(o.findIndex(c=>c.route.id===i),0),Math.max(o.findIndex(c=>c.shouldCallHandler()),0)),l=lh(o,o[s].route.id).route.id;return Promise.resolve({[l]:{type:"error",result:n}})}}}async function bEe(e,t,r,n,i){let{matches:a,...o}=e,s=a.flatMap(c=>c.route.middleware?c.route.middleware.map(u=>[c.route.id,u]):[]);return await Tre(o,s,t,r,n,i)}async function Tre(e,t,r,n,i,a,o=0){let{request:s}=e;if(s.signal.aborted)throw s.signal.reason??new Error(`Request aborted: ${s.method} ${s.url}`);let l=t[o];if(!l)return await r();let[c,u]=l,d,f=async()=>{if(d)throw new Error("You may only call `next()` once per middleware");try{return d={value:await Tre(e,t,r,n,i,a,o+1)},d.value}catch(h){return d={value:await a(h,c,d)},d.value}};try{let h=await u(e,f),p=h!=null?n(h):void 0;return i(p)?p:d?p??d.value:(d={value:await f()},d.value)}catch(h){return await a(h,c,d)}}function _re(e,t,r,n,i){let a=Ere({key:"middleware",route:n.route,manifest:t,mapRouteProperties:e}),o=vEe(n.route,io(r.method)?"action":"loader",t,e,i);return{middleware:a,route:o.lazyRoutePromise,handler:o.lazyHandlerPromise}}function i4(e,t,r,n,i,a,o,s,l,c=null,u){let d=!1,f=_re(e,t,r,a,o);return{...a,_lazyPromises:f,shouldLoad:l,shouldRevalidateArgs:c,shouldCallHandler(h){return d=!0,c?typeof u=="boolean"?_b(a,{...c,defaultShouldRevalidate:u}):typeof h=="boolean"?_b(a,{...c,defaultShouldRevalidate:h}):_b(a,c):l},resolve(h){let{lazy:p,loader:g,middleware:v}=a.route,m=d||l||h&&!io(r.method)&&(p||g),b=v&&v.length>0&&!g&&!p;return m&&(io(r.method)||!b)?wEe({request:r,path:n,pattern:i,match:a,lazyHandlerPromise:f==null?void 0:f.handler,lazyRoutePromise:f==null?void 0:f.route,handlerOverride:h,scopedContext:s}):Promise.resolve({type:"data",result:void 0})}}}function Qg(e,t,r,n,i,a,o,s,l=null){return i.map(c=>c.route.id!==a.route.id?{...c,shouldLoad:!1,shouldRevalidateArgs:l,shouldCallHandler:()=>!1,_lazyPromises:_re(e,t,r,c,o),resolve:()=>Promise.resolve({type:"data",result:void 0})}:i4(e,t,r,n,mx(i),c,o,s,!0,l))}async function SEe(e,t,r,n,i,a,o){n.some(u=>{var d;return(d=u._lazyPromises)==null?void 0:d.middleware})&&await Promise.all(n.map(u=>{var d;return(d=u._lazyPromises)==null?void 0:d.middleware}));let s={request:t,url:Pre(t,r),pattern:mx(n),params:n[0].params,context:a,matches:n},c=await e({...s,fetcherKey:i,runClientMiddleware:u=>{let d=s;return kre(d,()=>u({...d,fetcherKey:i,runClientMiddleware:()=>{throw new Error("Cannot call `runClientMiddleware()` from within an `runClientMiddleware` handler")}}))}});try{await Promise.all(n.flatMap(u=>{var d,f;return[(d=u._lazyPromises)==null?void 0:d.handler,(f=u._lazyPromises)==null?void 0:f.route]}))}catch{}return c}async function wEe({request:e,path:t,pattern:r,match:n,lazyHandlerPromise:i,lazyRoutePromise:a,handlerOverride:o,scopedContext:s}){let l,c,u=io(e.method),d=u?"action":"loader",f=h=>{let p,g=new Promise((b,y)=>p=y);c=()=>p(),e.signal.addEventListener("abort",c);let v=b=>typeof h!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${d}" [routeId: ${n.route.id}]`)):h({request:e,url:Pre(e,t),pattern:r,params:n.params,context:s},...b!==void 0?[b]:[]),m=(async()=>{try{return{type:"data",result:await(o?o(y=>v(y)):v())}}catch(b){return{type:"error",result:b}}})();return Promise.race([m,g])};try{let h=u?n.route.action:n.route.loader;if(i||a)if(h){let p,[g]=await Promise.all([f(h).catch(v=>{p=v}),i,a]);if(p!==void 0)throw p;l=g}else{await i;let p=u?n.route.action:n.route.loader;if(p)[l]=await Promise.all([f(p),a]);else if(d==="action"){let g=new URL(e.url),v=g.pathname+g.search;throw Il(405,{method:e.method,pathname:v,routeId:n.route.id})}else return{type:"data",result:void 0}}
59else if(h)l=await f(h);else{let p=new URL(e.url),g=p.pathname+p.search;throw Il(404,{pathname:g})}}catch(h){return{type:"error",result:h}}finally{c&&e.signal.removeEventListener("abort",c)}return l}async function xEe(e){let t=e.headers.get("Content-Type");return t&&/\bapplication\/json\b/.test(t)?e.body==null?null:e.json():e.text()}async function CEe(e){var n,i,a,o,s;let{result:t,type:r}=e;if(h6(t)){let l;try{l=await xEe(t)}catch(c){return{type:"error",error:c}}return r==="error"?{type:"error",error:new px(t.status,t.statusText,l),statusCode:t.status,headers:t.headers}:{type:"data",data:l,statusCode:t.status,headers:t.headers}}return r==="error"?MU(t)?t.data instanceof Error?{type:"error",error:t.data,statusCode:(n=t.init)==null?void 0:n.status,headers:(i=t.init)!=null&&i.headers?new Headers(t.init.headers):void 0}:{type:"error",error:PEe(t),statusCode:$S(t)?t.status:void 0,headers:(a=t.init)!=null&&a.headers?new Headers(t.init.headers):void 0}:{type:"error",error:t,statusCode:$S(t)?t.status:void 0}:MU(t)?{type:"data",data:t.data,statusCode:(o=t.init)==null?void 0:o.status,headers:(s=t.init)!=null&&s.headers?new Headers(t.init.headers):void 0}:{type:"data",data:t}}function EEe(e,t,r,n,i){let a=e.headers.get("Location");if(xr(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!u6(a)){let o=n.slice(0,n.findIndex(s=>s.route.id===r)+1);a=n4(new URL(t.url),o,i,a),e.headers.set("Location",a)}return e}var kEe=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function a4(e){try{return kEe.includes(new URL(e).protocol)}catch{return!1}}function IU(e,t,r,n){if(u6(e)){let i=e,a=l6.test(i)?new URL(lre(i,t.protocol)):new URL(i);if(a4(a.toString()))throw new Error("Invalid redirect location");let o=Cs(a.pathname,r)!=null;if(a.origin===t.origin&&o)return d6(a.pathname)+a.search+a.hash}try{let i=n.createURL(e);if(a4(i.toString()))throw new Error("Invalid redirect location")}catch{}return e}function og(e,t,r,n){let i=e.createURL(Are(t)).toString(),a={signal:r};if(n&&io(n.formMethod)){let{formMethod:o,formEncType:s}=n;a.method=o.toUpperCase(),s==="application/json"?(a.headers=new Headers({"Content-Type":s}),a.body=JSON.stringify(n.json)):s==="text/plain"?a.body=n.text:s==="application/x-www-form-urlencoded"&&n.formData?a.body=o4(n.formData):a.body=n.formData}return new Request(i,a)}function Pre(e,t){let r=new URL(e.url),n=typeof t=="string"?yd(t):t;if(r.pathname=n.pathname||"/",n.search){let i=new URLSearchParams(n.search),a=i.getAll("index");i.delete("index");for(let o of a.filter(Boolean))i.append("index",o);r.search=i.size?`?${i.toString()}`:""}else r.search="";return r.hash=n.hash||"",r}function o4(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function RU(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function TEe(e,t,r,n=!1,i=!1){let a={},o=null,s,l=!1,c={},u=r&&Bs(r[1])?r[1].error:void 0;return e.forEach(d=>{if(!(d.route.id in t))return;let f=d.route.id,h=t[f];if(xr(!Jp(h),"Cannot handle redirect results in processLoaderData"),Bs(h)){let p=h.error;if(u!==void 0&&(p=u,u=void 0),o=o||{},i)o[f]=p;else{let g=lh(e,f);o[g.route.id]==null&&(o[g.route.id]=p)}n||(a[f]=wre),l||(l=!0,s=$S(h.error)?h.error.status:500),h.headers&&(c[f]=h.headers)}else a[f]=h.data,h.statusCode&&h.statusCode!==200&&!l&&(s=h.statusCode),h.headers&&(c[f]=h.headers)}
59),u!==void 0&&r&&(o={[r[0]]:u},r[2]&&(a[r[2]]=void 0)),{loaderData:a,errors:o,statusCode:s||200,loaderHeaders:c}}function FU(e,t,r,n,i,a,o){let{loaderData:s,errors:l}=TEe(t,r,n);return i.filter(c=>!c.matches||c.matches.some(u=>u.shouldLoad)).forEach(c=>{let{key:u,match:d,controller:f}=c;if(f&&f.signal.aborted)return;let h=a[u];if(xr(h,"Did not find corresponding fetcher result"),Bs(h)){let p=lh(e.matches,d==null?void 0:d.route.id);l&&l[p.route.id]||(l={...l,[p.route.id]:h.error}),o.delete(u)}else if(Jp(h))xr(!1,"Unhandled fetcher revalidation redirect");else{let p=Tu(h.data);o.set(u,p)}}),{loaderData:s,errors:l}}function DU(e,t,r,n){let i=Object.entries(t).filter(([,a])=>a!==wre).reduce((a,[o,s])=>(a[o]=s,a),{});for(let a of r){let o=a.route.id;if(!t.hasOwnProperty(o)&&e.hasOwnProperty(o)&&a.route.loader&&(i[o]=e[o]),n&&n.hasOwnProperty(o))break}return i}function NU(e){return e?Bs(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function lh(e,t){return(t?e.slice(0,e.findIndex(n=>n.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function sC(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Il(e,{pathname:t,routeId:r,method:n,type:i,message:a}={}){let o="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(o="Bad Request",n&&t&&r?s=`You made a ${n} request to "${t}" but did not provide a \`loader\` for route "${r}", so there is no way to handle the request.`:i==="invalid-body"&&(s="Unable to encode submission body")):e===403?(o="Forbidden",s=`Route "${r}" does not match URL "${t}"`):e===404?(o="Not Found",s=`No route matches URL "${t}"`):e===405&&(o="Method Not Allowed",n&&t&&r?s=`You made a ${n.toUpperCase()} request to "${t}" but did not provide an \`action\` for route "${r}", so there is no way to handle the request.`:n&&(s=`Invalid request method "${n.toUpperCase()}"`)),new px(e||500,o,new Error(s),!0)}function lC(e){let t=Object.entries(e);for(let r=t.length-1;r>=0;r--){let[n,i]=t[r];if(Jp(i))return{key:n,result:i}}}function Are(e){let t=typeof e=="string"?yd(e):e;return ld({...t,hash:""})}function _Ee(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function PEe(e){var t,r;return new px(((t=e.init)==null?void 0:t.status)??500,((r=e.init)==null?void 0:r.statusText)??"Internal Server Error",e.data)}function AEe(e){return e!=null&&typeof e=="object"&&Object.entries(e).every(([t,r])=>typeof t=="string"&&OEe(r))}function OEe(e){return e!=null&&typeof e=="object"&&"type"in e&&"result"in e&&(e.type==="data"||e.type==="error")}function IEe(e){return h6(e.result)&&bre.has(e.result.status)}function Bs(e){return e.type==="error"}function Jp(e){return(e&&e.type)==="redirect"}function MU(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function h6(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function REe(e){return bre.has(e)}function FEe(e){return h6(e)&&REe(e.status)&&e.headers.has("Location")}function DEe(e){return lEe.has(e.toUpperCase())}function io(e){return oEe.has(e.toUpperCase())}function p6(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function RE(e,t){let r=typeof t=="string"?yd(t).search:t.search;if(e[e.length-1].route.index&&p6(r||""))return e[e.length-1];let n=pre(e);return n[n.length-1]}function LU(e){let{formMethod:t,formAction:r,formEncType:n,text:i,formData:a,json:o}=e;if(!(!t||!r||!n)){if(i!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:i};if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:a,json:void 0,text:void 0};if(o!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:o,text:void 0}}}function OI(e,t,r,n){return n?{state:"loading",location:e,matches:t,historyAction:r,formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text}:{state:"loading",location:e,matches:t,historyAction:r,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function NEe(e,t,r,n){return{state:"submitting",location:e,matches:t,historyAction:r,formMethod:n.formMethod,formAction:n.formAction,formEncType:n.formEncType,formData:n.formData,json:n.json,text:n.text}}function m1(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function MEe(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Tu(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function LEe(e,t){try{let r=e.sessionStorage.getItem(Sre);if(r){let n=JSON.parse(r);for(let[i,a]of Object.entries(n||{}))a&&Array.isArray(a)&&t.set(i,new Set(a||[]))}}catch{}}function BEe(e,t){if(t.size>0){let r={};for(let[n,i]of t)r[n]=[...i];try{e.sessionStorage.setItem(Sre,JSON.stringify(r))}catch(n){xi(!1,`Failed to save applied view transitions in sessionStorage (${n}).`)}}}function BU(){let e,t,r=new Promise((n,i)=>{e=async a=>{n(a);try{await r}catch{}},t=async a=>{i(a);try{await r}catch{}}});return{promise:r,resolve:e,reject:t}}var o0=k.createContext(null);o0.displayName="DataRouter";var gx=k.createContext(null);gx.displayName="DataRouterState";var Ore=k.createContext(!1);function Ire(){return k.useContext(Ore)}var m6=k.createContext({isTransitioning:!1});m6.displayName="ViewTransition";var Rre=k.createContext(new Map);Rre.displayName="Fetchers";var UEe=k.createContext(null);UEe.displayName="Await";
59var pl=k.createContext(null);pl.displayName="Navigation";var vx=k.createContext(null);vx.displayName="Location";var mc=k.createContext({outlet:null,matches:[],isDataRoute:!1});mc.displayName="Route";var g6=k.createContext(null);g6.displayName="RouteError";var Fre="REACT_ROUTER_ERROR",zEe="REDIRECT",HEe="ROUTE_ERROR_RESPONSE";function qEe(e){if(e.startsWith(`${Fre}:${zEe}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function WEe(e){if(e.startsWith(`${Fre}:${HEe}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new px(t.status,t.statusText,t.data)}catch{}}function VEe(e,{relative:t}={}){xr(cy(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=k.useContext(pl),{hash:i,pathname:a,search:o}=yx(e,{relative:t}),s=a;return r!=="/"&&(s=a==="/"?r:Ql([r,a])),n.createHref({pathname:s,search:o,hash:i})}function cy(){return k.useContext(vx)!=null}function ua(){return xr(cy(),"useLocation() may be used only in the context of a <Router> component."),k.useContext(vx).location}function jEe(){return k.useContext(vx).navigationType}var Dre="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Nre(e){k.useContext(pl).static||k.useLayoutEffect(e)}function sp(){let{isDataRoute:e}=k.useContext(mc);return e?ake():GEe()}function GEe(){xr(cy(),"useNavigate() may be used only in the context of a <Router> component.");let e=k.useContext(o0),{basename:t,navigator:r}=k.useContext(pl),{matches:n}=k.useContext(mc),{pathname:i}=ua(),a=JSON.stringify(PP(n)),o=k.useRef(!1);return Nre(()=>{o.current=!0}),k.useCallback((l,c={})=>{if(xi(o.current,Dre),!o.current)return;if(typeof l=="number"){r.go(l);return}let u=hx(l,JSON.parse(a),i,c.relative==="path");e==null&&t!=="/"&&(u.pathname=u.pathname==="/"?t:Ql([t,u.pathname])),(c.replace?r.replace:r.push)(u,c.state,c)},[t,r,a,i,e])}var KEe=k.createContext(null);function ZEe(e){let t=k.useContext(mc).outlet;return k.useMemo(()=>t&&k.createElement(KEe.Provider,{value:e},t),[t,e])}function v6(){let{matches:e}=k.useContext(mc),t=e[e.length-1];return(t==null?void 0:t.params)??{}}function yx(e,{relative:t}={}){let{matches:r}=k.useContext(mc),{pathname:n}=ua(),i=JSON.stringify(PP(r));return k.useMemo(()=>hx(e,JSON.parse(i),n,t==="path"),[e,i,n,t])}function YEe(e,t,r){xr(cy(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:n}=k.useContext(pl),{matches:i}=k.useContext(mc),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:"/",l=a?a.pathnameBase:"/",c=a&&a.route;{let v=c&&c.path||"";Ure(s,!c||v.endsWith("*")||v.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${v}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
60
61Please change the parent <Route path="${v}"> to <Route path="${v==="/"?"*":`${v}/*`}">.`)}let u=ua(),d;d=u;let f=d.pathname||"/",h=f;if(l!=="/"){let v=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(v.length).join("/")}let p=r&&r.state.matches.length?r.state.matches.map(v=>Object.assign(v,{route:r.manifest[v.route.id]||v.route})):c6(e,{pathname:h});return xi(c||p!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),xi(p==null||p[p.length-1].route.element!==void 0||p[p.length-1].route.Component!==void 0||p[p.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`),eke(p&&p.map(v=>Object.assign({},v,{params:Object.assign({},o,v.params),pathname:Ql([l,n.encodeLocation?n.encodeLocation(v.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:Ql([l,n.encodeLocation?n.encodeLocation(v.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:v.pathnameBase])})),i,r)}function $Ee(){let e=nke(),t=$S(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:n},a={padding:"2px 4px",backgroundColor:n},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=k.createElement(k.Fragment,null,k.createElement("p",null,"💿 Hey developer 👋"),k.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",k.createElement("code",{style:a},"ErrorBoundary")," or"," ",k.createElement("code",{style:a},"errorElement")," prop on your route.")),k.createElement(k.Fragment,null,k.createElement("h2",null,"Unexpected Application 
61Error!"),k.createElement("h3",{style:{fontStyle:"italic"}},t),r?k.createElement("pre",{style:i},r):null,o)}var XEe=k.createElement($Ee,null),Mre=class extends k.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=WEe(e.digest);r&&(e=r)}let t=e!==void 0?k.createElement(mc.Provider,{value:this.props.routeContext},k.createElement(g6.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?k.createElement(QEe,{error:e},t):t}};Mre.contextType=Ore;var II=new WeakMap;function QEe({children:e,error:t}){let{basename:r}=k.useContext(pl);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let n=qEe(t.digest);if(n){let i=II.get(t);if(i)throw i;let a=gre(n.location,r),o=a.absoluteURL||a.to;if(a4(o))throw new Error("Invalid redirect location");if(mre&&!II.get(t))if(a.isExternal||n.reloadDocument)window.location.href=o;else{const s=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:n.replace}));throw II.set(t,s),s}return k.createElement("meta",{httpEquiv:"refresh",content:`0;url=${o}`})}}return e}function JEe({routeContext:e,match:t,children:r}){let n=k.useContext(o0);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),k.createElement(mc.Provider,{value:e},r)}function eke(e,t=[],r){let n=r==null?void 0:r.state;if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=n==null?void 0:n.errors;if(a!=null){let u=i.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);xr(u>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,u+1))}let o=!1,s=-1;if(r&&n){o=n.renderFallback;for(let u=0;u<i.length;u++){let d=i[u];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(s=u),d.route.id){let{loaderData:f,errors:h}=n,p=d.route.loader&&!f.hasOwnProperty(d.route.id)&&(!h||h[d.route.id]===void 0);if(d.route.lazy||p){r.isStatic&&(o=!0),s>=0?i=i.slice(0,s+1):i=[i[0]];break}}}}let l=r==null?void 0:r.onError,c=n&&l?(u,d)=>{var f,h;l(u,{location:n.location,params:((h=(f=n.matches)==null?void 0:f[0])==null?void 0:h.params)??{},pattern:mx(n.matches),errorInfo:d})}:void 0;return i.reduceRight((u,d,f)=>{let h,p=!1,g=null,v=null;n&&(h=a&&d.route.id?a[d.route.id]:void 0,g=d.route.errorElement||XEe,o&&(s<0&&f===0?(Ure("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),p=!0,v=null):s===f&&(p=!0,v=d.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,f+1)),b=()=>{let y;return h?y=g:p?y=v:d.route.Component?y=k.createElement(d.route.Component,null):d.route.element?y=d.route.element:y=u,k.createElement(JEe,{match:d,routeContext:{outlet:u,matches:m,isDataRoute:n!=null},children:y})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?k.createElement(Mre,{location:n.location,revalidation:n.revalidation,component:g,error:h,children:b(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:c}):b()},null)}function y6(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Lre(e){let t=k.useContext(o0);return xr(t,y6(e)),t}function Bre(e){let t=k.useContext(gx);return xr(t,y6(e)),t}function tke(e){let t=k.useContext(mc);return xr(t,y6(e)),t}function b6(e){let t=tke(e),r=t.matches[t.matches.length-1];return xr(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function rke(){return b6("useRouteId")}function nke(){var n;let e=k.useContext(g6),t=Bre("useRouteError"),r=b6("useRouteError");return e!==void 0?e:(n=t.errors)==null?void 0:n[r]}var ike=0;function Pxt(e){let{router:t,basename:r}=Lre("useBlocker"),n=Bre("useBlocker"),[i,a]=k.useState(""),o=k.useCallback(s=>{if(typeof e!="function")return!!e;if(r==="/")return e(s);let{currentLocation:l,nextLocation:c,historyAction:u}=s;return e({currentLocation:{...l,pathname:Cs(l.pathname,r)||l.pathname},nextLocation:{...c,pathname:Cs(c.pathname,r)||c.pathname},historyAction:u})},[r,e]);return k.useEffect(()=>{let s=String(++ike);return a(s),()=>t.deleteBlocker(s)},[t]),k.useEffect(()=>{i!==""&&t.getBlocker(i,o)},[t,i,o]),i&&n.blockers.has(i)?n.blockers.get(i):ng}function ake(){let{router:e}=Lre("useNavigate"),t=b6("useNavigate"),r=k.useRef(!1);return Nre(()=>{r.current=!0}),k.useCallback(async(i,a={})=>{xi(r.current,Dre),r.current&&(typeof i=="number"?await e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var UU={};function Ure(e,t,r){!t&&!UU[e]&&(UU[e]=!0,xi(!1,r))}var zU={};function HU(e,t){!e&&!zU[t]&&(zU[t]=!0,console.warn(t))}var oke="useOptimistic",qU=kR[oke],ske=()=>{};function lke(e){return qU?qU(e):[e,ske]}function cke(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&xi(!1,"You should not include both `Component` and `element` on your route - `Component` will be used."),Object.assign(t,{element:k.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&xi(!1,"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used."),Object.assign(t,{hydrateFallbackElement:k.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&xi(!1,"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used."),Object.assign(t,{errorElement:k.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var uke=["HydrateFallback","hydrateFallbackElement"],dke=class{constructor(){this.status="pending",this.promise=new Promise((e,t)=>
61{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",e(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",t(r))}})}};function fke({router:e,flushSync:t,onError:r,useTransitions:n}){n=Ire()||n;let[a,o]=k.useState(e.state),[s,l]=lke(a),[c,u]=k.useState(),[d,f]=k.useState({isTransitioning:!1}),[h,p]=k.useState(),[g,v]=k.useState(),[m,b]=k.useState(),y=k.useRef(new Map),w=k.useCallback((_,{deletedFetchers:P,newErrors:F,flushSync:I,viewTransitionOpts:R})=>{F&&r&&Object.values(F).forEach(A=>{var M;return r(A,{location:_.location,params:((M=_.matches[0])==null?void 0:M.params)??{},pattern:mx(_.matches)})}),_.fetchers.forEach((A,M)=>{A.data!==void 0&&y.current.set(M,A.data)}),P.forEach(A=>y.current.delete(A)),HU(I===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable.  Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let D=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition=="function";if(HU(R==null||D,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!R||!D){t&&I?t(()=>o(_)):n===!1?o(_):k.startTransition(()=>{n===!0&&l(A=>WU(A,_)),o(_)});return}if(t&&I){t(()=>{g&&(h==null||h.resolve(),g.skipTransition()),f({isTransitioning:!0,flushSync:!0,currentLocation:R.currentLocation,nextLocation:R.nextLocation})});let A=e.window.document.startViewTransition(()=>{t(()=>o(_))});A.finished.finally(()=>{t(()=>{p(void 0),v(void 0),u(void 0),f({isTransitioning:!1})})}),t(()=>v(A));return}g?(h==null||h.resolve(),g.skipTransition(),b({state:_,currentLocation:R.currentLocation,nextLocation:R.nextLocation})):(u(_),f({isTransitioning:!0,flushSync:!1,currentLocation:R.currentLocation,nextLocation:R.nextLocation}))},[e.window,t,g,h,n,l,r]);k.useLayoutEffect(()=>e.subscribe(w),[e,w]),k.useEffect(()=>{d.isTransitioning&&!d.flushSync&&p(new dke)},[d]),k.useEffect(()=>{if(h&&c&&e.window){let _=c,P=h.promise,F=e.window.document.startViewTransition(async()=>{n===!1?o(_):k.startTransition(()=>{n===!0&&l(I=>WU(I,_)),o(_)}),await P});F.finished.finally(()=>{p(void 0),v(void 0),u(void 0),f({isTransitioning:!1})}),v(F)}},[c,h,e.window,n,l]),k.useEffect(()=>{h&&c&&s.location.key===c.location.key&&h.resolve()},[h,g,s.location,c]),k.useEffect(()=>{!d.isTransitioning&&m&&(u(m.state),f({isTransitioning:!0,flushSync:!1,currentLocation:m.currentLocation,nextLocation:m.nextLocation}),b(void 0))},[d.isTransitioning,m]);let x=k.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:_=>e.navigate(_),push:(_,P,F)=>e.navigate(_,{state:P,preventScrollReset:F==null?void 0:F.preventScrollReset}),replace:(_,P,F)=>e.navigate(_,{replace:!0,state:P,preventScrollReset:F==null?void 0:F.preventScrollReset})}),[e]),C=e.basename||"/",T=k.useMemo(()=>({router:e,navigator:x,static:!1,basename:C,onError:r}),[e,x,C,r]);return k.createElement(k.Fragment,null,k.createElement(o0.Provider,{value:T},k.createElement(gx.Provider,{value:s},k.createElement(Rre.Provider,{value:y.current},k.createElement(m6.Provider,{value:d},k.createElement(mke,{basename:C,location:s.location,navigationType:s.historyAction,navigator:x,useTransitions:n},k.createElement(hke,{routes:e.routes,manifest:e.manifest,future:e.future,state:s,isStatic:!1,onError:r})))))),null)}function WU(e,t){return{...e,navigation:t.navigation.state!=="idle"?t.navigation:e.navigation,revalidation:t.revalidation!=="idle"?t.revalidation:e.revalidation,actionData:t.navigation.state!=="submitting"?t.actionData:e.actionData,fetchers:t.fetchers}}var hke=k.memo(pke);function pke({routes:e,manifest:t,future:r,state:n,isStatic:i,onError:a}){return YEe(e,void 0,{manifest:t,state:n,isStatic:i,onError:a})}function AP({to:e,replace:t,state:r,relative:n}){xr(cy(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=k.useContext(pl);xi(!i,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=k.useContext(mc),{pathname:o}=ua(),s=sp(),l=hx(e,PP(a),o,n==="path"),c=JSON.stringify(l);return k.useEffect(()=>{s(JSON.parse(c),{replace:t,state:r,relative:n})},[s,c,n,t,r]),null}function Pb(e){return ZEe(e.context)}function lt(e){xr(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function mke({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:i,static:a=!1,useTransitions:o}){xr(!cy(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),l=k.useMemo(()=>({basename:s,navigator:i,static:a,useTransitions:o,future:{}}),[s,i,a,o]);typeof r=="string"&&(r=yd(r));let{pathname:c="/",search:u="",hash:d="",state:f=null,key:h="default",mask:p}=r,g=k.useMemo(()=>{let v=Cs(c,s);return v==null?null:{location:{pathname:v,search:u,hash:d,state:f,key:h,mask:p},navigationType:n}},[s,c,u,d,f,h,n,p]);
61return xi(g!=null,`<Router basename="${s}"> is not able to match the URL "${c}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),g==null?null:k.createElement(pl.Provider,{value:l},k.createElement(vx.Provider,{children:t,value:g}))}function sT(e,t=[]){let r=[];return k.Children.forEach(e,(n,i)=>{if(!k.isValidElement(n))return;let a=[...t,i];if(n.type===k.Fragment){r.push.apply(r,sT(n.props.children,a));return}xr(n.type===lt,`[${typeof n.type=="string"?n.type:n.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),xr(!n.props.index||!n.props.children,"An index route cannot have child routes.");let o={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,middleware:n.props.middleware,loader:n.props.loader,action:n.props.action,hydrateFallbackElement:n.props.hydrateFallbackElement,HydrateFallback:n.props.HydrateFallback,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.hasErrorBoundary===!0||n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=sT(n.props.children,a)),r.push(o)}),r}var gke=sT,FE="get",DE="application/x-www-form-urlencoded";function OP(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function vke(e){return OP(e)&&e.tagName.toLowerCase()==="button"}function yke(e){return OP(e)&&e.tagName.toLowerCase()==="form"}function bke(e){return OP(e)&&e.tagName.toLowerCase()==="input"}function Ske(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function wke(e,t){return e.button===0&&(!t||t==="_self")&&!Ske(e)}function lT(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n.map(i=>[r,i]):[[r,n]])},[]))}function xke(e,t){let r=lT(e);return t&&t.forEach((n,i)=>{r.has(i)||t.getAll(i).forEach(a=>{r.append(i,a)})}),r}var cC=null;function Cke(){if(cC===null)try{new FormData(document.createElement("form"),0),cC=!1}catch{cC=!0}return cC}var Eke=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function RI(e){return e!=null&&!Eke.has(e)?(xi(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${DE}"`),null):e}function kke(e,t){let r,n,i,a,o;if(yke(e)){let s=e.getAttribute("action");n=s?Cs(s,t):null,r=e.getAttribute("method")||FE,i=RI(e.getAttribute("enctype"))||DE,a=new FormData(e)}else if(vke(e)||bke(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||s.getAttribute("action");if(n=l?Cs(l,t):null,r=e.getAttribute("formmethod")||s.getAttribute("method")||FE,i=RI(e.getAttribute("formenctype"))||RI(s.getAttribute("enctype"))||DE,a=new FormData(s,e),!Cke()){let{name:c,type:u,value:d}=e;if(u==="image"){let f=c?`${c}.`:"";a.append(`${f}x`,"0"),a.append(`${f}y`,"0")}else c&&a.append(c,d)}}else{if(OP(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=FE,n=null,i=DE,o=e}return a&&i==="text/plain"&&(o=a,a=void 0),{action:n,method:r.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function S6(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zre(e,t,r,n){let i=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r?i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${n}`:i.pathname=`${i.pathname}.${n}`:i.pathname==="/"?i.pathname=`_root.${n}`:t&&Cs(i.pathname,t)==="/"?i.pathname=`${oT(t)}/_root.${n}`:i.pathname=`${oT(i.pathname)}.${n}`,i}async function Tke(e,t){if(e.id in t)return t[e.id];try{let r=await st(()=>import(e.module),__vite__mapDeps([]));return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.
61isSpaMode,window.location.reload(),new Promise(()=>{})}}function _ke(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function Pke(e,t,r){let n=await Promise.all(e.map(async i=>{let a=t.routes[i.route.id];if(a){let o=await Tke(a,r);return o.links?o.links():[]}return[]}));return Rke(n.flat(1).filter(_ke).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function VU(e,t,r,n,i,a){let o=(l,c)=>r[c]?l.route.id!==r[c].route.id:!0,s=(l,c)=>{var u;return r[c].pathname!==l.pathname||((u=r[c].route.path)==null?void 0:u.endsWith("*"))&&r[c].params["*"]!==l.params["*"]};return a==="assets"?t.filter((l,c)=>o(l,c)||s(l,c)):a==="data"?t.filter((l,c)=>{var d;let u=n.routes[l.route.id];if(!u||!u.hasLoader)return!1;if(o(l,c)||s(l,c))return!0;if(l.route.shouldRevalidate){let f=l.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:((d=r[0])==null?void 0:d.params)||{},nextUrl:new URL(e,window.origin),nextParams:l.params,defaultShouldRevalidate:!0});if(typeof f=="boolean")return f}return!0}):[]}function Ake(e,t,{includeHydrateFallback:r}={}){return Oke(e.map(n=>{let i=t.routes[n.route.id];if(!i)return[];let a=[i.module];return i.clientActionModule&&(a=a.concat(i.clientActionModule)),i.clientLoaderModule&&(a=a.concat(i.clientLoaderModule)),r&&i.hydrateFallbackModule&&(a=a.concat(i.hydrateFallbackModule)),i.imports&&(a=a.concat(i.imports)),a}).flat(1))}function Oke(e){return[...new Set(e)]}function Ike(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}function Rke(e,t){let r=new Set;return new Set(t),e.reduce((n,i)=>{let a=JSON.stringify(Ike(i));return r.has(a)||(r.add(a),n.push({key:a,link:i})),n},[])}function w6(){let e=k.useContext(o0);return S6(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Fke(){let e=k.useContext(gx);return S6(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var x6=k.createContext(void 0);x6.displayName="FrameworkContext";function IP(){let e=k.useContext(x6);return S6(e,"You must render this element inside a <HydratedRouter> element"),e}function Dke(e,t){let r=k.useContext(x6),[n,i]=k.useState(!1),[a,o]=k.useState(!1),{onFocus:s,onBlur:l,onMouseEnter:c,onMouseLeave:u,onTouchStart:d}=t,f=k.useRef(null);k.useEffect(()=>{if(e==="render"&&o(!0),e==="viewport"){let g=m=>{m.forEach(b=>{o(b.isIntersecting)})},v=new IntersectionObserver(g,{threshold:.5});return f.current&&v.observe(f.current),()=>{v.disconnect()}}},[e]),k.useEffect(()=>{if(n){let g=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(g)}}},[n]);let h=()=>{i(!0)},p=()=>{i(!1),o(!1)};return r?e!=="intent"?[a,f,{}]:[a,f,{onFocus:g1(s,h),onBlur:g1(l,p),onMouseEnter:g1(c,h),onMouseLeave:g1(u,p),onTouchStart:g1(d,h)}]:[!1,f,{}]}function g1(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function Nke({page:e,...t}){let r=Ire(),{nonce:n}=IP(),{router:i}=w6(),a=k.useMemo(()=>c6(i.routes,e,i.basename),[i.routes,e,i.basename]);return a?(t.nonce==null&&n&&(t={...t,nonce:n}),r?k.createElement(Lke,{page:e,matches:a,...t}):k.createElement(Bke,{page:e,matches:a,...t})):null}function Mke(e){let{manifest:t,routeModules:r}=IP(),[n,i]=k.useState([]);return k.useEffect(()=>{let a=!1;return Pke(e,t,r).then(o=>{a||i(o)}),()=>{a=!0}},[e,t,r]),n}function Lke({page:e,matches:t,...r}){let n=ua(),{future:i}=IP(),{basename:a}=w6(),o=k.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let s=zre(e,a,i.v8_trailingSlashAwareDataRequests,"rsc"),l=!1,c=[];for(let u of t)typeof u.route.shouldRevalidate=="function"?l=!0:c.push(u.route.id);return l&&c.length>0&&s.searchParams.set("_routes",c.join(",")),[s.pathname+s.search]},[a,i.v8_trailingSlashAwareDataRequests,e,n,t]);return k.createElement(k.Fragment,null,o.map(s=>k.createElement("link",{key:s,rel:"prefetch",as:"fetch",href:s,...r})))}function Bke({page:e,matches:t,...r}){let n=ua(),{future:i,manifest:a,routeModules:o}=IP(),{basename:s}=w6(),{loaderData:l,matches:c}=Fke(),u=k.useMemo(()=>VU(e,t,c,a,n,"data"),[e,t,c,a,n]),d=k.useMemo(()=>VU(e,t,c,a,n,"assets"),[e,t,c,a,n]),f=k.useMemo(()=>
61{if(e===n.pathname+n.search+n.hash)return[];let g=new Set,v=!1;if(t.forEach(b=>{var w;let y=a.routes[b.route.id];!y||!y.hasLoader||(!u.some(x=>x.route.id===b.route.id)&&b.route.id in l&&((w=o[b.route.id])!=null&&w.shouldRevalidate)||y.hasClientLoader?v=!0:g.add(b.route.id))}),g.size===0)return[];let m=zre(e,s,i.v8_trailingSlashAwareDataRequests,"data");return v&&g.size>0&&m.searchParams.set("_routes",t.filter(b=>g.has(b.route.id)).map(b=>b.route.id).join(",")),[m.pathname+m.search]},[s,i.v8_trailingSlashAwareDataRequests,l,n,a,u,t,e,o]),h=k.useMemo(()=>Ake(d,a),[d,a]),p=Mke(d);return k.createElement(k.Fragment,null,f.map(g=>k.createElement("link",{key:g,rel:"prefetch",as:"fetch",href:g,...r})),h.map(g=>k.createElement("link",{key:g,rel:"modulepreload",href:g,...r})),p.map(({key:g,link:v})=>k.createElement("link",{key:g,nonce:r.nonce,...v,crossOrigin:v.crossOrigin??r.crossOrigin})))}function Uke(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var zke=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{zke&&(window.__reactRouterVersion="7.18.1")}catch{}function Hke(e,t){return hEe({basename:t==null?void 0:t.basename,getContext:t==null?void 0:t.getContext,future:t==null?void 0:t.future,history:PCe({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||qke(),routes:e,mapRouteProperties:cke,hydrationRouteProperties:uke,dataStrategy:t==null?void 0:t.dataStrategy,patchRoutesOnNavigation:t==null?void 0:t.patchRoutesOnNavigation,window:t==null?void 0:t.window,instrumentations:t==null?void 0:t.instrumentations}).initialize()}function qke(){let e=window==null?void 0:window.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:Wke(e.errors)}),e}function Wke(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,i]of t)if(i&&i.__type==="RouteErrorResponse")r[n]=new px(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type==="Error"){if(typeof i.__subType=="string"&&JCe.includes(i.__subType)){let a=window[i.__subType];if(typeof a=="function")try{let o=new a(i.message);o.stack="",r[n]=o}catch{}}if(r[n]==null){let a=new Error(i.message);a.stack="",r[n]=a}}else r[n]=i;return r}var bx=k.forwardRef(function({onClick:t,discover:r="render",prefetch:n="none",relative:i,reloadDocument:a,replace:o,mask:s,state:l,target:c,to:u,preventScrollReset:d,viewTransition:f,defaultShouldRevalidate:h,...p},g){let{basename:v,navigator:m,useTransitions:b}=k.useContext(pl),y=typeof u=="string"&&_P.test(u),w=gre(u,v);u=w.to;let x=VEe(u,{relative:i}),C=ua(),T=null;if(s){let M=hx(s,[],C.mask?C.mask.pathname:"/",!0);v!=="/"&&(M.pathname=M.pathname==="/"?v:Ql([v,M.pathname])),T=m.createHref(M)}let[_,P,F]=Dke(n,p),I=Kke(u,{replace:o,mask:s,state:l,target:c,preventScrollReset:d,relative:i,viewTransition:f,defaultShouldRevalidate:h,useTransitions:b});function R(M){t&&t(M),M.defaultPrevented||I(M)}let D=!(w.isExternal||a),A=k.createElement("a",{...p,...F,href:(D?T:void 0)||w.absoluteURL||x,onClick:D?R:t,ref:Uke(g,P),target:c,"data-discover":!y&&r==="render"?"true":void 0});return _&&!y?k.createElement(k.Fragment,null,A,k.createElement(Nke,{page:x})):A});bx.displayName="Link";var Vke=k.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:n="",end:i=!1,style:a,to:o,viewTransition:s,children:l,...c},u){let d=yx(o,{relative:c.relative}),f=ua(),h=k.useContext(gx),{navigator:p,basename:g}=k.useContext(pl),v=h!=null&&Qke(d)&&s===!0,m=p.encodeLocation?p.encodeLocation(d).pathname:d.pathname,b=f.pathname,y=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;r||(b=b.toLowerCase(),y=y?y.toLowerCase():null,m=m.toLowerCase()),y&&g&&(y=Cs(y,g)||y);const w=m!=="/"&&m.endsWith("/")?m.length-1:m.length;let x=b===m||!i&&b.startsWith(m)&&b.charAt(w)==="/",C=y!=null&&(y===m||!i&&y.startsWith(m)&&y.charAt(m.length)==="/"),T={isActive:x,isPending:C,isTransitioning:v},_=x?t:void 0,P;typeof n=="function"?P=n(T):P=[n,x?"active":null,C?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let F=typeof a=="function"?a(T):a;return k.createElement(bx,{...c,"aria-current":_,className:P,ref:u,style:F,to:o,viewTransition:s},typeof l=="function"?l(T):l)});Vke.displayName="NavLink";var jke=k.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:i,state:a,method:o=FE,action:s,onSubmit:l,relative:c,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f,...h},p)=>{let{useTransitions:g}=k.useContext(pl),v=$ke(),m=Xke(s,{relative:c}
61),b=o.toLowerCase()==="get"?"get":"post",y=typeof s=="string"&&_P.test(s),w=x=>{if(l&&l(x),x.defaultPrevented)return;x.preventDefault();let C=x.nativeEvent.submitter,T=(C==null?void 0:C.getAttribute("formmethod"))||o,_=()=>v(C||x.currentTarget,{fetcherKey:t,method:T,navigate:r,replace:i,state:a,relative:c,preventScrollReset:u,viewTransition:d,defaultShouldRevalidate:f});g&&r!==!1?k.startTransition(()=>_()):_()};return k.createElement("form",{ref:p,method:b,action:m,onSubmit:n?l:w,...h,"data-discover":!y&&e==="render"?"true":void 0})});jke.displayName="Form";function Gke(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Hre(e){let t=k.useContext(o0);return xr(t,Gke(e)),t}function Kke(e,{target:t,replace:r,mask:n,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:l,useTransitions:c}={}){let u=sp(),d=ua(),f=yx(e,{relative:o});return k.useCallback(h=>{if(wke(h,t)){h.preventDefault();let p=r!==void 0?r:ld(d)===ld(f),g=()=>u(e,{replace:p,mask:n,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:l});c?k.startTransition(()=>g()):g()}},[d,u,f,r,n,i,t,e,a,o,s,l,c])}function RP(e){xi(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=k.useRef(lT(e)),r=k.useRef(!1),n=ua(),i=k.useMemo(()=>xke(n.search,r.current?null:t.current),[n.search]),a=sp(),o=k.useCallback((s,l)=>{const c=lT(typeof s=="function"?s(new URLSearchParams(i)):s);r.current=!0,a("?"+c,l)},[a,i]);return[i,o]}var Zke=0,Yke=()=>`__${String(++Zke)}__`;function $ke(){let{router:e}=Hre("useSubmit"),{basename:t}=k.useContext(pl),r=rke(),n=e.fetch,i=e.navigate;return k.useCallback(async(a,o={})=>{let{action:s,method:l,encType:c,formData:u,body:d}=kke(a,t);if(o.navigate===!1){let f=o.fetcherKey||Yke();await n(f,r,o.action||s,{defaultShouldRevalidate:o.defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:u,body:d,formMethod:o.method||l,formEncType:o.encType||c,flushSync:o.flushSync})}else await i(o.action||s,{defaultShouldRevalidate:o.defaultShouldRevalidate,preventScrollReset:o.preventScrollReset,formData:u,body:d,formMethod:o.method||l,formEncType:o.encType||c,replace:o.replace,state:o.state,fromRouteId:r,flushSync:o.flushSync,viewTransition:o.viewTransition})},[n,i,t,r])}function Xke(e,{relative:t}={}){let{basename:r}=k.useContext(pl),n=k.useContext(mc);xr(n,"useFormAction must be used inside a RouteContext");let[i]=n.matches.slice(-1),a={...yx(e||".",{relative:t})},o=ua();if(e==null){a.search=o.search;let s=new URLSearchParams(a.search),l=s.getAll("index");if(l.some(u=>u==="")){s.delete("index"),l.filter(d=>d).forEach(d=>s.append("index",d));let u=s.toString();a.search=u?`?${u}
61`:""}}return(!e||e===".")&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(a.pathname=a.pathname==="/"?r:Ql([r,a.pathname])),ld(a)}function Qke(e,{relative:t}={}){let r=k.useContext(m6);xr(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=Hre("useViewTransitionState"),i=yx(e,{relative:t});if(!r.isTransitioning)return!1;let a=Cs(r.currentLocation.pathname,n)||r.currentLocation.pathname,o=Cs(r.nextLocation.pathname,n)||r.nextLocation.pathname;return Gs(i.pathname,o)!=null||Gs(i.pathname,a)!=null}function Jke(e){return k.createElement(fke,{flushSync:Qw.flushSync,...e})}const eTe="/assets/ABCFavorit-Bold-B8P36LUN.otf",tTe="/assets/ABCFavorit-Bold-BB0zCeAu.woff",rTe="/assets/ABCFavorit-Bold-DHbDBm4x.woff2",nTe="/assets/ABCFavorit-Medium-V7AaLD_r.otf",iTe="/assets/ABCFavorit-Medium-JGEEJ4BJ.woff",aTe="/assets/ABCFavorit-Medium-CPjDDU5e.woff2",oTe="/assets/ABCFavorit-Regular-B_Wdex5T.otf",sTe="/assets/ABCFavorit-Regular-EkVCSyVJ.woff",lTe="/assets/ABCFavorit-Regular-fH4jRc6q.woff2",cTe="/assets/ABCFavoritExtended-Bold-B3lIQcJz.otf",uTe="/assets/ABCFavoritExtended-Bold-CFzGny-z.woff",dTe="/assets/ABCFavoritExtended-Bold-CTDO2caE.woff2",fTe="/assets/ABCFavoritExtended-Medium-za5qz3f_.otf",hTe="/assets/ABCFavoritExtended-Medium-BNQJE1Py.woff",pTe="/assets/ABCFavoritExtended-Medium-45g7U9Gz.woff2",mTe="/assets/ABCFavoritExtended-Regular-DJytJYxM.otf",gTe="/assets/ABCFavoritExtended-Regular-CwWxhvAr.woff",vTe="/assets/ABCFavoritExtended-Regular-IJf0LMlM.woff2",ds=Symbol.for("@ts-pattern/matcher"),qre=Symbol.for("@ts-pattern/isVariadic"),cT="@ts-pattern/anonymous-select-key",s4=e=>!!(e&&typeof e=="object"),NE=e=>e&&!!e[ds],Ia=(e,t,r)=>{if(NE(e)){const n=e[ds](),{matched:i,selections:a}=n.match(t);return i&&a&&Object.keys(a).forEach(o=>r(o,a[o])),i}if(s4(e)){if(!s4(t))return!1;if(Array.isArray(e)){if(!Array.isArray(t))return!1;let n=[],i=[],a=[];for(const o of e.keys()){const s=e[o];NE(s)&&s[qre]?a.push(s):a.length?i.push(s):n.push(s)}if(a.length){if(a.length>1)throw new Error("Pattern error: Using `...P.array(...)` several times in a single pattern is not allowed.");if(t.length<n.length+i.length)return!1;const o=t.slice(0,n.length),s=i.length===0?[]:t.slice(-i.length),l=t.slice(n.length,i.length===0?1/0:-i.length);return n.every((c,u)=>Ia(c,o[u],r))&&i.every((c,u)=>Ia(c,s[u],r))&&(a.length===0||Ia(a[0],l,r))}return e.length===t.length&&e.every((o,s)=>Ia(o,t[s],r))}return Object.keys(e).every(n=>{const i=e[n];return(n in t||NE(a=i)&&a[ds]().matcherType==="optional")&&Ia(i,t[n],r);var a})}return Object.is(t,e)},Vs=e=>{var t,r,n;return s4(e)?NE(e)?(t=(r=(n=e[ds]()).getSelectionKeys)==null?void 0:r.call(n))!=null?t:[]:Array.isArray(e)?XS(e,Vs):XS(Object.values(e),Vs):[]},XS=(e,t)=>e.reduce((r,n)=>r.concat(t(n)),[]);function yTe(...e){if(e.length===1){const[t]=e;return r=>Ia(t,r,()=>{})}if(e.length===2){const[t,r]=e;return Ia(t,r,()=>{})}throw new Error(`isMatching wasn't given the right number of arguments: expected 1 or 2, received ${e.length}.`)}function co(e){return Object.assign(e,{optional:()=>C6(e),and:t=>Xn(e,t),or:t=>Wre(e,t),select:t=>t===void 0?QS(e):QS(t,e)})}function l4(e){return Object.assign((t=>Object.assign(t,{*[Symbol.iterator](){yield Object.assign(t,{[qre]:!0})}}))(e),{optional:()=>l4(C6(e)),select:t=>l4(t===void 0?QS(e):QS(t,e))})}function C6(e){return co({[ds]:()=>({match:t=>{let r={};const n=(i,a)=>{r[i]=a};return t===void 0?(Vs(e).forEach(i=>n(i,void 0)),{matched:!0,selections:r}):{matched:Ia(e,t,n),selections:r}},getSelectionKeys:()=>Vs(e),matcherType:"optional"})})}const bTe=(e,t)=>{for(const r of e)if(!t(r))return!1;return!0},STe=(e,t)=>{for(const[r,n]of e.entries())if(!t(n,r))return!1;return!0};function Xn(...e){return co({[ds]:()=>({match:t=>{let r={};const n=(i,a)=>{r[i]=a};return{matched:e.every(i=>Ia(i,t,n)),selections:r}},getSelectionKeys:()=>XS(e,Vs),matcherType:"and"})})}function Wre(...e){return co({[ds]:()=>({match:t=>{let r={};const n=(i,a)=>{r[i]=a};
61return XS(e,Vs).forEach(i=>n(i,void 0)),{matched:e.some(i=>Ia(i,t,n)),selections:r}},getSelectionKeys:()=>XS(e,Vs),matcherType:"or"})})}function on(e){return{[ds]:()=>({match:t=>({matched:!!e(t)})})}}function QS(...e){const t=typeof e[0]=="string"?e[0]:void 0,r=e.length===2?e[1]:typeof e[0]=="string"?void 0:e[0];return co({[ds]:()=>({match:n=>{let i={[t??cT]:n};return{matched:r===void 0||Ia(r,n,(a,o)=>{i[a]=o}),selections:i}},getSelectionKeys:()=>[t??cT].concat(r===void 0?[]:Vs(r))})})}function _u(e){return typeof e=="number"}function Lp(e){return typeof e=="string"}function Vf(e){return typeof e=="bigint"}const Vre=co(on(function(e){return!0})),wTe=Vre,Bp=e=>Object.assign(co(e),{startsWith:t=>{return Bp(Xn(e,(r=t,on(n=>Lp(n)&&n.startsWith(r)))));var r},endsWith:t=>{return Bp(Xn(e,(r=t,on(n=>Lp(n)&&n.endsWith(r)))));var r},minLength:t=>Bp(Xn(e,(r=>on(n=>Lp(n)&&n.length>=r))(t))),maxLength:t=>Bp(Xn(e,(r=>on(n=>Lp(n)&&n.length<=r))(t))),includes:t=>{return Bp(Xn(e,(r=t,on(n=>Lp(n)&&n.includes(r)))));var r},regex:t=>{return Bp(Xn(e,(r=t,on(n=>Lp(n)&&!!n.match(r)))));var r}}),xTe=Bp(on(Lp)),Pu=e=>Object.assign(co(e),{between:(t,r)=>Pu(Xn(e,((n,i)=>on(a=>_u(a)&&n<=a&&i>=a))(t,r))),lt:t=>Pu(Xn(e,(r=>on(n=>_u(n)&&n<r))(t))),gt:t=>Pu(Xn(e,(r=>on(n=>_u(n)&&n>r))(t))),lte:t=>Pu(Xn(e,(r=>on(n=>_u(n)&&n<=r))(t))),gte:t=>Pu(Xn(e,(r=>on(n=>_u(n)&&n>=r))(t))),int:()=>Pu(Xn(e,on(t=>_u(t)&&Number.isInteger(t)))),finite:()=>Pu(Xn(e,on(t=>_u(t)&&Number.isFinite(t)))),positive:()=>Pu(Xn(e,on(t=>_u(t)&&t>0))),negative:()=>Pu(Xn(e,on(t=>_u(t)&&t<0)))}),CTe=Pu(on(_u)),jf=e=>Object.assign(co(e),{between:(t,r)=>jf(Xn(e,((n,i)=>on(a=>Vf(a)&&n<=a&&i>=a))(t,r))),lt:t=>jf(Xn(e,(r=>on(n=>Vf(n)&&n<r))(t))),gt:t=>jf(Xn(e,(r=>on(n=>Vf(n)&&n>r))(t))),lte:t=>jf(Xn(e,(r=>on(n=>Vf(n)&&n<=r))(t))),gte:t=>jf(Xn(e,(r=>on(n=>Vf(n)&&n>=r))(t))),positive:()=>jf(Xn(e,on(t=>Vf(t)&&t>0))),negative:()=>jf(Xn(e,on(t=>Vf(t)&&t<0)))}),ETe=jf(on(Vf)),kTe=co(on(function(e){return typeof e=="boolean"})),TTe=co(on(function(e){return typeof e=="symbol"})),_Te=co(on(function(e){return e==null}));var Zn={__proto__:null,matcher:ds,optional:C6,array:function(...e){return l4({[ds]:()=>({match:t=>{if(!Array.isArray(t))return{matched:!1};if(e.length===0)return{matched:!0};const r=e[0];let n={};if(t.length===0)return Vs(r).forEach(a=>{n[a]=[]}),{matched:!0,selections:n};const i=(a,o)=>{n[a]=(n[a]||[]).concat([o])};return{matched:t.every(a=>Ia(r,a,i)),selections:n}},getSelectionKeys:()=>e.length===0?[]:Vs(e[0])})})},set:function(...e){return co({[ds]:()=>({match:t=>{if(!(t instanceof Set))return{matched:!1};let r={};if(t.size===0)return{matched:!0,selections:r};if(e.length===0)return{matched:!0};const n=(a,o)=>{r[a]=(r[a]||[]).concat([o])},i=e[0];return{matched:bTe(t,a=>Ia(i,a,n)),selections:r}},getSelectionKeys:()=>e.length===0?[]:Vs(e[0])})})},map:function(...e){return co({[ds]:()=>({match:t=>{if(!(t instanceof Map))return{matched:!1};let r={};if(t.size===0)return{matched:!0,selections:r};const n=(s,l)=>{r[s]=(r[s]||[]).concat([l])};if(e.length===0)return{matched:!0};var i;if(e.length===1)throw new Error(`\`P.map\` wasn't given enough arguments. Expected (key, value), received ${(i=e[0])==null?void 0:i.toString()}`);const[a,o]=e;return{matched:STe(t,(s,l)=>{const c=Ia(a,l,n),u=Ia(o,s,n);return c&&u}),selections:r}},getSelectionKeys:()=>e.length===0?[]:[...Vs(e[0]),...Vs(e[1])]})})},intersection:Xn,union:Wre,not:function(e){return co({[ds]:()=>({match:t=>({matched:!Ia(e,t,()=>{})}),getSelectionKeys:()=>[],matcherType:"not"})})},when:on,select:QS,any:Vre,_:wTe,string:xTe,number:CTe,bigint:ETe,boolean:kTe,symbol:TTe,nullish:_Te,instanceOf:function(e){return co(on(function(t){return r=>r instanceof t}(e)))},shape:function(e){return co(on(yTe(e)))}};const c4={matched:!1,value:void 0};function qt(e){return new PTe(e,c4)}let PTe=class u4{constructor(t,r){this.input=void 0,this.state=void 0,this.input=t,this.state=r}with(...t){if(this.state.matched)return this;const r=t[t.length-1],n=[t[0]];let i;t.length===3&&typeof t[1]=="function"?i=t[1]:t.length>2&&n.push(...t.slice(1,t.length-1));let a=!1,o={};const s=(c,u)=>{a=!0,o[c]=u},l=!n.some(c=>
61Ia(c,this.input,s))||i&&!i(this.input)?c4:{matched:!0,value:r(a?cT in o?o[cT]:o:this.input,this.input)};return new u4(this.input,l)}when(t,r){if(this.state.matched)return this;const n=!!t(this.input);return new u4(this.input,n?{matched:!0,value:r(this.input,this.input)}:c4)}otherwise(t){return this.state.matched?this.state.value:t(this.input)}exhaustive(){if(this.state.matched)return this.state.value;let t;try{t=JSON.stringify(this.input)}catch{t=this.input}throw new Error(`Pattern matching error: no pattern matches value ${t}`)}run(){return this.exhaustive()}returnType(){return this}};const ATe="/assets/gw-logo-DkEO_GWF.png",OTe="/assets/logo-CeUOIZMv.svg",ITe="/assets/noatum-logo-DdmEUvop.png";var RTe={};const FTe="#17F082",Axt="#7646FF";var DTe=(e=>(e.SPACESHIP="spaceship",e.NOATUM="noatum",e.GW="gw",e))(DTe||{});const E6=()=>RTe.VITE_THEME_NAME??"spaceship",Oxt=()=>E6()!=="spaceship",NTe=()=>qt(E6()).with("spaceship",()=>OTe).with("noatum",()=>ITe).with("gw",()=>ATe).exhaustive(),X1=e=>qt(e).with("en",()=>"'ABC Favorit', sans-serif").otherwise(()=>"'Noto Sans TC', sans-serif"),MTe={colors:{actionPrimary:"#1d1d1b",actionPrimaryHovered:"#141414",actionPrimaryPressed:"#070707",actionPrimaryDepressed:"#391b8d",textPrimary:"#1d1d1b",textPrimaryHovered:"#141414",textPrimaryPressed:"#070707",surfaceSelected:"#f3fff9",surfaceSelectedHovered:"#d8ffeb",surfaceSelectedPressed:"#cdffe5",interactive:"#4b00f9",interactiveHovered:"#4100db",interactivePressed:"#190064",accent:FTe,accentHovered:"#00e47a",accentPressed:"#00c568",accentDepressed:"#008947"}},LTe={colors:{actionPrimary:"#363636",actionPrimaryHovered:"#666666",actionPrimaryPressed:"#454545",actionPrimaryDepressed:"#363636",textPrimary:"#1d1d1b",textPrimaryHovered:"#141414",textPrimaryPressed:"#070707",surfaceSelected:"#fff3f9",surfaceSelectedHovered:"#d8ffeb",surfaceSelectedPressed:"#cdffe5",interactive:"#2C6ECB",interactiveHovered:"#1f5b9d",interactivePressed:"#164372",accent:"#DD7973",accentHovered:"#E08681",accentPressed:"#C66C67",accentDepressed:"#E08681"}},BTe={colors:{actionPrimary:"#363636",actionPrimaryHovered:"#666666",actionPrimaryPressed:"#454545",actionPrimaryDepressed:"#363636",textPrimary:"#1d1d1b",textPrimaryHovered:"#141414",textPrimaryPressed:"#070707",surfaceSelected:"#fff4ef",surfaceSelectedHovered:"#ffe7db",surfaceSelectedPressed:"#ffddcc",interactive:"#2C6ECB",interactiveHovered:"#1f5b9d",interactivePressed:"#164372",accent:"#FE5000",accentHovered:"#FF6A2A",accentPressed:"#E04600",accentDepressed:"#C23C00"}},UTe=e=>{const t=E6(),r=qt(t).with("spaceship",()=>MTe).with("noatum",()=>LTe).with("gw",()=>BTe).exhaustive();return{name:`${t}-${e}`,locale:e,colors:r.colors,typography:{fontFamily:X1(e)}}},jU={"zh-HK":{name:"5if3qq",styles:"font-weight:var(--p-font-weight-regular);line-height:var(--p-font-line-height-4)"},en:{name:"oroxv8",styles:"font-weight:var(--p-font-weight-semibold);line-height:var(--p-font-line-height-4)"}},GU={"zh-HK":{name:"9pgkpv",styles:"font-weight:var(--p-font-weight-normal)"},en:{name:"2b5gmg",styles:"font-weight:var(--p-font-weight-semibold)"}},KU={"zh-HK":{name:"2dtly1",styles:"text-transform:uppercase;font-weight:var(--p-font-weight-medium)"},en:{name:"yy683t",styles:"text-transform:uppercase;font-weight:var(--p-font-weight-bold)"}},ZU={"zh-HK":{name:"1waoucp",styles:"font-weight:var(--p-font-weight-medium);line-height:var(--p-font-line-height-2)"},en:{name:"1bg5yby",styles:"font-family:'ABC Favorit Extended',sans-serif;font-weight:var(--p-font-weight-bold);line-height:var(--p-font-line-height-2)"}},YU={"zh-HK":{name:"1w5y41f",styles:"font-weight:var(--p-font-weight-regular);line-height:var(--p-font-line-height-2)"},en:{name:"1w5y41f",styles:"font-weight:var(--p-font-weight-regular);line-height:var(--p-font-line-height-2)"}},zTe=e=>jU[e]??jU.en,HTe=e=>GU[e]??GU.en,qTe=e=>KU[e]??KU.en,WTe=e=>ZU[e]??ZU.en,VTe=e=>YU[e]??YU.en,jTe=[{family:"ABC Favorit",src:`url(${eTe}) format('otf'), url(${tTe}) format('woff'), url(${rTe}) format('woff2')`,weight:"bold"},{family:"ABC Favorit",src:`url(${nTe}) format('otf'), url(${iTe}) format('woff'), url(${aTe}) format('woff2')`,weight:"medium"},{family:"ABC Favorit",src:`url(${oTe}) format('otf'), url(${sTe}) format('woff'), url(${lTe}) format('woff2')`,weight:"normal"},{family:"ABC Favorit Extended",src:`url(${cTe}) format('otf'), url(${uTe}) format('woff'), url(${dTe}) format('woff2')`,weight:"bold"},{family:"ABC Favorit Extended",src:`url(${fTe}) format('otf'), url(${hTe}) format('woff'), url(${pTe}) format('woff2')`,weight:"medium"},{family:"ABC Favorit Extended",src:`url(${mTe}) format('otf'), url(${gTe}) format('woff'), url(${vTe}) format('woff2')`,weight:"normal"}],GTe=Am(jTe.map(e=>`
62        @font-face {
63            font-family: '${e.family}';
64            src: ${e.src};
65            font-weight: ${e.weight};
66        }
67    `),";",""),KTe=e=>{switch(e){case"en":return Am("font-family:",X1(e),";--p-font-family-sans:",X1(e),";.Polaris-Text--heading4xl,.Polaris-Text--heading2xl,.Polaris-DisplayText--sizeExtraLarge,.Polaris-DisplayText--sizeLarge{font-family:'ABC Favorit Extended',sans-serif;}","");case"zh-HK":default:return Am("font-family:",X1(e),";--p-font-family-sans:",X1(e),";","")}},ZTe=e=>Am("--p-action-primary:",e.colors.actionPrimary,";--p-action-primary-hovered:",e.colors.actionPrimaryHovered,";--p-action-primary-pressed:",e.colors.actionPrimaryPressed,";--p-action-primary-depressed:",e.colors.actionPrimaryDepressed,";--p-text-primary:",e.colors.textPrimary,";--p-text-primary-hovered:",e.colors.textPrimaryHovered,";--p-text-primary-pressed:",e.colors.textPrimaryPressed,";--p-surface-selected:",e.colors.surfaceSelected,";--p-surface-selected-hovered:",e.colors.surfaceSelectedHovered,";--p-surface-selected-pressed:",e.colors.surfaceSelectedPressed,";--p-interactive:",e.colors.interactive,";--p-interactive-hovered:",e.colors.interactiveHovered,";--p-interactive-pressed:",e.colors.interactivePressed,";--pc-progress-bar-indicator:var(--p-action-primary);--p-accent:",e.colors.accent,";--p-accent-hovered:",e.colors.accentHovered,";--p-accent-pressed:",e.colors.accentPressed,";--p-accent-depressed:",e.colors.accentDepressed,";--p-border-highlight:var(--p-accent);",""),YTe=e=>{const t=UTe(e);return Am("html{height:100%;}body{height:100%;position:relative;}#root{height:100%;width:100%;}",GTe,";:root{",KTe(e),";",ZTe(t),";}.Polaris-Tabs__Tab{&:hover{.Polaris-Tabs__Title::before{background:var(--p-accent-hovered);}}&:focus{.Polaris-Tabs__Title::before{background:var(--p-accent-pressed);}}}.Polaris-Tabs__Tab--selected{.Polaris-Tabs__Title::before{background:var(--p-accent);}}.Polaris-ActionList__Item.Polaris-ActionList--active::before{background:var(--p-accent);}.Polaris-Button--outline,.Polaris-Button--plain{&.Polaris-Button--primary:not(.Polaris-Button--disabled){color:var(--p-action-primary);svg{fill:var(--p-action-primary);}}}.Polaris-DisplayText{font-weight:var(--p-font-weight-semibold);}.Polaris-TextField,.Polaris-Select,.Polaris-Checkbox,.Polaris-RadioButton{--p-focused:var(--p-accent);}.Polaris-OptionList-Option,.Polaris-Checkbox,.Polaris-RadioButton{--p-interactive:var(--p-accent);--p-icon-on-interactive:var(--p-text);}.Polaris-RadioButton__Backdrop::before{background-color:var(--p-text);}.Polaris-DataTable__Cell--header,.Polaris-IndexTable__TableHeading{color:var(--p-text-subdued);}.Polaris-Navigation{--p-background:#141414;border-right:none;.Polaris-Navigation__Item{--p-text:var(--p-text-on-interactive);--p-icon:var(--p-icon-on-interactive);&:hover{--p-text:var(--p-text-subdued);--p-icon:var(--p-icon-subdued);}}.Polaris-Navigation__Item--selected::before{background-color:var(--p-accent);}.Polaris-Navigation--itemChildActive .Polaris-Navigation__Icon svg{fill:var(--p-icon);}}.Polaris-IndexTable__TableCell{.Polaris-Button--outline{background-color:var(--p-surface);&:hover{background-color:var(--p-hovered);}}}.Polaris-Page{height:100%;}.Polaris-Frame-Loading__Level{background-color:var(--p-accent-pressed);}.Polaris-Modal-CloseButton--titleHidden{visibility:hidden;height:0;width:0;padding:0;}.Polaris-Popover .Polaris-Listbox-Header{padding-top:var(--p-space-4);}.Polaris-Button,.Polaris-Modal-Dialog__Modal{border-radius:2px;}.Polaris-Label__Text{.Polaris-Text--regular{font-weight:var(--p-font-weight-medium);}}.Polaris-OptionList>*:not(:first-child){margin-top:var(--p-space-5);}.Polaris-Text--headingLg{",zTe(e),";}.Polaris-Text--headingXs{",qTe(e),";}.Polaris-Header-Title,.Polaris-Text--headingMd{",HTe(e),";}.Polaris-Button:not(.Polaris-Button--plain) .Polaris-Button__Text{",WTe(e),";}.Polaris-Button.Polaris-Button--plain,.Polaris-Button.Polaris-Button--plain .Polaris-Button__Text,.Polaris-Text--BodyMd{",VTe(e),";}.Polaris-DatePicker__Day{&:hover,&.Polaris-DatePicker__Day--selected{background:var(--p-accent);color:var(--p-text);}}[data-lock-scrolling]{overflow:hidden!important;}[data-lock-scrolling] [data-lock-scrolling-wrapper]{height:unset!important;}","")},$Te={ActionMenu:{Actions:{moreActions:"More actions"},RollupActions:{rollupButton:"View actions"}},Avatar:{label:"Avatar",labelWithInitials:"Avatar with initials {initials}"},Autocomplete:{spinnerAccessibilityLabel:"Loading",ellipsis:"{content}…"},Badge:{PROGRESS_LABELS:{incomplete:"Incomplete",partiallyComplete:"Partially complete",complete:"Complete"},STATUS_LABELS:{info:"Info",success:"Success",warning:"Warning",critical:"Critical",attention:"Attention",new:"New"},progressAndStatus:"{statusLabel} {progressLabel}"},Button:{spinnerAccessibilityLabel:"Loading",connectedDisclosureAcce
67ssibilityLabel:"Related actions"},Common:{checkbox:"checkbox",undo:"Undo",cancel:"Cancel",clear:"Clear",close:"Close",submit:"Submit",more:"More"},ContextualSaveBar:{save:"Save",discard:"Discard"},DataTable:{sortAccessibilityLabel:"sort {direction} by",navAccessibilityLabel:"Scroll table {direction} one column",totalsRowHeading:"Totals",totalRowHeading:"Total"},DatePicker:{previousMonth:"Show previous month, {previousMonthName} {showPreviousYear}",nextMonth:"Show next month, {nextMonth} {nextYear}",today:"Today ",start:"Start of range",end:"End of range",months:{january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December"},days:{monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},daysAbbreviated:{monday:"Mo",tuesday:"Tu",wednesday:"We",thursday:"Th",friday:"Fr",saturday:"Sa",sunday:"Su"}},DiscardConfirmationModal:{title:"Discard all unsaved changes",message:"If you discard changes, you’ll delete any edits you made since you last saved.",primaryAction:"Discard changes",secondaryAction:"Continue editing"}
67,DropZone:{single:{overlayTextFile:"Drop file to upload",overlayTextImage:"Drop image to upload",overlayTextVideo:"Drop video to upload",actionTitleFile:"Add file",actionTitleImage:"Add image",actionTitleVideo:"Add video",actionHintFile:"or drop file to upload",actionHintImage:"or drop image to upload",actionHintVideo:"or drop video to upload",labelFile:"Upload file",labelImage:"Upload image",labelVideo:"Upload video"},allowMultiple:{overlayTextFile:"Drop files to upload",overlayTextImage:"Drop images to upload",overlayTextVideo:"Drop videos to upload",actionTitleFile:"Add files",actionTitleImage:"Add images",actionTitleVideo:"Add videos",actionHintFile:"or drop files to upload",actionHintImage:"or drop images to upload",actionHintVideo:"or drop videos to upload",labelFile:"Upload files",labelImage:"Upload images",labelVideo:"Upload videos"},errorOverlayTextFile:"File type is not valid",errorOverlayTextImage:"Image type is not valid",errorOverlayTextVideo:"Video type is not valid"},EmptySearchResult:{altText:"Empty search results"},Frame:{skipToContent:"Skip to content",navigationLabel:"Navigation",Navigation:{closeMobileNavigationLabel:"Close navigation"}},FullscreenBar:{back:"Back",accessibilityLabel:"Exit fullscreen mode"},Filters:{moreFilters:"More filters",moreFiltersWithCount:"More filters ({count})",filter:"Filter {resourceName}",noFiltersApplied:"No filters applied",cancel:"Cancel",done:"Done",clearAllFilters:"Clear all filters",clear:"Clear",clearLabel:"Clear {filterName}"},IndexProvider:{defaultItemSingular:"Item",defaultItemPlural:"Items",allItemsSelected:"All {itemsLength}+ {resourceNamePlural} are selected.",selected:"{selectedItemsCount} selected",a11yCheckboxDeselectAllSingle:"Deselect {resourceNameSingular}",a11yCheckboxSelectAllSingle:"Select {resourceNameSingular}",a11yCheckboxDeselectAllMultiple:"Deselect all {itemsLength} {resourceNamePlural}",a11yCheckboxSelectAllMultiple:"Select all {itemsLength} {resourceNamePlural}"},IndexTable:{emptySearchTitle:"No {resourceNamePlural} found",emptySearchDescription:"Try changing the filters or search term",onboardingBadgeText:"New",resourceLoadingAccessibilityLabel:"Loading {resourceNamePlural}…",selectAllLabel:"Select all {resourceNamePlural}",selected:"{selectedItemsCount} selected",undo:"Undo",selectAllItems:"Select all {itemsLength}+ {resourceNamePlural}",selectItem:"Select {resourceName}",selectButtonText:"Select",sortAccessibilityLabel:"sort {direction} by"},Loading:{label:"Page loading bar"},Modal:{iFrameTitle:"body markup",modalWarning:"These required properties are missing from Modal: {missingProps}"},Page:{Header:{rollupActionsLabel:"View actions for {title}"}},Pagination:{previous:"Previous",next:"Next",pagination:"Pagination"},ProgressBar:{negativeWarningMessage:"Values passed to the progress prop shouldn’t be negative. Resetting {progress} to 0.",exceedWarningMessage:"Values passed to the progress prop shouldn’t exceed 100. Setting {progress} to 100."},ResourceList:{sortingLabel:"Sort by",defaultItemSingular:"item",defaultItemPlural:"items",showing:"Showing {itemsCount} {resource}",showingTotalCount:"Showing {itemsCount} of {totalItemsCount} {resource}",loading:"Loading {resource}",selected:"{selectedItemsCount} selected",allItemsSelected:"All {itemsLength}+ {resourceNamePlural} in your store are selected.",allFilteredItemsSelected:"All {itemsLength}+ {resourceNamePlural} in this filter are selected.",selectAllItems:"Select all {itemsLength}+ {resourceNamePlural} in your store",selectAllFilteredItems:"Select all {itemsLength}+ {resourceNamePlural} in this filter",emptySearchResultTitle:"No {resourceNamePlural} found",emptySearchResultDescription:"Try changing the filters or search term",selectButtonText:"Select",a11yCheckboxDeselectAllSingle:"Deselect {resourceNameSingular}",a11yCheckboxSelectAllSingle:"Select {resourceNameSingular}",a11yCheckboxDeselectAllMultiple:"Deselect all {itemsLength} {resourceNamePlural}",a11yCheckboxSelectAllMultiple:"Select all {itemsLength} {resourceNamePlural}",ariaLiveSingular:"{itemsLength} item",ariaLivePlural:"{itemsLength} items",Item:{actionsDropdownLabel:"Actions for {accessibilityLabel}",actionsDropdown:"Actions dropdown",viewItem:"View details for {itemName}"},BulkActions:{actionsActivatorLabel:"Actions",moreActionsActivatorLabel:"More actions",warningMessage:"To provide a better user experience. There should only be a maximum of {maxPromotedActions} promoted actions."}},SkeletonPage:{loadingLabel:"Page loading"},Tabs:{toggleTabsLabel:"More tabs"},Tag:{ariaLabel:"Remove {children}"},TextField:{characterCount:"{count} characters",characterCountWithMaxLength:"{count} of {limit} characters used"},TooltipOverlay:{accessibilityLabel:"Tooltip: {label}"},TopBar:{toggleMenuLabel:"Toggle menu",SearchField:{clearButtonLabel:"Clear",search:"Search"}},MediaCard:{popoverButton:"Actions"},VideoThumbnail:{playButtonA11yLabel:{default:"Play video",defaultWithDuration:"Play video of length {duration}",duration:{hours:{other:{only:"{hourCount} hours",andMinutes:"{hourCount} hours and {minuteCount} minutes",andMinute:"{hourCount} hours and {minuteCount} minute",minutesAndSeconds:"{hourCount} hours, {minuteCount} minutes, and {secondCount} seconds",minutesAndSecond:"{hourCount} hours, {minuteCount} minutes, and {secondCount} second",minuteAndSeconds:"{hourCount} hours, {minuteCount} minute, and {secondCount} seconds",minuteAndSecond:"{hourCount} hours, {minuteCount} minute, and {secondCount} second",andSeconds:"{hourCount} hours and {secondCount} seconds",andSecond:"{hourCount} hours and {secondCount} second"},one:{only:"{hourCount} hour",andMinutes:"{hourCount} hour and {minuteCount} minutes",andMinute:"{hourCount} hour and {minuteCount} minute",minutesAndSeconds:"{hourCount} hour, {minuteCount} minutes, and {secondCount} seconds",minutesAndSecond:"{hourCount} hour, {minuteCount} minutes, and {secondCount} second",minuteAndSeconds:"{hourCount} hour, {minuteCount} minute, and {secondCount} seconds",minuteAndSecond:"{hourCount} hour, {minuteCount} minute, and {secondCount} second",andSeconds:"{hourCount} hour and {secondCount} seconds",andSecond:"{hourCount} hour and {secondCount} second"}},minutes:{other:{only:"{minuteCount} minutes",andSeconds:"{minuteCount} minutes and {secondCount} seconds",andSecond:"{minuteCount} minutes and {secondCount} second"},one:{only:"{minuteCount} minute",andSeconds:"{minuteCount} minute and {secondCount} seconds",andSecond:"{minuteCount} minute and {secondCount} second"}},seconds:{other:"{secondCount} seconds",one:"{secondCount} second"}}}}},jre={Polaris:$Te},XTe={Avatar:{label:"大頭貼",labelWithInitials:"姓名首字母為 {initials} 的大頭貼"},Autocomplete:{spinnerAccessibilityLabel:"載入中",ellipsis:"{content}......"},Badge:{PROGRESS_LABELS:{incomplete:"未完成",partiallyComplete:"部分完成",complete:"完成"},STATUS_LABELS:{info:"資訊",success:"成功",warning:"警告",attention:"注意",new:"全新功能",critical:"重要"},progressAndStatus:"{statusLabel} {progressLabel}"},Button:{spinnerAccessibilityLabel:"載入中",connectedDisclosureAcce
67ssibilityLabel:"相關動作"},Common:{checkbox:"核取方塊",undo:"復原",cancel:"取消",clear:"清除",close:"關閉",submit:"提交",more:"更多"},ContextualSaveBar:{save:"儲存",discard:"捨棄"},DataTable:{sortAccessibilityLabel:"向 {direction} 排序,依據",navAccessibilityLabel:"向 {direction} 捲動表格一欄",totalsRowHeading:"總計",totalRowHeading:"總計"},DatePicker:{previousMonth:"顯示上個月,{showPreviousYear} {previousMonthName}",nextMonth:"顯示下個月,{nextYear} {nextMonth}",today:"今天 ",months:{january:"一月",february:"二月",march:"三月",april:"四月",may:"五月",june:"六月",july:"七月",august:"八月",september:"九月",october:"十月",november:"十一月",december:"十二月"},daysAbbreviated:{monday:"星期一",tuesday:"星期二",wednesday:"星期三",thursday:"星期四",friday:"星期五",saturday:"星期六",sunday:"星期日"},days:{monday:"星期一",tuesday:"星期二",wednesday:"星期三",thursday:"星期四",friday:"星期五",saturday:"星期六",sunday:"星期日"},start:"範圍起點",end:"範圍終點"},DiscardConfirmationModal:{title:"捨棄所有未儲存的變更內容",message:"如果您捨棄變更內容,則會刪除所有從上次儲存以來所編輯過的內容。",primaryAction:"捨棄變更內容",secondaryAction:"繼續編輯"},DropZone:{errorOverlayTextFile:"檔案類型無效",errorOverlayTextImage:"圖片類型無效",single:{overlayTextFile:"拖放檔案以上傳",overlayTextImage:"拖放圖片以上傳",actionTitleFile:"新增檔案",actionTitleImage:"新增圖片",actionHintFile:"或拖放檔案即可上傳",actionHintImage:"或拖放圖像即可上傳",labelFile:"上傳檔案",labelImage:"上傳圖片",overlayTextVideo:"拖放影片以上傳",actionTitleVideo:"新增影片",actionHintVideo:"或拖放影片即可上傳",labelVideo:"上傳影片"},allowMultiple:{overlayTextFile:"拖放檔案以上傳",overlayTextImage:"拖放圖片以上傳",actionTitleFile:"新增檔案",actionTitleImage:"新增圖片",actionHintFile:"或拖放檔案以上傳",actionHintImage:"或拖放圖像即可上傳",labelFile:"上傳檔案",labelImage:"上傳圖片",overlayTextVideo:"拖放影片以上傳",actionTitleVideo:"新增影片",actionHintVideo:"或拖放影片以上傳",labelVideo:"上傳影片"},errorOverlayTextVideo:"影片類型無效"},EmptySearchResult:{altText:"清空搜尋結果"},Frame:{skipToContent:"跳至內容",Navigation:{closeMobileNavigationLabel:"關閉導覽"},navigationLabel:"導覽"},ActionMenu:{RollupActions:{rollupButton:"檢視動作"},Actions:{moreActions:"更多動作"}},Filters:{moreFilters:"更多篩選條件",filter:"篩選 {resourceName}",noFiltersApplied:"未套用篩選條件",cancel:"取消",done:"完成",clearAllFilters:"清除所有篩選條件",clear:"清除",clearLabel:"清除 {filterName}",moreFiltersWithCount:"更多篩選條件 ({count})"},Modal:{iFrameTitle:"本文標記",modalWarning:"強制回應缺少以下必要屬性:{missingProps}"},Pagination:{previous:"上一頁",next:"下一頁",pagination:"分頁"},ProgressBar:{negativeWarningMessage:"傳送至處理道具的數值不應為負值。將 {progress} 重設為 0。",exceedWarningMessage:"傳送至處理道具的數值不應超過 100。將 {progress} 設為 100。"},ResourceList:{sortingLabel:"排序依據",defaultItemSingular:"商品",defaultItemPlural:"商品",showing:"顯示 {itemsCount} {resource}",loading:"正在載入 {resource}",selected:"已選取 {selectedItemsCount} 項",allItemsSelected:"已選取您商店中所有 {itemsLength}+ {resourceNamePlural}。",selectAllItems:"選取您商店中全部 {itemsLength}+ {resourceNamePlural}",emptySearchResultTitle:"找不到 {resourceNamePlural}",emptySearchResultDescription:"請嘗試變更篩選條件或搜尋詞彙",selectButtonText:"選取",a11yCheckboxDeselectAllSingle:"取消選取 {resourceNameSingular}",a11yCheckboxSelectAllSingle:"選取 {resourceNameSingular}",a11yCheckboxDeselectAllMultiple:"取消選取全部 {itemsLength} {resourceNamePlural}",a11yCheckboxSelectAllMultiple:"選取全部 {itemsLength} {resourceNamePlural}",ariaLiveSingular:"{itemsLength} 個商品",ariaLivePlural:"{itemsLength} 個商品",Item:{actionsDropdownLabel:"{accessibilityLabel} 的動作",actionsDropdown:"動作下拉式選單",viewItem:"檢視 {itemName} 的詳細資訊"},BulkActions:{actionsActivatorLabel:"動作",moreActionsActivatorLabel:"更多動作",warningMessage:"為提供更良好的用戶體驗,您一次舉辦的促銷活動應以 {maxPromotedActions} 項為限。"},showingTotalCount:"顯示第 {itemsCount} 個 {resource},共 {totalItemsCount} 個",allFilteredItemsSelected:"已選取套用此篩選條件後顯示的全部 {itemsLength}+ 個 {resourceNamePlural}。",selectAllFilteredItems:"選取套用此篩選條件後顯示的全部 {itemsLength}+ 個 {resourceNamePlural}"},SkeletonPage:{loadingLabel:"頁面載入中"},Tabs:{toggleTabsLabel:"更多分頁"},Tag:{ariaLabel:"移除 {children}"},TextField:{characterCount:"{count}
67 個字元",characterCountWithMaxLength:"已使用 {count} 個字元,上限為 {limit} 個字元"},TopBar:{toggleMenuLabel:"切換選單",SearchField:{clearButtonLabel:"清除",search:"搜尋"}},MediaCard:{popoverButton:"動作"},VideoThumbnail:{playButtonA11yLabel:{default:"播放影片",defaultWithDuration:"播放長度為 {duration} 的影片",duration:{hours:{other:{only:"{hourCount} 小時",andMinutes:"{hourCount} 小時 {minuteCount} 分鐘",andMinute:"{hourCount} 小時 {minuteCount} 分鐘",minutesAndSeconds:"{hourCount} 小時 {minuteCount} 分鐘 {secondCount} 秒",minutesAndSecond:"{hourCount} 小時 {minuteCount} 分鐘 {secondCount} 秒",minuteAndSeconds:"{hourCount} 小時 {minuteCount} 分鐘 {secondCount} 秒",minuteAndSecond:"{hourCount} 小時 {minuteCount} 分鐘 {secondCount} 秒",andSeconds:"{hourCount} 小時 {secondCount} 秒",andSecond:"{hourCount} 小時 {secondCount} 秒"},one:{only:"{hourCount} 小時",andMinutes:"{hourCount} 小時 {minuteCount} 分鐘",andMinute:"{hourCount} 小時 {minuteCount} 分鐘",minutesAndSeconds:"{hourCount} 小時 {minuteCount} 分鐘 {secondCount} 秒",minutesAndSecond:"{hourCount} 小時 {minuteCount} 分鐘 {secondCount} 秒",minuteAndSeconds:"{hourCount} 小時 {minuteCount} 分鐘 {secondCount} 秒",minuteAndSecond:"{hourCount} 小時 {minuteCount} 分鐘 {secondCount} 秒",andSeconds:"{hourCount} 小時 {secondCount} 秒",andSecond:"{hourCount} 小時 {secondCount} 秒"}},minutes:{other:{only:"{minuteCount} 分鐘",andSeconds:"{minuteCount} 分鐘 {secondCount} 秒",andSecond:"{minuteCount} 分鐘 {secondCount} 秒"},one:{only:"{minuteCount} 分鐘",andSeconds:"{minuteCount} 分鐘 {secondCount} 秒",andSecond:"{minuteCount} 分鐘 {secondCount} 秒"}},seconds:{other:"{secondCount} 秒",one:"{secondCount} 秒"}}}},Loading:{label:"頁面載入進度條"},TooltipOverlay:{accessibilityLabel:"工具提示:{label}"},IndexProvider:{defaultItemSingular:"品項",defaultItemPlural:"品項",allItemsSelected:"已選取全部 {itemsLength} + {resourceNamePlural}。",selected:"已選取 {selectedItemsCount} 項",a11yCheckboxDeselectAllSingle:"取消選取 {resourceNameSingular}",a11yCheckboxSelectAllSingle:"選取 {resourceNameSingular}",a11yCheckboxDeselectAllMultiple:"取消選取全部 {itemsLength} {resourceNamePlural}",a11yCheckboxSelectAllMultiple:"選取全部 {itemsLength} {resourceNamePlural}"},IndexTable:{emptySearchTitle:"找不到 {resourceNamePlural}",emptySearchDescription:"請嘗試變更篩選條件或搜尋詞彙",onboardingBadgeText:"全新功能",resourceLoadingAccessibilityLabel:"正在載入 {resourceNamePlural}......",selectAllLabel:"選取所有 {resourceNamePlural}",selected:"已選取 {selectedItemsCount} 項",undo:"復原",selectAllItems:"選取全部 {itemsLength} + {resourceNamePlural}",selectItem:"選取 {resourceName}",selectButtonText:"選取",sortAccessibilityLabel:"向 {direction} 排序,依據"},Page:{Header:{rollupActionsLabel:"檢視 {title} 的動作"}},FullscreenBar:{back:"返回",accessibilityLabel:"退出全螢幕模式"}},QTe={Polaris:XTe};function FP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Wk(e,t)}function Sx(e,t){if(t&&(ho(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Yd(e)}
67function cd(e){return cd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},cd(e)}function JTe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function e_e(e){return nre(e)||JTe(e)||ire(e)||are()}function $U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function XU(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$U(Object(r),!0).forEach(function(n){lu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$U(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var t_e={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,r){console&&console[t]&&console[t].apply(console,r)}},r_e=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};hc(this,e),this.init(t,r)}return pc(e,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=r||t_e,this.options=n,this.debug=n.debug}},{key:"setDebug",value:function(r){this.debug=r}},{key:"log",value:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return this.forward(n,"log","",!0)}},{key:"warn",value:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return this.forward(n,"warn","",!0)}},{key:"error",value:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return this.forward(n,"error","")}},{key:"deprecate",value:function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(r,n,i,a){return a&&!this.debug?null:(typeof r[0]=="string"&&(r[0]="".concat(i).concat(this.prefix," ").concat(r[0])),this.logger[n](r))}},{key:"create",value:function(r){return new e(this.logger,XU(XU({},{prefix:"".concat(this.prefix,":").concat(r,":")}),this.options))}},{key:"clone",value:function(r){return r=r||this.options,r.prefix=r.prefix||this.prefix,new e(this.logger,r)}}]),e}(),Gu=new r_e,Vh=function(){function e(){hc(this,e),this.observers={}}return pc(e,[{key:"on",value:function(r,n){var i=this;return r.split(" ").forEach(function(a){i.observers[a]=i.observers[a]||[],i.observers[a].push(n)}),this}},{key:"off",value:function(r,n){if(this.observers[r]){if(!n){delete this.observers[r];return}this.observers[r]=this.observers[r].filter(function(i){return i!==n})}}},{key:"emit",value:function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];if(this.observers[r]){var o=[].concat(this.observers[r]);o.forEach(function(l){l.apply(void 0,i)})}if(this.observers["*"]){var s=[].concat(this.observers["*"]);s.forEach(function(l){l.apply(l,[r].concat(i))})}}}]),e}();function v1(){var e,t,r=new Promise(function(n,i){e=n,t=i});return r.resolve=e,r.reject=t,r}function QU(e){return e==null?"":""+e}function n_e(e,t,r){e.forEach(function(n){t[n]&&(r[n]=t[n])})}function k6(e,t,r){function n(s){return s&&s.indexOf("###")>-1?s.replace(/###/g,"."):s}function i(){return!e||typeof e=="string"}for(var a=typeof t!="string"?[].concat(t):t.split(".");a.length>1;){if(i())return{};var o=n(a.shift());!e[o]&&r&&(e[o]=new r),Object.prototype.hasOwnProperty.call(e,o)?e=e[o]:e={}}return i()?{}:{obj:e,k:n(a.shift())}}function JU(e,t,r){var n=k6(e,t,Object),i=n.obj,a=n.k;i[a]=r}function i_e(e,t,r,n){var i=k6(e,t,Object),a=i.obj,o=i.k;a[o]=a[o]||[],a[o].push(r)}function uT(e,t){var r=k6(e,t),n=r.obj,i=r.k;if(n)return n[i]}function ez(e,t,r){var n=uT(e,r);return n!==void 0?n:uT(t,r)}function Gre(e,t,r){for(var n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?typeof e[n]=="string"||e[n]instanceof String||typeof t[n]=="string"||t[n]instanceof String?r&&(e[n]=t[n]):Gre(e[n],t[n],r):e[n]=t[n]);return e}function B0(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var a_e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function o_e(e){return typeof e=="string"?e.replace(/[&<>
67"'\/]/g,function(t){return a_e[t]}):e}var DP=typeof window<"u"&&window.navigator&&typeof window.navigator.userAgentData>"u"&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,s_e=[" ",",","?","!",";"];function l_e(e,t,r){t=t||"",r=r||"";var n=s_e.filter(function(s){return t.indexOf(s)<0&&r.indexOf(s)<0});if(n.length===0)return!0;var i=new RegExp("(".concat(n.map(function(s){return s==="?"?"\\?":s}).join("|"),")")),a=!i.test(e);if(!a){var o=e.indexOf(r);o>0&&!i.test(e.substring(0,o))&&(a=!0)}return a}function tz(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function uC(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?tz(Object(r),!0).forEach(function(n){lu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):tz(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function c_e(e){var t=u_e();return function(){var n=cd(e),i;if(t){var a=cd(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return Sx(this,i)}}function u_e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Kre(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(e){if(e[t])return e[t];for(var n=t.split(r),i=e,a=0;a<n.length;++a){if(!i||typeof i[n[a]]=="string"&&a+1<n.length)return;if(i[n[a]]===void 0){for(var o=2,s=n.slice(a,a+o).join(r),l=i[s];l===void 0&&n.length>a+o;)o++,s=n.slice(a,a+o).join(r),l=i[s];if(l===void 0)return;if(l===null)return null;if(t.endsWith(s)){if(typeof l=="string")return l;if(s&&typeof l[s]=="string")return l[s]}var c=n.slice(a+o).join(r);return c?Kre(l,c,r):void 0}i=i[n[a]]}return i}}var d_e=function(e){FP(r,e);var t=c_e(r);function r(n){var i,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return hc(this,r),i=t.call(this),DP&&Vh.call(Yd(i)),i.data=n||{},i.options=a,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.options.ignoreJSONStructure===void 0&&(i.options.ignoreJSONStructure=!0),i}return pc(r,[{key:"addNamespaces",value:function(i){this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}},{key:"removeNamespaces",value:function(i){var a=this.options.ns.indexOf(i);a>-1&&this.options.ns.splice(a,1)}},{key:"getResource",value:function(i,a,o){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},l=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,c=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure,u=[i,a];o&&typeof o!="string"&&(u=u.concat(o)),o&&typeof o=="string"&&(u=u.concat(l?o.split(l):o)),i.indexOf(".")>-1&&(u=i.split("."));var d=uT(this.data,u);return d||!c||typeof o!="string"?d:Kre(this.data&&this.data[i]&&this.data[i][a],o,l)}},{key:"addResource",value:function(i,a,o,s){var l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},c=this.options.keySeparator;c===void 0&&(c=".");var u=[i,a];o&&(u=u.concat(c?o.split(c):o)),i.indexOf(".")>-1&&(u=i.split("."),s=a,a=u[1]),this.addNamespaces(a),JU(this.data,u,s),l.silent||this.emit("added",i,a,o,s)}},{key:"addResources",value:function(i,a,o){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var l in o)(typeof o[l]=="string"||Object.prototype.toString.apply(o[l])==="[object Array]")&&this.addResource(i,a,l,o[l],{silent:!0});s.silent||this.emit("added",i,a,o)}},{key:"addResourceBundle",value:function(i,a,o,s,l){var c=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},u=[i,a];i.indexOf(".")>-1&&(u=i.split("."),s=o,o=a,a=u[1]),this.addNamespaces(a);var d=uT(this.data,u)||{};s?Gre(d,o,l):d=uC(uC({},d),o),JU(this.data,u,d),c.silent||this.emit("added",i,a,o)}},{key:"removeResourceBundle",value:function(i,a){this.hasResourceBundle(i,a)&&delete this.data[i][a],this.removeNamespaces(a),this.emit
67("removed",i,a)}},{key:"hasResourceBundle",value:function(i,a){return this.getResource(i,a)!==void 0}},{key:"getResourceBundle",value:function(i,a){return a||(a=this.options.defaultNS),this.options.compatibilityAPI==="v1"?uC(uC({},{}),this.getResource(i,a)):this.getResource(i,a)}},{key:"getDataByLanguage",value:function(i){return this.data[i]}},{key:"hasLanguageSomeTranslations",value:function(i){var a=this.getDataByLanguage(i),o=a&&Object.keys(a)||[];return!!o.find(function(s){return a[s]&&Object.keys(a[s]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),r}(Vh),Zre={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,r,n,i,a){var o=this;return t.forEach(function(s){o.processors[s]&&(r=o.processors[s].process(r,n,i,a))}),r}};function rz(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function To(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rz(Object(r),!0).forEach(function(n){lu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rz(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function f_e(e){var t=h_e();return function(){var n=cd(e),i;if(t){var a=cd(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return Sx(this,i)}}function h_e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}var nz={},iz=function(e){FP(r,e);var t=f_e(r);function r(n){var i,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return hc(this,r),i=t.call(this),DP&&Vh.call(Yd(i)),n_e(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
67i18nFormat","utils"],n,Yd(i)),i.options=a,i.options.keySeparator===void 0&&(i.options.keySeparator="."),i.logger=Gu.create("translator"),i}return pc(r,[{key:"changeLanguage",value:function(i){i&&(this.language=i)}},{key:"exists",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(i==null)return!1;var o=this.resolve(i,a);return o&&o.res!==void 0}},{key:"extractFromKey",value:function(i,a){var o=a.nsSeparator!==void 0?a.nsSeparator:this.options.nsSeparator;o===void 0&&(o=":");var s=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,l=a.ns||this.options.defaultNS||[],c=o&&i.indexOf(o)>-1,u=!this.options.userDefinedKeySeparator&&!a.keySeparator&&!this.options.userDefinedNsSeparator&&!a.nsSeparator&&!l_e(i,o,s);if(c&&!u){var d=i.match(this.interpolator.nestingRegexp);if(d&&d.length>0)return{key:i,namespaces:l};var f=i.split(o);(o!==s||o===s&&this.options.ns.indexOf(f[0])>-1)&&(l=f.shift()),i=f.join(s)}return typeof l=="string"&&(l=[l]),{key:i,namespaces:l}}},{key:"translate",value:function(i,a,o){var s=this;if(ho(a)!=="object"&&this.options.overloadTranslationOptionHandler&&(a=this.options.overloadTranslationOptionHandler(arguments)),a||(a={}),i==null)return"";Array.isArray(i)||(i=[String(i)]);var l=a.returnDetails!==void 0?a.returnDetails:this.options.returnDetails,c=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,u=this.extractFromKey(i[i.length-1],a),d=u.key,f=u.namespaces,h=f[f.length-1],p=a.lng||this.language,g=a.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p&&p.toLowerCase()==="cimode"){if(g){var v=a.nsSeparator||this.options.nsSeparator;return l?(m.res="".concat(h).concat(v).concat(d),m):"".concat(h).concat(v).concat(d)}return l?(m.res=d,m):d}var m=this.resolve(i,a),b=m&&m.res,y=m&&m.usedKey||d,w=m&&m.exactUsedKey||d,x=Object.prototype.toString.apply(b),C=["[object Number]","[object Function]","[object RegExp]"],T=a.joinArrays!==void 0?a.joinArrays:this.options.joinArrays,_=!this.i18nFormat||this.i18nFormat.handleAsObject,P=typeof b!="string"&&typeof b!="boolean"&&typeof b!="number";if(_&&b&&P&&C.indexOf(x)<0&&!(typeof T=="string"&&x==="[object Array]")){if(!a.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var F=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,b,To(To({},a),{},{ns:f})):"key '".concat(d," (").concat(this.language,")' returned an object instead of string.");return l?(m.res=F,m):F}if(c){var I=x==="[object Array]",R=I?[]:{},D=I?w:y;for(var A in b)if(Object.prototype.hasOwnProperty.call(b,A)){var M="".concat(D).concat(c).concat(A);R[A]=this.translate(M,To(To({},a),{joinArrays:!1,ns:f})),R[A]===M&&(R[A]=b[A])}b=R}}else if(_&&typeof T=="string"&&x==="[object Array]")b=b.join(T),b&&(b=this.extendTranslation(b,i,a,o));else{var X=!1,Y=!1,se=a.count!==void 0&&typeof a.count!="string",ne=r.hasDefaultValue(a),ie=se?this.pluralResolver.getSuffix(p,a.count,a):"",ae=a["defaultValue".concat(ie)]||a.defaultValue;
67!this.isValidLookup(b)&&ne&&(X=!0,b=ae),this.isValidLookup(b)||(Y=!0,b=d);var ce=a.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,ke=ce&&Y?void 0:b,ge=ne&&ae!==b&&this.options.updateMissing;if(Y||X||ge){if(this.logger.log(ge?"updateKey":"missingKey",p,h,d,ge?ae:b),c){var De=this.resolve(d,To(To({},a),{},{keySeparator:!1}));De&&De.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var Ne=[],We=this.languageUtils.getFallbackCodes(this.options.fallbackLng,a.lng||this.language);if(this.options.saveMissingTo==="fallback"&&We&&We[0])for(var z=0;z<We.length;z++)Ne.push(We[z]);else this.options.saveMissingTo==="all"?Ne=this.languageUtils.toResolveHierarchy(a.lng||this.language):Ne.push(a.lng||this.language);var J=function(q,G,N){var O=ne&&N!==b?N:ke;s.options.missingKeyHandler?s.options.missingKeyHandler(q,h,G,O,ge,a):s.backendConnector&&s.backendConnector.saveMissing&&s.backendConnector.saveMissing(q,h,G,O,ge,a),s.emit("missingKey",q,h,G,b)};this.options.saveMissing&&(this.options.saveMissingPlurals&&se?Ne.forEach(function(j){s.pluralResolver.getSuffixes(j,a).forEach(function(q){J([j],d+q,a["defaultValue".concat(q)]||ae)})}):J(Ne,d,ae))}b=this.extendTranslation(b,i,a,m,o),Y&&b===d&&this.options.appendNamespaceToMissingKey&&(b="".concat(h,":").concat(d)),(Y||X)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?b=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(h,":").concat(d):d,X?b:void 0):b=this.options.parseMissingKeyHandler(b))}return l?(m.res=b,m):b}},{key:"extendTranslation",value:function(i,a,o,s,l){var c=this;if(this.i18nFormat&&this.i18nFormat.parse)i=this.i18nFormat.parse(i,To(To({},this.options.interpolation.defaultVariables),o),s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init(To(To({},o),{interpolation:To(To({},this.options.interpolation),o.interpolation)}));var u=typeof i=="string"&&(o&&o.interpolation&&o.interpolation.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),d;if(u){var f=i.match(this.interpolator.nestingRegexp);d=f&&f.length}var h=o.replace&&typeof o.replace!="string"?o.replace:o;if(this.options.interpolation.defaultVariables&&(h=To(To({},this.options.interpolation.defaultVariables),h)),i=this.interpolator.interpolate(i,h,o.lng||this.language,o),u){var p=i.match(this.interpolator.nestingRegexp),g=p&&p.length;d<g&&(o.nest=!1)}o.nest!==!1&&(i=this.interpolator.nest(i,function(){for(var b=arguments.length,y=new Array(b),w=0;w<b;w++)y[w]=arguments[w];return l&&l[0]===y[0]&&!o.context?(c.logger.warn("It seems you are nesting recursively key: ".concat(y[0]," in key: ").concat(a[0])),null):c.translate.apply(c,y.concat([a]))},o)),o.interpolation&&this.interpolator.reset()}var v=o.postProcess||this.options.postProcess,m=typeof v=="string"?[v]:v;return i!=null&&m&&m.length&&o.applyPostProcessor!==!1&&(i=Zre.handle(m,i,a,this.options&&this.options.postProcessPassResolved?To({i18nResolved:s},o):o,this)),i}},{key:"resolve",value:function(i){var a=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,l,c,u,d;
67return typeof i=="string"&&(i=[i]),i.forEach(function(f){if(!a.isValidLookup(s)){var h=a.extractFromKey(f,o),p=h.key;l=p;var g=h.namespaces;a.options.fallbackNS&&(g=g.concat(a.options.fallbackNS));var v=o.count!==void 0&&typeof o.count!="string",m=v&&!o.ordinal&&o.count===0&&a.pluralResolver.shouldUseIntlApi(),b=o.context!==void 0&&(typeof o.context=="string"||typeof o.context=="number")&&o.context!=="",y=o.lngs?o.lngs:a.languageUtils.toResolveHierarchy(o.lng||a.language,o.fallbackLng);g.forEach(function(w){a.isValidLookup(s)||(d=w,!nz["".concat(y[0],"-").concat(w)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(d)&&(nz["".concat(y[0],"-").concat(w)]=!0,a.logger.warn('key "'.concat(l,'" for languages "').concat(y.join(", "),`" won't get resolved as namespace "`).concat(d,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),y.forEach(function(x){if(!a.isValidLookup(s)){u=x;var C=[p];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(C,p,x,w,o);else{var T;v&&(T=a.pluralResolver.getSuffix(x,o.count,o));var _="".concat(a.options.pluralSeparator,"zero");if(v&&(C.push(p+T),m&&C.push(p+_)),b){var P="".concat(p).concat(a.options.contextSeparator).concat(o.context);C.push(P),v&&(C.push(P+T),m&&C.push(P+_))}}for(var F;F=C.pop();)a.isValidLookup(s)||(c=F,s=a.getResource(x,w,F,o))}}))})}}),{res:s,usedKey:l,exactUsedKey:c,usedLng:u,usedNS:d}}},{key:"isValidLookup",value:function(i){return i!==void 0&&!(!this.options.returnNull&&i===null)&&!(!this.options.returnEmptyString&&i==="")}},{key:"getResource",value:function(i,a,o){var s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(i,a,o,s):this.resourceStore.getResource(i,a,o,s)}}],[{key:"hasDefaultValue",value:function(i){var a="defaultValue";for(var o in i)if(Object.prototype.hasOwnProperty.call(i,o)&&a===o.substring(0,a.length)&&i[o]!==void 0)return!0;return!1}}]),r}(Vh);function FI(e){return e.charAt(0).toUpperCase()+e.slice(1)}var p_e=function(){function e(t){hc(this,e),this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Gu.create("languageUtils")}return pc(e,[{key:"getScriptPartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return null;var n=r.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}},{key:"getLanguagePartFromCode",value:function(r){if(!r||r.indexOf("-")<0)return r;var n=r.split("-");return this.formatLanguageCode(n[0])}},{key:"formatLanguageCode",value:function(r){if(typeof r=="string"&&r.indexOf("-")>-1){var n=["hans","hant","latn","cyrl","cans","mong","arab"],i=r.split("-");return this.options.lowerCaseLng?i=i.map(function(a){return a.toLowerCase()}):i.length===2?(i[0]=i[0].toLowerCase(),i[1]=i[1].toUpperCase(),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=FI(i[1].toLowerCase()))):i.length===3&&(i[0]=i[0].toLowerCase(),i[1].length===2&&(i[1]=i[1].toUpperCase()),i[0]!=="sgn"&&i[2].length===2&&(i[2]=i[2].toUpperCase()),n.indexOf(i[1].toLowerCase())>-1&&(i[1]=FI(i[1].toLowerCase())),n.indexOf(i[2].toLowerCase())>-1&&(i[2]=FI(i[2].toLowerCase()))),i.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?r.toLowerCase():r}},{key:"isSupportedCode",value:function(r){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(r=this.getLanguagePartFromCode(r)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(r)>-1}},{key:"getBestMatchFromCodes",value:function(r){var n=this;if(!r)return null;var i;return r.forEach(function(a){if(!i){var o=n.formatLanguageCode(a);(!n.options.supportedLngs||n.isSupportedCode(o))&&(i=o)}}),!i&&this.options.supportedLngs&&r.forEach(function(a){if(!i){var o=n.getLanguagePartFromCode(a);if(n.isSupportedCode(o))return i=o;i=n.options.supportedLngs.find(function(s){if(s.indexOf(o)===0)return s})}}),i||(i=this.getFallbackCodes(this.options.fallbackLng)[0]),i}},{key:"getFallbackCodes",value:function(r,n){if(!r)return[];if(typeof r=="function"&&(r=r(n)),typeof r=="string"&&(r=[r]),Object.prototype.toString.apply(r)==="[object Array]")return r;if(!n)return r.default||[];var i=r[n];
67return i||(i=r[this.getScriptPartFromCode(n)]),i||(i=r[this.formatLanguageCode(n)]),i||(i=r[this.getLanguagePartFromCode(n)]),i||(i=r.default),i||[]}},{key:"toResolveHierarchy",value:function(r,n){var i=this,a=this.getFallbackCodes(n||this.options.fallbackLng||[],r),o=[],s=function(c){c&&(i.isSupportedCode(c)?o.push(c):i.logger.warn("rejecting language code not found in supportedLngs: ".concat(c)))};return typeof r=="string"&&r.indexOf("-")>-1?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(r)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(r)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(r))):typeof r=="string"&&s(this.formatLanguageCode(r)),a.forEach(function(l){o.indexOf(l)<0&&s(i.formatLanguageCode(l))}),o}}]),e}(),m_e=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],g_e={1:function(t){return+(t>1)},2:function(t){return+(t!=1)},3:function(t){return 0},4:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},5:function(t){return t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},6:function(t){return t==1?0:t>=2&&t<=4?1:2},7:function(t){return t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2},8:function(t){return t==1?0:t==2?1:t!=8&&t!=11?2:3},9:function(t){return+(t>=2)},10:function(t){return t==1?0:t==2?1:t<7?2:t<11?3:4},11:function(t){return t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3},12:function(t){return+(t%10!=1||t%100==11)},13:function(t){return+(t!==0)},14:function(t){return t==1?0:t==2?1:t==3?2:3},15:function(t){return t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2},16:function(t){return t%10==1&&t%100!=11?0:t!==0?1:2},17:function(t){return t==1||t%10==1&&t%100!=11?0:1},18:function(t){return t==0?0:t==1?1:2},19:function(t){return t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3},20:function(t){return t==1?0:t==0||t%100>0&&t%100<20?1:2},21:function(t){return t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0},22:function(t){return t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3}},v_e=["v1","v2","v3"],az={zero:0,one:1,two:2,few:3,many:4,other:5};function y_e(){var e={};return m_e.forEach(function(t){t.lngs.forEach(function(r){e[r]={numbers:t.nr,plurals:g_e[t.fc]}})}),e}var b_e=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};hc(this,e),this.languageUtils=t,this.options=r,this.logger=Gu.create("pluralResolver"),(!this.options.compatibilityJSON||this.options.compatibilityJSON==="v4")&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=y_e()}return pc(e,[{key:"addRule",value:function(r,n){this.rules[r]=n}},{key:"getRule",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(r,{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[r]||this.rules[this.languageUtils.getLanguagePartFromCode(r)]}},{key:"needsPlural",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=this.getRule(r,n);return this.shouldUseIntlApi()?i&&i.resolvedOptions().pluralCategories.length>1:i&&i.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(r,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};
67return this.getSuffixes(r,i).map(function(a){return"".concat(n).concat(a)})}},{key:"getSuffixes",value:function(r){var n=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=this.getRule(r,i);return a?this.shouldUseIntlApi()?a.resolvedOptions().pluralCategories.sort(function(o,s){return az[o]-az[s]}).map(function(o){return"".concat(n.options.prepend).concat(o)}):a.numbers.map(function(o){return n.getSuffix(r,o,i)}):[]}},{key:"getSuffix",value:function(r,n){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=this.getRule(r,i);return a?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(a.select(n)):this.getSuffixRetroCompatible(a,n):(this.logger.warn("no plural rule found for: ".concat(r)),"")}},{key:"getSuffixRetroCompatible",value:function(r,n){var i=this,a=r.noAbs?r.plurals(n):r.plurals(Math.abs(n)),o=r.numbers[a];this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1&&(o===2?o="plural":o===1&&(o=""));var s=function(){return i.options.prepend&&o.toString()?i.options.prepend+o.toString():o.toString()};return this.options.compatibilityJSON==="v1"?o===1?"":typeof o=="number"?"_plural_".concat(o.toString()):s():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&r.numbers.length===2&&r.numbers[0]===1?s():this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString()}},{key:"shouldUseIntlApi",value:function(){return!v_e.includes(this.options.compatibilityJSON)}}]),e}();function oz(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Cc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?oz(Object(r),!0).forEach(function(n){lu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):oz(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var S_e=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};hc(this,e),this.logger=Gu.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(r){return r},this.init(t)}return pc(e,[{key:"init",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};r.interpolation||(r.interpolation={escapeValue:!0});var n=r.interpolation;this.escape=n.escape!==void 0?n.escape:o_e,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?B0(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?B0(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?B0(n.nestingPrefix):n.nestingPrefixEscaped||B0("$t("),this.nestingSuffix=n.nestingSuffix?B0(n.nestingSuffix):n.nestingSuffixEscaped||B0(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var r="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(r,"g");var n="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(n,"g");var i="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(i,"g")}},{key:"interpolate",value:function(r,n,i,a){var o=this,s,l,c,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function d(v){return v.replace(/\$/g,"$$$$")}var f=function(m){if(m.indexOf(o.formatSeparator)<0){var b=ez(n,u,m);return o.alwaysFormat?o.format(b,void 0,i,Cc(Cc(Cc({},a),n),{},{interpolationkey:m})):b}var y=m.split(o.formatSeparator),w=y.shift().trim(),x=y.join(o.formatSeparator).trim();return o.format(ez(n,u,w),x,i,Cc(Cc(Cc({},a),n),{},{interpolationkey:w}))};this.resetRegExp();var h=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,p=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,g=[{regex:this.regexpUnescape,safeValue:function(m){return d(m)}},{regex:this.regexp,safeValue:function(m){return o.escapeValue?d(o.escape(m)):d(m)}}];return g.forEach(function(v){for(c=0;s=v.regex.exec(r);){var m=s[1].trim();if(l=f(m),l===void 0)if(typeof h=="function"){var b=h(r,s,a);l=typeof b=="string"?b:""}else if(a&&a.hasOwnProperty(m))l="";else if(p){l=s[0];continue}else o.logger.warn("missed to pass in variable ".concat(m," for interpolating ").concat(r)),l="";else typeof l!="string"&&!o.useRawValueToEscape&&(l=QU(l));var y=v.safeValue(l);if(r=r.replace(s[0],y),p?(v.regex.lastIndex+=l.length,v.regex.lastIndex-=s[0].length):v.regex.lastIndex=0,c++,c>=o.maxReplaces)break}}),r}},{key:"nest",value:function(r,n){var i=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o,s,l=Cc({},a);l.applyPostProcessor=!1,delete l.defaultValue;function c(h,p){var g=this.nestingOptionsSeparator;if(h.indexOf(g)<0)return h;var v=h.split(new RegExp("".concat(g,"[ ]*{"))),m="{".concat(v[1]);h=v[0],m=this.interpolate(m,l);var b=m.match(/'/g),y=m.match(/"/g);(b&&b.length%2===0&&!y||y.length%2!==0)&&(m=m.replace(/'/g,'"'));try{l=JSON.parse(m),p&&(l=Cc(Cc({},p),l))}catch(w){return this.logger.warn("failed parsing options string in nesting for key ".concat(h),w),"".concat(h).concat(g).concat(m)}return delete l.defaultValue,h}for(;o=this.nestingRegexp.exec(r);){var u=[],d=!1;if(o[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(o[1])){var f=o[1].split(this.formatSeparator).map(function(h){return h.trim()});o[1]=f.shift(),u=f,d=!0}if(s=n(c.call(this,o[1].trim(),l),l),s&&o[0]===r&&typeof s!="str
67ing")return s;typeof s!="string"&&(s=QU(s)),s||(this.logger.warn("missed to resolve ".concat(o[1]," for nesting ").concat(r)),s=""),d&&(s=u.reduce(function(h,p){return i.format(h,p,a.lng,Cc(Cc({},a),{},{interpolationkey:o[1].trim()}))},s.trim())),r=r.replace(o[0],s),this.regexp.lastIndex=0}return r}}]),e}();function sz(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Df(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?sz(Object(r),!0).forEach(function(n){lu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):sz(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function w_e(e){var t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){var n=e.split("(");t=n[0].toLowerCase().trim();var i=n[1].substring(0,n[1].length-1);if(t==="currency"&&i.indexOf(":")<0)r.currency||(r.currency=i.trim());else if(t==="relativetime"&&i.indexOf(":")<0)r.range||(r.range=i.trim());else{var a=i.split(";");a.forEach(function(o){if(o){var s=o.split(":"),l=e_e(s),c=l[0],u=l.slice(1),d=u.join(":").trim().replace(/^'+|'+$/g,"");r[c.trim()]||(r[c.trim()]=d),d==="false"&&(r[c.trim()]=!1),d==="true"&&(r[c.trim()]=!0),isNaN(d)||(r[c.trim()]=parseInt(d,10))}})}}return{formatName:t,formatOptions:r}}function U0(e){var t={};return function(n,i,a){var o=i+JSON.stringify(a),s=t[o];return s||(s=e(i,a),t[o]=s),s(n)}}var x_e=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};hc(this,e),this.logger=Gu.create("formatter"),this.options=t,this.formats={number:U0(function(r,n){var i=new Intl.NumberFormat(r,n);return function(a){return i.format(a)}}),currency:U0(function(r,n){var i=new Intl.NumberFormat(r,Df(Df({},n),{},{style:"currency"}));return function(a){return i.format(a)}}),datetime:U0(function(r,n){var i=new Intl.DateTimeFormat(r,Df({},n));return function(a){return i.format(a)}}),relativetime:U0(function(r,n){var i=new Intl.RelativeTimeFormat(r,Df({},n));return function(a){return i.format(a,n.range||"day")}}),list:U0(function(r,n){var i=new Intl.ListFormat(r,Df({},n));return function(a){return i.format(a)}})},this.init(t)}return pc(e,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}},i=n.interpolation;this.formatSeparator=i.formatSeparator?i.formatSeparator:i.formatSeparator||","}},{key:"add",value:function(r,n){this.formats[r.toLowerCase().trim()]=n}},{key:"addCached",value:function(r,n){this.formats[r.toLowerCase().trim()]=U0(n)}},{key:"format",value:function(r,n,i,a){var o=this,s=n.split(this.formatSeparator),l=s.reduce(function(c,u){var d=w_e(u),f=d.formatName,h=d.formatOptions;if(o.formats[f]){var p=c;try{var g=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},v=g.locale||g.lng||a.locale||a.lng||i;p=o.formats[f](c,v,Df(Df(Df({},h),a),g))}catch(m){o.logger.warn(m)}return p}else o.logger.warn("there was no format function for ".concat(f));return c},r);return l}}]),e}();function lz(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function cz(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?lz(Object(r),!0).forEach(function(n){lu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lz(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function C_e(e){var t=E_e();return function(){var n=cd(e),i;if(t){var a=cd(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return Sx(this,i)}}function E_e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}
67function k_e(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}var T_e=function(e){FP(r,e);var t=C_e(r);function r(n,i,a){var o,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return hc(this,r),o=t.call(this),DP&&Vh.call(Yd(o)),o.backend=n,o.store=i,o.services=a,o.languageUtils=a.languageUtils,o.options=s,o.logger=Gu.create("backendConnector"),o.waitingReads=[],o.maxParallelReads=s.maxParallelReads||10,o.readingCalls=0,o.maxRetries=s.maxRetries>=0?s.maxRetries:5,o.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(a,s.backend,s),o}return pc(r,[{key:"queueLoad",value:function(i,a,o,s){var l=this,c={},u={},d={},f={};return i.forEach(function(h){var p=!0;a.forEach(function(g){var v="".concat(h,"|").concat(g);!o.reload&&l.store.hasResourceBundle(h,g)?l.state[v]=2:l.state[v]<0||(l.state[v]===1?u[v]===void 0&&(u[v]=!0):(l.state[v]=1,p=!1,u[v]===void 0&&(u[v]=!0),c[v]===void 0&&(c[v]=!0),f[g]===void 0&&(f[g]=!0)))}),p||(d[h]=!0)}),(Object.keys(c).length||Object.keys(u).length)&&this.queue.push({pending:u,pendingCount:Object.keys(u).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(c),pending:Object.keys(u),toLoadLanguages:Object.keys(d),toLoadNamespaces:Object.keys(f)}}},{key:"loaded",value:function(i,a,o){var s=i.split("|"),l=s[0],c=s[1];a&&this.emit("failedLoading",l,c,a),o&&this.store.addResourceBundle(l,c,o),this.state[i]=a?-1:2;var u={};this.queue.forEach(function(d){i_e(d.loaded,[l],c),k_e(d,i),a&&d.errors.push(a),d.pendingCount===0&&!d.done&&(Object.keys(d.loaded).forEach(function(f){u[f]||(u[f]={});var h=d.loaded[f];h.length&&h.forEach(function(p){u[f][p]===void 0&&(u[f][p]=!0)})}),d.done=!0,d.errors.length?d.callback(d.errors):d.callback())}),this.emit("loaded",u),this.queue=this.queue.filter(function(d){return!d.done})}},{key:"read",value:function(i,a,o){var s=this,l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,c=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,u=arguments.length>5?arguments[5]:void 0;if(!i.length)return u(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:i,ns:a,fcName:o,tried:l,wait:c,callback:u});return}return this.readingCalls++,this.backend[o](i,a,function(d,f){if(s.readingCalls--,s.waitingReads.length>0){var h=s.waitingReads.shift();s.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(d&&f&&l<s.maxRetries){setTimeout(function(){s.read.call(s,i,a,o,l+1,c*2,u)},c);return}u(d,f)})}},{key:"prepareLoading",value:function(i,a){var o=this,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),l&&l();typeof i=="string"&&(i=this.languageUtils.toResolveHierarchy(i)),typeof a=="string"&&(a=[a]);var c=this.queueLoad(i,a,s,l);if(!c.toLoad.length)return c.pending.length||l(),null;c.toLoad.forEach(function(u){o.loadOne(u)})}},{key:"load",value:function(i,a,o){this.prepareLoading(i,a,{},o)}},{key:"reload",value:function(i,a,o){this.prepareLoading(i,a,{reload:!0},o)}},{key:"loadOne",value:function(i){var a=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",s=i.split("|"),l=s[0],c=s[1];this.read(l,c,"read",void 0,void 0,function(u,d){u&&a.logger.warn("".concat(o,"loading namespace ").concat(c," for language ").concat(l," failed"),u),!u&&d&&a.logger.log("".concat(o,"loaded namespace ").concat(c," for language ").concat(l),d),a.loaded(i,u,d)})}},{key:"saveMissing",value:function(i,a,o,s,l){var c=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(a)){this.logger.warn('did not save key "'.concat(o,'" as the namespace "').concat(a,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}o==null||o===""||(this.backend&&this.backend.create&&this.backend.create(i,a,o,s,null,cz(cz({},c),{},{isUpdate:l})),!(!i||!i[0])&&this.store.addResource(i[0],a,o,s))}}]),r}(Vh);function __e(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var r={};if(ho(t[1])==="object"&&(r=t[1]),typeof t[1]=="string"&&(r.defaultValue=t[1]),typeof t[2]=="str
67ing"&&(r.tDescription=t[2]),ho(t[2])==="object"||ho(t[3])==="object"){var n=t[3]||t[2];Object.keys(n).forEach(function(i){r[i]=n[i]})}return r},interpolation:{escapeValue:!0,format:function(t,r,n,i){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function uz(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function dz(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function yu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dz(Object(r),!0).forEach(function(n){lu(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dz(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function P_e(e){var t=A_e();return function(){var n=cd(e),i;if(t){var a=cd(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return Sx(this,i)}}function A_e(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function dC(){}function O_e(e){var t=Object.getOwnPropertyNames(Object.getPrototypeOf(e));t.forEach(function(r){typeof e[r]=="function"&&(e[r]=e[r].bind(e))})}var dT=function(e){FP(r,e);var t=P_e(r);function r(){var n,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;if(hc(this,r),n=t.call(this),DP&&Vh.call(Yd(n)),n.options=uz(i),n.services={},n.logger=Gu,n.modules={external:[]},O_e(Yd(n)),a&&!n.isInitialized&&!i.isClone){if(!n.options.initImmediate)return n.init(i,a),Sx(n,Yd(n));setTimeout(function(){n.init(i,a)},0)}return n}return pc(r,[{key:"init",value:function(){var i=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;typeof a=="function"&&(o=a,a={}),!a.defaultNS&&a.defaultNS!==!1&&a.ns&&(typeof a.ns=="string"?a.defaultNS=a.ns:a.ns.indexOf("translation")<0&&(a.defaultNS=a.ns[0]));var s=__e();this.options=yu(yu(yu({},s),this.options),uz(a)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=yu(yu({},s.interpolation),this.options.interpolation)),a.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=a.keySeparator),a.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=a.nsSeparator);function l(m){return m?typeof m=="function"?new m:m:null}if(!this.options.isClone){this.modules.logger?Gu.init(l(this.modules.logger),this.options):Gu.init(null,this.options);var c;this.modules.formatter?c=this.modules.formatter:typeof Intl<"u"&&(c=x_e);var u=new p_e(this.options);this.store=new d_e(this.options.resources,this.options);var d=this.services;d.logger=Gu,d.resourceStore=this.store,d.languageUtils=u,d.pluralResolver=new b_e(u,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),c&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(d.formatter=l(c),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new S_e(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new T_e(l(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(m){for(var b=arguments.length,y=new Array(b>1?b-1:0),w=1;w<b;w++)y[w-1]=arguments[w];i.emit.apply(i,[m].concat(y))}),this.modules.languageDetector&&(d.languageDetector=l(this.modules.languageDetector),d.languageDetector.init(d,this.options.detection,this.options)),this.modules.i18nFormat&&(d.i18nFormat=l(this.modules.i18nFormat),d.i18nFormat.init&&d.i18nFormat.init(this)),this.translator=new iz(this.services,this.options),this.translator.on("*",function(m){for(var b=arguments.length,y=new Array(b>1?b-1:0),w=1;w<b;w++)y[w-1]=arguments[w];i.emit.apply(i,[m].concat(y))}),this.modules.external.forEach(function(m){m.init&&m.init(i)})}if(this.format=this.options.interpolation.format,o||(o=dC),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!=="dev"&&(this.options.lng=f[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined");var h=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];h.forEach(function(m){i[m]=function(){var b;return(b=i.store)[m].apply(b,arguments)}});var p=["addResource","addResources","addResourceBundle","removeResourceBundle"];p.forEach(function(m){i[m]=function(){var b;return(b=i.store)[m].apply(b,arguments),i}});var g=v1(),v=function(){var b=function(w,x){i.isInitialized&&!i.initializedStoreOnce&&i.logger.warn("init: i18next is already initialized. You should call init just once!"),i.isInitialized=!0,i.options.isClone||i.logger.log("initialized",i.options),i.emit("initialized",i.options),g.resolve(x),o(w,x)};if(i.languages&&i.options.compatibilityAPI!=="v1"&&!i.isInitialized)return b(null,i.t.bind(i));i.changeLanguage(i.options.lng,b)};return this.options.resources||!this.options.initImmediate?v():setTimeout(v,0),g}},{key:"loadResources",value:function(i){var a=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:dC,s=o,l=typeof i=="string"?i:this.language;if(typeof i=="function"&&(s=i),!this.options.resources||this.options.partialBundledLanguages){if(l&&l.toLowerCase()==="cimode")return s();var c=[],u=function(h){if(h){var p=a.services.languageUtils.toResolveHierarchy(h);p.forEach(function(g){c.indexOf(g)<0&&c.push(g)})}};if(l)u(l);else{var d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.forEach(function(f){return u(f)})}
67this.options.preload&&this.options.preload.forEach(function(f){return u(f)}),this.services.backendConnector.load(c,this.options.ns,function(f){!f&&!a.resolvedLanguage&&a.language&&a.setResolvedLanguage(a.language),s(f)})}else s(null)}},{key:"reloadResources",value:function(i,a,o){var s=v1();return i||(i=this.languages),a||(a=this.options.ns),o||(o=dC),this.services.backendConnector.reload(i,a,function(l){s.resolve(),o(l)}),s}},{key:"use",value:function(i){if(!i)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!i.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return i.type==="backend"&&(this.modules.backend=i),(i.type==="logger"||i.log&&i.warn&&i.error)&&(this.modules.logger=i),i.type==="languageDetector"&&(this.modules.languageDetector=i),i.type==="i18nFormat"&&(this.modules.i18nFormat=i),i.type==="postProcessor"&&Zre.addPostProcessor(i),i.type==="formatter"&&(this.modules.formatter=i),i.type==="3rdParty"&&this.modules.external.push(i),this}},{key:"setResolvedLanguage",value:function(i){if(!(!i||!this.languages)&&!(["cimode","dev"].indexOf(i)>-1))for(var a=0;a<this.languages.length;a++){var o=this.languages[a];if(!(["cimode","dev"].indexOf(o)>-1)&&this.store.hasLanguageSomeTranslations(o)){this.resolvedLanguage=o;break}}}},{key:"changeLanguage",value:function(i,a){var o=this;this.isLanguageChangingTo=i;var s=v1();this.emit("languageChanging",i);var l=function(f){o.language=f,o.languages=o.services.languageUtils.toResolveHierarchy(f),o.resolvedLanguage=void 0,o.setResolvedLanguage(f)},c=function(f,h){h?(l(h),o.translator.changeLanguage(h),o.isLanguageChangingTo=void 0,o.emit("languageChanged",h),o.logger.log("languageChanged",h)):o.isLanguageChangingTo=void 0,s.resolve(function(){return o.t.apply(o,arguments)}),a&&a(f,function(){return o.t.apply(o,arguments)})},u=function(f){!i&&!f&&o.services.languageDetector&&(f=[]);var h=typeof f=="string"?f:o.services.languageUtils.getBestMatchFromCodes(f);h&&(o.language||l(h),o.translator.language||o.translator.changeLanguage(h),o.services.languageDetector&&o.services.languageDetector.cacheUserLanguage(h)),o.loadResources(h,function(p){c(p,h)})};return!i&&this.services.languageDetector&&!this.services.languageDetector.async?u(this.services.languageDetector.detect()):!i&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(u):u(i),s}},{key:"getFixedT",value:function(i,a,o){var s=this,l=function c(u,d){var f;if(ho(d)!=="object"){for(var h=arguments.length,p=new Array(h>2?h-2:0),g=2;g<h;g++)p[g-2]=arguments[g];f=s.options.overloadTranslationOptionHandler([u,d].concat(p))}else f=yu({},d);f.lng=f.lng||c.lng,f.lngs=f.lngs||c.lngs,f.ns=f.ns||c.ns,f.keyPrefix=f.keyPrefix||o||c.keyPrefix;var v=s.options.keySeparator||".",m=f.keyPrefix?"".concat(f.keyPrefix).concat(v).concat(u):u;return s.t(m,f)};return typeof i=="string"?l.lng=i:l.lngs=i,l.ns=a,l.keyPrefix=o,l}},{key:"t",value:function(){var i;return this.translator&&(i=this.translator).translate.apply(i,arguments)}},{key:"exists",value:function(){var i;return this.translator&&(i=this.translator).exists.apply(i,arguments)}},{key:"setDefaultNamespace",value:function(i){this.options.defaultNS=i}},{key:"hasLoadedNamespace",value:function(i){var a=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
67if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var s=this.resolvedLanguage||this.languages[0],l=this.options?this.options.fallbackLng:!1,c=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;var u=function(h,p){var g=a.services.backendConnector.state["".concat(h,"|").concat(p)];return g===-1||g===2};if(o.precheck){var d=o.precheck(this,u);if(d!==void 0)return d}return!!(this.hasResourceBundle(s,i)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||u(s,i)&&(!l||u(c,i)))}},{key:"loadNamespaces",value:function(i,a){var o=this,s=v1();return this.options.ns?(typeof i=="string"&&(i=[i]),i.forEach(function(l){o.options.ns.indexOf(l)<0&&o.options.ns.push(l)}),this.loadResources(function(l){s.resolve(),a&&a(l)}),s):(a&&a(),Promise.resolve())}},{key:"loadLanguages",value:function(i,a){var o=v1();typeof i=="string"&&(i=[i]);var s=this.options.preload||[],l=i.filter(function(c){return s.indexOf(c)<0});return l.length?(this.options.preload=s.concat(l),this.loadResources(function(c){o.resolve(),a&&a(c)}),o):(a&&a(),Promise.resolve())}},{key:"dir",value:function(i){if(i||(i=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!i)return"rtl";var a=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"];return a.indexOf(this.services.languageUtils.getLanguagePartFromCode(i))>-1||i.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}},{key:"cloneInstance",value:function(){var i=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:dC,s=yu(yu(yu({},this.options),a),{isClone:!0}),l=new r(s);(a.debug!==void 0||a.prefix!==void 0)&&(l.logger=l.logger.clone(a));var c=["store","services","language"];return c.forEach(function(u){l[u]=i[u]}),l.services=yu({},this.services),l.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l.translator=new iz(l.services,l.options),l.translator.on("*",function(u){for(var d=arguments.length,f=new Array(d>1?d-1:0),h=1;h<d;h++)f[h-1]=arguments[h];l.emit.apply(l,[u].concat(f))}),l.init(s,o),l.translator.options=l.options,l.translator.backendConnector.services.utils={hasLoadedNamespace:l.hasLoadedNamespace.bind(l)},l}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),r}(Vh);lu(dT,"createInstance",function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new dT(e,t)});var xa=dT.createInstance();xa.createInstance=dT.createInstance;xa.createInstance;xa.init;xa.loadResources;xa.reloadResources;xa.use;xa.changeLanguage;xa.getFixedT;var Ixt=xa.t;xa.exists;xa.setDefaultNamespace;xa.hasLoadedNamespace;xa.loadNamespaces;xa.loadLanguages;var Yre=[],I_e=Yre.forEach,R_e=Yre.slice;function F_e(e){return I_e.call(R_e.call(arguments,1),function(t){if(t)for(var r in t)e[r]===void 0&&(e[r]=t[r])}),e}var fz=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,D_e=function(t,r,n){var i=n||{};i.path=i.path||"/";var a=encodeURIComponent(r),o="".concat(t,"=").concat(a);if(i.maxAge>0){var s=i.maxAge-0;if(Number.isNaN(s))throw new Error("maxAge should be a Number");o+="; Max-Age=".concat(Math.floor(s))}if(i.domain){if(!fz.test(i.domain))throw new TypeError("option domain is invalid");o+="; Domain=".concat(i.domain)}if(i.path){if(!fz.test(i.path))throw new TypeError("option path is invalid");o+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invali
67d");o+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(o+="; HttpOnly"),i.secure&&(o+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return o},hz={create:function(t,r,n,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),i&&(a.domain=i),document.cookie=D_e(t,encodeURIComponent(r),a)},read:function(t){for(var r="".concat(t,"="),n=document.cookie.split(";"),i=0;i<n.length;i++){for(var a=n[i];a.charAt(0)===" ";)a=a.substring(1,a.length);if(a.indexOf(r)===0)return a.substring(r.length,a.length)}return null},remove:function(t){this.create(t,"",-1)}},N_e={name:"cookie",lookup:function(t){var r;if(t.lookupCookie&&typeof document<"u"){var n=hz.read(t.lookupCookie);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupCookie&&typeof document<"u"&&hz.create(r.lookupCookie,t,r.cookieMinutes,r.cookieDomain,r.cookieOptions)}},M_e={name:"querystring",lookup:function(t){var r;if(typeof window<"u"){var n=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=n.substring(1),a=i.split("&"),o=0;o<a.length;o++){var s=a[o].indexOf("=");if(s>0){var l=a[o].substring(0,s);l===t.lookupQuerystring&&(r=a[o].substring(s+1))}}}return r}},y1=null,pz=function(){if(y1!==null)return y1;try{y1=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{y1=!1}return y1},L_e={name:"localStorage",lookup:function(t){var r;if(t.lookupLocalStorage&&pz()){var n=window.localStorage.getItem(t.lookupLocalStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupLocalStorage&&pz()&&window.localStorage.setItem(r.lookupLocalStorage,t)}},b1=null,mz=function(){if(b1!==null)return b1;try{b1=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{b1=!1}return b1},B_e={name:"sessionStorage",lookup:function(t){var r;if(t.lookupSessionStorage&&mz()){var n=window.sessionStorage.getItem(t.lookupSessionStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupSessionStorage&&mz()&&window.sessionStorage.setItem(r.lookupSessionStorage,t)}},U_e={name:"navigator",lookup:function(t){var r=[];if(typeof navigator<"u"){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)r.push(navigator.languages[n]);navigator.userLanguage&&r.push(navigator.userLanguage),navigator.language&&r.push(navigator.language)}return r.length>0?r:void 0}},z_e={name:"htmlTag",lookup:function(t){var r,n=t.htmlTag||(typeof document<"u"?document.documentElement:null);return n&&typeof n.getAttribute=="function"&&(r=n.getAttribute("lang")),r}},H_e={name:"path",lookup:function(t){var r;if(typeof window<"u"){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof n[t.lookupFromPathIndex]!="string")return;r=n[t.lookupFromPathIndex].replace("/","")}else r=n[0].replace("/","")}return r}},q_e={name:"subdomain",lookup:function(t){var r=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,n=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[r]}};function W_e(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var $re=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};hc(this,e),this.type="languageDetector",this.detectors={},this.init(t,r)}return pc(e,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=r,this.options=F_e(n,this.options||{},W_e()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(N_e),this.addDetector(M_e),this.addDetector(L_e),this.addDetector(B_e),this.addDetector(U_e),this.addDetector(z_e),this.addDetector(H_e),this.addDetector(q_e)}},{key:"addDetector",value:function(r){this.detectors[r.name]=r}},{key:"detect",value:function(r){var n=this;r||(r=this.options.order);var i=[];
67return r.forEach(function(a){if(n.detectors[a]){var o=n.detectors[a].lookup(n.options);o&&typeof o=="string"&&(o=[o]),o&&(i=i.concat(o))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(r,n){var i=this;n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(r)>-1||n.forEach(function(a){i.detectors[a]&&i.detectors[a].cacheUserLanguage(r,i.options)}))}}]),e}();$re.type="languageDetector";var Xre=typeof global=="object"&&global&&global.Object===Object&&global,V_e=typeof self=="object"&&self&&self.Object===Object&&self,bd=Xre||V_e||Function("return this")(),sc=bd.Symbol,Qre=Object.prototype,j_e=Qre.hasOwnProperty,G_e=Qre.toString,S1=sc?sc.toStringTag:void 0;function K_e(e){var t=j_e.call(e,S1),r=e[S1];try{e[S1]=void 0;var n=!0}catch{}var i=G_e.call(e);return n&&(t?e[S1]=r:delete e[S1]),i}var Z_e=Object.prototype,Y_e=Z_e.toString;function $_e(e){return Y_e.call(e)}var X_e="[object Null]",Q_e="[object Undefined]",gz=sc?sc.toStringTag:void 0;function s0(e){return e==null?e===void 0?Q_e:X_e:gz&&gz in Object(e)?K_e(e):$_e(e)}function ud(e){return e!=null&&typeof e=="object"}var J_e="[object Symbol]";function Fv(e){return typeof e=="symbol"||ud(e)&&s0(e)==J_e}function Ab(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var Ko=Array.isArray,vz=sc?sc.prototype:void 0,yz=vz?vz.toString:void 0;function Jre(e){if(typeof e=="string")return e;if(Ko(e))return Ab(e,Jre)+"";if(Fv(e))return yz?yz.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var ePe=/\s/;function tPe(e){for(var t=e.length;t--&&ePe.test(e.charAt(t)););return t}var rPe=/^\s+/;function nPe(e){return e&&e.slice(0,tPe(e)+1).replace(rPe,"")}function tu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var bz=NaN,iPe=/^[-+]0x[0-9a-f]+$/i,aPe=/^0b[01]+$/i,oPe=/^0o[0-7]+$/i,sPe=parseInt;function lPe(e){if(typeof e=="number")return e;if(Fv(e))return bz;if(tu(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=tu(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=nPe(e);var r=aPe.test(e);return r||oPe.test(e)?sPe(e.slice(2),r?2:8):iPe.test(e)?bz:+e}function wx(e){return e}var cPe="[object AsyncFunction]",uPe="[object Function]",dPe="[object GeneratorFunction]",fPe="[object Proxy]";function ene(e){if(!tu(e))return!1;var t=s0(e);return t==uPe||t==dPe||t==cPe||t==fPe}var DI=bd["__core-js_shared__"],Sz=function(){var e=/[^.]+$/.exec(DI&&DI.keys&&DI.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function hPe(e){return!!Sz&&Sz in e}var pPe=Function.prototype,mPe=pPe.toString;function l0(e){if(e!=null){try{return mPe.call(e)}catch{}try{return e+""}catch{}}return""}var gPe=/[\\^$.*+?()[\]{}|]/g,vPe=/^\[object .+?Constructor\]$/,yPe=Function.prototype,bPe=Object.prototype,SPe=yPe.toString,wPe=bPe.hasOwnProperty,xPe=RegExp("^"+SPe.call(wPe).replace(gPe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function CPe(e){if(!tu(e)||hPe(e))return!1;var t=ene(e)?xPe:vPe;return t.test(l0(e))}function EPe(e,t){return e==null?void 0:e[t]}function c0(e,t){var r=EPe(e,t);return CPe(r)?r:void 0}var JS=c0(bd,"WeakMap"),wz=JS&&new JS,xz=Object.create,T6=function(){function e(){}return function(t){if(!tu(t))return{};if(xz)return xz(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();function kPe(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function _6(){}var TPe=4294967295;function Dv(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=TPe,this.__views__=[]}Dv.prototype=T6(_6.prototype);Dv.prototype.constructor=Dv;function u0(){}var tne=wz?function(e){return wz.get(e)}:u0,Cz={},_Pe=Object.prototype,PPe=_Pe.hasOwnProperty;function ME(e){for(var t=e.name+"",r=Cz[t],n=PPe.call(Cz,t)?r.length:0;n--;){var i=r[n],a=i.func;if(a==null||a==e)return i.name}return t}function jh(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}jh.prototype=T6(_6.prototype);jh.prototype.constructor=jh;function rne(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}function APe(e){if(e instanceof Dv)return e.clone();var t=new jh(e.__wrapped__,e.__chain__);return t.__actions__=rne(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var OPe=Object.prototype,IPe=OPe.hasOwnProperty;function fT(e){if(ud(e)&&!Ko(e)&&!(e instanceof Dv)){if(e instanceof jh)return e;if(IPe.call(e,"__wrapped__"))return APe(e)}return new jh(e)}fT.prototype=_6.prototype;fT.prototype.constructor=fT;function Ez(e){var t=ME(e),r=fT[t];if(typeof r!="function"||!(t in Dv.prototype))return!1;if(e===r)return!0;var n=tne(r);return!!n&&e===n[0]}var RPe=800,FPe=16,DPe=Date.now;function NPe(e){var t=0,r=0;return function(){var n=DPe(),i=FPe-(n-r);if(r=n,i>0){if(++t>=RPe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function MPe(e){return function(){return e}}var hT=function(){try{var e=c0(Object,"defineProperty");return e({},"",{}),e}catch{}}(),LPe=hT?function(e,t){return hT(e,"toString",{configurable:!0,enumerable:!1,value:MPe(t),writable:!0})}:wx,nne=NPe(LPe);function BPe(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}function UPe(e,t,r,n){for(var i=e.length,a=r+-1;++a<i;)if(t(e[a],a,e))return a;return-1}function zPe(e){return e!==e}function HPe(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}function qPe(e,t,r){return t===t?HPe(e,t,r):UPe(e,zPe,r)}function WPe(e,t){var r=e==null?0:e.length;return!!r&&qPe(e,t,0)>-1}var VPe=9007199254740991,jPe=/^(?:0|[1-9]\d*)$/;function NP(e,t){var r=typeof e;return t=t??VPe,!!t&&(r=="number"||r!="symbol"&&jPe.test(e))&&e>-1&&e%1==0&&e<t}function ine(e,t,r){t=="__proto__"&&hT?hT(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function MP(e,t){return e===t||e!==e&&t!==t}var GPe=Object.prototype,KPe=GPe.hasOwnProperty;function P6(e,t,r){var n=e[t];(!(KPe.call(e,t)&&MP(n,r))||r===void 0&&!(t in e))&&ine(e,t,r)}function LP(e,t,r,n){var i=!r;r||(r={});for(var a=-1,o=t.length;++a<o;){var s=t[a],l=void 0;l===void 0&&(l=e[s]),i?ine(r,s,l):P6(r,s,l)}return r}var kz=Math.max;function ane(e,t,r){return t=kz(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,a=kz(n.length-t,0),o=Array(a);++i<a;)o[i]=n[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=n[i];return s[t]=r(o),kPe(e,this,s)}}function ZPe(e,t){return nne(ane(e,t,wx),e+"")}var YPe=9007199254740991;function A6(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=YPe}function uy(e){return e!=null&&A6(e.length)&&!ene(e)}function Tz(e,t,r){if(!tu(r))return!1;var n=typeof t;return(n=="number"?uy(r)&&NP(t,r.length):n=="string"&&t in r)?MP(r[t],e):!1}var $Pe=Object.prototype;function BP(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||$Pe;return e===r}function XPe(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var QPe="[object Arguments]";function _z(e){return ud(e)&&s0(e)==QPe}var one=Object.prototype,JPe=one.hasOwnProperty,eAe=one.propertyIsEnumerable,UP=_z(function(){return arguments}())?_z:function(e){return ud(e)&&JPe.call(e,"callee")&&!eAe.call(e,"callee")};function tAe(){return!1}var sne=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Pz=sne&&typeof module=="object"&&module&&!module.nodeType&&module,rAe=Pz&&Pz.exports===sne,Az=rAe?bd.Buffer:void 0,nAe=Az?Az.isBuffer:void 0,ew=nAe||tAe,iAe="[object Arguments]",aAe="[object Array]",oAe="[object Boolean]",sAe="[object Date]",lAe="[object Error]",cAe="[object Function]",uAe="[object Map]",dAe="[object Number]",fAe="[object Object]",hAe="[object RegExp]",pAe="[object Set]",mAe="[object String]",gAe="[object WeakMap]",vAe="[object ArrayBuffer]",yAe="[object DataView]",bAe="[object Float32Array]",SAe="[object Float64Array
67]",wAe="[object Int8Array]",xAe="[object Int16Array]",CAe="[object Int32Array]",EAe="[object Uint8Array]",kAe="[object Uint8ClampedArray]",TAe="[object Uint16Array]",_Ae="[object Uint32Array]",jn={};jn[bAe]=jn[SAe]=jn[wAe]=jn[xAe]=jn[CAe]=jn[EAe]=jn[kAe]=jn[TAe]=jn[_Ae]=!0;jn[iAe]=jn[aAe]=jn[vAe]=jn[oAe]=jn[yAe]=jn[sAe]=jn[lAe]=jn[cAe]=jn[uAe]=jn[dAe]=jn[fAe]=jn[hAe]=jn[pAe]=jn[mAe]=jn[gAe]=!1;function PAe(e){return ud(e)&&A6(e.length)&&!!jn[s0(e)]}function zP(e){return function(t){return e(t)}}var lne=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ob=lne&&typeof module=="object"&&module&&!module.nodeType&&module,AAe=Ob&&Ob.exports===lne,NI=AAe&&Xre.process,Nv=function(){try{var e=Ob&&Ob.require&&Ob.require("util").types;return e||NI&&NI.binding&&NI.binding("util")}catch{}}(),Oz=Nv&&Nv.isTypedArray,O6=Oz?zP(Oz):PAe,OAe=Object.prototype,IAe=OAe.hasOwnProperty;function cne(e,t){var r=Ko(e),n=!r&&UP(e),i=!r&&!n&&ew(e),a=!r&&!n&&!i&&O6(e),o=r||n||i||a,s=o?XPe(e.length,String):[],l=s.length;for(var c in e)(t||IAe.call(e,c))&&!(o&&(c=="length"||i&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||NP(c,l)))&&s.push(c);return s}function une(e,t){return function(r){return e(t(r))}}var RAe=une(Object.keys,Object),FAe=Object.prototype,DAe=FAe.hasOwnProperty;function dne(e){if(!BP(e))return RAe(e);var t=[];for(var r in Object(e))DAe.call(e,r)&&r!="constructor"&&t.push(r);return t}function xx(e){return uy(e)?cne(e):dne(e)}function NAe(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var MAe=Object.prototype,LAe=MAe.hasOwnProperty;function BAe(e){if(!tu(e))return NAe(e);var t=BP(e),r=[];for(var n in e)n=="constructor"&&(t||!LAe.call(e,n))||r.push(n);return r}function I6(e){return uy(e)?cne(e,!0):BAe(e)}var UAe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,zAe=/^\w*$/;function R6(e,t){if(Ko(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Fv(e)?!0:zAe.test(e)||!UAe.test(e)||t!=null&&e in Object(t)}var tw=c0(Object,"create");function HAe(){this.__data__=tw?tw(null):{},this.size=0}function qAe(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var WAe="__lodash_hash_undefined__",VAe=Object.prototype,jAe=VAe.hasOwnProperty;function GAe(e){var t=this.__data__;if(tw){var r=t[e];return r===WAe?void 0:r}return jAe.call(t,e)?t[e]:void 0}var KAe=Object.prototype,ZAe=KAe.hasOwnProperty;function YAe(e){var t=this.__data__;return tw?t[e]!==void 0:ZAe.call(t,e)}var $Ae="__lodash_hash_undefined__";function XAe(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=tw&&t===void 0?$Ae:t,this}function Dm(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Dm.prototype.clear=HAe;Dm.prototype.delete=qAe;Dm.prototype.get=GAe;Dm.prototype.has=YAe;Dm.prototype.set=XAe;function QAe(){this.__data__=[],this.size=0}function HP(e,t){for(var r=e.length;r--;)if(MP(e[r][0],t))return r;return-1}var JAe=Array.prototype,eOe=JAe.splice;function tOe(e){var t=this.__data__,r=HP(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():eOe.call(t,r,1),--this.size,!0}function rOe(e){var t=this.__data__,r=HP(t,e);return r<0?void 0:t[r][1]}function nOe(e){return HP(this.__data__,e)>-1}function iOe(e,t){var r=this.__data__,n=HP(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function yf(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}yf.prototype.clear=QAe;yf.prototype.delete=tOe;yf.prototype.get=rOe;yf.prototype.has=nOe;yf.prototype.set=iOe;var rw=c0(bd,"Map");function aOe(){this.size=0,this.__data__={hash:new Dm,map:new(rw||yf),string:new Dm}}function oOe(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function qP(e,t){var r=e.__data__;return oOe(t)?r[typeof t=="string"?"string":"hash"]:r.map}function sOe(e){var t=qP(this,e).delete(e);return this.size-=t?1:0,t}function lOe(e){return qP(this,e).get(e)}function cOe(e){return qP(this,e).has(e)}function uOe(e,t){var r=qP(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function bf(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}bf.prototype.clear=aOe;bf.prototype.delete=sOe;bf.prototype.get=lOe;bf.prototype.has=cOe;bf.prototype.set=uOe;var dOe="Expected a function";function F6(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(dOe);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(F6.Cache||bf),r}F6.Cache=bf;var fOe=500;function hOe(e){var t=F6(e,function(n){return r.size===fOe&&r.clear(),n}
67),r=t.cache;return t}var pOe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mOe=/\\(\\)?/g,gOe=hOe(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(pOe,function(r,n,i,a){t.push(i?a.replace(mOe,"$1"):n||r)}),t});function dy(e){return e==null?"":Jre(e)}function WP(e,t){return Ko(e)?e:R6(e,t)?[e]:gOe(dy(e))}function Cx(e){if(typeof e=="string"||Fv(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function VP(e,t){t=WP(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Cx(t[r++])];return r&&r==n?e:void 0}function vOe(e,t,r){var n=e==null?void 0:VP(e,t);return n===void 0?r:n}function D6(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var Iz=sc?sc.isConcatSpreadable:void 0;function yOe(e){return Ko(e)||UP(e)||!!(Iz&&e&&e[Iz])}function fne(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=yOe),i||(i=[]);++a<o;){var s=e[a];r(s)?D6(i,s):i[i.length]=s}return i}function bOe(e){var t=e==null?0:e.length;return t?fne(e):[]}function SOe(e){return nne(ane(e,void 0,bOe),e+"")}var hne=une(Object.getPrototypeOf,Object);function wOe(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(i);++n<i;)a[n]=e[n+t];return a}function xOe(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:wOe(e,t,r)}var COe="\\ud800-\\udfff",EOe="\\u0300-\\u036f",kOe="\\ufe20-\\ufe2f",TOe="\\u20d0-\\u20ff",_Oe=EOe+kOe+TOe,POe="\\ufe0e\\ufe0f",AOe="\\u200d",OOe=RegExp("["+AOe+COe+_Oe+POe+"]");function pne(e){return OOe.test(e)}function IOe(e){return e.split("")}var mne="\\ud800-\\udfff",ROe="\\u0300-\\u036f",FOe="\\ufe20-\\ufe2f",DOe="\\u20d0-\\u20ff",NOe=ROe+FOe+DOe,MOe="\\ufe0e\\ufe0f",LOe="["+mne+"]",d4="["+NOe+"]",f4="\\ud83c[\\udffb-\\udfff]",BOe="(?:"+d4+"|"+f4+")",gne="[^"+mne+"]",vne="(?:\\ud83c[\\udde6-\\uddff]){2}",yne="[\\ud800-\\udbff][\\udc00-\\udfff]",UOe="\\u200d",bne=BOe+"?",Sne="["+MOe+"]?",zOe="(?:"+UOe+"(?:"+[gne,vne,yne].join("|")+")"+Sne+bne+")*",HOe=Sne+bne+zOe,qOe="(?:"+[gne+d4+"?",d4,vne,yne,LOe].join("|")+")",WOe=RegExp(f4+"(?="+f4+")|"+qOe+HOe,"g");function VOe(e){return e.match(WOe)||[]}function jOe(e){return pne(e)?VOe(e):IOe(e)}function GOe(e){return function(t){t=dy(t);var r=pne(t)?jOe(t):void 0,n=r?r[0]:t.charAt(0),i=r?xOe(r,1).join(""):t.slice(1);return n[e]()+i}}var KOe=GOe("toUpperCase");function ZOe(e){return KOe(dy(e).toLowerCase())}function YOe(e,t,r,n){var i=-1,a=e==null?0:e.length;for(n&&a&&(r=e[++i]);++i<a;)r=t(r,e[i],i,e);return r}function $Oe(e){return function(t){return e==null?void 0:e[t]}}var XOe={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}
vendor: 4,514 bytes, line 67
67,QOe=$Oe(XOe),JOe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,eIe="\\u0300-\\u036f",tIe="\\ufe20-\\ufe2f",rIe="\\u20d0-\\u20ff",nIe=eIe+tIe+rIe,iIe="["+nIe+"]",aIe=RegExp(iIe,"g");function oIe(e){return e=dy(e),e&&e.replace(JOe,QOe).replace(aIe,"")}var sIe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function lIe(e){return e.match(sIe)||[]}var cIe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function uIe(e){return cIe.test(e)}var wne="\\ud800-\\udfff",dIe="\\u0300-\\u036f",fIe="\\ufe20-\\ufe2f",hIe="\\u20d0-\\u20ff",pIe=dIe+fIe+hIe,xne="\\u2700-\\u27bf",Cne="a-z\\xdf-\\xf6\\xf8-\\xff",mIe="\\xac\\xb1\\xd7\\xf7",gIe="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",vIe="\\u2000-\\u206f",yIe=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ene="A-Z\\xc0-\\xd6\\xd8-\\xde",bIe="\\ufe0e\\ufe0f",kne=mIe+gIe+vIe+yIe,Tne="['’]",Rz="["+kne+"]",SIe="["+pIe+"]",_ne="\\d+",wIe="["+xne+"]",Pne="["+Cne+"]",Ane="[^"+wne+kne+_ne+xne+Cne+Ene+"]",xIe="\\ud83c[\\udffb-\\udfff]",CIe="(?:"+SIe+"|"+xIe+")",EIe="[^"+wne+"]",One="(?:\\ud83c[\\udde6-\\uddff]){2}",Ine="[\\ud800-\\udbff][\\udc00-\\udfff]",sg="["+Ene+"]",kIe="\\u200d",Fz="(?:"+Pne+"|"+Ane+")",TIe="(?:"+sg+"|"+Ane+")",Dz="(?:"+Tne+"(?:d|ll|m|re|s|t|ve))?",Nz="(?:"+Tne+"(?:D|LL|M|RE|S|T|VE))?",Rne=CIe+"?",Fne="["+bIe+"]?",_Ie="(?:"+kIe+"(?:"+[EIe,One,Ine].join("|")+")"+Fne+Rne+")*",PIe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",AIe="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",OIe=Fne+Rne+_Ie,IIe="(?:"+[wIe,One,Ine].join("|")+")"+OIe,RIe=RegExp([sg+"?"+Pne+"+"+Dz+"(?="+[Rz,sg,"$"].join("|")+")",TIe+"+"+Nz+"(?="+[Rz,sg+Fz,"$"].join("|")+")",sg+"?"+Fz+"+"+Dz,sg+"+"+Nz,AIe,PIe,_ne,IIe].join("|"),"g");function FIe(e){return e.match(RIe)||[]}function DIe(e,t,r){return e=dy(e),t=t,t===void 0?uIe(e)?FIe(e):lIe(e):e.match(t)||[]}var NIe="['’]",MIe=RegExp(NIe,"g");function LIe(e){return function(t){return YOe(DIe(oIe(t).replace(MIe,"")),e,"")}}var fs=LIe(function(e,t,r){return t=t.toLowerCase(),e+(r?ZOe(t):t)});function BIe(){this.__data__=new yf,this.size=0}function UIe(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function zIe(e){return this.__data__.get(e)}function HIe(e){return this.__data__.has(e)}var qIe=200;function WIe(e,t){var r=this.__data__;if(r instanceof yf){var n=r.__data__;if(!rw||n.length<qIe-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new bf(n)}return r.set(e,t),this.size=r.size,this}function Ju(e){var t=this.__data__=new yf(e);this.size=t.size}Ju.prototype.clear=BIe;Ju.prototype.delete=UIe;Ju.prototype.get=zIe;Ju.prototype.has=HIe;Ju.prototype.set=WIe;function VIe(e,t){return e&&LP(t,xx(t),e)}function jIe(e,t){return e&&LP(t,I6(t),e)}var Dne=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Mz=Dne&&typeof module=="object"&&module&&!module.nodeType&&module,GIe=Mz&&Mz.exports===Dne,Lz=GIe?bd.Buffer:void 0,Bz=Lz?Lz.allocUnsafe:void 0;function KIe(e,t){if(t)return e.slice();var r=e.length,n=Bz?Bz(r):new e.constructor(r);return e.copy(n),n}function ZIe(e,t){for(var r=-1,n=e==null?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}function Nne(){return[]}var YIe=Object.prototype,$Ie=YIe.propertyIsEnumerable,Uz=Object.getOwnPropertySymbols,N6=Uz?function(e){return e==null?[]:(e=Object(e),ZIe(Uz(e),function(t){return $Ie.call(e,t)}))}:Nne;function XIe(e,t){return LP(e,N6(e),t)}var QIe=Object.getOwnPropertySymbols,Mne=QIe?function(e){for(var t=[];e;)D6(t,N6(e)),e=hne(e);return t}:Nne;function JIe(e,t){return LP(e,Mne(e),t)}function Lne(e,t,r){var n=t(e);return Ko(e)?n:D6(n,r(e))}function h4(e){return Lne(e,xx,N6)}function Bne(e){return Lne(e,I6,Mne)}var p4=c0(bd,"DataView"),m4=c0(bd,"Promise"),Jg=c0(bd,"Set"),zz="[object Map]",e3e="[object Object]",Hz="[object Promise]",qz="[object Set]",Wz="[object WeakMap]",Vz="[object DataView]",t3e=l0(p4),r3e=l0(rw),n3e=l0(m4),i3e=l0(Jg),a3e=l0(JS),Ll=s0;(p4&&Ll(new p4(new ArrayBuffer(1)))!=Vz||rw&&Ll(new rw)!=zz||m4&&Ll(m4.resolve())!=Hz||Jg&&Ll(new Jg)!=qz||JS&&Ll(new JS)!=Wz)&&(Ll=function(e){var t=s0(e),r=t==e3e?e.constructor:void 0,n=r?l0(r):"";if(n)switch(n){case t3e:return Vz;case r3e:return zz;case n3e:return Hz;case i3e:return qz;case a3e:return Wz}return t});var o3e=Object.prototype,s3e=o3e.hasOwnProperty;function l3e(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&s3e.call(e,"index")&&(r.index=e.index,r.input
vendor: 6,369 bytes, line 67
67=e.input),r}var pT=bd.Uint8Array;function M6(e){var t=new e.constructor(e.byteLength);return new pT(t).set(new pT(e)),t}function c3e(e,t){var r=t?M6(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var u3e=/\w*$/;function d3e(e){var t=new e.constructor(e.source,u3e.exec(e));return t.lastIndex=e.lastIndex,t}var jz=sc?sc.prototype:void 0,Gz=jz?jz.valueOf:void 0;function f3e(e){return Gz?Object(Gz.call(e)):{}}function h3e(e,t){var r=t?M6(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var p3e="[object Boolean]",m3e="[object Date]",g3e="[object Map]",v3e="[object Number]",y3e="[object RegExp]",b3e="[object Set]",S3e="[object String]",w3e="[object Symbol]",x3e="[object ArrayBuffer]",C3e="[object DataView]",E3e="[object Float32Array]",k3e="[object Float64Array]",T3e="[object Int8Array]",_3e="[object Int16Array]",P3e="[object Int32Array]",A3e="[object Uint8Array]",O3e="[object Uint8ClampedArray]",I3e="[object Uint16Array]",R3e="[object Uint32Array]";function F3e(e,t,r){var n=e.constructor;switch(t){case x3e:return M6(e);case p3e:case m3e:return new n(+e);case C3e:return c3e(e,r);case E3e:case k3e:case T3e:case _3e:case P3e:case A3e:case O3e:case I3e:case R3e:return h3e(e,r);case g3e:return new n;case v3e:case S3e:return new n(e);case y3e:return d3e(e);case b3e:return new n;case w3e:return f3e(e)}}function D3e(e){return typeof e.constructor=="function"&&!BP(e)?T6(hne(e)):{}}var N3e="[object Map]";function M3e(e){return ud(e)&&Ll(e)==N3e}var Kz=Nv&&Nv.isMap,L3e=Kz?zP(Kz):M3e,B3e="[object Set]";function U3e(e){return ud(e)&&Ll(e)==B3e}var Zz=Nv&&Nv.isSet,z3e=Zz?zP(Zz):U3e,H3e=1,q3e=2,W3e=4,Une="[object Arguments]",V3e="[object Array]",j3e="[object Boolean]",G3e="[object Date]",K3e="[object Error]",zne="[object Function]",Z3e="[object GeneratorFunction]",Y3e="[object Map]",$3e="[object Number]",Hne="[object Object]",X3e="[object RegExp]",Q3e="[object Set]",J3e="[object String]",eRe="[object Symbol]",tRe="[object WeakMap]",rRe="[object ArrayBuffer]",nRe="[object DataView]",iRe="[object Float32Array]",aRe="[object Float64Array]",oRe="[object Int8Array]",sRe="[object Int16Array]",lRe="[object Int32Array]",cRe="[object Uint8Array]",uRe="[object Uint8ClampedArray]",dRe="[object Uint16Array]",fRe="[object Uint32Array]",Hn={};Hn[Une]=Hn[V3e]=Hn[rRe]=Hn[nRe]=Hn[j3e]=Hn[G3e]=Hn[iRe]=Hn[aRe]=Hn[oRe]=Hn[sRe]=Hn[lRe]=Hn[Y3e]=Hn[$3e]=Hn[Hne]=Hn[X3e]=Hn[Q3e]=Hn[J3e]=Hn[eRe]=Hn[cRe]=Hn[uRe]=Hn[dRe]=Hn[fRe]=!0;Hn[K3e]=Hn[zne]=Hn[tRe]=!1;function LE(e,t,r,n,i,a){var o,s=t&H3e,l=t&q3e,c=t&W3e;if(r&&(o=i?r(e,n,i,a):r(e)),o!==void 0)return o;if(!tu(e))return e;var u=Ko(e);if(u){if(o=l3e(e),!s)return rne(e,o)}else{var d=Ll(e),f=d==zne||d==Z3e;if(ew(e))return KIe(e,s);if(d==Hne||d==Une||f&&!i){if(o=l||f?{}:D3e(e),!s)return l?JIe(e,jIe(o,e)):XIe(e,VIe(o,e))}else{if(!Hn[d])return i?e:{};o=F3e(e,d,s)}}a||(a=new Ju);var h=a.get(e);if(h)return h;a.set(e,o),z3e(e)?e.forEach(function(v){o.add(LE(v,t,r,v,e,a))}):L3e(e)&&e.forEach(function(v,m){o.set(m,LE(v,t,r,m,e,a))});var p=c?l?Bne:h4:l?I6:xx,g=u?void 0:p(e);return BPe(g||e,function(v,m){g&&(m=v,v=e[m]),P6(o,m,LE(v,t,r,m,e,a))}),o}var hRe=1,pRe=4;function mRe(e){return LE(e,hRe|pRe)}function jP(e){for(var t=-1,r=e==null?0:e.length,n=0,i=[];++t<r;){var a=e[t];a&&(i[n++]=a)}return i}var gRe="__lodash_hash_undefined__";function vRe(e){return this.__data__.set(e,gRe),this}function yRe(e){return this.__data__.has(e)}function nw(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new bf;++t<r;)this.add(e[t])}nw.prototype.add=nw.prototype.push=vRe;nw.prototype.has=yRe;function bRe(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function qne(e,t){return e.has(t)}var SRe=1,wRe=2;function Wne(e,t,r,n,i,a){var o=r&SRe,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var c=a.get(e),u=a.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,h=r&wRe?new nw:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var p=e[d],g=t[d];if(n)var v=o?n(g,p,d,t,e,a):n(p,g,d,e,t,a);if(v!==void 0){if(v)continue;f=!1;break}if(h){if(!bRe(t,function(m,b){if(!qne(h,b)&&(p===m||i(p,m,r,n,a)))return h.push(b)})){f=!1;break}}else if(!(p===g||i(p,g,r,n,a))){f=!1;break}}return a.delete(e),a.delete(t),f}function xRe(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function L6(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var CRe=1,ERe=2,kRe="[object Boolean]",TRe="[object Date]",_Re="[object Error]",PRe="[object Map]",ARe="[object Number]",ORe="[object RegExp]",IRe="[object Set]",RRe="[object String]",FRe="[object Symbol]",DRe="[object ArrayBuffer]",NRe="[object DataView]",Yz=sc?sc.prototype:void 0,MI=Yz?Yz.valueOf:void 0;function MRe(e,t,r,n,i,a,o){switch(r){case NRe:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case DRe:return!(e.byteLength!=t.byteLength||!a(new pT(e),new pT(t)));case kRe:case TRe:case ARe:return MP(+e,+t);case _Re:return e.name==t.name&&e.message==t.message;case ORe:case RRe:return e==t+"";case PRe:var s=xRe;case IRe:var l=n&CRe;if(s||(s=L6),e.size!=t.size&&!l)return!1;var c=o.get(e);if(c)return c==t;n|=ERe,o.set(e,t);var u=Wne(s(e),s(t),n,i,a,o);return o.delete(e),u;case FRe:if(MI)return MI.call(e)==MI.call(t)}return!1}var LRe=1,BRe=Object.prototype,URe=BRe.hasOwnProperty;function zRe(e,t,r,n,i,a){var o=r&LRe,s=h4(e),l=s.length,c=h4(t),u=c.length;if(l!=u&&!o)return!1;for(var d=l;d--;){var f=s[d];if(!(o?f in t:URe.call(t,f)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var g=!0;a.set(e,t),a.set(t,e);for(var v=o;++d<l;){f=s[d];var m=e[f],b=t[f];if(n)var y=o?n(b,m,f,t,e,a):n(m,b,f,e,t,a);if(!(y===void 0?m===b||i(m,b,r,n,a):y)){g=!1;break}v||(v=f=="constructor")}if(g&&!v){var w=e.constructor,x=t.constructor;w!=x&&"constructor"in e&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof x=="function"&&x instanceof x)&&(g=!1)}return a.delete(e),a.delete(t),g}var HRe=1,$z="[object Arguments]",Xz="[object Array]",fC="[object Object]",qRe=Object.prototype,Qz=qRe.hasOwnProperty;function WRe(e,t,r,n,i,a){var o=Ko(e),s=Ko(t),l=o?Xz:Ll(e),c=s?Xz:Ll(t);l=l==$z?fC:l,c=c==$z?fC:c;var u=l==fC,d=c==fC,f=l==c;if(f&&ew(e)){if(!ew(t))return!1;o=!0,u=!1}if(f&&!u)return a||(a=new Ju),o||O6(e)?Wne(e,t,r,n,i,a):MRe(e,t,l,r,n,i,a);if(!(r&HRe)){var h=u&&Qz.call(e,"__wrapped__"),p=d&&Qz.call(t,"__wrapped__");
67if(h||p){var g=h?e.value():e,v=p?t.value():t;return a||(a=new Ju),i(g,v,r,n,a)}}return f?(a||(a=new Ju),zRe(e,t,r,n,i,a)):!1}function GP(e,t,r,n,i){return e===t?!0:e==null||t==null||!ud(e)&&!ud(t)?e!==e&&t!==t:WRe(e,t,r,n,GP,i)}var VRe=1,jRe=2;function GRe(e,t,r,n){var i=r.length,a=i;if(e==null)return!a;for(e=Object(e);i--;){var o=r[i];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++i<a;){o=r[i];var s=o[0],l=e[s],c=o[1];if(o[2]){if(l===void 0&&!(s in e))return!1}else{var u=new Ju,d;if(!(d===void 0?GP(c,l,VRe|jRe,n,u):d))return!1}}return!0}function Vne(e){return e===e&&!tu(e)}function KRe(e){for(var t=xx(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Vne(i)]}return t}function jne(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function ZRe(e){var t=KRe(e);return t.length==1&&t[0][2]?jne(t[0][0],t[0][1]):function(r){return r===e||GRe(r,e,t)}}function YRe(e,t){return e!=null&&t in Object(e)}function $Re(e,t,r){t=WP(t,e);for(var n=-1,i=t.length,a=!1;++n<i;){var o=Cx(t[n]);if(!(a=e!=null&&r(e,o)))break;e=e[o]}return a||++n!=i?a:(i=e==null?0:e.length,!!i&&A6(i)&&NP(o,i)&&(Ko(e)||UP(e)))}function XRe(e,t){return e!=null&&$Re(e,t,YRe)}var QRe=1,JRe=2;function eFe(e,t){return R6(e)&&Vne(t)?jne(Cx(e),t):function(r){var n=vOe(r,e);return n===void 0&&n===t?XRe(r,e):GP(t,n,QRe|JRe)}}function tFe(e){return function(t){return t==null?void 0:t[e]}}function rFe(e){return function(t){return VP(t,e)}}function nFe(e){return R6(e)?tFe(Cx(e)):rFe(e)}function B6(e){return typeof e=="function"?e:e==null?wx:typeof e=="object"?Ko(e)?eFe(e[0],e[1]):ZRe(e):nFe(e)}function iFe(e){return function(t,r,n){for(var i=-1,a=Object(t),o=n(t),s=o.length;s--;){var l=o[++i];if(r(a[l],l,a)===!1)break}return t}}var aFe=iFe();function oFe(e,t){return e&&aFe(e,t,xx)}function sFe(e,t){return function(r,n){if(r==null)return r;if(!uy(r))return e(r,n);for(var i=r.length,a=-1,o=Object(r);++a<i&&n(o[a],a,o)!==!1;);return r}}var lFe=sFe(oFe);function Gne(e){return e&&e.length?e[0]:void 0}function cFe(e,t){var r=-1,n=uy(e)?Array(e.length):[];return lFe(e,function(i,a,o){n[++r]=t(i,a,o)}),n}var uFe="Expected a function",dFe=8,fFe=32,hFe=128,pFe=256;function mFe(e){return SOe(function(t){for(var r=t.length,n=r,i=jh.prototype.thru;n--;){var a=t[n];if(typeof a!="function")throw new TypeError(uFe);if(i&&!o&&ME(a)=="wrapper")var o=new jh([],!0)}for(n=o?n:r;++n<r;){a=t[n];var s=ME(a),l=s=="wrapper"?tne(a):void 0;l&&Ez(l[0])&&l[1]==(hFe|dFe|fFe|pFe)&&!l[4].length&&l[9]==1?o=o[ME(l[0])].apply(o,l[3]):o=a.length==1&&Ez(a)?o[s]():o.thru(a)}return function(){var c=arguments,u=c[0];if(o&&c.length==1&&Ko(u))return o.plant(u).value();for(var d=0,f=r?t[d].apply(this,c):u;++d<r;)f=t[d].call(this,f);return f}})}var Jz=mFe(),gFe="[object Map]",vFe="[object Set]",yFe=Object.prototype,bFe=yFe.hasOwnProperty;function Ks(e){if(e==null)return!0;if(uy(e)&&(Ko(e)||typeof e=="string"||typeof e.splice=="function"||ew(e)||O6(e)||UP(e)))return!e.length;var t=Ll(e);if(t==gFe||t==vFe)return!e.size;if(BP(e))return!dne(e).length;for(var r in e)if(bFe.call(e,r))return!1;return!0}function SFe(e,t){return GP(e,t)}var wFe="[object Number]";function xFe(e){return typeof e=="number"||ud(e)&&s0(e)==wFe}function Jl(e){return e==null}function CFe(e,t,r,n){if(!tu(e))return e;t=WP(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i<a;){var l=Cx(t[i]),c=r;if(l==="__proto__"||l==="constructor"||l==="prototype")return e;if(i!=o){var u=s[l];c=void 0,c===void 0&&(c=tu(u)?u:NP(t[i+1])?[]:{})}P6(s,l,c),s=s[l]}return e}function EFe(e,t,r){for(var n=-1,i=t.length,a={};++n<i;){var o=t[n],s=VP(e,o);r(s,o)&&CFe(a,WP(o,e),s)}return a}function kFe(e,t){if(e==null)return{};var r=Ab(Bne(e),function(n){return[n]});return t=B6(t),EFe(e,r,function(n,i){return t(n,i[0])})}function TFe(e,t){var r=e.length;for(e.sort(t);r--;)e[r]=e[r].value;return e}function _Fe(e,t){if(e!==t){var r=e!==void 0,n=e===null,i=e===e,a=Fv(e),o=t!==void 0,s=t===null,l=t===t,c=Fv(t);if(!s&&!c&&!a&&e>t||a&&o&&l&&!s&&!c||n&&o&&l||!r&&l||!i)return 1;if(!n&&!a&&!c&&e<t||c&&r&&i&&!n&&!a||s&&r&&i||!o&&i||!l)return-1}return 0}function PFe(e,t,r){for(var n=-1,i=e.criteria,a=t.criteria,o=i.length,s=r.length;++n<o;){var l=_Fe(i[n],a[n]);if(l){if(n>=s)return l;var c=r[n];return l*(c=="desc"?-1:1)}}return e.index-t.index}function AFe(e,t,r){t.length?t=Ab(t,function(a){return Ko(a)?function(o){return VP(o,a.length===1?a[0]:a)}:a}):t=[wx];var n=-1;t=Ab(t,zP(B6));
67var i=cFe(e,function(a,o,s){var l=Ab(t,function(c){return c(a)});return{criteria:l,index:++n,value:a}});return TFe(i,function(a,o){return PFe(a,o,r)})}var OFe=ZPe(function(e,t){if(e==null)return[];var r=t.length;return r>1&&Tz(e,t[0],t[1])?t=[]:r>2&&Tz(t[0],t[1],t[2])&&(t=[t[0]]),AFe(e,fne(t),[])}),IFe=1/0,RFe=Jg&&1/L6(new Jg([,-0]))[1]==IFe?function(e){return new Jg(e)}:u0,FFe=200;function Kne(e,t,r){var n=-1,i=WPe,a=e.length,o=!0,s=[],l=s;if(a>=FFe){var c=t?null:RFe(e);if(c)return L6(c);o=!1,i=qne,l=new nw}else l=t?[]:s;e:for(;++n<a;){var u=e[n],d=t?t(u):u;if(u=u!==0?u:0,o&&d===d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),s.push(u)}else i(l,d,r)||(l!==s&&l.push(d),s.push(u))}return s}function DFe(e){return e&&e.length?Kne(e):[]}function NFe(e,t){return e&&e.length?Kne(e,B6(t)):[]}var MFe=0;function LFe(e){var t=++MFe;return dy(e)+t}function Rxt(e){return t=>e(t)?t:null}function Fxt(e){return t=>Jl(t)?t:e(t)}function Dxt(e){return t=>Jl(t)?e:t}function hs(e){if(Jl(e))throw new Error("Value is nil");return e}const BFe={logout:"Log out",profile:"My Profile"},UFe={smartyMessage:{intl:{ambiguous:"We found more than one possible match for this address. Please double-check the full address with the recipient.",notFound:"We couldn't find this address. Please double-check and correct it before shipping.",partialCanImprove:"We could not fully verify this address. Please add the building or unit number and try again.",partialNoImprove:"We could not fully verify this address. Please confirm the full address with the recipient before shipping.",verifiedAtMax:"This address could not be confirmed at building level. Please verify the full address with the recipient before shipping.",verifiedBelowMax:"This address could not be confirmed at building level. Please add the building or unit number and try again."},us:{ambiguous:"We found more than one possible match for this address. Please double-check the full address with the recipient.",cmraValidHint:"This address is a shared mail-receiving service (like a rented mailbox). Please confirm the recipient uses this service.",cmraWarning:"This looks like a shared mail-receiving service. Please confirm the recipient uses this service.",invalidSecondary:"The apartment or suite number doesn't match what's in our database. Please double-check with the recipient.",missingSecondary:"Please add a suite or apartment number to complete this address.",noStat:"This address exists, but the post office doesn't deliver mail directly to this building. Please confirm with the recipient before shipping.",notActive:"We have this address in our database, but it may no longer be in use. Please confirm with the recipient before shipping.",notFound:"Address not found. Please check the street, house number, city, and ZIP code.",vacant:"This address appears to be vacant. Please confirm someone is there to receive the parcel."}}},zFe={confirmModal:{backToEdit:"Back to Edit",bottomTips:"The receiver address has been flagged as potentially risky. You can proceed with buying the shipment, but please note the risk. Alternatively, you can go back and update the receiver address.",bottomTipsBulk:"{{count}} of the selected shipments have receiver addresses flagged as potentially risky. You can proceed with buying, but please note the risk. Alternatively, you can go back and update the receiver addresses.",title:"Receiver Address Confirmation"}},HFe={adverseWeatherArrangement:{typhoonSignalNo8:{desc:"Local pickup & delivery service may be affected under adverse weather. Please refer to <supportLink>our service arrangements</supportLink>.",supportLink:"https://support.spaceshipapp.com/en/adverse-weather-arrangement-for-pickup-service",title:"Adverse Weather Arrangement"}},peakSeasonAlert:{desc:"From 1 July 2026, the EU is ending its duty-free threshold and applying new import duties to EU-bound parcels. Please read our <supportLink>notice</supportLink> for the new charges, affected destinations and key dates.",supportLink:"https://support.spaceshipapp.com/en/eu-customs-reform-2026",title:"Shipping Alert"}},qFe={common:{allTransactionsAreSecure:"All transactions are safe and SSL encrypted.",cardEndsIn:"Ending in {{last4}}",credit:"Credit",creditBalance:"Credit Balance",paymentMethod:{bank:"Bank Transfer",card:"Credit Card"},shippingBillingEntryCategory:{coverageClaim:"Spaceship Care Claim",fulfillment:"Fulfillment",fulfilment:"Fulfillment",others:"Others",pickup:"Pickup",pickupAdj:"Pickup (Adjustment)",pickupOthers:"Pickup (Others)",refund:"Refund",shipment:"Shipment",shipmentAdj:"Shipment (Adjustment)",shipmentDutiesAndTaxesAdj:"Shipment (Duties and Taxes Adjustment)",shipmentOthers:"Shipment (Others)",taxAndDuty:"Tax & Duty",warehouseInbound:"Warehouse Inbound",warehouseOutbound:"Warehouse Outbound",warehouseStorage:"Warehouse Storage"}
67,shippingBillingEntryStatus:{onHold:"On Hold",pending:"Pending",pendingRefund:"Pending Refund",settled:"Settled",settling:"Settling",voided:"Voided"},topup:"Top Up",walletTxCategory:{coverageClaim:"Spaceship Care Claim",fulfillment:"Fulfillment",fulfilment:"Fulfillment",grant:"Grant",others:"Others",pickup:"Pickup",pickupAdj:"Pickup (Adjustment)",pickupOthers:"Pickup (Others)",redeem:"Redeem",refund:"Refund",shipment:"Shipment",shipmentAdj:"Shipment (Adjustment)",shipmentDutiesAndTaxesAdj:"Shipment (Duties and Taxes Adjustment)",shipmentOthers:"Shipment (Others)",taxAndDuty:"Tax & Duty",topup:"Top-up",withdraw:"Withdraw"}},download:{creditNote:{button:{download:{label:"Download Credit Note"},viewBreakdownDetails:{label:"View Transaction Details"}},description:"Select a specific month and year of credit note you want to export.",error:{failed:{description:"Failed to download credit note. Please try again later."},noWalletTransaction:{description:"You have no relevant transaction records during the selected period.",title:"No Available Credit Note"},unknown:{description:"Unknown Error"}},select:{label:"Transaction Date Range"}},invoice:{button:{download:{label:"Download Invoice"},viewBreakdownDetails:{label:"View Transaction Details"}},description:"Select a specific month and year of invoice you want to export.",error:{failed:{description:"Failed to download invoice. Please try again later."},noWalletTransaction:{description:"You have no relevant transaction records during the selected period.",title:"No Available Invoice"},unknown:{description:"Unknown Error"}},select:{label:"Transaction Date Range"}}},form:{setupCardPaymentMethod:{error:{unsupportedFundingType:"Debit and Prepaid Card are not supported. Please use Credit Card for payment. "},usage:"This card will be saved for top-up credits for any payments, including shipments, pickups and pending charges (e.g. chargeable weight adjustment fee or any additional charges from carrier returned invoice."},topupWallet:{error:{notSupportedFundingType:"Debit and Prepaid Card are not supported. Please use Credit Card for payment."},field:{amount:{helpText:"Minimum top-up amount must be at least {{currency}} {{min}}.",label:"Amount",validation:{max:"Maximum top up limit: {{currency}} {{max}}",min:"Amount must be more than {{currency}} {{min}}"}},toTopupAmount:{label:"Top-up Amount:"}}}},modal:{addCardPaymentMethod:{button:{submit:"Add Card"},title:"Add Card"},changeCardPaymentMethod:{button:{submit:"Confirm"},title:"Change Credit Card"},chargesDetails:{pendingCharges:"Pending Charges",pendingChargesRemark:"Including all outstanding and pending charges",pendingRefund:"Pending Refund",settledCharges:"Settled Charges",title:"Charges Details ({{count}})"},group:{fulfillmentOrder:"Fulfillment Order",shipment:"Shipment"},pendingChargeInstruction:{button:{learnMore:"Learn More"},section:{outstanding:{description:"<list><listItem>Previous fiscal week:Last Tuesday 00:00:00 - Next Monday 23:59:59 (HKT) </listItem><listItem>Due date: Will be settled the charges automatically next Friday 15:00 (HKT) </listItem></list>",title:"Outstanding Charges"},reason:{description:"<list><listItem>Chargeable weight adjustment fee after re-weight the shipment by Spaceship Parcel Processing Centre</listItem><listItem>Pickup fee adjustment after carrier returned invoice</listItem><listItem>Weight adjustment fee and other surcharges after carrier returned invoice</listItem></list>",title:"You are being charged twice because of the following reasons:"},upcoming:{description:"<list><listItem>Current fiscal week’s charges</listItem><listItem>Pending charges that are supposed to be settled next week</listItem></list>",title:"Upcoming Charges"}},title:"Where are these Pending Charges come from?"},settlePendingCharge:{button:{addPaymentMethod:"Add Payment Method",settle:"Settle Payment"},exception:{cardRequired:{description:"Add a payment method to proceed settling payment.",title:"Credit Card Required"},insufficientBalance:{description:"Top up your balance and continue to settle payment.",title:"Insufficient amount"}},result:{failed:{description:"Please change to another credit card and try again.",title:"Pending Charges Are Not Settled"},partialSuccess:{description:"<strong>{{settledAmount}}</strong> has been settled. However, some charges are still unsettled.",title:"Some Charges Failed to be Settled"},success:{button:{goToMyWallet:"Go to My Wallet"},description:"{{settledAmount}} has been settled. You can find all the transaction records in My Wallet page.",title:"All Charges Settled"}},section:{summary:{title:"Summary"},total:{title:"Total"}},title:"Settle Payment",topUpAmount:"Top-up Amount"}
67,setupOrganizationDetails:{buttons:{setup:"Setup Now"},description:"Set up your Organization, the information will be displayed in Invoices, Credit Notes and Receipts.",title:"Setup Organization"},topupWallet:{buttons:{submit:"Top Up"},title:"Top Up",toast:{success:"Top Up Successfully"}}},table:{archivedPendingCharge:{banner:{description:"billing.table.archivedPendingCharge.banner.description",title:"billing.table.archivedPendingCharge.banner.title"},emptyState:{description:`Archived pending charges will be shown here
68`,title:"No Archived Charges"},filter:{dateRange:{label:"Bill Date Range"}}},common:{column:{amount:{label:"Amount Due"},carrierService:{label:"Carrier Service"},category:{label:"Category"},createdAt:{label:"Bill Date"},declaredPackage:{label:"Declared Package"},description:{label:"Description"},dueDate:{label:"Due Date"},orderRef:{label:"Order Reference"},prePaidValue:{label:"Pre-paid"},trackingNumber:{label:"Tracking Number"}},filter:{andWithCount:"And {{count}} more",carrierService:{label:"Carrier Service"},category:{label:"Category"},dateRange:{label:"Bill Date"},query:{placeholder:"Search Order Reference, Tracking Number or Shipment/Pickup ID"},receiverCountry:{label:"Receiver Country/Region"}},sorter:{fields:{amount:{label:"Amount Due"},createdAt:{label:"Bill Date"}},orders:{lessToMore:{label:"Ascending"},moreToLess:{label:"Decending"},newestFirst:{label:"Newest to Oldest"},oldestFirst:{label:"Oldest to Newest"}},title:"Sort By"}},outstandingPendingCharge:{banner:{description:"All outstanding charges will be automatically settled <strong>every Monday and Wednesday at 03:00 PM (HKT)</strong>. Charges will be auto-charged from your credit card if you don’t have enough wallet balance.",title:"Outstanding charges will be automatically settled"},column:{amount:{label:"Amount Due"},carrierService:{label:"Carrier Service"},category:{label:"Category"},createdAt:{label:"Bill Date"},declaredPackage:{label:"Declared Package",packageCount:"{{count}} Packages"},declaredValue:{label:"Declared Value"},description:{label:"Description"},dueDate:{label:"Due Date (HKT)"},finalChargeableWeight:{label:"Final Chargeable Weight"},orderRef:{label:"Order Reference"},prePaidValue:{label:"Pre-paid Value"},refId:{label:"Shipment/Pickup ID"},trackingNumber:{label:"Tracking Number"}},emptyState:{description:"Outstanding charges will be shown here",title:"No Outstanding Charges"},filter:{andWithCount:"and {{count}} more",carrierService:{label:"Carrier Services"},category:{label:"Category"},query:{placeholder:"Search Order Reference, Tracking Number or Shipment/Pickup ID"},receiverCountry:{label:"Receiver Country/Region"}},sorter:{fields:{amount:{label:"Amount Due"},createdAt:{label:"Bill Date"}},orders:{lessToMore:{label:"Low to High"},moreToLess:{label:"High to Low"},newestFirst:{label:"Newest to Oldest"},oldestFirst:{label:"Oldest to Newest"}},title:"Sort By"}},receipt:{column:{actions:{download:{label:"Download Receipt"}},amount:{label:"Amount"},category:{label:"Category"},createdAt:{label:"Transaction Date"},paymentMethod:{label:"Payment Method"},refId:{label:"Reference ID"},ssid:{label:"Spaceship ID"}},emptyState:{description:"Topped up or withdrawal records will be shown here",title:"No Receipts Found"},filter:{category:{label:"Category",tag:"Categories: {{categories}}"},dateRange:{label:"Transaction Date",tag:"Transaction Date: {{start}} to {{end}}"},query:{placeholder:"Search Reference ID"}}},transaction:{column:{amount:{label:"Amount"},category:{label:"Category"},closingBalance:{label:"Closing Balance"},createdAt:{label:"Transaction Date"},description:{label:"Description"},refId:{label:"Reference ID"},ssid:{label:"Spaceship ID"}},emptyState:{description:"Transaction records will be shown here",title:"No Transactions Found"},filter:{category:{label:"Category",tag:"Categories: {{categories}}"},dateRange:{label:"Transaction Date",tag:"Date: {{start}} to {{end}}"},query:{placeholder:{"":"Search Reference ID",default:"Please select shipment or pickup in the dropdown to narrow down your search result",pickup:"Search by Spaceship Pickup ID	or Pickup Reference No.",shipment:"Search by Spaceship Shipment ID or Shipment Tracking No."}},refType:{error:{empty:"Please select shipment or pickup to narrow down your search result"},pickup:"Pickup:",shipment:"Shipment:"}}},upcomingPendingCharge:{banner:{description:"Upcoming charges will be counted in the next fiscal period (Period 1: Tuesday 00:00:00 to Thursday 23:59:59 and Period 2: Friday 00:00:00 to next Monday 23:59:59) and settled on the following Wednesday and Monday at 15:00 (HKT) automatically.",title:"Upcoming charges will be settled in next fiscal period"},column:{amount:{label:"Amount Due"},carrierService:{label:"Carrier Service"},category:{label:"Category"},createdAt:{label:"Bill Date"},declaredPackage:{label:"Declared Package",packageCount:"{{count}} Packages"},declaredValue:{label:"Declared Value"},description:{label:"Description"},finalChargeableWeight:{label:"Final Chargeable Weight"},orderRef:{label:"Order Reference"},prePaidValue:{label:"Pre-paid Value"}
68,refId:{label:"Spaceship Shipment/Pickup ID"},trackingNumber:{label:"Tracking Number"}},emptyState:{description:"Upcoming charges will be shown here",title:"No Upcoming Charges"},filter:{andWithCount:"and {{count}} more",carrierService:{label:"Carrier Services"},category:{label:"Category"},query:{placeholder:"Search Order Reference, Tracking Number or Shipment/Pickup ID"},receiverCountry:{label:"Receiver Country/Region"}},sorter:{fields:{amount:{label:"Amount Due"},createdAt:{label:"Bill Date"}},orders:{lessToMore:{label:"Low to High"},moreToLess:{label:"High to Low"},newestFirst:{label:"Newest to Oldest"},oldestFirst:{label:"Oldest to Newest"}},title:"Sort By"}}}},WFe={fedexExtraLargePak:"FedEx XL PAK",fedexLargeBox:"FedEx large box",fedexLargePak:"FedEx Large PAK",fedexMediumBox:"FedEx medium box",fedexPaddedPak:"FedEx Padded PAK",fedexPak:"FedEx PAK",fedexSmallBox:"FedEx small box",sfEcommBoxF2:"SF Box No. F2",sfEcommBoxF4:"SF Box No. F4",sfEcommBoxF6:"SF Box No. F6"},VFe={add:"Add",back:"Back",cancel:"Cancel",change:"Change",confirm:"Confirm",continue:"Continue",create:"Create",update:"Update",default:"Default",delete:"Delete",done:"Done",download:"Download",edit:"Edit",enable:"Enable",disable:"Disable",enabled:"Enabled",disabled:"Disabled",intercept:"Intercept",and:"And",moreActions:"More Actions",next:"Next",refresh:"Refresh",save:"Save",showLess:"Show Less",showMoreWithCount:"Show {{count}} More",submit:"Submit",understand:"I Understand",upload:"Upload",view:"View"},jFe={shopify:"Shopify",spaceshipPro:"Spaceship Pro"},GFe={card:{title:"Zonos Information",lineItems:"Line Items",productVariantId:"Shopify Product",shippingAmount:"Shipping Amount"}},KFe={date:"yyyy-MM-dd",dateTime:"yyyy-MM-dd, HH:mm",dateTimeWithoutYear:"MM-dd HH:mm",time:"HH:mm"},ZFe={cainiaoPickupPoint:{district:{label:"District",placeholder:"Select"},region:{label:"Regions",placeholder:"Select"},search:"Search by Address",title:"Cainiao Network"},fields:{addressLine1:{helpText:"if you need to send to Post Office Box (PO Box), please choose Spaceship Air Standard/Hongkong Post services.",label:"Address Line 1"},addressLine2:{label:"Address Line 2"},addressNickname:{helpText:"This will be the reference name of this sender address (e.g. My Office)",label:"Nickname (Internal reference only)"},city:{label:"City"},companyName:{label:"Company's Legal Name"},connectedStore:{label:"Connected Store",placeholder:"Select Store"},contactFullName:{label:"Contact Full Name"},country:{byContinents:"Continents",featuredLabel:"Popular",label:"Country/Region",othersLabel:"Others",placeholder:"Select Country/Region"},countryOfManufacture:{label:"Country/Region of Manufacture"},currency:{label:"Currency"},district:{label:"District",placeholder:"District"},email:{label:"Email Address"},height:{label:"Height"},hsCodeCategory:{error:{onlyNumber:"Please include numbers only. Symbols and special characters are not allowed."},placeholder:"Enter Category"},isDefaultAddress:{label:"Set as default address"},isResidentialAddress:{label:"This is a residential address"},itemValue:{label:"Unit Selling Price"},length:{label:"Length"},name:{label:"Contact Full Name"},orderRef:{helpText:"Enter your e-commerce Order Reference here to search and trace corresponding shipment of each order more easily.",hint:"Order Reference",label:"Order Reference"},packageDropdown:{autoSelection:{label:"Auto-select packaging",option:{desc:"Auto-select the most suitable packaging for shipments based on the dimensions of your items. ",text:"Auto-select packaging"}},custom:{label:"Custom Packaging Dimensions",option:{text:"Input Custom Packaging Dimensions"}},customPlaceholder:"Select Saved Packaging Dimensions",error:{fedexPackagingNotEnabled:"Fedex Packaging is not enabled"},fedex:{option:{disabledText:"FedEx Packaging Settings",enabledText:"FedEx Packaging Settings"}},packageDropdown:{label:"Input Custom Packaging Dimensions"},subsectionTitle:{customPackaging:"Custom Box Dimension",fedexPackaging:"Fedex Packaging",sfPackaging:"SF Packaging"}},password:{hints:{hide:"Hide",lengthLimit:"Password must be at least 6 characters long",show:"Show"},label:"Password"},phone:{error:{onlyNumber:"Please include numbers only. Symbols and special characters are not allowed."},label:"Phone No."},phoneNumber:{label:"Phone Number"},postalCode:{label:"Postal Code"},productType:{placeholder:"Enter Product Type"},quantity:{label:"Quantity"},shipmentPurpose:{hint:"Shipment Purpose can affect customs requirements a lot. It may result in the needs for certain customs document requirements, as well as import duties and tax calculations.",label:"Shipment Purpose",placeholder:"Select Shipment Purpose"},shipmentTags:{helpText:"You can add up to 250 tags for each shipment",label:"Tags",options:{add:"<strong>Add</strong> {{tagName}}",empty:"Create your first tag"}
68,placeholder:{bulkAdd:"Search or create a new tag",bulkRemove:"Select the tag(s) you want to remove",search:"Search tags",searchOrCreate:"Search to find or create new tags"}},state:{label:"State",placeholder:"Select State"},taxId:{label:"Tax ID"},taxTerm:{ioss:{label:"IOSS Number",placeholder:"Select IOSS Number"},label:"Tax Term",placeholder:"Select Tax Term"},url:{label:"Link",placeholder:"www.example.com"},weight:{label:"Weight"},width:{label:"Width"}},imageFileUpload:{delete:"Delete",hints:{maxFileSize:"Max. File Size: {{maxFileSize}}",recommendedDimension:"Recommended Aspect Ratio: 2:3",supportedFormats:"Supported Formats: {{formats}}"}},valueAddedServices:{title:"Value-added Services",directSignatureDelivery:"Direct Signature Delivery",directSignatureDeliveryHelpText:"Direct signature delivery requires the recipient's signature at the time of delivery, and the fee is determined by the carrier. Please note that this service may only be available for selected carriers.",addressTranslationNeeded:"Address Translation Needed",noAddressTranslationNeeded:"Address Translation Not Needed",addressTranslationNeededHelpText:"Enable this option if the recipient address needs to be translated before quoting.",enabled:"Enabled",noValueAddedService:"No value-added services",noDirectSignatureDelivery:"Direct Signature Requirement Not Specified"},placeholder:{select:"Select..."},promptBlocker:{description:"Would you like to save the changes before leaving this page?",discard:"Discard All Changes",leave:"Leave This Page",save:"Save All Changes",stay:"Stay on Page",title:"Leave This Page?"},sfNetwork:{district:{label:"District",placeholder:"Select District"},region:{label:"Area",placeholder:"Select Area"},search:"Search by Address or Network Code",title:"SF Network Point Address or Code",type:{"7Eleven":"7-Eleven",all:"All SF Network",circleK:"Circle K",label:"SF Network Type",other:"Others",placeholder:"Select SF Network",sfLocker:"SF Locker",sfStore:"SF Store",shell:"Shell Stations"}},validation:{invalidColorCode:"Please enter a valid color code",invalidEmail:"Please enter a valid email address",invalidInput:"Invalid Input",invalidMaxLength:"{{fieldName}} is at most {{maxLength}} characters.",invalidMinLength:"{{fieldName}} must be at least {{minLength}} characters.",invalidNumber:{greaterThan:"{{fieldName}} must be greater than {{min}}",greaterThanOrEqualTo:"{{fieldName}} must be greater than or equal to {{min}}"},invalidStateInAddress:"The State in this saved address is incorrect/missing. Please update it or choose another address.",invalidUrl:"Please enter a valid website link. The link should start with https:// or http://",invalidUrlWithoutProtocol:"Please enter a valid website link",maxFileSize:"Max. File Size: {{maxFileSize}}",pleaseSelect:"Please select {{fieldName}}",required:"Please enter {{fieldName}}",unsupportedCountry:"This route is not available on Spaceship, please try another country/region."}},YFe={bizUrl:"https://biz.spaceshipapp.com",clearAllFilters:{label:"Clear All Filters"},clearSelections:"Clear",copiedSomething:"Copied",copy:"Copy",copySomething:"Copy",district:{hongKongIsland:"Hong Kong Island",kowloon:"Kowloon",newTerritories:"New Territories"},eCommerce:{amazon:"Amazon",esty:"Esty",hktvmall:"HKTV mall",kickstarter:"Kickstarter",shopify:"Shopify",tiktok:"TikTok"},emptyState:{searchResultNotFound:{desc:"Please adjust criteria for filter or try different keywords",title:"No Matching Results"}},languages:{en:"English",zhHk:"繁體中文"},learnMore:"Learn More",legacyProBanner:{message:"<legacyProUrl>
68Login to the retired version of Spaceship Pro</legacyProUrl>",url:"https://app.spaceshipapp.com/login"},package:{centimeter:"cm",formattedDimension:"L{{length}} x W{{width}} x H{{height}} cm",formattedDimensionAndWeight:"L{{length}} x W{{width}} x H{{height}} cm, {{weightValue}} {{weightUnit}}",formattedDimensionWithLabel:"L{{length}} x W{{width}} x H{{height}} {{unit}}",formattedDimensionWithoutUnit:"L{{length}} x W{{width}} x H{{height}}",formattedDimensionWithoutUnitAndWeightWithUnit:"L{{length}} x W{{width}} x H{{height}}, {{weightValue}} {{weightUnit}}",formattedWeight:"{{weight}} {{unit}}",height:"Height",length:"Length",width:"Width"},shipmentPurpose:{commercialUse:"Commercial Use",personalUse:"Personal Use",returnGoods:"Return Goods",sampleUse:"Sample Use"},shipmentStatus:{actionsRequired:"Actions Required",cancelled:"Cancelled",delivered:"Delivered",labelCreated:"Label Created",onHold:"Exception",onTheWay:"On the Way",processing:"Arrived at Facility",toBeCollected:"To Be Collected"},step:"Step {{step}}",url:{batteryShipping:"https://support.spaceshipapp.com/en/reminders-for-shipping-items-with-batteries",instructionsPackingBattery:"https://support.spaceshipapp.com/en/reminders-for-shipping-items-with-batteries",privacyPolicy:"https://www.spaceshipapp.com/privacy-policy",ssCareTnC:"https://www.spaceshipapp.com/en-hk/spaceship-care-terms-and-conditions/",termsAndConditions:"https://www.spaceshipapp.com/terms-and-conditions"},warehouseReceivingOrderStatus:{arrived:"Arrived",awaiting:"Awaiting",cancelRequested:"Cancel Requested",cancelled:"Cancelled",completed:"Completed",created:"Created",processing:"Processing",received:"Received"}},$Fe={170490:"Dry Food",330499:"Makeup & Skincare",420100:"Pet Accessories",420212:"Bags & Suitcases",490110:"Documents",490199:"Books",621710:"Fashion - Accessories",621790:"Fashion - Clothing",640411:"Footwear",847130:"Computers & Tablets",847300:"Computer Accessories",850980:"Domestic Appliances",851700:"Mobile Phones",851989:"Audio & Video Devices",852500:"Cameras",910200:"Watches",940389:"Furniture",95e4:"Toys & Board Games",950450:"Video Games",950600:"Sports & Fitness",others:"Others"},XFe={spaceshipPersonal:"https://www.spaceshipapp.com/ship/en"},QFe={subscriptionEndReminder:{action:{continueTrial:"Continue Free Trial",upgrade:"Upgrade Now"},checkbox:{notShowAgain:"Don't show this message again"},desc:{ended:"Please note that some of the features will be affected.",nearEnd:"Please note that some of the features you currently enjoying will be affected."},earlyBirdTitle:"Early Bird Plan Ending Soon",freeTrialTitle:"Free Trial Ending Soon",subTitle:{ended:"Downgraded to Free Plan",freeTrialNearEnd:"You free trial on Growth Plan will be expired in {{ days }} day(s)",nearEnd:"You will be downgraded to Free Plan in {{ days }} day(s)"},title:"Subscription Ending Soon"}},JFe={actionRequiredShipments:"Actions Required",billing:"Billing",cancelledShipments:"Cancelled",carriers:"Carriers",config:"Config",contactUs:{label:"Customer Helpdesk",url:"https://support.spaceshipapp.com/tickets"},createFulfillmentOrder:"New Fulfillment Order",createShipment:"New Shipment",downloadAndPrint:"Download & Print",draftShipments:"Drafts",allShipments:"All Shipments",eCommerce:"E-commerce",fulfillment:{actionRequired:"Actions Required",inventory:"Inventory",orders:"Unfulfilled Orders",returnOrders:"Return Orders",title:"Fulfillment",all:"All Orders"},helpCenter:{label:"Knowledge Base",url:"https://support.spaceshipapp.com/en"},home:"Home",importFulfillmentOrder:"Import Fulfillment Orders",importShipments:"Import Orders",labelCreatedShipments:"Labels Created",new:"New",newOrder:"Create Order",newShipment:"Create Shipment",orderSyncStatus:{completed:{clear:"I Understand",description:"You may find these newly synced orders in the Drafts page.",noSyncedOrders:"No valid orders are found in the selected time range.",source:"Syncing from:",syncedOrderCount:"Orders Synced: {{count}}",title:"All Orders Synced"},failed:{cancel:"Cancel Sync",description:"Encountered unknown errors when syncing orders. Please try to sync again later. If there are still errors after a few attempts, please contact us via Live Chat.",retry:"Try Again",source:"Syncing from:",syncedOrderCount:"Orders Synced: {{count}}
68",title:"Some Orders Cannot Be Synced"},syncing:{description:"This process may take a while, especially with huge order volume. Please wait patiently.",source:"Syncing from:",syncedOrderCount:"Orders Synced: {{count}}",title:"Syncing Orders..."}},paymentMethods:"Payment Method",paymentSettings:"Payment Settings",pendingCharges:"Pending Charges",pickups:"Pickups",plans:"Pricing Plans",productSyncStatus:{completed:{actions:{confirm:"I Understand"},description:"All products have been synced from <strong>{{storeName}}</strong> successfully.",lastSyncedAt:"Last Synced: {{lastSyncedAt}}",productsCount:"Products Synced: {{count}}",title:"Sync Complete"},failed:{actions:{retry:"Retry"},description:"We are unable to sync products from {{storeName}}. Please try again later.",title:"Sync Failed"},syncing:{description:`We are synchronizing products from {{storeName}}. This process may take a while. Please wait patiently.
69`,title:"Synchronizing Products..."}},products:"Products",quotation:"Get a Quote",schedulePickups:"Schedule Pickups",scheduledPickups:"Scheduled",selfManaged:"Self-Managed",settings:"Settings",spaceshipAI:{title:"Spaceship AI",description:"Try our new beta assistant for smarter shipping.",openAssistant:"Open Assistant"},shipments:"Shipments",shippingAutomation:"Shipping Automation",shippingLabels:"Shipping Labels",storeIntegration:"Store Integrations",trackAndTrace:"Track & Trace",users:"Users",wallet:"My Wallet"},e4e={checklist:{button:{close:"Close"},checkbox:{title:"Don’t show this tutorial again"},completedModal:{doLater:"Explore On My Own",home:"Start Next Task",nextStep:"Finish the remaining tasks to complete<br />your onboarding journey and earn more!",nextStepPrintLabel:"Print your first label and send this shipment to your customer!",title:"Great Work! You’ve Completed",titleAll:"Congrats - You've Completed This Onboarding Journey 🚀<br />You're Now a Shipping Expert!",toPrintLabel:"Download & Print Your Label",youHaveEarned:"You've earned <amount><strong>{{amount}}</strong></amount> so far.",youHaveTotalEarned:"You've earned <amount><strong>{{amount}}</strong></amount> in total!"},heading:{notes:"Leverage this checklist step-by-step to be a shipping expert!",notesCompleted:"Congratulations! You've become a shipping expert!",progress:"{{percentage}}% Completed",title:"🚀 Kick-Start Your Hassle-Free Shipping Journey NOW!",titleCompleted:"🚀 Onboarding Journey Completed!"},itemGroups:{setupDefaults:{name:"Set up Defaults"}},items:{buyShipment:{name:"Buy 1 Shipment"},buyShopifyShipment:{name:"Buy 1 Shipment for 1 Synced Order"},connectShopify:{name:"Connect Your Store"},createShipment:{name:"Fill in All Required Fields of 1 Shipment Draft"},getQuickQuote:{name:"Get 1 Quick Quote"},setupDefaultPackaging:{name:"Add Packaging"},setupDefaultSenderAddress:{name:"Add Default Sender Address"}},list:{expectedMins:"About {{expectedMins}} minutes",rewardWalletAmount:"+ {{currency}} {{amount}}",rewardWalletAmountCompleted:"{{currency}} {{amount}} Earned"}}},t4e={setupModal:{form:{agreeToTerms:"I agree to the terms and conditions",description:"To ensure smooth and secure shipments, we just need to verify a few company details. This quick step helps us make sure your shipments are covered under your company’s liability, protecting everyone involved. Once you’re verified, you’ll be all set to enjoy seamless shipping with full peace of mind.",fields:{businessRegistrationExpirationDate:"BR Expiry Date",businessRegistrationFile:"Business Registration File",businessRegistrationNumber:"BR Number",companyName:"Company Name",firstName:"First Name",lastName:"Last Name",phone:"Phone Number",position:"Position",websiteUrl:"Website Url"},hints:{businessRegistrationFileAcceptedTypes:"Accepts .pdf, .jpg, and .png"},requestToUploadBusinessRegistrationFile:"Please upload the Business Registration Document (BR)",termsAndConditions:{content:"Spaceship (HK) Limited (“Spaceship”, “we” and “us”) with its Hong Kong office address at Unit 1111,DT Hub, 5 Chun Cheong St, Tseung Kwan O, Hong Kong is the operator of [www.spaceshipapp.com](https://www.spaceshipapp.com/) and the Mobile App (“Website” or “Spaceship”). Spaceship is a technology platform that connect shippers and/or couriers and/or third party service provider (the “Courier”) for you to select the courier service (the “Services”). The Website is designed to provide assistance to users (“User(s)” or “you”) in creating and managing shipments (the “Shipment”). This Website and the offer of our Services (defined below) are offered on the sole condition of your acceptance without modification of any and all the terms, conditions, and notices set forth below (Collectively, the “Terms of Service”). By creating an account on the Website or by using any Services provided by us, you acknowledge that you have read, understood, and agreed to be bound by the Terms of Service and represent that you have read and understood the same.\\n\\nThe Terms of Service are accessible at any time on the following page of our Website https://www.spaceshipapp.com/zh-hk/terms-and-conditions. You must read, agree with and accept all the terms and conditions contained in the Terms of Service, and our Privacy Policy contained in https://www.spaceshipapp.com/zh-hk/privacy-policy (“Privacy Policy”) prior to becoming a Spaceship user. If you do not accept any provision in our Terms of Service and/or Privacy Policy, you are not authorized to use this Website or our Services and shall immediately cease using this Website. We shall revise the Term of Service and Privacy Policy from time to time.\\n\\nThe Terms of Service represent a legally binding agreement between you (and your client, employer or another entity if you are acting on their behalf) and Spaceship and its direct affiliates or subsidiary, including the various different entities that Spaceship uses to operate locally in different c
69ountries.\\n\\nTo contact us, please email or whatsapp our customer service team (for our email address and whatsapp, please see [http://www.spaceshipapp.com](http://www.spaceshipapp.com/)). You can also use the service chat on our Website.\\n\\n**1. Acceptance of Terms of Service**\\n\\n1.1. If you are entering into these Terms of Service on behalf of a company, business or other legal entity, you represent that you have the authority to bind such entity and its affiliates to these Terms of Service, in which case the Terms of Service “you” or “your” shall refer to such entity and its affiliates. If you do not have such authority, or if you do not agree with these Terms of Service, you shall not accept the Terms of Service on behalf of such entity and you are not authorized to use this Website or the Services.\\n\\n1.2. By registering for the Services, you agree to provide and maintain true, accurate, current and complete information about yourself as prompted by the Services’ registration form. Our collection and processing of registration data and certain other information about you are governed by our Privacy Policy.\\n\\n1.3. You acknowledge and agree that we may change or otherwise modify the Terms of Service in the future, such changes and modifications shall become effective immediately upon posting to the Website. You understand, agree and fully accept that your continued access or use of this Website after such change or modification constitutes your acceptance of the changed or modified Terms of Service and Privacy Policy. Spaceship endeavors to provide you with notice of any changes to the Terms of Service, but Spaceship’s failure to do so shall not excuse your obligation to comply with any such modified Terms of Service. You shall periodically review the most current version of these Terms of Service as posted on the Website.\\n\\n1.4. You acknowledge, agree and fully accept that you may be subject to additional terms applicable to certain Services provided by us and/or the Courier that may be attached to such Services from time to time. All such terms are hereby incorporated by reference into these Terms of Service. Also, you will be subject to the terms and conditions of the Courier which you have selected. You are solely responsible to go through the terms and conditions of the Courier which you have selected before you confirm the Shipment.\\n\\n1.5. In the event that you commit any breach or violation of any terms and conditions under our Terms of Service, we reserve all our rights including but not limited to immediately terminate our Services, suspend your Spaceship account, and/or may take other legal action against you without further notice.\\n\\n1.6 The usage of any services not provided by us (including, without limitation, warehousing services) may requires you to enter into a separate legally binding service agreement with a Courier. You acknowledge, agree and fully accept that we do not assume any liability whatsoever for any acts, errors, or omissions (including, without limitation for any negligence or willful misconduct) of the Courier with whom you or any of your affiliates may contract, regardless of the purpose. This is your sole responsibility to go through the terms and conditions of the Courier which you have selected before you confirm the Shipment.\\n\\n**2. Description of Services**\\n\\n2.1. For the purpose of these Terms of Service, “Services” shall include (a) the account services of the Website, (b) all software, data, reports, text, images, sounds, video, and content made available through any of the foregoing (collectively referred to as the “Content”), and (c) Shipment information and services provided by the Courier. Any new feature added to, or augmenting the Services, is also subject to these Terms of Service. Spaceship reserve the right to revise the Services from time to time.\\n\\n2.2 The information, software, products, and Services published on this website may include inaccuracies or typographical errors. In particular, we and our affiliates do not guarantee the accuracy of and disclaim liability for inaccuracies relating to Courier’s terms and conditions, photographs, automobile and other service descriptions and other service descriptions displayed on the Website. We and our affiliates do not guarantee the accuracy of the information herein.\\n\\n2.3 We and our affiliates, and the Courier make no representations about the suitability of the information, software, products, and services contained on the Website for any purpose, and the inclusion or offering for sale of any products or services on the Website does not constitute any endorsement or recommendation of such products or services by us and our affiliates. We and our affiliates, and/or their respective Courier hereby disclaim all warranties, and conditions with regard to this information, software, products, and services, including all implied warranties and conditions of merchantability, fitness for a particular purpose, title, and non-infringement.\\n\\n2.4 The Courier providing the services for Spaceship are independent contractors and not agents or employees of Spaceship or its affiliates. We and our affiliates are not liable for the acts, errors, omissions, representations, warranties, breaches or negligence of any such Courier or for any personal injuries, death, property loss and damage, or other damages or expenses resulting therefrom. We and our affiliates have no liability and will make no refund in the event of any delay, cancellation, overbooking, strike, force majeure or other causes beyond their direct control, and we have no responsibility for any additional expense, omissions, delays, re-routing or acts of any government or authority.\\n\\n2.5 In no event shall Spaceship, its affiliates, and/or their respective Courier be liable for any direct, indirect, punitive, incidental, special, or consequential damages arising out of, or in any way connected with, the use of the Website or with the delay or inability to use the Website, or for any information, software, products, and services obtained through the Website, or otherwise arising out of the use of the Website, whether based on contract, tort, strict liability, or otherwise, even if Spaceship, its affiliates, and/or the Courier have been advised of the possibility of damages.\\n\\n**3. Prohibited Products**\\n\\
69n3.1. The following are the types of products that, for everyone’s safety, you are prohibited to ship through Spaceship. The items listed in this paragraph is not conclusive and you solely responsible for checking with the relevant laws, rules and regulations of the local and/or oversea custom and/or government authorities:\\n\\n- Any product related to illegal activities or which is prohibited by law in the place of origin, the destination, or any sites through which such product travel.\\n- Any product requiring specific licenses to store or distribute, import and export. Examples of products with distribution and licensing requirements may include, but are not limited to:\\n - Live plants and animals;\\n - Alcoholic beverages;\\n - Ammunition & firearms;\\n - Tobacco;\\n - Firearms and any kind of weapon;\\n - Prescription pharmaceuticals or other dangerous drugs;\\n - Explosive or hazardous products;\\n - Unique or one-of-a-kind materials;\\n - Precious metals in the forms of bullion or reserves; and\\n - Electronic component and/or device which subject to the relevant laws and regulations\\n\\n3.2 Spaceship shall not be liable for any delay, loss, damage, destruction caused by the Courier and/or confiscation by the local and/or oversea custom and government authorities of any prohibited product. Spaceship has the sole discretion to cancel any order if Spaceship is suspecting the user is sending the prohibited products.\\n\\n**4. General Conditions/ Access and Use of the Services**\\n\\n4.1. Subject to the terms and conditions of these Terms of Service, you may access and use the Services only for lawful purposes. All rights, titles and interests in and to the Services and its components will remain with and belong exclusively to Spaceship. You shall not (a) sublicense, resell, rent, lease, transfer, assign, time share or otherwise make the Services and/or your Account available to any third party, without written consent of Spaceship; (b) use the Services in any unlawful manner (including without limitation in violation of any data, privacy, export or import control laws) or in any manner that interferes with or disrupts the integrity or performance of the Services or its components or otherwise violates our Terms of Service, or (c) modify, adapt or hack the Services to, or otherwise attempt to gain unauthorized access to the Services or its related systems or networks. You shall comply with all codes of conduct, policies or other notices which Spaceship and/or the Courier provides you or publishes in connection with the Services, and you shall promptly notify Spaceship if you learn of a security breach related to the Services.\\n\\n4.2 You may not tender for shipment any of the prohibited items listed under the Clause 3.1. You grant Spaceship and/or the Courier and/or any authorized third parties the right to inspect your Shipment at any time. We reserve the right to reject or suspend the carriage of any item which we suspect that will breach the laws.\\n\\n4.3. You acknowledge, agree and fully accept that you will not use the Services and/or the Website to (or assist another person to): (a) upload any content that (i) infringes any intellectual property or other proprietary rights of any party; (ii) you do not have a right to upload under any law or under contractual or fiduciary relationships; (iii) contains software viruses or any other computer code, files or programs designed to interrupt, destroy or limit the functionality of any computer software or hardware or telecommunications equipment; (iv) poses or creates a privacy or security risk to any person; (v) is unlawful, harmful, threatening, abusive, harassing, tortious, excessively violent, defamatory, vulgar, obscene, pornographic, libelous, invasive of another’s privacy, hateful racially, ethnically or otherwise objectionable; or (vi) in the sole judgment of Spaceship, is objectionable or which restricts or inhibits any other person from using or enjoying the Services, or which may expose Spaceship or its users to any harm or liability of any type; (b) interfere with or disrupt the Services or servers or networks connected to the Service, or disobey any requirements, procedures, policies or regulations of networks connected to the Services; or (c) violate any applicable local, state, national or international law, or any regulations having the force of law; (d) impersonate any person or entity, or falsely state or otherwise misrepresent your affiliation with a person or entity; or (e) obtain or attempt to access or otherwise obtain any materials or information through any means not intentionally made available or provided for through the Services.\\n\\n4.4. You are solely responsible for all data, information, feedback, suggestions, text, content and other materials that you upload, post, deliver, provide or otherwise transmit or store in connection with or relating to the Services (“Your Content”). Spaceship reserves the right to access your account in order to respond to your requests for technical support. By posting Your Content on or through the Services, you hereby do and shall grant Spaceship a worldwide, non-exclusive, perpetual, irrevocable, royalty-free, fully paid, sub licensable and transferable license to use, modify, reproduce, distribute, display, publish and perform Your Content in connection with the Services and to improve Spaceship’s products and Services, subject to the terms and conditions of these Terms of Service and our Privacy Policy. Spaceship has the right, but not the obligation, to monitor the Services, Content, or Your Content and to disclose Your Content if required to do so by law or in the good faith belief that such action is necessary to (i) comply with a legal obligation, (ii) protect and defend the rights or property of Spaceship, (iii) act in urgent circumstances to protect the personal safety of users of the Services or the public, or (iv) protect against legal liability. You further acknowledge, agree and fully accept that Spaceship may remove or disable any Your Content at any time for any reason (including, but not limited to, upon receipt of claims or allegations from third parties or authorities relating to such Content), or for no reason at all.\\n\\n4.5. You understand that the operation of the Services, including Your Content, may be unencrypted and involve (a) transmissions over various networks; (b) changes to conform and adapt to technical requirements of connecting networks or devices and (c) transmission to Spaceship’s business partners including but not limited to the Courier and hosting partners to provide the necessary hardware, softw
69are, networking, storage, and related technology required to operate and maintain the Services. Accordingly, you acknowledge, agree and fully accept that you bear sole responsibility for adequate security, protection and backup of Your Content. Spaceship shall in any event have no liability to you for any unauthorized access or use of any of Your Content, or any corruption, deletion, destruction or loss of any of Your Content.\\n\\n4.6. You are solely responsible for obtaining and maintaining any equipment and ancillary Services needed to connect to, access or otherwise use the Services, including, without limitation, browsers, modems, hardware, servers, software, operating system, networking, web servers and internet Services (collectively, “Equipment”). You are solely responsible for ensuring that such Equipment is compatible with the Services and complies with all configurations and specifications set forth in Spaceship’s published policies then in effect. You are also solely responsible for maintaining the security of the Equipment, your account, passwords (including but not limited to administrative and user passwords) and files, and for all uses of your account or the Equipment with or without your knowledge or consent.\\n\\n4.7. Subject to the Terms of Service hereof, Spaceship may (but has no obligation to) provide technical support Services, through email in accordance with our standard practice. Spaceship might use the email and/or the telephone number provided by you to send you updates about the packages, gain consignee feedback, and in general any time Spaceship consider it needed to carry on its Services.\\n\\n4.8. In the event that you wish to change any information regarding the Shipment, such as address, items included or other matters, please contact us directly (by sending email or whatsapp our customer service team (for our email address and whatsapp, please see www.spaceship.hk). You can also use the service chat on our Website) and we will help as part of our customer support services. In the event that the Shipment has already been handled over to any Courier, such changes may not become effective, or the Courier may ask a fee to validate the change. Any change of information regarding the Shipment shall be subject to the final approval and confirmation by the Courier.\\n\\n4.9. In the event that you wish to enquire, lodge a claim or complaint regarding the Shipment, please contact us directly (by sending email or whatsapp our customer service team (for our email address and whatsapp, please see www.spaceship.hk). You can also use the service chat on our Website) and we will help as part of our customer support services.\\n\\n4.10. In the event that a Shipment is recalled and the Courier does not provide the returned delivery to the sender address, the Shipment item will be returned to Spaceship. You may choose to collect the Shipment item, at your own expenses, at a designated location provided by Spaceship, or pay a return shipping fee in an amount quoted by Spaceship including but not limited to the penalty charged by Courier in respect of shipment of prohibited items, and Spaceship will ship it to your sender address.\\n\\n**5. Account**\\n\\n5.1. In order to create an account with Spaceship, you agree that you will provide accurate, true and correct information to the best of your knowledge and belief (“Registration Information”) and will promptly update such Registration Information as necessary. Access to, and use of, the Spaceship account is restricted to authorized users only.\\n\\n5.2. You agree not to share your password(s), account information, or account access information to any third party. You are solely responsible for maintaining the confidentiality of password(s) and account information, and you are responsible for all activities that occur under your password(s) or account(s) or as a result of your access to the account(s). You agree to notify Spaceship immediately of any unauthorized use of your account. In any event, Spaceship shall not be liable for any unauthorized use of your account.\\n\\n5.3. You may invite other users to share your account (the “Invited Member”). However, you shall be solely responsible for the actions and activities by such Invited Member on your Space
69ship account.\\n\\n**6. Payment**\\n\\n6.1. Shipping Fees\\n\\nA shipping fee will be charged for each Shipment, of which shall include all costs related to the Shipment, quoted by Spaceship (the “Estimated Shipping Fee”) after you have input all the relevant information as required. Estimated Shipping Fee shall include but not limited to shipping cost, fuel surcharge, insurance fee, import tax, import duty, remote area surcharge, courier tax handling fees, pick-up fees, peak season surcharge and any other amount related to the activity of shipping through Spaceship. Spaceship shall revise the Estimate Shipping Fees from time to time before the issuance of the final invoice (the “Final Invoice”) of the final shipping fee (the “Final Shipping Fee”) .\\n\\n6.2 Billing\\n\\nYou must provide complete and accurate payment information. Payment for Spaceship’s Services shall be made by any of the accepted payment methods as set out on the Website. Once you have confirmed the Shipment, Spaceship will send you a proforma invoice (the “Proforma Invoice”) for the Estimated Shipping Fee and charge the amount from the payment information you provide. The Estimated Shipping Fee is subject to be revised from time to time base on the actual weight and dimension of the shipment item, as well as the situation mention in clause 6.1, 6.3 and 6.4 of this Terms of Service. The Courier will send us a report after the item had been delivered to the destination. Upon receipt of the report, Spaceship will send you the Final Invoice of the Final Shipping Fee for the difference (if any) (i.e. difference between the Estimated Shipping Fee and Final Shipping Fee). Spaceship will charge from or refund the difference to Your Account. The report from the Courier for the shipment item is conclusive and you agree and fully accept that you are bound by the report.\\n\\n6.3. Discrepancies\\n\\nQuotations for Estimated Shipping Fee by Spaceship are based on the information provided by you, including but not limited to sender’s address, receiver’s address, weight, dimensions, and value of the items. In the event that there is a discrepancy between the Estimated Shipping Fee charged by the Courier which you have selected through Spaceship and the costs for the Shipment incurred by the Courier as you have selected through Spaceship due to incorrect information that you provided, including but not limited to incorrect weight, dimensions, value of the item(s), addresses, or any other information critical to estimate the shipping cost, you will be solely responsible for such discrepancy amount. Spaceship specifically disclaims any liability for any shipping fees errors due to inaccurate or incomplete information. Spaceship is not responsible for any changes or alteration of the shipping fees. Spaceship agrees to make reasonable efforts to bill such discrepancy amount to your account in a timely manner but Spaceship makes no representations or warranties regarding the amount of time needed to complete processing.\\n\\n6.4. Currency Fluctuations\\n\\nSpaceship reserves the right to adjust its pricing in response to currency fluctuations, including but not limited to, currency conversion rate changes, conversion fee changes, and/or discount rate changes from time to time and without any notice.\\n\\n6.5. Shipping Fee Disputes\\n\\nIn the event that you disagree with any Shipping Fees including but not limited to the Estimated Shipping Fee and the amount stated in the Final Invoice charged to your account, you shall submit such complaint to the Spaceship contact under the Website within THIRTY (30) days after the Final Invoice being issued (“Dispute Period”). Spaceship will not review your requests for shipping fee adjustments that are received after the Dispute Period.\\n\\n6.6. Taxes\\n\\nYou acknowledge , agree and fully accept that all fees, charges and any other rates or amounts charged by the Courier selected by you through Spaceship to you hereunder are exclusive of any applicable value added, sales/use or goods and Services’ taxes (“Transaction Taxes”) which may be levied in connection with the Services to you. you shall be solely responsible to pay any Transaction Taxes arising in respect of the Shipping Fees or other amounts charged by Spaceship to you. Any User who incorrectly declare the commodity type and/or value of the shipment(s) may be charged a penalty imposed by the C
69ourier plus the handling fee charged by Spaceship. Spaceship reserved the sole discretion in relation to the amount of penalty.\\n\\n6.7. Shipping Fee Refund\\n\\nYou may cancel any available and unused shipping label and request for a refund accordingly prior to pick up by the Courier being processed. Spaceship will refund the Estimated Shipping Fee to you within FOURTEEN (14) days from the date of you requests for such cancellation. In event that the Shipment has already been processed and sent over to or collected by the Courier, such Shipment may not be cancelled and you shall be liable for the Final Shipping Fee and any other related fees thereof.\\n\\n6.8 Credit Term and Late Payment Penalty Charge\\n\\nSpaceship may offer credit term to you for the settlement of Final Shipping Fee. We shall also offer discount for early settlement but the discount rate shall be revised from time to time and Spaceship shall have the absolute discretion in this regard. Spaceship reserve the right to impose penalty on each and every invoice if which have not been settled within the credit term.\\n\\n**7. Intellectual Property**\\n\\n7.1. Spaceship Property\\n\\nFor purposes of this Agreement, “Spaceship Property” shall mean (a) Spaceship’s methodology for the provision of Services; (b) the Developer Tools; and (c) Spaceship’s ideas, websites, designs, processes, code, technology, software, copyrights, logos, domain names, patents, trade secrets, trademarks, products and materials. Spaceship hereby retains all worldwide right, title and interest in and to the Spaceship Property. Any rights not expressly granted herein to the Spaceship Property shall be retained by Spaceship. You acknowledge, agree and fully accept that all right, title and interest to the Spaceship Property is owned by Spaceship.\\n\\n7.2. Additional Restrictions\\n\\nOther than as permitted herein, you shall not (and you shall not permit others to), directly or indirectly, modify, translate, decompile, disassemble, or reverse engineer any part of the Spaceship Property and/or any intellectual property right of the Courier, or otherwise attempt to discern the functioning or operation of the Website or Services; or copy, rent, lease, distribute, or otherwise transfer any or the rights that you receive hereunder. For clarification purposes, all page headers, custom graphics, button icons, and scripts are service marks, trademarks, and/or trade dress of Spaceship and/or the Courier and you shall not copy, imitate, or use them without our express prior written consent. You may only use HTML logos provided by Spaceship through our merchant Services, auction tools features or affiliate programs without prior written consent solely for the purpose of directing web traffic to http://www.spaceshipapp.com. You shall not alter, modify or change such HTML logos in any way, use them in a manner that is disparaging or otherwise adverse to Spaceship or the Services, or display them in any manner that implies Spaceship’s sponsorship or endorsement. You shall not (and you shall not permit others on your behalf to): (i) use any robot, spider, scraper or other automated means to access the Spaceship Website or Services for any purpose without Spaceship’s express written permission, (ii) interfere or attempt to interfere with the proper working of our Website or any activities conducted on the Website, or (iii) bypass any measures Spaceship may use to prevent or restrict access to the Spaceship Website or the Services.\\n\\n7.3. Client Property\\n\\nAll materials provided by you under any shall be deemed client property (the “Client Property”) for purposes of the Agreement. You hereby grant to Spaceship a non-exclusive license to the Client Property solely as needed to provide the Services.\\n\\n**8. Confidential Information**\\n\\n8.1. Definition\\n\\nEach party (the “Recipient”) acknowledges that it may receive Confidential Information as defined herein. For purposes of these Terms of Service and subject to the exclusions set forth below, Confidential Information means any information provided by the other party (the “Discloser”) that is marked, labelled or otherwise designated as confidential or proprietary, or that Recipient knew, or should have known, was confidential due to the circumstances surrounding the disclosure.\\n\\n8.2. Exclusion\\n\\nInformation that is subject to one of the exclusions below SHALL NOT be 
69Confidential Information. The exclusions including but not limited to the following: (a) Non-transactional Confidential Information (as defined below), (b) information publicly known at the time of disclosure, (c) information received by Recipient without restriction from a third party, (d) information published or otherwise made known to the public by Discloser, (e) information that was generated independently without reference to the Discloser’s Confidential Information, or (f) information that is required to be disclosed under a court order or pursuant to any applicable governmental rule, regulation or statute, provided that Recipient provide Discloser with prior written notice of such disclosure, (as permitted by law) and the timing for response set forth in the request.\\n\\n8.3. Non-transactional Confidential Information\\n\\nOther than transaction information absolutely required for Spaceship to provide, or for you to use the Services, Spaceship does not require nor desire any of your proprietary information (the “Non-transactional Confidential Information”). You agree not to provide Spaceship with any Non-transactional Confidential Information, including, but not limited to, prototypes of new products, without Spaceship’s express prior written consent. In the event that you send such Non-transactional Confidential Information to Spaceship without Spaceship’s prior written consent, then Spaceship shall not be obligated to treat such information as Confidential Information.\\n\\n8.4. Standard of Care\\n\\nRecipient shall not use the Confidential Information for any purpose other than as required by these Terms of Service. Recipient shall not disclose the Confidential Information to any third party, other than as required to perform the Services and/or require by law or Court Order. Recipient shall use at least the same standard of care with the Discloser’s Confidential Information as it does with its own Confidential Information, but in no event with less than reasonable care. Each party acknowledges that breach of this provision would result in irreparable harm to the other party, for which money damages would be an insufficient remedy, and therefore that the other party will be entitled to seek injunctive relief to enforce the provisions of this Section.\\n\\n8.5. Return or Destruction\\n\\nOther than transactional information that is retained in the ordinary course of Spaceship’s business or under the requirement by Courier or by laws and Court Order, each party shall either promptly return all Confidential Information, or confirm that such Confidential Information has been destroyed promptly after receipt of written request from the other party.\\n\\n8.6. Aggregate Use\\n\\nSubject to the Terms of Service herein, you hereby acknowledge, agree and fully accept that Spaceship may compile aggregate results from all of, or a selection of your use of the Services, provided that Spaceship shall not disclose any information that would individually identify you (the “Aggregate Information”). Such Aggregate Information shall be deemed to be Spaceship’s Confidential Information and belongs to Spaceship. You also hereby agree that Spaceship may review and use your individual use of the Services in order to provide Services to you, to evaluate Spaceship’s provision of the Services, and to improve Spaceship’s Services offerings.\\n\\n8.7. Privacy Policy\\n\\nSpaceship believes in protecting your privacy. Any information you provide to us or input on the Website as set out above will be used in accordance with our Privacy Policy found in this page (https://www.spaceshipapp.com/zh-hk/privacy-policy). We do not sell, rent, or otherwise disclose your Confidential Information to a third party, without your consent or as permitted by the Privacy Policy.\\n\\n**9. Indemnification**\\n\\n9.1. You agree to fully indemnify and to hold harmless Spaceship, our officers, directors, employees and agents from and against any and all claims, liabilities, damages, losses or expenses, including but not limited to legal costs and disbursements due to or arising out of your use of the Services and/or your violation of the Terms of Service. Upon requesting for our Service, you agree to fully indemnify and hold harmless Spaceship from any and all claims for transportation, storage, handling and other charges relating to the goods in respect of the Shipment, including undercharges, rail demurrage, truck/intermodal detention and other charges of any nature, even though Spaceship and/or the Courier had accepted such order.\\n\\n**10. Disclaimers**\\n\\
69n10.1. As Is Spaceship endeavors to provide the Services in accordance with these Terms of Service. Users acknowledge that the Services and the Website are provided on an “as is” and “as available” basis. You are fully aware that Spaceship is providing the platform for you to select the Courier Service and Spaceship expressly disclaim all warranties of any kind, whether express or implied, including, but not limited to, the implied warranties of merchantability, fitness for a particular purpose and non-infringement for the services, the Website and any services provided by the Courier. The use of the Services, Website, or third party services shall be at your own risk. Also, Shipping Fees Quoted in the Website are liable to change at any time, but changes will not affect bookings already accepted. Despite our best efforts, some of the services listed on the Website may be incorrectly priced or subject to revise. WE EXPRESSLY RESERVES THE RIGHT TO CORRECT ANY SHIPPING FEE ERRORS ON THE WEBSITE FROM TIME TO TIME. Spaceship is under no obligation to provide courier services to you at an incorrect (lower) price, even after you have been sent confirmation of your booking.\\n\\n10.2. No Continuous Access\\n\\nSpaceship does not guarantee continuous, uninterrupted or secure access to the Services. Operation of the Services may be interfered with by numerous factors outside of our control. Spaceship will make reasonable efforts to process requests for receiving or shipping merchandise in a timely manner but Spaceship makes no representations or warranties regarding the amount of time needed to complete processing because our Services are dependent upon many factors outside of our control, such as delays caused by the Courier and/or third parties. Spaceship is not liable for any direct, indirect, incidental damage, loss of profit, goodwill, use, or data resulting from our inability to provide the Service. We reserve the sole right to discontinue the Website and our Services, including any of the Website’s features, at any time with or without notice to you.\\n\\n10.3. Others\\n\\nYou understand that Spaceship does not inspect your goods nor does Spaceship take any responsibility for the business decisions that you make and implement through the Services. You acknowledge that Spaceship is not the merchant of the shipping item, nor the importer of the shipping item, and nor the owner of any product shipped by you through Spaceship.\\n\\n**11. Limitation of Liability**\\n\\n11.1. Third-Party Liability\\n\\nBy accepting the Terms of Service, you acknowledge, agree and fully accept that we do not assume any liability whatsoever for any acts, errors, or omissions (including, without limitation, any negligence or willful misconduct) of any Courier with whom you or any of your affiliates may contract, regardless of the purpose.\\n\\n11.2. Waiver of Consequential Damages and Limitation of Liability\\n\\nIn no event shall Spaceship be liable for any direct, indirect, incidental, special or consequential damages, or damages for loss or damage of Shipments, loss of profits, revenue, data or use, incurred by you or any third party, whether in an action in contract or tort, arising from your access to, or use of, the Website, any content, or any third party websites and content. Other than as set forth below, in no event shall Spaceship’s liability under this Term of Service exceed the monies paid or payable by you to Spaceship for the applicable services excluding the actual shipping fees charged by the Courier or other third party fees (the “damages cap”). In the event of an unauthorized transaction by a Spaceship employee or agent, Spaceship is only liable for the damages cap. Spaceship must be notified within five (5) days after any unauthorized transaction otherwise any complaint regarding the unauthorized transaction will not be entertained by Spaceship.\\n\\n11.3. Declaration and Accurate Information\\n\\nYou are responsible to provide complete and accurate information in respect of the Shipment, including but not limited to the item category, dimension, weight and item value of the Shipment and the information required from time to time. You shall be solely responsible for any error, damage, expense or consequence resulting from wrong or incomplete information provided to us. You shall further fully indemnify Spaceship for and hold Spaceship harmless from any loss or expense resulting as a consequence of the wrong information provided by you. Space
69ship shall not be responsible for losses or damages in the event that any item contained in the Shipment is wrongfully declared. Moreover, Spaceship is in no way responsible for any damages, losses due to local and/or overseas custom practice. Spaceship shall not be liable for the accuracy and truthfulness of the information provided by you.\\n\\n11.4. Customs\\n\\nSpaceship shall not be liable for any loss, delay, or damage of items shipped, while in the hands of a local and/or overseas custom. In addition, Spaceship shall not be held responsible in the event that the local and/or overseas custom confiscates, holds, or denies release of the Shipment to the receiver.\\n\\n11.5. Service provided by Courier\\n\\nSpaceship is a technology platform that connect you and the Courier for the Shipment services. In no circumstances that Spaceship will be liable for any Services provided by any Courier. Spaceship is not liable for any damage, destruction, or loss of Shipment, late delivery, and issues with the tracking, b
69y the Courier. Spaceship is not liable for any acts, errors, or omissions (including, without limitation, any negligence or willful misconduct) of the Courier (including, without limitation, any delay, wrong, or missed pickup by the Courier). Also if you buy a shipping label from a Courier that does not provide any pickup service, you agree to be solely responsible to deliver the Shipment to the Spaceship’s designated drop-off point. Spaceship is not liable for the delivery time information shown on the Website. Spaceship is not responsible for any delayed delivery caused by the Courier. Further to the above, Spaceship may connect warehouse service providers with potential clients. You acknowledge, agree and fully accept that we do not assume any liability whatsoever for acts, errors, or omissions (including, without limitation, any negligence or willful misconduct) of any third-party service providers with whom you or any of your affiliates may contract, regardless of the purpose.\\n\\n11.6. Other\\n\\nSpaceship is not liable for any fees, expenses, resulting as a consequence of any change of information from your side (for example change of address, order cancellation, or order call-back), after a Shipment has been confirmed by the Courier and paid by you to Spaceship. Spaceship is not liable for any delay in the generation of shipping documents.\\n\\n**12. Insurance**\\n\\nYou are advised to purchase an insurance coverage for your Shipments.\\n\\n**13. Termination**\\n\\n13.1. You have the right to terminate your account at any time by sending a cancellation request to Spaceship contact as stipulated in the Website.\\n\\n13.2 Spaceship may terminate your account and these Terms of Service at any time immediately without any prior notice to the administrative email address associated with your account. Also, Spaceship reserves the right to modify or discontinue, temporarily or permanently, the Services (or any part thereof). Except as provided above, upon any termination of your account, Spaceship may store all of your Content on the Services (if any), or it may be permanently deleted by Spaceship, in its sole discretion.\\n\\n**14. Disputes**\\n\\nPlease note, while disagreements sometimes arise, Spaceship wants to address any complaint with the Services in a proactive manner. Please log a support case for resolution, you can send an email to Spaceship. If you feel an escalation is merited, please email Spaceship regarding your unresolved case and your concern. For purposes of clarity, this does not waive the notice requirement set in this Terms of Service.\\n\\n**15. Governing Law and Venue**\\n\\nThese Terms of Service, and any dispute relating to these Terms of Service, shall be governed by and construed in accordance with the laws of HKSAR without regard to the choice or conflicts of law principles of any jurisdiction. Each party submits to the exclusive jurisdiction of the HKSAR Court in relation to any disputes or claims arising out of or in connection with these Terms of Service.\\n\\n**16. General Provisions**\\n\\n16.1. Severability\\n\\nIf any part or provision of these Terms of Service is or becomes illegal, unenforceable, or invalid under any enactment or rule of law or by any court in any jurisdiction, that part or provision is deemed to be modified to the extent required to remedy the illegality, unenforceability or invalidity. If a modification is not possible, the part or provision must be treated for all purposes as severed from these Terms. The remainder of these Terms of Service will remain in full force and effect and continue to be binding and enforceable on you.\\n\\n16.2. No Waiver Failure or delay of Spaceship to exercise any right or power under these Terms of Service shall not operate as a waiver thereof, nor shall any single or partial exercise of a right or power preclude any other future exercise thereof.\\n\\n16.3. Notices to You\\n\\nYou agree that Spaceship may provide notice to you by posting it on our Website, emailing it to the email address listed in your account, showing a notification when you login to your account, or mailing it to the street address listed in your account. Such notice shall be considered to be received, read and understood by you within 24 hours of the time it is posted to our Website or emailed to the email address listed in your account. If the notice is sent by mail, we will c
69onsider it to have been read and understood by you within 24 hours of the time it is delivered. Spaceship reserves the right to terminate your account if you withdraw your consent to receive electronic communications.\\n\\n16.4. Assignment\\n\\nYou shall not transfer or assign any rights or obligations you have under this Agreement without Spaceship’s prior written consent and any attempted assignment without that consent will be void. Spaceship reserves the right to transfer or assign this Terms of Service or any right or obligation under this Terms of Service at any time. Subject to the foregoing provisions of this Section, these Terms of Service shall be binding on and inure to the benefit of the parties’ successors and assigns.\\n\\n16.5. Legal Costs\\n\\nSpaceship shall have the right to collect from you its reasonable costs and necessary disbursements and legal costs incurred in enforcing these Terms of Service on indemnity basis.\\n\\n16.6. Force Majeure\\n\\nSpaceship shall not be liable for any delays or inability to perform the Services caused by forces beyond Spaceship’s control including, without limitation, acts of God or acts of third party Service providers including but not limited to carriers and postage systems. When goods are ordered out, in the case of acts of God, war, terrorism, public enemies, seizure under legal process, strikes, lockouts, riots and civil commotions, or any reason beyond Spaceship’s control, or because of loss or destruction of goods for which Spaceship is not liable, or because of any other excuse provided by law, Spaceship shall not be liable for failure to carry out such instructions.\\n\\n16.7 Third Party’s claim\\n\\nAny person or entity who is not a party to this Terms of Service shall have no rights under the Contracts (Rights of Third Parties) Ordinance (Cap.623) of the Laws of Hong Kong to enforce any terms of this Agreement.\\n\\n17.\\nYou declare that (a) Consignments of air cargo are prepared in secure premises by reliable staff members. (b) Consignments of air cargo are protected against tampering during shipment preparation, storage and transportation for which the company is responsible. (c) You accept that the packaging and the contents of any consignment of air cargo may be examined for security reasons. (d) Consignments of air cargo do not contain any explosive or incendiary device. (e) You accept unannounced or announced inspections by CAD or its agents and agree to provide any documents directly or through an independent validator to CAD for the purpose of monitoring the compliance with security requirements stipulated in the Requirement Document for Consignor, the Handling Procedures for Regulated Agent Regime and any other directions given from time to time by CAD. (f) You will ensure the continual compliance with the security requirements stipulated in the Requirement Document for Consignor and the requirements are communicated to all staff members with access to consignment of air cargo and/or related shipping documents. (g) You will provide the regulated agent who recognizes your status of known consignor with the relevant details as soon as reasonably possible if: (i) the person responsible for application and supervision of the implementation of cargo security has changed; (ii) changes to premises or procedures are likely to significantly impact on security; (iii) the company ceases trading and no longer handles air cargo; or (iv) the company no longer implements the required security controls stipulated in the Requirement Document for Consignor*\\nSpaceship needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at anytime. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, check out our <ppLink>Privacy Policy</ppLink>",title:"Terms and condition"},validations:{agreeToTermsAndConditionsRequired:"To continue, you must agree to the terms and conditions."},verificationTime:"We will verify within 1 business day and notify you by email."},result:{close:"Close",description:"To ensure smooth and secure shipments, we just need to verify a few company details. This quick step helps us make sure your shipments are covered under your company’s liability, protecting everyone involved. Once you’re verified, you’ll be all set to enjoy seamless shipping with full peace of mind.",hint:"Thanks your submission, we will reach out within 1 business day."},title:"Company Verification"},setupReminder:{renewExpiredProfileTitle:"Company Registration Expired - Please Re-Verify",renewExpiringSoonProfileTitle:"Company Registration Expiring Soon - Please Re-Verify",setupProfileTitle:"Complete Verification to Ship"},memberOwnerOnly:{title:"Company verification required",description:"Please ask your organization owner to complete company verification before shipping.",configError:{title:"Unable to check company verification",description:"We couldn't check whether your organization can buy shipping labels. Please try again.",retry:"Retry"}}},r4e={actionRequiredShipments:"Actions Required - Shipments | Spaceship Pro",actionRequiredShipmentsFailedCreations:"Failed Creation | Spaceship Pro",actionRequiredShipmentsFeeAdjustments:"Fee Adjustments | Spaceship Pro",billingCreditNotes:"Credit Notes - Billing | Spaceship Pro",billingInvoices:"Invoices - Billing | Spaceship Pro",billingReceipts:"Receipts - Billing | Spaceship Pro",billingTransactions:"My Wallet - Billing | Spaceship Pro",bulkBuyShipments:"Bulk Buy Shipments | Spaceship Pro",bulkCancelShipments:"Cancelled - Shipments | Spaceship Pro",bulkValidateAddresses:"Bulk Address Validation | Spaceship Pro",bulkSubmitFulfillmentOrders:"Bulk Submit Unfulfilled Orders | Spaceship Pro",allShipments:"All Shipments | Spaceship Pro",cancelledShipments:"Cancelled - Shipments | Spaceship Pro",closedDraftShipments:"Closed Drafts - Shipments | Spaceship Pro",createFulfillmentOrder:"New Fulfillment Order",createProduct:"New Product | Spaceship Pro",createShipment:"New Shipment | Spaceship Pro",createWarehouseReceivingOrder:"New Receiving Order | Spaceship Pro",createReturnOrder:"Create Return Order | Spaceship Pro",dashboard:"Home | Spaceship Pro",downloadAndPrint:"Download & Print - Shipments | Spaceship Pro",draftShipments:"Drafts - Shipments | Spaceship Pro",editProduct:"Edit Product | Spaceship Pro",editShipment:"Edit Shipment #{{ssid}} | Spaceship Pro",editStoreIntegration:"Store Shipment Setup | Spaceship Pro",editWarehouseReceivingOrder:"Edit Receiving Order | Spaceship Pro",forgetPassword:"Forget Password | Spaceship Pro",importFulfillmentOrders:"Import Fulfillment Orders | Spaceship Pro",importOrders:"Import Shipments | Spaceship Pro",inventory:"Inventory - Inventory | Spaceship Pro",labelCreatedShipments:"Labels Created | Spaceship Pro",login:"Log In | Spaceship Pro",notFound:"Page Not Found | Spaceship Pro",order:{edit:"Edit Unfulfilled Order #{{ssid}} | Spaceship Pro",view:"Unfulfilled Order #{{ssid}} | Spaceship Pro"},orders:{all:"All Orders | Spaceship Pro",actionRequired:"Actions Required - Unfulfilled Orders | Spaceship Pro",archived:"Archived - Unfulfilled Orders | Spaceship Pro",new:"New Fulfillment Order | Spaceship Pro",unfulfilled:"Unfulfilled - Unfulfilled Orders | Spaceship Pro"},paymentMethods:"Payment Methods - Billing | Spaceship Pro",paymentSettings:"Payment Settings",pendingChargesArchived:"Archived Pending Charges",pendingChargesOutstanding:"Outstanding Pending Charges - Billing | Spaceship Pro",pen
69dingChargesUpcoming:"Upcoming Pending Charges - Billing | Spaceship Pro",pickupsHistory:"History - Scheduled Pickups | Spaceship Pro",pickupsUpcoming:"Upcoming - Scheduled Pickups | Spaceship Pro",plans:"Pricing Plans",products:"Products | Spaceship Pro",profile:"My Profile | Spaceship Pro",quickQuote:"Get a Quote | Spaceship Pro",resetPassword:"Reset Password | Spaceship Pro",schedulePickup:"New Pickup | Spaceship Pro",schedulePickups:"Schedule New Pickups | Spaceship Pro",settings:{apiAndWebhook:"API & Webhooks"},settingsAccount:"Taxes & Duties - Settings | Spaceship Pro",settingsAddresses:"Addresses - Settings | Spaceship Pro",settingsApiKeys:"API Keys - Settings | Spaceship Pro",settingsBoxes:"Packaging - Settings | Spaceship Pro",settingsBranding:"Branding - Settings | Spaceship Pro",settingsCarriers:"Carriers - Settings | Spaceship Pro",settingsLabels:"Labels & Packing Slips - Settings | Spaceship Pro",settingsOrganization:"Organization - Settings | Spaceship Pro",settingsPrintingPreferences:"Printing Preferences - Settings | Spaceship Pro",settingsNotificationCenter:"Notification Center - Settings | Spaceship Pro",settingsShippingRules:"Shipping Automation - Settings | Spaceship Pro",settingsTrackingPage:"Tracking Page - Settings | Spaceship Pro",settingsUsers:"Users - Settings | Spaceship Pro",shipmentTracking:"Track Shipment #{{ssid}}",signup:"Sign Up | Spaceship Pro",spaceshipAI:"Spaceship AI | Spaceship Pro",storeIntegrations:"Store Integrations | Spaceship Pro",trackAndTrace:"Track & Trace - Shipments | Spaceship Pro",viewPickup:"Pickup #{{ssid}} | Spaceship Pro",viewProduct:"View Product | Spaceship Pro",viewShipment:"Shipment #{{ssid}} | Spaceship Pro",viewWarehouseReceivingOrder:"View Receiving Order | Spaceship Pro",wallet:"My Wallet | Spaceship Pro",warehouseReceivingOrder:"Receiving Order - Inventory | Spaceship Pro",returnOrders:"Return Orders | Spaceship Pro",viewReturnOrder:"Return Order #{{ssid}} | Spaceship Pro",welcome:"Welcome to Spaceship Pro"},n4e={actionRequiredOrders:{create:"New Order",emptyState:{desc:"Action-required orders will be shown here",notFound:{title:"No Orders Found"},title:"No Orders Found"},title:"Actions Required"},archivedOrders:{create:"New Fulfillment Order",emptyState:{desc:"Closed orders will be shown here",notFound:{title:"No Orders Found"},title:"No Orders Found"}},billing:{modal:{exportTransaction:{button:{close:"I Understand",export:"Export",trigger:"Export Transactions"},section:{completed:{description:"You can now download your transactions. A notification email will be sent to your email shortly as well.",title:"Your transaction(s) is ready for download."},exporting:{description:"We are preparing the transactions export you requested, it may take a while. <br/><br/>Stay in this modal to download the file directly when it's ready. Alternatively, you can close the modal, and we will email you to notify you when it's ready.",title:"{{itemCount}} Transaction(s) Exporting..."},selection:{description:"Please select a date range for exporting the transaction records.<br/> Maximum date range for each export is 90 days."}},title:"Export Transactions"}}},bulkBuyShipment:{table:{column:{actionRequiredShipmentCost:{label:"Subtotal/<br />Pre-paid"},actionRequiredShipmentPriceDifference:{label:"Difference",refund:"Refund"},carrier:{label:"Carrier Service"},receiver:{label:"Receiver"},referenceId:{label:"Spaceship ID"},sender:{label:"Sender"},subTotal:{label:"Rates"}}},tooltip:{billedByCarrier:"Billed by Carrier, {{ carrierService }}"}},bulkBuyShipments:{backToActionRequired:"Back to Actions Required",backToAllShipments:"Back to All Shipments",backToDrafts:"Back to Drafts",buyingBanner:{description:"Please do not refresh the page and wait while we are processing your payment. This can take a few minutes.",title:"Payment is now being processed"},buyingFailed:{description:"The failed shipments will remain in Drafts page for you to handle later.",title:"{{count}} Failed Payment(s)"},failedInsuranceCoverage:{description:"The failed shipments will remain in Drafts for you to handle later.",title:"{{count}} Shipment(s) Failed To Buy Spaceship Care"},failedLabelCreation:{description:"The failed shipments will be moved to the Actions Required page for you to handle later.",title:"{{count}} Failed Label Creation"},insuranceNotSupported:{description:"Spaceship Care is not available for these shipment(s). Don’t worry, you may still proceed to buy them without Spaceship Care.",title:"{{count}} Shipment(s) Not Eligible for Spaceship Care"},paymentDetails:{banner:{sfDoorToPickupDiscountedPrice:{desc:"You provided the address and store code of a SF Express Self-Operated Network Point. You can now enjoy a discounted price on SF Express services. Your discounted price may be removed if we find out that the address or code provided is incorrect.",title:"SF Self-Operated Network Point Discounted Price"}},billedByCarrier:"Billed by Carrier",buyShipment:"Buy Shipment",estimatedBillByCarrier:"Bill by Carrier",estimatedBillByCarrierRemark:"This is an estimated shipping cost quoted from your own carrier account (if available). ",estimatedDirectPaymentCharge:"Pay at {{ carrierName }}",estimatedThirdPartyCharge:"Pay at {{ thirdPartyName }}",extraPayment:"Pay to Spaceship",insufficientAmount:{description:"Top up and proceed to buy shipment.",title:"Insufficient amount"}
69,labelsCreated:"Labels Created",noDefaultCardPaymentMethod:{description:"Add a payment method to proceed buying shipment.",title:"Credit Card Required"},paidToSpaceship:"Paid to Spaceship",payToSpaceship:"Pay to Spaceship",priceDiff:"Total Price Difference",proceedPayment:"Proceed Payment",readyToBuyShipments:"Ready-To-Buy Shipment(s)",refund:"Refund by Spaceship",remark:"If the actual volume or weight is different from what is provided or there are additional charges in transit, an adjustment fee arrangement will be made accordingly.",shipments:"Shipments",title:"Payment Details",topupAmount:"Top-up Amount",totalCost:"Latest Rates",updatedAt:"Updated: {{updatedAt}}"},quotingBanner:{description:"Please do not close/refresh this page until it is fully loaded. This may take a few minutes.",title:"Retrieving the latest price"},quotingFailed:{description:"The carrier is no longer available so we are unable to retrieve the latest quote of these shipment(s). Don’t worry, you may still proceed to buy the rest of the shipments",title:"{{count}} Shipment(s) Quotation Failed"},result:{failedShipments:{failedInsuranceCoverage:{description:"Please go to <strong>Drafts</strong> for further handling.",title:"{{count}} Shipment(s) Failed To Buy Spaceship Care"},failedLabelCreation:{description:"Please go to <strong>Actions Required</strong> page for further handling.",title:"{{count}} Failed Label Creation"},failedPayment:{description:"Please go to <strong>Drafts</strong> page for further handling.",title:"{{count}} Failed Payment"},title:"Failed Shipments"},labelCreated:{description:"Payment successful. All shipping labels and CI are ready to download below.",title:"{{successCount}}/{{totalCount}} Labels Created"},pickupInstruction:{downloadShippingDocuments:{description:"Print and attach the shipping label and CI and to the shipment.",title:"Download Shipping Documents(s)"},goToLabelsCreated:{title:"Go to <labelsCreatedLink>Labels Created</labelsCreatedLink> to schedule the Pickup"},title:"Follow the instructions below to schedule a pickup:"}},table:{billByCarrier:"Bill by Carrier",billByCarrierRemark:"(Your Carrier Account)",title:"{{count}} Shipment(s)"},title:"Buy Shipment",topupErrorBanner:{title:"Top-up Failed"},unknownError:"Something Went Wrong..."},bulkCancelShipment:{table:{column:{carrier:{label:"Carrier Service"},prepaidAmount:{label:"Pre-paid Amount"},receiver:{label:"Receiver"},referenceId:{label:"Spaceship ID"},status:{label:"Status"}}}},bulkValidateAddresses:{confirmModal:{allIncomplete:"All {{count}} addresses you selected are incomplete. Please complete the addresses before validation.",partialIncomplete:"{{incompleteCount}} out of the {{totalCount}} addresses you selected are incomplete. We will only validate the {{completeCount}} complete ones. Continue?",title:"Address Validation"},loading:{description:"AI is processing the address info, this might take a few seconds...",title:"Ask AI for Address Accuracy..."},result:{backToDrafts:"Back To Drafts",description:"Validation for {{count}} addresses is complete. Please refine the addresses as needed.",invalid:"Invalid",invalidDescription:"Address not found in database.",orderReference:"Order Reference",plural:"addresses",review:"Review",reviewDescription:"Address is Vacant or NoStat.",singular:"address",title:"Validation Complete",unverified:"Unverified",unverifiedDescription:"Address validation not performed.",valid:"Valid",validDescription:"Address verified and deliverable.",validationStatus:"Validation Status",warning:"Warning",warningDescription:"Address has issues."},title:"Bulk Address Validation"},bulkCancelShipments:{backToActionRequired:"Back to Actions Required",cancellingBanner:{desc:"Once confirmed, we will refund the paid shipment cost immediately. If you want to rebuy the same shipments, please start by creating the shipment draft.",title:"Cancel {{ count }} Shipment(s)"},refundDetails:{button:{title:"Confirm Cancel"},cancelShipments:"Cancel Shipment(s)",title:"Refund Details",totalRefund:"Total Refund",totalRefunded:"Total Refunded",transactionRecordDetail
69s:"You can find all the transaction records on <strong>My Wallet</strong> page."},result:{ctaButton:{text:"Go to Actions Required"},desc:"Shipments Cancelled. The total charged shipment cost of {{ currency }} {{ amount }} will be refunded automatically to your wallet.",failedShipments:{banner:{desc:"Please go to <strong>Actions Required</strong> page for further handling.",title:"{{ count }} Failed Cancel"},title:"Failed Shipments"},noCancelledShipments:"Failed to cancel the selected shipments. Please contact us for support.",title:"{{ successCount }}/{{ totalCount }} Shipments Cancelled"},table:{title:"{{count}} Shipment(s)"},title:"Cancel Shipments"},bulkSubmitOrder:{card:{title:"{{count}} Fulfillment Order(s)"},submit:{button:"Submit to Warehouse"},submitFailed:{desc:"For the failed orders, please view the reasons of failure below, edit corresponding details at Unfulfilled Orders (if any) and resubmit.",goToList:"Go to Unfulfilled Orders",title:"{{count}}/{{total}} Failed Submission(s)"},submitSuccess:{desc:"Fulfillment Orders have been successfully submitted to the warehouse.",goToList:"Go to Unfulfilled Orders",title:"{{count}} Fulfillment Order Submitted"},submitting:{desc:"Please do not close/refresh this page until it is fully loaded. This may take a few minutes.",title:"Submitting to Warehouse..."}},bulkSubmitOrders:{backToOrders:"Back to Unfulfilled Orders",table:{column:{carrier:{label:"Carrier Service"},receiver:{label:"Receiver"},referenceId:{label:"Spaceship ID"}}},title:"Submit Fulfillment Orders"},connectShopifyStore:{connectShopifyStoreFailed:{back:"Back",description1:"Sorry, an error has occurred. We will be up and running shortly.",description2:"Try to refresh this page or email us via <a>[email protected]</a> for any urgent matters.",title:"Something Went Wrong..."},description:"We are now integrating with your Shopify store.<br/><b>Please do not close/refresh this page until it is fully loaded.</b><br/>This may take a few minutes.",title:"Connecting to Shopify",titleWithSyncOrder:"Syncing Orders...",titleWithSyncProductAndOrder:"Syncing Orders & Products..."},createFulfillmentOrder:{addressInformation:{sections:{warehouse:{selection:{label:"Warehouse Address",placeholder:"Select Address"},title:"Sender Address"}}},promptBlocker:{description:"Are you sure you want to leave this page? Please note that this order will not be saved until you have completed step 1 and click Next.",leave:"Leave This Page",stay:"Stay on Page",title:"Leave Create/Edit Fulfillment Order?"}},createReturnOrder:{promptBlocker:{description:"Are you sure you want to leave this page? Please note that this return order will not be saved until you have completed the form and submitted it.",leave:"Leave This Page",stay:"Stay on Page",title:"Leave Create Return Order?"}},dashboard:{fulfillmentPerfTitle:"Fulfillment Performance",fulfillmentSubtitle:"Last Cutoff Time: {{datetime}}",fulfillmentTitle:"Fulfillment Status",graph:{dateRange:{last7Days:"Last 7 Days",last30Days:"Last 30 Days",thisMonth:"This Month"},amountBilled:{category:"Amount Billed",countTitle:"Amount Billed ({{dateText}})"},labelsCreated:{category:"Labels Created",countTitle:"Labels Created ({{dateText}})"},shipmentDetails:{category:"Shipment Details",countByCarrierServices:"Shipments by Carrier Services",countByDelivered:"Shipments Delivered / Not Delivered per Day",countByDeliveryStatus:"Shipments by Delivery Statuses",countByRoute:"Shipments by Routes",delivered:"Delivered",notDelivered:"Not Delivered",others:"Others"},total:"Total"},inventoryActionRequiredTitle:"Inventory Action Required",orderActionRequiredTitle:"Order Action Required",orderCreateDateRange:"Order Create Date",orderFulfillmentTitle:"Order Fulfillment Status ",shipmentPerf:{carrierService:"Shipments by Carrier Service",carrierServiceTooltips:"Carrier services assigned to fulfillment orders",delivered:"Delivered",deliveryStatus:"Delivery Status",deliveryStatusCount:"8310 Shipments",deliveryStatusTooltips:"Fulfillment order shipments grouped by delivery statuses",deliveryStatusTrend:"Delivery Status Trend",deliveryStatusTrendTooltips:"Historical Delivery Status",estimatedShippingCost:"Estimated Shipping Cost",estimatedShippingCostTooltips:"Estimated Shipping Cost for fulfilled orders",notDelivered:"Not Delivered",routes:"Shipments by Routes",routesTooltips:"Shipping routes assigned to fulfillment orders",title:"Shipment Performance"},stat:{actionRequired:"Actions Required",created:"CREATED",dispatched:"DISPATCHED",exception:"Exception",fulfilled:"Fulfilled",fulfillmentActionRequired:"ACTION REQUIRED",fulfillmentActionRequiredTooltip:"There’s an issue with the fulfillment order that needs to be resolved before it can be submitted to the warehouse.",fulfillmentSLA:"Fulfillment SLA",inTransit:"In Transit",insufficientStock:"INSUFFICIENT STOCK",labelCreated:"Labels Ready",labelFailed:"SHIPMENT FAILED",lateCompleteWRO:"LATE RECEIVE",lowStockSKU:"LOW STOCK SKU",orderFulfillmentCount:"8201 Orders Fufilled",orderOtherFailure:"OTHERS",orderToDispatched:"Order to Dispatched Time",packed:"PACKED",pendingScheduling:"Pickup Not Scheduled (Shipments)",shipmentDrafts:"Shipment Drafts",stockOutSKU:"STOCK OUT SKU",submitted:"SUBMITTED",unfulfilled:"Unfulfilled",upcomingPickup:"Upcoming Pickups"},subtitle:"Last Updated:",title:"Welcome back!",tooltip:{actionRequired:"No. of purchased 
69shipments rejected by the selected carrier. Please update corresponding shipment info at Actions Required and resubmit to the carrier.",amountBilledByDay:"Amount billed by Spaceship in the last 30 days (including today), regardless of whether wallet credits are deducted or not.",amountBilledByMonth:"Amount billed by Spaceship in the last 6 months (including this month), regardless of whether wallet credits are deducted or not.",carrierServiceCount:"All shipments bought and grouped by selected carrier services, ordering from the most to the least common ones.",created:"Order created. Pending your approval before submitting to warehouse for fulfillment.",deliveryStatusCount:"All shipments bought and grouped by delivery statuses within the last 30 days (including today).",dispatched:"Fulfillment orders successfully dispatched",exception:"No. of shipments with unexpected events taking place such as severe weather. Please follow up with the corresponding carriers for successful delivery.",fulfillmentSLA:"The number of days required for the warehouse to receive and complete the dispatch of daily orders.",inTransit:"No. of shipments being picked up and on the way to their destination.",insufficientStock:"Order fulfillment delayed due to product unavailability - Please restock and resubmit to warehouse for shipment.",isDeliveredCount:"No. of shipments bought within the last 30 days (including today). Each bar represents the shipments bought on the date and grouped by their latest delivery status.",labelCreated:"No. of shipments with labels ready for being downloaded & printed. Please go to Download & Print to get the corresponding labels.",labelCreatedCountByDay:"No. of labels created in the last 30 days (including today).",labelCreatedCountByMonth:"No. of labels created in the last 6 months (including this month).",labelFailed:"Fulfillment delayed due to shipping label issues - Please correct and resubmit to warehouse for fulfillment.",lateCompleteWRO:"Receive order processed later than scheduled - Please contact customer service for follow-up.",lowStockSKU:"Inventory below safety stock level - Immediate replenishment recommended to prevent stockouts and sales impact.",orderFulfillment:"The time between when an order is created and dispatched, used to measure the seller's promised fulfillment time.",orderOtherFailure:"Other issues preventing order dispatch",orderToDispatched:"Time between order created and dispatched, which for measure the promised fulfillment time for the seller.",packed:"Fulfillment orders successfully packed and pending for dispatch",pendingScheduling:"No. of shipments with labels created, but no pickup is scheduled yet.",routeCount:"All shipments bought are grouped by routes, ordering from the most to the least common ones.",shipmentDrafts:"No. of non-purchased shipment drafts, excluding those closed by connected Shopify stores.",stockOutSKU:"Product out of stock - Urgent replenishment required",submitted:"Fulfillment orders successfully submitted to warehouse for processing",upcomingPickup:"No. of upcoming pickups scheduled. Please ensure the shipments and corresponding docs are ready before the pickup time."}},draftShipments:{tab:{cancelled:"Closed",inProgress:"Drafting"}},editStoreIntegration:{backToStoreIntegration:"Back to Store Integrations",editShopifyStore:{orderSync:{shopifyOrderSyncRule:{title:"Order Sync Rules",description:"You can set specific rules to sync only Shopify orders that match your chosen routes and tags.",conditions:{title:"Conditions",description:"Select conditions that orders must meet to be synchronized.",route:{title:"Route",shipFrom:"Ship from",shipTo:"Ship to"},tags:{title:"Tags",description:{in:"Order contains any of these tags:",not_in:"Order contains 
69none of these tags:"}},addCondition:"Add Condition",editCondition:"Edit Condition",deleteCondition:"Delete Condition"},emptyState:{title:"All Shopify Orders Are Synced",description:"Currently, all your Shopify orders are synced by default. If needed, you can setconditions (by route and tag) to filter which orders get synced.",button:"Add Sync Conditions"},conditionModal:{selectCondition:"Select",condition:"Select Condition",addCondition:"Add Condition",updateCondition:"Update Condition",button:{add:"Add",update:"Update"},route:{senderCountries:"Sender Countries",receiverCountries:"Receiver Countries",senderCountriesPlaceholder:"Select sender countries",receiverCountriesPlaceholder:"Select receiver countries"},shopifyOrderTags:{label:"Shopify Order Tags",placeholder:"Search or create new tags",operator:{label:"Operator",placeholder:"Select operator"},options:{add:"<strong>Add</strong> {{tagName}}"}}},conditionOptions:{route:{label:"Route"},shopifyOrderTags:{label:"Shopify Order Tags"}},operators:{isAnyOf:{label:"is any of"},isNoneOf:{label:"is none of"}}},manualSync:{actions:{cancel:"Cancel Sync",retry:"Try Again",sync:"Sync Now"},concurrencyLimit:"Please wait till all orders from {{storeName}} are synced.",description:"You may now sync orders created <strong>before</strong> connecting this store to buy & handle shipments swiftly all at this place!",details:"Sync unfulfilled orders created in",error:"Encountered unknown errors when syncing orders. Please try to sync again later. If there are still errors after a few attempts, please contact us via Live Chat.",fields:{timeRange:{choices:{last1d:"Last 24 Hours",last30d:"Last 30 Days",last7d:"Last 7 Days",last90d:"Last 90 Days",thisYear:"This Year"},label:"Sync orders created in"}},lastSyncedAt:"Last Synced:",note:"Note: This syncing process cannot be interrupted until it's complete.",syncing:"Syncing Orders...",title:"Manual Sync of Past Unfulfilled Orders"},overrideExistingShipments:{accept:"I'm aware manual edits of shipment drafts are removed if corresponding orders are updated, and I agree to auto-sync them.",button:{disable:"Disable",enable:"Enable"},description:"Your shipment drafts can always reflect the <strong>latest</strong> Shopify order updates after this feature is enabled.",details:`<list>
70 <listItem>These drafts will always reflect the latest order updates</listItem>
71 <listItem>Any previous manual edits (if any) will be removed</listItem>
72</list>`,intro:"By enabling this feature, the following will apply to any shipment drafts with order updates afterward:",status:{disabled:"Disabled",enabled:"Enabled",title:"Auto-Sync Order Updates"},title:"Auto-Sync Order Updates to Existing Drafts",toast:{disabled:"Auto-Sync Order Updates Disabled",enabled:"Auto-Sync Order Updates Enabled"},warning:"Features like Shopify Integration Settings, Products, and Shipping Automation (if applicable) will <strong>auto-apply</strong> to these updated drafts. <strong>Please utilize them to reduce manual editing afterward.</strong>"}},productSync:{autoSyncInventory:{button:{disable:"Disable",enable:"Enable"},description:"After this feature is enabled, your product inventory quantities (<strong>Available, Damaged, Quality-control</strong>) can always reflect to Shopify inventory whenever the inventory is updated.",status:{disabled:"Disabled",enabled:"Enabled",title:"Auto-Sync Inventory"},title:"Auto-Sync Inventory",toast:{disabled:"Auto-Sync Inventory Disabled",enabled:"Auto-Sync Inventory Enabled"},warning:"<strong>Only products with SKU</strong> will be synced. Products without SKU information will not be synced."},autoSyncNewProducts:{button:{disable:"Disable",enable:"Enable"},description:"Your product list will auto-sync Shopify's new products after the feature is enabled.",status:{disabled:"Disabled",enabled:"Enabled",title:"Auto-Sync New Shopify Products"},title:"Auto-Sync New Shopify Products to Product List",toast:{disabled:"Auto-Sync New Shopify Products Disabled",enabled:"Auto-Sync New Shopify Products Enabled"},warning:"<strong>Only products with SKU</strong> will be synced. Products without SKU information will not be synced. For products with the SKU already existing in Spaceship Pro, they will be skipped as well, so your edited product information for Customs declaration will not be overwritten."}},shipmentDetails:{customsDeclaration:{description:"<div>Apply to all shipments from this store as default value for Customs declaration. </div><div>To edit particular shipment, go to Drafts > click Edit > Shipment Details (Step 2).</div>",fields:{shipmentPurpose:{label:"Shipment Purpose",placeholder:"Select ..."},taxHandling:{label:"Tax Term",placeholder:"Select ..."}},title:"Customs Declaration Defaults"},fulfilledStatusTrigger:{description:"You can decide when to send the order fulfillment status to Shopify.",fields:{labelCreated:{label:"Label is created"},never:{label:"Never"}
72,pickupScheduled:{label:"Pickup is Scheduled or Shipment is in-transit (whichever is the earlier)"},shipmentInTransit:{label:"Shipment is In-Transit"},updated:"Timing for sending fulfilled status and tracking no. to Shopify has been updated"},fulfillment:{note:"Note: This config only applies to self-managed orders."},title:"Update fulfillment status & tracking no. to Shopify"},itemDescription:{description:"<div>Apply to the shipment which does not select Country/Region of Manufacture.</div><div>To edit particular shipment, go to Drafts > find the corresponding shipment and click Edit > Shipment Details (Step 2).</div>",fields:{countryOfManufacture:{label:"Country/Region of Manufacture"}},title:"Default Item Description"},notifyCustomer:{description:"We can help you to send Shopify's shipment information notification to your customer once the shipment is fulfilled.",disabledNotes:"<warningText>Enable sending fulfilled status and tracking no. to Shopify</warningText> – To notify customer shipment status, please update the setting of order status & tracking no. to Shopify first",fields:{shouldNotNotifyCustomer:{label:"Not send shipment details to customer once the shipment is created"},shouldNotifyCustomer:{label:"Send shipment details to customer once the shipment is created"},updated:"Notify customer of shipment preference updated"},title:"Notify Customer of Shipment"},packageSettings:{description:"<div>Setup a default packaging dimensions and package weight that will auto apply to all draft shipments after synchronizing from this store. </div><div>If you want to edit particular draft shipment, please find in Drafts page accordingly. To edit saved packaging dimensions, please go to <a>Settings</a>.</div>",fields:{customDimensions:{label:"Custom Packaging Dimensions",placeholder:"Select a saved packaging or input custom dimensions below"},dimensions:{label:"Packaging Dimensions"},height:{label:"Height"},length:{label:"Length"},unitWeight:{label:"Package Weight"},width:{label:"Width"}},title:"Default Packaging Dimensions & Package Weight"},packagingAndItemSettings:{description:`<div>Default Packaging value will be auto-applied to all the shipment drafts that synchronize from this store.
73</div><div>Default fallback item values will be auto-applied to all the products that are synchronized from this store in case those values are missing.</div>
74
75<div>You are recommended to sync all your products to our platform so that when you have new shipment drafts that are synced from Shopify, we can automatically calculate the package weight based on the packaging weight and the item weight to get an accurate shipping quotation.</div>`,sections:{item:{fields:{countryOfManufacture:{hint:"Apply to new shipment drafts and products",label:"Fallback Country/Region of Manufacture"},hsCodeCategory:{hint:"Upon selecting a Category, the corresponding HS Code is auto-filled.",label:"Fallback Category/HS Code"},unitWeight:{label:"Fallback Weight"}},title:"Item"},package:{fields:{customDimensions:{label:"Custom Packaging Dimensions",placeholder:"Select a saved packaging or input custom dimensions below"},dimensions:{label:"Packaging Dimensions"},dimensionsAndPackagingWeight:{label:"Dimensions & Packaging Weight",labelInErrorMessage:"Dimensions and Packaging Weight"},height:{label:"Height"},length:{label:"Length"},packageWeight:{hint:"This fallback package weight value will only be applied to new shipment drafts synced from the Shopify Store when we cannot calculate the package weight (= Packaging weight + Items weight) for you. If you want the system to automatically calculate the package weight for you, please make sure all your products are synced to our platform and with the accurate weight information.",label:"Fallback Package Weight"},packagingWeight:{label:"Packaging Weight"},width:{label:"Width"}},title:"Packaging"}},title:"Packaging & Item "},orderPriceSource:{description:"Choose how product prices are determined for your shipments or fulfillment orders from this store.",fields:{productList:{label:"Use prices from Product List"}
75,storeOriginalPrice:{label:"Use original prices from store"},storeDiscountedPrice:{label:"Use discounted prices from store"},updated:"Order price source has been updated"},title:"Order Price Source"},budgetControl:{title:"Budget Control",description:"After this feature is enabled, orders will require manual approval if the estimated shipping quote exceeds the Shopify order total multiplied by the threshold percentage. You must approve and confirm the order before submitting it to the warehouse.",button:{disable:"Disable",enable:"Enable"},status:{disabled:"Disabled",enabled:"Enabled",title:"Budget Control"},toast:{disabled:"Budget Control Disabled",enabled:"Budget Control Enabled"},fields:{threshold:{label:"Threshold",value:"{{value}} of Shopify order total"}},editThresholdModal:{title:"Edit Threshold",label:"Threshold",description:"Orders will require manual approval if shipping cost exceeds this % of order total. This approval is a one-time check and will only be triggered during the initial order submission.",placeholder:"Enter percentage"}},shouldCancelFulfillmentOnShipmentCancellation:{button:{disable:"Disable",enable:"Enable"},description:"You can configure how cancelled shipments are handled on Shopify.",intro:"By enabling this feature, cancelling a shipment will automatically update the corresponding Shopify order to “Unfulfilled” or “Partially Fulfilled”. A new shipment draft will be created so you can fulfill the order again.",status:{disabled:"Disabled",enabled:"Enabled",title:"Mark order as Unfulfilled/Partially Fulfilled upon cancellation of shipment"},title:"Update fulfillment status for cancelled shipments",toast:{disabled:"Mark order as Unfulfilled/Partially Fulfilled upon cancellation of shipment disabled",enabled:"Mark order as Unfulfilled/Partially Fulfilled upon cancellation of shipment enabled"}}},shippingAddress:{receiverAddress:{description:"It applies to all new shipments from this store that receiver address is a residential address by default.",fields:{isNotResidential:{label:"Not treat all receiver addresses as residential"},isResidential:{label:"Treat all receiver addresses as residential"},updated:"Receiver Address preference updated"},title:"Default Receiver Address Type"},senderAddress:{addAddressButton:"Add New Address",banner:"The sender address of all shipments from this store will fallback from the Settings if you are not setting up here for your store.",description:"Select a fallback sender address for your Shopify shipments. To edit the address, go to <a>Settings</a>.",emptySelection:{content:"Set up your default Sender Address here to start shipping",heading:"No Sender Address Added"},title:"Fallback Sender Address"}},storeConnected:{actions:{syncOrdersLater:"Sync Later"},orderSyncDescription:"Note: This syncing process cannot be interrupted until it's complete.",syncWindowDescription:"You may now sync orders created <strong>before</strong> connecting this store to buy & handle shipments swiftly all at this place! ",title:"{{storeName}} Is Successfully Connected!",updatingPreConfig:"Updating config and syncing product, do not close this window",updatingPreConfigCompleted:"Update completed!"},tabs:{orderSync:"Order Sync",productSync:"Product Sync",shipmentDetails:"Shipment Details",shippingAddress:"Shipping Address"},title:"Shopify Integration Settings"}},forgetPassword:{backToLogin:"Back to Log In",description:"Enter your email address and we’ll send you a 6-digit verification code",email:"Work Email",emailNotExists:"This email address does not exist. Please make sure you input the correct email or try another one.",password:"Password",submit:"Send Verification Code",title:"Forgot your password?"},fulfillment:{orders:{view:"View Order"}},fulfillmentOrder:{banner:{buyLabelError:{title:"Shipment Buying Error"}},button:{backToUnfulfilledOrder:"Back to Unfulfilled Orders",backToActionRequiredOrder:"Back to Action Required Orders",backToAllOrders:"Back to All Orders"},createError:{carrierServiceNotSupported:{desc:"The selected carrier doesn't support this order's shipping requirements. Please select a different carrier in the Order Details.",title:"Please choose a different carrier service"},carrierOverrideNotAllowedForGlobalE:{desc:"Global-e orders use the carrier service assigned by Global-e. Please remove the carrier override and try again.",title:"Carrier service cannot be changed for Global-e orders"},cartonRequiresSelfArrange:{desc:"Fulfillment Orders containing Cartons must use Self
75-Arrange Delivery. Please change the delivery method.",title:"Cartons must use Self-Arrange Delivery"},usOriginRequiresSelfArrange:{desc:"Fulfillment Orders from a US warehouse must use Self-Arrange Delivery. Please change the delivery method.",title:"US warehouses must use Self-Arrange Delivery"},fulfillmentOrderInvalidStatus:{desc:"Fulfillment Order cannot update as it is being processing by warehouse, please contact us if there is any urgent update.",title:"Cannot Update Fulfillment Order"},incompleteReceiverInfo:{desc:"Incomplete Receiver Info, please ensure all required fields are filled.",title:"Incomplete Receiver Info"},inventoryItemNoReceivedEntryRecord:{desc:"Please restock your product(s) by submitting a Receiving Order at Inventories",title:"No inventory for the product(s) in this order."},inventoryPoolMismatch:{desc:"The product Storage Type does not match the Receiving Order Storage Type. Please use inventory from a Receiving Order with the matching Storage Type.",title:"Storage Type mismatch"},inventoryItemReceivedEntryNotFound:{desc:"Lot is not found for the selected Product(s) in this warehouse. Please select another warehouse or lot and try again.",title:"Product Lot Not Found"},iossNotSupported:{desc:"IOSS tax term is not supported in your plan. Please upgrade to Startup, Growth and Enterprise Plans to use this feature.",title:"IOSS tax term not supported"},missingLineItem:{desc:"Please select at least 1 fulfillment item before submitting this order.",title:"Missing line item"},mixedCartonAndItem:{desc:"A Fulfillment Order cannot contain both Cartons and Items. Please split them into separate orders.",title:"Cannot mix Cartons and Items"},requiresZonosIdForProcessing:{desc:"This order requires a Zonos ID for processing. Please make sure the info has included in the order details.",title:"Zonos ID required for processing"},shipmentCoverageNotSupported:{desc:"Spaceship Care is not supported in your plan. Please upgrade to Startup, Growth or Enterprise Plan to use this feature.",desc1:"Your current plan does not support Spaceship Care.",desc2:"Total value of declared items in a shipment must be between <b>USD 10 and USD 10,000</b> to enable Spaceship Care.",desc3:"This shipment is sent from non-HK to HK.",title:"Spaceship Care not supported"},unknown:{desc:"Unknown error, please try again later.",title:"Unknown error"},walletInsufficientBalance:{desc:"Please top up your balance and continue to settle payment.",title:"Insufficient amount"},quotationExceedsShippingCostLimit:{title:"Shipping cost exceeds limit",desc:"The estimated shipping fee exceeds the shipping cost limit. Review and approve the excess amount before submitting again."},budgetControlPreconditionMissing:{title:"Unable to verify shipping cost",desc:"Shipping cost verification could not run because order total or quote data is missing. Please escalate this order."},forexRateNotFound:{title:"Currency conversion unavailable",desc:"Unable to convert the shipping quote to the store currency. Please try again later or contact support."}},createOrder:{title:"Create Fulfillment Order"},editOrder:{model:{confirmIntercept:{desc:"You're about to intercept fulfillment order <strong>{{ orderRef }}</strong>. This needs to be confirmed by the warehouse.",title:"Intercept Fulfillment Order"},confirmCancel:{desc:"You're about to cancel fulfillment order <strong>{{ orderRef }}</strong>. This may need to be confirmed by the warehouse.",title:"Cancel Fulfillment Order"},confirmDirectCancel:{desc:"You're about to cancel fulfillment order <strong>{{ orderRef }}</strong>.",title:"Cancel Fulfillment Order"},confirmResumeCancelRequested:{desc:"You're about to resume the fulfillment order <strong>{{ orderRef }}</strong> which was previously requested intercept. This will allow the order to continue processing.",title:"Resume Fulfillment Order"}},resumeCancelRequested:"Resume Fulfillment Order",title:"Edit Fulfillment Order"},form:{button:{handleBySpaceship:"Deliver with Spaceship Carrier Service",handleOffline:"Self-Arrange Delivery"},details:{banner:{automation:{action:"Go to Shipping Automation",desc:`You can set up Shipping Automation and let system auto-fill by leaving the fields below blank. 
76
77If you prefer manually overriding Shipping Automation results, fill in the fields below.`,title:"Streamline Your Workflow with Shipping Automation"},productQuantityAlert:{desc:"The quantity shown in the product inventory may not reflect the latest real-time updates. While submissions will succeed, further action may be necessary.",title:"Alert on Product Quantity"}},customDeclaration:{title:"Customs Declaration"},section:{deliveryMethod:{banner:{desc:"Once this Fulfillment Order is successfully submitted, Delivery Method is not allowed to change."},desc:"By choosing this Delivery Method, please communicate with Spaceship warehouse offline on carrier service section, shipment-buying process, etc. Feel free to use Remarks below to indicate your needs.",helpText:"Once this Fulfillment Order is successfully submitted, Delivery Method is not allowed to change.",title:"Delivery Method"},deliveryOption:{banner:{desc:"Once this Fulfillment Order is successfully submitted, Delivery Option is not allowed to change."},desc:"By choosing this Delivery Option, please communicate with Spaceship warehouse offline on carrier service section, shipment-buying process, etc. Feel free to use Remarks below to indicate your needs.",helpText:"Once this Fulfillment Order is successfully submitted, Delivery Option is not allowed to change.",title:"Delivery Option"},itemSelection:{dropdownList:{carton:{placeholder:"Select Carton"},sellableProduct:{placeholder:"Select Item"},title:"Add Items from {{ warehouse }}"},empty:{carton:{desc:"Add at least 1 Carton to your Fulfillment Order",title:"No Cartons Added"},desc:"At least one item must be added to your Fulfillment Order",errors:{missingLineItems:"Add at least 1 Item to your Fulfillment Order"},sellableProduct:{desc:"Add at least 1 Sellable Product to your Fulfillment Order",title:"No Products Added"},title:"Item declaration"},error:{noItemEntryRecord:"No inventory for this product. Please add stock. "},productField:{title:"Product"},productType:{carton:{label:"Carton"},helpText:"Each Fulfillment Order can only contain items of the <strong>same</strong> Product Type. To change Product Type, please remove all selected items first.",label:"Product Type",placeholder:"Select Product Type",sellableProduct:{label:"Sellable Product"}},selectFromSpecificLot:{label:"Select from Specific Lot",placeholder:"Select Lot"},unitValue:{label:"Unit Selling Price",placeholder:"Enter unit selling price",tooltip:"Defaults to the latest product list price; if edited, your price overrides the product list price.",cancel:"Cancel",edit:"Edit",save:"Save"},currency:{label:"Currency",placeholder:"Select currency"},qty:{label:"Item Quantity",placeholder:"Enter quantity"},stockRemain:"{{ qty }} in stock",title:"Fulfillment Items",warningBanner:{desc:"Each Fulfillment Order can only contain items of the <strong>same</strong> Product Type. To change Product Type, please remove all selected items first."}}}},fields:{carrierService:{change:{label:"Change"},followShippingRules:{label:"Auto Select by Shipping Automation Rules"},label:"Carrier Service",manualSelect:{button:"Select Carrier Service",label:"Manual Select",modal:{confirm:"Confirm",title:"Select Carrier Service"}},globalE:{banner:"This is a Global-e order. The carrier service is assigned by Global-e and cannot be changed."},warningBanner:{desc:"Items or tax term are missing. Please fill in the necessary fields in order to select carrier service manually."}},isOfflineDelivery:{label:"Offline Delivery"},orderReference:{helpText:"Help Text",label:"Order Reference"},remarks:{helpText:"Specify your requirements about carrier selection or shipment handling here for communication with warehouse workers.",label:"Remarks",placeholder:"E.g. Please ship with by-sea carrier service, and call me at (+852) 98765432 before buying the shipment, thanks."},shipmentPurpose:{helpText:"Shipment Purpose can affect customs requirements a lot. It may result in the needs for certain customs document requirements, as well as import duties and tax calculations.",label:"Shipment Purpose",placeholder:"Select Shipment Purpose"},taxTerm:{label:"Tax Term"}}},formSteps:{addressInformation:"Address Info",orderDetails:"Order Details",review:"Review",stepOfTotalStep:"Step {{step}} of {{totalStep}}"},modal:{closeFulfillmentOrder:{confirmation:"You are about to close fulfillment order <strong>{{id}}</strong>.",submit:"Confirm",title:"Close Fulfillment Order"}},resubmit:{button:"Submit to Warehouse"},review:{addressInfo:{title:"Address Info",warehouse:{label:"Warehouse Address"}},carrierService:{autoSelect:"The carrier service will be auto-selected based on the <linkToAutomation>shipping automation</linkToAutomation> rules.",autoSelected:"Carriers are automatically selected based on the <linkToAutomation>shipping rules</linkToAutomation> you've set up. ",tempSelected:"Carriers are automatically selected based on the <linkToAutomation>shipping rules</linkToAutomation> you've set up. ",title:"Carrier Service"},deliveryMethod:{button:{update:"Update Tracking Information"},title:"Delivery Method",toast:{updateSuccess:"Tracking number updated"},trackingNumber:"Tracking Number"},handleBySpaceship:{title:"Deliver with Spaceship Carrier Service"}
77,handleOffline:{title:"Self-Arrange Delivery"},lineItems:{list:{title:"Details"},productType:{options:{carton:"Carton",sellableProduct:"Sellable Product"},title:"Product Type"},title:"Fulfillment Items"},orderDetails:{orderRef:{title:"Order Reference"},remarks:{title:"Remarks"},title:"Order Details"},orderItem:{availableQty:"{{ qty }} Available",barcode:"Barcode: {{barcode}}",belowRequired:"{{ qty }} Below Required",error:{noItemEntryRecord:"No inventory for this product. Please add stock. "},insufficientStock:"Insufficient Stock",inventory:{available:"Available",committed:"Committed (Including this order)",damaged:"Damaged",incoming:"Incoming",onHand:"On Hand",qualityControl:"In QC"},serialCodes:"Serial Numbers",serialNumberRequired:"Serial Number Required",showLess:"Show Less",showMore:"Show {{count}} More",editedUnitValue:"Edited to {{ unitValue }} {{ currency }}"},products:{title:"Products"},budgetControlReview:{title:"Shipping Cost Review",estimatedShippingFee:"Estimated Shipping Fee",budgetControlLimit:"Shipping Cost Limit",shopifyOrderTotalAndThreshold:"{{threshold}} of order total ({{currency}} {{orderTotal}})",excessAmount:"Excess Amount",approve:{action:"Approve",status:"Approved"},approvalModal:{title:"Shipping Cost Review",desc:"The estimated shipping cost for this order exceeds {{threshold}} of your Shopify order total, resulting in an excess of {{excessAmount}}. Do you confirm to proceed?",submit:"Confirm",cancel:"Cancel",error:"Failed to approve shipping cost. Please try again."}},receiver:{approveAddress:"Approve Address",approveAddressStatus:"Approved",approvalModal:{title:"Approve Address",desc:"This receiver address requires review. Do you confirm to approve it and proceed?",submit:"Confirm",cancel:"Cancel",error:"Failed to approve address. Please try again."},customer:{label:"Customer"},isResidential:"Residential",label:"Receiver"},ssCareProtection:{button:{disable:"Disable",enable:"Enable"}},valueAddedServices:{enabled:"Enabled",disabled:"Disabled"},billing:{title:"Charges"},storeIntegration:{title:"Store Integration"},warehouse:{address:{label:"Address"},label:"Fulfilled by",name:{label:"Warehouse"}},selfArrangeRequired:{banner:"This Fulfillment Order must use Self-Arrange Delivery. Please change the delivery method in Order Details before submitting."}},status:{cancelRequested:{awaitingCancellation:{badge:"Intercept Requested"}},closed:{cancelledByStore:{badge:"Cancelled by Store"},cancelFulfillmentOrderSyncConditionUnmet:{badge:"Cancelled (Sync Mismatch)"},cancelledByUser:{badge:"Cancelled by User"},closedByStore:{badge:"Closed by Store"}},failed:{failedCartonRequiresSelfArrange:{badge:"Self-Arrange Required"},failedMixedCartonAndItem:{badge:"Mixed Cartons & Items"},failedOthers:{badge:"Failed (Others)"},failedUsOriginRequiresSelfArrange:{badge:"Self-Arrange Required"},insufficientStock:{badge:"Insufficient Stock"},labelFailed:{badge:"Label Failed"}},fulfilled:{awaitingPickup:{badge:"Awaiting Pickup"},dispatched:{badge:"Dispatched"}},processing:{labelled:{badge:"Labelled"},packed:{badge:"Packed"},packing:{badge:"Packing"},picking:{badge:"Picking"}},unfulfilled:{created:{badge:"Created"},pendingSubmit:{badge:"Pending Submit"},submitted:{badge:"Submitted"}}},submit:{button:"Submit to Warehouse"},submitResult:{button:{editOrder:"Edit Fulfillment Order"},failure:{title:"Fulfillment Order Failed to Submit"},orderRef:"Order Ref: {{orderRef}}",ssid:"Spaceship ID: {{ssid}}",success:{button:{createNew:"Create Fulfillment Order",nextActionRequiredOrder:"Next Action Required Order",nextCreatedOrder:"Review Next Order",viewActionRequiredOrders:"View Action Required Orders",viewAllOrders:"All Orders",viewOrder:"View Order Details",viewUnfulfilledOrders:"All Unfulfilled Orders"},title:"Fulfillment Order Submitted Successfully"}},subtitle:{createTime:"Create time: {{ createTime }} "},title:{orderRef:"Order Reference: {{ orderRef }}"}},genericErrorPage:{actions:{refreshPage:"Refresh"},description1:"Sorry, an error has occurred and we are fixing the problem! We will be up and running shortly.",description2:"Try to refresh this page or email us via <a>[email protected]</a> for any urgent matters.",title:"Something Went Wrong..."},importFulfillmentOrder:{downloadTemplate:{content:"Download Spaceship Template",title:"Simply import order with this template!"},fieldsMapping:{field:{itemSku:{label:"SKU"}}},importResult:{button:{goToList:"Go To Orders",importAgain:"Continue Importing"},failed:{description:"<strong>{{failedCount}} of {{totalCount}}</strong> rows in the excel/CSV file have incorrect information or missing fields. Please update the file and try importing again. This entire batch of fulfillment orders will not be imported.",reasons:{addressLineTooLong:"Address Lines 1 & 2 must contain at most {{max}} character(s) in total.",carrierServiceNotSupported:"Select Carrier Service not supported",invali
77dPhoneCountryCode:"Please enter a valid {{field}}. It must be a region code no.",invalidValueInField:"{{field}} is invalid.",iossTaxTermNotSupported:"IOSS is not supported.",mismatchedFieldInSameGroup:"All rows under the same Order Ref. should have the same {{field}}.",missingRequiredField:"Missing {{field}}.",skuRelatedProductNotFound:"Cannot found related product for the selected SKU",unknown:"{{field}} has unknown error."}},success:{description:"<br> {{totalCount}} orders have been imported successfully.<br/> You are able to edit particular order in unfulfilled fulfillment order page.",title:"Import Successfully"}},step:{detailsAndDownloadTemplate:{title:"Upload Receiver Addresses and Order Details"},selectWarehouse:{selection:{label:"Warehouse Address",placeholder:"Select Address"},title:"Select Warehouse",noWarehouse:"No warehouse is available for importing Fulfillment Orders. Please contact us if you think this is wrong."}},uploadFile:{button:{downloadTemplate:"Download Template"},description:"Import orders from an Excel/CSV file or from our template.",maxFileSize:"Max. File Size: {{size}}",maxRowLimit:"Row Limit: {{limit}}",requirements:"File Requirements",supportedFileTypes:"Support format: {{types}}"}},inventories:{action:{error:{failedToDownloadProductLabel:"Failed to download product label, please try again later"},printItemLabel:"Print Item Label",setInventoryAlert:"Set Inventory Alert",viewProductDetail:"View Product Detail"},allWarehouses:"All",button:{stockIn:"+ New Receiving Order"},exportInventoryModal:{close:"I Understand",export:"Export",section:{completed:{description:"You can now download your inventory. A notification email will be sent to your email shortly as well.",title:"Your inventory is ready for download."},exporting:{description:"We are preparing the inventory data export you requested, it may take a while. <br/><br/>Stay in this modal to download the file directly when it's ready. Alternatively, you can close the modal, and we will email you to notify you when it's ready.",title:"{{itemCount}} Inventory Record(s) Exporting..."},selecting:{description:"Export your inventory data to a CSV file."}},title:"Export Inventory"},setInventoryAlertModal:{title:"Set Inventory Alert",success:"Inventory alert has been set successfully",banner:{title:"",description:"This is a custom threshold for the current SKU that overrides the general warehouse-level SKU alert."},table:{enableDisable:"Enable/Disable",safetyStockThresholds:"Safety Stock Thresholds"},error:{default:"Failed to set inventory alert. Please try again later.",inventoryItemNotFound:"Inventory item not found for this product",invalidThreshold:"Please enter a valid threshold value"},fields:{isEnabled:{label:"Enable"},threshold:{error:{required:"Threshold is required when alert is enabled",min:"Threshold must be 0 or greater"}}}},setGlobalInventoryAlertModal:{title:"Set Inventory Alert",button:"Set Inventory Alert",success:"Inventory alerts have been set successfully",banner:{title:"Inventory Alert",description:"If a product's stock level falls below the safety stock threshold, we will notify you by email. Unless a custom safety stock is set for a product, alerts will use the general warehouse threshold."},table:{warehouse:"Warehouse",enableDisable:"Enable/Disable",safetyStockThresholds:"Safety Stock Thresholds"},error:{default:"Failed to set inventory alerts. Please try again later."},fields:{isEnabled:{label:"Enable"},threshold:{error:{required:"Threshold is required when alert is enabled",min:"Threshold must be 0 or greater"}}}},tableList:{columns:{available:{label:"Available",belowSafetyStockThreshold:"This product is below safety stock threshold."},committed:{label:"Committed"},damaged:{label:"Damaged"},safetyStock:{label:"Safety Stock"},hsCodeCategory:{label:"Category/HS Code"},incoming:{label:"Incoming"},itemDescription:{label:"Item Description/Product Name"},onHand:{label:"On Hand"},productType:{label:"Product Type",options:{carton:{label:"Carton"},packagingMaterial:{label:"Packaging Material"},sellableProduct:{label:"Sellable Product"}}},qualityControl:{label:"In QC"},sku:{label:"SKU"}},filters:{andWithCount:"and +{{count}}",hsCodeCategory:{label:"Category/HS Code"},productType:{label:"Product Type",options:{carton:{label:"Carton"},packagingMaterial:{label:"Packaging Material"},sellableProduct:{label:"Sellable Product"}}},searchField:{placeholder:"Enter Product Name, SKU, Category or HS Code"}},sorters:{fields:{availableQty:{label:"Available"},barcode:{label:"Barcode"},committedQty:{label:"Committed"},createdAt:{label:"Date Created"},damagedQty:{label:"Damaged"},incomingQty:{label:"Incoming"},name:{label:"Product Name"},onHandQty:{label:"On Hand"},qualityControlQty:{label:"In QC"},sku:{label:"SKU"}},orders:{aToZ:{label:"A to Z"},lessToMore:{label:"Low to High"},moreToLess:{label:"High to Low"},newestFirst:{label:"Newest to Oldest"},oldestFirst:{label:"Oldest to Newest"},zToA:{label:"Z to A"}},title:"Sort By"}},title:"Inventory"},login:{description:"Over <strong>3,000</strong> business customers use every day",email:"Work Email",forgetPassword:"Forgot your password?",hidePassword:"Hide",httpErrors:{401:"Please enter a correct email or password"},password:"Password",poweredBySpaceship:"Powered by Spaceship",resetPasswordToast:"Password has been successfully updated",showPassword:"Show",
77signup:{hint:"Don't have an account? <a>Sign Up Now</a>",label:"Sign up now"},submit:"Log In",title:"Log in to your account",title2:"Log In or Sign Up"},notFoundPage:{actions:{backToPreviousPage:"Back to previous page",goToHomePage:"Go to Homepage"},description:"We are sorry, the page you are looking for does not exist. Please update your link or visit the homepage.",title:"Page Not Found"},orders:{actions:{clone:"Duplicate",close:"Archive",edit:"Edit Details"},bulkEditFulfillmentOrderModal:{buttons:{submit:"Update {{count}} Orders"},fields:{carrierService:{autoSelect:"Auto Select",globalEAllExcludedBanner:"All selected orders are Global-e orders. Carrier service is assigned by Global-e and cannot be changed here.",globalEExcludedBanner:"{{count}} Global-e order(s) will be skipped. Carrier service for those orders is assigned by Global-e and cannot be changed.",label:"Carrier Service",placeholder:"Select Carrier Service"},deliveryMethod:{selfArrangeAllExcludedBanner:"All selected orders must use Self-Arrange Delivery, so none of them can be updated here.",selfArrangeExcludedBanner:"{{count}} order(s) will be skipped. They must use Self-Arrange Delivery, so they are left unchanged.",label:"Delivery Method",placeholder:"Select Delivery Method"},editProperty:{label:"Property to edit",options:{carrierService:"Carrier Service",deliveryMethod:"Delivery Method",purpose:"Shipment Purpose",remarks:"Remarks",ssCare:"Spaceship Care",taxTerm:"Tax Term"}},remarks:{label:"Remarks"},ssCare:{label1:"Secure your valuable orders(s) and give yourself peace of mind with Spaceship Care!",label2:"Protect Selected Order(s) With Spaceship Care",options:{no:"<b>No</b> - I am willing to risk the order items being damaged, lost and/or stolen, and I understand that Spaceship is unable to assist in any claims if either were to occur.",yes:"<b>Yes</b> - Protect my order(s) against damage, loss and theft."},reminderBanner:{description:"Eligibility of selected orders(s) for Spaceship Care will be evaluated at the time of purchase."},termsAndConditions:"Powered by InsureShield® Shipping Insurance. By using this service, you agree to our <tncUrl>Terms and Conditions</tncUrl>."}},notes:{applyToUnfulfilledCreated:'Bulk edit can only be applied to Fulfillment Orders with "Created" status.'},title:"Edit {{count}} Orders"},bulkEditShipmentTagsModal:{optionsDescription:{add:"available tags to add",remove:"available tags to remove"},title:{add:"Add Tags to {{count}} Fulfillment Orders",remove:"Remove Tags from {{count}} Fulfillment Orders"}},cloneFulfillmentOrderModal:{cancel:"Cancel",confirm:"Confirm Duplicate",desc:"Upon confirming to duplicate this fulfillment order, we will create a new fulfillment order with the same information as this fulfillment order.",title:"Duplicate Fulfillment Order"},create:"New Fulfillment Order",createOrder:"New Fulfillment Order",emptyState:{desc:"Created orders will be shown here",notFound:{title:"No Orders Found"},title:"No Orders Found",all:{title:"No Orders yet",desc:"Create your first order, or connect a store to import orders automatically."}},exportOrdersModal:{title:"Export Orders",export:"Export",section:{selecting:{description:"Please select a date range for exporting the fulfillment order records.<br/> The range is based on the order creation date. Maximum date range for each export is 90 days."},exporting:{title:"{{itemCount}} Order(s) Exporting...",description:"We are preparing the orders export you requested, it may take a while. <br/><br/>Stay in this modal to download the file directly when it's ready. Alternatively, you can close the modal, and we will email you to notify you when it's ready."},completed:{title:"Your order(s) is ready for download.",description:"You can now download your orders. A notification email will be sent to your email shortly as well."}}},importFulfillmentOrders:"Import Orders",refetch:"Refresh",tab:{archived:"Archived",unfulfilled:"Unfulfilled"},tableList:{bulkActions:{addTags:"Add Tags ({{count}})",bulkEdit:"Edit ({{count}})",moreOptions:"More Options",removeTags:"Remove Tags ({{count}})",submit:"Submit Orders ({{count}})"},columns:{carrierService:{autoSelect:"Auto select",label:"Carrier Service",notApplicable:"Not Applicable",tooltips:{autoSelect:"Base on your <b>shipping automation</b> setting",baseOnAutomation:"Based on your automated shipping rules"}},deliveryMethod:{label:"Delivery Method"},errorReason:{addressValidation:{checkNotFinished:{desc:"The order is on hold because the check could not finish. Resubmit to check again.",descRetryScheduled:"The order is on hold and will be checked again automatically. You can also resubmit to check now.",title:"Address validation: Check not finished"},incomplete:{desc:"Open the order to see what needs completing, then correct the address or approve it as it is.",title:"Address validation: Address incomplete"},notFound:{desc:"Open the order to check the street, house number, 
77city and postal code.",title:"Address validation: Address not found in postal records"}},label:"Reasons"},estimatedCost:{label:"Estimated Cost"},items:{cellDesc:"{{ numOfItems }} Items",label:"Items"},orderRef:{label:"Order Reference",placeholder:"No order ref."},orderSource:{label:"Order Source"},receiver:{label:"Receiver"},addressValidations:{label:"Address Validations"},remarks:{label:"Remarks"},shippingMethod:{label:"Shipping Method"},ssid:{label:"Spaceship ID"},status:{label:"Status",options:{cancel_requested:{awaitingCancellation:{label:"Intercept Requested"}},closed:{cancelledByStore:{label:"Cancelled by Store"},cancelFulfillmentOrderSyncConditionUnmet:{label:"Cancelled (Sync Mismatch)"},cancelledByUser:{label:"Cancelled by User"},closedByStore:{label:"Closed by Store"}},created:{label:"Created"},failed:{failedCartonRequiresSelfArrange:{label:"Self-Arrange Required"},failedMixedCartonAndItem:{label:"Mixed Cartons & Items"},failedOthers:{label:"Failed (Others)"},failedUsOriginRequiresSelfArrange:{label:"Self-Arrange Required"},insufficientStock:{label:"Insufficient Stock"},labelFailed:{label:"Label Failed"}},fulfilled:{awaitingPickup:{label:"Awaiting Pickup"},dispatched:{label:"Dispatched"}},labelled:{label:"Labelled"},packed:{label:"Packed"},packing:{label:"Packing"},picking:{label:"Picking"},processing:{labelled:{label:"Labelled"},packed:{label:"Packed"},packing:{label:"Packing"},picking:{label:"Picking"}},submitted:{label:"Submitted"},unfulfilled:{created:{label:"Created"},pendingSubmit:{label:"Pending Submit"},submitted:{label:"Submitted"}}}},trackingNumber:{label:"Tracking No."},warehouse:{label:"Warehouse"}},filters:{andWithCount:"and +{{count}}",carrierService:{label:"Carrier Service"},orderSource:{label:"Order Source"},receiverCountry:{label:"Receiver Country/Region"},searchField:{placeholder:"Enter Spaceship ID, Order Reference, Receiver Name or Tracking No."},shipmentTags:{label:"Shipment Tags"},status:{label:"Status",options:{awaitingCancellation:{label:"Intercept Requested"},awaitingPickup:{label:"Awaiting Pickup"},cancelledByStore:{label:"Cancelled By Store"},cancelledByUser:{label:"Cancelled By User"},closedByStore:{label:"Closed By Store"},created:{label:"Created"},dispatched:{label:"Dispatched"},failedOthers:{label:"Failed (Others)"},insufficientStock:{label:"Insufficient Stock"},labelFailed:{label:"Label Failed"},labelled:{label:"Labelled"},packed:{label:"Packed"},packing:{label:"Packing"},pendingSubmit:{label:"Pending Submit"},picked:{label:"Picked"},picking:{label:"Picking"},submitted:{label:"Submitted"}}},warehouse:{label:"Warehouse"}},isOfflineDelivery:{tooltips:"Spaceship warehouse will coordinate with you offline to buy a shipment with non-Spaceship carrier service."},remarks:{tooltips:"Remarks: {{ remarks }}"},selectedCountWithLimit:"{{count}}/{{limit}} Fulfillment Orders Selected",sorters:{fields:{createdAt:{label:"Created Time"}},orders:{newestFirst:{label:"Newest to Oldest"},oldestFirst:{label:"Oldest to Newest"}}},ssCare:{willBeEnabled:"Spaceship Care will be added and your shipment will be protected."},toast:{addTagsSuccess:"Tag(s) successfully added to the selected fulfillment order(s)",removeTagsSuccess:"Tag(s) successfully removed from the selected fulfillment order(s)"}},title:"Unfulfilled Orders",allOrdersTitle:"All Orders"},paymentMethods:{card:{description:"Add a card that you would like to apply for any payments that require top-up credits. ",title:"Credit Card"},title:"Payment Method"},pendingCharges:{card:{outstandingAmount:{amount:"Outstanding Amount",button:{settle:"Settle Payment"}}},exportModal:{completed:{description:"You can now download your pending charge report. A notification email will be sent to your email shortly as well.",title:"Your pending charge records are ready for download."},dateRange:{description:"Bill date range",title:`Please select a bill date range for exporting the pending charge records.
78Maximum bill date range for each export is 90 days.`},export:"Export",exportAgain:"Export Again",processing:{description:"We are preparing the pending charge export you requested, it may take a while. Stay in this modal to download the file directly when it's ready. ",title:"Exporting"},title:"Export Pending Charge"},tabs:{archived:"Archived",outstanding:"Outstanding",upcoming:"Upcoming"},title:"Pending Charges"},pickups:{button:{schedulePickupInstruction:"Schedule Pickup Instru
78ction"},tabs:{history:"History",upcoming:"Upcoming"},title:"Pickups"},products:{addProduct:"Add Product",back:{title:"Back to Products"},bulkEditProductModal:{buttons:{ok:"I Understand",submit:"Update {{count}} Product(s)"},fields:{countryOfManufacture:{label:"Country/Region of Manufacture"},currency:{label:"Currency",placeholder:"Select Currency"},editProperty:{label:"Property to edit",options:{countryOfManufacture:"Country/Region of Manufacture",dimension:"Dimension",hsCode:"Category / HS Code",itemDescription:"Item Description",itemDescriptionChinese:"Item Description in Chinese",name:"Product Name",unitValue:"Unit Value",weight:"Unit Weight"}},height:{label:"Height"},hsCode:{helpText:"Category serves as a reference only. To avoid Customs detention and additional taxes, please provide the relevant Category/HS Code for your item as it is required by Customs.",label:"HS Code"},itemDescription:{label:"Item Description"},itemDescriptionChinese:{label:"Item Description in Chinese"},length:{label:"Length"},name:{label:"Product Name"},unitValue:{label:"Unit Value"},weight:{label:"Unit Weight"},width:{label:"Width"}},results:{error:{description:"Sorry, an unexpected error occurred. Please try again later",title:"Products Edit Error"},success:{description:"The selected {{count}} products have been successfully updated",title:"Products Updated Successfully"}},title:"Edit {{count}} Product(s)"},button:{instruction:"Instruction",stockIn:"Stock In"},deleteProduct:"Delete",editProduct:"Edit Product",emptyState:{notFound:{desc:"Smoothen your Customs clearance process by adding your Products here in advance.",title:"No Products Found"}},error:{failedToDownloadProductLabel:"Failed to download product label, please try again later"},exportProductsModal:{close:"I Understand",export:"Export",section:{completed:{description:"You can now download your product list. A notification email will be sent to your email shortly as well.",title:"Your product list is ready for download."},exporting:{description:"We are preparing the products data export you requested, it may take a while. <br/><br/>Stay in this modal to download the file directly when it's ready. Alternatively, you can close the modal, and we will email you to notify you when it's ready.",title:"{{itemCount}} Product Record(s) Exporting..."},selecting:{description:"Export your products data to a CSV file."}},title:"Export Products"},form:{productDetails:{addProduct:{submit:"Add Product",title:"Add Product"},deleteProduct:{confirmation:"You are about to delete the product [<strong>{{ sku }}</strong>]. Once confirmed, the data will not be recovered.",submit:"Confirm Delete",title:"Delete Product"},editProduct:{submit:"Update Product",success:"Product Updated Successfully",title:"Edit Product"},fields:{barcode:{label:"Barcode (ISBN, UPC, GTIN, etc.)",lockedByWarehouse:"This product is already held at {{warehouse}}. To keep warehouse records consistent, the barcode cannot be edited. Please contact customer support to make changes.",warehouseSeparator:", "},batteryPackingInstructionType:{label:"Type of Batteries",notes:"Please note that only specific batteries are allowed for shipping. If you have any questions, please contact Spaceship customer service.",options:{pi966:"Lithium ion Batteries packed with Equipment (PI 966)",pi967:"Lithium ion Batteries contained in Equipment (PI 967)",pi970:"Metal Batteries contained in Equipment (PI 970)"}},brand:{label:"Brand Name"},bulkShipPurpose:{label:"Item purpose",options:{manufacturing:"Manufacturing",others:"Others",prototype:"Prototype",resell:"Resell"},placeholder:"Please specify the purpose"},cartonItemQty:{helpText:"The number of items in the carton.",label:"Item Quantity per Carton"},countryOfManufacture:{label:"Country/Region of Manufacture"},currency:{label:"Currency",placeholder:"Select Currency"},dimension:{error:"Length, Width & Height must be either all filled or all empty."},fields:{hsCode:{label:"HS Code"}},hasAnyBatteries:{label:"Does the item include any batteries?",no:"No",yes:"Yes"},height:{label:"Height"},hsCode:{helpText:"Category serves as a reference only. To avoid Customs detention and additional taxes, please provide the relevant Category/HS Code for your item as it is required by Customs.",hint:"HS Code is used by Customs to classify the product being shipped.",label:"HS Code",placeholder:"Enter HS Code",supportUrl:"https://support.spaceshipapp.com/en/how-to-search-shipping-item-hs-code"},hsCodeCategory:{label:"Category",placeholder:"Select Category"},itemDescription:{helpText:"Item Description is viewed by Customs authorities to access taxes, duties and ensure it is legal for importing.",label:"Item Description"},itemDescriptionChinese:{helpText:"If you have any shipments containing this Product to be exported from China, Item Description in Chinese is required for Customs clearance.",label:"Item Description in Chinese"},length:{label:"Length"},material:{helpText:"The materials using in the product (e.g. Cotton, plastic )",label:"Product Material"},name:{label:"Product Name"},onlineStoreUrl:{helpText:"The URL of this selling product",label:"URL for the Product Page of the E-commerce Website",validation:{invalidUrl:"Please enter a valid web address."}},sellingPlatform:{helpText:"The online marketplace or platform where the product was sold (e.g. Shopify) is required for some carriers.",label:"Platform Name"},isSerialNumberRequired:{label:"Serial Number Required"},packagingRequirement:{label:"Packaging Requirement",options:{bubbleEnvelope:{label:"Bubble Envelope"},cartonBox:{label:"Carton Box"},columnAirBag:{label:"Column Air Bag"},custom:{label:"Custom Packaging Material(s)",placeholder:"Select Custom Packaging Material(s)"},honeycombPaper:{label:"Honeycomb Paper"}},tooltip:{noCustomPackagingMaterial:"No custom packaging material found. Please create 1 from Products page first."}},productType:{banner:"Product Type is not changeable after saving to ensure data accuracy between warehouse and Pro.",label:"Product Type",options:{carton:{hint:"Box filled with the same type of items (Note: Warehouse workers won't open any Carton to scan/categorize items inside)",label:"Carton"},packagingMaterial:{hint:"Product for Packaging only",label:"Packaging Material"},sellableProduct:{hint:"Product for Selling (Note: Shopify synced Products are auto categorized as this Type)",label:"Sellable Product"}}},remarks:{label:"Remarks"},sku:{helpText:"SKU <b>cannot</b> be edited after saving. Please ensure that the correct SKU is inputted.",label:"SKU"},unitValue:{label:"Unit Selling Price"},unitWeight:{label:"Weight"},width:{label:"Width"}},section:{b2bShipmentDeclaration:{description:"This section of the declaration is required only for products that are to be shipped via Spaceship Air Heavy Goods Service.",title:"Heavy Goods Declaration"},otherDeclaration:{title:"Other Declaration"},basicInfo:{title:"Basic Info"},customDeclaration:{reminderBanner:{desc:"Please declare this Item truthfully. You are responsible for any delay, loss and legal liability caused by false declaration.",title:"Importance of Truthful Item Declaration"},title:"Customs Declaration"}},updatedAt:"Last Updated: {{updatedAt}}"}},importProducts:"Import Products",importProductsFromFile:"Import from File",importProductsFromStoreModal:{button:{backToProducts:"Back to Products",goToStoreIntegration:"Go to Store Integrations",importProducts:"Sync Products",setupNow:"Setup Now"},importResult:{error:{description:"There was an error with your sync. Please try again.",title:"Sync Failed"},noProductsCreated:{description:"No products were created.",title:"No Products Synced"},success:{description:'We are now synchronizing products from the store <strong>{{storeName}}</strong>. It may take a while. You will see a green tick next to "Products" on the navigation menu when it is completed.',title:"Start Synchronizing Products"}},instructions:{description:"Please connect your Shopify Store in order to sync products from the store.",step1:{description:"Click the “Store Integrations” on the navigation menu.",title:"Go to Store Integrations"},step2:{description:"Follow the instructions to connect your store and complete all the settings.",title:"Connect your Shopify Store"},step3:{description:'Click "Products" on the navigation menu and select "Sync from Shopify", and choose the store that you want to sync the products from.',title:"Sync products from store"},title:"Sync From Shopify Store Instruction"},missingStoreSettings:{description:"To reduce manual editing after synchronizing products from Shopify Store, please complete the <b>Packaging & Item settings</b> in Store Integration.",title:"Complete Your Store Integration Settings"},storeSelection:{description:"Please select the Shopify Store you want to sync products from.",lastProductSyncedAt:"Last Synced: {{lastProductSyncedAt}}",warningBanner:{description:"Products without SKU information will not be synced. For products with the SKU already existing in Spaceship Pro, they will be skipped as well, so your edited product information for Customs declaration will not be overwritten.",title:"Only products with SKU will be synced"}},title:"Sync from Shopify"},importProductsFromStores:"Sync from Shopify",importProductsModal:{button:{downloadTemplate:"Download Template",ok:"Back to Products",upload:"Upload"},description:"Before you import products, make sure the product information is correct and ready for Customs declaration.",fieldsMapping:{field:{barcode:{label:"Barcode"},batteryPackingInstructionType:{label:"Battery Packing Instruction Type"},cartonItemQty:{label:"Item Quantity per Carton"},countryOfManufacture:{label:"Country/Region of Manufacture"},currency:{label:"Currency"},dimension:{length:{label:"Unit Length"},weight:{label:"Unit Weight"},width:{label:"Unit Width"}},height:{label:"Unit Height"},hsCode:{label:"HS Code"},itemDescription:{label:"Item Description"},length:{label:"Unit Length"},name:{label:"Product Name"},sku:{label:"SKU"},type:{label:"Type"},unitValue:{label:"Unit Selling Price"},weight:{label:"Unit Weight"},width:{label:"Unit Width"}}},importResult:{success:{description:"<strong>{{ totalCount }}</strong> products created/updated",title:"Import Successfully"}},overrideOptions:{label:"If there are the same SKUs between Products listing and the uploaded file:",options:{overrideExisting:"Overwrite all existing SKU data of related Products & Shipments with the uploaded file",retainExisting:"Retain data of the existing SKUs on Pro and upload the remaining data"}},title:"Import Products",uploadFile:{banner:{productTypeNote:"Product Type is not changeable after successful import to ensure data accuracy between warehouse and Pro."},error:{barcodeLockedByWarehouse:"{{count}} product(s) cannot have their barcode changed because they are already held at {{warehouse}}",cartonItemQtyCannotBeAddedForNonCarton:"{{count}} <strong> Non-Carton </strong> products have set Item Quantity (a Carton-only field)",duplicateBarcode:"{{count}} product(s) have the same barcode with existing product(s)",invali
78dHsCodeFormat:"{{count}} invalid HS code(s).",invalidValueInField:"{{field}} is invalid for {{count}} of the imported products.",maxFileSize:"File size cannot exceed {{size}}.",maxRowLimit:"Import rows cannot exceed {{limit}}.",missingRequiredField:"{{field}} is missing for {{count}} of the imported products.",numberTooBig:"{{count}} {{field}} exceed size limits.",numberTooSmall:"{{count}} {{field}} smaller than {{min}}",productTypeCannotBeChanged:"{{count}} product(s) have mismatched Product Type with corresponding product(s)",stringTooBig:"{{count}} {{field}} exceed character limits.",unknown:"{{count}} {{field}} encountered unknown errors. Please try to import again."},maxFileSize:"Max. File Size: {{size}}",maxRowLimit:"Row Limit: {{limit}}",requirements:"File Requirements",supportedFileTypes:"Support format: {{types}}"}},modal:{button:{addProduct:"New Product",importProducts:"Import Products"},instruction:{description:{exampleTitle:"For Example:",heading1:"What Is Products?",heading2:"How Does It Work?",leftSideContent1:"Original Product Name:",leftSideContent2:"iPhone 14 Pro Navy Bounce Case",paragraph:"Products page streamlines Customs clearance and prevents shipment delays by auto-updating item info by SKUs.",rightSideContent1:"Item Description for Customs:",rightSideContent2:"Phone Case",step1:{description:"Add your products' info with unique SKU no. for Customs clearance.",title:"Set Up Products"},step2:{description:"Once your Products are ready, import new orders via Excel/CSV files or sync them directly from your store to Drafts page.",title:"Import / Sync New Orders to Drafts"},step3:{description:"System will automatically map SKU with items in Products page & replace item info for newly imported orders accordingly.",title:"Map SKU to Auto-Update Item Info"}},title:"Instruction"}},newProduct:"+ New Product",printItemLabel:"Print Item Label",tableList:{bulkActions:{bulkEdit:"Edit ({{count}})"},columns:{availableQty:{label:"Available Inventory"},countryOfManufacture:{label:"Country/Region of Manufacture"},createdAt:{label:"Created Time"},hsCodeCategory:{label:"Category/HS Code"},itemDescription:{label:"Item Description/Product Name"},onHandQty:{label:"On Hand"},productType:{label:"Product Type",options:{carton:{label:"Carton"},packagingMaterial:{label:"Packaging Material"},sellableProduct:{label:"Sellable Product"}}},sku:{label:"SKU"},source:{label:"Product Source/Created Time"},unitValue:{label:"Unit Selling Price / Unit Weight"},updatedAt:{label:"Last Updated Time"}},filters:{andWithCount:"and +{{count}}",hsCodeCategory:{label:"Category"},productType:{label:"Product Type",options:{carton:{label:"Carton"},packagingMaterial:{label:"Packaging Material"},sellableProduct:{label:"Sellable Product"}}},regionOfManufacture:{label:"Country/Region of Manufacture"},searchField:{placeholder:"Enter SKU, Item Description, Product Name, HS Code or Barcode"}},row:{onHandQty:"in Stock"},selectedCountWithLimit:"{{count}}/{{limit}} Products Selected",sorters:{fields:{availableQty:{label:"Available Inventory"},barcode:{label:"Barcode"},createdAt:{label:"Date Created"},name:{label:"Product Name"},sku:{label:"SKU"},updatedAt:{label:"Last Updated"}},orders:{aToZ:{label:"A to Z"},lessToMore:{label:"Low to High"},moreToLess:{label:"High to Low"},newestFirst:{label:"Newest to Oldest"},oldestFirst:{label:"Oldest to Newest"},zToA:{label:"Z to A"}},title:"Sort By"}},tabs:{inventory:"Inventory",product:"Product",stockIn:"Receiving Orders",wro:"Receiving Orders"},title:"Products",viewDetails:"View Details"},returnOrders:{title:"Return Orders",button:{create:"+ New Return Order"},create:{title:"Create Return Order",back:{title:"Back to Return Orders"},form:{orderReference:{label:"Order Reference",placeholder:"Enter order reference",searchResults:"Search Results"},returnItems:{empty:{title:"No items selected",noItemsSelected:"No items selected",selectOrder:"Please select an order to view returnable items."},label:"Return Items",quantity:{label:"Quantity"},remove:{label:"Remove"},addExtraItems:{label:"Add Extra Items",placeholder:"Select Item"}},packingDimension:{label:"Packing Dimension",dimension:{label:"Package Dimension"},length:{label:"Length"},width:{label:"Width"},height:{label:"Height"},weight:{label:"Weight"}},carrierService:{label:"Carrier Service",manualSelect:{label:"Manual Select Carrier Service"}
78,selfArrange:{label:"Self-arrange",trackingNumber:{label:"Tracking Number",placeholder:"Enter tracking number",error:"Tracking number is required"},shippingCarrier:{label:"Shipping Carrier",placeholder:"Enter shipping carrier",error:"Shipping carrier is required"},estimatedArrival:{label:"Estimated Time of Arrival",placeholder:"Select estimated arrival date"}},selectButton:{label:"Select Carrier Service"},changeButton:{label:"Change"},estimatedTransitDays:"Estimated {{min}} - {{max}} Working Days",selectedService:"Selected carrier service: {{serviceName}}",packageDimensionError:"Please enter package dimensions and weight before selecting a carrier service.",modal:{title:"Select Carrier Service",confirm:"Confirm"}},paymentDetails:{title:"Payment Details",prepaidFreight:"Prepaid Freight",fuelSurcharge:"Fuel Surcharge",taxAndDuties:"Tax & Duties",otherCharges:"Other Charges",rates:"Rates",rateUnavailable:"Not available",updatedAt:"Updated: {{updatedAt}}"},remarks:{label:"Remarks",placeholder:"Insert Remarks"},sender:{label:"Sender",edit:{label:"Edit",title:"Edit Sender Address"},customerDetails:{label:"Customer Details"},postalCode:"Postal Code"},receiver:{address:"Address",label:"Receiver",warehouse:"Warehouse",noWarehouseSelected:"No warehouse selected"},submit:{label:"Submit Return Order"},success:{offline:{title:"Return Order Created Successfully",description:"Your offline return order has been created successfully. Please ensure you have the tracking number and carrier information ready for your customer."},online:{title:"Label Created Successfully",description:"Payment successful. Download the shipping label and send it to the buyer, reminding them to properly attach it to the package and hand it over to the carrier."},ssid:"Spaceship ID: {{ssid}}",orderRef:"Order Reference: {{orderRef}}",trackingNumber:"Tracking No.: {{trackingNumber}}",downloadButton:"Download Shipping Document(s)",doneButton:"Done",shipmentSummary:{title:"Shipment Summary",route:"SHIPPING ROUTE",receiver:"RECEIVER",carrierService:"CARRIER SERVICE"},paymentSummary:{title:"Payment Summary",prepaidFreight:"Prepaid Freight",shippingFee:"Shipping Fee",fuelSurcharge:"Fuel Surcharge",taxAndDuties:"Tax & Duties",otherCharges:"Other Charges",otherSurcharges:"Other Surcharges",rates:"Rates",total:"Total",updatedAt:"Updated: {{updatedAt}}"},deliveryStatus:"Delivery Status",carrier:"Carrier",totalFee:"Total Fee",downloadLabel:"Download Label",downloadThermalLabel:"Download Thermal Label"}}},edit:{title:"Edit Return Order"},emptyState:{notFound:{title:"No Return Orders Found",desc:"Return orders will be shown here"}},tableList:{columns:{orderReference:{label:"Order Reference"},status:{label:"Status"},customer:{label:"Customer"},carrierService:{label:"Carrier Service"},estimatedCost:{label:"Estimated Cost"},items:{label:"Items"},trackingNo:{label:"Tracking No."},remarks:{label:"Remarks"},orderSource:{label:"Order Source"},warehouse:{label:"Warehouse"},spaceshipId:{label:"Spaceship ID"},fulfillmentOrder:{label:"Fulfillment Order"}},sorters:{title:"Sort by",fields:{createdAt:{label:"Created Date"}},orders:{oldestFirst:{label:"Oldest First"},newestFirst:{label:"Newest First"}}}},filters:{searchField:{label:"Search",placeholder:"Search Spaceship ID, Order Reference, Customer Name or Tracking No."},status:{label:"Status",placeholder:"Select Status",all:"All Statuses",draft:"Draft",pending_create:"Pending Create",created:"Created",in_transit:"In Transit",arrived:"Arrived",completed:"Completed",cancelled:"Cancelled"},warehouse:{label:"Warehouse"},carrierService:{label:"Carrier Service"},senderCountry:{label:"Sender Country"},creationDate:{label:"Creation Date",startDate:"Start Date",endDate:"End Date"},offlineReturn:{label:"Return Type",placeholder:"Select Return Type",all:"All Types",online:"Online Return",offline:"Offline Return"},andWithCount:"and +{{count}}",clearAll:"Clear All Filters"},status:{draft:"Draft",pending_create:"Pending Create",created:"Created",in_transit:"In Transit",arrived:"Arrived",inspected:"Inspected",completed:"Completed",cancelled:"Cancelled"},actions:{view:"View"},viewReturnOrder:{address:"Address",backToReturnOrders:"Back to Return Orders",createTime:"Create time: {{date}}",spaceshipId:"Spaceship ID: {{ssid}}",returnItems:"Return Items",carrierService:"Carrier Service",customer:"Customer",paymentDetails:"Payment Details",sender:"Sender",receiver:"Receiver",remarks:"Remarks",barcode:"Barcode",weight:"Weight",trackingNo:"Tracking No.",expectedQty:"Expected Quantity: {{quantity}}",actualQty:"Actual Quantity: {{quantity}}",inspectionResults:"Inspection Results",remarksAndPhotos:"REMARKS AND PHOTOS",details:"DETAILS",qcPassed:"QC Passed",qcFailed:"QC Failed",inspectionPhoto:"Inspection Photo",pendingCharges:"Pending Charges",settledCharges:"Settled Charges",location:"Location",contactFullName:"Contact Full Name",companyLegalName:"Company's Legal Name",taxId:"Tax ID",warehouse:"Warehouse",offlineCarrier:"Offline Carrier",offlineReturn:"Offline Return",estimatedDelivery:"Estimated 1 - 2 Working Days",noReturnItems:"No return items",noDescription:"No Description",shippingFee:"Shipping Fee",fuelSurcharge:"Fuel Surcharge",otherSurcharges:"Other Surcharges",totalCharges:"Total Charges",description:"Description",dimensions:"Dimensions",relatedFulfillmentOrder:"Related Fulfillment Order",fulfillmentOrderSsid:"Fulfillment Order SSID",viewFulfillmentOrderDetails:"View Fulfillment Order Details"},progress:{created:"Created",inTransit:"In Transit",arrived:"Arrived",inspected:"Inspected",completed:"Completed"},downloadShippingDocument:"Download Shipping Document(S)",markAsShipped:"Mark as Shipped",noOrderRef:"No Order Ref",noProductName:"No Product Name",noCountry:"No Country",selfArrange:"Self
78-arrange",carrierService:"Carrier Service",offlineReturn:"Offline Return",workingDays:"{{days}} working Days",noTracking:"No Tracking",storeName:"Store Name",itemCount:"{{count}} Items",trackingNumber:{label:"Tracking Number"},cancelModal:{title:"Cancel Return Order",confirmation:"Are you sure you want to cancel return order <strong>{{orderRef}}</strong>?"}},profile:{sections:{basicInfo:{fields:{email:{label:"Work Email"},name:{label:"Full Name"}},title:"Basic Info"},security:{actions:{changePassword:"Change Password",forgotPassword:"Forgot password?"},fields:{confirmNewPassword:{errors:{mismatch:"Must be same as the new password typed"},label:"Confirm New Password"},currentPassword:{errors:{incorrect:"Password is incorrect"},label:"Current Password"},newPassword:{label:"New Password"}},title:"Security"}},title:"My Profile"},quotation:{button:{createShipment:"Create Shipment",quote:"Quote"},destination:{edit:"Edit",receiverAddress:{title:"Receiver Country/Region"},senderAddress:{title:"Sender Country/Region"},title:"Destination"},forms:{address:{from:"From",note:"Default State, City and Postal Code will be pre-filled when neither one of them has inputted a value. If you have filled in any of the state, city, or postal code, it is mandatory to complete all the required fields.",subTitle:"From Hong Kong To",switch:"Switch",to:"To"},isResidential:"This is a residential address",shipmentFreightType:{heavyShipment:"Heavy Shipment",parcel:"Parcel"},title:"Get a Quote"},heavyWeightShipmentDetails:{packages:{title:"Packages",titleWithCount:"{{count}} Packages"},receiverAddress:{title:"Destination"},senderAddress:{title:"Origin"},title:"Shipment"},notice:{desc:"Duties, taxes and additional surcharges are not included. The final shipping fee is subject to change according to final receiver full address, package size and weight, selected tax term, and other related factors. Actual delivery date is subject to delivery location and other force majeure events.",title:"Quotations & Estimated Delivery Days are reference only"},quotingState:{desc:"Finding the best suited carrier services…<br/>This may take a few minutes, <strong>please do not close or refresh this page</strong>.",title:"Finding Suitable Carriers"},reminder:{getAccurateQuotation:{desc:"A more accurate address will result in a more accurate quotation. The final shipping fee is subject to change according to the final receiver full address.",title:"Get an accurate quotation"}},result:{title:"Carrier Services"}},resetPassword:{changeEmail:"Change Email",code:"6-digit Verification Code",description:"A 6-digit verification code has been sent to the following email address: <bold>{{ email }}</bold>",invalidCode:"Incorrect Verification Code",password:{fieldName:"Enter New Password",hint:"Password must be at least 6 characters long"},resend:"Resend Code",submit:"Reset Password",title:"Reset Password"},schedulePickup:{error:{failedToGetQuote:{moreBagThenShipmentPackages:"Total number of bag should not more than the total number of shipment packages",title:"Failed to get quote for pickup"},form:{totalNumOfBagShouldGreaterThanZero:"Should at least select one bag"}},form:{detailsCard:{shipmentsSection:{label:"Pickup shipments",shipmentsCount:"{{ count }} shipments"},title:"Pickup Details"},packaging:{largeBagsDimension:"The length of any single side does not exceed 450cm, and the total of all three sides does not exceed 600cm.",largeBagsField:"Large Bags <subdued>(>20kg)</subdued>",smallBagsDimension:"The length of any single side does not exceed 130cm, and the total of all three sides does not exceed 200cm.",smallBagsField:"Small Bags <subdued>(Max 20kg)</subdued>",subTitle:"Consolidating your parcels into outer bags can help reduce pickup costs with certain carriers. The final pickup cost is determined by the charges applied by the pickup carrier.",title:"Optimize Cost with Outer Bags"},quote:{noQuoteAvailable:"No available quote"},servicesCard:{subTitle:"The estimated pickup cost is based on your provided shipment details.",title:"Pickup Service"}}}
78,settings:{tabs:{accounts:{importOnStopShopActivation:{errors:{invalidFormat:"IOSS No. format is invalid"}}},addresses:{addAddressModal:{title:"Add Address"},button:{add:"Add",addAddress:"Add Address",delete:"Delete",edit:"Edit"},defaultAddress:"Default",deleteAddressDialog:{confirm:"Delete Address",description:{withName:"Are you sure to delete this address - <b>{{ addressDisplayName }}</b> ?",withoutName:"Are you sure to delete this address?"},title:"Delete Address",warning:{sender:"Deleting this Sender Address will stop corresponding actions of related shipping rules to apply to newly imported/synced shipments.",receiver:"Deleting this Receiver Address will remove it from your saved addresses list and it will no longer be available for future shipments."}},editAddressModal:{title:"Edit Address",warning:"While editing this address will not affect existing shipments in Drafts, any related Shipping Rules will be updated instantly. If you want to change existing drafts, please find and edit corresponding shipment in Drafts."},helperText:{desc:"Add an address you usually use in this list that can help to speed up buying shipment process.",title:"Sender Addresses"},listTitle:"Sender Addresses",receiverAddress:{tableName:"Receiver",listTitle:"Receiver Addresses",searchPlaceholder:"Search Receiver Name, company...",countryRegionLabel:"Country/Region",searchCountriesPlaceholder:"Search countries...",emptySelection:{title:"Receiver Addresses",heading:"No Receiver Address Added",content:"Add an address you use most often to speed up your process when buying a shipment.",button:"Add Receiver Address"},tableHead:{name:"Receiver",addressLine1:"Address Line 1",phone:"Phone No."}},title:"Addresses"},apiAndWebhook:{title:"API & Webhooks"},apiKeys:{apiDocumentationUrl:"https://spaceshipapp.readme.io/reference/overview",button:{create:"+ New API Key"},createApiKeyModal:{button:{create:"Generate API Key"},description:"To securely connect with Spaceship, your app/tool needs an API key to access Spaceship services. <learnMoreUrl>Learn more about API Keys</learnMoreUrl>.",field:{apiKeyId:{label:"API Key ID"},apiKeySecret:{label:"API Key Secret"},name:{helpText:"Please name this API Key concisely for easy reference.",label:"API Key Name",placeholder:"e.g. Production"}},learnMoreUrl:"https://spaceshipapp.readme.io/reference/overview",successBanner:{description:"This key is not recoverable. If you lose this API key, please create a new one. API Key Secret will be hidden once this popup is closed.",title:"API Key Successfully Generated"},title:"Create API Key",toast:{apiKeyIdCopied:"API Key ID copied",apiKeySecretCopied:"API Key Secret copied"}},deleteApiKeyModal:{confirmation:"Are you sure to delete the following?",field:{confirmMessage:{label:"Type <critical>{{ confirmMessage }}</critical> to confirm"}},title:"Delete API Key",toast:{apiKeyDeleted:"API Key deleted"},warningBanner:{description:"Note: This will permanently terminate your access to Spaceship API services with this key."}},description:"Create API keys to unleash shipping power of Spaceship for your app/tool. Please check out the <apiDocumentationUrl>API documentation</apiDocumentationUrl> for more info.",editApiKeyModal:{button:{edit:"Update"},title:"Edit API Key",toast:{nameUpdated:"API Key Name Updated"}},emptyState:{desc:"Create API keys to fully utilize Spaceship shipping services for your app/tool.",title:"Create API Key"},table:{action:{edit:"Edit"},column:{apiKeyId:"API Key ID",createdAt:"Created at",name:"API Key Name"}},title:"API Keys"},branding:{buttons:{save:"Save"},description:"Provide a seamless, cohesive shipping experience to your customers by adding your branding here. These will be reflected on your customers' tracking pages.",sections:{colors:{buttons:{resetToDefault:"Reset to Default"},fields:{primaryColor:{helpText:"This applies to the progress bar",label:"Primary Color"},secondaryColor:{helpText:"This applies to website links",label:"Secondary Color"}},title:"Colors"},orgLogo:{fields:{orgLogo:{label:"Logo with Brand Name"},orgName:{helpText:"Display name will only be shown if no logo is uploaded.",label:"Display Name"}},reminderBanner:{description:"If no organization logo and display name are provided, Spaceship Pro logo will be displayed on the tracking page as fallback."},title:"Logo/Name"}},title:"Branding",toast:{savedSuccess:"Branding settings saved successfully"}},carrierServiceGroup:{buttons:{add:"Add"},description:"Carrier Service Groups lets you choose and group selected carrier services, allowing automatic selection based on your settings. <br /><br /> After setting up the carrier group, you need to set up actions in Shipping Automation. This lets you choose the cheapest or fastest options among the selected carrier services.",form:{fields:{carrierServices:{label:"Carrier Services",placeholder:"Select Carrier Services"},name:{label:"Carrier Service Group Name"}}},modals:{addCarrierServiceGroup:{confirm:"Add",title:"Add Carrier Service Group"},editCarrierServiceGroup:{confirm:"Save",title:"Edit Carrier Service Group"}},title:"Carrier Service Groups"},carriers:{banner:{featureNotSupport:{desc:"Please upgrade your pricing plan to use the Connect Own Carrier Account feature.",title:"Custom Carrier Account is not supported in your plan"},numOfAcctExcessLimit:{action:"View Pricing Plan",desc:"The connect your own carrier accounts feature is currently not applied to your shipments because the number of enabled accounts supported by your plan is {{ maxLimit }}. To reactivate this feature, you may either upgrade your pricing plan or adju
78st the number of enabled own carrier accounts.",title:"Enabled Custom Carrier Accounts Exceed Plan Limit"}},connectionList:{description:"Select the carrier you want to connect with Spaceship Pro.",suggestCarrier:"Not seeing your carrier? Feel free to suggest your preferred carrier service via our chat bubble.",title:"Select Carrier"},connectionListModal:{title:"Custom Carrier Account"},connections:{common:{fields:{accountName:{label:"Account Name",prefillMessage:"My own {{ carrierName }} account"}}},dhl:{fields:{accountNumber:{helpText:"Your DHL Express Account number",label:"{{name}} Account Number",placeholder:"e.g. 123456789"},accountOriginCountry:{label:"Account Origin Country/Region",placeholder:"Select Account Origin Country/Region"},apiKey:{helpText:"API Key can be found on the DHL API Developer Portal",label:"API Key"},apiSecret:{helpText:"API Secret can be found on the DHL API Developer Portal",label:"API Secret"}}},fedex:{eulaUrl:"https://developer.fedex.com/api/legal/en-us/eula.pdf",fields:{accountNumber:{label:"{{name}} Account Number"}},invoice:{description:"{{name}} now verifies your identity before a new account can be connected. Enter the details of a {{name}} invoice issued to this account within the last {{maxAgeInDays}} days. You do not need to upload a copy of the invoice.",errors:{futureDate:"Invoice date cannot be in the future",tooOld:"Invoice date must be within the last {{maxAgeInDays}} days"},fields:{amount:{label:"Invoice Amount"},currency:{label:"Invoice Currency",placeholder:"Select currency"},date:{label:"Invoice Date",placeholder:"Select invoice date"},number:{label:"Invoice Number"}},title:"FedEx Invoice Verification"}},general:{billingAddress:"{{name}} Account Billing Address",billingAddressNote:"The address below should be the same your current {{name}} account billing address.",businessDocuments:{errors:{maxFileSize:"File size cannot exceed {{maxFileSize}}"},fields:{commercialInvoiceLetterhead:{description:"Browse your files and upload your company letterhaed onto Spaceship Pro<br/>Follow the requirements upload a image",label:"Company Letterhead"},commercialInvoiceSignature:{description:"Browse your files and upload your company signature onto Spaceship Pro<br/>Follow the requirements upload a image",label:"Company Signature"}},fileSize:"File size: {{maxFileSize}}, {{maxWidth}} wide x {{maxHeight}} high (Pixels)",requirements:"Upload Requirements",supportedFormat:"Supported format: {{format}}",title:"Electronic Trade Documents (ETD) Settings"},customAccountSettings:{title:"Custom Account Settings"},description:"By connecting your <strong>{{name}}</strong> account, you will no longer be eligible to use the discounted {{name}} rates offered by Spaceship Pro.",haveReadAndAcceptEula:"I've read and accept the <linkToEula>{{name}} EULA</linkToEula>",setting:{fields:{paperlessInvoice:{description:"After enabling this feature, you can eliminate the need to print and physically attach commercial invoice to your shipments.",label:"Activate paperless Invoice",title:"Paperless Invoice"}}},title:"Connect {{name}}"},sf:{addAccount:"Add Account",description:"Authenticate your <strong>SF Express Hong Kong</strong> account to start shipping with your own negotiated rates. <br/><br/>By connecting your SF Express account, you will no longer be eligible to use the discounted SF Express rates offered by Spaceship Pro.",fields:{monthlyPaymentAccountNumber:{label:"Monthly Payment Account No."}},name:"SF Express",supportUrl:"https://www.spaceshipapp.com/sf-custom-account-support-article",title:"Connect SF Express"}},contentTitle:"Connect Your Own Carrier Accounts",description:"Connect your carrier accounts to ship with your own negotiated rates.<br/><br/>The setup process takes 4-5 working days, during which we will contact you and ask you for more information. <br/><br/>Note: Shipment drafts with carriers selected <strong>before</strong> successfully enabling your accounts will <strong>remain the same</strong>. To change their carriers, please manually update in a batch.",editAccountNameModal:{button:"Update",textField:{label:"Account Name"},title:"Edit Account Name"},limitedSupport:"We only provide support for SF Express account integration now, but we plan to expand our carrier options in the future. Feel free to suggest your preferred carrier service via our chat bubble.",table:{action:{disable:"Disable",editAccountName:"Edit Account Name",enable:"Enable"},header:{accountName:"Account Name",accountNumber:"Account No.",carrier:"Carrier",status:"Status"},status:{disabled:"Disabled",enabled:"Enabled",pending:"Pending"},title:"Custom Carrier Account"},title:"Carriers",toasts:{connectionRequested:"Your request of setting up your own carrier account has been successfully submitted"}},fulfillment:{autoSubmission:{desc:"Configure how the fulfillment orders are processed when orders are <b>imported from Excel/CSV file</b> or <b>synced from store integrations</b>. Choose between manual and automatic submission methods to optimize the workflow.",options:{auto:{hint:"Auto-submit each fulfillment order to the warehouse. <br /> This option streamlines your operations by reducing the need for manual intervention, allowing for faster and more efficient order processing.",label:"Auto Submit"},manual:{hint:"Manually review & submit each fulfillment order and submit it to the warehouse. <br /> This option provides you with control over each order to ensure accuracy and address any issues before processing.",label:"Manual Review"}},title:"Fulfillment Order Settings"},defaultProductWeight:{description:"If a product doesn't have weight information, we'll use this default product weight to estimate the shipping cost. This allows you to prepare shipping documents and label in advance and avoid shipping delays.",label:"Weight",title:"Default Product Weight"},title:"Fulfillment",toast:{savedSuccess:"Fulfillment settings saved successfully"}},iossActivation:{title:"IOSS"},labelCustomization:{notEnabled:{action:"View Pricing Plan",desc:"Please upgrade your pricing plan to use label customization feature.",title:"Label customization is not supported in your plan"}},labels:{labelCustomization:{description:"You can decide info to be displayed on labels for optimizing fulfillment flow.",isOrderRefVisible:{label:"Order Reference"},isSkuVisible:{label:"Product SKU"},reminderBanner:{description:"<ul><li>Supported Carriers: Spaceship Air - Economy, DHL, FedEx, UPS</li><li>Max. Character Limit: 30</li></ul>",note:"Note: Content exceeding character limits will not appear on labels, and the display is subject to carriers.",title:"Supported Carriers & Maximum Character Limit"},title:"Label Customization"},title:"Labels & Packing Slips",updated:"Labels preference successfully updated"},notificationCenter:{addRule:"Add Notification Rule",description:"Turn on notification rules to stay informed about order status changes and important alerts.",emptyState:{button:"Add Notification Rule",description:"Create a notification rule to automatically send email alerts when your specified conditions are met.",title:"Add Notification Rule"},deleteModal:{title:"Delete Rule",description:"Deleting this notification rule will stop all automated email notifications triggered by the rule conditions. Are you sure you want to delete this rule - {{ruleName}}?",confirm:"Confirm Delete"},toast:{updateFailed:"Failed to update the notification rule. Please try again.",deleteFailed:"Failed to delete the notification rule. Please try again.",saveFailed:"Failed to save the notification rule. Please try again.",sendTestEmailFailed:"Failed to send the test email. Please try again."},form:{sections:{rule:{title:"Notification Rule"},conditions:{title:"Conditions",description:"Select conditions that must be met to trigger this email notification."}
78,recipients:{title:"Notification Email Recipients",description:"Once the above conditions are met, a notification email will be sent to the selected recipients below."},emailPreview:{title:"Email Preview",description:"Based on your set conditions, send a test email to your merchant registered email to preview the notification."}},name:{label:"Name",placeholder:"Notification Rule Name"},description:{label:"Description",helpText:"Briefly describe this rule"},conditions:{deliveryStatus:{label:"Delivery Status",description:"When the shipment's delivery status is <0>{{status}}</0>"},selector:{label:"Condition"},operator:{label:"Operator",isAnyOf:"is any of",isNoneOf:"is none of"},button:{add:"Add",update:"Update"},modal:{title:{add:"Add Condition",update:"Update Condition"},delete:{title:"Delete Condition",description:"Are you sure to delete this condition - <0>{{conditionName}}</0>?",confirm:"Confirm Delete"}},addCondition:"Add Condition",these:"these"},recipients:{receiverEmail:"Receiver Email",merchantEmail:"Merchant Registered Email",merchantEmailPlaceholder:"Please enter your registered email"},emailPreview:{merchantEmail:{label:"Merchant Registered Email"},sendTestEmail:"Send Test Email"}},title:"Notification Center"},organization:{contentTitle:"Organization Information",description:"Organization information is displayed on Invoices, Credit Notes, and Receipts.",fields:{billingEmail:{label:"Billing Email"},name:{label:"Organization Name"}},readOnly:{banner:{description:"Only the organization owner can edit these details. Please contact {{ownerEmail}} to request changes.",descriptionNoEmail:"Only the organization owner can edit these details. Please contact the organization owner to request changes.",title:"View only"},subtitle:"Managed by your organization owner.",unavailable:"Organization details are currently unavailable. Please contact your organization owner."},title:"Organization",toast:{updateSuccess:"Organization information has been successfully updated"}},packages:{addBoxModal:{hint:"Please note that the final chargeable weight is measured at the carrier's warehouse and calculated by the actual weight or the volumetric weight, whichever is higher.",warning:"Length/Width/Height of this package is over 120cm, an additional fee may be charged."}},packagings:{addPackaging:"Add",addPackagingDesc:"Please note that the final chargeable weight of your package is measured at the carrier's warehouse and calculated by the actual weight or the volumetric weight, whichever is higher.",addPackagingModal:{confirm:"Add",domesticShipmentHints:{description:"When the follow limits are met, please contact us via <1>Customer Helpdesk</1> or <2>email</2> for special arrangement before pickup.",point1:"Length/Width/Height > <strong>160cm</strong>
78",point2:"Total dimension (Length + Width + Height) > <strong>300cm</strong>",point3:"Package Weight (Total weight of the packaging and all the items inside)> <strong>30 kg</strong>",title:"Domestic Shipments"},hint:"Please note that the final chargeable weight of your package is measured at the carrier's warehouse and calculated by the actual weight or the volumetric weight, whichever is higher.",internationalShipmentHints:{description:"Additional fees may apply if the length, width or height > <strong>120cm</strong>.",title:"International Shipments"},title:"Add Packaging",warning:"Length/Width/Height of this packaging is over 120cm, an additional fee may be charged."},delete:"Delete",deletePackagingDialog:{confirm:"Delete Packaging",description:"Are you sure to delete this packaging - <1>{{boxDisplayName}}</1>?",title:"Delete Packaging ({{dimension}})",warning:"Deleting this Packaging will stop corresponding actions of related shipping rules to apply to newly imported/synced shipments."},editPackagingModel:{confirm:"Save",title:"Edit Packaging"},fedexPackaging:{alert:{desc:"The lower shipping rates will only applicable if you use FedEx packaging for your shipments. The shipments will be charged at the standard rates if you use your own packages. ",title:"Attentions"},button:{disable:"Disable",enable:"Enable"},checkbox:{label:"I agree to enable FedEx Packaging and acknowledge the Terms and Conditions"},status:{disabled:"Disabled",enabled:"Enabled"},title:"FedEx Packaging",tnc:{desc:`Once FedEx Packaging is enabled, you can select from a variety of FedEx packaging options and enjoy lower shipping rates for FedEx services. The options include: <br /><br />
79<li>FedEx Padded PAK</li>
80<li>FedEx large PAK</li>
81<li>FedEx XL PAK</li>
82<br />
83To benefit from lower shipping rates, ensure that the volume does not exceed 15,400 cubic centimeters.<br /><br />`,title:"Terms and Conditions"},toast:{disabled:"FedEx Packaging Disabled",enabled:"FedEx Packaging Enabled"}},form:{fields:{boxDisplayName:{label:"Packaging Display Name"},emptyPackagingWeight:{label:"Packaging Weight"},packagingDisplayName:{label:"Packaging Display Name"}}},helperText:{desc:"Add a packaging with dimensions you usually use in this list that can help to speed up buying shipment process.",fedexPackagingDesc:"Reduce Shipping Rates with FedEx Packaging.<br /><br />",fedexPackagingTitle:"FedEx Packaging",packagingAutoSelection:{desc:"Auto-select the most suitable packaging for shipments.",title:"Packaging Auto Selection"},title:"Packagings"},noSavedPackagings:{hint:"Preset your packaging dimensions to speed up order creation.",title:"No Custom Packaging Added"},packagingAutoSelection:{button:{disable:"Disable",enable:"Enable"},desc:"Packaging will be auto-selected for a shipment based on the dimensions of the items in the shipment.",status:{disabled:"Disabled",enabled:"Enabled"},title:"Packaging Auto Selection",toast:{disabled:"Packaging Auto Selection Disabled",enabled:"Packaging Auto Selection Enabled"}},title:"Packagings"},packingSlip:{customization:{buttons:{save:"Save"},description:"Enhance your customers' experience by customizing your package slip.",fields:{companyLogo:{label:"Show Company Logo",warning:{description:"To activate Company Logo please go to 'Setting > Branding' & upload your company logo.",title:"You haven't uploaded a company logo yet"}},footnote:{error:{required:"Please enter Footnote"},label:"Show Footnote"}},notEnabled:{action:"View Pricing Plan",desc:"Please upgrade your pricing plan to use packing slip customization feature.",title:"Packing Slip Customization is not supported in your plan"},title:"Packing Slip Customization"},description:"Select whether to include the packing slip when downloading the shipping documents and specify its size.",notEnabled:{action:"View Pricing Plan",desc:"Please upgrade your pricing plan to use packing slip feature.",title:"Packing Slip is not supported in your plan"},size:{options:{a4:{hint:'Width x Height: 8" x 12"',label:"Include packing slip with A4 size"},notInclude:{label:"Not include packing slip"}}},title:"Packing Slip",toast:{updated:"Packing slip preferences updated"}},paymentSettings:{autoTopup:{button:{disable:"Disable",enable:"Enable"},description:"When the balance reaches below the target amount, it will automatically top-up.",modal:{autoTopupAmount:{label:"Top-up Amount"},autoTopupThreshold:{label:"Threshold"},description:"When the balance reaches below the target amount, it will automatically top-up.",title:"Auto Top-up"},status:{disabled:"Disabled",enabled:"Enabled"},title:"Auto Topup",toast:{disabled:"Auto Top-up Disabled",enabled:"Auto Top-up Enabled",updated:"Auto Top-up Updated"},tooltip:{cardRequired:"Card is required to enable Auto Top-up"}},lowBalanceAlert:{button:{disable:"Disable",enable:"Enable"},description:"When your wallet balance reaches the specified threshold, you will receive a notification via email.",modal:{description:"When your wallet balance reaches the specified threshold, you will receive a notification via email.",lowBalanceAlertThreshold:{label:"Threshold"},title:"Low Balance Alert"},status:{disabled:"Disabled",enabled:"Enabled"},title:"Low Balance Alert",toast:{disabled:"Low Balance Alert Disabled",enabled:"Low Balance Alert Enabled",updated:"Low Balance Alert Updated"}},title:"Payment Settings"},printingOptions:{shippingLabelGrouping:{description:"Shipping document files are generated based on grouping option and shipping label size for printing after buying shipments.",options:{mergePdf:{hint:"Merge all selected shipments into single source of document/PDF file.",label:"Merge PDF"},separatePdf:{hint:"Each selected shipment's shipping document will be downloaded individually",label:"Separate PDFs"}},title:"Shipping Documents Grouping"},shippingLabelSize:{description:"Select the printing size of your shipping labels. If some carrier services cannot provide thermal paper, it will generate a file for A4 size shipping labels. ",options:{a4:{hint:'Width x Height: 8" x 12"',label:"A4 Size"},thermal:{hint:'Width x Height: 4" x 6"',label:"Thermal Paper"}},title:"Shipping Labels Size"},title:"Printing Preferences",updated:"Printing preferences updated"},shippingRules:{actionSelectionModal:{button:{add:"Add",update:"Update"},fields:{carrierService:{placeholder:"Select Carrier Service"},carrierServiceGroup:{andWithCount:"and {{count}} more",placeholder:"Select Carrier Service Group"},coverage:{helpArticleUrl:"https://support.spaceshipapp.com/en/spaceship-care-service-guide",label1:"Secure your valuable shipment(s) and give yourself a peace of mind with Spaceship Care!",label2:"Protect Selected Shipment(s) With Spaceship Care -",options:{no:"<b>No</b> - I am willing to risk the shipment items being damaged, lost and/or stolen, and I understand that Spaceship is unable to assist in any claims if either were to occur.",yes:"<b>Yes</b> - Protect my shipment(s) against damage, loss and theft."},reminderBanner:{description:"Eligibility of selected shipment(s) for Spaceship Care will be evaluated at the time of purchase."},termsAndConditions:"Powered by InsureShield® Shipping Insurance. By using this service, you agree to our <tncUrl>Terms and Conditions</tncUrl>."},freeItemUnitValue:{description:"Since free items cannot be declared as $0 for Customs Clearance, update their unit value here to avoid under-declaration and delayed delivery.",helpArticleUrl:"https://support.spaceshipapp.com/en",helpText:"Item Currency remains unchanged when updating the unit value.",label:"Item Unit Value",reminderBanner:{description:"<ul><li>This Action only works if the currency is defined when being synced from Shopify or imported.</li><li>You are recommended to set a rule with All Shipments as Condition and this A
83ction to ensure free items' value is often updated as non-zero for smooth Customs Clearance.</li></ul>",title:"Reminders"}},itemDetails:{description:"We'll leave item details unchanged if you don’t update the item fields.",itemCountryOfManufacture:{label:"Country / Region of Manufacture"},itemCurrency:{label:"Currency",placeholder:"Select Currency"},itemDescription:{label:"Item Description"},itemDescriptionChinese:{label:"Item Description in Chinese"},itemHsCode:{label:"HS code"},itemUnitValue:{label:"Unit Selling Price"}},orgCarrierAccount:{label:"Carrier Account",placeholder:"Select Account"},packaging:{height:{label:"Height"},length:{label:"Length"},packagingWeight:{label:"Packaging Weight"},reminderBanner:{description:"<ul><li>For matched shipments with multi-packages, this setting will apply to all packages.</li><li>If all items' weights are saved at Products, the total shipment weight will be auto-calculated based on this newly saved Packaging weight and items' weights. </li><li>When you choose 'Auto-select packaging', our system selects the smallest package from your packaging list that fits your items perfectly, based on the dimensions of your items stored in your product list.</li><li>If none of the saved packages match your items' dimensions, it defaults to a standard value you've entered. </li></ul>",title:"Reminders"},width:{label:"Width"}},receiverAddress:{no:{label:"Not pre-fill as Residential Address"},yes:{label:"Always pre-fill as Residential Address"}},senderAddress:{placeholder:"Select Sender Address"},shippingPurpose:{commercialUse:{label:"Commercial Use"},personalUse:{label:"Personal Use"},returnGoods:{label:"Return Goods"},sampleUse:{label:"Sample Use"}},taxTerm:{dap:{label:"Pay By Receiver (DAP)"},ddp:{label:"Pay By Sender (DDP)"},ioss:{helpText:"This option is only available for EU Route. To enable this option, please provide IOSS No. in Settings > Taxes & Duties",label:"Pay By Sender (IOSS)"}},valueAddedServices:{label:"Select value-added services to apply",reminderBanner:{description:"Value-added services will be automatically applied to shipments matching this rule's conditions."}},validateAddress:{description:"Automatically validate receiver addresses using our AI to ensure accurate delivery information.",infoBanner:"Address validation will be performed automatically when shipping automation rules are applied. This helps reduce delivery failures and improve shipping accuracy."}},globalENotSupportedInfoBannerDesc:"This action cannot be applied to all Global-e orders.",selector:{label:"Select Action",options:{carrierService:"Carrier Service",freeItemUnitValue:"Free Item Value",itemDetails:"Update item details",packaging:"Dimension & Weight",packagingDimension:"Dimension & Weight",receiverAddress:"Receiver Address is Residential Address",senderAddress:"Sender Address",shippingPurpose:"Shipment Purpose",ssCare:"Spaceship Care",taxTerm:"Tax Term",directSignatureDelivery:"Direct Signature Delivery",validateAddress:"Validate Address with AI"},sections:{addresses:"Address",carrierService:"Carrier Service",customDeclaration:"Customs Declaration",packaging:"Package/Packaging",ssCare:"Coverage",valueAddedServices:"Value-added Services"}},title:{create:"Add Action",edit:"Edit Action"}},banner:{numOfRulesExcessLimit:{action:"View Pricing Plan",desc:"The shipping automation feature is currently not applied to your shipments because the number of enabled shipping rules supported by your plan is {{ maxLimit }}. To reactivate this feature, you may either upgrade your pricing plan or adjust the number of enabled shipping rules.",title:"Enabled Shipping Rules Exceed Plan Limit"},reminder:{desc:"Each shipment draft is compared with a rule and if matched, actions are applied before comparing with the next rule."},warning:{desc:"While the invalid actions won't be applied to shipment drafts, these rules remain active. Please check them out & update accordingly.",title:"Some Rules Contain Invalid Actions"}},button:{add:"Add New Rule",delete:"Delete",disable:"Disable",edit:"Edit",enable:"Enable"},conditionSelectionModal:{button:{add:"Add",update:"Update"},fields:{connectedStore:{label:"Store or Platform"},itemHsCode:{customHsCode:{label:"Other HS Codes",placeholder:"Type HS Code & press Enter"},description:"This condition evaluates if a shipment includes/excludes items with any Categories/HS Codes listed below.",label:"Category / HS Code",operator:{label:"Operator",options:{in:{label:"Is any of"},notIn:{label:"Is none of"}},placeholder:"Select Operator"}},itemSku:{description:"This condition evaluates whether a shipment has any, none or either 1 of the inputted item SKU(s).",example:{explanation:{case1:"items <strong>SKU-001</strong> and <strong>SKU-002</strong>, this condition matches",case2:"items <strong>SKU-002</strong> and <strong>SKU-003</strong>, this condition matches",case3:"item <strong>SKU-002-XXS</strong>, this condition doesn't match",description:"If a shipment has"},title:"Example",value:{condition:"Operator: <strong>Is any of</strong>",sku:"SKUs: <strong>SKU-001</strong>, <strong>SKU-002</strong>"}},helpText:"You can separate SKUs with a space, comma or Enter. To paste multi-SKUs, separate them with a comma, e.g. SKU-001, SKU-002.",label:"Item SKU",operator:{label:"Operator",options:{in:{label:"Is any of"},notIn:{label:"Is none of"},onlyOneOf:{label:"Is only one of"}},placeholder:"Select Operator"},placeholder:"e.g. SKU-001, SKU-002, SKU-003"},itemsTotalDeclaredValue:{label:"Total Value of Declared Item(s)",operator:{label:"Operator",options:{eq:{label:"Equal To"},gt:{label:"Greater Than"},gte:{label:"Greater Than or Equal To"},lt:{label:"Less Than"},lte:{label:"Less Than or Equal To"}},placeholder:"Select Operator"},reminderBanner:{desc1:"Total value of declared items in a shipment must be between <b>USD 10 and USD 10,000</b> to enable Spaceship Care.",desc2:"Using different currencies for shipment items and this rule c
83an lead to situations where dynamic Forex rates make the rule inapplicable to certain shipments, even if it was applicable to previous shipments with the same item values, and vice versa.",title:"Reminders"}},itemsTotalQuantity:{label:"Total Number of Items",operator:{label:"Operator",options:{eq:{label:"Equal to"},gt:{label:"Greater than"},gte:{label:"Greater Than or Equal To"},lt:{label:"Less Than"},lte:{label:"Less Than or Equal To"}},placeholder:"Select Operator"}},receiverCountry:{label:"Receiver Country/Region"},receiverPostalCode:{helpText:"You can separate Postal Codes with a space, comma or Enter. To paste multi-Postal-Codes, separate them with a comma, e.g. 30022, V4C 1H1.",label:"Postal Code",operator:{label:"Operator",options:{in:{label:"Is any of"},notIn:{label:"Is none of"},startWithOneOf:{label:"Starts with"}},placeholder:"Select Operator"},placeholder:"e.g. 30022, V4C 1H1",warningBanner:{desc1:"Inputted Postal Codes are only valid for specific countries.",desc2:"Select these countries in Route, or shipment(s) with/without these Postal Codes may match this rule, regardless of the Receiver Countries.",title:"Add Route as another Condition if"}},senderCountry:{label:"Sender Country/Region"},shipmentTag:{helpText:"<ul><li>You can add up to 50 tags for each rule</li><li>You can create new tags here or select from previously created ones</li></ul>",label:"Tags",operator:{helpText:"This condition evaluates if a shipment has any/none of the tags listed below.",label:"Operator",options:{in:{label:"Is any of "},notIn:{label:"Is none of"}},placeholder:"Select Operator"},placeholder:"Search Tags"},shopifyShippingLine:{label:"Keyword(s)",operator:{label:"Operator",options:{contain:{label:"Contains"},exact:{label:"Is Exactly"},notContain:{label:"Does Not Contain"}},placeholder:"Select Operator"}},totalWeight:{label:"Total Weight",operator:{label:"Operator",options:{eq:{label:"Equal to"},gt:{label:"Greater than"},gte:{label:"Greater than or equal to"},lt:{label:"Less than"},lte:{label:"Less than or equal to"}},placeholder:"Select Operator"},reminderBanner:{desc:"For a multi-package shipment, this condition sums up all packages’ weights to calculate total shipment weight and compares if it matches this condition or not."}}},selector:{label:"Select Condition",options:{allShipments:"All Shipments",connectedStores:"Store or Platform",itemHSCode:"Category/HS Code",itemSku:"SKU",itemsTotalDeclaredValue:"Total Value of Declared Item(s)",itemsTotalQuantity:"Total Number of Items",receiverPostalCode:"Receiver - Postal Code",route:"Route",shipmentTag:"Tags",shopifyShippingLine:"Shopify Shipping Rate",totalWeight:"Total Shipment Weight"},sections:{allShipments:"General",connectedStores:"E-Commerce",cost:"Value",item:"Item",others:"Others",route:"Location",shopifyShippingLine:"Shipping Method"}},title:{create:"Add Condition",edit:"Edit Condition"}},deleteConfirmationDialog:{confirm:"Confirm Delete",desc:"Are you sure to delete this shipping automation rule - <b>{{name}}</b> ?",title:"Delete Rule",warningBanner:{desc:"Deleting this rule will only affect newly created shipment drafts. If you want to change existing drafts, please find and edit corresponding shipment in Drafts."}},emptyState:{desc:"Add shipping rules tailored for your operation to automate shipping experience.",title:"No Shipping Rules"},form:{actions:{and:"And",button:{add:"Add Action",delete:"Delete Action",edit:"Edit Action"},cancel:"Cancel",create:"Create",deleteConfirmationDialog:{confirm:"Confirm Delete",desc:"Are you sure to delete this action - <b> {{name}} </b> ?",title:"Delete Action",warningBanner:{desc:"Deleting this action will only affect newly created shipment drafts. If you want to change existing drafts, please find and edit corresponding shipments in Drafts."}},desc:"Once a newly created shipment draft meets the above conditions, the following actions will be applied.",title:"Actions",types:{shipmentSetCarrierService:{accountDisabledWarning:"Your previously selected carrier account is currently disabled. Please select other account or reactivate the disabled carrier account.",accountNotEnabled:"The selected carrier account is currently disabled",carrierAccountDropdownPlaceholder:"Select Carrier Account",carrierServiceGroup:{desc:"Will be set to the <b> {{quotationSelectionStrategy}} </b> carrier service in <b> {{carrierServiceGroup}} </b>"}
83,defaultAccount:"Spaceship Carrier Account",desc:"Will be set to <b> {{carrierServiceName}} </b>",descWithAccount:"Will be set to <b> {{carrierServiceName}}</b> using <b>{{ carrierAccountName }}</b>",exceptionList:{desc:"You are now using the carrier account provided by Spaceship",title:"Spaceship Carrier Account"},label:"Preferred Carrier Service",needSelectEitherCarrierServiceOrGroup:"Please select either Carrier Service or Carrier Service Group",needSelectOrgCarrierAccount:"You have enabled the custom carrier account. Please specify the carrier account to be used",orgCarrierAccount:"Custom Carrier Account - {{accountName}} - {{accountNumber}}",quotationSelectionStrategy:{options:{cheapest:{label:"Cheapest"},fastest:{label:"Fastest"}}},selectionType:{carrierService:"Carrier Service",carrierServiceGroup:"Carrier Service Group"}},shipmentSetCoverageOption:{label:"Spaceship Care",options:{false:{label:"Will <b> NOT be added </b>"},true:{label:"Will be <b> added </b>"}}},shipmentSetFreeItemUnitValue:{desc:"Will be set to <b> {{freeItemUnitValue}} </b>",label:"Free Item Value"},shipmentSetItemDetails:{itemCountryOfManufacture:{desc:"Will be set to <b> {{itemCountryOfManufacture}} </b> as the country of manufacture for the item with HS code <b> {{itemHsCode}} </b>."},itemCurrency:{desc:"Will be set to <b> {{itemCurrency}} </b> as the currency for the item with HS code <b> {{itemHsCode}} </b>."},itemDescription:{desc:"Will be set to <b> {{itemDescription}} </b> as the item description for the item with HS code <b> {{itemHsCode}} </b>."},itemDescriptionChinese:{desc:"Will be set to <b> {{itemDescriptionChinese}} </b> as the item Chinese description for the item with HS code <b> {{itemHsCode}} </b>."},itemUnitValue:{desc:"Will be set to <b> {{itemUnitValue}} </b> as the item unit value for the item with HS code <b> {{itemHsCode}} </b>."},label:"Update item details"},shipmentSetPackageDimAndWeight:{autoSelect:"Will be set by <b>Auto-select packaging</b>",customBox:"Custom Package/Packaging",desc:"Will be set to <b> {{packagingName}} ({{packagingDimension}}, <error>{{packagingWeight}}</error>) </b>",invalidPackaging:"Selected Packaging is outdated and invalid. Please select another Packaging.",label:"Package/Packaging",unknownPackagingWeight:"Missing Packaging Weight"},shipmentSetPackageDimension:{customBox:"Custom Packaging",desc:"Will be set to <b> {{packageDescription}} </b>",label:"Packaging",notFound:"The previously selected Packaging has been deleted. Please select another Packaging."},shipmentSetPurpose:{desc:"Will be set to <b> {{purpose}} </b>",label:"Shipment Purpose",options:{commercialUse:{label:"Commercial Use"},personalUse:{label:"Personal Use"},returnGoods:{label:"Return Goods"},sampleUse:{label:"Sample Use"}}},shipmentSetReceiverAddressIsResidential:{label:"Receiver Address",options:{false:{label:"Will <b>NOT be set to Residential</b>"},true:{label:"Will be set to <b> Residential </b>"}}},shipmentSetSenderAddress:{desc:"Will be set to <b> {{senderAddressDescription}} </b>",label:"Sender Address",notFound:"The previously selected sender address has been deleted. Please select another address."},shipmentSetTaxTerm:{desc:"Will be set to <b>{{taxTerm}}</b>",label:"Tax Term",notFound:"The previously selected IOSS number has been disabled. Please select another IOSS number.",options:{dap:{label:"Pay By Receiver (DAP)"},ddp:{label:"Pay By Sender (DDP)"},ioss:{label:"Pay By Sender (IOSS)"}}},shipmentSetValueAddedServices:{desc:"Will apply <b>{{valueAddedServices}}</b>",label:"Value-added Services"},shipmentSetValueAddedServicesAddressTranslation:{desc:"Will apply <b>{{valueAddedServices}}</b>",label:"Value-added Services"},shipmentValidateAddressWithSmarty:{desc:"Will <b>validate receiver address</b> using our AI",label:"Validate Address"}},update:"Update"},banner:{editReminder:{desc:"Any updates of this existing rule will only be applied to newly created shipment drafts. Existing drafts will remain the same."},globalENotSupportedReminder:{desc:"This rule cannot be applied to shipments using Global-e orders because some actions are not supported."}},buttons:{cancel:"Cancel",create:"Create",update:"Update"},conditions:{and:"And",button:{add:"Add Condition",delete:"Delete Condition",edit:"Edit Condition"},deleteConfirmationDialog:{confirm:"Confirm Delete",desc:"Are you sure to delete this condition - <b>{{name}}</b> ?",title:"Delete Condition"},desc:"Select conditions that a shipment must meet to activate this shipping rule.",title:"Conditions",types:{allShipments:{desc:"Always applies",label:"All Shipments"},connectedStore:{desc:"Synced from these stores: <b> {{connectedStores}} </b>",label:"Store or Platform"},itemHsCode:{desc:"Shipment containing items with <b> {{operator}} </b> these Category/HS Code: <b> {{hsCodes}} </b>",label:"Item Category/HS Code",operator:{options:{in:{label:"Any of"},notIn:{label:"None of"}}}},itemSku:{desc:"Shipment containing items with <b> {{operator}} </b> these SKU: <b> {{skuValues}} </b>",label:"Item SKU",operator:{options:{in:{label:"Any of"},notIn:{label:"None of"},onlyOneOf:{label:"Only one of"}}}},itemsTotalDeclaredValue:{desc:"is <b>{{operator}} {{currency}} {{amount}}</b>",label:"Total Value of Declared Item(s)",operator:{options:{eq:{label:"Equal To"},gt:{label:"Greater Than"},gte:{label:"Greater Than or Equal To"},lt:{label:"Less Than"},lte:{label:"Less Than or Equal To"}}}},itemsTotalQuantity:{desc:"is <b>{{operator}} {{count}}</b>",label:"Total Number of Items",operator:{options:{eq:{label:"Equal to"},gt:{label:"Greater than"},gte:{label:"Greater than or equal to"},lt:{label:"Less than"},lte:{label:"Less than or equal to"}}}},receiverPostalCode:{desc:"<b>{{operator}}</b> these: <b>{{postalCodes}}</b>",label:"Receiver - Postal Code",operator:{options:{in:{label:"Is any of"},notIn:{label:"Is none of"},startWithOneOf:{label:"Starts with"}}}},route:{label:"Route",receiverCountry:{desc:"Ship to <b> {{countries}} </b>"},senderCountry:{desc:"Ship from <b> {{countries}} </b>"}},shipmentTag:{desc:"Shipment contains <b> {{operator}} </b> these tags: <b> {{shipmentTags}} </b>",label:"Tags",operator:{options:{in:{label:"Any of"},notIn:{label:"None of"}}}},shopifyShippingLine:{desc:'<b>{{operator}}</b> these keywords: <b>"{{keyword}}"</b>',label:"Shopify Shipping Rate",operator:{options:{contain:{label:"Contains"},exact:{label:"Is Exactly"},notContain:{label:"Does Not Contain"}}}},totalWeight:{desc:"is <b>{{operator}} {{weight}} {{unit}}</b>",label:"Total Shipment Weight",operator:{options:{eq:{label:"Equal to"},gt:{label:"Greater than"},gte:{label:"Greater than or equal to"},lt:{label:"Less than"},lte:{label:"Less than or equal to"}}}}}},errors:{invalidOperator:"Please select an operator.",missingActions:"Please select at least 1 action.",missingConditions:"Please select at least 1 condition."},feedbacks:{createSuccess:"This rule - {{name}} has been created successfully.",deleteSuccess:"This rule - {{name}} has been deleted successfully.",disabled:"This rule - {{name}} has been disabled.",enabled:"This rule - {{name}} has been enabled.",moveDownSuccess:"This rule - {{name}} has moved downward.",moveUpSuccess:"This rule - {{name}} has moved upward.",updateSuccess:"This rule - {{name}} has been updated successfully."},fields:{carrierService:{label:"Carrier Service"},carrierServiceGroup:{label:"Carrier Service Group"},description:{helpText:"Describe this rule to facilitate prioritization among different rules on the listing page.",label:"Description"},name:{helpText:"Name this rule for easy reference and prioritization on the listing page.",label:"Name"},quotationSelectionStrategy:{label:"Quotation Strategy",options:{cheapest:{label:"Cheapest"},fastest:{label:"Fastest"}}},senderAddress:{label:"Sender Address"},shipmentTag:{helpText:"You can add up to 50 tags for each rule",label:"Tags"},totalWeight:{label:"Total Shipment Weight"}},promptBlocker:{description:"Are you sure you want to leave this page? Please note that this shipping rule is not saved yet.",leave:"Leave This Page",stay:"Stay on Page",title:"Leave Shipping Automation?"},title:"Shipping Rule"},helperText:{desc:"Shipping Automation is a quick way to get one or more tasks done. The rules will be applied to newly created shipment drafts from importing and store integrations.",globalEDesc:"Shipping automation cannot be applied to shipments using Global-e assigned carrier service.",title:"Shipping Automation"},list:{then:"Then",title:"Shipping Rules ({{count}} Enabled)"},listItem:{actions:{chooseCarrierService:"Choose<b> {{carrierServiceName}} </b> as preferred Carrier Service",desc:"These actions will be applied -",types:{shipmentSetCarrierService:{carrierServiceGroup:{desc:"Set the <b> {{quotationSelectionStrategy}} </b> carrier service from <b> {{carrierServiceGroup}} </b> as Carrier Service"},desc:"Set <b> {{carrierServiceName}} </b> as Carrier Service",quotationSelectionStrategy:{options:{cheapest:{label:"Cheapest"},fastest:{label:"Fastest"}}}},shipmentSetCoverageOption:{desc:"Spaceship Care will be <b> enabled </b>
83",options:{false:{label:"Spaceship Care will <b> NOT be enabled </b>"},true:{label:"Spaceship Care will be <b> enabled </b>"}}},shipmentSetFreeItemUnitValue:{desc:"Set <b> {{freeItemUnitValue}} </b> as unit value for free items"},shipmentSetItemDetails:{desc:"{{itemHsCode}} item details will update {{itemDetails}}",itemCountryOfManufacture:{desc:"Set <b>{{itemCountryOfManufacture}}</b> as item country of manufacture for the item with HS code <b>{{itemHsCode}}</b>"},itemCurrency:{desc:"Set <b>{{itemCurrency}}</b> as the currency for the item with HS code <b>{{itemHsCode}}</b>"},itemDescription:{desc:"Set <b>{{itemDescription}}</b> as item description for the item with HS code <b>{{itemHsCode}}</b>"},itemDescriptionChinese:{desc:"Set <b>{{itemDescriptionChinese}}</b> as item description Chinese for the item with HS code <b>{{itemHsCode}}</b>"},itemUnitValue:{desc:"Set <b>{{itemUnitValue}}</b> as item unit value for the item with HS code <b>{{itemHsCode}}</b>"},options:{itemCountryOfManufacture:{label:"Country / Region of Manufacture"},itemDescription:{label:"Item Description"},itemDescriptionChinese:{label:"Item Description in Chinese"},itemUnitValue:{label:"Unit Selling Price"}}},shipmentSetPackageDimAndWeight:{autoSelect:"Set by <b>Auto-select packaging</b>",desc:"Set <b> {{packagingName}} ({{packagingDimension}}, <error>{{packagingWeight}}</error>) </b> as Package/Packaging",notFound:"The previously selected Package/Packaging has been deleted/disabled. This action is now skipped.",unknownPackage:"Deleted Package/Packaging",unknownPackagingWeight:"Missing Packaging Weight"},shipmentSetPackageDimension:{desc:"Set <b> {{packageDescription}} </b> as Package/Packaging",notFound:"The previously selected Packaging has been deleted. This action is now skipped.",unknownPackage:"Packaging Deleted"},shipmentSetPurpose:{desc:"Set <b> {{purpose}} </b> as Shipment Purpose",options:{commercialUse:{label:"Commercial Use"},personalUse:{label:"Personal Use"},returnGoods:{label:"Return Goods"},sampleUse:{label:"Sample Use"}}},shipmentSetReceiverAddressIsResidential:{options:{false:{label:"<b> DO NOT </b> pre-fill Receiver Address as <b> Residential </b>"},true:{label:"<b>Always</b> pre-fill Receiver Address as <b> Residential </b>"}}},shipmentSetSenderAddress:{desc:"Set <b> {{senderAddressDescription}} </b> as Sender Address",notFound:"The previously selected Sender Address has been deleted. This action is now skipped.",unknownAddress:"Address Deleted"},shipmentSetTaxTerm:{desc:"Set <b> {{taxTerm}} </b> as Tax Term",options:{dap:{label:"Pay By Receiver (DAP)"},ddp:{label:"Pay By Sender (DDP)"},ioss:{label:"Pay By Sender (IOSS)"}}},shipmentSetValueAddedServices:{desc:"Apply <b>{{valueAddedServices}}</b>"},shipmentSetValueAddedServicesAddressTranslation:{desc:"Apply <b>{{valueAddedServices}}</b>"},shipmentValidateAddressWithSmarty:{desc:"Validate receiver address using our AI"}}},conditions:{desc:"When a shipment meets these conditions -",from:"Ship from",showLess:"Show Less",showMore:"Show {{count}} More",to:"Ship to",types:{allShipments:{desc:"<b>All Shipments</b> will trigger the following action(s) - "},connectedStore:{desc:"Synced from these stores: <b> {{connectedStores}} </b>"},itemHsCode:{desc:"Containing items with <b> {{operator}} </b> these Category/HS Code: <b> {{hsCodes}} </b>",operator:{options:{in:{label:"Any of"},notIn:{label:"None of"}}}},itemSku:{desc:"Containing items with <b> {{operator}} </b> these SKU: <b> {{skuValues}} </b>",label:"Item SKU",operator:{options:{in:{label:"Any of"},notIn:{label:"None of"},onlyOneOf:{label:"Only one of"}}}},itemsTotalDeclaredValue:{desc:"Total value of declared item(s) is <b>{{operator}} {{currency}} {{amount}}</b>",operator:{options:{eq:{label:"Equal To"},gt:{label:"Greater Than"},gte:{label:"Greater Than or Equal To"},lt:{label:"Less Than"},lte:{label:"Less Than or Equal To"}}}},itemsTotalQuantity:{desc:"Total number of items is <b>{{operator}} {{count}}</b>",operator:{options:{eq:{label:"Equal To"},gt:{label:"Greater Than"},gte:{label:"Greater Than or Equal To"},lt:{label:"Less Than"},lte:{label:"Less Than or Equal To"}}}},receiverCountry:{desc:"Ship to"},receiverPostalCode:{desc:"Receiver - Postal Code <b>{{operator}}</b> these: <b>{{postalCodes}}</b>",operator:{options:{in:{label:"Is any of"},notIn:{label:"Is none of"},startWithOneOf:{label:"Starts with"}}}},senderCountry:{desc:"Ship from"},shipmentTag:{desc:"Shipment contains <b> {{operator}} </b> these tags: <b> {{shipmentTags}} </b>",label:"Tags",operator:{options:{in:{label:"Any of"},notIn:{label:"None of"}}}},shopifyShippingLine:{desc:'Shopify shipping rate <b>{{operator}}</b> these keywords: <b>"{{keyword}}"</b>',operator:{options:{contain:{label:"Contains"},exact:{label:"Is Exactly"},notContain:{label:"Does Not Contain"}}}},totalWeight:{desc:"Total Shipment Weight is <b>{{operator}} {{weight}} {{unit}}</b>",operator:{options:{eq:{label:"Equal to"},gt:{label:"Greater than"},gte:{label:"Greater than or equal to"},lt:{label:"Less than"},lte:{label:"Less than or equal to"}}}}}},invalidActionsFound:{"":"{{count}} invalid action(s) are found. Please update accordingly.",globalENotSupportedInfoBannerDe
83sc:"This rule cannot be applied to shipments using Global-e orders."},status:{disabled:"Disabled",enabled:"Enabled"},updatedAt:"Last Updated: {{updatedAt}}"},route:{description:"Select the sender and receiver countries/regions.",title:"Route"},specificCarrierService:{description:"Select your preferred carrier service",selectionField:{placeholder:"Select Carrier Service"},title:"Specific Carrier Service"},suggestionList:{buttons:{addRule:"Add Rule"},description:"Simplify Your Life Now",items:{spaceshipAirCosmetics:{action:"Ship with market leading {{carrierService}}",condition:"Shipping {{hsCode}}?"},spaceshipAirEconomy:{action:"Ship cost-effectively with {{carrierService}}",condition:"Shipping a lot to {{receiverCountry}}?"},spaceshipCare:{action:"Protect your goods with Spaceship Care",condition:"Shipping high value items?"}},title:"AI Recommended Automation Rules"},title:"Shipping Automation",tooltip:{maxRuleCountReached:"You can <b>enable {{maxCount}} rules at most</b> based on your current plan. Please upgrade to enable more."}},taxInfo:{banner:{iossNotEnabled:{action:"View Pricing Plan",desc:"Please upgrade your pricing plan to use the Import One-Stop Shop (IOSS) feature.",title:"Import One-Stop Shop (IOSS) is not supported in your plan"}},gstActivation:{description:"With GST registration number, customs declaration and payment of VAT for shipments to Singapore will be simplified.",gstNumberField:{contactSales:"Contact Sales",label:"Singapore's GST No.",placeholder:"e.g. 098765432A",reminder:"If you want to register GST or have any questions, please contact our Sales Team."},title:"Singapore's Goods and Services Tax (GST)"},importOnStopShopActivation:{action:{editName:"Edit Account Name",setAsDefault:"Set As Default",setAsDisabled:"Disable",setAsEnabled:"Enable"},description:"With IOSS registration number, customs declaration and payment of VAT for shipments to EU countries will be simplified (Note: Only applicable to specific carrier services)",editNameModal:{confirm:"Update",title:"Edit Account Name"},errors:{invalidFormat:"IOSS number must start with 'IM', followed by 10 numbers."},iossNumberField:{contactSales:"Contact Sales",inputHint:"IOSS number must start with 'IM' and followed by 10 numbers.",knowledgeBase:{url:"https://support.spaceshipapp.com/en/ioss-is-now-available-to-handle-eu-taxes-seamlessly"},label:"IOSS No.",placeholder:"e.g. IM0123456789",reminder:"If you want to register IOSS or have any questions, please contact our Sales Team. Visit <url>Knowledge Base</url> for more details."},iossNumberModal:{confirm:"Add",setAsDefault:"Set as default IOSS",setAsDefaultRemarks:"Only new shipment draft will apply the default IOSS number.",title:"Add IOSS"},iossType:{label:"IOSS Number Type",personal:"Personal",personalIoss:"Personal IOSS",platform:"E-commerce Platform",platformIoss:"E-commerce Platform IOSS"},name:{inputHint:"Setting up an account name ensures easy identification of your account.",label:"IOSS Account Name"},platform:{label:"E-commerce Platform",others:"Others",placeholder:"Select Type"},status:{disabled:"Disabled",enabled:"Enabled",label:"Status",pending:"Pending",rejected:"Rejected"},title:"Import One-Stop Shop (IOSS)"},save:"Save",title:"Taxes & Duties"},trackingPage:{description:"Branded tracking pages help promote your company and elevate your customers' shipping experience. After setup, visit any tracking page at Track & Trace to view your changes!",notEnabled:{action:"View Pricing Plan",desc:"Please upgrade your pricing plan to use the tracking page customization feature.",title:"Tracking Page Customization is not supported in your plan"},reminderBanner:{description:"After setting up your Tracking Page, visit any tracking page at <trackAndTraceUrl>Track & Trace</trackAndTraceUrl> to view how the latest Tracking Page looks."},sections:{contactInfo:{description:"Bring customers closer to your company by providing the right communication channels for them to ask questions.",fields:{contactPageUrl:{label:"Customer Service Page Link"},email:{label:"Email"},phone:{label:"Phone No."}}
83,reminderBanner:{description:"All the above contact info will be shown on your tracking pages to connect with your customers effectively."},title:"Contact Info"},defaultLocale:{description:"Set up the default language of your tracking page based on your customers' preference.",title:"Default Language"},display:{fields:{favicon:{hint:"Favicon is a small icon used on web browsers to represent a website.",label:"Favicon"},orgDisplay:{label:"Logo/Name",orgLogo:{label:"Logo with Brand Name",uploaded:"Uploaded"},orgName:{label:"Display Name"}},orgLogoRedirectUrl:{helpText:"Your customers will be redirected to the above link when clicking Logo/Name.",label:"Store Website"}},reminderBanner:{description:"If no organization logo and display name are provided, Spaceship Pro logo will be displayed on the tracking page as fallback. To update them, please go to <brandingPageUrl>Branding</brandingPageUrl>."},title:"Branding"}},title:"Tracking Page",toast:{savedSuccess:"Tracking Page settings saved successfully"}},users:{addUserModal:{button:{cancel:"Cancel",submit:"Add User"},field:{email:{error:{existingAccount:"This email already exists. Adding existing accounts is not supported."},helpText:"A temporary password will be generated for you to share.",label:"Email"},fullName:{label:"Full Name"}},result:{banner:"Copy the password now — we won't show it again. Share with {{fullName}} via your usual secure channel. They can change it from My Profile › Security after sign-in.",button:{done:"Done"},field:{email:{label:"Email"},temporaryPassword:{label:"Temporary Password"}},title:"User Created",toast:{passwordCopied:"Temporary Password Copied"}},title:"Add User"},badge:{you:"You"},button:{add:"+ Add User"},description:"People who can sign in to this organization. Up to 50 users. Note: The organization owner cannot be removed.",error:{generic:"Something went wrong. Please try again later."},removeUserModal:{button:{cancel:"Cancel",confirm:"Remove User"},description:"{{fullName}} will lose access to this organization immediately.",title:"Remove {{fullName}}",toast:{removed:"User Removed"}},role:{member:"User",owner:"Owner"},table:{action:{remove:"Remove"},column:{email:"Email",joined:"Joined",name:"Name",role:"Role"},footer:{result:"{{shown}}/{{total}} Result",results:"{{shown}}/{{total}} Results"}},title:"Users"},webhooks:{button:{add:"+ Add Webhook URL",delete:"Delete"},createModal:{copy:"Copy",create:"Create",description:"Create a webhook to receive real-time notifications when events occur in your Spaceship account.",done:"Done",errors:{nameRequired:"Webhook name is required",urlInvalid:"Webhook URL must start with http:// or https://"},nameHelp:"Enter a descriptive name for your webhook",nameLabel:"Webhook Name",namePlaceholder:"My first webhook",secretCopied:"Secret copied",secretWarning:"This secret will only be shown once. Please copy it and store it securely.",successDescription:"Your webhook has been created successfully. Make sure to securely store the webhook secret.",successTitle:"Webhook Created",title:"Create Webhook",urlHelp:"The URL that will receive webhook POST requests",urlLabel:"Webhook URL",webhookSecret:"Webhook Secret"},deleteModal:{confirmation:"Are you sure you want to delete this webhook? This action cannot be undone.",delete:"Delete Webhook",invalidConfirmation:"Please type <critical>{{ confirmMessage }}</critical> exactly as shown to confirm",title:"Delete Webhook",typeDelete:"Type <critical>{{ confirmMessage }}</critical> to confirm"},description:"Create a webhook to receive real-time notifications when events occur",editModal:{title:"Edit Webhook URL",toast:{updated:"Webhook updated successfully"}},emptyState:{desc:"Create an webhook key with permission to subscribe the webhook events",title:"Add Webhook URL"},table:{action:{edit:"Edit"},column:{createdAt:"Created at",name:"Name",webhookUrl:"Webhook URL"}},title:"Webhooks"}},title:"Settings"},shipmentTracking:{lastMileInfo:{carrierName:"Last Mile Carrier",title:"Last Mile Delivery",trackingNumber:"Last Mile Tracking No."},orgContactInfo:{title:"Contact Us"},shipmentDeliveryStatus:{availableForPickup:"Available for pickup",cainiaoExternalTrackingPage:"Please use <cainiaoLink>this link</cainiaoLink>
83 to track your Cainiao shipments instead of this for now.",cancelled:"Cancelled",delivered:"Delivered",dhlPaketExternalTrackingPage:"Please use <dhlPaketLink>this link</dhlPaketLink> to track your DHL Paket shipments when the shipment has not yet arrived in the destination country/region.",estimatedDeliveryDate:{title:"Estimated Delivery Date"},exception:"Exception",inTransit:"In Transit",label:"Shipment Delivery Status",outForDelivery:"Out for Delivery",processing:"Preparing",readyForPickup:"Ready for Pickup",royalMailExternalTrackingPage:"Please use <royalMailLink>this link</royalMailLink> to track your Royal Mail shipments when the shipment has not yet arrived in the destination country/region.",shipmentCancelled:"Cancelled",shipmentStatusHeading:"Shipment Status",trackingNumber:"Tracking No."},shipmentDetails:{box:"Package {{num}}",boxesWithCount:"{{count}} package",carrierService:"Carrier Service",dimensionAndWeight:"Dimension & Weight",formattedDimensionWithLabel:"L{{length}} x W{{width}} x H{{height}} cm",formattedWeight:"{{weight}} kg",heavyWeightShipmentDetails:{packages:{title:"Packages",titleWithCount:"{{count}} Packages"}},label:"Shipment Details",totalWeight:"Total Weight"},shipmentNotFound:"No Shipment Found",shipmentTravelHistory:{checkpoint:{tags:{arrivedAtFacility:{message:"Arrived at Spaceship Facility"},departedFromFacility:{message:"Departed from Spaceship Facility"},labelCreated:{message:"Label Created"},toBeCollected:{message:"To Be Collected"},toBeDroppedOff:{message:"To Be Dropped Off"}}},label:"Shipment Travel History",noTravelHistory:"No travel history found"}},spaceshipAI:{notAvailable:{desc:"This feature is currently not available for your account.",title:"Spaceship AI is not available"}},shipments:{actionRequiredShipments:"Actions Required",applyShippingRules:"Run Automation",applyShippingRulesModal:{confirmation:"You are about to run shipping automation on this shipment. Once confirmed, some shipment data may be overwritten by the shipping rules you set.",confirmationWithOrderRef:"You are about to run shipping automation on shipment <strong>{{orderRef}}</strong>. Once confirmed, some shipment data may be overwritten by the shipping rules you set.",submit:"Confirm",title:"Run Shipping Automation on Shipment"},bulkApplyShippingRulesModal:{confirmation:"You are about to run shipping automation on <strong>{{count}} shipments</strong>. Once confirmed, some shipment data may be overwritten by the shipping rules you set.",submit:"Confirm",title:"Run Shipping Automation on {{count}} Shipments"},bulkDeleteShipmentsModal:{description:"You are about to delete <strong>{{count}} shipments</strong>. Once confirmed, all shipment data will not be recovered.",submit:"Confirm Delete",title:"Delete {{count}} Shipments"},bulkEditShipmentModal:{banners:{receiverAddressResidentialAdditionalChargeBanner:{description:"Residential Surcharge may apply into shipping cost when shipping to a residential address."}},buttons:{ok:"I Understand",submit:"Update {{count}} Shipments"},category:{address:"Address",carrierService:"Carrier Service",customDeclaration:"Customs Declaration",package:"Package",ssCare:"Coverage"},fields:{carrierService:{label:"Carrier Service",placeholder:"Select Carrier Service"},customAccount:{label:"Carrier Account",placeholder:"Select Account"},editProperty:{label:"Property to edit",options:{carrierService:"Carrier Service",packageWeight:"Package Weight",packagingDimension:"Packaging Dimensions",receiverAddress:"Receiver Address is Residential Address",senderAddress:"Sender Address",shipmentPurpose:"Shipment Purpose",ssCare:"Spaceship Care",taxTerm:"Tax Term"}},packageWeight:{label:"Package Weight"},receiverAddressIsResidential:{label:"Those are all residential addresses",options:{no:"No",yes:"Yes"}},ssCare:{helpArticleUrl:"https://support.spaceshipapp.com/en/spaceship-care-service-guide",label1:"Secure your valuable shipment(s) and give yourself peace of mind with Spaceship Care!",label2:"Protect Selected Shipment(s) With Spaceship Care",options:{no:"<b>No</b> - I am willing to risk the shipment items being damaged, lost and/or stolen, and I understand that Spaceship is unable to assist in any claims if either were to occur.",yes:"<b>Yes</b> - Protect my shipment(s) against damage, loss and theft."},reminderBanner:{description:"Eligibility of selected shipment(s) for Spaceship Care will be evaluated at the time of purchase."},termsAndConditions:"Powered by InsureShield® Shipping Insurance. By using this service, you agree to our <tncUrl>Terms and Conditions</tncUrl>."}},hints:{euShipmentOnly:"IOSS option only applies to Euro route shipments.",internationalShipmentOnly:"This setting will only apply to international shipments.",multiplePackage:"If there are selected shipments containing multi-packages, this setting will apply to all the packages."},results:{error:{description:"Sorry, an unexpected error occurred. Please try again later",title:"Shipment Edit Error"},success:{description:"The selected {{count}} shipments have been successfully edited",title:"Shipments Edit Successfully"}},title:"Edit {{count}} Shipments"},bulkEditShipmentTagsModal:{optionsDescription:{add:"available tags to add",remove:"available tags to remove"},title:{add:"Add Tags to {{count}} Shipments",remove:"Remove Tags from {{count}} Shipments"}},buyShipment:"Review & Buy",cancelAndRefund:{button:{cancelAndRefund:"Cancel & Refund"},confirmation:"Once confirmed, <strong>{{ currency }} {{ totalFee }}</strong> of credit will be refunded back into your wallet and all data will not be recovered. Are you sure you want to cancel the shipment <strong>{{ orderRef }}</strong>?",submit:"Cancel Shipment",title:"Are you sure you want to cancel {{shipmentSsid}}?"},cancelShipmentModal:{button:{contactCs:"Contact CS",understand:"I Understand"},confirmation:"Are you sure you want to cancel Shipment <strong>{{ ssid }}</strong>? As the shipping label has been generated, refund will be processed automatically within 10 working days if the shipment has not been handed over to the carrier.",result:{failed:{inTransitMessage:"Shipment <strong>{{ ssid }}</strong> has been shipped and therefore cannot be cancelled.",message:"Failed to cancel Shipment <strong>{{ ssid }}</strong>. Please contact our customer service for further assistance.",title:"Cancel Shipment Failed"},success:{message:"You have cancelled Shipment <strong>{{ ssid }}</strong>. Refund will be processed automatically within 10 working days if the shipment has not been handed over to the carrier.",title:"Shipment Cancelled Successfully"}},submit:"Confirm Cancel",title:"Cancel Shipment"},cancelledShipments:{title:"Cancelled"},cloneShipment:"Duplicate Shipment",cloneShipmentModal:{cancel:"Cancel",confirm:"Confirm Duplicate Shipment",desc:"Upon confirming to duplicate this shipment, we will create a new shipment draft with the same information as this shipment.",title:"Duplicate Shipment"},confirmEditShipmentsModal:{cancel:"Cancel",confirmation:"Upon editing this shipment, it will be moved to <strong>Drafts</strong> Page.",submit:"Edit Shipment",title:"Shipment Will Be Moved to Drafts Page"},createShipment:"New Shipment",deleteShipment:"Delete",deleteShipmentModal:{confirmation:"You are about to delete this shipment. Once confirmed, all data will not be recovered.",confirmationWithOrderRef:"You are about to delete shipment <strong>{{orderRef}}</strong>. Once confirmed, all data will not be recovered.",submit:"Confirm",title:"Delete Shipment"},deliveryStatus:{arrivedAtFacility:"Arrived at Facility",arrivedDestination:"Arrived at Destination",attemptFailed:"Attempt Failed",cancelled:"Cancelled",delivered:"Delivered",exception:"Exception",expired:"Expired",fulfilled:"Fulfilled",inTransit:"In Transit",pending:"Pending",preparing:"Preparing"},downloadAndPrint:{title:"Download & Print"},downloadBatteryShippingLabel:{button:"Download Battery Shipping Label(s)"},downloadCommercialInvoice:"Download CI",downloadLabel:"Download L
83abel",downloadShippingDocument:"Download Shipping Document(s)",downloadShippingDocuments:"Download Shipping Documents",allShipments:"All Shipments",draftShipments:"Drafts",edit:"Edit",editShipment:"Edit Details",editShipmentTags:"Edit Tags",reviewAddress:"Review Address",reviewAddressModal:{title:"Review Address",save:"Save",cancel:"Cancel",loading:"Loading address...",error:"Failed to update address. Please try again.",originalAddress:"Original",banner:{invalid:{title:"AI Couldn't Find This Address",description:"Our AI couldn't locate this address. Please correct it before buying a label."},warning:{title:"AI Found Issues with This Address",description:"Our AI flagged an issue with this address. Please review and correct before buying a label."},review:{title:"Please Confirm This Recipient",description:"Our AI found this address but isn't confident it's actively receiving mail. Please confirm the recipient before buying a label."}}},validateAddress:"Validate Address",validateAddressModal:{error:{title:"Validate Addresses",description:"The address of this order is incomplete. Please fill in the full address before performing validation.",goToEdit:"Go To Edit",emptyAddress:"Please enter at least part of the address to start validation."}},editShipmentTagsModal:{footer:"Selected tags: {{count}}/250",title:"Edit Tags"},emptyState:{all:{desc:"Create your first shipment, or connect a store to import orders automatically.",title:"No shipments yet"},actionRequired:{failedCreation:{desc:"Label creation failed shipments will be shown here",title:"No Orders Found"}},actions:{goToDrafts:"Go to Drafts"},cancelled:{desc:"Cancelled shipments will be shown here"},downloadAndPrint:{desc:"Label creation success shipments will be shown here."},draft:{desc:"Created drafts will be shown here",title:"No Drafts Found"},notFound:{title:"No Shipments Found"},schedulePickup:{desc:"To be scheduled shipment will be shown here"},trackAndTrace:{desc:"Shipment tracking records will be shown here",title:"No Tracking Records"}},exportShipmentsModal:{close:"I Understand",description1:"Select a range of label creation date you want to export.",export:"Export",section:{completed:{description:"You can now download your shipments. A notification email will be sent to your email shortly as well.",title:"Your shipment(s) is ready for download."},exporting:{description:"We are preparing the shipments export you requested, it may take a while. <br/><br/>Stay in this modal to download the file directly when it's ready. Alternatively, you can close the modal, and we will email you to notify you when it's ready.",title:"{{itemCount}} Shipment(s) Exporting..."},selecting:{description:"Please select a date range for exporting the shipment records.<br/> Maximum date range for each export is 90 days."}},title:"Export Shipments"},failedCreations:"Failed Creations",feeAdjustments:"Fee Adjustments",fileClaim:"File/View a Claim",importShipments:"Import Orders",labelCreatedShipments:"Label Created",markAsDelivered:"Mark as Delivered",markAsDeliveredModal:{confirm:"Mark as Delivered",message:"You are about to mark this shipment as Delivered. Please make sure the Receiver has well received it as this step is <b>irreversible</b>, and <b>no further trackings</b> will be available after this change.",success:"This shipment has been moved to Track & Trace.",title:"Mark Shipment As Delivered"},refetch:"Refresh",schedulePickUp:"Schedule Pickup",schedulePickups:{title:"Schedule Pickups"},shipmentInstructionModal:{step1:{description:"Download and print shipping label(s), then stick on the corresponding package(s).",title:"Download and Place AWB Label"},step2:{description:"Select all shipments by clicking the checkbox on the table header or select specific shipments in corresponding rows.",title:"Select Shipments for Pickup"},step3:{description:"Select your shipment(s) and schedule a time slot for pickup.",title:"Schedule Pickup"}},shipmentReturn:{inTransitReturn:"In-Transit Return",inTransitReturnCard:{cxRemarks:"Remarks: ",defaultRemarks:"While we may take up to 3 working days to process, you will be contacted to confirm final handling of this shipment.",returnStatus:"Shipment Intercept Status",title:"Intercept Shipment",titleInProgress:"Intercept Request: In Progress",titleProcessed:"Intercept Request: Processed"},inTransitReturnModel:{messageForShipped:"We may take up to 3 working days to process, you will be contacted to confirm final handling of this shipment.",messageForUnShipped:"<strong>Only in-transit</strong> shipments are <strong>eligible</strong> for intercept. If eligible, we may take up to 3 working days to process, you will be contacted to confirm final handling of this shipment.",results:{error:{requestExists:{description:"<strong>You have requested intercepting this shipment previously.</strong><br/><br/>While we may take up to 3 working days to process, you will be contacted to confirm final handling of this shipment. Please note that the shipment interception cannot be guaranteed, but we will make our best efforts to fulfill your request."},unknownError:{description:"Encountered unknown errors when submitting this request. Please try again later."}},success:{description:"We may take up to 3 working days to process, you will be contacted to confirm final handling of this shipment. Please note that the shipment interception cannot be guaranteed, but we will make our best efforts to fulfill your request.",submit:"I Understand",title:"Intercept Requested Successfully"}},submit:"Confirm Intercept",title:"Intercept Shipment",warning:{message:" - Including but not limited to charges on intercepting, reroute, duty & taxes and other surcharges.",title:"Additional Charges May Be Incurred"}},inTransitReturnStatus:{inProgress:"In Progress",processed:"Processed"},postDeliveryReturn:{create:"Create Return Label",editShipment:{step1:{banner:{message:"This is a return shipment for the outbound shipment {{ssid}}. We've inputted shipment details based on your outbound shipment, which you can edit as needed.",title:"Return Shipment"}},step2:{banner:{message:"This return shipment will use the same package(s) and item(s) setup as the outbound shipment, and you can edit them as necessary.",title:"Review Package(s) and item(s)"}}}},relation:{originalShipment:"OUTBOUND SHIPMENT",returnShipment:"RETURN SHIPMENT {{index}}",title:"Related Shipment(s)"},requestReturn:"Intercept Shipment",returnShipment:"Return Shipment"},subtitle:{orderRef:"Order Reference: {{ref}}",ssid:"Spaceship ID: {{ssid}}"},tableList:{billByCarrier:"Bill by Carrier",bulkActions:{addTags:"Add Tags ({{count}})",bulkApplyShippingRules:"Run Automation ({{count}})",bulkBuy:"Buy Shipment ({{count}})",bulkCancel:"Cancel Shipment ({{count}})",bulkDelete:"Delete ({{count}})",bulkEdit:"Edit ({{count}})",cancelSelection:"Cancel Selection",validateAddresses:"Validate Addresses ({{count}})",commercialInvoices:"CI ({{count}})",download:"Download ({{count}})",downloadCommercialInvoices:"Download CI ({{count}})",export:"Export ({{ count }})",moreOptions:"More Options",removeTags:"Remove Tags ({{count}})",schedulePickUp:"Schedule Pickup ({{ count }})",shipmentInstruction:"Pickup Guide"},columns:{carrierService:{label:"Carrier Service"},shippingFeeStatus:{label:"Shipping Fee Status",tooltip:{pending:"Shipping fee is provisional and may increase if extra charges apply.",f
83inalized:"Shipping fee is confirmed and locked. Duties And Taxes may still be adjusted."},pending:"Pending",finalized:"Finalized"},deliveryStatus:{label:"Delivery Status"},latestTrackingCheckpoint:{label:"Latest Tracking Event"},orderReference:{label:"Order Reference"},orderSource:{label:"Order Source"},packages:{label:"Packages",packageCount:"{{count}} Packages"},paymentAmount:{label:"Rates"},pickupSsid:{label:"Spaceship Pickup ID"},prepaidCost:{label:"Pre-paid Cost"},reasons:{label:"Reasons"},receiver:{label:"Receiver"},addressValidations:{label:"Address Validations"},sender:{label:"Sender"},shipmentStatus:{label:"Status"},shipmentTrackingNumber:{label:"Tracking No."},ssid:{label:"Spaceship Shipment ID"},ssidAndCancellationDate:{label:"Spaceship Shipment ID/Cancellation Date"},status:{label:"Status",options:{cancelled:{label:"Cancelled"},cancelledByStore:{label:"Cancelled by Store"},carrierNotSelected:{label:"Carrier Not Selected"},closedByStore:{label:"Closed by Store",tooltip:"This order is fulfilled, cancelled (& refunded), or marked as paid outside of Shopify."},cancelByOrderSyncConditionUnmet:{label:"Do Not Reuse Cancelled by Store Order Sync Conditions",tooltip:"This order has been cancelled by the store and should not be reused, due to order sync conditions."},draft:{label:"Draft"},draftCancelled:{label:"Draft Cancelled"},fulfilledByStore:{label:"Fulfilled by Store"},incompleteFields:{label:"Missing/Invalid Info"},incompleteInfo:{label:"Missing/Invalid Info"},labelCancelRequested:{label:"Cancel Requested"},labelCancelled:{label:"Label Cancelled"},labelCreated:{label:"Label Created"},labelFailed:{label:"Label Failed"},labelPending:{label:"Label Pending"},quoteUnavailable:{label:"Quote Unavailable",tooltip:"This carrier service has no available quotation for this shipment. Please select another carrier service and/or edit shipment details to try again."},ready:{label:"Ready to Ship"}}}},customCarrierAccount:{label:"Your own carrier account is connected."},errorDetails:{original:"Original:",translatedBy:"Processed by AI"},estimatedDeliveryDayRange:"Estimated {{min}} - {{max}} Working Days",filters:{andWithCount:"and +{{count}}",carrierService:{label:"Carrier Services"},creationDate:{label:"Creation Date"},deliveryStatus:{label:"Delivery Status"},labelCreatedDate:{label:"Label Created Date"},orderCreationDate:{label:"Label Creation Date"},orderSource:{label:"Order Source"},receiverCountry:{label:"Receiver Country/Region"},searchField:{placeholder:"Search by Shipment ID, Order Reference or Receiver Name",placeholderWithTrackingNo:"Search by Shipment ID, Order Reference, Receiver Name or Tracking No."},senderCountry:{label:"Sender Country/Region"},shipmentStatus:{groups:{cancelled:{label:"Cancelled"},delivered:{label:"Delivered"},inTransit:{label:"In Transit"},preparing:{label:"Preparing"}},label:"Shipment Status"},shipmentTags:{label:"Shipment Tags"},addressValidationStatus:{label:"Address Validation Status"},status:{label:"Status"}},latestTrackingCheckpoint:{lastUpdatedAt:"Last updated: {{lastUpdatedAt}}"},paymentDetails:{billByCarrier:"Est. Shipping Cost (Bill by Carrier)",coverageFee:"Spaceship Care",dutiesAndTaxes:"Duties And Taxes",dutiesAndTaxesHandlingSurcharge:"D&T Handling Fee",estimatedRates:"Est. Rates",fuelSurcharge:"Fuel Surcharge",otherCharges:"Other Charges",payAtCarrier:"Est. Shipping Cost (Pay at {{ carrierName }})",payAtThirdParty:"Est. Shipping Cost (Pay at {{ thirdPartyName }})",prepaidCost:"Prepaid Cost",prepaidFreight:"Prepaid Freight",rates:"Rates",remoteAreaSurcharge:"Remote Area Surcharges",residentialSurcharge:"Residential Surcharges",seasonalSurcharge:"Demand Surcharges"},quotationSelectionStrategy:{options:{cheapest:{label:"Cheapest"},fastest:{label:"Fastest"}}},selectTips:"Please select shipment(s) for bulk actions.",selectedCountWithLimit:"{{count}}/{{limit}} Shipments Selected",sorters:{fields:{createdAt:{label:"Date Created"},labelCreatedAt:{label:"Date Created"},orderRef:{label:"Order Reference"},updatedAt:{label:"Last Updated"}},orders:{aToZ:{label:"A to Z"},newestFirst:{label:"Newest to Oldest"},oldestFirst:{label:"Oldest to Newest"},zToA:{label:"Z to A"}},title:"Sort By"},ssCare:{hasBeenEnabled:"Spaceship Care has been added and your shipment is now protected.",wasEnabled:"Spaceship Care was bought along with this shipment",willBeEnabled:"Spaceship Care will be added and your shipment will be protected."},toast:{addTagsSuccess:"Tag(s) successfully added to the selected shipment(s)",removeTagsSuccess:"Tag(s) successfully removed from the selected shipment(s)"},tooltips:{missingFields:"Some required fields are missing/invalid. Please update before buying this shipment.",dataPurged:"Address data has been purged."},unidentifiedCarrierServiceError:{tooltip:"This carrier service has no available quotation for this shipment."},addressValidation:{valid:"Valid",warning:"Warning",invalid:"Invalid",unverified:"Unverified",review:"Review",validTooltip:"Address verified and deliverable",warningTooltip:"Address needs attention",reviewTooltip:"Address exists but delivery isn't guaranteed",invali
83dTooltip:"Address not found in database",unverifiedTooltip:"Address not validated"}},trackAndTrace:{title:"Track & Trace"},viewShipment:"View Shipment"},signup:{additionalInfo:{choosingCriteria:{options:{bestPrice:"Best price",faster:"Fast",other:"Other Criteria",trustworthy:"Trustworthy"},other:{placeholder:"Please enter other criteria",title:"Other Criteria"},title:"Criteria of selecting a carrier service"},desc:"We want to help you ship better. Tell us more about your store so we can tailor the setup according to your shipping needs.",eCommercePlatform:{other:{placeholder:"eg. eBay",title:"Others (Please Specify)"},othersOption:"Others - Please specify",placeholder:"E-commerce Platforms",title:"E-commerce platform of your business"},estimatedNumOfShipments:{options:{minToMaxTimes:"{{min}} - {{max}}",overMinTimes:"{{min}} up",underMaxTimes:"Under {{max}}"},title:"Estimated no. of shipments per month"},isNonECommercePlatformsUser:{label:"I am a personal shipper without any stores",notes:"If you primarily ship for personal purposes, e.g. sending packages to your loved ones, check out <linkToPersonal>Spaceship Personal</linkToPersonal>. It's designed for individuals like you who ship personally."},phoneNumber:{helperText:"This will be the contact no. of the account holder."},section:{aboutYou:"ABOUT YOU",aboutYourShop:"ABOUT YOUR BUSINESS"},site:{title:"Company Site / Social Media Link"},title:"Customize Shipping Preferences"},agreeTnC:"By signing up, you agree to our <tncLink>Terms and Conditions</tncLink> and <ppLink>Privacy Policy</ppLink>.",beforeSkip:{heading:"Spend 10 Seconds for a Personalized Experience!",info:"You'll enjoy a <strong>highly personalized</strong> shipping experience<br /> just by spending 10 seconds or less!"},button:{finish:"Finish",goBackToSetup:"← Back to Customization Setup",proceedToSpaceshipPro:"Continue without Customization",skip:"Skip",submitBasicInfo:"Sign Up Now"},errors:{userExists:"User email already exists"}
83,forBusiness:"For Business",form:{email:"Work Email",name:"Full Name"},login:{hint:"Already have an account? <a>Log in</a>"},loginTitle:"Login",marketingStatements:{benefitsFastCheckout:"Experience fast e-commerce shipping",benefitsShipmentTrack:"Track your shipments in real time",subscriptionPlan:"*Subscription plan details will be further announced",unlimitedTrial:"Unlimited trials in the new launch*"},termsAndConditions:"By continuing, you agree to our <tncLink>Terms and Conditions</tncLink> and <ppLink>Privacy Policy</ppLink>.",title:"Sign Up - Spaceship Pro for Business",title2:"Sign Up or Log In",validation:{passwordTooLong:"The password exceeds the maximum limit of 255 characters",passwordTooShort:"Password must be at least 6 characters long"},welcome:{button:"Continue with Email",email:"Work Email",title:"Welcome to Spaceship Pro"}},storeIntegrations:{addIntegration:"Add Store",addStoreToShip:{description:"Connect store(s) to your Spaceship Pro account to sync your orders and manage your preferences.",title:"Connect store(s) to ship your orders"},connect:"Connect",connectedStoreCard:{settings:"Settings",storeConnected:"{{name}} is connected"},shopifyPreConfig:{connectNow:"Connect Now",fields:{address:"Sender Address",hsCode:{label:"Category/HS Code"},itemWeight:{label:"Item Weight"},packaging:"Packaging",shipmentPurpose:{label:"Shipment Purpose"},shipmentType:{domestic:{label:"No, my store has domestic shipments only"},international:{label:"Yes, my store has both international & domestic shipments"},label:"Does your store sell globally?"},syncAllProduct:{label:"Sync products from my store"},syncUnfulfilledOrdersCreatedIn:{label:"Sync unfulfilled orders created in"}},step:{senderAddressAndPackaging:{description:"Set up default basic info to have all synced orders auto-filled & package weights auto-calculated!",packagingTitle:"Dimension & Weight",title:"Basic Info Defaults"},shipmentDetails:{customsDeclarationInfo:{description:"If your store sells overseas, fill in the following to ensure all synced orders are auto-filled for hassle-free Customs clearance!",title:"Set up for Seamless Customs Declaration"},fallbackItemSettings:"Item",forInternationalShipmentsOnly:"International Shipment Fallbacks"},syncOrdersAndProducts:{description:"Sync orders & products now! You're just 1 click away from auto-filled shipment drafts! 😍",title:"Order & Product Sync"}},title:"Connect Shopify Store <stepText>( {{currentStep}} / {{maxSteps}} )</stepText>"},shopifyStoreConnector:{connect:"Connect",description:"Entering your store URL to connect to Shopify account.",errors:{storeIsAlreadyConnectedToAnotherAccount:"This store has already connected by another Spaceship account."},fields:{shopDomain:{label:"Store URL"}},title:"Connect Shopify"},title:"Store Integration"},stripeSetupIntentCallback:{errors:{statusNotSucceeded:"Payment method setup is not succeeded. Please try another payment method."}},subscription:{affectedFeature:{earlyBird:`<list>\r
84<notSupportedItem>Import Shipments to Hong Kong</notSupportedItem>\r
85<notSupportedItem>Shipment Intercept and Create Return Labels</notSupportedItem>\r
86<notSupportedItem>Import One-Stop Shop (IOSS)</notSupportedItem>\r
87<notSupportedItem>Multi-Piece Shipments</notSupportedItem>\r
88<notSupportedItem>Custom Carrier Accounts</notSupportedItem>\r
89<notSupportedItem>Customizable Packaging</notSupportedItem>\r
90<notSupportedItem>Customizable Tracking Page</notSupportedItem>\r
91<notSupportedItem>Customizable Labels</notSupportedItem>\r
92<notSupportedItem>API</notSupportedItem>\r
93<warningItem>Shipping Automation rules reduced to 1</warningItem>\r
94</list>`,enterprise:`<list>
95<notSupportedItem>Import Shipments to Hong Kong</notSupportedItem>
96<notSupportedItem>Shipment Intercept and Create Return Labels</notSupportedItem>
97<notSupportedItem>Import One-Stop Shop (IOSS)</notSupportedItem>
98<notSupportedItem>Multi-Piece Shipments</notSupportedItem>
99<notSupportedItem>Custom Carrier Accounts</notSupportedItem>
100<notSupportedItem>Customizable Packaging</notSupportedItem>
101<notSupportedItem>Customizable Tracking Page</notSupportedItem>
102<notSupportedItem>Customizable Labels</notSupportedItem>
103<notSupportedItem>API</notSupportedItem>
104<warningItem>Shipping Automation rules reduced from unlimited to 1</warningItem>
105</list>`,growth:`<list>
106<notSupportedItem>Import Shipments to Hong Kong</notSupportedItem>
107<notSupportedItem>Shipment Intercept and Create Return Labels</notSupportedItem>
108<notSupportedItem>Import One-Stop Shop (IOSS)</notSupportedItem>
109<notSupportedItem>Multi-Piece Shipments</notSupportedItem>
110<notSupportedItem>Custom Carrier Accounts</notSupportedItem>
111<notSupportedItem>Customizable Packaging</notSupportedItem>
112<notSupportedItem>Customizable Tracking Page</notSupportedItem>
113<notSupportedItem>Customizable Labels</notSupportedItem>
114<notSupportedItem>API</notSupportedItem>
115<warningItem>Shipping Automation rules reduced from 50 to 1</warningItem>
116</list>`,startup:`<list>
117<notSupportedItem>Import Shipments to Hong Kong</notSupportedItem>
118<notSupportedItem>Shipment Intercept and Create Return Labels</notSupportedItem>
119<notSupportedItem>Import One-Stop Shop (IOSS)</notSupportedItem>
120<notSupportedItem>Multi-Piece Shipments</notSupportedItem>
121<notSupportedItem>Custom Carrier Accounts</notSupportedItem>
122<notSupportedItem>Customizable Packaging</notSupportedItem>
123<notSupportedItem>API</notSupportedItem>
124<warningItem>Shipping Automation rules reduced from 10 to 1</warningItem>
125</list>`},backToSettings:"Back to Settings",banner:{freeTrialNearEnd:{desc:"Please note that you will be downgraded to Free Plan, some of the features you currently enjoying will be affected.",title:"You free trial on Growth Plan will be expired in {{ days }} day(s)"},planEnd:{desc:"Your subscription plan has ended. You have the option to use the free plan or upgrade to access amazing paid features. Upgrade now to enjoy these features.",title:"Your Subscription Plan Has Expired"},planNearEnd:{desc:"Please note that some of the features you currently enjoying will be affected.",title:"You will be downgraded to Free Plan in {{ days }} day(s)"}},button:{manageSubscription:"Manage Subscription"}
125,chargePeriodTab:{monthly:"Monthly",yearly:"Annual - Save up to 20%"},currentPlanCard:{currentPlan:"Current Plan",expireOn:"Plan expires on",nextBillingAt:"Next Billing"},model:{confirmCancel:{action:{continueCancel:"Continue to Cancel",keepSubscription:"Keep Subscription"},desc:"When you confirm cancellation, you will be downgraded to our Free Plan after {{ expiredDate }}.",subTitle:"Are you sure to cancel the subscription?",title:"Cancel Paid Subscription"}},planCard:{billingPeriod:{annual:"Billed Annualy. <success>Save 20%.</success>",monthly:"Billed Monthly"},button:{chooseCurrentPlan:"Choose Plan",contactSales:"Contact Sales",currentPlan:"Current Plan",downgrade:"Downgrade",upgrade:"Upgrade"},currentPlan:"Current Plan",details:{description:{earlyBird:"Details description for early bird plan",enterprise:"Empower your business with unlimited shipping automation rules.",free:"Basic features that allow you to ship HK domestically and export internationally.",growth:"Increase efficiency by up to 50 shipping automation rules.",startup:"Increase flexibility by supporting importing shipments from international to HK and sending multipiece shipments."},title:{earlyBird:"For existing users",enterprise:"For Large E-commerce",free:"For Startups & Small E-commerce",growth:"For Medium to Large E-commerce",startup:"For Small E-commerce"}},feature:{earlyBird:"<feature>2,000 Shipping Labels per Month</feature> <feature>Quick Shipment Quote</feature> <feature>API Integration</feature> <feature>50 Shipping Automation</feature>",enterprise:`<feature>Discounted Shipping Rates - Spaceship Air - Up to 50% off</feature>
126<feature>Discounted Shipping Rates - FedEx, DHL, UPS etc. - Up to 91% off</feature>
127<feature>Quick Shipment Quote</feature>
128<feature>Detailed Shipment Tracking</feature>
129<feature>Public Tracking Page</feature>
130<feature>International Exports</feature>
131<feature>Goods Imports</feature>
132<feature>Pickup Management</feature>
133<feature>Shipment Intercept and Create Return Labels</feature>
134<feature>IOSS Support</feature>
135<feature>Multi-Piece Shipments</feature>
136<feature>Unlimited Custom Carrier Accounts</feature>
137<feature>Shopify Integrations</feature>
138<feature>Buyer Notifications</feature>
139<feature>Excel/CSV Import</feature>
140<feature>SKU Management</feature>
141<feature>Support Merging Shipping Documents for Printing</feature>
142<feature>Support A4 and Thermal Printing</feature>
143<feature>Customizable Packaging</feature>
144<feature>Customizable Tracking Page</feature>
145<feature>Customizable Labels</feature>
146<feature>Data Dashboard</feature>
147<feature>Unlimited Shipping Automation</feature>
148<feature>Spaceship Care</feature>
149<feature>Detailed Billing</feature>
150<feature>API Integration</feature>
151<feature>Email Support</feature>
152<feature>Live Chat Support</feature>
153<feature>Phone Support</feature>
154<feature>Dedicated Account Manager</feature>
155`,free:`<feature>Discounted Shipping Rates - Spaceship Air - Up to 50% off</feature>
156<feature>Discounted Shipping Rates - FedEx, DHL, UPS etc. - Up to 91% off</feature>
157<feature>Quick Shipment Quote</feature>
158<feature>Detailed Shipment Tracking</feature>
159<feature>Public Tracking Page</feature>
160<feature>International Exports</feature>
161<feature>Goods Imports</feature>
162<feature>Pickup Management</feature>
163<feature>Multi-Piece Shipments</feature>
164<feature>Shopify Integrations</feature>
165<feature>Buyer Notifications</feature>
166<feature>Excel/CSV Import</feature>
167<feature>SKU Management</feature>
168<feature>Support Merging Shipping Documents for Printing</feature>
169<feature>Support A4 and Thermal Printing</feature>
170<feature>Data Dashboard</feature>
171<feature>Max. 1 Shipping Automation</feature>
172<feature>Spaceship Care</feature>
173<feature>Detailed Billing</feature>
174<feature>Email Support</feature>`,growth:`<feature>Discounted Shipping Rates - Spaceship Air - Up to 50% off</feature>
175<feature>Discounted Shipping Rates - FedEx, DHL, UPS etc. - Up to 91% off</feature>
176<feature>Quick Shipment Quote</feature>
177<feature>Detailed Shipment Tracking</feature>
178<feature>Public Tracking Page</feature>
179<feature>International Exports</feature>
180<feature>Goods Imports</feature>
181<feature>Pickup Management</feature>
182<feature>Shipment Intercept and Create Return Labels</feature>
183<feature>IOSS Support</feature>
184<feature>Multi-Piece Shipments</feature>
185<feature>Max. 3 Custom Carrier Accounts</feature>
186<feature>Shopify Integrations</feature>
187<feature>Buyer Notifications</feature>
188<feature>Excel/CSV Import</feature>
189<feature>SKU Management</feature>
190<feature>Support Merging Shipping Documents for Printing</feature>
191<feature>Support A4 and Thermal Printing</feature>
192<feature>Customizable Packaging</feature>
193<feature>Customizable Tracking Page</feature>
194<feature>Customizable Labels</feature>
195<feature>Data Dashboard</feature>
196<feature>Max. 50 Shipping Automation</feature>
197<feature>Spaceship Care</feature>
198<feature>Detailed Billing</feature>
199<feature>API Integration</feature>
200<feature>Email Support</feature>
201<feature>Live Chat Support</feature>
202<feature>Phone Support</feature>`,startup:`<feature>Discounted Shipping Rates - Spaceship Air - Up to 50% off</feature>
203<feature>Discounted Shipping Rates - FedEx, DHL, UPS etc. - Up to 91% off</feature>
204<feature>Quick Shipment Quote</feature>
205<feature>Detailed Shipment Tracking</feature>
206<feature>Public Tracking Page</feature>
207<feature>International Exports</feature>
208<feature>Goods Imports</feature>
209<feature>Pickup Management</feature>
210<feature>IOSS Support</feature>
211<feature>Multi-Piece Shipments</feature>
212<feature>Max. 1 Custom Carrier Account</feature>
213<feature>Shopify Integrations</feature>
214<feature>Buyer Notifications</feature>
215<feature>Excel/CSV Import</feature>
216<feature>SKU Management</feature>
217<feature>Support Merging Shipping Documents for Printing</feature>
218<feature>Support A4 and Thermal Printing</feature>
219<feature>Customizable Packaging</feature>
220<feature>Data Dashboard</feature>
221<feature>Max. 10 Shipping Automation</feature>
222<feature>Spaceship Care</feature>
223<feature>Detailed Billing</feature>
224<feature>API Integration</feature>
225<feature>Email Support</feature>
226<feature>Live Chat Support</feature>`,titleIncludes:"Includes"},labelsVolume:"{{ labelsVolume }} Labels /Month",name:{earlyBird:"Early Bird",enterprise:"Enterprise",free:"Free",growth:"Growth",startup:"Startup"},popular:"Popular",price:{contactSales:"Contact Sales For Details",monthly:"USD {{ price }} /Month",yearly:"USD {{ price }} /Year"},shippingLimits:{counter:"{{ numOfLabelCreated }} / {{ labelsVolume }} Monthly Limit",title:"Shipping Labels"},unlimitedLabelsVolume:"Unlimited"},title:"Pricing Plans"},trackAndTrace:{stats:{exception:{hint:"Shipment is under some unconventional conditions like Customs detention, lost, abandoned, returned, etc."},fulfilled:{hint:"Shipment with label created and pickup scheduled/drop-off selected."}}},viewProducts:{lastUpdated:"Last Updated: {{updatedAt}}",prepareForStockIn:{button:"Print Storage Labels",description:"Attach a storage label to each item you're sending to the warehouse. This helps our team process your inventory quickly and accurately.",error:{failedToDownloadProductLabel:"Failed to download product label, please try again later."},storageSku:"STORAGE SKU",barcode:"Barcode",title:"Prepare for Stock In"},section:{basicInfo:{title:"Basic Info"},cnPostalTaxCode:{title:"Additional Details for Shipment to Mainland China"},customDeclaration:{title:"Customs Declaration"},productInfo:{productType:{options:{carton:"Carton",packagingMaterial:"Packaging Material",sellableProduct:"Sellable Product"}},title:"Product Info"}},title:{barcode:"Barcode (ISBN, UPC, GTIN, etc.)",brand:"Brand Name",categoryAndHsCode:"Category/HS Code",cnPostalTaxCode:"Mainland China Personal Postal Articles Tax Code",cnTaxCatagory:"Category of Personal Postal Articles Tax Code",country:"Country/Region of Manufacture",customPackagingMaterials:"Custom Packaging Material(s)",dimension:"Dimension",itemDescription:"Item Description in English/Chinese",name:"Product Name",packagingRequirement:"Packaging Requirement",productType:"Product Type",sku:"SKU",unitPackagingSpec:"Unit Packaging Spec",unitValue:"Unit Value",weight:"Weight"}},wallet:{tab:{creditNotes:"Credit Notes",invoices:"Invoices",receipts:"Receipts",transactions:"Transactions"},title:"My Wallet"},warehouseReceivingOrder:{action:{cancelWarehouseReceivingOrder:"Cancel",viewWarehouseReceivingOrder:"View Details"},addWarehouseReceivingOrder:{title:"Create Receiving Order"},carrier:{label:"Ship by Carrier"},cartons:{fields:{height:{label:"Carton Height"},length:{label:"Carton Length"},qty:{label:"Carton Qty"},totalQty:{label:"Total Item Qty"},weight:{label:"Carton Weight"},width:{label:"Carton Width"}}},cartonsTable:{heading:{cartonQty:"Carton Qty",qtyPerCarton:"Items/Carton",skuProducts:"SKU / Products",total:"Total"}},completedAt:{label:"Completion Date"},create:{back:{title:"Back to Inventory"},button:{edit:"Edit"},section:{basicInfo:{title:"Basic Info"},cartons:{button:{addCartonAction:"Add Carton",import:"Import Cartons"},emptyState:{b2b:{button:"Add Inventory",desc:"Store products in cartons or pallets, ready for wholesale and large-volume shipments.",import:"Import",title:"Inventory for wholesale fulfillment"},b2c:{button:"Add Inventory",desc:"Store products on shelves, ready to pick and pack for individual customer orders.",import:"Import",title:"Inventory for single-item order fulfillment"},packing_material:{button:"Add Packing Materials",desc:`Add packaging materials like boxes, foam, and stickers for smoother B2C fulfillment.
227`,import:"Import",title:`Inventory for custom packing materials
228`}},title:"Packing List"},error:{empty:{b2b:"Add at least one carton",b2c:"Add at least one carton of products",carton:"Add products fulfilled by entire cartons",packing_material:"Add at least one packing material",product:"Add products fulfilled by individual items"},emptyItem:"Add products fulfilled by individual items"},items:{button:{addProductAction:"Add Product",import:"Re-import"},emptyState:{button:"Add Product",carton:{button:"Add Carton",desc:"Add products fulfilled by entire cartons",import:"Import Carton List",title:"Add Carton"},desc:"Add products fulfilled by individual items",product:{button:"Add Product",desc:"Add products fulfilled by individual items",import:"Import Product List",title:"Add Product"},title:"Add Product"},fields:{barcode:{alert:"Please input barcode",label:"Barcode",popover:{button:"Save",field:{label:"Barcode"}}},expectedQty:{label:"Expected Quantity"},expiryDate:{label:"Expiry Date"},finalQty:{label:"Actual Quantity"},lotNumber:{label:"Lot No."},productType:{carton:"Carton",packagingMaterial:"Packaging Material",sellableProduct:"Sellable Product"},qty:{label:"Quantity"},remarks:{label:"Remarks"},totalCost:{label:"Total Cost"}},importModal:{button:{downloadTemplate:"Download Template",ok:"OK",upload:"Upload"},description:"Before importing items, ensure that the product SKU is included in the product listing.",fieldsMapping:{field:{currency:{label:"Currency"},expectedQty:{label:"Quantity"},expiryDate:{label:"Expiry Date"},lotNumber:{label:"Lot No."},remarks:{label:"Remarks"},sku:{label:"SKU"},unitValue:{label:"Unit Cost"}}},importResult:{failed:{button:{importAgain:"Import Again"},column:{reasons:"Reasons",rowIndex:"Row#",sku:"SKU"},description:"<strong>{{failedCount}} of {{totalCount}}</strong> rows in the excel/CSV file have incorrect information or missing fields. Please update the file and try importing again. This entire batch of orders will not be imported.",reasons:{mismatchedFieldInSameGroup:"All rows under the same SKU should have the same {{field}}.",warehouseReceivingOrderItemInvalidValueInField:"{{field}}
228 is invalid.",warehouseReceivingOrderItemMissingRequiredField:"Missing {{field}}.",warehouseReceivingOrderItemSkuNotFoundInProductList:"SKU not found in product listing.",warehouseReceivingOrderItemUnknown:"{{field}} has unknown error.",warehouseReceivingOrderItemValueTooBig:"{{field}} should be {{max}} characters long or below.",warehouseReceivingOrderItemValueTooSmall:"{{field}} value is too small. (Min. value: {{min}})"},title:"Import Failed"},success:{description:"<strong>{{ totalCount }}</strong> items imported",title:"Import Successfully"}},title:{carton:"Import Carton List",product:"Import Product List"},uploadFile:{error:{multipleProductTypesFound:{carton:"You can only include Cartons in the file.",product:"You can only include Non-Carton Products in the file."},unknown:"{{count}} {{field}} encountered unknown errors. Please try to import again."},maxFileSize:"Max. File Size: {{size}}",maxRowLimit:"Row Limit: {{limit}}",requirements:"File Requirements",supportedFileTypes:"Support format: {{types}}"}},title:"Incoming Inventory",warningBanner:{desc:"Each Receiving Order can only contain inventories of the <strong>same Product Type</strong> for warehouse to handle smoothly. To change Product Type, please remove all selected products first."}},receivingHandling:{title:"Receiving Handling"},warehouse:{contactNumber:{label:"Contact No."},selection:{label:"Address",placeholder:"Select Address"},title:"Warehouse"}}},createdAt:{label:"Creation Date"},details:{section:{baseInfo:{title:"Basic Info"},datetime:{title:"Receiving Order Dates"}}},editWarehouseReceivingOrder:{title:"Update Receiving Order"},expArrivalDate:{label:"Expected Arrival Date"},expectedArrivalDate:{label:"Expected Arrival Date"},form:{addWarehouseReceivingOrder:{submit:"Add Order"},banner:{doubleConfirmInfo:"Please ensure all inputs are accurate to avoid delays or inaccuracies in processing. <b>You are responsible for reviewing and verifying all info above. </b>"},editWarehouseReceivingOrder:{edit:"Update order",submit:"Update Receiving Order"},errors:{title:"Error",forbiddenSku:"Product with SKU '{{sku}}' cannot be included in warehouse receiving order for this organization",forbiddenProduct:"Some product cannot be included in warehouse receiving order for this organization",inventoryPoolMismatch:"SKU '{{sku}}': product Storage Type ({{productStorageType}}) does not match Receiving Order Storage Type ({{wroStorageType}}).",inventoryPoolMismatchWithoutSku:"Product Storage Type ({{productStorageType}}) does not match Receiving Order Storage Type ({{wroStorageType}}).",inventoryTypeRequired:"Storage Type is required for this warehouse. Please select a Storage Type, or use products that share a single Storage Type.",invalidProductType:"Each Receiving Order can only contain inventories of the same Product Type for warehouse to handle smoothly. To change Product Type, please remove all selected products first.",unknown:"An unexpected error occurred",warehouseRequiredBeforeAddingItems:"Please select target warehouse"},fields:{cartons:{addCarton:{title:"Add Inventory"},editCarton:{title:"Edit Inventory"}},expectedArrivalDate:{label:"Expected Arrival Date",placeholder:"Select Date"},id:{label:"Spaceship ID"},inboundHandlingMethod:{label:"Handling Method",options:{carton:{label:"Carton Out"},pallet:{label:"By Pallet"},product:{label:"Piece Out"}},placeholder:"Select Handling Method"},items:{productDimensionError:"Please enter the product dimensions in 'Products' List.",addItem:{carton:{title:"Add Carton"},product:{title:"Add Inventory"},title:"Add Product"},editItem:{carton:{title:"Edit Carton"},product:{title:"Edit Product"},title:"Edit Product"},fields:{batchCode:{label:"Batch Code"},currency:{label:"Currency",placeholder:"Select Currency"},expectedQtyPerCarton:{suffix:"Qty/Carton"},expiryDate:{label:"Expiry Date",placeholder:"Select Expiry Date"},lotNumber:{label:"Lot No."},name:{error:{required:"Please select an item"},label:"Item Name"},productType:{options:{packagingMaterial:{label:"Packaging Materials"},sellableProduct:{label:"Sellable Products"}}},quantity:{label:"Quantity"},remarks:{label:"Remarks",placeholder:"E.g. This Product is fragile, please handle with extra care.",placeholderCarton:"E.g. This Carton contains fragile items, please handle with extra care.",placeholderPallet:"ä¾
228‹å¦‚:此板貨內含易碎品,請小心輕放。"},unitCost:{label:"Unit Cost"}}},numberOfCartons:{label:"Number of Cartons"},numberOfPallets:{label:"Number of Pallets"},orderRef:{label:"PO No."},packingList:{desc:"You can upload the packing list to help the warehouse verify the correct quantity of received items.",error:{maxFileSize:"File size exceeds the limit of {{size}}.",unknown:"{{count}} {{field}} encountered unknown errors. Please try to import again."},label:"Packing List",maxFileSize:"Max. File Size: {{size}}",maxRowLimit:"Row Limit: {{limit}}",requirements:"File Requirements",supportedFileTypes:"Support format: {{types}}",upload:"Upload Packing List"},purchaseOrderNumber:{label:"Purchase Order No."},receivingHandling:{label:"Receiving Type",options:{carton:{label:"Carton In"},pallet:{label:"Pallet In"}}},remarks:{helpText:"Specify your requirements about item handling here for communication with warehouse workers.",label:"Remarks"},shipByCarrier:{label:"Ship by Carrier"},supplierName:{label:"Supplier"},trackingNumber:{label:"Tracking/Booking No."},unitValue:{label:"Unit Value"}},section:{" packingDetail":{label:"Packing Detail"},packingDetail:{label:"Packing Materials Details"},productDetail:{label:"Select items to pack in the same carton"}}},id:{label:"Spaceship ID"},inventoryType:{label:"Storage Type",options:{b2b:{label:"Wholesale Inventory"},b2c:{label:"Unit Pick Inventory"},packing_material:{label:"Packaging Inventory"},unset:{label:"Unset"}}},modal:{cancelWarehouseReceivingOrder:{confirmation:"You are about to cancel this Receiving Order <strong>#{{ id }}</strong>. Once cancelled, all data will not be recovered.",submit:"Confirm Cancel",title:"Cancel Receiving Order"}},model:{printLabels:{button:"Print Labels",desc:"This helps our team process your inventory quickly and accurately.",heading:"Attach a box label to each carton box you're sending to the warehouse.",title:"Prepare for Stock In"}},numOfCartons:{label:"Number of Cartons"},orderRef:{label:"PO No."},packingList:{label:"Packing List"},billing:{title:"Charges"},prepareStockIn:{title:"Prepare for Stock In"},printLabels:{button:"Print Labels",desc:"Attach a label to each carton you're sending to the warehouse. This helps our team process your inventory quickly and accurately."},purchaseOrderNumber:{label:"Purchase Order No."},receivedAt:{label:"Actual Arrival Date"},remarks:{label:"Remarks"},supplier:{label:"Supplier"},tableList:{columns:{carrierService:{label:"Carrier Service"},completedDate:{label:"Completion Date"},creationDate:{label:"Creation Date"},expectedArrivalDate:{label:"Expected Arrival Date"},inboundHandlingMethod:{label:"Handling Method",options:{carton:{label:"By Carton"},product:{label:"By Product"}}},inventoryType:{label:"Storage Type"},numOfCartons:{label:"Total Cartons"},orderRef:{label:"PO No."},receivedDate:{label:"Actual Arrival Date"},ssid:{label:"Spaceship ID"},status:{label:"Status"},warehouse:{label:"Warehouse"}},filters:{carrierService:{label:"Carrier Service"},creationDate:{label:"Creation Date"},inboundHandlingMethod:{label:"Handling Method",options:{carton:{label:"By Carton"},product:{label:"By Product"}}},searchField:{placeholder:"Enter Spaceship ID"},warehouse:{label:"Warehouse"}}},trackingNo:{label:"Tracking No."},warehouseInfo:{label:"Warehouse Info"},wroItems:{label:"Incoming Inventory",list:{label:"Details"}}},welcome:{agreeTnC:"By clicking “Continue With Email Address”, you agree to our <tncLink>Terms and Conditions</tncLink> and <ppLink>Privacy Policy</ppLink>.",button:"Continue with Email",subtitle:"Thousands of our merchants are already using Spaceship Pro to improve their shipping. Let’s get started!",title:"Welcome to Spaceship Pro"}},i4e={common:{asap:"As Soon As Possible",pickupType:{direct:"Direct Pickup",thirdParty:"First Mile"}},details:{totalCost:{title:"Pickup Fee",tooltipContent:"The shipment fee is calculated based on the information you provided. If the actual volume or weight is different from what is provided, or there are additional charges in transit (including delivery charges, customs duties and return fees), the corresponding adjustment fee arrangement will be made."}},modal:{exportPickups:{button:{close:"I Understand",export:"Export",trigger:"Export Pickups"},section:{completed:{description:"You can now download your pickups. A notification email will be sent to your email shortly as well.",title:"Your pickup(s) is ready for download."},exporting:{description:"We are preparing the pickups export you requested, it may take a while. <br/><br/>Stay in this modal to download the file directly when it's ready. Alternatively, you can close the modal, and we will email you to notify you when it's ready.",title:"{{itemCount}} Pickup(s) Exporting..."},selecting:{description:"Please select a date range for exporting the pickup records.<br/> Maximum date range for each export is 90 days."}},title:"Export Pickups"},schedulePickupInstruction:{button:{goToSchedulePickups:"Go to Schedule Pickups"},step1:{description:"Go to “Schedule Pickups” page on the menu bar",title:"Go to Schedule Pickups"},step2:{description:"Select all or specific shipments by clicking the checkbox on the left side of the list.",title:"Select Shipments"},step3:{description:"Click “Schedule Pickup” located on bottom right corner, then select a time slot for pickup.",title:"Schedule Pickup"}
228,title:"Schedule Pickup Instruction"}},table:{common:{column:{action:{viewDetails:"View Details"},carrierService:{label:"Carrier Service"},createdAt:{label:"Pickup Created At"},pickupFee:{billedByCarrier:"Billed by Carrier",free:"Free",label:"Pickup Fee Paid"},pickupNumber:{label:"Pickup Reference No."},pickupTime:{label:"Scheduled Pickup Time (Local)"},ssid:{label:"Spaceship Pickup ID"},toBePickedUp:{bagCount:"Outer Packaging: {{count}}",label:"To Be Picked Up",shipmentCount:"{{count}} Shipment(s)"}},filter:{carrierService:{label:"Carrier Service",tag:"Carrier Services: {{carrierService}}"},pickupTime:{label:"Scheduled Pickup Time (Local)",tag:"Scheduled Pickup Time (Local): {{start}} to {{end}}"},query:{placeholder:"Search by Shipment ID, Pickup ID or Pickup Reference No."}}},history:{emptyState:{description:"Picked up records will be displayed here",title:"No Pickup History"}}},viewShipment:{backTo:{pickups:"Back to Scheduled"},goTo:{pickups:"Go to Scheduled"},pickupNotAvailable:"This shipment is cancelled or no longer available"}},a4e={addressLine1:"Receiver Address Line 1"},o4e={submit:{button:"Submit"}},s4e={form:{aramexSameDayPickupNotes:"If you want to schedule <strong>same day</strong> pickup, please schedule it before 11am.",asap:{badge:"Today (As Soon As Possible)",description:{cainiao:"Pickup placed before 12:00 PM on weekdays will be picked up the same day. If your order is placed after 12:00 PM, or on weekends and public holidays, the pickup will be scheduled for the next working day. Due to Lunar New Year holiday from 27 Jan to 02 Feb, no pickups will be made during this period. All pickups placed during this timeframe will be scheduled after 02 Feb.",sf:"<p>Please schedule your pickup during the period listed below. SF Express will contact you shortly:</p><p>Weekdays: <strong>Orders placed from 9:00a.m. - 4:30 p.m.</strong><br/>Saturdays: <strong>Orders placed from 9:00a.m. - 3:30 p.m.</strong><br/>Sundays and Public Holidays: <strong>Not available.</strong></p><p>Be aware that exact cut-off times and pickup availability may vary by location, subject to SF Express system.</p>",sfThirdParty:"<p>If you want to schedule <strong>Today (As Soon As Possible)</strong> Pickup, Please schedule during the period listed below. SF Express will contact you shortly:</p><p>Weekdays: <strong>Orders placed from 9:00a.m. - 4:30 p.m.</strong><br/>Saturdays: <strong>Orders placed from 9:00a.m. - 3:30 p.m.</strong><br/>Sundays and Public Holidays: <strong>Not available.</strong></p><p>Be aware that exact cut-off times and pickup availability may vary by location, subject to SF Express system.</p>"},notAvailable:{description:"You are unable to schedule pickup at this moment due to outside service hours. Please come back to schedule during the period mentioned accordingly.",title:"Out of hours for scheduling pickup"}},carrierService:{shipments:"x {{count}} Shipment(s)",subtitle:"Included Shipments:"},customPickupTime:{banner:"Note: Pickup times are not guaranteed. Depending on actual location and volume, requested time for collection may be delayed. Please contact the local carrier to confirm the pickup time.",date:{helpText:"For remote pickups, the next day serves as the earliest available pickup date.",placeholder:"Select Pickup Date",title:"Pickup Date"},description:"Select a pickup date & time window according to your availability for the local carrier's reference.",error:"Earliest Pickup Time should be earlier than Latest Pickup Time.",from:"Earliest Preferred Pickup Time",title:"Preferred Pickup Date & Time (Local)",to:"Latest Preferred Pickup Time"},orgCarrierAccount:{selector:{label:"Custom Carrier Account"},title:"Custom Carrier Account"},payAndSchedule:"Pay & Schedule",paymentDetails:{billByCarrier:"Bill by Carrier",billedByCarrier:"Billed by Carrier",customCarrierAcctBanner:{desc:"For pickups bought through your own carrier accounts, you won’t be charged by Spaceship. Please contact the carrier directly for any billing enquiries.",title:"Own Carrier Account Connected"},pickupFee:"Pickup Fee",title:"Payment Details"},pickupAddress:{addAddress:{title:"Add New Address"}
228,helpText:"Carrier will contact Sender before pickup. Please ensure Sender's phone no. is correct.",placeholder:"Select Pickup Address",sfDirectPickupNote:"SF Express will go to the sender address on your shipping label to pickup your shipment, you may reach out to SF Express at (852) 2730 0273 for assistance if you need to update the address.",title:"Pickup Address"},pickupTimeSlot:{description:"Select a time slot that you want the carrier to pickup.",placeholder:"Select a time slot",title:"Pickup Time Slot",unavailable:{content:"There are no time slots available in the coming 5 days. Please try again later.",title:"No Available Time Slot"},validation:"Please select a time slot"},schedule:"Schedule",skip:"Skip",submit:"Pay & Schedule",unknownError:"Encountered unknown error. Please try again."},result:{carrierService:{title:"Carrier Service"},error:{selectAnotherTimeSlot:"Select Another Time Slot",skipAndScheduleNext:"Skip & Schedule Next",title:"Unable to Schedule Pickup",viewScheduledPickups:"View Scheduled"},goToPickupsScheduled:"Go to Scheduled",paymentDetails:{downloadInvoice:"Download Invoice",downloadInvoiceError:"There seems to be an issue. Please try again later.",missingCustomerInfoError:"You have not yet set up the organization name and billing email; please set it up on the settings page and try again.",pickupFee:"Pickup Fee",reminders:{description:"You can find all the transaction records on <strong>My Wallet</strong> page."},title:"Payment Details"},pickupAddress:{title:"Pickup Address"},pickupDetails:{deliveryRoute:{description:"{{ from }} -> {{ to }}",label:"Delivery Route",overseas:"Overseas"},pickupCarrier:{label:"Pickup Carrier"},pickupReferenceNo:{label:"Pickup Reference No."},reminders:{cs:{aramex:"For inquiries about your scheduled pickup, kindly reach out to {{carrier}} at {{carrierContact}} for further assistance.",sf:"For inquiries about your scheduled pickup, kindly reach out to {{carrier}} at {{carrierContact}} for further assistance."}},scheduledPickup:{asap:"As Soon As Possible",label:"Scheduled Pickup",remark:"(Based on Local Timezone)"},shipmentsWithCount:"{{count}} Shipment(s)",spaceshipSsid:{label:"Spaceship ID"},title:"Pickup Details",viewShipments:"View {{shipmentQuantity}} Shipment(s)"},pickupInstruction:{firstMile:{downloadAwbLabels:{label:"Shipping Document(s)"},downloadPickupLabels:{label:"Pickup Label(s)"},step1:{description:"<li>Download shipping document(s), print out and attach Waybill label(s) and CN22 Customs Form(s) (if provided) to each package.</li><li>For multi-package shipments with master and child Waybill labels, make sure each label is attached to the right package.</li><li>If Commercial Invoice(s) are provided, attach them with a plastic sleeve or document pouch onto the package.</li>",title:"Prepare shipping documents"},step2:{description:"If you have more than 1 shipment with multiple packages, group them in an outer collection bag/box.",title:"Group multiple shipments (Optional)"},step3:{description:"<li>Download and print Pickup Label(s).</li><li>Attach the label to each package or outer collection bag/box.</li>",reminder:{description:"Carrier may reject packages without Waybill and pickup labels."},title:"Prepare Pickup Label(s)"},step4:{description:"Ensure the carrier is picking up the correct package(s).",reminder:{description:"<p>If you have more than 1 of 4 shipment types mentioned below, <strong>DO NOT</strong> mix into same collection bag/box:</p><ol><li>SF International shipment(s)</li><li>Other international shipment(s), except SF</li><li>International Shipment(s) pick up by Aramax</li><li>Domestic shipment(s)</li></ol><p>Otherwise, extra costs will be made due to additional logistic arrangement.</p>"},title:"Await first mile carrier for pickup"}},nonHkDirectPickup:{downloadShippingDocuments:{label:"Download Shipping Documents(s)"},step1:{description:"Please contact your local carrier - <strong>{{carrierName}}</strong> - to confirm Pickup Time via this <supportLink>Contact Page</supportLink>.",reminder:{description:"While your pickup date/time preference is submitted for the carrier's reference, <strong>you are responsible for confirming pickup time with your local carrier or your shipments will not be picked up.</strong> Spaceship will not be held responsible for unconfirmed arrangements. "},supportLink:{dhl:"https://www.dhlsameday.com/pages/about/contact.aspx",fedex:"https://www.fedex.com/en-us
228/customer-support/contact-us.html",ups:"https://www.ups.com/en/support/contact-us.page"},title:"Confirm Pickup Date & Time with Local Carrier"},step2:{description:"<li>Download and print Shipping Document(s), attach AWB label(s) and CN22 Customs Form(s) (if provided) to each package.</li><li>For multi-package shipments with master and child Waybill labels, make sure each label is attached to the right package.</li><li>If Commercial Invoice(s), attach them with a plastic sleeve or document pouch onto the package.</li>",title:"Prepare Waybill Label(s) & Commercial Invoice(s)"},step3:{description:"<li>{{carrierName}} will collect your packages and may contact you before its arrival.</li><li>Please ensure the carrier picks up the right package(s).</li>",reminder:{description:"<p>If you have more than 1 of 4 shipment types mentioned below, <strong>DO NOT</strong> mix into same collection bag/box:</p><ol><li>SF International shipment(s)</li><li>Other international shipment(s), except SF</li><li>International Shipment(s) pick up by Aramax</li><li>Domestic shipment(s)</li></ol><p>Otherwise, extra costs will be made due to additional logistic arrangement.</p>"},title:"Await carrier for pick up"}},otherCarriersDirectPickup:{downloadShippingDocuments:{label:"Shipping Document(s)"},step1:{description:"<li>Download shipping document(s), print out and attach Waybill label(s) and CN22 Customs Form(s) (if provided) to each package.</li><li>For multi-package shipments with master and child Waybill labels, make sure each label is attached to the right package.</li><li>If Commercial Invoice(s) are provided, attach them with a plastic sleeve or document pouch onto the package.</li>",title:"Prepare shipping documents"},step2:{description:"<li>{{carrierName}} will collect your packages and may contact you prior to arrival.</li><li>Ensure the carrier is picking up the correct package(s).</li>",reminder:{description:"<p>If you have more than 1 of 4 shipment types mentioned below, <strong>DO NOT</strong> mix into same collection bag/box:</p><ol><li>SF International shipment(s)</li><li>Other international shipment(s), except SF</li><li>International Shipment(s) pick up by Aramex</li><li>Domestic shipment(s)</li></ol><p>Otherwise, extra costs will be made due to additional logistic arrangement.</p>"},title:"Await carrier for pickup"}},sfDirectPickup:{downloadShippingDocuments:{label:"Shipping Document(s)"},downloadWaybillLabels:{label:"Shipping Document(s)"},step1:{description:"<li>Carrier will contact the sender shortly with provided phone number to confirm the pickup time, typically on the same day.</li>",title:"Await SF Express' call for pickup time confirmation"},step2:{description:"<li>Download shipping document(s), print out and attach Waybill label(s) to each package.</li><li>For multi-package shipments with master and child Waybill labels, make sure each label is attached to the right package.</li><li>If Commercial Invoice(s) are provided, attach them with a plastic sleeve or document pouch onto the package.</li>",title:"Prepare shipping document(s)"},step3:{description:"Ensure the carrier is picking up the correct package(s).",reminder:{description:"<p>If you have more than 1 of 4 shipment types mentioned below, <strong>DO NOT</strong> mix into same collection bag/box:</p><ol><li>SF International shipment(s)</li><li>Other international shipment(s), except SF</li><li>International Shipment(s) pick up by Aramex</li><li>Domestic shipment(s)</li></ol><p>Otherwise, extra costs will be made due to additional logistic arrangement.</p>"},title:"Await carrier for pickup"}},step2:{title:"Await pickup by carrier"},title:"Pickup Instruction"},pickupReferenceNumber:"Pickup Reference No.: {{ pickupRefNo }}",pickupSsid:"Spaceship ID",scheduleNext:"Schedule Next",scheduledPickUp:{asap:"As Soon As Possible",label:"Scheduled Pickup"},toBePickedUp:{label:"To Be Picked Up",shipment:"View {{ count }} Shipment(s)"}},subtitle:"Schedule {{current}} of {{total}} batch of shipments for pickup: {{currentCarrierService}}",title:"Schedule Pickup"},l4e={status:{preparing:"Preparing",Preparing:"Preparing",fulfilled:"Fulfilled",Fulfilled:"Fulfilled",pending:"Pending",in_transit:"In Transit",out_for_delivery:"Out for Delivery",attempt_failed:"Attempt Failed",failed_attempt:"Failed Attempt",delivered:"Delivered",exception:"Exception",expired:"Expired",cancelled:"Cancelled",arrived_destination:"Arrived Destination",voided:"Voided"},addressInformation:{promptBlocker:{description:"Are you sure you want to leave this page? Please note that this shipment will not be saved to Drafts until you have completed step 1 and click Next.",leave:"Leave This Page",stay:"Stay on Page",title:"Leave Create Shipment?"},selectReceiverAddressModal:{title:"Select Receiver Address",empty:"No Receiver Addresses",emptyDescription:"Add an address you use most often to speed up your process when buying a shipment.",addButton:"Add Receiver Address",search:{label:"Receiver Address",placeholder:"Search Receiver Name, company, or phone "}},sections:{receiverAddress:{addReceiverAddress:"Add receiver address",dropdown:{placeholder:"Select Receiver Address"},title:"Receiver Address"},senderAddress:{addNewAddress:"Add New Address",addSenderAddress:"Add Sender Address",dropdown:{addButtonLabel:"Add new address",placeholder:"Select Sender Address"},emptySelection:{content:"Set up your default Sender Address here to start shipping",heading:"No Sender Address Added"},selectExisting:"Select Existing Address",title:"Sender Address"}
228,senderAndReceiverInfo:{addressDetails:"Address Details",contactInfo:"Contact Info",receiver:{banner:{sfDoorToPickupDiscountedPrice:"If you provided the address and store code of a SF Express Self-Operated Network Point. You can enjoy a Self-Operated Discounted Price on SF Express services. Your discounted price may be removed if we find out that the SF store address or store code provided is incorrect.",sfToPickupPrice:{label:"HK Domestic SF Express first kg preferential price details please refer to <supportLink>SF Express official website</supportLink>",link:"https://htm.sf-express.com/hk/en/products_services/Express_Services/Hong_Kong_Domestic/SF_Drop_and_Pick/#"}},fields:{country:{helpText:"It is mandatory for the Receiver's Country/Region to be within Hong Kong if the Sender's Country/Region is outside of Hong Kong."},isResidential:{banner:"Residential Surcharge may apply into shipping cost when shipping to a residential address."},shouldSaveReceiverAddress:{label:"Save this receiver address"}},inputTypeSelector:{label:{address:"Designated Address",cainiaoPickupPoint:"Cainiao Pickup Network",sfNetwork:"Pickup at SF Express Network (SF Store, SF Lockers, etc)"},title:"Ship to"},title:"Receiver Address",validation:{card:{description:"Input <strong>Address Line 1</strong> and allow our AI to do the rest, providing you with the most precise suggestion like magic.",title:"Ask AI for Address Accuracy",validate:"Ask AI"},disclaimer:"<strong>Disclaimer:</strong> Our AI strives to provide helpful address formatting suggestions, but these suggestions are not guaranteed to be accurate. Please use them as reference and always verify the final receiver address.",modal:{invalid:{close:"← Refine Inputs",description:"Our AI couldn't locate this address. Please correct it before buying a label.",title:"AI Couldn't Find This Address"},warning:{close:"Got it",title:"AI Found Issues with This Address",description:"Our AI flagged an issue with this address. Please review and correct before buying a label."},review:{close:"Got it",title:"Please Confirm This Recipient",description:"Our AI found this address but isn't confident it's actively receiving mail. Please confirm the recipient before buying a label."},loading:{description:"AI is processing the address info, this might take a few seconds...",title:"Asking AI..."},selectAddress:{candidate:"Candidate {{number}}",description:"There are {{count}} address matches (candidates) on that street. Please select the correct one.",title:"Review Address"},suggestion:{addressLine:"Address Line 1 & 2",applyChanges:"Apply Suggestion",applySuggestion:"Apply Suggestion",false:"No",keepAsIs:"Keep As Is",postOfficeBox:"PO Box?",residential:"Residential?",reviewAddress:"Review Address",title:"AI Suggested Full Address",true:"Yes",unknown:"Unknown"},title:"Ask AI for Address Accuracy",verified:{close:"Got it",description:"The address seems to be accurately inputted with no further suggestion needed.",title:"Your Inputted Address Looks Good"}}}}}}},buyShipmentResult:{beforePickupInstruction:{contactCsToArrange:{title:"Please contact our CS team at <email>[email protected]</email> to arrange a pickup."},downloadBatteryShippingLabel:{description:"Before printing battery label(s), please make sure to carefully read the <helpArticleLink>help article</helpArticleLink>. Ensure that the battery type and quantity comply with the regulations before downloading the label(s) and attaching them to the package(s).",title:"Attach the Battery Label"},downloadShippingDocuments:{description:"Download shipping document(s), print out and attach Waybill label(s) and CN22 Customs Form(s) (if provided) to each package. For multi-package shipments with master and child Waybill labels, make sure each label is attached to the right package. If Commercial Invoice(s) are provided, attach them with a plastic sleeve or document pouch onto the package.",title:"Download the Shipping Label & CI "},instructionsPackingBattery:{description:"Visit <helpArticleLink>Instructions in packing batteries</helpArticleLink>. Please ensure that shipments containing battery items are packed in a paper box for safe handling.",title:"Follow the instructions for packing the package that contains batteries"}},carrierService:{title:"Carrier Service"},createNew:"Create New Shipment",dropoffInstruction:{downloadShippingDocuments:{description:"Download shipping document(s), print out and attach Waybill label(s) and CN22 Customs Form(s) (if provided) to each package. If Commercial Invoice(s) are also provided, attach them with a plastic sleeve or document pouch onto the package.",title:"Download {{ carrierName }} Shipping Document(s)"},dropoffAndPayAtCarrier:{title:"Please drop off your package(s) and complete the shipping payment at the <b>{{ carrierName }}</b>. "},goToTrackAndTrace:{title:"When {{ carrierName }} provides tracking, you can use our <b><trackAndTraceLink>Track & Trace</trackAndTraceLink></b> page to stay updated on your shipment."},title:"Follow the instructions below to drop off {{ carrierName }} package(s):"},failed:{ctaButton:{text:"Go to Actions Required"},desc:"Further action for this shipment is required in order to create shipping label successfully. Please go to Actions Required page for further handling.",descWithAction:`Further action for this shipment is required in order to create shipping label successfully. 
229You may review and adjust the shipment details now or make modifications at a later time under <strong>Actions Required</strong>.`,title:"Payment Success. However..."},issue:{analysis:{buttons:{showOriginal:"Show Original",showTranslated:"Show Processed"},completed:{title:"AI Processed Error Messages"},disclaimer:"<strong>Disclaimer:</strong> Please note that while our AI strives to provide the most optimal error information, it's important to understand that these suggestions are not guaranteed to be accurate. Therefore, we recommend utilizing them as a guiding reference only.",failed:{title:"Error Messages"},pending:{description:"Our AI is analyzing the error messages returned from carriers and trying to suggest possible solutions. This may take a few seconds.",title:"Analysing errors..."}},buttons:{edit:"Edit Shipment Info"},original:{title:"Error Messages"},title:"{{count}} Issue(s) Found"},orderRef:"Order Reference: {{ ref }}",paymentSummary:{additionalCost:"Additional Cost",coverageFee:"Space
229ship Care",createNew:"Create New Shipment",dutiesAndTaxes:"Duties And Taxes",dutiesAndTaxesHandlingSurcharge:"D&T Handling Fee",fuelSurcharge:"Fuel Surcharge",insuranceSurcharge:"Spaceship Care",otherCharges:"Other Charges",paidAt:"Pay at {{ paidAt }}",prepaidFreight:"Prepaid Freight",refundAmount:"Refunded Amount",remoteAreaSurcharge:"Remote Area Surcharges",residentialSurcharge:"Residential Surcharges",seasonalSurcharge:"Demand Surcharges",taxAndDuties:"Taxes & Duties",title:"Payment Summary",topupAmount:"Top-up Amount",totalCost:"Rates"},pickupInstruction:{downloadShippingDocuments:{description:"Download shipping document(s), print out and attach Waybill label(s) and CN22 Customs Form(s) (if provided) to each package. If Commercial Invoice(s) are also provided, attach them with a plastic sleeve or document pouch onto the package.",title:"Download Shipping Document(s)"},goToSchedulePickups:{title:"Go to <schedulePickupsLink>Schedule Pickups</schedulePickupsLink> to schedule a pickup"},scheduled:{title:"Your pickup is already scheduled! Orders placed before 12:00 PM on weekdays will be picked up the same day. If your order is placed after 12:00 PM, or on weekends and public holidays, the pickup will be scheduled for the next working day."},title:"Follow the instructions below to schedule a pickup:"},returnShipment:{adviseDropOff:{link:"Carrier's designated drop-off points",title:"Kindly provide instructions for your customer to attach the shipping document(s) to the shipment and proceed to drop it off at the designated drop-off points."},downloadShippingDocuments:{description:"You can download and print the shipping label and CI for this return shipment.",title:"Download the Shipping Label & CI"},dropOffLocationLink:{dhl:"https://www.dhl.com/en/express/shipping/find_dhl_locations.html",fedex:"https://local.fedex.com/",sf:"https://htm.sf-express.com/hk/tc/dynamic_function/store/",ups:"https://www.ups.com/dropoff"},provideShipmentDocuments:{title:"Send Shipping Document(s) electronically or provide printed copy to your customer."},title:"Follow instructions below to drop off the return shipment:"},shipmentSummary:{carrierService:"Carrier Service",receiver:"Receiver",route:"Shipping Route",routeText:"{{from}} → {{to}}",title:"Shipment Summary"},ssid:"Spaceship ID: {{ssid}}",success:{desc:"Payment successful. Shipping documents are ready to download below.",title:"Label Created Successfully"},trackingNumber:"Tracking No.: {{ trackingNumber }}",wallet:{prepaidCost:"Prepaid Cost"}},buyShipments:{ctaButton:{text:"Go to Actions Required"}},createShipment:{senderAddressHelperText:"Tax term and Customs declaration information will be setup in next page.",subtitle:"Step 1 / 4 - Create Shipment",title:"Address Info"},createShipmentError:{addressError:{invalidRoute:"We only support export shipments from Hong Kong and import shipments to Hong Kong (Startup, Growth and Enterprise Plan only).",title:"Invalid Route",unknown:"Unknow error, please try again later."},dangerousGoods:"Some Items contain some dangerous/sensitive goods.",invalidIncoterm:"Tax Term - {{incoterm}} is not supported by this carrier service.",invalidItemCountryOfManufacture:"Country/Region of Manufacture is missing for some items.",invalidItemCurrency:"Item Currency should be {{currency}}.",invalidItemDescription:"Description of some items is more than 60 characters.",invalidItemHsCode:"HS Code is invalid for some items.",invalidItemHsCodeLengthOrDescription:"Please provide HS Code in {{length}} digits or a more detailed Item Description.",invalidItemValue:"Value of some items has exceeded MAX limit or used the wrong currency.",invalidOrderReference:"Order Reference is invalid.",invalidReceiverAddress:"Receiver's Address is invalid, please provide a correct address.",invalidReceiverAddressCharacters:"Receiver's Address contains illegal characters.",invalidReceiverPhone:"Receiver's Phone format is incorrect.",invalidReceiverPostalCode:"Receiver's Postal Code is invalid.",invalidReceiverState:"Receiver's State is missing or invalid.",invalidShipperAddress:"Shipper's Address is invali
229d, please provide a correct address.",invalidShipperAddressCharacters:"Shipper Address contains invalid characters.",invalidShipperAddressCityCharacters:"Shipper's City contains invalid characters.",invalidShipperNameCharacters:"Shipper's Name contains invalid characters.",iossNotSupported:{desc:"IOSS tax term is not supported in your plan. Please upgrade to Startup, Growth and Enterprise Plans to use this feature.",title:"IOSS tax term not supported"},maxItemValue:"Value of some items should be below {{currency}} {{value}}.",minReceiverPostalCodeLength:"Receiver's Postal Code should be at least {{length}} characters long.",multiPieceShipmentNotSupported:{desc:"Multi-piece shipment is not supported in your plan. Please upgrade to Startup, Growth and Enterprise Plans to use this feature.",title:"Multi-piece shipment not supported"},receiverAddressTooLong:"Receiver's Address is too long.",receiverCityPostalCodeMismatch:"There is a mismatch between Receiver's City and Postal Code.",receiverStatePostalCodeMismatch:"There is a mismatch between Receiver's State and Postal Code.",serviceNotAvailable:"Service is not available for this route, please input another Receiver's Country/Region.",serviceProviderError:"There is an error from the selected carrier service, please choose another service.",shipmentRouteNotSupported:{desc:"Import to Hong Kong feature is not supported in your plan. Please upgrade to Startup, Growth and Enterprise Plans to use this feature.",title:"Invalid Route"},requiresZonosIdForProcessing:{desc:"This shipment requires a Zonos ID for processing. Please make sure the info has included in the shipment details.",title:"Zonos ID required for processing"},timeout:"This shipment cannot be created at this moment because the server is currently busy, please try again in a few minutes.",unknown:"An error has occurred - please buy this shipment later."},formSteps:{addressInformation:"Address Info",carrierServices:"Carrier Services",reviewAndPayment:"Review & Payment",shipmentDetails:"Shipment Details",stepOfTotalStep:"Step {{step}} of {{totalStep}}"},importShipment:{createImportTemplate:{button:{save:"Save Template"},field:{name:{label:"Template Name",placeholder:"e.g. Shopify Template"}},title:"Save as New Template",toast:{success:"Template saved successfully"}},deleteImportTemplate:{button:{confirm:"Confirm Delete"},description:"You are about to delete template {{templateName}}. Once confirmed, all data will not be recovered.",title:"Delete Template"},downloadTemplate:{content:"<b>Package Ref.</b> is a newly added column for you to indicate which box contains which items! Download it for more guides and examples.",contentOld:"No more manual fields-mapping once you import order with this template!",title:"Download Template for Multi-Package Shipments",titleOld:"Download Spaceship Template"},fieldsMapping:{button:{import:"Import Orders",saveAsNewTemplate:"Save As New Template"},column:{field:"Fields & Preview",header:"Your Column"},description:"Map the columns correctly before importing the orders",field:{itemBatteryPackingInstructionType:{label:"Battery Packing Instruction Type"},itemBrand:{label:"Brand Name"},itemBulkShipPurpose:{label:"Bulk Ship Purpose"},itemCategory:{label:"Item Category"},itemCnPostalTaxCode:{label:"Mainland China Personal Postal Articles Tax Code"},itemCountryOfManufacture:{label:"Country/Region of Manufacture"},itemCurrency:{label:"Currency"},itemDescription:{label:"Item Description"},itemDescriptionChinese:{label:"Item Description in Chinese"},itemHsCode:{label:"HS Code"},itemMaterial:{label:"Material"},itemOnlineStoreUrl:{label:"Online Store URL"},itemQty:{label:"Quantity"},itemSku:{label:"SKU"},itemUnitPackagingSpec:{label:"Unit Packaging Spec"},itemUnitValue:{label:"Unit Selling Price"},packageHeight:{label:"Package Height (cm)"},packageLength:{label:"Package Length (cm)"},packageRef:{label:"Package Ref."},packageWeight:{label:"Package Weight (kg)"},packageWidth:{label:"Package Width (cm)"},receiverAddressLine1:{label:"Receiver Address Line 1"},receiverAddressLine2:{label:"Receiver Address Line 2"},receiverCity:{label:"Receiver City"},receiverCompany:{label:"Receiver Company"},receiverCountry:{label:"Receiver Country/Region"}
229,receiverEmail:{label:"Receiver Email"},receiverIsResidential:{label:"Is It Residential Address? (Y/N)"},receiverName:{label:"Receiver Name"},receiverPhone:{label:"Receiver Phone No."},receiverPhoneCountryCode:{label:"Receiver Dialing Code"},receiverPostalCode:{label:"Receiver Postal Code"},receiverState:{label:"Receiver State"},receiverTaxId:{label:"Receiver Tax ID"},senderAddressLine1:{label:"Sender Address Line 1"},senderAddressLine2:{label:"Sender Address Line 2"},senderCity:{label:"Sender City"},senderCompany:{label:"Sender Company"},senderCountry:{label:"Sender Country/Region"},senderEmail:{label:"Sender Email"},senderIsResidential:{label:"Is It Residential Address? (Y/N)"},senderName:{label:"Sender Name"},senderPhone:{label:"Sender Phone"},senderPhoneCountryCode:{label:"Sender Dialing Code"},senderPostalCode:{label:"Sender Postal Code"},senderState:{label:"Sender State"},shipmentOrderRef:{label:"Order Reference"},shipmentPurpose:{label:"Shipment Purpose"},shipmentTags:{label:"Shipment Tags"},shipmentTaxTerm:{label:"Tax Term"}},fieldExample:"Preview: {{example}}",selectPlaceholder:"Select Field",title:"Map Column Heading Fields"},importResult:{button:{goToDrafts:"Go to Drafts",importAgain:"Continue Importing"},failed:{column:{orderRef:"Order Reference",reasons:"Reasons",rowIndex:"Excel/CSV Row#"},description:"<strong>{{failedCount}} of {{totalCount}}</strong> rows in the excel/CSV file have incorrect information or missing fields. Please update the file and try importing again. This entire batch of orders will not be imported.",reasons:{addressLineTooLong:"Address Lines 1 & 2 must contain at most {{max}} character(s) in total.",invalidPhoneCountryCode:"Please enter a valid {{field}}. It must be a region code no.",mismatchedFieldInSameGroup:"All rows under the same Order Ref. should have the same {{field}}.",multiPieceShipmentNotSupported:"Your current pricing plan does not support multi-package shipments.",shipmentInvalidHsCodeFormat:"Invalid HS Code format.",shipmentInvalidIossTaxTerm:"IOSS is not supported for this Receiver's Country/Region.",shipmentInvalidValueInField:"{{field}}
229 is invalid.",shipmentMissingRequiredField:"Missing {{field}}.",shipmentMissingTaxId:"Receiver's Tax ID is missing.",shipmentUnavailableShipmentRoute:"Spaceship only supports shipments to be sent from {{senderCountry}} to HK.",shipmentUnknown:"{{field}} has unknown error.",shipmentValueTooBig:"{{field}} should be {{max}} characters long or below.",shipmentValueTooSmall:"{{field}} value is too small. (Min. value: {{min}})"},title:"Import Failed"},success:{description:"<br> {{totalCount}} orders have been imported successfully.<br/> You are able to edit particular order in Drafts page before buying shipment.",title:"Import Successfully"}},importingState:{description:"<strong>Please do not close/refresh this page until it is fully loaded.</strong><br/>This may take a few minutes.",title:"Importing Your Orders..."},selectAddressType:{description:"Order will be sent from:",title:"Select Import Order Type"},selectImportTemplate:{label:"Saved Template"},selectReceiverAddress:{title:"Select Receiver Address"},selectSenderAddress:{title:"Select Sender Address"},senderAddressDropdown:{title:"Select Sender Address"},simpleImport:{title:"Simple Import"},smartImport:{title:"Smart Import"},title:"Import Orders",uploadFile:{addressType:{options:{receiverAddress:{label:"Multiple sender addresses -> Single receiver address in Hong Kong"},senderAddress:{label:"Single sender address -> Multiple receiver addresses"}}},button:{downloadTemplate:"Download Template",downloadTemplateOld:"Download Template",upload:"Upload"},description:"Import orders from an Excel/CSV file or from our template.",error:{maxFileSize:"File size cannot exceed {{size}}",maxRowLimit:"Row limit cannot exceed {{limit}}"},importType:{options:{simpleImport:{hint:"Our system will only validate the fields of the basic format. Users may need to review and edit the shipment information after the import has been successful on our platform",label:"Simple Import"},standardImport:{hint:"All fields will be validated in the import file, ensuring complete and accurate information, allowing you to proceed with purchase shipment immediately",label:"Smart Import"}}},maxFileSize:"Max. File Size: {{size}}",maxRowLimit:"Row Limit: {{limit}}",receiverAddress:{title:"Upload Receiver Addresses and Order Details"},requirements:"File Requirements",senderAddress:{title:"Upload Sender Addresses and Order Details"},supportedFileTypes:"Support format: {{types}}",title:"Upload Sender Addresses and Order Details"}},quotation:{banner:{sfDoorToPickupDiscountedPrice:"If you provided the address and store code of a SF Express Self-Operated Network Point. You can enjoy a Self-Operated Discounted Price on SF Express services. Your discounted price may be removed if we find out that the SF store address or store code provided is incorrect."},carrierServiceGroup:{banner:{desc:'Only the carrier services from <b>{{carrierServiceGroup}}</b> will be shown. If you wish to see other carrier services, please click the "Refresh" button to unselect the carrier service group and update the quotation.',forceRequote:"Refresh",title:"Carrier Service Group Applied"}},error:{ctaButtonText:"Refresh",desc:"Try to refresh this page or email us via <a>[email protected]</a> for any urgent matters.",title:"Something Went Wrong..."},loading:{desc:"Finding the best suited carrier services…<br/>This may take a few minutes, <strong>please do not close or refresh this page</strong>.",title:"Finding Suitable Carriers..."},noQuotes:{ctaButtonText:"Edit Form",desc:"Please edit package dimensions or weight and try again.",title:"No Carrier Service Available"},quote:{billByCarrier:"Bill by Carrier",chargeablePickup:"Chargeable Pickup",customCarrierAcct:"Your Carrier Acct",customCarrierAcctBanner:{desc:"For shipments bought through your own carrier accounts, you won’t be charged by Spaceship except for Spaceship Care (if applicable). Please contact the carrier directly for any billing enquiries.",title:"Own Carrier Accounts Connected"},dropoff:"Self Drop-off",estimatedTransitDaysRange:"Estimated {{min}} - {{max}} Working Days",freePickup:"Free Pickup",hotPick:"Hot Pick",payAtCarrier:"Pay at {{ carrierName }}",payAtThirdParty:"Pay at {{ thirdPartyName }}",rateDetails:{dutiesAndTaxes:"Duties And Taxes",dutiesAndTaxesHandlingSurcharge:"D&T Handling Fee",fuelSurcharge:"Fuel Surcharge",otherCharges:"Other Charges",prepaidFreight:"Prepaid Freight",remoteAreaSurcharge:"Remote Area Surcharges",residentialSurcharge:"Residential Surcharges",seasonalSurcharge:"Demand Surcharges",totalCreditCost:"Rates",totalPrepaidFee:"Total Prepaid Fee"},shippingRestrictions:{battery:"Electronic Products with Batteries",cosmeticsOrSkincare:"Cosmetics or Skincare",food:"Food",foodOrSupplement:"Food or Supplement",liquid:"Liquids, Gels or Powders",medicine:"Medicine",supplement:"Supplement"},tag:{carrierPackaging:"Carrier Packaging"}},sortBy:{fastestDelivery:"Fastest Delivery",lowestPrice:"Lowest Price"}},reviewAndPayment:{heavyGoodsAdditionalDocuments:{modal:{title:"Additional Documents May Be Required",description:"Certain products may <supportLink>require import licenses or certificates</supportLink> (e.g. FDA, CPSC, CPC) for shipment.",learnMoreUrl:"https://support.spaceshipapp.com/en/spaceship-air-heavy-shipment-tax-inclusive"}},addressInfo:{receiverAddress:{label:"Receiver Address"},senderAddress:{label:"Sender Address"},title:"Address Info"},buyShipmentError:{title:"Buy Shipment Error"},buyShipmentStartedBanner:{description:"Please do not refresh the page and wait while we are processing your payment. This can take a few minutes.",title:"Payment is now being processed"},carrierAccountDetails:{billByCarrier:"Bill by Carrier",billedByCarrier:"Billed by Carrier",paidToSpaceship:"Paid to Spaceship",payToSpaceship:"Pay to Spaceship",title:"Est. Rates Details"},carrierService:{banner:{sfDoorToPickupDiscountedPrice:"If you provided the address and store code of a SF Express Self-Operated Network Point. You can enjoy a Self-Operated Discounted Price on SF Express services. Your discounted price may be removed if we find out that the SF store address or store code provided is incorrect."},estimatedTransitDays:"Estimated {{min}} - {{max}} Working Days",notAvailable:"This carrier service has no available quotation for this shipment. Please select another carrier service at Step 3 and/or edit shipment details to try again.",title:"Carrier Service"},customCarrierAcctBanner:{desc:"For shipments bought through your own carrier accounts, you won’t be charged by Spaceship except for Spaceship Care (if applicable). Please contact the carrier directly for any billing enquiries.",labelCancelledDesc:"Since this shipment involves costs that are directly charged by your own carrier, please communicate with it directly about corresponding costs.",title:"Own Carrier Account Connected"},directPaymentDetails:{banner:{desc:"You won't be charged any fees by Spaceship except Spaceship Care (if applicable). Payment will be made at {{ carrierName }} when you drop off the package(s).",labelCancelledDesc:"Since this shipment involves costs that are directly charged by {{ carrierName }}, please communicate with it directly about corresponding costs.",title:"Pay at {{ carrierName }}"},paidAtCarrier:"Pay at {{ carrierName }}",payAtCarrier:"Pay at {{ carrierName }}"},insuranceCoverageFailed:"Encountered unknown errors when buying Spaceship Care. Please try again later.",iossNumberNotFound:"The previously selected IOSS number has been disabled. Please select another IOSS number.",requiresZonosIdForProcessing:"This shipment requires a Zonos ID for processing. Please make sure the info has included in the shipment details.",latestAppliedShippingRules:{banner:{description:"{{count}} shipping rules have been applied to this shipment.",lastAppliedAt:"Last Applied at: {{lastAppliedAt}}",title:"Latest Shipping Automation Rules Applied"},modal:{listItem:{actions:{desc:"These actions are applied -",types:{shipmentSetCarrierService:{carrierServiceGroup:{desc:"Set the <b> {{quotationSelectionStrategy}} </b> carrier service from <b> {{carrierServiceGroup}} </b> as Carrier Service"},desc:"Set <b> {{carrierServiceName}} ({{accountDesc}}) </b> as Carrier Service",quotationSelectionStrategy:{options:{cheapest:{label:"Cheapest"},fastest:{label:"Fastest"}}}
229,spaceshipAccount:"Spaceship Account"},shipmentSetCoverageOption:{desc:"Spaceship Care is <b> enabled </b>",options:{false:{label:"Spaceship Care is <b> NOT enabled </b>"},true:{label:"Spaceship Care is <b> enabled </b>"}}},shipmentSetFreeItemUnitValue:{desc:"Set <b> {{freeItemUnitValue}} </b> as unit value for free items"},shipmentSetPackageDimAndWeight:{desc:"Set <b> {{packagingName}} ({{packagingDimension}}, <error>{{packagingWeight}}</error>) </b> as Package/Packaging"},shipmentSetPackageDimension:{desc:"Set <b> {{packageDescription}} </b> as Package/Packaging"},shipmentSetPurpose:{desc:"Set <b> {{purpose}} </b> as Shipment Purpose",options:{commercialUse:{label:"Commercial Use"},personalUse:{label:"Personal Use"},returnGoods:{label:"Return Goods"},sampleUse:{label:"Sample Use"}}},shipmentSetReceiverAddressIsResidential:{options:{false:{label:"<b> DO NOT </b> pre-fill Receiver Address as <b> Residential </b>"},true:{label:"<b>Always</b> pre-fill Receiver Address as <b> Residential </b>"}}},shipmentSetSenderAddress:{desc:"Set <b> {{senderAddressDescription}} </b> as Sender Address"},shipmentSetTaxTerm:{desc:"Set <b> {{taxTerm}} </b> as Tax Term",options:{dap:{label:"Pay By Receiver (DAP)"},ddp:{label:"Pay By Sender (DDP)"},ioss:{label:"Pay By Sender (IOSS)"}}},shipmentSetValueAddedServices:{options:{directSignatureRequired:{label:"Direct Signature Required"},noSignatureRequired:{label:"No Signature Required"},notSpecified:{label:"Direct Signature Requirement Not Specified"}}},shipmentSetValueAddedServicesAddressTranslation:{options:{true:{label:"Address Translation Required"},false:{label:"Address Translation Not Needed"}}}}},conditions:{desc:"Shipment met these conditions -",from:"Ship from",showLess:"Show Less",showMore:"Show {{count}} More",to:"Ship to",types:{allShipments:{desc:"The following action(s) are triggered "},connectedStore:{desc:"Synced from these stores: <b> {{connectedStores}} </b>"},itemHsCode:{desc:"Containing items with <b> {{operator}} </b> these Category/HS Code: <b> {{hsCodes}} </b>",operator:{options:{in:{label:"Any of"},notIn:{label:"None of"}}}},itemSku:{desc:"Containing items with <b> {{operator}} </b> these SKU: <b> {{skuValues}} </b>",label:"Item SKU",operator:{options:{in:{label:"Any of"},notIn:{label:"None of"},onlyOneOf:{label:"Only one of"}}}},itemsTotalDeclaredValue:{desc:"Total value of declared item(s) is <b>{{operator}} {{currency}} {{amount}}</b>",operator:{options:{eq:{label:"Equal To"},gt:{label:"Greater Than"},gte:{label:"Greater Than or Equal To"},lt:{label:"Less Than"},lte:{label:"Less Than or Equal To"}}}},itemsTotalQuantity:{desc:"Total number of items is <b>{{operator}} {{count}}</b>",operator:{options:{eq:{label:"Equal To"},gt:{label:"Greater Than"},gte:{label:"Greater Than or Equal To"},lt:{label:"Less Than"},lte:{label:"Less Than or Equal To"}}}},receiverCountry:{desc:"Ship to"},receiverPostalCode:{desc:"Receiver - Postal Code <b>{{operator}}</b> these: <b>{{postalCodes}}</b>",operator:{options:{in:{label:"Is any of"},notIn:{label:"Is none of"},startWithOneOf:{label:"Starts with"}}}},senderCountry:{desc:"Ship from"},shipmentTag:{desc:"Shipment contains <b> {{operator}} </b> these tags: <b> {{shipmentTags}} </b>",label:"Tags",operator:{options:{in:{label:"Any of"},notIn:{label:"None of"}}}},shopifyShippingLine:{desc:'Shopify shipping rate <b>{{operator}}</b> these keywords: <b>"{{keyword}}"</b>',operator:{options:{contain:{label:"Contains"},exact:{label:"Is Exactly"},notContain:{label:"Does Not Contain"}}}},totalWeight:{desc:"Total Shipment Weight is <b>{{operator}} {{weight}} {{unit}}</b>",operator:{options:{eq:{label:"Equal to"},gt:{label:"Greater than"},gte:{label:"Greater than or equal to"},lt:{label:"Less than"},lte:{label:"Less than or equal to"}}}}}}},then:"Then",title:"Latest Applied Automation Rules"},viewDetails:"View Details"},paymentDetails:{addCreditAndContinue:"Add Card & Continue",additionalCost:"Additional Cost",buyShipment:"Buy Shipment",coverageFee:"Spaceship Care",creditCardRequired:{description:"Payment Information Required – Add a credit card to proceed buying shipment.",title:"Credit Card Required"},currentBalance:"Current Balance",downloadInvoice:"Download Invoice",downloadInvoiceError:"There seems to be an issue. Please try again later.",dutiesAndTaxes:"Duties And Taxes",dutiesAndTaxesHandlingSurcharge:"D&T Handling Fee",free:"Free",fuelSurcharge:"Fuel Surcharge",insufficientBalance:{description:"Top up your balance and continue to buy shipment.",title:"Insufficient amount"}
229,insuranceSurcharge:"Spaceship Care",lastQuotedAt:"Updated: {{lastQuotedAt}}",missingCustomerInfoError:"You have not yet set up the organization name and billing email; please set it up on the settings page and try again.",otherCharges:"Other Charges",paidAmount:"Paid Amount",pickupFee:"Pickup Fee",prepaidCost:"Prepaid Cost",prepaidFreight:"Prepaid Freight",proceed:"Proceed",proceedPayment:"Proceed Payment",refundAmount:"Refunded Amount",refundRemark:"This shipment has been cancelled. Charged shipment cost will be refunded automatically to your wallet.",remainingBalance:"Remaining Balance",remark:"If the actual volume or weight is different from what is provided or there are additional charges in transit, an adjustment fee arrangement will be made accordingly.",remoteAreaSurcharge:"Remote Area Surcharges",residentialSurcharge:"Residential Surcharges",seasonalSurcharge:"Demand Surcharges",taxAndDuties:"Taxes & Duties",termsAndConditions:"By continuing, you agree to our <1>Terms and Conditions</1> and <2>Privacy Policy</2>.",title:"Payment Details",topupAmount:"Top-up Amount",topupAndPay:"Top Up & Pay",totalCost:"Rates",updatingQuotation:"The quotation have expired. We’re now refreshing the price for you.",viewDetails:"View Details"},actualChargeableWeight:{title:"Chargeable Weight",notAvailable:"Not Available"},shipmentDetails:{customDeclaration:{currency:{label:"Currency"},iossNumber:{label:"IOSS Account"},shipmentPurpose:{commercialUse:{label:"Commercial Use"},label:"Shipment Purpose",personalUse:{label:"Personal Use"},returnGoods:{label:"Return Goods"},sampleUse:{label:"Sample Use"}},taxHandling:{label:"Tax Term"},taxId:{label:"Receiver Tax ID"},title:"Customs Declaration"},heavyWeightShipmentPackaging:{shipmentItems:{label:"Shipment Items",totalItemDeclaredValue:{label:"Total Value"}},shipmentPackages:{label:"Shipment Packages"},title:"Shipment Packaging",totalWeight:{label:"Total Weight"}},orderRef:{title:"Order Reference"},shipmentItems:{title:"Shipment Items"},shipmentPackage:{title:"Package",totalItemDeclaredValue:{label:"Package Total Value"}},title:"Shipment Details",totalItemDeclaredValue:{label:"All Packages Total Value"}},shipmentTags:{editButton:"Edit",empty:"No tags added",title:"Tags"},ssCareProtection:{checkbox:{label:"Add only <b>{{currency}} {{premiumAmount}}</b> to insure this shipment up to {{currency}} {{insuredAmount}} against damage, loss, and theft."},description:"Secure your valuable shipment and give yourself peace of mind with Spaceship Care! <learnMoreUrl>Learn More</learnMoreUrl>",helpArticleUrl:"https://support.spaceshipapp.com/en/spaceship-care-service-guide",insuranceNotSupported:{description:"Spaceship Care does not support this route.",title:"Not available for any of these reason(s):"},quotationError:{action:"Refresh",title:"Something Went Wrong..."},status:{disabled:{description:"Your shipment carries the risk of damage, loss or theft. <b>Spaceship will not be held liable for any of these issues incurred during transit.</b>",label:"Not Protected"},enabled:{coverageExpired:{description:"We are sorry, you cannot file a claim for this shipment as the claim filing window has expired.",title:"Claim Filing Window Is Closed"},description:"Your shipment is now protected against damage, loss and theft during transit.",expiryDate:"Claim must be filed within 75 days after your shipment is scheduled for pickup or arrives at Spaceship's warehouse.",insuredAmount:"Protected by Spaceship Care for up to: <b>{{currency}} {{insuredAmount}}</b>",label:"Protected",reminderBanner:{activated:{description:"Spaceship Care will take effect once the pickup is scheduled, and the effective date will be the same as the scheduled pickup date."},inactive:{description:"Scheduling pickup is required before filing a claim for your shipment. Spaceship Care will take effect once the pickup is scheduled, and the effective date will be the same as the scheduled pickup date."}}},learnMore:"Powered by InsureShield® Shipping Insurance. By using this service, you agree to our <tncUrl>Terms and Conditions</tncUrl>."},termsAndConditions:"Powered by InsureShield® Shipping Insurance. By using this service, you agree to our <tncUrl>Terms and Conditions</tncUrl>
229.",title:"Spaceship Care",warningBanner:{desc1:"Total value of declared item(s) in this shipment is below <b>USD 10</b> or above <b>USD 10,000</b>.",desc2:"This shipment is sent from non-HK to HK.",title:"Not available for any of these reason(s):"}},storeIntegration:{lastSynced:{description:"Order Last Synced: {{lastSyncedAt}}",title:"This order was synced"},orderSource:"Order Source",storeName:"Store Name",title:"Store Integration"},thirdPartyPaymentDetails:{banner:{desc:"You won't be charged any fees by Spaceship except Spaceship Care (if applicable). Payment will be made at {{ thirdPartyName }} when you drop off the package(s).",labelCancelledDesc:"Since this shipment involves costs that are directly charged by {{ thirdPartyName }}, please communicate with it directly about corresponding costs.",title:"Pay at {{ thirdPartyName }}"},paidAtThirdParty:"Paid at {{ thirdPartyName }}",payAtThirdParty:"Pay at {{ thirdPartyName }}"},topupError:{title:"Topup Error",unknownError:"Unknown error"},shipmentValidationError:"Shipment validation error",validation:{invalidShopifyZonosOrderTaxTerm:"Shopify orders processed by Zonos must use DDP as the tax term",packageMustContainItems:"Package {{packageNumber}} must contain at least 1 item"},unknownError:"Encountered unknown error. Please try again."},shipmentDetails:{heading:{cancellationDate:"Cancellation Date: {{date}}"},promptBlocker:{description:"Are you sure you want to leave this page? Please note that this shipment will not be saved to Drafts until you have completed step 1 and click Next.",title:"Leave Create Shipment?"},sections:{box:{fields:{width:{label:"Width"}},title:"Package"},carton:{titleWithIndex:"Carton {{index}}"},heavyWeightShipmentDetails:{errors:{notEnoughItems:"Not enough items for all cartons. Please add more items."},title:"Shipment"},orderReference:{title:"Order Reference"},package:{clone:"Duplicate",domesticShipmentHints:{description:"Please contact us via <1>Customer Helpdesk</1> or <2>email</2> for special arrangement before pickup.",point1:"Length/Width/Height > <strong>160 cm</strong>
229",point2:"Total dimension (Length + Width + Height) > <strong>300 cm</strong>",point3:"Package Weight (Total weight of the packaging and all the items inside)> <strong>30 kg</strong>",title:"When the following limits are met,"},fields:{height:{label:"Height"},length:{label:"Length"},qty:{label:"Quantity"},weight:{label:"Weight"},width:{label:"Width"}},title:"Package Information",titleWithIndex:"Package {{pkgNumber}}"},shipmentCustomShippingDocuments:{actions:{addItem:"Add supporting documents"},description:"For helping streamline the customs clearance process, you can optionally upload supporting documents. Accepts .pdf (Max 5Mb)",errors:{fileSizeExceeded:"The file size should be less than {{maxSize}}",unknownError:"Encountered an unknown error. Please try again later."},title:"Add supporting documents",types:{certificateOfOrigin:"Certificate of Origin",commercialInvoice:"Custom Commercial Invoice",exportDeclaration:"Export Declaration Document",other:"Other Documents (e.g. MSDS)"}},shipmentDetails:{chargeableWeightCalculation:{description:"The final chargeable weight is measured at the carrier warehouse and calculated by the actual weight or the volumetric weight, whichever is higher.",title:"Chargeable Weight Calculation"},ctaLink:"<ctaLink>Learn More</ctaLink>",customDeclaration:{title:"Customs Declaration"},dapHint:{description:"The receiver is responsible for all charges and risks in transit until the package arrives to the destination. <ctaLink>Learn More</ctaLink>",title:"Delivered At Place (DAP)"},ddpHint:{description:"The sender is responsible for all charges and risks in transit until the package arrives to the destination. <ctaLink>Learn More</ctaLink>",title:"Delivered Duty Paid (DDP)"},fields:{shipmentPurpose:{hint:"Shipment Purpose can affect customs requirements a lot. It may result in the needs for certain customs document requirements, as well as import duties and tax calculations."},taxHandling:{supportUrl:"https://support.spaceshipapp.com/en/how-to-choose-between-ddp-and-ddu",unsupportedTaxTerm:"Receiver country/region does not support this tax term"}},iossWarning:"Import One-Stop Shop (IOSS) is supported by some carrier services. To enable it, please go to <settingsLink>Settings</settingsLink>."},shipmentItems:{actions:{addItem:"Add item"},addItem:{actions:{confirm:"Add"},title:"Add Item"},cnPostalTaxCode:"Mainland China Personal Postal Articles Tax Code - {{ code }}",editItem:{title:"Edit Item"},empty:{desc:"Please declare the item information truthfully. You are responsible for any delay, loss and legal liability caused by false declaration.",error:"Please add a shipment item in your package",title:"Item declaration"},fields:{countryOfManufacture:{label:"Country/Region of Manufacture"},currency:{hints:"Select the destination currency is recommended to speed up the customs clearance process.",label:"Currency",placeholder:"Select Currency"},description:{helpText:"Please declare the item information truthfully. You are responsible for any delay, loss and legal liability caused by false declaration.",label:"Item Description"},descriptionChinese:{helpText:"If the shipment is being exported from Mainland China, please also declare the item description in Chinese.",label:"Item Description in Chinese"},hsCode:{label:"HS Code",placeholder:"Enter Category/HS Code"},itemValue:{label:"Unit Selling Price"},quantity:{label:"Item Quantity"},sku:{label:"SKU"},ztoPostalTaxCode:{label:"Personal Postal Articles Tax Code",tooltip:"Personal Postal Articles Tax Code is required for customs to categorize the item and determine the correct tax rate for personal use shipments."},ztoProductBrand:{label:"Brand Name",placeholder:"No Brand",tooltip:"Brand name is required to help customs identify the item's manufacturer for accurate categorization and processing. If no brand name is provided, it will be reported as 'No Brand'."},ztoUnitPackagingSpec:{label:"Unit Packaging Spec",tooltip:"Specify Unit Packaging Spec (e.g., 1/個) to inform customs of item quantity per unit for accurate assessment."}},itemsTotalValue:"Total Value",title:"Item Details",ztoPostalTaxCode:{desc:"If using ZTO Express to ship personal shipments to Mainland China, please provide the following additional details.",search:"Search for Personal Postal Articles Tax Code (Simplified Chinese)",title:"Additional Details for Shipment to Mainland China"}},shipmentPackages:{actions:{addCarton:"Add Carton",addPackage:"Add Package"}},shipmentTags:{title:"Tags"},totalWeight:{fields:{totalShipmentWeight:{label:"Total Shipment Weight"}},title:"Total Weight"}}},shopifyIntegrationInfo:{description:"This is the shipping method your Shopify customer selected at checkout. <supportLink>Learn More</supportLink>",supportUrl:"https://help.shopify.com/en/manual/shipping/setting-up-and-managing-your-shipping/setting-up-shipping-rates",title:"Customer selected shipping method"},viewShipment:{backTo:{allShipments:"Back to All Shipments",cancelledShipments:"Back to Cancelled",downloadAndPrint:"Back to Download & Print",schedulePickups:"Back to Schedule Pickups",trackAndTrace:"Back to Track & Trace",transactions:"Back to Transactions"}}},c4e={pagination:{label:"{{count}}/{{total}} Results"}},u4e={"":"Tax Term",dap:{label:"Pay by Receiver (DAP)"},ddp:{label:"Pay by Sender (DDP)"},ioss:{label:"Pay by Sender (IOSS)"}},d4e={menu:{badge:{enterprise:"Enterprise",enterpriseNearEnd:"Enterprise",growth:"Growth",growthNearEnd:"Growth",inTrial:"Free Trial - {{ daysLeft }} Days Left",startup:"Startup",startupNearEnd:"Startup"}}},f4e={actions:BFe,address:UFe,addressValidation:zFe,announcement:HFe,billing:qFe,carrierPackaging:WFe,common:VFe,connectedStoreProvider:jFe,zonosInfo:GFe,dateTimeFormat:KFe,form:ZFe,general:YFe,hsCodes:$Fe,links:XFe,model:QFe,navigation:JFe,onboarding:e4e,orgKycProfile:t4e,pageTitles:r4e,pages:n4e,pickup:i4e,receiverAddress:a4e,returnOrder:o4e,schedulePickup:s4e,shipment:l4e,tableList:c4e,taxTerm:u4e,to
229pbar:d4e},h4e={logout:"登出",profile:"個人資料"},p4e={smartyMessage:{intl:{ambiguous:"我們找到多個可能相符的地址。請與收件人再次核對完整地址。",notFound:"找不到此地址。請在寄出前再次核對並更正。",partialCanImprove:"未能完整驗證此地址。請補上大廈或單位號碼後再試。",partialNoImprove:"未能完整驗證此地址。請在寄出前與收件人確認完整地址。",verifiedAtMax:"未能確認此地址至大廈層級。請在寄出前與收件人核對完整地址。",verifiedBelowMax:"未能確認此地址至大廈層級。請補上大廈或單位號碼後再試。"},us:{ambiguous:"我們找到多個可能相符的地址。請與收件人再次核對完整地址。",cmraValidHint:"此地址為共用收件服務(例如租用信箱)。請確認收件人有使用此服務。",cmraWarning:"此地址看來是共用收件服務。請確認收件人有使用此服務。",invalidSecondary:"單位或套房號碼與資料庫不符。請與收件人再次核對。",missingSecondary:"請補上套房或單位號碼以完成此地址。",noStat:"此地址存在,但郵局不會直接派送到該建築物。請在寄出前與收件人確認。",notActive:"資料庫中有此地址,但可能已停用。請在寄出前與收件人確認。",notFound:"找不到地址。請檢查街道、門牌、城市及郵政編號。",vacant:"此地址似乎空置。請確認是否有人可接收包裹。"}}},m4e={confirmModal:{backToEdit:"返回編輯",bottomTips:"收件地址已被標記為潛在風險。您可以繼續購買出貨標籤,但請留意相關風險。您也可以返回並更新收件地址。",bottomTipsBulk:"已選出貨中有 {{count}} 個收件地址被標記為潛在風險。您可以繼續購買,但請留意相關風險。您也可以返回並更新收件地址。",title:"確認收件地址"}},g4e={adverseWeatherArrangement:{typhoonSignalNo8:{desc:"在惡劣天氣下,本地收派件服務有機會受影響,詳情請留意<supportLink>我們的服務安排</supportLink>。",supportLink:"https://support.spaceshipapp.com/zh-hk/惡劣天氣下的收件安排",title:"惡劣天氣下的服務安排"}},peakSeasonAlert:{desc:"歐盟將於 2026 年 7 月 1 日起取消免稅額,並對寄往歐盟的貨件徵收新的進口關稅。有關新收費、適用目的地及重要日期,請<supportLink>閱讀公告</supportLink>。",supportLink:"https://support.spaceshipapp.com/zh-hk/%E6%AD%90%E7%9B%9F%E6%B5%B7%E9%97%9C%E6%94%B9%E9%9D%A9-2026-",title:"寄件提醒"}},v4e={common:{allTransactionsAreSecure:"所有交易均安全並且採用SSL加密技術保護。",cardEndsIn:"結尾為 {{last4}}",credit:"金額",creditBalance:"結餘",paymentMethod:{bank:"銀行轉賬",card:"信用卡"},shippingBillingEntryCategory:{coverageClaim:"Spaceship Care 索償",fulfillment:"倉配服務",fulfilment:"倉配服務",others:"其他",pickup:"上門取件",pickupAdj:"上門收件 (費用調整)",pickupOthers:"上門收件 (其他)",refund:"退款",shipment:"運單",shipmentAdj:"運單 (費用調整)",shipmentDutiesAndTaxesAdj:"Shipment (Duties and Taxes Adjustment)",shipmentOthers:"運單 (其他)",taxAndDuty:"稅金與關稅",warehouseInbound:"倉庫入庫",warehouseOutbound:"倉庫出庫",warehouseStorage:"倉庫儲存"},shippingBillingEntryStatus:{onHold:"待核實",pending:"待繳付",pendingRefund:"Pending Refund",settled:"已繳付",settling:"繳款中",voided:"已撤消"},topup:"增值",walletTxCategory:{coverageClaim:"Spaceship Care 索償",fulfillment:"倉配服務",fulfilment:"倉配服務",grant:"贈送",others:"其他",pickup:"上門收件",pickupAdj:"上門收件 (費用調整)",pickupOthers:"上門收件 (其他)",redeem:"兌換",refund:"退款",shipment:"運單",shipmentAdj:"運單 (費用調整)",shipmentDutiesAndTaxesAdj:"Shipment (Duties and Taxes Adjustment)",shipmentOthers:"運單 (其他)",taxAndDuty:"稅金與關稅",topup:"增值",withdraw:"提款"}},download:{creditNote:{button:{download:{label:"下載退款單"},viewBreakdownDetails:{label:"查看交易詳情"}},description:"選擇您想下載退款單的特定年份及月份。",error:{failed:{description:"無法下載退款單。請稍後再試。"},noWalletTransaction:{description:"您沒有此時段相關的交易紀錄。",title:"沒有退款單"},unknown:{description:"出現錯誤"}},select:{label:"交易日期範圍"}},invoice:{button:{download:{label:"下載發票"},viewBreakdownDetails:{label:"查看交易詳情"}},description:"選擇您想下載發票的特定年份及月份。",error:{failed:{description:"無法下載發票。請稍後再試。"},noWalletTransaction:{description:"您沒有在此時段相關的交易紀錄。",title:"沒有發票"},unknown:{description:"出現錯誤"}},select:{label:"交易日期範圍"}}},form:{setupCardPaymentMethod:{error:{unsupportedFundingType:"不支援借記卡和預付卡。請使用信用卡。"},usage:"此卡將應用於增值作繳付託運運費、上門收件費用,以及待繳費用(如收費重量調整後的費用或在運送過程中託運公司收取的額外費用等)。"},topupWallet:{error:{notSupportedFundingType:"不支援借記卡和預付卡。請使用信用卡。"},field:{amount:{helpText:"增值金額必須最少 {{currency}} {{min}}。",label:"金額",validation:{max:"增值金額上限:{{currency}} {{max}}。",min:"增值金額必須多於 {{currency}} {{min}}。"}},toTopupAmount:{label:"增值金額"}}}},modal:{addCardPaymentMethod:{button:{submit:"確認"},title:"新增付款卡"},changeCardPaymentMethod:{button:{submit:"確認"},title:"更改信用卡資料"},chargesDetails:{pendingCharges:"待繳費用",pendingChargesRemark:"包含所有已誌賑及未誌賑的待繳費用",pendingRefund:"Pending Refund",settledCharges:"已繳費用",title:"費用詳情 ({{count}})"},group:{fulfillmentOrder:"倉配訂單",shipment:"運單"},pendingChargeInstruction:{button:{learnMore:"了解更多"},section:{outstanding:{description:"<list><listItem>由上周星期二 00:00:00 至本周星期一 23:59:59 (香港時間)累積所有費用</listItem><listItem>系統將於本周星期五 15:00(香港時間)結算並收費</listItem></list>",title:"已誌賬費用"},reason:{description:"<list><listItem>收費重量經 Spaceship 物流中心調整後的差額</listItem><listItem>由託運公司收取上門收件費用調整的差額</listItem><listItem>由託運公司收取收費重量調整後之差額及其他附加費用</listItem></list>",title:"基於以下原因,我們將會第二次向您收取費用:"},upcoming:{description:"<list><listItem>由本周星期二至下星期一所累積的費用</listItem><listItem>未誌賬的費用將於下星期五結算並收費</listItem></list>",title:"未誌賬費用"}},title:"待繳費用從哪裏來?"},settlePendingCharge:{button:{addPaymentMethod:"新增付款方法",settle:"繳費"}
229,exception:{cardRequired:{description:"新增付款方法以繼續付款程序。",title:"以信用卡支付"},insufficientBalance:{description:"增值及繼續付款",title:"餘額不足"}},result:{failed:{description:"請改用另一張信用卡再次嘗試。",title:"繳付費用失敗"},partialSuccess:{description:"已繳付 <strong>{{settledAmount}}</strong>,您目前仍有待繳的費用。",title:"未能成功繳付部分費用"},success:{button:{goToMyWallet:"前往我的錢包"},description:"{{settledAmount}} 已繳付。您可以在「我的錢包」頁面查閱所有交易紀錄。",title:"已付所有費用"}},section:{summary:{title:"概要"},total:{title:"總額"}},title:"繳費",topUpAmount:"增值金額"},setupOrganizationDetails:{buttons:{setup:"立即設定"},description:"設定您的組織,有關資料將顯示於發票、退款單和收據上。",title:"設定組織"},topupWallet:{buttons:{submit:"增值"},title:"增值",toast:{success:"增值已完成"}}},table:{archivedPendingCharge:{banner:{description:"billing.table.archivedPendingCharge.banner.description",title:"billing.table.archivedPendingCharge.banner.title"},emptyState:{description:"已誌賬費用的資料將在此顯示",title:"沒有已誌賬費用"},filter:{dateRange:{label:"誌賬日範圍"}}},common:{column:{amount:{label:"應付金額"},carrierService:{label:"託運服務"},category:{label:"類別"},createdAt:{label:"誌賬日"},declaredPackage:{label:"申報重量大小"},description:{label:"描述"},dueDate:{label:"結算日"},orderRef:{label:"訂單編號"},prePaidValue:{label:"已繳付金額"},trackingNumber:{label:"追蹤編號"}},filter:{andWithCount:"和 {{count}} 更多",carrierService:{label:"託運服務"},category:{label:"類別"},dateRange:{label:"誌賬日"},query:{placeholder:"以運單/收件 ID、訂單編號或追蹤編號搜索"},receiverCountry:{label:"收件人國家/地區"}},sorter:{fields:{amount:{label:"應付金額"},createdAt:{label:"誌賬日"}},orders:{lessToMore:{label:"升序排列"},moreToLess:{label:"降序排列"},newestFirst:{label:"由最新到最舊"},oldestFirst:{label:"由最舊到最新"}},title:"排序方式"}},outstandingPendingCharge:{banner:{description:"所有已誌賬費用將於<strong>每周一及周三下午3:00(香港時間)</strong>由系統自動扣除。如錢包內餘額不足,我們將會從您預設的信用卡自動增值並扣除差額。",title:"已誌賬費用將會自動結算及付款"},column:{amount:{label:"應付金額"},carrierService:{label:"託運服務"},category:{label:"類別"},createdAt:{label:"誌賬日"},declaredPackage:{label:"申報包裹的尺寸及重量",packageCount:"{{count}} 件包裹"},declaredValue:{label:"申報包裹價值"},description:{label:"描述"},dueDate:{label:"到期繳費日(香港時間)"},finalChargeableWeight:{label:"最終收費重量"},orderRef:{label:"訂單編號"},prePaidValue:{label:"已繳付金額"},refId:{label:"運單/收件編號"},trackingNumber:{label:"追蹤編號"}},emptyState:{description:"已誌賬費用的資料將在此顯示",title:"沒有已誌賬費用"},filter:{andWithCount:"和 {{count}} 更多",carrierService:{label:"託運服務"},category:{label:"類別"},query:{placeholder:"以運單/收件 ID、訂單編號或追蹤編號搜索"},receiverCountry:{label:"收件人國家/地區"}},sorter:{fields:{amount:{label:"應付金額"},createdAt:{label:"誌賬日"}},orders:{lessToMore:{label:"由低至高"},moreToLess:{label:"由高至低"},newestFirst:{label:"由最新到最舊"},oldestFirst:{label:"由最舊到最新"}},title:"排序方式"}},receipt:{column:{actions:{download:{label:"下載收據"}},amount:{label:"金額"},category:{label:"類別"},createdAt:{label:"交易日期"},paymentMethod:{label:"付款方法"},refId:{label:"參考編號"},ssid:{label:"Spaceship ID"}},emptyState:{description:"已增值或已提款的紀錄將在此顯示",title:"沒有收據"},filter:{category:{label:"類別",tag:"類別:{{categories}}"},dateRange:{label:"交易日期",tag:"交易日期: {{start}} 至 {{end}}"},query:{placeholder:"以參考編號搜尋"}}},transaction:{column:{amount:{label:"金額"},category:{label:"類別"},closingBalance:{label:"結餘"},createdAt:{label:"交易日期"},description:{label:"描述"},refId:{label:"參考編號"}
229,ssid:{label:"Spaceship ID"}},emptyState:{description:"交易紀錄將在此顯示",title:"沒有交易紀錄"},filter:{category:{label:"類別",tag:"類別:{{categories}}"},dateRange:{label:"交易日期",tag:"日期:{{start}} 至 {{end}}"},query:{placeholder:{"":"以參考編號搜尋",default:"請在列表上選擇運單或上門收件以縮窄搜索範圍",pickup:"以 Spaceship 上門收件 ID 或收件編號搜索",shipment:"以 Spaceship 運單 ID 或運單追蹤編號搜索"}},refType:{error:{empty:"請在列表上選擇運單或上門收件以縮窄搜索範圍"},pickup:"上門收件:",shipment:"運單:"}}},upcomingPendingCharge:{banner:{description:"未誌賬費用將計入下個財務期(財務期 1:星期二 00:00:00 至星期四 23:59:59,財務期 2:星期五 00:00:00 至下週一 23:59:59),並將於隨後的星期三和星期一 15:00 (HKT) 由系統自動收費。",title:"未誌賬費用將於下個財政期結算"},column:{amount:{label:"應付金額"},carrierService:{label:"託運服務"},category:{label:"類別"},createdAt:{label:"誌賬日"},declaredPackage:{label:"申報包裹價值",packageCount:"{{count}} 件包裹"},declaredValue:{label:"申報價值"},description:{label:"描述"},finalChargeableWeight:{label:"最終收費重量"},orderRef:{label:"訂單編號"},prePaidValue:{label:"已繳付金額"},refId:{label:"Spaceship 運單/上門收件 ID"},trackingNumber:{label:"追蹤編號"}},emptyState:{description:"未誌賬費用的資料將在此顯示",title:"沒有未誌賬費用"},filter:{andWithCount:"和 {{count}} 更多",carrierService:{label:"託運服務"},category:{label:"類別"},query:{placeholder:"以運單/收件 ID、訂單編號或追蹤編號搜索"},receiverCountry:{label:"Receiver Country/Region"}},sorter:{fields:{amount:{label:"Amount Due"},createdAt:{label:"誌賬日"}},orders:{lessToMore:{label:"由低至高"},moreToLess:{label:"由高至低"},newestFirst:{label:"由最新到最舊"},oldestFirst:{label:"由最舊到最新"}},title:"排序方式"}}}},y4e={fedexExtraLargePak:"FedEx 特大型快遞袋",fedexLargeBox:"FedEx 大型速遞盒",fedexLargePak:"FedEx 大型快遞袋",fedexMediumBox:"FedEx 中型速遞盒",fedexPaddedPak:"FedEx 氣泡快遞袋",fedexPak:"FedEx 快遞袋",fedexSmallBox:"FedEx 小型速遞箱",sfEcommBoxF2:"順豐 F2 箱",sfEcommBoxF4:"順豐 F4 箱",sfEcommBoxF6:"順豐 F6 箱"},b4e={add:"新增",back:"返回",cancel:"取消",change:"更改",confirm:"確認",continue:"繼續",create:"建立",default:"預設",delete:"刪除",done:"完成",download:"下載",edit:"編輯",enable:"啟用",disable:"停用",enabled:"已啟用",disabled:"已停用",intercept:"攔截",and:"以及",moreActions:"更多動作",next:"下一步",refresh:"重新整理",save:"儲存",showLess:"顯示更少",showMoreWithCount:"顯示另外{{count}}個項目",submit:"提交",understand:"我明白了",upload:"上載",view:"前往"},S4e={shopify:"Shopify",spaceshipPro:"Spaceship Pro"},w4e={card:{title:"Zonos 資訊",lineItems:"商品項目",productVariantId:"Shopify 商品",shippingAmount:"運費金額"}},x4e={date:"yyyy-MM-dd",dateTime:"yyyy-MM-dd, HH:mm",dateTimeWithoutYear:"MM-dd HH:mm",time:"HH:mm"},C4e={cainiaoPickupPoint:{district:{label:`地區
230`,placeholder:"請選擇"},region:{label:"地區",placeholder:"請選擇"},search:"以地址搜索",title:"菜鳥自提點"},fields:{addressLine1:{helpText:"如您需要將包裹寄送至郵政信箱 (PO Box),請選擇 Spaceship Air Standard/香港郵政提供的託運服務。",label:"地址行 1"},addressLine2:{label:"地址行 2"},addressNickname:{helpText:"此欄用作寄件人地址的參考名稱(例如:我的辦公室)",label:"別名 (只作內部參考)"},city:{label:"城市"},companyName:{label:"公司名稱"},connectedStore:{label:"Connected Store",placeholder:"選擇網店"},contactFullName:{label:"聯絡人全名"},country:{byContinents:"大洲",featuredLabel:"熱門",label:"國家/地區",othersLabel:"其他",placeholder:"選擇國家/地區"},countryOfManufacture:{label:"原產地"},currency:{label:"貨幣"},district:{label:"地區",placeholder:"地區"},email:{label:"電郵地址"},height:{label:"高度"}
230,hsCodeCategory:{error:{onlyNumber:"只接受數字,符號、特殊字符等均不接受"},placeholder:"以類別/HS 代碼搜尋"},isDefaultAddress:{label:"設定為預設地址"},isResidentialAddress:{label:"這是住宅地址"},itemValue:{label:"物品單價"},length:{label:"長度"},name:{label:"聯絡人全名"},orderRef:{helpText:"輸入您的網店訂單編號以便搜尋及追蹤相應的運單。",hint:"訂單編號",label:"訂單編號"},packageDropdown:{autoSelection:{label:"自動選擇包裝",option:{desc:"根據您在「產品管理」中的物品尺寸,從您的包裝列表中自動選擇最適合的包裝。",text:"自動選擇包裝"}},custom:{label:"自訂包裝尺寸",option:{text:"輸入自訂包裝尺寸"}},customPlaceholder:"選擇已儲存的包裝尺寸",error:{fedexPackagingNotEnabled:"尚未啟用 FedEx 包裝"},fedex:{option:{disabledText:"FedEx 包裝設定",enabledText:"FedEx 包裝設定"}},packageDropdown:{label:"輸入自訂包裝尺寸"},subsectionTitle:{customPackaging:"自訂紙箱尺寸",fedexPackaging:"FedEx 包裝",sfPackaging:"順豐包裝"}},password:{hints:{hide:"隱藏",lengthLimit:"密碼必須包含 6 個字符或以上",show:"顯示"},label:"密碼"},phone:{error:{onlyNumber:"只接受數字,符號、特殊字符等均不接受"},label:"電話號碼"},phoneNumber:{label:"電話號碼"},postalCode:{label:"郵政編號"},productType:{placeholder:"輸入產品類別"},quantity:{label:"數量"},shipmentPurpose:{hint:"寄件目的將影響相應的海關要求,例如要求額外文件、進口關稅和税款計算方式。",label:"寄件目的",placeholder:"選擇寄件目的"},shipmentTags:{helpText:"每張運單可支援最多 250 個標記",label:"標記",options:{add:"<strong>新增</strong> {{tagName}}",empty:"建立您的首個標記"},placeholder:{bulkAdd:"搜尋或新增標記",bulkRemove:"選擇您想移除的標記",search:"搜尋標記",searchOrCreate:"搜尋或建立新標記"}},state:{label:"州份",placeholder:"選擇州份"},taxId:{label:"稅務編號"},taxTerm:{ioss:{label:"IOSS 號碼",placeholder:"選擇 IOSS 號碼"},label:"課稅模式",placeholder:"選擇課稅模式"},url:{label:"連結",placeholder:"www.example.com"},weight:{label:"重量"},width:{label:"寬度"}},imageFileUpload:{delete:"刪除",hints:{maxFileSize:"檔案大小不能超過:{{maxFileSize}}",recommendedDimension:"建議長寬比例:2:3",supportedFormats:"支援格式:{{formats}}"}},valueAddedServices:{title:"增值服務",directSignatureDelivery:"簽收確認交付",directSignatureDeliveryHelpText:"簽收確認交付要求收件人於交付時親自簽收,費用由託運商決定。請注意,此服務可能只適用於特定託運商。",addressTranslationNeeded:"需要地址翻譯",noAddressTranslationNeeded:"不需要地址翻譯",addressTranslationNeededHelpText:"如收件人地址需要於報價前翻譯,請啟用此選項。",enabled:"已啟用",noValueAddedService:"沒有增值服務",noDirectSignatureDelivery:"未指定簽收確認交付方法"},placeholder:{select:"請選擇..."},promptBlocker:{description:"您會否在離開此頁面前,儲存所有更改?",discard:"取消所有更改",leave:"離開此頁面",save:"儲存所有更改",stay:"留在此頁面",title:"離開此頁面?"},sfNetwork:{district:{label:"地區",placeholder:"選擇地區"},region:{label:"區域",placeholder:"選擇區域"},search:"以地址或網點編號搜索",title:"順豐網點地址或編號",type:{"7Eleven":"7-Eleven 便利店",all:"全部順豐網點",circleK:"OK 便利店",label:"順豐網點類型",other:"其他",placeholder:"選擇順豐網點",sfLocker:"順豐自助櫃",sfStore:"順豐站",shell:"Shell 蜆殼油站"}},validation:{invalidColorCode:"請輸入有效的顏色代碼",invalidEmail:"請輸入有效的電郵地址",invalidInput:"輸入無效",invalidMaxLength:"{{fieldName}} 最多包含 {{maxLength}} 個字符。",invalidMinLength:"{{fieldName}} 必須包含 {{minLength}} 個字符或以上。",invalidNumber:{greaterThan:"{{fieldName}} 必須大過 {{min}}",greaterThanOrEqualTo:"{{fieldName}}必須大過或等於 {{min}}"},invalidStateInAddress:"此地址的州份並未填妥或無效,請修改州份,或選擇另一個地址。",invali
230dUrl:"請輸入有效的網站連結,連結應以 https:// 或 http:// 開頭",invalidUrlWithoutProtocol:"請輸入有效的網站連結",maxFileSize:"檔案大小不能超過 {{maxFileSize}}",pleaseSelect:"請選擇{{fieldName}}",required:"必須填{{fieldName}}",unsupportedCountry:"Spaceship 不支援此路線,請輸入另一個國家/地區。"}},E4e={bizUrl:"https://biz.spaceshipapp.com",clearAllFilters:{label:"清除所有篩選"},clearSelections:"清除",copiedSomething:"已複製",copy:"複製",copySomething:"複製",district:{hongKongIsland:"香港島",kowloon:"九龍",newTerritories:"新界"},eCommerce:{amazon:"Amazon",esty:"Esty",hktvmall:"HKTV mall",kickstarter:"Kickstarter",shopify:"Shopify",tiktok:"TikTok"},emptyState:{searchResultNotFound:{desc:"請嘗試以其他關鍵字或條件搜尋。",title:"沒有匹配結果"}},languages:{en:"English",zhHk:"繁體中文"},learnMore:"了解更多",legacyProBanner:{message:"<legacyProUrl>登入已退役版本 Spaceship Pro</legacyProUrl>",url:"https://app.spaceshipapp.com/login?lng=zh-hk"},package:{centimeter:"cm",formattedDimension:"長 {{length}} x 寬 {{width}} x 高 {{height}} cm",formattedDimensionAndWeight:"長 {{length}} x 寬 {{width}} x 高 {{height}} cm, {{weightValue}} {{weightUnit}}",formattedDimensionWithLabel:"長 {{length}} x 寬 {{width}} x 高 {{height}} {{unit}}",formattedDimensionWithoutUnit:"L{{length}} x W{{width}} x H{{height}}",formattedDimensionWithoutUnitAndWeightWithUnit:"長 {{length}} x 寬 {{width}} x 高 {{height}}, {{weightValue}} {{weightUnit}}",formattedWeight:"{{weight}} {{unit}}",height:"高度",length:"長度",width:"寬度"},shipmentPurpose:{commercialUse:"商業用途",personalUse:"個人用途",returnGoods:"退貨",sampleUse:"樣本"},shipmentStatus:{actionsRequired:"待處理",cancelled:"已取消",delivered:"已送達",labelCreated:"已建立託運標籤",onHold:"出現異常",onTheWay:"運送中",processing:"已到達物流中心",toBeCollected:"待收件"},step:"步驟 {{step}}",url:{batteryShipping:"https://support.spaceshipapp.com/zh-hk/%E5%AF%84%E5%90%AB%E9%9B%BB%E6%B1%A0%E7%89%A9%E5%93%81%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A0%85",instructionsPackingBattery:"https://support.spaceshipapp.com/zh-hk/%E5%AF%84%E5%90%AB%E9%9B%BB%E6%B1%A0%E7%89%A9%E5%93%81%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A0%85",privacyPolicy:"https://www.spaceshipapp.com/privacy-policy",ssCareTnC:"https://www.spaceshipapp.com/en-hk/spaceship-care-terms-and-conditions/",termsAndConditions:"https://www.spaceshipapp.com/terms-and-conditions"},warehouseReceivingOrderStatus:{arrived:"已到達",awaiting:"待到達倉庫",cancelRequested:"已提交取消要求",cancelled:"已取消",completed:"已完成",created:"已建立",processing:"處理中",received:"已收貨"}},k4e={170490:"乾糧",330499:"化妝及護膚產品",420100:"寵物配件",420212:"袋及行李箱",490110:"文件",490199:"書籍",621710:"時裝 
230- 配飾",621790:"時裝 - 衣服",640411:"鞋",847130:"電腦及平板電腦",847300:"電腦配件",850980:"家用電器",851700:"流動電話",851989:"影音視頻設備",852500:"相機",910200:"手錶",940389:"傢俬",95e4:"玩具及桌面遊戲",950450:"電子遊戲",950600:"運動用品",others:"其他"},T4e={spaceshipPersonal:"https://www.spaceshipapp.com/ship/zh-hk"},_4e={subscriptionEndReminder:{action:{continueTrial:"繼續免費試用",upgrade:"立即升級"},checkbox:{notShowAgain:"不再提示此訊息"},desc:{ended:"請留意部分功能將會受影響。",nearEnd:"部分正享用的功能將受影響。"},earlyBirdTitle:"Early Bird 計劃即將結束",freeTrialTitle:"免費試用期即將結束",subTitle:{ended:"已降級至 Free 計劃",freeTrialNearEnd:"您的 Growth 計劃免費試用期將於 {{ days }} 日後完結",nearEnd:"您將於 {{ days }} 日後降級至 Free 計劃"},title:"收費計劃即將到期"}},P4e={actionRequiredShipments:"待處理",billing:"賬單",cancelledShipments:"已取消",carriers:"託運服務",config:"配置",contactUs:{label:"客戶服務",url:"https://support.spaceshipapp.com/tickets"},createFulfillmentOrder:"新發貨訂單",createShipment:"新運單",downloadAndPrint:"下載及列印",allShipments:"所有運單",draftShipments:"草稿",eCommerce:"網店管理",fulfillment:{actionRequired:"待處理",inventory:"庫存管理",orders:"未發貨訂單",returnOrders:"退貨單",title:"倉庫發貨",all:"所有訂單"},helpCenter:{label:"託運教學",url:"https://support.spaceshipapp.com/zh-hk"},home:"首頁",importFulfillmentOrder:"匯入發貨訂單",importShipments:"匯入發貨訂單",labelCreatedShipments:"已建立標籤",new:"新功能",newOrder:"建立訂單",newShipment:"建立運單",orderSyncStatus:{completed:{clear:"我明白了",description:"您可以前往「草稿」頁面瀏覽已同步的訂單。",noSyncedOrders:"此已選時段內未有相應訂單可供同步。",source:"同步網店:",syncedOrderCount:"已同步訂單:{{count}}",title:"已同步所有訂單"},failed:{cancel:"取消同步",description:"同步訂單時發生未知錯誤。請稍候片刻,然後再試一次。如嘗試後仍不成功,請透過左下方的聊天室聯絡我們。",retry:"重新同步",source:"同步網店:",syncedOrderCount:"已同步訂單:{{count}}",title:"未能同步部分訂單"},syncing:{description:"此過程可能需時一段時間(尤其當訂單量不少時),請耐心等候。",source:"同步網店:",syncedOrderCount:"已同步訂單:{{count}}",title:"同步訂單中..."}},paymentMethods:"付款方法",paymentSettings:"付款設定",pendingCharges:"待繳費用",pickups:"上門收件",plans:"收費計劃",productSyncStatus:{completed:{actions:{confirm:"我明白了"},description:"已經成功同步<strong>{{storeName}}</strong>的所有產品",lastSyncedAt:"上次同步:{{lastSyncedAt}}",productsCount:"已同步產品:{{count}}",title:"同步完成"},failed:{actions:{retry:"重新嘗試"},description:"我們未能從{{storeName}}同步產品,請稍後重試。",title:"同步失敗"},syncing:{description:"我們正在同步{{storeName}}的產品,此過程可能需時一段時間,請耐心等候。",title:"同步產品..."}},products:"產品管理",quotation:"運費報價",schedulePickups:"預約上門收件",scheduledPickups:"已預約",selfManaged:"自營發貨",settings:"設定",spaceshipAI:{title:"Spaceship AI",description:"試用我們全新的測試版智能助手,讓託運更智能。",openAssistant:"開啟助手"},shipments:"運單",shippingAutomation:"物流自動化",shippingLabels:"託運標籤",storeIntegration:"網店連接",trackAndTrace:"運單追蹤",users:"用戶",wallet:"我的錢包"},A4e={checklist:{button:{close:"關閉"},checkbox:{title:"不再顯示本教學"},completedModal:{doLater:"自行探索",home:"開始下一個任務",nextStep:"立即完成餘下任務,以體驗整個發貨過程、賺取額外獎賞!",nextStepPrintLabel:"立即列印您的首張標籤,並將此運單寄給您的客人!",title:"恭喜您!您已完成以下任務:",titleAll:"恭喜您,您已完成整個發貨體驗 🚀<br />
230正式成為發貨專家!",toPrintLabel:"下載及列印您的標籤",youHaveEarned:"目前您已賺取 <amount><strong>{{amount}}</strong></amount>。",youHaveTotalEarned:"您已成功賺取<amount><strong>{{amount}}</strong></amount>!"},heading:{notes:"請按照此清單完成任務,成為發貨專家!",notesCompleted:"恭喜您!您已成為發貨專家!",progress:"已完成 {{percentage}}%",title:"🚀 立即展開您的光速發貨體驗!",titleCompleted:"🚀 您已完成整個發貨體驗!"},itemGroups:{setupDefaults:{name:"設定預設資料"}},items:{buyShipment:{name:"購買首張運單"},buyShopifyShipment:{name:"從已同步訂單中購買 1 張運單"},connectShopify:{name:"連接您的網店"},createShipment:{name:"為 1 張運單草稿填寫所有必要資料"},getQuickQuote:{name:"獲取 1 個運費報價"},setupDefaultPackaging:{name:"新增包裝"},setupDefaultSenderAddress:{name:"新增預設寄件地址"}},list:{expectedMins:"約 {{expectedMins}} 分鐘",rewardWalletAmount:"+ {{currency}} {{amount}}",rewardWalletAmountCompleted:"已賺取 {{currency}} {{amount}}"}}},O4e={setupModal:{form:{agreeToTerms:"請同意 Spaceship 使用條款。",description:"為了確保您的貨件在貴公司的責任範圍內順利寄送,我們需要驗證您公司基本資料。完成驗證後,您即可享受便捷的寄送服務。",fields:{businessRegistrationExpirationDate:"到期日",businessRegistrationFile:"商業登記文件",businessRegistrationNumber:"商業登記號碼",companyName:"公司名稱",firstName:"名稱",lastName:"姓",phone:"聯絡人電話",position:"職位",websiteUrl:"公司網址"},hints:{businessRegistrationFileAcceptedTypes:"接受 .pdf, .jpg and .png 檔案"},requestToUploadBusinessRegistrationFile:"請上傳商業登記文件 (BR)",termsAndConditions:{content:"Spaceship (HK) Limited (“Spaceship”, “we” and “us”) with its Hong Kong office address at Unit 1111,DT Hub, 5 Chun Cheong St, Tseung Kwan O, Hong Kong is the operator of [www.spaceshipapp.com](https://www.spaceshipapp.com/) and the Mobile App (“Website” or “Spaceship”). Spaceship is a technology platform that connect shippers and/or couriers and/or third party service provider (the “Courier”) for you to select the courier service (the “Services”). The Website is designed to provide assistance to users (“User(s)” or “you”) in creating and managing shipments (the “Shipment”). This Website and the offer of our Services (defined below) are offered on the sole condition of your acceptance without modification of any and all the terms, conditions, and notices set forth below (Collectively, the “Terms of Service”). By creating an account on the Website or by using any Services provided by us, you acknowledge that you have read, understood, and agreed to be bound by the Terms of Service and represent that you have read and understood the same.\\n\\nThe Terms of Service are accessible at any time on the following page of our Website https://www.spaceshipapp.com/zh-hk/terms-and-conditions. You must read, agree with and accept all the terms and conditions contained in the Terms of Service, and our Privacy Policy contained in https://www.spaceshipapp.com/zh-hk/privacy-policy (“Privacy Policy”) prior to becoming a Spaceship user. If you do not accept any provision in our Terms of Service and/or Privacy Policy, you are not authorized to use this Website or our Services and shall immediately cease using this Website. We shall revise the Term of Service and Privacy Policy from time to time.\\n\\nThe Terms of Service represent a legally binding agreement between you (and your client, employer or another entity if you are acting on their behalf) and Spaceship and its direct affiliates or subsidiary, including the various different entities that Spaceship uses to operate locally in different countries.\\n\\nTo contact us, please email or whatsapp our customer service team (for our email address and whatsapp, please see [http://www.spaceshipapp.com](http://www.spaceshipapp.com/)). You can also use the service chat on our Website.\\n\\n**1. Acceptance of Terms of Service**\\n\\n1.1. If you are entering into these Terms of Service on behalf of a company, business or other legal entity, you represent that you have the authority to bind such entity and its affiliates to these Terms of Service, in which case the Terms of Service “you” or “your” shall refer to such entity and its affiliates. If you do not have such authority, or if you do not agree with these Terms of Service, you shall not accept the Terms of Service on behalf of such entity and you are not authorized to use this Website or the Services.\\n\\n1.2. By registering for the Services, you agree to provide and maintain true, accurate, current and complete information about yourself as prompted by the Services’ registration form. Our collection and processing of registration data and certain other information about you are governed by our Privacy Policy.\\n\\n1.3. You acknowledge and agree that we may change or otherwise modify the Terms of Service in the future, such changes and modifications shall become effective immediately upon posting to the Website. You understand, agree and fully accept that your continued access or use of this Website after such change or modification constitutes your acceptance of the changed or modified Terms of Service and Privacy Policy. Spaceship endeavors to provide you with notice of any changes to the Terms of Service, but Space
230ship’s failure to do so shall not excuse your obligation to comply with any such modified Terms of Service. You shall periodically review the most current version of these Terms of Service as posted on the Website.\\n\\n1.4. You acknowledge, agree and fully accept that you may be subject to additional terms applicable to certain Services provided by us and/or the Courier that may be attached to such Services from time to time. All such terms are hereby incorporated by reference into these Terms of Service. Also, you will be subject to the terms and conditions of the Courier which you have selected. You are solely responsible to go through the terms and conditions of the Courier which you have selected before you confirm the Shipment.\\n\\n1.5. In the event that you commit any breach or violation of any terms and conditions under our Terms of Service, we reserve all our rights including but not limited to immediately terminate our Services, suspend your Spaceship account, and/or may take other legal action against you without further notice.\\n\\n1.6 The usage of any services not provided by us (including, without limitation, warehousing services) may requires you to enter into a separate legally binding service agreement with a Courier. You acknowledge, agree and fully accept that we do not assume any liability whatsoever for any acts, errors, or omissions (including, without limitation for any negligence or willful misconduct) of the Courier with whom you or any of your affiliates may contract, regardless of the purpose. This is your sole responsibility to go through the terms and conditions of the Courier which you have selected before you confirm the Shipment.\\n\\n**2. Description of Services**\\n\\n2.1. For the purpose of these Terms of Service, “Services” shall include (a) the account services of the Website, (b) all software, data, reports, text, images, sounds, video, and content made available through any of the foregoing (collectively referred to as the “Content”), and (c) Shipment information and services provided by the Courier. Any new feature added to, or augmenting the Services, is also subject to these Terms of Service. Spaceship reserve the right to revise the Services from time to time.\\n\\n2.2 The information, software, products, and Services published on this website may include inaccuracies or typographical errors. In particular, we and our affiliates do not guarantee the accuracy of and disclaim liability for inaccuracies relating to Courier’s terms and conditions, photographs, automobile and other service descriptions and other service descriptions displayed on the Website. We and our affiliates do not guarantee the accuracy of the information herein.\\n\\n2.3 We and our affiliates, and the Courier make no representations about the suitability of the information, software, products, and services contained on the Website for any purpose, and the inclusion or offering for sale of any products or services on the Website does not constitute any endorsement or recommendation of such products or services by us and our affiliates. We and our affiliates, and/or their respective Courier hereby disclaim all warranties, and conditions with regard to this information, software, products, and services, including all implied warranties and conditions of merchantability, fitness for a particular purpose, title, and non-infringement.\\n\\n2.4 The Courier providing the services for Spaceship are independent contractors and not agents or employees of Spaceship or its affiliates. We and our affiliates are not liable for the acts, errors, omissions, representations, warranties, breaches or negligence of any such Courier or for any personal injuries, death, property loss and damage, or other damages or expenses resulting therefrom. We and our affiliates have no liability and will make no refund in the event of any delay, cancellation, overbooking, strike, force majeure or other causes beyond their direct control, and we have no responsibility for any additional expense, omissions, delays, re-routing or acts of any government or authority.\\n\\n2.5 In no event shall Spaceship, its affiliates, and/or their respective Courier be liable for any direct, indirect, punitive, incidental, special, or consequential damages arising out of, or in any way connected with, the use of the Website or with the delay or inability to use the Website, or for any information, software, products, and services obtained through the Website, or otherwise arising out of the use of the Website, whether based on contract, tort, strict liability, or otherwise, even if Spaceship, its affiliates, and/or the Courier have been advised of the possibility of damages.\\n\\n**3. Prohibited Products**\\n\\
230n3.1. The following are the types of products that, for everyone’s safety, you are prohibited to ship through Spaceship. The items listed in this paragraph is not conclusive and you solely responsible for checking with the relevant laws, rules and regulations of the local and/or oversea custom and/or government authorities:\\n\\n- Any product related to illegal activities or which is prohibited by law in the place of origin, the destination, or any sites through which such product travel.\\n- Any product requiring specific licenses to store or distribute, import and export. Examples of products with distribution and licensing requirements may include, but are not limited to:\\n - Live plants and animals;\\n - Alcoholic beverages;\\n - Ammunition & firearms;\\n - Tobacco;\\n - Firearms and any kind of weapon;\\n - Prescription pharmaceuticals or other dangerous drugs;\\n - Explosive or hazardous products;\\n - Unique or one-of-a-kind materials;\\n - Precious metals in the forms of bullion or reserves; and\\n - Electronic component and/or device which subject to the relevant laws and regulations\\n\\n3.2 Spaceship shall not be liable for any delay, loss, damage, destruction caused by the Courier and/or confiscation by the local and/or oversea custom and government authorities of any prohibited product. Spaceship has the sole discretion to cancel any order if Spaceship is suspecting the user is sending the prohibited products.\\n\\n**4. General Conditions/ Access and Use of the Services**\\n\\n4.1. Subject to the terms and conditions of these Terms of Service, you may access and use the Services only for lawful purposes. All rights, titles and interests in and to the Services and its components will remain with and belong exclusively to Spaceship. You shall not (a) sublicense, resell, rent, lease, transfer, assign, time share or otherwise make the Services and/or your Account available to any third party, without written consent of Spaceship; (b) use the Services in any unlawful manner (including without limitation in violation of any data, privacy, export or import control laws) or in any manner that interferes with or disrupts the integrity or performance of the Services or its components or otherwise violates our Terms of Service, or (c) modify, adapt or hack the Services to, or otherwise attempt to gain unauthorized access to the Services or its related systems or networks. You shall comply with all codes of conduct, policies or other notices which Spaceship and/or the Courier provides you or publishes in connection with the Services, and you shall promptly notify Spaceship if you learn of a security breach related to the Services.\\n\\n4.2 You may not tender for shipment any of the prohibited items listed under the Clause 3.1. You grant Spaceship and/or the Courier and/or any authorized third parties the right to inspect your Shipment at any time. We reserve the right to reject or suspend the carriage of any item which we suspect that will breach the laws.\\n\\n4.3. You acknowledge, agree and fully accept that you will not use the Services and/or the Website to (or assist another person to): (a) upload any content that (i) infringes any intellectual property or other proprietary rights of any party; (ii) you do not have a right to upload under any law or under contractual or fiduciary relationships; (iii) contains software viruses or any other computer code, files or programs designed to interrupt, destroy or limit the functionality of any computer software or hardware or telecommunications equipment; (iv) poses or creates a privacy or security risk to any person; (v) is unlawful, harmful, threatening, abusive, harassing, tortious, excessively violent, defamatory, vulgar, obscene, pornographic, libelous, invasive of another’s privacy, hateful racially, ethnically or otherwise objectionable; or (vi) in the sole judgment of Spaceship, is objectionable or which restricts or inhibits any other person from using or enjoying the Services, or which may expose Spaceship or its users to any harm or liability of any type; (b) interfere with or disrupt the Services or servers or networks connected to the Service, or disobey any requirements, procedures, policies or regulations of networks connected to the Services; or (c) violate any applicable local, state, national or international law, or any regulations having the force of law; (d) impersonate any person or entity, or falsely state or otherwise misrepresent your affiliation with a person or entity; or (e) obtain or attempt to access or otherwise obtain any materials or information through any means not intentionally made available or provided for through the Services.\\n\\n4.4. You are solely responsible for all data, information, feedback, suggestions, text, content and other materials that you upload, post, deliver, provide or otherwise transmit or store in connection with or relating to the Services (“Your Content”). Spaceship reserves the right to access your account in order to respond to your requests for technical support. By posting Your Content on or through the Services, you hereby do and shall grant Spaceship a worldwide, non-exclusive, perpetual, irrevocable, royalty-free, fully paid, sub licensable and transferable license to use, modify, reproduce, distribute, display, publish and perform Your Content in connection with the Services and to improve Spaceship’s products and Services, subject to the terms and conditions of these Terms of Service and our Privacy Policy. Spaceship has the right, but not the obligation, to monitor the Services, Content, or Your Content and to disclose Your Content if required to do so by law or in the good faith belief that such action is necessary to (i) comply with a legal obligation, (ii) protect and defend the rights or property of Spaceship, (iii) act in urgent circumstances to protect the personal safety of users of the Services or the public, or (iv) protect against legal liability. You further acknowledge, agree and fully accept that Spaceship may remove or disable any Your Content at any time for any reason (including, but not limited to, upon receipt of claims or allegations from third parties or authorities relating to such Content), or for no reason at all.\\n\\n4.5. You understand that the operation of the Services, including Your Content, may be unencrypted and involve (a) transmissions over various networks; (b) changes to conform and adapt to technical requirements of connecting networks or devices and (c) transmission to Spaceship’s business partners including but not limited to the Courier and hosting partners to provide the necessary hardware, softw
230are, networking, storage, and related technology required to operate and maintain the Services. Accordingly, you acknowledge, agree and fully accept that you bear sole responsibility for adequate security, protection and backup of Your Content. Spaceship shall in any event have no liability to you for any unauthorized access or use of any of Your Content, or any corruption, deletion, destruction or loss of any of Your Content.\\n\\n4.6. You are solely responsible for obtaining and maintaining any equipment and ancillary Services needed to connect to, access or otherwise use the Services, including, without limitation, browsers, modems, hardware, servers, software, operating system, networking, web servers and internet Services (collectively, “Equipment”). You are solely responsible for ensuring that such Equipment is compatible with the Services and complies with all configurations and specifications set forth in Spaceship’s published policies then in effect. You are also solely responsible for maintaining the security of the Equipment, your account, passwords (including but not limited to administrative and user passwords) and files, and for all uses of your account or the Equipment with or without your knowledge or consent.\\n\\n4.7. Subject to the Terms of Service hereof, Spaceship may (but has no obligation to) provide technical support Services, through email in accordance with our standard practice. Spaceship might use the email and/or the telephone number provided by you to send you updates about the packages, gain consignee feedback, and in general any time Spaceship consider it needed to carry on its Services.\\n\\n4.8. In the event that you wish to change any information regarding the Shipment, such as address, items included or other matters, please contact us directly (by sending email or whatsapp our customer service team (for our email address and whatsapp, please see www.spaceship.hk). You can also use the service chat on our Website) and we will help as part of our customer support services. In the event that the Shipment has already been handled over to any Courier, such changes may not become effective, or the Courier may ask a fee to validate the change. Any change of information regarding the Shipment shall be subject to the final approval and confirmation by the Courier.\\n\\n4.9. In the event that you wish to enquire, lodge a claim or complaint regarding the Shipment, please contact us directly (by sending email or whatsapp our customer service team (for our email address and whatsapp, please see www.spaceship.hk). You can also use the service chat on our Website) and we will help as part of our customer support services.\\n\\n4.10. In the event that a Shipment is recalled and the Courier does not provide the returned delivery to the sender address, the Shipment item will be returned to Spaceship. You may choose to collect the Shipment item, at your own expenses, at a designated location provided by Spaceship, or pay a return shipping fee in an amount quoted by Spaceship including but not limited to the penalty charged by Courier in respect of shipment of prohibited items, and Spaceship will ship it to your sender address.\\n\\n**5. Account**\\n\\n5.1. In order to create an account with Spaceship, you agree that you will provide accurate, true and correct information to the best of your knowledge and belief (“Registration Information”) and will promptly update such Registration Information as necessary. Access to, and use of, the Spaceship account is restricted to authorized users only.\\n\\n5.2. You agree not to share your password(s), account information, or account access information to any third party. You are solely responsible for maintaining the confidentiality of password(s) and account information, and you are responsible for all activities that occur under your password(s) or account(s) or as a result of your access to the account(s). You agree to notify Spaceship immediately of any unauthorized use of your account. In any event, Spaceship shall not be liable for any unauthorized use of your account.\\n\\n5.3. You may invite other users to share your account (the “Invited Member”). However, you shall be solely responsible for the actions and activities by such Invited Member on your Space
230ship account.\\n\\n**6. Payment**\\n\\n6.1. Shipping Fees\\n\\nA shipping fee will be charged for each Shipment, of which shall include all costs related to the Shipment, quoted by Spaceship (the “Estimated Shipping Fee”) after you have input all the relevant information as required. Estimated Shipping Fee shall include but not limited to shipping cost, fuel surcharge, insurance fee, import tax, import duty, remote area surcharge, courier tax handling fees, pick-up fees, peak season surcharge and any other amount related to the activity of shipping through Spaceship. Spaceship shall revise the Estimate Shipping Fees from time to time before the issuance of the final invoice (the “Final Invoice”) of the final shipping fee (the “Final Shipping Fee”) .\\n\\n6.2 Billing\\n\\nYou must provide complete and accurate payment information. Payment for Spaceship’s Services shall be made by any of the accepted payment methods as set out on the Website. Once you have confirmed the Shipment, Spaceship will send you a proforma invoice (the “Proforma Invoice”) for the Estimated Shipping Fee and charge the amount from the payment information you provide. The Estimated Shipping Fee is subject to be revised from time to time base on the actual weight and dimension of the shipment item, as well as the situation mention in clause 6.1, 6.3 and 6.4 of this Terms of Service. The Courier will send us a report after the item had been delivered to the destination. Upon receipt of the report, Spaceship will send you the Final Invoice of the Final Shipping Fee for the difference (if any) (i.e. difference between the Estimated Shipping Fee and Final Shipping Fee). Spaceship will charge from or refund the difference to Your Account. The report from the Courier for the shipment item is conclusive and you agree and fully accept that you are bound by the report.\\n\\n6.3. Discrepancies\\n\\nQuotations for Estimated Shipping Fee by Spaceship are based on the information provided by you, including but not limited to sender’s address, receiver’s address, weight, dimensions, and value of the items. In the event that there is a discrepancy between the Estimated Shipping Fee charged by the Courier which you have selected through Spaceship and the costs for the Shipment incurred by the Courier as you have selected through Spaceship due to incorrect information that you provided, including but not limited to incorrect weight, dimensions, value of the item(s), addresses, or any other information critical to estimate the shipping cost, you will be solely responsible for such discrepancy amount. Spaceship specifically disclaims any liability for any shipping fees errors due to inaccurate or incomplete information. Spaceship is not responsible for any changes or alteration of the shipping fees. Spaceship agrees to make reasonable efforts to bill such discrepancy amount to your account in a timely manner but Spaceship makes no representations or warranties regarding the amount of time needed to complete processing.\\n\\n6.4. Currency Fluctuations\\n\\nSpaceship reserves the right to adjust its pricing in response to currency fluctuations, including but not limited to, currency conversion rate changes, conversion fee changes, and/or discount rate changes from time to time and without any notice.\\n\\n6.5. Shipping Fee Disputes\\n\\nIn the event that you disagree with any Shipping Fees including but not limited to the Estimated Shipping Fee and the amount stated in the Final Invoice charged to your account, you shall submit such complaint to the Spaceship contact under the Website within THIRTY (30) days after the Final Invoice being issued (“Dispute Period”). Spaceship will not review your requests for shipping fee adjustments that are received after the Dispute Period.\\n\\n6.6. Taxes\\n\\nYou acknowledge , agree and fully accept that all fees, charges and any other rates or amounts charged by the Courier selected by you through Spaceship to you hereunder are exclusive of any applicable value added, sales/use or goods and Services’ taxes (“Transaction Taxes”) which may be levied in connection with the Services to you. you shall be solely responsible to pay any Transaction Taxes arising in respect of the Shipping Fees or other amounts charged by Spaceship to you. Any User who incorrectly declare the commodity type and/or value of the shipment(s) may be charged a penalty imposed by the C
230ourier plus the handling fee charged by Spaceship. Spaceship reserved the sole discretion in relation to the amount of penalty.\\n\\n6.7. Shipping Fee Refund\\n\\nYou may cancel any available and unused shipping label and request for a refund accordingly prior to pick up by the Courier being processed. Spaceship will refund the Estimated Shipping Fee to you within FOURTEEN (14) days from the date of you requests for such cancellation. In event that the Shipment has already been processed and sent over to or collected by the Courier, such Shipment may not be cancelled and you shall be liable for the Final Shipping Fee and any other related fees thereof.\\n\\n6.8 Credit Term and Late Payment Penalty Charge\\n\\nSpaceship may offer credit term to you for the settlement of Final Shipping Fee. We shall also offer discount for early settlement but the discount rate shall be revised from time to time and Spaceship shall have the absolute discretion in this regard. Spaceship reserve the right to impose penalty on each and every invoice if which have not been settled within the credit term.\\n\\n**7. Intellectual Property**\\n\\n7.1. Spaceship Property\\n\\nFor purposes of this Agreement, “Spaceship Property” shall mean (a) Spaceship’s methodology for the provision of Services; (b) the Developer Tools; and (c) Spaceship’s ideas, websites, designs, processes, code, technology, software, copyrights, logos, domain names, patents, trade secrets, trademarks, products and materials. Spaceship hereby retains all worldwide right, title and interest in and to the Spaceship Property. Any rights not expressly granted herein to the Spaceship Property shall be retained by Spaceship. You acknowledge, agree and fully accept that all right, title and interest to the Spaceship Property is owned by Spaceship.\\n\\n7.2. Additional Restrictions\\n\\nOther than as permitted herein, you shall not (and you shall not permit others to), directly or indirectly, modify, translate, decompile, disassemble, or reverse engineer any part of the Spaceship Property and/or any intellectual property right of the Courier, or otherwise attempt to discern the functioning or operation of the Website or Services; or copy, rent, lease, distribute, or otherwise transfer any or the rights that you receive hereunder. For clarification purposes, all page headers, custom graphics, button icons, and scripts are service marks, trademarks, and/or trade dress of Spaceship and/or the Courier and you shall not copy, imitate, or use them without our express prior written consent. You may only use HTML logos provided by Spaceship through our merchant Services, auction tools features or affiliate programs without prior written consent solely for the purpose of directing web traffic to http://www.spaceshipapp.com. You shall not alter, modify or change such HTML logos in any way, use them in a manner that is disparaging or otherwise adverse to Spaceship or the Services, or display them in any manner that implies Spaceship’s sponsorship or endorsement. You shall not (and you shall not permit others on your behalf to): (i) use any robot, spider, scraper or other automated means to access the Spaceship Website or Services for any purpose without Spaceship’s express written permission, (ii) interfere or attempt to interfere with the proper working of our Website or any activities conducted on the Website, or (iii) bypass any measures Spaceship may use to prevent or restrict access to the Spaceship Website or the Services.\\n\\n7.3. Client Property\\n\\nAll materials provided by you under any shall be deemed client property (the “Client Property”) for purposes of the Agreement. You hereby grant to Spaceship a non-exclusive license to the Client Property solely as needed to provide the Services.\\n\\n**8. Confidential Information**\\n\\n8.1. Definition\\n\\nEach party (the “Recipient”) acknowledges that it may receive Confidential Information as defined herein. For purposes of these Terms of Service and subject to the exclusions set forth below, Confidential Information means any information provided by the other party (the “Discloser”) that is marked, labelled or otherwise designated as confidential or proprietary, or that Recipient knew, or should have known, was confidential due to the circumstances surrounding the disclosure.\\n\\n8.2. Exclusion\\n\\nInformation that is subject to one of the exclusions below SHALL NOT be 
230Confidential Information. The exclusions including but not limited to the following: (a) Non-transactional Confidential Information (as defined below), (b) information publicly known at the time of disclosure, (c) information received by Recipient without restriction from a third party, (d) information published or otherwise made known to the public by Discloser, (e) information that was generated independently without reference to the Discloser’s Confidential Information, or (f) information that is required to be disclosed under a court order or pursuant to any applicable governmental rule, regulation or statute, provided that Recipient provide Discloser with prior written notice of such disclosure, (as permitted by law) and the timing for response set forth in the request.\\n\\n8.3. Non-transactional Confidential Information\\n\\nOther than transaction information absolutely required for Spaceship to provide, or for you to use the Services, Spaceship does not require nor desire any of your proprietary information (the “Non-transactional Confidential Information”). You agree not to provide Spaceship with any Non-transactional Confidential Information, including, but not limited to, prototypes of new products, without Spaceship’s express prior written consent. In the event that you send such Non-transactional Confidential Information to Spaceship without Spaceship’s prior written consent, then Spaceship shall not be obligated to treat such information as Confidential Information.\\n\\n8.4. Standard of Care\\n\\nRecipient shall not use the Confidential Information for any purpose other than as required by these Terms of Service. Recipient shall not disclose the Confidential Information to any third party, other than as required to perform the Services and/or require by law or Court Order. Recipient shall use at least the same standard of care with the Discloser’s Confidential Information as it does with its own Confidential Information, but in no event with less than reasonable care. Each party acknowledges that breach of this provision would result in irreparable harm to the other party, for which money damages would be an insufficient remedy, and therefore that the other party will be entitled to seek injunctive relief to enforce the provisions of this Section.\\n\\n8.5. Return or Destruction\\n\\nOther than transactional information that is retained in the ordinary course of Spaceship’s business or under the requirement by Courier or by laws and Court Order, each party shall either promptly return all Confidential Information, or confirm that such Confidential Information has been destroyed promptly after receipt of written request from the other party.\\n\\n8.6. Aggregate Use\\n\\nSubject to the Terms of Service herein, you hereby acknowledge, agree and fully accept that Spaceship may compile aggregate results from all of, or a selection of your use of the Services, provided that Spaceship shall not disclose any information that would individually identify you (the “Aggregate Information”). Such Aggregate Information shall be deemed to be Spaceship’s Confidential Information and belongs to Spaceship. You also hereby agree that Spaceship may review and use your individual use of the Services in order to provide Services to you, to evaluate Spaceship’s provision of the Services, and to improve Spaceship’s Services offerings.\\n\\n8.7. Privacy Policy\\n\\nSpaceship believes in protecting your privacy. Any information you provide to us or input on the Website as set out above will be used in accordance with our Privacy Policy found in this page (https://www.spaceshipapp.com/zh-hk/privacy-policy). We do not sell, rent, or otherwise disclose your Confidential Information to a third party, without your consent or as permitted by the Privacy Policy.\\n\\n**9. Indemnification**\\n\\n9.1. You agree to fully indemnify and to hold harmless Spaceship, our officers, directors, employees and agents from and against any and all claims, liabilities, damages, losses or expenses, including but not limited to legal costs and disbursements due to or arising out of your use of the Services and/or your violation of the Terms of Service. Upon requesting for our Service, you agree to fully indemnify and hold harmless Spaceship from any and all claims for transportation, storage, handling and other charges relating to the goods in respect of the Shipment, including undercharges, rail demurrage, truck/intermodal detention and other charges of any nature, even though Spaceship and/or the Courier had accepted such order.\\n\\n**10. Disclaimers**\\n\\
230n10.1. As Is Spaceship endeavors to provide the Services in accordance with these Terms of Service. Users acknowledge that the Services and the Website are provided on an “as is” and “as available” basis. You are fully aware that Spaceship is providing the platform for you to select the Courier Service and Spaceship expressly disclaim all warranties of any kind, whether express or implied, including, but not limited to, the implied warranties of merchantability, fitness for a particular purpose and non-infringement for the services, the Website and any services provided by the Courier. The use of the Services, Website, or third party services shall be at your own risk. Also, Shipping Fees Quoted in the Website are liable to change at any time, but changes will not affect bookings already accepted. Despite our best efforts, some of the services listed on the Website may be incorrectly priced or subject to revise. WE EXPRESSLY RESERVES THE RIGHT TO CORRECT ANY SHIPPING FEE ERRORS ON THE WEBSITE FROM TIME TO TIME. Spaceship is under no obligation to provide courier services to you at an incorrect (lower) price, even after you have been sent confirmation of your booking.\\n\\n10.2. No Continuous Access\\n\\nSpaceship does not guarantee continuous, uninterrupted or secure access to the Services. Operation of the Services may be interfered with by numerous factors outside of our control. Spaceship will make reasonable efforts to process requests for receiving or shipping merchandise in a timely manner but Spaceship makes no representations or warranties regarding the amount of time needed to complete processing because our Services are dependent upon many factors outside of our control, such as delays caused by the Courier and/or third parties. Spaceship is not liable for any direct, indirect, incidental damage, loss of profit, goodwill, use, or data resulting from our inability to provide the Service. We reserve the sole right to discontinue the Website and our Services, including any of the Website’s features, at any time with or without notice to you.\\n\\n10.3. Others\\n\\nYou understand that Spaceship does not inspect your goods nor does Spaceship take any responsibility for the business decisions that you make and implement through the Services. You acknowledge that Spaceship is not the merchant of the shipping item, nor the importer of the shipping item, and nor the owner of any product shipped by you through Spaceship.\\n\\n**11. Limitation of Liability**\\n\\n11.1. Third-Party Liability\\n\\nBy accepting the Terms of Service, you acknowledge, agree and fully accept that we do not assume any liability whatsoever for any acts, errors, or omissions (including, without limitation, any negligence or willful misconduct) of any Courier with whom you or any of your affiliates may contract, regardless of the purpose.\\n\\n11.2. Waiver of Consequential Damages and Limitation of Liability\\n\\nIn no event shall Spaceship be liable for any direct, indirect, incidental, special or consequential damages, or damages for loss or damage of Shipments, loss of profits, revenue, data or use, incurred by you or any third party, whether in an action in contract or tort, arising from your access to, or use of, the Website, any content, or any third party websites and content. Other than as set forth below, in no event shall Spaceship’s liability under this Term of Service exceed the monies paid or payable by you to Spaceship for the applicable services excluding the actual shipping fees charged by the Courier or other third party fees (the “damages cap”). In the event of an unauthorized transaction by a Spaceship employee or agent, Spaceship is only liable for the damages cap. Spaceship must be notified within five (5) days after any unauthorized transaction otherwise any complaint regarding the unauthorized transaction will not be entertained by Spaceship.\\n\\n11.3. Declaration and Accurate Information\\n\\nYou are responsible to provide complete and accurate information in respect of the Shipment, including but not limited to the item category, dimension, weight and item value of the Shipment and the information required from time to time. You shall be solely responsible for any error, damage, expense or consequence resulting from wrong or incomplete information provided to us. You shall further fully indemnify Spaceship for and hold Spaceship harmless from any loss or expense resulting as a consequence of the wrong information provided by you. Space
230ship shall not be responsible for losses or damages in the event that any item contained in the Shipment is wrongfully declared. Moreover, Spaceship is in no way responsible for any damages, losses due to local and/or overseas custom practice. Spaceship shall not be liable for the accuracy and truthfulness of the information provided by you.\\n\\n11.4. Customs\\n\\nSpaceship shall not be liable for any loss, delay, or damage of items shipped, while in the hands of a local and/or overseas custom. In addition, Spaceship shall not be held responsible in the event that the local and/or overseas custom confiscates, holds, or denies release of the Shipment to the receiver.\\n\\n11.5. Service provided by Courier\\n\\nSpaceship is a technology platform that connect you and the Courier for the Shipment services. In no circumstances that Spaceship will be liable for any Services provided by any Courier. Spaceship is not liable for any damage, destruction, or loss of Shipment, late delivery, and issues with the tracking, b
230y the Courier. Spaceship is not liable for any acts, errors, or omissions (including, without limitation, any negligence or willful misconduct) of the Courier (including, without limitation, any delay, wrong, or missed pickup by the Courier). Also if you buy a shipping label from a Courier that does not provide any pickup service, you agree to be solely responsible to deliver the Shipment to the Spaceship’s designated drop-off point. Spaceship is not liable for the delivery time information shown on the Website. Spaceship is not responsible for any delayed delivery caused by the Courier. Further to the above, Spaceship may connect warehouse service providers with potential clients. You acknowledge, agree and fully accept that we do not assume any liability whatsoever for acts, errors, or omissions (including, without limitation, any negligence or willful misconduct) of any third-party service providers with whom you or any of your affiliates may contract, regardless of the purpose.\\n\\n11.6. Other\\n\\nSpaceship is not liable for any fees, expenses, resulting as a consequence of any change of information from your side (for example change of address, order cancellation, or order call-back), after a Shipment has been confirmed by the Courier and paid by you to Spaceship. Spaceship is not liable for any delay in the generation of shipping documents.\\n\\n**12. Insurance**\\n\\nYou are advised to purchase an insurance coverage for your Shipments.\\n\\n**13. Termination**\\n\\n13.1. You have the right to terminate your account at any time by sending a cancellation request to Spaceship contact as stipulated in the Website.\\n\\n13.2 Spaceship may terminate your account and these Terms of Service at any time immediately without any prior notice to the administrative email address associated with your account. Also, Spaceship reserves the right to modify or discontinue, temporarily or permanently, the Services (or any part thereof). Except as provided above, upon any termination of your account, Spaceship may store all of your Content on the Services (if any), or it may be permanently deleted by Spaceship, in its sole discretion.\\n\\n**14. Disputes**\\n\\nPlease note, while disagreements sometimes arise, Spaceship wants to address any complaint with the Services in a proactive manner. Please log a support case for resolution, you can send an email to Spaceship. If you feel an escalation is merited, please email Spaceship regarding your unresolved case and your concern. For purposes of clarity, this does not waive the notice requirement set in this Terms of Service.\\n\\n**15. Governing Law and Venue**\\n\\nThese Terms of Service, and any dispute relating to these Terms of Service, shall be governed by and construed in accordance with the laws of HKSAR without regard to the choice or conflicts of law principles of any jurisdiction. Each party submits to the exclusive jurisdiction of the HKSAR Court in relation to any disputes or claims arising out of or in connection with these Terms of Service.\\n\\n**16. General Provisions**\\n\\n16.1. Severability\\n\\nIf any part or provision of these Terms of Service is or becomes illegal, unenforceable, or invalid under any enactment or rule of law or by any court in any jurisdiction, that part or provision is deemed to be modified to the extent required to remedy the illegality, unenforceability or invalidity. If a modification is not possible, the part or provision must be treated for all purposes as severed from these Terms. The remainder of these Terms of Service will remain in full force and effect and continue to be binding and enforceable on you.\\n\\n16.2. No Waiver Failure or delay of Spaceship to exercise any right or power under these Terms of Service shall not operate as a waiver thereof, nor shall any single or partial exercise of a right or power preclude any other future exercise thereof.\\n\\n16.3. Notices to You\\n\\nYou agree that Spaceship may provide notice to you by posting it on our Website, emailing it to the email address listed in your account, showing a notification when you login to your account, or mailing it to the street address listed in your account. Such notice shall be considered to be received, read and understood by you within 24 hours of the time it is posted to our Website or emailed to the email address listed in your account. If the notice is sent by mail, we will c
230onsider it to have been read and understood by you within 24 hours of the time it is delivered. Spaceship reserves the right to terminate your account if you withdraw your consent to receive electronic communications.\\n\\n16.4. Assignment\\n\\nYou shall not transfer or assign any rights or obligations you have under this Agreement without Spaceship’s prior written consent and any attempted assignment without that consent will be void. Spaceship reserves the right to transfer or assign this Terms of Service or any right or obligation under this Terms of Service at any time. Subject to the foregoing provisions of this Section, these Terms of Service shall be binding on and inure to the benefit of the parties’ successors and assigns.\\n\\n16.5. Legal Costs\\n\\nSpaceship shall have the right to collect from you its reasonable costs and necessary disbursements and legal costs incurred in enforcing these Terms of Service on indemnity basis.\\n\\n16.6. Force Majeure\\n\\nSpaceship shall not be liable for any delays or inability to perform the Services caused by forces beyond Spaceship’s control including, without limitation, acts of God or acts of third party Service providers including but not limited to carriers and postage systems. When goods are ordered out, in the case of acts of God, war, terrorism, public enemies, seizure under legal process, strikes, lockouts, riots and civil commotions, or any reason beyond Spaceship’s control, or because of loss or destruction of goods for which Spaceship is not liable, or because of any other excuse provided by law, Spaceship shall not be liable for failure to carry out such instructions.\\n\\n16.7 Third Party’s claim\\n\\nAny person or entity who is not a party to this Terms of Service shall have no rights under the Contracts (Rights of Third Parties) Ordinance (Cap.623) of the Laws of Hong Kong to enforce any terms of this Agreement.\\n\\n17.\\nYou declare that (a) Consignments of air cargo are prepared in secure premises by reliable staff members. (b) Consignments of air cargo are protected against tampering during shipment preparation, storage and transportation for which the company is responsible. (c) You accept that the packaging and the contents of any consignment of air cargo may be examined for security reasons. (d) Consignments of air cargo do not contain any explosive or incendiary device. (e) You accept unannounced or announced inspections by CAD or its agents and agree to provide any documents directly or through an independent validator to CAD for the purpose of monitoring the compliance with security requirements stipulated in the Requirement Document for Consignor, the Handling Procedures for Regulated Agent Regime and any other directions given from time to time by CAD. (f) You will ensure the continual compliance with the security requirements stipulated in the Requirement Document for Consignor and the requirements are communicated to all staff members with access to consignment of air cargo and/or related shipping documents. (g) You will provide the regulated agent who recognizes your status of known consignor with the relevant details as soon as reasonably possible if: (i) the person responsible for application and supervision of the implementation of cargo security has changed; (ii) changes to premises or procedures are likely to significantly impact on security; (iii) the company ceases trading and no longer handles air cargo; or (iv) the company no longer implements the required security controls stipulated in the Requirement Document for Consignor*\\nSpaceship needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at anytime. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, check out our <ppLink>Privacy Policy</ppLink>",title:"使用條款"},validations:{agreeToTermsAndConditionsRequired:"請同意 Spaceship 使用條款。"},verificationTime:"我們將在一個工作日內與您聯絡。"},result:{close:"關閉",description:"為了確保您的貨件在貴公司的責任範圍內順利寄送,我們需要驗證您公司基本資料。完成驗證後,您即可享受便捷的寄送服務。",hint:"感謝您的提交公司資料,我們將在一個工作日內與您聯絡。"},title:"公司驗證"},setupReminder:{renewExpiredProfileTitle:"公司註冊已到期 – 請重新驗證",renewExpiringSoonProfileTitle:"公司註冊即將到期 – 請重新驗證",setupProfileTitle:"請先完成公司驗證"},memberOwnerOnly:{title:"需要公司驗證",description:"請聯絡您的組織擁有者完成公司驗證,方可寄送。",configError:{title:"未能檢查公司驗證",description:"暫時無法檢查您的組織是否可以購買託運標籤。請重試。",retry:"重試"}}},I4e={allShipments:"所有運單 | Spaceship Pro",actionRequiredShipments:"待處理 - 運單 | Spaceship Pro",actionRequiredShipmentsFailedCreations:"未能建立 - 待處理的運單 | Spaceship Pro",actionRequiredShipmentsFeeAdjustments:"調整運費 - 待處理的運單 | Spaceship Pro",billingCreditNotes:"退款單 - 賬單|Spaceship Pro",billingInvoices:"發票 - 賬單|Spaceship Pro",billingReceipts:"收據 - 賬單|Spaceship Pro",billingTransactions:"我的錢包 - 賬單|Spaceship Pro",bulkBuyShipments:"批量運單付款 | Spaceship Pro",bulkCancelShipments:"已取消 - 運單 | Spaceship Pro",bulkValidateAddresses:"批量地址驗證 | Spaceship Pro",bulkSubmitFulfillmentOrders:"批量提交未發貨訂單 | Spaceship Pro",cancelledShipments:"已取消 - 運單 | Spaceship Pro",closedDraftShipments:"已關閉草稿 - 運單 | Spaceship Pro",createFulfillmentOrder:"新發貨訂單",createProduct:"新產品 | Spaceship Pro",createShipment:"新運單 | Spaceship Pro",createWarehouseReceivingOrder:"新收貨單 | Spaceship Pro",createReturnOrder:"創建退貨單 | Spaceship Pro",dashboard:"首頁 | Spaceship Pro",downloadAndPrint:"下載及列印 - 運單 | Spaceship Pro",draftShipments:"草稿 - 運單 | Spaceship Pro",editProduct:"編輯產品 | Spaceship Pro",editShipment:"編輯運單 #{{ssid}} | Spaceship Pro",editStoreIntegration:"網店訂單設定 | Spaceship Pro",editWarehouseReceivingOrder:"編輯收貨單 | Spaceship Pro",forgetPassword:"忘記密碼 | Spaceship Pro",importFulfillmentOrders:"Import Fulfillment Orders | Spaceship Pro",importOrders:"匯入運單 | Spaceship Pro",inventory:"庫存 - 庫存管理 | Spaceship Pro",labelCreatedShipments:"已建ç«
230‹æ¨™ç±¤ | Spaceship Pro",login:"登入 | Spaceship Pro",notFound:"找不到頁面 | Spaceship Pro",order:{edit:"編輯未發貨訂單 #{{ssid}} | Spaceship Pro",view:"未發貨訂單 #{{ssid}} | Spaceship Pro"},orders:{all:"所有訂單 | Spaceship Pro",actionRequired:"待處理 - 未發貨訂單 | Spaceship Pro",archived:"已封存 - 未發貨訂單 | Spaceship Pro",new:"新發貨訂單 | Spaceship Pro",unfulfilled:"未發貨 - 未發貨訂單 | Spaceship Pro"},paymentMethods:"付款方法 - 賬單|Spaceship Pro",paymentSettings:"付款設定",pendingChargesArchived:"Archived Pending Charges",pendingChargesOutstanding:"已誌賬費用 - 賬單 | Spaceship Pro",pendingChargesUpcoming:"未誌賬費用 - 賬單 | Spaceship Pro",pickupsHistory:"過往記錄 - 上門收件|Spaceship Pro",pickupsUpcoming:"已預約 - 上門收件 | Spaceship Pro",plans:"收費計劃",products:"產品管理|Spaceship Pro",profile:"個人資料 | Spaceship Pro",quickQuote:"運費報價 | Spaceship Pro",resetPassword:"重設密碼 | Spaceship Pro",schedulePickup:"新上門收件 | Spaceship Pro",schedulePickups:"預約上門收件 | Spaceship Pro",settings:{apiAndWebhook:"API & Webhooks"},settingsAccount:"稅款及關稅 - 設定 | Spaceship Pro",settingsAddresses:"地址 - 設定 | Spaceship Pro",settingsApiKeys:"API 密鑰 - 設定 | Spaceship Pro",settingsBoxes:"包裝 - 設定 | Spaceship Pro",settingsBranding:"品牌 - 設定 | Spaceship Pro",settingsCarriers:"託運服務 - 設定 | Spaceship Pro",settingsLabels:"託運標籤及裝箱單 - 設定 | Spaceship Pro",settingsOrganization:"組織 - 設定 | Spaceship Pro",settingsPrintingPreferences:"列印偏好設定 - 設定 | Spaceship Pro",settingsNotificationCenter:"通知中心 - 設定 | Spaceship Pro",settingsShippingRules:"物流自動化 - 設定 | Spaceship Pro",settingsTrackingPage:"運單追蹤 - 設定 | Spaceship Pro",settingsUsers:"用戶 - 設定 | Spaceship Pro",shipmentTracking:"運單追蹤 #{{ssid}}",signup:"註冊 | Spaceship Pro",spaceshipAI:"Spaceship AI | Spaceship Pro",storeIntegrations:"網店連接 | Spaceship Pro",trackAndTrace:"運單追蹤 - 運單 | Spaceship Pro",viewPickup:"上門收件 #{{ssid}} | Spaceship Pro",viewProduct:"查看產品 | Spaceship Pro",viewShipment:"運單 #{{ssid}} | Spaceship Pro",viewWarehouseReceivingOrder:"查看收貨單 | Spaceship Pro",wallet:"我的錢包 | Spaceship Pro",warehouseReceivingOrder:"收貨單 - 庫存管理 | Spaceship Pro",returnOrders:"退貨單 | Spaceship Pro",welcome:"歡迎使用 Spaceship Pro"},R4e={actionRequiredOrders:{create:"New Order",emptyState:{desc:"Action-required orders will be shown here",notFound:{title:"尚未有任何相關訂單"},title:"尚未有任何訂單"},title:"待處理"},archivedOrders:{create:"新發貨訂單",emptyState:{desc:"已關閉訂單將在此顯示",notFound:{title:"尚未有任何相關訂單"},title:"尚未有任何訂單"}},billing:{modal:{exportTransaction:{button:{close:"我明白",export:"匯出",trigger:"匯出交易紀錄"},section:{completed:{description:"您現在可以下載您的交易紀錄。我們稍後也會發送通知到您的登記電郵。",title:"您的交易紀錄已準備好下載。"},exporting:{description:"我們正在處理您提交的交易紀錄匯出請求,這可能需要一段時間,當運單紀錄輸出可供下載時,我們將以電郵通知您。<br/><br/>請您可以選擇保留在此視窗內,以便在紀錄準備好後直接下載。或者,您可以關閉此視窗,我們將在紀錄準備好後以電郵通知您。",title:"正在匯出 {{itemCount}} 條交易記錄..."},selection:{description:"選擇您想匯出交易紀錄的日期。<br/>每次最長可選 90 日。"}},title:"匯出交易紀錄"}}},bulkBuyShipment:{table:{column:{actionRequiredShipmentCost:{label:"小計/<br />已支付"},actionRequiredShipmentPriceDifference:{label:"差額",refund:"退款"},carrier:{label:"託運服務"},receiver:{label:"收件人"},referenceId:{label:"Spaceship ID"},sender:{label:"寄件人"},subTotal:{label:"預估費用(小計)"}}},tooltip:{billedByCarrier:"由託運服務商{{ carrierService }}
230收取"}},bulkBuyShipments:{backToActionRequired:"返回待處理",backToAllShipments:"返回所有運單",backToDrafts:"返回草稿",buyingBanner:{description:"我們正在處理您的交易,請不要關閉或重新整理此頁面。此過程可能需時幾分鐘。",title:"正在處理交易"},buyingFailed:{description:"未成功建立的運單將保留在「草稿」頁面待稍後處理。",title:"{{count}} 未成功付款"},failedInsuranceCoverage:{description:"未能成功加購的運單將保留在草稿頁面中,讓您稍後處理。",title:"{{count}} 個運單未能加購 Spaceship Care"},failedLabelCreation:{description:"未能成功建立的運單將移至「待處理」頁面,讓您稍後處理。\\n",title:"{{count}} 無法建立託運標籤"},insuranceNotSupported:{description:"Spaceship Care 並不適用於這些運單。請放心,您仍可繼續購買這些未有加購 Spaceship Care 的運單。",title:"{{count}} 個運單未符合加購 Spaceship Care 的條件"},paymentDetails:{banner:{sfDoorToPickupDiscountedPrice:{desc:"You provided the address and store code of a SF Express Self-Operated Network Point. You can now enjoy a discounted price on SF Express services. Your discounted price may be removed if we find out that the address or code provided is incorrect.",title:"SF Self-Operated Network Point Discounted Price"}},billedByCarrier:"由託運服務商收取",buyShipment:"付款",estimatedBillByCarrier:"估算由託運商收取",estimatedBillByCarrierRemark:"此運費是基於您的託運服務賬戶所提供的報價估算(如有)。",estimatedDirectPaymentCharge:"繳費予 {{ carrierName }}",estimatedThirdPartyCharge:"繳費予 {{ thirdPartyName }}",extraPayment:"由 Spaceship 收取",insufficientAmount:{description:"增值及繼續付款",title:"餘額不足"},labelsCreated:"已建立標籤",noDefaultCardPaymentMethod:{description:"新增付款方法以繼續付款程序。",title:"以信用卡支付"},paidToSpaceship:"由 Spaceship 收取",payToSpaceship:"由 Spaceship 收取",priceDiff:"總差額",proceedPayment:"繼續付款",readyToBuyShipments:"準備付款",refund:"Spaceship 退款",remark:"運單乃根據您所提供的資料計算,如包裹經覆檢後,發現體積或重量與申報數值有差距,或寄運過程中產生其他額外收費(如重新包裝服務è²
230»ã€ä¿åƒ¹ç­‰ï¼‰ï¼Œæˆ‘們將會收取運費調整後的費用。",shipments:"運單",title:"付款詳情",topupAmount:"增值金額",totalCost:"最新預估總額",updatedAt:"更新於:{{updatedAt}}"},quotingBanner:{description:"請不要關閉或重新整理此頁面直至載入完成。此過程可能需時幾分鐘。",title:"正在獲取最新價格"},quotingFailed:{description:"您所選的託運服務經已不存在,我們無法獲取相關最新報價。請放心,您仍可為餘下的運單完成付款程序。",title:"{{count}} 運單無法獲取運費報價"},result:{failedShipments:{failedInsuranceCoverage:{description:"請前往<strong>草稿</strong>頁面了解更多。",title:"{{count}} 個運單未能加購 Spaceship Care"},failedLabelCreation:{description:"請到「待處理」頁面作修改。",title:"{{count}} 無法建立託運標籤"},failedPayment:{description:"請到「草稿」頁面作修改。",title:"{{count}} 無法付款"},title:"未能建立運單"},labelCreated:{description:"已成功付款。託運標籤及商業發票現已準備好可供下載。",title:"{{successCount}}/{{totalCount}} 已建立標籤"},pickupInstruction:{downloadShippingDocuments:{description:"列印託運標籤和商業發票,並在包裏適當位置貼上。",title:"下載託運文件"},goToLabelsCreated:{title:"前往 <labelsCreatedLink>已建立標籤</labelsCreatedLink> 頁面預約上門收件。"},title:"請依以下指引預約託運公司上門收件:"}},table:{billByCarrier:"由託運服務商收取",billByCarrierRemark:"(您的託運服務賬戶)",title:"{{count}} 運單"},title:"付款",topupErrorBanner:{title:"增值未能成功"},unknownError:"出現錯誤..."},bulkCancelShipment:{table:{column:{carrier:{label:"託運服務"},prepaidAmount:{label:"已繳付金額"},receiver:{label:"收件人"},referenceId:{label:"Spaceship ID"},status:{label:"狀態"}}}},bulkValidateAddresses:{confirmModal:{allIncomplete:"您選擇的所有 {{count}} 個地址都不完整。請在驗證前完成地址。",partialIncomplete:"您選擇的 {{totalCount}} 個地址中有 {{incompleteCount}} 個不完整。我們將僅驗證 {{completeCount}} 個完整的地址。繼續?",title:"地址驗證"},loading:{description:"AI 正在處理地址信息,這可能需要幾秒鐘...",title:"請 AI 檢查地址準確性..."},result:{backToDrafts:"返回草稿",description:"已完成 {{count}} 個地址的驗證。請根據需要完善地址。",invalid:"無效",invalidDescription:"在數據庫中找不到地址。",orderReference:"訂單編號",plural:"地址",review:"審查",reviewDescription:"地址為空置或無狀態。",singular:"地址",title:"驗證完成",unverified:"未驗證",unverifiedDescription:"未執行地址驗證。",valid:"有效",validDescription:"地址已驗證且可送達。",validationStatus:"驗證狀態",warning:"警告",warningDescription:"地址有問題。"},title:"批量地址驗證"},bulkCancelShipments:{backToActionRequired:"返回待處理",cancellingBanner:{desc:"當您確認,系統會即時退還已支付的運費。如您需要重新購買有關的運單,請由建立運單草稿步驟開始。",title:"取消 {{ count }} 運單"},refundDetails:{button:{title:"確認取消"},cancelShipments:"取消運單",title:"退款詳情",totalRefund:"退款總額",totalRefunded:"已退款總額",transactionRecordDetails:"您可以在<strong>我的錢包</strong>頁面查閱所有交易紀錄。"},result:{ctaButton:{text:"前往「待處理」頁面"},desc:"運單已取消,已收取的運費 {{ currency }} {{ amount }} 將自動退還至您的錢包。",failedShipments:{banner:{desc:"請到<strong>「待處理」</strong>頁面作修改。",title:"{{ count }} 未能取消"},title:"未能建立運單"},noCancelledShipments:"未能取消已揀選的訂單,請與我們聯絡。",title:"{{ successCount }}/{{ totalCount }} 運單已取消"},table:{title:"{{count}} 運單"},title:"取消運單"},bulkSubmitOrder:{card:{title:"{{count}} 張發貨訂單"},submit:{button:"提交至倉庫"},submitFailed:{desc:"請查看以下未能成功提交發貨訂單的原因,編輯相應資料 (如適用),然後重新提交。",goToList:"前往未發貨訂單",t
230itle:"{{count}} / {{total}} 個訂單未能提交"},submitSuccess:{desc:"已成功提交發貨訂單至倉庫",goToList:"前往未發貨訂單",title:"已提交 {{count}} 張發貨訂單"},submitting:{desc:"請不要關閉或重新整理此頁面直至載入完成。此過程可能需時幾分鐘。",title:"提交至倉庫中"}},bulkSubmitOrders:{backToOrders:"返回未發貨訂單",table:{column:{carrier:{label:"託運服務"},receiver:{label:"收件人"},referenceId:{label:"Spaceship ID"}}},title:"提交發貨訂單"},connectShopifyStore:{connectShopifyStoreFailed:{back:"返回",description1:"很抱歉,系統出現錯誤。請稍候再瀏覽此網頁。",description2:"請重新整理此頁面或透過以下電郵 —— <a>[email protected]</a> 聯絡我們。",title:"出現錯誤..."},description:"我們正在連接您的 Shopify 網店。<br/><b>請不要關閉或重新整理此頁面,直至完成整個過程。</b><br/>此過程可能需時幾分鐘。",title:"正在連接 Shopify...",titleWithSyncOrder:"同步訂單中...",titleWithSyncProductAndOrder:"同步訂單及產品中..."},createFulfillmentOrder:{addressInformation:{sections:{warehouse:{selection:{label:"倉庫地址",placeholder:"選擇地址"},title:"寄件人地址"}}},promptBlocker:{description:"Are you sure you want to leave this page? Please note that this order will not be saved until you have completed step 1 and click Next.",leave:"Leave This Page",stay:"Stay on Page",title:"離開「建立 / 編輯發貨訂單」頁面?"}},createReturnOrder:{promptBlocker:{description:"您確定要離開此頁面嗎?請注意,此退貨訂單在您完成表格並提交之前不會被保存。",leave:"離開此頁面",stay:"留在頁面",title:"離開建立退貨訂單頁面?"}},dashboard:{fulfillmentPerfTitle:"倉庫表現",fulfillmentSubtitle:"最後截單時間: {{datetime}}",fulfillmentTitle:"訂單處理狀態",graph:{dateRange:{last7Days:"過去7天",last30Days:"過去30天",thisMonth:"本月"},amountBilled:{category:"誌賬金額",countTitle:"每日誌賬金額({{dateText}})"},labelsCreated:{category:"已建立標籤",countTitle:"已建立的標籤({{dateText}})"},shipmentDetails:{category:"運單詳情",countByCarrierServices:"託運服務",countByDelivered:"每日已送達 / 未送達的運單",countByDeliveryStatus:"運送狀態",countByRoute:"路線",delivered:"已送達",notDelivered:"未送達",others:"其他"},total:"總額"},inventoryActionRequiredTitle:"庫存問題",orderActionRequiredTitle:"訂單問題",orderCreateDateRange:"訂單創建日期",orderFulfillmentTitle:"訂單發貨狀態",
230shipmentPerf:{carrierService:"託運服務",carrierServiceTooltips:"訂單的託運服務分類",delivered:"已送達",deliveryStatus:"運送狀態",deliveryStatusCount:"8310 Shipments",deliveryStatusTooltips:"訂單的運送狀態分類",deliveryStatusTrend:"運送狀態",deliveryStatusTrendTooltips:"過往運送狀態分類",estimatedShippingCost:"運費預算",estimatedShippingCostTooltips:"訂單的運費預算",notDelivered:"未送達",routes:"路線",routesTooltips:"訂單的託運路線",title:"運送表現"},stat:{actionRequired:"待處理",created:"已建立",dispatched:"已寄出",exception:"出現異常",fulfilled:"已發貨",fulfillmentActionRequired:"待處理問題",fulfillmentActionRequiredTooltip:"訂單遇到問題,未能交到倉庫發價。",fulfillmentSLA:"服務承諾指數 (SLA)",inTransit:"在運送途中",insufficientStock:"缺貨訂單",labelCreated:"可供下載及列印的標籤",labelFailed:"運單問題",lateCompleteWRO:"逾期收貨",lowStockSKU:"低庫存",orderFulfillmentCount:"8201 Orders Fufilled",orderOtherFailure:"其他問題",orderToDispatched:"訂單至發貨時間",packed:"已包裝",pendingScheduling:"未預約收件的運單",shipmentDrafts:"運單草稿",stockOutSKU:"缺貨",submitted:"已提交",unfulfilled:"未發貨",upcomingPickup:"已預約上門收件"},subtitle:"最後更新:",title:"歡迎回來!",tooltip:{actionRequired:"被託運公司拒絕的已購運單,請前往「待處理」頁面更改相應的運單資料,以重新發給託運公司。",amountBilledByDay:"最近 30 日的已誌賬金額 (包括今天),不論金額已從錢包扣除與否。",amountBilledByMonth:"最近 6 個月的已誌賬金額 (包括本月),不論金額已從錢包扣除與否。",carrierServiceCount:"所有已購買、並以託運服務分類的運單 (由最多至最少排序)。",created:"訂單已建立,待您審核後提交至倉庫安排發貨。",deliveryStatusCount:"過往 30 日內購買、並以運送狀態分類的運單 (包括今天)。",dispatched:"訂單已成功寄出",exception:"發生非如期情況 (如極端天氣) 的運單。請與相應託運公司聯繫,以確保運單可成功交收。",fulfillmentSLA:"每日訂單從倉庫收到至完成發貨所需的日數",inTransit:"已被收件、並在運送途中的運單。",insufficientStock:"訂單因有產品缺貨未能發貨,請補貨後再提交倉庫發貨。",isDeliveredCount:"過往 30 日內購買的運單 (包括今天)。每一條柱代表當日購買的運單,並以最新的運送狀態分類。",labelCreated:"可供下載及列印標籤的運單,請前往「下載及列印」獲取相應標籤。",labelCreatedCountByDay:"最近 30 日內建立的標籤 (包括今天)。",labelCreatedCountByMonth:"最近 6 個月內建立的標籤 (包括本月)。",labelFailed:"訂單因為運單問題未能發貨,請修改後再提交倉庫發貨。",lateCompleteWRO:"收貨單比預定時間逾期完成處理,請聯絡客服跟進。",lowStockSKU:"產品庫存量低於安全水位,建議立即補貨以避免缺貨影響銷售。",orderFulfillment:"訂單創建至發貨之間的時間,用於衡量賣家承諾的履約時間。",orderOtherFailure:"其他問題導致未能發貨",orderToDispatched:"訂單創建至發貨之間的時間,用於衡量賣家承諾的履約時間。",packed:"已包裝待出庫的訂單。",pendingScheduling:"已購買標籤、但未預約收件的運單。",routeCount:"所有已購買、並以路線分類的運單 (由最多至最少排序)。",shipmentDrafts:"尚未購買的運單草稿 (已在 Shopify 商店處理的訂單除外)。",stockOutSKU:"產品庫存售罄,請緊急補貨",submitted:"已提交到倉庫的訂單",upcomingPickup:"已預約的上門收件,請在上門收件時段前準備好運單及相應文件。"}},draftShipments:{tab:{cancelled:"已關閉",inProgress:"起草中"}},editStoreIntegration:{backToStoreIntegration:"返回網店連接",editShopifyStore:{orderSync:{shopifyOrderSyncRule:{title:"訂單同步規則",description:"您可以設定特定規則,僅同步符合您所選路線和標籤的 Shopify 訂單。",conditions:{title:"條件",description:"選擇訂單必須符合的條件以便同步。",route:{title:"路線",shipFrom:"寄件地",shipTo:"收件地"},tags:{title:"標籤",description:{in:"訂單包含以下任一標籤:",not_in:"訂單不包含以下任何標籤:"}},addCondition:"新增條件",editCondition:"編輯條件",deleteCondition:"刪除條件"},emptyState:{title:"所有 Shopify 訂單均已同步",description:"目前,您的所有 Shopify 訂單預設均會同步。如有需要,您可以設定條件(按路線和標籤)來篩選要同步的訂單。",button:"新增同步條件"},conditionModal:{selectCondition:"選擇",condition:"選擇條件",addCondition:"新增條件",updateCondition:"更新條件",button:{add:"新增",update:"更新"},route:{senderCountries:"寄件國家",receiverCountries:"收件國家",senderCountriesPlaceholder:"選擇寄件國家",receiverCountriesPlaceholder:"選擇收件國家"},shopifyOrderTags:{label:"Shopify 訂單標籤",placeholder:"搜尋或建立新標籤",operator:{label:"條件",placeholder:"選擇條件"},options:{add:"<strong>新增</strong> {{tagName}}"}}},conditionOptions:{route:{label:"路線"},shopifyOrderTags:{label:"Shopify 訂單標籤"}},operators:{isAnyOf:{label:"是其中任何一個"},isNoneOf:{label:"不是其中任何一個"}}},manualSync:{actions:{cancel:"取消同步",retry:"重新同步",sync:"立即同步"},concurrencyLimit:"請稍候片刻,直至 {{storeName}} 同步所有訂單為止。",description:"您可同步<strong>連接此網店前</strong>已建立的訂單,以便在此平台進行一站式發貨!",details:"同步以下時段內建立而未發貨的訂單:",error:"同步訂單時發生未知錯誤。請稍候片刻,然後再試一次。如嘗試後仍未能成功,請透過左下方的聊天室聯絡我們。",fields:{timeRange:{choices:{last1d:"過去 24 小時",last30d:"過去 30 日",last7d:"過去 7 日",last90d:"過去 90 日",thisYear:"今年"},label:"同步在以下時段內建立的訂單:"}},lastSyncedAt:"上次同步:",note:"注意:手動同步訂單開始後將不能停止,直至過程完成為止。",syncing:"同步訂單中...",title:"手動同步過去未發貨的訂單"},overrideExistingShipments:{accept:"我已得悉如訂單有任何更新,相應運單草稿的手動編輯資料將被移除,並同意自動更新。",button:{disable:"停用",enable:"啟用"},description:"啟用此功能後,如訂單有<strong>任何更新</strong>,它們將自動同步至相應的運單草稿。",details:`<list>
231<listItem>運單草稿將反映啟用功能後的訂單更新</listItem>
232<listItem>更新前的任何手動編輯資料 (如適用) 將被移除</listItem>
233</list>`,intro:"啟用此功能後,如已同步的訂單之後有任何更新,以下
233內容將應用於相應的運單草稿:",status:{disabled:"已停用",enabled:"已啟用",title:"自動更新已同步訂單"},title:"自動更新已同步訂單",toast:{disabled:"自動更新設定已停用",enabled:"自動更新設定已啟用"},warning:"Shopify 連接設定、產品管理及物流自動化等功能 (如適用) 仍會<strong>自動應用</strong>於這些已更新的運單草稿。<strong>請善用這些功能,以減少手動編輯。</strong>"}},productSync:{autoSyncInventory:{button:{disable:"停用",enable:"啟用"},description:"啟用此功能後,您的產品庫存數量<strong>(現有庫存、損壞、檢查中)</strong>的狀態更新時,將同步到 Shopify 庫存。",status:{disabled:"已停用",enabled:"啟用",title:"自動更新已同步庫存"},title:"自動更新已同步庫存",toast:{disabled:"已停止同步 Shopify 庫存",enabled:"已啟用同步 Shopify 庫存"},warning:"<strong>只有輸入 SKU 資料的產品會同步庫存</strong>沒有輸入 SKU 資料的產品將不會同步庫存。"},autoSyncNewProducts:{button:{disable:"停用",enable:"啟用"},description:"啟用後,Spaceship Pro 產品會直接與 Shopify 上的產品資料同步",status:{disabled:"停用",enabled:"啟用",title:"從 Shopify 同步新產品資料"},title:"從 Shopify 同步新產品資料到 Spaceship",toast:{disabled:"已停止同步 Shopify 新產品資料",enabled:"已啟用同步 Shopify 新產品資料"},warning:"<strong>只有輸入 SKU 資料的產品會同步</strong>沒有輸入 SKU 資料的產品將不會同步。如果產品的 SKU 與 Spaceship Pro 中已有的產品有重覆亦會被跳過,以確保您編輯好的報關資料不會被覆蓋。"}},shipmentDetails:{customsDeclaration:{description:"<div>此設定將套用於所有新運單作為預設資料作報關之用。</div><div>如要修改指定運單,可前往 「草稿」 > 點擊「編輯」> 運單資料(步驟 2 )。</div>",fields:{shipmentPurpose:{label:"寄件目的",placeholder:"請選擇..."},taxHandling:{label:"課稅模式",placeholder:"請選擇..."}},title:"預設報關資料"},fulfilledStatusTrigger:{description:"您可以自行決定何時將訂單履行狀態傳送至Shopify。",fields:{labelCreated:{label:"當建立寄件標籤時"},never:{label:"從不"},pickupScheduled:{label:"已預約上門取件 或 運單正在在運送途中 (以較早者為準) "},shipmentInTransit:{label:"運單正在在運送途中"},updated:"發送訂單發貨狀態和追蹤號碼至Shopify的時間已更新"},fulfillment:{note:"備註:此配置只適用於自營管理的發貨訂單。"},title:"更新訂單發貨狀態和追蹤號碼至Shopify"},itemDescription:{description:"<div>此設定將套用於運單中沒有物品原產地。</div><div>如要修改指定運單,可前往「草稿」 > 尋找相應的運單點擊「編輯」> 在運單資料(步驟 2)修改。</div>",fields:{countryOfManufacture:{label:"原產地"}},title:"預設物品描述"},notifyCustomer:{description:"當成功建立運單後,我們可以發送 Shopify 運單資料予您的顧客。",disabledNotes:"<warningText>啟用發送訂單發貨狀態和追蹤號碼至 Shopify 功能</warningText> – 如您需系統自動發送運單資料予顧客,請先啟用發送訂單發貨狀態和追蹤號碼至 Shopify 功能",fields:{shouldNotNotifyCustomer:{label:"成功建立運單後,不要自動發送運單資料予顧客。"},shouldNotifyCustomer:{label:"成功建立運單後,自動發送運單資料予顧客。"},updated:"已更新發送運單資料偏好設定"},title:"發送運單資料予顧客"},packageSettings:{description:"<div>預設包裏尺寸及重量以套用於來自此網店同步後建立的草稿運單。</div><div>如您需要修改個別運單,請到「草稿」頁面尋找相應運單。如要修改已儲存的包裝尺寸,可前往<a>設定</a>以作更改。</div>",fields:{customDimensions:{label:"自訂包裝尺寸",placeholder:"選擇已儲存的包裝或在下方輸入自訂尺寸"},dimensions:{label:"包裝尺寸"},height:{label:"高度"},length:{label:"長度"},unitWeight:{label:"包裹總重量"},width:{label:"寬度"}},title:"預設包裝尺寸及包裹總重量"},packagingAndItemSettings:{description:`<div>預設包裝將套用於從這個網店同步的所有運單草稿。
234</div><div>預設物品的值將套用於從這個網店同步而欠缺有關資料的所有產品。</div>
235<div>我們建議您將所有的產品同步至本平台,每當有新的運單草稿從 Shopify 同步過來,系統可以根據包裝重量和每項物å“
235çš„重量自動計算包裹總重量,這可為您取得更準確的運費報價。</div>`,sections:{item:{fields:{countryOfManufacture:{hint:"套用於新運單草稿及產品",label:"備用物品原產地"},hsCodeCategory:{hint:"當您揀選類別,我們會為您填寫相應的 HS 代碼。",label:"備用類別 / HS 代碼"},unitWeight:{label:"備用重量"}},title:"物品"},package:{fields:{customDimensions:{label:"自訂包裝尺寸",placeholder:"選擇已儲存的包裝或在下方輸入自訂尺寸"},dimensions:{label:"包裝尺寸"},dimensionsAndPackagingWeight:{label:"包裝尺寸及重量",labelInErrorMessage:"包裝尺寸及重量"},height:{label:"高度"},length:{label:"長度"},packageWeight:{hint:"備用包裹總重量只會套用在從 Shopify 同步過來,而我們未能為您自動計算包裹總重量(=包裝重量及內含物品重量)的新運單草稿。如果您想系統會自動計算包裹總重量,請確保將所有產品同步至本平台,並提供準確的重量資料。",label:"備用包裹總重量"},packagingWeight:{label:"包裝重量"},width:{label:"闊度"}},title:"包裝"}},title:"包裝及物品"},orderPriceSource:{description:"選擇從此網店的運單或發貨訂單如何決定產品價格。",fields:{productList:{label:"使用產品列表的價格"},storeOriginalPrice:{label:"使用網店的原價"},storeDiscountedPrice:{label:"使用網店的折扣價"},updated:"已更新訂單價格來源"},title:"訂單價格來源"},budgetControl:{title:"運費門檻審核",description:"啟用後,當運費報價超出 Shopify 訂單總額的門檻百分比時,系統會要求您先進行人工批准。完成批准並確認後,訂單才可提交至倉庫。",button:{disable:"停用",enable:"啟用"},status:{disabled:"已停用",enabled:"已啟用",title:"運費門檻審核"},toast:{disabled:"已停用運費門檻審核",enabled:"已啟用運費門檻審核"},fields:{threshold:{label:"門檻",value:"訂單總額的{{value}}"}},editThresholdModal:{title:"編輯門檻",label:"門檻",description:"如果運費超過訂單總額的此百分比,訂單將需要進行人工批准。此批准為一次性檢查,只會在首次提交訂單時觸發。",placeholder:"請輸入百分比數值"}},shouldCancelFulfillmentOnShipmentCancellation:{button:{disable:"停用",enable:"啟用"},description:"您可以自行決定每當您取消運單時,如何處理在 Shopify 上的訂單發貨狀態。",intro:"當您啟用此功能,在本系統取消運單時會自動將 Shopify 上相應訂單的出貨狀態由「已發貨」改為「未發貨」或「已部分發貨」。我們會為您建立新的運單草稿讓您完成發貨。",status:{disabled:"已停用",enabled:"已啟用",title:"取消運單後將 Shopify 訂單的出貨狀態改為「未發貨」或「已部分發貨」"},title:"已取消運單時更新訂單發貨狀態",toast:{disabled:"已停用取消運單後將 Shopify 訂單的出貨狀態改為「未發貨」或「已部分發貨」",enabled:"已啟用取消運單後將 Shopify 訂單的出貨狀態改為「未發貨」或「已部分發貨」"}}},shippingAddress:{receiverAddress:{description:"此設定將套用於所有新運單中收件人地址為住宅地址。",fields:{isNotResidential:{label:"不預設所有收件人地址為住宅地址"},isResidential:{label:"預設所有收件人地址為住宅地址"},updated:"已更新收件人地址偏好設定"},title:"預設收件人地址類型"},senderAddress:{addAddressButton:"新增地址",banner:"如未為此網店設定發貨地址,我們將會以此賬戶在「設定」內的預設地址作為此網店運單的發貨地址。",description:"選擇此網店的備用發貨地址。如要修改地址資料,可於<a>設定</a>選擇相應地址更改。",emptySelection:{content:"立即設定地址,然後開始發貨",heading:"尚未設定寄件人地址"},title:"備用寄件人地址"}},storeConnected:{actions:{syncOrdersLater:"稍候同步"},orderSyncDescription:"注意:手動同步訂單開始後將不能停止,直至過程完成為止。",syncWindowDescription:"您可同步<strong>連接此網店之前</strong>已建立的訂單,以便在此平台進行一站式發貨!",title:"{{storeName}}
235 已成功連接!",updatingPreConfig:"正在更新配置及同步產品中,請勿關閉此視窗",updatingPreConfigCompleted:"Update completed!"},tabs:{orderSync:"同步訂單",productSync:"同步產品資料",shipmentDetails:"運單資料",shippingAddress:"運送資料"},title:"Shopify 連接設定"}},forgetPassword:{backToLogin:"返回登入頁面",description:"輸入您的電郵地址,我們將會發送6位數字的驗證碼。",email:"公司電郵",emailNotExists:"此電郵地址不存在。請確認輸入正確或嘗試另一個電郵地址。",password:"密碼",submit:"發送驗證碼",title:"忘記密碼?"},fulfillment:{orders:{view:"檢視訂單"}},fulfillmentOrder:{banner:{buyLabelError:{title:"購買運單時發生錯誤"}},button:{backToUnfulfilledOrder:"返回未發貨訂單",backToActionRequiredOrder:"返回待處理訂單",backToAllOrders:"返回所有訂單"},createError:{carrierServiceNotSupported:{desc:"所選的託運服務不支援此訂單的運送要求。請在訂單資料中選擇其他託運服務。",title:"請選擇其他託運服務"},carrierOverrideNotAllowedForGlobalE:{desc:"Global-e 訂單使用由 Global-e 指定的託運服務。請移除託運服務覆寫後再試。",title:"無法更改 Global-e 訂單的託運服務"},cartonRequiresSelfArrange:{desc:"包含紙箱的發貨訂單必須使用「自行安排運送」。請於訂單資料中更改運送方式。",title:"紙箱必須使用自行安排運送"},usOriginRequiresSelfArrange:{desc:"由美國倉庫發貨的發貨訂單必須使用「自行安排運送」。請於訂單資料中更改運送方式。",title:"美國倉庫必須使用自行安排運送"},fulfillmentOrderInvalidStatus:{desc:"Fulfillment Order cannot update as it is being processing by warehouse, please contact us if there is any urgent update.",title:"Cannot Update Fulfillment Order"},incompleteReceiverInfo:{desc:"收件人資料不足,請確保所有必填欄目已填妥。",title:"收件人資料不足"},inventoryItemNoReceivedEntryRecord:{desc:"請到「庫存管理」建立產品收貨單,添加庫存。",title:"此產品尚未有庫存"},inventoryPoolMismatch:{desc:"產品存倉類別與收貨單存倉類別不符。請使用存倉類別相符的收貨單庫存。",title:"存倉類別不符"},inventoryItemReceivedEntryNotFound:{desc:"未能在此倉庫為已選產品找到相應批次。請另選倉庫或批次編號,然後再試一遍。",title:"沒有相關產品批次"},iossNotSupported:{desc:"IOSS tax term is not supported in your plan. Please upgrade to Startup, Growth and Enterprise Plans to use this feature.",title:"IOSS tax term not supported"},missingLineItem:{desc:"提交此訂單前,請選擇至少 1 個發貨物品。",title:"Missing line item"},mixedCartonAndItem:{desc:"發貨訂單不可同時包含紙箱與物品。請將它們分拆成不同的發貨訂單。",title:"不可同時包含紙箱與物品"},requiresZonosIdForProcessing:{desc:"此訂單需要 Zonos ID 以處理。請確保訂單資料中已包含相關資料。",title:"需要 Zonos ID 才能處理"},shipmentCoverageNotSupported:{desc:"您的現有收費計劃並不支援 Spaceship Care,請立即升級至 Startup,Growth 或 Enterprise 計劃,以盡快享用此功能。",desc1:"您的現有收費計劃並不支援 Spaceship Care。",desc2:"此運單的物品總額低於 <b>USD 10 / 高於 USD 10,000</b>",desc3:"此運單從非香港的國家/地區寄往香港",title:"Spaceship Care 並不適用"},unknown:{desc:"Unknown error, please try again later.",title:"Unknown error"},walletInsufficientBalance:{desc:"請增值錢包後繼續付款",title:"餘額不足"},quotationExceedsShippingCostLimit:{title:"運費超出限額",desc:"估計運費已超出運費限額。請先批准超額金額,然後再重新提交。"},budgetControlPreconditionMissing:{title:"無法核實運費",desc:"由於缺少訂單總額或報價資料,無法進行運費核實。請將此訂單升級處理。"},forexRateNotFound:{title:"無法進行貨幣換算",desc:"無法將運費報價換算為商店貨幣。請稍後再試,或聯絡支援。"}},createOrder:{title:"建立發貨訂單"},editOrder:{resumeCancelRequested:"恢復訂單",model:{confirmIntercept:{desc:"您要求攔截 <strong>{{ orderRef }}</strong> 訂單,請注意這需要等待倉庫確認攔截。",title:"攔截發貨訂單"},confirmCancel:{desc:"您要求取消 <strong>{{ orderRef }}</strong>
235 訂單,此操作或需由倉庫確認。",title:"取消發貨訂單"},confirmDirectCancel:{desc:"您要求取消 <strong>{{ orderRef }}</strong>訂單。",title:"取消發貨訂單"},confirmResumeCancelRequested:{desc:"您即將恢復之前要求攔截的發貨訂單 <strong>{{ orderRef }}</strong>,這將允許訂單繼續處理。",title:"恢復訂單"}},title:"編輯發貨訂單"},form:{button:{handleBySpaceship:"透過 Spaceship 託運服務運送",handleOffline:"自行安排運送"},details:{banner:{automation:{action:"前往物流自動化",desc:`您可設定自動化規則,並讓系統為您自動填寫以下等資料。
236
237如需手動更改物流自動化的結果,請在下方欄目填寫相應資料。`,title:"善用物流自動化,簡化工作流程"},productQuantityAlert:{desc:"The quantity shown in the product inventory may not reflect the latest real-time updates. While submissions will succeed, further action may be necessary.",title:"Alert on Product Quantity"}},customDeclaration:{title:"報關資料"},section:{deliveryMethod:{banner:{desc:"成功提交此發貨訂單後,運送方式將不能更改。"},desc:"選擇此運送方式後,請與 Spaceship 倉庫就託運服務、購買運單等事項進行線下溝通。如有需要,請善用以下備註的部分,說明您的要求。",helpText:"成功提交此發貨訂單後,運送方式將不能更改。",title:"運送方式"},deliveryOption:{banner:{desc:"成功提交此發貨訂單後,運送方式將不能更改。"},desc:"選擇此運送方式後,請與 Spaceship 倉庫就託運服務、購買運單等事項進行線下溝通。如有需要,請善用以下備註的部分,說明您的要求。",helpText:"成功提交此發貨訂單後,運送方式將不能更改。",title:"運送方式"},itemSelection:{dropdownList:{carton:{placeholder:"選擇紙箱"},sellableProduct:{placeholder:"選擇物品"},title:"存放於 {{ warehouse }} 的物品"},empty:{carton:{desc:"請新增至少 1 箱產品至您的發貨訂單",t
237itle:"尚未新增任何紙箱"},desc:"At least one item must be added to your Fulfillment Order",errors:{missingLineItems:"請新增至少 1 件物品至您的發貨訂單"},sellableProduct:{desc:"請新增至少 1 件可銷售產品至您的發貨訂單",title:"尚未新增任何產品"},title:"申報物品資料"},error:{noItemEntryRecord:"此產品尚未有庫存,請添加庫存"},productField:{title:"產品"},productType:{carton:{label:"紙箱"},helpText:"每一張發貨訂單只能包含<strong>同一類別</strong>的物品。如需更改產品類別,請先移除已選物品。",label:"產品類別",placeholder:"選擇產品類別",sellableProduct:{label:"可銷售產品"}},selectFromSpecificLot:{label:"選擇特定批次",placeholder:"Select Lot"},qty:{label:"產品數量",placeholder:"輸入產品數量"},unitValue:{label:"產品單價",placeholder:"輸入產品單價",tooltip:"預設為最新產品列表中的價錢。若您曾對此修改,我們則採用已修改的作申報價格。",cancel:"取消",edit:"修改",save:"儲存"},stockRemain:"{{ qty }} in stock",title:"發貨物品",warningBanner:{desc:"每一張發貨訂單只能包含<strong>同一類別</strong>的物品。如需更改產品類別,請先移除已選物品。"}}}},fields:{carrierService:{change:{label:"更改"},followShippingRules:{label:"自動選擇 - 根據物流自動化設定"},label:"託運服務",manualSelect:{button:"選擇託運服務",label:"手動選擇",modal:{confirm:"確認",title:"選擇託運服務"}},globalE:{banner:"此為 Global-e 訂單。託運服務由 Global-e 指定,無法更改。"},warningBanner:{desc:"未填寫物品或課稅模式。請填寫必填欄位以便手動選擇運營商服務。"}},isOfflineDelivery:{label:"線下處理"},orderReference:{helpText:"Help Text",label:"訂單編號"},remarks:{helpText:"請在此表明您對託運服務或運單處理等
237要求,以便與倉庫員工溝通。",label:"備註",placeholder:"例如:請選擇海運託運服務發貨,並在購買運單前透過 (+852) 98765432 與我聯繫,謝謝。"},shipmentPurpose:{helpText:"寄件目的將影響相應的海關要求,例如要求額外文件、進口關稅和税款計算方式。",label:"寄件目的",placeholder:"選擇寄件目的"},taxTerm:{label:"課稅模式"}}},formSteps:{addressInformation:"地址資料",orderDetails:"訂單資料",review:"檢視",stepOfTotalStep:"步驟 {{step}}/{{totalStep}}"},modal:{closeFulfillmentOrder:{confirmation:"您將關閉以下發貨訂單 <strong>{{id}}</strong>。",submit:"確認",title:"關閉發貨訂單"}},resubmit:{button:"提交至倉庫"},review:{addressInfo:{title:"地址資料",warehouse:{label:"倉庫地址"}},carrierService:{autoSelect:"會根據您設定的<linkToAutomation>物流自動化</linkToAutomation> 規則選擇託運服務。",autoSelected:"系統根據您設定的<linkToAutomation>自動化規則</linkToAutomation>自動選擇運服務。",tempSelected:"系統根據您設定的<linkToAutomation>自動化規則</linkToAutomation>自動選擇託運服務。",title:"託運服務"},deliveryMethod:{button:{update:"更新追蹤編號"},title:"運送方式",toast:{updateSuccess:"已更新追蹤編號"},trackingNumber:"追蹤編號"},handleBySpaceship:{title:"透過 Spaceship 託運服務運送"},handleOffline:{title:"自行安排運送"},lineItems:{list:{title:"詳情"},productType:{options:{carton:"紙箱",sellableProduct:"可銷售產品"},title:"產品類別"},title:"發貨物品"},orderDetails:{orderRef:{title:"訂單編號"},remarks:{title:"備註"},title:"訂單資料"},orderItem:{availableQty:"{{ qty }} 件可供貨",barcode:"條碼:{{barcode}}",belowRequired:"{{ qty }} 件決貨",error:{noItemEntryRecord:"此產品尚未有庫存,請添加庫存"},insufficientStock:"庫存不足",inventory:{available:"可供貨",committed:"待發貨 (已包括此訂單)",damaged:"損壞",incoming:"待入庫",onHand:"現有庫存",qualityControl:"檢查中"},serialCodes:"序列號",serialNumberRequired:"序列號必填",showLess:"顯示更少",showMore:"顯示另外{{count}}個",editedUnitValue:"單價修改為 {{ unitValue }} {{ currency }}"},products:{title:"Products"},budgetControlReview:{title:"運費審核",estimatedShippingFee:"預估運費",budgetControlLimit:"運費上限",shopifyOrderTotalAndThreshold:"訂單總額 ({{currency}} {{orderTotal}}) 的 {{threshold}}",excessAmount:"超出金額",approve:{action:"批准",status:"已批准"},approvalModal:{title:"運費批准",desc:"此訂單的預估運費超過 Shopify 訂單總額的 {{threshold}},超出金額為 {{excessAmount}}。確認要繼續嗎?",submit:"確認",cancel:"取消",error:"無法完成運費批准。請再試一次。"}},receiver:{approveAddress:"核准地址",approveAddressStatus:"已核准",approvalModal:{title:"核准地址",desc:"此收件地址需要審核。確認要核准並繼續嗎?",submit:"確認",cancel:"取消",error:"無法完成地址核准。請再試一次。"},customer:{label:"客戶資料"},isResidential:"住宅地址",label:"Receiver"},ssCareProtection:{button:{disable:"停用",enable:"啟用"}},valueAddedServices:{enabled:"已啟用",disabled:"已停用"},billing:{title:"費用"},storeIntegration:{title:"網店連接"},warehouse:{address:{label:"地址"},label:"發貨倉庫",name:{label:"倉庫"}},selfArrangeRequired:{banner:"此發貨訂單必須使用「自行安排運送」。請先於訂單資料中更改運送方式再提交。"}},status:{cancelRequested:{awaitingCancellation:{badge:"攔截中"}},closed:{cancelledByStore:{badge:"已在網店取消"},cancelFulfillmentOrderSyncConditionUnmet:{badge:"已取消 (同步條件不符)"},cancelledByUser:{badge:"已被用戶取消"},closedByStore:{badge:"訂單已被處理"}},failed:{failedCartonRequiresSelfArrange:{badge:"需自行安排運送"},failedMixedCartonAndItem:{badge:"紙箱與物品混合"},failedOthers:{badge:"失敗 (其他原因)"},failedUsOriginRequiresSelfArrange:{badge:"需自行安排運送"},insufficientStock:{badge:"庫存不足"},labelFailed:{badge:"未能購買標籤"}},fulfilled:{awaitingPickup:{badge:"等待取件"},dispatched:{badge:"已寄出"}},processing:{labelled:{badge:"已貼標籤"},packed:{badge:"已包裝"},packing:{badge:"包裝中"},picking:{badge:"揀貨中"}}
237,unfulfilled:{created:{badge:"已建立"},pendingSubmit:{badge:"待提交"},submitted:{badge:"已提交"}}},submit:{button:"提交至倉庫"},submitResult:{button:{editOrder:"編輯發貨訂單"},failure:{title:"未能成功提交發貨訂單"},orderRef:"訂單編號:{{orderRef}}",ssid:"Spaceship ID: {{ssid}}",success:{button:{createNew:"建立發貨訂單",nextActionRequiredOrder:"下一待處理訂單",nextCreatedOrder:"檢查下一訂單",viewActionRequiredOrders:"所有待處理訂單",viewAllOrders:"所有訂單",viewOrder:"檢視訂單資料",viewUnfulfilledOrders:"所有未發貨訂單"},title:"已成功提交發貨訂單"}},subtitle:{createTime:"Create time: {{ createTime }} "},title:{orderRef:"Order Reference: {{ orderRef }}"}},genericErrorPage:{actions:{refreshPage:"重新整理"},description1:"很抱歉,系統暫時出現錯誤。我們現正處理中,請稍候再瀏覽此網頁。",description2:"請重新整理此頁面或透過以下電郵 —— <a>[email protected]</a> 聯絡我們。",title:"出現錯誤..."},importFulfillmentOrder:{downloadTemplate:{content:"下載範本",title:"Simply import order with this template!"},fieldsMapping:{field:{itemSku:{label:"SKU"}}},importResult:{button:{goToList:"Go To Orders",importAgain:"繼續匯入"},failed:{description:"<strong>{{failedCount}} / {{totalCount}}</strong> 的行列中發現有部分資料有誤或遺漏。請修改並重新匯入發貨訂單。是次整批發貨訂單將不會被匯入。",reasons:{addressLineTooLong:"地址行 1 及 2 的總和最多只可包含 {{max}} 個字符。",carrierServiceNotSupported:"Select Carrier Service not supported",invalidPhoneCountryCode:"請輸入有效的 {{field}},它必須是地區代碼編號。",invalidValueInField:"{{field}} 無效。",iossTaxTermNotSupported:"IOSS is not supported.",mismatchedFieldInSameGroup:"由於訂單編號一致,{{field}} 亦需相同。",missingRequiredField:"未完成的 {{field}}。",skuRelatedProductNotFound:"Cannot found related product for the selected SKU",unknown:"{{field}} 出現錯誤。"}},success:{description:"<br> {{totalCount}} orders have been imported successfully.<br/> You are able to edit particular order in unfulfilled fulfillment order page.",title:"成功匯入發貨訂單"}},step:{detailsAndDownloadTemplate:{title:"上傳收件人地址以及發貨訂單資料"},selectWarehouse:{selection:{label:"倉庫地址",placeholder:"選擇地址"},title:"選擇倉庫",noWarehouse:"沒有可用於匯入發貨訂單的倉庫。如有疑問請聯絡我們。"}},uploadFile:{button:{downloadTemplate:"下載範本"},description:"上載您的 Excel/CSV 檔案,以匯入網店訂單。",maxFileSize:"檔案大小不能超過 {{size}}",maxRowLimit:"行數不能超過 {{limit}} 行",requirements:"File Requirements",supportedFileTypes:"支援檔案格式:{{types}}"}},inventories:{action:{error:{failedToDownloadProductLabel:"Failed to download product label, please try again later"},printItemLabel:"Print Item Label",setInventoryAlert:"設置庫存告警",viewProductDetail:"View Product Detail"},allWarehouses:"全部",button:{stockIn:"+ 新增收貨單"},exportInventoryModal:{close:"我明白",export:"匯出",section:{completed:{description:"您現在可以下載您的庫存紀錄。我們稍後也會發送通知到您的登記電郵。",title:"您的庫存紀錄已準備好下載。"},exporting:{description:"我們正在處理您提交的庫存紀錄匯出請求,這可能需要一段時間,當庫存紀錄輸出可供下載時,我們將以電郵通知您。<br/><br/>請您可以選擇保留在此視窗內,以便在紀錄準備好後直接下載。或者,您可以關閉此視窗,我們將在紀錄準備好後以電郵通知您。",title:"正在匯出 {{itemCount}} 條庫存記錄..."},selecting:{description:"匯出庫存紀錄到 CSV 檔"}},title:"匯出庫存"},setInventoryAlertModal:{title:"設置庫存告警",success:"庫存告警已成功設置",banner:{title:"",description:"這是當前 SKU 的自定義閾值,將覆蓋倉庫級別的 SKU 告警設置。"},table:{enableDisable:"啟用/禁用",safetyStockThresholds:"安全庫存閾值"},error:{default:"設置庫存告警失敗,請稍後再試。",inventoryItemNotFound:"找不到此產品的庫存項目",invali
237dThreshold:"請輸入有效的閾值"},fields:{isEnabled:{label:"啟用"},threshold:{error:{required:"啟用告警時,閾值為必填項",min:"閾值必須大於或等於 0"}}}},setGlobalInventoryAlertModal:{title:"設置庫存告警",button:"設置庫存告警",success:"庫存告警已成功設置",banner:{title:"庫存告警",description:"如果產品的庫存水平低於安全庫存閾值,我們將通過電子郵件通知您。除非為產品設置了自定義安全庫存,否則告警將使用一般倉庫閾值。"},table:{warehouse:"倉庫",enableDisable:"啟用/禁用",safetyStockThresholds:"安全庫存閾值"},error:{default:"設置庫存告警失敗,請稍後再試。"},fields:{isEnabled:{label:"啟用"},threshold:{error:{required:"啟用告警時,閾值為必填項",min:"閾值必須大於或等於 0"}}}},tableList:{columns:{available:{label:"可供貨",belowSafetyStockThreshold:"此產品的庫存低於安全庫存閾值。"},committed:{label:"待發貨"},damaged:{label:"損壞"},safetyStock:{label:"安全庫存"},hsCodeCategory:{label:"類別 / HS 代碼"},incoming:{label:"待入庫"},itemDescription:{label:"物品描述 / 產品名稱"},onHand:{label:"現有庫存"},productType:{label:"產品類別",options:{carton:{label:"紙箱"},packagingMaterial:{label:"包裝物料"},sellableProduct:{label:"可銷售產品"}}},qualityControl:{label:"檢查中"},sku:{label:"存貨單位 (SKU)"}},filters:{andWithCount:"and +{{count}}",hsCodeCategory:{label:"類別 / HS 代碼"},productType:{label:"產品類別",options:{carton:{label:"紙箱"},packagingMaterial:{label:"包裝物料"},sellableProduct:{label:"可銷售產品"}}},searchField:{placeholder:"輸入產品名稱、存貨單位、類別或 HS 代碼搜尋"}},sorters:{fields:{availableQty:{label:"可供貨"},barcode:{label:"條碼"},committedQty:{label:"待發貨"},createdAt:{label:"建立日期"},damagedQty:{label:"損壞"},incomingQty:{label:"待入庫"},name:{label:"產品名稱"},onHandQty:{label:"現有庫存"},qualityControlQty:{label:"檢查中"},sku:{label:"存貨單位 (SKU)"}},orders:{aToZ:{label:"由 A 到 Z"},lessToMore:{label:"由低至高"},moreToLess:{label:"由高至低"},newestFirst:{label:"由最新到最舊"},oldestFirst:{label:"由最舊到最新"},zToA:{label:"由 Z 到 A"}},title:"排序方式"}},title:"庫存管理"},login:{description:"每日超過 3,000 名商業客戶活躍使用",email:"公司電郵",forgetPassword:"忘記密碼?",hidePassword:"隱藏",httpErrors:{401:"請輸入正確電郵或密碼"},password:"密碼",poweredBySpaceship:"Powered by Spaceship",resetPasswordToast:"成功更新密碼",showPassword:"顯示",signup:{hint:"未有賬戶?<a>立即註冊</a>",label:"立即註冊"},submit:"登入",title:"登入您的賬戶",title2:"登入或註冊"},notFoundPage:{actions:{backToPreviousPage:"返回上一頁",goToHomePage:"前往主頁"},description:"抱歉,您尋找的頁面並不存在。請更改連結,或前往主頁。",title:"未能找到頁面"},orders:{actions:{clone:"複製",close:"封存",edit:"編輯訂單"},bulkEditFulfillmentOrderModal:{buttons:{submit:"更新 {{count}} 張運單"},fields:{carrierService:{autoSelect:"自動選擇",globalEAllExcludedBanner:"所選訂單全部為 Global-e 訂單。託運服務由 Global-e 指定,無法在此更改。",globalEExcludedBanner:"將略過 {{count}} 張 Global-e 訂單。該等訂單的託運服務由 Global-e 指定,無法更改。",label:"託運服務",placeholder:"選擇託運服務"},deliveryMethod:{selfArrangeAllExcludedBanner:"所有已選訂單都必須使用「自行安排運送」,因此無法在此更新。",selfArrangeExcludedBanner:"將略過 {{count}} 張訂單。這些訂單必須使用「自行安排運送」,因此維持不變。",label:"運送方式",placeholder:"選擇運送方式"},editProperty:{label:"編輯類別",options:{carrierService:"託運服務",deliveryMethod:"運送方式",purpose:"寄件目的",remarks:"備註",ssCare:"Spaceship Care",taxTerm:"課稅模式"}},remarks:{label:"備註"},ssCare:{label1:"使用 Spaceship Care 保障您寶貴的訂單,讓您安心無憂!",label2:"選用 Spaceship Care 保障您所選的訂單",options:{no:"<b>否</b>
237 - 我願意承擔貨品損壞、遺失和失竊的風險,並清楚明白如發生上述情況,Spaceship 將不能提供任何相關索償的協助。",yes:"<b>好</b> - 保障我的訂單免受損壞、丟失和盜竊。"},reminderBanner:{description:"所選訂單是否符合 Spaceship Care 的資格將於購買時評估。"},termsAndConditions:"由 InsureShield® Shipping Insurance 提供。透過使用此服務,即代表您同意我們的<tncUrl>條款及政策</tncUrl>。"}},notes:{applyToUnfulfilledCreated:"批量編輯只適用於狀態為「已建立」的訂單。"},title:"編輯 {{count}} 張運單"},bulkEditShipmentTagsModal:{optionsDescription:{add:"可新增的標記",remove:"可移除的標記"},title:{add:"將標記新增至 {{count}} 張訂單",remove:"將標記從 {{count}} 張訂單中移除"}},cloneFulfillmentOrderModal:{cancel:"取消",confirm:"確認複製",desc:"當您確認複製此訂單,我們將會為您以此運單相同的資料建立一張全新的發貨單。",title:"複製發貨單"},create:"新發貨訂單",createOrder:"新發貨訂單",emptyState:{desc:"已建立的訂單將在此顯示",notFound:{title:"尚未有任何相關訂單"},title:"尚未有任何訂單",all:{title:"尚未有發貨訂單",desc:"立即建立您的第一張發貨訂單,或連接商店以自動匯入訂單。"}},exportOrdersModal:{title:"匯出訂單",export:"匯出",section:{selecting:{description:"選擇您想匯出發貨訂單紀錄的日期。<br/>日期以訂單建立日期為準,每次最長可選 90 日。"},exporting:{title:"正在匯出 {{itemCount}} 張訂單...",description:"我們正在處理您提交的訂單紀錄匯出請求,這可能需要一段時間。<br/><br/>您可以選擇保留在此視窗內,以便在紀錄準備好後直接下載。或者,您可以關閉此視窗,我們將在紀錄準備好後以電郵通知您。"},completed:{title:"您的訂單紀錄已準備好下載。",description:"您現在可以下載您的訂單紀錄。我們稍後也會發送通知到您的登記電郵。"}}},importFulfillmentOrders:"匯入發貨訂單",refetch:"Refresh",tab:{archived:"已封存",unfulfilled:"未發貨"},tableList:{bulkActions:{addTags:"新增標記({{count}})",bulkEdit:"編輯 ({{count}})",moreOptions:"更多選項",removeTags:"移除標記({{count}})",submit:"提交訂單 ({{count}})"},columns:{carrierService:{autoSelect:"自動選擇",label:"託運服務",notApplicable:"不適用",tooltips:{autoSelect:"根據您設定的 <b>物流自動化 </b>規則選擇託運服務",baseOnAutomation:" 根據您的自動化規則選擇"}},deliveryMethod:{label:"配送方式"},errorReason:{addressValidation:{checkNotFinished:{desc:"由於檢查未能完成,訂單已暫停處理。請重新提交以再次檢查。",descRetryScheduled:"訂單已暫停處理,系統會自動重新檢查。您亦可重新提交,立即再次檢查。",title:"地址驗證:檢查尚未完成"},incomplete:{desc:"請開啟訂單查看需補充的資料,然後修正地址或按現有地址核准。",title:"地址驗證:地址欠完善"},notFound:{desc:"請開啟訂單,核對街道、門牌、城市及郵政編號。",title:"地址驗證:郵政紀錄中找不到此地址"}},label:"原因"},estimatedCost:{label:"預估運費"},items:{cellDesc:"{{ numOfItems }} Items",label:"物品"},orderRef:{label:"訂單編號",placeholder:"No order ref."},orderSource:{label:"訂單來源"},receiver:{label:"收件人"},addressValidations:{label:"地址驗證"},remarks:{label:"備註"},shippingMethod:{label:"Shipping Method"},ssid:{label:"Spaceship ID"},status:{label:"狀態",options:{cancel_requested:{awaitingCancellation:{label:"攔截中"}},closed:{cancelledByStore:{label:"已在網店取消"},cancelFulfillmentOrderSyncConditionUnmet:{label:"已取消 (同步條件不符)"},cancelledByUser:{label:"已被用戶取消"},closedByStore:{label:"訂單已被處理"}},created:{label:"已建立"},failed:{failedCartonRequiresSelfArrange:{label:"需自行安排運送"},failedMixedCartonAndItem:{label:"紙箱與物品混合"},failedOthers:{label:"失敗 (其他原因)"},failedUsOriginRequiresSelfArrange:{label:"需自行安排運送"},insufficientStock:{label:"庫存不足"},labelFailed:{label:"未能購買標籤"}},fulfilled:{awaitingPickup:{label:"等待取件"},dispatched:{label:"已寄出"}},labelled:{label:"已貼標籤"},packed:{label:"已包裝"},packing:{label:"包裝中"},picking:{label:"揀貨中"},processing:{labelled:{label:"已貼標籤"},packed:{label:"已包裝"},packing:{label:"包裝中"},picking:{label:"揀貨中"}},submitted:{label:"已提交"}
237,unfulfilled:{created:{label:"已建立"},pendingSubmit:{label:"待提交"},submitted:{label:"已提交"}}}},trackingNumber:{label:"追蹤編號"},warehouse:{label:"倉庫"}},filters:{andWithCount:"and +{{count}}",carrierService:{label:"託運服務"},orderSource:{label:"訂單來源"},receiverCountry:{label:"收件人國家/地區"},searchField:{placeholder:"輸入 Spaceship ID,訂單編號或收件人名稱搜尋"},shipmentTags:{label:"運單標記"},status:{label:"狀態",options:{awaitingCancellation:{label:"攔截中"},awaitingPickup:{label:"等待取件"},cancelledByStore:{label:"已在網店取消"},cancelledByUser:{label:"已被用戶取消"},closedByStore:{label:"訂單已被處理"},created:{label:"已建立"},dispatched:{label:"已寄出"},failedOthers:{label:"失敗 (其他原因)"},insufficientStock:{label:"庫存不足"},labelFailed:{label:"未能購買標籤"},labelled:{label:"已貼標籤"},packed:{label:"已包裝"},packing:{label:"包裝中"},pendingSubmit:{label:"待提交"},picked:{label:"已揀貨"},picking:{label:"揀貨中"},submitted:{label:"已提交"}}},warehouse:{label:"倉庫"}},isOfflineDelivery:{tooltips:"Spaceship 倉庫將會與您聯絡,了解如何使用非 Spaceship 託運服務購買運單。"},remarks:{tooltips:"備註:{{ remarks }}"},selectedCountWithLimit:"已選 {{count}} / {{limit}} 發貨訂單",sorters:{fields:{createdAt:{label:"建立時間"}},orders:{newestFirst:{label:"Newest to Oldest"},oldestFirst:{label:"Oldest to Newest"}}},ssCare:{willBeEnabled:"此運單將包含 Spaceship Care,保障運送過程。"},toast:{addTagsSuccess:"已成功將標記新增至已選訂單",removeTagsSuccess:"已成功將標記從已選的訂單中移除"}},title:"未發貨訂單",allOrdersTitle:"所有訂單"},paymentMethods:{card:{description:"新增付款方式在繳付任何費用需要增值時應用。",title:"信用卡"},title:"付款方法"},pendingCharges:{card:{outstandingAmount:{amount:"已誌賬金額",button:{settle:"繳費"}}},exportModal:{completed:{description:"您現在可以下載您的待繳費用紀錄。我們稍後也會發送通知到您的登記電郵。",title:"您的待繳費用紀錄已準備好下載。"},dateRange:{description:"誌賬日範圍",title:"選擇您想匯出誌帳日期。每次最長可選 90 日。"},export:"匯出",exportAgain:"再次匯出",processing:{description:"我們正在處理您的紀錄匯出請求,這可能需要一段時間,當紀錄輸出可供下載時,我們將以電郵通知您。<br/><br/>請您可以選擇保留在此視窗內,以便在紀錄準備好後直接下載。或者,您可以關閉此視窗,我們將在紀錄準備好後以電郵通知您。",title:"正在匯出"},title:"匯出待繳紀錄"},tabs:{archived:"已完成",outstanding:"已誌賬",upcoming:"未誌賬"},title:"待繳費用"},pickups:{button:{schedulePickupInstruction:"預約上門收件指引"},tabs:{history:"過往記錄",upcoming:"已預約"},title:"上門收件"},products:{addProduct:"新增物品",back:{title:"返回產品管理"},bulkEditProductModal:{buttons:{ok:"我明白了",submit:"更新 {{count}} 件產品"},fields:{countryOfManufacture:{label:"原產地"},currency:{label:"貨幣",placeholder:"選擇貨幣"},editProperty:{label:"編輯類別",options:{countryOfManufacture:"原產地",dimension:"尺寸",hsCode:"類別 / HS 代碼",itemDescription:"物品描述",itemDescriptionChinese:"中文物å“
237æè¿°",name:"產品名稱",unitValue:"物品單價",weight:"重量"}},height:{label:"高度"},hsCode:{helpText:"以上類別僅供參考。如不填寫 HS 代碼 / 選擇類別,您將可能面臨扣關及錯繳稅款等風險。",label:"HS 代碼"},itemDescription:{label:"物品描述"},itemDescriptionChinese:{label:"中文物品描述"},length:{label:"長度"},name:{label:"產品名稱"},unitValue:{label:"物品單價"},weight:{label:"重量"},width:{label:"寬度"}},results:{error:{description:"抱歉,一個未知錯誤已發生。請待會再試。",title:"產品修改錯誤"},success:{description:"成功編輯已選的 {{count}} 件產品。",title:"成功更新產品"}},title:"編輯 {{count}} 件產品"},button:{instruction:"產品管理指引",stockIn:"Stock In"},deleteProduct:"刪除",editProduct:"編輯產品",emptyState:{notFound:{desc:"已加入的產品資料將在此顯示",title:"沒有產品"}},error:{failedToDownloadProductLabel:"Failed to download product label, please try again later"},exportProductsModal:{close:"我明白",export:"匯出",section:{completed:{description:"您現在可以下載您的產品紀錄。我們稍後也會發送通知到您的登記電郵。",title:"您的上門產品紀錄已準備好下載。"},exporting:{description:"我們正在處理您提交的產品紀錄匯出請求,這可能需要一段時間,當庫存紀錄輸出可供下載時,我們將以電郵通知您。<br/><br/>請您可以選擇保留在此視窗內,以便在紀錄準備好後直接下載。或者,您可以關閉此視窗,我們將在紀錄準備好後以電郵通知您。",title:"正在匯出 {{itemCount}} 條記錄..."},selecting:{description:"匯出庫存紀錄到 CSV 檔"}},title:"匯出產品"},form:{productDetails:{addProduct:{submit:"新增物品",title:"新增報關物品"},deleteProduct:{confirmation:"您將刪除此產品 [<strong>{{ sku }}</strong>]。當您確認後,所有相關數據將不能修復。",submit:"確認刪除",title:"刪除"},editProduct:{submit:"更新產品",success:"已成功更新產品",title:"編輯產品"},fields:{barcode:{label:"條碼 (ISBN,UPC,GTIN 等)",lockedByWarehouse:"{{warehouse}} 已持有此產品的庫存,為保持倉庫記錄一致,條碼無法編輯。如需修改,請聯絡客戶服務。",warehouseSeparator:"、"},batteryPackingInstructionType:{label:"電池種類",notes:"僅允許運送特定電池。如有任何疑問,請聯繫Spaceship客服。",options:{pi966:"鋰離子電池與設備分離但一起包裝運送 (PI 966)",pi967:"包裝於設備內之鋰離子電池 (PI 967)",pi970:"包裝於設備內之金屬電池 (PI 970)"}},brand:{label:"品牌名稱"},bulkShipPurpose:{label:"物品用途",options:{manufacturing:"製造用途",others:"其他",prototype:"樣品測試",resell:"轉售"},placeholder:"請註明用途"},cartonItemQty:{helpText:"The number of items in the carton.",label:"箱內物品數量"},countryOfManufacture:{label:"原產地"},currency:{label:"貨幣",placeholder:"選擇貨幣"},dimension:{error:"長度、寬度和高度必須全部填寫或全部留空。"},fields:{hsCode:{label:"HS 代碼"}},hasAnyBatteries:{label:"該物品是否包含任何電池?",no:"沒有",yes:"有"},height:{label:"高度"},hsCode:{helpText:"以上類別僅供參考。如不填寫 HS 代碼 / 選擇類別,您將可能面臨扣關及錯繳稅款等風險。",hint:"海關將使用 HS(國際商品統一分類)代碼將運送物品歸類。",label:"HS 代碼",placeholder:"輸入 HS 代碼",supportUrl:"https://support.spaceshipapp.com/zh-hk/add-harmonised-codehs-code-to-your-shipping-item"},hsCodeCategory:{label:"類別",placeholder:"選擇類別"},itemDescription:{helpText:"請如實申報物品資料,您需承擔因虛報而引起之運送延誤、損失及法律刑責。",label:"物品描述"},itemDescriptionChinese:{helpText:"如運單的寄件地為中國大陸,請您亦以中文申報物品資料。",label:"中文物å“
237æè¿°"},length:{label:"長度"},material:{helpText:"產品所用的材料(例如:棉、塑膠)",label:"產品材質"},name:{label:"產品名稱"},onlineStoreUrl:{helpText:"該產品的銷售頁面網址",label:"產品頁面連結",validation:{invalidUrl:"請輸入有效的網址。"}},sellingPlatform:{helpText:"產品銷售的線上市場或平台(例如:Shopify),部分託運商需要此資訊。",label:"平台名稱"},isSerialNumberRequired:{label:"序列號必填"},packagingRequirement:{label:"包裝要求",options:{bubbleEnvelope:{label:"氣泡運送信封"},cartonBox:{label:"紙箱"},columnAirBag:{label:"防撞氣柱袋"},custom:{label:"自訂包裝物料",placeholder:"選擇自訂包裝物料"},honeycombPaper:{label:"蜂巢緩衝包裝紙"}},tooltip:{noCustomPackagingMaterial:"尚未建立任何自訂包裝物料,請先建立相應產品。"}},productType:{banner:"新增此產品後,產品類別將不可更改,以確保倉庫與 Pro 之間的數據準確性。",label:"產品類別",options:{carton:{hint:"用作承載同款貨物的盒 (備註:倉庫人員將不會打開任何紙箱掃描/分類箱內物品)",label:"紙箱"},packagingMaterial:{hint:"用作包裹貨物的材料",label:"包裝物料"},sellableProduct:{hint:"用作銷售的產品 (備註:從 Shopify 同步至 Pro 的產品將自動歸類為此類型)",label:"可銷售產品"}}},remarks:{label:"備註"},sku:{helpText:"新增物品後,其存貨單位 (SKU) 將<b>無法</b>編輯,請確保存貨單位輸入正確。",label:"存貨單位 (SKU)"},unitValue:{label:"物品價值"},unitWeight:{label:"重量"},width:{label:"寬度"}},section:{b2bShipmentDeclaration:{description:"此部分僅適用於使用 Spaceship Air Heavy Goods 服務的運單。",title:"重貨物品申報"},otherDeclaration:{title:"其他申報"},basicInfo:{title:"基本資料"},customDeclaration:{reminderBanner:{desc:"請如實申報物品資料,您需承擔因虛報而引起之運送延誤、損失及法律刑責。",title:"如實申報物品的重要性"},title:"報關資料"}},updatedAt:"最後更新:{{updatedAt}}"}},importProducts:"匯入產品",importProductsFromFile:"從檔案匯入",importProductsFromStoreModal:{button:{backToProducts:"返回產品管理",goToStoreIntegration:"前往網店連接",importProducts:"同步產品",setupNow:"立即設定"},importResult:{error:{description:"產品同步過程發生錯誤,請重新嘗試。",title:"同步失敗"},noProductsCreated:{description:"沒有新建立的產品",title:"沒有成功同步的產品"},success:{description:"我們正從網店<strong>{{storeName}}</strong>同步產品,這可能需要一段時間,當完成同步,您將會在選單中的「產品管理」旁,看到一個綠色剔號。",title:"開始同步產品"}},instructions:{description:"請先連接您的 Shopify 網店以便從網店同步產品。",step1:{description:"在選單點按「網店連接」。",title:"前往網店連接"},step2:{description:"依照指示連接您的網店,並完成所有偏好設定。",title:"連接您的 Shopify 網店"},step3:{description:"在選單點按「產品管理」,並選擇「從 Shopify 同步」,揀選您想同步產品的網店。",title:"從網店同步產品"},title:"從 Shopify 網店同步指引"},missingStoreSettings:{description:"為減少從網店同步產品後的手動修改資料,請先在網店連接頁面完成<b>包裝及物品設定</b>。",title:"完成您的網店偏好設定"},storeSelection:{description:"請選擇您想同步產品的 Shopify 網店",lastProductSyncedAt:"上次同步:{{lastProductSyncedAt}}",warningBanner:{description:"沒有輸入 SKU 資料的產品將不會同步。如果產品的 SKU 與 Spaceship Pro 中已有的產品有重覆亦會被跳過,以確保您編輯好的報關資料不會被覆蓋。",title:"只會同步有 SKU 資料的產品"}},title:"從 Shopify 同步"},importProductsFromStores:"從 Shopify 同步",importProductsModal:{button:{downloadTemplate:"下載範本",ok:"返回產品管理",upload:"上載"},description:"在匯入產品前,請確保您的產品資料正確及可用作報關之用途。",fieldsMapping:{field:{barcode:{label:"條碼"},batteryPackingInstructionType:{label:"電池包裝指示類型"},cartonItemQty:{label:"箱內物品數量"},countryOfManufacture:{label:"原產地"},currency:{label:"貨幣"},dimension:{length:{label:"長度"},weight:{label:"重量"},width:{label:"闊度"}},height:{label:"高度"},hsCode:{label:"HS 代碼"},itemDescription:{label:"物品描述"},length:{label:"長度"},name:{label:"產品名稱"},sku:{label:"存貨單位 (SKU)"},type:{label:"產品類別"},unitValue:{label:"物品價值"},weight:{label:"重量"},width:{label:"闊度"}}},importResult:{success:{description:"已新增/更新 <strong>{{ totalCount }}</strong> 個產品",title:"成功匯入產品"}},overrideOptions:{label:"如果上載檔案內含有與現有產品管理列表中的相同存貨單位 (SKU) :",options:{overrideExisting:"平台上這些 SKUs 舊有產品資料將被上載檔案中的資料完全取代",retainExisting:"保留產品管理列表中舊有 SKUs 的資料,只匯入新的 SKUs 資料"}},title:"匯入產品",uploadFile:{banner:{productTypeNote:"成功匯入產品後,產品類別將不可更改,以確保倉庫與 Pro 之間的數據準確性。"},error:{barcodeLockedByWarehouse:"{{count}} 個產品的條碼無法更改,因為 {{warehouse}} 已持有其庫存",cartonItemQtyCannotBeAddedForNonCarton:"{{count}} 個<strong>非紙箱</strong>的產品已標明箱內物品數量 (只適用於紙箱)",duplicateBarcode:"{{count}} 個產品與現有產品含有同一個條碼",invalidHsCodeFormat:"{{count}}
237 個 HS 代碼無效",invalidValueInField:"{{count}} 個{{field}}不正確",maxFileSize:"檔案大小不能超過 {{size}}",maxRowLimit:"匯入行數不能超過 {{limit}}。",missingRequiredField:"未填妥{{count}} 個{{field}}的資料。",numberTooBig:"{{count}} 個 {{field}} 超過大小限制。",numberTooSmall:"{{count}} 個{{field}}少於{{min}}下限。",productTypeCannotBeChanged:"{{count}} 個產品與相關產品的類別不吻合",stringTooBig:"{{count}} 個{{field}}超過字數限制。",unknown:"{{count}} 個{{field}}發生未知錯誤。請嘗試再匯入一次。"},maxFileSize:"檔案大小不能超過:{{size}}",maxRowLimit:"行數限制:{{limit}}",requirements:"匯入檔案要求",supportedFileTypes:"支援檔案格式:{{types}}"}},modal:{button:{addProduct:"新增產品",importProducts:"匯入產品"},instruction:{description:{exampleTitle:"例如:",heading1:"產品管理是什麼?",heading2:"如何使用?",leftSideContent1:"產品名稱:",leftSideContent2:"iPhone 14 Pro 海軍藍色保護殼",paragraph:"產品管理善用產品存貨單位 (SKU) 自動更新相應的報關物品資料,以簡化清關手續、避免送貨延誤。",rightSideContent1:"報關物品描述:",rightSideContent2:"手機保護殼",step1:{description:"請為每一個報關物品填寫存貨單位 (SKU) 及相應資料。",title:"設定報關物品"},step2:{description:"設定報關物品後,請上傳 Excel/CSV 檔案或從您的網店同步訂單至「草稿」頁面。",title:"匯入 / 同步網店訂單至草稿"},step3:{description:"系統將根據相應報關物品的設定,自動更新匯入 / 同步網店訂單裡的物品資料。",title:"按 SKU 自動更新報關物品資料"}},title:"產品管理指引"}},newProduct:"+ 新增產品",printItemLabel:"Print Item Label",tableList:{bulkActions:{bulkEdit:"編輯 ({{count}})"},columns:{availableQty:{label:"可供貨庫存"},countryOfManufacture:{label:"原產地"},createdAt:{label:"建立時間"},hsCodeCategory:{label:"類別/HS 代碼"},itemDescription:{label:"物品描述/產品名稱"},onHandQty:{label:"現有庫存"},productType:{label:"產品類別",options:{carton:{label:"紙箱"},packagingMaterial:{label:"包裝物料"},sellableProduct:{label:"可銷售產品"}}},sku:{label:"存貨單位 (SKU)"},source:{label:"產品來源/建立時間"},unitValue:{label:"物品價值"},updatedAt:{label:"最後更新時間"}},filters:{andWithCount:"和 +{{count}}",hsCodeCategory:{label:"類別"},productType:{label:"產品類別",options:{carton:{label:"紙箱"},packagingMaterial:{label:"包裝物料"},sellableProduct:{label:"可銷售產品"}}},regionOfManufacture:{label:"原產地"},searchField:{placeholder:"輸入存貨單位、物品描述、產品名稱、HS 代碼或條碼搜尋"}},row:{onHandQty:"in Stock"},selectedCountWithLimit:"已選 {{count}}/{{limit}} 件產品",sorters:{fields:{availableQty:{label:"可供貨庫存"},barcode:{label:"條碼"},createdAt:{label:"建立日期"},name:{label:"產品名稱"},sku:{label:"SKU(存貨單位)"},updatedAt:{label:"更新日期"}},orders:{aToZ:{label:"由 A 到 Z"},lessToMore:{label:"由低至高"},moreToLess:{label:"由高至低"},newestFirst:{label:"由最新到最舊"},oldestFirst:{label:"由最舊到最新"},zToA:{label:"由 Z 到 A"}},title:"排序方式"}},tabs:{inventory:"庫存",product:"產品",stockIn:"倉庫收貨單",wro:"收貨單"},title:"產品管理",viewDetails:"查看詳情"},returnOrders:{title:"退貨單",button:{create:"+ 新退貨單"},create:{title:"創建退貨單",back:{title:"返回退貨單"},form:{orderReference:{label:"訂單編號",placeholder:"輸入訂單編號",searchResults:"搜尋結果"},returnItems:{empty:{title:"未選擇任何物品",noItemsSelected:"未選擇任何物品",selectOrder:"請選擇訂單以查看可退貨的物品。"},label:"退貨商品",addExtraItems:{label:"添加額外商品",placeholder:"選擇商品"}},packingDimension:{label:"包裝尺寸",dimension:{label:"包裹尺寸"},length:{label:"長度"},width:{label:"寬度"},height:{label:"高度"},weight:{label:"重量"}},carrierService:{label:"託運服務",manualSelect:{label:"手動選擇託運服務"},selfArrange:{label:"自行安排",trackingNumber:{label:"追蹤號碼",placeholder:"輸入追蹤號碼",error:"追蹤號碼是必填項目"},shippingCarrier:{label:"託運服務商",placeholder:"輸入託運服務商",error:"託運服務商是必填項目"},estimatedArrival:{label:"預計到達時間",placeholder:"選擇預計到達日期"}},selectButton:{label:"選擇託運服務"},changeButton:{label:"更改"},estimatedTransitDays:"預計 {{min}} - {{max}} 個工作天",selectedService:"已選擇託運服務:{{serviceName}}",packageDimensionError:"請在選擇託運服務前輸入包裹尺寸和重量。",modal:{title:"選擇託運服務",confirm:"確認"}},paymentDetails:{title:"付款詳情",prepaidFreight:"預繳運費",fuelSurcharge:"燃油附加費",taxAndDuties:"稅金與關稅",otherCharges:"其他收費",rates:"總費用",rateUnavailable:"暫無報價",updatedAt:"更新於:{{updatedAt}}"},remarks:{label:"備註",placeholder:"插入備註"},sender:{label:"寄件人",edit:{label:"編輯",title:"編輯寄件人地址"},customerDetails:{label:"客戶詳情"},postalCode:"郵政編號"},receiver:{label:"收件人",address:"地址",warehouse:"倉庫",noWarehouseSelected:"未選擇倉庫"},submit:{label:"提交退貨單"},success:{offline:{title:"退貨單創建成功",description:"您的離線退貨單已成功創建。請確保您有追蹤號碼和託運服務商信息,以便為您的客戶準備。"},online:{title:"標籤創建成功",description:"付款成功。下載託運標籤並發送給買家,提醒他們正確地將標籤貼在包裹上並交給託運服務商。"},ssid:"Spaceship ID:{{ssid}}",orderRef:"訂單編號:{{orderRef}}",trackingNumber:"追蹤號碼:{{trackingNumber}}",downloadButton:"下載託運文件",doneButton:"完成",shipmentSummary:{title:"託運摘要",route:"託運路線",receiver:"收件人",carrierService:"託運服務商"},paymentSummary:{title:"付款摘要",prepaidFreight:"預繳運費",shippingFee:"運費",fuelSurcharge:"燃油附加費",taxAndDuties:"稅金與關稅",otherCharges:"其他收費",otherSurcharges:"其他附加費",rates:"總費用",total:"總計",updatedAt:"更新於:{{updatedAt}}"},deliveryStatus:"配送狀態",carrier:"託運服務商",totalFee:"總費用",downloadLabel:"下載標籤",downloadThermalLabel:"下載熱敏標籤"}}},edit:{title:"編輯退貨單"},emptyState:{notFound:{title:"沒有找到退貨單",desc:"退貨單將在此顯示"}},tableList:{columns:{orderReference:{label:"訂單編號"},status:{label:"狀態"},customer:{label:"客戶"},carrierService:{label:"託運服務"},estimatedCost:{label:"預估費用"},items:{label:"商品"},trackingNo:{label:"追蹤號碼"},remarks:{label:"備註"}
237,orderSource:{label:"訂單來源"},warehouse:{label:"倉庫"},spaceshipId:{label:"Spaceship ID"},fulfillmentOrder:{label:"發貨單"}},sorters:{title:"排序方式",fields:{createdAt:{label:"建立日期"}},orders:{oldestFirst:{label:"最早優先"},newestFirst:{label:"最新優先"}}}},filters:{searchField:{label:"搜尋",placeholder:"搜尋 Spaceship ID、訂單編號、客戶名稱或追蹤編號"},status:{label:"狀態",placeholder:"選擇狀態",all:"所有狀態",draft:"草稿",pending_create:"待建立",created:"已建立",in_transit:"運送中",arrived:"已到達",completed:"已完成",cancelled:"已取消"},warehouse:{label:"倉庫"},carrierService:{label:"託運服務"},senderCountry:{label:"寄件國家"},creationDate:{label:"建立日期",startDate:"開始日期",endDate:"結束日期"},offlineReturn:{label:"退貨類型",placeholder:"選擇退貨類型",all:"所有類型",online:"線上退貨",offline:"線下退貨"},andWithCount:"及 +{{count}}",clearAll:"清除所有篩選"},status:{draft:"草稿",pending_create:"待建立",created:"已建立",in_transit:"運送中",arrived:"已到達",inspected:"已檢查",completed:"已完成",cancelled:"已取消"},actions:{view:"查看"},noOrderRef:"無訂單編號",noProductName:"無產品名稱",noCountry:"無國家",selfArrange:"自行安排",carrierService:"託運服務",offlineReturn:"線下退貨",workingDays:"{{days}} 個工作天",noTracking:"無追蹤號碼",storeName:"商店名稱",itemCount:"{{count}} 件商品",trackingNumber:{label:"追蹤號碼"},cancelModal:{title:"取消退貨單",confirmation:"您確定要取消退貨單 <strong>{{orderRef}}</strong> 嗎?"},viewReturnOrder:{address:"地址",backToReturnOrders:"返回退貨單",createTime:"建立時間:{{date}}",spaceshipId:"Spaceship ID:{{ssid}}",returnItems:"退貨商品",carrierService:"託運服務",customer:"客戶",paymentDetails:"付款詳情",sender:"寄件人",receiver:"收件人",remarks:"備註",barcode:"條碼",weight:"重量",trackingNo:"追蹤號碼",expectedQty:"預計數量:{{quantity}}",actualQty:"實際數量:{{quantity}}",inspectionResults:"檢查結果",remarksAndPhotos:"備註和照片",details:"詳情",qcPassed:"質檢通過",qcFailed:"質檢失敗",inspectionPhoto:"檢查照片",pendingCharges:"待付費用",settledCharges:"已付費用",location:"位置",contactFullName:"聯絡人全名",companyLegalName:"公司法定名稱",taxId:"稅務編號",warehouse:"倉庫",offlineCarrier:"線下託運服務商",offlineReturn:"線下退貨",estimatedDelivery:"預計 1 - 2 個工作天",noReturnItems:"無退貨商品",noDescription:"無描述",shippingFee:"運費",fuelSurcharge:"燃油附加費",otherSurcharges:"其他附加費",totalCharges:"總費用",description:"描述",dimensions:"尺寸",relatedFulfillmentOrder:"相關履行訂單",fulfillmentOrderSsid:"履行訂單 SSID",viewFulfillmentOrderDetails:"查看履行訂單詳情"}},profile:{sections:{basicInfo:{fields:{email:{label:"公司電郵"},name:{label:"全名"}},title:"基本資料"},security:{actions:{changePassword:"更改密碼",forgotPassword:"忘記密碼?"},fields:{confirmNewPassword:{errors:{mismatch:"必須與之前所輸入的新密碼一樣"},label:"確認新密碼"},currentPassword:{errors:{incorrect:"密碼錯誤"},label:"現時密碼"},newPassword:{label:"新密碼"}},title:"安全性"}},title:"個人資料"},quotation:{button:{createShipment:"建立運單",quote:"查詢"},destination:{edit:"編輯",receiverAddress:{title:"收件人國家/地區"},senderAddress:{title:"寄件人國家/地區"},title:"目的地"},forms:{address:{from:"從",note:"如城市、州份及郵政編號留空,系統將會自動填上相應國家/地區的預設地址。如果您已經填寫了州、城市或郵政編號其中的一欄,則必須完成其他必填欄位。",subTitle:"從香港到",switch:"切換",to:"到"},isResidential:"這是住宅地址",shipmentFreightType:{heavyShipment:"大件貨物",parcel:"小包裹"},title:"運費報價"},heavyWeightShipmentDetails:{packages:{title:"郵件",titleWithCount:"‪{{count}}‬ 箱郵件"},receiverAddress:{title:"目的地"},senderAddress:{title:"寄件地"},title:"運單"}
237,notice:{desc:"關稅、稅收以及額外附加費不包括在內。最終運費會根據最終收件人的完整地址、包裹尺寸、總重量、稅務處理選項和其他相關因素而有所變化。實際送達日期則會受不同因素影響,如遇偏遠地區及其他不可抗力的情況下,所需的時間會相應增加。",title:"運費報價及預計送達時間只供參考"},quotingState:{desc:"正在尋找最合適的託運服務…<br/>整個過程可能需時幾分鐘,<strong>請不要關閉或重新整理此頁面</strong>。",title:"正在尋找合適的託運服務..."},reminder:{getAccurateQuotation:{desc:"提供的地址資料愈多,運費報價結果會較準確。最終運費取決於填寫的完整地址。",title:"取得精準運費報價"}},result:{title:"託運服務"}},resetPassword:{changeEmail:"更改電郵地址",code:"6位數字驗證碼",description:"6位數字的驗證碼已發送到此電郵地址: <bold>{{email}}</bold>",invalidCode:"驗證碼不正確",password:{fieldName:"輸入新密碼",hint:"密碼必須包含 6 個字符或以上"},resend:"重發驗證碼",submit:"重設密碼",title:"重設密碼"},schedulePickup:{error:{failedToGetQuote:{moreBagThenShipmentPackages:"外袋總數不應超過運單包裹總數",title:"無法獲取上門收件報價"},form:{totalNumOfBagShouldGreaterThanZero:"至少需要選擇一個外袋"}},form:{detailsCard:{shipmentsSection:{label:"上門收件運單",shipmentsCount:"{{count}} 張運單"},title:"上門收件詳情"},packaging:{largeBagsDimension:"單邊長不超過450cm,三邊長總和不超過600cm",largeBagsField:"大外袋 <subdued>(> 20 公斤)</subdued>",smallBagsDimension:"單邊長不超過130cm,三邊長總和不超過200cm",smallBagsField:"小外袋 <subdued>(最多 20 公斤)</subdued>",subTitle:"將您的包裹整合到外袋中,可以降低部份託運商所收取的上門收件費用。最終的取件費用取決於取件託運商的收費標準。",title:"善用外袋包裝減低上門取件費用 "},quote:{noQuoteAvailable:"無可用報價"},servicesCard:{subTitle:"預計的上門取件費用是根據您提供的運單詳細資料作估算。",title:"上門收件服務"}}},settings:{tabs:{accounts:{importOnStopShopActivation:{errors:{invalidFormat:"IOSS 號碼格式不正確"}}},addresses:{addAddressModal:{title:"新增地址"},button:{add:"新增",addAddress:"新增地址",delete:"刪除",edit:"編輯"},defaultAddress:"預設",deleteAddressDialog:{confirm:"刪除地址",description:{withName:"您確認刪除此地址 - <b>{{addressDisplayName}}</b>?",withoutName:"您確認刪除此地址?"},title:"刪除地址",warning:{sender:"在此刪除寄件人地址將令相關自動化規則的相應動作即時停止。",receiver:"刪除此收件人地址將從您的常用地址列表中移除,並且將不再可用於未來的運單。"}},editAddressModal:{title:"編輯地址",warning:"在此更新地址將不會影響尚未完成的運單,但相應的自動化規則將會即時更改。如要更新尚未完成運單的寄件人地址,請瀏覽「運單」頁面點擊相應運單然後編輯。"},helperText:{desc:"加入常用地址到常用列表可以加快建立運單的過程。",title:"寄件地址"},listTitle:"寄件人地址",receiverAddress:{tableName:"收件人",listTitle:"收件人地址",searchPlaceholder:"搜尋收件人姓名、公司...",countryRegionLabel:"國家/地區",searchCountriesPlaceholder:"搜尋國家...",emptySelection:{title:"收件地址",heading:"尚未設定收件人地址",content:"新增您最常用的地址,以便在購買運單時加快流程。",button:"新增地址"},tableHead:{name:"收件人",addressLine1:"地址行 1",phone:"電話號碼"}},title:"地址"},apiAndWebhook:{title:"API & Webhooks"},apiKeys:{apiDocumentationUrl:"https://spaceshipapp.readme.io/reference/overview",button:{create:"+ 新增 API 密鑰"},createApiKeyModal:{button:{create:"生成 API 密鑰"},description:"為了安全與 Spaceship 連接,您的應用程式或工具需要 API 密鑰獲取使用 Spaceship 服務的權限。<learnMoreUrl>請查看 API 密鑰,了解更多。</learnMoreUrl>",field:{apiKeyId:{label:"API 密鑰 ID"},apiKeySecret:{label:"API 密鑰密碼"},name:{helpText:"請精準命名此 API 密鑰,以便參考。",label:"API 密鑰名稱",placeholder:"ä¾
237‹å¦‚:生產環境"}},learnMoreUrl:"https://spaceshipapp.readme.io/reference/overview",successBanner:{description:"此密鑰將不能收復。如您失去此 API 密鑰的權限,請另建新鑰。注意:關閉此視窗後,API 密鑰密碼將被隱藏。",title:"API 密鑰已成功生成"},title:"建立 API 密鑰",toast:{apiKeyIdCopied:"API 密鑰已被複製",apiKeySecretCopied:"API 密鑰密碼已被複製"}},deleteApiKeyModal:{confirmation:"您確認要刪除以下密鑰?",field:{confirmMessage:{label:"輸入 <critical>{{ confirmMessage }}</critical> 確認刪除"}},title:"刪除 API 密鑰",toast:{apiKeyDeleted:"API 密鑰已被刪除"},warningBanner:{description:"備註:當完成以下動作,我們將永久終止您透過此密鑰使用 Spaceship API 的權限。"}},description:"立即建立 API 密鑰,為您的應用程式或工具獲取使用 Spaceship 的權限。請查看 <apiDocumentationUrl>API 文件</apiDocumentationUrl>,了解更多。",editApiKeyModal:{button:{edit:"更新"},title:"編輯 API 密鑰",toast:{nameUpdated:"API 密鑰名稱已被更新"}},emptyState:{desc:"立即建立 API 密鑰,讓您的應用程式或工具輕鬆使用 Spaceship 的發貨服務。",title:"建立 API 密鑰"},table:{action:{edit:"編輯"},column:{apiKeyId:"API 密鑰 ID",createdAt:"建立日期",name:"API 密鑰名稱"}},title:"API 密鑰"},branding:{buttons:{save:"儲存"},description:"在此加入您的品牌資料,為客戶提供無縫的發貨體驗。這些品牌設定將顯示在您的追蹤頁面上。",sections:{colors:{buttons:{resetToDefault:"重置為預設值"},fields:{primaryColor:{helpText:"適用於進度欄",label:"主色"},secondaryColor:{helpText:"適用於網頁連結",label:"副色"}},title:"顏色"},orgLogo:{fields:{orgLogo:{label:"附帶品牌名稱的標誌"},orgName:{helpText:"如沒上載標誌,公司名稱將顯示在追蹤頁面上。",label:"顯示名稱"}},reminderBanner:{description:"如沒上載標誌及填寫顯示名稱,Spaceship Pro 的標誌將顯示在追蹤頁面上。"},title:"標誌/名稱"}},title:"品牌設定",toast:{savedSuccess:"已成功儲存品牌設定"}},carrierServiceGroup:{buttons:{add:"新增"},description:"託運服務組合讓您選擇和分組多個託運服務。其後,您便可以在物流自動化中之託運服務動作設置託運服務選擇策略,挑選最優惠或最快捷選項。",form:{fields:{carrierServices:{label:"託運服務",placeholder:"選擇託運服務"},name:{label:"託運服務組合名稱"}}},modals:{addCarrierServiceGroup:{confirm:"新增",title:"新增託運服務組合"},editCarrierServiceGroup:{confirm:"儲存",title:"修改託運服務組合"}},title:"託運服務組合"},carriers:{banner:{featureNotSupport:{desc:"請升級服務計劃以享用綁定託運服務賬戶功能。",title:"您的計劃不支援綁定託運服務賬戶功能"},numOfAcctExcessLimit:{action:"查看服務計劃",desc:"您所綁定的託運服務賬戶超出計劃上限的 {{ maxLimit }} 個,因此我們暫停了此功能,如要重新開啟功能,請升級您的服務計劃或調整您已啟用的綁定託運服務賬戶數目。",title:"已啟用的綁定託運服務賬戶超出計劃上限"}},connectionList:{description:"選擇您需要綁定的託運服務賬戶",suggestCarrier:"沒有看見到您需要綁定的託運服務商嗎? 歡迎您在左下方的聊天室就可供綁定的託運服務商名單提供建議。",title:"選擇託運服務"},connectionListModal:{title:"您的託運服務賬戶"},connections:{common:{fields:{accountName:{label:"賬戶名稱",prefillMessage:"我的 {{ carrierName }} 賬號"}}},dhl:{fields:{accountNumber:{helpText:"您的 DHL 賬戶號碼",label:"{{name}} 賬戶號碼",placeholder:"例如:123456789"},accountOriginCountry:{label:"賬戶註冊國家/地區",placeholder:"選擇賬戶註冊國家/地區"},apiKey:{helpText:"您可在 DHL API Developer Portal 上搜尋 API Key",label:"API Key"},apiSecret:{helpText:"您可在 DHL API Developer Portal 上搜尋 API Secret",label:"API Secret"}}},fedex:{eulaUrl:"https://developer.fedex.com/api/legal/en-us/eula.pdf",fields:{accountNumber:{label:"{{name}} 賬戶號碼"}},invoice:{description:"{{name}} 現時需要先驗證您的身份,才可綁定新賬戶。請輸入 {{maxAgeInDays}} 天內由 {{name}} 就此賬戶發出的發票資料。您無需上傳發票副本。",errors:{futureDate:"發票日期不可為未來日期",tooOld:"發票日期必須在 {{maxAgeInDays}} 天內"},fields:{amount:{label:"發票金額"},currency:{label:"發票貨幣",placeholder:"選擇貨幣"},date:{label:"發票日期",placeholder:"選擇發票日期"},number:{label:"發票號碼"}},title:"FedEx 發票驗證"}},general:{billingAddress:"{{name}} 帳單地址",billingAddressNote:"您所填寫的地址應與您目前的{{name}}帳單地址相同",businessDocuments:{errors:{maxFileSize:"檔案大小不能超過 {{maxFileSize}}"},fields:{commercialInvoiceLetterhead:{description:"瀏覽您的文件並將公司信頭上傳到 Spaceship Pro<br/>按照需求上傳圖片檔",label:"公司信頭"},commercialInvoiceSignature:{description:"瀏覽您的文件並將公司簽名檔上傳到 Spaceship Pro<br/>按照需求上傳圖片檔",label:"公司簽名檔"}},fileSize:"檔案大小:{{maxFileSize}}, {{maxWidth}} 寬 x {{maxHeight}} 高(像素)",requirements:"上傳需求",supportedFormat:"支援格式: {{format}}",title:"設定使用電子貿易文件 (ETD)"},customAccountSettings:{title:"設定您的託運服務賬戶"},description:"當您完成綁定您的<strong>{{name}}</strong>賬戶,您將不可享用由 Spaceship Pro 提供的{{name}}優惠價格。",haveReadAndAcceptEula:"我已閱讀並接受 <linkToEula>{{name}} EULA</linkToEula>",setting:{fields:{paperlessInvoice:{description:"啟用電子報關後,您將不用在您的貨件附上紙本商業發票。",label:"啟用電子報關",title:"é›
237»å­å ±é—œ"}}},title:"連接 {{name}}"},sf:{addAccount:"新增賬戶",description:"驗證您的<strong>順豐速運</strong>賬戶以您所協商的運費發貨。<br/><br/>當您完成綁定您的順豐速運賬戶,您將不可享用由 Spaceship Pro 提供的順豐速運優惠價格。",fields:{monthlyPaymentAccountNumber:{label:"月結單賬戶號碼"}},name:"順豐速運",supportUrl:"https://www.spaceshipapp.com/sf-custom-account-support-article",title:"綁定順豐速運"}},contentTitle:"綁定您的託運服務賬戶",description:"您可透過綁定託運服務賬戶,以協商的運費發貨。<br/><br/>設置過程需時 4-5 個工作天,期間我們會與您聯絡,並要求您提供更多資料。<br/><br/>備註:在您的託運服務賬戶成功綁定<strong>之前</strong>,已選擇託運服務的運單草稿將<strong>保持不變</strong>。如需更改,請手動批量更新它們的託運服務。",editAccountNameModal:{button:"更新",textField:{label:"帳戶名稱"},title:"修改賬戶名稱"},limitedSupport:"我們現階段只支援順豐速運賬戶綁定,將來會引入更多其他託運服務賬戶綁定選項。歡迎您在左下方的聊天室就可供綁定的託運服務商名單提供建議。",table:{action:{disable:"停用",editAccountName:"修改賬戶名稱",enable:"啟用"},header:{accountName:"賬戶名稱",accountNumber:"賬戶號碼",carrier:"託運服務",status:"狀態"},status:{disabled:"已停用",enabled:"已啟用",pending:"等待中"},title:"您的託運服務賬戶"},title:"託運服務",toasts:{connectionRequested:"成功提交您的綁定託運服務賬戶要求"}},fulfillment:{autoSubmission:{desc:"設定從 <b>Excel/CSV 文件滙入</b>或從<b>網店同步訂單</b>如何處理。可選擇手動或自動提交訂單到倉庫處理。",options:{auto:{hint:"自動提交訂單到倉庫。<br /> 此選項簡化您的操作,從而實現更快的訂單處理。",label:"自動提交訂單"},manual:{hint:`每個訂單要經您審核才提交到倉庫。 
238<br/>此選項使您可以確保每個訂單準確性。`,label:"審核後提交訂單"}},title:"倉庫發貨設定"},defaultProductWeight:{description:"設定預設產品重量。如果產品未有重量資料,我們會用這個預設重量來估算運費。這樣可以預先準備運單,避免延遲發貨。",label:"重量",title:"預設產品重量"},title:"Fulfillment",toast:{savedSuccess:"Fulfillment settings saved successfully"}},iossActivation:{title:"IOSS"},labelCustomization:{notEnabled:{action:"查看服務計劃",desc:"請升級服務計劃以享用託運標籤偏好設定。",title:"您的計劃不支援託運標籤偏好設定"}},labels:{labelCustomization:{description:"選擇在託運標籤上顯示的資料,以加快發貨流程。",isOrderRefVisible:{label:"訂單編號"},isSkuVisible:{label:"產品存貨單位 (SKU)"},reminderBanner:{description:"<ul><li>支援託運服務商:Spaceship Air - Economy,DHL,FedEx,UPS</li><li>字數限制:30</li></ul>",note:"注意:超過字數限制的內容將不會顯示在託運標籤上,而最後顯示的內容皆由託運服務商決定。",title:"支援託運服務及字數限制"},title:"託運標籤偏好設定"},title:"託運標籤及裝箱單",updated:"已成功更新託運標籤偏好設定"},notificationCenter:{addRule:"新增通知規則",description:"開啟通知規則以隨時了解訂單狀態更改和重要提示。",emptyState:{button:"新增通知規則",description:"建立通知規則,以便在滿足指定條件時自動發送電郵提示。",title:"新增通知規則"},deleteModal:{title:"刪除規則",description:"刪除此通知規則將停止所有由規則條件觸發的自動電郵通知。您確定要刪除此規則 - {{ruleName}} 嗎?",confirm:"確認刪除"},toast:{updateFailed:"更新通知規則失敗,請再試一次。",deleteFailed:"刪除通知規則失敗,請再試一次。",saveFailed:"儲存通知規則失敗,請再試一次。",sendTestEmailFailed:"發送測試電郵失敗,請再試一次。"},form:{sections:{rule:{title:"通知規則"},conditions:{title:"條件",description:"選擇觸發此電郵通知必須滿足的條件。"},recipients:{title:"通知電郵收件人",description:"一旦滿足上述條件,通知電郵將發送給以下選定的收件人。"}
238,emailPreview:{title:"電郵預覽",description:"根據您設定的條件,發送測試電郵到您的商戶註冊電郵以預覽通知。"}},name:{label:"名稱",placeholder:"通知規則名稱"},description:{label:"描述",helpText:"簡要描述此規則"},conditions:{deliveryStatus:{label:"運送狀態",description:"當運單的運送狀態為 <0>{{status}}</0>"},selector:{label:"條件"},operator:{label:"運算符",isAnyOf:"是其中之一",isNoneOf:"非其中之一"},button:{add:"新增",update:"更新"},modal:{title:{add:"新增條件",update:"更新條件"},delete:{title:"刪除條件",description:"您確認刪除此條件 - <0>{{conditionName}}</0> ?",confirm:"確認刪除"}},addCondition:"新增條件",these:""},recipients:{receiverEmail:"收件人電郵",merchantEmail:"商戶註冊電郵",merchantEmailPlaceholder:"請輸入您的註冊電郵"},emailPreview:{merchantEmail:{label:"商戶註冊電郵"},sendTestEmail:"發送測試電郵"}},title:"通知中心"},organization:{contentTitle:"組織資料",description:"發票、退款單和收據上會顯示組織資料。",fields:{billingEmail:{label:"賬單電郵"},name:{label:"組織名稱"}},readOnly:{banner:{description:"只有組織擁有者可編輯這些資料。如需更改,請聯絡 {{ownerEmail}}。",descriptionNoEmail:"只有組織擁有者可編輯這些資料。如需更改,請聯絡組織擁有者。",title:"僅供檢視"},subtitle:"由您的組織擁有者管理。",unavailable:"暫時無法顯示組織資料。請聯絡組織擁有者。"},title:"組織",toast:{updateSuccess:"成功更新組織資料"}},packages:{addBoxModal:{hint:"託運公司在收取包裹後會為其量度重量和體積重量,並按兩者之間較大值計算相應費用,可能向您徵收差額。",warning:"此包裏的長度/寬度/高度已超過 120cm,您可能會被收取附加費用。"}},packagings:{addPackaging:"新增",addPackagingDesc:"託運公司在收取包裹後會為其量度重量和體積重量,並按兩者之間較大值計算相應費用,可能向您徵收差額。",addPackagingModal:{confirm:"新增",domesticShipmentHints:{description:"如超過以下尺寸或重量限制,請於託運公司上門收件前聯絡<1>客戶服務</1> 或 <2>電郵</2> 以作特別安排。",point1:"長/寬/高 > <strong>160cm</strong>",point2:"總尺寸(長 + 寬 + 高)> <strong>300cm</strong>",point3:"包裹重量 (包裝連同裡面物品的重量總和) > <strong>30 kg</strong>",title:"本地運單"},hint:"託運公司在收取包裹後會為其量度重量和體積重量,並按兩者之間較大值計算相應費用,可能向您徵收差額。",internationalShipmentHints:{description:"如長度/寬度/高度 > <strong>120cm</strong>,您可能會被收取附加費用。",title:"國際運單"},title:"新增包裝",warning:"此包裝的長度/寬度/高度已超過 120cm,您可能會被收取附加費用。"},delete:"刪除",deletePackagingDialog:{confirm:"刪除包裝",description:"您確認刪除此包裝 - <1>{{boxDisplayName}}</1> ?",title:"刪除包裝 ({{dimension}})",warning:"在此刪除包裝將令相關自動化規則的相應動作即時停止。"},editPackagingModel:{confirm:"儲存",title:"編輯包裝"},fedexPackaging:{alert:{desc:"您必需使用 FedEx 包裝進行投寄才可享有運費優惠。如您使用自訂包裝,我們將會向您收取標準運費。",title:"注意事項"},button:{disable:"停用",enable:"啟用"},checkbox:{label:"我同意啟用 FedEx 包裝並接受相關條款。"},status:{disabled:"已停用",enabled:"已啟用"},title:"FedEx 包裝",tnc:{desc:`當啟用FedEx包裝後,您便可以選擇不同種類的 FedEx 包裝,以享受更低的 FedEx 運費。當中的選擇包括:<br /><br />
239
240<li>FedEx 氣泡快遞袋 </li> 
241<li>FedEx 大型快遞袋</li> 
242<li>FedEx 特大型快遞袋</li> 
243<br /> 
244請確保包裹體積不超過15,400立方厘米以享有運費優惠。<br /><br />`,title:"使用條款"},toast:{disabled:"FedEx 包裝已停用",enabled:"FedEx 包裝已啟用"}},form:{fields:{boxDisplayName:{label:"包裝顯示名稱"},emptyPackagingWeight:{label:"包裝重量"},packagingDisplayName:{label:"包裝顯示名稱"}}},helperText:{desc:"加入常用的包裝到常用列表以加快建立運單的過程。",fedexPackagingDesc:"使用 FedEx 包裝可享有運費優惠。<br /><br />",fedexPackagingTitle:"FedEx 包裝",packagingAutoSelection:{desc:"Auto-select the most suitable packaging for shipments.",title:"Packaging Auto Selection"},title:"包裝"},noSavedPackagings:{hint:"預設包裝尺寸可加快建立運單的流程。",title:"沒有已加入的包裝"},packagingAutoSelection:{button:{disable:"Disable",enable:"Enable"},desc:"Packaging will be auto-selected for a shipment based on the dimensions of the items in the shipment.",status:{disabled:"Disabled",enabled:"Enabled"},title:"Packaging Auto Selection",toast:{disabled:"Packaging Auto Selection Disabled",enabled:"Packaging Auto Selection Enabled"}},title:"包裝"},packingSlip:{customization:{buttons:{save:"儲存"},description:"透過定制您的裝箱單以提高您的顧客體驗。",fields:{companyLogo:{label:"顯示公司標誌",warning:{description:"請前往「設定 > 品牌設定」並上傳您的公司標誌以啟用顯示公司標誌功能。",title:"您還未上傳å
244…¬å¸æ¨™èªŒ"}},footnote:{error:{required:"請輸入附註"},label:"顯示附註"}},notEnabled:{action:"查看服務計劃",desc:"請升級服務計劃以享用裝箱單偏好設定。",title:"您的計劃不支援裝箱單偏好設定"},title:"裝箱單偏好設定"},description:"選擇在下載託運文件時是否包含裝箱單,並選定其尺寸。",notEnabled:{action:"查看服務計劃",desc:"請升級服務計劃以享用裝箱單偏好設定。",title:"您的計劃不支援裝箱單偏好設定"},size:{options:{a4:{hint:'寬 x 高:8" x 12"',label:"包含 A4 尺寸的裝箱單"},notInclude:{label:"不包含裝箱單"}}},title:"裝箱單",toast:{updated:"已更新裝箱單偏好設定"}},paymentSettings:{autoTopup:{button:{disable:"停用",enable:"啟用"},description:"如果錢包結餘跌至您所設定的額度,我們將自動增值相關金額。",modal:{autoTopupAmount:{label:"增值金額"},autoTopupThreshold:{label:"額度"},description:"如果錢包結餘跌至您所設定的額度,我們將自動增值相關金額。",title:"自動增值"},status:{disabled:"停用",enabled:"啟用"},title:"自動增值",toast:{disabled:"停用自動增值功能",enabled:"啟用自動增值功能",updated:"已更新自動增值額度"},tooltip:{cardRequired:"您必需綁定信用咭以啟用自動增值功能"}},lowBalanceAlert:{button:{disable:"停用",enable:"啟用"},description:"如果您的錢包餘額跌至您所設定的額度,您將會收到電郵提示。",modal:{description:"如果您的錢包餘額跌至您所設定的額度,您將會收到電郵提示。",lowBalanceAlertThreshold:{label:"額度"},title:"錢包餘額過低提示"},status:{disabled:"停用",enabled:"啟用"},title:"錢包餘額過低提示",toast:{disabled:"已停用錢包餘額過低提示",enabled:"已啟用錢包餘額過低提示",updated:"已更新錢包餘額過低提示"}},title:"付款設定"},printingOptions:{shippingLabelGrouping:{description:"託運標籤及相關文件的檔案下載將根據合併方法及託運標籤的列印尺寸分類。",options:{mergePdf:{hint:"將所選運單的託運標籤及相關文件合併為 1 個檔案下載。",label:"合併託運標籤"},separatePdf:{hint:"將所選運單的託運標籤及相關文件分開下載。",label:"不合併託運標籤"}},title:"合併託運文件"},shippingLabelSize:{description:"選擇託運標籤的列印尺寸。如部分託運服務未能提供熱感紙的尺寸,將會以 A4 尺寸列印。",options:{a4:{hint:'寬 x 高:8" x 12"',label:"A4 尺寸"},thermal:{hint:'寬 x 高:4" x 6"',label:"熱感紙"}},title:"託運標籤尺寸"},title:"列印偏好設定",updated:"列印偏好設定已更新"},shippingRules:{actionSelectionModal:{button:{add:"新增",update:"更新"},fields:{carrierService:{placeholder:"選擇託運服務"},carrierServiceGroup:{andWithCount:"and {{count}} more",placeholder:"Select Carrier Service Group"},coverage:{helpArticleUrl:"https://support.spaceshipapp.com/zh-hk/spaceship-care-%E4%BD%BF%E7%94%A8%E6%95%99%E5%AD%B8",label1:"Spaceship Care 為您的貴重貨品提供安全可靠的保障,讓您高枕無憂!",label2:"為已選運單加購 Spaceship Care -",options:{no:"<b>否</b> - 我願意承擔貨品損壞、遺失和失竊的風險,並清楚明白如發生上述情況,Spaceship 將不能提供任何相關索償的協助。",yes:"<b>是</b> - 保障我的運單,避免因損壞、遺失和失竊的經濟損失。"},reminderBanner:{description:"購買運單時,系統將評估其運單是否符合加購 Spaceship Care 的條件。"},termsAndConditions:"由 InsureShield® Shipping Insurance 提供。透過使用此服務,即代表您同意我們的<tncUrl> 條款及政策 </tncUrl>。"},freeItemUnitValue:{description:"由於免費物品於清關時不能申報為 $0,請在此更新物品價值,以免申報價格過低及延遲交貨。",helpArticleUrl:"https://support.spaceshipapp.com/zh-hk",helpText:"更新物品價值時,貨幣將維持不變。",label:"物品價值",reminderBanner:{description:"<ul><li>當訂單從 Shopify 同步或匯入至此時帶有貨幣,此動作方可生效。</li><li>我們建議您建立一項具有「所有運單」為條件及此動作的規則,以確保所有免費物品更新價值、並能順利通關。</li></ul>",title:"溫馨提示:"}},itemDetails:{description:"如果您沒有更新物品欄目,我們會保持該欄目的資料不變。",itemCountryOfManufacture:{label:"物品原產地"},itemCurrency:{label:"貨幣",placeholder:"選擇貨幣"},itemDescription:{label:"物品描述"}
244,itemDescriptionChinese:{label:"中文物品描述"},itemHsCode:{label:"HS code"},itemUnitValue:{label:"物品單價"}},orgCarrierAccount:{label:"託運服務賬戶",placeholder:"選擇賬戶"},packaging:{height:{label:"高度"},length:{label:"長度"},packagingWeight:{label:"包裝重量"},reminderBanner:{description:"<ul><li>如符合條件的運單草稿裡含有多件包裹的運單,此設定將適用於該運單的所有包裹。</li><li>如「產品管理」已包含該運單所有物品的重量,運單總重量將根據此包裝重量及所有物品的重量自動計算。</li><li>當您選擇「自動選擇包裝」時,我們的系統會根據您在「產品管理」中的物品尺寸,從您的「包裝列表」中選擇最適合的包裝。</li><li>如果沒有任何包裝符合您的物品尺寸,系統將會使用您所輸入的預設包裝尺寸。</li></ul>",title:"溫馨提示:"},width:{label:"寬度"}},receiverAddress:{no:{label:"不預設為住宅地址"},yes:{label:"預設為住宅地址"}},senderAddress:{placeholder:"選擇寄件人地址"},shippingPurpose:{commercialUse:{label:"商業用途"},personalUse:{label:"個人用途"},returnGoods:{label:"退貨"},sampleUse:{label:"樣本"}},taxTerm:{dap:{label:"收件人支付 (DAP)"},ddp:{label:"寄件人支付 (DDP)"},ioss:{helpText:"此選項只適用於寄往歐盟國家的路線。如需使用此選項,請前往設定 > 稅款及關稅,並提供 IOSS 號碼。",label:"寄件人支付 (IOSS)"}},valueAddedServices:{label:"選擇要應用的增值服務",reminderBanner:{description:"增值服務將自動應用於符合此規則條件的運單。"}},validateAddress:{description:"使用我們的 AI 自動驗證收件人地址,確保準確的配送資訊。",infoBanner:"當應用物流自動化規則時,系統將自動執行地址驗證。這有助於減少配送失敗並提高運單準確性。"}},globalENotSupportedInfoBannerDesc:"此動作無法應用於所有透過由 Global-e 所建立的運單。",selector:{label:"選擇動作",options:{carrierService:"託運服務",freeItemUnitValue:"免費物品價值",itemDetails:"更新物品詳情",packaging:"尺寸及重量",packagingDimension:"尺寸及重量",receiverAddress:"收件人地址是住宅地址",senderAddress:"寄件人地址",shippingPurpose:"寄件目的",ssCare:"Spaceship Care",taxTerm:"課稅模式",directSignatureDelivery:"簽收確認交付",validateAddress:"使用 AI 驗證地址"},sections:{addresses:"地址",carrierService:"託運服務",customDeclaration:"報關資料",packaging:"包裹/包裝",ssCare:"運單保障",valueAddedServices:"增值服務"}},title:{create:"新增動作",edit:"編輯動作"}},banner:{numOfRulesExcessLimit:{action:"查看服務計劃",desc:"您所啟用的自動化規則超出計劃上限的 {{ maxLimit }} 項,因此我們暫停了此功能,如要重新開啟功能,請升級您的服務計劃或調整您已啟用的自動化規則數目。",title:"已啟用的自動化規則超出計劃上限"},reminder:{desc:"每個運單草稿將先與一項規則比較,如符合條件,將應用其動作於運單,然後再比較下一個規則。"},warning:{desc:"除了無效動作,這些規則仍然生效。請檢查規則並更新相應動作。",title:"部分規則的動作無效"}},button:{add:"新增規則",delete:"刪除",disable:"停用",edit:"編輯",enable:"啟用"},conditionSelectionModal:{button:{add:"新增",update:"更新"},fields:{connectedStore:{label:"網店或平台"},itemHsCode:{customHsCode:{label:"其他 HS 代碼",placeholder:"輸入 HS 代碼,然後按輸入鍵"},description:"此條件將評估運單是否(不)包含已選類別/HS 代碼的物品。",label:"類別 / HS 代碼",operator:{label:"條件",options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"}},placeholder:"選擇條件"}},itemSku:{description:"此條件將評估運單是否(不)包含任何,或只有其中一個已選存貨單位。",example:{explanation:{case1:"<strong>SKU-001</strong> 及 <strong>SKU-002</strong> 的物品,將符合此條件",case2:"<strong>SKU-002</strong> 及 <strong>SKU-003</strong> 的物品,將符合此條件",case3:"<strong>SKU-002-XXS</strong> 的物品,將不符合此條件",description:"如運單包含"},title:"例子",value:{condition:"條件:<strong>是以下其中一個</strong>",sku:"存貨單位:<strong>SKU-001</strong>,<strong>SKU-002</strong>"}},helpText:"您可使用空格、逗號或輸入鍵分隔存貨單位。如需貼上多個單位,請用逗號分隔,例如 SKU-001, SKU-002。",label:"物品存貨單位 (SKU)",operator:{label:"條件",options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"},onlyOneOf:{label:"只有以下其中一個"}},placeholder:"選擇條件"}
244,placeholder:"例如:SKU-001, SKU-002, SKU-003"},itemsTotalDeclaredValue:{label:"報關物品總值",operator:{label:"條件",options:{eq:{label:"等於"},gt:{label:"大過"},gte:{label:"大過或等於"},lt:{label:"少過"},lte:{label:"少過或等於"}},placeholder:"選擇條件"},reminderBanner:{desc1:"當運單的物品總額於 <b>USD 10 至 USD 10,000</b> 之間,才可加購 Spaceship Care。",desc2:"如運單內的物品與此條件的貨幣不同,此規則對於包含一樣物品的運單的處理未必相同,因為其物品總額有機會透過外匯匯率的動態變化而變得不再適用,反之亦然。",title:"溫馨提示:"}},itemsTotalQuantity:{label:"物品總數量",operator:{label:"條件",options:{eq:{label:"等於"},gt:{label:"大於"},gte:{label:"大於或等於"},lt:{label:"少於"},lte:{label:"少於或等於"}},placeholder:"選擇條件"}},receiverCountry:{label:"收件人國家/地區"},receiverPostalCode:{helpText:"您可使用空格、逗號或輸入鍵分隔郵政編號。如需貼上多個編號,請用逗號分隔,例如 30022, V4C 1H1。",label:"郵政編號",operator:{label:"條件",options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"},startWithOneOf:{label:"開首為"}},placeholder:"選擇條件"},placeholder:"例如:30022, V4C 1H1",warningBanner:{desc1:"已輸入的郵政編號只適用於某些特定å
244œ‹å®¶ã€‚",desc2:"請於「路線」條件中選擇這些國家,否則任何運單只要有相符的郵政編號,將可能符合此規則的條件。",title:"如符合以下情況,請新增「路線」為條件:"}},senderCountry:{label:"寄件人國家/地區"},shipmentTag:{helpText:"<ul><li>每項規則可支援最多 50 個標記</li><li>您可在此新增標記,或從已建立的標記中選擇</li></ul>",label:"標記",operator:{helpText:"此條件將評估運單是否(不)包含任何一個已選標記。",label:"條件",options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"}},placeholder:"選擇條件"},placeholder:"搜尋標記"},shopifyShippingLine:{label:"關鍵字",operator:{label:"條件",options:{contain:{label:"包含"},exact:{label:"正是"},notContain:{label:"不包含"}},placeholder:"選擇條件"}},totalWeight:{label:"總重量",operator:{label:"條件",options:{eq:{label:"等於"},gt:{label:"大於"},gte:{label:"大於或等於"},lt:{label:"少於"},lte:{label:"少於或等於"}},placeholder:"選擇條件"},reminderBanner:{desc:"如運單包含多個包裹,此條件將把所有包裹的重量相加、以計算出運單總重量,再比較此包裹是否符合條件。"}}},selector:{label:"選擇條件",options:{allShipments:"所有運單",connectedStores:"網店或平台",itemHSCode:"類別 / HS 代碼",itemSku:"存貨單位",itemsTotalDeclaredValue:"報關物品總值",itemsTotalQuantity:"物品總數量",receiverPostalCode:"收件地址 - 郵政編號",route:"路線",shipmentTag:"標記",shopifyShippingLine:"Shopify 費率",totalWeight:"運單總重量"},sections:{allShipments:"一般",connectedStores:" 網店",cost:"價值",item:"物品",others:"其他",route:"地區",shopifyShippingLine:"費率"}},title:{create:"新增條件",edit:"編輯條件"}},deleteConfirmationDialog:{confirm:"確認刪除",desc:"您確認刪除此自動化規則 - <b>{{name}}</b>?",title:"刪除規則",warningBanner:{desc:"刪除此規則將只影響新建立的運單草稿。如要更新已建立的運單,請瀏覽「運單」頁面點擊相應運單然後編輯。"}},emptyState:{desc:"根據您的物流需求新增相應規則,達至物流自動化。",title:"未有任何自動化規則"},form:{actions:{and:"及",button:{add:"新增動作",delete:"刪除動作",edit:"編輯動作"},cancel:"取消",create:"新增",deleteConfirmationDialog:{confirm:"確認刪除",desc:"您確認刪除此動作 - <b> {{name}} </b> ?",title:"刪除動作",warningBanner:{desc:"刪除此動作將只影響新建立的運單草稿。如要更新已建立的運單,請瀏覽「運單」頁面點擊相應運單然後編輯。"}},desc:"當新增的運單草稿符合以上所有條件,這些動作將應用於該草稿。",title:"動作",types:{shipmentSetCarrierService:{accountDisabledWarning:"您所選的託運服務賬戶已停用,請另選託運務賬戶或重新啟用此託運服務脹戶。",accountNotEnabled:"您所選的託運服務賬戶已停用",carrierAccountDropdownPlaceholder:"選擇託運服務賬戶",carrierServiceGroup:{desc:"將設定為在 <b>{{carrierServiceGroup}}</b> 組合中 <b> {{quotationSelectionStrategy}} </b> 的託運服務"},defaultAccount:"Spaceship 託運服務賬戶",desc:"將設定為 <b>{{carrierServiceName}}</b>",descWithAccount:"將設定為 <b>{{carrierServiceName}}</b> 並使用 <b>{{ carrierAccountName }}</b> 託運服務賬號",exceptionList:{desc:"您正在使用由Spaceship 提供的託運服務賬戶",title:"Spaceship 託運服務賬戶"},label:"您屬意的託運服務",needSelectEitherCarrierServiceOrGroup:"Please select either Carrier Service or Carrier Service Group",needSelectOrgCarrierAccount:"您已設定您的託運服務賬戶。請重新選定您所需要使用的託運服務賬戶",orgCarrierAccount:"託運服務賬戶 - {{accountName}} - {{accountNumber}}",quotationSelectionStrategy:{options:{cheapest:{label:"最優惠"},fastest:{label:"最快捷"}}},selectionType:{carrierService:"託運服務",carrierServiceGroup:"託運服務組合"}}
244,shipmentSetCoverageOption:{label:"Spaceship Care",options:{false:{label:"將設定為 <b>不被加購</b>"},true:{label:"將設定為 <b>被加購</b>"}}},shipmentSetFreeItemUnitValue:{desc:"將更改為 <b>{{freeItemUnitValue}}</b>",label:"免費物品價值"},shipmentSetItemDetails:{itemCountryOfManufacture:{desc:"將設定 <b> {{itemCountryOfManufacture}} </b> 作為具有 HS 代碼 <b> {{itemHsCode}} </b> 的物品原產地。"},itemCurrency:{desc:"將設定 <b> {{itemCurrency}} </b> 作為具有 HS 代碼 <b> {{itemHsCode}} </b> 的貨幣。"},itemDescription:{desc:"將設定 <b> {{itemDescription}} </b> 作為具有 HS 代碼 <b> {{itemHsCode}} </b> 的物品描述。"},itemDescriptionChinese:{desc:"將設定 <b> {{itemDescriptionChinese}} </b> 作為具有 HS 代碼 <b> {{itemHsCode}} </b> 的中文物品描述。"},itemUnitValue:{desc:"將設定 <b> {{itemUnitValue}} </b> 作為具有 HS 代碼 <b> {{itemHsCode}} </b> 的物品單價。"},label:"更新物品詳情"},shipmentSetPackageDimAndWeight:{autoSelect:"將設定為 <b>自動選擇包裝</b>",customBox:"自訂包裹/包裝",desc:"將設定為 <b>{{packagingName}} ({{packagingDimension}}, <error>{{packagingWeight}}</error>) </b>",invalidPackaging:"早前選擇的包裝已被刪除,請另選包裝。",label:"包裹/包裝",unknownPackagingWeight:"未填寫包裝重量"},shipmentSetPackageDimension:{customBox:"自訂包裝尺寸",desc:"將設定為 <b>{{packageDescription}}</b>",label:"包裝",notFound:"早前選擇的包裝已被刪除,請另選包裝。"},shipmentSetPurpose:{desc:"將設定為 <b>{{purpose}}</b>",label:"寄件目的",options:{commercialUse:{label:"商業用途"},personalUse:{label:"個人用途"},returnGoods:{label:"退貨"},sampleUse:{label:"樣本"}}},shipmentSetReceiverAddressIsResidential:{label:"收件人地址",options:{false:{label:"將 <b>不被設定為住宅地址</b>"},true:{label:"將設定為 <b>住宅地址</b>"}}},shipmentSetSenderAddress:{desc:"將設定為 <b>{{senderAddressDescription}}</b>",label:"寄件人地址",notFound:"早前選擇的寄件人地址已被刪除,請另選地址。"},shipmentSetTaxTerm:{desc:"將設定為 <b>{{taxTerm}}</b>",label:"課稅模式",notFound:"早前選擇的 IOSS 號碼已被停用,請另選 IOSS 號碼。",options:{dap:{label:"收件人支付 (DAP)"},ddp:{label:"寄件人支付 (DDP)"},ioss:{label:"寄件人支付 (IOSS)"}}},shipmentSetValueAddedServices:{desc:"將應用 <b>{{valueAddedServices}}</b>",label:"增值服務"},shipmentSetValueAddedServicesAddressTranslation:{desc:"將應用 <b>{{valueAddedServices}}</b>",label:"增值服務"},shipmentValidateAddressWithSmarty:{desc:"將使用 <b>我們的 AI</b> 驗證收件人地址",label:"驗證地址"}},update:"更新"},banner:{editReminder:{desc:"此現有規則的任何更新將僅應用於新建立的運單草稿、現有草稿將維持不變。"},globalENotSupportedReminder:{desc:"由於無法支援部份動作,此規則無法應用至透過 Global-e 所建立的運單。"}},buttons:{cancel:"取消",create:"新增",update:"更新"},conditions:{and:"及",button:{add:"新增條件",delete:"刪除條件",edit:"編輯條件"},deleteConfirmationDialog:{confirm:"確認刪除",desc:"您確認刪除此條件 - <b>{{name}}</b> ?",title:"刪除條件"},desc:"請選擇必須符合的條件,以啟用此自動化規則。",title:"條件",types:{allShipments:{desc:"一律適用",label:"所有運單"},connectedStore:{desc:"從 <b>{{connectedStores}}</b> 等網店同步至此",label:"網店或平台"},itemHsCode:{desc:"運單中的物品 <b>{{operator}}</b> 類別/HS 代碼:<b>{{hsCodes}}</b>",label:"物品類別/HS 代碼",operator:{options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"}}}},itemSku:{desc:"運單中的物品 <b>{{operator}}</b> 存貨單位:<b>{{skuValues}}</b>",label:"物品存貨單位 (SKU)",operator:{options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"},onlyOneOf:{label:"只有以下其中一個"}}}},itemsTotalDeclaredValue:{desc:"<b>{{operator}}{{currency}}{{amount}}</b>",label:"報關物品總值",operator:{options:{eq:{label:"等於"},gt:{label:"大過"},gte:{label:"大過或等於"},lt:{label:"少過"},lte:{label:"少過或等於"}}}},itemsTotalQuantity:{desc:"<b>{{operator}}{{count}}</b>",label:"物品總數量",operator:{options:{eq:{label:"等於"},gt:{label:"大於"},gte:{label:"大於或等於"},lt:{label:"少於"},lte:{label:"少於或等於"}}}},receiverPostalCode:{desc:"<b>{{operator}}</b>:<b>{{postalCodes}}</b>",label:"收件地址 - 郵政編號",operator:{options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"},startWithOneOf:{label:"開首為"}}}},route:{label:"路線",receiverCountry:{desc:"收件國家或地區為:<b>{{countries}}</b>"},senderCountry:{desc:"寄件國家或地區為: <b>{{countries}}</b>"}},shipmentTag:{desc:"運單中的標記 <b>{{operator}}</b> :<b>{{shipmentTags}}</b>",label:"標記",operator:{options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"}}}},shopifyShippingLine:{desc:"<b>{{operator}}</b> 以下關鍵字:<b>「{{keyword}}」</b>",label:"Shopify 費率",operator:{options:{contain:{label:"包含"},exact:{label:"正是"},notContain:{label:"不包含"}}}},totalWeight:{desc:"<b>{{operator}} {{weight}} {{unit}}</b>",label:"運單總重量",operator:{options:{eq:{label:"等於"},gt:{label:"大於"},gte:{label:"大於或等於"},lt:{label:"少於"},lte:{label:"少於或等於"}}}}}},errors:{invalidOperator:"請選擇一個條件",missingActions:"請選擇最少一個動作。",missingConditions:"請選擇最少一個條件。"},feedbacks:{createSuccess:"已新增自動化規則「{{name}}」。",deleteSuccess:"已刪除自動化規則「{{name}}」。",disabled:"已停用自動化規則 「{{name}} 」。",enabled:"已啟用自動化規則 「{{name}} 」。",moveDownSuccess:"已下移自動化規則 「{{name}} 」。",moveUpSuccess:"已上移自動化規則 「{{name}} 」。",updateSuccess:"已更新自動化規則「{{name}}」。"},fields:{carrierService:{label:"託運服務"},carrierServiceGroup:{label:"託運服務組合"},description:{helpText:"請描述此規則,以便在列表上為不同規則進行優先排序。",label:"描述"},name:{helpText:"請命名此規則,清晰概括其條件及動作、方便在列表上為不同規則進行優先排序。",label:"名稱"},quotationSelectionStrategy:{label:"託運服務選擇策略",options:{cheapest:{label:"最優惠"},fastest:{label:"最快捷"}}},senderAddress:{label:"寄件人地址"},shipmentTag:{helpText:"每項規則可支援最多 50 個標記",label:"標記"},totalWeight:{label:"運單總重量"}},promptBlocker:{description:"您確認離開此頁面?請注意此自動化規則並未儲存。",leave:"離開此頁面",stay:"留在此頁面",title:"離開物流自動化?"},title:"自動化規則"},helperText:{desc:"物流自動化讓您快速完成一項或多項規則。這些設定將應用於所有經匯入和網店同步的運單草稿。",globalEDesc:"使用由 Global-e 指派託運服務時,將無法應用所有物流自動化規則。",title:"物流自動化"},list:{then:"接著",title:"自動化規則 (已啟用 {{count}} 項)"},listItem:{actions:{chooseCarrierService:"託運服務為 <b>{{carrierServiceName}}</b>
244",desc:"將觸發以下動作:",types:{shipmentSetCarrierService:{carrierServiceGroup:{desc:"設定為在 <b>{{carrierServiceGroup}}</b> 組合中 <b> {{quotationSelectionStrategy}} </b> 的託運服務"},desc:"託運服務為 <b>{{carrierServiceName}}</b>",quotationSelectionStrategy:{options:{cheapest:{label:"最優惠"},fastest:{label:"最快捷"}}}},shipmentSetCoverageOption:{desc:"Spaceship Care 將 <b>被加購</b>",options:{false:{label:"Spaceship Care 將 <b>不被加購</b>"},true:{label:"Spaceship Care 將 <b>被加購</b>"}}},shipmentSetFreeItemUnitValue:{desc:"每個免費物品的價值更改為 <b>{{freeItemUnitValue}}</b>"},shipmentSetItemDetails:{desc:"{{itemHsCode}} 物品詳情將會更新為 {{itemDetails}}",itemCountryOfManufacture:{desc:"設定 <b> {{itemCountryOfManufacture}} </b> 作為具有 HS 代碼 <b> {{itemHsCode}} </b> 的物品原產地。"},itemCurrency:{desc:"設定 <b> {{itemCurrency}} </b> 作為具有 HS 代碼 <b> {{itemHsCode}} </b> 的貨幣。"},itemDescription:{desc:"設定 <b> {{itemDescription}} </b> 作為具有 HS 代碼 <b> {{itemHsCode}} </b> 的物品描述。"},itemDescriptionChinese:{desc:"設定 <b> {{itemDescriptionChinese}} </b> 作為具有 HS 代碼 <b> {{itemHsCode}} </b> 的中文物品描述。"},itemUnitValue:{desc:"設定 <b> {{itemUnitValue}} </b> 作為具有 HS 代碼 <b> {{itemHsCode}} </b> 的物品單價。"},options:{itemCountryOfManufacture:{label:"物品原產地"},itemDescription:{label:"物品描述"}
244,itemDescriptionChinese:{label:"中文物品描述"},itemUnitValue:{label:"物品單價"}}},shipmentSetPackageDimAndWeight:{autoSelect:"設定為 <b>自動選擇包裝</b>",desc:"包裹/包裝為 <b>{{packagingName}} ({{packagingDimension}}, <error>{{packagingWeight}}</error>) </b>",notFound:"早前選擇的包裹/包裝已被刪除/停用,此動作現為無效。",unknownPackage:"包裹/包裝已被刪除",unknownPackagingWeight:"未填寫包裝重量"},shipmentSetPackageDimension:{desc:"包裹/包裝為 <b>{{packageDescription}}</b>",notFound:"早前選擇的包裝已被刪除,此動作已停止。",unknownPackage:"包裝已被刪除"},shipmentSetPurpose:{desc:"寄件目的為 <b>{{purpose}}</b>",options:{commercialUse:{label:"商業用途"},personalUse:{label:"個人用途"},returnGoods:{label:"退貨"},sampleUse:{label:"樣本"}}},shipmentSetReceiverAddressIsResidential:{options:{false:{label:"<b>不要</b>預設收件人地址類型為 <b>住宅地址</b>"},true:{label:"<b>預設</b>收件人地址類型為 <b>住宅地址</b>"}}},shipmentSetSenderAddress:{desc:"寄件人地址為 <b>{{senderAddressDescription}}</b>",notFound:"早前選擇的寄件人地址已被刪除,此動作已停止。",unknownAddress:"地址已被刪除"},shipmentSetTaxTerm:{desc:"課稅模式為 <b>{{taxTerm}}</b>",options:{dap:{label:"收件人支付 (DAP)"},ddp:{label:"寄件人支付 (DDP)"},ioss:{label:"寄件人支付 (IOSS)"}}},shipmentSetValueAddedServices:{desc:"應用 <b>{{valueAddedServices}}</b>"},shipmentSetValueAddedServicesAddressTranslation:{desc:"應用 <b>{{valueAddedServices}}</b>"},shipmentValidateAddressWithSmarty:{desc:"使用我們的 AI 驗證收件人地址"}}},conditions:{desc:"當運單符合以下條件:",from:"發送自",showLess:"顯示更少",showMore:"顯示另外{{count}}個項目",to:"發送至",types:{allShipments:{desc:"以下動作將應用於<b>所有運單</b>:"},connectedStore:{desc:"從 <b>{{connectedStores}}</b> 等網店同步至此"},itemHsCode:{desc:"當中的物品 <b>{{operator}}</b> 類別/HS 代碼:<b>{{hsCodes}}</b>",operator:{options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"}}}},itemSku:{desc:"當中的物品 <b>{{operator}}</b> 存貨單位:<b>{{skuValues}}</b>",label:"物品存貨單位 (SKU)",operator:{options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"},onlyOneOf:{label:"只有以下其中一個"}}}},itemsTotalDeclaredValue:{desc:"報關物品總值 <b>{{operator}}{{currency}}{{amount}}</b>",operator:{options:{eq:{label:"等於"},gt:{label:"大過"},gte:{label:"大過或等於"},lt:{label:"少過"},lte:{label:"少過或等於"}}}},itemsTotalQuantity:{desc:"包含的物品總數量 <b>{{operator}} {{count}}</b>",operator:{options:{eq:{label:"等於"},gt:{label:"大過"},gte:{label:"大過或等於"},lt:{label:"少過"},lte:{label:"少過或等於"}}}},receiverCountry:{desc:"收件國家為"},receiverPostalCode:{desc:"收件地址 - 郵政編號 <b>{{operator}}</b> <b>{{postalCodes}}</b>",operator:{options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"},startWithOneOf:{label:"開首為"}}}},senderCountry:{desc:"寄件國家為"},shipmentTag:{desc:"運單中的標記 <b>{{operator}}</b> :<b>{{shipmentTags}}</b>",label:"標記",operator:{options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"}}}},shopifyShippingLine:{desc:"Shopify 費率 <b>{{operator}}</b> 以下關鍵字: <b>「{{keyword}}」</b>",operator:{options:{contain:{label:"包含"},exact:{label:"正是"},notContain:{label:"不包含"}}}},totalWeight:{desc:"運單總重量 <b>{{operator}} {{weight}} {{unit}}</b>",operator:{options:{eq:{label:"等於"},gt:{label:"大於"},gte:{label:"大於或等於"},lt:{label:"少於"},lte:{label:"少於或等於"}}}}}},invalidActionsFound:{"":"{{count}} 項動作無效,請修改相應動作。",globalENotSupportedInfoBannerDesc:"此動作無法應用於所有透過由 Global-e 所建立的運單。"},status:{disabled:"已停用",enabled:"已啟用"},updatedAt:"最後更新:{{updatedAt}}"},route:{description:"選擇寄件人和收件人國家/地區",title:"路線"},specificCarrierService:{description:"選擇您屬意的託運服務",selectionField:{placeholder:"選擇託運服務"},title:"指定託運服務"},suggestionList:{buttons:{addRule:"新增規則"},description:"輕鬆寄件,從現在開始",items:{spaceshipAirCosmetics:{action:"選擇市場獨有的 {{carrierService}} 託運服務",condition:"經常寄送{{hsCode}}?"},spaceshipAirEconomy:{action:"選擇 {{carrierService}} 以節省運費",condition:"經常寄件到 {{receiverCountry}}?"},spaceshipCare:{action:"使用 Spaceship Care 保障您的貴價貨物",condition:"經常寄送貴價物品?"}},title:"AI 推薦的自動化規則"},title:"物流自動化",tooltip:{maxRuleCountReached:"根據現有計劃,您最多只能<b>啟用 {{maxCount}} 項規則</b>。請立即升級,以啟用更多規則。"}},taxInfo:{banner:{iossNotEnabled:{action:"查看服務計劃",desc:"請升級服務計劃以享用進口一站式服務 (IOSS)。",title:"您的計劃不支援進口一站式服務 (IOSS)"}},gstActivation:{description:"如加入已 GST 註冊號碼,可簡化運至新加坡的貨件清關和支付 繳付增值稅流程。",gstNumberField:{contactSales:"聯絡銷售部",label:"新加坡 GST 註冊號碼",placeholder:"ä¾
244‹å¦‚:098765432A",reminder:"如您有任何關於新加坡消費稅的問題,請與 Spaceship 銷售部聯絡。"},title:"新加坡消費稅 (GST)"},importOnStopShopActivation:{action:{editName:"修改賬戶名稱",setAsDefault:"設定為預設 IOSS 號碼",setAsDisabled:"停用",setAsEnabled:"啟用"},description:"如加入已登記 IOSS 號碼,可於建立運單時選擇支援 IOSS 的託運服務。簡化運至歐盟國家的貨件清關和支付 VAT 流程。",editNameModal:{confirm:"更新",title:"修改賬戶名稱"},errors:{invalidFormat:"IOSS 號碼需以 “IM” 為首,並包含 10 個數字。"},iossNumberField:{contactSales:"聯絡銷售部",inputHint:"IOSS 號碼需以 “IM” 為首,並包含 10 個數字。",knowledgeBase:{url:"https://support.spaceshipapp.com/zh-hk/ioss-is-now-available-to-handle-eu-taxes-seamlessly"},label:"IOSS 號碼",placeholder:"例如:IM0123456789",reminder:"如您有任何關於 IOSS 的問題,請與 Spaceship 銷售部聯絡。詳情請瀏覽 <url>託運教學</url>。"},iossNumberModal:{confirm:"新增",setAsDefault:"設定為預設 IOSS 號碼",setAsDefaultRemarks:"只有新增的運單草搞會使用預設 IOSS 號碼",title:"新增 IOSS 號碼"},iossType:{label:"IOSS 號碼類型",personal:"個人",personalIoss:"個人 IOSS 號碼",platform:"電商平台",platformIoss:"電商平台的 IOSS 號碼"},name:{inputHint:"設定賬戶名稱可協助識別您的 IOSS 賬號。",label:"IOSS 賬號名稱"},platform:{label:"電子商貿平台",others:"其他",placeholder:"選擇 IOSS 類型"},status:{disabled:"已停用",enabled:"已啟用",label:"狀態",pending:"等待中",rejected:"已拒絕"},title:"進口一站式服務 (IOSS)"},save:"儲存",title:"稅款及關稅"},trackingPage:{description:"為您的追蹤頁面加入品牌資料,有助推廣品牌、提升客戶的發貨體驗。設定品牌資料後,前往「運單追蹤」的追蹤頁面了解更多!",notEnabled:{action:"查看服務計劃",desc:"請升級服務計劃以享用運單追蹤頁面偏好設定。",title:"您的計劃不支援運單追蹤頁面偏好設定"},reminderBanner:{description:"設定品牌資料後,請前往<trackAndTraceUrl>「運單追蹤」</trackAndTraceUrl>的追蹤頁面了解所有更新。"},sections:{contactInfo:{description:"為您的客戶提供合適的溝通渠道,讓他們能及時向您的公司查詢。",fields:{contactPageUrl:{label:"客服頁面連結"},email:{label:"電郵"},phone:{label:"電話號碼"}},reminderBanner:{description:"以上資料將在追蹤頁面中顯示,以便客戶與您的公司聯繫。"},title:"公司聯絡資料"},defaultLocale:{description:"請根據您的客戶偏好,預設您的追蹤頁面語言。",title:"預設語言"}
244,display:{fields:{favicon:{hint:"網站圖示是在網頁瀏覽器上使用的小圖示,以代表其網站。",label:"網站圖示"},orgDisplay:{label:"標誌/名稱",orgLogo:{label:"附帶品牌名稱的標誌",uploaded:"已上載"},orgName:{label:"顯示名稱"}},orgLogoRedirectUrl:{helpText:"點擊標誌/名稱後,您的客戶將被重新定向至以上連結。",label:"網店連結"}},reminderBanner:{description:"如沒上載標誌及填寫顯示名稱,Spaceship Pro 的標誌將顯示在追蹤頁面上。如需編輯,請前往 <brandingPageUrl> 品牌設定</brandingPageUrl>。"},title:"品牌"}},title:"追蹤頁面",toast:{savedSuccess:"已成功儲存追蹤頁面設定"}},users:{addUserModal:{button:{cancel:"取消",submit:"新增用戶"},field:{email:{error:{existingAccount:"此電郵已是 Spaceship 賬戶,暫不支援加入現有賬戶。"},helpText:"系統將產生臨時密碼供您分享。",label:"電郵"},fullName:{label:"全名"}},result:{banner:"請立即複製密碼 — 此密碼只會顯示一次。請透過您慣用的安全渠道分享給 {{fullName}}。對方登入後可於「個人資料 › 安全性」自行更改密碼。",button:{done:"完成"},field:{email:{label:"電郵"},temporaryPassword:{label:"臨時密碼"}},title:"已建立用戶",toast:{passwordCopied:"已複製臨時密碼"}},title:"新增用戶"},badge:{you:"您"},button:{add:"+ 新增用戶"},description:"可登入此組織的用戶。最多 50 位。請注意:組織擁有者無法被移除。",error:{generic:"發生錯誤,請稍後再試。"},removeUserModal:{button:{cancel:"取消",confirm:"移除用戶"},description:"{{fullName}} 將立即失去對此組織的存取權限。",title:"移除 {{fullName}}",toast:{removed:"已移除用戶"}},role:{member:"用戶",owner:"組織擁有者"},table:{action:{remove:"移除"},column:{email:"電郵",joined:"加入日期",name:"姓名",role:"角色"},footer:{result:"{{shown}}/{{total}} 個結果",results:"{{shown}}/{{total}} 個結果"}},title:"用戶"},webhooks:{button:{add:"新增 Webhook URL",delete:"刪除"},createModal:{copy:"複製",create:"新增",description:"建立 Webhook,以接收即時通知。",done:"完成",errors:{nameRequired:"請輸入 Webhook 名稱",urlInvalid:"Webhook 網址必須以 http:// 或 https:// 開頭"},nameHelp:"請輸入具描述性的 Webhook 名稱",nameLabel:"Webhook 名稱",namePlaceholder:"我的第一個 Webhook",secretCopied:"Webhook 密鑰已複製",secretWarning:"此密鑰僅顯示一次,請立即複製並妥善保存。",successDescription:"Webhook 建立成功。請妥善保存 Webhook 密鑰。",successTitle:"Webhook 已建立",title:"建立 Webhook",urlHelp:"接收 Webhook POST 請求的網址",urlLabel:"Webhook URL",webhookSecret:"Webhook 密鑰"},deleteModal:{confirmation:"確定要刪除此 Webhook 嗎?此操作無法復原",delete:"刪除 Webhook",invalidConfirmation:"請依照提示輸入 <critical>{{ confirmMessage }} </critical>以確認操作",title:"刪除 Webhook",typeDelete:"請輸入 <critical> {{ confirmMessage }} </critical> 以確認"},description:"建立 Webhook,接收即時事件通知",editModal:{title:"編輯 Webhook URL",toast:{updated:"Webhook 更新成功"}},emptyState:{desc:"建立具有訂閱 Webhook 事件權限的金鑰",title:"新增 Webhook URL"},table:{action:{edit:"編輯"},column:{createdAt:"建立日期",name:"名稱",webhookUrl:"Webhook URL"}},title:"Webhooks"}},title:"設定"},shipmentTracking:{lastMileInfo:{carrierName:"尾程託運公司",title:"尾程派送",trackingNumber:"尾程追蹤編號"},orgContactInfo:{title:"聯絡我們"},shipmentDeliveryStatus:{availableForPickup:"待取件",cainiaoExternalTrackingPage:"目前請使用 <cainiaoLink>此連結</cainiaoLink> 追蹤您的菜鳥包裹。",cancelled:"已取消",delivered:"已送達",dhlPaketExternalTrackingPage:"當包裹尚未抵達收件國家/地區時,請使用 <dhlPaketLink>此連結</dhlPaketLink> 來追蹤您的 DHL Paket 包裹。",estimatedDeliveryDate:{title:"預計送達日期"},exception:"出現異常",inTransit:"運送中",label:"運送狀態",outForDelivery:"派送中",processing:"準備中",readyForPickup:"可取件",royalMailExternalTrackingPage:"當包裹尚未抵達收件國家/地區時,請使用<royalMailLink>此連結</royalMailLink>來追蹤您的英國皇郵包裹。",shipmentCancelled:"已取消",shipmentStatusHeading:"運單狀態",trackingNumber:"追蹤編號"},shipmentDetails:{box:"包裹 {{num}}",boxesWithCount:"‪{{count}}‬ 件包裹",carrierService:"託運服務",dimensionAndWeight:"尺寸及重量",formattedDimensionWithLabel:"長 {{length}} x 寬 {{width}} x 高 {{height}} cm",formattedWeight:"{{weight}} kg",heavyWeightShipmentDetails:{packages:{title:"郵件",titleWithCount:"‪{{count}}‬ 箱郵件"}},label:"運單資料",totalWeight:"總重量"},shipmentNotFound:"沒有相應的運單",shipmentTravelHistory:{checkpoint:{tags:{arrivedAtFacility:{message:"已到達 Spaceship 物流中心"},departedFromFacility:{message:"已離開 Spaceship 物流中心"}
244,labelCreated:{message:"已建立託運標籤"},toBeCollected:{message:"待收件"},toBeDroppedOff:{message:"待提交"}}},label:"運送紀錄",noTravelHistory:"沒有相關的運送記錄"}},spaceshipAI:{notAvailable:{desc:"此功能目前不適用於您的帳戶。",title:"Spaceship AI 暫不可用"}},shipments:{actionRequiredShipments:"待處理",applyShippingRules:"執行自動化",applyShippingRulesModal:{confirmation:"您即將對此運單執行自動化。一旦確認,部分運單資料可能會根據您設定的規則進行更新。",confirmationWithOrderRef:"您即將對此運單<strong>{{orderRef}}</strong>執行自動化。一旦確認,部分運單資料可能會根據您設定的規則進行更新。",submit:"確認",title:"對運單執行自動化"},bulkApplyShippingRulesModal:{confirmation:"您即將對<strong>{{count}}</strong>運單執行自動化。一旦確認,部分運單資料可能會根據您設定的規則進行更新。",submit:"確認",title:"對{{count}}運單執行自動化"},bulkDeleteShipmentsModal:{description:"您將刪除 <strong>{{count}}</strong> 張運單。一旦確認後,所有運單相關的資料將不能修復。",submit:"確認刪除",title:"刪除 {{count}} 張運單"},bulkEditShipmentModal:{banners:{receiverAddressResidentialAdditionalChargeBanner:{description:"選擇住宅地址可能會收取住宅附加費用。"}},buttons:{ok:"我明白了",submit:"更新 {{count}} 張運單"},category:{address:"地址",carrierService:"託運服務",customDeclaration:"報關資料",package:"包裹",ssCare:"運單保障"},fields:{carrierService:{label:"託運服務",placeholder:"選擇託運服務"},customAccount:{label:"託運服務賬戶",placeholder:"選擇賬戶"},editProperty:{label:"編輯類別",options:{carrierService:"託運服務",packageWeight:"包裹重量",packagingDimension:"包裝尺寸",receiverAddress:"收件人是住宅地址",senderAddress:"寄件人地址",shipmentPurpose:"寄件目的",ssCare:"Spaceship Care",taxTerm:"課稅模式"}},packageWeight:{label:"紙箱重量"},receiverAddressIsResidential:{label:"這是住宅地址",options:{no:"否",yes:"是"}},ssCare:{helpArticleUrl:"https://support.spaceshipapp.com/zh-hk/spaceship-care-%E4%BD%BF%E7%94%A8%E6%95%99%E5%AD%B8",label1:"Spaceship Care 為您的貴重貨品提供安全可靠的保障,讓您高枕無憂!",label2:"為已選運單加購 Spaceship Care",options:{no:"<b>否</b> - 我願意承擔貨品損壞、遺失和失竊的風險,並清楚明白如發生上述情況,Spaceship 將不能提供任何相關索償的協助。",yes:"<b>是</b> - 保障我的運單,避免因損壞、遺失和失竊的經濟損失。"},reminderBanner:{description:"購買運單時,系統將評估其運單是否符合加購 Spaceship Care 的條件。"},termsAndConditions:"由 InsureShield® Shipping Insurance 提供。透過使用此服務,即代表您同意我們的<tncUrl>條款及政策</tncUrl>。"}},hints:{euShipmentOnly:"IOSS只適用於寄往歐洲的運單。",internationalShipmentOnly:"此設定將套用於國際運單。",multiplePackage:"如已選的運單草稿裡含有多件包裹的運單,此設定將適用於該運單的所有包裹。"},results:{error:{description:"對不起,出現未知錯誤。請稍後重試。",title:"編輯運單錯誤"},success:{description:"成功更新已選擇的 {{count}} 張運單。",title:"成功更新運單"}},title:"編輯 {{count}} 張運單"},bulkEditShipmentTagsModal:{optionsDescription:{add:"available tags to add",remove:"available tags to remove"},title:{add:"將標記新增至 {{count}} 張運單",remove:"將標記從 {{count}} 張運單中移除"}},buyShipment:"檢視及付款",cancelAndRefund:{button:{cancelAndRefund:"取消及退款"},confirmation:"一旦確認後,<strong>{{ currency }} {{ totalFee }}</strong>將 會退還至您的錢包,取消後的運單將無法修復。您確認要取消此運單<strong>{{ orderRef }}</strong>?",submit:"取消運單",title:"您確認要取消此運單 {{shipmentSsid}}?"},cancelShipmentModal:{button:{contactCs:"聯絡客服",understand:"我明白了"},confirmation:`您確認要取消運單 <strong>{{ ssid }}</strong>?由於
245託運標籤已生成,我們會在您沒有將郵件交予託運商的情況下,在 10 個工作天內處理退款。`,result:{failed:{inTransitMessage:"由於您已寄出運單 <strong>{{ ssid }}</strong>,我們未能為您取消。",message:"未能取消運單<strong>{{ ssid }}</strong>
245,請聯絡我們的客服尋求進一步協助。",title:"取消運單失敗"},success:{message:"您已取消運單 <strong>{{ ssid }}</strong>。我們會在您沒有將郵件交予託運商的情況下,在 10 個工作天內處理退款。",title:"已成功取消運單"}},submit:"確認取消",title:"取消運單"},cancelledShipments:{title:"已取消"},cloneShipment:"複製運單",cloneShipmentModal:{cancel:"取消",confirm:"複製運單",desc:"當您確認複製此運單,我們將會為您以此運單相同的資料建立一張全新的運單草稿。",title:"複製運單"},confirmEditShipmentsModal:{cancel:"取消",confirmation:"一旦點擊編輯,此運單將會移至「草稿」頁面。",submit:"編輯運單",title:"運單將會移至「草稿」頁面"},createShipment:"新運單",deleteShipment:"刪除",deleteShipmentModal:{confirmation:"您將要刪除此運單。一旦確認後,所有運單相關的資料將不能修復。",confirmationWithOrderRef:"您將要刪除此運單 <strong>{{orderRef}}</strong>。一旦確認後,所有運單相關的資料將不能修復。",submit:"確認",title:"刪除運單"},deliveryStatus:{arrivedAtFacility:"已到達物流中心",arrivedDestination:"已到達目的地",attemptFailed:"嘗試派送失敗",cancelled:"已取消",delivered:"已送達",exception:"出現異常",expired:"已逾期",fulfilled:"準備發貨",inTransit:"在運送途中",pending:"等待中",preparing:"準備中"},downloadAndPrint:{title:"下載及列印"},downloadBatteryShippingLabel:{button:"下載託運電池標籤"},downloadCommercialInvoice:"下載商業發票",downloadLabel:"下載託運標籤",downloadShippingDocument:"下載託運文件",markAsShipped:"標記為已發貨",downloadShippingDocuments:"下載託運文件",allShipments:"所有運單",draftShipments:"草稿",edit:"編輯",editShipment:"編輯運單",editShipmentTags:"編輯標記",reviewAddress:"檢視地址",reviewAddressModal:{title:"檢視地址",save:"儲存",cancel:"取消",loading:"載入地址中...",error:"無法更新地址。請重試。",originalAddress:"原始地址",banner:{invalid:{title:"我們的 AI 未能找到此地址",description:"我們的 AI 未能找到此地址。請於購買運單前修正。"},warning:{title:"我們的 AI 發現此地址有問題",description:"我們的 AI 發現此地址有問題。請於購買運單前檢查並修正。"},review:{title:"請確認收件人",description:"我們的 AI 已找到此地址,但未能保證可成功送達。請於購買運單前與收件人確認。"}}},validateAddress:"驗證地址",validateAddressModal:{error:{title:"驗證地址",description:"此訂單的地址不完整。請在執行驗證前填寫完整地址。",goToEdit:"前往編輯",emptyAddress:"請至少輸入部分地址以開始驗證。"}},editShipmentTagsModal:{footer:"已選標記:{{count}}/250",title:"編輯標記"},emptyState:{actionRequired:{failedCreation:{desc:"無法建立託運標籤的運單將在此顯示",title:"找不到訂單"}},actions:{goToDrafts:"前往草稿"},all:{desc:"立即建立您的第一張運單,或連接商店以自動匯入訂單。",title:"尚未有運單"},cancelled:{desc:"已取消的運單將在此顯示"},downloadAndPrint:{desc:"已建立託運標籤的運單將在此顯示"},draft:{desc:"已建立的草稿將在此題示",title:"沒有草稿"},notFound:{title:"尚未有任何運單"},schedulePickup:{desc:"待預約上門收件的運單將在此顯示"},trackAndTrace:{desc:"運單追蹤紀錄將在此顯示",title:"沒有運單追蹤紀錄"}},exportShipmentsModal:{close:"我明白了",description1:"選擇您想匯出運單資料的建立標籤日期。",export:"匯出",section:{completed:{description:"您現在可以下載您的運單紀錄。我們稍後也會發送通知到您的登記電郵。",title:"您的運單紀錄已準備好下載。"},exporting:{description:"我們正在處理您提交的運單紀錄匯出請求,這可能需要一段時間,當運單紀錄輸出可供下載時,我們將以電郵通知您。<br/><br/>請您可以選擇保留在此視窗內,以便在紀錄準備好後直接下載。或者,您可以關閉此視窗,我們將在紀錄準備好後以電郵通知您。",title:"正在匯出 {{itemCount}} 條運單記錄..."},selecting:{description:"選擇您想匯出運單紀錄的日期。<br/>每次最長可選 90 日。"}},title:"匯出運單"},failedCreations:"無法建立",feeAdjustments:"調整運費",fileClaim:"申請/查看索償",importShipments:"匯入訂單",labelCreatedShipments:"已建ç«
245‹è¨—運標籤",markAsDelivered:"標記為「已送達」",markAsDeliveredModal:{confirm:"標記為「已送達」",message:"您將標記此運單為「已送達」。請確保收件人已收妥,因為此步驟將<b>不能逆轉</b>,而此後將<b>不再提供任何追蹤更新</b>。",success:"此運單已移至「運單追蹤」頁面。",title:"標記運單為「已送達」"},refetch:"重新整理",schedulePickUp:"預約上門收件",schedulePickups:{title:"預約上門收件"},shipmentInstructionModal:{step1:{description:"下載及列印託運標籤,然後貼在相應的包裹上。",title:"下載及貼上託運標籤"},step2:{description:"點擊表格左上方的方格,以全選所有運單;或點擊個別運單,以預約上門收件。",title:"選擇運單預約上門收件"},step3:{description:"選擇運單並排期時間預約收件。",title:"預約上門收件"}},shipmentReturn:{inTransitReturn:"In-Transit Return",inTransitReturnCard:{cxRemarks:"備註:",defaultRemarks:"我們需約 3 個工作天處理,然後再與您聯絡,以確認此運單的處理方式。",returnStatus:"運單攔截狀態",title:"要求攔截運單",titleInProgress:"運單攔截要求:處理中",titleProcessed:"運單攔截要求:已處理"},inTransitReturnModel:{messageForShipped:"我們需約 3 個工作天處理,然後再與您聯絡,以確認此運單的處理方式。",messageForUnShipped:"只有<strong>在運送途中</strong>的運單可<strong>要求攔截</strong>。我們需約 3 個工作天處理,然後再與您聯絡,以確認此運單的處理方式。",results:{error:{requestExists:{description:"<strong>您已提交過此運單的攔截要求。</strong><br/><br/>我們需約 3 個工作天處理,然後再與您聯絡,以確認此運單的處理方式。我們無法保證運單能成功攔截,但我們將盡最大努力滿足您的要求。"},unknownError:{description:"提交攔截運單要求時發生未知錯誤。請稍候片刻,然後再試一次。"}},success:{description:"我們需約 3 個工作天處理,然後再與您聯絡,以確認此運單的處理方式。我們無法保證運單能成功攔截,但我們將盡最大努力滿足您的要求。",submit:"我明白了",title:"已成功提交攔截要求"}},submit:"確認攔截",title:"攔截運單",warning:{message:" - 包括但不限於攔截運單、更改路線、關稅、稅收以及額外附加費。",title:"可能收取額外費用"}},inTransitReturnStatus:{inProgress:"處理中",processed:"已處理"},postDeliveryReturn:{create:"創建退運運單",editShipment:{step1:{banner:{message:"我們已根據您的出貨運單 {{ssid}} 的資料創建此退貨運單,您可以根據您的需要進行編輯。",title:"退貨運單"}},step2:{banner:{message:"此退運運單使用發貨運單之相同包裹以及物品資料,您可按照需要進行修改。",title:"檢示包裹及物品"}}}},relation:{originalShipment:"發貨運單",returnShipment:"退貨運單 {{index}}",title:"相關運單"},requestReturn:"攔截運單",returnShipment:"退運運單"},subtitle:{orderRef:"訂單編號: {{ref}}",ssid:"Spaceship ID: {{ssid}}"},tableList:{billByCarrier:"由託運服務商收取",bulkActions:{addTags:"新增標記({{count}})",bulkApplyShippingRules:"執行自動化 ({{count}})",bulkBuy:"付款 ({{count}})",bulkCancel:"取消運單 ({{count}})",bulkDelete:"刪除({{count}})",bulkEdit:"編輯({{count}})",cancelSelection:"清除已選項目",validateAddresses:"驗證地址({{count}})",commercialInvoices:"下載商業發票 ({{count}})",download:"下載 ({{count}})",downloadCommercialInvoices:"下載商業發票 ({{count}})",export:"匯出 ({{count}})",moreOptions:"更多",removeTags:"移除標記({{count}})",schedulePickUp:"預約上門收件 ({{ count }})",shipmentInstruction:"上門收件指引"},columns:{carrierService:{label:"託運服務"},shippingFeeStatus:{label:"運費狀態",tooltip:{pending:"運費為暫估,若有額外費用可能上調。",finalized:"運費金額已確定,但稅金與關稅仍可能調整。"},pending:"待確認",finalized:"已確認"},deliveryStatus:{label:"運送狀態"},latestTrackingCheckpoint:{label:"最新追蹤狀態"},orderReference:{label:"訂單編號"}
245,orderSource:{label:"訂單來源"},packages:{label:"包裹",packageCount:"{{count}} 件包裹"},paymentAmount:{label:"估算總額"},pickupSsid:{label:"Spaceship 上門收件 ID"},prepaidCost:{label:"已支付總額"},reasons:{label:"原因"},receiver:{label:"收件人"},addressValidations:{label:"地址驗證"},sender:{label:"寄件人"},shipmentStatus:{label:"狀態"},shipmentTrackingNumber:{label:"追蹤編號"},ssid:{label:"Spaceship 運單 ID"},ssidAndCancellationDate:{label:"Spaceship 運單 ID/取消日期"},status:{label:"狀態",options:{cancelled:{label:"已取消"},cancelledByStore:{label:"已從商店取消訂單"},carrierNotSelected:{label:"未選擇託運服務"},closedByStore:{label:"訂單已被處理",tooltip:"此訂單已發貨、取消及退款,或標記於Shopify以外付款。"},cancelByOrderSyncConditionUnmet:{label:"已從商店取消訂單",tooltip:"此訂單已被取消,且不能被重複使用,因訂單同步條件不符。"},draft:{label:"草稿"},draftCancelled:{label:"草稿已取消"},fulfilledByStore:{label:"已從商店出貨訂單"},incompleteFields:{label:"未填妥資料"},incompleteInfo:{label:"未填妥資料"},labelCancelRequested:{label:"已請求取消"},labelCancelled:{label:"標籤已取消"},labelCreated:{label:"標籤已建立"},labelFailed:{label:"標籤建立失敗"},labelPending:{label:"標籤處理中"},quoteUnavailable:{label:"未能獲取報價",tooltip:"此託運服務未能為此運單提供報價。請另選託運服務及/或修改運單資料,然後再試一次。"},ready:{label:"待提交運單"}}}},customCarrierAccount:{label:"已綁定您的託運服務賬戶"},errorDetails:{original:"原始錯誤訊息:",translatedBy:"經由 AI 處理"},estimatedDeliveryDayRange:"預計 {{min}} - {{max}} 工作天",filters:{andWithCount:"和 +{{count}}",carrierService:{label:"託運服務"},creationDate:{label:"建立日期"},deliveryStatus:{label:"運送狀態"},labelCreatedDate:{label:"建立標籤日期"},orderCreationDate:{label:"建立標籤日期"},orderSource:{label:"訂單來源"},receiverCountry:{label:"收件人國家/地區"},searchField:{placeholder:"以運單 ID、訂單編號或收件人名稱搜索",placeholderWithTrackingNo:"以運單 ID、訂單編號、收件人名稱或追蹤編號搜索"},senderCountry:{label:"寄件人國家/地區"},shipmentStatus:{groups:{cancelled:{label:"已取消"},delivered:{label:"已送達"},inTransit:{label:"在運送途中"},preparing:{label:"準備中"}},label:"狀態"},shipmentTags:{label:"運單標記"},addressValidationStatus:{label:"地址驗證狀態"},status:{label:"狀態"}},latestTrackingCheckpoint:{lastUpdatedAt:"最後更新:{{lastUpdatedAt}}"},paymentDetails:{billByCarrier:"估算運費(由託運商收取)",coverageFee:"Spaceship Care",dutiesAndTaxes:"稅金與關稅",dutiesAndTaxesHandlingSurcharge:"稅金與關稅手續費",estimatedRates:"估算總額",fuelSurcharge:"燃油附加費",otherCharges:"其他收費",payAtCarrier:"估算運費 (繳費予 {{ carrierName }})",payAtThirdParty:"估算運費 (繳費予 {{ thirdPartyName }})",prepaidCost:"預繳費用",prepaidFreight:"預繳運費",rates:"預估總額",remoteAreaSurcharge:"偏遠地區附加費",residentialSurcharge:"住宅附加費",seasonalSurcharge:"需求附加費"},quotationSelectionStrategy:{options:{cheapest:{label:"最優惠"},fastest:{label:"最快捷"}}},selectTips:"請點選需要批量處理的運單。",selectedCountWithLimit:"已選 {{count}}/{{limit}} 張運單",sorters:{fields:{createdAt:{label:"建立日期"},labelCreatedAt:{label:"建立日期"},orderRef:{label:"訂單編號"},updatedAt:{label:"更新日期"}},orders:{aToZ:{label:"由 A 到 Z"},newestFirst:{label:"由最新到最舊"},oldestFirst:{label:"由最舊到最新"},zToA:{label:"由 Z 到 A"}},title:"排序方式"},ssCare:{hasBeenEnabled:"您已為此運單加購 Spaceship Care,保障運輸過程。",wasEnabled:"此運單曾加購 Spaceship Care",willBeEnabled:"此運單將包含 Spaceship Care,保障運送過程。"},toast:{addTagsSuccess:"已成功將標記新增至已選運單",removeTagsSuccess:"已成功將標記從已選的運單中移除"},tooltips:{missingFields:"請在付款前填寫所有必填欄位,並確保它們的格式有效。",dataPurged:"地址資料已被清除。"},unidentifiedCarrierServiceError:{tooltip:"您所選擇的託運服務未能為此運單提供報價。"},addressValidation:{valid:"驗證通過",warning:"警告",invalid:"無效地址",unverified:"未驗證",review:"需確認",validTooltip:"地址已驗證並可配送",warningTooltip:"地址可能有問題",reviewTooltip:"地址存在,但未能保證送達",invalidTooltip:"在資料庫中找不到地址",unverifiedTooltip:"地址尚未驗證"}},trackAndTrace:{title:"運單追蹤"},viewShipment:"檢視運單"},signup:{additionalInfo:{choosingCriteria:{options:{bestPrice:"最優惠",faster:"快捷性",other:"其他條件",trustworthy:"可靠性"},other:{placeholder:"請輸入其他條件",title:"其他條件"},title:"選擇託運服務的考慮條件"},desc:"我們希望您有更好的寄件體驗。請提供更多有關您的網店資料,讓我們可以因應需要為您制定相關寄件設定。",eC
245ommercePlatform:{other:{placeholder:"例如: eBay",title:"其他(請註明)"},othersOption:"其他 - 請註明",placeholder:"電子商貿平台",title:"電子商貿平台"},estimatedNumOfShipments:{options:{minToMaxTimes:"{{min}} - {{max}} 件",overMinTimes:"{{min}} 件以上",underMaxTimes:"{{max}} 件以下"},title:"每月平均寄件數量"},isNonECommercePlatformsUser:{label:"我是個人寄件戶,沒經營任何商店",notes:"如您主要以個人目的發貨,如為至親送上包裹,請查看 <linkToPersonal> Spaceship Personal</linkToPersonal> —— 一個為您和個人寄件戶而設的發貨平台。"},phoneNumber:{helperText:"此電話號碼用作聯絡賬戶持有人。"},section:{aboutYou:"關於您",aboutYourShop:"關於您的業務"},site:{title:"公司網站/社交媒體連結"},title:"為您制定寄件偏好設定"},agreeTnC:"完成註冊即代表您同意我們的<tncLink>使用條款</tncLink>及<ppLink>隱私權政策</ppLink>。",beforeSkip:{heading:"只需 10 秒、即可升級享受個人化體驗!",info:"只需不夠 10 秒的時間,即可享受<strong>個人化</strong>的發貨體驗!"},button:{finish:"完成",goBackToSetup:"← 回到個人化設定",proceedToSpaceshipPro:"繼續前往",skip:"略過",submitBasicInfo:"立即註冊"},errors:{userExists:"此電郵地址已經存在"},forBusiness:"為商業用戶而設",form:{email:"公司電郵",name:"全名"},login:{hint:"已經擁有賬戶?<a>登入</a>"},loginTitle:"Login",marketingStatements:{benefitsFastCheckout:"體驗快速網店發貨",benefitsShipmentTrack:"隨時隨地追蹤貨件",subscriptionPlan:"*訂閱計劃詳情及收費將另行公佈",unlimitedTrial:"試用期內免費任用*"},termsAndConditions:"當您使用我們的服務,即表示您同意我們的<tncLink>使用條款</tncLink>及<ppLink>隱私權政策</ppLink>。",title:"立即註冊 - Spaceship Pro 商業用戶",title2:"註冊或登入",validation:{passwordTooLong:"密碼超過最大限制255個字元",passwordTooShort:"密碼必須包含 6 個字符或以上"},welcome:{button:"以電郵繼續",email:"公司電郵",title:"Welcome to Spaceship Pro"}},storeIntegrations:{addIntegration:"新增網店",addStoreToShip:{description:"將您的商店與 Spaceship Pro 賬戶同步以便集中管理訂單運送。",title:"連接網店以建立運單"},connect:"連接",connectedStoreCard:{settings:"設定",storeConnected:"已連接 {{name}}"},shopifyPreConfig:{connectNow:"立即連接",fields:{address:"寄件人地址",hsCode:{label:"類別 / HS 代碼"},itemWeight:{label:"物品重量"},packaging:"包裝",shipmentPurpose:{label:"寄件目的"},shipmentType:{domestic:{label:"否,我的網店只有本地運單"},international:{label:"是,我的網店有國際及本地運單"},label:"您的網店是否向全球銷售?"},syncAllProduct:{label:"從我的網店同步產品至此"},syncUnfulfilledOrdersCreatedIn:{label:"同步以下時段內建立而未發貨的訂單:"}},step:{senderAddressAndPackaging:{description:"為同步訂單預設基本資料、讓系統為您自動填寫欄目和自動計算包裹重量!",packagingTitle:"尺寸及重量",title:"預設基本資料"},shipmentDetails:{customsDeclarationInfo:{description:"如您的網店有任何國際運單,只要在此設定報關資料,即可為同步訂單自動填寫相應欄目、從此無縫通關!",title:"為無縫通關設定相關資料"},fallbackItemSettings:"物品",forInternationalShipmentsOnly:"國際運單的備用資料"},syncOrdersAndProducts:{description:"立即同步您的訂單及產品!自動填寫運單草稿只是一鍵之隔!😍",title:"同步訂單及產品"}},title:"連接 Shopify 網店 <stepText>( {{currentStep}} / {{maxSteps}} )</stepText>"},shopifyStoreConnector:{connect:"連接",description:"輸入您的網店 URL 以連接 Shopify 賬戶。",errors:{storeIsAlreadyConnectedToAnotherAccount:"此網店已於另一個Spaceship 賬戶連接"},fields:{shopDomain:{label:"網店 URL"}},title:"連接 Shopify"},title:"網店連接"},stripeSetupIntentCallback:{errors:{statusNotSucceeded:"加入此付款資料不成功。請嘗試另一個付款資料。"}},subscription:{affectedFeature:{earlyBird:`<list>
246<notSupportedItem>國際郵件進口</notSupportedItem>
247<notSupportedItem>攔截運單及創建退運運單</notSupportedItem>
248<notSupportedItem>進口一站式服務 (IOSS)</notSupportedItem>
249<notSupportedItem>一票多件運單</notSupportedItem>
250<notSupportedItem>綁定託運服務賬戶</notSupportedItem>
251<notSupportedItem>自訂包裝</notSupportedItem>
252<notSupportedItem>運單追蹤頁面偏好設定</notSupportedItem>
253<notSupportedItem>託運標籤偏好設定</notSupportedItem>
254<notSupportedItem>API</notSupportedItem>
255<warningItem>自動化規則減至 1 條</warningItem>
256</list>`,enterprise:`<list>
257<notSupportedItem>國際郵件進口</notSupportedItem>
258<notSupportedItem>攔截運單及創建退運運單</notSupportedItem>
259<notSupportedItem>進口一站式服務 (IOSS)</notSupportedItem>
260<notSupportedItem>一票多件運單</notSupportedItem>
261<notSupportedItem>綁定託運服務賬戶</notSupportedItem>
262<notSupportedItem>自訂包裝</notSupportedItem>
263<notSupportedItem>運單追蹤頁面偏好設定</notSupportedItem>
264<notSupportedItem>託運標籤偏好設定</notSupportedItem>
265<notSupportedItem>API</notSupportedItem>
266<warningItem>自動化規則由無上限條減至 1 條</warningItem>
267</list>`,growth:`<list>
268<notSupportedItem>國際郵件進口</notSupportedItem>
269<notSupportedItem>攔截運單及創建退運運單</notSupportedItem>
270<notSupportedItem>進口一站式服務 (IOSS)</notSupportedItem>
271<notSupportedItem>一票多件運單</notSupportedItem>
272<notSupportedItem>綁定託運服務賬戶</notSupportedItem>
273<notSupportedItem>自訂包裝</notSupportedItem>
274<notSupportedItem>運單追蹤頁面偏好設定</notSupportedItem>
275<notSupportedItem>託運標籤偏好設定</notSupportedItem>
276<notSupportedItem>API</notSupportedItem>
277<warningItem>自動化規則由上限 50 條減至 1 條</warningItem>
278</list>`,startup:`<list>
279<notSupportedItem>國際郵件進口</notSupportedItem>
280<notSupportedItem>攔截運單及創建退運運單</notSupportedItem>
281<notSupportedItem>進口一站式服務 (IOSS)</notSupportedItem>
282<notSupportedItem>一票多件運單</notSupportedItem>
283<notSupportedItem>綁定託運服務賬戶</notSupportedItem>
284<notSupportedItem>自訂包裝</notSupportedItem>
285<notSupportedItem>API</notSupportedItem>
286<warningItem>自動化規則由上限 10 條減至 1 條</warningItem>
287</list>`},backToSettings:"返回配置",banner:{freeTrialNearEnd:{desc:"屆時您將會降級至 Free è¨
287ˆåŠƒï¼Œéƒ¨åˆ†æ­£äº«ç”¨çš„åŠŸèƒ½å°‡å—å½±éŸ¿ã€‚",title:"您的 Growth 計劃免費試用期將於 {{ days }} 日後完結"},planEnd:{desc:"Your subscription plan has ended. You have the option to use the free plan or upgrade to access amazing paid features. Upgrade now to enjoy these features.",title:"Your Subscription Plan Has Expired"},planNearEnd:{desc:"請留意部分功能將會受影響。",title:"您將於 {{ days }} 日後降級至 Free 計劃"}},button:{manageSubscription:"管理計劃"},chargePeriodTab:{monthly:"按月收費",yearly:"å¹´ç¹³ - 節省高達 20%"},currentPlanCard:{currentPlan:"現有計劃",expireOn:"計劃有效期至",nextBillingAt:"下一期賬單"},model:{confirmCancel:{action:{continueCancel:"繼續取消",keepSubscription:"保留計劃"},desc:"當您確認取消,您將於 {{ expiredDate }} 日後降級至 Free 計劃。",subTitle:"您確認要取消此計劃?",title:"取消收費計劃"}},planCard:{billingPeriod:{annual:"按年收費 <success>(節省 20%)</success>",monthly:"按月收費"},button:{chooseCurrentPlan:"選擇計劃",contactSales:"聯絡銷售代表",currentPlan:"現有計劃",downgrade:"降級",upgrade:"立即升級"},currentPlan:"現有計劃",details:{description:{earlyBird:"Early Bird 計劃詳情",enterprise:"透過設置無限條物流自動化規則配合您的業務發展。",free:"配置基本功能,讓您管理香港寄至本地及國際的郵件。",growth:"透過設置最多 50 條物流自動化規則提高效率。",startup:"提高彈性,方便您從國際進口香港和寄發一票多件郵件。"},title:{earlyBird:"現有客戶專享",enterprise:"適合大型電商",free:"適合初創或小型電商",growth:"適合中小型電商",startup:"適合小型電商"}},feature:{earlyBird:"<feature>每月上限 2,000 個託運標籤</feature> <feature>快速運費報價</feature> <feature>API 接口</feature> <feature>50 條自動化規則</feature>",enterprise:`<feature>運費折扣 - Spaceship Air 低至 5 折</feature>
288<feature>運費折扣 - FedEx, DHL, UPS 等低至 1 折</feature>
289<feature>快速運費報價</feature>
290<feature>詳盡的運單追蹤</feature>
291<feature>公開的運單追蹤頁面</feature>
292<feature>國際郵件出口</feature>
293<feature>國際郵件進口</feature>
294<feature>上門收件管理</feature>
295<feature>攔截運單及創建退運運單</feature>
296<feature>支援 IOSS</feature>
297<feature>一票多件運單</feature>
298<feature>綁定無限個託運服務賬戶</feature>
299<feature>Shopify 網店連接</feature>
300<feature>買家通知</feature>
301<feature>Excel/CSV 匯入訂單</feature>
302<feature>SKU 管理</feature>
303<feature>支援合併列印託運文件</feature>
304<feature>支援 A4 及熱感紙列印</feature>
305<feature>自訂包裝</feature>
306<feature>運單追蹤頁面偏好設定</feature>
307<feature>託運標籤偏好設定</feature>
308<feature>數據儀表板</feature>
309<feature>無上限條自動化規則</feature>
310<feature>Spaceship Care</feature>
311<feature>詳盡的賬單</feature>
312<feature>API 接口</feature>
313<feature>電郵支援</feature>
314<feature>即時聊天支援</feature>
315<feature>電話支援</feature>
316<feature>專屬客戶經理</feature>
317`,free:`<feature>運費折扣 - Spaceship Air 低至 5 折</feature>
318<feature>運費折扣 - FedEx, DHL, UPS 等低至 1 折</feature>
319<feature>快速運費報價</feature>
320<feature>詳盡的運單追蹤</feature>
321<feature>公開的運單追蹤頁面</feature>
322<feature>國際郵件出口</feature>
323<feature>國際郵件進口</feature>
324<feature>上門收件管理</feature>
325<feature>一票多件運單</feature>
326<feature>Shopify 網店連接</feature>
327<feature>買家通知</feature>
328<feature>Excel/CSV 匯入訂單</feature>
329<feature>SKU 管理</feature>
330<feature>支援合併列印託運文件</feature>
331<feature>支援 A4 及熱感紙列印</feature>
332<feature>數據儀表板</feature>
333<feature>支援最多 1 條自動化規則</feature>
334<feature>Spaceship Care</feature>
335<feature>詳盡的賬單</feature>
336<feature>電郵支援</feature>`,growth:`<feature>運費折扣 - Spaceship Air 低至 5 折</feature>
337<feature>運費折扣 - FedEx, DHL, UPS 等低至 1 折</feature>
338<feature>快速運費報價</feature>
339<feature>詳盡的運單追蹤</feature>
340<feature>公開的運單追蹤頁面</feature>
341<feature>國際郵件出口</feature>
342<feature>國際郵件進口</feature>
343<feature>上門收件管理</feature>
344<feature>攔截運單及創建退運運單</feature>
345<feature>支援 IOSS</feature>
346<feature>一票多件運單</feature>
347<feature>綁定最多 3 個託運服務賬戶</feature>
348<feature>Shopify 網店連接</feature>
349<feature>買家通知</feature>
350<feature>Excel/CSV 匯入訂單</feature>
351<feature>SKU 管理</feature>
352<feature>支援合併列印託運文件</feature>
353<feature>支援 A4 及熱感紙列印</feature>
354<feature>自訂包裝</feature>
355<feature>運單追蹤頁面偏好設定</feature>
356<feature>託運標籤偏好設定</feature>
357<feature>數據儀表板</feature>
358<feature>支援最多 50 條自動化規則</feature>
359<feature>Spaceship Care</feature>
360<feature>詳盡的賬單</feature>
361<feature>API 接口</feature>
362<feature>電郵支援</feature>
363<feature>即時聊天支援</feature>
364<feature>電話支援</feature>`,startup:`<feature>運費折扣 - Spaceship Air 低至 5 折</feature>
365<feature>運費折扣 - FedEx, DHL, UPS 等低至 1 折</feature>
366<feature>快速運費報價</feature>
367<feature>詳盡的運單追蹤</feature>
368<feature>公開的運單追蹤頁面</feature>
369<feature>國際郵件出口</feature>
370<feature>國際郵件進口</feature>
371<feature>上門收件管理</feature>
372<feature>支援 IOSS</feature>
373<feature>一票多件運單</feature>
374<feature>綁定最多 1 個託運服務賬戶</feature>
375<feature>Shopify 網店連接</feature>
376<feature>買家通知</feature>
377<feature>Excel/CSV 匯入訂單</feature>
378<feature>SKU 管理</feature>
379<feature>支援合併列印託運文件</feature>
380<feature>支援 A4 及熱感紙列印</feature>
381<feature>自訂包裝</feature>
382<feature>數據儀表板</feature>
383<feature>支援最多 10 條自動化規則</feature>
384<feature>Spaceship Care</feature>
385<feature>詳盡的賬單</feature>
386<feature>API 接口</feature>
387<feature>電郵支援</feature>
388<feature>即時聊天支援</feature>`,titleIncludes:"包括"},labelsVolume:"{{ labelsVolume }} 個標籤 /每月",name:{earlyBird:"Early Bird",enterprise:"Enterprise",free:"免費",growth:"Growth",startup:"Startup"}
388,popular:"熱門",price:{contactSales:"聯絡銷售代表",monthly:"USD {{ price }} /每月",yearly:"USD {{ price }} /每年"},shippingLimits:{counter:"{{ numOfLabelCreated }} / {{ labelsVolume }} 每月上限",title:"託運標籤"},unlimitedLabelsVolume:"無限"},title:"收費計劃"},trackAndTrace:{stats:{exception:{hint:"包裹遇上異常情況,如被海關扣留、遺失、遺棄、退回等"},fulfilled:{hint:"運單已建立託運標籤,並且已預約上門收件/已選擇投寄點。"}}},viewProducts:{lastUpdated:"最後更新:{{updatedAt}}",prepareForStockIn:{button:"Print Storage Labels",description:"Attach a storage label to each item you're sending to the warehouse. This helps our team process your inventory quickly and accurately.",error:{failedToDownloadProductLabel:"Failed to download product label, please try again later."},barcode:"條碼",storageSku:"STORAGE SKU",title:"Prepare for Stock In"},section:{basicInfo:{title:"基本資料"},cnPostalTaxCode:{title:"寄送個人運單到中國大陸的附加申報資料"},customDeclaration:{title:"報關資料"},productInfo:{productType:{options:{carton:"紙箱",packagingMaterial:"包裝物料",sellableProduct:"可銷售產品"}},title:"產品資料"}},title:{barcode:"條碼 (ISBN,UPC,GTIN 等)",brand:"品牌名稱",categoryAndHsCode:"類別 / HS 代碼",cnPostalTaxCode:"中國大陸行郵稅號",cnTaxCatagory:"中國大陸行郵稅號類別",country:"原產地",customPackagingMaterials:"自訂包裝物料",dimension:"尺寸",itemDescription:"產品描述 (英 / 中)",name:"產品名稱",packagingRequirement:"包裝要求",productType:"產品類別",sku:"存貨單位 (SKU)",unitPackagingSpec:"單位包裝規格",unitValue:"物品單價",weight:"重量"}},wallet:{tab:{creditNotes:"退款單",invoices:"發票",receipts:"收據",transactions:"交易紀錄"},title:"我的錢包"},warehouseReceivingOrder:{action:{cancelWarehouseReceivingOrder:"取消",viewWarehouseReceivingOrder:"查看詳情"},addWarehouseReceivingOrder:{title:"建立收貨單"},carrier:{label:"託運服務"},cartons:{fields:{height:{label:"箱高"},length:{label:"箱長"},qty:{label:"箱數"},totalQty:{label:"總數"},weight:{label:"每箱重"},width:{label:"箱濶"}}},cartonsTable:{heading:{cartonQty:"箱數",qtyPerCarton:"件/箱",skuProducts:"SKU / 產品",total:"總數"}},completedAt:{label:"完成日期"},create:{back:{title:"返回庫存管理"},button:{edit:"Edit"},section:{basicInfo:{title:"基本資料"},cartons:{button:{addCartonAction:"新增",import:"匯入"},emptyState:{b2b:{button:"新增產品庫存",desc:"以箱或板方式儲存商品,適用於批發與大宗出貨需求。",import:"匯入",title:"用於批發訂單"},b2c:{button:"新增產品庫存",desc:"商品在上架後方便揀貨及包裝客戶訂單。",import:"匯入",title:"單件商品出貨用庫存"},packing_material:{button:"新增包裝物料",desc:"加入客制包裝物料,如包裝盒、緩衝材料與貼紙,提升客戶收貨體驗。",import:"匯入",title:"客制包裝存庫"}},title:"裝箱單"},error:{empty:{b2b:"請新增至少 1 箱產品",b2c:"請新增至少 1 箱產品",carton:"產品會以整箱儲存及發貨",packing_material:"請新增至少 1 箱物料",product:"產品會按件上架儲存及發貨"},emptyItem:"產品會按件上架儲存及發貨"},items:{button:{addProductAction:"新增產品",import:"再匯入產品列表"},emptyState:{button:"新增產品",carton:{button:"新增箱裝產品",desc:"產品會以整箱儲存及發貨",import:"匯入箱裝列表",title:"新增箱裝產品"},desc:"產品會按件上架儲存及發貨",product:{button:"新增產品",desc:"產品會按件上架儲存及發貨",import:"匯入產品列表",title:"新增產品"},title:"新增產品"},fields:{barcode:{alert:"請輸入Barcode 條碼。",label:"Barcode 條碼",popover:{button:"儲存",field:{label:"Barcode 條碼"}}},expectedQty:{label:"預計數量"},expiryDate:{label:"到期日"},finalQty:{label:"實際數量"},lotNumber:{label:"批次編號"},productType:{carton:"紙箱",packagingMaterial:"包裝物料",sellableProduct:"可銷售產品"},qty:{label:"數量"},remarks:{label:"備註"},totalCost:{label:"總成本"}},importModal:{button:{downloadTemplate:"下載範本",ok:"確定",upload:"上載"},description:"在匯入產品前,請確保存貨單位 (SKU) 已包含在產品列表中。",fieldsMapping:{field:{currency:{label:"貨幣"},expectedQty:{label:"數量"},expiryDate:{label:"到期日"},lotNumber:{label:"批次編號"},remarks:{label:"備註"},sku:{label:"存貨單位 (SKU)"},unitValue:{label:"單位成本"}}},importResult:{failed:{button:{importAgain:"再次匯入"},column:{reasons:"原因",rowIndex:"行#",sku:"存貨單位 (SKU)"},description:"<strong>{{failedCount}} / {{totalCount}}</strong> 的行列中發現有部分資料有誤或遺漏。請修改並重新匯入。是次整批產品將不會被匯入。",reasons:{mismatchedFieldInSameGroup:"由於存貨單位 (SKU)一致,{{field}} 亦需相同。",warehouseReceivingOrderItemInvalidValueInField:"{{field}} 無效。",warehouseReceivingOrderItemMissingRequiredField:"未完成的欄位{{field}}",warehouseReceivingOrderItemSkuNotFoundInProductList:"存貨單位 (SKU) 沒有在產品列表中。",warehouseReceivingOrderItemUnknown:"{{field}} 出現錯誤。",warehouseReceivingOrderItemValueTooBig:"{{field}} 只可含有 {{max}} 個字符或以下。",warehouseReceivingOrderItemValueTooSmall:"{{field}} 數值太小。(最小值:{{min}})"},title:"匯入失敗"},success:{description:"<strong>{{ totalCount }}</strong>件產品成功匯入",title:"成功匯入"}},title:{carton:"匯入箱裝列表",product:"匯入產品列表"},uploadFile:{error:{multipleProductTypesFound:{carton:"只可匯入箱裝產品,不能夾雜非箱裝產品。",product:"只可匯入產品,不能夾雜箱裝產品。"},unknown:"{{count}} 個{{field}}發生未知錯誤。請嘗試再匯入一次。"},maxFileSize:"檔案大小不能超過:{{size}}",maxRowLimit:"行數限制:{{limit}}",requirements:"匯入檔案要求",supportedFileTypes:"支援檔案格式:{{types}}"}},title:"待入庫物品",warningBanner:{desc:"每一張收貨單只能包含<strong>同一類別</strong>的物品入庫,以便倉庫統一處理。如需更改產品類別,請先移除已選物品。"}},receivingHandling:{title:"入倉處理"},warehouse:{contactNumber:{label:"聯絡電話"},selection:{label:"地址",placeholder:"選擇地址"},title:"倉庫"}}},createdAt:{label:"建立日期"},details:{section:{baseInfo:{title:"基本資料"},datetime:{title:"收貨單日期"}}},editWarehouseReceivingOrder:{title:"更新收貨單"},expArrivalDate:{label:"預計到達日期"},expectedArrivalDate:{label:"預計到達日期"},form:{addWarehouseReceivingOrder:{submit:"新增收貨單"},banner:{doubleConfirmInfo:"請確保所有填寫資料均準確無誤,以免過程被延誤及資料不正確。<b>新增產品前,請履行您的責任,審視以上所有填寫資料。</b>"},editWarehouseReceivingOrder:{edit:"Update order",submit:"更新收貨單"},errors:{title:"錯誤",forbiddenSku:"SKU 為 '{{sku}}' 的產品不得納入此機構的倉庫收貨單中",forbiddenProduct:"部分產品不得納入此機構的倉庫收貨單中",inventoryPoolMismatch:"SKU「{{sku}}」:產品存倉類別({{productStorageType}})與收貨單存倉類別({{wroStorageType}})不符。",inventoryPoolMismatchWithoutSku:"產品存倉類別({{productStorageType}})與收貨單存倉類別({{wroStorageType}})不符。",inventoryTypeRequired:"此倉庫必須指定存倉類別。請選擇存倉類別,或使用同一存倉類別的產品。",invali
388dProductType:"每一張收貨單只能包含同一類別的物品入庫,以便倉庫統一處理。如需更改產品類別,請先移除已選物品。",unknown:"發生未知錯誤",warehouseRequiredBeforeAddingItems:"Please select target warehouse"},fields:{cartons:{addCarton:{title:"新增產品"},editCarton:{title:"修改"}},expectedArrivalDate:{label:"預計到達日期",placeholder:"選擇預計到達日期"},id:{label:"Spaceship ID"},inboundHandlingMethod:{label:"處理方式",options:{carton:{label:"按箱處理"},pallet:{label:"整板入庫"},product:{label:"按件上架"}},placeholder:"選擇處理方式"},items:{productDimensionError:"需在「產品管理」頁填寫產品尺寸",addItem:{carton:{title:"新增箱裝產品"},product:{title:"新增物品"},title:"新增產品"},editItem:{carton:{title:"編輯紙箱"},product:{title:"編輯產品"},title:"編輯產品"},fields:{batchCode:{label:"Batch Code"},currency:{label:"Currency",placeholder:"選擇貨幣"},expectedQtyPerCarton:{suffix:"件/每箱"},expiryDate:{label:"到期日",placeholder:"選擇到期日"},lotNumber:{label:"批次編號"},name:{error:{required:"請選擇待入庫物品"},label:"物品名稱"},productType:{options:{packagingMaterial:{label:"包裝物料"},sellableProduct:{label:"可銷售產品"}}},quantity:{label:"數量"},remarks:{label:"備註",placeholder:"例如:此為易碎物品,請小心處理。",placeholderCarton:"例如:此紙箱包含易碎物品,請小心處理。",placeholderPallet:"例如:此板貨內含易碎品,請小心輕放。"},unitCost:{label:"單位成本"}}},numberOfCartons:{label:"總箱數"},numberOfPallets:{label:"板數"},orderRef:{label:"PO No."},packingList:{desc:"您可以上傳裝箱單,幫助倉庫核實接收貨物的正確數量。",error:{maxFileSize:"檔案大小超過最大限制 {{size}}",unknown:"{{count}} 個{{field}}發生未知錯誤。請嘗試再匯入一次。"},label:"裝箱單",maxFileSize:"檔案大小不能超過:{{size}}",maxRowLimit:"行數限制:{{limit}}",requirements:"匯入檔案要求",supportedFileTypes:"支援檔案格式:{{types}}",upload:"上傳裝箱單"},purchaseOrderNumber:{label:"採購訂單編號"},receivingHandling:{label:"入倉模式",options:{carton:{label:"紙箱入庫"},pallet:{label:"整板入庫"}}},remarks:{helpText:"請在此表明您對物品處理等要求,以便與倉庫員工溝通。",label:"備註"},shipByCarrier:{label:"託運服務"},supplierName:{label:"供應商"},trackingNumber:{label:"追蹤 / 預訂編號"},unitValue:{label:"物品單價"}},section:{" packingDetail":{label:"Packing Detail"},packingDetail:{label:"包裝物料資料"},productDetail:{label:"請選擇要裝入同一箱的產品"}}},id:{label:"Spaceship ID"},inventoryType:{label:"存倉類別",options:{b2b:{label:"批發庫存"},b2c:{label:"單品庫存"},packing_material:{label:"包裝庫存"},unset:{label:"未設定"}}},modal:{cancelWarehouseReceivingOrder:{confirmation:"您將取消此收貨單 [<strong>#{{ id }}</strong>]。當您確認後,所有相關數據將不能修復。",submit:"確認取消",title:"取消收貨單"}},model:{printLabels:{button:"列印入庫標籤",desc:"以便我們團隊快速準確處理您的庫存",heading:"請將入庫標籤貼在每個寄送至倉庫的紙箱上。",title:"入庫前準備"}},numOfCartons:{label:"總箱數"},orderRef:{label:"PO No."},packingList:{label:"裝箱單"},billing:{title:"費用"},prepareStockIn:{title:"入庫前準備"},printLabels:{button:"列印入庫標籤",desc:"請將入庫標籤貼在每個寄送至倉庫的紙箱上,以利我們團隊快速準確處理您的庫存。"},purchaseOrderNumber:{label:"採購訂單編號"},receivedAt:{label:"實際到達日期"},remarks:{label:"備註"},supplier:{label:"供應商"},tableList:{columns:{carrierService:{label:"託運服務"},completedDate:{label:"完成日期"},creationDate:{label:"建立日期"},expectedArrivalDate:{label:"預計到達日期"},inboundHandlingMethod:{label:"處理方式",options:{carton:{label:"按箱處理"},product:{label:"按件處理"}}},inventoryType:{label:"存倉類別"},numOfCartons:{label:"總箱數"},orderRef:{label:"採購訂單編號"},receivedDate:{label:"實際到達日期"}
388,ssid:{label:"Spaceship ID"},status:{label:"狀態"},warehouse:{label:"倉庫"}},filters:{carrierService:{label:"託運服務"},creationDate:{label:"建立日期"},inboundHandlingMethod:{label:"處理方式",options:{carton:{label:"按箱處理"},product:{label:"按件上架"}}},searchField:{placeholder:"輸入 Spaceship ID 搜尋"},warehouse:{label:"Warehouse"}}},trackingNo:{label:"追蹤編號"},warehouseInfo:{label:"倉庫資料"},wroItems:{label:"待入庫物品",list:{label:"詳情"}}},welcome:{agreeTnC:"點擊「以此電郵地址繼續」即代表您同意我們的<tncLink>使用條款</tncLink>及<ppLink>隱私權政策</ppLink>。",button:"以電郵地址繼續",subtitle:"過千位商業客戶正使用 Spaceship Pro 以提升寄件效率。立即加入使用!",title:"歡迎使用 Spaceship Pro"}},F4e={common:{asap:"盡早",pickupType:{direct:"直接收件",thirdParty:"經本地託運公司收件"}},details:{totalCost:{title:"上門收件費用",tooltipContent:"以上運費乃根據您所提供的資料計算,如包裹經覆檢後,發現體積或重量與申報數值有差距,或寄運過程中產生其他額外收費(如偏遠地區附加費、海關徵收稅項、退件費等),將會向您收取相應費用。"}},modal:{exportPickups:{button:{close:"我明白了",export:"匯出",trigger:"匯出上門收件紀錄"},section:{completed:{description:"您現在可以下載您的上門收件紀錄。我們稍後也會發送通知到您的登記電郵。",title:"您的上門收件紀錄已準備好下載。"},exporting:{description:"我們正在處理您提交的上門收件紀錄匯出請求,這可能需要一段時間,當運單紀錄輸出可供下載時,我們將以電郵通知您。<br/><br/>請您可以選擇保留在此視窗內,以便在紀錄準備好後直接下載。或者,您可以關閉此視窗,我們將在紀錄準備好後以電郵通知您。",title:"正在匯出 {{itemCount}} 條上門收件記錄..."},selecting:{description:"選擇您想匯出上門收件紀錄的日期。<br/>每次最長可選 90 日。"}},title:"匯出上門收件紀錄"},schedulePickupInstruction:{button:{goToSchedulePickups:"前往「預約上門收件」"},step1:{description:"前往「預約上門收件」的頁面",title:"前往「預約上門收件」頁面"},step2:{description:"點擊表格左上方的方格,以全選所有運單;或點擊個別運單,以預約上門收件。",title:"選擇運單"},step3:{description:"點擊右下方的「預約上門收件」,然後選擇合適上門收件的時段。",title:"預約上門收件"},title:"預約上門收件指引"}},table:{common:{column:{action:{viewDetails:"查看詳情"},carrierService:{label:"託運服務"},createdAt:{label:"建立收件日期"},pickupFee:{billedByCarrier:"由託運服務商收取",free:"免費",label:"上門收件費用"},pickupNumber:{label:"收件編號"},pickupTime:{label:"已預約收件時間(當地)"},ssid:{label:"Spaceship 上門收件 ID"},toBePickedUp:{bagCount:"外層包裝:{{count}}",label:"待收件",shipmentCount:"{{count}} 張運單"}},filter:{carrierService:{label:"託運服務",tag:"託運服務: {{carrierService}}"},pickupTime:{label:"已預約收件時間(當地)",tag:"已預約收件時間(當地):{{start}} - {{end}}"},query:{placeholder:"以運單 ID、上門收件 ID 或收件編號搜索"}}},history:{emptyState:{description:"已上門收件的紀錄將在此顯示",title:"沒有已上門收件的紀錄"}}},viewShipment:{backTo:{pickups:"返回已預約"},goTo:{pickups:"前往已預約"},pickupNotAvailable:"此運單已取消或無效"}},D4e={addressLine1:"收件人地址行 1"},N4e={submit:{button:"提交"}},M4e={form:{aramexSameDayPickupNotes:"如果您想安排<strong>即日</strong>上門收件,請在早上 11 前預約。",asap:{badge:"即日(盡早)",description:{cainiao:"在工作日中午12點前安排取件,將在同一天取件。如果您的訂單是在下午12點後、或在週末及公眾假期下單,取件將安排在下一個工作日。由於農曆新年假期,1月27日至2月2日期間將不提供取件服務,所有在此期間下單的取件需求將於2月2日後安排取件。",sf:"<p>請於以下時段預約上門收件,SF 速運會盡快與您聯絡</p><p>星期一至五:<strong>由 9:00a.m. - 4:30 p.m.</strong><br/>星期六:<strong>由 9:00a.m. - 3:30 p.m.</strong><br/>星期日或公眾假期:<strong>不提供服務</strong></p><p>請注意,SF Express 會就不同地區定實際預約收件截止時間及上門收件時間而有所不同。</p>",sfThirdParty:"<p>如您想預約 <strong>即日(盡早)</strong> 上門收件,請於以下時段進行預約,SF 速運會盡快與您聯絡</p><p>星期一至五:<strong>由 9:00 a.m. - 4:30 p.m.</strong><br/>星期六:<strong>由 9:00 a.m. - 3:30 p.m.</strong><br/>星期日或公眾假期:<strong>不提供服務</strong></p><p>請注意,SF Express 會就不同地區定實際預約收件截止時間及上門收件時間而有所不同。</p>"},notAvailable:{description:"因現正非辦公時間,您暫時無法預約上門收件ã€
388‚請於上述提及的服務時間內預約。",title:"無法在非辦公時間預約上門收件"}},carrierService:{shipments:"x {{count}} 張運單",subtitle:"已包含的運單:"},customPickupTime:{banner:"備註:以上收件時間僅作當地託運公司參考。根據實際地點和包裹數量等情況,以上的時間偏好可能會延遲。請聯繫當地託運公司確認收件時間。",date:{helpText:"海外包裹僅支援明天為最早的收件日期。",placeholder:"選擇收件日期",title:"收件日期"},description:"請根據您的日程,選擇合適的收件日期及時段,以供當地託運公司參考。",error:"最早收件時間應早於最晚收件時間。",from:"當天可供收件的最早時間",title:"當地上門收件日期及時間偏好",to:"當天可供收件的最晚時間"},orgCarrierAccount:{selector:{label:"您的託運服務賬戶"},title:"您的託運服務賬戶"},payAndSchedule:"付款及預約",paymentDetails:{billByCarrier:"由託運服務商收取",billedByCarrier:"由託運服務商收取",customCarrierAcctBanner:{desc:"就經由您的託運服務賬戶購買的上門收件服務,Spaceship 不會收取任何費用。如有任何賬單相關查詢,請直接與託運公司聯絡。",title:"已綁定您的託運服務賬戶"},pickupFee:"上門收件費",title:"付款詳情"},pickupAddress:{addAddress:{title:"新增地址"},helpText:"託運公司在收件前將與寄件人聯繫,請確保寄件人的電話號碼正確無誤。",placeholder:"選擇收件地址",sfDirectPickupNote:"順豐速運 (SF Express) 會前往運單上所列的發貨地址收取郵件,如您需要更改收件地址,請致電 +852 2730 0273 與順豐速運聯絡。",title:"上門收件地址"},pickupTimeSlot:{description:"選擇您想託運公司職員上門收件時段。",placeholder:"選擇時段",title:"上門收件時間",unavailable:{content:"未來 5 天沒有可預約上門收件的時段。請稍後再回來查看。",title:"沒有可預約上門收件時段"},validation:"請選擇時段"},schedule:"預約",skip:"略過",submit:"付款及預約",unknownError:"發現未知錯誤。請再試一次。"},result:{carrierService:{title:"託運服務"},error:{selectAnotherTimeSlot:"選擇另一個時段",skipAndScheduleNext:"略過並預約下一個",title:"未能預約上門收件",viewScheduledPickups:"前往已預約"},goToPickupsScheduled:"前往「已預約」",paymentDetails:{downloadInvoice:"下載發票",downloadInvoiceError:"在下載發票的過程中發生了問題。請稍後再試。",missingCustomerInfoError:"尚未設置組織名稱及賬單電郵;請在設置頁面中設定並重試。",pickupFee:"上門收件費用",reminders:{description:"您可以在<strong>我的錢包</strong>頁面查閱所有交易紀錄。"},title:"付款詳情"},pickupAddress:{title:"上門收件地址"},pickupDetails:{deliveryRoute:{description:"{{from}} -> {{to}}",label:"運送路線",overseas:"海外"},pickupCarrier:{label:"上門收件託運公司"},pickupReferenceNo:{label:"收件編號"},reminders:{cs:{aramex:"如有任何上門收件的疑問,請致電 {{carrierContact}} 與{{carrier}} 聯絡以提供協助。",sf:"如有任何上門收件的疑問,請致電 {{carrierContact}} 與{{carrier}} 聯絡以提供協助。"}},scheduledPickup:{asap:"盡早",label:"已預約上門收件",remark:"(根據當地時間)"},shipmentsWithCount:"{{count}} 運單",spaceshipSsid:{label:"Spaceship ID"},title:"上門收件詳情",viewShipments:"查看 {{shipmentQuantity}} 運單"},pickupInstruction:{firstMile:{downloadAwbLabels:{label:"下載託運文件"},downloadPickupLabels:{label:"下載收件標籤"},step1:{description:"<li>下載託運文件,列印並將託運標籤及CN22海關申報單(如有提供)貼在每件包裹當眼位置。</li><li>如有多件包裹的運單,並附帶主、子託運標籤,請將它們貼在正確的包裹上。</li><li>如託運文件中提供商業發票,請放入塑膠袋或文件袋並同樣貼在包裏之上。</li>",title:"準備託運文件"},step2:{description:"如您有多於一張運單並有多於一件包裏,建議將所有包裹放入另一個外置收集袋/箱中,以便託運å
388…¬å¸å®¹æ˜“收件。",title:"組合多件包裹(如適用)"},step3:{description:"<li>下載及列印託運標籤。</li><li>貼在每件包裹或外置收集袋/箱的當眼位置上。</li>",reminder:{description:"如包裹上欠缺託運標籤及收件標籤﹐託運公司職員有權拒絕收件。"},title:"準備收件標籤"},step4:{description:"請確保將正確的包裹交予託運公司職員。",reminder:{description:"<p>如您有多於一類下列提及的包裹類別,<strong>請勿</strong>將不同類別的包裹放入相同的收集箱袋/箱:</p><ol><li> 由SF Express 提供國際寄件服務</li><li>除 SF Express 外,由其他託運公司提供的國際寄件服務</li><li>由 Aramax 提供上門收件及寄件服務</li><li>本地寄件</li></ol><p>否則,您將會被收取附加費用以作額外物流安排。</p>"},title:"等待本地託運公司職員上門收件"}},nonHkDirectPickup:{downloadShippingDocuments:{label:"下載託運文件"},step1:{description:"請透過<supportLink>此頁面</supportLink>與當地託運公司 - <strong>{{carrierName}}</strong> 聯絡,並確認收件時段。",reminder:{description:"您的收件日期及時間偏好已供託運公司參考,<strong>但實際收件時間需交由您與當地託運公司確認,否則您的包裹將不被收取及運送。</strong> Spaceship 將不會承擔未經確認的收件安排。 "},supportLink:{dhl:"https://www.dhlsameday.com/pages/about/contact.aspx",fedex:"https://www.fedex.com/en-us/customer-support/contact-us.html",ups:"https://www.ups.com/en/support/contact-us.page"},title:"與當地託運公司確認上門收件時段"},step2:{description:"<li>下載託運文件,列印並將託運標籤及CN22海關申報單(如有提供)貼在每件包裹當眼位置。</li><li>如有多件包裹的運單,並附帶主、子託運標籤,請將它們貼在正確的包裹上。</li><li>如託運文件中提供商業發票,請放入塑膠袋或文件袋並同樣貼在包裏之上。</li>",title:"準備託運標籤及商業發票"},step3:{description:"<li>{{carrierName}}將會提前與您聯絡並上門收集包裏。</li><li>請確保託運公司職員收取正確的包裹。</li>",reminder:{description:"<p>如您有多於一類下列提及的包裹類別,<strong>請勿</strong>將不同類別的包裹放入相同的收集箱袋/箱:</p><ol><li> 由SF Express 提供國際寄件服務</li><li>除 SF Express 外,由其他託運公司提供的國際寄件服務</li><li>由 Aramax 提供上門收件及寄件服務</li><li>本地寄件</li></ol><p>否則,您將會被收取附加費用以作額外物流安排。</p>"},title:"靜待職員上門收件"}},otherCarriersDirectPickup:{downloadShippingDocuments:{label:"託運文件"},step1:{description:"<li>下載託運文件,列印並將託運標籤及CN22海關申報單(如有提供)貼在每件包裹當眼位置。</li><li>如有多件包裹的運單,並附帶主、子託運標籤,請將它們貼在正確的包裹上。</li><li>如託運文件中提供商業發票,請放入塑膠袋或文件袋並同樣貼在包裏之上。</li>",title:"準備託運文件"},step2:{description:"<li>{{carrierName}}將會提前與您聯絡並上門收集包裏。</li><li>請確保託運公司職員收取正確的包裹。</li>",reminder:{description:"<p>如您有多於一類下列提及的包裹類別,<strong>請勿</strong>將不同類別的包裹放入相同的收集箱袋/箱:</p><ol><li> 由SF Express 提供國際寄件服務</li><li>除 SF Express 外,由其他託運公司提供的國際寄件服務</li><li>由 Aramax 提供上門收件及寄件服務</li><li>本地寄件</li></ol><p>否則,您將會被收取附加費用以作額外物流安排。</p>"},title:"靜待職員上門收件"}},sfDirectPickup:{downloadShippingDocuments:{label:"託運文件"},downloadWaybillLabels:{label:"託運文件"},step1:{description:"<li>SF Express 職員將於短時間內透過您所提供的電話號碼聯絡收件人以確認上門收件時間,一般可安排當日收件。</li>",title:"靜待 SF Express 職員致電以確認上門收件時間"},step2:{description:"<li>下載託運文件,列印並將託運標籤貼在每件包裹當眼位置。</li><li>如有多件包裹的運單,並附帶主、子託運標籤,請將它們貼在正確的包裹上。</li><li>如託運文件中提供商業發票,請放入塑膠袋或文件袋並同樣貼在包裏之上。</li>",title:"準備託運標籤"},step3:{description:"請確保將正確的包裹交予 SF Express 職員。",reminder:{description:"<p>如您有多於一類下列提及的包裹類別,<strong>請勿</strong>將不同類別的包裹放入相同的收集箱袋/箱:</p><ol><li> 由SF Express 提供國際寄件服務</li><li>
388除 SF Express 外,由其他託運公司提供的國際寄件服務</li><li>由 Aramax 提供上門收件及寄件服務</li><li>本地寄件</li></ol><p>否則,您將會被收取附加費用以作額外物流安排。</p>"},title:"靜待 SF Express 職員上門收件"}},step2:{title:"靜待託運公司職員上門收件"},title:"上門收件指引"},pickupReferenceNumber:"收件編號:{{ pickupRefNo }}",pickupSsid:"Spaceship ID",scheduleNext:"預約下一個",scheduledPickUp:{asap:"盡早",label:"預約收件時間"},toBePickedUp:{label:"待收件",shipment:"查看 {{ count }} 運單"}},subtitle:"預約第 {{current}} / {{total}} 批運單收件:{{currentCarrierService}}",title:"預約上門收件"},L4e={status:{preparing:"準備中",Preparing:"準備中",fulfilled:"已履約",Fulfilled:"已履約",pending:"待處理",in_transit:"運送中",out_for_delivery:"派送中",attempt_failed:"派送失敗",failed_attempt:"派送失敗",delivered:"已送達",exception:"異常",expired:"已過期",cancelled:"已取消",arrived_destination:"到達目的地",voided:"已撤銷"},addressInformation:{promptBlocker:{description:"您確定要離開此頁面?請注意此運單將不會儲存在「草稿」頁面,直至完成步驟 1 並且點擊「下一步」 。",leave:"離開此頁面",stay:"留在此頁面",title:"離開「建立運單」頁面?"},selectReceiverAddressModal:{title:"選擇收件人地址",empty:"尚未設定收件人地址",emptyDescription:"新增您最常用的地址,以便在購買運單時加快流程。",addButton:"新增收件人地址",search:{label:"收件人地址",placeholder:"搜尋收件人姓名、公司或電話"}},sections:{receiverAddress:{addReceiverAddress:"增加收件人地址",dropdown:{placeholder:"選擇收件人地址"},title:"收件人地址"},senderAddress:{addNewAddress:"新增地址",addSenderAddress:"新增寄件人地址",dropdown:{addButtonLabel:"新增地址",placeholder:"選擇寄件人地址"},emptySelection:{content:"立即設定地址,然後開始發貨",heading:"尚未設定寄件人地址"},selectExisting:"選擇現有地址",title:"寄件人地址"},senderAndReceiverInfo:{addressDetails:"地址詳情",contactInfo:"聯絡資料",receiver:{banner:{sfDoorToPickupDiscountedPrice:"If you provided the address and store code of a SF Express Self-Operated Network Point. You can enjoy a Self-Operated Discounted Price on SF Express services. Your discounted price may be removed if we find out that the SF store address or store code provided is incorrect.",sfToPickupPrice:{label:"香港本地順豐速運特惠首重價格優惠詳情請瀏覽<supportLink>順豐速運官方網頁</supportLink>",link:"https://htm.sf-express.com/hk/tc/products_services/Express_Services/Hong_Kong_Domestic/SF_Drop_and_Pick/#"}},fields:{country:{helpText:"如寄件人的地址在香港境外,收件人的地址必須在香港境內。"},isResidential:{banner:"選擇住宅地址可能會收取住宅附加費用。"},shouldSaveReceiverAddress:{label:"儲存此收件人地址"}},inputTypeSelector:{label:{address:"指定地址",cainiaoPickupPoint:"菜鳥自提點",sfNetwork:"順豐網點自取(順豐站及順豐自助櫃等)"},title:"寄送至"},title:"收件人地址",validation:{card:{description:"輸入 <strong>地址行 1</strong> ,AI 就能神奇地提供準確的地址建議。",title:"AI 查詢地址準繩度",validate:"詢問 AI"},disclaimer:"<strong>聲明:</strong>我們的 AI 致力提供有效的地址格式建議,但我們並不能保證完全正確。請僅把以上建議當作參考,並務必驗證最終的收件人地址。",modal:{invalid:{close:"← 修正地址資料",title:"我們的 AI 未能找到此地址",description:"我們的 AI 未能找到此地址。請於購買運單前修正。"},warning:{close:"明白",title:"我們的 AI 發現此地址有問題",description:"我們的 AI 發現此地址有問題。請於購買運單前檢查並修正。"},review:{close:"明白",title:"請確認收件人",description:"我們的 AI 已找到此地址,但未能保證可成功送達。請於購買運單前與收件人確認。"},loading:{description:"AI 正在處理地址資訊,或許會用上幾秒鐘的時間...",title:"詢問 AI 中..."},selectAddress:{candidate:"候選地址 {{number}}",description:"該街道上有 {{count}} 個地址匹配(候選地址)。請選擇正確的一個。",title:"審核地址"},suggestion:{addressLine:"地址行 1 & 2",applyChanges:"套用建議",applySuggestion:"套用建議",false:"否",keepAsIs:"保持不變",postOfficeBox:"郵政信箱 (PO Box)?",residential:"住宅地址?",reviewAddress:"檢視地址",title:"AI 建議的完整地址",true:"是",unknown:"不詳"},title:"AI 查詢地址準繩度",verified:{close:"明白",description:"已輸入的地址似乎正確無誤,AI 沒有其他建議。",title:"您輸入的地址看起來正確"}}}}}}},buyShipmentResult:{beforePickupInstruction:{contactCsToArrange:{title:"請聯絡我們的客戶服務團隊 <email>[email protected]</email> 以安排取件。"},downloadBatteryShippingLabel:{description:"列印電池標籤前,請務必詳閱 <helpArticleLink>幫助文章</helpArticleLink>。確認電池種類和數量符合列印標籤規定後,才下載標籤並貼在包裹上。",title:"貼上電池標籤"},downloadShippingDocuments:{description:"下載託運文件,列印並將託運標籤及CN22海關申報單(如有提供)貼在每件包裹當眼位置。如有多件包裹的運單,並附帶主、子託運標籤,請將它們貼在正確的包裹上。如託運文件中提供商業發票,請放入塑膠袋或文件袋並同樣貼在包裏之上。",title:"下載託運標籤及商業發票"},instructionsPackingBattery:{description:"請參閱<helpArticleLink>寄含電池物品注意事項</helpArticleLink>。請確保含有電池的貨件必須使用紙箱包裝,以確保安全處理。",title:"請按照寄含電池物品注意事項的指引進行包裝"}},carrierService:{title:"託運服務"},createNew:"建立新運單",dropoffInstruction:{downloadShippingDocuments:{description:"下載託運文件,列印並將託運標籤及CN22海關申報單(如有提供)貼在每件包裹當眼位置。如託運文件中亦有提供商業發票,請放入塑膠袋或文件袋並同樣貼在包裏之上。",title:"下載 {{ carrierName }} 託運文件"},dropoffAndPayAtCarrier:{title:"請直接到 <b>{{ carrierName }}</b> 投寄您的包裹並繳付運費。"},goToTrackAndTrace:{title:"當 {{ carrierName }} 開始提供運單追蹤,您可以通過 <b><trackAndTraceLink>運單追蹤</trackAndTraceLink></b>
388 頁面來檢查您的運單去向。"},title:"按照以下指示投寄 {{ carrierName }} 包裹:"},failed:{ctaButton:{text:"前往「待處理」頁面"},desc:"此運單需要進一步處理才可建立託運標籤。請前往「待處理」頁面尋找相應運單處理。",descWithAction:"您需要修正運單資料以創建託運標籤。 您現時可以檢視並編輯運單資料,或在稍後在<strong>待處理</strong>頁面中編輯運單。",title:"已成功付款。不過⋯⋯"},issue:{analysis:{buttons:{showOriginal:"顯示原始錯誤訊息",showTranslated:"顯示處理後的訊息"},completed:{title:"經由 AI 處理過的錯誤訊息"},disclaimer:"<strong>聲明:</strong>我們的 AI 致力提供最佳的錯誤訊息資訊,但我們並不能保證完全正確。請僅把以上建議當作參考。",failed:{title:"錯誤訊息"},pending:{description:"AI 正在分析託運商回傳的錯誤訊息並提供可行的修正建議,這可能需要幾秒鐘的時間。",title:"分析進行中..."}},buttons:{edit:"編輯運單"},original:{title:"錯誤訊息"},title:"發現 {{count}} 項問題"},orderRef:"訂單編號:{{ ref }}",paymentSummary:{additionalCost:"額外費用",coverageFee:"Spaceship Care",createNew:"建立新運單",dutiesAndTaxes:"稅金與關稅",dutiesAndTaxesHandlingSurcharge:"稅金與關稅手續費",fuelSurcharge:"燃油附加費",insuranceSurcharge:"Spaceship Care",otherCharges:"其他收費",paidAt:"於 {{ paidAt }} 付款",prepaidFreight:"預繳運費",refundAmount:"退款金額",remoteAreaSurcharge:"偏遠地區附加費",residentialSurcharge:"住宅附加費",seasonalSurcharge:"需求附加費",taxAndDuties:"稅款及關稅",title:"付款詳情",topupAmount:"增值金額",totalCost:"預估總額"},pickupInstruction:{downloadShippingDocuments:{description:"下載託運文件,列印並將託運標籤及CN22海關申報單(如有提供)貼在每件包裹當眼位置。如託運文件中亦有提供商業發票,請放入塑膠袋或文件袋並同樣貼在包裏之上。",title:"下載託運文件"},goToSchedulePickups:{title:"前往 <schedulePickupsLink>預約上門收件</schedulePickupsLink> 預約上門收件。"},scheduled:{title:"您的取件已經安排好了!在工作日中午12點前下單的訂單,將在同一天取件。如果您的訂單是在下午12點後、或在週末及公眾假期下單,取件將安排在下一個工作日。"},title:"請依以下指引預約託運公司上門收件:"},returnShipment:{adviseDropOff:{link:"託運公司指定投寄點",title:"請您協助您的客戶將託運文件貼在每件包裹當眼位置並在託運公司指定投寄點進行投寄。"},downloadShippingDocuments:{description:"您可以在此下載退運標籤和商業發票。",t
388itle:"下載託運標籤及商業發票"},dropOffLocationLink:{dhl:"https://www.dhl.com/en/express/shipping/find_dhl_locations.html",fedex:"https://local.fedex.com/",sf:"https://htm.sf-express.com/hk/tc/dynamic_function/store/",ups:"https://www.ups.com/dropoff"},provideShipmentDocuments:{title:"以紙本或電子方式發送託運文件給您的客戶。"},title:"按照以下指示投寄退運運單:"},shipmentSummary:{carrierService:"託運服務",receiver:"收件人",route:"寄件路線",routeText:"{{from}} → {{to}}",title:"運單詳情"},ssid:"Spaceship ID: {{ssid}}",success:{desc:"已成功付款。託運文件現已準備好可供下載。",title:"成功建立託運標籤"},trackingNumber:"追蹤編號:{{ trackingNumber }}",wallet:{prepaidCost:"預繳金額"}},buyShipments:{ctaButton:{text:"前往「待處理」頁面"}},createShipment:{senderAddressHelperText:"課稅模式及報關相關資料將在下一頁填寫。",subtitle:"步驟 1/4 - 建立運單",title:"地址資料"},createShipmentError:{addressError:{invalidRoute:"我們只支援由香港出口至國際及由國際進口至香港(只適用於 Startup、Growth 及 Enterprise 計劃)。",title:"不支援路線",unknown:"系統出現錯誤,請稍候再試。"},dangerousGoods:"有些物品含有危險/敏感物品。",invalidIncoterm:"此託運服務並不支援以下課稅模式 —— {{incoterm}}。",invalidItemCountryOfManufacture:"有些物品未標註原產地。",invalidItemCurrency:"物品貨幣應為 {{currency}}。",invalidItemDescription:"有些物品描述已超過 60 個字符。",invalidItemHsCode:"有些物品的 HS 代碼無效。",invalidItemHsCodeLengthOrDescription:"請提供 {{length}} 位數的 HS 代碼或更詳細的物品描述。",invalidItemValue:"有些物品單價已超過上限或使用錯誤貨幣。",invalidOrderReference:"訂單編號無效。",invalidReceiverAddress:"收件人地址無效,請輸入正確地址。",invalidReceiverAddressCharacters:"收件人地址含有錯誤字符。",invalidReceiverPhone:"收件人電話格式錯誤。",invalidReceiverPostalCode:"收件人郵政編號無效。",invalidReceiverState:"收件人州份並未填妥或無效。",invalidShipperAddress:"寄件人地址無效,請輸入正確地址。",invalidShipperAddressCharacters:"寄件人地址含有無效字符。",invalidShipperAddressCityCharacters:"寄件人城市含有無效字符。",invalidShipperNameCharacters:"寄件人名稱含有無效字符。",iossNotSupported:{desc:"您的計劃不支援 IOSS 課稅模式,請升級至 Startup、Growth 及 Enterprise 計劃以享用此功能。",title:"不支援 IOSS 課稅模式"},maxItemValue:"有些物品單價需在 {{currency}} {{value}} 以下。",minReceiverPostalCodeLength:"收件人地址的郵政編號需含有至少 {{length}} 個字符。",multiPieceShipmentNotSupported:{desc:"您的計劃不支援一票多件運單,請升級至 Startup、Growth 及 Enterprise 計劃以享用此功能。",title:"不支援一票多件運單"},receiverAddressTooLong:"收件人地址過長。",receiverCityPostalCodeMismatch:"收件人城市與郵政編號並不匹配。",receiverStatePostalCodeMismatch:"收件人州份與郵政編號並不匹配。",serviceNotAvailable:"此路線並不提供服務,請輸入另一個收件人國家/地區。",serviceProviderError:"您所選擇的託運服務出現錯誤,請另選託運服務。",shipmentRouteNotSupported:{desc:"您的計劃不支援由國際進口香港,請升級至 Startup、Growth 及 Enterprise 計劃以享用此功能。",title:"不支援路線"},requiresZonosIdForProcessing:{desc:"此運單需要 Zonos ID 以處理。請確保運單資料中已包含相關資料。",title:"需要 Zonos ID 才能處理"},timeout:"由於伺服器正處於繁忙狀態,此運單未能成功建立,請在幾分鐘後再試一遍。",unknown:"系統暫時出現錯誤,請稍候再購買此運單。"},formSteps:{addressInformation:"地址資料",carrierServices:"託運服務",reviewAndPayment:"檢視及付款",shipmentDetails:"運單資料",stepOfTotalStep:"步驟 {{step}}/{{totalStep}}"},importShipment:{createImportTemplate:{button:{save:"儲存範本"}
388,field:{name:{label:"範本名稱",placeholder:"例如: Shopify 範本"}},title:"另存新範本",toast:{success:"已成功儲存範本"}},deleteImportTemplate:{button:{confirm:"確認刪除"},description:"您將刪除以下範本 {{templateName}}。當您確認後,所有相關資料將不能修復。",title:"刪除範本"},downloadTemplate:{content:"全新範本現已新增 <b>包裹編號</b> 的欄目,讓您輕鬆標明每個包裹所包含的物品!立即下載以查看更多指南及例子。",contentOld:"請使用此範本輕鬆匯入訂單、減省手動配對欄位的時間和精力!",title:"下載範本 (現正支援一票多件的運單)",titleOld:"下載 Spaceship 範本"},fieldsMapping:{button:{import:"匯入訂單",saveAsNewTemplate:"另存新範本"},column:{field:"欄位及預覽",header:"您的 Excel/CSV 欄"},description:"請在匯入訂單前正確配對相應的Excel/CSV欄",field:{itemBatteryPackingInstructionType:{label:"電池包裝指示類型"},itemBrand:{label:"品牌名稱"},itemBulkShipPurpose:{label:"大量發貨目的"},itemCategory:{label:"物品類別"},itemCnPostalTaxCode:{label:"中國大陸行郵稅號"},itemCountryOfManufacture:{label:"原產地"},itemCurrency:{label:"報關貨幣"},itemDescription:{label:"物品描述"}
388,itemDescriptionChinese:{label:"中文物品描述"},itemHsCode:{label:"HS 代碼"},itemMaterial:{label:"物料"},itemOnlineStoreUrl:{label:"網店網址"},itemQty:{label:"物品數量"},itemSku:{label:"存貨單位 (SKU)"},itemUnitPackagingSpec:{label:"單位包裝規格"},itemUnitValue:{label:"物品單價"},packageHeight:{label:"包裏高度 (cm)"},packageLength:{label:"包裏長度 (cm)"},packageRef:{label:"包裹編號"},packageWeight:{label:"包裏重量 (kg)"},packageWidth:{label:"包裏寬度 (cm)"},receiverAddressLine1:{label:"收件人地址行 1"},receiverAddressLine2:{label:"收件人地址行 2"},receiverCity:{label:"收件人城市"},receiverCompany:{label:"收件人公司名稱"},receiverCountry:{label:"收件人國家/地區"},receiverEmail:{label:"收件人電郵"},receiverIsResidential:{label:"這是住宅地址嗎?(Y/N)"},receiverName:{label:"收件人姓名"},receiverPhone:{label:"收件人電話號碼"},receiverPhoneCountryCode:{label:"收件人電話區號"},receiverPostalCode:{label:"收件人郵政編號"},receiverState:{label:"收件人州份"},receiverTaxId:{label:"收件人稅務編號"},senderAddressLine1:{label:"寄件人地址行 1"},senderAddressLine2:{label:"寄件人地址行 2"},senderCity:{label:"寄件人城市"},senderCompany:{label:"寄件人公司名稱"},senderCountry:{label:"寄件人國家/地區"},senderEmail:{label:"寄件人電郵"},senderIsResidential:{label:"這是住宅地址嗎?(Y/N)"},senderName:{label:"寄件人姓名"},senderPhone:{label:"寄件人電話號碼"},senderPhoneCountryCode:{label:"寄件人電話區號"},senderPostalCode:{label:"寄件人郵政編號"},senderState:{label:"寄件人州份"},shipmentOrderRef:{label:"訂單編號"},shipmentPurpose:{label:"寄件目的"},shipmentTags:{label:"運單標記"},shipmentTaxTerm:{label:"課稅模式"}},fieldExample:"預覽:{{example}}",selectPlaceholder:"請選擇...",title:"配對相應的Excel/CSV欄"},importResult:{button:{goToDrafts:"前往草稿",importAgain:"繼續匯入"},failed:{column:{orderRef:"訂單編號",reasons:"原因",rowIndex:"Excel/CSV 行列#"},description:"<strong>{{failedCount}} / {{totalCount}}</strong> 的行列中發現有部分資料有誤或遺漏。請修改並重新匯入訂單。是次整批訂單將不會被匯入。",reasons:{addressLineTooLong:"地址行 1 及 2 的總和最多只可包含 {{max}} 個字符。",invalidPhoneCountryCode:"請輸入有效的 {{field}},它必須是地區代碼編號。",mismatchedFieldInSameGroup:"由於訂單編號一致,{{field}} 亦需相同。",multiPieceShipmentNotSupported:"您現有的收費計劃並不支援一票多件的運單。",shipmentInvalidHsCodeFormat:"HS 代碼格式無效。",shipmentInvalidIossTaxTerm:"此收件人國家/地區並不支援寄件人支付 (IOSS) 為課稅模式。",shipmentInvalidValueInField:"{{field}} 無效。",shipmentMissingRequiredField:"未完成的 {{field}}。",shipmentMissingTaxId:"收件人稅務編號並未填妥或無效。",shipmentUnavailableShipmentRoute:"Spaceship 只支援從 {{senderCountry}} 至 HK 的路線。",shipmentUnknown:"{{field}} 出現錯誤。",shipmentValueTooBig:"{{field}} 只可含有 {{max}} 個字符或以下。",shipmentValueTooSmall:"{{field}} 數值太小。(最小值:{{min}})"},title:"匯入失敗"},success:{description:"<br> {{totalCount}} 個訂單已成功匯入至「草稿」頁面。<br/>您仍可在提交訂單前修改個別的資料。",title:"成功匯入訂單"}},importingState:{description:"<strong>請不要關閉或重新整理此頁面直至載入完成。</strong><br/>此過程可能需時幾分鐘。",title:"正在匯入訂單⋯⋯"},selectAddressType:{description:"訂單的寄送類型為: ",title:"選擇匯入訂單類型"},selectImportTemplate:{label:"已儲存範本"},selectReceiverAddress:{title:"選擇收件人地址"},selectSenderAddress:{title:"選擇寄件人地址"},senderAddressDropdown:{title:"選擇寄件人地址"},simpleImport:{title:"簡易匯入"},smartImport:{title:"智慧匯入"},title:"匯入訂單",uploadFile:{addressType:{options:{receiverAddress:{label:"多個寄件人地址 → 單一收件人地址 (必需為香港)"},senderAddress:{label:"單一寄件人地址 → 多個收件人地址"}}},button:{downloadTemplate:"下載範本",downloadTemplateOld:"下載範本",upload:"上載"},description:"上載您的 Excel/CSV 檔案,以匯入網店訂單。",error:{maxFileSize:"檔案大小不能超過 {{size}}",maxRowLimit:"行數不能超過 {{limit}} 行"},importType:{options:{simpleImport:{hint:"系統僅驗證欄位的基本格式。在匯入後,您可能需要在平台上檢查和編輯運單信息才可繼續發貨。",label:"簡易匯入"},standardImport:{hint:"系統將對您所匯入的檔案中之所有欄位進行驗證,確保運單資料完整準確,使您能夠立即發貨。",label:"智慧匯入"}}},maxFileSize:"檔案大小不能超過:{{size}}",maxRowLimit:"行數限制:{{limit}}",receiverAddress:{title:"上傳收件人地址以及訂單資料"},requirements:"匯入檔案要求",senderAddress:{title:"上傳寄件人地址以及訂單資料"},supportedFileTypes:"支援檔案格式:{{types}}",title:"上傳您的網店訂單 Excel/CSV "}},quotation:{banner:{sfDoorToPickupDiscountedPrice:"If you provided the address and store code of a SF Express Self-Operated Network Point. You can enjoy a Self-Operated Discounted Price on SF Express services. Your discounted price may be removed if we find out that the SF store address or store code provided is incorrect."},carrierServiceGroup:{banner:{desc:"此頁面只顯示包含在 <b>{{carrierServiceGroup}}</b> 組合中之託運服務。如果您希望查看其他託運服務,請按 「重新整理」以重新報價。",forceRequote:"重新整理",title:"已選定託運服務組合"}},error:{ctaButtonText:"重新整理",desc:"請重新整理此頁面或透過以下電郵 —— <a>[email protected]</a> 聯絡我們。",title:"出現錯誤..."},loading:{desc:"正在尋找最合適的託運服務…<br/>整個過程可能需時幾分鐘,<strong>請不要關閉或重新整理此頁面</strong>。",title:"尋找合適的託運服務..."},noQuotes:{ctaButtonText:"修改報價",desc:"請修改包裏尺寸或重量,然後再試一次。",title:"找不到託運服務"},quote:{billByCarrier:"由託運服務商收取",chargeablePickup:"收件費用",customCarrierAcct:"您的託運服務賬戶",customCarrierAcctBanner:{desc:"就經由您的託運服務賬戶購買的運單,Spaceship 不會收取任何費用 (Spaceship Care 除外)。如有任何賬單相關查詢,請直接與託運公司聯絡。",title:"已綁定您的託運服務賬戶"},dropoff:"自行投寄",estimatedTransitDaysRange:"預計 {{min}} - {{max}} 工作天",freePickup:"免費上門收件",hotPick:"熱門之選",payAtCarrier:"繳費予 {{ carrierName }}",payAtThirdParty:"繳費予 {{ thirdPartyName }}",rateDetails:{dutiesAndTaxes:"稅金與關稅",dutiesAndTaxesHandlingSurcharge:"稅金與關稅手續費",fuelSurcharge:"燃油附加費",otherCharges:"其他收費",prepaidFreight:"預繳運費",remoteAreaSurcharge:"偏遠地區附加費",residentialSurcharge:"住宅附加費",seasonalSurcharge:"需求附加費",totalCreditCost:"預估總額",totalPrepaidFee:"預付總額"},shippingRestrictions:{battery:"含鋰電池電子產品",cosmeticsOrSkincare:"化妝或護膚品",food:"食物",foodOrSupplement:"食物或保健食品",liquid:"液體、凝膠狀或粉狀物品",medicine:"藥物",supplement:"保健食品"},tag:{carrierPackaging:"使用託運公司包裝"}},sortBy:{fastestDelivery:"最快捷",lowestPrice:"最優惠"}},reviewAndPayment:{heavyGoodsAdditionalDocuments:{modal:{title:"可能需要額外文件",description:"可能<supportLink>需要提供 FDA、CPSC、CPC 或其他進口許可證</supportLink>。",learnMoreUrl:"https://support.spaceshipapp.com/zh-hk/spaceship-air-heavy-goods-tax-inclusive"}},addressInfo:{receiverAddress:{label:"收件人地址"},senderAddress:{label:"寄件人地址"},title:"地址資料"},buyShipmentError:{title:"付款出現異常"},buyShipmentStartedBanner:{description:"我們正在處理您的交易,請不要關閉或重新整理此頁面。此過程可能需時幾分鐘。",title:"正在處理交易"},carrierAccountDetails:{billByCarrier:"由託運服務商收取",billedByCarrier:"由託運服務商收取",paidToSpaceship:"已由 Spaceship 收取",payToSpaceship:"由 Spaceship 收取",title:"預估總額詳情"},carrierService:{banner:{sfDoorToPickupDiscountedPrice:"If you provided the address and store code of a SF Express Self-Operated Network Point. You can enjoy a Self-Operated Discounted Price on SF Express services. Your discounted price may be removed if we find out that the SF store address or store code provided is incorrect."},estimatedTransitDays:"預計 {{min}} - {{max}} 工作天",notAvailable:"此託運服務未能為此運單提供報價。請於「步驟三 - 託運服務」另選服務及/或修改運單資料,然後再試一次。",title:"託運服務"},customCarrierAcctBanner:{desc:"就經由您的託運服務賬戶購買的運單,Spaceship 不會收取任何費用 (Spaceship Care 除外)。如有任何賬單相關查詢,請直接與託運公司聯絡。",labelCancelledDesc:"由於此運單包含由您的託運公司直接收取之費用,請與該託運公司了解相關的賬單詳情。",title:"已綁定您的託運服務賬戶"},directPaymentDetails:{banner:{desc:"Spaceship 不會向您收取任何費用 (Spaceship Care 除外)。當您自行投寄郵件時,您將會直接繳費予 {{ carrierName }}。",labelCancelledDesc:"運費將由 {{ carrierName }} 直接收取,任何運費相關問題請直接向該託運公司查詢。",title:"繳費予 {{ carrierName }}"},paidAtCarrier:"繳費予 {{ carrierName }}",payAtCarrier:"繳費予 {{ carrierName }}"},insuranceCoverageFailed:"加購 Spaceship Care 時發現未知錯誤,請稍候再試一次。",iossNumberNotFound:"早前選擇的 IOSS 號碼已被停用,請另選 IOSS 號碼。",requiresZonosIdForProcessing:"此運單需要 Zonos ID 以處理。請確保運單資料中已包含相關資料。",latestAppliedShippingRules:{banner:{description:"已有 {{count}} 條自動化規則應用到此運單。",lastAppliedAt:"Last Applied at: {{lastAppliedAt}}",title:"最新應用到此運單的自動化規則"},modal:{listItem:{actions:{desc:"已觸發以下動作:",types:{shipmentSetCarrierService:{carrierServiceGroup:{desc:"設定為在 
388<b>{{carrierServiceGroup}}</b> 組合中 <b> {{quotationSelectionStrategy}} </b> 的託運服務"},desc:"託運服務為 <b>{{carrierServiceName}}</b>",quotationSelectionStrategy:{options:{cheapest:{label:"最優惠"},fastest:{label:"最快捷"}}},spaceshipAccount:"Spaceship 賬戶"},shipmentSetCoverageOption:{desc:"Spaceship Care <b>被加購</b>",options:{false:{label:"Spaceship Care <b>不被加購</b>"},true:{label:"Spaceship Care <b>已被加購</b>"}}},shipmentSetFreeItemUnitValue:{desc:"每個免費物品的價值更改為 <b>{{freeItemUnitValue}}</b>"},shipmentSetPackageDimAndWeight:{desc:"包裹/包裝為 <b>{{packagingName}} ({{packagingDimension}}, <error>{{packagingWeight}}</error>) </b>"},shipmentSetPackageDimension:{desc:"包裹/包裝為 <b>{{packageDescription}}</b>"},shipmentSetPurpose:{desc:"寄件目的為 <b>{{purpose}}</b>",options:{commercialUse:{label:"商業用途"},personalUse:{label:"個人用途"},returnGoods:{label:"退貨"},sampleUse:{label:"樣本"}}},shipmentSetReceiverAddressIsResidential:{options:{false:{label:"<b>不要</b>預設收件人地址類型為 <b>住宅地址</b>"},true:{label:"<b>預設</b>收件人地址類型為 <b>住宅地址</b>"}}},shipmentSetSenderAddress:{desc:"寄件人地址為 <b>{{senderAddressDescription}}</b>"},shipmentSetTaxTerm:{desc:"課稅模式為 <b>{{taxTerm}}</b>",options:{dap:{label:"收件人支付 (DAP)"},ddp:{label:"寄件人支付 (DDP)"},ioss:{label:"寄件人支付 (IOSS)"}}},shipmentSetValueAddedServices:{options:{directSignatureRequired:{label:"簽收確認交付"},noSignatureRequired:{label:"不需要簽收確認交付"},notSpecified:{label:"未指定簽收確認交付方法"}}},shipmentSetValueAddedServicesAddressTranslation:{options:{true:{label:"需要地址翻譯"},false:{label:"不需要地址翻譯"}}}}},conditions:{desc:"運單符合以下條件:",from:"發送自",showLess:"顯示更少",showMore:"顯示另外{{count}}個項目",to:"發送至",types:{allShipments:{desc:"以下動作已被應用:"},connectedStore:{desc:"從 <b>{{connectedStores}}</b> 等網店同步至此"},itemHsCode:{desc:"當中的物品 <b>{{operator}}</b> 類別/HS 代碼:<b>{{hsCodes}}</b>",operator:{options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"}}}},itemSku:{desc:"當中的物品 <b>{{operator}}</b> 存貨單位:<b>{{skuValues}}</b>",label:"物品存貨單位 (SKU)",operator:{options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"},onlyOneOf:{label:"只有以下其中一個"}}}},itemsTotalDeclaredValue:{desc:"報關物品總值 <b>{{operator}}{{currency}}{{amount}}</b>",operator:{options:{eq:{label:"等於"},gt:{label:"大過"},gte:{label:"大過或等於"},lt:{label:"少過"},lte:{label:"少過或等於"}}}},itemsTotalQuantity:{desc:"包含的物品總數量 <b>{{operator}} {{count}}</b>",operator:{options:{eq:{label:"等於"},gt:{label:"大過"},gte:{label:"大過或等於"},lt:{label:"少過"},lte:{label:"少過或等於"}}}},receiverCountry:{desc:"收件國家為"},receiverPostalCode:{desc:"收件地址 - 郵政編號 <b>{{operator}}</b> <b>{{postalCodes}}</b>",operator:{options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"},startWithOneOf:{label:"開首為"}}}},senderCountry:{desc:"寄件國家為"},shipmentTag:{desc:"運單中的標記 <b>{{operator}}</b> :<b>{{shipmentTags}}</b>",label:"標記",operator:{options:{in:{label:"是以下其中一個"},notIn:{label:"不是以下任何一個"}}}},shopifyShippingLine:{desc:"Shopify 費率 <b>{{operator}}</b> 以下關鍵字: <b>「{{keyword}}」</b>",operator:{options:{contain:{label:"包含"},exact:{label:"正是"},notContain:{label:"不包含"}}}},totalWeight:{desc:"運單總重量 <b>{{operator}} {{weight}} {{unit}}</b>",operator:{options:{eq:{label:"等於"},gt:{label:"大於"},gte:{label:"大於或等於"},lt:{label:"少於"},lte:{label:"少於或等於"}}}}}}},then:"接著",title:"最新應用到此運單的自動化規則"},viewDetails:"查看詳情"},paymentDetails:{addCreditAndContinue:"加入及繼續",additionalCost:"額外費用",buyShipment:"付款",coverageFee:"Space
388ship Care",creditCardRequired:{description:"付款資料請求——新增信用卡資料以繼續付款。",title:"以信用卡支付"},currentBalance:"現有餘額:",downloadInvoice:"下載發票",downloadInvoiceError:"在下載發票的過程中發生了問題。請稍後再試。",dutiesAndTaxes:"稅金與關稅",dutiesAndTaxesHandlingSurcharge:"稅金與關稅手續費",free:"免費",fuelSurcharge:"燃油附加費",insufficientBalance:{description:"增值及繼續付款",title:"餘額不足"},insuranceSurcharge:"Spaceship Care",lastQuotedAt:"更新於:{{lastQuotedAt}}",missingCustomerInfoError:"尚未設置組織名稱及賬單電郵;請在設置頁面中設定並重試。",otherCharges:"其他收費",paidAmount:"已付金額",pickupFee:"上門收件費",prepaidCost:"預繳金額",prepaidFreight:"預繳運費",proceed:"繼續",proceedPayment:"繼續付款",refundAmount:"退款金額",refundRemark:"此運單已被取消。已收取的運費將自動退還至您的錢包。",remainingBalance:"剩餘金額",remark:"運單乃根據您所提供的資料計算,如包裹經覆檢後,發現體積或重量與申報數值有差距,或寄運過程中產生其他額外收費(如重新包裝服務è²
388»ã€ä¿åƒ¹ç­‰ï¼‰ï¼Œæˆ‘們將會收取運費調整後的費用。",remoteAreaSurcharge:"偏遠地區附加費",residentialSurcharge:"住宅附加費",seasonalSurcharge:"需求附加費",taxAndDuties:"稅款及關稅",termsAndConditions:"當您使用我們的服務,即表示您同意我們的<1>使用條款</1>及<2>隱私權政策</2>。",title:"付款詳情",topupAmount:"增值金額",topupAndPay:"增值及付款",totalCost:"預估總額",updatingQuotation:"此報價有效期已過。我們現正為您獲取最新運費報價。",viewDetails:"查看詳情"},actualChargeableWeight:{title:"計費重量",notAvailable:"暫無"},shipmentDetails:{customDeclaration:{currency:{label:"報關貨幣"},iossNumber:{label:"IOSS 賬號"},shipmentPurpose:{commercialUse:{label:"商業用途"},label:"寄件目的",personalUse:{label:"個人用途"},returnGoods:{label:"退貨"},sampleUse:{label:"樣本"}},taxHandling:{label:"課稅模式"},taxId:{label:"收件人稅務編號"},title:"報關資料"},heavyWeightShipmentPackaging:{shipmentItems:{label:"運單物品",totalItemDeclaredValue:{label:"物品總額"}},shipmentPackages:{label:"運單包裝"},title:"運單包裝",totalWeight:{label:"總重量"}},orderRef:{title:"訂單編號"},shipmentItems:{title:"物品描述"},shipmentPackage:{title:"包裹",totalItemDeclaredValue:{label:"包裹總值"}},title:"運單資料",totalItemDeclaredValue:{label:"所有包裹價值總和"}},shipmentTags:{editButton:"編輯",empty:"沒有標記",title:"標記"},ssCareProtection:{checkbox:{label:"只需 <b>{{currency}} {{premiumAmount}}</b>,即可為此運單投保高達 {{currency}} {{insuredAmount}} ,避免因損壞、遺失和失竊的經濟損失。"},description:"Spaceship Care 為您的貴重貨品提供安全可靠的保障,讓您高枕無憂!<learnMoreUrl>了解更多</learnMoreUrl>",helpArticleUrl:"https://support.spaceshipapp.com/zh-hk/spaceship-care-%E4%BD%BF%E7%94%A8%E6%95%99%E5%AD%B8",insuranceNotSupported:{description:"Spaces Care 並不支援此路線。",title:"如您的運單符合以下任何一個情況,Spaceship Care 將不適用:"},quotationError:{action:"重新整理",title:"出現錯誤..."},status:{disabled:{description:"您的運單存在損壞、遺失和失竊的風險。<b>Spaceship 將不對運輸途中所發生的經濟損失負責。</b>",label:"不受保障"},enabled:{coverageExpired:{description:"抱歉,由於索償期限已過,您不能為此運單申請索償。",title:"索償期限已過"},description:"您的運單已得到保障,避免在運輸途中因損壞、遺失和失竊的經濟損失。",expiryDate:"索償期限為您預約收件或包裹到達 Spaceship 倉庫後的 75 天內。",insuredAmount:"Spaceship Care 已為此運單投保高達 <b>{{currency}} {{insuredAmount}}</b>",label:"已受保障",reminderBanner:{activated:{description:"Spaceship Care 將在您預約收件後生效,生效日期與預約收件日期相同。"},inactive:{description:"申請索償前,您需為此運單預約收件。Spaceship Care 將在您預約收件後生效,生效日期與預約收件日期相同。"}}},learnMore:"由 InsureShield® Shipping Insurance 提供。透過使用此服務,即代表您同意我們的<tncUrl>條款及政策</tncUrl>。"},termsAndConditions:"由 InsureShield® Shipping Insurance 提供。透過使用此服務,即代表您同意我們的<tncUrl>條款及政策</tncUrl>。",title:"Spaceship Care",warningBanner:{desc1:"此運單的物品總額低於 <b>USD 10</b> 或高於 <b>USD 10,000</b>",desc2:"此運單從非香港的國家/地區寄往香港",title:"如您的運單符合以下任何一個情況,Spaceship Care 將不適用:"}},storeIntegration:{lastSynced:{description:"上次同步訂單:{{lastSyncedAt}}",title:"This order was synced"},orderSource:"訂單來源",storeName:"網店名稱",title:"網店連接"},thirdPartyPaymentDetails:{banner:{desc:"Spaceship 不會向您收取任何費用 (Spaceship Care 除外)。當您自行投寄郵件時,您將會直接繳費予 {{ thirdPartyName }}。",labelCancelledDesc:"運費將由 {{ thirdPartyName }} 直接收取,任何運費相關問題請直接向該託運公司查詢。",title:"繳費予 {{ thirdPartyName }}"},paidAtThirdParty:"已繳費予 {{ thirdPartyName }}",payAtThirdParty:"繳費予 {{ thirdPartyName }}"},topupError:{title:"增值出現錯誤",unknownError:"出現錯誤"},shipmentValidationError:"運單驗證錯誤",validation:{invalidShopifyZonosOrderTaxTerm:"由 Zonos 處理的 Shopify 訂單必須以 DDP作為課稅模式",packageMustContainItems:"包裹 {{packageNumber}}
388 必須包含至少 1 件物品"},unknownError:"出現錯誤"},shipmentDetails:{heading:{cancellationDate:"取消日期:{{date}}"},promptBlocker:{description:"您確定要離開此頁面?請注意此運單將不會儲存在「草稿」頁面,直至完成步驟 1 並且點擊「下一步」 。",title:"離開「建立運單」頁面?"},sections:{box:{fields:{width:{label:"寬度"}},title:"包裹"},carton:{titleWithIndex:"包裝箱 {{index}}"},heavyWeightShipmentDetails:{errors:{notEnoughItems:"物品數量未能填滿所有包裝箱,請加入更多物品數量。"},title:"運單"},orderReference:{title:"訂單編號"},package:{clone:"複製",domesticShipmentHints:{description:"請於託運公司上門收件前透過 <1>客戶服務</1> 或 <2>電郵</2> 聯絡我們,以作特別安排。",point1:"長/寬/高 > <strong>160cm</strong>",point2:"總尺寸(長 + 寬 + 高)> <strong>300cm</strong>",point3:"包裹重量 (包裝連同裡面物品的重量總和) > <strong>30 kg</strong>",title:"當包裹符合以下條件:"},fields:{height:{label:"高度"},length:{label:"長度"},qty:{label:"數量"},weight:{label:"重量"},width:{label:"寬度"}},title:"包裹資料",titleWithIndex:"包裹 {{pkgNumber}}"},shipmentCustomShippingDocuments:{actions:{addItem:"新增清關所需文件"},description:"為協助簡化清關流程,您可以選擇性地上傳清關所需文件。接受 .pdf 格式(最大 5Mb)。",errors:{fileSizeExceeded:"檔案大小應小於 {{maxSize}}",unknownError:"發現未知錯誤。請再試一次。"},title:"新增清關所需文件",types:{certificateOfOrigin:"產地證明書",commercialInvoice:"自訂商業發票",exportDeclaration:"出口報關文件",other:"其他文件 (例如 MSDS)"}},shipmentDetails:{chargeableWeightCalculation:{description:"託運公司在收取包裹後會為其量度重量和體積重量,並按兩者之間較大值計算相應費用,可能向您徵收差額。",title:"收費重量計算方式"},ctaLink:"<ctaLink>了解更多</ctaLink>",customDeclaration:{title:"報關資料"},dapHint:{description:"收件人需要承擔包裏運送時衍生的所有費用和風險,直至送達目的地。<ctaLink>了解更多</ctaLink>",title:"未完稅交貨(DAP)"},ddpHint:{description:"寄件人需要承擔包裏運送時衍生的所有費用和風險,直至送達目的地。<ctaLink>了解更多</ctaLink>",title:"已完稅交貨 (DDP)"},fields:{shipmentPurpose:{hint:"寄件目的將影響相應的海關要求,例如要求額外文件、進口關稅和税款計算方式。"},taxHandling:{supportUrl:"https://support.spaceshipapp.com/en/how-to-choose-between-ddp-and-ddu",unsupportedTaxTerm:"此國家/地區並不支援以下課稅模式 "}},iossWarning:"部分託運服務支援進口一站式服務 (IOSS)。如要使用,請先前往<settingsLink>設定</settingsLink>>「稅款及關稅」頁面作相關設定。"},shipmentItems:{actions:{addItem:"新增物品"},addItem:{actions:{confirm:"新增"},title:"新增物品"},cnPostalTaxCode:"中國大陸行郵稅號 - {{ code }}",editItem:{title:"編輯物品"},empty:{desc:"請如實申報物品資料,您需承擔因虛報而引起之運送延誤、損失及法律刑責。",error:"請填寫包裹內的物品資料",title:"申報物品資料"},fields:{countryOfManufacture:{label:"物品原產地"},currency:{hints:"建議選擇目的地的貨幣可加快清關流程。",label:"報關貨幣",placeholder:"選擇貨幣"},description:{helpText:"請如實申報物品資料,您需承擔因虛報而引起之運送延誤、損失及法律刑責。",label:"物品描述"},descriptionChinese:{helpText:"如運單的寄件地為中國大陸,請您亦以中文申報物品資料。",label:"中文物å“
388æè¿°"},hsCode:{label:"HS 代碼",placeholder:"輸入類別 / HS 代碼"},itemValue:{label:"物品單價"},quantity:{label:"物品數量"},sku:{label:"SKU(存貨單位)"},ztoPostalTaxCode:{label:"中國大陸行郵稅號",tooltip:"請填寫中國大陸行郵稅號,以便海關對物品進行分類並計算個人使用寄件的正確稅率。"},ztoProductBrand:{label:"品牌名稱",placeholder:"No Brand",tooltip:"品牌名稱有助海關識別物品的製造商,進行準確分類和處理。如未提供品牌名稱,將會被申報為「No Brand」。"},ztoUnitPackagingSpec:{label:"單位包裝規格",tooltip:"請指定單位包裝規格(例如:1/個),以便海關了解每單位的物品數量,進行準確評估。"}},itemsTotalValue:"物品總額",title:"物品詳情",ztoPostalTaxCode:{desc:"如使用中通快遞 (ZTO) 寄送個人運單到中國大陸,請提供以下附加資料。",search:"搜尋中國大陸行郵稅號(仅提供简体中文)",title:"寄送個人運單到中國大陸的附加申報資料"}},shipmentPackages:{actions:{addCarton:"新增包裝箱",addPackage:"新增包裹"}},shipmentTags:{title:"標記"},totalWeight:{fields:{totalShipmentWeight:{label:"運單總重量"}},title:"總重量"}}},shopifyIntegrationInfo:{description:"這是您的客戶在 Shopify 結賬時選擇的託運方法。<supportLink>了解更多</supportLink>",supportUrl:"https://help.shopify.com/zh-TW/manual/shipping/setting-up-and-managing-your-shipping/setting-up-shipping-rates",title:"客戶選擇的託運方法"},viewShipment:{backTo:{allShipments:"返回所有運單",cancelledShipments:"返回已取消",downloadAndPrint:"返回下載及列印",schedulePickups:"返回預約上門收件",trackAndTrace:"返回運單追蹤",transactions:"返回交易紀錄"}}},B4e={pagination:{label:"{{count}}/{{total}} 結果"}},U4e={"":"課稅模式",dap:{label:"收件人支付 (DAP)"},ddp:{label:"寄件人支付 (DDP)"},ioss:{label:"寄件人支付 (IOSS)"}},z4e={menu:{badge:{enterprise:"Enterprise",enterpriseNearEnd:"Enterprise",growth:"Growth",growthNearEnd:"Growth",inTrial:"免費試用 - 餘下 {{ daysLeft }} 日",startup:"Startup",startupNearEnd:"Startup"}}},H4e={actions:h4e,address:p4e,addressValidation:m4e,announcement:g4e,billing:v4e,carrierPackaging:y4e,common:b4e,connectedStoreProvider:S4e,zonosInfo:w4e,dateTimeFormat:x4e,form:C4e,general:E4e,hsCodes:k4e,links:T4e,model:_4e,navigation:P4e,onboarding:A4e,orgKycProfile:O4e,pageTitles:I4e,pages:R4e,pickup:F4e,receiverAddress:D4e,returnOrder:N4e,schedulePickup:M4e,shipment:L4e,tableList:B4e,taxTerm:U4e,topbar:z4e},g4="ss-pro-locale",q4e="lng",W4e=[{key:"zh-HK",labelTranslationKey:"general.languages.zhHk"},{key:"en",labelTranslationKey:"general.languages.en"}],eH={en:{translation:f4e},"zh-HK":{translation:H4e}},V4e={en:"en","zh-HK":"zh"};async function j4e(){await xa.use($re).use(pCe).init({resources:eH,detection:{order:["querystring","cookie","localStorage","navigator"],lookupQuerystring:q4e,lookupLocalStorage:g4,lookupCookie:g4},supportedLngs:Object.keys(eH),fallbackLng:"en",interpolation:{escapeValue:!1}})}const G4e=new Map([["en",jre],["zh-HK",QTe]]);function K4e(){const{i18n:e}=jt();return k.useMemo(()=>G4e.get(e.language)??jre,[e.language])}const Nxt=e=>{const t=hs(V4e[xa.language]);return e[t]},Zne=Object.prototype.toString;function KP(e){switch(Zne.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return cf(e,Error)}}function fy(e,t){return Zne.call(e)===`[object ${t}]`}function Yne(e){return fy(e,"ErrorEvent")}function tH(e){return fy(e,"DOMError")}function Z4e(e){return fy(e,"DOMException")}function $d(e){return fy(e,"String")}function U6(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function z6(e){return e===null||U6(e)||typeof e!="object"&&typeof e!="function"}function Mv(e){return fy(e,"Object")}function ZP(e){return typeof Event<"u"&&cf(e,Event)}function Y4e(e){return typeof Element<"u"&&cf(e,Element)}function $4e(e){return fy(e,"RegExp")}function YP(e){return!!(e&&e.then&&typeof e.then=="function")}function X4e(e){return Mv(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function cf(e,t){try{return e instanceof t}catch{return!1}}function $ne(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function ev(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function rH(e,t){if(!Array.isArray(e))return"";const r=[];for(let n=0;n<e.length;n++){const i=e[n];
vendor: 4,840 bytes, line 388
388try{$ne(i)?r.push("[VueViewModel]"):r.push(String(i))}catch{r.push("[value cannot be serialized]")}}return r.join(t)}function Q4e(e,t,r=!1){return $d(e)?$4e(t)?t.test(e):$d(t)?r?e===t:e.includes(t):!1:!1}function lm(e,t=[],r=!1){return t.some(n=>Q4e(e,n,r))}function J4e(e,t,r=250,n,i,a,o){if(!a.exception||!a.exception.values||!o||!cf(o.originalException,Error))return;const s=a.exception.values.length>0?a.exception.values[a.exception.values.length-1]:void 0;s&&(a.exception.values=eDe(v4(e,t,i,o.originalException,n,a.exception.values,s,0),r))}function v4(e,t,r,n,i,a,o,s){if(a.length>=r+1)return a;let l=[...a];if(cf(n[i],Error)){nH(o,s);const c=e(t,n[i]),u=l.length;iH(c,i,u,s),l=v4(e,t,r,n[i],i,[c,...l],c,u)}return Array.isArray(n.errors)&&n.errors.forEach((c,u)=>{if(cf(c,Error)){nH(o,s);const d=e(t,c),f=l.length;iH(d,`errors[${u}]`,f,s),l=v4(e,t,r,c,i,[d,...l],d,f)}}),l}function nH(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function iH(e,t,r,n){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:r,parent_id:n}}function eDe(e,t){return e.map(r=>(r.value&&(r.value=ev(r.value,t)),r))}function Xne(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const cm="8.33.1",cn=globalThis;function $P(e,t,r){const n=r||cn,i=n.__SENTRY__=n.__SENTRY__||{},a=i[cm]=i[cm]||{};return a[e]||(a[e]=t())}const tv=cn,tDe=80;function Nm(e,t={}){if(!e)return"<unknown>";try{let r=e;const n=5,i=[];let a=0,o=0;const s=" > ",l=s.length;let c;const u=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||tDe;for(;r&&a++<n&&(c=rDe(r,u),!(c==="html"||a>1&&o+i.length*l+c.length>=d));)i.push(c),o+=c.length,r=r.parentNode;return i.reverse().join(s)}catch{return"<unknown>"}}function rDe(e,t){const r=e,n=[];if(!r||!r.tagName)return"";if(tv.HTMLElement&&r instanceof HTMLElement&&r.dataset){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}n.push(r.tagName.toLowerCase());const i=t&&t.length?t.filter(o=>r.getAttribute(o)).map(o=>[o,r.getAttribute(o)]):null;if(i&&i.length)i.forEach(o=>{n.push(`[${o[0]}="${o[1]}"]`)});else{r.id&&n.push(`#${r.id}`);const o=r.className;if(o&&$d(o)){const s=o.split(/\s+/);for(const l of s)n.push(`.${l}`)}}const a=["aria-label","type","name","title","alt"];for(const o of a){const s=r.getAttribute(o);s&&n.push(`[${o}="${s}"]`)}return n.join("")}function nDe(){try{return tv.document.location.href}catch{return""}}function iDe(e){return tv.document&&tv.document.querySelector?tv.document.querySelector(e):null}function Qne(e){if(!tv.HTMLElement)return null;let t=e;const r=5;for(let n=0;n<r;n++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}const hy=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,aDe="Sentry Logger ",y4=["debug","info","warn","error","log","assert","trace"],mT={};function Ex(e){if(!("console"in cn))return e();const t=cn.console,r={},n=Object.keys(mT);n.forEach(i=>{const a=mT[i];r[i]=t[i],t[i]=a});try{return e()}finally{n.forEach(i=>{t[i]=r[i]})}}function oDe(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return hy?y4.forEach(r=>{t[r]=(...n)=>{e&&Ex(()=>{cn.console[r](`${aDe}[${r}]:`,...n)})}}):y4.forEach(r=>{t[r]=()=>{}}),t}const vt=$P("logger",oDe),sDe=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function lDe(e){return e==="http"||e==="https"}function py(e,t=!1){const{host:r,path:n,pass:i,port:a,projectId:o,protocol:s,publicKey:l}=e;return`${s}://${l}${t&&i?`:${i}`:""}@${r}${a?`:${a}`:""}/${n&&`${n}/`}${o}`}function cDe(e){const t=sDe.exec(e);if(!t){Ex(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[r,n,i="",a="",o="",s=""]=t.slice(1);let l="",c=s;const u=c.split("/");if(u.length>1&&(l=u.slice(0,-1).join("/"),c=u.pop()),c){const d=c.match(/^\d+/);d&&(c=d[0])}return Jne({host:a,pass:i,path:l,projectId:c,port:o,protocol:r,publicKey:n})}function Jne(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function uDe(e){if(!hy)return!0;const{port:t,projectId:r,protocol:n}=e;return["protocol","publicKey","host","projectId"].find(o=>e[o]?!1:(vt.error(`Invalid Sentry Dsn: ${o} missing`),!0))?!1:r.match(/^\d+$/)?lDe(n)?t&&isNaN(parseInt(t,10))?(vt.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(vt.error(`Invalid Sentry Dsn: Invalid protocol ${n}`),!1):(vt.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function eie(e){const t=typeof e=="string"?cDe(e):Jne(e);if(!(!t||!uDe(t)))return t}
388class Wu extends Error{constructor(t,r="warn"){super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=r}}function Zs(e,t,r){if(!(t in e))return;const n=e[t],i=r(n);typeof i=="function"&&tie(i,n),e[t]=i}function lc(e,t,r){try{Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}catch{hy&&vt.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function tie(e,t){try{const r=t.prototype||{};e.prototype=t.prototype=r,lc(e,"__sentry_original__",t)}catch{}}function H6(e){return e.__sentry_original__}function dDe(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function rie(e){if(KP(e))return{message:e.message,name:e.name,stack:e.stack,...oH(e)};if(ZP(e)){const t={type:e.type,target:aH(e.target),currentTarget:aH(e.currentTarget),...oH(e)};return typeof CustomEvent<"u"&&cf(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function aH(e){try{return Y4e(e)?Nm(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function oH(e){if(typeof e=="object"&&e!==null){const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}else return{}}function fDe(e,t=40){const r=Object.keys(rie(e));r.sort();const n=r[0];if(!n)return"[object has no keys]";if(n.length>=t)return ev(n,t);for(let i=r.length;i>0;i--){const a=r.slice(0,i).join(", ");if(!(a.length>t))return i===r.length?a:ev(a,t)}return""}function Fa(e){return b4(e,new Map)}function b4(e,t){if(hDe(e)){const r=t.get(e);if(r!==void 0)return r;const n={};t.set(e,n);for(const i of Object.getOwnPropertyNames(e))typeof e[i]<"u"&&(n[i]=b4(e[i],t));return n}if(Array.isArray(e)){const r=t.get(e);if(r!==void 0)return r;const n=[];return t.set(e,n),e.forEach(i=>{n.push(b4(i,t))}),n}return e}function hDe(e){if(!Mv(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||t==="Object"}catch{return!0}}const nie=50,Mm="?",sH=/\(error: (.*)\)/,lH=/captureMessage|captureException/;function iie(...e){const t=e.sort((r,n)=>r[0]-n[0]).map(r=>r[1]);return(r,n=0,i=0)=>{const a=[],o=r.split(`
389`);for(let s=n;s<o.length;s++){const l=o[s];if(l.length>1024)continue;const c=sH.test(l)?l.replace(sH,"$1"):l;if(!c.match(/\S*Error: /)){for(const u of t){const d=u(c);if(d){a.push(d);break}}if(a.length>=nie+i)break}}return mDe(a.slice(i))}}function pDe(e){return Array.isArray(e)?iie(...e):e}function mDe(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(hC(t).function||"")&&t.pop(),t.reverse(),lH.test(hC(t).function||"")&&(t.pop(),lH.test(hC(t).function||"")&&t.pop()),t.slice(0,nie).map(r=>({...r,filename:r.filename||hC(t).filename,function:r.function||Mm}))}function hC(e){return e[e.length-1]||{}}const LI="<anonymous>";function uf(e){try{return!e||typeof e!="function"?LI:e.name||LI}catch{return LI}}function cH(e){const t=e.exception;if(t){const r=[];try{return t.values.forEach(n=>{n.stacktrace.frames&&r.push(...n.stacktrace.frames)}),r}catch{return}}}const BE={},uH={};function lp(e,t){BE[e]=BE[e]||[],BE[e].push(t)}function cp(e,t){uH[e]||(t(),uH[e]=!0)}function ec(e,t){const r=e&&BE[e];if(r)for(const n of r)try{n(t)}catch(i){hy&&vt.error(`Error while triggering instrumentation handler.
390Type: ${e}
391Name: ${uf(n)}
392Error:`,i)}}function gDe(e){const t="console";lp(t,e),cp(t,vDe)}function vDe(){"console"in cn&&y4.forEach(function(e){e in cn.console&&Zs(cn.console,e,function(t){return mT[e]=t,function(...r){ec("console",{args:r,level:e});const i=mT[e];i&&i.apply(cn.console,r)}})})}const S4=cn;function aie(){if(!("fetch"in S4))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function w4(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function yDe(){if(typeof EdgeRuntime=="string")return!0;if(!aie())return!1;if(w4(S4.fetch))return!0;let e=!1;const t=S4.document;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(e=w4(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){hy&&vt.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}const oie=1e3;function kx(){return Date.now()/oie}function bDe(){const{performance:e}=cn;
392if(!e||!e.now)return kx;const t=Date.now()-e.now(),r=e.timeOrigin==null?t:e.timeOrigin;return()=>(r+e.now())/oie}const qo=bDe(),Es=(()=>{const{performance:e}=cn;if(!e||!e.now)return;const t=3600*1e3,r=e.now(),n=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+r-n):t,a=i<t,o=e.timing&&e.timing.navigationStart,l=typeof o=="number"?Math.abs(o+r-n):t,c=l<t;return a||c?i<=l?e.timeOrigin:o:n})();function sie(e,t){const r="fetch";lp(r,e),cp(r,()=>lie(void 0,t))}function SDe(e){const t="fetch-body-resolved";lp(t,e),cp(t,()=>lie(xDe))}function lie(e,t=!1){t&&!yDe()||Zs(cn,"fetch",function(r){return function(...n){const{method:i,url:a}=CDe(n),o={args:n,fetchData:{method:i,url:a},startTimestamp:qo()*1e3};e||ec("fetch",{...o});const s=new Error().stack;return r.apply(cn,n).then(async l=>(e?e(l):ec("fetch",{...o,endTimestamp:qo()*1e3,response:l}),l),l=>{throw ec("fetch",{...o,endTimestamp:qo()*1e3,error:l}),KP(l)&&l.stack===void 0&&(l.stack=s,lc(l,"framesToPop",1)),l})}})}async function wDe(e,t){if(e&&e.body){const r=e.body,n=r.getReader(),i=setTimeout(()=>{r.cancel().then(null,()=>{})},90*1e3);let a=!0;for(;a;){let o;try{o=setTimeout(()=>{r.cancel().then(null,()=>{})},5e3);const{done:s}=await n.read();clearTimeout(o),s&&(t(),a=!1)}catch{a=!1}finally{clearTimeout(o)}}clearTimeout(i),n.releaseLock(),r.cancel().then(null,()=>{})}}function xDe(e){let t;try{t=e.clone()}catch{return}wDe(t,()=>{ec("fetch-body-resolved",{endTimestamp:qo()*1e3,response:e})})}function x4(e,t){return!!e&&typeof e=="object"&&!!e[t]}function dH(e){return typeof e=="string"?e:e?x4(e,"url")?e.url:e.toString?e.toString():"":""}function CDe(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[r,n]=e;return{url:dH(r),method:x4(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:dH(t),method:x4(t,"method")?String(t.method).toUpperCase():"GET"}}let pC=null;function cie(e){const t="error";lp(t,e),cp(t,EDe)}function EDe(){pC=cn.onerror,cn.onerror=function(e,t,r,n,i){return ec("error",{column:n,error:i,line:r,msg:e,url:t}),pC&&!pC.__SENTRY_LOADER__?pC.apply(this,arguments):!1},cn.onerror.__SENTRY_INSTRUMENTED__=!0}let mC=null;function uie(e){const t="unhandledrejection";lp(t,e),cp(t,kDe)}function kDe(){mC=cn.onunhandledrejection,cn.onunhandledrejection=function(e){return ec("unhandledrejection",e),mC&&!mC.__SENTRY_LOADER__?mC.apply(this,arguments):!0},cn.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}function TDe(){return"npm"}function _De(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function r(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let a=0;a<t.length;a++)if(t[a]===i)return!0;return t.push(i),!1}function n(i){if(e)t.delete(i);else for(let a=0;a<t.length;a++)if(t[a]===i){t.splice(a,1);break}}return[r,n]}function ui(){const e=cn,t=e.crypto||e.msCrypto;let r=()=>Math.random()*16;try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(r=()=>{const n=new Uint8Array(1);return t.getRandomValues(n),n[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,n=>(n^(r()&15)>>n/4).toString(16))}function die(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function th(e){const{message:t,event_id:r}=e;if(t)return t;const n=die(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"<unknown>":r||"<unknown>"}function C4(e,t,r){const n=e.exception=e.exception||{},i=n.values=n.values||[],a=i[0]=i[0]||{};a.value||(a.value=t||""),a.type||(a.type="Error")}function iw(e,t){const r=die(e);if(!r)return;const n={type:"generic",handled:!0},i=r.mechanism;if(r.mechanism={...n,...i,...t},t&&"data"in t){const a={...i&&i.data,...t.data};r.mechanism.data=a}}function fH(e){if(e&&e.__sentry_captured__)return!0;try{lc(e,"__sentry_captured__",!0)}catch{}return!1}function fie(e){return Array.isArray(e)?e:[e]}function rh(e,t=100,r=1/0){try{return E4("",e,t,r)}catch(n){return{ERROR:`**non-serializable** (${n})`}}}function hie(e,t=3,r=100*1024){const n=rh(e,t);return IDe(n)>r?hie(e,t-1,r):n}function E4(e,t,r=1/0,n=1/0,i=_De()){const[a,o]=i;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const s=PDe(e,t);if(!s.startsWith("[object "))return s;if(t.__sentry_skip_normalization__)return t;const l=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:r;if(l===0)return s.replace("object ","");if(a(t))return"[Circular ~]";const c=t;if(c&&typeof c.toJSON=="function")try{const h=c.toJSON();return E4("",h,l-1,n,i)}catch{}const u=Array.isArray(t)?[]:{};let d=0;const f=rie(t);for(const h in f){if(!Object.prototype.hasOwnProperty.call(f,h))continue;if(d>=n){u[h]="[MaxProperties ~]";break}const p=f[h];u[h]=E4(h,p,l-1,n,i),d++}return o(t),u}function PDe(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if($ne(t))return"[VueViewModel]";if(X4e(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${uf(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const r=ADe(t);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}}function ADe(e){const t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function ODe(e){return~-encodeURI(e).split(/%..|./).length}function IDe(e){return ODe(JSON.stringify(e))}var Fd;
392(function(e){e[e.PENDING=0]="PENDING";const r=1;e[e.RESOLVED=r]="RESOLVED";const n=2;e[e.REJECTED=n]="REJECTED"})(Fd||(Fd={}));function Lm(e){return new Bl(t=>{t(e)})}function gT(e){return new Bl((t,r)=>{r(e)})}class Bl{constructor(t){Bl.prototype.__init.call(this),Bl.prototype.__init2.call(this),Bl.prototype.__init3.call(this),Bl.prototype.__init4.call(this),this._state=Fd.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(r){this._reject(r)}}then(t,r){return new Bl((n,i)=>{this._handlers.push([!1,a=>{if(!t)n(a);else try{n(t(a))}catch(o){i(o)}},a=>{if(!r)i(a);else try{n(r(a))}catch(o){i(o)}}]),this._executeHandlers()})}catch(t){return this.then(r=>r,t)}finally(t){return new Bl((r,n)=>{let i,a;return this.then(o=>{a=!1,i=o,t&&t()},o=>{a=!0,i=o,t&&t()}).then(()=>{if(a){n(i);return}r(i)})})}__init(){this._resolve=t=>{this._setResult(Fd.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(Fd.REJECTED,t)}}__init3(){this._setResult=(t,r)=>{if(this._state===Fd.PENDING){if(YP(r)){r.then(this._resolve,this._reject);return}this._state=t,this._value=r,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===Fd.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(r=>{r[0]||(this._state===Fd.RESOLVED&&r[1](this._value),this._state===Fd.REJECTED&&r[2](this._value),r[0]=!0)})}}}function RDe(e){const t=[];function r(){return e===void 0||t.length<e}function n(o){return t.splice(t.indexOf(o),1)[0]||Promise.resolve(void 0)}function i(o){if(!r())return gT(new Wu("Not adding Promise because buffer limit was reached."));const s=o();return t.indexOf(s)===-1&&t.push(s),s.then(()=>n(s)).then(null,()=>n(s).then(null,()=>{})),s}function a(o){return new Bl((s,l)=>{let c=t.length;if(!c)return s(!0);const u=setTimeout(()=>{o&&o>0&&s(!1)},o);t.forEach(d=>{Lm(d).then(()=>{--c||(clearTimeout(u),s(!0))},l)})})}return{$:t,add:i,drain:a}}function um(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:r,hash:n,relative:t[5]+r+n}}function hH(e){return e.split(/\\?\//).filter(t=>t.length>0&&t!==",").length}const FDe=["fatal","error","warning","log","info","debug"];function DDe(e){return e==="warn"?"warning":FDe.includes(e)?e:"log"}const k4="baggage",pie="sentry-",NDe=/^sentry-/,MDe=8192;function mie(e){const t=LDe(e);if(!t)return;const r=Object.entries(t).reduce((n,[i,a])=>{if(i.match(NDe)){const o=i.slice(pie.length);n[o]=a}return n},{});if(Object.keys(r).length>0)return r}function gie(e){if(!e)return;const t=Object.entries(e).reduce((r,[n,i])=>(i&&(r[`${pie}${n}`]=i),r),{});return BDe(t)}function LDe(e){if(!(!e||!$d(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,r)=>{const n=pH(r);return Object.entries(n).forEach(([i,a])=>{t[i]=a}),t},{}):pH(e)}function pH(e){return e.split(",").map(t=>t.split("=").map(r=>decodeURIComponent(r.trim()))).reduce((t,[r,n])=>(r&&n&&(t[r]=n),t),{})}function BDe(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[r,n],i)=>{const a=`${encodeURIComponent(r)}=${encodeURIComponent(n)}`,o=i===0?a:`${t},${a}`;return o.length>MDe?(hy&&vt.warn(`Not adding key: ${r} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):o},"")}const UDe=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function zDe(e){if(!e)return;const t=e.match(UDe);if(!t)return;let r;return t[3]==="1"?r=!0:t[3]==="0"&&(r=!1),{traceId:t[1],parentSampled:r,parentSpanId:t[2]}}function HDe(e,t){const r=zDe(e),n=mie(t),{traceId:i,parentSpanId:a,parentSampled:o}=r||{};return r?{traceId:i||ui(),parentSpanId:a||ui().substring(16),spanId:ui().substring(16),sampled:o,dsc:n||{}}:{traceId:i||ui(),spanId:ui().substring(16)}}function q6(e=ui(),t=ui().substring(16),r){let n="";return r!==void 0&&(n=r?"-1":"-0"),`${e}-${t}${n}`}function my(e,t=[]){return[e,t]}function qDe(e,t){const[r,n]=e;return[r,[...n,t]]}function mH(e,t){const r=e[1];for(const n of r){const i=n[0].type;if(t(n,i))return!0}return!1}function T4(e){return cn.__SENTRY__&&cn.__SENTRY__.encodePolyfill?cn.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function WDe(e){const[t,r]=e;let n=JSON.stringify(t);
392function i(a){typeof n=="string"?n=typeof a=="string"?n+a:[T4(n),a]:n.push(typeof a=="string"?T4(a):a)}for(const a of r){const[o,s]=a;if(i(`
393${JSON.stringify(o)}
394`),typeof s=="string"||s instanceof Uint8Array)i(s);else{let l;try{l=JSON.stringify(s)}catch{l=JSON.stringify(rh(s))}i(l)}}return typeof n=="string"?n:VDe(n)}function VDe(e){const t=e.reduce((i,a)=>i+a.length,0),r=new Uint8Array(t);let n=0;for(const i of e)r.set(i,n),n+=i.length;return r}function jDe(e){return[{type:"span"},e]}function GDe(e){const t=typeof e.data=="string"?T4(e.data):e.data;return[Fa({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const KDe={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function gH(e){return KDe[e]}function vie(e){if(!e||!e.sdk)return;const{name:t,version:r}=e.sdk;return{name:t,version:r}}function ZDe(e,t,r,n){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&n&&{dsn:py(n)},...i&&{trace:Fa({...i})}}}function YDe(e,t,r){const n=[{type:"client_report"},{timestamp:kx(),discarded_events:e}];return my(t?{dsn:t}:{},[n])}const $De=60*1e3;function XDe(e,t=Date.now()){const r=parseInt(`${e}`,10);if(!isNaN(r))return r*1e3;const n=Date.parse(`${e}`);return isNaN(n)?$De:n-t}function QDe(e,t){return e[t]||e.all||0}function JDe(e,t,r=Date.now()){return QDe(e,t)>r}function eNe(e,{statusCode:t,headers:r},n=Date.now()){const i={...e},a=r&&r["x-sentry-rate-limits"],o=r&&r["retry-after"];if(a)for(const s of a.trim().split(",")){const[l,c,,,u]=s.split(":",5),d=parseInt(l,10),f=(isNaN(d)?60:d)*1e3;if(!c)i.all=n+f;else for(const h of c.split(";"))h==="metric_bucket"?(!u||u.split(";").includes("custom"))&&(i[h]=n+f):i[h]=n+f}else o?i.all=n+XDe(o,n):t===429&&(i.all=n+60*1e3);return i}function Hd(e){let t,r=e[0],n=1;for(;n<e.length;){const i=e[n],a=e[n+1];if(n+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(t=r,r=a(r)):(i==="call"||i==="optionalCall")&&(r=a((...o)=>r.call(t,...o)),t=void 0)}return r}function vT(){return{traceId:ui(),spanId:ui().substring(16)}}const gC=cn;function tNe(){const e=gC.chrome,t=e&&e.app&&e.app.runtime,r="history"in gC&&!!gC.history.pushState&&!!gC.history.replaceState;return!t&&r}const Tr=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function gy(){return W6(cn),cn}function W6(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||cm,t[cm]=t[cm]||{}}function rNe(e){const t=qo(),r={sid:ui(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>iNe(r)};return e&&Lv(r,e),r}function Lv(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||qo(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:ui()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const r=e.timestamp-e.started;e.duration=r>=0?r:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function nNe(e,t){let r={};e.status==="ok"&&(r={status:"exited"}),Lv(e,r)}function iNe(e){return Fa({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const _4="_sentrySpan";function aw(e,t){t?lc(e,_4,t):delete e[_4]}function yT(e){return e[_4]}const aNe=100;class V6{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=vT()}clone(){const t=new V6;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,aw(t,yT(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&Lv(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,r){return this._tags={...this._tags,[t]:r},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,r){return this._extra={...this._extra,[t]:r},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,r){return r===null?delete this._contexts[t]:this._contexts[t]=r,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const r=typeof t=="function"?t(this):t,[n,i]=r instanceof Gh?[r.getScopeData(),r.getRequestSession()]:Mv(r)?[t,t.requestSession]:[],{tags:a,extra:o,user:s,contexts:l,level:c,fingerprint:u=[],propagationContext:d}=n||{};return this._tags={...this._tags,...a},this._extra={...this._extra,...o},this._contexts={...this._contexts,...l},s&&Object.keys(s).length&&(this._user=s),c&&(this._level=c),u.length&&(this._fingerprint=u),d&&(this._propagationContext=d),i&&(this._requestSession=i),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,aw(this,void 0),this._attachments=[],this._propagationContext=vT(),this._notifyScopeListeners(),this}addBreadcrumb(t,r){const n=typeof r=="number"?r:aNe;if(n<=0)return this;const i={timestamp:kx(),...t},a=this._breadcrumbs;return a.push(i),this._breadcrumbs=a.length>n?a.slice(-n):a,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:yT(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,r){const n=r&&r.event_id?r.event_id:ui();if(!this._client)return vt.warn("No client configured on scope - will not capture exception!"),n;const i=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:i,...r,event_id:n},this),n}captureMessage(t,r,n){const i=n&&n.event_id?n.event_id:ui();if(!this._client)return vt.warn("No client configured on scope - will not capture message!"),i;const a=new Error(t);return this._client.captureMessage(t,r,{originalException:t,syntheticException:a,...n,event_id:i},this),i}captureEvent(t,r){const n=r&&r.event_id?r.event_id:ui();return this._client?(this._client.captureEvent(t,{...r,event_id:n},this),n):(vt.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEac
394h(t=>{t(this)}),this._notifyingListeners=!1)}}const Gh=V6;function oNe(){return $P("defaultCurrentScope",()=>new Gh)}function sNe(){return $P("defaultIsolationScope",()=>new Gh)}class lNe{constructor(t,r){let n;t?n=t:n=new Gh;let i;r?i=r:i=new Gh,this._stack=[{scope:n}],this._isolationScope=i}withScope(t){const r=this._pushScope();let n;try{n=t(r)}catch(i){throw this._popScope(),i}return YP(n)?n.then(i=>(this._popScope(),i),i=>{throw this._popScope(),i}):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function Bv(){const e=gy(),t=W6(e);return t.stack=t.stack||new lNe(oNe(),sNe())}function cNe(e){return Bv().withScope(e)}function uNe(e,t){const r=Bv();return r.withScope(()=>(r.getStackTop().scope=e,t(e)))}function vH(e){return Bv().withScope(()=>e(Bv().getIsolationScope()))}function dNe(){return{withIsolationScope:vH,withScope:cNe,withSetScope:uNe,withSetIsolationScope:(e,t)=>vH(t),getCurrentScope:()=>Bv().getScope(),getIsolationScope:()=>Bv().getIsolationScope()}}function Tx(e){const t=W6(e);return t.acs?t.acs:dNe()}function Un(){const e=gy();return Tx(e).getCurrentScope()}function gc(){const e=gy();return Tx(e).getIsolationScope()}function fNe(){return $P("globalScope",()=>new Gh)}function XP(...e){const t=gy(),r=Tx(t);if(e.length===2){const[n,i]=e;return n?r.withSetScope(n,i):r.withScope(i)}return r.withScope(e[0])}function Sn(){return Un().getClient()}const hNe="_sentryMetrics";function P4(e){const t=e[hNe];if(!t)return;const r={};for(const[,[n,i]]of t)(r[n]||(r[n]=[])).push(Fa(i));return r}const Uc="sentry.source",yie="sentry.sample_rate",df="sentry.op",Ki="sentry.origin",A4="sentry.idle_span_finish_reason",QP="sentry.measurement_unit",JP="sentry.measurement_value",pNe="sentry.profile_id",j6="sentry.exclusive_time",mNe=0,bie=1,ha=2;function gNe(e){if(e<400&&e>=100)return{code:bie};if(e>=400&&e<500)switch(e){case 401:return{code:ha,message:"unauthenticated"};case 403:return{code:ha,message:"permission_denied"};case 404:return{code:ha,message:"not_found"};case 409:return{code:ha,message:"already_exists"};case 413:return{code:ha,message:"failed_precondition"};case 429:return{code:ha,message:"resource_exhausted"};case 499:return{code:ha,message:"cancelled"};default:return{code:ha,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:ha,message:"unimplemented"};case 503:return{code:ha,message:"unavailable"};case 504:return{code:ha,message:"deadline_exceeded"};default:return{code:ha,message:"internal_error"}}return{code:ha,message:"unknown_error"}}function Sie(e,t){e.setAttribute("http.response.status_code",t);const r=gNe(t);r.message!=="unknown_error"&&e.setStatus(r)}const wie=0,xie=1;function vNe(e){const{spanId:t,traceId:r}=e.spanContext(),{data:n,op:i,parent_span_id:a,status:o,origin:s}=ln(e);return Fa({parent_span_id:a,span_id:t,trace_id:r,data:n,op:i,status:o,origin:s})}function yNe(e){const{spanId:t,traceId:r}=e.spanContext(),{parent_span_id:n}=ln(e);return Fa({parent_span_id:n,span_id:t,trace_id:r})}function Cie(e){const{traceId:t,spanId:r}=e.spanContext(),n=d0(e);return q6(t,r,n)}function dm(e){return typeof e=="number"?yH(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?yH(e.getTime()):qo()}function yH(e){return e>9999999999?e/1e3:e}function ln(e){if(SNe(e))return e.getSpanJSON();try{const{spanId:t,traceId:r}=e.spanContext();if(bNe(e)){const{attributes:n,startTime:i,name:a,endTime:o,parentSpanId:s,status:l}=e;return Fa({span_id:t,trace_id:r,data:n,description:a,parent_span_id:s,start_timestamp:dm(i),timestamp:dm(o)||void 0,status:Eie(l),op:n[df],origin:n[Ki],_metrics_summary:P4(e)})}return{span_id:t,trace_id:r}}catch{return{}}}function bNe(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function SNe(e){return typeof e.getSpanJSON=="function"}function d0(e){const{traceFlags:t}=e.spanContext();return t===xie}function Eie(e){if(!(!e||e.code===mNe))return e.code===bie?"ok":e.message||"unknown_error"}const fm="_sentryChildSpans",O4="_sentryRootSpan";function kie(e,t){const r=e[O4]||e;lc(t,O4,r),e[fm]?e[fm].add(t):lc(e,fm,new Set([t]))}function wNe(e,t){e[fm]&&e[fm].delete(t)}function UE(e){const t=new Set;function r(n){if(!t.has(n)&&d0(n)){t.add(n);const i=n[fm]?Array.from(n[fm]):[];for(const a of i)r(a)}}return r(e),Array.from(t)}function za(e){return e[O4]||e}function Eo(){const e=gy(),t=Tx(e);return t.getActiveSpan?t.getActiveSpan():yT(Un())}let bH=!1;function xNe(){bH||(bH=!0,cie(I4),uie(I4))}function I4(){const e=Eo(),t=e&&za(e);if(t){const r="internal_error";Tr&&vt.log(`[Tracing] Root span: ${r} -> Global error occured`),t.setStatus({code:ha,message:r})}}I4.tag="sentry_tracingErrorCallback";const Tie="_sentryScope",_ie="_sentryIsolationScope";function CNe(e,t,r){e&&(lc(e,_ie,r),lc(e,Tie,t))}function SH(e){return{scope:e[Tie],isolationScope:e[_ie]}}function ff(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=Sn(),r=e||t&&t.getOptions();return!!r&&(r.enableTracing||"tracesSampleRate"in r||"tracesSampler"in r)}class vy{constructor(t={}){this._traceId=t.traceId||ui(),this._spanId=t.spanId||ui().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:wie}}end(t){}setAttribute(t,r){return this}setAttributes(t){return this}setStatus(t){return this}updateName(t){return this}isRecording(){return!1}
394addEvent(t,r,n){return this}addLink(t){return this}addLinks(t){return this}recordException(t,r){}}const G6="production",Pie="_frozenDsc";function wH(e,t){lc(e,Pie,t)}function eA(e,t){const r=t.getOptions(),{publicKey:n}=t.getDsn()||{},i=Fa({environment:r.environment||G6,release:r.release,public_key:n,trace_id:e});return t.emit("createDsc",i),i}function f0(e){const t=Sn();if(!t)return{};const r=eA(ln(e).trace_id||"",t),n=za(e),i=n[Pie];if(i)return i;const a=n.spanContext().traceState,o=a&&a.get("sentry.dsc"),s=o&&mie(o);if(s)return s;const l=ln(n),c=l.data||{},u=c[yie];u!=null&&(r.sample_rate=`${u}`);const d=c[Uc],f=l.description;return d!=="url"&&f&&(r.transaction=f),ff()&&(r.sampled=String(d0(n))),t.emit("createDsc",r,n),r}function ENe(e){if(!Tr)return;const{description:t="< unknown name >",op:r="< unknown op >",parent_span_id:n}=ln(e),{spanId:i}=e.spanContext(),a=d0(e),o=za(e),s=o===e,l=`[Tracing] Starting ${a?"sampled":"unsampled"} ${s?"root ":""}span`,c=[`op: ${r}`,`name: ${t}`,`ID: ${i}`];if(n&&c.push(`parent ID: ${n}`),!s){const{op:u,description:d}=ln(o);c.push(`root ID: ${o.spanContext().spanId}`),u&&c.push(`root op: ${u}`),d&&c.push(`root description: ${d}`)}vt.log(`${l}
395  ${c.join(`
396  `)}`)}function kNe(e){if(!Tr)return;const{description:t="< unknown name >",op:r="< unknown op >"}=ln(e),{spanId:n}=e.spanContext(),a=za(e)===e,o=`[Tracing] Finishing "${r}" ${a?"root ":""}span "${t}" with ID ${n}`;vt.log(o)}function Aie(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(typeof t!="number"||isNaN(t)||t<0||t>1){Tr&&vt.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}return t}function TNe(e,t){if(!ff(e))return[!1];let r;typeof e.tracesSampler=="function"?r=e.tracesSampler(t):t.parentSampled!==void 0?r=t.parentSampled:typeof e.tracesSampleRate<"u"?r=e.tracesSampleRate:r=1;const n=Aie(r);return n===void 0?(Tr&&vt.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):n?Math.random()<n?[!0,n]:(Tr&&vt.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(r)})`),[!1,n]):(Tr&&vt.log(`[Tracing] Discarding transaction because ${typeof e.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,n])}function _Ne(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function PNe(e,t,r,n){const i=vie(r),a={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!n&&t&&{dsn:py(t)}},o="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return my(a,[o])}function ANe(e,t,r,n){const i=vie(r),a=e.type&&e.type!=="replay_event"?e.type:"event";_Ne(e,r&&r.sdk);const o=ZDe(e,i,n,t);return delete e.sdkProcessingMetadata,my(o,[[{type:a},e]])}function ONe(e,t){function r(u){return!!u.trace_id&&!!u.public_key}const n=f0(e[0]),i=t&&t.getDsn(),a=t&&t.getOptions().tunnel,o={sent_at:new Date().toISOString(),...r(n)&&{trace:n},...!!a&&i&&{dsn:py(i)}},s=t&&t.getOptions().beforeSendSpan,l=s?u=>s(ln(u)):u=>ln(u),c=[];for(const u of e){const d=l(u);d&&c.push(jDe(d))}return my(o,c)}function INe(e,t,r,n=Eo()){const i=n&&za(n);i&&i.addEvent(e,{[JP]:t,[QP]:r})}function xH(e){if(!e||e.length===0)return;const t={};return e.forEach(r=>{const n=r.attributes||{},i=n[QP],a=n[JP];typeof i=="string"&&typeof a=="number"&&(t[r.name]={value:a,unit:i})}),t}const CH=1e3;class K6{constructor(t={}){this._traceId=t.traceId||ui(),this._spanId=t.spanId||ui().substring(16),this._startTime=t.startTimestamp||qo(),this._attributes={},this.setAttributes({[Ki]:"manual",[df]:t.op,...t.attributes}),this._name=t.name,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.endTimestamp&&(this._endTime=t.endTimestamp),this._events=[],this._isStandaloneSpan=t.isStandalone,this._endTime&&this._onSpanEnded()}
396addLink(t){return this}addLinks(t){return this}recordException(t,r){}spanContext(){const{_spanId:t,_traceId:r,_sampled:n}=this;return{spanId:t,traceId:r,traceFlags:n?xie:wie}}setAttribute(t,r){return r===void 0?delete this._attributes[t]:this._attributes[t]=r,this}setAttributes(t){return Object.keys(t).forEach(r=>this.setAttribute(r,t[r])),this}updateStartTime(t){this._startTime=dm(t)}setStatus(t){return this._status=t,this}updateName(t){return this._name=t,this}end(t){this._endTime||(this._endTime=dm(t),kNe(this),this._onSpanEnded())}getSpanJSON(){return Fa({data:this._attributes,description:this._name,op:this._attributes[df],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:Eie(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[Ki],_metrics_summary:P4(this),profile_id:this._attributes[pNe],exclusive_time:this._attributes[j6],measurements:xH(this._events),is_segment:this._isStandaloneSpan&&za(this)===this||void 0,segment_id:this._isStandaloneSpan?za(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(t,r,n){Tr&&vt.log("[Tracing] Adding an event to span:",t);const i=EH(r)?r:n||qo(),a=EH(r)?{}:r||{},o={name:t,time:dm(i),attributes:a};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const t=Sn();if(t&&t.emit("spanEnd",this),!(this._isStandaloneSpan||this===za(this)))return;if(this._isStandaloneSpan){this._sampled?FNe(ONe([this],t)):(Tr&&vt.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),t&&t.recordDroppedEvent("sample_rate","span"));return}const n=this._convertSpanToTransaction();n&&(SH(this).scope||Un()).captureEvent(n)}_convertSpanToTransaction(){if(!kH(ln(this)))return;this._name||(Tr&&vt.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");const{scope:t,isolationScope:r}=SH(this),i=(t||Un()).getClient()||Sn();if(this._sampled!==!0){Tr&&vt.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),i&&i.recordDroppedEvent("sample_rate","transaction");return}const o=UE(this).filter(d=>d!==this&&!RNe(d)).map(d=>ln(d)).filter(kH),s=this._attributes[Uc],l={contexts:{trace:vNe(this)},spans:o.length>CH?o.sort((d,f)=>d.start_timestamp-f.start_timestamp).slice(0,CH):o,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:t,capturedSpanIsolationScope:r,...Fa({dynamicSamplingContext:f0(this)})},_metrics_summary:P4(this),...s&&{transaction_info:{source:s}}},c=xH(this._events);return c&&Object.keys(c).length&&(Tr&&vt.log("[Measurements] Adding measurements to transaction event",JSON.stringify(c,void 0,2)),l.measurements=c),l}}function EH(e){return e&&typeof e=="number"||e instanceof Date||Array.isArray(e)}function kH(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function RNe(e){return e instanceof K6&&e.isStandaloneSpan()}function FNe(e){const t=Sn();if(!t)return;const r=e[1];if(!r||r.length===0){t.recordDroppedEvent("before_send","span");return}const n=t.getTransport();n&&n.send(e).then(null,i=>{Tr&&vt.error("Error while sending span:",i)})}const Oie="__SENTRY_SUPPRESS_TRACING__";function up(e){const t=Rie();if(t.startInactiveSpan)return t.startInactiveSpan(e);const r=NNe(e),{forceTransaction:n,parentSpan:i}=e;return(e.scope?o=>XP(e.scope,o):i!==void 0?o=>Iie(i,o):o=>o())(()=>{const o=Un(),s=LNe(o);return e.onlyIfParent&&!s?new vy:DNe({parentSpan:s,spanArguments:r,forceTransaction:n,scope:o})})}function Iie(e,t){const r=Rie();return r.withActiveSpan?r.withActiveSpan(e,t):XP(n=>(aw(n,e||void 0),t(n)))}function DNe({parentSpan:e,spanArguments:t,forceTransaction:r,scope:n}){if(!ff())return new vy;const i=gc();let a;if(e&&!r)a=MNe(e,n,t),kie(e,a);else if(e){const o=f0(e),{traceId:s,spanId:l}=e.spanContext(),c=d0(e);a=TH({traceId:s,parentSpanId:l,...t},n,c),wH(a,o)}else{const{traceId:o,dsc:s,parentSpanId:l,sampled:c}={...i.getPropagationContext(),...n.getPropagationContext()};a=TH({traceId:o,parentSpanId:l,...t}
396,n,c),s&&wH(a,s)}return ENe(a),CNe(a,n,i),a}function NNe(e){const r={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const n={...r};return n.startTimestamp=dm(e.startTime),delete n.startTime,n}return r}function Rie(){const e=gy();return Tx(e)}function TH(e,t,r){const n=Sn(),i=n&&n.getOptions()||{},{name:a="",attributes:o}=e,[s,l]=t.getScopeData().sdkProcessingMetadata[Oie]?[!1]:TNe(i,{name:a,parentSampled:r,attributes:o,transactionContext:{name:a,parentSampled:r}}),c=new K6({...e,attributes:{[Uc]:"custom",...e.attributes},sampled:s});return l!==void 0&&c.setAttribute(yie,l),n&&n.emit("spanStart",c),c}function MNe(e,t,r){const{spanId:n,traceId:i}=e.spanContext(),a=t.getScopeData().sdkProcessingMetadata[Oie]?!1:d0(e),o=a?new K6({...r,parentSpanId:n,traceId:i,sampled:a}):new vy({traceId:i});kie(e,o);const s=Sn();return s&&(s.emit("spanStart",o),r.endTimestamp&&s.emit("spanEnd",o)),o}function LNe(e){const t=yT(e);if(!t)return;const r=Sn();return(r?r.getOptions():{}).parentSpanIsAlwaysRootSpan?za(t):t}const zE={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},BNe="heartbeatFailed",UNe="idleTimeout",zNe="finalTimeout",HNe="externalFinish";function Fie(e,t={}){const r=new Map;let n=!1,i,a=HNe,o=!t.disableAutoFinish;const s=[],{idleTimeout:l=zE.idleTimeout,finalTimeout:c=zE.finalTimeout,childSpanTimeout:u=zE.childSpanTimeout,beforeSpanEnd:d}=t,f=Sn();if(!f||!ff())return new vy;const h=Un(),p=Eo(),g=qNe(e);g.end=new Proxy(g.end,{apply(C,T,_){d&&d(g);const[P,...F]=_,I=P||qo(),R=dm(I),D=UE(g).filter(se=>se!==g);if(!D.length)return x(R),Reflect.apply(C,T,[R,...F]);const A=D.map(se=>ln(se).timestamp).filter(se=>!!se),M=A.length?Math.max(...A):void 0,X=ln(g).start_timestamp,Y=Math.min(X?X+c/1e3:1/0,Math.max(X||-1/0,Math.min(R,M||1/0)));return x(Y),Reflect.apply(C,T,[Y,...F])}});function v(){i&&(clearTimeout(i),i=void 0)}function m(C){v(),i=setTimeout(()=>{!n&&r.size===0&&o&&(a=UNe,g.end(C))},l)}function b(C){i=setTimeout(()=>{!n&&o&&(a=BNe,g.end(C))},u)}function y(C){v(),r.set(C,!0);const T=qo();b(T+u/1e3)}function w(C){if(r.has(C)&&r.delete(C),r.size===0){const T=qo();m(T+l/1e3)}}function x(C){n=!0,r.clear(),s.forEach(R=>R()),aw(h,p);const T=ln(g),{start_timestamp:_}=T;if(!_)return;(T.data||{})[A4]||g.setAttribute(A4,a),vt.log(`[Tracing] Idle span "${T.op}" finished`);const F=UE(g).filter(R=>R!==g);let I=0;F.forEach(R=>{R.isRecording()&&(R.setStatus({code:ha,message:"cancelled"}),R.end(C),Tr&&vt.log("[Tracing] Cancelling span since span ended early",JSON.stringify(R,void 0,2)));const D=ln(R),{timestamp:A=0,start_timestamp:M=0}=D,X=M<=C,Y=(c+l)/1e3,se=A-M<=Y;if(Tr){const ne=JSON.stringify(R,void 0,2);X?se||vt.log("[Tracing] Discarding span since it finished after idle span final timeout",ne):vt.log("[Tracing] Discarding span since it happened after idle span was finished",ne)}(!se||!X)&&(wNe(g,R),I++)}),I>0&&g.setAttribute("sentry.idle_span_discarded_spans",I)}return s.push(f.on("spanStart",C=>{if(n||C===g||ln(C).timestamp)return;UE(g).includes(C)&&y(C.spanContext().spanId)})),s.push(f.on("spanEnd",C=>{n||w(C.spanContext().spanId)})),s.push(f.on("idleSpanEnableAutoFinish",C=>{C===g&&(o=!0,m(),r.size&&b())})),t.disableAutoFinish||m(),setTimeout(()=>{n||(g.setStatus({code:ha,message:"deadline_exceeded"}),a=zNe,g.end())},c),g}function qNe(e){const t=up(e);return aw(Un(),t),Tr&&vt.log("[Tracing] Started span is an idle span"),t}function R4(e,t,r,n=0){return new Bl((i,a)=>{const o=e[n];if(t===null||typeof o!="function")i(t);else{const s=o({...t},r);Tr&&o.id&&s===null&&vt.log(`Event processor "${o.id}" dropped event`),YP(s)?s.then(l=>R4(e,l,r,n+1).then(i)).then(null,a):R4(e,s,r,n+1).then(i).then(null,a)}})}function WNe(e,t){const{fingerprint:r,span:n,breadcrumbs:i,sdkProcessingMetadata:a}=t;VNe(e,t),n&&KNe(e,n),ZNe(e,r),jNe(e,i),GNe(e,a)}function _H(e,t){const{extra:r,tags:n,user:i,contexts:a,level:o,sdkProcessingMetadata:s,breadcrumbs:l,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:f,transactionName:h,span:p}=t;w1(e,"extra",r),w1(e,"tags",n),w1(e,"user",i),w1(e,"contexts",a),w1(e,"sdkProcessingMetadata",s),o&&(e.level=o),h&&(e.transactionName=h),p&&(e.span=p),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...f}}function w1(e,t,r){if(r&&Object.keys(r).length){e[t]={...e[t]};
396for(const n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[t][n]=r[n])}}function VNe(e,t){const{extra:r,tags:n,user:i,contexts:a,level:o,transactionName:s}=t,l=Fa(r);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const c=Fa(n);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});const u=Fa(i);u&&Object.keys(u).length&&(e.user={...u,...e.user});const d=Fa(a);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),o&&(e.level=o),s&&e.type!=="transaction"&&(e.transaction=s)}function jNe(e,t){const r=[...e.breadcrumbs||[],...t];e.breadcrumbs=r.length?r:void 0}function GNe(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function KNe(e,t){e.contexts={trace:yNe(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:f0(t),...e.sdkProcessingMetadata};const r=za(t),n=ln(r).description;n&&!e.transaction&&e.type==="transaction"&&(e.transaction=n)}function ZNe(e,t){e.fingerprint=e.fingerprint?fie(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}function YNe(e,t,r,n,i,a){const{normalizeDepth:o=3,normalizeMaxBreadth:s=1e3}=e,l={...t,event_id:t.event_id||r.event_id||ui(),timestamp:t.timestamp||kx()},c=r.integrations||e.integrations.map(v=>v.name);$Ne(l,e),JNe(l,c),i&&i.emit("applyFrameMetadata",t),t.type===void 0&&XNe(l,e.stackParser);const u=t5e(n,r.captureContext);r.mechanism&&iw(l,r.mechanism);const d=i?i.getEventProcessors():[],f=fNe().getScopeData();if(a){const v=a.getScopeData();_H(f,v)}if(u){const v=u.getScopeData();_H(f,v)}const h=[...r.attachments||[],...f.attachments];h.length&&(r.attachments=h),WNe(l,f);const p=[...d,...f.eventProcessors];return R4(p,l,r).then(v=>(v&&QNe(v),typeof o=="number"&&o>0?e5e(v,o,s):v))}function $Ne(e,t){const{environment:r,release:n,dist:i,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?r:G6),e.release===void 0&&n!==void 0&&(e.release=n),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&(e.message=ev(e.message,a));const o=e.exception&&e.exception.values&&e.exception.values[0];o&&o.value&&(o.value=ev(o.value,a));const s=e.request;s&&s.url&&(s.url=ev(s.url,a))}const PH=new WeakMap;function XNe(e,t){const r=cn._sentryDebugIds;if(!r)return;let n;const i=PH.get(t);i?n=i:(n=new Map,PH.set(t,n));const a=Object.entries(r).reduce((o,[s,l])=>{let c;const u=n.get(s);u?c=u:(c=t(s),n.set(s,c));for(let d=c.length-1;d>=0;d--){const f=c[d];if(f.filename){o[f.filename]=l;break}}return o},{});try{e.exception.values.forEach(o=>{o.stacktrace.frames.forEach(s=>{s.filename&&(s.debug_id=a[s.filename])})})}catch{}}function QNe(e){const t={};try{e.exception.values.forEach(n=>{n.stacktrace.frames.forEach(i=>{i.debug_id&&(i.abs_path?t[i.abs_path]=i.debug_id:i.filename&&(t[i.filename]=i.debug_id),delete i.debug_id)})})}catch{}if(Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const r=e.debug_meta.images;Object.entries(t).forEach(([n,i])=>{r.push({type:"sourcemap",code_file:n,debug_id:i})})}function JNe(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function e5e(e,t,r){if(!e)return null;const n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:rh(i.data,t,r)}}))},...e.user&&{user:rh(e.user,t,r)},...e.contexts&&{contexts:rh(e.contexts,t,r)},...e.extra&&{extra:rh(e.extra,t,r)}};return e.contexts&&e.contexts.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=rh(e.contexts.trace.data,t,r))),e.spans&&(n.spans=e.spans.map(i=>({...i,...i.data&&{data:rh(i.data,t,r)}}))),n}function t5e(e,t){if(!t)return e;const r=e?e.clone():new Gh;return r.update(t),r}function r5e(e){if(e)return n5e(e)?{captureContext:e}:a5e(e)?{captureContext:e}:e}function n5e(e){return e instanceof Gh||typeof e=="function"}const i5e=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function a5e(e){return Object.keys(e).some(t=>i5e.includes(t))}function Die(e,t){return Un().captureException(e,r5e(t))}function Nie(e,t){return Un().captureEvent(e,t)}function o5e(e,t){gc().setContext(e,t)}function s5e(e){gc().setUser(e)}function l5e(){return gc().lastEventId()}function AH(e){const t=Sn(),r=gc(),n=Un(),{release:i,environment:a=G6}=t&&t.getOptions()||{},{userAgent:o}=cn.navigator||{},s=rNe({release:i,environment:a,user:n.getUser()||r.getUser(),...o&&{userAgent:o},...e}),l=r.getSession();return l&&l.status==="ok"&&Lv(l,{status:"exited"}),Mie(),r.setSession(s),n.setSession(s),s}function Mie(){const e=gc(),t=Un(),r=t.getSession()||e.getSession();r&&nNe(r),Lie(),e.setSession(),t.setSession()}function Lie(){const e=gc(),t=Un(),r=Sn(),n=t.getSession()||e.getSession();n&&r&&r.captureSession(n)}function OH(e=!1){if(e){Mie();return}Lie()}const c5e="7";function Bie(e){const t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}function u5e(e){return`${Bie(e)}${e.projectId}/envelope/`}function d5e(e,t){return dDe({sentry_key:e.publicKey,sentry_version:c5e,...t&&{sentry_client:`${t.name}/${t.version}`}})}function f5e(e,t,r){return t||`${u5e(e)}?${d5e(e,r)}`}function h5e(e,t){const r=eie(e);if(!r)return"";const n=`${Bie(r)}embed/error-page/`;let i=`dsn=${py(r)}`;for(const a in t)if(a!=="dsn"&&a!=="onClose")if(a==="user"){const o=t.user;if(!o)continue;o.name&&(i+=`&name=${encodeURIComponent(o.name)}`),o.email&&(i+=`&email=${encodeURIComponent(o.email)}`)}else i+=`&${encodeURIComponent(a)}=${encodeURIComponent(t[a])}`;return`${n}?${i}`}const IH=[];function p5e(e){const t={};return e.forEach(r=>{const{name:n}=r,i=t[n];i&&!i.isDefaultInstance&&r.isDefaultInstance||(t[n]=r)}),Object.values(t)}function m5e(e){const t=e.defaultIntegrations||[],r=e.integrations;t.forEach(o=>{o.isDefaultInstance=!0});let n;Array.isArray(r)?n=[...t,...r]:typeof r=="function"?n=fie(r(t)):n=t;const i=p5e(n),a=i.findIndex(o=>o.name==="Debug");if(a>-1){const[o]=i.splice(a,1);i.push(o)}return i}function g5e(e,t){const r={};return t.forEach(n=>
396{n&&Uie(e,n,r)}),r}function RH(e,t){for(const r of t)r&&r.afterAllSetup&&r.afterAllSetup(e)}function Uie(e,t,r){if(r[t.name]){Tr&&vt.log(`Integration skipped because it was already installed: ${t.name}`);return}if(r[t.name]=t,IH.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),IH.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",(i,a)=>n(i,a,e))}if(typeof t.processEvent=="function"){const n=t.processEvent.bind(t),i=Object.assign((a,o)=>n(a,o,e),{id:t.name});e.addEventProcessor(i)}Tr&&vt.log(`Integration installed: ${t.name}`)}const FH="Not capturing exception because it's already been captured.";class v5e{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=eie(t.dsn):Tr&&vt.warn("No DSN provided, client will not send events."),this._dsn){const r=f5e(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:r})}}captureException(t,r,n){const i=ui();if(fH(t))return Tr&&vt.log(FH),i;const a={event_id:i,...r};return this._process(this.eventFromException(t,a).then(o=>this._captureEvent(o,a,n))),a.event_id}captureMessage(t,r,n,i){const a={event_id:ui(),...n},o=U6(t)?t:String(t),s=z6(t)?this.eventFromMessage(o,r,a):this.eventFromException(t,a);return this._process(s.then(l=>this._captureEvent(l,a,i))),a.event_id}captureEvent(t,r,n){const i=ui();if(r&&r.originalException&&fH(r.originalException))return Tr&&vt.log(FH),i;const a={event_id:i,...r},s=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,a,s||n)),a.event_id}captureSession(t){typeof t.release!="string"?Tr&&vt.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),Lv(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const r=this._transport;
396return r?(this.emit("flush"),this._isClientDoneProcessing(t).then(n=>r.flush(t).then(i=>n&&i))):Lm(!0)}close(t){return this.flush(t).then(r=>(this.getOptions().enabled=!1,this.emit("close"),r))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const r=this._integrations[t.name];Uie(this,t,this._integrations),r||RH(this,[t])}sendEvent(t,r={}){this.emit("beforeSendEvent",t,r);let n=ANe(t,this._dsn,this._options._metadata,this._options.tunnel);for(const a of r.attachments||[])n=qDe(n,GDe(a));const i=this.sendEnvelope(n);i&&i.then(a=>this.emit("afterSendEvent",t,a),null)}sendSession(t){const r=PNe(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(r)}recordDroppedEvent(t,r,n){if(this._options.sendClientReports){const i=typeof n=="number"?n:1,a=`${t}:${r}`;Tr&&vt.log(`Recording outcome: "${a}"${i>1?` (${i} times)`:""}`),this._outcomes[a]=(this._outcomes[a]||0)+i}}on(t,r){const n=this._hooks[t]=this._hooks[t]||[];return n.push(r),()=>{const i=n.indexOf(r);i>-1&&n.splice(i,1)}}emit(t,...r){const n=this._hooks[t];n&&n.forEach(i=>i(...r))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,r=>(Tr&&vt.error("Error while sending event:",r),r)):(Tr&&vt.error("Transport disabled"),Lm({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=g5e(this,t),RH(this,t)}_updateSessionFromEvent(t,r){let n=!1,i=!1;const a=r.exception&&r.exception.values;if(a){i=!0;for(const l of a){const c=l.mechanism;if(c&&c.handled===!1){n=!0;break}}}const o=t.status==="ok";(o&&t.errors===0||o&&n)&&(Lv(t,{...n&&{status:"crashed"},errors:t.errors||Number(i||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new Bl(r=>{let n=0;const i=1,a=setInterval(()=>{this._numProcessing==0?(clearInterval(a),r(!0)):(n+=i,t&&n>=t&&(clearInterval(a),r(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,r,n,i=gc()){const a=this.getOptions(),o=Object.keys(this._integrations);return!r.integrations&&o.length>0&&(r.integrations=o),this.emit("preprocessEvent",t,r),t.type||i.setLastEventId(t.event_id||r.event_id),YNe(a,t,r,n,this,i).then(s=>{if(s===null)return s;const l={...i.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(s.contexts&&s.contexts.trace)&&l){const{traceId:u,spanId:d,parentSpanId:f,dsc:h}=l;s.contexts={trace:Fa({trace_id:u,span_id:d,parent_span_id:f}),...s.contexts};const p=h||eA(u,this);s.sdkProcessingMetadata={dynamicSamplingContext:p,...s.sdkProcessingMetadata}}return s})}_captureEvent(t,r={},n){return this._processEvent(t,r,n).then(i=>i.event_id,i=>{if(Tr){const a=i;a.logLevel==="log"?vt.log(a.message):vt.warn(a)}})}_processEvent(t,r,n){const i=this.getOptions(),{sampleRate:a}=i,o=Hie(t),s=zie(t),l=t.type||"error",c=`before send for type \`${l}\``,u=typeof a>"u"?void 0:Aie(a);if(s&&typeof u=="number"&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error",t),gT(new Wu(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"));const d=l==="replay_event"?"replay":l,h=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,r,n,h).then(p=>{if(p===null)throw this.recordDroppedEvent("event_processor",d,t),new Wu("An event processor returned `null`, will not send event.","log");if(r.data&&r.data.__sentry__===!0)return p;const v=b5e(this,i,p,r);return y5e(v,c)}).then(p=>{if(p===null){if(this.recordDroppedEvent("before_send",d,t),o){const b=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",b)}throw new Wu(`${c} returned \`null\`, will not send event.`,"log")}const g=n&&n.getSession();if(!o&&g&&this._updateSessionFromEvent(g,p),o){const m=p.sdkProcessingMetadata&&p.sdkProcessingMetadata.spanCountBeforeProcessing||0,b=p.spans?p.spans.length:0,y=m-b;y>0&&this.recordDroppedEvent("before_send","span",y)}const v=p.transaction_info;if(o&&v&&p.transaction!==t.transaction){const m="custom";p.transaction_info={...v,source:m}}return this.sendEvent(p,r),p}).then(null,p=>{throw p instanceof Wu?p:(this.captureException(p,{data:{__sentry__:!0},originalException:p}),new Wu(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
397Reason: ${p}`))})}_process(t){this._numProcessing++,t.then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([r,n])=>{const[i,a]=r.split(":");return{reason:i,category:a,quantity:n}})}_flushOutcomes(){Tr&&vt.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){Tr&&vt.log("No outcomes to send");return}if(!this._dsn){Tr&&vt.log("No dsn provided, will not send outcomes");return}Tr&&vt.log("Sending outcomes:",t);const r=YDe(t,this._options.tunnel&&py(this._dsn));this.sendEnvelope(r)}}function y5e(e,t){const r=`${t} must return \`null\` or a valid event.`;if(YP(e))return e.then(n=>{if(!Mv(n)&&n!==null)throw new Wu(r);return n},n=>{throw new Wu(`${t} rejected with ${n}`)});if(!Mv(e)&&e!==null)throw new Wu(r);return e}function b5e(e,t,r,n){const{beforeSend:i,beforeSendTransaction:a,beforeSendSpan:o}=t;if(zie(r)&&i)return i(r,n);if(Hie(r)){if(r.spans&&o){const s=[];for(const l of r.spans){const c=o(l);c?s.push(c):e.recordDroppedEvent("before_send","span")}r.spans=s}if(a){if(r.spans){const s=r.spans.length;r.sdkProcessingMetadata={...r.sdkProcessingMetadata,spanCountBeforeProcessing:s}}return a(r,n)}}return r}function zie(e){return e.type===void 0}function Hie(e){return e.type==="transaction"}function S5e(e,t){t.debug===!0&&(Tr?vt.enable():Ex(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),Un().update(t.initialScope);const n=new e(t);return w5e(n),n.init(),n}function w5e(e){Un().setClient(e)}const x5e=64;function C5e(e,t,r=RDe(e.bufferSize||x5e)){let n={};const i=o=>r.drain(o);function a(o){const s=[];if(mH(o,(d,f)=>{const h=gH(f);if(JDe(n,h)){const p=DH(d,f);e.recordDroppedEvent("ratelimit_backoff",h,p)}else s.push(d)}),s.length===0)return Lm({});const l=my(o[0],s),c=d=>{mH(l,(f,h)=>{const p=DH(f,h);
397e.recordDroppedEvent(d,gH(h),p)})},u=()=>t({body:WDe(l)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&Tr&&vt.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),n=eNe(n,d),d),d=>{throw c("network_error"),d});return r.add(u).then(d=>d,d=>{if(d instanceof Wu)return Tr&&vt.error("Skipped sending event because buffer is full."),c("queue_overflow"),Lm({});throw d})}return{send:a,flush:i}}function DH(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}function qie(e,t,r=[t],n="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:r.map(a=>({name:`${n}:@sentry/${a}`,version:cm})),version:cm}),e._metadata=i}const E5e=100;function Bm(e,t){const r=Sn(),n=gc();if(!r)return;const{beforeBreadcrumb:i=null,maxBreadcrumbs:a=E5e}=r.getOptions();if(a<=0)return;const s={timestamp:kx(),...e},l=i?Ex(()=>i(s,t)):s;l!==null&&(r.emit&&r.emit("beforeAddBreadcrumb",l,t),n.addBreadcrumb(l,a))}let NH;const k5e="FunctionToString",MH=new WeakMap,T5e=()=>({name:k5e,setupOnce(){NH=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=H6(this),r=MH.has(Sn())&&t!==void 0?t:this;return NH.apply(r,e)}}catch{}},setup(e){MH.set(e,!0)}}),_5e=T5e,P5e=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],A5e="InboundFilters",O5e=(e={})=>({name:A5e,processEvent(t,r,n){const i=n.getOptions(),a=R5e(e,i);return F5e(t,a)?null:t}}),I5e=O5e;function R5e(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:P5e],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function F5e(e,t){return t.ignoreInternal&&U5e(e)?(Tr&&vt.warn(`Event dropped due to being internal Sentry Error.
398Event: ${th(e)}`),!0):D5e(e,t.ignoreErrors)?(Tr&&vt.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
399Event: ${th(e)}`),!0):H5e(e)?(Tr&&vt.warn(`Event dropped due to not having an error message, error type or stacktrace.
400Event: ${th(e)}`),!0):N5e(e,t.ignoreTransactions)?(Tr&&vt.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
401Event: ${th(e)}`),!0):M5e(e,t.denyUrls)?(Tr&&vt.warn(`Event dropped due to being matched by \`denyUrls\` option.
402Event: ${th(e)}.
403Url: ${bT(e)}`),!0):L5e(e,t.allowUrls)?!1:(Tr&&vt.warn(`Event dropped due to not being matched by \`allowUrls\` option.
404Event: ${th(e)}.
405Url: ${bT(e)}`),!0)}function D5e(e,t){return e.type||!t||!t.length?!1:B5e(e).some(r=>lm(r,t))}function N5e(e,t){if(e.type!=="transaction"||!t||!t.length)return!1;const r=e.transaction;return r?lm(r,t):!1}function M5e(e,t){if(!t||!t.length)return!1;const r=bT(e);return r?lm(r,t):!1}function L5e(e,t){if(!t||!t.length)return!0;const r=bT(e);return r?lm(r,t):!0}function B5e(e){const t=[];e.message&&t.push(e.message);let r;try{r=e.exception.values[e.exception.values.length-1]}catch{}return r&&r.value&&(t.push(r.value),r.type&&t.push(`${r.type}: ${r.value}`)),t}function U5e(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function z5e(e=[]){for(let t=e.length-1;t>=0;t--){const r=e[t];if(r&&r.filename!=="<anonymous>"&&r.filename!=="[native code]")return r.filename||null}return null}function bT(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?z5e(t):null}catch{return Tr&&vt.error(`Cannot extract url for event ${th(e)}`),null}}function H5e(e){return e.type||!e.exception||!e.exception.values||e.exception.values.length===0?!1:!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value)}const q5e="Dedupe",W5e=()=>{let e;return{name:q5e,processEvent(t){if(t.type)return t;try{if(j5e(t,e))return Tr&&vt.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}},V5e=W5e;function j5e(e,t){return t?!!(G5e(e,t)||K5e(e,t)):!1}function G5e(e,t){const r=e.message,n=t.message;return!(!r&&!n||r&&!n||!r&&n||r!==n||!Vie(e,t)||!Wie(e,t))}function K5e(e,t){const r=LH(t),n=LH(e);return!(!r||!n||r.type!==n.type||r.value!==n.value||!Vie(e,t)||!Wie(e,t))}function Wie(e,t){let r=cH(e),n=cH(t);if(!r&&!n)return!0;
405if(r&&!n||!r&&n||(r=r,n=n,n.length!==r.length))return!1;for(let i=0;i<n.length;i++){const a=n[i],o=r[i];if(a.filename!==o.filename||a.lineno!==o.lineno||a.colno!==o.colno||a.function!==o.function)return!1}return!0}function Vie(e,t){let r=e.fingerprint,n=t.fingerprint;if(!r&&!n)return!0;if(r&&!n||!r&&n)return!1;r=r,n=n;try{return r.join("")===n.join("")}catch{return!1}}function LH(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Z5e(e,t,r,n,i="auto.http.browser"){if(!e.fetchData)return;const a=ff()&&t(e.fetchData.url);if(e.endTimestamp&&a){const p=e.fetchData.__span;if(!p)return;const g=n[p];g&&(X5e(g,e),delete n[p]);return}const o=Un(),s=Sn(),{method:l,url:c}=e.fetchData,u=$5e(c),d=u?um(u).host:void 0,f=!!Eo(),h=a&&f?up({name:`${l} ${c}`,attributes:{url:c,type:"fetch","http.method":l,"http.url":u,"server.address":d,[Ki]:i,[df]:"http.client"}}):new vy;if(e.fetchData.__span=h.spanContext().spanId,n[h.spanContext().spanId]=h,r(e.fetchData.url)&&s){const p=e.args[0];e.args[1]=e.args[1]||{};const g=e.args[1];g.headers=Y5e(p,s,o,g,ff()&&f?h:void 0)}return h}function Y5e(e,t,r,n,i){const a=gc(),{traceId:o,spanId:s,sampled:l,dsc:c}={...a.getPropagationContext(),...r.getPropagationContext()},u=i?Cie(i):q6(o,s,l),d=gie(c||(i?f0(i):eA(o,t))),f=n.headers||(typeof Request<"u"&&cf(e,Request)?e.headers:void 0);if(f)if(typeof Headers<"u"&&cf(f,Headers)){const h=new Headers(f);return h.append("sentry-trace",u),d&&h.append(k4,d),h}else if(Array.isArray(f)){const h=[...f,["sentry-trace",u]];return d&&h.push([k4,d]),h}else{const h="baggage"in f?f.baggage:void 0,p=[];return Array.isArray(h)?p.push(...h):h&&p.push(h),d&&p.push(d),{...f,"sentry-trace":u,baggage:p.length>0?p.join(","):void 0}}else return{"sentry-trace":u,baggage:d}}function $5e(e){try{return new URL(e).href}catch{return}}function X5e(e,t){if(t.response){Sie(e,t.response.status);const r=t.response&&t.response.headers&&t.response.headers.get("content-length");if(r){const n=parseInt(r);n>0&&e.setAttribute("http.response_content_length",n)}}else t.error&&e.setStatus({code:ha,message:"internal_error"});e.end()}const Kt=cn;let F4=0;function jie(){return F4>0}function Q5e(){F4++,setTimeout(()=>{F4--})}function Uv(e,t={},r){if(typeof e!="function")return e;try{const i=e.__sentry_wrapped__;if(i)return typeof i=="function"?i:e;if(H6(e))return e}catch{return e}const n=function(){const i=Array.prototype.slice.call(arguments);try{const a=i.map(o=>Uv(o,t));return e.apply(this,a)}catch(a){throw Q5e(),XP(o=>{o.addEventProcessor(s=>(t.mechanism&&(C4(s,void 0),iw(s,t.mechanism)),s.extra={...s.extra,arguments:i},s)),Die(a)}),a}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}catch{}tie(n,e),lc(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get(){return e.name}})}catch{}return n}const Ss=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__;function Z6(e,t){const r=Y6(e,t),n={type:t&&t.name,value:n6e(t)};return r.length&&(n.stacktrace={frames:r}),n.type===void 0&&n.value===""&&(n.value="Unrecoverable error caught"),n}function J5e(e,t,r,n){const i=Sn(),a=i&&i.getOptions().normalizeDepth,o=l6e(t),s={__serialized__:hie(t,a)};if(o)return{exception:{values:[Z6(e,o)]},extra:s};const l={exception:{values:[{type:ZP(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:o6e(t,{isUnhandledRejection:n})}]},extra:s};if(r){const c=Y6(e,r);c.length&&(l.exception.values[0].stacktrace={frames:c})}return l}function BI(e,t){return{exception:{values:[Z6(e,t)]}}}function Y6(e,t){const r=t.stacktrace||t.stack||"",n=t6e(t),i=r6e(t);try{return e(r,n,i)}catch{}return[]}const e6e=/Minified React error #\d+;/i;function t6e(e){return e&&e6e.test(e.message)?1:0}function r6e(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function n6e(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function i6e(e,t,r,n){const i=r&&r.syntheticException||void 0,a=$6(e,t,i,n);return iw(a),a.level="error",r&&r.event_id&&(a.event_id=r.event_id),Lm(a)}function a6e(e,t,r="info",n,i){const a=n&&n.syntheticException||void 0,o=D4(e,t,a,i);return o.level=r,n&&n.event_id&&(o.event_id=n.event_id),Lm(o)}function $6(e,t,r,n,i){let a;if(Yne(t)&&t.error)return BI(e,t.error);if(tH(t)||Z4e(t)){const o=t;if("stack"in t)a=BI(e,t);else{const s=o.name||(tH(o)?"DOMError":"DOMException"),l=o.message?`${s}: ${o.message}`:s;a=D4(e,l,r,n),C4(a,l)}return"code"in o&&(a.tags={...a.tags,"DOMException.code":`${o.code}`}),a}
405return KP(t)?BI(e,t):Mv(t)||ZP(t)?(a=J5e(e,t,r,i),iw(a,{synthetic:!0}),a):(a=D4(e,t,r,n),C4(a,`${t}`),iw(a,{synthetic:!0}),a)}function D4(e,t,r,n){const i={};if(n&&r){const a=Y6(e,r);a.length&&(i.exception={values:[{value:t,stacktrace:{frames:a}}]})}if(U6(t)){const{__sentry_template_string__:a,__sentry_template_values__:o}=t;return i.logentry={message:a,params:o},i}return i.message=t,i}function o6e(e,{isUnhandledRejection:t}){const r=fDe(e),n=t?"promise rejection":"exception";return Yne(e)?`Event \`ErrorEvent\` captured as ${n} with message \`${e.message}\``:ZP(e)?`Event \`${s6e(e)}\` (type=${e.type}) captured as ${n}`:`Object captured as ${n} with keys: ${r}`}function s6e(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function l6e(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=e[t];if(r instanceof Error)return r}}function c6e(e,{metadata:t,tunnel:r,dsn:n}){const i={event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!r&&!!n&&{dsn:py(n)}},a=u6e(e);return my(i,[a])}function u6e(e){return[{type:"user_report"},e]}class d6e extends v5e{constructor(t){const r={parentSpanIsAlwaysRootSpan:!0,...t},n=Kt.SENTRY_SDK_SOURCE||TDe();qie(r,"browser",["browser"],n),super(r),r.sendClientReports&&Kt.document&&Kt.document.addEventListener("visibilitychange",()=>{Kt.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,r){return i6e(this._options.stackParser,t,r,this._options.attachStacktrace)}eventFromMessage(t,r="info",n){return a6e(this._options.stackParser,t,r,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled()){Ss&&vt.warn("SDK not enabled, will not capture user feedback.");return}const r=c6e(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(r)}_prepareEvent(t,r,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,r,n)}}const nl=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,f6e=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",yy=(e,t,r,n)=>{let i,a;return o=>{t.value>=0&&(o||n)&&(a=t.value-(i||0),(a||i===void 0)&&(i=t.value,t.delta=a,t.rating=f6e(t.value,r),e(t)))}},ur=cn,h6e=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,_x=()=>ur.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],Px=()=>{const e=_x();return e&&e.activationStart||0},by=(e,t)=>{const r=_x();let n="navigate";return r&&(ur.document&&ur.document.prerendering||Px()>0?n="prerender":ur.document&&ur.document.wasDiscarded?n="restore":r.type&&(n=r.type.replace(/_/g,"-"))),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:h6e(),navigationType:n}},h0=(e,t,r)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const n=new PerformanceObserver(i=>{Promise.resolve().then(()=>{t(i.getEntries())})});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch{}},Ax=e=>{const t=r=>{(r.type==="pagehide"||ur.document&&ur.document.visibilityState==="hidden")&&e(r)};ur.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},X6=e=>{let t=!1;return r=>{t||(e(r),t=!0)}};let ow=-1;const p6e=()=>{ow=ur.document.visibilityState==="hidden"&&!ur.document.prerendering?0:1/0},ST=e=>{ur.document.visibilityState==="hidden"&&ow>-1&&(ow=e.type==="visibilitychange"?e.timeStamp:0,removeEventListener("visibilitychange",ST,!0),removeEventListener("prerenderingchange",ST,!0))},m6e=()=>{addEventListener("visibilitychange",ST,!0),addEventListener("prerenderingchange",ST,!0)},tA=()=>(ur.document&&ow<0&&(p6e(),m6e()),{get firstHiddenTime(){return ow}}),Ox=e=>{ur.document&&ur.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},g6e=[1800,3e3],v6e=(e,t={})=>{Ox(()=>{const r=tA(),n=by("FCP");let i;const o=h0("paint",s=>{s.forEach(l=>{l.name==="first-contentful-paint"&&(o.disconnect(),l.startTime<r.firstHiddenTime&&(n.value=Math.max(l.startTime-Px(),0),n.entries.push(l),i(!0)))})});o&&(i=yy(e,n,g6e,t.reportAllChanges))})},y6e=[.1,.25],b6e=(e,t={})=>{v6e(X6(()=>{const r=by("CLS",0);let n,i=0,a=[];const o=l=>{l.forEach(c=>{if(!c.hadRecentInput){const u=a[0],d=a[a.length-1];i&&u&&d&&c.startTime-d.startTime<1e3&&c.startTime-u.startTime<5e3?(i+=c.value,a.push(c)):(i=c.value,a=[c])}}),i>r.value&&(r.value=i,r.entries=a,n())},s=h0("layout-shift",o);s&&(n=yy(e,r,y6e,t.reportAllChanges),Ax(()=>{o(s.takeRecords()),n(!0)}),setTimeout(n,0))}
405))},S6e=[100,300],w6e=(e,t={})=>{Ox(()=>{const r=tA(),n=by("FID");let i;const a=l=>{l.startTime<r.firstHiddenTime&&(n.value=l.processingStart-l.startTime,n.entries.push(l),i(!0))},o=l=>{l.forEach(a)},s=h0("first-input",o);i=yy(e,n,S6e,t.reportAllChanges),s&&Ax(X6(()=>{o(s.takeRecords()),s.disconnect()}))})};let Gie=0,UI=1/0,vC=0;const x6e=e=>{e.forEach(t=>{t.interactionId&&(UI=Math.min(UI,t.interactionId),vC=Math.max(vC,t.interactionId),Gie=vC?(vC-UI)/7+1:0)})};let N4;const C6e=()=>N4?Gie:performance.interactionCount||0,E6e=()=>{"interactionCount"in performance||N4||(N4=h0("event",x6e,{type:"event",buffered:!0,durationThreshold:0}))},k6e=[200,500],T6e=0,Kie=()=>C6e()-T6e,BH=10,Ld=[],zI={},UH=e=>{const t=Ld[Ld.length-1],r=zI[e.interactionId];if(r||Ld.length<BH||t&&e.duration>t.latency){if(r)r.entries.push(e),r.latency=Math.max(r.latency,e.duration);else{const n={id:e.interactionId,latency:e.duration,entries:[e]};zI[n.id]=n,Ld.push(n)}Ld.sort((n,i)=>i.latency-n.latency),Ld.splice(BH).forEach(n=>{delete zI[n.id]})}},_6e=()=>{const e=Math.min(Ld.length-1,Math.floor(Kie()/50));return Ld[e]},P6e=(e,t={})=>{Ox(()=>{E6e();const r=by("INP");let n;const i=o=>{o.forEach(l=>{l.interactionId&&UH(l),l.entryType==="first-input"&&!Ld.some(u=>u.entries.some(d=>l.duration===d.duration&&l.startTime===d.startTime))&&UH(l)});const s=_6e();s&&s.latency!==r.value&&(r.value=s.latency,r.entries=s.entries,n())},a=h0("event",i,{durationThreshold:t.durationThreshold!=null?t.durationThreshold:40});n=yy(e,r,k6e,t.reportAllChanges),a&&("PerformanceEventTiming"in ur&&"interactionId"in PerformanceEventTiming.prototype&&a.observe({type:"first-input",buffered:!0}),Ax(()=>{i(a.takeRecords()),r.value<0&&Kie()>0&&(r.value=0,r.entries=[]),n(!0)}))})},A6e=[2500,4e3],zH={},O6e=(e,t={})=>{Ox(()=>{const r=tA(),n=by("LCP");let i;const a=s=>{const l=s[s.length-1];l&&l.startTime<r.firstHiddenTime&&(n.value=Math.max(l.startTime-Px(),0),n.entries=[l],i())},o=h0("largest-contentful-paint",a);if(o){i=yy(e,n,A6e,t.reportAllChanges);const s=X6(()=>{zH[n.id]||(a(o.takeRecords()),o.disconnect(),zH[n.id]=!0,i(!0))});["keydown","click"].forEach(l=>{ur.document&&addEventListener(l,()=>setTimeout(s,0),!0)}),Ax(s)}})},I6e=[800,1800],M4=e=>{ur.document&&ur.document.prerendering?Ox(()=>M4(e)):ur.document&&ur.document.readyState!=="complete"?addEventListener("load",()=>M4(e),!0):setTimeout(e,0)},R6e=(e,t={})=>{const r=by("TTFB"),n=yy(e,r,I6e,t.reportAllChanges);M4(()=>{const i=_x();if(i){const a=i.responseStart;if(a<=0||a>performance.now())return;r.value=Math.max(a-Px(),0),r.entries=[i],n(!0)}})},Ib={},wT={};let Zie,Yie,$ie,Xie,Qie;function Jie(e,t=!1){return Ix("cls",e,L6e,Zie,t)}function F6e(e,t=!1){return Ix("lcp",e,U6e,$ie,t)}function D6e(e){return Ix("fid",e,B6e,Yie)}function N6e(e){return Ix("ttfb",e,z6e,Xie)}function M6e(e){return Ix("inp",e,H6e,Qie)}function sw(e,t){return eae(e,t),wT[e]||(q6e(e),wT[e]=!0),tae(e,t)}function Sy(e,t){const r=Ib[e];if(!(!r||!r.length))for(const n of r)try{n(t)}catch(i){nl&&vt.error(`Error while triggering instrumentation handler.
406Type: ${e}
407Name: ${uf(n)}
408Error:`,i)}}function L6e(){return b6e(e=>{Sy("cls",{metric:e}),Zie=e},{reportAllChanges:!0})}function B6e(){return w6e(e=>{Sy("fid",{metric:e}),Yie=e})}function U6e(){return O6e(e=>{Sy("lcp",{metric:e}),$ie=e},{reportAllChanges:!0})}function z6e(){return R6e(e=>{Sy("ttfb",{metric:e}),Xie=e})}function H6e(){return P6e(e=>{Sy("inp",{metric:e}),Qie=e})}function Ix(e,t,r,n,i=!1){eae(e,t);let a;return wT[e]||(a=r(),wT[e]=!0),n&&t({metric:n}),tae(e,t,i?a:void 0)}function q6e(e){const t={};e==="event"&&(t.durationThreshold=0),h0(e,r=>{Sy(e,{entries:r})},t)}function eae(e,t){Ib[e]=Ib[e]||[],Ib[e].push(t)}function tae(e,t,r){return()=>{r&&r();const n=Ib[e];if(!n)return;const i=n.indexOf(t);i!==-1&&n.splice(i,1)}}function W6e(e){return"duration"in e}function HI(e){return typeof e=="number"&&isFinite(e)}function zv(e,t,r,{...n}){const i=ln(e).start_timestamp;return i&&i>t&&typeof e.updateStartTime=="function"&&e.updateStartTime(t),Iie(e,()=>{const a=up({startTime:t,...n});return a&&a.end(r),a})}function rae(e){const t=Sn();if(!t)return;const{name:r,transaction:n,attributes:i,startTime:a}=e,{release:o,environment:s}=t.getOptions(),l=t.getIntegrationByName("Replay"),c=l&&l.getReplayId(),u=Un(),d=u.getUser(),f=d!==void 0?d.email||d.id||d.ip_address:void 0;let h;try{h=u.getScopeData().contexts.profile.profile_id}catch{}const p={release:o,environment:s,user:f||void 0,profile_id:h||void 0,replay_id:c||void 0,transaction:n,"user_agent.original":ur.navigator&&ur.navigator.userAgent,...i};
408return up({name:r,attributes:p,startTime:a,experimental:{standalone:!0}})}function Q6(){return ur&&ur.addEventListener&&ur.performance}function Ii(e){return e/1e3}function V6e(){let e=0,t,r;if(!G6e())return;let n=!1;function i(){n||(n=!0,r&&j6e(e,t,r),a())}const a=Jie(({metric:o})=>{const s=o.entries[o.entries.length-1];s&&(e=o.value,t=s)},!0);Ax(()=>{i()}),setTimeout(()=>{const o=Sn(),s=Hd([o,"optionalAccess",d=>d.on,"call",d=>d("startNavigationSpan",()=>{i(),s&&s()})]),l=Eo(),c=l&&za(l),u=c&&ln(c);u&&u.op==="pageload"&&(r=c.spanContext().spanId)},0)}function j6e(e,t,r){nl&&vt.log(`Sending CLS span (${e})`);const n=Ii((Es||0)+(Hd([t,"optionalAccess",l=>l.startTime])||0)),i=Un().getScopeData().transactionName,a=t?Nm(Hd([t,"access",l=>l.sources,"access",l=>l[0],"optionalAccess",l=>l.node])):"Layout shift",o=Fa({[Ki]:"auto.http.browser.cls",[df]:"ui.webvital.cls",[j6]:Hd([t,"optionalAccess",l=>l.duration])||0,"sentry.pageload.span_id":r}),s=rae({name:a,transaction:i,attributes:o,startTime:n});Hd([s,"optionalAccess",l=>l.addEvent,"call",l=>l("cls",{[QP]:"",[JP]:e})]),Hd([s,"optionalAccess",l=>l.end,"call",l=>l(n)])}function G6e(){try{return Hd([PerformanceObserver,"access",e=>e.supportedEntryTypes,"optionalAccess",e=>e.includes,"call",e=>e("layout-shift")])}catch{return!1}}const K6e=2147483647;let HH=0,Aa={},Du,Rb;function Z6e({recordClsStandaloneSpans:e}){const t=Q6();if(t&&Es){t.mark&&ur.performance.mark("sentry-tracing-init");const r=e8e(),n=J6e(),i=t8e(),a=e?V6e():Q6e();return()=>{r(),n(),i(),a&&a()}}return()=>{}}function Y6e(){sw("longtask",({entries:e})=>{if(Eo())for(const t of e){const r=Ii(Es+t.startTime),n=Ii(t.duration),i=up({name:"Main UI thread blocked",op:"ui.long-task",startTime:r,attributes:{[Ki]:"auto.ui.browser.metrics"}});i&&i.end(r+n)}})}function $6e(){new PerformanceObserver(t=>{if(Eo())for(const r of t.getEntries()){if(!r.scripts[0])continue;const n=Ii(Es+r.startTime),i=Ii(r.duration),a={[Ki]:"auto.ui.browser.metrics"},o=r.scripts[0],{invoker:s,invokerType:l,sourceURL:c,sourceFunctionName:u,sourceCharPosition:d}=o;a["browser.script.invoker"]=s,a["browser.script.invoker_type"]=l,c&&(a["code.filepath"]=c),u&&(a["code.function"]=u),d!==-1&&(a["browser.script.source_char_position"]=d);const f=up({name:"Main UI thread blocked",op:"ui.long-animation-frame",startTime:n,attributes:a});f&&f.end(n+i)}}).observe({type:"long-animation-frame",buffered:!0})}function X6e(){sw("event",({entries:e})=>{if(Eo()){for(const t of e)if(t.name==="click"){const r=Ii(Es+t.startTime),n=Ii(t.duration),i={name:Nm(t.target),op:`ui.interaction.${t.name}`,startTime:r,attributes:{[Ki]:"auto.ui.browser.metrics"}},a=Qne(t.target);a&&(i.attributes["ui.component_name"]=a);const o=up(i);o&&o.end(r+n)}}})}function Q6e(){return Jie(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(nl&&vt.log(`[Measurements] Adding CLS ${e.value}`),Aa.cls={value:e.value,unit:""},Rb=t)},!0)}function J6e(){return F6e(({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(nl&&vt.log("[Measurements] Adding LCP"),Aa.lcp={value:e.value,unit:"millisecond"},Du=t)},!0)}function e8e(){return D6e(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const r=Ii(Es),n=Ii(t.startTime);nl&&vt.log("[Measurements] Adding FID"),Aa.fid={value:e.value,unit:"millisecond"},Aa["mark.fid"]={value:r+n,unit:"second"}})}function t8e(){return N6e(({metric:e})=>{e.entries[e.entries.length-1]&&(nl&&vt.log("[Measurements] Adding TTFB"),Aa.ttfb={value:e.value,unit:"millisecond"})})}function r8e(e,t){const r=Q6();if(!r||!ur.performance.getEntries||!Es)return;nl&&vt.log("[Tracing] Adding & adjusting spans using Performance API");const n=Ii(Es),i=r.getEntries(),{op:a,start_timestamp:o}=ln(e);if(i.slice(HH).forEach(s=>{const l=Ii(s.startTime),c=Ii(Math.max(0,s.duration));if(!(a==="navigation"&&o&&n+l<o))switch(s.entryType){case"navigation":{i8e(e,s,n);break}case"mark":case"paint":case"measure":{n8e(e,s,l,c,n);const u=tA(),d=s.startTime<u.firstHiddenTime;s.name==="first-paint"&&d&&(nl&&vt.log("[Measurements] Adding FP"),Aa.fp={value:s.startTime,unit:"millisecond"}),s.name==="first-contentful-paint"&&d&&(nl&&vt.log("[Measurements] Adding FCP"),Aa.fcp={value:s.startTime,unit:"millisecond"});break}case"resource":{o8e(e,s,s.name,l,c,n);break}}}),HH=Math.max(i.length-1,0),s8e(e),a==="pageload"){c8e(Aa);const s=Aa["mark.fid"];s&&Aa.fid&&(zv(e,s.value,s.value+Ii(Aa.fid.value),{name:"first input delay",op:"ui.action",attributes:{[Ki]:"auto.ui.browser.metrics"}}),delete Aa["mark.fid"]),(!("fcp"in Aa)||!t.recordClsOnPageloadSpan)&&delete Aa.cls,Object.entries(Aa).forEac
408h(([l,c])=>{INe(l,c.value,c.unit)}),e.setAttribute("performance.timeOrigin",n),e.setAttribute("performance.activationStart",Px()),l8e(e)}Du=void 0,Rb=void 0,Aa={}}function n8e(e,t,r,n,i){const a=_x(),o=Ii(a?a.requestStart:0),s=i+Math.max(r,o),l=i+r,c=l+n,u={[Ki]:"auto.resource.browser.metrics"};return s!==l&&(u["sentry.browser.measure_happened_before_request"]=!0,u["sentry.browser.measure_start_time"]=s),zv(e,s,c,{name:t.name,op:t.entryType,attributes:u}),s}function i8e(e,t,r){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{yC(e,t,n,r)}),yC(e,t,"secureConnection",r,"TLS/SSL","connectEnd"),yC(e,t,"fetch",r,"cache","domainLookupStart"),yC(e,t,"domainLookup",r,"DNS"),a8e(e,t,r)}function yC(e,t,r,n,i,a){const o=a?t[a]:t[`${r}End`],s=t[`${r}Start`];!s||!o||zv(e,n+Ii(s),n+Ii(o),{op:`browser.${i||r}`,name:t.name,attributes:{[Ki]:"auto.ui.browser.metrics"}})}function a8e(e,t,r){const n=r+Ii(t.requestStart),i=r+Ii(t.responseEnd),a=r+Ii(t.responseStart);t.responseEnd&&(zv(e,n,i,{op:"browser.request",name:t.name,attributes:{[Ki]:"auto.ui.browser.metrics"}}),zv(e,a,i,{op:"browser.response",name:t.name,attributes:{[Ki]:"auto.ui.browser.metrics"}}))}function o8e(e,t,r,n,i,a){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const o=um(r),s={[Ki]:"auto.resource.browser.metrics"};qI(s,t,"transferSize","http.response_transfer_size"),qI(s,t,"encodedBodySize","http.response_content_length"),qI(s,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(s["resource.render_blocking_status"]=t.renderBlockingStatus),o.protocol&&(s["url.scheme"]=o.protocol.split(":").pop()),o.host&&(s["server.address"]=o.host),s["url.same_origin"]=r.includes(ur.location.origin);const l=a+n,c=l+i;zv(e,l,c,{name:r.replace(ur.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:s})}function s8e(e){const t=ur.navigator;if(!t)return;const r=t.connection;r&&(r.effectiveType&&e.setAttribute("effectiveConnectionType",r.effectiveType),r.type&&e.setAttribute("connectionType",r.type),HI(r.rtt)&&(Aa["connection.rtt"]={value:r.rtt,unit:"millisecond"})),HI(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),HI(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function l8e(e){Du&&(nl&&vt.log("[Measurements] Adding LCP Data"),Du.element&&e.setAttribute("lcp.element",Nm(Du.element)),Du.id&&e.setAttribute("lcp.id",Du.id),Du.url&&e.setAttribute("lcp.url",Du.url.trim().slice(0,200)),e.setAttribute("lcp.size",Du.size)),Rb&&Rb.sources&&(nl&&vt.log("[Measurements] Adding CLS Data"),Rb.sources.forEach((t,r)=>e.setAttribute(`cls.source.${r+1}`,Nm(t.node))))}function qI(e,t,r,n){const i=t[r];i!=null&&i<K6e&&(e[n]=i)}function c8e(e){const t=_x();if(!t)return;const{responseStart:r,requestStart:n}=t;n<=r&&(nl&&vt.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:r-n,unit:"millisecond"})}const u8e=1e3;let qH,L4,B4;function d8e(e){const t="dom";lp(t,e),cp(t,f8e)}function f8e(){if(!ur.document)return;const e=ec.bind(null,"dom"),t=WH(e,!0);ur.document.addEventListener("click",t,!1),ur.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(r=>{const n=ur[r]&&ur[r].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(Zs(n,"addEventListener",function(i){return function(a,o,s){if(a==="click"||a=="keypress")try{const l=this,c=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},u=c[a]=c[a]||{refCount:0};if(!u.handler){const d=WH(e);u.handler=d,i.call(this,a,d,s)}u.refCount++}catch{}return i.call(this,a,o,s)}}),Zs(n,"removeEventListener",function(i){return function(a,o,s){if(a==="click"||a=="keypress")try{const l=this,c=l.__sentry_instrumentation_handlers__||{},u=c[a];u&&(u.refCount--,u.refCount<=0&&(i.call(this,a,u.handler,s),u.handler=void 0,delete c[a]),Object.keys(c).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,o,s)}}))})}
408function h8e(e){if(e.type!==L4)return!1;try{if(!e.target||e.target._sentryId!==B4)return!1}catch{}return!0}function p8e(e,t){return e!=="keypress"?!1:!t||!t.tagName?!0:!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)}function WH(e,t=!1){return r=>{if(!r||r._sentryCaptured)return;const n=m8e(r);if(p8e(r.type,n))return;lc(r,"_sentryCaptured",!0),n&&!n._sentryId&&lc(n,"_sentryId",ui());const i=r.type==="keypress"?"input":r.type;h8e(r)||(e({event:r,name:i,global:t}),L4=r.type,B4=n?n._sentryId:void 0),clearTimeout(qH),qH=ur.setTimeout(()=>{B4=void 0,L4=void 0},u8e)}}function m8e(e){try{return e.target}catch{return null}}let bC;function J6(e){const t="history";lp(t,e),cp(t,g8e)}function g8e(){if(!tNe())return;const e=ur.onpopstate;ur.onpopstate=function(...r){const n=ur.location.href,i=bC;if(bC=n,ec("history",{from:i,to:n}),e)try{return e.apply(this,r)}catch{}};function t(r){return function(...n){const i=n.length>2?n[2]:void 0;if(i){const a=bC,o=String(i);bC=o,ec("history",{from:a,to:o})}return r.apply(this,n)}}Zs(ur.history,"pushState",t),Zs(ur.history,"replaceState",t)}const HE={};function v8e(e){const t=HE[e];if(t)return t;let r=ur[e];if(w4(r))return HE[e]=r.bind(ur);const n=ur.document;if(n&&typeof n.createElement=="function")try{const i=n.createElement("iframe");i.hidden=!0,n.head.appendChild(i);const a=i.contentWindow;a&&a[e]&&(r=a[e]),n.head.removeChild(i)}catch(i){nl&&vt.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,i)}return r&&(HE[e]=r.bind(ur))}function VH(e){HE[e]=void 0}const Pg="__sentry_xhr_v3__";function nae(e){const t="xhr";lp(t,e),cp(t,y8e)}function y8e(){if(!ur.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,r,n){const i=qo()*1e3,a=$d(n[0])?n[0].toUpperCase():void 0,o=b8e(n[1]);if(!a||!o)return t.apply(r,n);r[Pg]={method:a,url:o,request_headers:{}},a==="POST"&&o.match(/sentry_key/)&&(r.__sentry_own_request__=!0);const s=()=>{const l=r[Pg];if(l&&r.readyState===4){try{l.status_code=r.status}catch{}const c={endTimestamp:qo()*1e3,startTimestamp:i,xhr:r};ec("xhr",c)}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?r.onreadystatechange=new Proxy(r.onreadystatechange,{apply(l,c,u){return s(),l.apply(c,u)}}):r.addEventListener("readystatechange",s),r.setRequestHeader=new Proxy(r.setRequestHeader,{apply(l,c,u){const[d,f]=u,h=c[Pg];return h&&$d(d)&&$d(f)&&(h.request_headers[d.toLowerCase()]=f),l.apply(c,u)}}),t.apply(r,n)}}),e.send=new Proxy(e.send,{apply(t,r,n){const i=r[Pg];if(!i)return t.apply(r,n);n[0]!==void 0&&(i.body=n[0]);const a={startTimestamp:qo()*1e3,xhr:r};return ec("xhr",a),t.apply(r,n)}})}function b8e(e){if($d(e))return e;try{return e.toString()}catch{}}const WI=[],qE=new Map;function S8e(){if(Q6()&&Es){const t=w8e();return()=>{t()}}return()=>{}}const jH={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function w8e(){return M6e(({metric:e})=>{if(e.value==null)return;const t=e.entries.find(p=>p.duration===e.value&&jH[p.name]);if(!t)return;const{interactionId:r}=t,n=jH[t.name],i=Ii(Es+t.startTime),a=Ii(e.value),o=Eo(),s=o?za(o):void 0,c=(r!=null?qE.get(r):void 0)||s,u=c?ln(c).description:Un().getScopeData().transactionName,d=Nm(t.target),f=Fa({[Ki]:"auto.http.browser.inp",[df]:`ui.interaction.${n}`,[j6]:t.duration}),h=rae({name:d,transaction:u,attributes:f,startTime:i});Hd([h,"optionalAccess",p=>p.addEvent,"call",p=>p("inp",{[QP]:"millisecond",[JP]:e.value})]),Hd([h,"optionalAccess",p=>p.end,"call",p=>p(i+a)])})}function x8e(e){const t=({entries:r})=>{const n=Eo(),i=n&&za(n);r.forEach(a=>{if(!W6e(a)||!i)return;const o=a.interactionId;if(o!=null&&!qE.has(o)){if(WI.length>10){const s=WI.shift();qE.delete(s)}WI.push(o),qE.set(o,i)}})};sw("event",t),sw("first-input",t)}function C8e(e,t=v8e("fetch")){let r=0,n=0;function i(a){const o=a.body.length;r+=o,n++;const s={body:a.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:r<=6e4&&n<15,...e.fetchOptions};if(!t)return VH("fetch"),gT("No fetch implementation available");try{return t(e.url,s).then(l=>(r-=o,n--,{statusCode:l.status,headers:{"x-sentry-rate-limits":l.headers.get("X-Sentry-Rate-Limits"),"retry-after":l.headers.get("Retry-After")}}))}catch(l){return VH("fetch"),r-=o,n--,gT(l)}}return C5e(e,i)}const E8e=30,k8e=50;function U4(e,t,r,n){const i={filename:e,function:t==="<anonymous>"?Mm:t,in_app:!0};return r!==void 0&&(i.lineno=r),n!==void 0&&(i.colno=n),i}const T8e=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,_8e=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,P8e=/\((\S*)(?::(\d+))(?::(\d+))\)/,A8e=e=>{const t=T8e.exec(e);if(t){const[,n,i,a]=t;return U4(n,Mm,+i,+a)}const r=_8e.exec(e);if(r){if(r[2]&&r[2].indexOf("eval")===0){const o=P8e.exec(r[2]);o&&(r[2]=o[1],r[3]=o[2],r[4]=o[3])}const[i,a]=iae(r[1]||Mm,r[2]);return U4(a,i,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}},O8e=[E8e,A8e],I8e=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,R8e=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,F8e=e=>{const t=I8e.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const a=R8e.exec(t[3]);a&&(t[1]=t[1]||"eval",t[3]=a[1],t[4]=a[2],t[5]="")}let n=t[3],i=t[1]||Mm;return[i,n]=iae(i,n),U4(n,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},D8e=[k8e,F8e],N8e=[O8e,D8e],M8e=iie(...N8e),iae=(e,t)=>{const r=e.indexOf("safari-extension")!==-1,n=e.indexOf("safari-web-extension")!==-1;return r||n?[e.indexOf("@")!==-1?e.split("@")[0]:Mm,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},SC=1024,L8e="Breadcrumbs",B8e=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:L8e,setup(r){t.console&&gDe(q8e(r)),t.dom&&d8e(H8e(r,t.dom)),t.xhr&&nae(W8e(r)),t.fetch&&sie(V8e(r)),t.history&&J6(j8e(r)),t.sentry&&r.on("beforeSendEvent",z8e(r))}}},U8e=B8e;function z8e(e){return function(r){Sn()===e&&Bm({category:`sentry.${r.type==="transaction"?"transaction":"event"}`,event_id:r.event_id,level:r.level,message:th(r)},{event:r})}}function H8e(e,t){return function(n){if(Sn()!==e)return;let i,a,o=typeof t=="object"?t.serializeAttribute:void 0,s=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;s&&s>SC&&(Ss&&vt.warn(`\`dom.maxStringLength\` cannot exceed ${SC}, but a value of ${s} was configured. Sentry will use ${SC}
408 instead.`),s=SC),typeof o=="string"&&(o=[o]);try{const c=n.event,u=G8e(c)?c.target:c;i=Nm(u,{keyAttrs:o,maxStringLength:s}),a=Qne(u)}catch{i="<unknown>"}if(i.length===0)return;const l={category:`ui.${n.name}`,message:i};a&&(l.data={"ui.component_name":a}),Bm(l,{event:n.event,name:n.name,global:n.global})}}function q8e(e){return function(r){if(Sn()!==e)return;const n={category:"console",data:{arguments:r.args,logger:"console"},level:DDe(r.level),message:rH(r.args," ")};if(r.level==="assert")if(r.args[0]===!1)n.message=`Assertion failed: ${rH(r.args.slice(1)," ")||"console.assert"}`,n.data.arguments=r.args.slice(1);else return;Bm(n,{input:r.args,level:r.level})}}function W8e(e){return function(r){if(Sn()!==e)return;const{startTimestamp:n,endTimestamp:i}=r,a=r.xhr[Pg];if(!n||!i||!a)return;const{method:o,url:s,status_code:l,body:c}=a,u={method:o,url:s,status_code:l},d={xhr:r.xhr,input:c,startTimestamp:n,endTimestamp:i},f=Xne(l);Bm({category:"xhr",data:u,type:"http",level:f},d)}}function V8e(e){return function(r){if(Sn()!==e)return;const{startTimestamp:n,endTimestamp:i}=r;if(i&&!(r.fetchData.url.match(/sentry_key/)&&r.fetchData.method==="POST"))if(r.error){const a=r.fetchData,o={data:r.error,input:r.args,startTimestamp:n,endTimestamp:i};Bm({category:"fetch",data:a,level:"error",type:"http"},o)}else{const a=r.response,o={...r.fetchData,status_code:a&&a.status},s={input:r.args,response:a,startTimestamp:n,endTimestamp:i},l=Xne(o.status_code);Bm({category:"fetch",data:o,type:"http",level:l},s)}}}function j8e(e){return function(r){if(Sn()!==e)return;let n=r.from,i=r.to;const a=um(Kt.location.href);let o=n?um(n):void 0;const s=um(i);(!o||!o.path)&&(o=a),a.protocol===s.protocol&&a.host===s.host&&(i=s.relative),a.protocol===o.protocol&&a.host===o.host&&(n=o.relative),Bm({category:"navigation",data:{from:n,to:i}})}}function G8e(e){return!!e&&!!e.target}const K8e=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],Z8e="BrowserApiErrors",Y8e=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:Z8e,setupOnce(){t.setTimeout&&Zs(Kt,"setTimeout",GH),t.setInterval&&Zs(Kt,"setInterval",GH),t.requestAnimationFrame&&Zs(Kt,"requestAnimationFrame",X8e),t.XMLHttpRequest&&"XMLHttpRequest"in Kt&&Zs(XMLHttpRequest.prototype,"send",Q8e);const r=t.eventTarget;r&&(Array.isArray(r)?r:K8e).forEach(J8e)}}},$8e=Y8e;function GH(e){return function(...t){const r=t[0];return t[0]=Uv(r,{mechanism:{data:{function:uf(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function X8e(e){return function(t){return e.apply(this,[Uv(t,{mechanism:{data:{function:"requestAnimationFrame",handler:uf(e)},handled:!1,type:"instrument"}})])}}function Q8e(e){return function(...t){const r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in r&&typeof r[i]=="function"&&Zs(r,i,function(a){const o={mechanism:{data:{function:i,handler:uf(a)},handled:!1,type:"instrument"}},s=H6(a);return s&&(o.mechanism.data.handler=uf(s)),Uv(a,o)})}),e.apply(this,t)}}function J8e(e){const t=Kt,r=t[e]&&t[e].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(Zs(r,"addEventListener",function(n){return function(i,a,o){try{typeof a.handleEvent=="function"&&(a.handleEvent=Uv(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:uf(a),target:e},handled:!1,type:"instrument"}}))}catch{}return n.apply(this,[i,Uv(a,{mechanism:{data:{function:"addEventListener",handler:uf(a),target:e},handled:!1,type:"instrument"}}),o])}}),Zs(r,"removeEventListener",function(n){return function(i,a,o){const s=a;try{const l=s&&s.__sentry_wrapped__;l&&n.call(this,i,l,o)}catch{}return n.call(this,i,s,o)}}))}const eMe="GlobalHandlers",tMe=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:eMe,setupOnce(){Error.stackTraceLimit=50},setup(r){t.onerror&&(nMe(r),KH("onerror")),t.onunhandledrejection&&(iMe(r),KH("onunhandledrejection"))}}},rMe=tMe;function nMe(e){cie(t=>{const{stackParser:r,attachStacktrace:n}=aae();if(Sn()!==e||jie())return;const{msg:i,url:a,line:o,column:s,error:l}=t,c=sMe($6(r,l||i,void 0,n,!1),a,o,s);c.level="error",Nie(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})})}function iMe(e){uie(t=>{const{stackParser:r,attachStacktrace:n}=aae();if(Sn()!==e||jie())return;const i=aMe(t),a=z6(i)?oMe(i):$6(r,i,void 0,n,!0);a.level="error",Nie(a,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function aMe(e){if(z6(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function oMe(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function sMe(e,t,r,n){const i=e.exception=e.exception||{},a=i.values=i.values||[],o=a[0]=a[0]||{},s=o.stacktrace=o.stacktrace||{},l=s.frames=s.frames||[],c=isNaN(parseInt(n,10))?void 0:n,u=isNaN(parseInt(r,10))?void 0:r,d=$d(t)&&t.length>0?t:nDe();return l.length===0&&l.push({colno:c,filename:d,function:Mm,in_app:!0,lineno:u}),e}function KH(e){Ss&&vt.log(`Global Handler attached: ${e}`)}function aae(){const e=Sn();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const lMe=()=>({name:"HttpContext",preprocessEvent(e){if(!Kt.navigator&&!Kt.location&&!Kt.document)return;const t=e.request&&e.request.url||Kt.location&&Kt.location.href,{referrer:r}=Kt.document||{},{userAgent:n}=Kt.navigator||{},i={...e.request&&e.request.headers,...r&&{Referer:r},...n&&{"User-Agent":n}},a={...e.request,...t&&{url:t},headers:i};e.request=a}}),cMe="cause",uMe=5,dMe="LinkedErrors",fMe=(e={})=>{const t=e.limit||uMe,r=e.key||cMe;return{name:dMe,preprocessEvent(n,i,a){const o=a.getOptions();J4e(Z6,o.stackParser,o.maxValueLength,r,t,n,i)}}},hMe=fMe;function pMe(e){return[I5e(),_5e(),$8e(),U8e(),rMe(),hMe(),V5e(),lMe()]}function mMe(e={}){const t={defaultIntegrations:pMe(),release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Kt.SENTRY_RELEASE&&Kt.SENTRY_RELEASE.id?Kt.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0};return e.defaultIntegrations==null&&delete e.defaultIntegrations,{...t,...e}}function gMe(){const e=typeof Kt.window<"u"&&Kt;if(!e)return!1;const t=e.chrome?"chrome":"browser",r=e[t],n=r&&r.runtime&&r.runtime.id,i=Kt.location&&Kt.location.href||"",a=["chrome-extension:","moz-extension:","ms-browser-extension:","safari-web-extension:"],o=!!n&&Kt===Kt.to
408p&&a.some(l=>i.startsWith(`${l}//`)),s=typeof e.nw<"u";return!!n&&!o&&!s}function vMe(e={}){const t=mMe(e);if(gMe()){Ex(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}Ss&&(aie()||vt.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const r={...t,stackParser:pDe(t.stackParser||M8e),integrations:m5e(t),transport:t.transport||C8e},n=S5e(d6e,r);return t.autoSessionTracking&&yMe(),n}function ZH(e={}){if(!Kt.document){Ss&&vt.error("Global document not defined in showReportDialog call");return}const t=Un(),r=t.getClient(),n=r&&r.getDsn();if(!n){Ss&&vt.error("DSN not configured for showReportDialog call");return}if(t&&(e.user={...t.getUser(),...e.user}),!e.eventId){const s=l5e();s&&(e.eventId=s)}const i=Kt.document.createElement("script");i.async=!0,i.crossOrigin="anonymous",i.src=h5e(n,e),e.onLoad&&(i.onload=e.onLoad);const{onClose:a}=e;if(a){const s=l=>{if(l.data==="__sentry_reportdialog_closed__")try{a()}finally{Kt.removeEventListener("message",s)}};Kt.addEventListener("message",s)}const o=Kt.document.head||Kt.document.body;o?o.appendChild(i):Ss&&vt.error("Not injecting report dialog. No injection point found in HTML")}function yMe(){if(typeof Kt.document>"u"){Ss&&vt.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}AH({ignoreDuration:!0}),OH(),J6(({from:e,to:t})=>{e!==void 0&&e!==t&&(AH({ignoreDuration:!0}),OH())})}const YH=new WeakMap,VI=new Map,z4={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function bMe(e,t){const{traceFetch:r,traceXHR:n,shouldCreateSpanForRequest:i,enableHTTPTimings:a,tracePropagationTargets:o}={traceFetch:z4.traceFetch,traceXHR:z4.traceXHR,...t},s=typeof i=="function"?i:u=>!0,l=u=>CMe(u,o),c={};r&&(e.addEventProcessor(u=>(u.type==="transaction"&&u.spans&&u.spans.forEach(d=>{if(d.op==="http.client"){const f=VI.get(d.span_id);f&&(d.timestamp=f/1e3,VI.delete(d.span_id))}}),u)),SDe(u=>{if(u.response){const d=YH.get(u.response);d&&u.endTimestamp&&VI.set(d,u.endTimestamp)}}),sie(u=>{const d=Z5e(u,s,l,c);if(u.response&&u.fetchData.__span&&YH.set(u.response,u.fetchData.__span),d){const f=oae(u.fetchData.url),h=f?um(f).host:void 0;d.setAttributes({"http.url":f,"server.address":h})}a&&d&&$H(d)})),n&&nae(u=>{const d=EMe(u,s,l,c);a&&d&&$H(d)})}function SMe(e){return e.entryType==="resource"&&"initiatorType"in e&&typeof e.nextHopProtocol=="string"&&(e.initiatorType==="fetch"||e.initiatorType==="xmlhttprequest")}function $H(e){const{url:t}=ln(e).data||{};if(!t||typeof t!="string")return;const r=sw("resource",({entries:n})=>{n.forEach(i=>{SMe(i)&&i.name.endsWith(t)&&(xMe(i).forEach(o=>e.setAttribute(...o)),setTimeout(r))})})}function wMe(e){let t="unknown",r="unknown",n="";for(const i of e){if(i==="/"){[t,r]=e.split("/");break}if(!isNaN(Number(i))){t=n==="h"?"http":n,r=e.split(n)[1];break}n+=i}return n===e&&(t=n),{name:t,version:r}}function bu(e=0){return((Es||performance.timeOrigin)+e)/1e3}function xMe(e){const{name:t,version:r}=wMe(e.nextHopProtocol),n=[];return n.push(["network.protocol.version",r],["network.protocol.name",t]),Es?[...n,["http.request.redirect_start",bu(e.redirectStart)],["http.request.fetch_start",bu(e.fetchStart)],["http.request.domain_lookup_start",bu(e.domainLookupStart)],["http.request.domain_lookup_end",bu(e.domainLookupEnd)],["http.request.connect_start",bu(e.connectStart)],["http.request.secure_connection_start",bu(e.secureConnectionStart)],["http.request.connection_end",bu(e.connectEnd)],["http.request.request_start",bu(e.requestStart)],["http.request.response_start",bu(e.responseStart)],["http.request.response_end",bu(e.responseEnd)]]:n}function CMe(e,t){const r=Kt.location&&Kt.location.href;if(r){let n,i;try{n=new URL(e,r),i=new URL(r).origin}catch{return!1}const a=n.origin===i;return t?lm(n.toString(),t)||a&&lm(n.pathname,t):a}else{const n=!!e.match(/^\/(?!\/)/);return t?lm(e,t):n}}function EMe(e,t,r,n){const i=e.xhr,a=i&&i[Pg];if(!i||i.__sentry_own_request__||!a)return;const o=ff()&&t(a.url);if(e.endTimestamp&&o){const f=i.__sentry_xhr_span_id__;if(!f)return;const h=n[f];h&&a.status_code!==void 0&&(Sie(h,a.status_code),h.end(),delete n[f]);return}
408const s=oae(a.url),l=s?um(s).host:void 0,c=!!Eo(),u=o&&c?up({name:`${a.method} ${a.url}`,attributes:{type:"xhr","http.method":a.method,"http.url":s,url:a.url,"server.address":l,[Ki]:"auto.http.browser",[df]:"http.client"}}):new vy;i.__sentry_xhr_span_id__=u.spanContext().spanId,n[i.__sentry_xhr_span_id__]=u;const d=Sn();return i.setRequestHeader&&r(a.url)&&d&&kMe(i,d,ff()&&c?u:void 0),u}function kMe(e,t,r){const n=Un(),i=gc(),{traceId:a,spanId:o,sampled:s,dsc:l}={...i.getPropagationContext(),...n.getPropagationContext()},c=r&&ff()?Cie(r):q6(a,o,s),u=gie(l||(r?f0(r):eA(a,t)));TMe(e,c,u)}function TMe(e,t,r){try{e.setRequestHeader("sentry-trace",t),r&&e.setRequestHeader(k4,r)}catch{}}function oae(e){try{return new URL(e,Kt.location.origin).href}catch{return}}function _Me(){Kt&&Kt.document?Kt.document.addEventListener("visibilitychange",()=>{const e=Eo();if(!e)return;const t=za(e);if(Kt.document.hidden&&t){const r="cancelled",{op:n,status:i}=ln(t);Ss&&vt.log(`[Tracing] Transaction: ${r} -> since tab moved to the background, op: ${n}`),i||t.setStatus({code:ha,message:r}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):Ss&&vt.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const PMe="BrowserTracing",AMe={...zE,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!0,enableInp:!0,_experiments:{},...z4},OMe=(e={})=>{xNe();const{enableInp:t,enableLongTask:r,enableLongAnimationFrame:n,_experiments:{enableInteractions:i,enableStandaloneClsSpans:a},beforeStartSpan:o,idleTimeout:s,finalTimeout:l,childSpanTimeout:c,markBackgroundSpan:u,traceFetch:d,traceXHR:f,shouldCreateSpanForRequest:h,enableHTTPTimings:p,instrumentPageLoad:g,instrumentNavigation:v}={...AMe,...e},m=Z6e({recordClsStandaloneSpans:a||!1});t&&S8e(),n&&cn.PerformanceObserver&&PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?$6e():r&&Y6e(),i&&X6e();const b={name:void 0,source:void 0};function y(w,x){const C=x.op==="pageload",T=o?o(x):x,_=T.attributes||{};x.name!==T.name&&(_[Uc]="custom",T.attributes=_),b.name=T.name,b.source=_[Uc];const P=Fie(T,{idleTimeout:s,finalTimeout:l,childSpanTimeout:c,disableAutoFinish:C,beforeSpanEnd:I=>{m(),r8e(I,{recordClsOnPageloadSpan:!a})}});function F(){["interactive","complete"].includes(Kt.document.readyState)&&w.emit("idleSpanEnableAutoFinish",P)}return C&&Kt.document&&(Kt.document.addEventListener("readystatechange",()=>{F()}),F()),P}return{name:PMe,afterAllSetup(w){let x,C=Kt.location&&Kt.location.href;w.on("startNavigationSpan",T=>{Sn()===w&&(x&&!ln(x).timestamp&&(Ss&&vt.log(`[Tracing] Finishing current root span with op: ${ln(x).op}`),x.end()),x=y(w,{op:"navigation",...T}))}),w.on("startPageLoadSpan",(T,_={})=>{if(Sn()!==w)return;x&&!ln(x).timestamp&&(Ss&&vt.log(`[Tracing] Finishing current root span with op: ${ln(x).op}`),x.end());const P=_.sentryTrace||XH("sentry-trace"),F=_.baggage||XH("baggage"),I=HDe(P,F);Un().setPropagationContext(I),x=y(w,{op:"pageload",...T})}),w.on("spanEnd",T=>{const _=ln(T).op;if(T!==za(T)||_!=="navigation"&&_!=="pageload")return;const P=Un(),F=P.getPropagationContext();P.setPropagationContext({...F,sampled:F.sampled!==void 0?F.sampled:d0(T),dsc:F.dsc||f0(T)})}),Kt.location&&(g&&sae(w,{name:Kt.location.pathname,startTime:Es?Es/1e3:void 0,attributes:{[Uc]:"url",[Ki]:"auto.pageload.browser"}}),v&&J6(({to:T,from:_})=>{if(_===void 0&&C&&C.indexOf(T)!==-1){C=void 0;return}_!==T&&(C=void 0,lae(w,{name:Kt.location.pathname,attributes:{[Uc]:"url",[Ki]:"auto.navigation.browser"}}))})),u&&_Me(),i&&IMe(s,l,c,b),t&&x8e(),bMe(w,{traceFetch:d,traceXHR:f,tracePropagationTargets:w.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:h,enableHTTPTimings:p})}}};function sae(e,t,r){e.emit("startPageLoadSpan",t,r),Un().setTransactionName(t.name);const n=Eo();return(n&&ln(n).op)==="pageload"?n:void 0}function lae(e,t){gc().setPropagationContext(vT()),Un().setPropagationContext(vT()),e.emit("startNavigationSpan",t),Un().setTransactionName(t.name);const r=Eo();return(r&&ln(r).op)==="navigation"?r:void 0}function XH(e){const t=iDe(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function IMe(e,t,r,n){let i;const a=()=>
408{const o="ui.action.click",s=Eo(),l=s&&za(s);if(l){const c=ln(l).op;if(["navigation","pageload"].includes(c)){Ss&&vt.warn(`[Tracing] Did not create ${o} span because a pageload or navigation span is in progress.`);return}}if(i&&(i.setAttribute(A4,"interactionInterrupted"),i.end(),i=void 0),!n.name){Ss&&vt.warn(`[Tracing] Did not create ${o} transaction because _latestRouteName is missing.`);return}i=Fie({name:n.name,op:o,attributes:{[Uc]:n.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:r})};Kt.document&&addEventListener("click",a,{once:!1,capture:!0})}function RMe(e){const t={...e};return qie(t,"react"),o5e("react",{version:k.version}),vMe(t)}function FMe(e){const t=e.match(/^([^.]+)/);return t!==null&&parseInt(t[0])>=17}function DMe(e,t){const r=new WeakSet;function n(i,a){if(!r.has(i)){if(i.cause)return r.add(i),n(i.cause,a);i.cause=a}}n(e,t)}function NMe(e,{componentStack:t},r){if(FMe(k.version)&&KP(e)&&t){const n=new Error(e.message);n.name=`React ErrorBoundary ${e.name}`,n.stack=t,DMe(e,n)}return Die(e,{...r,captureContext:{contexts:{react:{componentStack:t}}}})}const cae=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,QH={componentStack:null,error:null,eventId:null};class e8 extends k.Component{constructor(t){super(t),e8.prototype.__init.call(this),this.state=QH,this._openFallbackReportDialog=!0;const r=Sn();r&&t.showDialog&&(this._openFallbackReportDialog=!1,this._cleanupHook=r.on("afterSendEvent",n=>{!n.type&&this._lastEventId&&n.event_id===this._lastEventId&&ZH({...t.dialogOptions,eventId:this._lastEventId})}))}componentDidCatch(t,r){const{componentStack:n}=r,i=n??void 0,{beforeCapture:a,onError:o,showDialog:s,dialogOptions:l}=this.props;XP(c=>{a&&a(c,t,i);const u=NMe(t,r,{mechanism:{handled:!!this.props.fallback}});o&&o(t,i,u),s&&(this._lastEventId=u,this._openFallbackReportDialog&&ZH({...l,eventId:u})),this.setState({error:t,componentStack:n,eventId:u})})}componentDidMount(){const{onMount:t}=this.props;t&&t()}componentWillUnmount(){const{error:t,componentStack:r,eventId:n}=this.state,{onUnmount:i}=this.props;i&&i(t,r,n),this._cleanupHook&&(this._cleanupHook(),this._cleanupHook=void 0)}__init(){this.resetErrorBoundary=()=>{const{onReset:t}=this.props,{error:r,componentStack:n,eventId:i}=this.state;t&&t(r,n,i),this.setState(QH)}}render(){const{fallback:t,children:r}=this.props,n=this.state;if(n.error){let i;return typeof t=="function"?i=k.createElement(t,{error:n.error,componentStack:n.componentStack,resetError:this.resetErrorBoundary,eventId:n.eventId}):i=t,k.isValidElement(i)?i:(t&&cae&&vt.warn("fallback did not produce a valid ReactElement"),null)}return typeof r=="function"?r():r}}let uae,dae,fae,rA,lg=!1;const hae=new WeakSet;function MMe(e){const t=OMe({...e,instrumentPageLoad:!1,instrumentNavigation:!1}),{useEffect:r,useLocation:n,useNavigationType:i,createRoutesFromChildren:a,matchRoutes:o,stripBasename:s,instrumentPageLoad:l=!0,instrumentNavigation:c=!0}=e;return{...t,setup(){uae=r,dae=n,fae=i,rA=o,lg=s||!1},afterAllSetup(u){t.afterAllSetup(u);const d=Kt&&Kt.location&&Kt.location.pathname;l&&d&&sae(u,{name:d,attributes:{[Uc]:"url",[df]:"pageload",[Ki]:"auto.pageload.react.reactrouter_v6"}}),c&&hae.add(u)}}}function jI(e,t){if(!t||t==="/"||!e.toLowerCase().startsWith(t.toLowerCase()))return e;const r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?e:e.slice(r)||"/"}function pae(e,t,r,n=""){if(!e||e.length===0)return[lg?jI(t.pathname,n):t.pathname,"url"];let i="";if(r)for(const a of r){const o=a.route;if(o){if(o.index)return[lg?jI(a.pathname,n):a.pathname,"route"];const s=o.path;if(s){const l=s[0]==="/"||i[i.length-1]==="/"?s:`/${s}`;if(i+=l,n+a.pathname===t.pathname)return hH(i)!==hH(a.pathname)&&i.slice(-2)!=="/*"?[(lg?"":n)+l,"route"]:[(lg?"":n)+i,"route"]}}}return[lg?jI(t.pathname,n):t.pathname,"url"]}function LMe(e,t,r,n,i){const a=Array.isArray(n)?n:rA(r,t,i);if(a){const[o,s]=pae(r,t,a,i);Un().setTransactionName(o),e&&(e.updateName(o),e.setAttribute(Uc,s))}}function BMe(e,t,r,n,i){const a=Array.isArray(n)?n:rA(t,e,i),o=Sn();if(!(!o||!hae.has(o))&&(r==="PUSH"||r==="POP")&&a){const[s,l]=pae(t,e,a,i);lae(o,{name:s,attributes:{[Uc]:l,[df]:"navigation",[Ki]:"auto.navigation.react.reactrouter_v6"}})}}function UMe(e){return!uae||!dae||!fae||!rA?(cae&&vt.warn("reactRouterV6Instrumentation was unable to wrap the `createRouter` function because of one or more missing parameters."),e):function(t,r){const n=e(t,r),i=r&&r.basename,a=zMe();return n.state.historyAction==="POP"&&a&&LMe(a,n.state.location,t,void 0,i),n.subscribe(o=>{const s=o.location;(o.historyAction==="PUSH"||o.historyAction==="POP")&&BMe(s,t,o.historyAction,void 0,i)}),n}}function zMe(){const e=Eo(),t=e?za(e):void 0;if(!t)return;const r=ln(t).op;return r==="navigation"||r==="pageload"?t:void 0}const HMe=({children:e})=>{const t=v6();return e({...t})},mae=k.createContext(null),qMe=({children:e})=>{const[t,r]=k.useState([]),n=k.useMemo(()=>({shipments:t,setShipments:r}),[t]);return E(mae.Provider,{value:n,children:e})},Mxt=()=>{const e=k.useContext(mae);if(e===null)throw new Error("useToBulkCancelShipmentsContext must be used within ToBulkCancelShipmentsContextProvider");return e};var wy=TypeError;const WMe={},VMe=Object.freeze(Object.defineProperty({__proto__:null,default:WMe},Symbol.toStringTag,{value:"Module"})),jMe=Phe(VMe);var t8=typeof Map=="function"&&Map.prototype,GI=Object.getOwnPropertyDescriptor&&t8?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,xT=t8&&GI&&typeof GI.get=="function"?GI.get:null,JH=t8&&Map.prototype.forEach,r8=typeof Set=="function"&&Set.prototype,KI=Object.getOwnPropertyDescriptor&&r8?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,CT=r8&&KI&&typeof KI.get=="function"?KI.get:null,eq=r8&&Set.prototype.forEach,GMe=typeof WeakMap=="function"&&WeakMap.prototype,Fb=GMe?WeakMap.prototype.has:null,KMe=typeof WeakSet=="function"&&WeakSet.prototype,Db=KMe?WeakSet.prototype.has:null,ZMe=typeof WeakRef=="function"&&WeakRef.prototype,tq=ZMe?WeakRef.prototype.deref:null,YMe=Boolean.prototype.valueOf,$Me=Object.prototype.toString,XMe=Function.prototype.toString,QMe=String.prototype.match,n8=String.prototype.slice,bh=String.prototype.replace,JMe=String.prototype.toUpperCase,rq=String.prototype.toLowerCase,gae=RegExp.prototype.test,nq=Array.prototype.concat,Uu=Array.prototype.join,eLe=Array.prototype.slice,iq=Math.floor,H4=typeof BigInt=="function"?BigInt.prototype.valueOf:null,ZI=Object.getOwnPropertySymbols,q4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Hv=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Nb=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Hv||!0)?Symbol.toStringTag:null,vae=Object.prototype.propertyIsEnumerable,aq=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function oq(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||gae.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-iq(-e):iq(e);if(n!==e){var i=String(n),a=n8.call(t,i.length+1);return bh.call(i,r,"$&_")+"."+bh.call(bh.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return bh.call(t,r,"$&_")}var W4=jMe,sq=W4.custom,lq=Sae(sq)?sq:null,yae={__proto__:null,double:'"',single:"'"},tLe={__proto__:null,double:/(["\\])/g,single:/(['\\])/g},nA=function e(t,r,n,i){var a=r||{};if(Dd(a,"quoteStyle")&&!Dd(yae,a.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Dd(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var o=Dd(a,"customInspect")?a.customInspect:!0;if(typeof o!="boolean"&&o!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
vendor: 7,390 bytes, lines 408-411
408if(Dd(a,"indent")&&a.indent!==null&&a.indent!=="	"&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Dd(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var s=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return xae(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return s?oq(t,l):l}if(typeof t=="bigint"){var c=String(t)+"n";return s?oq(t,c):c}var u=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=u&&u>0&&typeof t=="object")return V4(t)?"[Array]":"[Object]";var d=bLe(a,n);if(typeof i>"u")i=[];else if(wae(i,t)>=0)return"[Circular]";function f(D,A,M){if(A&&(i=eLe.call(i),i.push(A)),M){var X={depth:a.depth};return Dd(a,"quoteStyle")&&(X.quoteStyle=a.quoteStyle),e(D,X,n+1,i)}return e(D,a,n+1,i)}if(typeof t=="function"&&!cq(t)){var h=uLe(t),p=wC(t,f);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(p.length>0?" { "+Uu.call(p,", ")+" }":"")}if(Sae(t)){var g=Hv?bh.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):q4.call(t);return typeof t=="object"&&!Hv?x1(g):g}if(gLe(t)){for(var v="<"+rq.call(String(t.nodeName)),m=t.attributes||[],b=0;b<m.length;b++)v+=" "+m[b].name+"="+bae(rLe(m[b].value),"double",a);return v+=">",t.childNodes&&t.childNodes.length&&(v+="..."),v+="</"+rq.call(String(t.nodeName))+">",v}if(V4(t)){if(t.length===0)return"[]";var y=wC(t,f);return d&&!yLe(y)?"["+j4(y,d)+"]":"[ "+Uu.call(y,", ")+" ]"}if(iLe(t)){var w=wC(t,f);return!("cause"in Error.prototype)&&"cause"in t&&!vae.call(t,"cause")?"{ ["+String(t)+"] "+Uu.call(nq.call("[cause]: "+f(t.cause),w),", ")+" }":w.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Uu.call(w,", ")+" }"}if(typeof t=="object"&&o){if(lq&&typeof t[lq]=="function"&&W4)return W4(t,{depth:u-n});if(o!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(dLe(t)){var x=[];return JH&&JH.call(t,function(D,A){x.push(f(A,t,!0)+" => "+f(D,t))}),uq("Map",xT.call(t),x,d)}if(pLe(t)){var C=[];return eq&&eq.call(t,function(D){C.push(f(D,t))}),uq("Set",CT.call(t),C,d)}if(fLe(t))return YI("WeakMap");if(mLe(t))return YI("WeakSet");if(hLe(t))return YI("WeakRef");if(oLe(t))return x1(f(Number(t)));if(lLe(t))return x1(f(H4.call(t)));if(sLe(t))return x1(YMe.call(t));if(aLe(t))return x1(f(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof yn<"u"&&t===yn)return"{ [object globalThis] }";if(!nLe(t)&&!cq(t)){var T=wC(t,f),_=aq?aq(t)===Object.prototype:t instanceof Object||t.constructor===Object,P=t instanceof Object?"":"null prototype",F=!_&&Nb&&Object(t)===t&&Nb in t?n8.call(dp(t),8,-1):P?"Object":"",I=_||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",R=I+(F||P?"["+Uu.call(nq.call([],F||[],P||[]),": ")+"] ":"");return T.length===0?R+"{}":d?R+"{"+j4(T,d)+"}":R+"{ "+Uu.call(T,", ")+" }"}return String(t)};function bae(e,t,r){var n=r.quoteStyle||t,i=yae[n];return i+e+i}function rLe(e){return bh.call(String(e),/"/g,"&quot;")}function p0(e){return!Nb||!(typeof e=="object"&&(Nb in e||typeof e[Nb]<"u"))}function V4(e){return dp(e)==="[object Array]"&&p0(e)}function nLe(e){return dp(e)==="[object Date]"&&p0(e)}function cq(e){return dp(e)==="[object RegExp]"&&p0(e)}function iLe(e){return dp(e)==="[object Error]"&&p0(e)}function aLe(e){return dp(e)==="[object String]"&&p0(e)}function oLe(e){return dp(e)==="[object Number]"&&p0(e)}function sLe(e){return dp(e)==="[object Boolean]"&&p0(e)}function Sae(e){if(Hv)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!q4)return!1;try{return q4.call(e),!0}catch{}return!1}function lLe(e){if(!e||typeof e!="object"||!H4)return!1;try{return H4.call(e),!0}catch{}return!1}var cLe=Object.prototype.hasOwnProperty||function(e){return e in this};function Dd(e,t){return cLe.call(e,t)}function dp(e){return $Me.call(e)}function uLe(e){if(e.name)return e.name;var t=QMe.call(XMe.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function wae(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function dLe(e){if(!xT||!e||typeof e!="object")return!1;try{xT.call(e);try{CT.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function fLe(e){if(!Fb||!e||typeof e!="object")return!1;try{Fb.call(e,Fb);try{Db.call(e,Db)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function hLe(e){if(!tq||!e||typeof e!="object")return!1;try{return tq.call(e),!0}catch{}return!1}function pLe(e){if(!CT||!e||typeof e!="object")return!1;try{CT.call(e);try{xT.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function mLe(e){if(!Db||!e||typeof e!="object")return!1;try{Db.call(e,Db);try{Fb.call(e,Fb)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function gLe(e){return!e||typeof e!="object"?!1:typeof HTMLElement<"u"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function xae(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return xae(n8.call(e,0,t.maxStringLength),t)+n}var i=tLe[t.quoteStyle||"single"];i.lastIndex=0;var a=bh.call(bh.call(e,i,"\\$1"),/[\x00-\x1f]/g,vLe);return bae(a,"single",t)}function vLe(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+JMe.call(t.toString(16))}function x1(e){return"Object("+e+")"}function YI(e){return e+" { ? }"}function uq(e,t,r,n){var i=n?j4(r,n):Uu.call(r,", ");return e+" ("+t+") {"+i+"}"}function yLe(e){for(var t=0;t<e.length;t++)if(wae(e[t],`
409`)>=0)return!1;return!0}function bLe(e,t){var r;if(e.indent==="	")r="	";else if(typeof e.indent=="number"&&e.indent>0)r=Uu.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Uu.call(Array(t+1),r)}}function j4(e,t){if(e.length===0)return"";var r=`
410`+t.prev+t.base;return r+Uu.call(e,","+r)+`
411`+t.prev}function wC(e,t){var r=V4(e),n=[];if(r){n.length=e.length;for(var i=0;i<e.length;i++)n[i]=Dd(e,i)?t(e[i],e):""}var a=typeof ZI=="function"?ZI(e):[],o;if(Hv){o={};for(var s=0;s<a.length;s++)o["$"+a[s]]=a[s]}for(var l in e)Dd(e,l)&&(r&&String(Number(l))===l&&l<e.length||Hv&&o["$"+l]instanceof Symbol||(gae.call(/[^\w$]/,l)?n.push(t(l,e)+": "+t(e[l],e)):n.push(l+": "+t(e[l],e))));if(typeof ZI=="function")for(var c=0;c<a.length;c++)vae.call(e,a[c])&&n.push("["+t(a[c])+"]: "+t(e[a[c]],e));return n}var SLe=nA,wLe=wy,iA=function(e,t,r){for(var n=e,i;(i=n.next)!=null;n=i)if(i.key===t)return n.next=i.next,r||(i.next=e.next,e.next=i),i},xLe=function(e,t){if(e){var r=iA(e,t);return r&&r.value}},CLe=function(e,t,r){var n=iA(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},ELe=function(e,t){return e?!!iA(e,t):!1},kLe=function(e,t){if(e)return iA(e,t,!0)},TLe=function(){var t,r={assert:function(n){if(!r.has(n))throw new wLe("Side channel does not contain "+SLe(n))},delete:function(n){var i=kLe(t,n);return i&&t&&!t.next&&(t=void 0),!!i},get:function(n){return xLe(t,n)},has:function(n){return ELe(t,n)},set:function(n,i){t||(t={next:void 0}),CLe(t,n,i)}};return r},Cae=Object,_Le=Error,PLe=EvalError,ALe=RangeError,OLe=ReferenceError,ILe=SyntaxError,RLe=URIError,FLe=M
411ath.abs,DLe=Math.floor,NLe=Math.max,MLe=Math.min,LLe=Math.pow,BLe=Math.round,ULe=Number.isNaN||function(t){return t!==t},zLe=ULe,HLe=function(t){return zLe(t)||t===0?t:t<0?-1:1},qLe=Object.getOwnPropertyDescriptor,WE=qLe;if(WE)try{WE([],"length")}catch{WE=null}var Eae=WE,VE=Object.defineProperty||!1;if(VE)try{VE({},"a",{value:1})}catch{VE=!1}var kae=VE,$I,dq;function WLe(){return dq||(dq=1,$I=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0}),$I}var XI,fq;function VLe(){if(fq)return XI;fq=1;var e=typeof Symbol<"u"&&Symbol,t=WLe();return XI=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},XI}var QI,hq;function Tae(){return hq||(hq=1,QI=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),QI}var JI,pq;function _ae(){if(pq)return JI;pq=1;var e=Cae;return JI=e.getPrototypeOf||null,JI}var jLe="Function.prototype.bind called on incompatible ",GLe=Object.prototype.toString,KLe=Math.max,ZLe="[object Function]",mq=function(t,r){for(var n=[],i=0;i<t.length;i+=1)n[i]=t[i];for(var a=0;a<r.length;a+=1)n[a+t.length]=r[a];return n},YLe=function(t,r){for(var n=[],i=r,a=0;i<t.length;i+=1,a+=1)n[a]=t[i];return n},$Le=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r},XLe=function(t){var r=this;if(typeof r!="function"||GLe.apply(r)!==ZLe)throw new TypeError(jLe+r);for(var n=YLe(arguments,1),i,a=function(){if(this instanceof i){var u=r.apply(this,mq(n,arguments));return Object(u)===u?u:this}return r.apply(t,mq(n,arguments))},o=KLe(0,r.length-n.length),s=[],l=0;l<o;l++)s[l]="$"+l;if(i=Function("binder","return function ("+$Le(s,",")+"){ return binder.apply(this,arguments); }")(a),r.prototype){var c=function(){};c.prototype=r.prototype,i.prototype=new c,c.prototype=null}return i},QLe=XLe,aA=Function.prototype.bind||QLe,i8=Function.prototype.call,e3,gq;function Pae(){return gq||(gq=1,e3=Function.prototype.apply),e3}var JLe=typeof Reflect<"u"&&Reflect&&Reflect.apply,eBe=aA,tBe=Pae(),rBe=i8,nBe=JLe,iBe=nBe||eBe.call(rBe,tBe),aBe=aA,oBe=wy,sBe=i8,lBe=iBe,Aae=function(t){if(t.length<1||typeof t[0]!="function")throw new oBe("a function is required");return lBe(aBe,sBe,t)},t3,vq;function cBe(){if(vq)return t3;vq=1;var e=Aae,t=Eae,r;try{r=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var n=!!r&&t&&t(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return t3=n&&typeof n.get=="function"?e([n.get]):typeof a=="function"?function(s){return a(s==null?s:i(s))}:!1,t3}var r3,yq;function uBe(){if(yq)return r3;yq=1;var e=Tae(),t=_ae(),r=cBe();return r3=e?function(i){return e(i)}:t?function(i){if(!i||typeof i!="object"&&typeof i!="function")throw new TypeError("getProto: not an object");return t(i)}:r?function(i){return r(i)}:null,r3}var n3,bq;function dBe(){if(bq)return n3;bq=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=aA;return n3=r.call(e,t),n3}var Fr,fBe=Cae,hBe=_Le,pBe=PLe,mBe=ALe,gBe=OLe,qv=ILe,rv=wy,vBe=RLe,yBe=FLe,bBe=DLe,SBe=NLe,wBe=MLe,xBe=LLe,CBe=BLe,EBe=HLe,Oae=Function,i3=function(e){try{return Oae('"use strict"; return ('+e+").constructor;")()}catch{}},lw=Eae,kBe=kae,a3=function(){throw new rv},TBe=lw?function(){try{return arguments.callee,a3}catch{try{return lw(arguments,"callee").get}catch{return a3}}}():a3,z0=VLe()(),ma=uBe(),_Be=_ae(),PBe=Tae(),Iae=Pae(),Rx=i8,cg={},ABe=typeof Uint8Array>"u"||!ma?Fr:ma(Uint8Array),hm={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Fr:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Fr:ArrayBuffer,"%ArrayIteratorPrototype%":z0&&ma?ma([][Symbol.iterator]()):Fr,"%AsyncFromSyncIteratorPrototype%":Fr,"%AsyncFunction%":cg,"%AsyncGenerator%":cg,"%AsyncGeneratorFunction%":cg,"%AsyncIteratorPrototype%":cg,"%Atomics%":typeof Atomics>"u"?Fr:Atomics,"%BigInt%":typeof BigInt>"u"?Fr:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Fr:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Fr:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Fr:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":hBe,"%eval%":eval,"%EvalError%":pBe,"%Float16Array%":typeof Float16Array>"u"?Fr:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Fr:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Fr:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Fr:FinalizationRegistry,"%Function%":Oae,"%GeneratorFunction%":cg,"%Int8Array%":typeof Int8Array>"u"?Fr:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Fr:Int16Array,"%Int32Array%":typeof Int32Array>
vendor: 10,118 bytes, line 411
411"u"?Fr:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":z0&&ma?ma(ma([][Symbol.iterator]())):Fr,"%JSON%":typeof JSON=="object"?JSON:Fr,"%Map%":typeof Map>"u"?Fr:Map,"%MapIteratorPrototype%":typeof Map>"u"||!z0||!ma?Fr:ma(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":fBe,"%Object.getOwnPropertyDescriptor%":lw,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Fr:Promise,"%Proxy%":typeof Proxy>"u"?Fr:Proxy,"%RangeError%":mBe,"%ReferenceError%":gBe,"%Reflect%":typeof Reflect>"u"?Fr:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Fr:Set,"%SetIteratorPrototype%":typeof Set>"u"||!z0||!ma?Fr:ma(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Fr:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":z0&&ma?ma(""[Symbol.iterator]()):Fr,"%Symbol%":z0?Symbol:Fr,"%SyntaxError%":qv,"%ThrowTypeError%":TBe,"%TypedArray%":ABe,"%TypeError%":rv,"%Uint8Array%":typeof Uint8Array>"u"?Fr:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Fr:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Fr:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Fr:Uint32Array,"%URIError%":vBe,"%WeakMap%":typeof WeakMap>"u"?Fr:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Fr:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Fr:WeakSet,"%Function.prototype.call%":Rx,"%Function.prototype.apply%":Iae,"%Object.defineProperty%":kBe,"%Object.getPrototypeOf%":_Be,"%Math.abs%":yBe,"%Math.floor%":bBe,"%Math.max%":SBe,"%Math.min%":wBe,"%Math.pow%":xBe,"%Math.round%":CBe,"%Math.sign%":EBe,"%Reflect.getPrototypeOf%":PBe};if(ma)try{null.error}catch(e){var OBe=ma(ma(e));hm["%Error.prototype%"]=OBe}var IBe=function e(t){var r;if(t==="%AsyncFunction%")r=i3("async function () {}");else if(t==="%GeneratorFunction%")r=i3("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=i3("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&ma&&(r=ma(i.prototype))}return hm[t]=r,r},Sq={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Fx=aA,ET=dBe(),RBe=Fx.call(Rx,Array.prototype.concat),FBe=Fx.call(Iae,Array.prototype.splice),wq=Fx.call(Rx,String.prototype.replace),kT=Fx.call(Rx,String.prototype.slice),DBe=Fx.call(Rx,RegExp.prototype.exec),NBe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,MBe=/\\(\\)?/g,LBe=function(t){var r=kT(t,0,1),n=kT(t,-1);if(r==="%"&&n!=="%")throw new qv("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new qv("invalid intrinsic syntax, expected opening `%`");var i=[];return wq(t,NBe,function(a,o,s,l){i[i.length]=s?wq(l,MBe,"$1"):o||a}),i},BBe=function(t,r){var n=t,i;if(ET(Sq,n)&&(i=Sq[n],n="%"+i[0]+"%"),ET(hm,n)){var a=hm[n];if(a===cg&&(a=IBe(n)),typeof a>"u"&&!r)throw new rv("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:a}}throw new qv("intrinsic "+t+" does not exist!")},a8=function(t,r){if(typeof t!="string"||t.length===0)throw new rv("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new rv('"allowMissing" argument must be a boolean');if(DBe(/^%?[^%]*%?$/,t)===null)throw new qv("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=LBe(t),i=n.length>0?n[0]:"",a=BBe("%"+i+"%",r),o=a.name,s=a.value,l=!1,c=a.alias;c&&(i=c[0],FBe(n,RBe([0,1],c)));for(var u=1,d=!0;u<n.length;u+=1){var f=n[u],h=kT(f,0,1),p=kT(f,-1);if((h==='"'||h==="'"||h==="`"||p==='"'||p==="'"||p==="`")&&h!==p)throw new qv("property names with quotes must have matching quotes");if((f==="constructor"||!d)&&(l=!0),i+="."+f,o="%"+i+"%",ET(hm,o))s=hm[o];else if(s!=null){if(!(f in s)){if(!r)throw new rv("base intrinsic for "+t+" exists, but the property is not available.");return}if(lw&&u+1>=n.length){var g=lw(s,f);d=!!g,d&&"get"in g&&!("originalValue"in g.get)?s=g.get:s=s[f]}else d=ET(s,f),s=s[f];d&&!l&&(hm[o]=s)}}return s},Rae=a8,Fae=Aae,UBe=Fae([Rae("%String.prototype.indexOf%")]),Dae=function(t,r){var n=Rae(t,!!r);return typeof n=="function"&&UBe(t,".prototype.")>-1?Fae([n]):n},zBe=a8,Dx=Dae,HBe=nA,qBe=wy,xq=zBe("%Map%",!0),WBe=Dx("Map.prototype.get",!0),VBe=Dx("Map.prototype.set",!0),jBe=Dx("Map.prototype.has",!0),GBe=Dx("Map.prototype.delete",!0),KBe=Dx("Map.prototype.size",!0),Nae=!!xq&&function(){var t,r={assert:function(n){if(!r.has(n))throw new qBe("Side channel does not contain "+HBe(n))},delete:function(n){if(t){var i=GBe(t,n);return KBe(t)===0&&(t=void 0),i}return!1},get:function(n){if(t)return WBe(t,n)},has:function(n){return t?jBe(t,n):!1},set:function(n,i){t||(t=new xq),VBe(t,n,i)}};return r},ZBe=a8,oA=Dae,YBe=nA,xC=Nae,$Be=wy,H0=ZBe("%WeakMap%",!0),XBe=oA("WeakMap.prototype.get",!0),QBe=oA("WeakMap.prototype.set",!0),JBe=oA("WeakMap.prototype.has",!0),e9e=oA("WeakMap.prototype.delete",!0),t9e=H0?function(){var t,r,n={assert:function(i){if(!n.has(i))throw new $Be("Side channel does not contain "+YBe(i))},delete:function(i){if(H0&&i&&(typeof i=="object"||typeof i=="function")){if(t)return e9e(t,i)}else if(xC&&r)return r.delete(i);return!1},get:function(i){return H0&&i&&(typeof i=="object"||typeof i=="function")&&t?XBe(t,i):r&&r.get(i)},has:function(i){return H0&&i&&(typeof i=="object"||typeof i=="function")&&t?JBe(t,i):!!r&&r.has(i)},set:function(i,a){H0&&i&&(typeof i=="object"||typeof i=="function")?(t||(t=new H0),QBe(t,i,a)):xC&&(r||(r=xC()),r.set(i,a))}};return n}:xC,r9e=wy,n9e=nA,i9e=TLe,a9e=Nae,o9e=t9e,s9e=o9e||a9e||i9e,Mae=function(){var t,r={assert:function(n){if(!r.has(n)){var i=n&&Object(n)===n?"the given object key":n9e(n);throw new r9e("Side channel does not contain "+i)}},delete:function(n){return!!t&&t.delete(n)},get:function(n){return t&&t.get(n)},has:function(n){return!!t&&t.has(n)},set:function(n,i){t||(t=s9e()),t.set(n,i)}};return r},l9e=String.prototype.replace,c9e=/%20/g,o3={RFC1738:"RFC1738",RFC3986:"RFC3986"},o8={default:o3.RFC3986,formatters:{RFC1738:function(e){return l9e.call(e,c9e,"+")},RFC3986:function(e){return String(e)}},RFC1738:o3.RFC1738,RFC3986:o3.RFC3986},u9e=o8,Lae=Mae,Cq=kae,s3=Object.prototype.hasOwnProperty,ch=Array.isArray,sA=Lae(),zp=function(t,r){return sA.set(t,r),t},Hp=function(t){return sA.has(t)},Q1=function(t){return sA.get(t)},G4=function(t,r){sA.set(t,r)},Su=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),d9e=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(ch(n)){for(var i=[],a=0;a<n.length;++a)typeof n[a]<"u"&&(i[i.length]=n[a]);r.obj[r.prop]=i}}},Ag=function(t,r){for(var n=r&&r.plainObjects?{__proto__:null}:{},i=0;i<t.length;++i)typeof t[i]<"u"&&(n[i]=t[i]);return n},K4=function(t,r,n){r==="__proto__"&&Cq?Cq(t,r,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[r]=n},f9e=function e(t,r,n){if(!r)return t;if(typeof r!="object"&&typeof r!="function"){if(ch(t)){var i=t.length;if(n&&typeof n.arrayLimit=="number"&&i>=n.arrayLimit){if(n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");return zp(Ag(t.concat(r),n),i)}t[i]=r}else if(t&&typeof t=="object")if(Hp(t)){var a=Q1(t)+1;t[a]=r,G4(t,a)}else{if(n&&n.strictMerge)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!s3.call(Object.prototype,r))&&(t[r]=!0)}else return[t,r];return t}if(!t||typeof t!="object"){if(Hp(r)){for(var o=Object.keys(r),s=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},l=0;l<o.length;l++){var c=parseInt(o[l],10);
411s[c+1]=r[o[l]]}return zp(s,Q1(r)+1)}var u=[t].concat(r);if(n&&typeof n.arrayLimit=="number"&&u.length>n.arrayLimit){if(n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");return zp(Ag(u,n),u.length-1)}return u}var d=t;if(ch(t)&&!ch(r)&&(d=Ag(t,n)),ch(t)&&ch(r)){if(r.forEach(function(f,h){if(s3.call(t,h)){var p=t[h];p&&typeof p=="object"&&f&&typeof f=="object"?t[h]=e(p,f,n):t[t.length]=f}else t[h]=f}),n&&typeof n.arrayLimit=="number"&&t.length>n.arrayLimit){if(n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(n.arrayLimit===1?"":"s")+" allowed in an array.");return zp(Ag(t,n),t.length-1)}return t}return Object.keys(r).reduce(function(f,h){var p=r[h];if(s3.call(f,h)?K4(f,h,e(f[h],p,n)):K4(f,h,p),Hp(r)&&!Hp(f)&&zp(f,Q1(r)),Hp(f)){var g=parseInt(h,10);String(g)===h&&g>=0&&g>Q1(f)&&G4(f,g)}return f},d)},h9e=function(t,r){return Object.keys(r).reduce(function(n,i){return K4(n,i,r[i]),n},t)},p9e=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},CC=1024,m9e=function(t,r,n,i,a){if(t.length===0)return t;var o=t;if(typeof t=="symbol"?o=Symbol.prototype.toString.call(t):typeof t!="string"&&(o=String(t)),n==="iso-8859-1")return escape(o).replace(/%u[0-9a-f]{4}/gi,function(p){return"%26%23"+parseInt(p.slice(2),16)+"%3B"});for(var s="",l=0;l<o.length;l+=CC){var c=o.length>=CC?o.slice(l,l+CC):o;if(l+CC<o.length){var u=c.charCodeAt(c.length-1);u>=55296&&u<=56319&&(c=c.slice(0,-1),l-=1)}for(var d=[],f=0;f<c.length;++f){var h=c.charCodeAt(f);if(h===45||h===46||h===95||h===126||h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||a===u9e.RFC1738&&(h===40||h===41)){d[d.length]=c.charAt(f);continue}if(h<128){d[d.length]=Su[h];continue}if(h<2048){d[d.length]=Su[192|h>>6]+Su[128|h&63];continue}if(h<55296||h>=57344){d[d.length]=Su[224|h>>12]+Su[128|h>>6&63]+Su[128|h&63];continue}f+=1,h=65536+((h&1023)<<10|c.charCodeAt(f)&1023),d[d.length]=Su[240|h>>18]+Su[128|h>>12&63]+Su[128|h>>6&63]+Su[128|h&63]}s+=d.join("")}return s},g9e=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=Lae(),i=0;i<r.length;++i)for(var a=r[i],o=a.obj[a.prop],s=Object.keys(o),l=0;l<s.length;++l){var c=s[l],u=o[c];typeof u=="object"&&u!==null&&!n.has(u)&&(r[r.length]={obj:o,prop:c},n.set(u,!0))}return d9e(r),t},v9e=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},y9e=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t))},b9e=function(t,r,n,i,a){if(Hp(t)){if(a)throw new RangeError("Array limit exceeded. Only "+n+" element"+(n===1?"":"s")+" allowed in an array.");for(var o=ch(r)?r:[r],s=Q1(t),l=0;l<o.length;++l)s+=1,t[s]=o[l];return G4(t,s),t}var c=[].concat(t,r);if(c.length>n){if(a)throw new RangeError("Array limit exceeded. Only "+n+" element"+(n===1?"":"s")+" allowed in an array.");return zp(Ag(c,{plainObjects:i}),c.length-1)}return c},S9e=function(t,r){if(ch(t)){for(var n=[],i=0;i<t.length;i+=1)n[n.length]=r(t[i]);return n}return r(t)},Bae={arrayToObject:Ag,assign:h9e,combine:b9e,compact:g9e,decode:p9e,encode:m9e,isBuffer:y9e,isOverflow:Hp,isRegExp:v9e,markOverflow:zp,maybeMap:S9e,merge:f9e},Uae=Mae,jE=Bae,Mb=o8,w9e=Object.prototype.hasOwnProperty,zae={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},Mu=Array.isArray,x9e=Array.prototype.push,Hae=function(e,t){x9e.apply(e,Mu(t)?t:[t])},C9e=Date.prototype.toISOString,Eq=Mb.default,Mi={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",depth:1/0,encode:!0,encodeDotInKeys:!1,encoder:jE.encode,encodeValuesOnly:!1,filter:void 0,format:Eq,formatter:Mb.formatters[Eq],indices:!1,serializeDate:function(t){return C9e.call(t)},skipNulls:!1,strictNullHandling:!1},E9e=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},l3={},k9e=function e(t,r,n,i,a,o,s,l,c,u,d,f,h,p,g,v,m,b,y,w){var x=t;if(w>y)throw new RangeError("Input depth exceeded depth option of "+y);for(var C=b,T=0,_=!1;(C=C.get(l3))!==void 0&&!_;){var P=C.get(t);if(T+=1,typeof P<"u"){if(P===T)throw new RangeError("Cyclic object value");_=!0}typeof C.get(l3)>"u"&&(T=0)}if(x=typeof u=="function"?u(r,x):x,x instanceof Date?x=h(x):n==="comma"&&Mu(x)&&
vendor: 11,298 bytes, line 411
411(x=jE.maybeMap(x,function(ce){return ce instanceof Date?h(ce):ce})),x===null){if(o)return g(c&&!v?c(r,Mi.encoder,m,"key",p):r);x=""}if(E9e(x)||jE.isBuffer(x)){if(c){var F=v?r:c(r,Mi.encoder,m,"key",p);return[g(F)+"="+g(c(x,Mi.encoder,m,"value",p))]}return[g(r)+"="+g(String(x))]}var I=[];if(typeof x>"u")return I;var R;if(n==="comma"&&Mu(x))v&&c&&(x=jE.maybeMap(x,function(ce){return ce==null?ce:c(ce)})),R=[{value:x.length>0?x.join(",")||null:void 0}];else if(Mu(u))R=u;else{var D=Object.keys(x);R=d?D.sort(d):D}var A=l?String(r).replace(/\./g,"%2E"):String(r),M=i&&Mu(x)&&x.length===1?A+"[]":A;if(a&&Mu(x)&&x.length===0&&Object.keys(x).length===0)return M+"[]";for(var X=0;X<R.length;++X){var Y=R[X],se=typeof Y=="object"&&Y&&typeof Y.value<"u"?Y.value:x[Y];if(!(s&&se===null)){var ne=f&&l?String(Y).replace(/\./g,"%2E"):String(Y),ie=Mu(x)?typeof n=="function"?n(M,ne):M:M+(f?"."+ne:"["+ne+"]");b.set(t,T);var ae=Uae();ae.set(l3,b),Hae(I,e(se,ie,n,i,a,o,s,l,n==="comma"&&v&&Mu(x)?null:c,u,d,f,h,p,g,v,m,ae,y,w+1))}}return I},T9e=function(t){if(!t)return Mi;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.encodeDotInKeys<"u"&&typeof t.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(t.encoder!==null&&typeof t.encoder<"u"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||Mi.charset;if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=Mb.default;if(typeof t.format<"u"){if(!w9e.call(Mb.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var i=Mb.formatters[n],a=Mi.filter;(typeof t.filter=="function"||Mu(t.filter))&&(a=t.filter);var o;if(t.arrayFormat in zae?o=t.arrayFormat:"indices"in t?o=t.indices?"indices":"repeat":o=Mi.arrayFormat,"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var s=typeof t.allowDots>"u"?t.encodeDotInKeys===!0?!0:Mi.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:Mi.addQueryPrefix,allowDots:s,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:Mi.allowEmptyArrays,arrayFormat:o,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:Mi.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?Mi.delimiter:t.delimiter,depth:typeof t.depth=="number"?t.depth:Mi.depth,encode:typeof t.encode=="boolean"?t.encode:Mi.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:Mi.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:Mi.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:Mi.encodeValuesOnly,filter:a,format:n,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:Mi.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:Mi.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:Mi.strictNullHandling}},_9e=function(e,t){var r=e,n=T9e(t),i,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):Mu(n.filter)&&(a=n.filter,i=a);var o=[];if(typeof r!="object"||r===null)return"";var s=zae[n.arrayFormat],l=s==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var c=Uae(),u=0;u<i.length;++u){var d=i[u];if(!(typeof d>"u"||d===null)){var f=r[d];if(!(n.skipNulls&&f===null)){var h=n.encodeDotInKeys?String(d).replace(/\./g,"%2E"):String(d);Hae(o,k9e(f,h,s,l,n.allowEmptyArrays,n.strictNullHandling,n.skipNulls,n.encodeDotInKeys,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,c,n.depth,0))}}}var p=o.join(n.delimiter),g=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?g+="utf8=%26%2310003%3B"+n.delimiter:g+="utf8=%E2%9C%93"+n.delimiter),p.length>0?g+p:""},ed=Bae,GE=Object.prototype.hasOwnProperty,c3=Array.isArray,oi={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:ed.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},P9e=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},qae=function(e,t,r){if(e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1){if(t.throwOnLimitExceeded)for(var n=0,i=e.indexOf(",");i>-1;){if(n+=1,n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");i=e.indexOf(",",i+1)}return e.split(",")}if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");return e},A9e="utf8=%26%2310003%3B",O9e="utf8=%E2%9C%93",I9e=function(t,r){var n={__proto__:null},i=r.ignoreQueryPrefix?t.replace(/^\?/,""):t;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var a=r.parameterLimit===1/0?void 0:r.parameterLimit,o=i.split(r.delimiter,r.throwOnLimitExceeded&&typeof a<"u"?a+1:a);if(r.throwOnLimitExceeded&&typeof a<"u"&&o.length>a)throw new RangeError("Parameter limit exceeded. Only "+a+" parameter"+(a===1?"":"s")+" allowed.");var s=-1,l,c=r.charset;if(r.charsetSentinel)for(l=0;l<o.length;++l)o[l].indexOf("utf8=")===0&&(o[l]===O9e?c="utf-8":o[l]===A9e&&(c="iso-8859-1"),s=l,l=o.length);for(l=0;l<o.length;++l)if(l!==s){var u=o[l],d=u.indexOf("]="),f=d===-1?u.indexOf("="):d+1,h,p;if(f===-1?(h=r.decoder(u,oi.decoder,c,"key"),p=r.strictNullHandling?null:""):(h=r.decoder(u.slice(0,f),oi.decoder,c,"key"),h!==null&&(p=ed.maybeMap(qae(u.slice(f+1),r,c3(n[h])?n[h].length:0),function(v){return r.decoder(v,oi.decoder,c,"value")}))),p&&r.interpretNumericEntities&&c==="iso-8859-1"&&(p=P9e(String(p))),u.indexOf("[]=")>-1&&(p=c3(p)?[p]:p),r.comma&&c3(p)&&p.length>r.arrayLimit&&(p=ed.combine([],p,r.arrayLimit,r.plainObjects,r.throwOnLimitExceeded)),h!==null){var g=GE.call(n,h);g&&(r.duplicates==="combine"||u.indexOf("[]=")>-1)?n[h]=ed.combine(n[h],p,r.arrayLimit,r.plainObjects,r.throwOnLimitExceeded):(!g||r.duplicates==="last")&&(n[h]=p)}}return n},R9e=function(e,t,r,n){var i=0;if(e.length>0&&e[e.length-1]==="[]"){var a=e.slice(0,-1).join("");i=Array.isArray(t)&&t[a]?t[a].length:0}for(var o=n?t:qae(t,r,i),s=e.length-1;s>=0;--s){var l,c=e[s];if(c==="[]"&&r.parseArrays)ed.isOverflow(o)?l=o:l=r.allowEmptyArrays&&(o===""||r.strictNullHandling&&o===null)?[]:ed.combine([],o,r.arrayLimit,r.plainObjects,r.throwOnLimitExceeded);else{l=r.plainObjects?{__proto__:null}:{};var u=c.charAt(0)==="["&&c.charAt(c.length-1)==="]"?c.slice(1,-1):c,d=r.decodeDotInKeys?u.replace(/%2E/g,"."):u,f=parseInt(d,10),h=!isNaN(f)&&c!==d&&String(f)===d&&f>=0&&r.parseArrays;if(!r.parseArrays&&d==="")l={0:o};else if(h&&f<r.arrayLimit)l=[],l[f]=o;else{if(h&&r.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(r.arrayLimit===1?"":"s")+" allowed in an array.");h?(l[f]=o,ed.markOverflow(l,f)):d!=="__proto__"&&(l[d]=o)}}o=l}return o},F9e=function(t,r){var n=r.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t;if(r.depth<=0)return!r.plainObjects&&GE.call(Object.prototype,n)&&!r.allowPrototypes?void 0:[n];var i=[],a=n.indexOf("["),o=a>=0?n.slice(0,a):n;if(o){if(!r.plainObjects&&GE.call(Object.prototype,o)&&!r.allowPrototypes)return;i[i.length]=o}for(var s=n.length,l=a,c=0;l>=0&&c<r.depth;){for(var u=1,d=l+1,f=-1;d<s&&f<0;){var h=n.charCodeAt(d);h===91?u+=1:h===93&&(u-=1,u===0&&(f=d)),d+=1}if(f<0)return i[i.length]="["+n.slice(l)+"]",i;var p=n.slice(l,f+1),g=p.slice(1,-1);if(!r.plainObjects&&GE.call(Object.prototype,g)&&!r.allowPrototypes)return;i[i.length]=p,c+=1,l=n.indexOf("[",f+1)}if(l>=0){if(r.strictDepth===!0)throw new RangeError("Input depth exceeded depth option of "+r.depth+" and strictDepth is true");i[i.length]="["+n.slice(l)+"]"}return i},D9e=function(t,r,n,i){if(t){var a=F9e(t,n);if(a)return R9e(a,r,n,i)}},N9e=function(t){if(!t)return oi;if(typeof t.allowEmptyArrays<"u"&&typeof t.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof t.decodeDotInKeys<"u"&&typeof t.decodeDotInKeys!="boolean")throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(t.decoder!==null&&typeof t.decoder<"u"&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset<"u"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(typeof t.throwOnLimitExceeded<"u"&&typeof t.throwOnLimitExceeded!="boolean")throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var r=typeof t.charset>"u"?oi.charset:t.charset,n=typeof t.duplicates>"u"?oi.duplicates:t.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:oi.allowDots:!!t.allowDots;return{allowDots:i,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:oi.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:oi.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:oi.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:oi.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:oi.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:oi.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:oi.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:oi.decoder,delimiter:typeof t.delimiter=="string"||ed.isRegExp(t.delimiter)?t.delimiter:oi.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:oi.depth,duplicates:n,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:oi.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:oi.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:oi.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:oi.strictDepth,strictMerge:typeof t.strictMerge=="boolean"?!!t.strictMerge:oi.strictMerge,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:oi.strictNullHandling,throwOnLimitExceeded:typeof t.throwOnLimitExceeded=="boolean"?t.throwOnLimitExceeded:!1}},M9e=function(e,t){var r=N9e(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?{__proto__:null}:{};for(var n=typeof e=="string"?I9e(e,r):e,i=r.plainObjects?{__proto__:null}:{},a=Object.keys(n),o=0;o<a.length;++o){var s=a[o],l=D9e(s,n[s],r,typeof e=="string");
411i=ed.merge(i,l,r)}return r.allowSparse===!0?i:ed.compact(i)},L9e=_9e,B9e=M9e,U9e=o8,z9e={formats:U9e,parse:B9e,stringify:L9e};const TT=fc(z9e);function Zi(e,t){const[r,...n]=e.split("?"),i=TT.parse(n.join("?")),a=TT.stringify(kFe({...i,...t},wx));return`${r??""}${a?`?${a}`:""}`}var an=(e=>(e.ADDRESSES="addresses",e.PACKAGINGS="packagings",e.LABELS="labels",e.TAXES="taxes",e.SHIPPING_AUTOMATION="shipping-automation",e.CARRIERS="carriers",e.ORGANIZATION="organization",e.USERS="users",e.BRANDING="branding",e.TRACKING_PAGE="tracking-page",e.API_AND_WEBHOOK="api-webhook",e.NOTIFICATION_CENTER="notification-center",e.FULFILLMENT="fulfillment",e))(an||{}),nv=(e=>(e.UPCOMING="upcoming",e.HISTORY="history",e))(nv||{}),zc=(e=>(e.TRANSACTIONS="transactions",e.INVOICES="invoices",e.CREDIT_NOTES="credit-notes",e.RECEIPTS="receipts",e))(zc||{}),Wv=(e=>(e.IN_PROGRESS="in-progress",e.CANCELLED="cancelled",e))(Wv||{}),Sh=(e=>(e.ALL="all",e.UNFULFILLED="unfulfilled",e.ARCHIVED="archived",e))(Sh||{}),H9e=(e=>(e.DRAFTS="drafts",e.FAILED_CREATIONS="failed-creations",e.ALL_SHIPMENTS="all-shipments",e))(H9e||{}),q9e=(e=>(e.ALL="all",e.UNFULFILLED="unfulfilled",e.ACTION_REQUIRED="action-required",e))(q9e||{}),W9e=(e=>(e.DOWNLOAD_AND_PRINT="download-and-print",e.LABEL_CANCELLED="labels-cancelled",e.SCHEDULE_PICKUPS="schedule-pickups",e.TRANSACTIONS="transactions",e.TRACK_AND_TRACE="track-and-trace",e.ALL_SHIPMENTS="all-shipments",e))(W9e||{}),Z4=(e=>(e.DRAFTS="drafts",e.FAILED_CREATIONS="failed-creations",e))(Z4||{}),V9e=(e=>(e.SCHEDULE_PICKUPS="schedule-pickups",e.TRANSACTIONS="transactions",e))(V9e||{}),pm=(e=>(e.OUTSTANDING="outstanding",e.UPCOMING="upcoming",e.ARCHIVED="archived",e))(pm||{}),Um=(e=>(e.INVENTORY="inventory",e.WRO="wro",e))(Um||{}),j9e=(e=>(e.ORDER_SYNC="order-sync",e.PRODUCT_SYNC="product-sync",e.SHIPMENT_DETAILS="shipment-details",e.SHIPPING_ADDRESS="shipping-address",e))(j9e||{});const kq="/track",G9e="/shipments/new",Re=Object.freeze({home:e=>e!=null&&e.redirectUrl?`/?redirectUrl=${e.redirectUrl}`:"/",welcome:e=>Zi("/welcome",{...e}),login:e=>Zi("/login",{...e}),signup:e=>Zi("/signup",{...e}),logout:()=>"/logout",forgetPassword:e=>Zi("/forget-password",{...e}),resetPassword:e=>Zi("/reset-password",{...e}),afterLogin:e=>Zi("/dashboard",{...e}),dashboard:()=>"/dashboard",quotation:()=>"/quotation",shipments:()=>"/shipments",fulfillmentOrders:e=>qt(e.tab).with("all",()=>"/orders/all").with("unfulfilled",()=>"/orders/unfulfilled").with("archived",()=>"/orders/closed").otherwise(()=>e!=null&&e.tab?`/orders/${e.tab}`:"/orders/:tab"),fulfillmentActionRequired:()=>"/orders/actions-required",fulfillmentOrderBulkSubmit:()=>"/orders/bulk-submit",fulfillmentInventoryFallback:()=>Re.fulfillmentInventory({tab:"inventory"}),fulfillmentInventory:e=>qt(e==null?void 0:e.tab).with("inventory",()=>"/inventory").otherwise(()=>e.tab?`/inventory/${e.tab}`:"/inventory/:tab"),createWarehouseReceivingOrder:()=>"/inventory/wro/new",viewWarehouseReceivingOrder:e=>e!=null&&e.warehouseReceivingOrderId?`/inventory/wro/${e.warehouseReceivingOrderId}`:"/inventory/wro/:warehouseReceivingOrderId",editWarehouseReceivingOrder:e=>e!=null&&e.warehouseReceivingOrderId?`/inventory/wro/${e.warehouseReceivingOrderId}/edit`:"/inventory/wro/:warehouseReceivingOrderId/edit",returnOrders:()=>"/return-orders",createReturnOrder:()=>"/return-orders/new",viewReturnOrder:e=>e!=null&&e.id?`/return-orders/${e.id}`:"/return-orders/:returnOrderId",draftShipments:e=>qt(e==null?void 0:e.tab).with("in-progress",()=>"/shipments/drafts").with("cancelled",()=>"/shipments/drafts/closed").otherwise(()=>e!=null&&e.tab?`/shipments/drafts/${e.tab}`:"/shipments/drafts/:tab"),allShipments:()=>"/shipments/all",actionsRequiredShipments:()=>"/shipments/actions-required",downloadAndPrintShipmentLabels:e=>Zi("/shipments/labels",{...e}),cancelledShipments:()=>"/shipments/cancelled",trackShipments:e=>Zi("/shipments/track",{...e}),createShipment:e=>{var a,o,s,l;const t=(a=e==null?void 0:e.quotationUserInput)==null?void 0:a.fromAddress,r=(o=e==null?void 0:e.quotationUserInput)==null?void 0:o.toAddress,n=(s=e==null?void 0:e.quotationUserInput)==null?void 0:s.packages,i=(l=e==null?void 0:e.quotationUserInput)==null?void 0:l.freightType;return Zi(G9e,{fromCountry:t==null?void 0:t.country,toCountry:r==null?void 0:r.country,toCity:r==null?void 0:r.city,toState:r==null?void 0:r.state,toPostalCode:r==null?void 0:r.postalCode,isToResidential:r==null?void 0:r.isResidential,packages:JSON.stringify(n),freightType:i})},createFulfillmentOrder:()=>"/orders/new",importFulfillmentOrders:()=>"/orders/import",importOrders:()=>"/shipments/import",bulkBuyShipments:e=>Zi("/shipments/bulk-buy",{previousList:e==null?void 0:e.previousList}),bulkCancelShipments:()=>"/shipments/bulk-cancel",bulkValidateAddresses:()=>"/shipments/bulk-validate-addresses",bulkValidateFulfillmentOrderAddresses:()=>"/orders/bulk-validate-addresses",viewShipment:e=>Zi(e!=null&&e.id?`/shipments/${e.id}`:"/shipments/:shipmentId",{previousList:e==null?void 0:e.previousList}),viewFulfillmentOrder:e=>Zi(e!=null&&e.id?`/orders/${e.id}`:"/orders/:fulfillmentOrderId",{previousList:e==null?void 0:e.previousList}),editShipment:e=>Zi(e!=null&&e.id?`/shipments/${e.id}/edit`:"/shipments/:shipmentId/edit",{fromCreate:e!=null&&e.fromCreate?"1":void 0,reviewAndBuy:e!=null&&e.reviewAndBuy?"1":void 0,previousList:e==null?void 0:e.previousList}),editFulfillmentOrder:e=>Zi(e!=null&&e.id?`/orders/${e.id}/edit`:"/orders/:fulfillmentOrderId/edit",{fromCreate:e!=null&&e.fromCreate?"1":void 0,review:e!=null&&e.review?"1":void 0,previousList:e==null?void 0:e.previousList}),shipmentTracking:e=>e!=null&&e.ssidOrTrackingNumber?`${kq}/${e.ssidOrTrackingNumber}`:`${kq}/:ssidOrTrackingNumber`,schedulePickup:()=>"/pickups/schedule",pickups:e=>!(e!=null&&e.tab)||e.tab==="upcoming"?"/pickups":`/pickups/${e.tab}
411`,pickupDetails:e=>Zi(e!=null&&e.pickupId?`/pickups/${e.pickupId}`:"/pickups/:pickupId",{previousList:e==null?void 0:e.previousList}),createPickUp:()=>"/pickups/new",profile:()=>"/profile",settings:e=>e.tab?`/settings/${e.tab}`:"/settings/:tab",billing:e=>qt(e==null?void 0:e.tab).with("transactions",()=>"/billing").otherwise(()=>e.tab?`/billing/${e.tab}`:"/billing/:tab"),billingFallback:()=>Re.billing({tab:"transactions"}),billingPendingCharges:e=>qt(e==null?void 0:e.tab).with("outstanding",()=>"/billing/pending-charges").otherwise(()=>e.tab?`/billing/pending-charges/${e.tab}`:"/billing/pending-charges/:tab"),billingPendingChargesFallback:()=>Re.billingPendingCharges({tab:"outstanding"}),billingPaymentMethods:()=>"/billing/payment-methods",billingPlans:()=>"/billing/plans",billingPaymentSettings:()=>"/billing/payment-settings",products:()=>"/products",createProduct:()=>"/products/new",editProduct:e=>e!=null&&e.id?`/products/${e.id}/edit`:"/products/:productId/edit",viewProduct:e=>e!=null&&e.id?`/products/${e.id}`:"/products/:productId",storeIntegrations:()=>"/integrations/stores",editStoreIntegration:e=>e!=null&&e.id?Zi(`/integrations/stores/${e.id}`,{showStoreConnectedModal:e.showStoreConnectedModal,tab:e.tab,fromProductSync:e.fromProductSync}):"/integrations/stores/:id",connectShopifyStore:()=>"/integrations/stores/shopify/connect",executeShopifyExtension:()=>"/integrations/stores/shopify/extensions/:type",stripeSetupIntentCallback:()=>"/integrations/payment-methods/stripe/setup-intent-callback",spaceshipAI:()=>"/spaceship-ai",pageNotFound:()=>"/404"}),Lxt=e=>`${window.location.origin}${e}`;function Wae(e,t){return function(){return e.apply(t,arguments)}}const{toString:K9e}=Object.prototype,{getPrototypeOf:Vv}=Object,{iterator:Nx,toStringTag:Vae}=Symbol,_T=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),cw=(e,t)=>{let r=e;const n=[];for(;r!=null&&r!==Object.prototype;){if(n.indexOf(r)!==-1)return!1;if(n.push(r),_T(r,t))return!0;r=Vv(r)}return!1},Z9e=(e,t)=>e!=null&&cw(e,t)?e[t]:void 0,s8=(e=>t=>{const r=K9e.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),cu=e=>(e=e.toLowerCase(),t=>s8(t)===e),lA=e=>t=>typeof t===e,{isArray:zm}=Array,jv=lA("undefined");function xy(e){return e!==null&&!jv(e)&&e.constructor!==null&&!jv(e.constructor)&&ws(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const jae=cu("ArrayBuffer");function Y9e(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&jae(e.buffer),t}const $9e=lA("string"),ws=lA("function"),Gae=lA("number"),Cy=e=>e!==null&&typeof e=="object",X9e=e=>e===!0||e===!1,KE=e=>{if(!Cy(e))return!1;const t=Vv(e);return(t===null||t===Object.prototype||Vv(t)===null)&&!cw(e,Vae)&&!cw(e,Nx)},Q9e=e=>{if(!Cy(e)||xy(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},J9e=cu("Date"),e7e=cu("File"),t7e=e=>!!(e&&typeof e.uri<"u"),r7e=e=>e&&typeof e.getParts<"u",n7e=cu("Blob"),i7e=cu("FileList"),a7e=e=>Cy(e)&&ws(e.pipe);function o7e(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const Tq=o7e(),_q=typeof Tq.FormData<"u"?Tq.FormData:void 0,s7e=e=>{if(!e)return!1;if(_q&&e instanceof _q)return!0;const t=Vv(e);if(!t||t===Object.prototype||!ws(e.append))return!1;const r=s8(e);return r==="formdata"||r==="object"&&ws(e.toString)&&e.toString()==="[object FormData]"},l7e=cu("URLSearchParams"),[c7e,u7e,d7e,f7e]=["ReadableStream","Request","Response","Headers"].map(cu),h7e=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Mx(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),zm(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{if(xy(e))return;const a=r?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let s;for(n=0;n<o;n++)s=a[n],t.call(null,e[s],s,e)}}function Kae(e,t){if(xy(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,i;for(;n-- >0;)if(i=r[n],t===i.toLowerCase())return i;return null}const em=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Zae=e=>!jv(e)&&e!==em;function Y4(...e){const{caseless:t,skipUndefined:r}=Zae(this)&&this||{},n={},i=(a,o)=>
vendor: 8,263 bytes, lines 411-413
411{if(o==="__proto__"||o==="constructor"||o==="prototype")return;const s=t&&typeof o=="string"&&Kae(n,o)||o,l=_T(n,s)?n[s]:void 0;KE(l)&&KE(a)?n[s]=Y4(l,a):KE(a)?n[s]=Y4({},a):zm(a)?n[s]=a.slice():(!r||!jv(a))&&(n[s]=a)};for(let a=0,o=e.length;a<o;a++){const s=e[a];if(!s||xy(s)||(Mx(s,i),typeof s!="object"||zm(s)))continue;const l=Object.getOwnPropertySymbols(s);for(let c=0;c<l.length;c++){const u=l[c];k7e.call(s,u)&&i(s[u],u)}}return n}const p7e=(e,t,r,{allOwnKeys:n}={})=>(Mx(t,(i,a)=>{r&&ws(i)?Object.defineProperty(e,a,{__proto__:null,value:Wae(i,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,a,{__proto__:null,value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),m7e=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),g7e=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},v7e=(e,t,r,n)=>{let i,a,o;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],(!n||n(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=r!==!1&&Vv(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},y7e=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},b7e=e=>{if(!e)return null;if(zm(e))return e;let t=e.length;if(!Gae(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},S7e=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Vv(Uint8Array)),w7e=(e,t)=>{const n=(e&&e[Nx]).call(e);let i;for(;(i=n.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},x7e=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},C7e=cu("HTMLFormElement"),E7e=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),{propertyIsEnumerable:k7e}=Object.prototype,T7e=cu("RegExp"),Yae=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Mx(r,(i,a)=>{let o;(o=t(i,a,e))!==!1&&(n[a]=o||i)}),Object.defineProperties(e,n)},_7e=e=>{Yae(e,(t,r)=>{if(ws(e)&&["arguments","caller","callee"].includes(r))return!1;const n=e[r];if(ws(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},P7e=(e,t)=>{const r={},n=i=>{i.forEach(a=>{r[a]=!0})};return zm(e)?n(e):n(String(e).split(t)),r},A7e=()=>{},O7e=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function I7e(e){return!!(e&&ws(e.append)&&e[Vae]==="FormData"&&e[Nx])}const R7e=e=>{const t=new WeakSet,r=n=>{if(Cy(n)){if(t.has(n))return;if(xy(n))return n;if(!("toJSON"in n)){t.add(n);const i=zm(n)?[]:{};return Mx(n,(a,o)=>{const s=r(a);!jv(s)&&(i[o]=s)}),t.delete(n),i}}return n};return r(e)},F7e=cu("AsyncFunction"),D7e=e=>e&&(Cy(e)||ws(e))&&ws(e.then)&&ws(e.catch),$ae=((e,t)=>e?setImmediate:t?((r,n)=>(em.addEventListener("message",({source:i,data:a})=>{i===em&&a===r&&n.length&&n.shift()()},!1),i=>{n.push(i),em.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",ws(em.postMessage)),N7e=typeof queueMicrotask<"u"?queueMicrotask.bind(em):typeof process<"u"&&process.nextTick||$ae,Xae=e=>e!=null&&ws(e[Nx]),M7e=e=>e!=null&&cw(e,Nx)&&Xae(e),Oe={isArray:zm,isArrayBuffer:jae,isBuffer:xy,isFormData:s7e,isArrayBufferView:Y9e,isString:$9e,isNumber:Gae,isBoolean:X9e,isObject:Cy,isPlainObject:KE,isEmptyObject:Q9e,isReadableStream:c7e,isRequest:u7e,isResponse:d7e,isHeaders:f7e,isUndefined:jv,isDate:J9e,isFile:e7e,isReactNativeBlob:t7e,isReactNative:r7e,isBlob:n7e,isRegExp:T7e,isFunction:ws,isStream:a7e,isURLSearchParams:l7e,isTypedArray:S7e,isFileList:i7e,forEach:Mx,merge:Y4,extend:p7e,trim:h7e,stripBOM:m7e,inherits:g7e,toFlatObject:v7e,kindOf:s8,kindOfTest:cu,endsWith:y7e,toArray:b7e,forEachEntry:w7e,matchAll:x7e,isHTMLForm:C7e,hasOwnProperty:_T,hasOwnProp:_T,hasOwnInPrototypeChain:cw,getSafeProp:Z9e,reduceDescriptors:Yae,freezeMethods:_7e,toObjectSet:P7e,toCamelCase:E7e,noop:A7e,toFiniteNumber:O7e,findKey:Kae,global:em,isContextDefined:Zae,isSpecCompliantForm:I7e,toJSONObject:R7e,isAsyncFn:F7e,isThenable:D7e,setImmediate:$ae,asap:N7e,isIterable:Xae,isSafeIterable:M7e},L7e=Oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),B7e=e=>{const t={};let r,n,i;return e&&e.split(`
412`).forEach(function(o){i=o.indexOf(":"),r=o.substring(0,i).trim().toLowerCase(),n=o.substring(i+1).trim(),!(!r||t[r]&&L7e[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t};function U7e(e){let t=0,r=e.length;for(;t<r;){const n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;r>t;){const n=e.charCodeAt(r-1);if(n!==9&&n!==32)break;r-=1}return t===0&&r===e.length?e:e.slice(t,r)}const z7e=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),H7e=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function l8(e,t){return Oe.isArray(e)?e.map(r=>l8(r,t)):U7e(String(e).replace(t,""))}const q7e=e=>l8(e,z7e),W7e=e=>l8(e,H7e);function Qae(e){const t=Object.create(null);return Oe.forEach(e.toJSON(),(r,n)=>{t[n]=W7e(r)}),t}const Pq=Symbol("internals");function C1(e){return e&&String(e).trim().toLowerCase()}function ZE(e){return e===!1||e==null?e:Oe.isArray(e)?e.map(ZE):q7e(String(e))}function V7e(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const j7e=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function u3(e,t,r,n,i){if(Oe.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!Oe.isString(t)){if(Oe.isString(n))return t.indexOf(n)!==-1;if(Oe.isRegExp(n))return n.test(t)}}function G7e(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function K7e(e,t){const r=Oe.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{__proto__:null,value:function(i,a,o){return this[n].call(this,t,i,a,o)},configurable:!0})})}let go=class{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function a(s,l,c){const u=C1(l);if(!u)return;const d=Oe.findKey(i,u);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||l]=ZE(s))}const o=(s,l)=>Oe.forEach(s,(c,u)=>a(c,u,l));if(Oe.isPlainObject(t)||t instanceof this.constructor)o(t,r);else if(Oe.isString(t)&&(t=t.trim())&&!j7e(t))o(B7e(t),r);else if(Oe.isObject(t)&&Oe.isSafeIterable(t)){let s=Object.create(null),l,c;for(const u of t){if(!Oe.isArray(u))throw new TypeError("Object iterator must return a key-value pair");c=u[0],Oe.hasOwnProp(s,c)?(l=s[c],s[c]=Oe.isArray(l)?[...l,u[1]]:[l,u[1]]):s[c]=u[1]}o(s,r)}else t!=null&&a(r,t,n);return this}get(t,r){if(t=C1(t),t){const n=Oe.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return V7e(i);if(Oe.isFunction(r))return r.call(this,i,n);if(Oe.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=C1(t),t){const n=Oe.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||u3(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function a(o){if(o=C1(o),o){const s=Oe.findKey(n,o);s&&(!r||u3(n,n[s],s,r))&&(delete n[s],i=!0)}}return Oe.isArray(t)?t.forEach(a):a(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const a=r[n];(!t||u3(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const r=this,n={};return Oe.forEach(this,(i,a)=>{const o=Oe.findKey(n,a);if(o){r[o]=ZE(i),delete r[a];return}const s=t?G7e(a):String(a).trim();s!==a&&delete r[a],r[s]=ZE(i),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return Oe.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&Oe.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
413`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>
vendor: 4,522 bytes, line 413
413n.set(i)),n}static accessor(t){const n=(this[Pq]=this[Pq]={accessors:{}}).accessors,i=this.prototype;function a(o){const s=C1(o);n[s]||(K7e(i,o),n[s]=!0)}return Oe.isArray(t)?t.forEach(a):a(t),this}};go.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Oe.reduceDescriptors(go.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});Oe.freezeMethods(go);const Z7e="[REDACTED ****]";function Y7e(e){if(Oe.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(Oe.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function $7e(e,t){const r=new Set(t.map(a=>String(a).toLowerCase())),n=[],i=a=>{if(a===null||typeof a!="object"||Oe.isBuffer(a))return a;if(n.indexOf(a)!==-1)return;a instanceof go&&(a=a.toJSON()),n.push(a);let o;if(Oe.isArray(a))o=[],a.forEach((s,l)=>{const c=i(s);Oe.isUndefined(c)||(o[l]=c)});else{if(!Oe.isPlainObject(a)&&Y7e(a))return n.pop(),a;o=Object.create(null);for(const[s,l]of Object.entries(a)){const c=r.has(s.toLowerCase())?Z7e:i(l);Oe.isUndefined(c)||(o[s]=c)}}return n.pop(),o};return i(e)}let Et=class Jae extends Error{static from(t,r,n,i,a,o){const s=new Jae(t.message,r||t.code,n,i,a);return Object.defineProperty(s,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),s.name=t.name,t.status!=null&&s.status==null&&(s.status=t.status),o&&Object.assign(s,o),s}constructor(t,r,n,i,a){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),i&&(this.request=i),a&&(this.response=a,this.status=a.status)}toJSON(){const t=this.config,r=t&&Oe.hasOwnProp(t,"redact")?t.redact:void 0,n=Oe.isArray(r)&&r.length>0?$7e(t,r):Oe.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};Et.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Et.ERR_BAD_OPTION="ERR_BAD_OPTION";Et.ECONNABORTED="ECONNABORTED";Et.ETIMEDOUT="ETIMEDOUT";Et.ECONNREFUSED="ECONNREFUSED";Et.ERR_NETWORK="ERR_NETWORK";Et.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Et.ERR_DEPRECATED="ERR_DEPRECATED";Et.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Et.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Et.ERR_CANCELED="ERR_CANCELED";Et.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Et.ERR_INVALID_URL="ERR_INVALID_URL";Et.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const X7e=null,eoe=100;function $4(e){return Oe.isPlainObject(e)||Oe.isArray(e)}function toe(e){return Oe.endsWith(e,"[]")?e.slice(0,-2):e}function d3(e,t,r){return e?e.concat(t).map(function(i,a){return i=toe(i),!r&&a?"["+i+"]":i}).join(r?".":""):t}function Q7e(e){return Oe.isArray(e)&&!e.some($4)}const J7e=Oe.toFlatObject(Oe,{},null,function(t){return/^is[A-Z]/.test(t)});function cA(e,t,r){if(!Oe.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=Oe.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(b,y){return!Oe.isUndefined(y[b])});const n=r.metaTokens,i=r.visitor||p,a=r.dots,o=r.indexes,s=r.Blob||typeof Blob<"u"&&Blob,l=r.maxDepth===void 0?eoe:r.maxDepth,c=s&&Oe.isSpecCompliantForm(t),u=[];if(!Oe.isFunction(i))throw new TypeError("visitor must be a function");function d(m){if(m===null)return"";if(Oe.isDate(m))return m.toISOString();if(Oe.isBoolean(m))return m.toString();if(!c&&Oe.isBlob(m))throw new Et("Blob is not supported. Use a Buffer instead.");if(Oe.isArrayBuffer(m)||Oe.isTypedArray(m)){if(c&&typeof s=="function")return new s([m]);if(typeof Buffer<"u")return Buffer.from(m);throw new Et("Blob is not supported. Use a Buffer instead.",Et.ERR_NOT_SUPPORT)}return m}function f(m){if(m>l)throw new Et("Object is too deeply nested ("+m+" levels). Max depth: "+l,Et.ERR_FORM_DATA_DEPTH_EXCEEDED)}function h(m,b){if(l===1/0)return JSON.stringify(m);const y=[];return JSON.stringify(m,function(x,C){if(!Oe.isObject(C))return C;for(;y.length&&y[y.length-1]!==this;)y.pop();return y.push(C),f(b+y.length-1),C})}function p(m,b,y){let w=m;if(Oe.isReactNative(t)&&Oe.isReactNativeBlob(m))return t.append(d3(y,b,a),d(m)),!1;if(m&&!y&&typeof m=="object"){if(Oe.endsWith(b,"{}"))b=n?b:b.slice(0,-2),m=h(m,1);else if(Oe.isArray(m)&&Q7e(m)||(Oe.isFileList(m)||Oe.endsWith(b,"[]"))&&(w=Oe.toArray(m)))return b=toe(b),w.forEac
vendor: 4,231 bytes, line 413
413h(function(C,T){!(Oe.isUndefined(C)||C===null)&&t.append(o===!0?d3([b],T,a):o===null?b:b+"[]",d(C))}),!1}return $4(m)?!0:(t.append(d3(y,b,a),d(m)),!1)}const g=Object.assign(J7e,{defaultVisitor:p,convertValue:d,isVisitable:$4});function v(m,b,y=0){if(!Oe.isUndefined(m)){if(f(y),u.indexOf(m)!==-1)throw new Error("Circular reference detected in "+b.join("."));u.push(m),Oe.forEach(m,function(x,C){(!(Oe.isUndefined(x)||x===null)&&i.call(t,x,Oe.isString(C)?C.trim():C,b,g))===!0&&v(x,b?b.concat(C):[C],y+1)}),u.pop()}}if(!Oe.isObject(e))throw new TypeError("data must be an object");return v(e),t}function Aq(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function c8(e,t){this._pairs=[],e&&cA(e,this,t)}const roe=c8.prototype;roe.append=function(t,r){this._pairs.push([t,r])};roe.toString=function(t){const r=t?n=>t.call(this,n,Aq):Aq;return this._pairs.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function eUe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function noe(e,t,r){if(!t)return e;e=e||"";const n=Oe.isFunction(r)?{serialize:r}:r,i=Oe.getSafeProp(n,"encode")||eUe,a=Oe.getSafeProp(n,"serialize");let o;if(a?o=a(t,n):o=Oe.isURLSearchParams(t)?t.toString():new c8(t,n).toString(i),o){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Oq{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Oe.forEach(this.handlers,function(n){n!==null&&t(n)})}}const u8={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},tUe=typeof URLSearchParams<"u"?URLSearchParams:c8,rUe=typeof FormData<"u"?FormData:null,nUe=typeof Blob<"u"?Blob:null,iUe={isBrowser:!0,classes:{URLSearchParams:tUe,FormData:rUe,Blob:nUe},protocols:["http","https","file","blob","url","data"]},d8=typeof window<"u"&&typeof document<"u",X4=typeof navigator=="object"&&navigator||void 0,aUe=d8&&(!X4||["ReactNative","NativeScript","NS"].indexOf(X4.product)<0),oUe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",sUe=d8&&window.location.href||"http://localhost",lUe=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:d8,hasStandardBrowserEnv:aUe,hasStandardBrowserWebWorkerEnv:oUe,navigator:X4,origin:sUe},Symbol.toStringTag,{value:"Module"})),Ra={...lUe,...iUe};function cUe(e,t){return cA(e,new Ra.classes.URLSearchParams,{visitor:function(r,n,i,a){return Ra.isNode&&Oe.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}const Iq=eoe;function ioe(e){if(e>Iq)throw new Et("FormData field is too deeply nested ("+e+" levels). Max depth: "+Iq,Et.ERR_FORM_DATA_DEPTH_EXCEEDED)}function uUe(e){const t=[],r=/\w+|\[(\w*)]/g;let n;for(;(n=r.exec(e))!==null;)ioe(t.length),t.push(n[0]==="[]"?"":n[1]||n[0]);return t}function dUe(e){const t={},r=Object.keys(e);let n;const i=r.length;let a;for(n=0;n<i;n++)a=r[n],t[a]=e[a];return t}function aoe(e){function t(r,n,i,a){ioe(a);let o=r[a++];if(o==="__proto__")return!0;const s=Number.isFinite(+o),l=a>=r.length;return o=!o&&Oe.isArray(i)?i.length:o,l?(Oe.hasOwnProp(i,o)?i[o]=Oe.isArray(i[o])?i[o].concat(n):[i[o],n]:i[o]=n,!s):((!Oe.hasOwnProp(i,o)||!Oe.isObject(i[o]))&&(i[o]=[]),t(r,n,i[o],a)&&Oe.isArray(i[o])&&(i[o]=dUe(i[o])),!s)}if(Oe.isFormData(e)&&Oe.isFunction(e.entries)){const r={};return Oe.forEachEntry(e,(n,i)=>{t(uUe(n),i,r,0)}),r}return null}const q0=(e,t)=>e!=null&&Oe.hasOwnProp(e,t)?e[t]:void 0;function fUe(e,t,r){if(Oe.isString(e))try{return(t||JSON.parse)(e),Oe.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Lx={transitional:u8,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,a=Oe.isObject(t);
vendor: 13,667 bytes, line 413
413if(a&&Oe.isHTMLForm(t)&&(t=new FormData(t)),Oe.isFormData(t))return i?JSON.stringify(aoe(t)):t;if(Oe.isArrayBuffer(t)||Oe.isBuffer(t)||Oe.isStream(t)||Oe.isFile(t)||Oe.isBlob(t)||Oe.isReadableStream(t))return t;if(Oe.isArrayBufferView(t))return t.buffer;if(Oe.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){const l=q0(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return cUe(t,l).toString();if((s=Oe.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=q0(this,"env"),u=c&&c.FormData;return cA(s?{"files[]":t}:t,u&&new u,l)}}return a||i?(r.setContentType("application/json",!1),fUe(t)):t}],transformResponse:[function(t){const r=q0(this,"transitional")||Lx.transitional,n=r&&r.forcedJSONParsing,i=q0(this,"responseType"),a=i==="json";if(Oe.isResponse(t)||Oe.isReadableStream(t))return t;if(t&&Oe.isString(t)&&(n&&!i||a)){const s=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t,q0(this,"parseReviver"))}catch(l){if(s)throw l.name==="SyntaxError"?Et.from(l,Et.ERR_BAD_RESPONSE,this,null,q0(this,"response")):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ra.classes.FormData,Blob:Ra.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Oe.forEach(["delete","get","head","post","put","patch","query"],e=>{Lx.headers[e]={}});function f3(e,t){const r=this||Lx,n=t||r,i=go.from(n.headers);let a=n.data;return Oe.forEach(e,function(s){a=s.call(r,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function ooe(e){return!!(e&&e.__CANCEL__)}let Bx=class extends Et{constructor(t,r,n){super(t??"canceled",Et.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}};function soe(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Et("Request failed with status code "+r.status,r.status>=400&&r.status<500?Et.ERR_BAD_REQUEST:Et.ERR_BAD_RESPONSE,r.config,r.request,r))}function hUe(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function pUe(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,a=0,o;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=n[a];o||(o=c),r[i]=l,n[i]=c;let d=a,f=0;for(;d!==i;)f+=r[d++],d=d%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),c-o<t)return;const h=u&&c-u;return h?Math.round(f*1e3/h):void 0}}function mUe(e,t){let r=0,n=1e3/t,i,a;const o=(c,u=Date.now())=>{r=u,i=null,a&&(clearTimeout(a),a=null),e(...c)};return[(...c)=>{const u=Date.now(),d=u-r;d>=n?o(c,u):(i=c,a||(a=setTimeout(()=>{a=null,o(i)},n-d)))},()=>i&&o(i)]}const PT=(e,t,r=3)=>{let n=0;const i=pUe(50,250);return mUe(a=>{if(!a||typeof a.loaded!="number")return;const o=a.loaded,s=a.lengthComputable?a.total:void 0,l=s!=null?Math.min(o,s):o,c=Math.max(0,l-n),u=i(c);n=Math.max(n,l);const d={loaded:l,total:s,progress:s?l/s:void 0,bytes:c,rate:u||void 0,estimated:u&&s?(s-l)/u:void 0,event:a,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},r)},Rq=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Fq=e=>(...t)=>Oe.asap(()=>e(...t)),gUe=Ra.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Ra.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Ra.origin),Ra.navigator&&/(msie|trident)/i.test(Ra.navigator.userAgent)):()=>!0,vUe=Ra.hasStandardBrowserEnv?{write(e,t,r,n,i,a,o){if(typeof document>"u")return;const s=[`${e}=${encodeURIComponent(t)}`];Oe.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),Oe.isString(n)&&s.push(`path=${n}`),Oe.isString(i)&&s.push(`domain=${i}`),a===!0&&s.push("secure"),Oe.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let r=0;r<t.length;r++){const n=t[r].replace(/^\s+/,""),i=n.indexOf("=");if(i!==-1&&n.slice(0,i)===e)try{return decodeURIComponent(n.slice(i+1))}catch{return n.slice(i+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function yUe(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function bUe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}const SUe=/^https?:(?!\/\/)/i,wUe=/[\t\n\r]/g;function xUe(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}function CUe(e){return xUe(e).replace(wUe,"")}function Dq(e,t){if(typeof e=="string"&&SUe.test(CUe(e)))throw new Et('Invalid URL: missing "//" after protocol',Et.ERR_INVALID_URL,t)}function loe(e,t,r,n){Dq(t,n);let i=!yUe(t);return e&&(i||r===!1)?(Dq(e,n),bUe(e,t)):t}const Nq=e=>e instanceof go?{...e}:e;function Hm(e,t){e=e||{},t=t||{};const r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function n(u,d,f,h){return Oe.isPlainObject(u)&&Oe.isPlainObject(d)?Oe.merge.call({caseless:h},u,d):Oe.isPlainObject(d)?Oe.merge({},d):Oe.isArray(d)?d.slice():d}function i(u,d,f,h){if(Oe.isUndefined(d)){if(!Oe.isUndefined(u))return n(void 0,u,f,h)}else return n(u,d,f,h)}function a(u,d){if(!Oe.isUndefined(d))return n(void 0,d)}function o(u,d){if(Oe.isUndefined(d)){if(!Oe.isUndefined(u))return n(void 0,u)}else return n(void 0,d)}function s(u){const d=Oe.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!Oe.isUndefined(d))if(Oe.isPlainObject(d)){if(Oe.hasOwnProp(d,u))return d[u]}else return;const f=Oe.hasOwnProp(e,"transitional")?e.transitional:void 0;if(Oe.isPlainObject(f)&&Oe.hasOwnProp(f,u))return f[u]}function l(u,d,f){if(Oe.hasOwnProp(t,f))return n(u,d);if(Oe.hasOwnProp(e,f))return n(void 0,u)}const c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:l,headers:(u,d,f)=>i(Nq(u),Nq(d),f,!0)};return Oe.forEach(Object.keys({...e,...t}),function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;const f=Oe.hasOwnProp(c,d)?c[d]:i,h=Oe.hasOwnProp(e,d)?e[d]:void 0,p=Oe.hasOwnProp(t,d)?t[d]:void 0,g=f(h,p,d);Oe.isUndefined(g)&&f!==l||(r[d]=g)}),Oe.hasOwnProp(t,"validateStatus")&&Oe.isUndefined(t.validateStatus)&&s("validateStatusUndefinedResolves")===!1&&(Oe.hasOwnProp(e,"validateStatus")?r.validateStatus=n(void 0,e.validateStatus):delete r.validateStatus),r}const EUe=["content-type","content-length"];function kUe(e,t,r){if(r!=="content-only"){e.set(t);return}Object.entries(t||{}).forEach(([n,i])=>{EUe.includes(n.toLowerCase())&&e.set(n,i)})}const TUe=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16)));function coe(e){const t=Hm({},e),r=f=>Oe.hasOwnProp(t,f)?t[f]:void 0,n=r("data");let i=r("withXSRFToken");const a=r("xsrfHeaderName"),o=r("xsrfCookieName");let s=r("headers");const l=r("auth"),c=r("baseURL"),u=r("allowAbsoluteUrls"),d=r("url");if(t.headers=s=go.from(s),t.url=noe(loe(c,d,u,t),r("params"),r("paramsSerializer")),l){const f=Oe.getSafeProp(l,"username")||"",h=Oe.getSafeProp(l,"password")||"";try{s.set("Authorization","Basic "+btoa(f+":"+(h?TUe(h):"")))}catch(p){throw Et.from(p,Et.ERR_BAD_OPTION_VALUE,e)}}if(Oe.isFormData(n)&&(Ra.hasStandardBrowserEnv||Ra.hasStandardBrowserWebWorkerEnv||Oe.isReactNative(n)?s.setContentType(void 0):Oe.isFunction(n.getHeaders)&&kUe(s,n.getHeaders(),r("formDataHeaderPolicy"))),Ra.hasStandardBrowserEnv&&(Oe.isFunction(i)&&(i=i(t)),i===!0||i==null&&gUe(t.url))){const h=a&&o&&vUe.read(o);h&&s.set(a,h)}return t}const _Ue=typeof XMLHttpRequest<"u",PUe=_Ue&&function(e){return new Promise(function(r,n){const i=coe(e);let a=i.data;const o=go.from(i.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:c}=i,u,d,f,h,p;function g(){h&&h(),p&&p(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(i.method.toUpperCase(),i.url,!0),v.timeout=i.timeout;function m(){if(!v)return;const y=go.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),x={data:!s||s==="text"||s==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:y,config:e,request:v};soe(function(T){r(T),g()},function(T){n(T),g()},x),v=null}"onloadend"in v?v.onloadend=m:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.startsWith("file:"))||setTimeout(m)},v.onabort=function(){v&&(n(new Et("Request aborted",Et.ECONNABORTED,e,v)),g(),v=null)},v.onerror=function(w){const x=w&&w.message?w.message:"Network Error",C=new Et(x,Et.ERR_NETWORK,e,v);C.event=w||null,n(C),g(),v=null},v.ontimeout=function(){let w=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const x=i.transitional||u8;i.timeoutErrorMessage&&(w=i.timeoutErrorMessage),n(new Et(w,x.clarifyTimeoutError?Et.ETIMEDOUT:Et.ECONNABORTED,e,v)),g(),v=null},a===void 0&&o.setContentType(null),"setRequestHeader"in v&&Oe.forEach(Qae(o),function(w,x){v.setRequestHeader(x,w)}),Oe.isUndefined(i.withCredentials)||(v.withCredentials=!!i.withCredentials),s&&s!=="json"&&(v.responseType=i.responseType),c&&([f,p]=PT(c,!0),v.addEventListener("progress",f)),l&&v.upload&&([d,h]=PT(l),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(u=y=>{v&&(n(!y||y.type?new Bx(null,e,v):y),v.abort(),g(),v=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const b=hUe(i.url);if(b&&!Ra.protocols.includes(b)){n(new Et("Unsupported protocol "+b+":",Et.ERR_BAD_REQUEST,e)),g();return}v.send(a||null)})},AUe=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const r=new AbortController;let n=!1;const i=function(l){if(!n){n=!0,o();const c=l instanceof Error?l:this.reason;r.abort(c instanceof Et?c:new Bx(c instanceof Error?c.message:c))}};let a=t&&setTimeout(()=>{a=null,i(new Et(`timeout of ${t}ms exceeded`,Et.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i,{once:!0}));const{signal:s}=r;return s.unsubscribe=()=>Oe.asap(o),s},OUe=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,i;for(;n<r;)i=n+t,yield e.slice(n,i),n=i},IUe=async function*(e,t){for await(const r of RUe(e))yield*OUe(r,t)},RUe=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},Mq=(e,t,r,n)=>{const i=IUe(e,t);let a=0,o,s=l=>{o||(o=!0,n&&n(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await i.next();if(c){s(),l.close();return}let d=u.byteLength;if(r){let f=a+=d;r(f)}l.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(l){return s(l),i.return()}},{highWaterMark:2})},AT=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,FUe=(e,t,r)=>t+2<r&&AT(e.charCodeAt(t+1))&&AT(e.charCodeAt(t+2));function DUe(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const r=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(r)){let o=n.length;const s=n.length;for(let h=0;h<s;h++)if(n.charCodeAt(h)===37&&h+2<s){const p=n.charCodeAt(h+1),g=n.charCodeAt(h+2);AT(p)&&AT(g)&&(o-=2,h+=2)}let l=0,c=s-1;const u=h=>h>=2&&n.charCodeAt(h-2)===37&&n.charCodeAt(h-1)===51&&(n.charCodeAt(h)===68||n.charCodeAt(h)===100);c>=0&&(n.charCodeAt(c)===61?(l++,c--):u(c)&&(l++,c-=3)),l===1&&c>=0&&(n.charCodeAt(c)===61||u(c))&&l++;const f=Math.floor(o/4)*3-(l||0);return f>0?f:0}let a=0;for(let o=0,s=n.length;o<s;o++){const l=n.charCodeAt(o);if(l===37&&FUe(n,o,s))a+=1,o+=2;else if(l<128)a+=1;else if(l<2048)a+=2;else if(l>=55296&&l<=56319&&o+1<s){const c=n.charCodeAt(o+1);c>=56320&&c<=57343?(a+=4,o++):a+=3}else a+=3}return a}const f8="1.18.1",Lq=64*1024,{isFunction:EC}=Oe,NUe=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16))),Bq=e=>{if(!Oe.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},Uq=(e,...t)=>{try{return!!e(...t)}catch{return!1}},MUe=e=>{const t=e.indexOf("://");let r=e;return t!==-1&&(r=r.slice(t+3)),r.includes("@")||r.includes(":")},LUe=e=>{const t=Oe.global!==void 0&&Oe.global!==null?Oe.global:globalThis,{ReadableStream:r,TextEncoder:n}=t;e=Oe.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:i,Request:a,Response:o}=e,s=i?EC(i):typeof fetch=="function",l=EC(a),c=EC(o);if(!s)return!1;const u=s&&EC(r),d=s&&(typeof n=="function"?(m=>b=>m.encode(b))(new n):async m=>new Uint8Array(await new a(m).arrayBuffer())),f=l&&u&&Uq(()=>{let m=!1;const b=new a(Ra.origin,{body:new r,method:"POST",get duplex(){return m=!0,"half"}}),y=b.headers.has("Content-Type");return b.body!=null&&b.body.cancel(),m&&!y}),h=c&&u&&Uq(()=>Oe.isReadableStream(new o("").body)),p={stream:h&&(m=>m.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(m=>{!p[m]&&(p[m]=(b,y)=>{let w=b&&b[m];if(w)return w.call(b);throw new Et(`Response type '${m}' is not supported`,Et.ERR_NOT_SUPPORT,y)})});const g=async m=>{if(m==null)return 0;if(Oe.isBlob(m))return m.size;if(Oe.isSpecCompliantForm(m))return(await new a(Ra.origin,{method:"POST",body:m}).arrayBuffer()).byteLength;
vendor: 1,504 bytes, line 413
413if(Oe.isArrayBufferView(m)||Oe.isArrayBuffer(m))return m.byteLength;if(Oe.isURLSearchParams(m)&&(m=m+""),Oe.isString(m))return(await d(m)).byteLength},v=async(m,b)=>{const y=Oe.toFiniteNumber(m.getContentLength());return y??g(b)};return async m=>{let{url:b,method:y,data:w,signal:x,cancelToken:C,timeout:T,onDownloadProgress:_,onUploadProgress:P,responseType:F,headers:I,withCredentials:R="same-origin",fetchOptions:D,maxContentLength:A,maxBodyLength:M}=coe(m);const X=Oe.isNumber(A)&&A>-1,Y=Oe.isNumber(M)&&M>-1,se=Ne=>Oe.hasOwnProp(m,Ne)?m[Ne]:void 0;let ne=i||fetch;F=F?(F+"").toLowerCase():"text";let ie=AUe([x,C&&C.toAbortSignal()],T),ae=null;const ce=ie&&ie.unsubscribe&&(()=>{ie.unsubscribe()});let ke,ge=null;const De=()=>new Et("Request body larger than maxBodyLength limit",Et.ERR_BAD_REQUEST,m,ae);try{let Ne;const We=se("auth");if(We){const Z=Oe.getSafeProp(We,"username")||"",B=Oe.getSafeProp(We,"password")||"";Ne={username:Z,password:B}}if(MUe(b)){const Z=new URL(b,Ra.origin);if(!Ne&&(Z.username||Z.password)){const B=Bq(Z.username),V=Bq(Z.password);Ne={username:B,password:V}}(Z.username||Z.password)&&(Z.username="",Z.password="",b=Z.href)}if(Ne&&(I.delete("authorization"),I.set("Authorization","Basic "+btoa(NUe((Ne.username||"")+":"+(Ne.password||""))))),X&&typeof b=="string"&&b.startsWith("data:")&&DUe(b)>A)throw new Et("maxContentLength size of "+A+" exceeded",Et.ERR_BAD_RESPONSE,m,ae);if(Y&&y!=="get"&&y!=="head"){const Z=await g(w);if(typeof Z=="number"&&isFinite(Z)&&(ke=Z,Z>
vendor: 6,749 bytes, lines 413-419
413M))throw De()}const z=Y&&(Oe.isReadableStream(w)||Oe.isStream(w)),J=(Z,B,V)=>Mq(Z,Lq,de=>{if(Y&&de>M)throw ge=De();B&&B(de)},V);if(f&&y!=="get"&&y!=="head"&&(P||z)){if(ke=ke??await v(I,w),ke!==0||z){let Z=new a(b,{method:"POST",body:w,duplex:"half"}),B;if(Oe.isFormData(w)&&(B=Z.headers.get("content-type"))&&I.setContentType(B),Z.body){const[V,de]=P&&Rq(ke,PT(Fq(P)))||[];w=J(Z.body,V,de)}}}else if(z&&!l&&u&&y!=="get"&&y!=="head")w=J(w);else if(z&&l&&!f&&y!=="get"&&y!=="head")throw new Et("Stream request bodies are not supported by the current fetch implementation",Et.ERR_NOT_SUPPORT,m,ae);Oe.isString(R)||(R=R?"include":"omit");const j=l&&"credentials"in a.prototype;if(Oe.isFormData(w)){const Z=I.getContentType();Z&&/^multipart\/form-data/i.test(Z)&&!/boundary=/i.test(Z)&&I.delete("content-type")}I.set("User-Agent","axios/"+f8,!1);const q={...D,signal:ie,method:y.toUpperCase(),headers:Qae(I.normalize()),body:w,duplex:"half",credentials:j?R:void 0};ae=l&&new a(b,q);let G=await(l?ne(ae,D):ne(b,q));const N=go.from(G.headers);if(X){const Z=Oe.toFiniteNumber(N.getContentLength());if(Z!=null&&Z>A)throw new Et("maxContentLength size of "+A+" exceeded",Et.ERR_BAD_RESPONSE,m,ae)}const O=h&&(F==="stream"||F==="response");if(h&&G.body&&(_||X||O&&ce)){const Z={};["status","statusText","headers"].forEach(Se=>{Z[Se]=G[Se]});const B=Oe.toFiniteNumber(N.getContentLength()),[V,de]=_&&Rq(B,PT(Fq(_),!0))||[];let Pe=0;const ze=Se=>{if(X&&(Pe=Se,Pe>A))throw new Et("maxContentLength size of "+A+" exceeded",Et.ERR_BAD_RESPONSE,m,ae);V&&V(Se)};G=new o(Mq(G.body,Lq,ze,()=>{de&&de(),ce&&ce()}),Z)}F=F||"text";let oe=await p[Oe.findKey(p,F)||"text"](G,m);if(X&&!h&&!O){let Z;if(oe!=null&&(typeof oe.byteLength=="number"?Z=oe.byteLength:typeof oe.size=="number"?Z=oe.size:typeof oe=="string"&&(Z=typeof n=="function"?new n().encode(oe).byteLength:oe.length)),typeof Z=="number"&&Z>A)throw new Et("maxContentLength size of "+A+" exceeded",Et.ERR_BAD_RESPONSE,m,ae)}return!O&&ce&&ce(),await new Promise((Z,B)=>{soe(Z,B,{data:oe,headers:go.from(G.headers),status:G.status,statusText:G.statusText,config:m,request:ae})})}catch(Ne){if(ce&&ce(),ie&&ie.aborted&&ie.reason instanceof Et){const We=ie.reason;throw We.config=m,ae&&(We.request=ae),Ne!==We&&Object.defineProperty(We,"cause",{__proto__:null,value:Ne,writable:!0,enumerable:!1,configurable:!0}),We}if(ge)throw ae&&!ge.request&&(ge.request=ae),ge;if(Ne instanceof Et)throw ae&&!Ne.request&&(Ne.request=ae),Ne;if(Ne&&Ne.name==="TypeError"&&/Load failed|fetch/i.test(Ne.message)){const We=new Et("Network Error",Et.ERR_NETWORK,m,ae,Ne&&Ne.response);throw Object.defineProperty(We,"cause",{__proto__:null,value:Ne.cause||Ne,writable:!0,enumerable:!1,configurable:!0}),We}throw Et.from(Ne,Ne&&Ne.code,m,ae,Ne&&Ne.response)}}},BUe=new Map,uoe=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:i}=t,a=[n,i,r];let o=a.length,s=o,l,c,u=BUe;for(;s--;)l=a[s],c=u.get(l),c===void 0&&u.set(l,c=s?new Map:LUe(t)),u=c;return c};uoe();const h8={http:X7e,xhr:PUe,fetch:{get:uoe}};Oe.forEach(h8,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const zq=e=>`- ${e}`,UUe=e=>Oe.isFunction(e)||e===null||e===!1;function zUe(e,t){e=Oe.isArray(e)?e:[e];const{length:r}=e;let n,i;const a={};for(let o=0;o<r;o++){n=e[o];let s;if(i=n,!UUe(n)&&(i=h8[(s=String(n)).toLowerCase()],i===void 0))throw new Et(`Unknown adapter '${s}'`);if(i&&(Oe.isFunction(i)||(i=i.get(t))))break;a[s||"#"+o]=i}if(!i){const o=Object.entries(a).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let s=r?o.length>1?`since :
414`+o.map(zq).join(`
415`):" "+zq(o[0]):"as no adapter specified";throw new Et("There is no suitable adapter to dispatch the request "+s,Et.ERR_NOT_SUPPORT)}return i}const doe={getAdapter:zUe,adapters:h8};function h3(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Bx(null,e)}function Hq(e){return h3(e),e.headers=go.from(e.headers),e.data=f3.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),doe.getAdapter(e.adapter||Lx.adapter,e)(e).then(function(n){h3(e),e.response=n;try{n.data=f3.call(e,e.transformResponse,n)}finally{delete e.response}return n.headers=go.from(n.headers),n},function(n){if(!ooe(n)&&(h3(e),n&&n.response)){e.response=n.response;try{n.response.data=f3.call(e,e.transformResponse,n.response)}finally{delete e.response}n.response.headers=go.from(n.response.headers)}return Promise.reject(n)})}const uA={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{uA[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const qq={};uA.transitional=function(t,r,n){function i(a,o){return"[Axios v"+f8+"] Transitional option '"+a+"'"+o+(n?". "+n:"")}return(a,o,s)=>{if(t===!1)throw new Et(i(o," has been removed"+(r?" in "+r:"")),Et.ERR_DEPRECATED);return r&&!qq[o]&&(qq[o]=!0,console.warn(i(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,o,s):!0}};uA.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function HUe(e,t,r){if(typeof e!="object"||e===null)throw new Et("options must be an object",Et.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const a=n[i],o=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(o){const s=e[a],l=s===void 0||o(s,a,e);if(l!==!0)throw new Et("option "+a+" must be "+l,Et.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Et("Unknown option "+a,Et.ERR_BAD_OPTION)}}const YE={assertOptions:HUe,validators:uA},Ja=YE.validators;let mm=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Oq,response:new Oq}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const a=(()=>{if(!i.stack)return"";const o=i.stack.indexOf(`
416`);return o===-1?"":i.stack.slice(o+1)})();try{if(!n.stack)n.stack=a;else if(a){const o=a.indexOf(`
417`),s=o===-1?-1:a.indexOf(`
418`,o+1),l=s===-1?"":a.slice(s+1);String(n.stack).endsWith(l)||(n.stack+=`
419`+a)}}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Hm(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:a}=r;n!==void 0&&YE.assertOptions(n,{silentJSONParsing:Ja.transitional(Ja.boolean),forcedJSONParsing:Ja.transitional(Ja.boolean),clarifyTimeoutError:Ja.transitional(Ja.boolean),legacyInterceptorReqResOrdering:Ja.transitional(Ja.boolean),advertiseZstdAcceptEncoding:Ja.transitional(Ja.boolean),validateStatusUndefinedResolves:Ja.transitional(Ja.boolean)}
vendor: 12,066 bytes, line 419
419,!1),i!=null&&(Oe.isFunction(i)?r.paramsSerializer={serialize:i}:YE.assertOptions(i,{encode:Ja.function,serialize:Ja.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),YE.assertOptions(r,{baseUrl:Ja.spelling("baseURL"),withXsrfToken:Ja.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=a&&Oe.merge(a.common,a[r.method]);a&&Oe.forEach(["delete","get","head","post","put","patch","query","common"],p=>{delete a[p]}),r.headers=go.concat(o,a);const s=[];let l=!0;this.interceptors.request.forEach(function(g){if(typeof g.runWhen=="function"&&g.runWhen(r)===!1)return;l=l&&g.synchronous;const v=r.transitional||u8;v&&v.legacyInterceptorReqResOrdering?s.unshift(g.fulfilled,g.rejected):s.push(g.fulfilled,g.rejected)});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let u,d=0,f;if(!l){const p=[Hq.bind(this),void 0];for(p.unshift(...s),p.push(...c),f=p.length,u=Promise.resolve(r);d<f;)u=u.then(p[d++],p[d++]);return u}f=s.length;let h=r;for(;d<f;){const p=s[d++],g=s[d++];try{h=p(h)}catch(v){g.call(this,v);break}}try{u=Hq.call(this,h)}catch(p){return Promise.reject(p)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=Hm(this.defaults,t);const r=loe(t.baseURL,t.url,t.allowAbsoluteUrls,t);return noe(r,t.params,t.paramsSerializer)}};Oe.forEach(["delete","get","head","options"],function(t){mm.prototype[t]=function(r,n){return this.request(Hm(n||{},{method:t,url:r,data:n&&Oe.hasOwnProp(n,"data")?n.data:void 0}))}});Oe.forEach(["post","put","patch","query"],function(t){function r(n){return function(a,o,s){return this.request(Hm(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}mm.prototype[t]=r(),t!=="query"&&(mm.prototype[t+"Form"]=r(!0))});let qUe=class foe{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(a){r=a});const n=this;this.promise.then(i=>{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](i);n._listeners=null}),this.promise.then=i=>{let a;const o=new Promise(s=>{n.subscribe(s),a=s}).then(i);return o.cancel=function(){n.unsubscribe(a)},o},t(function(a,o,s){n.reason||(n.reason=new Bx(a,o,s),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new foe(function(i){t=i}),cancel:t}}};function WUe(e){return function(r){return e.apply(null,r)}}function VUe(e){return Oe.isObject(e)&&e.isAxiosError===!0}const Q4={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Q4).forEach(([e,t])=>{Q4[t]=e});function hoe(e){const t=new mm(e),r=Wae(mm.prototype.request,t);return Oe.extend(r,mm.prototype,t,{allOwnKeys:!0}),Oe.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return hoe(Hm(e,i))},r}const Ci=hoe(Lx);Ci.Axios=mm;Ci.CanceledError=Bx;Ci.CancelToken=qUe;Ci.isCancel=ooe;Ci.VERSION=f8;Ci.toFormData=cA;Ci.AxiosError=Et;Ci.Cancel=Ci.CanceledError;Ci.all=function(t){return Promise.all(t)};Ci.spread=WUe;Ci.isAxiosError=VUe;Ci.mergeConfig=Hm;Ci.AxiosHeaders=go;Ci.formToJSON=e=>aoe(Oe.isHTMLForm(e)?new FormData(e):e);Ci.getAdapter=doe.getAdapter;Ci.HttpStatusCode=Q4;Ci.default=Ci;const{Axios:Hxt,AxiosError:p8,CanceledError:qxt,isCancel:Wxt,CancelToken:Vxt,VERSION:jxt,all:Gxt,Cancel:Kxt,isAxiosError:poe,spread:Zxt,toFormData:Yxt,AxiosHeaders:$xt,HttpStatusCode:jUe,formToJSON:Xxt,getAdapter:Qxt,mergeConfig:Jxt,create:e2t}=Ci;var moe={exports:{}};/*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */var p3,Wq;function GUe(){if(Wq)return p3;Wq=1;function e(L,H){return function(){return L.apply(H,arguments)}}const{toString:t}=Object.prototype,{getPrototypeOf:r}=Object,{iterator:n,toStringTag:i}=Symbol,a=(({hasOwnProperty:L})=>(H,ee)=>L.call(H,ee))(Object.prototype),o=(L,H)=>{let ee=L;const re=[];for(;ee!=null&&ee!==Object.prototype;){if(re.indexOf(ee)!==-1)return!1;if(re.push(ee),a(ee,H))return!0;ee=r(ee)}return!1},s=(L,H)=>L!=null&&o(L,H)?L[H]:void 0,l=(L=>H=>{const ee=t.call(H);return L[ee]||(L[ee]=ee.slice(8,-1).toLowerCase())})(Object.create(null)),c=L=>(L=L.toLowerCase(),H=>l(H)===L),u=L=>H=>typeof H===L,{isArray:d}=Array,f=u("undefined");function h(L){return L!==null&&!f(L)&&L.constructor!==null&&!f(L.constructor)&&m(L.constructor.isBuffer)&&L.constructor.isBuffer(L)}const p=c("ArrayBuffer");function g(L){let H;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?H=ArrayBuffer.isView(L):H=L&&L.buffer&&p(L.buffer),H}const v=u("string"),m=u("function"),b=u("number"),y=L=>L!==null&&typeof L=="object",w=L=>L===!0||L===!1,x=L=>{if(!y(L))return!1;const H=r(L);return(H===null||H===Object.prototype||r(H)===null)&&!o(L,i)&&!o(L,n)},C=L=>{if(!y(L)||h(L))return!1;try{return Object.keys(L).length===0&&Object.getPrototypeOf(L)===Object.prototype}catch{return!1}},T=c("Date"),_=c("File"),P=L=>!!(L&&typeof L.uri<"u"),F=L=>L&&typeof L.getParts<"u",I=c("Blob"),R=c("FileList"),D=L=>y(L)&&m(L.pipe);function A(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof yn<"u"?yn:{}}const M=A(),X=typeof M.FormData<"u"?M.FormData:void 0,Y=L=>{if(!L)return!1;if(X&&L instanceof X)return!0;const H=r(L);if(!H||H===Object.prototype||!m(L.append))return!1;const ee=l(L);return ee==="formdata"||ee==="object"&&m(L.toString)&&L.toString()==="[object FormData]"},se=c("URLSearchParams"),[ne,ie,ae,ce]=["ReadableStream","Request","Response","Headers"].map(c),ke=L=>L.trim?L.trim():L.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ge(L,H,{allOwnKeys:ee=!1}={}){if(L===null||typeof L>"u")return;let re,ve;if(typeof L!="object"&&(L=[L]),d(L))for(re=0,ve=L.length;re<ve;re++)H.call(null,L[re],re,L);else{if(h(L))return;const Ce=ee?Object.getOwnPropertyNames(L):Object.keys(L),Fe=Ce.length;let He;for(re=0;re<Fe;re++)He=Ce[re],H.call(null,L[He],He,L)}}function De(L,H){if(h(L))return null;H=H.toLowerCase();const ee=Object.keys(L);let re=ee.length,ve;for(;re-- >0;)if(ve=ee[re],H===ve.toLowerCase())return ve;return null}const Ne=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:yn,We=L=>!f(L)&&L!==Ne;function z(...L){const{caseless:H,skipUndefined:ee}=We(this)&&this||{},re={},ve=(Ce,Fe)=>{if(Fe==="__proto__"||Fe==="constructor"||Fe==="prototype")return;const He=H&&typeof Fe=="string"&&De(re,Fe)||Fe,it=a(re,He)?re[He]:void 0;x(it)&&x(Ce)?re[He]=z(it,Ce):x(Ce)?re[He]=z({},Ce):d(Ce)?re[He]=Ce.slice():(!ee||!f(Ce))&&(re[He]=Ce)};for(let Ce=0,Fe=L.length;Ce<Fe;Ce++){const He=L[Ce];if(!He||h(He)||(ge(He,ve),typeof He!="object"||d(He)))continue;const it=Object.getOwnPropertySymbols(He);for(let pt=0;pt<it.length;pt++){const ht=it[pt];Pe.call(He,ht)&&ve(He[ht],ht)}}return re}const J=(L,H,ee,{allOwnKeys:re}={})=>(ge(H,(ve,Ce)=>{ee&&m(ve)?Object.defineProperty(L,Ce,{__proto__:null,value:e(ve,ee),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(L,Ce,{__proto__:null,value:ve,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:re}),L),j=L=>(L.charCodeAt(0)===65279&&(L=L.slice(1)),L),q=(L,H,ee,re)=>{L.prototype=Object.create(H.prototype,re),Object.defineProperty(L.prototype,"constructor",{__proto__:null,value:L,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(L,"super",{__proto__:null,value:H.prototype}),ee&&Object.assign(L.prototype,ee)},G=(L,H,ee,re)=>{let ve,Ce,Fe;const He={};if(H=H||{},L==null)return H;do{for(ve=Object.getOwnPropertyNames(L),Ce=ve.length;Ce-- >0;)Fe=ve[Ce],(!re||re(Fe,L,H))&&!He[Fe]&&(H[Fe]=L[Fe],He[Fe]=!0);L=ee!==!1&&r(L)}while(L&&(!ee||ee(L,H))&&L!==Object.prototype);return H},N=(L,H,ee)=>{L=String(L),(ee===void 0||ee>L.length)&&(ee=L.length),ee-=H.length;const re=L.indexOf(H,ee);return re!==-1&&re===ee},O=L=>{if(!L)return null;if(d(L))return L;let H=L.length;if(!b(H))return null;const ee=new Array(H);for(;H-- >0;)ee[H]=L[H];return ee},oe=(L=>H=>L&&H instanceof L)(typeof Uint8Array<"u"&&r(Uint8Array)),Z=(L,H)=>{const re=(L&&L[n]).call(L);let ve;for(;(ve=re.next())&&!ve.done;){const Ce=ve.value;H.call(L,Ce[0],Ce[1])}},B=(L,H)=>{let ee;const re=[];for(;(ee=L.exec(H))!==null;)re.push(ee);return re},V=c("HTMLFormElement"),de=L=>L.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(ee,re,ve){return re.toUpperCase()+ve}),{propertyIsEnumerable:Pe}=Object.prototype,ze=c("RegExp"),Se=(L,H)=>{const ee=Object.getOwnPropertyDescriptors(L),re={};ge(ee,(ve,Ce)=>{let Fe;(Fe=H(ve,Ce,L))!==!1&&(re[Ce]=Fe||ve)}),Object.defineProperties(L,re)},Me=L=>{Se(L,(H,ee)=>{if(m(L)&&["arguments","caller","callee"].includes(ee))return!1;const re=L[ee];if(m(re)){if(H.enumerable=!1,"writable"in H){H.writable=!1;return}H.set||(H.set=()=>{throw Error("Can not rewrite read-only method '"+ee+"'")})}})},Ze=(L,H)=>{const ee={},re=ve=>{ve.forEach(Ce=>{ee[Ce]=!0})};return d(L)?re(L):re(String(L).split(H)),ee},_e=()=>{},at=(L,H)=>L!=null&&Number.isFinite(L=+L)?L:H;function rt(L){return!!(L&&m(L.append)&&L[i]==="FormData"&&L[n])}const ut=L=>{const H=new WeakSet,ee=re=>{if(y(re)){if(H.has(re))return;if(h(re))return re;if(!("toJSON"in re)){H.add(re);const ve=d(re)?[]:{};return ge(re,(Ce,Fe)=>{const He=ee(Ce);!f(He)&&(ve[Fe]=He)}),H.delete(re),ve}}return re};return ee(L)},Mt=c("AsyncFunction"),rr=L=>L&&(y(L)||m(L))&&m(L.then)&&m(L.catch),tt=((L,H)=>L?setImmediate:H?((ee,re)=>(Ne.addEventListener("message",({source:ve,data:Ce})=>{ve===Ne&&Ce===ee&&re.length&&re.shift()()},!1),ve=>{re.push(ve),Ne.postMessage(ee,"*")}))(`axios@${Math.random()}`,[]):ee=>setTimeout(ee))(typeof setImmediate=="function",m(Ne.postMessage)),nr=typeof queueMicrotask<"u"?queueMicrotask.bind(Ne):typeof process<"u"&&process.nextTick||tt,Ht=L=>L!=null&&m(L[n]);var xe={isArray:d,isArrayBuffer:p,isBuffer:h,isFormData:Y,isArrayBufferView:g,isString:v,isNumber:b,isBoolean:w,isObject:y,isPlainObject:x,isEmptyObject:C,isReadableStream:ne,isRequest:ie,isResponse:ae,isHeaders:ce,isUndefined:f,isDate:T,isFile:_,isReactNativeBlob:P,isReactNative:F,isBlob:I,isRegExp:ze,isFunction:m,isStream:D,isURLSearchParams:se,isTypedArray:oe,isFileList:R,forEach:ge,merge:z,extend:J,trim:ke,stripBOM:j,inherits:q,toFlatObject:G,kindOf:l,kindOfTest:c,endsWith:N,toArray:O,forEachEntry:Z,matchAll:B,isHTMLForm:V,hasOwnProperty:a,hasOwnProp:a,hasOwnInPrototypeChain:o,getSafeProp:s,reduceDescriptors:Se,freezeMethods:Me,toObjectSet:Ze,toCamelCase:de,n
vendor: 25,521 bytes, lines 419-421
419oop:_e,toFiniteNumber:at,findKey:De,global:Ne,isContextDefined:We,isSpecCompliantForm:rt,toJSONObject:ut,isAsyncFn:Mt,isThenable:rr,setImmediate:tt,asap:nr,isIterable:Ht,isSafeIterable:L=>L!=null&&o(L,n)&&Ht(L)};const zn=xe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var da=L=>{const H={};let ee,re,ve;return L&&L.split(`
420`).forEach(function(Fe){ve=Fe.indexOf(":"),ee=Fe.substring(0,ve).trim().toLowerCase(),re=Fe.substring(ve+1).trim(),!(!ee||H[ee]&&zn[ee])&&(ee==="set-cookie"?H[ee]?H[ee].push(re):H[ee]=[re]:H[ee]=H[ee]?H[ee]+", "+re:re)}),H};function _s(L){let H=0,ee=L.length;for(;H<ee;){const re=L.charCodeAt(H);if(re!==9&&re!==32)break;H+=1}for(;ee>H;){const re=L.charCodeAt(ee-1);if(re!==9&&re!==32)break;ee-=1}return H===0&&ee===L.length?L:L.slice(H,ee)}const gl=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),Ps=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function ka(L,H){return xe.isArray(L)?L.map(ee=>ka(ee,H)):_s(String(L).replace(H,""))}const Ga=L=>ka(L,gl),ii=L=>ka(L,Ps);function Xo(L){const H=Object.create(null);return xe.forEach(L.toJSON(),(ee,re)=>{H[re]=ii(ee)}),H}const Qo=Symbol("internals");function Jo(L){return L&&String(L).trim().toLowerCase()}function ko(L){return L===!1||L==null?L:xe.isArray(L)?L.map(ko):Ga(String(L))}function As(L){const H=Object.create(null),ee=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let re;for(;re=ee.exec(L);)H[re[1]]=re[2];return H}const vl=L=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(L.trim());function yl(L,H,ee,re,ve){if(xe.isFunction(re))return re.call(this,H,ee);if(ve&&(H=ee),!!xe.isString(H)){if(xe.isString(re))return H.indexOf(re)!==-1;if(xe.isRegExp(re))return re.test(H)}}function Ed(L){return L.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(H,ee,re)=>ee.toUpperCase()+re)}function bl(L,H){const ee=xe.toCamelCase(" "+H);["get","set","has"].forEach(re=>{Object.defineProperty(L,re+ee,{__proto__:null,value:function(ve,Ce,Fe){return this[re].call(this,H,ve,Ce,Fe)},configurable:!0})})}class me{constructor(H){H&&this.set(H)}set(H,ee,re){const ve=this;function Ce(He,it,pt){const ht=Jo(it);if(!ht)return;const wt=xe.findKey(ve,ht);(!wt||ve[wt]===void 0||pt===!0||pt===void 0&&ve[wt]!==!1)&&(ve[wt||it]=ko(He))}const Fe=(He,it)=>xe.forEach(He,(pt,ht)=>Ce(pt,ht,it));if(xe.isPlainObject(H)||H instanceof this.constructor)Fe(H,ee);else if(xe.isString(H)&&(H=H.trim())&&!vl(H))Fe(da(H),ee);else if(xe.isObject(H)&&xe.isSafeIterable(H)){let He=Object.create(null),it,pt;for(const ht of H){if(!xe.isArray(ht))throw new TypeError("Object iterator must return a key-value pair");pt=ht[0],xe.hasOwnProp(He,pt)?(it=He[pt],He[pt]=xe.isArray(it)?[...it,ht[1]]:[it,ht[1]]):He[pt]=ht[1]}Fe(He,ee)}else H!=null&&Ce(ee,H,re);return this}get(H,ee){if(H=Jo(H),H){const re=xe.findKey(this,H);if(re){const ve=this[re];if(!ee)return ve;if(ee===!0)return As(ve);if(xe.isFunction(ee))return ee.call(this,ve,re);if(xe.isRegExp(ee))return ee.exec(ve);throw new TypeError("parser must be boolean|regexp|function")}}}has(H,ee){if(H=Jo(H),H){const re=xe.findKey(this,H);return!!(re&&this[re]!==void 0&&(!ee||yl(this,this[re],re,ee)))}return!1}delete(H,ee){const re=this;let ve=!1;function Ce(Fe){if(Fe=Jo(Fe),Fe){const He=xe.findKey(re,Fe);He&&(!ee||yl(re,re[He],He,ee))&&(delete re[He],ve=!0)}}return xe.isArray(H)?H.forEach(Ce):Ce(H),ve}clear(H){const ee=Object.keys(this);let re=ee.length,ve=!1;for(;re--;){const Ce=ee[re];(!H||yl(this,this[Ce],Ce,H,!0))&&(delete this[Ce],ve=!0)}return ve}normalize(H){const ee=this,re={};return xe.forEach(this,(ve,Ce)=>{const Fe=xe.findKey(re,Ce);if(Fe){ee[Fe]=ko(ve),delete ee[Ce];return}const He=H?Ed(Ce):String(Ce).trim();He!==Ce&&delete ee[Ce],ee[He]=ko(ve),re[He]=!0}),this}concat(...H){return this.constructor.concat(this,...H)}toJSON(H){const ee=Object.create(null);return xe.forEach(this,(re,ve)=>{re!=null&&re!==!1&&(ee[ve]=H&&xe.isArray(re)?re.join(", "):re)}),ee}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([H,ee])=>H+": "+ee).join(`
421`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(H){return H instanceof this?H:new this(H)}static concat(H,...ee){const re=new this(H);return ee.forEach(ve=>re.set(ve)),re}static accessor(H){const re=(this[Qo]=this[Qo]={accessors:{}}).accessors,ve=this.prototype;function Ce(Fe){const He=Jo(Fe);re[He]||(bl(ve,Fe),re[He]=!0)}return xe.isArray(H)?H.forEach(Ce):Ce(H),this}}me.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),xe.reduceDescriptors(me.prototype,({value:L},H)=>{let ee=H[0].toUpperCase()+H.slice(1);return{get:()=>L,set(re){this[ee]=re}}}),xe.freezeMethods(me);const Ee="[REDACTED ****]";function Ue(L){if(xe.hasOwnProp(L,"toJSON"))return!0;let H=Object.getPrototypeOf(L);for(;H&&H!==Object.prototype;){if(xe.hasOwnProp(H,"toJSON"))return!0;H=Object.getPrototypeOf(H)}return!1}function U(L,H){const ee=new Set(H.map(Ce=>String(Ce).toLowerCase())),re=[],ve=Ce=>{if(Ce===null||typeof Ce!="object"||xe.isBuffer(Ce))return Ce;if(re.indexOf(Ce)!==-1)return;Ce instanceof me&&(Ce=Ce.toJSON()),re.push(Ce);let Fe;if(xe.isArray(Ce))Fe=[],Ce.forEach((He,it)=>{const pt=ve(He);xe.isUndefined(pt)||(Fe[it]=pt)});else{if(!xe.isPlainObject(Ce)&&Ue(Ce))return re.pop(),Ce;Fe=Object.create(null);for(const[He,it]of Object.entries(Ce)){const pt=ee.has(He.toLowerCase())?Ee:ve(it);xe.isUndefined(pt)||(Fe[He]=pt)}}return re.pop(),Fe};return ve(L)}class W extends Error{static from(H,ee,re,ve,Ce,Fe){const He=new W(H.message,ee||H.code,re,ve,Ce);return Object.defineProperty(He,"cause",{__proto__:null,value:H,writable:!0,enumerable:!1,configurable:!0}),He.name=H.name,H.status!=null&&He.status==null&&(He.status=H.status),Fe&&Object.assign(He,Fe),He}constructor(H,ee,re,ve,Ce){super(H),Object.defineProperty(this,"message",{__proto__:null,value:H,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,ee&&(this.code=ee),re&&(this.config=re),ve&&(this.request=ve),Ce&&(this.response=Ce,this.status=Ce.status)}toJSON(){const H=this.config,ee=H&&xe.hasOwnProp(H,"redact")?H.redact:void 0,re=xe.isArray(ee)&&ee.length>0?U(H,ee):xe.toJSONObject(H);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:re,code:this.code,status:this.status}}}W.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",W.ERR_BAD_OPTION="ERR_BAD_OPTION",W.ECONNABORTED="ECONNABORTED",W.ETIMEDOUT="ETIMEDOUT",W.ECONNREFUSED="ECONNREFUSED",W.ERR_NETWORK="ERR_NETWORK",W.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",W.ERR_DEPRECATED="ERR_DEPRECATED",W.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",W.ERR_BAD_REQUEST="ERR_BAD_REQUEST",W.ERR_CANCELED="ERR_CANCELED",W.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",W.ERR_INVALID_URL="ERR_INVALID_URL",W.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var Q=null;const te=100;function le(L){return xe.isPlainObject(L)||xe.isArray(L)}function K(L){return xe.endsWith(L,"[]")?L.slice(0,-2):L}function ye(L,H,ee){return L?L.concat(H).map(function(ve,Ce){return ve=K(ve),!ee&&Ce?"["+ve+"]":ve}).join(ee?".":""):H}function Ae(L){return xe.isArray(L)&&!L.some(le)}const we=xe.toFlatObject(xe,{},null,function(H){return/^is[A-Z]/.test(H)});function be(L,H,ee){if(!xe.isObject(L))throw new TypeError("target must be an object");H=H||new FormData,ee=xe.toFlatObject(ee,{metaTokens:!0,dots:!1,indexes:!1},!1,function(ir,br){return!xe.isUndefined(br[ir])});const re=ee.metaTokens,ve=ee.visitor||dn,Ce=ee.dots,Fe=ee.indexes,He=ee.Blob||typeof Blob<"u"&&Blob,it=ee.maxDepth===void 0?te:ee.maxDepth,pt=He&&xe.isSpecCompliantForm(H),ht=[];if(!xe.isFunction(ve))throw new TypeError("visitor must be a function");function wt(gt){if(gt===null)return"";if(xe.isDate(gt))return gt.toISOString();if(xe.isBoolean(gt))return gt.toString();if(!pt&&xe.isBlob(gt))throw new W("Blob is not supported. Use a Buffer instead.");if(xe.isArrayBuffer(gt)||xe.isTypedArray(gt)){if(pt&&typeof He=="function")return new He([gt]);if(typeof Buffer<"u")return Buffer.from(gt);throw new W("Blob is not supported. Use a Buffer instead.",W.ERR_NOT_SUPPORT)}return gt}function hr(gt){if(gt>it)throw new W("Object is too deeply nested ("+gt+" levels). Max depth: "+it,W.ERR_FORM_DATA_DEPTH_EXCEEDED)}function pr(gt,ir){if(it===1/0)return JSON.stringify(gt);const br=[];return JSON.stringify(gt,function($a,pi){if(!xe.isObject(pi))return pi;for(;br.length&&br[br.length-1]!==this;)br.pop();return br.push(pi),hr(ir+br.length-1),pi})}function dn(gt,ir,br){let Cn=gt;if(xe.isReactNative(H)&&xe.isReactNativeBlob(gt))return H.append(ye(br,ir,Ce),wt(gt)),!1;if(gt&&!br&&typeof gt=="object"){if(xe.endsWith(ir,"{}"))ir=re?ir:ir.slice(0,-2),gt=pr(gt,1);else if(xe.isArray(gt)&&Ae(gt)||(xe.isFileList(gt)||xe.endsWith(ir,"[]"))&&(Cn=xe.toArray(gt)))return ir=K(ir),Cn.forEach(function(pi,Ef){!(xe.isUndefined(pi)||pi===null)&&H.append(Fe===!0?ye([ir],Ef,Ce):Fe===null?ir:ir+"[]",wt(pi))}),!1}return le(gt)?!0:(H.append(ye(br,ir,Ce),wt(gt)),!1)}const xn=Object.assign(we,{defaultVisitor:dn,convertValue:wt,isVisitable:le});function Wt(gt,ir,br=0){if(!xe.isUndefined(gt)){if(hr(br),ht.indexOf(gt)!==-1)throw new Error("Circular reference detected in "+ir.join("."));ht.push(gt),xe.forEach(gt,function($a,pi){(!(xe.isUndefined($a)||$a===null)&&ve.call(H,$a,xe.isString(pi)?pi.trim():pi,ir,xn))===!0&&Wt($a,ir?ir.concat(pi):[pi],br+1)}),ht.pop()}}if(!xe.isObject(L))throw new TypeError("data must be an object");return Wt(L),H}function pe(L){const H={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(L).replace(/[!'()~]|%20/g,function(re){return H[re]})}function Le(L,H){this._pairs=[],L&&be(L,this,H)}const Ke=Le.prototype;Ke.append=function(H,ee){this._pairs.push([H,ee])},Ke.toString=function(H){const ee=H?re=>H.call(this,re,pe):pe;return this._pairs.map(function(ve){return ee(ve[0])+"="+ee(ve[1])},"").join("&")};function Je(L){return encodeURIComponent(L).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ge(L,H,ee){if(!H)return L;L=L||"";const re=xe.isFunction(ee)?{serialize:ee}:ee,ve=xe.getSafeProp(re,"encode")||Je,Ce=xe.getSafeProp(re,"serialize");let Fe;if(Ce?Fe=Ce(H,re):Fe=xe.isURLSearchParams(H)?H.toString():new Le(H,re).toString(ve),Fe){const He=L.indexOf("#");He!==-1&&(L=L.slice(0,He)),L+=(L.indexOf("?")===-1?"?":"&")+Fe}return L}class Xe{constructor(){this.handlers=[]}use(H,ee,re){return this.handlers.push({fulfilled:H,rejected:ee,synchronous:re?re.synchronous:!1,runWhen:re?re.runWhen:null}),this.handlers.length-1}eject(H){this.handlers[H]&&(this.handlers[H]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(H){xe.forEach(this.handlers,function(re){re!==null&&H(re)})}}var At={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Rr=typeof URLSearchParams<"u"?URLSearchParams:Le,Pr=typeof FormData<"u"?FormData:null,wn=typeof Blob<"u"?Blob:null,ki={isBrowser:!0,classes:{URLSearchParams:Rr,FormData:Pr,Blob:wn},protocols:["http","https","file","blob","url","data"]};const Fi=typeof window<"u"&&typeof document<"u",Os=typeof navigator=="object"&&navigator||void 0,fa=Fi&&(!Os||["ReactNative","NativeScript","NS"].indexOf(Os.product)<0),fu=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Ka=Fi&&window.location.href||"http://localhost";var P0=Object.freeze({__proto__:null,hasBrowserEnv:Fi,hasStandardBrowserEnv:fa,hasStandardBrowserWebWorkerEnv:fu,navigator:Os,origin:Ka}),Gt={...P0,...ki};function Za(L,H){return be(L,new Gt.classes.URLSearchParams,{visitor:function(ee,re,ve,Ce){return Gt.isNode&&xe.isBuffer(ee)?(this.append(re,ee.toString("base64")),!1):Ce.defaultVisitor.apply(this,arguments)},...H})}const Is=te;function Sl(L){if(L>Is)throw new W("FormData field is too deeply nested ("+L+" levels). Max depth: "+Is,W.ERR_FORM_DATA_DEPTH_EXCEEDED)}function m2(L){const H=[],ee=/\w+|\[(\w*)]/g;let re;for(;(re=ee.exec(L))!==null;)Sl(H.length),H.push(re[0]==="[]"?"":re[1]||re[0]);return H}function Vy(L){const H={},ee=Object.keys(L);let re;const ve=ee.length;let Ce;for(re=0;re<ve;re++)Ce=ee[re],H[Ce]=L[Ce];return H}function Mn(L){function H(ee,re,ve,Ce){Sl(Ce);let Fe=ee[Ce++];if(Fe==="__proto__")return!0;const He=Number.isFinite(+Fe),it=Ce>=ee.length;return Fe=!Fe&&xe.isArray(ve)?ve.length:Fe,it?(xe.hasOwnProp(ve,Fe)?ve[Fe]=xe.isArray(ve[Fe])?ve[Fe].concat(re):[ve[Fe],re]:ve[Fe]=re,!He):((!xe.hasOwnProp(ve,Fe)||!xe.isObject(ve[Fe]))&&(ve[Fe]=[]),H(ee,re,ve[Fe],Ce)&&xe.isArray(ve[Fe])&&(ve[Fe]=Vy(ve[Fe])),!He)}if(xe.isFormData(L)&&xe.isFunction(L.entries)){const ee={};return xe.forEachEntry(L,(re,ve)=>{H(m2(re),ve,ee,0)}),ee}return null}const es=(L,H)=>L!=null&&xe.hasOwnProp(L,H)?L[H]:void 0;function g2(L,H,ee){if(xe.isString(L))try{return(H||JSON.parse)(L),xe.trim(L)}catch(re){if(re.name!=="SyntaxError")throw re}return(ee||JSON.stringify)(L)}const yp={transitional:At,adapter:["xhr","http","fetch"],transformRequest:[function(H,ee){const re=ee.getContentType()||"",ve=re.indexOf("application/json")>-1,Ce=xe.isObject(H);if(Ce&&xe.isHTMLForm(H)&&(H=new FormData(H)),xe.isFormData(H))return ve?JSON.stringify(Mn(H)):H;if(xe.isArrayBuffer(H)||xe.isBuffer(H)||xe.isStream(H)||xe.isFile(H)||xe.isBlob(H)||xe.isReadableStream(H))return H;if(xe.isArrayBufferView(H))return H.buffer;if(xe.isURLSearchParams(H))return ee.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),H.toString();let He;if(Ce){const it=es(this,"formSerializer");if(re.indexOf("application/x-www-form-urlencoded")>-1)return Za(H,it).toString();if((He=xe.isFileList(H))||re.indexOf("multipart/form-data")>-1){const pt=es(this,"env"),ht=pt&&pt.FormData;return be(He?{"files[]":H}:H,ht&&new ht,it)}}return Ce||ve?(ee.setContentType("application/json",!1),g2(H)):H}],transformResponse:[function(H){const ee=es(this,"transitional")||yp.transitional,re=ee&&ee.forcedJSONParsing,ve=es(this,"responseType"),Ce=ve==="json";if(xe.isResponse(H)||xe.isReadableStream(H))return H;if(H&&xe.isString(H)&&(re&&!ve||Ce)){const He=!(ee&&ee.silentJSONParsing)&&Ce;try{return JSON.parse(H,es(this,"parseReviver"))}catch(it){if(He)throw it.name==="SyntaxError"?W.from(it,W.ERR_BAD_RESPONSE,this,null,es(this,"response")):it}}return H}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Gt.classes.FormData,Blob:Gt.classes.Blob},validateStatus:function(H){return H>=200&&H<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};xe.forEach(["delete","get","head","post","put","patch","query"],L=>{yp.headers[L]={}});function lO(L,H){const ee=this||yp,re=H||ee,ve=me.from(re.headers);let Ce=re.data;return xe.forEach(L,function(He){Ce=He.call(ee,Ce,ve.normalize(),H?H.status:void 0)}),ve.normalize(),Ce}function sL(L){return!!(L&&L.__CANCEL__)}class jy extends W{constructor(H,ee,re){super(H??"canceled",W.ERR_CANCELED,ee,re),this.name="CanceledError",this.__CANCEL__=!0}}function lL(L,H,ee){const re=ee.config.validateStatus;!ee.status||!re||re(ee.status)?L(ee):H(new W("Request failed with status code "+ee.status,ee.status>=400&&ee.status<500?W.ERR_BAD_REQUEST:W.ERR_BAD_RESPONSE,ee.config,ee.request,ee))}function Zfe(L){const H=/^([-+\w]{1,25}):(?:\/\/)?/.exec(L);return H&&H[1]||""}function Yfe(L,H){L=L||10;const ee=new Array(L),re=new Array(L);let ve=0,Ce=0,Fe;return H=H!==void 0?H:1e3,function(it){const pt=Date.now(),ht=re[Ce];Fe||(Fe=pt),ee[ve]=it,re[ve]=pt;let wt=Ce,hr=0;for(;wt!==ve;)hr+=ee[wt++],wt=wt%L;if(ve=(ve+1)%L,ve===Ce&&(Ce=(Ce+1)%L),pt-Fe<H)return;const pr=ht&&pt-ht;return pr?Math.round(hr*1e3/pr):void 0}}function $fe(L,H){let ee=0,re=1e3/H,ve,Ce;const Fe=(pt,ht=Date.now())=>{ee=ht,ve=null,Ce&&(clearTimeout(Ce),Ce=null),L(...pt)};return[(...pt)=>{const ht=Date.now(),wt=ht-ee;wt>=re?Fe(pt,ht):(ve=pt,Ce||(Ce=setTimeout(()=>{Ce=null,Fe(ve)},re-wt)))},()=>ve&&Fe(ve)]}const v2=(L,H,ee=3)=>{let re=0;const ve=Yfe(50,250);return $fe(Ce=>{if(!Ce||typeof Ce.loaded!="number")return;const Fe=Ce.loaded,He=Ce.lengthComputable?Ce.total:void 0,it=He!=null?Math.min(Fe,He):Fe,pt=Math.max(0,it-re),ht=ve(pt);re=Math.max(re,it);const wt={loaded:it,total:He,progress:He?it/He:void 0,bytes:pt,rate:ht||void 0,estimated:ht&&He?(He-it)/ht:void 0,event:Ce,lengthComputable:He!=null,[H?"download":"upload"]:!0};L(wt)},ee)},cL=(L,H)=>{const ee=L!=null;return[re=>H[0]({lengthComputable:ee,total:L,loaded:re}),H[1]]},uL=L=>(...H)=>xe.asap(()=>L(...H));var Xfe=Gt.hasStandardBrowserEnv?((L,H)=>ee=>(ee=new URL(ee,Gt.origin),L.protocol===ee.protocol&&L.host===ee.host&&(H||L.port===ee.port)))(new URL(Gt.origin),Gt.navigator&&/(msie|trident)/i.test(Gt.navigator.userAgent)):()=>!0,Qfe=Gt.hasStandardBrowserEnv?{write(L,H,ee,re,ve,Ce,Fe){if(typeof document>"u")return;const He=[`${L}=${encodeURIComponent(H)}`];xe.isNumber(ee)&&He.push(`expires=${new Date(ee).toUTCString()}`),xe.isString(re)&&He.push(`path=${re}`),xe.isString(ve)&&He.push(`domain=${ve}`),Ce===!0&&He.push("secure"),xe.isString(Fe)&&He.push(`SameSite=${Fe}`),document.cookie=He.join("; ")},read(L){if(typeof document>"u")return null;const H=document.cookie.split(";");for(let ee=0;ee<H.length;ee++){const re=H[ee].replace(/^\s+/,""),ve=re.indexOf("=");if(ve!==-1&&re.slice(0,ve)===L)try{return decodeURIComponent(re.slice(ve+1))}catch{return re.slice(ve+1)}}return null},remove(L){this.write(L,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Jfe(L){return typeof L!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(L)}function ehe(L,H){return H?L.replace(/\/?\/$/,"")+"/"+H.replace(/^\/+/,""):L}const the=/^https?:(?!\/\/)/i,rhe=/[\t\n\r]/g;function nhe(L){let H=0;for(;H<L.length&&L.charCodeAt(H)<=32;)H++;return L.slice(H)}function ihe(L){return nhe(L).replace(rhe,"")}function dL(L,H){if(typeof L=="string"&&the.test(ihe(L)))throw new W('Invalid URL: missing "//" after protocol',W.ERR_INVALID_URL,H)}function fL(L,H,ee,re){dL(H,re);let ve=!Jfe(H);return L&&(ve||ee===!1)?(dL(L,re),ehe(L,H)):H}const hL=L=>L instanceof me?{...L}:L;function bp(L,H){L=L||{},H=H||{};const ee=Object.create(null);Object.defineProperty(ee,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function re(ht,wt,hr,pr){return xe.isPlainObject(ht)&&xe.isPlainObject(wt)?xe.merge.call({caseless:pr},ht,wt):xe.isPlainObject(wt)?xe.merge({},wt):xe.isArray(wt)?wt.slice():wt}function ve(ht,wt,hr,pr){if(xe.isUndefined(wt)){if(!xe.isUndefined(ht))return re(void 0,ht,hr,pr)}else return re(ht,wt,hr,pr)}function Ce(ht,wt){if(!xe.isUndefined(wt))return re(void 0,wt)}function Fe(ht,wt){if(xe.isUndefined(wt)){if(!xe.isUndefined(ht))return re(void 0,ht)}else return re(void 0,wt)}function He(ht){const wt=xe.hasOwnProp(H,"transitional")?H.transitional:void 0;if(!xe.isUndefined(wt))if(xe.isPlainObject(wt)){if(xe.hasOwnProp(wt,ht))return wt[ht]}else return;const hr=xe.hasOwnProp(L,"transitional")?L.transitional:void 0;if(xe.isPlainObject(hr)&&xe.hasOwnProp(hr,ht))return hr[ht]}function it(ht,wt,hr){if(xe.hasOwnProp(H,hr))return re(ht,wt);if(xe.hasOwnProp(L,hr))return re(void 0,ht)}const pt={url:Ce,method:Ce,data:Ce,baseURL:Fe,transformRequest:Fe,transformResponse:Fe,paramsSerializer:Fe,timeout:Fe,timeoutMessage:Fe,withCredentials:Fe,withXSRFToken:Fe,adapter:Fe,responseType:Fe,xsrfCookieName:Fe,xsrfHeaderName:Fe,onUploadProgress:Fe,onDownloadProgress:Fe,decompress:Fe,maxContentLength:Fe,maxBodyLength:Fe,beforeRedirect:Fe,transport:Fe,httpAgent:Fe,httpsAgent:Fe,cancelToken:Fe,socketPath:Fe,allowedSocketPaths:Fe,responseEncoding:Fe,validateStatus:it,headers:(ht,wt,hr)=>ve(hL(ht),hL(wt),hr,!0)};return xe.forEach(Object.keys({...L,...H}),function(wt){if(wt==="__proto__"||wt==="constructor"||wt==="prototype")return;const hr=xe.hasOwnProp(pt,wt)?pt[wt]:ve,pr=xe.hasOwnProp(L,wt)?L[wt]:void 0,dn=xe.hasOwnProp(H,wt)?H[wt]:void 0,xn=hr(pr,dn,wt);xe.isUndefined(xn)&&hr!==it||(ee[wt]=xn)}),xe.hasOwnProp(H,"validateStatus")&&xe.isUndefined(H.validateStatus)&&He("validateStatusUndefinedResolves")===!1&&(xe.hasOwnProp(L,"validateStatus")?ee.validateStatus=re(void 0,L.validateStatus):delete ee.validateStatus),ee}const ahe=["content-type","content-length"];function ohe(L,H,ee){if(ee!=="content-only"){L.set(H);return}Object.entries(H||{}).forEach(([re,ve])=>{ahe.includes(re.toLowerCase())&&L.set(re,ve)})}const she=L=>encodeURIComponent(L).replace(/%([0-9A-F]{2})/gi,(H,ee)=>String.fromCharCode(parseInt(ee,16)));function pL(L){const H=bp({},L),ee=hr=>xe.hasOwnProp(H,hr)?H[hr]:void 0,re=ee("data");let ve=ee("withXSRFToken");const Ce=ee("xsrfHeaderName"),Fe=ee("xsrfCookieName");let He=ee("headers");const it=ee("auth"),pt=ee("baseURL"),ht=ee("allowAbsoluteUrls"),wt=ee("url");if(H.headers=He=me.from(He),H.url=Ge(fL(pt,wt,ht,H),ee("params"),ee("paramsSerializer")),it){const hr=xe.getSafeProp(it,"username")||"",pr=xe.getSafeProp(it,"password")||"";try{He.set("Authorization","Basic "+btoa(hr+":"+(pr?she(pr):"")))}catch(dn){throw W.from(dn,W.ERR_BAD_OPTION_VALUE,L)}}if(xe.isFormData(re)&&(Gt.hasStandardBrowserEnv||Gt.hasStandardBrowserWebWorkerEnv||xe.isReactNative(re)?He.setContentType(void 0):xe.isFunction(re.getHeaders)&&ohe(He,re.getHeaders(),ee("formDataHeaderPolicy"))),Gt.hasStandardBrowserEnv&&(xe.isFunction(ve)&&(ve=ve(H)),ve===!0||ve==null&&Xfe(H.url))){const pr=Ce&&Fe&&Qfe.read(Fe);pr&&He.set(Ce,pr)}return H}var lhe=typeof XMLHttpRequest<"u"&&function(L){return new Promise(function(ee,re){const ve=pL(L);let Ce=ve.data;const Fe=me.from(ve.headers).normalize();let{responseType:He,onUploadProgress:it,onDownloadProgress:pt}=ve,ht,wt,hr,pr,dn;function xn(){pr&&pr(),dn&&dn(),ve.cancelToken&&ve.cancelToken.unsubscribe(ht),ve.signal&&ve.signal.removeEventListener("abort",ht)}let Wt=new XMLHttpRequest;Wt.open(ve.method.toUpperCase(),ve.url,!0),Wt.timeout=ve.timeout;function gt(){if(!Wt)return;const br=me.from("getAllResponseHeaders"in Wt&&Wt.getAllResponseHeaders()),$a={data:!He||He==="text"||He==="json"?Wt.responseText:Wt.response,status:Wt.status,statusText:Wt.statusText,headers:br,config:L,request:Wt};lL(function(Ef){ee(Ef),xn()},function(Ef){re(Ef),xn()},$a),Wt=null}"onloadend"in Wt?Wt.onloadend=gt:Wt.onreadystatechange=function(){!Wt||Wt.readyState!==4||Wt.status===0&&!(Wt.responseURL&&Wt.responseURL.startsWith("file:"))||setTimeout(gt)},Wt.onabort=function(){Wt&&(re(new W("Request aborted",W.ECONNABORTED,L,Wt)),xn(),Wt=null)},Wt.onerror=function(Cn){const $a=Cn&&Cn.message?Cn.message:"Network Error",pi=new W($a,W.ERR_NETWORK,L,Wt);pi.event=Cn||null,re(pi),xn(),Wt=null},Wt.ontimeout=function(){let Cn=ve.timeout?"timeout of "+ve.timeout+"ms exceeded":"timeout exceeded";const $a=ve.transitional||At;ve.timeoutErrorMessage&&(Cn=ve.timeoutErrorMessage),re(new W(Cn,$a.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,L,Wt)),xn(),Wt=null},Ce===void 0&&Fe.setContentType(null),"setRequestHeader"in Wt&&xe.forEach(Xo(Fe),function(Cn,$a){Wt.setRequestHeader($a,Cn)}),xe.isUndefined(ve.withCredentials)||(Wt.withCredentials=!!ve.withCredentials),He&&He!=="json"&&(Wt.responseType=ve.responseType),pt&&([hr,dn]=v2(pt,!0),Wt.addEventListener("progress",hr)),it&&Wt.upload&&([wt,pr]=v2(it),Wt.upload.addEventListener("progress",wt),Wt.upload.addEventListener("loadend",pr)),(ve.cancelToken||ve.signal)&&(ht=br=>{Wt&&(re(!br||br.type?new jy(null,L,Wt):br),Wt.abort(),xn(),Wt=null)},ve.cancelToken&&ve.cancelToken.subscribe(ht),ve.signal&&(ve.signal.aborted?ht():ve.signal.addEventListener("abort",ht)));const ir=Zfe(ve.url);if(ir&&!Gt.protocols.includes(ir)){re(new W("Unsupported protocol "+ir+":",W.ERR_BAD_REQUEST,L)),xn();return}Wt.send(Ce||null)})};const che=(L,H)=>{if(L=L?L.filter(Boolean):[],!H&&!L.length)return;const ee=new AbortController;let re=!1;const ve=function(it){if(!re){re=!0,Fe();const pt=it instanceof Error?it:this.reason;ee.abort(pt instanceof W?pt:new jy(pt instanceof Error?pt.message:pt))}};let Ce=H&&setTimeout(()=>{Ce=null,ve(new W(`timeout of ${H}ms exceeded`,W.ETIMEDOUT))},H);const Fe=()=>{L&&(Ce&&clearTimeout(Ce),Ce=null,L.forEach(it=>{it.unsubscribe?it.unsubscribe(ve):it.removeEventListener("abort",ve)}),L=null)};L.forEach(it=>it.addEventListener("abort",ve,{once:!0}));const{signal:He}=ee;return He.unsubscribe=()=>xe.asap(Fe),He},uhe=function*(L,H){let ee=L.byteLength;if(ee<H){yield L;return}let re=0,ve;for(;re<ee;)ve=re+H,yield L.slice(re,ve),re=ve},dhe=async function*(L,H){for await(const ee of fhe(L))yield*uhe(ee,H)},fhe=async function*(L){if(L[Symbol.asyncIterator]){yield*L;return}const H=L.getReader();try{for(;;){const{done:ee,value:re}=await H.read();if(ee)break;yield re}}finally{await H.cancel()}},mL=(L,H,ee,re)=>{const ve=dhe(L,H);let Ce=0,Fe,He=it=>{Fe||(Fe=!0,re&&re(it))};return new ReadableStream({async pull(it){try{const{done:pt,value:ht}=await ve.next();if(pt){He(),it.close();return}let wt=ht.byteLength;if(ee){let hr=Ce+=wt;ee(hr)}it.enqueue(new Uint8Array(ht))}catch(pt){throw He(pt),pt}},cancel(it){return He(it),ve.return()}},{highWaterMark:2})},y2=L=>L>=48&&L<=57||L>=65&&L<=70||L>=97&&L<=102,hhe=(L,H,ee)=>H+2<ee&&y2(L.charCodeAt(H+1))&&y2(L.charCodeAt(H+2));
vendor: 4,351 bytes, line 421
421function phe(L){if(!L||typeof L!="string"||!L.startsWith("data:"))return 0;const H=L.indexOf(",");if(H<0)return 0;const ee=L.slice(5,H),re=L.slice(H+1);if(/;base64/i.test(ee)){let Fe=re.length;const He=re.length;for(let pr=0;pr<He;pr++)if(re.charCodeAt(pr)===37&&pr+2<He){const dn=re.charCodeAt(pr+1),xn=re.charCodeAt(pr+2);y2(dn)&&y2(xn)&&(Fe-=2,pr+=2)}let it=0,pt=He-1;const ht=pr=>pr>=2&&re.charCodeAt(pr-2)===37&&re.charCodeAt(pr-1)===51&&(re.charCodeAt(pr)===68||re.charCodeAt(pr)===100);pt>=0&&(re.charCodeAt(pt)===61?(it++,pt--):ht(pt)&&(it++,pt-=3)),it===1&&pt>=0&&(re.charCodeAt(pt)===61||ht(pt))&&it++;const hr=Math.floor(Fe/4)*3-(it||0);return hr>0?hr:0}let Ce=0;for(let Fe=0,He=re.length;Fe<He;Fe++){const it=re.charCodeAt(Fe);if(it===37&&hhe(re,Fe,He))Ce+=1,Fe+=2;else if(it<128)Ce+=1;else if(it<2048)Ce+=2;else if(it>=55296&&it<=56319&&Fe+1<He){const pt=re.charCodeAt(Fe+1);pt>=56320&&pt<=57343?(Ce+=4,Fe++):Ce+=3}else Ce+=3}return Ce}const cO="1.18.1",gL=64*1024,{isFunction:b2}=xe,mhe=L=>encodeURIComponent(L).replace(/%([0-9A-F]{2})/gi,(H,ee)=>String.fromCharCode(parseInt(ee,16))),vL=L=>{if(!xe.isString(L))return L;try{return decodeURIComponent(L)}catch{return L}},yL=(L,...H)=>{try{return!!L(...H)}catch{return!1}},ghe=L=>{const H=L.indexOf("://");let ee=L;return H!==-1&&(ee=ee.slice(H+3)),ee.includes("@")||ee.includes(":")},vhe=L=>{const H=xe.global!==void 0&&xe.global!==null?xe.global:globalThis,{ReadableStream:ee,TextEncoder:re}=H;L=xe.merge.call({skipUndefined:!0},{Request:H.Request,Response:H.Response},L);const{fetch:ve,Request:Ce,Response:Fe}=L,He=ve?b2(ve):typeof fetch=="function",it=b2(Ce),pt=b2(Fe);if(!He)return!1;const ht=He&&b2(ee),wt=He&&(typeof re=="function"?(gt=>ir=>gt.encode(ir))(new re):async gt=>new Uint8Array(await new Ce(gt).arrayBuffer())),hr=it&&ht&&yL(()=>{let gt=!1;const ir=new Ce(Gt.origin,{body:new ee,method:"POST",get duplex(){return gt=!0,"half"}}),br=ir.headers.has("Content-Type");return ir.body!=null&&ir.body.cancel(),gt&&!br}),pr=pt&&ht&&yL(()=>xe.isReadableStream(new Fe("").body)),dn={stream:pr&&(gt=>gt.body)};He&&["text","arrayBuffer","blob","formData","stream"].forEach(gt=>{!dn[gt]&&(dn[gt]=(ir,br)=>{let Cn=ir&&ir[gt];if(Cn)return Cn.call(ir);throw new W(`Response type '${gt}' is not supported`,W.ERR_NOT_SUPPORT,br)})});const xn=async gt=>{if(gt==null)return 0;if(xe.isBlob(gt))return gt.size;if(xe.isSpecCompliantForm(gt))return(await new Ce(Gt.origin,{method:"POST",body:gt}).arrayBuffer()).byteLength;if(xe.isArrayBufferView(gt)||xe.isArrayBuffer(gt))return gt.byteLength;if(xe.isURLSearchParams(gt)&&(gt=gt+""),xe.isString(gt))return(await wt(gt)).byteLength},Wt=async(gt,ir)=>{const br=xe.toFiniteNumber(gt.getContentLength());return br??xn(ir)};return async gt=>{let{url:ir,method:br,data:Cn,signal:$a,cancelToken:pi,timeout:Ef,onDownloadProgress:pO,onUploadProgress:mO,responseType:kf,headers:Tf,withCredentials:x2="same-origin",fetchOptions:kL,maxContentLength:hu,maxBodyLength:C2}=pL(gt);const Gy=xe.isNumber(hu)&&hu>-1,gO=xe.isNumber(C2)&&C2>-1,Ehe=Rn=>xe.hasOwnProp(gt,Rn)?gt[Rn]:void 0;let TL=ve||fetch;kf=kf?(kf+"").toLowerCase():"text";let _f=che([$a,pi&&pi.toAbortSignal()],Ef),Ta=null;const wp=_f&&_f.unsubscribe&&(()=>{_f.unsubscribe()});let A0,Ky=null;const _L=()=>new W("Request body larger than maxBodyLength limit",W.ERR_BAD_REQUEST,gt,Ta);try{let Rn;const wl=Ehe("auth");if(wl){const Ar=xe.getSafeProp(wl,"username")||"",Rs=xe.getSafeProp(wl,"password")||"";Rn={username:Ar,password:Rs}}if(ghe(ir)){const Ar=new URL(ir,Gt.origin);if(!Rn&&(Ar.username||Ar.password)){const Rs=vL(Ar.username),Pf=vL(Ar.password);Rn={username:Rs,password:Pf}}(Ar.username||Ar.password)&&(Ar.username="",Ar.password="",ir=Ar.href)}if(Rn&&(Tf.delete("authorization"),Tf.set("Authorization","Basic "+btoa(mhe((Rn.username||"")+":"+(Rn.password||""))))),Gy&&typeof ir=="string"&&ir.startsWith("data:")&&phe(ir)>hu)throw new W("maxContentLength size of "+hu+" exceeded",W.ERR_BAD_RESPONSE,gt,Ta);if(gO&&br!=="get"&&br!=="head"){const Ar=await xn(Cn);if(typeof Ar=="number"&&isFinite(Ar)&&(A0=Ar,Ar>C2))throw _L()}const E2=gO&&(xe.isReadableStream(Cn)||xe.isStream(Cn)),PL=(Ar,Rs,Pf)=>mL(Ar,gL,xp=>{if(gO&&xp>C2)throw Ky=_L();Rs&&Rs(xp)},Pf);if(hr&&br!=="get"&&br!=="head"&&(mO||E2)){if(A0=A0??await Wt(Tf,Cn),A0!==0||E2){let Ar=new Ce(ir,{method:"POST",body:Cn,duplex:"half"}),Rs;
vendor: 8,803 bytes, lines 421-427
421if(xe.isFormData(Cn)&&(Rs=Ar.headers.get("content-type"))&&Tf.setContentType(Rs),Ar.body){const[Pf,xp]=mO&&cL(A0,v2(uL(mO)))||[];Cn=PL(Ar.body,Pf,xp)}}}else if(E2&&!it&&ht&&br!=="get"&&br!=="head")Cn=PL(Cn);else if(E2&&it&&!hr&&br!=="get"&&br!=="head")throw new W("Stream request bodies are not supported by the current fetch implementation",W.ERR_NOT_SUPPORT,gt,Ta);xe.isString(x2)||(x2=x2?"include":"omit");const khe=it&&"credentials"in Ce.prototype;if(xe.isFormData(Cn)){const Ar=Tf.getContentType();Ar&&/^multipart\/form-data/i.test(Ar)&&!/boundary=/i.test(Ar)&&Tf.delete("content-type")}Tf.set("User-Agent","axios/"+cO,!1);const AL={...kL,signal:_f,method:br.toUpperCase(),headers:Xo(Tf.normalize()),body:Cn,duplex:"half",credentials:khe?x2:void 0};Ta=it&&new Ce(ir,AL);let kd=await(it?TL(Ta,kL):TL(ir,AL));const OL=me.from(kd.headers);if(Gy){const Ar=xe.toFiniteNumber(OL.getContentLength());if(Ar!=null&&Ar>hu)throw new W("maxContentLength size of "+hu+" exceeded",W.ERR_BAD_RESPONSE,gt,Ta)}const vO=pr&&(kf==="stream"||kf==="response");if(pr&&kd.body&&(pO||Gy||vO&&wp)){const Ar={};["status","statusText","headers"].forEach(Zy=>{Ar[Zy]=kd[Zy]});const Rs=xe.toFiniteNumber(OL.getContentLength()),[Pf,xp]=pO&&cL(Rs,v2(uL(pO),!0))||[];let IL=0;const The=Zy=>{if(Gy&&(IL=Zy,IL>hu))throw new W("maxContentLength size of "+hu+" exceeded",W.ERR_BAD_RESPONSE,gt,Ta);Pf&&Pf(Zy)};kd=new Fe(mL(kd.body,gL,The,()=>{xp&&xp(),wp&&wp()}),Ar)}kf=kf||"text";let Td=await dn[xe.findKey(dn,kf)||"text"](kd,gt);if(Gy&&!pr&&!vO){let Ar;if(Td!=null&&(typeof Td.byteLength=="number"?Ar=Td.byteLength:typeof Td.size=="number"?Ar=Td.size:typeof Td=="string"&&(Ar=typeof re=="function"?new re().encode(Td).byteLength:Td.length)),typeof Ar=="number"&&Ar>hu)throw new W("maxContentLength size of "+hu+" exceeded",W.ERR_BAD_RESPONSE,gt,Ta)}return!vO&&wp&&wp(),await new Promise((Ar,Rs)=>{lL(Ar,Rs,{data:Td,headers:me.from(kd.headers),status:kd.status,statusText:kd.statusText,config:gt,request:Ta})})}catch(Rn){if(wp&&wp(),_f&&_f.aborted&&_f.reason instanceof W){const wl=_f.reason;throw wl.config=gt,Ta&&(wl.request=Ta),Rn!==wl&&Object.defineProperty(wl,"cause",{__proto__:null,value:Rn,writable:!0,enumerable:!1,configurable:!0}),wl}if(Ky)throw Ta&&!Ky.request&&(Ky.request=Ta),Ky;if(Rn instanceof W)throw Ta&&!Rn.request&&(Rn.request=Ta),Rn;if(Rn&&Rn.name==="TypeError"&&/Load failed|fetch/i.test(Rn.message)){const wl=new W("Network Error",W.ERR_NETWORK,gt,Ta,Rn&&Rn.response);throw Object.defineProperty(wl,"cause",{__proto__:null,value:Rn.cause||Rn,writable:!0,enumerable:!1,configurable:!0}),wl}throw W.from(Rn,Rn&&Rn.code,gt,Ta,Rn&&Rn.response)}}},yhe=new Map,bL=L=>{let H=L&&L.env||{};const{fetch:ee,Request:re,Response:ve}=H,Ce=[re,ve,ee];let Fe=Ce.length,He=Fe,it,pt,ht=yhe;for(;He--;)it=Ce[He],pt=ht.get(it),pt===void 0&&ht.set(it,pt=He?new Map:vhe(H)),ht=pt;return pt};bL();const uO={http:Q,xhr:lhe,fetch:{get:bL}};xe.forEach(uO,(L,H)=>{if(L){try{Object.defineProperty(L,"name",{__proto__:null,value:H})}catch{}Object.defineProperty(L,"adapterName",{__proto__:null,value:H})}});const SL=L=>`- ${L}`,bhe=L=>xe.isFunction(L)||L===null||L===!1;function She(L,H){L=xe.isArray(L)?L:[L];const{length:ee}=L;let re,ve;const Ce={};for(let Fe=0;Fe<ee;Fe++){re=L[Fe];let He;if(ve=re,!bhe(re)&&(ve=uO[(He=String(re)).toLowerCase()],ve===void 0))throw new W(`Unknown adapter '${He}'`);if(ve&&(xe.isFunction(ve)||(ve=ve.get(H))))break;Ce[He||"#"+Fe]=ve}if(!ve){const Fe=Object.entries(Ce).map(([it,pt])=>`adapter ${it} `+(pt===!1?"is not supported by the environment":"is not available in the build"));let He=ee?Fe.length>1?`since :
422`+Fe.map(SL).join(`
423`):" "+SL(Fe[0]):"as no adapter specified";throw new W("There is no suitable adapter to dispatch the request "+He,W.ERR_NOT_SUPPORT)}return ve}var wL={getAdapter:She,adapters:uO};function dO(L){if(L.cancelToken&&L.cancelToken.throwIfRequested(),L.signal&&L.signal.aborted)throw new jy(null,L)}function xL(L){return dO(L),L.headers=me.from(L.headers),L.data=lO.call(L,L.transformRequest),["post","put","patch"].indexOf(L.method)!==-1&&L.headers.setContentType("application/x-www-form-urlencoded",!1),wL.getAdapter(L.adapter||yp.adapter,L)(L).then(function(re){dO(L),L.response=re;try{re.data=lO.call(L,L.transformResponse,re)}finally{delete L.response}return re.headers=me.from(re.headers),re},function(re){if(!sL(re)&&(dO(L),re&&re.response)){L.response=re.response;try{re.response.data=lO.call(L,L.transformResponse,re.response)}finally{delete L.response}re.response.headers=me.from(re.response.headers)}return Promise.reject(re)})}const S2={};["object","boolean","number","function","string","symbol"].forEach((L,H)=>{S2[L]=function(re){return typeof re===L||"a"+(H<1?"n ":" ")+L}});const CL={};S2.transitional=function(H,ee,re){function ve(Ce,Fe){return"[Axios v"+cO+"] Transitional option '"+Ce+"'"+Fe+(re?". "+re:"")}return(Ce,Fe,He)=>{if(H===!1)throw new W(ve(Fe," has been removed"+(ee?" in "+ee:"")),W.ERR_DEPRECATED);return ee&&!CL[Fe]&&(CL[Fe]=!0,console.warn(ve(Fe," has been deprecated since v"+ee+" and will be removed in the near future"))),H?H(Ce,Fe,He):!0}},S2.spelling=function(H){return(ee,re)=>(console.warn(`${re} is likely a misspelling of ${H}`),!0)};function whe(L,H,ee){if(typeof L!="object"||L===null)throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const re=Object.keys(L);let ve=re.length;for(;ve-- >0;){const Ce=re[ve],Fe=Object.prototype.hasOwnProperty.call(H,Ce)?H[Ce]:void 0;if(Fe){const He=L[Ce],it=He===void 0||Fe(He,Ce,L);if(it!==!0)throw new W("option "+Ce+" must be "+it,W.ERR_BAD_OPTION_VALUE);continue}if(ee!==!0)throw new W("Unknown option "+Ce,W.ERR_BAD_OPTION)}}var w2={assertOptions:whe,validators:S2};const Ya=w2.validators;class Sp{constructor(H){this.defaults=H||{},this.interceptors={request:new Xe,response:new Xe}}async request(H,ee){try{return await this._request(H,ee)}catch(re){if(re instanceof Error){let ve={};Error.captureStackTrace?Error.captureStackTrace(ve):ve=new Error;const Ce=(()=>{if(!ve.stack)return"";const Fe=ve.stack.indexOf(`
424`);return Fe===-1?"":ve.stack.slice(Fe+1)})();try{if(!re.stack)re.stack=Ce;else if(Ce){const Fe=Ce.indexOf(`
425`),He=Fe===-1?-1:Ce.indexOf(`
426`,Fe+1),it=He===-1?"":Ce.slice(He+1);String(re.stack).endsWith(it)||(re.stack+=`
427`+Ce)}}catch{}}throw re}}_request(H,ee){typeof H=="string"?(ee=ee||{},ee.url=H):ee=H||{},ee=bp(this.defaults,ee);const{transitional:re,paramsSerializer:ve,headers:Ce}=ee;re!==void 0&&w2.assertOptions(re,{silentJSONParsing:Ya.transitional(Ya.boolean),forcedJSONParsing:Ya.transitional(Ya.boolean),clarifyTimeoutError:Ya.transitional(Ya.boolean),legacyInterceptorReqResOrdering:Ya.transitional(Ya.boolean),advertiseZstdAcceptEncoding:Ya.transitional(Ya.boolean),validateStatusUndefinedResolves:Ya.transitional(Ya.boolean)},!1),ve!=null&&(xe.isFunction(ve)?ee.paramsSerializer={serialize:ve}:w2.assertOptions(ve,{encode:Ya.function,serialize:Ya.function},!0)),ee.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?ee.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:ee.allowAbsoluteUrls=!0),w2.assertOptions(ee,{baseUrl:Ya.spelling("baseURL"),withXsrfToken:Ya.spelling("withXSRFToken")},!0),ee.method=(ee.method||this.defaults.method||"get").toLowerCase();let Fe=Ce&&xe.merge(Ce.common,Ce[ee.method]);Ce&&xe.forEach(["delete","get","head","post","put","patch","query","common"],dn=>{delete Ce[dn]}),ee.headers=me.concat(Fe,Ce);const He=[];let it=!0;this.interceptors.request.forEach(function(xn){if(typeof xn.runWhen=="function"&&xn.runWhen(ee)===!1)return;it=it&&xn.synchronous;const Wt=ee.transitional||At;Wt&&Wt.legacyInterceptorReqResOrdering?He.unshift(xn.fulfilled,xn.rejected):He.push(xn.fulfilled,xn.rejected)});const pt=[];this.interceptors.response.forEach(function(xn){pt.push(xn.fulfilled,xn.rejected)});let ht,wt=0,hr;if(!it){const dn=[xL.bind(this),void 0];for(dn.unshift(...He),dn.push(...pt),hr=dn.length,ht=Promise.resolve(ee);wt<hr;)ht=ht.then(dn[wt++],dn[wt++]);return ht}hr=He.length;let pr=ee;for(;wt<hr;){const dn=He[wt++],xn=He[wt++];try{pr=dn(pr)}catch(Wt){xn.call(this,Wt);break}}try{ht=xL.call(this,pr)}catch(dn){return Promise.reject(dn)}for(wt=0,hr=pt.length;wt<hr;)ht=ht.then(pt[wt++],pt[wt++]);return ht}getUri(H){H=bp(this.defaults,H);const ee=fL(H.baseURL,H.url,H.allowAbsoluteUrls,H);return Ge(ee,H.params,H.paramsSerializer)}}xe.forEach(["delete","get","head","options"],function(H){Sp.prototype[H]=function(ee,re){return this.request(bp(re||{},{method:H,url:ee,data:re&&xe.hasOwnProp(re,"data")?re.data:void 0}))}}),xe.forEach(["post","put","patch","query"],function(H){function ee(re){return function(Ce,Fe,He){return this.request(bp(He||{},{method:H,headers:re?{"Content-Type":"multipart/form-data"}:{},url:Ce,data:Fe}))}}Sp.prototype[H]=ee(),H!=="query"&&(Sp.prototype[H+"Form"]=ee(!0))});
vendor: 1,313 bytes, line 427
427class fO{constructor(H){if(typeof H!="function")throw new TypeError("executor must be a function.");let ee;this.promise=new Promise(function(Ce){ee=Ce});const re=this;this.promise.then(ve=>{if(!re._listeners)return;let Ce=re._listeners.length;for(;Ce-- >0;)re._listeners[Ce](ve);re._listeners=null}),this.promise.then=ve=>{let Ce;const Fe=new Promise(He=>{re.subscribe(He),Ce=He}).then(ve);return Fe.cancel=function(){re.unsubscribe(Ce)},Fe},H(function(Ce,Fe,He){re.reason||(re.reason=new jy(Ce,Fe,He),ee(re.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(H){if(this.reason){H(this.reason);return}this._listeners?this._listeners.push(H):this._listeners=[H]}unsubscribe(H){if(!this._listeners)return;const ee=this._listeners.indexOf(H);ee!==-1&&this._listeners.splice(ee,1)}toAbortSignal(){const H=new AbortController,ee=re=>{H.abort(re)};return this.subscribe(ee),H.signal.unsubscribe=()=>this.unsubscribe(ee),H.signal}static source(){let H;return{token:new fO(function(ve){H=ve}),cancel:H}}}function xhe(L){return function(ee){return L.apply(null,ee)}}function Che(L){return xe.isObject(L)&&L.isAxiosError===!0}const hO={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
427alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(hO).forEach(([L,H])=>{hO[H]=L});function EL(L){const H=new Sp(L),ee=e(Sp.prototype.request,H);return xe.extend(ee,Sp.prototype,H,{allOwnKeys:!0}),xe.extend(ee,H,null,{allOwnKeys:!0}),ee.create=function(ve){return EL(bp(L,ve))},ee}const Di=EL(yp);return Di.Axios=Sp,Di.CanceledError=jy,Di.CancelToken=fO,Di.isCancel=sL,Di.VERSION=cO,Di.toFormData=be,Di.AxiosError=W,Di.Cancel=Di.CanceledError,Di.all=function(H){return Promise.all(H)},Di.spread=xhe,Di.isAxiosError=Che,Di.mergeConfig=bp,Di.AxiosHeaders=me,Di.formToJSON=L=>Mn(xe.isHTMLForm(L)?new FormData(L):L),Di.getAdapter=wL.getAdapter,Di.HttpStatusCode=hO,Di.default=Di,p3=Di,p3}(function(e,t){(function(r,n){e.exports=n(GUe())})(yn,function(r){return function(){var n={593:function(s,l,c){Object.defineProperty(l,"__esModule",{value:!0}),l.resendFailedRequest=l.getRetryInstance=l.unsetCache=l.createRequestQueueInterceptor=l.createRefreshCall=l.shouldInterceptError=l.mergeOptions=l.defaultOptions=void 0;const u=c(300);l.defaultOptions={statusCodes:[401],pauseInstanceWhileRefreshing:!1},l.mergeOptions=function(d,f){return Object.assign(Object.assign(Object.assign({},d),{pauseInstanceWhileRefreshing:f.skipWhileRefreshing}),f)},l.shouldInterceptError=function(d,f,h,p){var g,v;return!!d&&!(!((g=d.config)===null||g===void 0)&&g.skipAuthRefresh)&&!!(f.interceptNetworkError&&!d.response&&d.request.status===0||d.response&&(f!=null&&f.shouldRefresh?f.shouldRefresh(d):!((v=f.statusCodes)===null||v===void 0)&&v.includes(parseInt(d.response.status))))&&(d.response||(d.response={config:d.config}),!f.pauseInstanceWhileRefreshing||!p.skipInstances.includes(h))},l.createRefreshCall=function(d,f,h){return h.refreshCall||(h.refreshCall=f(d),typeof h.refreshCall.then=="function")?h.refreshCall:(console.warn("axios-auth-refresh requires `refreshTokenCall` to return a promise."),Promise.reject())},l.createRequestQueueInterceptor=function(d,f,h){return f.requestQueueInterceptorId===void 0&&(f.requestQueueInterceptorId=d.interceptors.request.use(p=>f.refreshCall.catch(()=>{throw new u.default.Cancel("Request call failed")}).then(()=>h.onRetry?h.onRetry(p):p))),f.requestQueueInterceptorId},l.unsetCache=function(d,f){d.interceptors.request.eject(f.requestQueueInterceptorId),f.requestQueueInterceptorId=void 0,f.refreshCall=void 0,f.skipInstances=f.skipInstances.filter(h=>h!==d)},l.getRetryInstance=function(d,f){return f.retryInstance||d},l.resendFailedRequest=function(d,f){return d.config.skipAuthRefresh=!0,f(d.response.config)}},300:function(s){s.exports=r}},i={};function a(s){var l=i[s];if(l!==void 0)return l.exports;var c=i[s]={exports:{}};return n[s](c,c.exports,a),c.exports}var o={};return function(){var s=o;Object.defineProperty(s,"__esModule",{value:!0});const l=a(593);s.default=function(c,u,d={}){if(typeof u!="function")throw new Error("axios-auth-refresh requires `refreshAuthCall` to be a function that returns a promise.");const f={skipInstances:[],refreshCall:void 0,requestQueueInterceptorId:void 0};return c.interceptors.response.use(h=>h,h=>{if(d=(0,l.mergeOptions)(l.defaultOptions,d),!(0,l.shouldInterceptError)(h,d,c,f))return Promise.reject(h);d.pauseInstanceWhileRefreshing&&f.skipInstances.push(c);const p=(0,l.createRefreshCall)(h,u,f);return(0,l.createRequestQueueInterceptor)(c,f,d),p.catch(g=>Promise.reject(g)).then(()=>(0,l.resendFailedRequest)(h,(0,l.getRetryInstance)(c,d))).finally(()=>(0,l.unsetCache)(c,f))})}}(),o}()})})(moe);var KUe=moe.exports;const ZUe=fc(KUe);let m8=null;function YUe(){return m8}function goe(e){m8=e}function Vq(){m8=null}const voe=()=>Ci.create({baseURL:"https://pro-api.spaceshipapp.com",withCredentials:!0}),Ux=voe();Ux.interceptors.request.use(e=>(e.headers.set("x-locale",localStorage.getItem(g4)),e.headers.set("x-timezone",Intl.DateTimeFormat().resolvedOptions().timeZone),e));Ux.interceptors.request.use(async e=>{const t=YUe();return t&&e.headers.setAuthorization(`Bearer ${t}`),e});ZUe(Ux,async e=>{var t,r,n;if((n=(r=(t=e==null?void 0:e.config)==null?void 0:t.url)==null?void 0:r.startsWith)!=null&&n.call(r,"/v1/auth/"))return Promise.reject(e);try{const i=await voe().post("/v1/auth/refresh-access-token");goe(i.data.accessToken);return}catch{return Promise.reject(e)}});Ux.interceptors.response.use(e=>e,e=>{var t,r,n;if(e instanceof p8){const i=((t=e.response)==null?void 0:t.config.url)==="/v1/me"&&e.response.config.method==="get",a=((r=e.response)==null?void 0:r.config.url)==="/v1/auth/login"&&e.response.config.method==="post";((n=e.response)==null?void 0:n.status)===jUe.Unauthorized&&!i&&!a&&window.location.reload()}return Promise.reject(e)});const Ie=async(e,t)=>(await Ux({...e,...t})).data,t2t=(e,t)=>Ie({url:"/v1/auth/signup",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),r2t=(e,t)=>Ie({url:"/v1/auth/login",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),$Ue=(e,t)=>Ie({url:"/v1/auth/login-with-ss-auth-token",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),XUe=e=>Ie({url:"/v1/auth/logout",method:"POST"},e),QUe=e=>{const{mutation:t,request:r}={};return{mutationFn:()=>XUe(r),...t}},JUe=e=>{const t=QUe();return Qe(t)},eze=(e,t)=>
427Ie({url:"/v1/auth/forget-password",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),tze=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{data:a}=i??{};return eze(a,r)},...t}},n2t=e=>{const t=tze(e);return Qe(t)},rze=(e,t)=>Ie({url:"/v1/auth/reset-password",method:"POST",headers:{"Content-Type":"application/json"},data:e},t),nze=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{data:a}=i??{};return rze(a,r)},...t}},i2t=e=>{const t=nze(e);return Qe(t)},yoe=(e,t)=>Ie({url:"/v1/me",method:"GET",signal:t},e),ize=()=>["/v1/me"],aze=e=>{const{query:t,request:r}=e??{};return{queryKey:(t==null?void 0:t.queryKey)??ize(),queryFn:({signal:a})=>yoe(r,a),retry:!1,...t}},oze=e=>{const t=aze(e),r=zt(t);return r.queryKey=t.queryKey,r},sze=(e,t)=>Ie({url:"/v1/me",method:"PATCH",headers:{"Content-Type":"application/json"},data:e},t),lze=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{data:a}=i??{};return sze(a,r)},...t}},a2t=e=>{const t=lze();return Qe(t)},cze=(e,t)=>Ie({url:"/v1/me/signup-survey",method:"PUT",headers:{"Content-Type":"application/json"},data:e},t),uze=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{data:a}=i??{};return cze(a,r)},...t}},o2t=e=>{const t=uze();return Qe(t)},dze=(e,t)=>Ie({url:"/v1/me/onboarding-checklist-items",method:"PUT",headers:{"Content-Type":"application/json"},data:e},t),fze=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{data:a}=i??{};return dze(a,r)},...t}},s2t=e=>{const t=fze();return Qe(t)},hze=(e,t)=>Ie({url:"/v1/me/locale",method:"PUT",headers:{"Content-Type":"application/json"},data:e},t),pze=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{data:a}=i??{};return hze(a,r)},...t}},mze=e=>{const t=pze();return Qe(t)},gze=(e,t)=>Ie({url:"/v1/me/password",method:"PUT",headers:{"Content-Type":"application/json"},data:e},t),vze=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{data:a}=i??{};return gze(a,r)},...t}},l2t=e=>{const t=vze();return Qe(t)},yze=(e,t,r)=>Ie({url:`/v1/org/${e}/connected-stores`,method:"GET",signal:r},t),bze=e=>[`/v1/org/${e}/connected-stores`],Sze=(e,t)=>{const{query:r,request:n}={};return{queryKey:(r==null?void 0:r.queryKey)??bze(e),queryFn:({signal:o})=>yze(e,n,o),enabled:!!e,retry:!1,...r}},c2t=(e,t)=>{const r=Sze(e),n=zt(r);return n.queryKey=r.queryKey,n},wze=(e,t,r,n)=>Ie({url:`/v1/org/${e}/connected-stores/${t}`,method:"GET",signal:n},r),xze=(e,t)=>[`/v1/org/${e}/connected-stores/${t}`],Cze=(e,t,r)=>{const{query:n,request:i}={};return{queryKey:(n==null?void 0:n.queryKey)??xze(e,t),queryFn:({signal:s})=>wze(e,t,i,s),enabled:!!(e&&t),retry:!1,...n}},u2t=(e,t,r)=>{const n=Cze(e,t),i=zt(n);return i.queryKey=n.queryKey,i},Eze=(e,t,r,n)=>Ie({url:`/v1/org/${e}/connected-stores/shopify/${t}/config`,method:"PATCH",headers:{"Content-Type":"application/json"},data:r},n),kze=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,connectedStoreId:o,data:s}=i??{};return Eze(a,o,s,r)},...t}},d2t=e=>{const t=kze();return Qe(t)},Tze=(e,t,r)=>Ie({url:`/v1/org/${e}/connected-stores/shopify/order-manual-sync-job-info`,method:"GET",signal:r},t),_ze=e=>[`/v1/org/${e}/connected-stores/shopify/order-manual-sync-job-info`],Pze=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??_ze(e),queryFn:({signal:o})=>Tze(e,n,o),enabled:!!e,retry:!1,...r}},Aze=(e,t)=>{const r=Pze(e,t),n=zt(r);return n.queryKey=r.queryKey,n},Oze=(e,t)=>Ie({url:`/v1/org/${e}/connected-stores/shopify/clear-order-manual-sync-job-info`,method:"POST"},t),Ize=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a}=i??{};return Oze(a,r)},...t}},Rze=e=>{const t=Ize();return Qe(t)},Fze=(e,t,r)=>Ie({url:`/v1/org/${e}/connected-stores/shopify/trigger-order-manual-sync`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),Dze=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return Fze(a,o,r)},...t}},Nze=e=>{const t=Dze();return Qe(t)},Mze=(e,t)=>
427Ie({url:`/v1/org/${e}/connected-stores/shopify/retry-order-manual-sync`,method:"POST"},t),Lze=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a}=i??{};return Mze(a,r)},...t}},Bze=e=>{const t=Lze();return Qe(t)},Uze=(e,t,r)=>Ie({url:`/v1/org/${e}/connected-stores/shopify/product-sync/latest-job-status`,method:"GET",signal:r},t),zze=e=>[`/v1/org/${e}/connected-stores/shopify/product-sync/latest-job-status`],Hze=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??zze(e),queryFn:({signal:o})=>Uze(e,n,o),enabled:!!e,retry:!1,...r}},qze=(e,t)=>{const r=Hze(e,t),n=zt(r);return n.queryKey=r.queryKey,n},Wze=(e,t)=>Ie({url:`/v1/org/${e}/connected-stores/shopify/product-sync/clear-latest-job-status`,method:"POST"},t),Vze=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a}=i??{};return Wze(a,r)},...t}},jze=e=>{const t=Vze(e);return Qe(t)},Gze=(e,t,r)=>Ie({url:`/v1/org/${e}/shipping-config`,method:"GET",signal:r},t),Kze=e=>[`/v1/org/${e}/shipping-config`],Zze=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??Kze(e),queryFn:({signal:o})=>Gze(e,n,o),enabled:!!e,retry:!1,...r}},f2t=(e,t)=>{const r=Zze(e,t),n=zt(r);return n.queryKey=r.queryKey,n},Yze=(e,t,r)=>Ie({url:`/v1/org/${e}/shipping-config/printing-preferences`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),$ze=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return Yze(a,o,r)},...t}},h2t=e=>{const t=$ze(e);return Qe(t)},Xze=(e,t,r)=>Ie({url:`/v1/org/${e}/shipping-config/fedex-packaging-preference`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),Qze=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return Xze(a,o,r)},...t}},p2t=e=>{const t=Qze();return Qe(t)},Jze=(e,t,r)=>Ie({url:`/v1/org/${e}/shipping-config/ioss-numbers`,method:"GET",signal:r},t),eHe=e=>[`/v1/org/${e}/shipping-config/ioss-numbers`],tHe=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??eHe(e),queryFn:({signal:o})=>Jze(e,n,o),enabled:!!e,retry:!1,...r}},rHe=(e,t)=>{const r=tHe(e,t),n=zt(r);return n.queryKey=r.queryKey,n},nHe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipping-config/ioss-numbers`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),iHe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return nHe(a,o,r)},...t}},m2t=e=>{const t=iHe();return Qe(t)},aHe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipping-config/ioss-numbers/${t}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:r},n),oHe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,id:o,data:s}=i??{};return aHe(a,o,s,r)},...t}},g2t=e=>{const t=oHe(e);return Qe(t)},sHe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipping-config/label-customization-config`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),lHe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return sHe(a,o,r)},...t}},v2t=e=>{const t=lHe(e);return Qe(t)},cHe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipping-config/packing-slip-config`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),uHe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return cHe(a,o,r)},...t}},y2t=e=>{const t=uHe(e);return Qe(t)},vc=e=>{const t=new FormData;return Object.entries(e).forEach(([r,n])=>{n!=null&&(Array.isArray(n)?n.some(i=>i instanceof File||i instanceof Blob)?n.forEach(i=>{t.append(r,i)}):t.append(r,JSON.stringify(n)):n instanceof File||n instanceof Blob||typeof n!="object"?t.append(r,n):t.append(r,JSON.stringify(n)))}),t},dHe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),fHe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return dHe(a,o,r)},...t}},b2t=e=>{const t=fHe();return Qe(t)},hHe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments`,method:"DELETE",headers:{"Content-Type":"application/json"},data:t},r),pHe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return hHe(a,o,r)},...t}},S2t=e=>{const t=pHe(e);return Qe(t)},mHe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/all`,method:"GET",params:t,signal:n},r),gHe=(e,t)=>
427[`/v1/org/${e}/shipments/all`,...t?[t]:[]],vHe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??gHe(e,t),queryFn:({signal:s})=>mHe(e,t,i,s),enabled:!!e,retry:!1,...n}},w2t=(e,t,r)=>{const n=vHe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},yHe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/draft`,method:"GET",params:t,signal:n},r),bHe=(e,t)=>[`/v1/org/${e}/shipments/draft`,...t?[t]:[]],SHe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??bHe(e,t),queryFn:({signal:s})=>yHe(e,t,i,s),enabled:!!e,retry:!1,...n}},x2t=(e,t,r)=>{const n=SHe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},C2t=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/draft/request-export`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),E2t=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/draft/export-metadata`,method:"GET",signal:r},t),wHe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/unshipped/label-created`,method:"GET",params:t,signal:n},r),xHe=(e,t)=>[`/v1/org/${e}/shipments/unshipped/label-created`,...t?[t]:[]],CHe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??xHe(e,t),queryFn:({signal:s})=>wHe(e,t,i,s),enabled:!!e,retry:!1,...n}},k2t=(e,t,r)=>{const n=CHe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},T2t=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/unshipped/label-created/request-export`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),_2t=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/unshipped/label-created/export-metadata`,method:"GET",signal:r},t),EHe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/unshipped/label-failed`,method:"GET",params:t,signal:n},r),kHe=(e,t)=>[`/v1/org/${e}/shipments/unshipped/label-failed`,...t?[t]:[]],THe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??kHe(e,t),queryFn:({signal:s})=>EHe(e,t,i,s),enabled:!!e,retry:!1,...n}},P2t=(e,t,r)=>{const n=THe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},A2t=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/unshipped/label-failed/request-export`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),O2t=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/unshipped/label-failed/export-metadata`,method:"GET",signal:r},t),_He=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/unshipped/label-failed-exists`,method:"GET",signal:r},t),PHe=e=>[`/v1/org/${e}/shipments/unshipped/label-failed-exists`],AHe=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??PHe(e),queryFn:({signal:o})=>_He(e,n,o),enabled:!!e,retry:!1,...r}},OHe=(e,t)=>{const r=AHe(e,t),n=zt(r);return n.queryKey=r.queryKey,n},IHe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/unshipped/label-cancelled`,method:"GET",params:t,signal:n},r),RHe=(e,t)=>[`/v1/org/${e}/shipments/unshipped/label-cancelled`,...t?[t]:[]],FHe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??RHe(e,t),queryFn:({signal:s})=>IHe(e,t,i,s),enabled:!!e,retry:!1,...n}},I2t=(e,t,r)=>{const n=FHe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},R2t=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/unshipped/label-cancelled/request-export`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),F2t=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/unshipped/label-cancelled/export-metadata`,method:"GET",signal:r},t),DHe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/pickup-unscheduled`,method:"GET",params:t,signal:n},r),NHe=(e,t)=>[`/v1/org/${e}/shipments/pickup-unscheduled`,...t?[t]:[]],MHe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??NHe(e,t),queryFn:({signal:s})=>DHe(e,t,i,s),enabled:!!e,retry:!1,...n}},D2t=(e,t,r)=>{const n=MHe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},LHe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/shipped`,method:"GET",params:t,signal:n},r),BHe=(e,t)=>[`/v1/org/${e}/shipments/shipped`,...t?[t]:[]],UHe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??BHe(e,t),queryFn:({signal:s})=>LHe(e,t,i,s),enabled:!!e,retry:!1,...n}},N2t=(e,t,r)=>{const n=UHe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},zHe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/shipped/status-counts`,method:"GET",signal:r},t),HHe=e=>[`/v1/org/${e}/shipments/shipped/status-counts`],qHe=(e,t)=>{const{query:r,request:n}={};return{queryKey:(r==null?void 0:r.queryKey)??HHe(e),queryFn:({signal:o})=>zHe(e,n,o),enabled:!!e,retry:!1,...r}},M2t=(e,t)=>{const r=qHe(e),n=zt(r);return n.queryKey=r.queryKey,n},L2t=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/shipped/request-export`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),B2t=(e,t,r)=>Ie({url:`/v1/org/${e}
427/shipments/shipped/export-metadata`,method:"GET",signal:r},t),WHe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/${t}`,method:"GET",signal:n},r),VHe=(e,t)=>[`/v1/org/${e}/shipments/${t}`],jHe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??VHe(e,t),queryFn:({signal:s})=>WHe(e,t,i,s),enabled:!!(e&&t),retry:!1,...n}},U2t=(e,t,r)=>{const n=jHe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},GHe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/${t}`,method:"DELETE"},r),KHe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,shipmentId:o}=i??{};return GHe(a,o,r)},...t}},z2t=e=>{const t=KHe(e);return Qe(t)},ZHe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/${t}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:r},n),YHe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,shipmentId:o,data:s}=i??{};return ZHe(a,o,s,r)},...t}},H2t=e=>{const t=YHe(e);return Qe(t)},$He=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/${t}/related-shipments`,method:"GET",signal:n},r),XHe=(e,t)=>[`/v1/org/${e}/shipments/${t}/related-shipments`],QHe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??XHe(e,t),queryFn:({signal:s})=>$He(e,t,i,s),enabled:!!(e&&t),retry:!1,...n}},q2t=(e,t,r)=>{const n=QHe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},JHe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/${t}/active-carrier-order-error-analysis`,method:"GET",signal:n},r),eqe=(e,t)=>[`/v1/org/${e}/shipments/${t}/active-carrier-order-error-analysis`],tqe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??eqe(e,t),queryFn:({signal:s})=>JHe(e,t,i,s),enabled:!!(e&&t),retry:!1,...n}},W2t=(e,t,r)=>{const n=tqe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},rqe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/${t}/quotation`,method:"POST",params:r},n),nqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,shipmentId:o,params:s}=i??{};return rqe(a,o,s,r)},...t}},V2t=e=>{const t=nqe(e);return Qe(t)},iqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/${t}/buy`,method:"POST"},r),aqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,shipmentId:o}=i??{};return iqe(a,o,r)},...t}},j2t=e=>{const t=aqe(e);return Qe(t)},oqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/${t}/retry-label-creation`,method:"POST"},r),sqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,shipmentId:o}=i??{};return oqe(a,o,r)},...t}},G2t=e=>{const t=sqe(e);return Qe(t)},lqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/${t}/cancel-and-refund`,method:"POST"},r),cqe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,shipmentId:o}=i??{};return lqe(a,o,r)},...t}},K2t=e=>{const t=cqe();return Qe(t)},uqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/${t}/cancel`,method:"POST"},r),dqe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,shipmentId:o}=i??{};return uqe(a,o,r)},...t}},Z2t=e=>{const t=dqe();return Qe(t)},fqe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/${t}/carrier-service-selection`,method:"PUT",headers:{"Content-Type":"application/json"},data:r},n),hqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,shipmentId:o,data:s}=i??{};return fqe(a,o,s,r)},...t}},Y2t=e=>{const t=hqe(e);return Qe(t)},pqe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/${t}/coverage-option`,method:"PUT",headers:{"Content-Type":"application/json"},data:r},n),mqe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,shipmentId:o,data:s}=i??{};return pqe(a,o,s,r)},...t}},$2t=e=>{const t=mqe();return Qe(t)},gqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/${t}/mark-as-delivered`,method:"POST"},r),vqe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,shipmentId:o}=i??{};return gqe(a,o,r)},...t}},X2t=e=>{const t=vqe();return Qe(t)},yqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/sender-address`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),bqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return yqe(a,o,r)},...t}},Q2t=e=>{const t=bqe(e);return Qe(t)},Sqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/receiver-address-is-residential`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),wqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};
427return Sqe(a,o,r)},...t}},J2t=e=>{const t=wqe(e);return Qe(t)},xqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/purpose`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),Cqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return xqe(a,o,r)},...t}},eCt=e=>{const t=Cqe(e);return Qe(t)},Eqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/tax-term`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),kqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return Eqe(a,o,r)},...t}},tCt=e=>{const t=kqe(e);return Qe(t)},Tqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/package-dimension`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),_qe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return Tqe(a,o,r)},...t}},rCt=e=>{const t=_qe(e);return Qe(t)},Pqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/package-weight`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),Aqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return Pqe(a,o,r)},...t}},nCt=e=>{const t=Aqe(e);return Qe(t)},Oqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/coverage-option`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),Iqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return Oqe(a,o,r)},...t}},iCt=e=>{const t=Iqe(e);return Qe(t)},Rqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/carrier-service`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),Fqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return Rqe(a,o,r)},...t}},aCt=e=>{const t=Fqe(e);return Qe(t)},Dqe=(e,t,r)=>{const n=vc(t);return Ie({url:`/v1/org/${e}/shipments/import`,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:n},r)},Nqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return Dqe(a,o,r)},...t}},oCt=e=>{const t=Nqe(e);return Qe(t)},Mqe=(e,t,r)=>{const n=vc(t);return Ie({url:`/v1/org/${e}/shipments/import/from-many-to-one`,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:n},r)},Lqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return Mqe(a,o,r)},...t}},sCt=e=>{const t=Lqe(e);return Qe(t)},Bqe=(e,t,r)=>{const n=vc(t);return Ie({url:`/v1/org/${e}/shipments/simple-import`,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:n},r)},Uqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return Bqe(a,o,r)},...t}},lCt=e=>{const t=Uqe(e);return Qe(t)},zqe=(e,t,r)=>{const n=vc(t);return Ie({url:`/v1/org/${e}/shipments/simple-import/from-many-to-one`,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:n},r)},Hqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return zqe(a,o,r)},...t}},cCt=e=>{const t=Hqe(e);return Qe(t)},qqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/clone`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),Wqe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return qqe(a,o,r)},...t}},uCt=e=>{const t=Wqe();return Qe(t)},Vqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/apply-shipping-rules`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),jqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return Vqe(a,o,r)},...t}},dCt=e=>{const t=jqe(e);return Qe(t)},Gqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/${t}/in-transit-return`,method:"POST"},r),Kqe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,shipmentId:o}=i??{};return Gqe(a,o,r)},...t}},fCt=e=>{const t=Kqe();return Qe(t)},Zqe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/${t}/tags`,method:"PUT",headers:{"Content-Type":"application/json"},data:r},n),Yqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,shipmentId:o,data:s}=i??{};return Zqe(a,o,s,r)},...t}},hCt=e=>{const t=Yqe(e);return Qe(t)},$qe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/add-tags`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),Xqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return $qe(a,o,r)},...t}},pCt=e=>{const t=Xqe(e);return Qe(t)},Qqe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/remove-tags`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),Jqe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return Qqe(a,o,r)},...t}},mCt=e=>{const t=Jqe(e);return Qe(t)},eWe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/${t}/post-delivery-return`,method:"POST"},r),tWe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,shipmentId:o}=i??{};return eWe(a,o,r)},...t}},gCt=e=>{const t=tWe();return Qe(t)},rWe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/validate-shipping-address`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),nWe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return rWe(a,o,r)},...t}},vCt=e=>{const t=nWe();return Qe(t)},iWe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/validate-address`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),aWe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return iWe(a,o,r)},...t}},yCt=e=>{const t=aWe();return Qe(t)},oWe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipments/validate-addresses`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),sWe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return oWe(a,o,r)},...t}},bCt=e=>{const t=sWe();return Qe(t)},lWe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/${t}/apply-suggested-address`,method:"POST",headers:{"Content-Type":"application/json"},data:r},n),cWe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,shipmentId:o,data:s}=i??{};return lWe(a,o,s,r)},...t}},SCt=e=>{const t=cWe();return Qe(t)},uWe=(e,t,r,n)=>{const i=vc(r);return Ie({url:`/v1/org/${e}/shipments/${t}/shipment-custom-shipping-documents`,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:i},n)},dWe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,shipmentId:o,data:s}=i??{};return uWe(a,o,s,r)},...t}},wCt=e=>{const t=dWe();return Qe(t)},fWe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipments/${t}/shipment-custom-shipping-documents/${r}`,method:"DELETE"},n),hWe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,shipmentId:o,shipmentCustomShippingDocumentId:s}=i??{};return fWe(a,o,s,r)},...t}},xCt=e=>{const t=hWe();return Qe(t)},pWe=(e,t,r)=>Ie({url:`/v1/org/${e}/wallet`,method:"GET",signal:r},t),mWe=e=>[`/v1/org/${e}/wallet`],gWe=(e,t)=>
427{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??mWe(e),queryFn:({signal:o})=>pWe(e,n,o),enabled:!!e,retry:!1,...r}},vWe=(e,t)=>{const r=gWe(e,t),n=zt(r);return n.queryKey=r.queryKey,n},yWe=(e,t,r)=>Ie({url:`/v1/org/${e}/wallet/top-up-with-stripe-default-card-payment-method`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),bWe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return yWe(a,o,r)},...t}},CCt=e=>{const t=bWe();return Qe(t)},SWe=(e,t,r)=>Ie({url:`/v1/org/${e}/wallet/update-low-balance-alert-settings`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),wWe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return SWe(a,o,r)},...t}},ECt=e=>{const t=wWe();return Qe(t)},xWe=(e,t,r)=>Ie({url:`/v1/org/${e}/wallet/update-auto-topup-settings`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),CWe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return xWe(a,o,r)},...t}},kCt=e=>{const t=CWe();return Qe(t)},EWe=(e,t,r)=>Ie({url:`/v1/shipment-tracking/${e}`,method:"GET",signal:r},t),kWe=e=>[`/v1/shipment-tracking/${e}`],TWe=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??kWe(e),queryFn:({signal:o})=>EWe(e,n,o),enabled:!!e,retry:!1,...r}},_We=(e,t)=>{const r=TWe(e,t),n=zt(r);return n.queryKey=r.queryKey,n},PWe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/pickups/scheduled/upcoming`,method:"GET",params:t,signal:n},r),AWe=(e,t)=>[`/v1/org/${e}/pickups/scheduled/upcoming`,...t?[t]:[]],OWe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??AWe(e,t),queryFn:({signal:s})=>PWe(e,t,i,s),enabled:!!e,retry:!1,...n}},TCt=(e,t,r)=>{const n=OWe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},IWe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/pickups/scheduled/history`,method:"GET",params:t,signal:n},r),RWe=(e,t)=>
427[`/v1/org/${e}/pickups/scheduled/history`,...t?[t]:[]],FWe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??RWe(e,t),queryFn:({signal:s})=>IWe(e,t,i,s),enabled:!!e,retry:!1,...n}},_Ct=(e,t,r)=>{const n=FWe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},PCt=(e,t,r)=>Ie({url:`/v1/org/${e}/pickups/scheduled/request-export`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),DWe=(e,t,r)=>Ie({url:`/v1/org/${e}/pickups/scheduled/export-metadata`,method:"GET",signal:r},t),NWe=e=>[`/v1/org/${e}/pickups/scheduled/export-metadata`],MWe=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??NWe(e),queryFn:({signal:o})=>DWe(e,n,o),enabled:!!e,retry:!1,...r}},ACt=(e,t)=>{const r=MWe(e,t),n=zt(r);return n.queryKey=r.queryKey,n},LWe=(e,t,r)=>Ie({url:`/v1/org/${e}/pickups/bulk-schedule-time-slots`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),BWe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return LWe(a,o,r)},...t}},UWe=e=>{const t=BWe();return Qe(t)},zWe=(e,t,r)=>Ie({url:`/v1/org/${e}/pickups/quotation`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),HWe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return zWe(a,o,r)},...t}},OCt=e=>{const t=HWe();return Qe(t)},qWe=(e,t,r)=>Ie({url:`/v1/org/${e}/pickups/schedule`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),WWe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return qWe(a,o,r)},...t}},ICt=e=>{const t=WWe(e);return Qe(t)},VWe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/pickups/shipments`,method:"GET",params:t,signal:n},r),jWe=(e,t)=>[`/v1/org/${e}/pickups/shipments`,...t?[t]:[]],GWe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??jWe(e,t),queryFn:({signal:s})=>VWe(e,t,i,s),enabled:!!e,retry:!1,...n}},RCt=(e,t,r)=>{const n=GWe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},KWe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/pickups/${t}`,method:"GET",signal:n},r),ZWe=(e,t)=>[`/v1/org/${e}/pickups/${t}`],YWe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??ZWe(e,t),queryFn:({signal:s})=>KWe(e,t,i,s),enabled:!!(e&&t),retry:!1,...n}},FCt=(e,t,r)=>{const n=YWe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},$We=(e,t,r,n)=>Ie({url:`/v1/org/${e}/pickups/${t}/shipments`,method:"GET",signal:n},r),XWe=(e,t)=>[`/v1/org/${e}/pickups/${t}/shipments`],QWe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??XWe(e,t),queryFn:({signal:s})=>$We(e,t,i,s),enabled:!!(e&&t),retry:!1,...n}},DCt=(e,t,r)=>{const n=QWe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},JWe={SHOPIFY:"SHOPIFY"},td={cm:"cm"},Au={resubmit_warehouse_receiving_order:"resubmit_warehouse_receiving_order",resubmit_submitted_fulfillment_order:"resubmit_submitted_fulfillment_order",cancel_submitted_fulfillment_order:"cancel_submitted_fulfillment_order",resume_cancel_requested_fulfillment_order:"resume_cancel_requested_fulfillment_order",lot_level_inventory_tracking:"lot_level_inventory_tracking",warehouse_receiving_order_box_label_scan:"warehouse_receiving_order_box_label_scan",barcode_label_scan:"barcode_label_scan",wro_carton_or_pallet_in:"wro_carton_or_pallet_in",requires_product_dimensions_in_wro:"requires_product_dimensions_in_wro",support_return_order:"support_return_order"},jq={completed:"completed",failed:"failed"},OT={expiring_soon:"expiring_soon",expired:"expired"},J4={approved:"approved",rejected:"rejected"},pa={setup_default_sender_address:"setup_default_sender_address",setup_default_packaging:"setup_default_packaging",connect_shopify:"connect_shopify",buy_shopify_shipment:"buy_shopify_shipment",get_quick_quote:"get_quick_quote",create_shipment:"create_shipment",buy_shipment:"buy_shipment"},m3={item:"item",group:"group"},eVe={OWNER:"OWNER"},Lb={free:"free",early_bird:"early_bird",startup:"startup",growth:"growth",enterprise:"enterprise"},Lc={sellable_product:"sellable_product",packaging_material:"packaging_material",carton:"c
427arton"},g3={enqueued:"enqueued",completed:"completed",failed:"failed"},wi={product:"product",carton:"carton",pallet:"pallet"},Ai={b2b:"b2b",b2c:"b2c",packing_material:"packing_material"},Gq={awaiting:"awaiting",arrived:"arrived",processing:"processing",completed:"completed",cancel_requested:"cancel_requested",cancelled:"cancelled"},uw={kg:"kg"},tVe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipping-billing-entries/pending-and-outstanding-billing-entries`,method:"GET",params:t,signal:n},r),rVe=(e,t)=>[`/v1/org/${e}/shipping-billing-entries/pending-and-outstanding-billing-entries`,...t?[t]:[]],nVe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??rVe(e,t),queryFn:({signal:s})=>tVe(e,t,i,s),enabled:!!e,retry:!1,...n}},NCt=(e,t,r)=>{const n=nVe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},iVe=(e,t,r)=>Ie({url:`/v1/org/${e}/shipping-billing-entries/pending-and-outstanding-billing-entries-summary`,method:"GET",signal:r},t),aVe=e=>[`/v1/org/${e}/shipping-billing-entries/pending-and-outstanding-billing-entries-summary`],oVe=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??aVe(e),queryFn:({signal:o})=>iVe(e,n,o),enabled:!!e,retry:!1,...r}},sVe=(e,t)=>{const r=oVe(e,t),n=zt(r);return n.queryKey=r.queryKey,n},lVe=(e,t)=>Ie({url:`/v1/org/${e}/shipping-billing-entries/settle-pending-and-outstanding-second-charges`,method:"POST"},t),cVe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a}=i??{};return lVe(a,r)},...t}},MCt=e=>{const t=cVe();return Qe(t)},uVe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipping-billing-entries/pending-and-upcoming-billing-entries`,method:"GET",params:t,signal:n},r),dVe=(e,t)=>[`/v1/org/${e}/shipping-billing-entries/pending-and-upcoming-billing-entries`,...t?[t]:[]],fVe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??dVe(e,t),queryFn:({signal:s})=>uVe(e,t,i,s),enabled:!!e,retry:!1,...n}},LCt=(e,t,r)=>{const n=fVe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},hVe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipping-billing-entries/archived-billing-entries`,method:"GET",params:t,signal:n},r),pVe=(e,t)=>[`/v1/org/${e}/shipping-billing-entries/archived-billing-entries`,...t?[t]:[]],mVe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??pVe(e,t),queryFn:({signal:s})=>hVe(e,t,i,s),enabled:!!e,retry:!1,...n}},BCt=(e,t,r)=>{const n=mVe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},UCt=(e,t,r)=>Ie({url:`/v1/org/${e}/shipping-billing-entries/request-export`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),zCt=(e,t,r,n)=>Ie({url:`/v1/org/${e}/shipping-billing-entries/export-metadata`,method:"GET",params:t,signal:n},r),gVe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/products`,method:"GET",params:t,signal:n},r),vVe=(e,t)=>[`/v1/org/${e}/products`,...t?[t]:[]],yVe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??vVe(e,t),queryFn:({signal:s})=>gVe(e,t,i,s),enabled:!!e,retry:!1,...n}},Ey=(e,t,r)=>{const n=yVe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},bVe=(e,t,r)=>Ie({url:`/v1/org/${e}/products`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),SVe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return bVe(a,o,r)},...t}},HCt=e=>{const t=SVe(e);return Qe(t)},wVe=(e,t,r)=>Ie({url:`/v1/org/${e}/products/packaging-materials`,method:"GET",signal:r},t),xVe=e=>[`/v1/org/${e}/products/packaging-materials`],CVe=(e,t)=>{const{query:r,request:n}={};return{queryKey:(r==null?void 0:r.queryKey)??xVe(e),queryFn:({signal:o})=>wVe(e,n,o),enabled:!!e,retry:!1,...r}},qCt=(e,t)=>{const r=CVe(e),n=zt(r);return n.queryKey=r.queryKey,n},WCt=(e,t,r)=>Ie({url:`/v1/org/${e}/products/export-metadata`,method:"GET",signal:r},t),EVe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/products/${t}`,method:"GET",signal:n},r),kVe=(e,t)=>[`/v1/org/${e}/products/${t}`],TVe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??kVe(e,t),queryFn:({signal:s})=>EVe(e,t,i,s),enabled:!!(e&&t),retry:!1,...n}},dA=(e,t,r)=>{const n=TVe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},_Ve=(e,t,r,n)=>Ie({url:`/v1/org/${e}/products/${t}`,method:"PUT",headers:{"Content-Type":"application/json"},data:r},n),PVe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,productId:o,data:s}=i??{};return _Ve(a,o,s,r)},...t}},VCt=e=>{const t=PVe(e);return Qe(t)},jCt=(e,t,r,n)=>Ie({url:`/v1/org/${e}/products/${t}/label`,method:"GET",signal:n},r),AVe=(e,t,r)=>Ie({url:`/v1/org/${e}/products/item-description`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),OVe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return AVe(a,o,r)},...t}},GCt=e=>{const t=OVe(e);return Qe(t)},IVe=(e,t,r)=>Ie({url:`/v1/org/${e}/products/item-description-chinese`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),RVe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return IVe(a,o,r)},...t}},KCt=e=>{const t=RVe(e);return Qe(t)},FVe=(e,t,r)=>Ie({url:`/v1/org/${e}/products/hs-code`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),DVe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return FVe(a,o,r)},...t}},ZCt=e=>{const t=DVe(e);return Qe(t)},NVe=(e,t,r)=>Ie({url:`/v1/org/${e}/products/unit-value`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),MVe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return NVe(a,o,r)},...t}},YCt=e=>{const t=MVe(e);return Qe(t)},LVe=(e,t,r)=>Ie({url:`/v1/org/${e}/products/weight`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),BVe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return LVe(a,o,r)},...t}},$Ct=e=>{const t=BVe(e);return Qe(t)},UVe=(e,t,r)=>Ie({url:`/v1/org/${e}/products/country-of-manufacture`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),zVe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return UVe(a,o,r)},...t}},XCt=e=>{const t=zVe(e);return Qe(t)},HVe=(e,t,r)=>Ie({url:`/v1/org/${e}/products/dimension`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),qVe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return HVe(a,o,r)},...t}},QCt=e=>{const t=qVe(e);return Qe(t)},WVe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/products/${t}/barcode`,method:"PUT",headers:{"Content-Type":"application/json"},data:r},n),VVe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,productId:o,data:s}=i??{};return WVe(a,o,s,r)},...t}},jVe=e=>{const t=VVe();return Qe(t)},GVe=(e,t,r)=>{const n=vc(t);return Ie({url:`/v1/org/${e}/products/import`,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:n},r)},KVe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return GVe(a,o,r)},...t}},JCt=e=>{const t=KVe(e);return Qe(t)},ZVe=(e,t,r)=>Ie({url:`/v1/org/${e}/products/import-from-shopify`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),YVe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return ZVe(a,o,r)},...t}},$Ve=e=>{const t=YVe(e);return Qe(t)},eEt=(e,t)=>
427Ie({url:`/v1/org/${e}/products/request-export`,method:"POST"},t),XVe=(e,t,r)=>Ie({url:`/v1/org/${e}/org-carrier-accounts/supported-carriers`,method:"GET",signal:r},t),QVe=e=>[`/v1/org/${e}/org-carrier-accounts/supported-carriers`],JVe=(e,t)=>{const{query:r,request:n}={};return{queryKey:(r==null?void 0:r.queryKey)??QVe(e),queryFn:({signal:o})=>XVe(e,n,o),enabled:!!e,retry:!1,...r}},tEt=(e,t)=>{const r=JVe(e),n=zt(r);return n.queryKey=r.queryKey,n},eje=(e,t,r)=>Ie({url:`/v1/org/${e}/org-carrier-accounts`,method:"GET",signal:r},t),tje=e=>[`/v1/org/${e}/org-carrier-accounts`],rje=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??tje(e),queryFn:({signal:o})=>eje(e,n,o),enabled:!!e,retry:!1,...r}},nje=(e,t)=>{const r=rje(e,t),n=zt(r);return n.queryKey=r.queryKey,n},ije=(e,t,r)=>Ie({url:`/v1/org/${e}/org-carrier-accounts/enabled`,method:"GET",signal:r},t),aje=e=>[`/v1/org/${e}/org-carrier-accounts/enabled`],oje=(e,t)=>{const{query:r,request:n}={};return{queryKey:(r==null?void 0:r.queryKey)??aje(e),queryFn:({signal:o})=>ije(e,n,o),enabled:!!e,retry:!1,...r}},rEt=(e,t)=>{const r=oje(e),n=zt(r);return n.queryKey=r.queryKey,n},sje=(e,t,r)=>Ie({url:`/v1/org/${e}/org-carrier-accounts/request-to-connect-sf-account`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),lje=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return sje(a,o,r)},...t}},nEt=e=>{const t=lje();return Qe(t)},cje=(e,t,r)=>{const n=vc(t);return Ie({url:`/v1/org/${e}/org-carrier-accounts/request-to-connect-fedex-account`,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:n},r)},uje=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return cje(a,o,r)},...t}},iEt=e=>{const t=uje();return Qe(t)},dje=(e,t,r)=>Ie({url:`/v1/org/${e}/org-carrier-accounts/request-to-connect-dhl-account`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),fje=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return dje(a,o,r)},...t}},aEt=e=>{const t=fje();return Qe(t)},hje=(e,t,r)=>Ie({url:`/v1/org/${e}/org-carrier-accounts/${t}/enable-account`,method:"POST"},r),pje=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,orgCarrierAccountId:o}=i??{};return hje(a,o,r)},...t}},oEt=e=>{const t=pje(e);return Qe(t)},mje=(e,t,r)=>Ie({url:`/v1/org/${e}/org-carrier-accounts/${t}/disable-account`,method:"POST"},r),gje=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,orgCarrierAccountId:o}=i??{};return mje(a,o,r)},...t}},sEt=e=>{const t=gje(e);return Qe(t)},vje=(e,t,r,n)=>Ie({url:`/v1/org/${e}/org-carrier-accounts/${t}/name`,method:"PATCH",headers:{"Content-Type":"application/json"},data:r},n),yje=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,orgCarrierAccountId:o,data:s}=i??{};return vje(a,o,s,r)},...t}},lEt=e=>{const t=yje();return Qe(t)},bje=(e,t,r)=>Ie({url:`/v1/org/${e}/configs`,method:"GET",signal:r},t),Sje=e=>[`/v1/org/${e}/configs`],wje=(e,t)=>{const{query:r,request:n}={};return{queryKey:(r==null?void 0:r.queryKey)??Sje(e),queryFn:({signal:o})=>bje(e,n,o),enabled:!!e,retry:!1,...r}},xje=(e,t)=>{const r=wje(e),n=zt(r);return n.queryKey=r.queryKey,n},Cje=(e,t)=>Ie({url:`/v1/org/${e}/configs/hide-onboarding-checklist`,method:"POST"},t),Eje=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a}=i??{};return Cje(a,r)},...t}},cEt=e=>{const t=Eje();return Qe(t)},kje=(e,t,r)=>Ie({url:`/v1/org/${e}/subscription`,method:"GET",signal:r},t),Tje=e=>[`/v1/org/${e}/subscription`],_je=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??Tje(e),queryFn:({signal:o})=>kje(e,n,o),enabled:!!e,retry:!1,...r}},Pje=(e,t)=>{const r=_je(e,t),n=zt(r);return n.queryKey=r.queryKey,n},uEt=(e,t,r)=>Ie({url:`/v1/org/${e}/subscription/checkout`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),dEt=(e,t)=>Ie({url:`/v1/org/${e}/subscription/portal-session`,method:"POST"},t),Aje=(e,t,r)=>Ie({url:`/v1/org/${e}/subscription/monthly-label-created-count`,method:"GET",signal:r},t),Oje=e=>[`/v1/org/${e}/subscription/monthly-label-created-count`],Ije=(e,t)=>{const{query:r,request:n}={};return{queryKey:(r==null?void 0:r.queryKey)??Oje(e),queryFn:({signal:o})=>Aje(e,n,o),enabled:!!e,retry:!1,...r}},fEt=(e,t)=>
427{const r=Ije(e),n=zt(r);return n.queryKey=r.queryKey,n},Rje=(e,t,r)=>Ie({url:`/v1/org/${e}/onboarding/checklist`,method:"GET",signal:r},t),Fje=e=>[`/v1/org/${e}/onboarding/checklist`],Dje=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??Fje(e),queryFn:({signal:o})=>Rje(e,n,o),enabled:!!e,retry:!1,...r}},Nje=(e,t)=>{const r=Dje(e,t),n=zt(r);return n.queryKey=r.queryKey,n},Mje=(e,t,r)=>Ie({url:`/v1/org/${e}/onboarding/checklist/item/${t}/complete`,method:"POST"},r),Lje=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,itemId:o}=i??{};return Mje(a,o,r)},...t}},Bje=e=>{const t=Lje();return Qe(t)},Uje=(e,t,r,n)=>Ie({url:`/v1/org/${e}/fulfillment-orders/all`,method:"GET",params:t,signal:n},r),zje=(e,t)=>[`/v1/org/${e}/fulfillment-orders/all`,...t?[t]:[]],Hje=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??zje(e,t),queryFn:({signal:s})=>Uje(e,t,i,s),enabled:!!e,retry:!1,...n}},hEt=(e,t,r)=>{const n=Hje(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},qje=(e,t,r,n)=>Ie({url:`/v1/org/${e}/fulfillment-orders/unfulfilled`,method:"GET",params:t,signal:n},r),Wje=(e,t)=>[`/v1/org/${e}/fulfillment-orders/unfulfilled`,...t?[t]:[]],Vje=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??Wje(e,t),queryFn:({signal:s})=>qje(e,t,i,s),enabled:!!e,retry:!1,...n}},pEt=(e,t,r)=>{const n=Vje(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},jje=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/latest-unsubmitted`,method:"GET",signal:r},t),Gje=e=>[`/v1/org/${e}/fulfillment-orders/latest-unsubmitted`],Kje=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??Gje(e),queryFn:({signal:o})=>jje(e,n,o),enabled:!!e,retry:!1,...r}},mEt=(e,t)=>{const r=Kje(e,t),n=zt(r);return n.queryKey=r.queryKey,n},Zje=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/latest-action-required`,method:"GET",signal:r},t),Yje=e=>[`/v1/org/${e}/fulfillment-orders/latest-action-required`],$je=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??Yje(e),queryFn:({signal:o})=>Zje(e,n,o),enabled:!!e,retry:!1,...r}},gEt=(e,t)=>{const r=$je(e,t),n=zt(r);return n.queryKey=r.queryKey,n},Xje=(e,t,r,n)=>Ie({url:`/v1/org/${e}/fulfillment-orders/archived`,method:"GET",params:t,signal:n},r),Qje=(e,t)=>[`/v1/org/${e}/fulfillment-orders/archived`,...t?[t]:[]],Jje=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??Qje(e,t),queryFn:({signal:s})=>Xje(e,t,i,s),enabled:!!e,retry:!1,...n}},vEt=(e,t,r)=>{const n=Jje(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},eGe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/fulfillment-orders/action-required`,method:"GET",params:t,signal:n},r),tGe=(e,t)=>[`/v1/org/${e}/fulfillment-orders/action-required`,...t?[t]:[]],rGe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??tGe(e,t),queryFn:({signal:s})=>eGe(e,t,i,s),enabled:!!e,retry:!1,...n}},yEt=(e,t,r)=>{const n=rGe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},nGe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/action-required-exists`,method:"GET",signal:r},t),iGe=e=>[`/v1/org/${e}/fulfillment-orders/action-required-exists`],aGe=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??iGe(e),queryFn:({signal:o})=>nGe(e,n,o),enabled:!!e,retry:!1,...r}},oGe=(e,t)=>{const r=aGe(e,t),n=zt(r);return n.queryKey=r.queryKey,n},bEt=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/request-export`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),SEt=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/export-metadata`,method:"GET",signal:r},t),sGe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}`,method:"GET",signal:n},r),lGe=(e,t)=>[`/v1/org/${e}/fulfillment-orders/${t}`],cGe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??lGe(e,t),queryFn:({signal:s})=>sGe(e,t,i,s),enabled:!!(e&&t),retry:!1,...n}},wEt=(e,t,r)=>{const n=cGe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},uGe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/shipment-info`,method:"GET",signal:n},r),dGe=(e,t)=>
427[`/v1/org/${e}/fulfillment-orders/${t}/shipment-info`],fGe=(e,t,r)=>{const{query:n,request:i}={};return{queryKey:(n==null?void 0:n.queryKey)??dGe(e,t),queryFn:({signal:s})=>uGe(e,t,i,s),enabled:!!(e&&t),retry:!1,...n}},xEt=(e,t,r)=>{const n=fGe(e,t),i=zt(n);return i.queryKey=n.queryKey,i},hGe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),pGe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return hGe(a,o,r)},...t}},CEt=e=>{const t=pGe();return Qe(t)},mGe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/address-information`,method:"PUT",headers:{"Content-Type":"application/json"},data:r},n),gGe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,fulfillmentOrderId:o,data:s}=i??{};return mGe(a,o,s,r)},...t}},EEt=e=>{const t=gGe(e);return Qe(t)},vGe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/validate-address`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),yGe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return vGe(a,o,r)},...t}},kEt=e=>{const t=yGe();return Qe(t)},bGe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/validate-addresses`,method:"POST",headers:{"Content-Type":"application/json"},data:t},r),SGe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return bGe(a,o,r)},...t}},TEt=e=>{const t=SGe();return Qe(t)},wGe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/apply-suggested-address`,method:"POST",headers:{"Content-Type":"application/json"},data:r},n),xGe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,fulfillmentOrderId:o,data:s}=i??{};return wGe(a,o,s,r)},...t}},_Et=e=>{const t=xGe();return Qe(t)},CGe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/order-details`,method:"PUT",headers:{"Content-Type":"application/json"},data:r},n),EGe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,fulfillmentOrderId:o,data:s}=i??{};return CGe(a,o,s,r)},...t}},PEt=e=>{const t=EGe(e);return Qe(t)},kGe=(e,t,r)=>{const n=vc(t);return Ie({url:`/v1/org/${e}/fulfillment-orders/import`,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:n},r)},TGe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return kGe(a,o,r)},...t}},AEt=e=>{const t=TGe(e);return Qe(t)},_Ge=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/request-cancel`,method:"POST"},r),PGe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,fulfillmentOrderId:o}=i??{};return _Ge(a,o,r)},...t}},OEt=e=>{const t=PGe();return Qe(t)},AGe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/resume-cancel-requested`,method:"POST"},r),OGe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,fulfillmentOrderId:o}=i??{};return AGe(a,o,r)},...t}},IEt=e=>{const t=OGe();return Qe(t)},IGe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/submit`,method:"POST"},r),RGe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,fulfillmentOrderId:o}=i??{};return IGe(a,o,r)},...t}},REt=e=>{const t=RGe(e);return Qe(t)},FGe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/close`,method:"POST"},r),DGe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,fulfillmentOrderId:o}=i??{};return FGe(a,o,r)},...t}},FEt=e=>{const t=DGe();return Qe(t)},NGe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/quick-quote`,method:"POST",headers:{"Content-Type":"application/json"},data:r},n),MGe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,fulfillmentOrderId:o,data:s}=i??{};return NGe(a,o,s,r)},...t}},DEt=e=>{const t=MGe(e);return Qe(t)},LGe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/tags`,method:"PUT",headers:{"Content-Type":"application/json"},data:r},n),BGe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,fulfillmentOrderId:o,data:s}=i??{};return LGe(a,o,s,r)},...t}},NEt=e=>{const t=BGe(e);return Qe(t)},UGe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/add-tags`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),zGe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return UGe(a,o,r)},...t}},MEt=e=>{const t=zGe(e);return Qe(t)},HGe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/remove-tags`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),qGe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return HGe(a,o,r)},...t}},LEt=e=>{const t=qGe(e);return Qe(t)},WGe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/clone`,method:"POST"},r),VGe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,fulfillmentOrderId:o}=i??{};return WGe(a,o,r)},...t}},BEt=e=>{const t=VGe();return Qe(t)},jGe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/offline-tracking-info`,method:"PUT",headers:{"Content-Type":"application/json"},data:r},n),GGe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,fulfillmentOrderId:o,data:s}=i??{};return jGe(a,o,s,r)},...t}},UEt=e=>{const t=GGe();return Qe(t)},KGe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/shopify-order-pricing-audit`,method:"PUT"},r),ZGe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,fulfillmentOrderId:o}=i??{};return KGe(a,o,r)},...t}},zEt=e=>{const t=ZGe();return Qe(t)},YGe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/fulfillment-orders/${t}/address-validation-audit`,method:"PUT",headers:{"Content-Type":"application/json"},data:r},n),$Ge=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,fulfillmentOrderId:o,data:s}=i??{};return YGe(a,o,s,r)},...t}},HEt=e=>{const t=$Ge();return Qe(t)},XGe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/final-carrier-service`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),QGe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return XGe(a,o,r)},...t}},qEt=e=>{const t=QGe(e);return Qe(t)},JGe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/remarks`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),eKe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return JGe(a,o,r)},...t}},WEt=e=>{const t=eKe(e);return Qe(t)},tKe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/delivery-method`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),rKe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return tKe(a,o,r)},...t}},VEt=e=>{const t=rKe(e);return Qe(t)},nKe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/final-shipping-purpose`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),iKe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return nKe(a,o,r)},...t}},jEt=e=>{const t=iKe(e);return Qe(t)},aKe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/final-shipping-tax-term`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),oKe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return aKe(a,o,r)},...t}},GEt=e=>{const t=oKe(e);return Qe(t)},sKe=(e,t,r)=>Ie({url:`/v1/org/${e}/fulfillment-orders/coverage-option`,method:"PUT",headers:{"Content-Type":"application/json"},data:t},r),lKe=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return sKe(a,o,r)},...t}},KEt=e=>{const t=lKe(e);return Qe(t)},cKe=(e,t,r)=>Ie({url:`/v1/org/${e}/warehouses`,method:"GET",signal:r},t),uKe=e=>[`/v1/org/${e}
427/warehouses`],dKe=(e,t)=>{const{query:r,request:n}=t??{};return{queryKey:(r==null?void 0:r.queryKey)??uKe(e),queryFn:({signal:o})=>cKe(e,n,o),enabled:!!e,retry:!1,...r}},boe=(e,t)=>{const r=dKe(e,t),n=zt(r);return n.queryKey=r.queryKey,n},fKe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/warehouse-receiving-orders`,method:"GET",params:t,signal:n},r),hKe=(e,t)=>[`/v1/org/${e}/warehouse-receiving-orders`,...t?[t]:[]],pKe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??hKe(e,t),queryFn:({signal:s})=>fKe(e,t,i,s),enabled:!!e,retry:!1,...n}},ZEt=(e,t,r)=>{const n=pKe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},mKe=(e,t,r)=>{const n=vc(t);return Ie({url:`/v1/org/${e}/warehouse-receiving-orders`,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:n},r)},gKe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return mKe(a,o,r)},...t}},YEt=e=>{const t=gKe();return Qe(t)},vKe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/warehouse-receiving-orders/${t}`,method:"GET",signal:n},r),yKe=(e,t)=>[`/v1/org/${e}/warehouse-receiving-orders/${t}`],bKe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??yKe(e,t),queryFn:({signal:s})=>vKe(e,t,i,s),enabled:!!(e&&t),retry:!1,...n}},SKe=(e,t,r)=>{const n=bKe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},wKe=(e,t,r,n)=>{const i=vc(r);return Ie({url:`/v1/org/${e}/warehouse-receiving-orders/${t}/update`,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:i},n)},xKe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,warehouseReceivingOrderId:o,data:s}=i??{};return wKe(a,o,s,r)},...t}},CKe=e=>{const t=xKe();return Qe(t)},EKe=(e,t,r)=>Ie({url:`/v1/org/${e}/warehouse-receiving-orders/${t}/request-cancel`,method:"POST"},r),kKe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,warehouseReceivingOrderId:o}=i??{};return EKe(a,o,r)},...t}},$Et=e=>{const t=kKe();return Qe(t)},TKe=(e,t,r)=>{const n=vc(t);return Ie({url:`/v1/org/${e}/warehouse-receiving-orders/import`,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:n},r)},_Ke=e=>{const{mutation:t,request:r}=e??{};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return TKe(a,o,r)},...t}},PKe=e=>{const t=_Ke(e);return Qe(t)},AKe=(e,t,r,n)=>Ie({url:`/v1/org/${e}/inventory-item-received-entries`,method:"GET",params:t,signal:n},r),OKe=(e,t)=>[`/v1/org/${e}/inventory-item-received-entries`,...t?[t]:[]],IKe=(e,t,r)=>{const{query:n,request:i}=r??{};return{queryKey:(n==null?void 0:n.queryKey)??OKe(e,t),queryFn:({signal:s})=>AKe(e,t,i,s),enabled:!!e,retry:!1,...n}},g8=(e,t,r)=>{const n=IKe(e,t,r),i=zt(n);return i.queryKey=n.queryKey,i},RKe=(e,t,r)=>{const n=vc(t);return Ie({url:`/v1/org/${e}/kyc-profiles`,method:"POST",headers:{"Content-Type":"multipart/form-data"},data:n},r)},FKe=e=>{const{mutation:t,request:r}={};return{mutationFn:i=>{const{orgId:a,data:o}=i??{};return RKe(a,o,r)},...t}},DKe=e=>{const t=FKe();return Qe(t)},NKe=e=>Am(".Polaris-ProgressBar__Indicator{--pc-progress-bar-indicator:",e.primaryColor,";}a{color:",e.secondaryColor,";}",""),Soe=k.createContext({isShipmentTrackingPage:!1,isTrackingPageCustomizable:!1,shipment:void 0,isLoading:!1,shouldShowCustomOrgLogo:!1,shouldShowCustomOrgName:!1,shouldShowCustomOrgContactInfo:!1,shouldSetCustomBrandingColors:!1,shouldSetDefaultLocale:!1,shouldSetFavicon:!1});function MKe(e){e.i18n.changeLanguage(e.locale)}function LKe(e){const t=document.getElementById("favicon");t&&(e.faviconUrl?t.href=e.faviconUrl:t.href="/dummy.png")}const BKe=({children:e})=>{var l,c;const{i18n:t}=jt(),r=ua(),{ssidOrTrackingNumber:n}=v6(),i=!!Gs(Re.shipmentTracking(),r.pathname),{data:a,isLoading:o}=_We(n??"",{query:{enabled:!!n&&i}}),s=k.useMemo(()=>{const u=!!(a!=null&&a.isTrackingPageCustomizable);return{isShipmentTrackingPage:i,isTrackingPageCustomizable:u,isLoading:o,shipment:a,shouldShowCustomOrgLogo:!!(i&&(a!=null&&a.isTrackingPageCustomizable)&&(a!=null&&a.brandingConfig.logoUrl||a.brandingConfig.orgName)),shouldShowCustomOrgName:!!(i&&(a!=null&&a.isTrackingPageCustomizable)&&!(a!=null&&a.brandingConfig.logoUrl)&&(a!=null&&a.brandingConfig.orgName)),shouldShowCustomOrgContactInfo:!!(i&&(a!=null&&a.isTrackingPageCustomizable)&&(a!=null&&a.trackingPageConfig.phoneCountryCode&&(a!=null&&a.trackingPageConfig.phone)||a!=null&&a.trackingPageConfig.email||a!=null&&a.trackingPageConfig.contactPageUrl)),shouldSetCustomBrandingColors:!!(i&&(a!=null&&a.isTrackingPageCustomizable)&&(a!=null&&a.brandingConfig.primaryColor||a!=null&&a.brandingConfig.secondaryColor)),shouldSetDefaultLocale:!!(!o&&i&&u&&a),shouldSetFavicon:!!(!o&&i&&u&&(a!=null&&a.trackingPageConfig.faviconUrl))}},[o,i,a]);return k.useEffect(()=>{s.shipment&&(s.shouldSetDefaultLocale&&MKe({i18n:t,locale:s.shipment.trackingPageConfig.locale}),s.shouldSetFavicon&&LKe({faviconUrl:s.shipment.trackingPageConfig.faviconUrl}))},[t,s.shipment,s.shouldSetDefaultLocale,s.shouldSetFavicon]),Te(Soe.Provider,{value:s,children:[s.shouldSetCustomBrandingColors&&E(f5,{styles:NKe({primaryColor:(l=s.shipment)==null?void 0:l.brandingConfig.primaryColor,secondaryColor:(c=s.shipment)==null?void 0:c.brandingConfig.secondaryColor})}),e]})},woe=()=>k.useContext(Soe);
427class m0 extends Error{}class UKe extends m0{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class zKe extends m0{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class HKe extends m0{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class J1 extends m0{}class xoe extends m0{constructor(t){super(`Invalid unit ${t}`)}}class Ul extends m0{}class Nf extends m0{constructor(){super("Zone is an abstract class")}}const kt="numeric",ru="short",il="long",IT={year:kt,month:kt,day:kt},Coe={year:kt,month:ru,day:kt},qKe={year:kt,month:ru,day:kt,weekday:ru},Eoe={year:kt,month:il,day:kt},koe={year:kt,month:il,day:kt,weekday:il},Toe={hour:kt,minute:kt},_oe={hour:kt,minute:kt,second:kt},Poe={hour:kt,minute:kt,second:kt,timeZoneName:ru},Aoe={hour:kt,minute:kt,second:kt,timeZoneName:il},Ooe={hour:kt,minute:kt,hourCycle:"h23"},Ioe={hour:kt,minute:kt,second:kt,hourCycle:"h23"},Roe={hour:kt,minute:kt,second:kt,hourCycle:"h23",timeZoneName:ru},Foe={hour:kt,minute:kt,second:kt,hourCycle:"h23",timeZoneName:il},Doe={year:kt,month:kt,day:kt,hour:kt,minute:kt},Noe={year:kt,month:kt,day:kt,hour:kt,minute:kt,second:kt},Moe={year:kt,month:ru,day:kt,hour:kt,minute:kt},Loe={year:kt,month:ru,day:kt,hour:kt,minute:kt,second:kt},WKe={year:kt,month:ru,day:kt,weekday:ru,hour:kt,minute:kt},Boe={year:kt,month:il,day:kt,hour:kt,minute:kt,timeZoneName:ru},Uoe={year:kt,month:il,day:kt,hour:kt,minute:kt,second:kt,timeZoneName:ru},zoe={year:kt,month:il,day:kt,weekday:il,hour:kt,minute:kt,timeZoneName:il},Hoe={year:kt,month:il,day:kt,weekday:il,hour:kt,minute:kt,second:kt,timeZoneName:il};class zx{get type(){throw new Nf}get name(){throw new Nf}get ianaName(){return this.name}get isUniversal(){throw new Nf}offsetName(t,r){throw new Nf}formatOffset(t,r){throw new Nf}offset(t){throw new Nf}equals(t){throw new Nf}get isValid(){throw new Nf}}let v3=null;class fA extends zx{static get instance(){return v3===null&&(v3=new fA),v3}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:r,locale:n}){return Woe(t,r,n)}formatOffset(t,r){return Ub(this.offset(t),r)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let $E={};function VKe(e){return $E[e]||($E[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$E[e]}const jKe={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function GKe(e,t){const r=e.format(t).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,i,a,o,s,l,c,u]=n;return[o,i,a,s,l,c,u]}function KKe(e,t){const r=e.formatToParts(t),n=[];for(let i=0;i<r.length;i++){const{type:a,value:o}=r[i],s=jKe[a];a==="era"?n[s]=o:$r(s)||(n[s]=parseInt(o,10))}return n}let kC={};class hf extends zx{static create(t){return kC[t]||(kC[t]=new hf(t)),kC[t]}static resetCache(){kC={},$E={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=hf.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:r,locale:n}){return Woe(t,r,n,this.name)}formatOffset(t,r){return Ub(this.offset(t),r)}offset(t){const r=new Date(t);if(isNaN(r))return NaN;const n=VKe(this.name);let[i,a,o,s,l,c,u]=n.formatToParts?KKe(n,r):GKe(n,r);s==="BC"&&(i=-Math.abs(i)+1);const f=b8({year:i,month:a,day:o,hour:l===24?0:l,minute:c,second:u,millisecond:0});let h=+r;const p=h%1e3;return h-=p>=0?p:1e3+p,(f-h)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let Kq={};function ZKe(e,t={}){const r=JSON.stringify([e,t]);let n=Kq[r];return n||(n=new Intl.ListFormat(e,t),Kq[r]=n),n}let eD={};function tD(e,t={}){const r=JSON.stringify([e,t]);let n=eD[r];return n||(n=new Intl.DateTimeFormat(e,t),eD[r]=n),n}let rD={};function YKe(e,t={}){const r=JSON.stringify([e,t]);let n=rD[r];return n||(n=new Intl.NumberFormat(e,t),rD[r]=n),n}let nD={};function $Ke(e,t={}){const{base:r,...n}=t,i=JSON.stringify([e,n]);let a=nD[i];return a||(a=new Intl.RelativeTimeFormat(e,t),nD[i]=a),a}let eb=null;function XKe(){return eb||(eb=new Intl.DateTimeFormat().resolvedOptions().locale,eb)}function QKe(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const r=e.indexOf("-u-");if(r===-1)return[e];{let n,i;try{n=tD(e).resolvedOptions(),i=e}catch{const l=e.substring(0,r);
427n=tD(l).resolvedOptions(),i=l}const{numberingSystem:a,calendar:o}=n;return[i,a,o]}}function JKe(e,t,r){return(r||t)&&(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`)),e}function eZe(e){const t=[];for(let r=1;r<=12;r++){const n=Zt.utc(2016,r,1);t.push(e(n))}return t}function tZe(e){const t=[];for(let r=1;r<=7;r++){const n=Zt.utc(2016,11,13+r);t.push(e(n))}return t}function TC(e,t,r,n,i){const a=e.listingMode(r);return a==="error"?null:a==="en"?n(t):i(t)}function rZe(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class nZe{constructor(t,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:i,floor:a,...o}=n;if(!r||Object.keys(o).length>0){const s={useGrouping:!1,...n};n.padTo>0&&(s.minimumIntegerDigits=n.padTo),this.inf=YKe(t,s)}}format(t){if(this.inf){const r=this.floor?Math.floor(t):t;return this.inf.format(r)}else{const r=this.floor?Math.floor(t):y8(t,3);return zi(r,this.padTo)}}}class iZe{constructor(t,r,n){this.opts=n;let i;if(t.zone.isUniversal){const o=-1*(t.offset/60),s=o>=0?`Etc/GMT+${o}`:`Etc/GMT${o}`;t.offset!==0&&hf.create(s).valid?(i=s,this.dt=t):(i="UTC",n.timeZoneName?this.dt=t:this.dt=t.offset===0?t:Zt.fromMillis(t.ts+t.offset*60*1e3))}else t.zone.type==="system"?this.dt=t:(this.dt=t,i=t.zone.name);const a={...this.opts};a.timeZone=a.timeZone||i,this.dtf=tD(r,a)}format(){return this.dtf.format(this.dt.toJSDate())}formatToParts(){return this.dtf.formatToParts(this.dt.toJSDate())}resolvedOptions(){return this.dtf.resolvedOptions()}}class aZe{constructor(t,r,n){this.opts={style:"long",...n},!r&&qoe()&&(this.rtf=$Ke(t,n))}format(t,r){return this.rtf?this.rtf.format(t,r):xZe(r,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,r){return this.rtf?this.rtf.formatToParts(t,r):[]}}class Gn{static fromOpts(t){return Gn.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,r,n,i=!1){const a=t||Ui.defaultLocale,o=a||(i?"en-US":XKe()),s=r||Ui.defaultNumberingSystem,l=n||Ui.defaultOutputCalendar;return new Gn(o,s,l,a)}static resetCache(){eb=null,eD={},rD={},nD={}}static fromObject({locale:t,numberingSystem:r,outputCalendar:n}={}){return Gn.create(t,r,n)}constructor(t,r,n,i){const[a,o,s]=QKe(t);this.locale=a,this.numberingSystem=r||o||null,this.outputCalendar=n||s||null,this.intl=JKe(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=rZe(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&r?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:Gn.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,r=!1,n=!0){return TC(this,t,n,Goe,()=>{const i=r?{month:t,day:"numeric"}:{month:t},a=r?"format":"standalone";return this.monthsCache[a][t]||(this.monthsCache[a][t]=eZe(o=>this.extract(o,i,"month"))),this.monthsCache[a][t]})}weekdays(t,r=!1,n=!0){return TC(this,t,n,Yoe,()=>{const i=r?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},a=r?"format":"standalone";return this.weekdaysCache[a][t]||(this.weekdaysCache[a][t]=tZe(o=>this.extract(o,i,"weekday"))),this.weekdaysCache[a][t]})}meridiems(t=!0){return TC(this,void 0,t,()=>$oe,()=>{if(!this.meridiemCache){const r={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Zt.utc(2016,11,13,9),Zt.utc(2016,11,13,19)].map(n=>this.extract(n,r,"dayperiod"))}return this.meridiemCache})}eras(t,r=!0){return TC(this,t,r,Xoe,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[Zt.utc(-40,1,1),Zt.utc(2017,1,1)].map(i=>this.extract(i,n,"era"))),this.eraCache[t]}
vendor: 7,762 bytes, line 427
427)}extract(t,r,n){const i=this.dtFormatter(t,r),a=i.formatToParts(),o=a.find(s=>s.type.toLowerCase()===n);return o?o.value:null}numberFormatter(t={}){return new nZe(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,r={}){return new iZe(t,this.intl,r)}relFormatter(t={}){return new aZe(this.intl,this.isEnglish(),t)}listFormatter(t={}){return ZKe(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let y3=null;class Uo extends zx{static get utcInstance(){return y3===null&&(y3=new Uo(0)),y3}static instance(t){return t===0?Uo.utcInstance:new Uo(t)}static parseSpecifier(t){if(t){const r=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new Uo(pA(r[1],r[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Ub(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Ub(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,r){return Ub(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class oZe extends zx{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function uh(e,t){if($r(e)||e===null)return t;if(e instanceof zx)return e;if(sZe(e)){const r=e.toLowerCase();return r==="default"?t:r==="local"||r==="system"?fA.instance:r==="utc"||r==="gmt"?Uo.utcInstance:Uo.parseSpecifier(r)||hf.create(e)}else return gm(e)?Uo.instance(e):typeof e=="object"&&e.offset&&typeof e.offset=="number"?e:new oZe(e)}let Zq=()=>Date.now(),Yq="system",$q=null,Xq=null,Qq=null,Jq=60,eW,Ui=class{static get now(){return Zq}static set now(t){Zq=t}static set defaultZone(t){Yq=t}static get defaultZone(){return uh(Yq,fA.instance)}static get defaultLocale(){return $q}static set defaultLocale(t){$q=t}static get defaultNumberingSystem(){return Xq}static set defaultNumberingSystem(t){Xq=t}static get defaultOutputCalendar(){return Qq}static set defaultOutputCalendar(t){Qq=t}static get twoDigitCutoffYear(){return Jq}static set twoDigitCutoffYear(t){Jq=t%100}static get throwOnInvalid(){return eW}static set throwOnInvalid(t){eW=t}static resetCaches(){Gn.resetCache(),hf.resetCache()}};function $r(e){return typeof e>"u"}function gm(e){return typeof e=="number"}function hA(e){return typeof e=="number"&&e%1===0}function sZe(e){return typeof e=="string"}function lZe(e){return Object.prototype.toString.call(e)==="[object Date]"}function qoe(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function cZe(e){return Array.isArray(e)?e:[e]}function tW(e,t,r){if(e.length!==0)return e.reduce((n,i)=>{const a=[t(i),i];return n&&r(n[0],a[0])===n[0]?n:a},null)[1]}function uZe(e,t){return t.reduce((r,n)=>(r[n]=e[n],r),{})}function Gv(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Vd(e,t,r){return hA(e)&&e>=t&&e<=r}function dZe(e,t){return e-t*Math.floor(e/t)}function zi(e,t=2){const r=e<0;let n;return r?n="-"+(""+-e).padStart(t,"0"):n=(""+e).padStart(t,"0"),n}function nh(e){if(!($r(e)||e===null||e===""))return parseInt(e,10)}function Pp(e){if(!($r(e)||e===null||e===""))return parseFloat(e)}function v8(e){if(!($r(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function y8(e,t,r=!1){const n=10**t;return(r?Math.trunc:Math.round)(e*n)/n}function Hx(e){return e%4===0&&(e%100!==0||e%400===0)}function Bb(e){return Hx(e)?366:365}function RT(e,t){const r=dZe(t-1,12)+1,n=e+(t-r)/12;return r===2?Hx(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function b8(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(t.getUTCFullYear()-1900)),+t}function FT(e){const t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,r=e-1,n=(r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400))%7;return t===4||n===3?53:52}function iD(e){return e>99?e:e>Ui.twoDigitCutoffYear?1900+e:2e3+e}function Woe(e,t,r,n=null){const i=new Date(e),a={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(a.timeZone=n);const o={timeZoneName:t,...a},s=new Intl.DateTimeFormat(r,o).formatToParts(i).find(l=>l.type.toLowerCase()==="timezonename");return s?s.value:null}function pA(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);const n=parseInt(t,10)||0,i=r<0||Object.is(r,-0)?-n:n;return r*60+i}function Voe(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new Ul(`Invalid unit value ${e}`);return t}function DT(e,t){const r={};for(const n in e)if(Gv(e,n)){const i=e[n];if(i==null)continue;r[t(n)]=Voe(i)}return r}function Ub(e,t){const r=Math.trunc(Math.abs(e/60)),n=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return`${i}${zi(r,2)}:${zi(n,2)}`;case"narrow":return`${i}${r}${n>0?`:${n}`:""}`;case"techie":return`${i}${zi(r,2)}${zi(n,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function mA(e){return uZe(e,["hour","minute","second","millisecond"])}const fZe=["January","February","March","April","May","June","July","August","September","October","November","December"],joe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],hZe=["J","F","M","A","M","J","J","A","S","O","N","D"];function Goe(e){switch(e){case"narrow":return[...hZe];case"short":return[...joe];case"long":return[...fZe];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const Koe=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Zoe=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],pZe=["M","T","W","T","F","S","S"];function Yoe(e){switch(e){case"narrow":return[...pZe];case"short":return[...Zoe];case"long":return[...Koe];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const $oe=["AM","PM"],mZe=["Before Christ","Anno Domini"],gZe=["BC","AD"],vZe=["B","A"];function Xoe(e){switch(e){case"narrow":return[...vZe];case"short":return[...gZe];case"long":return[...mZe];default:return null}}function yZe(e){return $oe[e.hour<12?0:1]}function bZe(e,t){return Yoe(t)[e.weekday-1]}function SZe(e,t){return Goe(t)[e.month-1]}function wZe(e,t){return Xoe(t)[e.year<0?0:1]}function xZe(e,t,r="always",n=!1){const i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},a=["hours","minutes","seconds"].indexOf(e)===-1;if(r==="auto"&&a){const d=e==="days";switch(t){case 1:return d?"tomorrow":`next ${i[e][0]}`;case-1:return d?"yesterday":`last ${i[e][0]}`;case 0:return d?"today":`this ${i[e][0]}`}}const o=Object.is(t,-0)||t<0,s=Math.abs(t),l=s===1,c=i[e],u=n?l?c[1]:c[2]||c[1]:l?i[e][0]:e;return o?`${s} ${u} ago`:`in ${s} ${u}`}function rW(e,t){let r="";for(const n of e)n.literal?r+=n.val:r+=t(n.val);return r}const CZe={D:IT,DD:Coe,DDD:Eoe,DDDD:koe,t:Toe,tt:_oe,ttt:Poe,tttt:Aoe,T:Ooe,TT:Ioe,TTT:Roe,TTTT:Foe,f:Doe,ff:Moe,fff:Boe,ffff:zoe,F:Noe,FF:Loe,FFF:Uoe,FFFF:Hoe};class uo{static create(t,r={}){return new uo(t,r)}static parseFormat(t){let r=null,n="",i=!1;const a=[];for(let o=0;o<t.length;o++){const s=t.charAt(o);s==="'"?(n.length>0&&a.push({literal:i,val:n}
427),r=null,n="",i=!i):i||s===r?n+=s:(n.length>0&&a.push({literal:!1,val:n}),n=s,r=s)}return n.length>0&&a.push({literal:i,val:n}),a}static macroTokenToFormatOpts(t){return CZe[t]}constructor(t,r){this.opts=r,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...r}).format()}formatDateTime(t,r={}){return this.loc.dtFormatter(t,{...this.opts,...r}).format()}formatDateTimeParts(t,r={}){return this.loc.dtFormatter(t,{...this.opts,...r}).formatToParts()}formatInterval(t,r={}){return this.loc.dtFormatter(t.start,{...this.opts,...r}).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,r={}){return this.loc.dtFormatter(t,{...this.opts,...r}).resolvedOptions()}num(t,r=0){if(this.opts.forceSimple)return zi(t,r);const n={...this.opts};return r>0&&(n.padTo=r),this.loc.numberFormatter(n).format(t)}formatDateTimeFromString(t,r){const n=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",a=(h,p)=>this.loc.extract(t,h,p),o=h=>t.isOffsetFixed&&t.offset===0&&h.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,h.format):"",s=()=>n?yZe(t):a({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(h,p)=>n?SZe(t,h):a(p?{month:h}:{month:h,day:"numeric"},"month"),c=(h,p)=>n?bZe(t,h):a(p?{weekday:h}:{weekday:h,month:"long",day:"numeric"},"weekday"),u=h=>{const p=uo.macroTokenToFormatOpts(h);return p?this.formatWithSystemDefault(t,p):h},d=h=>n?wZe(t,h):a({era:h},"era"),f=h=>{switch(h){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return o({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return o({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return o({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return s();case"d":return i?a({day:"numeric"},"day"):this.num(t.day);case"dd":return i?a({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return i?a({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return i?a({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return i?a({month:"numeric"},"month"):this.num(t.month);case"MM":return i?a({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return i?a({year:"numeric"},"year"):this.num(t.year);case"yy":return i?a({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return i?a({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return i?a({year:"numeric"},"year"):this.num(t.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(h)}};return rW(uo.parseFormat(r),f)}formatDurationFromString(t,r){const n=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},i=l=>c=>{const u=n(c);return u?this.num(l.get(u),c.length):c},a=uo.parseFormat(r),o=a.reduce((l,{literal:c,val:u})=>c?l:l.concat(u),[]),s=t.shiftTo(...o.map(n).filter(l=>l));return rW(a,i(s))}}class Hc{constructor(t,r){this.reason=t,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Qoe=/[A-Za-z_+-]{1,256}
vendor: 27,533 bytes, line 427
427(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ky(...e){const t=e.reduce((r,n)=>r+n.source,"");return RegExp(`^${t}$`)}function Ty(...e){return t=>e.reduce(([r,n,i],a)=>{const[o,s,l]=a(t,i);return[{...r,...o},s||n,l]},[{},null,1]).slice(0,2)}function _y(e,...t){if(e==null)return[null,null];for(const[r,n]of t){const i=r.exec(e);if(i)return n(i)}return[null,null]}function Joe(...e){return(t,r)=>{const n={};let i;for(i=0;i<e.length;i++)n[e[i]]=nh(t[r+i]);return[n,null,r+i]}}const ese=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,EZe=`(?:${ese.source}?(?:\\[(${Qoe.source})\\])?)?`,S8=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,tse=RegExp(`${S8.source}${EZe}`),w8=RegExp(`(?:T${tse.source})?`),kZe=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,TZe=/(\d{4})-?W(\d\d)(?:-?(\d))?/,_Ze=/(\d{4})-?(\d{3})/,PZe=Joe("weekYear","weekNumber","weekDay"),AZe=Joe("year","ordinal"),OZe=/(\d{4})-(\d\d)-(\d\d)/,rse=RegExp(`${S8.source} ?(?:${ese.source}|(${Qoe.source}))?`),IZe=RegExp(`(?: ${rse.source})?`);function iv(e,t,r){const n=e[t];return $r(n)?r:nh(n)}function RZe(e,t){return[{year:iv(e,t),month:iv(e,t+1,1),day:iv(e,t+2,1)},null,t+3]}function Py(e,t){return[{hours:iv(e,t,0),minutes:iv(e,t+1,0),seconds:iv(e,t+2,0),milliseconds:v8(e[t+3])},null,t+4]}function qx(e,t){const r=!e[t]&&!e[t+1],n=pA(e[t+1],e[t+2]),i=r?null:Uo.instance(n);return[{},i,t+3]}function Wx(e,t){const r=e[t]?hf.create(e[t]):null;return[{},r,t+1]}const FZe=RegExp(`^T?${S8.source}$`),DZe=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function NZe(e){const[t,r,n,i,a,o,s,l,c]=e,u=t[0]==="-",d=l&&l[0]==="-",f=(h,p=!1)=>h!==void 0&&(p||h&&u)?-h:h;return[{years:f(Pp(r)),months:f(Pp(n)),weeks:f(Pp(i)),days:f(Pp(a)),hours:f(Pp(o)),minutes:f(Pp(s)),seconds:f(Pp(l),l==="-0"),milliseconds:f(v8(c),d)}]}const MZe={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function x8(e,t,r,n,i,a,o){const s={year:t.length===2?iD(nh(t)):nh(t),month:joe.indexOf(r)+1,day:nh(n),hour:nh(i),minute:nh(a)};return o&&(s.second=nh(o)),e&&(s.weekday=e.length>3?Koe.indexOf(e)+1:Zoe.indexOf(e)+1),s}const LZe=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function BZe(e){const[,t,r,n,i,a,o,s,l,c,u,d]=e,f=x8(t,i,n,r,a,o,s);let h;return l?h=MZe[l]:c?h=0:h=pA(u,d),[f,new Uo(h)]}function UZe(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const zZe=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,HZe=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,qZe=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function nW(e){const[,t,r,n,i,a,o,s]=e;return[x8(t,i,n,r,a,o,s),Uo.utcInstance]}function WZe(e){const[,t,r,n,i,a,o,s]=e;return[x8(t,s,r,n,i,a,o),Uo.utcInstance]}const VZe=ky(kZe,w8),jZe=ky(TZe,w8),GZe=ky(_Ze,w8),KZe=ky(tse),nse=Ty(RZe,Py,qx,Wx),ZZe=Ty(PZe,Py,qx,Wx),YZe=Ty(AZe,Py,qx,Wx),$Ze=Ty(Py,qx,Wx);function XZe(e){return _y(e,[VZe,nse],[jZe,ZZe],[GZe,YZe],[KZe,$Ze])}function QZe(e){return _y(UZe(e),[LZe,BZe])}function JZe(e){return _y(e,[zZe,nW],[HZe,nW],[qZe,WZe])}function eYe(e){return _y(e,[DZe,NZe])}const tYe=Ty(Py);function rYe(e){return _y(e,[FZe,tYe])}const nYe=ky(OZe,IZe),iYe=ky(rse),aYe=Ty(Py,qx,Wx);function oYe(e){return _y(e,[nYe,nse],[iYe,aYe])}const sYe="Invalid Duration",ise={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},lYe={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...ise},Cl=146097/400,W0=146097/4800,cYe={years:{quarters:4,months:12,weeks:Cl/7,days:Cl,hours:Cl*24,minutes:Cl*24*60,seconds:Cl*24*60*60,milliseconds:Cl*24*60*60*1e3},quarters:{months:3,weeks:Cl/28,days:Cl/4,hours:Cl*24/4,minutes:Cl*24*60/4,seconds:Cl*24*60*60/4,milliseconds:Cl*24*60*60*1e3/4},months:{weeks:W0/7,days:W0,hours:W0*24,minutes:W0*24*60,seconds:W0*24*60*60,milliseconds:W0*24*60*60*1e3},...ise},Up=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],uYe=Up.slice(0).reverse();function Mf(e,t,r=!1){const n={values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Jr(n)}function dYe(e){return e<0?Math.floor(e):Math.ceil(e)}function ase(e,t,r,n,i){const a=e[i][r],o=t[r]/a,s=Math.sign(o)===Math.sign(n[i]),l=!s&&n[i]!==0&&Math.abs(o)<=1?dYe(o):Math.trunc(o);n[i]+=l,t[r]-=l*a}function fYe(e,t){uYe.reduce((r,n)=>$r(t[n])?r:(r&&ase(e,t,r,t,n),n),null)}function hYe(e){const t={};for(const[r,n]of Object.entries(e))n!==0&&(t[r]=n);return t}class Jr{constructor(t){const r=t.conversionAccuracy==="longterm"||!1;let n=r?cYe:lYe;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||Gn.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,r){return Jr.fromObject({milliseconds:t},r)}static fromObject(t,r={}){if(t==null||typeof t!="object")throw new Ul(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new Jr({values:DT(t,Jr.normalizeUnit),loc:Gn.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(t){if(gm(t))return Jr.fromMillis(t);if(Jr.isDuration(t))return t;if(typeof t=="object")return Jr.fromObject(t);throw new Ul(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,r){const[n]=eYe(t);return n?Jr.fromObject(n,r):Jr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,r){const[n]=rYe(t);return n?Jr.fromObject(n,r):Jr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,r=null){if(!t)throw new Ul("need to specify a reason the Duration is invalid");const n=t instanceof Hc?t:new Hc(t,r);if(Ui.throwOnInvalid)throw new HKe(n);return new Jr({invalid:n})}static normalizeUnit(t){const r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!r)throw new xoe(t);return r}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,r={}){const n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?uo.create(this.loc,n).formatDurationFromString(this,t):sYe}toHuman(t={}){const r=Up.map(n=>{const i=this.values[n];return $r(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:n.slice(0,-1)}).format(i)}).filter(n=>n);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=y8(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const r=this.toMillis();if(r<0||r>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t};const n=this.shiftTo("hours","minutes","seconds","milliseconds");let i=t.format==="basic"?"hhmm":"hh:mm";(!t.suppressSeconds||n.seconds!==0||n.milliseconds!==0)&&(i+=t.format==="basic"?"ss":":ss",(!t.suppressMilliseconds||n.milliseconds!==0)&&(i+=".SSS"));let a=n.toFormat(i);return t.includePrefix&&(a="T"+a),a}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const r=Jr.fromDurationLike(t),n={};for(const i of Up)(Gv(r.values,i)||Gv(this.values,i))&&(n[i]=r.get(i)+this.get(i));return Mf(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const r=Jr.fromDurationLike(t);return this.plus(r.negate())}mapUnits(t){if(!this.isValid)return this;const r={};for(const n of Object.keys(this.values))r[n]=Voe(t(this.values[n],n));return Mf(this,{values:r},!0)}get(t){return this[Jr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const r={...this.values,...DT(t,Jr.normalizeUnit)};return Mf(this,{values:r})}reconfigure({locale:t,numberingSystem:r,conversionAccuracy:n,matrix:i}={}){const o={loc:this.loc.clone({locale:t,numberingSystem:r}),matrix:i,conversionAccuracy:n};return Mf(this,o)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return fYe(this.matrix,t),Mf(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=hYe(this.normalize().shiftToAll().toObject());return Mf(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(o=>Jr.normalizeUnit(o));const r={},n={},i=this.toObject();let a;for(const o of Up)if(t.indexOf(o)>=0){a=o;let s=0;for(const c in n)s+=this.matrix[c][o]*n[c],n[c]=0;gm(i[o])&&(s+=i[o]);const l=Math.trunc(s);r[o]=l,n[o]=(s*1e3-l*1e3)/1e3;for(const c in i)Up.indexOf(c)>Up.indexOf(o)&&ase(this.matrix,i,c,r,o)}else gm(i[o])&&(n[o]=i[o]);for(const o in n)n[o]!==0&&(r[a]+=o===a?n[o]:n[o]/this.matrix[a][o]);return Mf(this,{values:r},!0).normalize()}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const r of Object.keys(this.values))t[r]=this.values[r]===0?0:-this.values[r];return Mf(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function r(n,i){return n===void 0||n===0?i===void 0||i===0:n===i}for(const n of Up)if(!r(this.values[n],t.values[n]))return!1;return!0}}const V0="Invalid Interval";function pYe(e,t){return!e||!e.isValid?gi.invalid("missing or invalid start"):!t||!t.isValid?gi.invalid("missing or invalid end"):t<e?gi.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class gi{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,r=null){if(!t)throw new Ul("need to specify a reason the Interval is invalid");const n=t instanceof Hc?t:new Hc(t,r);if(Ui.throwOnInvalid)throw new zKe(n);return new gi({invalid:n})}static fromDateTimes(t,r){const n=T1(t),i=T1(r),a=pYe(n,i);return a??new gi({start:n,end:i})}static after(t,r){const n=Jr.fromDurationLike(r),i=T1(t);return gi.fromDateTimes(i,i.plus(n))}static before(t,r){const n=Jr.fromDurationLike(r),i=T1(t);return gi.fromDateTimes(i.minus(n),i)}static fromISO(t,r){const[n,i]=(t||"").split("/",2);if(n&&i){let a,o;try{a=Zt.fromISO(n,r),o=a.isValid}catch{o=!1}let s,l;try{s=Zt.fromISO(i,r),l=s.isValid}catch{l=!1}if(o&&l)return gi.fromDateTimes(a,s);if(o){const c=Jr.fromISO(i,r);if(c.isValid)return gi.after(a,c)}else if(l){const c=Jr.fromISO(n,r);if(c.isValid)return gi.before(s,c)}}return gi.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds"){if(!this.isValid)return NaN;const r=this.start.startOf(t),n=this.end.startOf(t);return Math.floor(n.diff(r,t).get(t))+1}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:r}={}){return this.isValid?gi.fromDateTimes(t||this.s,r||this.e):this}splitAt(...t){if(!this.isValid)return[];const r=t.map(T1).filter(o=>this.contains(o)).sort(),n=[];let{s:i}=this,a=0;for(;i<this.e;){const o=r[a]||this.e,s=+o>+this.e?this.e:o;n.push(gi.fromDateTimes(i,s)),i=s,a+=1}return n}splitBy(t){const r=Jr.fromDurationLike(t);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,i=1,a;const o=[];for(;n<this.e;){const s=this.start.plus(r.mapUnits(l=>l*i));a=+s>+this.e?this.e:s,o.push(gi.fromDateTimes(n,a)),n=a,i+=1}return o}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const r=this.s>t.s?this.s:t.s,n=this.e<t.e?this.e:t.e;return r>=n?null:gi.fromDateTimes(r,n)}union(t){if(!this.isValid)return this;const r=this.s<t.s?this.s:t.s,n=this.e>t.e?this.e:t.e;return gi.fromDateTimes(r,n)}static merge(t){const[r,n]=t.sort((i,a)=>i.s-a.s).reduce(([i,a],o)=>a?a.overlaps(o)||a.abutsStart(o)?[i,a.union(o)]:[i.concat([a]),o]:[i,o],[[],null]);return n&&r.push(n),r}static xor(t){let r=null,n=0;const i=[],a=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),o=Array.prototype.concat(...a),s=o.sort((l,c)=>l.time-c.time);for(const l of s)n+=l.type==="s"?1:-1,n===1?r=l.time:(r&&+r!=+l.time&&i.push(gi.fromDateTimes(r,l.time)),r=null);return gi.merge(i)}difference(...t){return gi.xor([this].concat(t)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:V0}toLocaleString(t=IT,r={}){return this.isValid?uo.create(this.s.loc.clone(r),t).formatInterval(this):V0}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:V0}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:V0}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:V0}toFormat(t,{separator:r=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${r}${this.e.toFormat(t)}`:V0}toDuration(t,r){return this.isValid?this.e.diff(this.s,t,r):Jr.invalid(this.invalidReason)}mapEndpoints(t){return gi.fromDateTimes(t(this.s),t(this.e))}}class _C{static hasDST(t=Ui.defaultZone){const r=Zt.now().setZone(t).set({month:12});return!t.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(t){return hf.isValidZone(t)}static normalizeZone(t){return uh(t,Ui.defaultZone)}static months(t="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:a="gregory"}={}){return(i||Gn.create(r,n,a)).months(t)}static monthsFormat(t="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:a="gregory"}={}){return(i||Gn.create(r,n,a)).months(t,!0)}static weekdays(t="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||Gn.create(r,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||Gn.create(r,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Gn.create(t).meridiems()}static eras(t="short",{locale:r=null}={}){return Gn.create(r,null,"gregory").eras(t)}static features(){return{relative:qoe()}}}function iW(e,t){const r=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(t)-r(e);return Math.floor(Jr.fromMillis(n).as("days"))}function mYe(e,t,r){const n=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{const u=iW(l,c);return(u-u%7)/7}],["days",iW]],i={},a=e;let o,s;for(const[l,c]of n)r.indexOf(l)>=0&&(o=l,i[l]=c(e,t),s=a.plus(i),s>t?(i[l]--,e=a.plus(i)):e=s);return[e,i,s,o]}function gYe(e,t,r,n){let[i,a,o,s]=mYe(e,t,r);const l=t-i,c=r.filter(d=>["hours","minutes","seconds","milliseconds"].indexOf(d)>=0);c.length===0&&(o<t&&(o=i.plus({[s]:1})),o!==i&&(a[s]=(a[s]||0)+l/(o-i)));const u=Jr.fromObject(a,n);return c.length>0?Jr.fromMillis(l,n).shiftTo(...c).plus(u):u}const C8={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},aW={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},vYe=C8.hanidec.replace(/[\[|\]]/g,"").split("");function yYe(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);if(e[r].search(C8.hanidec)!==-1)t+=vYe.indexOf(e[r]);else for(const i in aW){const[a,o]=aW[i];n>=a&&n<=o&&(t+=n-a)}}return parseInt(t,10)}else return t}function Ec({numberingSystem:e},t=""){return new RegExp(`${C8[e||"latn"]}${t}`)}const bYe="missing Intl.DateTimeFormat.formatToParts support";function fn(e,t=r=>r){return{regex:e,deser:([r])=>t(yYe(r))}}const SYe=" ",ose=`[ ${SYe}]`,sse=new RegExp(ose,"g");function wYe(e){return e.replace(/\./g,"\\.?").replace(sse,ose)}function oW(e){return e.replace(/\./g,"").replace(sse," ").toLowerCase()}function kc(e,t){return e===null?null:{regex:RegExp(e.map(wYe).join("|")),deser:([r])=>e.findIndex(n=>oW(r)===oW(n))+t}}function sW(e,t){return{regex:e,deser:([,r,n])=>pA(r,n),groups:t}}function b3(e){return{regex:e,deser:([t])=>t}}function xYe(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function CYe(e,t){const r=Ec(t),n=Ec(t,"{2}"),i=Ec(t,"{3}"),a=Ec(t,"{4}"),o=Ec(t,"{6}"),s=Ec(t,"{1,2}"),l=Ec(t,"{1,3}"),c=Ec(t,"{1,6}"),u=Ec(t,"{1,9}"),d=Ec(t,"{2,4}"),f=Ec(t,"{4,6}"),h=v=>({regex:RegExp(xYe(v.val)),deser:([m])=>m,literal:!0}),g=(v=>{if(e.literal)return h(v);switch(v.val){case"G":return kc(t.eras("short",!1),0);case"GG":return kc(t.eras("long",!1),0);case"y":return fn(c);case"yy":return fn(d,iD);case"yyyy":return fn(a);case"yyyyy":return fn(f);case"yyyyyy":return fn(o);case"M":return fn(s);case"MM":return fn(n);case"MMM":return kc(t.months("short",!0,!1),1);case"MMMM":return kc(t.months("long",!0,!1),1);case"L":return fn(s);case"LL":return fn(n);case"LLL":return kc(t.months("short",!1,!1),1);case"LLLL":return kc(t.months("long",!1,!1),1);case"d":return fn(s);case"dd":return fn(n);case"o":return fn(l);case"ooo":return fn(i);case"HH":return fn(n);case"H":return fn(s);case"hh":return fn(n);case"h":return fn(s);case"mm":return fn(n);case"m":return fn(s);case"q":return fn(s);case"qq":return fn(n);case"s":return fn(s);case"ss":return fn(n);case"S":return fn(l);case"SSS":return fn(i);case"u":return b3(u);case"uu":return b3(s);case"uuu":return fn(r);case"a":return kc(t.meridiems(),0);case"kkkk":return fn(a);case"kk":return fn(d,iD);case"W":return fn(s);case"WW":return fn(n);case"E":case"c":return fn(r);case"EEE":return kc(t.weekdays("short",!1,!1),1);case"EEEE":return kc(t.weekdays("long",!1,!1),1);case"ccc":return kc(t.weekdays("short",!0,!1),1);case"cccc":return kc(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return sW(new RegExp(`([+-]${s.source})(?::(${n.source}))?`),2);case"ZZZ":return sW(new RegExp(`([+-]${s.source})(${n.source})?`),2);case"z":return b3(/[a-z_+-/]{1,256}?/i);default:return h(v)}})(e)||{invalidReason:bYe};return g.token=e,g}const EYe={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function kYe(e,t){const{type:r,value:n}=e;if(r==="literal")return{literal:!0,val:n};const i=t[r];let a=EYe[r];if(typeof a=="object"&&(a=a[i]),a)return{literal:!1,val:a}}function TYe(e){return[`^${e.map(r=>r.regex).reduce((r,n)=>`${r}(${n.source})`,"")}$`,e]}function _Ye(e,t,r){const n=e.match(t);if(n){const i={};let a=1;for(const o in r)if(Gv(r,o)){const s=r[o],l=s.groups?s.groups+1:1;!s.literal&&s.token&&(i[s.token.val[0]]=s.deser(n.slice(a,a+l))),a+=l}return[n,i]}else return[n,{}]}function PYe(e){const t=a=>{switch(a){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let r=null,n;return $r(e.z)||(r=hf.create(e.z)),$r(e.Z)||(r||(r=new Uo(e.Z)),n=e.Z),$r(e.q)||(e.M=(e.q-1)*3+1),$r(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),$r(e.u)||(e.S=v8(e.u)),[Object.keys(e).reduce((a,o)=>{const s=t(o);return s&&(a[s]=e[o]),a},{}),r,n]}let S3=null;function AYe(){return S3||(S3=Zt.fromMillis(1555555555555)),S3}function OYe(e,t){if(e.literal)return e;const r=uo.macroTokenToFormatOpts(e.val),n=use(r,t);return n==null||n.includes(void 0)?e:n}function lse(e,t){return Array.prototype.concat(...e.map(r=>OYe(r,t)))}function cse(e,t,r){const n=lse(uo.parseFormat(r),e),i=n.map(o=>CYe(o,e)),a=i.find(o=>o.invalidReason);if(a)return{input:t,tokens:n,invalidReason:a.invalidReason};{const[o,s]=TYe(i),l=RegExp(o,"i"),[c,u]=_Ye(t,l,s),[d,f,h]=u?PYe(u):[null,null,void 0];if(Gv(u,"a")&&Gv(u,"H"))throw new J1("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:n,regex:l,rawMatches:c,matches:u,result:d,zone:f,specificOffset:h}}}function IYe(e,t,r){const{result:n,zone:i,specificOffset:a,invalidReason:o}=cse(e,t,r);return[n,i,a,o]}function use(e,t){return e?uo.create(t,e).formatDateTimeParts(AYe()).map(i=>kYe(i,e)):null}const dse=[0,31,59,90,120,151,181,212,243,273,304,334],fse=[0,31,60,91,121,152,182,213,244,274,305,335];function Gl(e,t){return new Hc("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function hse(e,t,r){const n=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const i=n.getUTCDay();return i===0?7:i}function pse(e,t,r){return r+(Hx(e)?fse:dse)[t-1]}function mse(e,t){const r=Hx(e)?fse:dse,n=r.findIndex(a=>a<t),i=t-r[n];return{month:n+1,day:i}}function aD(e){const{year:t,month:r,day:n}=e,i=pse(t,r,n),a=hse(t,r,n);let o=Math.floor((i-a+10)/7),s;return o<1?(s=t-1,o=FT(s)):o>FT(t)?(s=t+1,o=1):s=t,{weekYear:s,weekNumber:o,weekday:a,...mA(e)}}function lW(e){const{weekYear:t,weekNumber:r,weekday:n}=e,i=hse(t,1,4),a=Bb(t);let o=r*7+n-i-3,s;o<1?(s=t-1,o+=Bb(s)):o>a?(s=t+1,o-=Bb(t)):s=t;const{month:l,day:c}=mse(s,o);return{year:s,month:l,day:c,...mA(e)}}function w3(e){const{year:t,month:r,day:n}=e,i=pse(t,r,n);return{year:t,ordinal:i,...mA(e)}}function cW(e){const{year:t,ordinal:r}=e,{month:n,day:i}=mse(t,r);return{year:t,month:n,day:i,...mA(e)}}function RYe(e){const t=hA(e.weekYear),r=Vd(e.weekNumber,1,FT(e.weekYear)),n=Vd(e.weekday,1,7);return t?r?n?!1:Gl("weekday",e.weekday):Gl("week",e.week):Gl("weekYear",e.weekYear)}function FYe(e){const t=hA(e.year),r=Vd(e.ordinal,1,Bb(e.year));return t?r?!1:Gl("ordinal",e.ordinal):Gl("year",e.year)}function gse(e){const t=hA(e.year),r=Vd(e.month,1,12),n=Vd(e.day,1,RT(e.year,e.month));return t?r?n?!1:Gl("day",e.day):Gl("month",e.month):Gl("year",e.year)}function vse(e){const{hour:t,minute:r,second:n,millisecond:i}=e,a=Vd(t,0,23)||t===24&&r===0&&n===0&&i===0,o=Vd(r,0,59),s=Vd(n,0,59),l=Vd(i,0,999);return a?o?s?l?!1:Gl("millisecond",i):Gl("second",n):Gl("minute",r):Gl("hour",t)}const x3="Invalid DateTime",uW=864e13;function PC(e){return new Hc("unsupported zone",`the zone "${e.name}" is not supported`)}function C3(e){return e.weekData===null&&(e.weekData=aD(e.c)),e.weekData}function E1(e,t){const r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Zt({...r,...t,old:r})}function yse(e,t,r){let n=e-t*60*1e3;const i=r.offset(n);if(t===i)return[n,t];n-=(i-t)*60*1e3;const a=r.offset(n);return i===a?[n,i]:[e-Math.min(i,a)*60*1e3,Math.max(i,a)]}function dW(e,t){e+=t*60*1e3;const r=new Date(e);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function XE(e,t,r){return yse(b8(e),t,r)}function fW(e,t){const r=e.o,n=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,a={...e.c,year:n,month:i,day:Math.min(e.c.day,RT(n,i))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},o=Jr.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),s=b8(a);let[l,c]=yse(s,r,e.zone);return o!==0&&(l+=o,c=e.zone.offset(l)),{ts:l,o:c}}function k1(e,t,r,n,i,a){const{setZone:o,zone:s}=r;if(e&&Object.keys(e).length!==0){const l=t||s,c=Zt.fromObject(e,{...r,zone:l,specificOffset:a});return o?c:c.setZone(s)}
vendor: 3,682 bytes, line 427
427else return Zt.invalid(new Hc("unparsable",`the input "${i}" can't be parsed as ${n}`))}function AC(e,t,r=!0){return e.isValid?uo.create(Gn.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function E3(e,t){const r=e.c.year>9999||e.c.year<0;let n="";return r&&e.c.year>=0&&(n+="+"),n+=zi(e.c.year,r?6:4),t?(n+="-",n+=zi(e.c.month),n+="-",n+=zi(e.c.day)):(n+=zi(e.c.month),n+=zi(e.c.day)),n}function hW(e,t,r,n,i,a){let o=zi(e.c.hour);return t?(o+=":",o+=zi(e.c.minute),(e.c.second!==0||!r)&&(o+=":")):o+=zi(e.c.minute),(e.c.second!==0||!r)&&(o+=zi(e.c.second),(e.c.millisecond!==0||!n)&&(o+=".",o+=zi(e.c.millisecond,3))),i&&(e.isOffsetFixed&&e.offset===0&&!a?o+="Z":e.o<0?(o+="-",o+=zi(Math.trunc(-e.o/60)),o+=":",o+=zi(Math.trunc(-e.o%60))):(o+="+",o+=zi(Math.trunc(e.o/60)),o+=":",o+=zi(Math.trunc(e.o%60)))),a&&(o+="["+e.zone.ianaName+"]"),o}const bse={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},DYe={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},NYe={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Sse=["year","month","day","hour","minute","second","millisecond"],MYe=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],LYe=["year","ordinal","hour","minute","second","millisecond"];function pW(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new xoe(e);return t}function mW(e,t){const r=uh(t.zone,Ui.defaultZone),n=Gn.fromObject(t),i=Ui.now();let a,o;if($r(e.year))a=i;else{for(const c of Sse)$r(e[c])&&(e[c]=bse[c]);const s=gse(e)||vse(e);if(s)return Zt.invalid(s);const l=r.offset(i);[a,o]=XE(e,l,r)}return new Zt({ts:a,zone:r,loc:n,o})}function gW(e,t,r){const n=$r(r.round)?!0:r.round,i=(o,s)=>(o=y8(o,n||r.calendary?0:2,!0),t.loc.clone(r).relFormatter(r).format(o,s)),a=o=>r.calendary?t.hasSame(e,o)?0:t.startOf(o).diff(e.startOf(o),o).get(o):t.diff(e,o).get(o);if(r.unit)return i(a(r.unit),r.unit);for(const o of r.units){const s=a(o);if(Math.abs(s)>=1)return i(s,o)}return i(e>t?-0:0,r.units[r.units.length-1])}function vW(e){let t={},r;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],r=Array.from(e).slice(0,e.length-1)):r=Array.from(e),[t,r]}class Zt{constructor(t){const r=t.zone||Ui.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new Hc("invalid input"):null)||(r.isValid?null:PC(r));this.ts=$r(t.ts)?Ui.now():t.ts;let i=null,a=null;if(!n)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(r))[i,a]=[t.old.c,t.old.o];else{const s=r.offset(this.ts);i=dW(this.ts,s),n=Number.isNaN(i.year)?new Hc("invalid input"):null,i=n?null:i,a=n?null:s}this._zone=r,this.loc=t.loc||Gn.create(),this.invalid=n,this.weekData=null,this.c=i,this.o=a,this.isLuxonDateTime=!0}static now(){return new Zt({})}static local(){const[t,r]=vW(arguments),[n,i,a,o,s,l,c]=r;return mW({year:n,month:i,day:a,hour:o,minute:s,second:l,millisecond:c},t)}static utc(){const[t,r]=vW(arguments),[n,i,a,o,s,l,c]=r;return t.zone=Uo.utcInstance,mW({year:n,month:i,day:a,hour:o,minute:s,second:l,millisecond:c},t)}static fromJSDate(t,r={}){const n=lZe(t)?t.valueOf():NaN;if(Number.isNaN(n))return Zt.invalid("invalid input");const i=uh(r.zone,Ui.defaultZone);return i.isValid?new Zt({ts:n,zone:i,loc:Gn.fromObject(r)}):Zt.invalid(PC(i))}static fromMillis(t,r={}){if(gm(t))return t<-uW||t>
427uW?Zt.invalid("Timestamp out of range"):new Zt({ts:t,zone:uh(r.zone,Ui.defaultZone),loc:Gn.fromObject(r)});throw new Ul(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,r={}){if(gm(t))return new Zt({ts:t*1e3,zone:uh(r.zone,Ui.defaultZone),loc:Gn.fromObject(r)});throw new Ul("fromSeconds requires a numerical input")}static fromObject(t,r={}){t=t||{};const n=uh(r.zone,Ui.defaultZone);if(!n.isValid)return Zt.invalid(PC(n));const i=Ui.now(),a=$r(r.specificOffset)?n.offset(i):r.specificOffset,o=DT(t,pW),s=!$r(o.ordinal),l=!$r(o.year),c=!$r(o.month)||!$r(o.day),u=l||c,d=o.weekYear||o.weekNumber,f=Gn.fromObject(r);if((u||s)&&d)throw new J1("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&s)throw new J1("Can't mix ordinal dates with month/day");const h=d||o.weekday&&!u;let p,g,v=dW(i,a);h?(p=MYe,g=DYe,v=aD(v)):s?(p=LYe,g=NYe,v=w3(v)):(p=Sse,g=bse);let m=!1;for(const _ of p){const P=o[_];$r(P)?m?o[_]=g[_]:o[_]=v[_]:m=!0}const b=h?RYe(o):s?FYe(o):gse(o),y=b||vse(o);if(y)return Zt.invalid(y);const w=h?lW(o):s?cW(o):o,[x,C]=XE(w,a,n),T=new Zt({ts:x,zone:n,o:C,loc:f});return o.weekday&&u&&t.weekday!==T.weekday?Zt.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${T.toISO()}`):T}static fromISO(t,r={}){const[n,i]=XZe(t);return k1(n,i,r,"ISO 8601",t)}static fromRFC2822(t,r={}){const[n,i]=QZe(t);return k1(n,i,r,"RFC 2822",t)}static fromHTTP(t,r={}){const[n,i]=JZe(t);return k1(n,i,r,"HTTP",r)}static fromFormat(t,r,n={}){if($r(t)||$r(r))throw new Ul("fromFormat requires an input string and a format");const{locale:i=null,numberingSystem:a=null}=n,o=Gn.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0}),[s,l,c,u]=IYe(o,t,r);return u?Zt.invalid(u):k1(s,l,n,`format ${r}`,t,c)}static fromString(t,r,n={}){return Zt.fromFormat(t,r,n)}static fromSQL(t,r={}){const[n,i]=oYe(t);return k1(n,i,r,"SQL",t)}static invalid(t,r=null){if(!t)throw new Ul("need to specify a reason the DateTime is invalid");const n=t instanceof Hc?t:new Hc(t,r);if(Ui.throwOnInvalid)throw new UKe(n);return new Zt({invalid:n})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,r={}){const n=use(t,Gn.fromObject(r));return n?n.map(i=>i?i.val:null).join(""):null}static expandFormat(t,r={}){return lse(uo.parseFormat(t),Gn.fromObject(r)).map(i=>i.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}
vendor: 8,604 bytes, line 427
427get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?C3(this).weekYear:NaN}get weekNumber(){return this.isValid?C3(this).weekNumber:NaN}get weekday(){return this.isValid?C3(this).weekday:NaN}get ordinal(){return this.isValid?w3(this.c).ordinal:NaN}get monthShort(){return this.isValid?_C.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_C.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_C.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_C.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}get isInLeapYear(){return Hx(this.year)}get daysInMonth(){return RT(this.year,this.month)}get daysInYear(){return this.isValid?Bb(this.year):NaN}get weeksInWeekYear(){return this.isValid?FT(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:r,numberingSystem:n,calendar:i}=uo.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:i}}toUTC(t=0,r={}){return this.setZone(Uo.instance(t),r)}toLocal(){return this.setZone(Ui.defaultZone)}setZone(t,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(t=uh(t,Ui.defaultZone),t.equals(this.zone))return this;if(t.isValid){let i=this.ts;if(r||n){const a=t.offset(this.ts),o=this.toObject();[i]=XE(o,a,t)}return E1(this,{ts:i,zone:t})}else return Zt.invalid(PC(t))}reconfigure({locale:t,numberingSystem:r,outputCalendar:n}={}){const i=this.loc.clone({locale:t,numberingSystem:r,outputCalendar:n});return E1(this,{loc:i})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const r=DT(t,pW),n=!$r(r.weekYear)||!$r(r.weekNumber)||!$r(r.weekday),i=!$r(r.ordinal),a=!$r(r.year),o=!$r(r.month)||!$r(r.day),s=a||o,l=r.weekYear||r.weekNumber;if((s||i)&&l)throw new J1("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(o&&i)throw new J1("Can't mix ordinal dates with month/day");let c;n?c=lW({...aD(this.c),...r}):$r(r.ordinal)?(c={...this.toObject(),...r},$r(r.day)&&(c.day=Math.min(RT(c.year,c.month),c.day))):c=cW({...w3(this.c),...r});const[u,d]=XE(c,this.o,this.zone);return E1(this,{ts:u,o:d})}plus(t){if(!this.isValid)return this;const r=Jr.fromDurationLike(t);return E1(this,fW(this,r))}minus(t){if(!this.isValid)return this;const r=Jr.fromDurationLike(t).negate();return E1(this,fW(this,r))}startOf(t){if(!this.isValid)return this;const r={},n=Jr.normalizeUnit(t);switch(n){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(n==="weeks"&&(r.weekday=1),n==="quarters"){const i=Math.ceil(this.month/3);r.month=(i-1)*3+1}return this.set(r)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,r={}){return this.isValid?uo.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,t):x3}toLocaleString(t=IT,r={}){return this.isValid?uo.create(this.loc.clone(r),t).formatDateTime(this):x3}toLocaleParts(t={}){return this.isValid?uo.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:r=!1,suppressMilliseconds:n=!1,includeOffset:i=!0,extendedZone:a=!1}={}){if(!this.isValid)return null;const o=t==="extended";let s=E3(this,o);return s+="T",s+=hW(this,o,r,n,i,a),s}toISODate({format:t="extended"}={}){return this.isValid?E3(this,t==="extended"):null}toISOWeekDate(){return AC(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:i=!1,extendedZone:a=!1,format:o="extended"}={}){return this.isValid?(i?"T":"")+hW(this,o==="extended",r,t,n,a):null}toRFC2822(){return AC(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return AC(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?E3(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let i="HH:mm:ss.SSS";return(r||t)&&(n&&(i+=" "),r?i+="z":t&&(i+="ZZ")),AC(this,i,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():x3}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const r={...this.c};return t.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,r="milliseconds",n={}){if(!this.isValid||!t.isValid)return Jr.invalid("created by diffing an invalid DateTime");const i={locale:this.locale,numberingSystem:this.numberingSystem,...n},a=cZe(r).map(Jr.normalizeUnit),o=t.valueOf()>this.valueOf(),s=o?this:t,l=o?t:this,c=gYe(s,l,a,i);return o?c.negate():c}diffNow(t="milliseconds",r={}){return this.diff(Zt.now(),t,r)}until(t){return this.isValid?gi.fromDateTimes(this,t):this}hasSame(t,r){if(!this.isValid)return!1;const n=t.valueOf(),i=this.setZone(t.zone,{keepLocalTime:!0});return i.startOf(r)<=n&&n<=i.endOf(r)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const r=t.base||Zt.fromObject({},{zone:this.zone}),n=t.padding?this<r?-t.padding:t.padding:0;let i=["years","months","days","hours","minutes","seconds"],a=t.unit;return Array.isArray(t.unit)&&(i=t.unit,a=void 0),gW(r,this.plus(n),{...t,numeric:"always",units:i,unit:a})}toRelativeCalendar(t={}){return this.isValid?gW(t.base||Zt.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Zt.isDateTime))throw new Ul("min requires all arguments be DateTimes");return tW(t,r=>r.valueOf(),Math.min)}static max(...t){if(!t.every(Zt.isDateTime))throw new Ul("max requires all arguments be DateTimes");return tW(t,r=>r.valueOf(),Math.max)}static fromFormatExplain(t,r,n={}){const{locale:i=null,numberingSystem:a=null}=n,o=Gn.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});return cse(o,t,r)}static fromStringExplain(t,r,n={}){return Zt.fromFormatExplain(t,r,n)}static get DATE_SHORT(){return IT}static get DATE_MED(){return Coe}static get DATE_MED_WITH_WEEKDAY(){return qKe}static get DATE_FULL(){return Eoe}static get DATE_HUGE(){return koe}static get TIME_SIMPLE(){return Toe}static get TIME_WITH_SECONDS(){return _oe}static get TIME_WITH_SHORT_OFFSET(){return Poe}static get TIME_WITH_LONG_OFFSET(){return Aoe}static get TIME_24_SIMPLE(){return Ooe}static get TIME_24_WITH_SECONDS(){return Ioe}static get TIME_24_WITH_SHORT_OFFSET(){return Roe}static get TIME_24_WITH_LONG_OFFSET(){return Foe}static get DATETIME_SHORT(){return Doe}static get DATETIME_SHORT_WITH_SECONDS(){return Noe}static get DATETIME_MED(){return Moe}static get DATETIME_MED_WITH_SECONDS(){return Loe}static get DATETIME_MED_WITH_WEEKDAY(){return WKe}static get DATETIME_FULL(){return Boe}static get DATETIME_FULL_WITH_SECONDS(){return Uoe}static get DATETIME_HUGE(){return zoe}static get DATETIME_HUGE_WITH_SECONDS(){return Hoe}}function T1(e){if(Zt.isDateTime(e))return e;if(e&&e.valueOf&&gm(e.valueOf()))return Zt.fromJSDate(e);if(e&&typeof e=="object")return Zt.fromObject(e);throw new Ul(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const wse="ss-pro-plan-near-end-popup-no-need-display",xse="ss-pro-plan-ended-popup-no-need-display";
427var oD=function(e,t){return oD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},oD(e,t)};function Sd(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");oD(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Ct=function(){return Ct=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Ct.apply(this,arguments)};function BYe(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Yt(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(u){try{c(n.next(u))}catch(d){o(d)}}function l(u){try{c(n.throw(u))}catch(d){o(d)}}function c(u){u.done?a(u.value):i(u.value).then(s,l)}c((n=n.apply(e,[])).next())})}function $t(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(c){return function(u){return l([c,u])}}function l(c){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(r=0)),r;)try{if(n=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(u){c=[6,u],i=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function zo(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}function qm(e){return typeof e=="string"}function sD(e){return typeof e=="number"}function av(e){return typeof e=="function"}function Ku(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()==="object"}function UYe(e){var t,r,n,i=(n=(r=(t=e.userId)!==null&&t!==void 0?t:e.anonymousId)!==null&&r!==void 0?r:e.groupId)!==null&&n!==void 0?n:e.previousId;return qm(i)}var _1=function(e){Sd(t,e);function t(r,n){var i=e.call(this,n)||this;return i.field=r,i}return t}(Error);function j0(e){var t,r=e&&e.event&&e.event.type,n=e.event;if(n===void 0)throw new _1("event","Event is missing");if(!qm(r))throw new _1("event","Event is not a string");if(r==="track"&&!qm(n.event))throw new _1("event","Event is not a string");var i=(t=n.properties)!==null&&t!==void 0?t:n.traits;if(r!=="alias"&&!Ku(i))throw new _1("properties","properties is not an object");if(!UYe(n))throw new _1("userId","Missing userId or anonymousId");return e}var zYe={name:"Event Validation",type:"before",version:"1.0.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:j0,identify:j0,page:j0,alias:j0,group:j0,screen:j0};function HYe(e,t,r,n){var i,a=[e,t,r,n],o=Ku(e)?e.event:e;if(!o||!qm(o))throw new Error("Event missing");var s=Ku(e)?(i=e.properties)!==null&&i!==void 0?i:{}:Ku(t)?t:{},l={};av(r)||(l=r??{}),Ku(e)&&!av(t)&&(l=t??{});var c=a.find(av);return[o,s,l,c]}function yW(e,t,r,n,i){var a,o,s=null,l=null,c=[e,t,r,n,i],u=c.filter(qm);u[0]!==void 0&&u[1]!==void 0&&(s=u[0],l=u[1]),u.length===1&&(s=null,l=u[0]);var d=c.find(av),f=c.filter(function(g){return l===null?Ku(g):Ku(g)||g===null}),h=(a=f[0])!==null&&a!==void 0?a:{},p=(o=f[1])!==null&&o!==void 0?o:{};return[s,l,h,p,d]}var bW=function(e){return function(){for(var t,r,n,i,a,o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];var l=null;l=(n=(t=o.find(qm))!==null&&t!==void 0?t:(r=o.find(sD))===null||r===void 0?void 0:r.toString())!==null&&n!==void 0?n:e.id();var c=o.filter(function(h){return l===null?Ku(h):Ku(h)||h===null}),u=(i=c[0])!==null&&i!==void 0?i:{},d=(a=c[1])!==null&&a!==void 0?a:{},f=o.find(av);return[l,u,d,f]}};function qYe(e,t,r,n){sD(e)&&(e=e.toString()),sD(t)&&(t=t.toString());var i=[e,t,r,n],a=i.filter(qm),o=a[0],s=o===void 0?e:o,l=a[1],c=l===void 0?null:l,u=i.filter(Ku)[0],d=u===void 0?{}:u,f=i.find(av);return[s,c,d,f]}function gA(e){return Promise.resolve(e)}function WYe(e,t){return new Promise(function(r,n){var i=setTimeout(function(){n(Error("Promise timed out"))},t);e.then(function(a){return clearTimeout(i),r(a)}).catch(n)})}function VYe(e){return new Promise(function(t){return setTimeout(t,e)})}function jYe(e,t,r,n){var i=function(){try{return gA(t(e))}catch(a){return Promise.reject(a)}};return VYe(r).then(function(){return WYe(i(),n??1e3)}).catch(function(a){e==null||e.log("warn","Callback Error",{error:a}),e==null||e.stats.increment("callback_error")}).then(function(){return e})}function E8(){return typeof window<"u"}function QEt(){return!E8()}function Cse(){return E8()?window.navigator.onLine:!0}function NT(){return!Cse()}var tm=256,QE=[],OC;for(;tm--;)QE[tm]=(tm+256).toString(16).substring(1);function k8(){var e=0,t,r="";if(!OC||tm+16>256){for(OC=Array(e=256);e--;)OC[e]=256*Math.random()|0;e=tm=0}for(;e<16;
vendor: 4,660 bytes, line 427
427e++)t=OC[tm+e],e==6?r+=QE[t&15|64]:e==8?r+=QE[t&63|128]:r+=QE[t],e&1&&e>1&&e<11&&(r+="-");return tm++,r}function lD(e,t,r){t.split&&(t=t.split("."));for(var n=0,i=t.length,a=e,o,s;n<i&&(s=""+t[n++],!(s==="__proto__"||s==="constructor"||s==="prototype"));)a=a[s]=n===i?r:typeof(o=a[s])==typeof t?o:t[n]*0!==0||~(""+t[n]).indexOf(".")?{}:[]}var GYe=function(){function e(){var t=this;this._logs=[],this.log=function(r,n,i){var a=new Date;t._logs.push({level:r,message:n,time:a,extras:i})}}return Object.defineProperty(e.prototype,"logs",{get:function(){return this._logs},enumerable:!1,configurable:!0}),e.prototype.flush=function(){if(this.logs.length>1){var t=this._logs.reduce(function(r,n){var i,a,o,s=Ct(Ct({},n),{json:JSON.stringify(n.extras,null," "),extras:n.extras});delete s.time;var l=(o=(a=n.time)===null||a===void 0?void 0:a.toISOString())!==null&&o!==void 0?o:"";return r[l]&&(l="".concat(l,"-").concat(Math.random())),Ct(Ct({},r),(i={},i[l]=s,i))},{});console.table?console.table(t):console.log(t)}else this.logs.forEach(function(r){var n=r.level,i=r.message,a=r.extras;n==="info"||n==="debug"?console.log(i,a??""):console[n](i,a??"")});this._logs=[]},e}(),KYe=function(e){var t={gauge:"g",counter:"c"};return t[e]},ZYe=function(){function e(t){this.metrics=[],this.remoteMetrics=t}return e.prototype.increment=function(t,r,n){var i;r===void 0&&(r=1),this.metrics.push({metric:t,value:r,tags:n??[],type:"counter",timestamp:Date.now()}),(i=this.remoteMetrics)===null||i===void 0||i.increment(t,n??[])},e.prototype.gauge=function(t,r,n){this.metrics.push({metric:t,value:r,tags:n??[],type:"gauge",timestamp:Date.now()})},e.prototype.flush=function(){var t=this.metrics.map(function(r){return Ct(Ct({},r),{tags:r.tags.join(",")})});console.table?console.table(t):console.log(t),this.metrics=[]},e.prototype.serialize=function(){return this.metrics.map(function(t){return{m:t.metric,v:t.value,t:t.tags,k:KYe(t.type),e:t.timestamp}})},e}();function Ay(e,t){return t=t||{},new Promise(function(r,n){var i=new XMLHttpRequest,a=[],o=[],s={},l=function(){return{ok:(i.status/100|0)==2,statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:l,headers:{keys:function(){return a},entries:function(){return o},get:function(u){return s[u.toLowerCase()]},has:function(u){return u.toLowerCase()in s}}}};for(var c in i.open(t.method||"get",e,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(u,d,f){a.push(d=d.toLowerCase()),o.push([d,f]),s[d]=s[d]?s[d]+","+f:f}),r(l())},i.onerror=n,i.withCredentials=t.credentials=="include",t.headers)i.setRequestHeader(c,t.headers[c]);i.send(t.body||null)})}var dw="1.46.3";/*! js-cookie v3.0.8 | MIT */function IC(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)n!=="__proto__"&&(e[n]=r[n])}return e}var YYe={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function cD(e,t){function r(i,a,o){if(!(typeof document>"u")){o=IC({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var l in o)o[l]&&(s+="; "+l,o[l]!==!0&&(s+="="+o[l].split(";")[0]));return document.cookie=i+"="+e.write(a,i)+s}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],o={},s=0;s<a.length;s++){var l=a[s].split("="),c=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(u in o||(o[u]=e.read(c,u)),i===u)break}catch{}}return i?o[i]:o}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",IC({},a,{expires:-1}))},withAttributes:function(i){return cD(this.converter,IC({},this.attributes,i))},withConverter:function(i){return cD(IC({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Us=cD(YYe,{path:"/"});function $Ye(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return e}}function XYe(e){var t=e.hostname,r=t.split("."),n=r[r.length-1],i=[];if(r.length===4&&parseInt(n,10)>0||r.length<=1)return i;for(var a=r.length-2;a>=0;--a)i.push(r.slice(a).join("."));return i}function QYe(e){try{return new URL(e)}catch{return}}function Ese(e){var t=QYe(e);
427if(t)for(var r=XYe(t),n=0;n<r.length;++n){var i="__tld__",a=r[n],o={domain:"."+a};try{if(Us.set(i,"1",o),Us.get(i))return Us.remove(i,o),a}catch{return}}}var P1;function JYe(){if(P1)return P1;var e=Ese(window.location.href);return P1={expires:31536e6,secure:!1,path:"/"},e&&(P1.domain=e),P1}var e$e="npm";function t$e(){return e$e}function r$e(){var e=Us.get("_ga");if(e&&e.startsWith("amp"))return e}function n$e(e){return e.startsWith("?")&&(e=e.substring(1)),e=e.replace(/\?/g,"&"),e.split("&").reduce(function(t,r){var n=r.split("="),i=n[0],a=n[1],o=a===void 0?"":a;if(i.includes("utm_")&&i.length>4){var s=i.substr(4);s==="campaign"&&(s="name"),t[s]=$Ye(o)}return t},{})}function i$e(e){var t={btid:"dataxu",urid:"millennial-media"};e.startsWith("?")&&(e=e.substring(1)),e=e.replace(/\?/g,"&");for(var r=e.split("&"),n=0,i=r;n<i.length;n++){var a=i[n],o=a.split("="),s=o[0],l=o[1];if(t[s])return{id:l,type:t[s]}}}function a$e(e,t,r){var n=Us.get("s:context.referrer"),i=i$e(e);n=n?JSON.parse(n):void 0,i=i??n,i&&(t&&(t.referrer=Ct(Ct({},t.referrer),i)),r||Us.set("s:context.referrer",JSON.stringify(i),JYe()))}function o$e(e,t,r,n){var i,a,o,s,l=e.user(),c=window.location.search;t.context=(a=(i=t.context)!==null&&i!==void 0?i:t.options)!==null&&a!==void 0?a:{};var u=t.context;delete t.options,t.writeKey=r==null?void 0:r.apiKey,u.userAgent=window.navigator.userAgent;var d=navigator.userLanguage||navigator.language;if(typeof u.locale>"u"&&typeof d<"u"&&(u.locale=d),!u.library){var f=t$e();f==="web"?u.library={name:"analytics.js",version:"next-".concat(dw)}:u.library={name:"analytics.js",version:"npm:next-".concat(dw)}}c&&!u.campaign&&(u.campaign=n$e(c)),a$e(c,u,(o=e.options.disableClientPersistence)!==null&&o!==void 0?o:!1),t.userId=t.userId||l.id(),t.anonymousId=t.anonymousId||l.anonymousId(),t.sentAt=new Date;var h=e.queue.failedInitializations||[];h.length>0&&(t._metadata={failedInitializations:h});var p=[],g=[];for(var v in n){var m=n[v];v==="Segment.io"&&p.push(v),m.bundlingStatus==="bundled"&&p.push(v),m.bundlingStatus==="unbundled"&&g.push(v)}for(var b=0,y=(r==null?void 0:r.unbundledIntegrations)||[];b<y.length;b++){var w=y[b];g.includes(w)||g.push(w)}var x=(s=r==null?void 0:r.maybeBundledConfigIds)!==null&&s!==void 0?s:{},C=[];p.sort().forEach(function(_){var P;((P=x[_])!==null&&P!==void 0?P:[]).forEach(function(F){C.push(F)})}),(r==null?void 0:r.addBundledMetadata)!==!1&&(t._metadata=Ct(Ct({},t._metadata),{bundled:p.sort(),unbundled:g.sort(),bundledIds:C}));var T=r$e();return T&&(u.amp={id:T}),t}function k3(e){console.error("Error sending segment performance metrics",e)}var s$e=function(){function e(t){var r=this,n,i,a,o;if(this.host=(n=t==null?void 0:t.host)!==null&&n!==void 0?n:"api.segment.io/v1",this.sampleRate=(i=t==null?void 0:t.sampleRate)!==null&&i!==void 0?i:1,this.flushTimer=(a=t==null?void 0:t.flushTimer)!==null&&a!==void 0?a:30*1e3,this.maxQueueSize=(o=t==null?void 0:t.maxQueueSize)!==null&&o!==void 0?o:20,this.queue=[],this.sampleRate>0){var s=!1,l=function(){s||(s=!0,r.flush().catch(k3),s=!1,setTimeout(l,r.flushTimer))};l()}}return e.prototype.increment=function(t,r){if(t.includes("analytics_js.")&&r.length!==0&&!(Math.random()>this.sampleRate)&&!(this.queue.length>=this.maxQueueSize)){var n=r.reduce(function(i,a){var o=a.split(":"),s=o[0],l=o[1];return i[s]=l,i},{});n.library="analytics.js",n.library_version="npm:next-".concat(dw),this.queue.push({type:"Counter",metric:t,value:1,tags:n}),t.includes("error")&&this.flush().catch(k3)}},e.prototype.flush=function(){return Yt(this,void 0,void 0,function(){var t=this;return $t(this,function(r){switch(r.label){case 0:return this.queue.length<=0?[2]:[4,this.send().catch(function(n){k3(n),t.sampleRate=0})];case 1:return r.sent(),[2]}})})},e.prototype.send=function(){return Yt(this,void 0,void 0,function(){var t,r,n;return $t(this,function(i){return t={series:this.queue},this.queue=[],r={"Content-Type":"text/plain"},n="https://".concat(this.host,"/m"),[2,Ay(n,{headers:r,body:JSON.stringify(t),method:"POST"})]})})},e}(),Wm=function(){function e(t){var r,n,i;this.retry=(r=t.retry)!==null&&r!==void 0?r:!0,this.type=(n=t.type)!==null&&n!==void 0?n:"plugin 
427Error",this.reason=(i=t.reason)!==null&&i!==void 0?i:""}return e}(),SW,rd=function(){function e(t,r){this.logger=new GYe,this.cancel=function(n){throw n||new Wm({reason:"Context Cancel"})},this._attempts=0,this._event=t,this._id=r??k8(),this.stats=new ZYe(SW)}return e.initMetrics=function(t){SW=new s$e(t)},e.system=function(){return new e({type:"track",event:"system"})},e.prototype.isSame=function(t){return t._id===this._id},e.prototype.log=function(t,r,n){this.logger.log(t,r,n)},Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"event",{get:function(){return this._event},set:function(t){this._event=t},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"attempts",{get:function(){return this._attempts},set:function(t){this._attempts=t},enumerable:!1,configurable:!0}),e.prototype.updateEvent=function(t,r){var n;if(t.split(".")[0]==="integrations"){var i=t.split(".")[1];if(((n=this._event.integrations)===null||n===void 0?void 0:n[i])===!1)return this._event}return lD(this._event,t,r),this._event},e.prototype.failedDelivery=function(){return this._failedDelivery},e.prototype.setFailedDelivery=function(t){this._failedDelivery=t},e.prototype.logs=function(){return this.logger.logs},e.prototype.flush=function(){this.logger.flush(),this.stats.flush()},e.prototype.toJSON=function(){return{id:this._id,event:this._event,logs:this.logger.logs,metrics:this.stats.metrics}},e}(),T8=function(){function e(){this.callbacks={}}return e.prototype.on=function(t,r){return this.callbacks[t]?this.callbacks[t].push(r):this.callbacks[t]=[r],this},e.prototype.once=function(t,r){var n=this,i=function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];n.off(t,i),r.apply(n,a)};return this.on(t,i),this},e.prototype.off=function(t,r){var n,i=(n=this.callbacks[t])!==null&&n!==void 0?n:[],a=i.filter(function(o){return o!==r});return this.callbacks[t]=a,this},e.prototype.emit=function(t){for(var r=this,n,i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];var o=(n=this.callbacks[t])!==null&&n!==void 0?n:[];return o.forEach(function(s){s.apply(r,i)}),this},e}(),kse={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(r){var n=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function i(m,b){var y=m[0],w=m[1],x=m[2],C=m[3];y+=(w&x|~w&C)+b[0]-680876936|0,y=(y<<7|y>>>25)+w|0,C+=(y&w|~y&x)+b[1]-389564586|0,C=(C<<12|C>>>20)+y|0,x+=(C&y|~C&w)+b[2]+606105819|0,x=(x<<17|x>>>15)+C|0,w+=(x&C|~x&y)+b[3]-1044525330|0,w=(w<<22|w>>>10)+x|0,y+=(w&x|~w&C)+b[4]-176418897|0,y=(y<<7|y>>>25)+w|0,C+=(y&w|~y&x)+b[5]+1200080426|0,C=(C<<12|C>>>20)+y|0,x+=(C&y|~C&w)+b[6]-1473231341|0,x=(x<<17|x>>>15)+C|0,w+=(x&C|~x&y)+b[7]-45705983|0,w=(w<<22|w>>>10)+x|0,y+=(w&x|~w&C)+b[8]+1770035416|0,y=(y<<7|y>>>25)+w|0,C+=(y&w|~y&x)+b[9]-1958414417|0,C=(C<<12|C>>>20)+y|0,x+=(C&y|~C&w)+b[10]-42063|0,x=(x<<17|x>>>15)+C|0,w+=(x&C|~x&y)+b[11]-1990404162|0,w=(w<<22|w>>>10)+x|0,y+=(w&x|~w&C)+b[12]+1804603682|0,y=(y<<7|y>>>25)+w|0,C+=(y&w|~y&x)+b[13]-40341101|0,C=(C<<12|C>>>20)+y|0,x+=(C&y|~C&w)+b[14]-1502002290|0,x=(x<<17|x>>>15)+C|0,w+=(x&C|~x&y)+b[15]+1236535329|0,w=(w<<22|w>>>10)+x|0,y+=(w&C|x&~C)+b[1]-165796510|0,y=(y<<5|y>>>27)+w|0,C+=(y&x|w&~x)+b[6]-1069501632|0,C=(C<<9|C>>>23)+y|0,x+=(C&w|y&~w)+b[11]+643717713|0,x=(x<<14|x>>>18)+C|0,w+=(x&y|C&~y)+b[0]-373897302|0,w=(w<<20|w>>>12)+x|0,y+=(w&C|x&~C)+b[5]-701558691|0,y=(y<<5|y>>>27)+w|0,C+=(y&x|w&~x)+b[10]+38016083|0,C=(C<<9|C>>>23)+y|0,x+=(C&w|y&~w)+b[15]-660478335|0,x=(x<<14|x>>>18)+C|0,w+=(x&y|C&~y)+b[4]-405537848|0,w=(w<<20|w>>>12)+x|0,y+=(w&C|x&~C)+b[9]+568446438|0,y=(y<<5|y>>>27)+w|0,C+=(y&x|w&~x)+b[14]-1019803690|0,C=(C<<9|C>>>23)+y|0,x+=(C&w|y&~w)+b[3]-187363961|0,x=(x<<14|x>>>18)+C|0,w+=(x&y|C&~y)+b[8]+1163531501|0,w=(w<<20|w>>>12)+x|0,y+=(w&C|x&~C)+b[13]-1444681467|0,y=(y<<5|y>>>
42727)+w|0,C+=(y&x|w&~x)+b[2]-51403784|0,C=(C<<9|C>>>23)+y|0,x+=(C&w|y&~w)+b[7]+1735328473|0,x=(x<<14|x>>>18)+C|0,w+=(x&y|C&~y)+b[12]-1926607734|0,w=(w<<20|w>>>12)+x|0,y+=(w^x^C)+b[5]-378558|0,y=(y<<4|y>>>28)+w|0,C+=(y^w^x)+b[8]-2022574463|0,C=(C<<11|C>>>21)+y|0,x+=(C^y^w)+b[11]+1839030562|0,x=(x<<16|x>>>16)+C|0,w+=(x^C^y)+b[14]-35309556|0,w=(w<<23|w>>>9)+x|0,y+=(w^x^C)+b[1]-1530992060|0,y=(y<<4|y>>>28)+w|0,C+=(y^w^x)+b[4]+1272893353|0,C=(C<<11|C>>>21)+y|0,x+=(C^y^w)+b[7]-155497632|0,x=(x<<16|x>>>16)+C|0,w+=(x^C^y)+b[10]-1094730640|0,w=(w<<23|w>>>9)+x|0,y+=(w^x^C)+b[13]+681279174|0,y=(y<<4|y>>>28)+w|0,C+=(y^w^x)+b[0]-358537222|0,C=(C<<11|C>>>21)+y|0,x+=(C^y^w)+b[3]-722521979|0,x=(x<<16|x>>>16)+C|0,w+=(x^C^y)+b[6]+76029189|0,w=(w<<23|w>>>9)+x|0,y+=(w^x^C)+b[9]-640364487|0,y=(y<<4|y>>>28)+w|0,C+=(y^w^x)+b[12]-421815835|0,C=(C<<11|C>>>21)+y|0,x+=(C^y^w)+b[15]+530742520|0,x=(x<<16|x>>>16)+C|0,w+=(x^C^y)+b[2]-995338651|0,w=(w<<23|w>>>9)+x|0,y+=(x^(w|~C))+b[0]-198630844|0,y=(y<<6|y>>>26)+w|0,C+=(w^(y|~x))+b[7]+1126891415|0,C=(C<<10|C>>>22)+y|0,x+=(y^(C|~w))+b[14]-1416354905|0,x=(x<<15|x>>>17)+C|0,w+=(C^(x|~y))+b[5]-57434055|0,w=(w<<21|w>>>11)+x|0,y+=(x^(w|~C))+b[12]+1700485571|0,y=(y<<6|y>>>26)+w|0,C+=(w^(y|~x))+b[3]-1894986606|0,C=(C<<10|C>>>22)+y|0,x+=(y^(C|~w))+b[10]-1051523|0,x=(x<<15|x>>>17)+C|0,w+=(C^(x|~y))+b[1]-2054922799|0,w=(w<<21|w>>>11)+x|0,y+=(x^(w|~C))+b[8]+1873313359|0,y=(y<<6|y>>>26)+w|0,C+=(w^(y|~x))+b[15]-30611744|0,C=(C<<10|C>>>22)+y|0,x+=(y^(C|~w))+b[6]-1560198380|0,x=(x<<15|x>>>17)+C|0,w+=(C^(x|~y))+b[13]+1309151649|0,w=(w<<21|w>>>11)+x|0,y+=(x^(w|~C))+b[4]-145523070|0,y=(y<<6|y>>>26)+w|0,C+=(w^(y|~x))+b[11]-1120210379|0,C=(C<<10|C>>>22)+y|0,x+=(y^(C|~w))+b[2]+718787259|0,x=(x<<15|x>>>17)+C|0,w+=(C^(x|~y))+b[9]-343485551|0,w=(w<<21|w>>>11)+x|0,m[0]=y+m[0]|0,m[1]=w+m[1]|0,m[2]=x+m[2]|0,m[3]=C+m[3]|0}function a(m){var b=[],y;for(y=0;y<64;y+=4)b[y>>2]=m.charCodeAt(y)+(m.charCodeAt(y+1)<<8)+(m.charCodeAt(y+2)<<16)+(m.charCodeAt(y+3)<<24);return b}function o(m){var b=[],y;for(y=0;y<64;y+=4)b[y>>2]=m[y]+(m[y+1]<<8)+(m[y+2]<<16)+(m[y+3]<<24);return b}function s(m){var b=m.length,y=[1732584193,-271733879,-1732584194,271733878],w,x,C,T,_,P;for(w=64;w<=b;w+=64)i(y,a(m.substring(w-64,w)));for(m=m.substring(w-64),x=m.length,C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w=0;w<x;w+=1)C[w>>2]|=m.charCodeAt(w)<<(w%4<<3);if(C[w>>2]|=128<<(w%4<<3),w>55)for(i(y,C),w=0;w<16;w+=1)C[w]=0;return T=b*8,T=T.toString(16).match(/(.*?)(.{0,8})$/),_=parseInt(T[2],16),P=parseInt(T[1],16)||0,C[14]=_,C[15]=P,i(y,C),y}function l(m){var b=m.length,y=[1732584193,-271733879,-1732584194,271733878],w,x,C,T,_,P;for(w=64;w<=b;w+=64)i(y,o(m.subarray(w-64,w)));for(m=w-64<b?m.subarray(w-64):new Uint8Array(0),x=m.length,C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w=0;w<x;w+=1)C[w>>2]|=m[w]<<(w%4<<3);if(C[w>>2]|=128<<(w%4<<3),w>55)for(i(y,C),w=0;w<16;w+=1)C[w]=0;return T=b*8,T=T.toString(16).match(/(.*?)(.{0,8})$/),_=parseInt(T[2],16),P=parseInt(T[1],16)||0,C[14]=_,C[15]=P,i(y,C),y}function c(m){var b="",y;for(y=0;y<4;y+=1)b+=n[m>>y*8+4&15]+n[m>>y*8&15];return b}function u(m){var b;for(b=0;b<m.length;b+=1)m[b]=c(m[b]);return m.join("")}u(s("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function m(b,y){return b=b|0||0,b<0?Math.max(b+y,0):Math.min(b,y)}ArrayBuffer.prototype.slice=function(b,y){var w=this.byteLength,x=m(b,w),C=w,T,_,P,F;return y!==r&&(C=m(y,w)),x>C?new ArrayBuffer(0):(T=C-x,_=new ArrayBuffer(T),P=new Uint8Array(_),F=new Uint8Array(this,x,T),P.set(F),_)}}();function d(m){return/[\u0080-\uFFFF]/.test(m)&&(m=unescape(encodeURIComponent(m))),m}function f(m,b){var y=m.length,w=new ArrayBuffer(y),x=new Uint8Array(w),C;for(C=0;C<y;C+=1)x[C]=m.charCodeAt(C);return b?x:w}function h(m){return String.fromCharCode.apply(null,new Uint8Array(m))}function p(m,b,y){var w=new Uint8Array(m.byteLength+b.byteLength);return w.set(new Uint8Array(m)),w.set(new Uint8Array(b),m.byteLength),w}function g(m){var b=[],y=m.length,w;for(w=0;w<y-1;w+=2)b.push(parseInt(m.substr(w,2),16));return String.fromCharCode.apply(String,b)}function v(){this.reset()}return v.prototype.append=function(m){return this.appendBinary(d(m)),this},v.prototype.appendBinary=function(m){this._buff+=m,this._length+=m.length;var b=this._buff.length,y;for(y=64;y<=b;y+=64)i(this._hash,a(this._buff.substring(y-64,y)));return this._buff=this._buff.substring(y-64),this},v.prototype.end=function(m){var b=this._buff,y=b.length,w,x=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],C;for(w=0;w<y;w+=1)x[w>>2]|=b.charCodeAt(w)<<(w%4<<3);return this._finish(x,y),C=u(this._hash),m&&(C=g(C)),this.reset(),C},v.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},v.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},v.prototype.setState=function(m){return this._buff=m.buff,this._length=m.length,this._hash=m.hash,this},v.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},v.prototype._finish=function(m,b){var y=b,w,x,C;if(m[y>>2]|=128<<(y%4<<3),y>55)for(i(this._hash,m),y=0;y<16;y+=1)m[y]=0;w=this._length*8,w=w.toString(16).match(/(.*?)(.{0,8})$/),x=parseInt(w[2],16),C=parseInt(w[1],16)||0,m[14]=x,m[15]=C,i(this._hash,m)},v.hash=function(m,b){return v.hashBinary(d(m),b)},v.hashBinary=function(m,b){var y=s(m),w=u(y);return b?g(w):w},v.ArrayBuffer=function(){this.reset()},v.ArrayBuffer.prototype.append=function(m){var b=p(this._buff.buffer,m),y=b.length,w;for(this._length+=m.byteLength,w=64;w<=y;w+=64)i(this._hash,o(b.subarray(w-64,w)));return this._buff=w-64<y?new Uint8Array(b.buffer.slice(w-64)):new Uint8Array(0),this},v.ArrayBuffer.prototype.end=function(m){var b=this._buff,y=b.length,w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],x,C;for(x=0;x<y;x+=1)w[x>>
4272]|=b[x]<<(x%4<<3);return this._finish(w,y),C=u(this._hash),m&&(C=g(C)),this.reset(),C},v.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},v.ArrayBuffer.prototype.getState=function(){var m=v.prototype.getState.call(this);return m.buff=h(m.buff),m},v.ArrayBuffer.prototype.setState=function(m){return m.buff=f(m.buff,!0),v.prototype.setState.call(this,m)},v.ArrayBuffer.prototype.destroy=v.prototype.destroy,v.ArrayBuffer.prototype._finish=v.prototype._finish,v.ArrayBuffer.hash=function(m,b){var y=l(new Uint8Array(m)),w=u(y);return b?g(w):w},v})})(kse);var l$e=kse.exports;const c$e=fc(l$e);var u$e=function(){function e(t){this.user=t}return e.prototype.track=function(t,r,n,i){return this.normalize(Ct(Ct({},this.baseEvent()),{event:t,type:"track",properties:r,options:Ct({},n),integrations:Ct({},i)}))},e.prototype.page=function(t,r,n,i,a){var o,s={type:"page",properties:Ct({},n),options:Ct({},i),integrations:Ct({},a)};return t!==null&&(s.category=t,s.properties=(o=s.properties)!==null&&o!==void 0?o:{},s.properties.category=t),r!==null&&(s.name=r),this.normalize(Ct(Ct({},this.baseEvent()),s))},e.prototype.screen=function(t,r,n,i,a){var o={type:"screen",properties:Ct({},n),options:Ct({},i),integrations:Ct({},a)};return t!==null&&(o.category=t),r!==null&&(o.name=r),this.normalize(Ct(Ct({},this.baseEvent()),o))},e.prototype.identify=function(t,r,n,i){return this.normalize(Ct(Ct({},this.baseEvent()),{type:"identify",userId:t,traits:r,options:Ct({},n),integrations:Ct({},i)}))},e.prototype.group=function(t,r,n,i){return this.normalize(Ct(Ct({},this.baseEvent()),{type:"group",traits:r,options:Ct({},n),integrations:Ct({},i),groupId:t}))},e.prototype.alias=function(t,r,n,i){var a={userId:t,type:"alias",options:Ct({},n),integrations:Ct({},i)};return r!==null&&(a.previousId=r),t===void 0?this.normalize(Ct(Ct({},a),this.baseEvent())):this.normalize(Ct(Ct({},this.baseEvent()),a))},e.prototype.baseEvent=function(){var t={integrations:{},options:{}},r=this.user;return r.id()&&(t.userId=r.id()),r.anonymousId()&&(t.anonymousId=r.anonymousId()),t},e.prototype.context=function(t){var r,n,i,a=["integrations","anonymousId","timestamp","userId"],o=(r=t.options)!==null&&r!==void 0?r:{};delete o.integrations;var s=Object.keys(o),l=(i=(n=t.options)===null||n===void 0?void 0:n.context)!==null&&i!==void 0?i:{},c={};return s.forEach(function(u){u!=="context"&&(a.includes(u)?lD(c,u,o[u]):lD(l,u,o[u]))}),[l,c]},e.prototype.normalize=function(t){var r,n,i;!((r=t.options)===null||r===void 0)&&r.anonymousId&&this.user.anonymousId(t.options.anonymousId);var a=Object.keys((n=t.integrations)!==null&&n!==void 0?n:{}).reduce(function(p,g){var v,m;return Ct(Ct({},p),(v={},v[g]=!!(!((m=t.integrations)===null||m===void 0)&&m[g]),v))},{}),o=Ct(Ct({},a),(i=t.options)===null||i===void 0?void 0:i.integrations),s=this.context(t),l=s[0],c=s[1];t.options;var u=BYe(t,["options"]),d=Ct(Ct(Ct({timestamp:new Date},u),{context:l,integrations:o}),c),f="ajs-next-"+c$e.hash(JSON.stringify(d)+k8()),h=Ct(Ct({},d),{messageId:f});return h},e}();function d$e(e,t){var r={};return e.forEach(function(n){var i,a=void 0;{var o=n[t];a=typeof o!="string"?JSON.stringify(o):o}a!==void 0&&(r[a]=zo(zo([],(i=r[a])!==null&&i!==void 0?i:[],!0),[n],!1))}),r}function f$e(e){var t=Math.random()+1,r=e.minTimeout,n=r===void 0?500:r,i=e.factor,a=i===void 0?2:i,o=e.attempt,s=e.maxTimeout,l=s===void 0?1/0:s;return Math.min(t*n*Math.pow(a,o),l)}var Tse="onRemoveFromFuture",_8=function(e){Sd(t,e);function t(r,n,i){var a=e.call(this)||this;return a.future=[],a.maxAttempts=r,a.queue=n,a.seen=i??{},a}return t.prototype.push=function(){for(var r=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var a=n.map(function(o){var s=r.updateAttempts(o);return s>r.maxAttempts||r.includes(o)?!1:(r.queue.push(o),!0)});return this.queue=this.queue.sort(function(o,s){return r.getAttempts(o)-r.getAttempts(s)}),a},t.prototype.pushWithBackoff=function(r){var n=this;if(this.getAttempts(r)===0)return this.push(r)[0];var i=this.updateAttempts(r);if(i>this.maxAttempts||this.includes(r))return!1;var a=f$e({attempt:i-1});return setTimeout(function(){n.queue.push(r),n.future=n.future.filter(function(o){return o.id!==r.id}),n.emit(Tse)},a),this.future.push(r),!0},t.prototype.getAttempts=function(r){var n;return(n=this.seen[r.id])!==null&&n!==void 0?n:0},t.prototype.updateAttempts=function(r){return this.seen[r.id]=this.getAttempts(r)+1,this.getAttempts(r)},t.prototype.includes=function(r){return this.queue.includes(r)||this.future.includes(r)||!!this.queue.find(function(n){return n.id===r.id})||!!this.future.find(function(n){return n.id===r.id})},t.prototype.pop=function(){return this.queue.shift()}
vendor: 4,550 bytes, line 427
427,Object.defineProperty(t.prototype,"length",{get:function(){return this.queue.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"todo",{get:function(){return this.queue.length+this.future.length},enumerable:!1,configurable:!0}),t}(T8),nd={getItem:function(){},setItem:function(){},removeItem:function(){}};try{nd=E8()&&window.localStorage?window.localStorage:nd}catch(e){console.warn("Unable to access localStorage",e)}function _se(e){var t=nd.getItem(e);return(t?JSON.parse(t):[]).map(function(r){return new rd(r.event,r.id)})}function h$e(e,t){var r=_se(e),n=zo(zo([],t,!0),r,!0),i=n.reduce(function(a,o){var s;return Ct(Ct({},a),(s={},s[o.id]=o,s))},{});nd.setItem(e,JSON.stringify(Object.values(i)))}function Pse(e){var t=nd.getItem(e);return t?JSON.parse(t):{}}function p$e(e,t){var r=Pse(e);nd.setItem(e,JSON.stringify(Ct(Ct({},r),t)))}function wW(e){nd.removeItem(e)}var m$e=function(){return new Date().getTime()};function uD(e,t,r){r===void 0&&(r=0);var n=50,i="persisted-queue:v1:".concat(e,":lock"),a=function(c){return new Date().getTime()>c},o=nd.getItem(i),s=o?JSON.parse(o):null,l=s===null||a(s);if(l){nd.setItem(i,JSON.stringify(m$e()+n)),t(),nd.removeItem(i);return}!l&&r<3?setTimeout(function(){uD(e,t,r+1)},n):console.error("Unable to retrieve lock")}var P8=function(e){Sd(t,e);function t(r,n){var i=e.call(this,r,[])||this,a="persisted-queue:v1:".concat(n,":items"),o="persisted-queue:v1:".concat(n,":seen"),s=[],l={};return uD(n,function(){try{s=_se(a),l=Pse(o),wW(a),wW(o),i.queue=zo(zo([],s,!0),i.queue,!0),i.seen=Ct(Ct({},l),i.seen)}catch(c){console.error(c)}}),document.addEventListener("pagehide",function(){if(i.todo>0){var c=zo(zo([],i.queue,!0),i.future,!0);try{uD(n,function(){h$e(a,c),p$e(o,i.seen)})}catch(u){console.error(u)}}}),i}return t}(_8),Ase=function(e){return typeof e=="object"&&e!==null&&"then"in e&&typeof e.then=="function"},g$e=function(){var e,t,r=0;return{done:function(){return e},run:function(n){var i=n();return Ase(i)&&(++r===1&&(e=new Promise(function(a){return t=a})),i.finally(function(){return--r===0&&t()})),i}}};function v$e(e){return Yt(this,void 0,void 0,function(){var t;return $t(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,e()];case 1:return[2,r.sent()];case 2:return t=r.sent(),[2,Promise.reject(t)];case 3:return[2]}})})}function zb(e,t){var r="action"in t?t.action.name:t.name;e.log("debug","plugin",{plugin:r});var n=new Date().getTime(),i=t[e.event.type];if(i===void 0)return Promise.resolve(e);var a=v$e(function(){return i.apply(t,[e])}).then(function(o){var s=new Date().getTime()-n;return o.stats.gauge("plugin_time",s,["plugin:".concat(r)]),o}).catch(function(o){if(o instanceof Wm&&o.type==="middleware_cancellation")throw o;return o instanceof Wm?(e.log("warn",o.type,{plugin:r,error:o}),o):(e.log("error","plugin Error",{plugin:r,error:o}),e.stats.increment("plugin_error",1,["plugin:".concat(r)]),o)});return a}function y$e(e,t){return zb(e,t).then(function(r){if(r instanceof rd)return r;e.log("debug","Context canceled"),e.stats.increment("context_canceled"),e.cancel(r)})}var Ose=function(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:null},T3,xW,b$e=Ose(),wh=(T3=(xW=b$e).__SEGMENT_INSPECTOR__)!==null&&T3!==void 0?T3:xW.__SEGMENT_INSPECTOR__={},S$e=function(e){Sd(t,e);function t(r){var n=e.call(this)||this;return n.criticalTasks=g$e(),n.plugins=[],n.failedInitializations=[],n.flushing=!1,n.queue=r??new P8(4,"event-queue"),n.queue.on(Tse,function(){n.scheduleFlush(0)}),n}return t.prototype.register=function(r,n,i){return Yt(this,void 0,void 0,function(){var a=this;return $t(this,function(o){switch(o.label){case 0:return[4,Promise.resolve(n.load(r,i)).then(function(){a.plugins.push(n)}).catch(function(s){if(n.type==="destination"){a.failedInitializations.push(n.name),console.warn(n.name,s),r.log("warn","Failed to load destination",{plugin:n.name,error:s});return}throw s})];case 1:return o.sent(),[2]}})})},t.prototype.deregister=function(r,n,i){return Yt(this,void 0,void 0,function(){var a;return $t(this,function(o){switch(o.label){case 0:return o.trys.push([0,3,,4]),n.unload?[4,Promise.resolve(n.unload(r,i))]:[3,2];case 1:o.sent(),o.label=2;case 2:return this.plugins=this.plugins.filter(function(s){return s.name!==n.name}),[3,4];case 3:return a=o.sent(),r.log("warn","Failed to unload destination",{plugin:n.name,error:a}),[3,4];case 4:return[2]}})})},t.prototype.dispatch=function(r){return Yt(this,void 0,void 0,function(){var n;
427return $t(this,function(i){return r.log("debug","Dispatching"),r.stats.increment("message_dispatched"),this.queue.push(r),n=this.subscribeToDelivery(r),this.scheduleFlush(0),[2,n]})})},t.prototype.subscribeToDelivery=function(r){return Yt(this,void 0,void 0,function(){var n=this;return $t(this,function(i){return[2,new Promise(function(a){var o=function(s,l){s.isSame(r)&&(n.off("flush",o),a(s))};n.on("flush",o)})]})})},t.prototype.dispatchSingle=function(r){return Yt(this,void 0,void 0,function(){var n=this;return $t(this,function(i){return r.log("debug","Dispatching"),r.stats.increment("message_dispatched"),this.queue.updateAttempts(r),r.attempts=1,[2,this.deliver(r).catch(function(a){if(a instanceof Wm&&a.retry===!1)return r.setFailedDelivery({reason:a}),r;var o=n.enqueuRetry(a,r);return o?n.subscribeToDelivery(r):(r.setFailedDelivery({reason:a}),r)})]})})},t.prototype.isEmpty=function(){return this.queue.length===0},t.prototype.scheduleFlush=function(r){var n=this;r===void 0&&(r=500),!this.flushing&&(this.flushing=!0,setTimeout(function(){n.flush().then(function(){setTimeout(function(){n.flushing=!1,n.queue.length&&n.scheduleFlush(0)},0)})},r))},t.prototype.deliver=function(r){return Yt(this,void 0,void 0,function(){var n,i,a;return $t(this,function(o){switch(o.label){case 0:return[4,this.criticalTasks.done()];case 1:o.sent(),n=Date.now(),o.label=2;case 2:return o.trys.push([2,4,,5]),[4,this.flushOne(r)];case 3:return r=o.sent(),i=Date.now()-n,r.stats.gauge("delivered",i),r.log("debug","Delivered",r.event),[2,r];case 4:throw a=o.sent(),r.log("error","Failed to deliver",a),r.stats.increment("delivery_failed"),a;case 5:return[2]}})})},t.prototype.enqueuRetry=function(r,n){var i=r instanceof Wm&&r.retry===!1,a=!i;if(a){var o=this.queue.pushWithBackoff(n);return o}return!1},t.prototype.flush=function(){return Yt(this,void 0,void 0,function(){var r,n,i;return $t(this,function(a){switch(a.label){case 0:if(this.queue.length===0||!Cse())return[2,[]];if(r=this.queue.pop(),!r)return[2,[]];r.attempts=this.queue.getAttempts(r),a.label=1;case 1:return a.trys.push([1,3,,4]),[4,this.deliver(r)];case 2:return r=a.sent(),this.emit("flush",r,!0),[3,4];case 3:return n=a.sent(),i=this.enqueuRetry(n,r),i||(r.setFailedDelivery({reason:n}),this.emit("flush",r,!1)),[2,[]];case 4:return[2,[r]]}})})},t.prototype.isReady=function(){return!0},t.prototype.availableExtensions=function(r){var n=this.plugins.filter(function(h){var p,g,v;if(h.type!=="destination"&&h.name!=="Segment.io")return!0;var m=void 0;return(p=h.alternativeNames)===null||p===void 0||p.forEach(function(b){r[b]!==void 0&&(m=r[b])}),(v=(g=r[h.name])!==null&&g!==void 0?g:m)!==null&&v!==void 0?v:(h.name==="Segment.io"?!0:r.All)!==!1}),i=d$e(n,"type"),a=i.before,o=a===void 0?[]:a,s=i.enrichment,l=s===void 0?[]:s,c=i.destination,u=c===void 0?[]:c,d=i.after,f=d===void 0?[]:d;return{before:o,enrichment:l,destinations:u,after:f}},t.prototype.flushOne=function(r){var n,i,a,o;return Yt(this,void 0,void 0,function(){var s,l,c,u,d,f,v,h,p,g,v,m,b,y,w;return $t(this,function(x){switch(x.label){case 0:if(!this.isReady())throw new Error("Not ready");s=this.availableExtensions((n=r.event.integrations)!==null&&n!==void 0?n:{}),l=s.before,c=s.enrichment,u=0,d=l,x.label=1;case 1:return u<d.length?(f=d[u],[4,y$e(r,f)]):[3,4];case 2:v=x.sent(),v instanceof rd&&(r=v),x.label=3;case 3:return u++,[3,1];case 4:h=0,p=c,x.label=5;case 5:return h<p.length?(g=p[h],[4,zb(r,g)]):[3,8];case 6:v=x.sent(),v instanceof rd&&(r=v),x.label=7;case 7:return h++,[3,5];case 8:return(i=wh.enriched)===null||i===void 0||i.call(wh,r),m=this.availableExtensions((a=r.event.integrations)!==null&&a!==void 0?a:{}),b=m.destinations,y=m.after,[4,new Promise(function(C,T){setTimeout(function(){var _=b.map(function(P){return zb(r,P)});Promise.all(_).then(C).catch(T)},0)})];case 9:return x.sent(),r.stats.increment("message_delivered"),(o=wh.delivered)===null||o===void 0||o.call(wh,r,["segment.io"]),w=y.map(function(C){return zb(r,C)}),[4,Promise.all(w)];case 10:return x.sent(),[2,r]}})})},t}(T8);function A8(e){for(var t=e.constructor.prototype,r=0,n=Object.getOwnPropertyNames(t);r<n.length;r++){var i=n[r];if(i!=="constructor"){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,i
427);a&&typeof a.value=="function"&&(e[i]=e[i].bind(e))}}return e}var G0={persist:!0,cookie:{key:"ajs_user_id",oldKey:"ajs_user"},localStorage:{key:"ajs_user_traits"}},vA=function(){function e(){this.cache={}}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){return this.cache[t]=r,r},e.prototype.remove=function(t){delete this.cache[t]},e}(),w$e=365,CW=function(e){Sd(t,e);function t(r){r===void 0&&(r=t.defaults);var n=e.call(this)||this;return n.options=Ct(Ct({},t.defaults),r),n}return t.available=function(){var r=window.navigator.cookieEnabled;return r||(Us.set("ajs:cookies","test"),r=document.cookie.includes("ajs:cookies"),Us.remove("ajs:cookies")),r},Object.defineProperty(t,"defaults",{get:function(){return{maxage:w$e,domain:Ese(window.location.href),path:"/",sameSite:"Lax"}},enumerable:!1,configurable:!0}),t.prototype.opts=function(){return{sameSite:this.options.sameSite,expires:this.options.maxage,domain:this.options.domain,path:this.options.path,secure:this.options.secure}},t.prototype.get=function(r){try{var n=Us.get(r);if(!n)return null;try{return JSON.parse(n)}catch{return n}}catch{return null}},t.prototype.set=function(r,n){return typeof n=="string"?Us.set(r,n,this.opts()):n===null?Us.remove(r,this.opts()):Us.set(r,JSON.stringify(n),this.opts()),n},t.prototype.remove=function(r){return Us.remove(r,this.opts())},t}(vA),_3=function(e){Sd(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.get=function(n){return null},r.set=function(n,i){return null},r.remove=function(n){},r}return t}(vA),P3=function(e,t){console.warn("Unable to access ".concat(e,", localStorage may be ").concat(t))},EW=function(e){Sd(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.available=function(){var r="test";try{return localStorage.setItem(r,r),localStorage.removeItem(r),!0}catch{return!1}},t.prototype.get=function(r){try{var n=localStorage.getItem(r);if(n===null)return null;try{return JSON.parse(n)}catch{return n}}catch{return P3(r,"unavailable"),null}},t.prototype.set=function(r,n){try{localStorage.setItem(r,JSON.stringify(n))}catch{P3(r,"full")}return n},t.prototype.remove=function(r){try{return localStorage.removeItem(r)}catch{P3(r,"unavailable")}},t}(vA),Ise=function(){function e(t,r){t===void 0&&(t=G0);var n=this,i,a,o,s;this.options={},this.id=function(d){var f,h;if(n.options.disable)return null;var p=n.chainGet(n.idKey);if(d!==void 0){n.trySet(n.idKey,d);var g=d!==p&&p!==null&&d!==null;g&&n.anonymousId(null)}return(h=(f=n.chainGet(n.idKey))!==null&&f!==void 0?f:n.cookies.get(G0.cookie.oldKey))!==null&&h!==void 0?h:null},this.anonymousId=function(d){var f,h;if(n.options.disable)return null;if(d===void 0){var p=(f=n.chainGet(n.anonKey))!==null&&f!==void 0?f:(h=n.legacySIO())===null||h===void 0?void 0:h[0];if(p)return p}return d===null?(n.trySet(n.anonKey,null),n.chainGet(n.anonKey)):(n.trySet(n.anonKey,d??k8()),n.chainGet(n.anonKey))},this.traits=function(d){var f,h;if(!n.options.disable)return d===null&&(d={}),d&&(n.mem.set(n.traitsKey,d??{}),n.localStorage.set(n.traitsKey,d??{})),(h=(f=n.localStorage.get(n.traitsKey))!==null&&f!==void 0?f:n.mem.get(n.traitsKey))!==null&&h!==void 0?h:{}},this.options=t,this.cookieOptions=r,this.idKey=(a=(i=t.cookie)===null||i===void 0?void 0:i.key)!==null&&a!==void 0?a:G0.cookie.key,this.traitsKey=(s=(o=t.localStorage)===null||o===void 0?void 0:o.key)!==null&&s!==void 0?s:G0.localStorage.key,this.anonKey="ajs_anonymous_id";var l=t.disable===!0,c=t.persist!==!1;this.localStorage=l||t.localStorageFallbackDisabled||!c||!EW.available()?new _3:new EW,this.cookies=!l&&c&&CW.available()?new CW(r):new _3,this.mem=l?new _3:new vA;var u=this.cookies.get(G0.cookie.oldKey);u&&(u.id&&this.id(u.id),u.traits&&this.traits(u.traits)),A8(this)}return e.prototype.chainGet=function(t){var r,n,i,a=(i=(n=(r=this.localStorage.get(t))!==null&&r!==void 0?r:this.cookies.get(t))!==null&&n!==void 0?n:this.mem.get(t))!==null&&i!==void 0?i:null;return this.trySet(t,typeof a=="number"?a.toString():a)},e.prototype.trySet=function(t,r){return this.localStorage.set(t,r),this.cookies.set(t,r),this.mem.set(t,r),r},e.prototype.chainClear=function(t){this.localStorage.remove(t),this.cookies.remove(t),this.mem.remove(t)},e.prototype.legacySIO=function(){var t=this.cookies.get("_sio");if(!t)return null;var r=t.split("----"),n=r[0],i=r[1];return[n,i]},e.prototype.identify=function(t,r){if(!this.options.disable){r=r??{};var n=this.id();(n===null||n===t)&&(r=Ct(Ct({},this.traits()),r)),t&&this.id(t),this.traits(r)}},e.prototype.logout=function(){this.anonymousId(null),this.id(null),this.traits({})},e.prototype.reset=function(){this.logout(),this.chainClear(this.idKey),this.chainClear(this.anonKey),this.chainClear(this.traitsKey)},e.prototype.load=function(){return new e(this.options,this.cookieOptions)},e.prototype.save=function(){return!0},e.defaults=G0,e}
427(),x$e={persist:!0,cookie:{key:"ajs_group_id"},localStorage:{key:"ajs_group_properties"}},C$e=function(e){Sd(t,e);function t(r,n){r===void 0&&(r=x$e);var i=e.call(this,r,n)||this;return i.anonymousId=function(a){},A8(i),i}return t}(Ise),Gf="This is being deprecated and will be not be available in future releases of Analytics JS",A3=Ose(),O3=A3==null?void 0:A3.analytics;function E$e(e,t){e===void 0&&(e=!1),t===void 0&&(t=!1);var r=e?4:1,n=t?new _8(r,[]):new P8(r,"event-queue");return new S$e(n)}function wu(){console.warn(Gf)}var k$e=function(e){Sd(t,e);function t(r,n,i,a,o){var s=this,l,c,u;s=e.call(this)||this,s._debug=!1,s.initialized=!1,s.user=function(){return s._user},s.init=s.initialize.bind(s),s.log=wu,s.addIntegrationMiddleware=wu,s.listeners=wu,s.addEventListener=wu,s.removeAllListeners=wu,s.removeListener=wu,s.removeEventListener=wu,s.hasListeners=wu,s.add=wu,s.addIntegration=wu;var d=n==null?void 0:n.cookie,f=(l=n==null?void 0:n.disableClientPersistence)!==null&&l!==void 0?l:!1;return s.settings=r,s.settings.timeout=(c=s.settings.timeout)!==null&&c!==void 0?c:300,s.queue=i??E$e(n==null?void 0:n.retryQueue,f),s._user=a??new Ise(f?Ct(Ct({},n==null?void 0:n.user),{persist:!1}):n==null?void 0:n.user,d).load(),s._group=o??new C$e(f?Ct(Ct({},n==null?void 0:n.group),{persist:!1}):n==null?void 0:n.group,d).load(),s.eventFactory=new u$e(s._user),s.integrations=(u=n==null?void 0:n.integrations)!==null&&u!==void 0?u:{},s.options=n??{},A8(s),s}return t.prototype.track=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return Yt(this,void 0,void 0,function(){var i,a,o,s,l,c,u=this;return $t(this,function(d){return i=HYe.apply(void 0,r),a=i[0],o=i[1],s=i[2],l=i[3],c=this.eventFactory.track(a,o,s,this.integrations),[2,this.dispatch(c,l).then(function(f){return u.emit("track",a,f.event.properties,f.event.options),f})]})})},t.prototype.page=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return Yt(this,void 0,void 0,function(){var i,a,o,s,l,c,u,d=this;return $t(this,function(f){return i=yW.apply(void 0,r),a=i[0],o=i[1],s=i[2],l=i[3],c=i[4],u=this.eventFactory.page(a,o,s,l,this.integrations),[2,this.dispatch(u,c).then(function(h){return d.emit("page",a,o,h.event.properties,h.event.options),h})]})})},t.prototype.identify=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return Yt(this,void 0,void 0,function(){var i,a,o,s,l,c,u=this;return $t(this,function(d){return i=bW(this._user).apply(void 0,r),a=i[0],o=i[1],s=i[2],l=i[3],this._user.identify(a,o),c=this.eventFactory.identify(this._user.id(),this._user.traits(),s,this.integrations),[2,this.dispatch(c,l).then(function(f){return u.emit("identify",f.event.userId,f.event.traits,f.event.options),f})]})})},t.prototype.group=function(){for(var r=this,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(n.length===0)return this._group;var a=bW(this._group).apply(void 0,n),o=a[0],s=a[1],l=a[2],c=a[3];this._group.identify(o,s);var u=this._group.id(),d=this._group.traits(),f=this.eventFactory.group(u,d,l,this.integrations);return this.dispatch(f,c).then(function(h){return r.emit("group",h.event.groupId,h.event.traits,h.event.options),h})},t.prototype.alias=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return Yt(this,void 0,void 0,function(){var i,a,o,s,l,c,u=this;return $t(this,function(d){return i=qYe.apply(void 0,r),a=i[0],o=i[1],s=i[2],l=i[3],c=this.eventFactory.alias(a,o,s,this.integrations),[2,this.dispatch(c,l).then(function(f){return u.emit("alias",a,o,f.event.options),f})]})})},t.prototype.screen=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return Yt(this,void 0,void 0,function(){var i,a,o,s,l,c,u,d=this;return $t(this,function(f){return i=yW.apply(void 0,r),a=i[0],o=i[1],s=i[2],l=i[3],c=i[4],u=this.eventFactory.screen(a,o,s,l,this.integrations),[2,this.dispatch(u,c).then(function(h){return d.emit("screen",a,o,h.event.properties,h.event.options),h})]})})},t.prototype.trackClick=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return Yt(this,void 0,void 0,function(){var i,a;return $t(this,function(o){switch(o.label){case 0:return[4,st(()=>import("./auto-track-BeczJVl1.js"),__vite__mapDeps([]))];case 1:return i=o.sent(),[2,(a=i.link).call.apply(a,zo([this],r,!1))]}})})},t.prototype.trackLink=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return Yt(this,void 0,void 0,function(){var i,a;return $t(this,function(o){switch(o.label){case 0:return[4,st(()=>import("./auto-track-BeczJVl1.js"),__vite__mapDeps([]))];case 1:return i=o.sent(),[2,(a=i.link).call.apply(a,zo([this],r,!1))]}})})},t.prototype.trackSubmit=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return Yt(this,void 0,void 0,function(){var i,a;return $t(this,function(o){switch(o.label){case 0:return[4,st(()=>import("./auto-track-BeczJVl1.js"),__vite__mapDeps([]))];case 1:return i=o.sent(),[2,(a=i.form).call.apply(a,zo([this],r,!1))]}})})},t.prototype.trackForm=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return Yt(this,void 0,void 0,function(){var i,a;return $t(this,function(o){switch(o.label){case 0:return[4,st(()=>import("./auto-track-BeczJVl1.js"),__vite__mapDeps([]))];case 1:return i=o.sent(),[2,(a=i.form).call.apply(a,zo([this],r,!1))]}})})},t.prototype.register=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return Yt(this,void 0,void 0,function(){var i,a,o=this;return $t(this,function(s){switch(s.label){case 0:return i=rd.system(),a=r.map(function(l){return o.queue.register(i,l,o)}),[4,Promise.all(a)];case 1:return s.sent(),[2,i]}})})},t.prototype.deregister=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return Yt(this,void 0,void 0,function(){var i,a,o=this;return $t(this,function(s){switch(s.label){case 0:return i=rd.system(),a=r.map(function(l){return Yt(o,void 0,void 0,function(){var c;return $t(this,function(u){return c=this.queue.plugins.find(function(d){return d.name===l}),c?[2,this.queue.deregister(i,c,this)]:(i.log("warn","plugin ".concat(l," not found")),[2])})})}),[4,Promise.all(a)];case 1:return s.sent(),[2,i]}})})},t.prototype.debug=function(r){return r===!1&&localStorage.getItem("debug")&&localStorage.removeItem("debug"),this._debug=r,this},t.prototype.reset=function(){this._user.reset(),this._group.reset()},t.prototype.timeout=function(r){this.settings.timeout=r},t.prototype.dispatch=function(r,n){var i;return Yt(this,void 0,void 0,function(){var a,o,s,l,c;return $t(this,function(u){switch(u.label){case 0:return a=new rd(r),(i=wh.triggered)===null||i===void 0||i.call(wh,a),NT()&&!this.options.retryQueue?[2,a]:(o=Date.now(),this.queue.isEmpty()?[4,this.queue.dispatchSingle(a)]:[3,2]);case 1:return s=u.sent(),[3,4];case 2:return[4,this.queue.dispatch(a)];case 3:s=u.sent(),u.label=4;case 4:return l=Date.now()-o,c=this.settings.timeout,n?[4,jYe(s,n,Math.max((c??300)-l,0),c)]:[3,6];case 5:s=u.sent(),u.label=6;case 6:return this._debug&&s.flush(),[2,s]}})})},t.prototype.addSourceMiddleware=function(r){return Yt(this,void 0,void 0,function(){var n=this;return $t(this,function(i){switch(i.label){case 0:return[4,this.queue.criticalTasks.run(function(){return Yt(n,void 0,void 0,function(){var a,o,s;return $t(this,function(l){switch(l.label){case 0:return[4,st(()=>Promise.resolve().then(()=>SXe),void 0)];case 1:return a=l.sent().sourceMiddlewarePlugin,o={},this.queue.plugins.forEach(function(c){if(c.type==="destination")return o[c.name]=!0}),s=a(r,o),[4,this.register(s)];case 2:return l.sent(),[2]}})})})];case 1:return i.sent(),[2,this]}})})},t.prototype.addDestinationMiddleware=function(r){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var a=this.queue.plugins.filter(function(o){return o.name.toLowerCase()===r.toLowerCase()});return a.forEach(function(o){o.addMiddleware.apply(o,n)}),Promise.resolve(this)},t.prototype.setAnonymousId=function(r){return this._user.anonymousId(r)},t.prototype.queryString=function(r){return Yt(this,void 0,void 0,function(){var n;return $t(this,function(i){switch(i.label){case 0:return[4,st(()=>import("./index-_EOamX50.js"),__vite__mapDeps([]))];case 1:return n=i.sent().queryString,[2,n(this,r)]}})})},t.prototype.use=function(r){return r(this),this},t.prototype.ready=function(r){return r===void 0&&(r=function(n){return n}),Yt(this,void 0,void 0,function(){return $t(this,function(n){return[2,Promise.all(this.queue.plugins.map(function(i){return i.ready?i.ready():Promise.resolve()})).then(function(i){return r(i),i})]})})},t.prototype.noConflict=function(){return console.warn(Gf),window.analytics=O3??this,this},t.prototype.normalize=function(r){return console.warn(Gf),this.eventFactory.normalize(r)},Object.defineProperty(t.prototype,"failedInitializations",{get:function(){return console.warn(Gf),this.queue.failedInitializations}
427,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"VERSION",{get:function(){return dw},enumerable:!1,configurable:!0}),t.prototype.initialize=function(r,n){return Yt(this,void 0,void 0,function(){return $t(this,function(i){return console.warn(Gf),[2,Promise.resolve(this)]})})},t.prototype.pageview=function(r){return Yt(this,void 0,void 0,function(){return $t(this,function(n){switch(n.label){case 0:return console.warn(Gf),[4,this.page({path:r})];case 1:return n.sent(),[2,this]}})})},Object.defineProperty(t.prototype,"plugins",{get:function(){var r;return console.warn(Gf),(r=this._plugins)!==null&&r!==void 0?r:{}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"Integrations",{get:function(){console.warn(Gf);var r=this.queue.plugins.filter(function(n){return n.type==="destination"}).reduce(function(n,i){var a="".concat(i.name.toLowerCase().replace(".","").split(" ").join("-"),"Integration"),o=window[a];if(!o)return n;var s=o.Integration;return s?(n[i.name]=s,n):(n[i.name]=o,n)},{});return r},enumerable:!1,configurable:!0}),t.prototype.push=function(r){var n=this,i=r.shift();i&&!n[i]||n[i].apply(this,r)},t}(T8),kW={};function Rse(){return typeof process>"u"||!kW?{}:kW}var T$e=/(https:\/\/.*)\/analytics\.js\/v1\/(?:.*?)\/(?:platform|analytics.*)?/,_$e=function(){var e,t=Array.prototype.slice.call(document.querySelectorAll("script"));return t.forEach(function(r){var n,i=(n=r.getAttribute("src"))!==null&&n!==void 0?n:"",a=T$e.exec(i);a&&a[1]&&(e=a[1])}),e},JE,P$e=function(){var e,t=JE??((e=window.analytics)===null||e===void 0?void 0:e._cdn);return t},A$e=function(e){window.analytics&&(window.analytics._cdn=e),JE=e},O8=function(){var e=P$e();if(e)return e;var t=_$e();return t||"https://cdn.segment.com"},JEt=function(){var e=O8();return"".concat(e,"/next-integrations")};function O$e(e,t){var r,n=Object.entries((r=t.integrations)!==null&&r!==void 0?r:{}).reduce(function(i,a){var o,s,l=a[0],c=a[1];return typeof c=="object"?Ct(Ct({},i),(o={},o[l]=c,o)):Ct(Ct({},i),(s={},s[l]={},s))},{});return Object.entries(e.integrations).reduce(function(i,a){var o,s=a[0],l=a[1];return Ct(Ct({},i),(o={},o[s]=Ct(Ct({},l),n[s]),o))},{})}var I$e=function(){var e,t,r=new Promise(function(n,i){e=n,t=i});return{resolve:e,reject:t,promise:r}};function Fse(){var e=document.getElementsByTagName("link"),t="";return Array.prototype.slice.call(e).forEach(function(r){r.getAttribute("rel")==="canonical"&&(t=r.getAttribute("href"))}),t}function R$e(){var e=Fse();if(!e)return window.location.pathname;var t=document.createElement("a");t.href=e;var r=t.pathname.startsWith("/")?t.pathname:"/"+t.pathname;return r}function F$e(e){e===void 0&&(e="");var t=Fse();if(t)return t.includes("?")?t:"".concat(t).concat(e);var r=window.location.href,n=r.indexOf("#");return n===-1?r:r.slice(0,n)}function Dse(){return{path:R$e(),referrer:document.referrer,search:location.search,title:document.title,url:F$e(location.search)}}function A1(e){var t,r=e.event;r.context=r.context||{};var n=Dse(),i=(t=r.properties)!==null&&t!==void 0?t:{};return Object.keys(n).forEach(function(a){i[a]&&(n[a]=i[a])}),r.context.page&&(n=Object.assign({},n,r.context.page)),r.context=Object.assign({},r.context,{page:n}),e.event=r,e}var D$e={name:"Page Enrichment",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},type:"before",page:function(e){return e.event.properties=Object.assign({},Dse(),e.event.properties),e.event.name&&(e.event.properties.name=e.event.name),A1(e)},alias:A1,track:A1,identify:A1,group:A1};function Nse(e){var t=Array.prototype.slice.call(window.document.querySelectorAll("script"));return t.find(function(r){return r.src===e})}function I3(e,t){var r=Nse(e);if(r!==void 0){var n=r==null?void 0:r.getAttribute("status");if(n==="loaded")return Promise.resolve(r);if(n==="loading")return new Promise(function(i,a){r.addEventListener("load",function(){return i(r)}),r.addEventListener("error",function(o){return a(o)})})}return new Promise(function(i,a){var o,s=window.document.createElement("script");s.type="text/javascript",s.src=e,s.async=!0,s.setAttribute("status","loading");for(var l=0,c=Object.entries({});l<c.length;l++){var u=c[l],d=u[0],f=u[1];s.setAttribute(d,f)}
vendor: 32,918 bytes, line 427
427s.onload=function(){s.onerror=s.onload=null,s.setAttribute("status","loaded"),i(s)},s.onerror=function(){s.onerror=s.onload=null,s.setAttribute("status","error"),a(new Error("Failed to load ".concat(e)))};var h=window.document.getElementsByTagName("script")[0];(o=h.parentElement)===null||o===void 0||o.insertBefore(s,h)})}function ekt(e){var t=Nse(e);return t!==void 0&&t.remove(),Promise.resolve()}var Kf={},wd={},I8={},Mse={exports:{}};(function(e){e.exports=t(r),e.exports.find=e.exports,e.exports.replace=function(s,l,c,u){return t(i).call(this,s,l,c,u),s},e.exports.del=function(s,l,c){return t(n).call(this,s,l,null,c),s};function t(s){return function(l,c,u,d){var f=d&&o(d.normalizer)?d.normalizer:a;c=f(c);for(var h,p=!1;!p;)g();function g(){for(h in l){var v=f(h);if(c.indexOf(v)===0){var m=c.substr(v.length);if(m.charAt(0)==="."||m.length===0){c=m.substr(1);var b=l[h];if(b==null){p=!0;return}if(!c.length){p=!0;return}l=b;return}}}h=void 0,p=!0}if(h)return l==null?l:s(l,h,u)}}function r(s,l){if(s.hasOwnProperty(l))return s[l]}function n(s,l){return s.hasOwnProperty(l)&&delete s[l],s}function i(s,l,c){return s.hasOwnProperty(l)&&(s[l]=c),s}function a(s){return s.replace(/[^a-zA-Z0-9\.]+/g,"").toLowerCase()}function o(s){return typeof s=="function"}})(Mse);var yA=Mse.exports,N$e=yn&&yn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(I8,"__esModule",{value:!0});var Lf=N$e(yA);function K0(e,t){return function(){var r=this.traits(),n=this.properties?this.properties():{};return Lf.default(r,"address."+e)||Lf.default(r,e)||(t?Lf.default(r,"address."+t):null)||(t?Lf.default(r,t):null)||Lf.default(n,"address."+e)||Lf.default(n,e)||(t?Lf.default(n,"address."+t):null)||(t?Lf.default(n,t):null)}}function M$e(e){e.zip=K0("postalCode","zip"),e.country=K0("country"),e.street=K0("street"),e.state=K0("state"),e.city=K0("city"),e.region=K0("region")}I8.default=M$e;var bA={};Object.defineProperty(bA,"__esModule",{value:!0});bA.clone=void 0;function dD(e){if(Object.prototype.toString.call(e)==="[object Object]"){var t={};for(var r in e)t[r]=dD(e[r]);return t}else return Array.isArray(e)?e.map(dD):e}bA.clone=dD;var R8={};Object.defineProperty(R8,"__esModule",{value:!0});var L$e={Salesforce:!0};function B$e(e){return!L$e[e]}R8.default=B$e;var SA={},Lse=/^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;SA.parse=function(e){var t=[1,5,6,7,11,12],r=Lse.exec(e),n=0;if(!r)return new Date(e);for(var i=0,a;a=t[i];i++)r[a]=parseInt(r[a],10)||0;r[2]=parseInt(r[2],10)||1,r[3]=parseInt(r[3],10)||1,r[2]--,r[8]=r[8]?(r[8]+"00").substring(0,3):0,r[4]===" "?n=new Date().getTimezoneOffset():r[9]!=="Z"&&r[10]&&(n=r[11]*60+r[12],r[10]==="+"&&(n=0-n));var o=Date.UTC(r[1],r[2],r[3],r[5],r[6]+n,r[7],r[8]);return new Date(o)};SA.is=function(e,t){return typeof e!="string"||t&&/^\d{4}-\d{2}-\d{2}/.test(e)===!1?!1:Lse.test(e)};var F8={},U$e=/\d{13}/;F8.is=function(e){return U$e.test(e)};F8.parse=function(e){return e=parseInt(e,10),new Date(e)};var D8={},z$e=/\d{10}/;D8.is=function(e){return z$e.test(e)};D8.parse=function(e){var t=parseInt(e,10)*1e3;return new Date(t)};var TW=SA,_W=F8,PW=D8,H$e=Object.prototype,Bse=H$e.toString;function q$e(e){return Bse.call(e)==="[object Date]"}function W$e(e){return Bse.call(e)==="[object Number]"}var N8=function(t){return q$e(t)?t:W$e(t)?new Date(V$e(t)):TW.is(t)?TW.parse(t):_W.is(t)?_W.parse(t):PW.is(t)?PW.parse(t):new Date(t)};function V$e(e){return e<315576e5?e*1e3:e}var AW=SA,j$e=M8;function M8(e,t){return t===void 0&&(t=!0),e&&typeof e=="object"?G$e(e,t):Array.isArray(e)?K$e(e,t):AW.is(e,t)?AW.parse(e):e}function G$e(e,t){return Object.keys(e).forEach(function(r){e[r]=M8(e[r],t)}),e}function K$e(e,t){return e.forEach(function(r,n){e[n]=M8(r,t)}),e}var Vx=yn&&yn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(wd,"__esModule",{value:!0});wd.Facade=void 0;var Z$e=Vx(I8),Kv=bA,Y$e=Vx(R8),$$e=Vx(N8),fD=Vx(yA),X$e=Vx(j$e);function ml(e,t){t=t||{},this.raw=Kv.clone(e),"clone"in t||(t.clone=!0),t.clone&&(e=Kv.clone(e)),"traverse"in t||(t.traverse=!0),"timestamp"in e?e.timestamp=$$e.default(e.timestamp):e.timestamp=new Date,t.traverse&&X$e.default(e),this.opts=t,this.obj=e}wd.Facade=ml;var ti=ml.prototype;ti.proxy=function(e){var t=e.split(".");e=t.shift();var r=this[e]||this.field(e);return r&&(typeof r=="function"&&(r=r.call(this)||{}),t.length===0?this.opts.clone?hD(r):r:(r=fD.default(r,t.join(".")),this.opts.clone?hD(r):r))};ti.field=function(e){var t=this.obj[e];return this.opts.clone?hD(t):t};ml.proxy=function(e){return function(){return this.proxy(e)}};ml.field=function(e){return function(){return this.field(e)}};ml.multi=function(e){return function(){var t=this.proxy(e+"s");if(Array.isArray(t))return t;var r=this.proxy(e);return r&&(r=[this.opts.clone?Kv.clone(r):r]),r||[]}};ml.one=function(e){return function(){var t=this.proxy(e);if(t)return t;var r=this.proxy(e+"s");if(Array.isArray(r))return r[0]}};ti.json=function(){var e=this.opts.clone?Kv.clone(this.obj):this.obj;return this.type&&(e.type=this.type()),e};ti.rawEvent=function(){return this.raw};ti.options=function(e){var t=this.obj.options||this.obj.context||{},r=this.opts.clone?Kv.clone(t):t;if(!e)return r;if(this.enabled(e)){var n=this.integrations(),i=n[e]||fD.default(n,e);return typeof i!="object"&&(i=fD.default(this.options(),e)),typeof i=="object"?i:{}}};ti.context=ti.options;ti.enabled=function(e){var t=this.proxy("options.providers.all");typeof t!="boolean"&&(t=this.proxy("options.all")),typeof t!="boolean"&&(t=this.proxy("integrations.all")),typeof t!="boolean"&&(t=!0);var r=t&&Y$e.default(e),n=this.integrations();if(n.providers&&n.providers.hasOwnProperty(e)&&(r=n.providers[e]),n.hasOwnProperty(e)){var i=n[e];typeof i=="boolean"?r=i:r=!0}return!!r};ti.integrations=function(){return this.obj.integrations||this.proxy("options.providers")||this.options()};ti.active=function(){var e=this.proxy("options.active");return e==null&&(e=!0),e};ti.anonymousId=function(){return this.field("anonymousId")||this.field("sessionId")};ti.sessionId=ti.anonymousId;ti.groupId=ml.proxy("options.groupId");ti.traits=function(e){var t=this.proxy("options.traits")||{},r=this.userId();e=e||{},r&&(t.id=r);for(var n in e){var i=this[n]==null?this.proxy("options.traits."+n):this[n]();i!=null&&(t[e[n]]=i,delete t[n])}return t};ti.library=function(){var e=this.proxy("options.library");return e?typeof e=="string"?{name:e,version:null}:e:{name:"unknown",version:null}};ti.device=function(){var e=this.proxy("context.device");(typeof e!="object"||e===null)&&(e={});var t=this.library().name;return e.type||(t.indexOf("ios")>-1&&(e.type="ios"),t.indexOf("android")>-1&&(e.type="android")),e};ti.userAgent=ml.proxy("context.userAgent");ti.timezone=ml.proxy("context.timezone");ti.timestamp=ml.field("timestamp");ti.channel=ml.field("channel");ti.ip=ml.proxy("context.ip");ti.userId=ml.field("userId");Z$e.default(ti);function hD(e){return Kv.clone(e)}var wA={},pD={exports:{}};typeof Object.create=="function"?pD.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:pD.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}};var g0=pD.exports,Q$e=yn&&yn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(wA,"__esModule",{value:!0});wA.Alias=void 0;var J$e=Q$e(g0),Use=wd;function nu(e,t){Use.Facade.call(this,e,t)}wA.Alias=nu;J$e.default(nu,Use.Facade);nu.prototype.action=function(){return"alias"};nu.prototype.type=nu.prototype.action;nu.prototype.previousId=function(){return this.field("previousId")||this.field("from")};nu.prototype.from=nu.prototype.previousId;nu.prototype.userId=function(){return this.field("userId")||this.field("to")};nu.prototype.to=nu.prototype.userId;var xA={},Oy={};Object.defineProperty(Oy,"__esModule",{value:!0});var eXe=/.+\@.+\..+/;function tXe(e){return eXe.test(e)}Oy.default=tXe;var L8=yn&&yn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(xA,"__esModule",{value:!0});xA.Group=void 0;var rXe=L8(g0),nXe=L8(Oy),iXe=L8(N8),Iy=wd;function B8(e,t){Iy.Facade.call(this,e,t)}xA.Group=B8;rXe.default(B8,Iy.Facade);var iu=B8.prototype;iu.action=function(){return"group"};iu.type=iu.action;iu.groupId=Iy.Facade.field("groupId");iu.created=function(){var e=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(e)return iXe.default(e)};iu.email=function(){var e=this.proxy("traits.email");if(e)return e;var t=this.groupId();if(nXe.default(t))return t};iu.traits=function(e){var t=this.properties(),r=this.groupId();e=e||{},r&&(t.id=r);for(var n in e){var i=this[n]==null?this.proxy("traits."+n):this[n]();i!=null&&(t[e[n]]=i,delete t[n])}return t};iu.name=Iy.Facade.proxy("traits.name");iu.industry=Iy.Facade.proxy("traits.industry");iu.employees=Iy.Facade.proxy("traits.employees");iu.properties=function(){return this.field("traits")||this.field("properties")||{}};var jx={},CA=yn&&yn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(jx,"__esModule",{value:!0});jx.Identify=void 0;var xd=wd,ov=CA(yA),aXe=CA(g0),oXe=CA(Oy),zse=CA(N8),vm=function(e){return e.trim()};function U8(e,t){xd.Facade.call(this,e,t)}jx.Identify=U8;aXe.default(U8,xd.Facade);var ri=U8.prototype;ri.action=function(){return"identify"};ri.type=ri.action;ri.traits=function(e){var t=this.field("traits")||{},r=this.userId();e=e||{},r&&(t.id=r);for(var n in e){var i=this[n]==null?this.proxy("traits."+n):this[n]();i!=null&&(t[e[n]]=i,n!==e[n]&&delete t[n])}return t};ri.email=function(){var e=this.proxy("traits.email");if(e)return e;var t=this.userId();if(oXe.default(t))return t};ri.created=function(){var e=this.proxy("traits.created")||this.proxy("traits.createdAt");if(e)return zse.default(e)};ri.companyCreated=function(){var e=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(e)return zse.default(e)};ri.companyName=function(){return this.proxy("traits.company.name")};ri.name=function(){var e=this.proxy("traits.name");if(typeof e=="string")return vm(e);var t=this.firstName(),r=this.lastName();if(t&&r)return vm(t+" "+r)};ri.firstName=function(){var e=this.proxy("traits.firstName");if(typeof e=="string")return vm(e);var t=this.proxy("traits.name");if(typeof t=="string")return vm(t).split(" ")[0]};ri.lastName=function(){var e=this.proxy("traits.lastName");if(typeof e=="string")return vm(e);var t=this.proxy("traits.name");if(typeof t=="string"){var r=vm(t).indexOf(" ");if(r!==-1)return vm(t.substr(r+1))}};ri.uid=function(){return this.userId()||this.username()||this.email()};ri.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")};ri.age=function(){var e=this.birthday(),t=ov.default(this.traits(),"age");if(t!=null)return t;if(e instanceof Date){var r=new Date;return r.getFullYear()-e.getFullYear()}};ri.avatar=function(){var e=this.traits();return ov.default(e,"avatar")||ov.default(e,"photoUrl")||ov.default(e,"avatarUrl")};ri.position=function(){var e=this.traits();return ov.default(e,"position")||ov.default(e,"jobTitle")};ri.username=xd.Facade.proxy("traits.username");ri.website=xd.Facade.one("traits.website");ri.websites=xd.Facade.multi("traits.website");ri.phone=xd.Facade.one("traits.phone");ri.phones=xd.Facade.multi("traits.phone");ri.address=xd.Facade.proxy("traits.address");ri.gender=xd.Facade.proxy("traits.gender");ri.birthday=xd.Facade.proxy("traits.birthday");var Ry={},z8=yn&&yn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Ry,"__esModule",{value:!0});Ry.Track=void 0;var sXe=z8(g0),Ea=wd,lXe=jx,cXe=z8(Oy),Hse=z8(yA);function H8(e,t){Ea.Facade.call(this,e,t)}Ry.Track=H8;sXe.default(H8,Ea.Facade);var Or=H8.prototype;Or.action=function(){return"track"};Or.type=Or.action;Or.event=Ea.Facade.field("event");Or.value=Ea.Facade.proxy("properties.value");Or.category=Ea.Facade.proxy("properties.category");Or.id=Ea.Facade.proxy("properties.id");Or.productId=function(){return this.proxy("properties.product_id")||this.proxy("properties.productId")};Or.promotionId=function(){return this.proxy("properties.promotion_id")||this.proxy("properties.promotionId")};Or.cartId=function(){return this.proxy("properties.cart_id")||this.proxy("properties.cartId")};Or.checkoutId=function(){return this.proxy("properties.checkout_id")||this.proxy("properties.checkoutId")};Or.paymentId=function(){return this.proxy("properties.payment_id")||this.proxy("properties.paymentId")};Or.couponId=function(){return this.proxy("properties.coupon_id")||this.proxy("properties.couponId")};Or.wishlistId=function(){return this.proxy("properties.wishlist_id")||this.proxy("properties.wishlistId")};Or.reviewId=function(){return this.proxy("properties.review_id")||this.proxy("properties.reviewId")};Or.orderId=function(){return this.proxy("properties.id")||this.proxy("properties.order_id")||this.proxy("properties.orderId")};Or.sku=Ea.Facade.proxy("properties.sku");Or.tax=Ea.Facade.proxy("properties.tax");Or.name=Ea.Facade.proxy("properties.name");Or.price=Ea.Facade.proxy("properties.price");Or.total=Ea.Facade.proxy("properties.total");Or.repeat=Ea.Facade.proxy("properties.repeat");Or.coupon=Ea.Facade.proxy("properties.coupon");Or.shipping=Ea.Facade.proxy("properties.shipping");Or.discount=Ea.Facade.proxy("properties.discount");Or.shippingMethod=function(){return this.proxy("properties.shipping_method")||this.proxy("properties.shippingMethod")};Or.paymentMethod=function(){return this.proxy("properties.payment_method")||this.proxy("properties.paymentMethod")};Or.description=Ea.Facade.proxy("properties.description");Or.plan=Ea.Facade.proxy("properties.plan");Or.subtotal=function(){var e=Hse.default(this.properties(),"subtotal"),t=this.total()||this.revenue();if(e)return e;if(!t)return 0;if(this.total()){var r=this.tax();r&&(t-=r),r=this.shipping(),r&&(t-=r),r=this.discount(),r&&(t+=r)}return t};Or.products=function(){var e=this.properties(),t=Hse.default(e,"products");return Array.isArray(t)?t.filter(function(r){return r!==null}):[]};Or.quantity=function(){var e=this.obj.properties||{};return e.quantity||1};Or.currency=function(){var e=this.obj.properties||{};return e.currency||"USD"};Or.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")};Or.query=Ea.Facade.proxy("options.query");Or.properties=function(e){var t=this.field("properties")||{};e=e||{};for(var r in e){var n=this[r]==null?this.proxy("properties."+r):this[r]();n!=null&&(t[e[r]]=n,delete t[r])}return t};Or.username=function(){return this.proxy("traits.username")||this.proxy("properties.username")||this.userId()||this.sessionId()};Or.email=function(){var e=this.proxy("traits.email")||this.proxy("properties.email")||this.proxy("options.traits.email");if(e)return e;var t=this.userId();if(cXe.default(t))return t};Or.revenue=function(){var e=this.proxy("properties.revenue"),t=this.event(),r=/^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i;return!e&&t&&t.match(r)&&(e=this.proxy("properties.total")),uXe(e)};Or.cents=function(){var e=this.revenue();return typeof e!="number"?this.value()||0:e*100};Or.identify=function(){var e=this.json();return e.traits=this.traits(),new lXe.Identify(e,this.opts)};function uXe(e){if(e){if(typeof e=="number")return e;if(typeof e=="string"&&(e=e.replace(/\$/g,""),e=parseFloat(e),!isNaN(e)))return e}}var Gx={},qse=yn&&yn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Gx,"__esModule",{value:!0});Gx.Page=void 0;var dXe=qse(g0),v0=wd,fXe=Ry,hXe=qse(Oy);function q8(e,t){v0.Facade.call(this,e,t)}Gx.Page=q8;dXe.default(q8,v0.Facade);var ks=q8.prototype;ks.action=function(){return"page"};ks.type=ks.action;ks.category=v0.Facade.field("category");ks.name=v0.Facade.field("name");ks.title=v0.Facade.proxy("properties.title");ks.path=v0.Facade.proxy("properties.path");ks.url=v0.Facade.proxy("properties.url");ks.referrer=function(){return this.proxy("context.referrer.url")||this.proxy("context.page.referrer")||this.proxy("properties.referrer")};ks.properties=function(e){var t=this.field("properties")||{},r=this.category(),n=this.name();e=e||{},r&&(t.category=r),n&&(t.name=n);for(var i in e){var a=this[i]==null?this.proxy("properties."+i):this[i]();a!=null&&(t[e[i]]=a,i!==e[i]&&delete t[i])}return t};ks.email=function(){var e=this.proxy("context.traits.email")||this.proxy("properties.email");if(e)return e;var t=this.userId();if(hXe.default(t))return t};ks.fullName=function(){var e=this.category(),t=this.name();return t&&e?e+" "+t:t};ks.event=function(e){return e?"Viewed "+e+" Page":"Loaded a Page"};ks.track=function(e){var t=this.json();return t.event=this.event(e),t.timestamp=this.timestamp(),t.properties=this.properties(),new fXe.Track(t,this.opts)};var EA={},pXe=yn&&yn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(EA,"__esModule",{value:!0});EA.Screen=void 0;var mXe=pXe(g0),Wse=Gx,gXe=Ry;function Vm(e,t){Wse.Page.call(this,e,t)}EA.Screen=Vm;mXe.default(Vm,Wse.Page);Vm.prototype.action=function(){return"screen"};Vm.prototype.type=Vm.prototype.action;Vm.prototype.event=function(e){return e?"Viewed "+e+" Screen":"Loaded a Screen"};Vm.prototype.track=function(e){var t=this.json();return t.event=this.event(e),t.timestamp=this.timestamp(),t.properties=this.properties(),new gXe.Track(t,this.opts)};var kA={},vXe=yn&&yn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(kA,"__esModule",{value:!0});kA.Delete=void 0;var yXe=vXe(g0),Vse=wd;function W8(e,t){Vse.Facade.call(this,e,t)}kA.Delete=W8;yXe.default(W8,Vse.Facade);W8.prototype.type=function(){return"delete"};(function(e){var t=yn&&yn.__assign||function(){return t=Object.assign||function(u){for(var d,f=1,h=arguments.length;f<h;f++){d=arguments[f];for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(u[p]=d[p])}return u},t.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.Delete=e.Screen=e.Page=e.Track=e.Identify=e.Group=e.Alias=e.Facade=void 0;var r=wd;Object.defineProperty(e,"Facade",{enumerable:!0,get:function(){return r.Facade}});var n=wA;Object.defineProperty(e,"Alias",{enumerable:!0,get:function(){return n.Alias}});var i=xA;Object.defineProperty(e,"Group",{enumerable:!0,get:function(){return i.Group}});var a=jx;Object.defineProperty(e,"Identify",{enumerable:!0,get:function(){return a.Identify}});var o=Ry;Object.defineProperty(e,"Track",{enumerable:!0,get:function(){return o.Track}});var s=Gx;Object.defineProperty(e,"Page",{enumerable:!0,get:function(){return s.Page}});var l=EA;Object.defineProperty(e,"Screen",{enumerable:!0,get:function(){return l.Screen}});var c=kA;Object.defineProperty(e,"Delete",{enumerable:!0,get:function(){return c.Delete}}),e.default=t(t({},r.Facade),{Alias:n.Alias,Group:i.Group,Identify:a.Identify,Track:o.Track,Page:s.Page,Screen:l.Screen,Delete:c.Delete})})(Kf);function MT(e,t){var r=new Kf.Facade(e,t);return e.type==="track"&&(r=new Kf.Track(e,t)),e.type==="identify"&&(r=new Kf.Identify(e,t)),e.type==="page"&&(r=new Kf.Page(e,t)),e.type==="alias"&&(r=new Kf.Alias(e,t)),e.type==="group"&&(r=new Kf.Group(e,t)),e.type==="screen"&&(r=new Kf.Screen(e,t)),Object.defineProperty(r,"obj",{value:e,writable:!0}),r}function jse(e,t,r){return Yt(this,void 0,void 0,function(){function n(c,u){return Yt(this,void 0,void 0,function(){var d,f,h;return $t(this,function(p){switch(p.label){case 0:return d=!1,f=null,[4,gA(u({payload:MT(c,{clone:!0,traverse:!1}),integration:e,next:function(g){d=!0,g===null&&(f=null),g&&(f=g.obj)}}))];case 1:return p.sent(),!d&&f!==null&&(f=f,f.integrations=Ct(Ct({},c.integrations),(h={},h[e]=!1,h))),[2,f]}})})}var i,a,o,s,l;return $t(this,function(c){switch(c.label){case 0:i=MT(t,{clone:!0,traverse:!1}).rawEvent(),a=0,o=r,c.label=1;case 1:return a<o.length?(s=o[a],[4,n(i,s)]):[3,4];case 2:if(l=c.sent(),l===null)return[2,null];i=l,c.label=3;case 3:return a++,[3,1];case 4:return[2,i]}})})}function bXe(e,t){function r(n){return Yt(this,void 0,void 0,function(){var i;return $t(this,function(a){switch(a.label){case 0:return i=!1,[4,gA(e({payload:MT(n.event,{clone:!0,traverse:!1}),integrations:t??{},next:function(o){i=!0,o&&(n.event=o.obj)}}))];case 1:if(a.sent(),!i)throw new Wm({retry:!1,type:"middleware_cancellation",reason:"Middleware `next` function skipped"});return[2,n]}})})}return{name:"Source Middleware ".concat(e.name),type:"before",version:"0.1.0",isLoaded:function(){return!0},load:function(n){return Promise.resolve(n)},track:r,page:r,identify:r,alias:r,group:r}}const SXe=Object.freeze(Object.defineProperty({__proto__:null,applyDestinationMiddleware:jse,sourceMiddlewarePlugin:bXe},Symbol.toStringTag,{value:"Module"}));var wXe=function(){function e(t,r){this.version="1.0.0",this.alternativeNames=[],this.middleware=[],this.alias=this._createMethod("alias"),this.group=this._createMethod("group"),this.identify=this._createMethod("identify"),this.page=this._createMethod("page"),this.screen=this._createMethod("screen"),this.track=this._createMethod("track"),this.action=r,this.name=t,this.type=r.type,this.alternativeNames.push(r.name)}return e.prototype.addMiddleware=function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];this.type==="destination"&&(t=this.middleware).push.apply(t,r)},e.prototype.transform=function(t){return Yt(this,void 0,void 0,function(){var r;return $t(this,function(n){switch(n.label){case 0:return[4,jse(this.name,t.event,this.middleware)];case 1:return r=n.sent(),r===null&&t.cancel(new Wm({retry:!1,reason:"dropped by destination middleware"})),[2,new rd(r)]}})})},e.prototype._createMethod=function(t){var r=this;return function(n){return Yt(r,void 0,void 0,function(){var i;return $t(this,function(a){switch(a.label){case 0:return this.action[t]?(i=n,this.type!=="destination"?[3,2]:[4,this.transform(n)]):[2,n];case 1:i=a.sent(),a.label=2;case 2:return[4,this.action[t](i)];case 3:return a.sent(),[2,n]}})})}},e.prototype.isLoaded=function(){return this.action.isLoaded()},e.prototype.ready=function(){return this.action.ready?this.action.ready():Promise.resolve()},e.prototype.load=function(t,r){return this.action.load(t,r)},e.prototype.unload=function(t,r){var n,i;return(i=(n=this.action).unload)===null||i===void 0?void 0:i.call(n,t,r)},e}();function xXe(e){if(!Array.isArray(e))throw new Error("Not a valid list of plugins");var t=["load","isLoaded","name","version","type"];return e.forEach(function(r){t.forEach(function(n){var i;if(r[n]===void 0)throw new Error("Plugin: ".concat((i=r.name)!==null&&i!==void 0?i:"unknown"," missing required function ").concat(n))})}),!0}function CXe(e,t,r,n,i){var a,o,s;return Yt(this,void 0,void 0,function(){var l,c,u,d,f=this;return $t(this,function(h){switch(h.label){case 0:return l=[],c=O8(),u=(o=(a=e.middlewareSettings)===null||a===void 0?void 0:a.routingRules)!==null&&o!==void 0?o:[],d=((s=e.remotePlugins)!==null&&s!==void 0?s:[]).map(function(p){return Yt(f,void 0,void 0,function(){var g,v,m,b,y,w,x,C,T;return $t(this,function(_){switch(_.label){case 0:if(t.All===!1&&!t[p.name]||t[p.name]===!1)return[2];_.label=1;case 1:if(_.trys.push([1,12,,13]),!n)return[3,7];g=p.url.split("/"),v=g[g.length-2],m=p.url.replace(v,btoa(v).replace(/=/g,"")),_.label=2;case 2:return _.trys.push([2,4,,6]),[4,I3(m.replace("https://cdn.segment.com",c))];case 3:return _.sent(),[3,6];case 4:return _.sent(),[4,I3(p.url.replace("https://cdn.segment.com",c))];case 5:return _.sent(),[3,6];case 6:return[3,9];case 7:return[4,I3(p.url.replace("https://cdn.segment.com",c))];case 8:_.sent(),_.label=9;case 9:return b=p.libraryName,typeof window[b]!="function"?[3,11]:(y=window[b],[4,gA(y(Ct(Ct({},p.settings),r[p.name])))]);case 10:w=_.sent(),x=Array.isArray(w)?w:[w],xXe(x),C=u.filter(function(P){return P.destinationName===p.creationName}),x.forEach(function(P){var F=new wXe(p.creationName,P);C.length&&i&&P.type==="destination"&&F.addMiddleware(i),l.push(F)}),_.label=11;case 11:return[3,13];case 12:return T=_.sent(),console.warn("Failed to load Remote Plugin",T),[3,13];case 13:return[2]}})})}),[4,Promise.all(d)];case 1:return h.sent(),[2,l.filter(Boolean)]}})})}var EXe=function(e){var t=!1;document.addEventListener("pagehide",function(){t||(t=!0,e())}),document.addEventListener("visibilitychange",function(){if(document.visibilityState=="hidden"){if(t)return;t=!0,e()}else t=!1})},Gse=Ay;typeof window<"u"&&(Gse=window.fetch||Ay);var kXe=500;function Kse(e){var t=encodeURI(JSON.stringify(e)).split(/%..|./).length-1;return t/1024}function TXe(e){return Kse(e)>=kXe-50}function _Xe(e){var t=[],r=0;return e.forEach(function(n){var i=Kse(t[r]);i>=64&&r++,t[r]?t[r].push(n):t[r]=[n]}),t}function PXe(e,t){var r,n,i=[],a=!1,o=(r=t==null?void 0:t.size)!==null&&r!==void 0?r:10,s=(n=t==null?void 0:t.timeout)!==null&&n!==void 0?n:5e3;function l(h){var p;if(h.length!==0){var g=(p=h[0])===null||p===void 0?void 0:p.writeKey;return Gse("https://".concat(e,"/b"),{keepalive:a,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify({batch:h,writeKey:g})})}}function c(){return Yt(this,void 0,void 0,function(){var h;return $t(this,function(p){return i.length?(h=i,i=[],[2,l(h)]):[2]})})}var u;function d(){u||(u=setTimeout(function(){u=void 0,c().catch(console.error)},s))}EXe(function(){if(a=!0,i.length){var h=_Xe(i).map(l);Promise.all(h).catch(console.error)}});function f(h,p){return Yt(this,void 0,void 0,function(){var g;return $t(this,function(v){return i.push(p),g=i.length>=o||TXe(i),[2,g||a?c():d()]})})}return{dispatch:f}}var Zse=Ay;typeof window<"u"&&(Zse=window.fetch||Ay);function AXe(){function e(t,r){return Zse(t,{headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify(r)})}return{dispatch:e}}var OXe=function(e,t){return Yt(void 0,void 0,void 0,function(){var r;return $t(this,function(n){return r=function(i){return Yt(void 0,void 0,void 0,function(){var a;return $t(this,function(o){switch(o.label){case 0:return e(i)?(a=r,[4,t()]):[3,2];case 1:return[2,a.apply(void 0,[o.sent()])];case 2:return[2]}})})},[2,r(void 0)]})})};function IXe(e,t){return Yt(this,void 0,void 0,function(){var r,n=this;return $t(this,function(i){switch(i.label){case 0:return r=[],NT()?[2,t]:[4,OXe(function(){return t.length>0&&!NT()},function(){return Yt(n,void 0,void 0,function(){var a,o,s;return $t(this,function(l){switch(l.label){case 0:return a=t.pop(),a?[4,zb(a,e)]:[2];case 1:return o=l.sent(),s=o instanceof rd,s||r.push(a),[2]}})})})];case 1:return i.sent(),r.map(function(a){return t.pushWithBackoff(a)}),[2,t]}})})}function RC(e,t,r,n){var i=this;e||setTimeout(function(){return Yt(i,void 0,void 0,function(){var a,o;return $t(this,function(s){switch(s.label){case 0:return a=!0,[4,IXe(r,t)];case 1:return o=s.sent(),a=!1,t.todo>0&&n(a,o,r,n),[2]}})})},Math.random()*5e3)}function RXe(e,t){var r,n,i,a,o=e.user();return t.previousId=(i=(n=(r=t.previousId)!==null&&r!==void 0?r:t.from)!==null&&n!==void 0?n:o.id())!==null&&i!==void 0?i:o.anonymousId(),t.userId=(a=t.userId)!==null&&a!==void 0?a:t.to,delete t.from,delete t.to,t}function FXe(e,t,r){var n,i,a,o,s=e.options.disableClientPersistence?new _8(e.queue.queue.maxAttempts,[]):new P8(e.queue.queue.maxAttempts,"dest-Segment.io"),l=!1,c=(n=t==null?void 0:t.apiHost)!==null&&n!==void 0?n:"api.segment.io/v1",u=(i=t==null?void 0:t.protocol)!==null&&i!==void 0?i:"https",d="".concat(u,"://").concat(c),f=((a=t==null?void 0:t.deliveryStrategy)===null||a===void 0?void 0:a.strategy)==="batching"?PXe(c,(o=t==null?void 0:t.deliveryStrategy)===null||o===void 0?void 0:o.config):AXe();function h(g){return Yt(this,void 0,void 0,function(){var v,m;return $t(this,function(b){return NT()?(s.push(g),RC(l,s,p,RC),[2,g]):(v=g.event.type.charAt(0),m=MT(g.event).json(),g.event.type==="track"&&delete m.traits,g.event.type==="alias"&&(m=RXe(e,m)),[2,f.dispatch("".concat(d,"/").concat(v),o$e(e,m,t,r)).then(function(){return g}).catch(function(y){return(y.type==="error"||y.message==="Failed to fetch")&&(s.push(g),RC(l,s,p,RC)),g})])})})}var p={name:"Segment.io",type:"after",version:"0.1.0",isLoaded:function(){return!0},load:function(){return Promise.resolve()},track:h,identify:h,page:h,alias:h,group:h};return p}var Yse=function(e,t,r){r.getCalls(e).forEach(function(n){V8(t,n).catch(console.error)})},DXe=function(e,t){return Yt(void 0,void 0,void 0,function(){var r,n,i;return $t(this,function(a){switch(a.label){case 0:r=0,n=t.getCalls("addSourceMiddleware"),a.label=1;case 1:return r<n.length?(i=n[r],[4,V8(e,i).catch(console.error)]):[3,4];case 2:a.sent(),a.label=3;case 3:return r++,[3,1];case 4:return[2]}})})},NXe=Yse.bind(void 0,"on"),MXe=Yse.bind(void 0,"setAnonymousId"),LXe=function(e,t){t.toArray().forEach(function(r){setTimeout(function(){V8(e,r).catch(console.error)},0)})},BXe=function(){function e(){this._value={}}return e.prototype.toArray=function(){var t;return(t=[]).concat.apply(t,Object.values(this._value))},e.prototype.getCalls=function(t){var r;return(r=this._value[t])!==null&&r!==void 0?r:[]},e.prototype.push=function(){for(var t=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.forEach(function(i){t._value[i.method]?t._value[i.method].push(i):t._value[i.method]=[i]}),this},e.prototype.clear=function(){return this._value={},this},e}();function V8(e,t){return Yt(this,void 0,void 0,function(){var r,n;return $t(this,function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),t.called?[2,void 0]:(t.called=!0,r=e[t.method].apply(e,t.args),Ase(r)?[4,r]:[3,2]);case 1:i.sent(),i.label=2;case 2:return t.resolve(r),[3,4];case 3:return n=i.sent(),t.reject(n),[3,4];case 4:return[2]}})})}var UXe=function(){function e(t){var r=this;this._preInitBuffer=new BXe,this.trackSubmit=this._createMethod("trackSubmit"),this.trackClick=this._createMethod("trackClick"),this.trackLink=this._createMethod("trackLink"),this.pageView=this._createMethod("pageview"),this.identify=this._createMethod("identify"),this.reset=this._createMethod("reset"),this.group=this._createMethod("group"),this.track=this._createMethod("track"),this.ready=this._createMethod("ready"),this.alias=this._createMethod("alias"),this.debug=this._createChainableMethod("debug"),this.page=this._createMethod("page"),this.once=this._createChainableMethod("once"),this.off=this._createChainableMethod("off"),this.on=this._createChainableMethod("on"),this.addSourceMiddleware=this._createMethod("addSourceMiddleware"),this.setAnonymousId=this._createMethod("setAnonymousId"),this.addDestinationMiddleware=this._createMethod("addDestinationMiddleware"),this.screen=this._createMethod("screen"),this.register=this._createMethod("register"),this.deregister=this._createMethod("deregister"),this.user=this._createMethod("user"),this.VERSION=dw,this._promise=t(this._preInitBuffer),this._promise.then(function(n){var i=n[0],a=n[1];r.instance=i,r.ctx=a}).catch(function(){})}return e.prototype.then=function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return(t=this._promise).then.apply(t,r)},e.prototype.catch=function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return(t=this._promise).catch.apply(t,r)},e.prototype.finally=function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return(t=this._promise).finally.apply(t,r)},e.prototype._createMethod=function(t){var r=this;return function(){for(var n,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];if(r.instance){var o=(n=r.instance)[t].apply(n,i);return Promise.resolve(o)}return new Promise(function(s,l){r._preInitBuffer.push({method:t,args:i,resolve:s,reject:l,called:!1})})}},e.prototype._createChainableMethod=function(t){var r=this;return function(){for(var n,i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return r.instance?((n=r.instance)[t].apply(n,i),r):(r._preInitBuffer.push({method:t,args:i,resolve:function(){},reject:console.error,called:!1}),r)}},e}();function zXe(e){var t=e[0],r=e.slice(1);return{method:t,resolve:function(){},reject:console.error,args:r,called:!1}}var HXe=function(e){return e.map(zXe)},mD=function(){var e=window.analytics;if(!Array.isArray(e))return[];var t=e.splice(0,e.length);return HXe(t)};function qXe(e,t){var r=t??O8();return Ay("".concat(r,"/v1/projects/").concat(e,"/settings")).then(function(n){return n.ok?n.json():n.text().then(function(i){throw new Error(i)})}).catch(function(n){throw console.error(n.message),n})}function WXe(e){return Rse().NODE_ENV!=="test"&&Object.keys(e.integrations).length>1}function VXe(e){var t,r,n;return Rse().NODE_ENV!=="test"&&((n=(r=(t=e.middlewareSettings)===null||t===void 0?void 0:t.rout
427ingRules)===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0)>0}function jXe(e,t){t.push.apply(t,mD()),MXe(e,t),NXe(e,t)}function GXe(e,t){return Yt(this,void 0,void 0,function(){return $t(this,function(r){switch(r.label){case 0:return t.push.apply(t,mD()),[4,DXe(e,t)];case 1:return r.sent(),t.push.apply(t,mD()),LXe(e,t),t.clear(),[2]}})})}function KXe(e,t,r,n,i){var a,o,s;return Yt(this,void 0,void 0,function(){var l,c,u,d,f,h,p,g,v,m,b,y=this;return $t(this,function(w){switch(w.label){case 0:return VXe(e)?[4,st(()=>import("./index-Ou5tfDO2.js"),__vite__mapDeps([])).then(function(x){return x.tsubMiddleware(e.middlewareSettings.routingRules)})]:[3,2];case 1:return c=w.sent(),[3,3];case 2:c=void 0,w.label=3;case 3:return l=c,WXe(e)?[4,st(()=>import("./index-BTCkiA8e.js"),__vite__mapDeps([0,1])).then(function(x){return x.ajsDestinations(e,t.integrations,r,l)})]:[3,5];case 4:return d=w.sent(),[3,6];case 5:d=[],w.label=6;case 6:return u=d,e.legacyVideoPluginsEnabled?[4,st(()=>import("./index-CwJdVBaT.js"),__vite__mapDeps([])).then(function(x){return x.loadLegacyVideoPlugins(t)})]:[3,8];case 7:w.sent(),w.label=8;case 8:return!((a=r.plan)===null||a===void 0)&&a.track?[4,st(()=>import("./index-DI4fK-80.js"),__vite__mapDeps([2,1])).then(function(x){var C;return x.schemaFilter((C=r.plan)===null||C===void 0?void 0:C.track,e)})]:[3,10];case 9:return h=w.sent(),[3,11];case 10:h=void 0,w.label=11;case 11:return f=h,p=O$e(e,n),[4,CXe(e,t.integrations,p,n.obfuscate,l).catch(function(){return[]})];case 12:return g=w.sent(),v=zo(zo(zo([zYe,D$e],i,!0),u,!0),g,!0),f&&v.push(f),m=((o=r.integrations)===null||o===void 0?void 0:o.All)===!1&&!r.integrations["Segment.io"]||r.integrations&&r.integrations["Segment.io"]===!1,m||v.push(FXe(t,p["Segment.io"],e.integrations)),[4,t.register.apply(t,v)];case 13:return b=w.sent(),Object.entries((s=e.enabledMiddleware)!==null&&s!==void 0?s:{}).some(function(x){var C=x[1];return C})?[4,st(()=>import("./index-CYx5xiaE.js"),__vite__mapDeps([])).then(function(x){var C=x.remoteMiddlewares;return Yt(y,void 0,void 0,function(){var T,_;return $t(this,function(P){switch(P.label){case 0:return[4,C(b,e,n.obfuscate)];case 1:return T=P.sent(),_=T.map(function(F){return t.addSourceMiddleware(F)}),[2,Promise.all(_)]}})})})]:[3,15];case 14:w.sent(),w.label=15;case 15:return[2,b]}})})}function ZXe(e,t,r){var n,i,a,o,s,l,c;return t===void 0&&(t={}),Yt(this,void 0,void 0,function(){var u,d,f,h,p,g,v,m,b,y;return $t(this,function(w){switch(w.label){case 0:return e.cdnURL&&A$e(e.cdnURL),(n=e.cdnSettings)!==null&&n!==void 0?(d=n,[3,3]):[3,1];case 1:return[4,qXe(e.writeKey,e.cdnURL)];case 2:d=w.sent(),w.label=3;case 3:return u=d,f=(a=(i=u.integrations["Segment.io"])===null||i===void 0?void 0:i.retryQueue)!==null&&a!==void 0?a:!0,h=Ct({retryQueue:f},t),p=new k$e(e,h),(o=wh.attach)===null||o===void 0||o.call(wh,p),g=(s=e.plugins)!==null&&s!==void 0?s:[],rd.initMetrics(u.metrics),jXe(p,r),[4,KXe(u,p,h,t,g)];case 4:return v=w.sent(),m=(l=window.location.search)!==null&&l!==void 0?l:"",b=(c=window.location.hash)!==null&&c!==void 0?c:"",y=m.length?m:b.replace(/(?=#).*(?=\?)/,""),y.includes("ajs_")?[4,p.queryString(y).catch(console.error)]:[3,6];case 5:w.sent(),w.label=6;case 6:return p.initialized=!0,p.emit("initialize",e,t),t.initialPageview&&p.page().catch(console.error),[4,GXe(p,r)];case 7:return w.sent(),[2,[p,v]]}})})}var YXe=function(e){Sd(t,e);function t(){var r=this,n=I$e(),i=n.promise,a=n.resolve;return r=e.call(this,function(o){return i.then(function(s){var l=s[0],c=s[1];return ZXe(l,c,o)})})||this,r._resolveLoadStart=function(o,s){return a([o,s])},r}return t.prototype.load=function(r,n){return n===void 0&&(n={}),this._resolveLoadStart(r,n),this},t.load=function(r,n){return n===void 0&&(n={}),new t().load(r,n)},t.standalone=function(r,n){return t.load({writeKey:r},n).then(function(i){return i[0]})},t}(UXe);const $se=e=>new Promise(t=>{setTimeout(t,e)}),j8=e=>async t=>Promise.race([t,$se(e)]),tkt=e=>async t=>{const[r]=await Promise.allSettled([t,$se(e)]);return r};var _t=(e=>(e.QUICK_QUOTE="quick_quote",e.SHIPMENT_LIST_ALL="shipment_list_all",e.SHIPMENT_LIST_DRAFTS="shipment_list_drafts",e.SHIPMENT_LIST_ACTIONS_REQUIRED="shipment_list_actions_required",e.SHIPMENT_LIST_DOWNLOAD="shipment_list_download",e.SHIPMENT_LIST_CANCELLED="shipment_list_cancelled",e.SHIPMENT_LIST_TRACK="shipment_list_track",e.SHIPMENT_CREATE="shipment_create",e.SHIPMENT_EDIT="shipment_edit",e.SHIPMENT_IMPORT="shipment_import",e.SHIPMENT_BULK_BUY="shipment_bulk_buy",e.SHIPMENT_BULK_CA
427NCEL="shipment_bulk_cancel",e.SHIPMENT_BULK_VALIDATE_ADDRESSES="shipment_bulk_validate_addresses",e.SHIPMENT_VIEW_SINGLE="shipment_view_single",e.SHIPMENT_LIST_SCHEDULE_PICKUP="shipment_list_schedule_pickup",e.PICKUP_LIST_UPCOMING="pickup_list_upcoming",e.PICKUP_LIST_HISTORY="pickup_list_history",e.PICKUP_CREATE="pickup_create",e.PICKUP_VIEW_SINGLE="pickup_view_single",e.BILLING_WALLET_TX="billing_wallet_tx",e.BILLING_WALLET_INVOICES="billing_wallet_invoices",e.BILLING_WALLET_CREDIT_NOTES="billing_wallet_credit_notes",e.BILLING_WALLET_RECEIPTS="billing_wallet_receipts",e.BILLING_PENDING_OUTSTANDING="billing_pending_outstanding",e.BILLING_PENDING_UPCOMING="billing_pending_upcoming",e.BILLING_PENDING_ARCHIVED="billing_pending_archived",e.BILLING_PAYMENT_METHODS="billing_payment_methods",e.BILLING_PAYMENT_SETTINGS="billing_payment_settings",e.BILLING_SUBSCRIPTION="billing_subscription",e.ECOMM_PRODUCT_LIST="ecomm_product_list",e.ECOMM_INTEGRATIONS_STORES="ecomm_integrations_stores",e.SHOPIFY_SETTINGS_ORDER_SYNC="shopify_settings_order_sync",e.SHOPIFY_SETTINGS_PRODUCT_SYNC="shopify_settings_product_sync",e.SHOPIFY_SETTINGS_SHIPPING_DETAILS="shopify_settings_shipping_details",e.SHOPIFY_SETTINGS_SHIPPING_ADDRESSES="shopify_settings_shipping_addresses",e.SETTINGS_ADDRESSES="settings_addresses",e.SETTINGS_PACKAGINGS="settings_packagings",e.SETTINGS_LABELS="settings_labels",e.SETTINGS_FULFILLMENT="settings_fulfillment",e.SETTINGS_TAXES="settings_taxes",e.SETTINGS_ACCOUNT="settings_account",e.SETTINGS_SHIPPING_RULES="settings_shipping_rules",e.SETTINGS_CARRIERS="settings_carriers",e.SETTINGS_ORGANIZATION="settings_organization",e.SETTINGS_USERS="settings_users",e.SETTINGS_BRANDING="settings_branding",e.SETTINGS_TRACKING_PAGE="settings_tracking_page",e.SETTINGS_API_KEYS="settings_api_keys",e.SETTINGS_WEBHOOKS="settings_webhooks",e.SETTINGS_NOTIFICATION_CENTER="settings_notification_center",e.POST_IDENTIFY="post_identify",e.MY_PROFILE="my_profile",e.DASHBOARD="dashboard",e.PRICING_PLANS="pricing_plans",e.PRODUCT_CREATE="product_create",e.PRODUCT_EDIT="product_edit",e.PRODUCT_VIEW_SINGLE="product_view_single",e.FULFILLMENT_ORDER_IMPORT="fulfillment_order_import",e.FULFILLMENT_ORDER_CREATE="fulfillment_order_create",e.FULFILLMENT_ORDER_EDIT="fulfillment_order_edit",e.FULFILLMENT_ORDER_VIEW_SINGLE="fulfillment_order_view_single",e.FULFILLMENT_ORDER_LIST_ALL="fulfillment_order_list_all",e.FULFILLMENT_ORDER_LIST_UNFULFILLED="fulfillment_order_list_unfulfilled",e.FULFILLMENT_ORDER_LIST_ARCHIVED="fulfillment_order_list_archived",e.FULFILLMENT_ORDER_LIST_ACTION_REQUIRED="fulfillment_order_list_action_required",e.FULFILLMENT_ORDER_BULK_SUBMIT="fulfillment_order_bulk_submit",e.INVENTORY_LIST_INVENTORY="inventory_list_inventory",e.INVENTORY_LIST_WAREHOUSE_RECEIVING_ORDER="inventory_list_warehouse_receiving_order",e.WAREHOUSE_RECEIVING_ORDER_CREATE="warehouse_receiving_order_create",e.WAREHOUSE_RECEIVING_ORDER_EDIT="warehouse_receiving_order_edit",e.WAREHOUSE_RECEIVING_ORDER_VIEW_SINGLE="warehouse_receiving_order_view_single",e.RETURN_ORDERS_LIST="return_orders_list",e.CREATE_RETURN_ORDER="create_return_order",e.VIEW_RETURN_ORDER="view_return_order",e))(_t||{});const $Xe=1e3,FC=j8($Xe),O1=YXe.load({writeKey:"HT3gpYzgyPSbLEO0vm2ojQniwzXBk3VT"},{initialPageview:!1}),Da={identify:async e=>{await FC(O1.identify(e.userId,e.traits).then(async()=>{await O1.page(void 0,_t.POST_IDENTIFY)}))},reset:async()=>{await FC(O1.reset())},trackPageView:async e=>{await FC(O1.page(void 0,e))},track:async e=>{await FC(O1.track(e.event,e.properties))}},Xse=1e3,DC=j8(Xse),Og={getInstance:async()=>{if(window.gtag)return window.gtag;const e=100,t=Xse/e;return new Promise(r=>{let n=0;const i=setInterval(()=>{(window.gtag||n>=t)&&(clearInterval(i),r(window.gtag??null)),n+=1},e)})},setAttribute:async e=>{const t=await Og.getInstance();t&&t("set",e)},sendEvent:async(e,t)=>{const r=await Og.getInstance();r&&await new Promise(n=>{r("event",e,{...t,event_callback:n})})}},Hb={identify:async e=>{await DC(Og.setAttribute({user_id:e}))},reset:async()=>{await DC(Og.setAttribute({user_id:void 0}))},updatePageMeta:async()=>{await DC(Og.setAttribute({page_path:window.location.pathname+window.location.search,page_location:window.location.href,page_title:document.title}))},track:async e=>{await DC(Og.sendEvent(e.event,e.properties))}},XXe={identify(e,t){window.userGuiding.identify(e,t)}},Qse=k.createContext({isAdditionalInfoRequired:!1,userSession:void 0,userOrganization:void 0,userOrgConfigs:void 0,userOrgSubscription:void 0,userOrgWarehouses:[],subscriptionDaysLeft:null,isInitiated:!1,isFetchingUserSession:!1,isOrgConfigsFetched:!1,isOrgConfigsError:!1,refetch:async()=>Promise.resolve(),refetchOrgConfigs:async()=>Promise.resolve(),logout:async()=>Promise.resolve(),setIsAdditionalInfoRequired:u0}),QXe=({children:e})=>{const{i18n:t}=jt(),[r,n]=RP(),i=k.useMemo(()=>TT.parse(r.toString()),[r]),[a]=k.useState(()=>(i==null?void 0:i.newUserSignupInfo)??null),[o,s]=k.useState((i==null?void 0:i.ssAuthToken)??null),[l,c]=k.useState(()=>a?"signup":"login"),[u,d]=k.useState(!!a),{data:f,isFetching:h,isFetched:p,refetch:g}=oze({query:{queryKey:["userSession"],queryFn:async()=>
427{if(o){Vq();const D=await $Ue({token:o});goe(D.accessToken)}return yoe()},onSuccess:async D=>{t.changeLanguage(D.locale)},onSettled:()=>{s(null)}}}),v=k.useMemo(()=>Gne(f==null?void 0:f.organizations),[f==null?void 0:f.organizations]),{data:m,refetch:b}=Pje((v==null?void 0:v.id)??"",{query:{enabled:!!v}}),y=k.useMemo(()=>{if(!(m!=null&&m.expireDate))return null;const D=Zt.fromISO(m.expireDate),A=Zt.now();return D.diff(A,["days","hours"]).days+1},[m==null?void 0:m.expireDate]),{mutateAsync:w}=JUe(),{data:x,isFetched:C,isError:T,refetch:_}=xje((v==null?void 0:v.id)??""),{data:P}=boe((v==null?void 0:v.id)??"",{query:{enabled:!!(x!=null&&x.isFulfillmentEnabled)}}),F=k.useMemo(()=>(P==null?void 0:P.items)??[],[P]),I=()=>{localStorage.removeItem(wse),localStorage.removeItem(xse)};k.useEffect(()=>{const D=mRe(i);if(D!=null&&D.ssAuthToken&&(D==null||delete D.ssAuthToken),!SFe(i,D)){const A=TT.stringify(D);n(lT(A),{replace:!0})}}),k.useEffect(()=>{f&&(s5e({id:f.id,email:f.email,username:f.name}),XXe.identify(f.id,{name:f.name,email:f.email}))},[C,p,f]),k.useEffect(()=>{if(l==="none"||!f||!m)return;const D=f.phone?`+${f.phoneCountryCode}${f.phone}`:void 0,A={email:f.email,phone:D,firstName:f.name,lastName:"",locale:t.language,spaceship_pro_user:!0,plan:m.pricingPlanKey,previous_plan:m.originalPricingPlanKey??void 0,current_term_starts_at:m.currentTermStartsAt??void 0,current_term_ends_at:m.currentTermEndsAt??void 0,next_billing_at:m.nextBillingAt??void 0};qt(l).with("signup",async()=>{Hb.identify(f.id),Da.identify({userId:f.id,traits:{...A,createdAt:new Date().toISOString(),first_touch_utm_source:r.get("utm_source")??void 0,first_touch_utm_medium:r.get("utm_medium")??void 0,first_touch_utm_campaign:r.get("utm_campaign")??void 0,first_touch_utm_term:r.get("utm_term")??void 0,first_touch_utm_content:r.get("utm_content")??void 0}})}).with("login",async()=>{Hb.identify(f.id),Da.identify({userId:f.id,traits:{...A,last_touch_utm_source:r.get("utm_source")??void 0,last_touch_utm_medium:r.get("utm_medium")??void 0,last_touch_utm_campaign:r.get("utm_campaign")??void 0,last_touch_utm_term:r.get("utm_term")??void 0,last_touch_utm_content:r.get("utm_content")??void 0}})}).otherwise(u0),c("none")},[t.language,l,r,m,f]);const R=k.useMemo(()=>({isAdditionalInfoRequired:u,userSession:f,userOrganization:v,userOrgConfigs:x,userOrgSubscription:m,userOrgWarehouses:F,subscriptionDaysLeft:y,isInitiated:p,isFetchingUserSession:h,isOrgConfigsFetched:C,isOrgConfigsError:T,refetch:async()=>{await g(),v!=null&&v.id&&(await _(),await b())},refetchOrgConfigs:async()=>{await _()},logout:async()=>{await w(),Vq(),I(),await Da.track({event:"logged_out",properties:void 0}),await Promise.all([Da.reset(),Hb.reset()]),Un().setUser(null),window.location.pathname=Re.login()},setIsAdditionalInfoRequired:d}),[u,h,C,T,p,w,_,b,g,y,x,m,F,v,f]);return Te(Qse.Provider,{value:R,children:[E("div",{"data-pro-language":t.language}),e]})},Nr=()=>k.useContext(Qse),Ei=e=>{const[t,r]=k.useState(e),n=k.useCallback(()=>{r(!0)},[]),i=k.useCallback(()=>{r(!1)},[]),a=k.useCallback(()=>{r(o=>!o)},[]);return k.useMemo(()=>({value:t,setTrue:n,setFalse:i,toggle:a}),[a,i,n,t])};var G8={};G8.match=iQe;G8.parse=Jse;var JXe=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,eQe=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,tQe=/^(?:(min|max)-)?(.+)/,rQe=/(em|rem|px|cm|mm|in|pt|pc)?$/,nQe=/(dpi|dpcm|dppx)?$/;function iQe(e,t){return Jse(e).some(function(r){var n=r.inverse,i=r.type==="all"||t.type===r.type;if(i&&n||!(i||n))return!1;var a=r.expressions.every(function(o){var s=o.feature,l=o.modifier,c=o.value,u=t[s];if(!u)return!1;switch(s){case"orientation":case"scan":return u.toLowerCase()===c.toLowerCase();case"width":case"height":case"device-width":case"device-height":c=RW(c),u=RW(u);break;case"resolution":c=IW(c),u=IW(u);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":c=OW(c),u=OW(u);break;case"grid":case"color":case"color-index":case"monochrome":c=parseInt(c,10)||1,u=parseInt(u,10)||0;break}switch(l){case"min":return u>=c;case"max":return u<=c;default:return u===c}});return a&&!n||!a&&n})}function Jse(e){return e.split(",").map(function(t){t=t.trim();var r=t.match(JXe),n=r[1],i=r[2],a=r[3]||"",o={};return o.inverse=!!n&&n.toLowerCase()==="not",o.type=i?i.toLowerCase():"all",a=a.match(/\([^\)]+\)/g)||[],o.expressions=a.map(function(s){var l=s.match(eQe),c=l[1].toLowerCase().match(tQe);return{modifier:c[1],feature:c[2],value:l[2]}}),o})}function OW(e){var t=Number(e),r;return t||(r=e.match(/^(\d+)\s*\/\s*(\d+)$/),t=r[1]/r[2]),t}function IW(e){var t=parseFloat(e),r=String(e).match(nQe)[1];switch(r){case"dpcm":return t/2.54;case"dppx":return t*96;default:return t}}function RW(e){var t=parseFloat(e),r=String(e).match(rQe)[1];switch(r){case"em":return t*16;case"rem":return t*16;case"cm":return t*96/2.54;case"mm":return t*96/2.54/10;case"in":return t*96;case"pt":return t*72;case"pc":return t*72/12;default:return t}}var aQe=G8.match,FW=typeof window<"u"?window.matchMedia:null;function oQe(e,t,r){var n=this;if(FW&&!r){var i=FW.call(window,e);this.matches=i.matches,this.media=i.media,i.addListener(s)}else this.matches=aQe(e,t),this.media=e;this.addListener=a,this.removeListener=o,this.dispose=l;function a(c){i&&i.addListener(c)}function o(c){i&&i.removeListener(c)}function s(c){n.matches=c.matches,n.media=c.media}function l(){i&&i.removeListener(s)}}function sQe(e,t,r){return new oQe(e,t,r)}var lQe=sQe;const cQe=fc(lQe);var uQe=/[A-Z]/g,dQe=/^ms-/,R3={};function fQe(e){return"-"+e.toLowerCase()}function ele(e){if(R3.hasOwnProperty(e))return R3[e];var t=e.replace(uQe,fQe);return R3[e]=dQe.test(t)?"-"+t:t}function hQe(e,t){if(e===t)return!0;
427if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(var a=0;a<i;a++){var o=r[a];if(e[o]!==t[o]||!Object.prototype.hasOwnProperty.call(t,o))return!1}return!0}const Po=Jt.oneOfType([Jt.string,Jt.number]),tle={all:Jt.bool,grid:Jt.bool,aural:Jt.bool,braille:Jt.bool,handheld:Jt.bool,print:Jt.bool,projection:Jt.bool,screen:Jt.bool,tty:Jt.bool,tv:Jt.bool,embossed:Jt.bool},pQe={orientation:Jt.oneOf(["portrait","landscape"]),scan:Jt.oneOf(["progressive","interlace"]),aspectRatio:Jt.string,deviceAspectRatio:Jt.string,height:Po,deviceHeight:Po,width:Po,deviceWidth:Po,color:Jt.bool,colorIndex:Jt.bool,monochrome:Jt.bool,resolution:Po,type:Object.keys(tle)},{type:rkt,...mQe}=pQe,gQe={minAspectRatio:Jt.string,maxAspectRatio:Jt.string,minDeviceAspectRatio:Jt.string,maxDeviceAspectRatio:Jt.string,minHeight:Po,maxHeight:Po,minDeviceHeight:Po,maxDeviceHeight:Po,minWidth:Po,maxWidth:Po,minDeviceWidth:Po,maxDeviceWidth:Po,minColor:Jt.number,maxColor:Jt.number,minColorIndex:Jt.number,maxColorIndex:Jt.number,minMonochrome:Jt.number,maxMonochrome:Jt.number,minResolution:Po,maxResolution:Po,...mQe},vQe={...tle,...gQe};var yQe={all:vQe};const bQe=e=>`not ${e}`,SQe=(e,t)=>{const r=ele(e);return typeof t=="number"&&(t=`${t}px`),t===!0?r:t===!1?bQe(r):`(${r}: ${t})`},wQe=e=>e.join(" and "),xQe=e=>{const t=[];return Object.keys(yQe.all).forEach(r=>{const n=e[r];n!=null&&t.push(SQe(r,n))}),wQe(t)},CQe=k.createContext(void 0),EQe=e=>e.query||xQe(e),DW=e=>e?Object.keys(e).reduce((r,n)=>(r[ele(n)]=e[n],r),{}):void 0,rle=()=>{const e=k.useRef(!1);return k.useEffect(()=>{e.current=!0},[]),e.current},kQe=e=>{const t=k.useContext(CQe),r=()=>DW(e)||DW(t),[n,i]=k.useState(r);return k.useEffect(()=>{const a=r();hQe(n,a)||i(a)},[e,t]),n},TQe=e=>{const t=()=>EQe(e),[r,n]=k.useState(t);return k.useEffect(()=>{const i=t();r!==i&&n(i)},[e]),r},_Qe=(e,t)=>{const r=()=>cQe(e,t||{},!!t),[n,i]=k.useState(r),a=rle();return k.useEffect(()=>{if(a){const o=r();return i(o),()=>{o&&o.dispose()}}},[e,t]),n},PQe=e=>{const[t,r]=k.useState(e.matches);return k.useEffect(()=>{const n=i=>{r(i.matches)};return e.addListener(n),r(e.matches),()=>{e.removeListener(n)}},[e]),t},K8=(e,t,r)=>{const n=kQe(t),i=TQe(e);if(!i)throw new Error("Invalid or missing MediaQuery!");const a=_Qe(i,n),o=PQe(a);return rle(),k.useEffect(()=>{},[o]),k.useEffect(()=>()=>{a&&a.dispose()},[]),o},nkt=()=>K8({query:`(min-width: ${Mo.breakpoints["breakpoints-lg"]})`}),AQe=()=>K8({query:`(min-width: ${Mo.breakpoints["breakpoints-md"]})`}),nle=()=>K8({query:`(max-width: ${Mo.breakpoints["breakpoints-sm"]})`}),OQe=[Re.shipmentTracking(),Re.forgetPassword(),Re.resetPassword()],ile=()=>{const e=ua();return k.useMemo(()=>OQe.some(t=>!!Gs(t,e.pathname)),[e.pathname])};function NW(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function F3(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?NW(Object(r),!0).forEach(function(n){IQe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):NW(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function IQe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function RQe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function MW(e,t){if(e==null)return{};var r=RQe(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var FQe=["width","height","viewBox"],DQe=["tabindex"],NQe={focusable:"false",preserveAspectRatio:"xMidYMid meet"};function MQe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.width,r=e.height,n=e.viewBox,i=n===void 0?"0 0 ".concat(t," ").concat(r):n,a=MW(e,FQe),o=a.tabindex,s=MW(a,DQe),l=F3(F3(F3({},NQe),s),{},{width:t,height:r,viewBox:i});return l["aria-label"]||l["aria-labelledby"]||l.title?(l.role="img",o!=null&&(l.focusable="true",l.tabindex=o)):l["aria-hidden"]=!0,l}function LW(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function $e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
427t%2?LW(Object(r),!0).forEach(function(n){LQe(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):LW(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function LQe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function BQe(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function yt(e,t){if(e==null)return{};var r=BQe(e,t),n,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var UQe=["className","children","tabIndex"],zQe=["tabindex"],Ye=S.forwardRef(function(t,r){var n=t.className,i=t.children,a=t.tabIndex,o=yt(t,UQe),s=MQe($e($e({},o),{},{tabindex:a})),l=s.tabindex,c=yt(s,zQe);return n&&(c.className=n),l!=null&&(c.tabIndex=l),r&&(c.ref=r),S.createElement("svg",c,i)});Ye.displayName="Icon";Ye.propTypes={"aria-hidden":Jt.string,"aria-label":Jt.string,"aria-labelledby":Jt.string,children:Jt.node,className:Jt.string,height:Jt.oneOfType([Jt.number,Jt.string]),preserveAspectRatio:Jt.string,tabIndex:Jt.string,viewBox:Jt.string,width:Jt.oneOfType([Jt.number,Jt.string]),xmlns:Jt.string};Ye.defaultProps={xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet"};Jt.oneOfType([Jt.number,Jt.string]);var BW,UW,zW,HW,qW,WW,VW,jW,GW,KW,ZW,YW,$W,XW,QW,HQe=["children","size"],qQe=["children","size"],WQe=["children","size"],VQe=["children","size"],jQe=["children","size"],GQe=["children","size"],KQe=["children","size"],ZQe=["children","size"],YQe=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,HQe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),BW||(BW=S.createElement("path",{d:"M17 15L17 8 15 8 15 15 8 15 8 17 15 17 15 24 17 24 17 17 24 17 24 15z"})),n)}),ikt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,qQe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),UW||(UW=S.createElement("path",{d:"M16,2A14.1725,14.1725,0,0,0,2,16,14.1725,14.1725,0,0,0,16,30,14.1725,14.1725,0,0,0,30,16,14.1725,14.1725,0,0,0,16,2Zm8,15H17v7H15V17H8V15h7V8h2v7h7Z"})),zW||(zW=S.createElement("path",{fill:"none",d:"M24 17L17 17 17 24 15 24 15 17 8 17 8 15 15 15 15 8 17 8 17 15 24 15 24 17z","data-icon-path":"inner-path"})),n)}),$Qe=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,WQe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),HW||(HW=S.createElement("path",{d:"M26,22a3.86,3.86,0,0,0-2,.57l-3.09-3.1a6,6,0,0,0,0-6.94L24,9.43A3.86,3.86,0,0,0,26,10a4,4,0,1,0-4-4,3.86,3.86,0,0,0,.57,2l-3.1,3.09a6,6,0,0,0-6.94,0L9.43,8A3.86,3.86,0,0,0,10,6a4,4,0,1,0-4,4,3.86,3.86,0,0,0,2-.57l3.09,3.1a6,6,0,0,0,0,6.94L8,22.57A3.86,3.86,0,0,0,6,22a4,4,0,1,0,4,4,3.86,3.86,0,0,0-.57-2l3.1-3.09a6,6,0,0,0,6.94,0L22.57,24A3.86,3.86,0,0,0,22,26a4,4,0,1,0,4-4ZM26,4a2,2,0,1,1-2,2A2,2,0,0,1,26,4ZM4,6A2,2,0,1,1,6,8,2,2,0,0,1,4,6ZM6,28a2,2,0,1,1,2-2A2,2,0,0,1,6,28Zm10-8a4,4,0,1,1,4-4A4,4,0,0,1,16,20Zm10,8a2,2,0,1,1,2-2A2,2,0,0,1,26,28Z"})),n)}),akt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,VQe);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),qW||(qW=S.createElement("path",{d:"M12.3 9.3L8.5 13.1 8.5 1 7.5 1 7.5 13.1 3.7 9.3 3 10 8 15 13 10z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),WW||(WW=S.createElement("path",{d:"M24.59 16.59L17 24.17 17 4 15 4 15 24.17 7.41 16.59 6 18 16 28 26 18 24.59 16.59z"})),n)}),okt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,jQe);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),VW||(VW=S.createElement("path",{d:"M6.7 12.3L2.9 8.5 15 8.5 15 7.5 2.9 7.5 6.7 3.7 6 3 1 8 6 13z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"
427currentColor"},o),jW||(jW=S.createElement("path",{d:"M14 26L15.41 24.59 7.83 17 28 17 28 15 7.83 15 15.41 7.41 14 6 4 16 14 26z"})),n)}),skt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,GQe);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),GW||(GW=S.createElement("path",{d:"M9.3 3.7L13.1 7.5 1 7.5 1 8.5 13.1 8.5 9.3 12.3 10 13 15 8 10 3z"})),n):a===20||a==="20"||a==="20px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},o),KW||(KW=S.createElement("path",{d:"M11.8 2.8L10.8 3.8 16.2 9.3 1 9.3 1 10.7 16.2 10.7 10.8 16.2 11.8 17.2 19 10z"})),n):a===24||a==="24"||a==="24px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},o),ZW||(ZW=S.createElement("path",{d:"M14 4L12.9 5.1 18.9 11.2 2 11.2 2 12.8 18.9 12.8 12.9 18.9 14 20 22 12z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),YW||(YW=S.createElement("path",{d:"M18 6L16.57 7.393 24.15 15 4 15 4 17 24.15 17 16.57 24.573 18 26 28 16 18 6z"})),n)}),lkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,KQe);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),$W||($W=S.createElement("path",{d:"M3.7 6.7L7.5 2.9 7.5 15 8.5 15 8.5 2.9 12.3 6.7 13 6 8 1 3 6z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),XW||(XW=S.createElement("path",{d:"M16 4L6 14 7.41 15.41 15 7.83 15 28 17 28 17 7.83 24.59 15.41 26 14 16 4z"})),n)}),ckt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,ZQe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),QW||(QW=S.createElement("path",{d:"M27.6 20.6L24 24.2 24 4 22 4 22 24.2 18.4 20.6 17 22 23 28 29 22zM9 4L3 10 4.4 11.4 8 7.8 8 28 10 28 10 7.8 13.6 11.4 15 10z"})),n)}),JW,eV,tV,rV,nV,iV,aV,XQe=["children","size"],QQe=["children","size"],JQe=["children","size"],eJe=["children","size"],tJe=["children","size"],ukt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,XQe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),JW||(JW=S.createElement("path",{d:"M24,24H6a2.0023,2.0023,0,0,1-2-2V10A2.002,2.002,0,0,1,6,8H24a2.0023,2.0023,0,0,1,2,2v1h1a2.0023,2.0023,0,0,1,2,2v6a2.0027,2.0027,0,0,1-2,2H26v1A2.0027,2.0027,0,0,1,24,24ZM6,10V22H24V19h3V13H24V10Z"})),n)}),Z8=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,QQe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),eV||(eV=S.createElement("path",{d:"M20,21H12a2,2,0,0,1-2-2V17a2,2,0,0,1,2-2h8a2,2,0,0,1,2,2v2A2,2,0,0,1,20,21Zm-8-4v2h8V17Z"})),tV||(tV=S.createElement("path",{d:"M28,4H4A2,2,0,0,0,2,6v4a2,2,0,0,0,2,2V28a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V12a2,2,0,0,0,2-2V6A2,2,0,0,0,28,4ZM26,28H6V12H26Zm2-18H4V6H28v4Z"})),n)}),dkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,JQe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),rV||(rV=S.createElement("path",{d:"M28.8281 3.1719a4.0941 4.0941 0 00-5.6562 0L4.05 22.292A6.9537 6.9537 0 002 27.2412V30H4.7559a6.9523 6.9523 0 004.95-2.05L28.8281 8.8286a3.999 3.999 0 000-5.6567zM10.91 18.26l2.8286 2.8286L11.6172 23.21 8.7886 20.3818zM8.2915 26.5356A4.9665 4.9665 0 014.7559 28H4v-.7588a4.9669 4.9669 0 011.4644-3.5351l1.91-1.91 2.8286 2.8281zM27.4141 7.4141L15.1528 19.6748l-2.8286-2.8286 12.2617-12.26a2.0473 2.0473 0 012.8282 0 1.9995 1.9995 0 010 2.8282zM6.5 15A3.4994 3.4994 0 014.0249 9.026l3.5005-3.5a1.5019 1.5019 0 000-2.121 1.537 1.537 0 00-2.1216 0L3.415 5.3936 2 3.98 3.99 1.9915a3.5849 3.5849 0 014.95 0 3.5039 3.5039 0 010 4.949L5.439 10.44a1.5019 1.5019 0 000 2.121 1.5369 1.5369 0 002.1215 0l4.0249-4.0243L13 9.9507 8.9746 13.975A3.4754 3.4754 0 016.5 15z"})),n)}),rJe=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,eJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"
427currentColor"},o),nV||(nV=S.createElement("path",{d:"M14 8L10 8 10 4 8 4 8 8 4 8 4 10 8 10 8 14 10 14 10 10 14 10 14 8zM4 19H14V21H4zM4 24H14V26H4zM18 8H28V10H18zM24.41 22L28 18.41 26.59 17 23 20.59 19.41 17 18 18.41 21.59 22 18 25.59 19.41 27 23 23.41 26.59 27 28 25.59 24.41 22z"})),n)}),nJe=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,tJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),iV||(iV=S.createElement("path",{d:"M26,4V28H6V4H26m0-2H6A2,2,0,0,0,4,4V28a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V4A2,2,0,0,0,26,2Z"})),aV||(aV=S.createElement("path",{d:"M9 23H11V25H9zM21 23H23V25H21zM9 18H11V20H9zM21 18H23V20H21zM9 13H11V15H9zM15 23H17V25H15zM15 18H17V20H15zM15 13H17V15H15zM21 13H23V15H21zM9 7H23V10H9z"})),n)}),oV,sV,lV,cV,uV,dV,fV,hV,pV,mV,gV,vV,yV,bV,SV,wV,xV,CV,EV,kV,TV,_V,PV,AV,OV,IV,RV,FV,DV,NV,MV,iJe=["children","size"],aJe=["children","size"],oJe=["children","size"],sJe=["children","size"],lJe=["children","size"],cJe=["children","size"],uJe=["children","size"],dJe=["children","size"],fJe=["children","size"],hJe=["children","size"],fkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,iJe);return a===20||a==="20"||a==="20px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},o),oV||(oV=S.createElement("path",{d:"M8 13.2L3.6 8.8 2.7 9.7 7.1 14.1 8 15 16.5 6.5 15.6 5.6z"})),sV||(sV=S.createElement("path",{d:"M15.6 5.6L8 13.2 3.6 8.8 2.7 9.7 7.1 14.1 8 15 16.5 6.5 15.6 5.6z"})),n):a===24||a==="24"||a==="24px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},o),lV||(lV=S.createElement("path",{d:"M10 15.9L4.7 10.6 3.6 11.6 8.9 16.9 10 18 20.6 7.4 19.5 6.3z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),cV||(cV=S.createElement("path",{d:"M13 24L4 15 5.414 13.586 13 21.171 26.586 7.586 28 9 13 24z"})),n)}),fw=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,aJe);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),uV||(uV=S.createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8c0,3.9,3.1,7,7,7s7-3.1,7-7C15,4.1,11.9,1,8,1z M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z"})),dV||(dV=S.createElement("path",{d:"M7,11L4.3,8.3l0.9-0.8L7,9.3l4-3.9l0.9,0.8L7,11z","data-icon-path":"inner-path",opacity:"0"})),n):a===20||a==="20"||a==="20px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},o),fV||(fV=S.createElement("path",{d:"M10,1c-4.9,0-9,4.1-9,9s4.1,9,9,9s9-4,9-9S15,1,10,1z M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z"})),hV||(hV=S.createElement("path",{fill:"none",d:"M8.7,13.5l-3.2-3.2l1-1l2.2,2.2l4.8-4.8l1,1L8.7,13.5z","data-icon-path":"inner-path",opacity:"0"})),n):a===24||a==="24"||a==="24px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},o),pV||(pV=S.createElement("path",{d:"M12,1C6,1,1,6,1,12s5,11,11,11s11-4.9,11-11S18.1,1,12,1z M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z"})),mV||(mV=S.createElement("path",{fill:"none",d:"M10.4,16.3l-3.9-3.9l1.3-1.2l2.7,2.7l5.8-5.8l1.3,1.3L10.4,16.3z","data-icon-path":"inner-path",opacity:"0"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),gV||(gV=S.createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM14,21.5908l-5-5L10.5906,15,14,18.4092,21.41,11l1.5957,1.5859Z"})),vV||(vV=S.createElement("path",{fill:"none",d:"M14 21.591L9 16.591 10.591 15 14 18.409 21.41 11 23.005 12.585 14 21.591z","data-icon-path":"inner-path"})),n)}),hkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,oJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"
427currentColor"},o),yV||(yV=S.createElement("path",{d:"M14 21.414L9 16.413 10.413 15 14 18.586 21.585 11 23 12.415 14 21.414z"})),bV||(bV=S.createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"})),n)}),pkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,sJe);return a==="glyph"||a==="glyph"||a==="glyphpx"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 6",fill:"currentColor"},o),SV||(SV=S.createElement("path",{d:"M5 6L0 1 0.7 0.3 5 4.6 9.3 0.3 10 1z"})),n):a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),wV||(wV=S.createElement("path",{d:"M8 11L3 6 3.7 5.3 8 9.6 12.3 5.3 13 6z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),xV||(xV=S.createElement("path",{d:"M16 22L6 12 7.4 10.6 16 19.2 24.6 10.6 26 12z"})),n)}),pJe=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,lJe);return a==="glyph"||a==="glyph"||a==="glyphpx"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 10",fill:"currentColor"},o),CV||(CV=S.createElement("path",{d:"M0 5L5 0 5.7 0.7 1.4 5 5.7 9.3 5 10z"})),n):a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),EV||(EV=S.createElement("path",{d:"M5 8L10 3 10.7 3.7 6.4 8 10.7 12.3 10 13z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),kV||(kV=S.createElement("path",{d:"M10 16L20 6 21.4 7.4 12.8 16 21.4 24.6 20 26z"})),n)}),mkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,cJe);return a==="glyph"||a==="glyph"||a==="glyphpx"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 6 10",fill:"currentColor"},o),TV||(TV=S.createElement("path",{d:"M6 5L1 10 0.3 9.3 4.6 5 0.3 0.7 1 0z"})),n):a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),_V||(_V=S.createElement("path",{d:"M11 8L6 13 5.3 12.3 9.6 8 5.3 3.7 6 3z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),PV||(PV=S.createElement("path",{d:"M22 16L12 26 10.6 24.6 19.2 16 10.6 7.4 12 6z"})),n)}),gkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,uJe);return a==="glyph"||a==="glyph"||a==="glyphpx"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 10 6",fill:"currentColor"},o),AV||(AV=S.createElement("path",{d:"M5 0L10 5 9.3 5.7 5 1.4 0.7 5.7 0 5z"})),n):a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),OV||(OV=S.createElement("path",{d:"M8 5L13 10 12.3 10.7 8 6.4 3.7 10.7 3 10z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),IV||(IV=S.createElement("path",{d:"M16 10L26 20 24.6 21.4 16 12.8 7.4 21.4 6 20z"})),n)}),vkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,dJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),RV||(RV=S.createElement("path",{d:"M7.7 4.7a14.7 14.7 0 00-3 3.1L6.3 9A13.26 13.26 0 018.9 6.3zM4.6 12.3l-1.9-.6A12.51 12.51 0 002 16H4A11.48 11.48 0 014.6 12.3zM2.7 20.4a14.4 14.4 0 002 3.9l1.6-1.2a12.89 12.89 0 01-1.7-3.3zM7.8 27.3a14.4 14.4 0 003.9 2l.6-1.9A12.89 12.89 0 019 25.7zM11.7 2.7l.6 1.9A11.48 11.48 0 0116 4V2A12.51 12.51 0 0011.7 2.7zM24.2 27.3a15.18 15.18 0 003.1-3.1L25.7 23A11.53 11.53 0 0123 25.7zM27.4 19.7l1.9.6A15.47 15.47 0 0030 16H28A11.48 11.48 0 0127.4 19.7zM29.2 11.6a14.4 14.4 0 00-2-3.9L25.6 8.9a12.89 12.89 0 011.7 3.3zM24.1 4.6a14.4 14.4 0 00-3.9-2l-.6 1.9a12.89 12.89 0 013.3 1.7zM20.3 29.3l-.6-1.9A11.48 11.48 0 0116 28v2A21.42 21.42 0 0020.3 29.3z"})),n)}),ale=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,fJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"
427currentColor"},o),FV||(FV=S.createElement("path",{d:"M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"})),n)}),mJe=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,hJe);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),DV||(DV=S.createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M10.7,11.5L8,8.8l-2.7,2.7l-0.8-0.8L7.2,8L4.5,5.3l0.8-0.8L8,7.2 l2.7-2.7l0.8,0.8L8.8,8l2.7,2.7L10.7,11.5z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),NV||(NV=S.createElement("path",{d:"M16,2C8.2,2,2,8.2,2,16s6.2,14,14,14s14-6.2,14-14S23.8,2,16,2z M21.4,23L16,17.6L10.6,23L9,21.4l5.4-5.4L9,10.6L10.6,9 l5.4,5.4L21.4,9l1.6,1.6L17.6,16l5.4,5.4L21.4,23z"})),MV||(MV=S.createElement("path",{d:"M14.4 16L9 10.6 10.6 9 16 14.4 21.4 9 23 10.6 17.6 16 23 21.4 21.4 23 16 17.6 10.6 23 9 21.4 14.4 16","data-icon-path":"inner-path",opacity:"0"})),n)}),LV,BV,UV,zV,HV,qV,WV,VV,jV,GV,KV,ZV,gJe=["children","size"],vJe=["children","size"],yJe=["children","size"],bJe=["children","size"],SJe=["children","size"],ykt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,gJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),LV||(LV=S.createElement("path",{d:"M6 21V20H4v1a7 7 0 007 7h3V26H11A5 5 0 016 21zM24 11v1h2V11a7 7 0 00-7-7H16V6h3A5 5 0 0124 11zM11 11H5a3 3 0 00-3 3v2H4V14a1 1 0 011-1h6a1 1 0 011 1v2h2V14A3 3 0 0011 11zM8 10A4 4 0 104 6 4 4 0 008 10zM8 4A2 2 0 116 6 2 2 0 018 4zM27 25H21a3 3 0 00-3 3v2h2V28a1 1 0 011-1h6a1 1 0 011 1v2h2V28A3 3 0 0027 25zM20 20a4 4 0 104-4A4 4 0 0020 20zm6 0a2 2 0 11-2-2A2 2 0 0126 20z"})),n)}),wJe=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,vJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),BV||(BV=S.createElement("circle",{cx:"10",cy:"12",r:"2"})),UV||(UV=S.createElement("circle",{cx:"16",cy:"9",r:"2"})),zV||(zV=S.createElement("circle",{cx:"22",cy:"12",r:"2"})),HV||(HV=S.createElement("circle",{cx:"23",cy:"18",r:"2"})),qV||(qV=S.createElement("circle",{cx:"19",cy:"23",r:"2"})),WV||(WV=S.createElement("path",{d:"M16.54,2A14,14,0,0,0,2,16a4.82,4.82,0,0,0,6.09,4.65l1.12-.31A3,3,0,0,1,13,23.24V27a3,3,0,0,0,3,3A14,14,0,0,0,30,15.46,14.05,14.05,0,0,0,16.54,2Zm8.11,22.31A11.93,11.93,0,0,1,16,28a1,1,0,0,1-1-1V23.24a5,5,0,0,0-5-5,5.07,5.07,0,0,0-1.33.18l-1.12.31A2.82,2.82,0,0,1,4,16,12,12,0,0,1,16.47,4,12.18,12.18,0,0,1,28,15.53,11.89,11.89,0,0,1,24.65,24.32Z"})),n)}),bkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,yJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),VV||(VV=S.createElement("path",{d:"M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z"})),jV||(jV=S.createElement("path",{d:"M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z"})),n)}),ole=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,bJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),GV||(GV=S.createElement("path",{d:"M21,12V10H17V7H15v3H13a2.002,2.002,0,0,0-2,2v3a2.002,2.002,0,0,0,2,2h6v3H11v2h4v3h2V22h2a2.0023,2.0023,0,0,0,2-2V17a2.002,2.002,0,0,0-2-2H13V12Z"})),KV||(KV=S.createElement("path",{d:"M16,4A12,12,0,1,1,4,16,12.0353,12.0353,0,0,1,16,4m0-2A14,14,0,1,0,30,16,14.0412,14.0412,0,0,0,16,2Z"})),n)}),Skt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,SJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),ZV||(ZV=S.createElement("path",{d:"M23,20.5151c0-4.6152-3.78-5.1411-6.8171-5.563-3.31-.4609-5.1829-.86-5.1829-3.71C11,8.8491,13.5071,8,15.6538,8a6.7538,6.7538,0,0,1,5.5681,2.6279l1.5562-1.2558A8.6508,8.6508,0,0,0,17,6.0962V3H15V6.022c-3.6152.2192-6,2.26-6,5.22,0,4.73,3.83,5.2627,6.9075,5.69C19.16,17.3848,21,17.7744,21,20.5151,21,23.5474,17.8674,24,16,24c-3.4294,0-4.8782-.9639-6.2219-2.6279L8.2219,22.6279A8.4382,8.4382,0,0,0,15,25.9648V29h2V25.9551C20.7256,25.6509,23,23.6279,23,20.5151Z"})),n)}),YV,$V,XV,QV,JV,ej,tj,rj,nj,xJe=["children","size"],CJe=["children","size"],EJe=["children","size"],kJe=["children","size"],wkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,xJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"
427currentColor"},o),YV||(YV=S.createElement("path",{d:"M4 16H16V18H4zM2 11H12V13H2z"})),$V||($V=S.createElement("path",{d:"M29.9189,16.6064l-3-7A.9985.9985,0,0,0,26,9H23V7a1,1,0,0,0-1-1H6V8H21V20.5562A3.9924,3.9924,0,0,0,19.1421,23H12.8579a4,4,0,1,0,0,2h6.2842a3.9806,3.9806,0,0,0,7.7158,0H29a1,1,0,0,0,1-1V17A.9965.9965,0,0,0,29.9189,16.6064ZM9,26a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,9,26ZM23,11h2.3408l2.1431,5H23Zm0,15a2,2,0,1,1,2-2A2.0023,2.0023,0,0,1,23,26Zm5-3H26.8579A3.9954,3.9954,0,0,0,23,20V18h5Z"})),n)}),sle=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,CJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),XV||(XV=S.createElement("path",{d:"M29.4819,8.624l-10-5.5a1,1,0,0,0-.9638,0l-10,5.5a1,1,0,0,0,0,1.752L18,15.5913V26.3086l-3.0362-1.6693L14,26.3912l4.5181,2.4848a.9984.9984,0,0,0,.9638,0l10-5.5A1,1,0,0,0,30,22.5V9.5A1,1,0,0,0,29.4819,8.624ZM19,5.1416,26.9248,9.5,19,13.8584,11.0752,9.5Zm9,16.7671-8,4.4V15.5913l8-4.4Z"})),QV||(QV=S.createElement("path",{d:"M2 14H10V16H2z",transform:"rotate(-180 6 15)"})),JV||(JV=S.createElement("path",{d:"M4 22H12V24H4z",transform:"rotate(-180 8 23)"})),ej||(ej=S.createElement("path",{d:"M6 18H14V20H6z",transform:"rotate(-180 10 19)"})),n)}),TJe=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,EJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),tj||(tj=S.createElement("path",{d:"M29.92,16.61l-3-7A1,1,0,0,0,26,9H23V7a1,1,0,0,0-1-1H3A1,1,0,0,0,2,7V24a1,1,0,0,0,1,1H5.14a4,4,0,0,0,7.72,0h6.28a4,4,0,0,0,7.72,0H29a1,1,0,0,0,1-1V17A1,1,0,0,0,29.92,16.61ZM23,11h2.34l2.14,5H23ZM9,26a2,2,0,1,1,2-2A2,2,0,0,1,9,26Zm10.14-3H12.86a4,4,0,0,0-7.72,0H4V8H21V20.56A4,4,0,0,0,19.14,23ZM23,26a2,2,0,1,1,2-2A2,2,0,0,1,23,26Zm5-3H26.86A4,4,0,0,0,23,20V18h5Z"})),n)}),gD=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,kJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),rj||(rj=S.createElement("path",{d:"M28 19L14.83 19 17.41 16.41 16 15 11 20 16 25 17.41 23.59 14.83 21 28 21 28 19z"})),nj||(nj=S.createElement("path",{d:"M24,14V10a1,1,0,0,0-.29-.71l-7-7A1,1,0,0,0,16,2H6A2,2,0,0,0,4,4V28a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V26H22v2H6V4h8v6a2,2,0,0,0,2,2h6v2Zm-8-4V4.41L21.59,10Z"})),n)}),ij,aj,oj,sj,lj,cj,uj,dj,fj,hj,pj,mj,gj,vj,yj,_Je=["children","size"],PJe=["children","size"],AJe=["children","size"],OJe=["children","size"],IJe=["children","size"],RJe=["children","size"],FJe=["children","size"],DJe=["children","size"],NJe=["children","size"],MJe=["children","size"],xkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,_Je);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),ij||(ij=S.createElement("path",{d:"M13 7L12.3 6.3 8.5 10.1 8.5 1 7.5 1 7.5 10.1 3.7 6.3 3 7 8 12zM13 12v2H3v-2H2v2l0 0c0 .6.4 1 1 1h10c.6 0 1-.4 1-1l0 0v-2H13z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),aj||(aj=S.createElement("path",{d:"M26 24v4H6V24H4v4H4a2 2 0 002 2H26a2 2 0 002-2h0V24zM26 14L24.59 12.59 17 20.17 17 2 15 2 15 20.17 7.41 12.59 6 14 16 24 26 14z"})),n)}),lle=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,PJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),oj||(oj=S.createElement("path",{d:"M2 26H30V28H2zM25.4 9c.8-.8.8-2 0-2.8 0 0 0 0 0 0l-3.6-3.6c-.8-.8-2-.8-2.8 0 0 0 0 0 0 0l-15 15V24h6.4L25.4 9zM20.4 4L24 7.6l-3 3L17.4 7 20.4 4zM6 22v-3.6l10-10 3.6 3.6-10 10H6z"})),n)}),Ckt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,AJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"
427currentColor"},o),sj||(sj=S.createElement("path",{d:"M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6ZM25.8,8,16,14.78,6.2,8ZM4,24V8.91l11.43,7.91a1,1,0,0,0,1.14,0L28,8.91V24Z"})),n)}),Ekt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,OJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),lj||(lj=S.createElement("path",{d:"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z"})),n)}),kkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,IJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),cj||(cj=S.createElement("path",{d:"M21,30a8,8,0,1,1,8-8A8,8,0,0,1,21,30Zm0-14a6,6,0,1,0,6,6A6,6,0,0,0,21,16Z"})),uj||(uj=S.createElement("path",{d:"M22.59 25L20 22.41 20 18 22 18 22 21.59 24 23.59 22.59 25z"})),dj||(dj=S.createElement("path",{d:"M28,6a2,2,0,0,0-2-2H22V2H20V4H12V2H10V4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2h4V26H6V6h4V8h2V6h8V8h2V6h4v6h2Z"})),n)}),cle=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,RJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),fj||(fj=S.createElement("path",{d:"M26 14H24v2h2a3.0033 3.0033 0 013 3v4h2V19A5.0058 5.0058 0 0026 14zM24 4a3 3 0 11-3 3 3 3 0 013-3m0-2a5 5 0 105 5A5 5 0 0024 2zM23 30H21V28a3.0033 3.0033 0 00-3-3H14a3.0033 3.0033 0 00-3 3v2H9V28a5.0059 5.0059 0 015-5h4a5.0059 5.0059 0 015 5zM16 13a3 3 0 11-3 3 3 3 0 013-3m0-2a5 5 0 105 5A5 5 0 0016 11zM8 14H6a5.0059 5.0059 0 00-5 5v4H3V19a3.0033 3.0033 0 013-3H8zM8 4A3 3 0 115 7 3 3 0 018 4M8 2a5 5 0 105 5A5 5 0 008 2z"})),n)}),Tkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,FJe);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),hj||(hj=S.createElement("path",{d:"M13 12v2H3v-2H2v2l0 0c0 .6.4 1 1 1h10c.6 0 1-.4 1-1l0 0v-2H13zM3 6L3.7 6.7 7.5 2.9 7.5 12 8.5 12 8.5 2.9 12.3 6.7 13 6 8 1z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),pj||(pj=S.createElement("path",{d:"M26 24v4H6V24H4v4l.0076-.0049A1.9977 1.9977 0 006 30H26a2 2 0 002-2h0V24zM6 12L7.411 13.405 15 5.825 15 24 17 24 17 5.825 24.591 13.405 26 12 16 2 6 12z"})),n)}),_kt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,DJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),mj||(mj=S.createElement("path",{d:"M18,28H14a2,2,0,0,1-2-2V18.41L4.59,11A2,2,0,0,1,4,9.59V6A2,2,0,0,1,6,4H26a2,2,0,0,1,2,2V9.59A2,2,0,0,1,27.41,11L20,18.41V26A2,2,0,0,1,18,28ZM6,6V9.59l8,8V26h4V17.59l8-8V6Z"})),n)}),LJe=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,NJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),gj||(gj=S.createElement("path",{d:"M11.61,29.92a1,1,0,0,1-.6-1.07L12.83,17H8a1,1,0,0,1-1-1.23l3-13A1,1,0,0,1,11,2H21a1,1,0,0,1,.78.37,1,1,0,0,1,.2.85L20.25,11H25a1,1,0,0,1,.9.56,1,1,0,0,1-.11,1l-13,17A1,1,0,0,1,12,30,1.09,1.09,0,0,1,11.61,29.92ZM17.75,13l2-9H11.8L9.26,15h5.91L13.58,25.28,23,13Z"})),n)}),Pkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,MJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),vj||(vj=S.createElement("path",{d:"M16,28a5.3257,5.3257,0,0,1-.6714-.044A21.7855,21.7855,0,0,1,12.0332,17H29.95c.0236-.3315.05-.6626.05-1A14,14,0,1,0,16,30ZM27.9492,15H21.9631A24.3247,24.3247,0,0,0,19.21,4.4492,12.0123,12.0123,0,0,1,27.9492,15ZM16.6714,4.0439A21.7855,21.7855,0,0,1,19.9668,15H12.0332A21.7855,21.7855,0,0,1,15.3286,4.0439,5.159,5.159,0,0,1,16.6714,4.0439ZM12.79,4.4492A24.3275,24.3275,0,0,0,10.0369,15H4.0508A12.0126,12.0126,0,0,1,12.79,4.4492ZM4.0508,17h5.9861A24.3275,24.3275,0,0,0,12.79,27.5508,12.0126,12.0126,0,0,1,4.0508,17Z"})),yj||(yj=S.createElement("path",{fillRule:"evenodd",d:"M25,25l5,2V25l-5-2.5V20a1,1,0,0,0-2,0v2.5L18,25v2l5-2v3.5L21,30v1l3-1,3,1V30l-2-1.5Z"})),n)}),bj,Sj,wj,xj,Cj,Ej,kj,Tj,_j,BJe=["children","size"],UJe=["children","size"],zJe=["children","size"],HJe=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,BJe);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),bj||(bj=S.createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M8,14c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S11.3,14,8,14z"})),Sj||(Sj=S.createElement("circle",{cx:"8",cy:"11.8",r:".8"})),wj||(wj=S.createElement("path",{d:"M8.5,4H7.8C6.5,4,5.5,5,5.5,6.2c0,0,0,0,0,0v0.2h1V6.2C6.5,5.6,7.1,5,7.8,5h0.8c0.7,0,1.2,0.6,1.2,1.2S9.2,7.5,8.5,7.5h-1 v2.2h1V8.5c1.2,0,2.2-1,2.2-2.2S9.7,4,8.5,4z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"
427currentColor"},o),xj||(xj=S.createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"})),Cj||(Cj=S.createElement("circle",{cx:"16",cy:"23.5",r:"1.5"})),Ej||(Ej=S.createElement("path",{d:"M17,8H15.5A4.49,4.49,0,0,0,11,12.5V13h2v-.5A2.5,2.5,0,0,1,15.5,10H17a2.5,2.5,0,0,1,0,5H15v4.5h2V17a4.5,4.5,0,0,0,0-9Z"})),n)}),Akt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,UJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),kj||(kj=S.createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,23a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,25Zm1.1421-7.754v2.5014h-2.25V15h2.125a2.3763,2.3763,0,0,0,0-4.7526h-1.5a2.3777,2.3777,0,0,0-2.375,2.375V13.26h-2.25v-.6377A4.6279,4.6279,0,0,1,15.5171,8h1.5a4.6238,4.6238,0,0,1,.125,9.246Z"})),Tj||(Tj=S.createElement("path",{fill:"none",d:"M16,25a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,25Zm1.1421-7.754v2.5014h-2.25V15h2.125a2.3763,2.3763,0,0,0,0-4.7526h-1.5a2.3777,2.3777,0,0,0-2.375,2.375V13.26h-2.25v-.6377A4.6279,4.6279,0,0,1,15.5171,8h1.5a4.6238,4.6238,0,0,1,.125,9.246Z","data-icon-path":"inner-path"})),n)}),qJe=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,zJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),_j||(_j=S.createElement("path",{d:"M16.6123,2.2138a1.01,1.01,0,0,0-1.2427,0L1,13.4194l1.2427,1.5717L4,13.6209V26a2.0041,2.0041,0,0,0,2,2H26a2.0037,2.0037,0,0,0,2-2V13.63L29.7573,15,31,13.4282ZM18,26H14V18h4Zm2,0V18a2.0023,2.0023,0,0,0-2-2H14a2.002,2.002,0,0,0-2,2v8H6V12.0615l10-7.79,10,7.8005V26Z"})),n)}),Pj,Aj,Oj,Ij,Rj,Fj,Dj,Nj,WJe=["children","size"],VJe=["children","size"],Okt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,WJe);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),Pj||(Pj=S.createElement("path",{d:"M8.5 11L8.5 6.5 6.5 6.5 6.5 7.5 7.5 7.5 7.5 11 6 11 6 12 10 12 10 11zM8 3.5c-.4 0-.8.3-.8.8S7.6 5 8 5c.4 0 .8-.3.8-.8S8.4 3.5 8 3.5z"})),Aj||(Aj=S.createElement("path",{d:"M8,15c-3.9,0-7-3.1-7-7s3.1-7,7-7s7,3.1,7,7S11.9,15,8,15z M8,2C4.7,2,2,4.7,2,8s2.7,6,6,6s6-2.7,6-6S11.3,2,8,2z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),Oj||(Oj=S.createElement("path",{d:"M17 22L17 14 13 14 13 16 15 16 15 22 12 22 12 24 20 24 20 22 17 22zM16 8a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 8z"})),Ij||(Ij=S.createElement("path",{d:"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z"})),n)}),Mj=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,VJe);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),Rj||(Rj=S.createElement("path",{d:"M13,14H3c-0.6,0-1-0.4-1-1V3c0-0.6,0.4-1,1-1h5v1H3v10h10V8h1v5C14,13.6,13.6,14,13,14z"})),Fj||(Fj=S.createElement("path",{d:"M10 1L10 2 13.3 2 9 6.3 9.7 7 14 2.7 14 6 15 6 15 1z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),Dj||(Dj=S.createElement("path",{d:"M26,28H6a2.0027,2.0027,0,0,1-2-2V6A2.0027,2.0027,0,0,1,6,4H16V6H6V26H26V16h2V26A2.0027,2.0027,0,0,1,26,28Z"})),Nj||(Nj=S.createElement("path",{d:"M20 2L20 4 26.586 4 18 12.586 19.414 14 28 5.414 28 12 30 12 30 2 20 2z"})),n)}),Lj,Bj,Uj,zj,Hj,qj,Wj,Vj,jj,Gj,Kj,Zj,Yj,jJe=["children","size"],GJe=["children","size"],KJe=["children","size"],ZJe=["children","size"],YJe=["children","size"],$Je=["children","size"],XJe=["children","size"],QJe=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,jJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),Lj||(Lj=S.createElement("path",{d:"M10 6H22V8H10zM10 10H22V12H10zM10 24H16V26H10zM10 14H16V16H10z"})),Bj||(Bj=S.createElement("path",{d:"M24,30H8a2.0023,2.0023,0,0,1-2-2V4A2.0023,2.0023,0,0,1,8,2H24a2.0023,2.0023,0,0,1,2,2V28A2.0023,2.0023,0,0,1,24,30ZM8,4V28H24V4Z"})),n)}),ule=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,GJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"
427currentColor"},o),Uj||(Uj=S.createElement("path",{d:"M8 6H20V8H8zM8 10H20V12H8zM8 14H14V16H8zM8 24H12V26H8z"})),zj||(zj=S.createElement("path",{d:"M29.707 19.293l-3-3a.9994.9994 0 00-1.414 0L16 25.5859V30h4.4141l9.2929-9.293A.9994.9994 0 0029.707 19.293zM19.5859 28H18V26.4141l5-5L24.5859 23zM26 21.5859L24.4141 20 26 18.4141 27.5859 20zM12 30H6a2.0021 2.0021 0 01-2-2V4A2.0021 2.0021 0 016 2H22a2.0021 2.0021 0 012 2V14H22V4H6V28h6z"})),n)}),JJe=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,KJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),Hj||(Hj=S.createElement("path",{d:"M10 6H28V8H10zM10 24H28V26H10zM10 15H28V17H10zM4 15H6V17H4zM4 6H6V8H4zM4 24H6V26H4z"})),n)}),dle=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,ZJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),qj||(qj=S.createElement("path",{d:"M16,18a5,5,0,1,1,5-5A5.0057,5.0057,0,0,1,16,18Zm0-8a3,3,0,1,0,3,3A3.0033,3.0033,0,0,0,16,10Z"})),Wj||(Wj=S.createElement("path",{d:"M16,30,7.5645,20.0513c-.0479-.0571-.3482-.4515-.3482-.4515A10.8888,10.8888,0,0,1,5,13a11,11,0,0,1,22,0,10.8844,10.8844,0,0,1-2.2148,6.5973l-.0015.0025s-.3.3944-.3447.4474ZM8.8125,18.395c.001.0007.2334.3082.2866.3744L16,26.9079l6.91-8.15c.0439-.0552.2783-.3649.2788-.3657A8.901,8.901,0,0,0,25,13,9,9,0,1,0,7,13a8.9054,8.9054,0,0,0,1.8125,5.395Z"})),n)}),Ikt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,YJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),Vj||(Vj=S.createElement("path",{d:"M24,14H22V8A6,6,0,0,0,10,8v6H8a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H24a2,2,0,0,0,2-2V16A2,2,0,0,0,24,14ZM12,8a4,4,0,0,1,8,0v6H12ZM24,28H8V16H24Z"})),n)}),eet=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,$Je);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),jj||(jj=S.createElement("path",{d:"M6,30H18a2.0023,2.0023,0,0,0,2-2V25H18v3H6V4H18V7h2V4a2.0023,2.0023,0,0,0-2-2H6A2.0023,2.0023,0,0,0,4,4V28A2.0023,2.0023,0,0,0,6,30Z"})),Gj||(Gj=S.createElement("path",{d:"M20.586 20.586L24.172 17 10 17 10 15 24.172 15 20.586 11.414 22 10 28 16 22 22 20.586 20.586z"})),n)}),tet=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,XJe);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),Kj||(Kj=S.createElement("path",{d:"M16,24l-6.09-8.6A8.14,8.14,0,0,1,16,2a8.08,8.08,0,0,1,8,8.13,8.2,8.2,0,0,1-1.8,5.13ZM16,4a6.07,6.07,0,0,0-6,6.13,6.19,6.19,0,0,0,1.49,4L16,20.52,20.63,14A6.24,6.24,0,0,0,22,10.13,6.07,6.07,0,0,0,16,4Z"})),Zj||(Zj=S.createElement("circle",{cx:"16",cy:"9",r:"2"})),Yj||(Yj=S.createElement("path",{d:"M28,12H26v2h2V28H4V14H6V12H4a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V14A2,2,0,0,0,28,12Z"})),n)}),$j,Xj,Qj,Jj,eG,tG,rG,nG,iG,aG,ret=["children","size"],net=["children","size"],iet=["children","size"],aet=["children","size"],oet=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,ret);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),$j||($j=S.createElement("path",{d:"M28.4473,16.1055,23,13.3818V7a1,1,0,0,0-.5527-.8945l-6-3a1.0008,1.0008,0,0,0-.8946,0l-6,3A1,1,0,0,0,9,7v6.3818L3.5527,16.1055A1,1,0,0,0,3,17v7a1,1,0,0,0,.5527.8945l6,3a1.001,1.001,0,0,0,.8946,0L16,25.1182l5.5527,2.7763a1.001,1.001,0,0,0,.8946,0l6-3A1,1,0,0,0,29,24V17A1,1,0,0,0,28.4473,16.1055ZM21,13.3818l-4,2V10.6182l4-2ZM16,5.1182,19.7637,7,16,8.8818,12.2363,7Zm-5,3.5,4,2v4.7636l-4-2ZM9,25.3818l-4-2V18.6182l4,2Zm1-6.5L6.2363,17,10,15.1182,13.7637,17Zm1,1.7364,4-2v4.7636l-4,2Zm10,4.7636-4-2V18.6182l4,2Zm1-6.5L18.2363,17,22,15.1182,25.7637,17Zm5,4.5-4,2V20.6182l4-2Z"})),n)}),Rkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,net);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),Xj||(Xj=S.createElement("path",{d:"M13,13H3V3h5V2H3C2.4,2,2,2.4,2,3v10c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1V8h-1V13z"})),Qj||(Qj=S.createElement("path",{d:"M13 3L13 1 12 1 12 3 10 3 10 4 12 4 12 6 13 6 13 4 15 4 15 3z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"
427currentColor"},o),Jj||(Jj=S.createElement("path",{d:"M26,26H6V6H16V4H6A2.002,2.002,0,0,0,4,6V26a2.002,2.002,0,0,0,2,2H26a2.002,2.002,0,0,0,2-2V16H26Z"})),eG||(eG=S.createElement("path",{d:"M26,26H6V6H16V4H6A2.002,2.002,0,0,0,4,6V26a2.002,2.002,0,0,0,2,2H26a2.002,2.002,0,0,0,2-2V16H26Z"})),tG||(tG=S.createElement("path",{d:"M26 6L26 2 24 2 24 6 20 6 20 8 24 8 24 12 26 12 26 8 30 8 30 6 26 6z"})),n)}),set=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,iet);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),rG||(rG=S.createElement("path",{d:"M19 10H26V12H19zM19 15H26V17H19zM19 20H26V22H19z"})),nG||(nG=S.createElement("path",{d:"M28,5H4A2.002,2.002,0,0,0,2,7V25a2.0023,2.0023,0,0,0,2,2H28a2.0027,2.0027,0,0,0,2-2V7A2.0023,2.0023,0,0,0,28,5ZM4,7H15V25H4ZM17,25V7H28l.002,18Z"})),n)}),cet=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,aet);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),iG||(iG=S.createElement("path",{d:"M14.4,10.1L13,8.8V6.5c0-2.6-1.9-4.7-4.5-5v-1h-1v1C5,1.8,3,3.9,3,6.5v2.3l-1.4,1.3c-0.1,0.1-0.2,0.2-0.1,0.4V12 c0,0.3,0.2,0.5,0.4,0.5c0,0,0,0,0.1,0h3.5C5.5,13.9,6.6,15,8,15s2.5-1.1,2.5-2.5H14c0.3,0,0.5-0.2,0.5-0.4c0,0,0,0,0-0.1v-1.5 C14.5,10.4,14.4,10.2,14.4,10.1z M8,14c-0.8,0-1.5-0.7-1.5-1.5h3C9.5,13.3,8.8,14,8,14z M13.5,11.5h-11v-0.8l1.3-1.4 C3.9,9.3,4,9.1,4,9V6.5c0-2.2,1.8-4,4-4s4,1.8,4,4V9c0,0.1,0.1,0.3,0.1,0.4l1.4,1.3V11.5z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),aG||(aG=S.createElement("path",{d:"M28.7071,19.293,26,16.5859V13a10.0136,10.0136,0,0,0-9-9.9492V1H15V3.0508A10.0136,10.0136,0,0,0,6,13v3.5859L3.2929,19.293A1,1,0,0,0,3,20v3a1,1,0,0,0,1,1h7v.7768a5.152,5.152,0,0,0,4.5,5.1987A5.0057,5.0057,0,0,0,21,25V24h7a1,1,0,0,0,1-1V20A1,1,0,0,0,28.7071,19.293ZM19,25a3,3,0,0,1-6,0V24h6Zm8-3H5V20.4141L7.707,17.707A1,1,0,0,0,8,17V13a8,8,0,0,1,16,0v4a1,1,0,0,0,.293.707L27,20.4141Z"})),n)}),oG,sG,lG,cG,uG,dG,fG,hG,pG,mG,gG,vG,yG,uet=["children","size"],det=["children","size"],fet=["children","size"],het=["children","size"],pet=["children","size"],met=["children","size"],get=["children","size"],Fkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,uet);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),oG||(oG=S.createElement("path",{d:"M28,6H4A2,2,0,0,0,2,8V24a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V8A2,2,0,0,0,28,6Zm0,2v3H4V8ZM4,24V13H28V24Z"})),sG||(sG=S.createElement("path",{d:"M6 20H16V22H6z"})),n)}),Dkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,det);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),lG||(lG=S.createElement("path",{d:"M16,24V22a3.2965,3.2965,0,0,0,3-3h2A5.2668,5.2668,0,0,1,16,24Z"})),cG||(cG=S.createElement("path",{d:"M16,28a9.0114,9.0114,0,0,1-9-9,9.9843,9.9843,0,0,1,1.4941-4.9554L15.1528,3.4367a1.04,1.04,0,0,1,1.6944,0l6.6289,10.5564A10.0633,10.0633,0,0,1,25,19,9.0114,9.0114,0,0,1,16,28ZM16,5.8483l-5.7817,9.2079A7.9771,7.9771,0,0,0,9,19a7,7,0,0,0,14,0,8.0615,8.0615,0,0,0-1.248-3.9953Z"})),n)}),vet=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,fet);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),uG||(uG=S.createElement("path",{d:"M4,8c-1.2,0-2,0.8-2,2c0,1.2,0.8,2,2,2h3v1H4c-1.7,0-3-1.2-3-3c0-1.7,1.3-3,3-3l9.1,0l-2-2l0.7-0.7 L15,7.5l-3.2,3.2L11.1,10l2-2L4,8z"})),n):a===20||a==="20"||a==="20px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},o),dG||(dG=S.createElement("path",{d:"M5,9.3c-1.5,0-2.8,1.3-2.8,2.7c0,1.5,1.3,2.7,2.8,2.7h4V16H5c-2.3,0-4-1.7-4-4c0-2.2,1.8-4,4-4h11.6 l-2.5-2.5L15,4.6l4,4l-4,4l-0.9-0.9l2.5-2.5H5z"})),n):a===24||a==="24"||a==="24px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
427currentColor"},o),fG||(fG=S.createElement("path",{d:"M6.8,11.2c-1.8,0-3.2,1.7-3.2,3.3c0,1.5,1.5,3.2,3.2,3.2H10v1.5H6.8C4.6,19.2,2,17,2,14.5s2-4.8,4.8-4.8 h12.4l-3-3l1.1-1.1l4.8,4.8l-4.8,4.8l-1.1-1.1l3-3H6.8z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),hG||(hG=S.createElement("path",{d:"M12,10H24.1851L20.5977,6.4141,22,5,28,11,22,17l-1.4023-1.4146L24.1821,12H12a6,6,0,0,0,0,12h8v2H12a8,8,0,0,1,0-16Z"})),n)}),Nkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,het);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),pG||(pG=S.createElement("path",{d:"M12 10H6.78A11 11 0 0127 16h2A13 13 0 006 7.68V4H4v8h8zM20 22h5.22A11 11 0 015 16H3a13 13 0 0023 8.32V28h2V20H20z"})),n)}),Mkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,pet);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),mG||(mG=S.createElement("path",{d:"M28 8h2V4a2.0021 2.0021 0 00-2-2H24V4h4zM17 2H21V4H17zM28 11H30V15H28zM28 18v4H24V10a2.0023 2.0023 0 00-2-2H10V4h4V2H10A2.0023 2.0023 0 008 4V8H4a2.0023 2.0023 0 00-2 2V28a2.0023 2.0023 0 002 2H22a2.0023 2.0023 0 002-2V24h4a2.0023 2.0023 0 002-2V18zM22 28H4V10H22z"})),n)}),Lkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,met);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),gG||(gG=S.createElement("path",{d:"M9 2H11V12H9z"})),vG||(vG=S.createElement("path",{d:"M14 11a4 4 0 01-8 0V2H4v9a6 6 0 005 5.91V30h2V16.91A6 6 0 0016 11V2H14zM22 2H21V30h2V20h3a2 2 0 002-2V8A5.78 5.78 0 0022 2zm4 16H23V4.09c2.88.56 3 3.54 3 3.91z"})),n)}),Bkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,get);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),yG||(yG=S.createElement("path",{d:"M29,10H3a1,1,0,0,0-1,1V21a1,1,0,0,0,1,1H29a1,1,0,0,0,1-1V11A1,1,0,0,0,29,10ZM28,20H4V12H8v4h2V12h5v4h2V12h5v4h2V12h4Z"})),n)}),bG,SG,wG,xG,CG,EG,kG,TG,_G,PG,yet=["children","size"],bet=["children","size"],wet=["children","size"],xet=["children","size"],Ukt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,yet);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),bG||(bG=S.createElement("path",{d:"M15,14.3L10.7,10c1.9-2.3,1.6-5.8-0.7-7.7S4.2,0.7,2.3,3S0.7,8.8,3,10.7c2,1.7,5,1.7,7,0l4.3,4.3L15,14.3z M2,6.5 C2,4,4,2,6.5,2S11,4,11,6.5S9,11,6.5,11S2,9,2,6.5z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),SG||(SG=S.createElement("path",{d:"M29,27.5859l-7.5521-7.5521a11.0177,11.0177,0,1,0-1.4141,1.4141L27.5859,29ZM4,13a9,9,0,1,1,9,9A9.01,9.01,0,0,1,4,13Z"})),n)}),Cet=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,bet);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),wG||(wG=S.createElement("path",{d:"M13.5,8.4c0-0.1,0-0.3,0-0.4c0-0.1,0-0.3,0-0.4l1-0.8c0.4-0.3,0.4-0.9,0.2-1.3l-1.2-2C13.3,3.2,13,3,12.6,3 c-0.1,0-0.2,0-0.3,0.1l-1.2,0.4c-0.2-0.1-0.4-0.3-0.7-0.4l-0.3-1.3C10.1,1.3,9.7,1,9.2,1H6.8c-0.5,0-0.9,0.3-1,0.8L5.6,3.1 C5.3,3.2,5.1,3.3,4.9,3.4L3.7,3C3.6,3,3.5,3,3.4,3C3,3,2.7,3.2,2.5,3.5l-1.2,2C1.1,5.9,1.2,6.4,1.6,6.8l0.9,0.9c0,0.1,0,0.3,0,0.4 c0,0.1,0,0.3,0,0.4L1.6,9.2c-0.4,0.3-0.5,0.9-0.2,1.3l1.2,2C2.7,12.8,3,13,3.4,13c0.1,0,0.2,0,0.3-0.1l1.2-0.4 c0.2,0.1,0.4,0.3,0.7,0.4l0.3,1.3c0.1,0.5,0.5,0.8,1,0.8h2.4c0.5,0,0.9-0.3,1-0.8l0.3-1.3c0.2-0.1,0.4-0.2,0.7-0.4l1.2,0.4 c0.1,0,0.2,0.1,0.3,0.1c0.4,0,0.7-0.2,0.9-0.5l1.1-2c0.2-0.4,0.2-0.9-0.2-1.3L13.5,8.4z M12.6,12l-1.7-0.6c-0.4,0.3-0.9,0.6-1.4,0.8 L9.2,14H6.8l-0.4-1.8c-0.5-0.2-0.9-0.5-1.4-0.8L3.4,12l-1.2-2l1.4-1.2c-0.1-0.5-0.1-1.1,0-1.6L2.2,6l1.2-2l1.7,0.6 C5.5,4.2,6,4,6.5,3.8L6.8,2h2.4l0.4,1.8c0.5,0.2,0.9,0.5,1.4,0.8L12.6,4l1.2,2l-1.4,1.2c0.1,0.5,0.1,1.1,0,1.6l1.4,1.2L12.6,12z"})),xG||(xG=S.createElement("path",{d:"M8,11c-1.7,0-3-1.3-3-3s1.3-3,3-3s3,1.3,3,3C11,9.6,9.7,11,8,11C8,11,8,11,8,11z M8,6C6.9,6,6,6.8,6,7.9C6,7.9,6,8,6,8 c0,1.1,0.8,2,1.9,2c0,0,0.1,0,0.1,0c1.1,0,2-0.8,2-1.9c0,0,0-0.1,0-0.1C10,6.9,9.2,6,8,6C8.1,6,8,6,8,6z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"
427currentColor"},o),CG||(CG=S.createElement("path",{d:"M27,16.76c0-.25,0-.5,0-.76s0-.51,0-.77l1.92-1.68A2,2,0,0,0,29.3,11L26.94,7a2,2,0,0,0-1.73-1,2,2,0,0,0-.64.1l-2.43.82a11.35,11.35,0,0,0-1.31-.75l-.51-2.52a2,2,0,0,0-2-1.61H13.64a2,2,0,0,0-2,1.61l-.51,2.52a11.48,11.48,0,0,0-1.32.75L7.43,6.06A2,2,0,0,0,6.79,6,2,2,0,0,0,5.06,7L2.7,11a2,2,0,0,0,.41,2.51L5,15.24c0,.25,0,.5,0,.76s0,.51,0,.77L3.11,18.45A2,2,0,0,0,2.7,21L5.06,25a2,2,0,0,0,1.73,1,2,2,0,0,0,.64-.1l2.43-.82a11.35,11.35,0,0,0,1.31.75l.51,2.52a2,2,0,0,0,2,1.61h4.72a2,2,0,0,0,2-1.61l.51-2.52a11.48,11.48,0,0,0,1.32-.75l2.42.82a2,2,0,0,0,.64.1,2,2,0,0,0,1.73-1L29.3,21a2,2,0,0,0-.41-2.51ZM25.21,24l-3.43-1.16a8.86,8.86,0,0,1-2.71,1.57L18.36,28H13.64l-.71-3.55a9.36,9.36,0,0,1-2.7-1.57L6.79,24,4.43,20l2.72-2.4a8.9,8.9,0,0,1,0-3.13L4.43,12,6.79,8l3.43,1.16a8.86,8.86,0,0,1,2.71-1.57L13.64,4h4.72l.71,3.55a9.36,9.36,0,0,1,2.7,1.57L25.21,8,27.57,12l-2.72,2.4a8.9,8.9,0,0,1,0,3.13L27.57,20Z"})),EG||(EG=S.createElement("path",{d:"M16,22a6,6,0,1,1,6-6A5.94,5.94,0,0,1,16,22Zm0-10a3.91,3.91,0,0,0-4,4,3.91,3.91,0,0,0,4,4,3.91,3.91,0,0,0,4-4A3.91,3.91,0,0,0,16,12Z"})),n)}),Eet=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,wet);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),kG||(kG=S.createElement("circle",{cx:"10",cy:"28",r:"2"})),TG||(TG=S.createElement("circle",{cx:"24",cy:"28",r:"2"})),_G||(_G=S.createElement("path",{d:"M28,7H5.82L5,2.8A1,1,0,0,0,4,2H0V4H3.18L7,23.2A1,1,0,0,0,8,24H26V22H8.82L8,18H26a1,1,0,0,0,1-.78l2-9A1,1,0,0,0,28,7Zm-2.8,9H7.62L6.22,9H26.75Z"})),n)}),zkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,xet);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),PG||(PG=S.createElement("path",{d:"M18 22L19.414 20.586 23 24.172 23 4 25 4 25 24.172 28.586 20.586 30 22 24 28 18 22zM2 6H16V8H2zM6 12H16V14H6zM10 18H16V20H10z"})),n)}),AG,OG,IG,RG,FG,ket=["children","size"],Tet=["children","size"],_et=["children","size"],Pet=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,ket);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),AG||(AG=S.createElement("path",{d:"M30,10.68l-2-6A1,1,0,0,0,27,4H5a1,1,0,0,0-1,.68l-2,6A1.19,1.19,0,0,0,2,11v6a1,1,0,0,0,1,1H4V28H6V18h6V28H28V18h1a1,1,0,0,0,1-1V11A1.19,1.19,0,0,0,30,10.68ZM26,26H14V18H26Zm2-10H24V12H22v4H17V12H15v4H10V12H8v4H4V11.16L5.72,6H26.28L28,11.16Z"})),n)}),Hkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,Tet);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),OG||(OG=S.createElement("path",{d:"M16 18L22 12 23.414 13.414 19.828 17 30 17 30 19 19.828 19 23.414 22.586 22 24 16 18zM10 14a4 4 0 114-4A4.0045 4.0045 0 0110 14zm0-6a2 2 0 101.998 2.0044A2.002 2.002 0 0010 8z"})),IG||(IG=S.createElement("path",{d:"M20.0586,26l-2.0007,2L4,13.9414V4h9.9417l6,6,1.4143-1.414-6.001-6A2,2,0,0,0,13.9414,2H4A2,2,0,0,0,2,4v9.9414a2,2,0,0,0,.5857,1.4141L16.6436,29.4146a2.001,2.001,0,0,0,2.8286,0l2.0006-2.0007Z"})),n)}),qkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,_et);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),RG||(RG=S.createElement("path",{d:"M22 27.18L19.41 24.59 18 26 22 30 30 22 28.59 20.59 22 27.18z"})),FG||(FG=S.createElement("path",{d:"M25,5H22V4a2.0058,2.0058,0,0,0-2-2H12a2.0058,2.0058,0,0,0-2,2V5H7A2.0058,2.0058,0,0,0,5,7V28a2.0058,2.0058,0,0,0,2,2h9V28H7V7h3v3H22V7h3V18h2V7A2.0058,2.0058,0,0,0,25,5ZM20,8H12V4h8Z"})),n)}),DG,NG,MG,LG,BG,UG,zG,HG,qG,WG,VG,jG,Aet=["children","size"],Oet=["children","size"],Iet=["children","size"],Ret=["children","size"],Fet=["children","size"],Wkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,Aet);return a===20||a==="20"||a==="20px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},o),DG||(DG=S.createElement("path",{d:"M10,19c-5,0-9-4-9-9s4-9,9-9s9,4,9,9S15,19,10,19z M10,2.3c-4.3,0-7.7,3.5-7.7,7.7s3.5,7.7,7.7,7.7s7.7-3.5,7.7-7.7 S14.3,2.3,10,2.3z"})),NG||(NG=S.createElement("path",{d:"M13 13.9L9.4 10.3 9.4 4 10.6 4 10.6 9.7 13.9 13z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"
427currentColor"},o),MG||(MG=S.createElement("path",{d:"M16,30A14,14,0,1,1,30,16,14,14,0,0,1,16,30ZM16,4A12,12,0,1,0,28,16,12,12,0,0,0,16,4Z"})),LG||(LG=S.createElement("path",{d:"M20.59 22L15 16.41 15 7 17 7 17 15.58 22 20.59 20.59 22z"})),n)}),Y8=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,Oet);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),BG||(BG=S.createElement("path",{d:"M12 12H14V24H12zM18 12H20V24H18z"})),UG||(UG=S.createElement("path",{d:"M4 6V8H6V28a2 2 0 002 2H24a2 2 0 002-2V8h2V6zM8 28V8H24V28zM12 2H20V4H12z"})),n)}),Det=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,Iet);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),zG||(zG=S.createElement("path",{d:"M26,7H24V6a2.0023,2.0023,0,0,0-2-2H10A2.0023,2.0023,0,0,0,8,6V7H6A2.0023,2.0023,0,0,0,4,9v3a4.0045,4.0045,0,0,0,4,4h.322A8.1689,8.1689,0,0,0,15,21.9341V26H10v2H22V26H17V21.9311A7.9661,7.9661,0,0,0,23.74,16H24a4.0045,4.0045,0,0,0,4-4V9A2.0023,2.0023,0,0,0,26,7ZM8,14a2.0023,2.0023,0,0,1-2-2V9H8Zm14,0a6,6,0,0,1-6.1855,5.9971A6.1991,6.1991,0,0,1,10,13.7065V6H22Zm4-2a2.0023,2.0023,0,0,1-2,2V9h2Z"})),n)}),Net=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,Ret);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),HG||(HG=S.createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M5,13.2v-1.5c0-0.9,0.6-1.6,1.5-1.7h3c0.9,0.1,1.5,0.8,1.5,1.7v1.5 C9.1,14.3,6.9,14.3,5,13.2L5,13.2z M12,12l0-0.8c0-0.9-1.1-2.1-2.5-2.2h-3C5.1,9.1,4,10.3,4,11.7l0,0.5v0.3c-2.5-2.2-2.7-6-0.5-8.5 s6-2.7,8.5-0.5s2.7,6,0.5,8.5c-0.1,0.2-0.3,0.3-0.5,0.5V12z"})),qG||(qG=S.createElement("path",{d:"M8,3C6.6,3,5.5,4.1,5.5,5.5S6.6,8,8,8s2.5-1.1,2.5-2.5S9.4,3,8,3z M8,7C7.2,7,6.5,6.3,6.5,5.5S7.2,4,8,4s1.5,0.7,1.5,1.5 S8.8,7,8,7z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),WG||(WG=S.createElement("path",{d:"M16,8a5,5,0,1,0,5,5A5,5,0,0,0,16,8Zm0,8a3,3,0,1,1,3-3A3.0034,3.0034,0,0,1,16,16Z"})),VG||(VG=S.createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14.0158,14.0158,0,0,0,16,2ZM10,26.3765V25a3.0033,3.0033,0,0,1,3-3h6a3.0033,3.0033,0,0,1,3,3v1.3765a11.8989,11.8989,0,0,1-12,0Zm13.9925-1.4507A5.0016,5.0016,0,0,0,19,20H13a5.0016,5.0016,0,0,0-4.9925,4.9258,12,12,0,1,1,15.985,0Z"})),n)}),Met=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,Fet);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),jG||(jG=S.createElement("path",{d:"M30 30H28V25a5.0057 5.0057 0 00-5-5V18a7.0078 7.0078 0 017 7zM22 30H20V25a5.0059 5.0059 0 00-5-5H9a5.0059 5.0059 0 00-5 5v5H2V25a7.0082 7.0082 0 017-7h6a7.0082 7.0082 0 017 7zM20 2V4a5 5 0 010 10v2A7 7 0 0020 2zM12 4A5 5 0 117 9a5 5 0 015-5m0-2a7 7 0 107 7A7 7 0 0012 2z"})),n)}),GG,KG,ZG,YG,$G,XG,QG,JG,eK,tK,rK,nK,iK,aK,oK,sK,lK,cK,uK,dK,fK,hK,Let=["children","size"],Bet=["children","size"],Uet=["children","size"],zet=["children","size"],Het=["children","size"],qet=["children","size"],fle=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,Let);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),GG||(GG=S.createElement("path",{d:"M22 17H24V19H22z"})),KG||(KG=S.createElement("path",{d:"M28,8H4V5H26V3H4A2,2,0,0,0,2,5V26a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10A2,2,0,0,0,28,8ZM4,26V10H28v3H20a2,2,0,0,0-2,2v6a2,2,0,0,0,2,2h8v3ZM28,15v6H20V15Z"})),n)}),Wet=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,Bet);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),ZG||(ZG=S.createElement("path",{d:"M8,1C4.1,1,1,4.1,1,8s3.1,7,7,7s7-3.1,7-7S11.9,1,8,1z M8,14c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S11.3,14,8,14z"})),YG||(YG=S.createElement("path",{d:"M7.5 4H8.5V9H7.5zM8 10.2c-.4 0-.8.3-.8.8s.3.8.8.8c.4 0 .8-.3.8-.8S8.4 
42710.2 8 10.2z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),$G||($G=S.createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2Zm0,26A12,12,0,1,1,28,16,12,12,0,0,1,16,28Z"})),XG||(XG=S.createElement("path",{d:"M15 8H17V19H15zM16 22a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 22z"})),n)}),Vet=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,Uet);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),QG||(QG=S.createElement("path",{d:"M14.5,14h-13c-0.2,0-0.3-0.1-0.4-0.2c-0.1-0.2-0.1-0.3,0-0.5l6.5-12C7.7,1,8,0.9,8.2,1.1c0.1,0,0.2,0.1,0.2,0.2l6.5,12 c0.1,0.2,0.1,0.3,0,0.5C14.9,13.9,14.7,14,14.5,14z M2.3,13h11.3L8,2.5L2.3,13z"})),JG||(JG=S.createElement("path",{d:"M7.5 6H8.5V9.5H7.5zM8 10.8c-.4 0-.8.3-.8.8s.3.8.8.8c.4 0 .8-.3.8-.8S8.4 10.8 8 10.8z"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),eK||(eK=S.createElement("path",{d:"M16 23a1.5 1.5 0 101.5 1.5A1.5 1.5 0 0016 23zM15 12H17V21H15z"})),tK||(tK=S.createElement("path",{d:"M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z"})),n)}),Vkt=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,zet);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),rK||(rK=S.createElement("path",{fill:"none",d:"M16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Zm-1.125-5h2.25V12h-2.25Z","data-icon-path":"inner-path"})),nK||(nK=S.createElement("path",{d:"M16.002,6.1714h-.004L4.6487,27.9966,4.6506,28H27.3494l.0019-.0034ZM14.875,12h2.25v9h-2.25ZM16,26a1.5,1.5,0,1,1,1.5-1.5A1.5,1.5,0,0,1,16,26Z"})),iK||(iK=S.createElement("path",{d:"M29,30H3a1,1,0,0,1-.8872-1.4614l13-25a1,1,0,0,1,1.7744,0l13,25A1,1,0,0,1,29,30ZM4.6507,28H27.3493l.002-.0033L16.002,6.1714h-.004L4.6487,27.9967Z"})),n)}),hw=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,Het);return a===16||a==="16"||a==="16px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor"},o),aK||(aK=S.createElement("path",{d:"M8,1C4.2,1,1,4.2,1,8s3.2,7,7,7s7-3.1,7-7S11.9,1,8,1z M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2 c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z"})),oK||(oK=S.createElement("path",{d:"M7.5,4h1v5h-1C7.5,9,7.5,4,7.5,4z M8,12.2c-0.4,0-0.8-0.4-0.8-0.8s0.3-0.8,0.8-0.8 c0.4,0,0.8,0.4,0.8,0.8S8.4,12.2,8,12.2z","data-icon-path":"inner-path",opacity:"0"})),n):a===20||a==="20"||a==="20px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},o),sK||(sK=S.createElement("path",{d:"M10,1c-5,0-9,4-9,9s4,9,9,9s9-4,9-9S15,1,10,1z M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1 s1,0.4,1,1S10.6,16,10,16z"})),lK||(lK=S.createElement("path",{d:"M9.2,5h1.5v7H9.2V5z M10,16c-0.6,0-1-0.4-1-1s0.4-1,1-1s1,0.4,1,1S10.6,16,10,16z","data-icon-path":"inner-path",opacity:"0"})),n):a===24||a==="24"||a==="24px"?S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"},o),cK||(cK=S.createElement("path",{d:"M12,1C5.9,1,1,5.9,1,12s4.9,11,11,11s11-4.9,11-11C23,5.9,18.1,1,12,1z M11.1,6h1.8v8h-1.8V6z M12,19.2 c-0.7,0-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2s1.2,0.6,1.2,1.2S12.7,19.2,12,19.2z"})),uK||(uK=S.createElement("path",{fill:"none",d:"M13.2,18c0,0.7-0.6,1.2-1.2,1.2s-1.2-0.6-1.2-1.2s0.6-1.2,1.2-1.2S13.2,17.3,13.2,18z M12.9,6 h-1.8v8h1.8V6z","data-icon-path":"inner-path",opacity:"0"})),n):S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),dK||(dK=S.createElement("path",{d:"M16,2C8.3,2,2,8.3,2,16s6.3,14,14,14s14-6.3,14-14C30,8.3,23.7,2,16,2z M14.9,8h2.2v11h-2.2V8z M16,25 c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22c0.8,0,1.5,0.7,1.5,1.5S16.8,25,16,25z"})),fK||(fK=S.createElement("path",{fill:"none",d:"M17.5,23.5c0,0.8-0.7,1.5-1.5,1.5c-0.8,0-1.5-0.7-1.5-1.5S15.2,22,16,22 C16.8,22,17.5,22.7,17.5,23.5z M17.1,8h-2.2v11h2.2V8z","data-icon-path":"inner
427-path",opacity:"0"})),n)}),jet=S.forwardRef(function(t,r){var n=t.children,i=t.size,a=i===void 0?16:i,o=yt(t,qet);return S.createElement(Ye,$e({width:a,height:a,ref:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor"},o),hK||(hK=S.createElement("path",{d:"M16,2A14,14,0,1,0,30,16,14,14,0,0,0,16,2ZM28,15H22A24.26,24.26,0,0,0,19.21,4.45,12,12,0,0,1,28,15ZM16,28a5,5,0,0,1-.67,0A21.85,21.85,0,0,1,12,17H20a21.85,21.85,0,0,1-3.3,11A5,5,0,0,1,16,28ZM12,15a21.85,21.85,0,0,1,3.3-11,6,6,0,0,1,1.34,0A21.85,21.85,0,0,1,20,15Zm.76-10.55A24.26,24.26,0,0,0,10,15h-6A12,12,0,0,1,12.79,4.45ZM4.05,17h6a24.26,24.26,0,0,0,2.75,10.55A12,12,0,0,1,4.05,17ZM19.21,27.55A24.26,24.26,0,0,0,22,17h6A12,12,0,0,1,19.21,27.55Z"})),n)});const TA=bt("div",{target:"e1jwhekw0"})("height:var(--p-space-",({heightSpace:e="025"})=>e,");background-color:var(--p-divider);"),Get=e=>(e==null?void 0:e.isMultiUserEnabled)??!1,Ket=e=>(e==null?void 0:e.role)===eVe.OWNER,Zet=e=>e.isMultiUserEnabled&&!e.isOwner,Yet=e=>!e.isOwner&&e.userOrgConfigs===void 0,$et=e=>!e.isOwner&&e.isOrgConfigsError,Kx=()=>{const{userOrganization:e,userOrgConfigs:t,isOrgConfigsError:r,refetchOrgConfigs:n}=Nr();return k.useMemo(()=>{const i=Get(t),a=Ket(e);return{isOwner:a,isMultiUserEnabled:i,isRestrictionsActive:Zet({isMultiUserEnabled:i,isOwner:a}),isLoading:Yet({isOwner:a,userOrgConfigs:t}),isError:$et({isOwner:a,isOrgConfigsError:r}),refetch:n,ownerEmail:void 0}},[r,n,e,t])},oo=Object.freeze({billing:Object.freeze({wallet:Re.billing({tab:zc.TRANSACTIONS}),invoices:Re.billing({tab:zc.INVOICES}),creditNotes:Re.billing({tab:zc.CREDIT_NOTES}),receipts:Re.billing({tab:zc.RECEIPTS}),pendingCharges:Re.billingPendingCharges({tab:pm.OUTSTANDING}),upcomingPendingCharges:Re.billingPendingCharges({tab:pm.UPCOMING}),archivedPendingCharges:Re.billingPendingCharges({tab:pm.ARCHIVED}),plans:Re.billingPlans(),paymentMethods:Re.billingPaymentMethods(),paymentSettings:Re.billingPaymentSettings()}),settings:Object.freeze({users:Re.settings({tab:an.USERS}),carriers:Re.settings({tab:an.CARRIERS}),branding:Re.settings({tab:an.BRANDING}),taxes:Re.settings({tab:an.TAXES}),trackingPage:Re.settings({tab:an.TRACKING_PAGE}),apiAndWebhook:Re.settings({tab:an.API_AND_WEBHOOK})}),integrations:Object.freeze({stores:Re.storeIntegrations(),editStore:Re.editStoreIntegration(),connectShopifyStore:Re.connectShopifyStore()}),stripeSetupIntentCallback:Re.stripeSetupIntentCallback()}),Xet=Object.freeze([...Object.values(oo.billing),...Object.values(oo.settings),...Object.values(oo.integrations),oo.stripeSetupIntentCallback]),pK=e=>{if(e.length===0)throw new Error("Array cannot be empty");return e},Ys=Object.freeze({map:e=>t=>t.map(r=>e(r)),flatMap:e=>t=>t.flatMap(r=>e(r)),filter:e=>t=>t.filter(r=>e(r)),reduce:(e,t)=>r=>r.reduce((n,i)=>e(n,i),t),uniqBy:e=>t=>NFe(t,e),uniq:()=>e=>DFe(e),sortBy:e=>t=>OFe(t,e),groupBy:e=>t=>{const r=new Map;return t.forEach(n=>{const i=e(n),a=r.get(i)??[];r.set(i,[...a,n])}),r},some:e=>t=>t.some(e),every:e=>t=>t.every(e),compact:e=>jP(e),slice:(e,t)=>r=>r.slice(e,t),join:e=>t=>t.join(e),find:e=>t=>t.find(e),first:e=>Gne(e)});function dd(e,...t){return t.reduce((r,n)=>n(r),e)}const Qet=bt("div",{target:"ere36y30"})(".Polaris-Navigation{--p-background:#ffffff;border-right:none;border-radius:4px;width:100%;max-width:100%;.Polaris-Navigation__PrimaryNavigation{padding-top:16px;}.Polaris-Navigation__LogoContainer{display:none;}.Polaris-Navigation__Section{padding-top:0;padding-bottom:16px;}@media (max-width: ",Mo.breakpoints["breakpoints-md"],"){.Polaris-Navigation__Section{padding-bottom:0;}.Polaris-Navigation__Section:last-child{padding-bottom:16px;}}.Polaris-Navigation__Item{--p-text:var(--p-action-primary);--p-icon:var(--p-action-primary);&:hover{--p-text:var(--p-text-subdued);--p-icon:var(--p-icon-subdued);}}.Polaris-Navigation__Item--selected::before{background-color:var(--p-accent);}.Polaris-Navigation--itemChildActive .Polaris-Navigation__Icon svg{fill:var(--p-icon);}}"),Jet=()=>E(cle,{size:20}),ett=()=>E(wJe,{size:20}),ttt=()=>E(Det,{size:20}),rtt=()=>E(fle,{size:20}),ntt=()=>E(tet,{size:20}),itt=()=>E(Z8,{size:20}),att=()=>E(rJe,{size:20}),ott=()=>E(QJe,{size:20}),stt=()=>E(oet,{size:20}),ltt=()=>E(dle,{size:20}),ctt=()=>E($Qe,{size:20}),utt=()=>E(Met,{size:20}),dtt=()=>E(cet,{size:20}),vD=[{id:"general",items:[{icon:Jet,url:Re.settings({tab:an.ORGANIZATION}),label:({t:e})=>e("pages.settings.tabs.organization.title")},{icon:utt,url:oo.settings.users,label:({t:e})=>e("navigation.users"),predicate:({restrictions:e})=>e.isMultiUserEnabled&&e.isOwner},{icon:ett,url:oo.settings.branding,label:({t:e})=>e("pages.settings.tabs.branding.title"),predicate:({userOrgConfigs:e,restrictions:t})=>e.isTrackingPageCustomizable&&!t.isRestrictionsActive},{icon:ttt,url:oo.billing.plans,label:({t:e})=>e("navigation.plans"),predicate:({restrictions:e})=>!e.isRestrictionsActive},{icon:rtt,url:oo.billing.paymentSettings,label:({t:e})=>e("navigation.paymentSettings"),predicate:({restrictions:e})=>!e.isRestrictionsActive}]},{id:"shipping",items:[{icon:dtt,url:Re.settings({tab:an.NOTIFICATION_CENTER}),label:({t:e})=>e("pages.settings.tabs.notificationCenter.title")},{icon:ntt,url:Re.settings({tab:an.ADDRESSES}),label:({t:e})=>e("pages.settings.tabs.addresses.title")},{icon:itt,url:Re.settings({tab:an.PACKAGINGS}),label:({t:e})=>e("pages.settings.tabs.packagings.title"),predicate:({userOrgConfigs:e})=>e.isPackagingCustomizable},{icon:att,url:oo.settings.taxes,label:({t:e})=>e("pages.settings.tabs.taxInfo.title"),predicate:({userOrgConfigs:e,iossConfigs:t,restrictions:r})=>(e.isIossEnabled||(t??[]).length>0)&&!r.isRestrictionsActive},{icon:ott,url:Re.settings({tab:an.LABELS}),label:({t:e})=>e("pages.settings.tabs.labels.title")},{icon:stt,url:Re.settings({tab:an.FULFILLMENT}),label:({t:e})=>e("pages.settings.tabs.fulfillment.title"),predicate:({userOrgConfigs:e})=>e.isFulfillmentEnabled},{icon:ltt,url:oo.settings.trackingPage,label:({t:e})=>e("pages.settings.tabs.trackingPage.title"),predicate:({restrictions:e})=>!e.isRestrictionsActive},{icon:ctt,url:oo.settings.apiAndWebhook,label:({t:e})=>e("pages.settings.tabs.apiAndWebhook.title"),predicate:({userOrgConfigs:e,restrictions:t})=>e.isEnterpriseApiEnabled&&!t.isRestrictionsActive}]}],ftt=({onNavItemClick:e})=>{const{t}=jt(),r=ua(),{userOrganization:n,userOrgConfigs:i}=Nr(),a=Kx(),{data:o}=rHe((n==null?void 0:n.id)??"",{query:{enabled:!a.isLoading&&!a.isRestrictionsActive&&!!(n!=null&&n.id)}}),s=k.useMemo(()=>
427i?dd(vD,Ys.map(l=>({...l,items:dd(l.items,Ys.filter(c=>{var u;return((u=c.predicate)==null?void 0:u.call(c,{userOrgConfigs:i,iossConfigs:o,restrictions:a}))??!0}),Ys.map(c=>({icon:c.icon,url:c.url,label:c.label({t})})))})),Ys.filter(l=>l.items.length>0)):[],[o,a,t,i]);return E(Qet,{children:E(Rl,{location:r.pathname,onDismiss:e,children:s.map((l,c)=>Te(k.Fragment,{children:[E(Rl.Section,{items:l.items}),c<s.length-1&&E(Rl.Section,{items:[{disabled:!0,label:E(TA,{})}]})]},l.id))})})},hle=1e3,mK=j8(hle),gK={getInstance:async()=>{if(window.HubSpotConversations)return window.HubSpotConversations;const e=100,t=hle/e;return new Promise(r=>{let n=0;const i=setInterval(()=>{(window.HubSpotConversations||n>=t)&&(clearInterval(i),r(window.HubSpotConversations??null)),n+=1},e)})}},htt={setup:e=>{window.hsConversationsSettings={loadImmediately:e.shouldLoad}},onReady:async e=>{window.hsConversationsOnReady=[e]},open:async()=>{const e=await mK(gK.getInstance());e&&(e.widget.status().loaded?e.widget.open():e.widget.load({widgetOpen:!0}))},remove:async()=>{const e=await mK(gK.getInstance());e&&e.widget.remove()}},ji=({open:e,...t})=>(k.useEffect(()=>{const r=document.getElementById("root");return r?(r.hasAttribute("data-lock-scrolling-wrapper")||r.setAttribute("data-lock-scrolling-wrapper",""),()=>{r.hasAttribute("data-lock-scrolling-wrapper")&&r.removeAttribute("data-lock-scrolling-wrapper")}):()=>{}},[]),k.useEffect(()=>{const r=document.getElementById("root");r&&(e?r.setAttribute("data-lock-scrolling-wrapper",""):r.removeAttribute("data-lock-scrolling-wrapper"))},[e]),E(gP,{open:e,...t}));ji.Section=gP.Section;var vK=function(){};function ptt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.addEventListener&&e.addEventListener.apply(e,t)}function mtt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&e.removeEventListener&&e.removeEventListener.apply(e,t)}var ek=typeof window<"u",gtt=function(e){return(e+1)%1e6};function vtt(){var e=k.useReducer(gtt,0),t=e[1];return t}function ple(e,t){t===void 0&&(t=0);var r=k.useRef(!1),n=k.useRef(),i=k.useRef(e),a=k.useCallback(function(){return r.current},[]),o=k.useCallback(function(){r.current=!1,n.current&&clearTimeout(n.current),n.current=setTimeout(function(){r.current=!0,i.current()},t)},[t]),s=k.useCallback(function(){r.current=null,n.current&&clearTimeout(n.current)},[]);return k.useEffect(function(){i.current=e},[e]),k.useEffect(function(){return o(),s},[t]),[a,s,o]}function mle(e,t,r){t===void 0&&(t=0),r===void 0&&(r=[]);var n=ple(e,t),i=n[0],a=n[1],o=n[2];return k.useEffect(o,r),[i,a]}var ytt=function(e){k.useEffect(e,[])},yK=function(e,t,r){if(!ek)return[t,vK,vK];if(!e)throw new Error("useLocalStorage key may not be falsy");var n=JSON.parse,i=k.useRef(function(u){try{var d=r?r.raw?String:r.serializer:JSON.stringify,f=localStorage.getItem(u);return f!==null?n(f):(t&&localStorage.setItem(u,d(t)),t)}catch{return t}}),a=k.useState(function(){return i.current(e)}),o=a[0],s=a[1];k.useLayoutEffect(function(){return s(i.current(e))},[e]);var l=k.useCallback(function(u){try{var d=typeof u=="function"?u(o):u;if(typeof d>"u")return;var f=void 0;r||(f=JSON.stringify(d)),localStorage.setItem(e,f),s(n(f))}catch{}},[e,s]),c=k.useCallback(function(){try{localStorage.removeItem(e),s(void 0)}catch{}},[e,s]);return[o,l,c]},btt=function(e){var t=k.useRef(e);t.current=e,ytt(function(){return function(){return t.current()}})},Stt=function(e){var t=k.useRef(0),r=k.useState(e),n=r[0],i=r[1],a=k.useCallback(function(o){cancelAnimationFrame(t.current),t.current=requestAnimationFrame(function(){i(o)})},[]);return btt(function(){cancelAnimationFrame(t.current)}),[n,a]};function wtt(e){var t=vtt();return ple(t,e)}var xtt=function(e,t){e===void 0&&(e=1/0),t===void 0&&(t=1/0);var r=Stt({width:ek?window.innerWidth:e,height:ek?window.innerHeight:t}),n=r[0],i=r[1];return k.useEffect(function(){if(ek){var a=function(){i({width:window.innerWidth,height:window.innerHeight})};return ptt(window,"resize",a),function(){mtt(window,"resize",a)}}},[]),n};const Ctt=({children:e})=>Te(je,{spacing:"extraTight",wrap:!1,children:[E(ale,{size:"20"}),E(qe,{variant:"bodyMd",as:"span",children:e})]}),Ett=({children:e})=>Te(je,{spacing:"extraTight",wrap:!1,children:[E(Wet,{size:"20"}),E(qe,{variant:"bodyMd",as:"span",children:e})]}),ktt=bt("div",{target:"ezh55wu0"})("height:var(--p-space-",({$height:e})=>e,");width:var(--p-space-",({$width:e})=>e,");"),Qr=({heightSpace:e="0",widthSpace:t="0"})=>E(ktt,{$height:e,$width:t}),Ttt=bt("div",{target:"e1gytu9z2"})({name:"1xqw1zg",styles:"padding:0 var(--p-space-8);.Polaris-EmptyState{position:relative;padding-top:var(--p-space-10);.Polaris-EmptyState__Image{display:none;}}li{text-align:left;}"}),_tt=bt("div",{target:"e1gytu9z1"})({name:"1h60yrf",styles:"text-align:left;li{text-align:left;}"}),Ptt=bt(hw,{target:"e1gytu9z0"})("height:60px;width:60px;color:",Mo.colors["icon-warning"],";"),Att=({onGoToUpgrade:e})=>{const{t}=jt(),{value:r,setFalse:n}=Ei(!0),{userOrgSubscription:i,subscriptionDaysLeft:a}=Nr(),[o,s]=yK(wse,!1),[l,c]=yK(xse,!1),{value:u,toggle:d}=Ei(!1),f=k.useMemo(()=>a&&a>0&&a<=5?"nearEnd":(i==null?void 0:i.pricingPlanKey)===Lb.free&&(i!=null&&i.originalPricingPlanKey)?"ended":null,[i,a]),h=k.useMemo(()=>qt(f).with("nearEnd",()=>i==null?void 0:i.pricingPlanKey).with("ended",()=>hs(i==null?void 0:i.originalPricingPlanKey)).otherwise(()=>{}),[f,i==null?void 0:i.originalPricingPlanKey,i==null?void 0:i.pricingPlanKey]),p=k.useCallback(()=>{qt(f).with("nearEnd",()=>{s(u)}).with("ended",()=>{c(u)}).otherwise(u0),n()},[n,f,u,c,s]),g=k.useCallback(()=>{p(),e()},[p,e]);return!i||!h||!r||f==="nearEnd"&&o||f==="ended"&&l?null:f?E(ji,{open:!0,fullScreen:!0,title:t(qt({plan:i.pricingPlanKey,isTrial:i.isTrial}).with({plan:Lb.early_bird},()=>"model.subscriptionEndReminder.earlyBirdTitle").with({isTrial:!0},()=>"model.subscriptionEndReminder.freeTrialTitle").with({isTrial:Zn.union(Zn.nullish,!1)},()=>"model.subscriptionEndReminder.title").exhaustive()),onClose:p,children:E(Ttt,{children:E(pP,{image:"",action:{content:t("model.subscriptionEndReminder.action.upgrade"),onAction:g},secondaryAction:f==="nearEnd"?{content:t("model.subscriptionEndReminder.action.continueTrial"),onAction:p}:void 0,children:Te(je,{vertical:!0,children:[E(Ptt,{size:"glyph"}),E(qe,{as:"p",variant:"headingLg",children:t(qt({displayMode:f,isTrial:!!i.isTrial}).with({displayMode:"nearEnd",isTrial:!0},()=>"model.subscriptionEndReminder.subTitle.freeTrialNearEnd").with({displayMode:"nearEnd",isTrial:!1},()=>"model.subscriptionEndReminder.subTitle.nearEnd").with({displayMode:"ended"},()=>"model.subscriptionEndReminder.subTitle.ended").exhaustive(),{days:a})}),Te(_tt,{children:[E(qe,{as:"p",variant:"bodyMd",children:t(`model.subscriptionEndReminder.desc.${f}`)}),E(Qr,{heightSpace:"5"}),E(Go,{i18nKey:`pages.subscription.affectedFeature.${fs(h)}`,components:{list:E(je,{vertical:!0,spacing:"extraTight"}),notSupportedItem:E(Ctt,{}),warningItem:E(Ett,{})}}),E(Qr,{heightSpace:"4"}),E(oy,{label:t("model.subscriptionEndReminder.checkbox.notShowAgain"),checked:u,onChange:d})]}),E(Qr,{heightSpace:"2"})]})})})}):(c(!1),s(!1),null)},Ott=({size:e=16})=>E("svg",{width:`${e}`,height:`${e}`,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:E("g",{id:"Column Icons",children:E("g",{id:"Group 16631",children:E("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M6.7619 3.5C6.48576 3.5 6.2619 3.72386 6.2619 4V5.28571H3.78571C3.57729 5.28571 3.39073 5.41499 3.31755 5.61014L1.53184 10.372C1.51078 10.4282 1.5 10.4877 1.5 10.5476V14.119C1.5 14.3952 1.72386 14.619 2 14.619H3.24308C3.47279 15.6939 4.42798 16.5 5.57144 16.5C6.71491 16.5 7.67011 15.6939 7.89981 14.619H9.99998V13.619H7.8998C7.80287 13.1655 7.57679 12.7598 7.2619 12.4424V4.5H16.3809V9.5H17.3809V4C17.3809 3.72386 17.1571 3.5 16.8809 3.5H6.7619ZM3.243
42708 13.619C3.4728 12.5441 4.42799 11.7381 5.57144 11.7381C5.81156 11.7381 6.04337 11.7736 6.2619 11.8398V10.4524H2.56971L2.5 10.6383V13.619H3.24308ZM2.94471 9.45239H6.2619V6.28571H4.13221L2.94471 9.45239ZM6.2619 12.9228V12.9286H6.27173C6.67908 13.1687 6.9524 13.612 6.9524 14.1191C6.9524 14.8817 6.33412 15.5 5.57144 15.5C4.80876 15.5 4.19049 14.8817 4.19049 14.1191C4.19049 13.3564 4.80876 12.7381 5.57144 12.7381C5.82297 12.7381 6.05879 12.8053 6.2619 12.9228ZM18.8 13.9286H20V15.0714H18.8C18.7429 15.4714 18.5714 15.8143 18.4 16.1L19.2571 16.9571L18.4571 17.7571L17.6 16.9C17.2571 17.0714 16.9143 17.2429 16.5714 17.3V18.5H15.4286V17.3C15.0286 17.2429 14.6857 17.0714 14.4 16.9L13.5429 17.7571L12.7429 16.9571L13.6 16.1C13.4286 15.7571 13.2571 15.4143 13.2 15.0714H12V13.9286H13.2C13.2571 13.5286 13.4286 13.1857 13.6 12.9L12.7429 12.0429L13.5429 11.2429L14.4 12.1C14.7429 11.9286 15.0857 11.7571 15.4286 11.7V10.5H16.5714V11.7C16.9714 11.7571 17.3143 11.9286 17.6 12.1L18.4571 11.2429L19.2571 12.0429L18.4 12.9C18.5714 13.2429 18.7429 13.5857 18.8 13.9286ZM14.2857 14.5C14.2857 15.4714 15.0286 16.2143 16 16.2143C16.9714 16.2143 17.7143 15.4714 17.7143 14.5C17.7143 13.5286 16.9714 12.7857 16 12.7857C15.0286 12.7857 14.2857 13.5286 14.2857 14.5Z",fill:"currentColor"})})})}),gle=k.createContext({hasOrder:!1}),Itt=({children:e})=>{const{userOrganization:t}=Nr(),{data:r}=oGe((t==null?void 0:t.id)??"",{query:{refetchInterval:6e4,refetchIntervalInBackground:!0}}),n=k.useMemo(()=>({hasOrder:(r==null?void 0:r.hasOrder)??!1}),[r==null?void 0:r.hasOrder]);return E(gle.Provider,{value:n,children:e})},Rtt=()=>k.useContext(gle),vle=k.createContext({hasShipment:!1}),Ftt=({children:e})=>{const{userOrganization:t}=Nr(),{data:r}=OHe((t==null?void 0:t.id)??"",{query:{refetchInterval:6e4,refetchIntervalInBackground:!0}}),n=k.useMemo(()=>({hasShipment:(r==null?void 0:r.hasShipment)??!1}),[r==null?void 0:r.hasShipment]);return E(vle.Provider,{value:n,children:e})},Dtt=()=>k.useContext(vle),Ntt=bt("div",{target:"e7qdwd80"})(".Polaris-Button--primary{--pc-button-color:var(--p-accent);--pc-button-text:var(--p-text);--pc-button-color-hover:var(--p-accent-hovered);--pc-button-color-active:var(--p-accent-pressed);--pc-button-color-depressed:var(--p-accent-depressed);--p-icon-on-primary:var(--p-text);}width:",({$isFullWidth:e})=>e&&"100%",";"),yle=e=>{const{fullWidth:t}=e;return E(Ntt,{$isFullWidth:t??!1,children:E(vr,{...e})})},Mtt=bt("div",{target:"e1j35p540"})({name:"c7sjsi",styles:"padding:0 var(--p-space-5) var(--p-space-3)"}),Ltt=({onNavItemClick:e})=>{const{t}=jt(),{value:r,toggle:n}=Ei(!1),i=k.useCallback(()=>{e(),n()},[e,n]),a=k.useCallback(()=>{e(),n()},[e,n]),o=k.useCallback(()=>{e(),n(),Da.track({event:"bulk_shipments_import_initiated",properties:void 0})},[e,n]),s=k.useCallback(()=>{e(),n()},[e,n]),l=k.useMemo(()=>[{content:t("navigation.createFulfillmentOrder"),prefix:E(Z8,{size:20}),url:Re.createFulfillmentOrder(),onAction:a},{content:t("navigation.importFulfillmentOrder"),prefix:E(gD,{size:20}),url:Re.importFulfillmentOrders(),onAction:s},{content:t("navigation.createShipment"),prefix:E(ule,{size:20}),url:Re.createShipment(),onAction:i},{content:t("navigation.importShipments"),prefix:E(gD,{size:20}),url:Re.importOrders(),onAction:o}],[i,a,s,o,t]);return E(Mtt,{children:E(hi,{fixed:!0,active:r,activator:E(yle,{primary:!0,fullWidth:!0,textAlign:"center",disclosure:r?"up":"down",onClick:n,children:t("navigation.newOrder")}),zIndexOverride:520,onClose:n,children:E(ac,{actionRole:"menuitem",items:l})})})},Btt=bt("div",{target:"e1lmka6q0"})({name:"c7sjsi",styles:"padding:0 var(--p-space-5) var(--p-space-3)"}),Utt=({onNavItemClick:e})=>{const{t}=jt(),{value:r,toggle:n}=Ei(!1),i=k.useCallback(()=>{e(),n()},[e,n]),a=k.useCallback(()=>{e(),n(),Da.track({event:"bulk_shipments_import_initiated",properties:void 0})},[e,n]),o=k.useMemo(()=>[{content:t("navigation.createShipment"),prefix:E(YQe,{size:20}),url:Re.createShipment(),onAction:i},{content:t("navigation.importShipments"),prefix:E(gD,{size:20}),url:Re.importOrders(),onAction:a}],[i,a,t]);return E(Btt,{children:E(hi,{fixed:!0,active:r,activator:E(yle,{primary:!0,fullWidth:!0,textAlign:"center",disclosure:r?"up":"down",onClick:n,children:t("navigation.newShipment")}),zIndexOverride:520,onClose:n,children:E(ac,{actionRole:"menuitem",items:o})})})},ble=k.createContext(null),ztt=({children:e})=>{const{userOrganization:t}=Nr(),{isLoading:r,data:{info:n}={info:null},refetch:i}=Aze((t==null?void 0:t.id)??"",{query:{refetchInterval:6e4,refetchIntervalInBackgroun
427d:!0}}),{mutateAsync:a}=Nze(),{mutateAsync:o}=Rze(),{mutateAsync:s}=Bze(),l=k.useMemo(()=>({refetch:async()=>{await i()},cancel:async()=>{const u=hs(n);await o({orgId:hs(t==null?void 0:t.id)}),Da.track({event:"order_manual_sync_cancelled",properties:{store_id:u.connectedStore.id,store_provider:"shopify"}}),await i()},retry:async()=>{const u=hs(n);await s({orgId:hs(t==null?void 0:t.id)}),Da.track({event:"order_manual_sync_retried",properties:{store_id:u.connectedStore.id,store_provider:"shopify"}}),await i()},trigger:async u=>{await a({orgId:hs(t==null?void 0:t.id),data:{connectedStoreId:u.connectedStoreId,timeRange:u.timeRange}}),Da.track({event:"order_manual_sync_queued",properties:{store_id:u.connectedStoreId,store_provider:"shopify",time_range:u.timeRange}}),await i()}}),[o,n,i,s,a,t==null?void 0:t.id]),c=k.useMemo(()=>({isLoading:r,data:n,...l}),[r,n,l]);return E(ble.Provider,{value:c,children:e})},$8=()=>{const e=k.useContext(ble);if(e===null)throw new Error("useShopifyOrderManualSyncJobInfoContext must be used within a ShopifyOrderManualSyncJobInfoContextProvider");return e},X8=({as:e="div",children:t})=>{const r=k.useCallback(n=>{n.stopPropagation()},[]);return E(e,{onClick:r,children:t})},Htt=bt("div",{target:"e709ock0"})({name:"mdxxqr",styles:"width:100%;max-width:420px"}),qtt=({data:e})=>{const{t}=jt(),{cancel:r}=$8(),{value:n,setTrue:i,setFalse:a}=Ei(!1),o=k.useCallback(async()=>{a(),await r()},[r,a]);return E(hi,{fluidContent:!0,active:n,activator:E("div",{onMouseEnter:i,onMouseLeave:a,children:E(fw,{color:"var(--p-icon-success)"})}),preferredPosition:"below",preferredAlignment:"left",onClose:a,children:E(Htt,{onMouseEnter:i,onMouseLeave:a,children:E(X8,{children:Te(Vi,{children:[E(Vi.Section,{children:Te(je,{vertical:!0,spacing:"loose",children:[Te(je,{vertical:!0,spacing:"tight",children:[Te(je,{alignment:"center",children:[E(je.Item,{fill:!0,children:E(qe,{as:"h2",variant:"headingMd",children:t("navigation.orderSyncStatus.completed.title")})}),E(fw,{size:20,style:{display:"flex"},color:"var(--p-icon-success)"})]}),e.affectedShipmentCountWithoutDeletes===0?E(qe,{as:"p",variant:"headingSm",color:"subdued",children:t("navigation.orderSyncStatus.completed.noSyncedOrders")}):E(qe,{as:"p",variant:"bodySm",color:"subdued",children:t("navigation.orderSyncStatus.completed.description")})]}),Te(je,{vertical:!0,spacing:"tight",children:[e.affectedShipmentCountWithoutDeletes!==0&&E(qe,{as:"p",variant:"headingSm",children:t("navigation.orderSyncStatus.completed.syncedOrderCount",{count:e.affectedShipmentCountWithoutDeletes})}),Te(je,{vertical:!0,spacing:"none",children:[E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:t("navigation.orderSyncStatus.failed.source")}),E(qe,{as:"p",variant:"headingSm",color:"subdued",children:e.connectedStore.name})]})]})]})}),E(Vi.Section,{children:E(je,{distribution:"trailing",spacing:"tight",children:E(vr,{primary:!0,onClick:o,children:t("navigation.orderSyncStatus.completed.clear")})})})]})})})})},Wtt=bt("div",{target:"ernbk0b0"})({name:"mdxxqr",styles:"width:100%;max-width:420px"}),Vtt=({data:e})=>{const{t}=jt(),{cancel:r,retry:n}=$8(),{value:i,setTrue:a,setFalse:o}=Ei(!1),s=k.useCallback(async()=>{o(),await r()},[r,o]),l=k.useCallback(async()=>{o(),await n()},[o,n]);return E(hi,{fluidContent:!0,active:i,activator:E("div",{onMouseEnter:a,onMouseLeave:o,children:E(hw,{color:"var(--p-icon-critical)"})}),preferredPosition:"below",preferredAlignment:"left",onClose:o,children:E(Wtt,{onMouseEnter:a,onMouseLeave:o,children:E(X8,{children:Te(Vi,{children:[E(Vi.Section,{children:Te(je,{vertical:!0,spacing:"loose",children:[Te(je,{vertical:!0,spacing:"tight",children:[Te(je,{alignment:"center",children:[E(je.Item,{fill:!0,children:E(qe,{as:"h2",variant:"headingMd",children:t("navigation.orderSyncStatus.failed.title")})}),E(hw,{size:20,style:{display:"flex"},color:"var(--p-icon-critical)"})]}),E(qe,{as:"p",variant:"bodySm",color:"subdued",children:t("navigation.orderSyncStatus.failed.description")})]}),Te(je,{vertical:!0,spacing:"tight",children:[E(qe,{as:"p",variant:"headingSm",children:t("navigation.orderSyncStatus.failed.syncedOrderCount",{count:e.affectedShipmentCountWithoutDeletes})}),Te(je,{vertical:!0,spacing:"none",children:[E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:t("navigation.orderSyncStatus.failed.source")}),E(qe,{as:"p",variant:"headingSm",color:"subdued",children:e.connectedStore.name})]})]})]})}),E(Vi.Section,{children:Te(je,{distribution:"trailing",spacing:"tight",children:[E(vr,{onClick:s,children:t("navigation.orderSyncStatus.failed.cancel")}),E(vr,{primary:!0,onClick:l,children:t("navigation.orderSyncStatus.failed.retry")})]})})]})})})})},jtt=bt("div",{target:"en017551"})({name:"mdxxqr",styles:"width:100%;max-width:420px"}),Gtt=bt("div",{target:"en017550"})({name:"177m9bg",styles:".Polaris-Spinner{display:flex;}"}),Ktt=({data:e})=>{const{t}=jt(),{value:r,setTrue:n,setFalse:i}=Ei(!1);return E(hi,{fluidContent:!0,active:r,activator:E("div",{onMouseEnter:n,onMouseLeave:i,children:E(lf,{size:"small"})}),preferredPosition:"below",preferredAlignment:"left",onClose:i,children:E(jtt,{onMouseEnter:n,onMouseLeave:i,children:E(X8,{children:E(Vi,{children:E(Vi.Section,{children:Te(je,{vertical:!0,spacing:"loose",children:[Te(je,{vertical:!0,spacing:"tight",children:[Te(je,{alignment:"center",children:[E(je.Item,{fill:!0,children:E(qe,{as:"h2",variant:"headingMd",children:t("navigation.orderSyncStatus.syncing.title")})}),E(Gtt,{children:E(lf,{size:"small"})})]}),E(qe,{as:"p",variant:"bodySm",color:"subdued",children:t("navigation.orderSyncStatus.syncing.description")})]}),Te(je,{vertical:!0,spacing:"tight",children:[E(qe,{as:"p",variant:"headingSm",children:t("navigation.orderSyncStatus.syncing.syncedOrderCount",{count:e.affectedShipmentCountWithoutDeletes})}),Te(je,{vertical:!0,spacing:"none",children:[E(qe,{as:"p",variant:"bodySm",color:"subdued",children:t("navigation.orderSyncStatus.syncing.source")}),E(qe,{as:"p",variant:"headingSm",color:"subdued",children:e.connectedStore.name})]})]})]})})})})})})},bK=()=>{const{data:e}=$8();return qt(e).with({status:g3.enqueued},t=>E(Ktt,{data:t})).with({status:g3.completed},t=>E(qtt,{data:t})).with({status:g3.failed},t=>E(Vtt,{data:t})).otherwise(()=>null)},Sle=k.createContext({data:null,refetchJobStatus:async()=>{},clearJobStatus:async()=>{}}),Ztt=({children:e})=>{const{userOrganization:t}=Nr(),{data:r,refetch:n}=qze((t==null?void 0:t.id)??"",{query:{refetchInterval:6e4,refetchIntervalInBackgroun
427d:!0}}),{mutateAsync:i}=jze({mutation:{onSuccess:()=>{n()}}}),a=k.useMemo(()=>({data:(r==null?void 0:r.data)??null,refetchJobStatus:async()=>{await n()},clearJobStatus:async()=>{t&&await i({orgId:t.id})}}),[i,r==null?void 0:r.data,n,t]);return E(Sle.Provider,{value:a,children:e})},Q8=()=>k.useContext(Sle),J8=()=>{const{t:e}=jt();return k.useMemo(()=>({formatDate:t=>t.toFormat(e("dateTimeFormat.date")),formatTime:t=>t.toFormat(e("dateTimeFormat.time")),formatDateTime:t=>t.toFormat(e("dateTimeFormat.dateTime")),formatDateTimeWithoutYear:t=>t.toFormat(e("dateTimeFormat.dateTimeWithoutYear")),formatDateRange:(t,r)=>`${t.toFormat(e("dateTimeFormat.date"))} - ${r.toFormat(e("dateTimeFormat.date"))}`}),[e])},Ytt=bt("div",{target:"egh26y81"})({name:"rttyp5",styles:"padding:var(--p-space-5)"}),$tt=bt("div",{target:"egh26y80"})({name:"1f54682",styles:"padding:var(--p-space-4);display:flex;justify-content:flex-end"}),Xtt=({data:e})=>{const{t}=jt(),{clearJobStatus:r}=Q8(),{formatDateTime:n}=J8(),i=k.useMemo(()=>{if(!e.lastSyncedAt)return null;const c=Zt.fromISO(e.lastSyncedAt);return n(c)},[e.lastSyncedAt,n]),{value:a,setTrue:o,setFalse:s}=Ei(!1),l=k.useCallback(()=>{r(),s()},[r,s]);return E(hi,{active:a,activator:E("div",{onMouseEnter:o,children:E(fw,{color:"var(--p-icon-success)"})}),autofocusTarget:"first-node",preferredPosition:"below",preferredAlignment:"left",onClose:s,children:Te("div",{onMouseLeave:s,children:[Te(Ytt,{children:[Te(je,{alignment:"center",children:[E(je.Item,{fill:!0,children:E(qe,{as:"h2",variant:"headingMd",children:t("navigation.productSyncStatus.completed.title")})}),E(je.Item,{children:E(fw,{color:"var(--p-icon-success)",size:32})})]}),E(Qr,{heightSpace:"3"}),E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:E(Go,{i18nKey:"navigation.productSyncStatus.completed.description",values:{storeName:e.connectedStore.name},components:{strong:E(qe,{as:"span",variant:"bodyMd",fontWeight:"semibold",children:E("div",{})})}})}),E(Qr,{heightSpace:"3"}),E(qe,{as:"h3",variant:"headingSm",children:t("navigation.productSyncStatus.completed.productsCount",{count:e.syncedProductsCount})}),i&&Te(ei,{children:[E(Qr,{heightSpace:"3"}),Te(qe,{as:"p",variant:"bodyMd",color:"subdued",children:[e.connectedStore&&`${e.connectedStore.name}, `,t("navigation.productSyncStatus.completed.lastSyncedAt",{lastSyncedAt:i})]})]})]}),E(TA,{}),E($tt,{children:E(vr,{primary:!0,onClick:l,children:t("navigation.productSyncStatus.completed.actions.confirm")})})]})})},Qtt=bt("div",{target:"eor1u0n1"})({name:"rttyp5",styles:"padding:var(--p-space-5)"}),Jtt=bt("div",{target:"eor1u0n0"})({name:"1f54682",styles:"padding:var(--p-space-4);display:flex;justify-content:flex-end"}),ert=({data:e})=>{const{t}=jt(),{userOrganization:r}=Nr(),{refetchJobStatus:n}=Q8(),{value:i,setTrue:a,setFalse:o}=Ei(!1),{mutateAsync:s}=$Ve({mutation:{onSettled:()=>{n()}}}),l=k.useCallback(()=>{qt({userOrganization:r,store:e.connectedStore}).with({userOrganization:Zn.not(Zn.nullish),store:{provider:JWe.SHOPIFY}},async c=>{await s({orgId:c.userOrganization.id,data:{connectedStoreId:c.store.id}})}).otherwise(()=>{}),o()},[o,e.connectedStore,s,r]);return E(hi,{active:i,activator:E("div",{onMouseEnter:a,children:E(hw,{color:"var(--p-icon-critical)"})}),autofocusTarget:"first-node",preferredPosition:"below",preferredAlignment:"left",onClose:o,children:Te("div",{onMouseLeave:o,children:[Te(Qtt,{children:[Te(je,{alignment:"center",children:[E(je.Item,{fill:!0,children:E(qe,{as:"h2",variant:"headingMd",children:t("navigation.productSyncStatus.failed.title")})}),E(je.Item,{children:E(hw,{color:"var(--p-icon-critical)",size:32})})]}),E(Qr,{heightSpace:"3"}),E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:E(Go,{i18nKey:"navigation.productSyncStatus.failed.description",values:{storeName:e.connectedStore.name}})})]}),E(TA,{}),E(Jtt,{children:E(vr,{primary:!0,onClick:l,children:t("navigation.productSyncStatus.failed.actions.retry")})})]})})},trt=bt("div",{target:"e1d5yjx81"})({name:"rttyp5",styles:"padding:var(--p-space-5)"}),rrt=bt("div",{target:"e1d5yjx80"})({name:"lngqus",styles:".Polaris-Spinner svg{height:2rem;width:2rem;}"}),nrt=({data:e})=>{const{t}=jt(),{value:r,setTrue:n,setFalse:i}=Ei(!1);return E(hi,{active:r,activator:E("div",{onMouseEnter:n,children:E(lf,{size:"small"})}),autofocusTarget:"first-node",preferredPosition:"below",preferredAlignment:"left",onClose:i,children:E("div",{onMouseLeave:i,children:Te(trt,{children:[Te(je,{alignment:"center",children:[E(je.Item,{fill:!0,children:E(qe,{as:"h2",variant:"headingMd",children:t("navigation.productSyncStatus.syncing.title")})}),E(je.Item,{children:E(rrt,{children:E(lf,{size:"small"})})})]}),E(Qr,{heightSpace:"3"}),E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:E(Go,{i18nKey:"navigation.productSyncStatus.syncing.description",values:{storeName:e.connectedStore.name}})})]})})})},irt=()=>{const{data:e}=Q8();return qt(e).with({status:jq.completed},t=>E(Xtt,{data:t})).with({status:jq.failed},t=>E(ert,{data:t})).with({status:Zn.not(Zn.nullish)},t=>E(nrt,{data:t})).otherwise(()=>null)},art=({size:e=16,color:t="#17F082"})=>Te("svg",{width:`${e}`,height:`${e}`,viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[E("path",{d:"M35.0218 13.9922L32.8692 15.1558L31.3566 15.9993C31.2326 16.0649 31.1313 16.1662 31.0657 16.2902L29.175 19.6936C29.1315 19.7835 29.083 19.8709 29.0295 19.9554C29.0005 19.8681 28.9423 19.8099 28.9132 19.7227L27.0515 16.3484C26.9638 16.1891 26.8327 16.0579 26.6734 15.9702L23.3282 14.1377L23.0664 13.9922L23.2991 13.8468L26.7316 11.956C26.8555 11.8905 26.9569 11.7891 27.0224 11.6651L28.9132 8.23271L29.0295 8C29.0883 8.07065 29.1372 8.14893 29.175 8.23271C29.8149 9.36716 30.4258 10.5307 31.0657 11.6942C31.13 11.8018 31.2199 11.8918 31.3275 11.956L34.7891 13.8468L35.0218 13.9922Z",fill:t}),E("path",{d:"M22.7851 22.4893L19.5921 24.2153L17.3483 25.4666C17.1644 25.5638 17.014 25.7142 16.9168 25.8981L14.1121 30.9466C14.0477 31.08 13.9756 31.2097 13.8964 31.3349
427C13.8532 31.2055 13.7669 31.1192 13.7238 30.9897L10.9622 25.9844C10.8322 25.7481 10.6376 25.5535 10.4013 25.4235L5.43912 22.7051L5.05078 22.4893L5.39598 22.2736L10.4876 19.4689C10.6715 19.3717 10.8218 19.2213 10.9191 19.0374L13.7238 13.9458L13.8964 13.6006C13.9835 13.7054 14.0561 13.8215 14.1121 13.9458C15.0614 15.6286 15.9675 17.3546 16.9168 19.0805C17.0121 19.2402 17.1455 19.3736 17.3052 19.4689L22.4399 22.2736L22.7851 22.4893Z",fill:t})]}),ort=bt("div",{target:"e17fgzkw5"})({name:"1gprqi4",styles:"margin:0 var(--p-space-5) var(--p-space-4);padding:1px;background:linear-gradient(to bottom, #17f082, #2063ff);border-radius:var(--p-border-radius-2)"}),srt=bt("div",{target:"e17fgzkw4"})({name:"1x86iwu",styles:"width:100%;height:100%;background:var(--p-background);border-radius:var(--p-border-radius-2);box-sizing:border-box"}),lrt=bt("div",{target:"e17fgzkw3"})({name:"1o9vsfz",styles:"padding:var(--p-space-3);background-color:#ffffff33;border-radius:calc(var(--p-border-radius-2) - 1px);color:#ffffff"}),SK=bt(qe,{target:"e17fgzkw2"})({name:"1dgbe91",styles:"color:#ffffff"}),crt=bt("div",{target:"e17fgzkw1"})({name:"78e3yp",styles:"background-color:#ffffff4d;color:#ffffff;text-align:center;border-radius:var(--p-border-radius-1);line-height:24px;cursor:pointer;&:hover{background-color:#ffffff66;}"}),urt=bt(je,{target:"e17fgzkw0"})({name:"n18iim",styles:"margin-bottom:var(--p-space-2)"}),drt=()=>E(art,{size:24}),frt=({onNavItemClick:e})=>{const{t}=jt(),r=sp(),n=k.useCallback(()=>{e(),r(Re.spaceshipAI())},[e,r]);return E(ort,{children:E(srt,{children:Te(lrt,{children:[Te(urt,{spacing:"tight",alignment:"center",children:[E(drt,{}),E(SK,{variant:"bodyMd",fontWeight:"medium",as:"span",children:t("navigation.spaceshipAI.title")})]}),E(SK,{variant:"bodySm",as:"p",children:t("navigation.spaceshipAI.description")}),E("div",{style:{marginTop:"var(--p-space-3)"},children:E(crt,{onClick:n,children:t("navigation.spaceshipAI.openAssistant")})})]})})})},hrt=()=>E(nJe,{size:20}),wle=()=>E(ule,{size:20}),prt=wle,mrt=()=>E(sle,{size:20}),Bf=()=>E(sle,{size:20,opacity:0}),grt=()=>E(TJe,{size:20}),vrt=()=>E(Eet,{size:20}),yrt=()=>E(Pet,{size:20}),brt=()=>E(fle,{size:20}),Srt=()=>E(ole,{size:20}),wrt=()=>E(Ott,{size:20}),xrt=()=>E(LJe,{size:20}),wK=()=>E(Cet,{size:20}),xK=()=>E(dle,{size:20}),Crt=()=>E(qJe,{size:20}),Ert=()=>E(Vet,{size:20}),krt=()=>E(Z8,{size:20}),Trt=()=>E(vet,{size:20}),CK=()=>E(JJe,{size:20}),D3=bt("div",{target:"e83urnf1"})({name:"1qawcg4",styles:"width:10px;height:10px;border-radius:50%;background-color:var(--p-icon-critical)"}),_rt=bt("div",{target:"e83urnf0"})({name:"9eug1q",styles:".Polaris-Navigation__SectionHeading .Polaris-Text--headingXs{text-transform:none;}"}),Prt=({onNavItemClick:e,onSettingsNavItemClick:t})=>{const{userOrganization:r,userOrgConfigs:n,userOrgWarehouses:i}=Nr(),{isLoading:a,isRestrictionsActive:o}=Kx(),s=a||o,{data:l=[]}=nje((r==null?void 0:r.id)??"",{query:{enabled:!s&&!!(r!=null&&r.id)}}),c=AQe(),{t:u,i18n:d}=jt(),f=ua(),h=k.useMemo(()=>{const P=[{url:Re.dashboard(),label:u("navigation.home"),icon:Crt},{url:Re.quotation(),label:u("navigation.quotation"),icon:hrt}];return n!=null&&n.isFulfillmentEnabled&&P.push({icon:xK,url:Re.trackShipments(),label:u("navigation.trackAndTrace")}),P},[u,n==null?void 0:n.isFulfillmentEnabled]),{hasShipment:p}=Dtt(),{hasOrder:g}=Rtt(),[v]=RP(),m=k.useMemo(()=>v.get("previousList"),[v]),b=(!!(n!=null&&n.maxNumOfEnabledCustomCarrierAccounts)||l.length>0)&&!s,y=k.useMemo(()=>{if(!(n!=null&&n.isFulfillmentEnabled))return null;const P=[{icon:CK,url:Re.fulfillmentOrders({tab:Sh.ALL}),label:u("navigation.fulfillment.all"),matches:f.pathname===Re.fulfillmentOrders({tab:Sh.ALL})},{icon:prt,url:Re.fulfillmentOrders({tab:Sh.UNFULFILLED}),label:Te(je,{spacing:"none",children:[E(je.Item,{fill:!0,children:u("navigation.fulfillment.orders")}),E(je.Item,{children:E(bK,{})})]}),matches:f.pathname===Re.fulfillmentOrders({tab:Sh.UNFULFILLED})},{icon:Ert,url:Re.fulfillmentActionRequired(),label:Te(je,{spacing:"none",children:[E(je.Item,{children:u("navigation.fulfillment.actionRequired")}),g&&E(je.Item,{children:E(Qr,{widthSpace:"1"})}),g&&E(je.Item,{children:E(D3,{})})]}),matches:f.pathname===Re.fulfillmentActionRequired()},{icon:krt,url:Re.fulfillmentInventory({tab:Um.INVENTORY}),label:u("navigation.fulfillment.inventory"),matches:f.pathname===Re.fulfillmentInventory({tab:Um.INVENTORY})}];return i.some(F=>
427F.supportedAdditionalFeatures.includes(Au.support_return_order))&&P.push({icon:Trt,url:Re.returnOrders(),label:u("navigation.fulfillment.returnOrders"),matches:f.pathname===Re.returnOrders()}),E(Rl.Section,{items:P,title:u("navigation.fulfillment.title")},`fulfillment-nav-items-${d.language}`)},[g,f.pathname,u,d.language,n==null?void 0:n.isFulfillmentEnabled,i]),w=k.useMemo(()=>{const P=qt({path:f.pathname,previousList:m}).with({path:Zn.union(Re.createShipment(),Re.importOrders(),Re.draftShipments({tab:Wv.IN_PROGRESS}))},{path:Re.bulkBuyShipments(),previousList:Z4.DRAFTS},()=>!0).otherwise(()=>!1),F=qt({path:f.pathname,previousList:m}).with({path:Zn.union(Re.actionsRequiredShipments(),Re.bulkCancelShipments())},{path:Re.bulkBuyShipments(),previousList:Z4.FAILED_CREATIONS},()=>!0).otherwise(()=>!1),I=f.pathname===Re.allShipments(),R=[{icon:CK,url:Re.allShipments(),label:u("navigation.allShipments"),matches:I},{icon:wle,url:Re.draftShipments({tab:Wv.IN_PROGRESS}),label:Te(je,{spacing:"none",children:[E(je.Item,{fill:!0,children:u("navigation.draftShipments")}),E(je.Item,{children:E(bK,{})})]}),matches:P},{url:Re.downloadAndPrintShipmentLabels(),label:u("navigation.shippingLabels"),icon:mrt,matches:!1},{icon:Bf,url:Re.actionsRequiredShipments(),label:Te(je,{spacing:"none",children:[E(je.Item,{children:u("navigation.actionRequiredShipments")}),p&&E(je.Item,{children:E(Qr,{widthSpace:"1"})}),p&&E(je.Item,{children:E(D3,{})})]}),matches:F},{icon:Bf,url:Re.downloadAndPrintShipmentLabels(),label:u("navigation.downloadAndPrint")},{icon:Bf,url:Re.cancelledShipments(),label:u("navigation.cancelledShipments")},{url:Re.schedulePickup(),label:u("navigation.pickups"),icon:grt,matches:!1},{icon:Bf,url:Re.schedulePickup(),label:u("navigation.schedulePickups")},{icon:Bf,url:Re.pickups({tab:nv.UPCOMING}),matchPaths:Object.values(nv).filter(D=>D!==nv.UPCOMING).map(D=>Re.pickups({tab:D})),label:u("navigation.scheduledPickups"),exactMatch:!0}];return n!=null&&n.isFulfillmentEnabled||R.push({icon:xK,url:Re.trackShipments(),label:u("navigation.trackAndTrace")}),R},[p,f.pathname,m,u,n==null?void 0:n.isFulfillmentEnabled]),{data:x}=sVe((r==null?void 0:r.id)??"",{query:{enabled:!!(r!=null&&r.id)&&!s}}),C=k.useMemo(()=>[{url:oo.billing.wallet,label:u("navigation.wallet"),icon:brt,matches:dd(Object.values(zc),Ys.some(P=>!!Gs(Re.billing({tab:P}),f.pathname)))},{url:oo.billing.pendingCharges,label:Te(je,{spacing:"none",children:[E(je.Item,{children:u("navigation.pendingCharges")}),((x==null?void 0:x.totalAmount)??0)!==0&&E(je.Item,{children:E(Qr,{widthSpace:"1"})}),((x==null?void 0:x.totalAmount)??0)!==0&&E(je.Item,{children:E(D3,{})})]}),icon:Srt}],[f.pathname,x==null?void 0:x.totalAmount,u]),T=k.useMemo(()=>jP([!s&&{url:oo.integrations.stores,label:u("navigation.storeIntegration"),icon:yrt},{url:Re.products(),label:Te(je,{spacing:"none",children:[E(je.Item,{fill:!0,children:u("navigation.products")}),E(je.Item,{children:E(irt,{})})]}),icon:vrt},b&&{url:oo.settings.carriers,matchPaths:[oo.settings.carriers],label:u("navigation.carriers"),icon:wrt},{url:Re.settings({tab:an.SHIPPING_AUTOMATION}),matchPaths:[Re.settings({tab:an.SHIPPING_AUTOMATION})],label:u("navigation.shippingAutomation"),icon:xrt},c&&{url:Re.settings({tab:an.ORGANIZATION}),matchPaths:vD.flatMap(P=>P.items.map(F=>F.url)),label:u("navigation.settings"),icon:wK},!c&&{selected:vD.some(P=>P.items.some(F=>Gs(F.url,f.pathname))),label:u("navigation.settings"),icon:wK,onClick:t}]),[c,f.pathname,t,s,b,u]),_=k.useMemo(()=>[{icon:Bf,label:" ",disabled:!0},{icon:Bf,label:"  ",disabled:!0},{icon:Bf,label:"   ",disabled:!0}],[]);return E(_rt,{children:Te(Rl,{location:f.pathname,onDismiss:e,children:[n!=null&&n.isFulfillmentEnabled?E(Ltt,{onNavItemClick:e}):E(Utt,{onNavItemClick:e}),E(Rl.Section,{items:h},`default-nav-items-${d.language}`),(n==null?void 0:n.isSpaceshipBotEnabled)&&E(frt,{onNavItemClick:e}),y,E(Rl.Section,{title:n!=null&&n.isFulfillmentEnabled?u("navigation.selfManaged"):u("navigation.shipments"),items:w},`shipments-nav-items-${d.language}`),!s&&E(Rl.Section,{title:u("navigation.billing"),items:C},`billing-nav-items-${d.language}`),E(Rl.Section,{title:u("navigation.config"),items:T},`config-nav-items-${d.language}`),E(Rl.Section,{items:_},"bottom-padding-nav-items")]})})},Art=k.memo(Prt),xle=({children:e})=>{const{isLoading:t,isRestrictionsActive:r}=Kx();return t||r?null:e},Ort=()=>E(ale,{size:32}),Irt=bt("div",{target:"ed8cszy0"})({name:"19l070s",styles:".Polaris-Button{padding:0;&:hover{background:var(--p-background-hovered)!important;}}"}),_A=({title:e,wrap:t,disabled:r,onClose:n})=>E(ji.Section,{children:Te(je,{alignment:"center",wrap:t,children:[E(je.Item,{fill:!0,children:E(qe,{variant:"headingLg",as:"p",children:e})}),E(je.Item,{children:E(Irt,{children:E(vr,{plain:!0,icon:E(Ort,{}),disabled:r,onClick:n})})})]})});var Zx=e=>e.type==="checkbox",Ig=e=>e instanceof Date,Oo=e=>e==null;const Cle=e=>typeof e=="object";var Wa=e=>!Oo(e)&&!Array.isArray(e)&&Cle(e)&&!Ig(e),Ele=e=>Wa(e)&&e.target?Zx(e.target)?e.target.checked:e.target.value:e,Rrt=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,kle=(e,t)=>
427e.has(Rrt(t)),Fy=e=>Array.isArray(e)?e.filter(Boolean):[],Qn=e=>e===void 0,xt=(e,t,r)=>{if(!t||!Wa(e))return r;const n=Fy(t.split(/[,[\].]+?/)).reduce((i,a)=>Oo(i)?i:i[a],e);return Qn(n)||n===e?Qn(e[t])?r:e[t]:n};const LT={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Wl={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Pd={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Tle=S.createContext(null),Dy=()=>S.useContext(Tle),_le=e=>{const{children:t,...r}=e;return S.createElement(Tle.Provider,{value:r},t)};var Ple=(e,t,r,n=!0)=>{const i={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(i,a,{get:()=>{const o=a;return t._proxyFormState[o]!==Wl.all&&(t._proxyFormState[o]=!n||Wl.all),r&&(r[o]=!0),e[o]}});return i},Ls=e=>Wa(e)&&!Object.keys(e).length,Ale=(e,t,r)=>{const{name:n,...i}=e;return Ls(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(a=>t[a]===(!r||Wl.all))},$s=e=>Array.isArray(e)?e:[e],Ole=(e,t,r)=>r&&t?e===t:!e||!t||e===t||$s(e).some(n=>n&&(n.startsWith(t)||t.startsWith(n)));function PA(e){const t=S.useRef(e);t.current=e,S.useEffect(()=>{const r=!e.disabled&&t.current.subject.subscribe({next:t.current.callback});return()=>{r&&r.unsubscribe()}},[e.disabled])}function Frt(e){const t=Dy(),{control:r=t.control,disabled:n,name:i,exact:a}=e||{},[o,s]=S.useState(r._formState),l=S.useRef(!0),c=S.useRef({isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1}),u=S.useRef(i);return u.current=i,PA({disabled:n,callback:S.useCallback(d=>l.current&&Ole(u.current,d.name,a)&&Ale(d,c.current)&&s({...r._formState,...d}),[r,a]),subject:r._subjects.state}),S.useEffect(()=>{l.current=!0;const d=r._proxyFormState.isDirty&&r._getDirty();return d!==r._formState.isDirty&&r._subjects.state.next({isDirty:d}),r._updateValid(),()=>{l.current=!1}},[r]),Ple(o,r,c.current,!1)}var Zu=e=>typeof e=="string",Ile=(e,t,r,n)=>Zu(e)?(n&&t.watch.add(e),xt(r,e)):Array.isArray(e)?e.map(i=>(n&&t.watch.add(i),xt(r,i))):(t.watchAll=!!n,r),Drt=e=>{const t=e.constructor&&e.constructor.prototype;return Wa(t)&&t.hasOwnProperty("isPrototypeOf")},yD=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Hs(e){let t;const r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(yD&&(e instanceof Blob||e instanceof FileList))&&(r||Wa(e)))if(t=r?[]:{},!Array.isArray(e)&&!Drt(e))t=e;else for(const n in e)t[n]=Hs(e[n]);else return e;return t}function Nrt(e){const t=Dy(),{control:r=t.control,name:n,defaultValue:i,disabled:a,exact:o}=e||{},s=S.useRef(n);s.current=n,PA({disabled:a,subject:r._subjects.watch,callback:u=>{if(Ole(s.current,u.name,o)){const d=Ile(s.current,r._names,u.values||r._formValues);c(Qn(d)?i:Hs(d))}}});const[l,c]=S.useState(Qn(i)?r._getWatch(n):i);return S.useEffect(()=>r._removeUnmounted()),l}function Mrt(e){const t=Dy(),{name:r,control:n=t.control,shouldUnregister:i}=e,a=kle(n._names.array,r),o=Nrt({control:n,name:r,defaultValue:xt(n._formValues,r,xt(n._defaultValues,r,e.defaultValue)),exact:!0}),s=Frt({control:n,name:r}),l=S.useRef(n.register(r,{...e.rules,value:o}));return S.useEffect(()=>{const c=(u,d)=>{const f=xt(n._fields,u);f&&(f._f.mount=d)};return c(r,!0),()=>{const u=n._options.shouldUnregister||i;(a?u&&!n._stateFlags.action:u)?n.unregister(r):c(r,!1)}},[r,n,a,i]),{field:{name:r,value:o,onChange:S.useCallback(c=>l.current.onChange({target:{value:Ele(c),name:r},type:LT.CHANGE}),[r]),onBlur:S.useCallback(()=>l.current.onBlur({target:{value:xt(n._formValues,r),name:r},type:LT.BLUR}),[r,n]),ref:c=>{const u=xt(n._fields,r);u&&c&&(u._f.ref={focus:()=>c.focus(),select:()=>c.select(),setCustomValidity:d=>c.setCustomValidity(d),reportValidity:()=>c.reportValidity()})}},formState:s,fieldState:Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!xt(s.errors,r)},isDirty:{enumerable:!0,get:()=>!!xt(s.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!xt(s.touchedFields,r)},error:{enumerable:!0,get:()=>xt(s.errors,r)}})}}const Dr=e=>e.render(Mrt(e));var Rle=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},eM=e=>/^\w*$/.test(e),Fle=e=>Fy(e.replace(/["|']|\]/g,"").split(/\.|\[/));function qn(e,t,r){let n=-1;const i=eM(t)?[t]:Fle(t),a=i.length,o=a-1;for(;++n<a;){const s=i[n];let l=r;if(n!==o){const c=e[s];
427l=Wa(c)||Array.isArray(c)?c:isNaN(+i[n+1])?{}:[]}e[s]=l,e=e[s]}return e}const BT=(e,t,r)=>{for(const n of r||Object.keys(e)){const i=xt(e,n);if(i){const{_f:a,...o}=i;if(a&&t(a.name)){if(a.ref.focus){a.ref.focus();break}else if(a.refs&&a.refs[0].focus){a.refs[0].focus();break}}else Wa(o)&&BT(o,t)}}};var Uf=()=>{const e=typeof performance>"u"?Date.now():performance.now()*1e3;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{const r=(Math.random()*16+e)%16|0;return(t=="x"?r:r&3|8).toString(16)})},N3=(e,t,r={})=>r.shouldFocus||Qn(r.shouldFocus)?r.focusName||`${e}.${Qn(r.focusIndex)?t:r.focusIndex}.`:"",bD=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(n=>e.startsWith(n)&&/^\.\w+/.test(e.slice(n.length)))),Dle=(e,t,r)=>{const n=Fy(xt(e,r));return qn(n,"root",t[r]),qn(e,r,n),e},sv=e=>typeof e=="boolean",tM=e=>e.type==="file",UT=e=>typeof e=="function",tk=e=>Zu(e)||S.isValidElement(e),rM=e=>e.type==="radio",zT=e=>e instanceof RegExp;const EK={value:!1,isValid:!1},kK={value:!0,isValid:!0};var Nle=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(r=>r&&r.checked&&!r.disabled).map(r=>r.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Qn(e[0].attributes.value)?Qn(e[0].value)||e[0].value===""?kK:{value:e[0].value,isValid:!0}:kK:EK}return EK};const TK={isValid:!1,value:null};var Mle=e=>Array.isArray(e)?e.reduce((t,r)=>r&&r.checked&&!r.disabled?{isValid:!0,value:r.value}:t,TK):TK;function _K(e,t,r="validate"){if(tk(e)||Array.isArray(e)&&e.every(tk)||sv(e)&&!e)return{type:r,message:tk(e)?e:"",ref:t}}var Z0=e=>Wa(e)&&!zT(e)?e:{value:e,message:""},SD=async(e,t,r,n,i)=>{const{ref:a,refs:o,required:s,maxLength:l,minLength:c,min:u,max:d,pattern:f,validate:h,name:p,valueAsNumber:g,mount:v,disabled:m}=e._f;if(!v||m)return{};const b=o?o[0]:a,y=I=>{n&&b.reportValidity&&(b.setCustomValidity(sv(I)?"":I||""),b.reportValidity())},w={},x=rM(a),C=Zx(a),T=x||C,_=(g||tM(a))&&!a.value||t===""||Array.isArray(t)&&!t.length,P=Rle.bind(null,p,r,w),F=(I,R,D,A=Pd.maxLength,M=Pd.minLength)=>{const X=I?R:D;w[p]={type:I?A:M,message:X,ref:a,...P(I?A:M,X)}};if(i?!Array.isArray(t)||!t.length:s&&(!T&&(_||Oo(t))||sv(t)&&!t||C&&!Nle(o).isValid||x&&!Mle(o).isValid)){const{value:I,message:R}=tk(s)?{value:!!s,message:s}:Z0(s);if(I&&(w[p]={type:Pd.required,message:R,ref:b,...P(Pd.required,R)},!r))return y(R),w}if(!_&&(!Oo(u)||!Oo(d))){let I,R;const D=Z0(d),A=Z0(u);if(!Oo(t)&&!isNaN(t)){const M=a.valueAsNumber||t&&+t;Oo(D.value)||(I=M>D.value),Oo(A.value)||(R=M<A.value)}else{const M=a.valueAsDate||new Date(t),X=ne=>new Date(new Date().toDateString()+" "+ne),Y=a.type=="time",se=a.type=="week";Zu(D.value)&&t&&(I=Y?X(t)>X(D.value):se?t>D.value:M>new Date(D.value)),Zu(A.value)&&t&&(R=Y?X(t)<X(A.value):se?t<A.value:M<new Date(A.value))}if((I||R)&&(F(!!I,D.message,A.message,Pd.max,Pd.min),!r))return y(w[p].message),w}if((l||c)&&!_&&(Zu(t)||i&&Array.isArray(t))){const I=Z0(l),R=Z0(c),D=!Oo(I.value)&&t.length>I.value,A=!Oo(R.value)&&t.length<R.value;if((D||A)&&(F(D,I.message,R.message),!r))return y(w[p].message),w}if(f&&!_&&Zu(t)){const{value:I,message:R}=Z0(f);if(zT(I)&&!t.match(I)&&(w[p]={type:Pd.pattern,message:R,ref:a,...P(Pd.pattern,R)},!r))return y(R),w}if(h){if(UT(h)){const I=await h(t),R=_K(I,b);if(R&&(w[p]={...R,...P(Pd.validate,R.message)},!r))return y(R.message),w}else if(Wa(h)){let I={};for(const R in h){if(!Ls(I)&&!r)break;const D=_K(await h[R](t),b,R);D&&(I={...D,...P(R,D.message)},y(D.message),r&&(w[p]=I))}if(!Ls(I)&&(w[p]={ref:b,...I},!r))return w}}return y(!0),w};function M3(e,t){return[...e,...$s(t)]}var L3=e=>Array.isArray(e)?e.map(()=>{}):void 0,wD=e=>({isOnSubmit:!e||e===Wl.onSubmit,isOnBlur:e===Wl.onBlur,isOnChange:e===Wl.onChange,isOnAll:e===Wl.all,isOnTouch:e===Wl.onTouched});function B3(e,t,r){return[...e.slice(0,t),...$s(r),...e.slice(t)]}var U3=(e,t,r)=>Array.isArray(e)?(Qn(e[r])&&(e[r]=void 0),e.splice(r,0,e.splice(t,1)[0]),e):[];function z3(e,t){return[...$s(t),...$s(e)]}function Lrt(e,t){let r=0;const n=[...e];for(const i of t)n.splice(i-r,1),r++;return Fy(n).length?n:[]}var H3=(e,t)=>Qn(t)?[]:Lrt(e,$s(t).sort((r,n)=>r-n)),q3=(e,t,r)=>{e[t]=[e[r],e[r]=e[t]][0]};function Brt(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=Qn(e)?n++:e[t[n++]];return e}function Urt(e){for(const t in e)if(!Qn(e[t]))return!1;return!0}function no(e,t){const r=eM(t)?[t]:Fle(t),n=r.length==1?e:Brt(e,r),i=r[r.length-1];let a;n&&delete n[i];for(let o=0;o<r.slice(0,-1).length;o++){let s=-1,l;const c=r.slice(0,-(o+1)),u=c.length-1;for(o>0&&(a=e);++s<c.length;){const d=c[s];l=l?l[d]:e[d],u===s&&(Wa(l)&&Ls(l)||Array.isArray(l)&&Urt(l))&&(a?delete a[d]:delete e[d]),a=l}}return e}var PK=(e,t,r)=>(e[t]=r,e);function jkt(e){const t=Dy(),{control:r=t.control,name:n,keyName:i="id",shouldUnregister:a}=e,[o,s]=S.useState(r._getFieldArray(n)),l=S.useRef(r._getFieldArray(n).map(Uf)),c=S.useRef(o),u=S.useRef(n),d=S.useRef(!1);u.current=n,c.current=o,r._names.array.add(n),e.rules&&r.register(n,e.rules);const f=S.useCallback(({values:C,name:T})=>
427{if(T===u.current||!T){const _=xt(C,u.current);Array.isArray(_)&&(s(_),l.current=_.map(Uf))}},[]);PA({callback:f,subject:r._subjects.array});const h=S.useCallback(C=>{d.current=!0,r._updateFieldArray(n,C)},[r,n]),p=(C,T)=>{const _=$s(Hs(C)),P=M3(r._getFieldArray(n),_);r._names.focus=N3(n,P.length-1,T),l.current=M3(l.current,_.map(Uf)),h(P),s(P),r._updateFieldArray(n,P,M3,{argA:L3(C)})},g=(C,T)=>{const _=$s(Hs(C)),P=z3(r._getFieldArray(n),_);r._names.focus=N3(n,0,T),l.current=z3(l.current,_.map(Uf)),h(P),s(P),r._updateFieldArray(n,P,z3,{argA:L3(C)})},v=C=>{const T=H3(r._getFieldArray(n),C);l.current=H3(l.current,C),h(T),s(T),r._updateFieldArray(n,T,H3,{argA:C})},m=(C,T,_)=>{const P=$s(Hs(T)),F=B3(r._getFieldArray(n),C,P);r._names.focus=N3(n,C,_),l.current=B3(l.current,C,P.map(Uf)),h(F),s(F),r._updateFieldArray(n,F,B3,{argA:C,argB:L3(T)})},b=(C,T)=>{const _=r._getFieldArray(n);q3(_,C,T),q3(l.current,C,T),h(_),s(_),r._updateFieldArray(n,_,q3,{argA:C,argB:T},!1)},y=(C,T)=>{const _=r._getFieldArray(n);U3(_,C,T),U3(l.current,C,T),h(_),s(_),r._updateFieldArray(n,_,U3,{argA:C,argB:T},!1)},w=(C,T)=>{const _=Hs(T),P=PK(r._getFieldArray(n),C,_);l.current=[...P].map((F,I)=>!F||I===C?Uf():l.current[I]),h(P),s([...P]),r._updateFieldArray(n,P,PK,{argA:C,argB:_},!0,!1)},x=C=>{const T=$s(Hs(C));l.current=T.map(Uf),h([...T]),s([...T]),r._updateFieldArray(n,[...T],_=>_,{},!0,!1)};return S.useEffect(()=>{if(r._stateFlags.action=!1,bD(n,r._names)&&r._subjects.state.next({}),d.current&&(!wD(r._options.mode).isOnSubmit||r._formState.isSubmitted))if(r._options.resolver)r._executeSchema([n]).then(C=>{const T=xt(C.errors,n),_=xt(r._formState.errors,n);(_?!T&&_.type:T&&T.type)&&(T?qn(r._formState.errors,n,T):no(r._formState.errors,n),r._subjects.state.next({errors:r._formState.errors}))});else{const C=xt(r._fields,n);C&&C._f&&SD(C,xt(r._formValues,n),r._options.criteriaMode===Wl.all,r._options.shouldUseNativeValidation,!0).then(T=>!Ls(T)&&r._subjects.state.next({errors:Dle(r._formState.errors,T,n)}))}r._subjects.watch.next({name:n,values:r._formValues}),r._names.focus&&BT(r._fields,C=>!!C&&C.startsWith(r._names.focus)),r._names.focus="",r._proxyFormState.isValid&&r._updateValid()},[o,n,r]),S.useEffect(()=>(!xt(r._formValues,n)&&r._updateFieldArray(n),()=>{(r._options.shouldUnregister||a)&&r.unregister(n)}),[n,r,i,a]),{swap:S.useCallback(b,[h,n,r]),move:S.useCallback(y,[h,n,r]),prepend:S.useCallback(g,[h,n,r]),append:S.useCallback(p,[h,n,r]),remove:S.useCallback(v,[h,n,r]),insert:S.useCallback(m,[h,n,r]),update:S.useCallback(w,[h,n,r]),replace:S.useCallback(x,[h,n,r]),fields:S.useMemo(()=>o.map((C,T)=>({...C,[i]:l.current[T]||Uf()}
427)),[o,i])}}function W3(){let e=[];return{get observers(){return e},next:i=>{for(const a of e)a.next(i)},subscribe:i=>(e.push(i),{unsubscribe:()=>{e=e.filter(a=>a!==i)}}),unsubscribe:()=>{e=[]}}}var HT=e=>Oo(e)||!Cle(e);function Rg(e,t){if(HT(e)||HT(t))return e===t;if(Ig(e)&&Ig(t))return e.getTime()===t.getTime();const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(const i of r){const a=e[i];if(!n.includes(i))return!1;if(i!=="ref"){const o=t[i];if(Ig(a)&&Ig(o)||Wa(a)&&Wa(o)||Array.isArray(a)&&Array.isArray(o)?!Rg(a,o):a!==o)return!1}}return!0}var xD=e=>{const t=e?e.ownerDocument:0,r=t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement;return e instanceof r},Lle=e=>e.type==="select-multiple",zrt=e=>rM(e)||Zx(e),V3=e=>xD(e)&&e.isConnected,Ble=e=>{for(const t in e)if(UT(e[t]))return!0;return!1};function qT(e,t={}){const r=Array.isArray(e);if(Wa(e)||r)for(const n in e)Array.isArray(e[n])||Wa(e[n])&&!Ble(e[n])?(t[n]=Array.isArray(e[n])?[]:{},qT(e[n],t[n])):Oo(e[n])||(t[n]=!0);return t}function Ule(e,t,r){const n=Array.isArray(e);if(Wa(e)||n)for(const i in e)Array.isArray(e[i])||Wa(e[i])&&!Ble(e[i])?Qn(t)||HT(r[i])?r[i]=Array.isArray(e[i])?qT(e[i],[]):{...qT(e[i])}:Ule(e[i],Oo(t)?{}:t[i],r[i]):Rg(e[i],t[i])?delete r[i]:r[i]=!0;return r}var j3=(e,t)=>Ule(e,t,qT(t)),zle=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>Qn(e)?e:t?e===""?NaN:e&&+e:r&&Zu(e)?new Date(e):n?n(e):e;function G3(e){const t=e.ref;if(!(e.refs?e.refs.every(r=>r.disabled):t.disabled))return tM(t)?t.files:rM(t)?Mle(e.refs).value:Lle(t)?[...t.selectedOptions].map(({value:r})=>r):Zx(t)?Nle(e.refs).value:zle(Qn(t.value)?e.ref.value:t.value,e)}var Hrt=(e,t,r,n)=>{const i={};for(const a of e){const o=xt(t,a);o&&qn(i,a,o._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}},I1=e=>Qn(e)?e:zT(e)?e.source:Wa(e)?zT(e.value)?e.value.source:e.value:e,qrt=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function AK(e,t,r){const n=xt(e,r);if(n||eM(r))return{error:n,name:r};const i=r.split(".");for(;i.length;){const a=i.join("."),o=xt(t,a),s=xt(e,a);if(o&&!Array.isArray(o)&&r!==a)return{name:r};if(s&&s.type)return{name:a,error:s};i.pop()}return{name:r}}var Wrt=(e,t,r,n,i)=>i.isOnAll?!1:!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:(r?n.isOnChange:i.isOnChange)?e:!0,Vrt=(e,t)=>!Fy(xt(e,t)).length&&no(e,t);const jrt={mode:Wl.onSubmit,reValidateMode:Wl.onChange,shouldFocusError:!0};function Grt(e={}){let t={...jrt,...e},r={submitCount:0,isDirty:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},n={},i=Hs(t.defaultValues)||{},a=t.shouldUnregister?{}:Hs(i),o={action:!1,mount:!1,watch:!1},s={mount:new Set,unMount:new Set,array:new Set,watch:new Set},l,c=0,u={};const d={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},f={watch:W3(),array:W3(),state:W3()},h=wD(t.mode),p=wD(t.reValidateMode),g=t.criteriaMode===Wl.all,v=G=>N=>{clearTimeout(c),c=window.setTimeout(G,N)},m=async()=>{let G=!1;return d.isValid&&(G=t.resolver?Ls((await T()).errors):await P(n,!0),G!==r.isValid&&(r.isValid=G,f.state.next({isValid:G}
vendor: 6,217 bytes, line 427
427))),G},b=(G,N=[],O,oe,Z=!0,B=!0)=>{if(oe&&O){if(o.action=!0,B&&Array.isArray(xt(n,G))){const V=O(xt(n,G),oe.argA,oe.argB);Z&&qn(n,G,V)}if(B&&Array.isArray(xt(r.errors,G))){const V=O(xt(r.errors,G),oe.argA,oe.argB);Z&&qn(r.errors,G,V),Vrt(r.errors,G)}if(d.touchedFields&&B&&Array.isArray(xt(r.touchedFields,G))){const V=O(xt(r.touchedFields,G),oe.argA,oe.argB);Z&&qn(r.touchedFields,G,V)}d.dirtyFields&&(r.dirtyFields=j3(i,a)),f.state.next({isDirty:I(G,N),dirtyFields:r.dirtyFields,errors:r.errors,isValid:r.isValid})}else qn(a,G,N)},y=(G,N)=>{qn(r.errors,G,N),f.state.next({errors:r.errors})},w=(G,N,O,oe)=>{const Z=xt(n,G);if(Z){const B=xt(a,G,Qn(O)?xt(i,G):O);Qn(B)||oe&&oe.defaultChecked||N?qn(a,G,N?B:G3(Z._f)):A(G,B),o.mount&&m()}},x=(G,N,O,oe,Z)=>{let B=!1,V=!1;const de={name:G};if(d.isDirty&&(V=r.isDirty,r.isDirty=de.isDirty=I(),B=V!==de.isDirty),d.dirtyFields&&(!O||oe)){V=xt(r.dirtyFields,G);const Pe=Rg(xt(i,G),N);Pe?no(r.dirtyFields,G):qn(r.dirtyFields,G,!0),de.dirtyFields=r.dirtyFields,B=B||V!==!Pe}if(O){const Pe=xt(r.touchedFields,G);Pe||(qn(r.touchedFields,G,O),de.touchedFields=r.touchedFields,B=B||d.touchedFields&&Pe!==O)}return B&&Z&&f.state.next(de),B?de:{}},C=(G,N,O,oe)=>{const Z=xt(r.errors,G),B=d.isValid&&sv(N)&&r.isValid!==N;if(e.delayError&&O?(l=v(()=>y(G,O)),l(e.delayError)):(clearTimeout(c),l=null,O?qn(r.errors,G,O):no(r.errors,G)),(O?!Rg(Z,O):Z)||!Ls(oe)||B){const V={...oe,...B&&sv(N)?{isValid:N}:{},errors:r.errors,name:G};r={...r,...V},f.state.next(V)}u[G]--,d.isValidating&&!Object.values(u).some(V=>V)&&(f.state.next({isValidating:!1}),u={})},T=async G=>t.resolver?await t.resolver({...a},t.context,Hrt(G||s.mount,n,t.criteriaMode,t.shouldUseNativeValidation)):{},_=async G=>{const{errors:N}=await T();if(G)for(const O of G){const oe=xt(N,O);oe?qn(r.errors,O,oe):no(r.errors,O)}else r.errors=N;return N},P=async(G,N,O={valid:!0})=>{for(const oe in G){const Z=G[oe];if(Z){const{_f:B,...V}=Z;if(B){const de=s.array.has(B.name),Pe=await SD(Z,xt(a,B.name),g,t.shouldUseNativeValidation,de);if(Pe[B.name]&&(O.valid=!1,N))break;!N&&(xt(Pe,B.name)?de?Dle(r.errors,Pe,B.name):qn(r.errors,B.name,Pe[B.name]):no(r.errors,B.name))}V&&await P(V,N,O)}}return O.valid},F=()=>{for(const G of s.unMount){const N=xt(n,G);N&&(N._f.refs?N._f.refs.every(O=>!V3(O)):!V3(N._f.ref))&&ge(G)}s.unMount=new Set},I=(G,N)=>(G&&N&&qn(a,G,N),!Rg(ne(),i)),R=(G,N,O)=>Ile(G,s,{...o.mount?a:Qn(N)?i:Zu(G)?{[G]:N}:N},O),D=G=>Fy(xt(o.mount?a:i,G,e.shouldUnregister?xt(i,G,[]):[])),A=(G,N,O={})=>{const oe=xt(n,G);let Z=N;if(oe){const B=oe._f;B&&(!B.disabled&&qn(a,G,zle(N,B)),Z=yD&&xD(B.ref)&&Oo(N)?"":N,Lle(B.ref)?[...B.ref.options].forEach(V=>V.selected=Z.includes(V.value)):B.refs?Zx(B.ref)?B.refs.length>1?B.refs.forEach(V=>(!V.defaultChecked||!V.disabled)&&(V.checked=Array.isArray(Z)?!!Z.find(de=>de===V.value):Z===V.value)):B.refs[0]&&(B.refs[0].checked=!!Z):B.refs.forEach(V=>V.checked=V.value===Z):tM(B.ref)?B.ref.value="":(B.ref.value=Z,B.ref.type||f.watch.next({name:G})))}(O.shouldDirty||O.shouldTouch)&&x(G,Z,O.shouldTouch,O.shouldDirty,!0),O.shouldValidate&&se(G)},M=(G,N,O)=>{for(const oe in N){const Z=N[oe],B=`${G}.${oe}`,V=xt(n,B);(s.array.has(G)||!HT(Z)||V&&!V._f)&&!Ig(Z)?M(B,Z,O):A(B,Z,O)}},X=(G,N,O={})=>{const oe=xt(n,G),Z=s.array.has(G),B=Hs(N);qn(a,G,B),Z?(f.array.next({name:G,values:a}),(d.isDirty||d.dirtyFields)&&O.shouldDirty&&(r.dirtyFields=j3(i,a),f.state.next({name:G,dirtyFields:r.dirtyFields,isDirty:I(G,B)}))):oe&&!oe._f&&!Oo(B)?M(G,B,O):A(G,B,O),bD(G,s)&&f.state.next({}),f.watch.next({name:G})},Y=async G=>{const N=G.target;let O=N.name;const oe=xt(n,O);if(oe){let Z,B;const V=N.type?G3(oe._f):Ele(G),de=G.type===LT.BLUR||G.type===LT.FOCUS_OUT,Pe=!qrt(oe._f)&&!t.resolver&&!xt(r.errors,O)&&!oe._f.deps||Wrt(de,xt(r.touchedFields,O),r.isSubmitted,p,h),ze=bD(O,s,de);qn(a,O,V),de?(oe._f.onBlur&&oe._f.onBlur(G),l&&l(0)):oe._f.onChange&&oe._f.onChange(G);const Se=x(O,V,de,!1),Me=!Ls(Se)||ze;if(!de&&f.watch.next({name:O,type:G.type}),Pe)return d.isValid&&m(),Me&&f.state.next({name:O,...ze?{}:Se});if(!de&&ze&&f.state.next({}),u[O]=u[O]?u[O]+1:1,f.state.next({isValidating:!0}),t.resolver){const{errors:Ze}=await T([O]),_e=AK(r.errors,n,O),at=AK(Ze,n,_e.name||O);Z=at.error,O=at.name,B=Ls(Ze)}else Z=(await SD(oe,xt(a,O),g,t.shouldUseNativeValidation))[O],m();oe._f.deps&&se(oe._f.deps),C(O,B,Z,Se)}},se=async(G,N={})=>{let O,oe;const Z=$s(G);if(f.state.next({isValidating:!0}),t.resolver){const B=await _(Qn(G)?G:Z);O=Ls(B),oe=G?!Z.some(V=>xt(B,V)):O}else G?(oe=(await Promise.all(Z.map(async B=>{const V=xt(n,B);return await P(V&&V._f?{[B]:V}:V)}))).every(Boolean),!(!oe&&!r.isValid)&&m()):oe=O=await P(n);return f.state.next({...!Zu(G)||d.isValid&&O!==r.isValid?{}:{name:G},...t.resolver||!G?{isValid:O}:{},errors:r.errors,isValidating:!1}),N.shouldFocus&&!oe&&BT(n,B=>B&&xt(r.errors,B),G?Z:s.mount),oe},ne=G=>{const N={...i,...o.mount?a:{}};return Qn(G)?N:Zu(G)?xt(N,G):G.map(O=>xt(N,O))},ie=(G,N)=>({invalid:!!xt((N||r).errors,G),isDirty:!!xt((N||r).dirtyFields,G),isTouched:!!xt((N||r).touchedFields,G),error:xt((N||r).errors,G)}),ae=G=>{G?$s(G).forEach(N=>no(r.errors,N)):r.errors={},f.state.next({errors:r.errors})},ce=(G,N,O)=>{const oe=(xt(n,G,{_f:{}})._f||{}).ref;qn(r.errors,G,{...N,ref:oe}),f.state.next({name:G,errors:r.errors,isValid:!1}),O&&O.shouldFocus&&oe&&oe.focus&&oe.focus()},ke=(G,N)=>UT(G)?f.watch.subscribe({next:O=>G(R(void 0,N),O)}):R(G,N,!0),ge=(G,N={})=>{for(const O of G?$s(G):s.mount)s.mount.delete(O),s.array.delete(O),xt(n,O)&&(N.keepValue||(no(n,O),no(a,O)),!N.keepError&&no(r.errors,O),!N.keepDirty&&no(r.dirtyFields,O),!N.keepTouched&&no(r.touchedFields,O),!t.shouldUnregister&&!N.keepDefaultValue&&no(i,O));f.watch.next({}),f.state.next({...r,...N.keepDirty?{isDirty:I()}:{}}),!N.keepIsValid&&m()},De=(G,N={})=>{let O=xt(n,G);const oe=sv(N.disabled);return qn(n,G,{...O||{},_f:{...O&&O._f?O._f:{ref:{name:G}},name:G,mount:!0,...N}}),s.mount.add(G),O?oe&&qn(a,G,N.disabled?void 0:xt(a,G,G3(O._f))):w(G,!0,N.value),{...oe?{disabled:N.disabled}:{},...t.shouldUseNativeValidation?{required:!!N.required,min:I1(N.min),max:I1(N.max),minLength:I1(N.minLength),maxLength:I1(N.maxLength),pattern:I1(N.pattern)}:{},name:G,onChange:Y,onBlur:Y,ref:Z=>
427{if(Z){De(G,N),O=xt(n,G);const B=Qn(Z.value)&&Z.querySelectorAll&&Z.querySelectorAll("input,select,textarea")[0]||Z,V=zrt(B),de=O._f.refs||[];if(V?de.find(Pe=>Pe===B):B===O._f.ref)return;qn(n,G,{_f:{...O._f,...V?{refs:[...de.filter(V3),B,...Array.isArray(xt(i,G))?[{}]:[]],ref:{type:B.type,name:G}}:{ref:B}}}),w(G,!1,void 0,B)}else O=xt(n,G,{}),O._f&&(O._f.mount=!1),(t.shouldUnregister||N.shouldUnregister)&&!(kle(s.array,G)&&o.action)&&s.unMount.add(G)}}},Ne=()=>t.shouldFocusError&&BT(n,G=>G&&xt(r.errors,G),s.mount),We=(G,N)=>async O=>{O&&(O.preventDefault&&O.preventDefault(),O.persist&&O.persist());let oe=!0,Z=Hs(a);f.state.next({isSubmitting:!0});try{if(t.resolver){const{errors:B,values:V}=await T();r.errors=B,Z=V}else await P(n);Ls(r.errors)?(f.state.next({errors:{},isSubmitting:!0}),await G(Z,O)):(N&&await N({...r.errors},O),Ne())}catch(B){throw oe=!1,B}finally{r.isSubmitted=!0,f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Ls(r.errors)&&oe,submitCount:r.submitCount+1,errors:r.errors})}},z=(G,N={})=>{xt(n,G)&&(Qn(N.defaultValue)?X(G,xt(i,G)):(X(G,N.defaultValue),qn(i,G,N.defaultValue)),N.keepTouched||no(r.touchedFields,G),N.keepDirty||(no(r.dirtyFields,G),r.isDirty=N.defaultValue?I(G,xt(i,G)):I()),N.keepError||(no(r.errors,G),d.isValid&&m()),f.state.next({...r}))},J=(G,N={})=>{const O=G||i,oe=Hs(O),Z=G&&!Ls(G)?oe:i;if(N.keepDefaultValues||(i=O),!N.keepValues){if(N.keepDirtyValues)for(const B of s.mount)xt(r.dirtyFields,B)?qn(Z,B,xt(a,B)):X(B,xt(Z,B));else{if(yD&&Qn(G))for(const B of s.mount){const V=xt(n,B);if(V&&V._f){const de=Array.isArray(V._f.refs)?V._f.refs[0]:V._f.ref;if(xD(de)){const Pe=de.closest("form");if(Pe){Pe.reset();break}}}}n={}}a=e.shouldUnregister?N.keepDefaultValues?Hs(i):{}:oe,f.array.next({values:Z}),f.watch.next({values:Z})}s={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!d.isValid||!!N.keepIsValid,o.watch=!!e.shouldUnregister,f.state.next({submitCount:N.keepSubmitCount?r.submitCount:0,isDirty:N.keepDirty||N.keepDirtyValues?r.isDirty:!!(N.keepDefaultValues&&!Rg(G,i)),isSubmitted:N.keepIsSubmitted?r.isSubmitted:!1,dirtyFields:N.keepDirty||N.keepDirtyValues?r.dirtyFields:N.keepDefaultValues&&G?j3(i,G):{},touchedFields:N.keepTouched?r.touchedFields:{},errors:N.keepErrors?r.errors:{},isSubmitting:!1,isSubmitSuccessful:!1})};return{control:{register:De,unregister:ge,getFieldState:ie,_executeSchema:T,_focusError:Ne,_getWatch:R,_getDirty:I,_updateValid:m,_removeUnmounted:F,_updateFieldArray:b,_getFieldArray:D,_subjects:f,_proxyFormState:d,get _fields(){return n},get _formValues(){return a},get _stateFlags(){return o},set _stateFlags(G){o=G},get _defaultValues(){return i},get _names(){return s},set _names(G){s=G},get _formState(){return r},set _formState(G){r=G},get _options(){return t},set _options(G){t={...t,...G}}},trigger:se,register:De,handleSubmit:We,watch:ke,setValue:X,getValues:ne,reset:(G,N)=>J(UT(G)?G(a):G,N),resetField:z,clearErrors:ae,unregister:ge,setError:ce,setFocus:(G,N={})=>{const O=xt(n,G),oe=O&&O._f;if(oe){const Z=oe.refs?oe.refs[0]:oe.ref;Z.focus&&(Z.focus(),N.shouldSelect&&Z.select())}},getFieldState:ie}}function AA(e={}){const t=S.useRef(),[r,n]=S.useState({isDirty:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:e.defaultValues});t.current||(t.current={...Grt(e),formState:r});const i=t.current.control;return i._options=e,PA({subject:i._subjects.state,callback:S.useCallback(a=>{Ale(a,i._proxyFormState,!0)&&(i._formState={...i._formState,...a},n({...i._formState}))},[i])}),S.useEffect(()=>{i._stateFlags.mount||(i._proxyFormState.isValid&&i._updateValid(),i._stateFlags.mount=!0),i._stateFlags.watch&&(i._stateFlags.watch=!1,i._subjects.state.next({})),i._removeUnmounted()}),S.useEffect(()=>{r.submitCount&&i._focusError()},[i,r.submitCount]),t.current.formState=Ple(r,i),t.current}var OK=function(e,t,r){if(e&&"reportValidity"in e){var n=xt(r,t);e.setCustomValidity(n&&n.message||""),e.reportValidity()}},Hle=function(e,t){var r=function(i){var a=t.fields[i];a&&a.ref&&"reportValidity"in a.ref?OK(a.ref,i,e):a.refs&&a.refs.forEac
vendor: 45,058 bytes, line 427
427h(function(o){return OK(o,i,e)})};for(var n in t.fields)r(n)},Krt=function(e,t){t.shouldUseNativeValidation&&Hle(e,t);var r={};for(var n in e){var i=xt(t.fields,n);qn(r,n,Object.assign(e[n],{ref:i&&i.ref}))}return r},Zrt=function(e,t){for(var r={};e.length;){var n=e[0],i=n.code,a=n.message,o=n.path.join(".");if(!r[o])if("unionErrors"in n){var s=n.unionErrors[0].errors[0];r[o]={message:s.message,type:s.code}}else r[o]={message:a,type:i};if("unionErrors"in n&&n.unionErrors.forEach(function(u){return u.errors.forEach(function(d){return e.push(d)})}),t){var l=r[o].types,c=l&&l[n.code];r[o]=Rle(o,t,r,i,c?[].concat(c,n.message):n.message)}e.shift()}return r},OA=function(e,t,r){return r===void 0&&(r={}),function(n,i,a){try{return Promise.resolve(function(o,s){try{var l=Promise.resolve(e[r.mode==="sync"?"parse":"parseAsync"](n,t)).then(function(c){return a.shouldUseNativeValidation&&Hle({},a),{errors:{},values:r.rawValues?n:c}})}catch(c){return s(c)}return l&&l.then?l.then(void 0,s):l}(0,function(o){return{values:{},errors:o.isEmpty?{}:Krt(Zrt(o.errors,!a.shouldUseNativeValidation&&a.criteriaMode==="all"),a)}}))}catch(o){return Promise.reject(o)}}},sn;(function(e){e.assertEqual=i=>i;function t(i){}e.assertIs=t;function r(i){throw new Error}e.assertNever=r,e.arrayToEnum=i=>{const a={};for(const o of i)a[o]=o;return a},e.getValidEnumValues=i=>{const a=e.objectKeys(i).filter(s=>typeof i[i[s]]!="number"),o={};for(const s of a)o[s]=i[s];return e.objectValues(o)},e.objectValues=i=>e.objectKeys(i).map(function(a){return i[a]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{const a=[];for(const o in i)Object.prototype.hasOwnProperty.call(i,o)&&a.push(o);return a},e.find=(i,a)=>{for(const o of i)if(a(o))return o},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function n(i,a=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(a)}e.joinValues=n,e.jsonStringifyReplacer=(i,a)=>typeof a=="bigint"?a.toString():a})(sn||(sn={}));var CD;(function(e){e.mergeShapes=(t,r)=>({...t,...r})})(CD||(CD={}));const Rt=sn.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),dh=e=>{switch(typeof e){case"undefined":return Rt.undefined;case"string":return Rt.string;case"number":return isNaN(e)?Rt.nan:Rt.number;case"boolean":return Rt.boolean;case"function":return Rt.function;case"bigint":return Rt.bigint;case"symbol":return Rt.symbol;case"object":return Array.isArray(e)?Rt.array:e===null?Rt.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Rt.promise:typeof Map<"u"&&e instanceof Map?Rt.map:typeof Set<"u"&&e instanceof Set?Rt.set:typeof Date<"u"&&e instanceof Date?Rt.date:Rt.object;default:return Rt.unknown}},mt=sn.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),Yrt=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class Zc extends Error{constructor(t){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};const r=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,r):this.__proto__=r,this.name="ZodError",this.issues=t}get errors(){return this.issues}format(t){const r=t||function(a){return a.message},n={_errors:[]},i=a=>{for(const o of a.issues)if(o.code==="invalid_union")o.unionErrors.map(i);else if(o.code==="invalid_return_type")i(o.returnTypeError);else if(o.code==="invalid_arguments")i(o.argumentsError);else if(o.path.length===0)n._errors.push(r(o));else{let s=n,l=0;for(;l<o.path.length;){const c=o.path[l];l===o.path.length-1?(s[c]=s[c]||{_errors:[]},s[c]._errors.push(r(o))):s[c]=s[c]||{_errors:[]},s=s[c],l++}}};return i(this),n}toString(){return this.message}get message(){return JSON.stringify(this.issues,sn.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=r=>r.message){const r={},n=[];for(const i of this.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(t(i))):n.push(t(i));return{formErrors:n,fieldErrors:r}}get formErrors(){return this.flatten()}}Zc.create=e=>new Zc(e);const pw=(e,t)=>{let r;switch(e.code){case mt.invalid_type:e.received===Rt.undefined?r="Required":r=`Expected ${e.expected}, received ${e.received}`;break;case mt.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,sn.jsonStringifyReplacer)}`;break;case mt.unrecognized_keys:r=`Unrecognized key(s) in object: ${sn.joinValues(e.keys,", ")}`;break;case mt.invalid_union:r="Invalid input";break;case mt.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${sn.joinValues(e.options)}`;break;case mt.invalid_enum_value:r=`Invalid enum value. Expected ${sn.joinValues(e.options)}, received '${e.received}'`;break;case mt.invalid_arguments:r="Invalid function arguments";break;case mt.invalid_return_type:r="Invalid function return type";break;case mt.invalid_date:r="Invalid date";break;case mt.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:sn.assertNever(e.validation):e.validation!=="regex"?r=`Invalid ${e.validation}`:r="Invalid";break;case mt.too_small:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:r="Invalid input";break;case mt.too_big:e.type==="array"?r=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?r=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?r=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?r=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?r=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:r="Invalid input";break;case mt.custom:r="Invalid input";break;case mt.invalid_intersection_types:r="Intersection results could not be merged";break;case mt.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case mt.not_finite:r="Number must be finite";break;default:r=t.defaultError,sn.assertNever(e)}return{message:r}};let qle=pw;function $rt(e){qle=e}function WT(){return qle}const VT=e=>{const{data:t,path:r,errorMaps:n,issueData:i}=e,a=[...r,...i.path||[]],o={...i,path:a};let s="";const l=n.filter(c=>!!c).slice().reverse();for(const c of l)s=c(o,{data:t,defaultError:s}).message;return{...i,path:a,message:i.message||s}},Xrt=[];function Ft(e,t){const r=VT({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,WT(),pw].filter(n=>!!n)});e.common.issues.push(r)}class bo{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,r){const n=[];for(const i of r){if(i.status==="aborted")return yr;i.status==="dirty"&&t.dirty(),n.push(i.value)}return{status:t.value,value:n}}static async mergeObjectAsync(t,r){const n=[];for(const i of r)n.push({key:await i.key,value:await i.value});return bo.mergeObjectSync(t,n)}static mergeObjectSync(t,r){const n={};for(const i of r){const{key:a,value:o}=i;if(a.status==="aborted"||o.status==="aborted")return yr;a.status==="dirty"&&t.dirty(),o.status==="dirty"&&t.dirty(),a.value!=="__proto__"&&(typeof o.value<"u"||i.alwaysSet)&&(n[a.value]=o.value)}return{status:t.value,value:n}}}const yr=Object.freeze({status:"aborted"}),Wle=e=>({status:"dirty",value:e}),Zo=e=>({status:"valid",value:e}),ED=e=>e.status==="aborted",kD=e=>e.status==="dirty",mw=e=>e.status==="valid",jT=e=>typeof Promise<"u"&&e instanceof Promise;var Vt;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(Vt||(Vt={}));class fd{constructor(t,r,n,i){this._cachedPath=[],this.parent=t,this.data=r,this._path=n,this._key=i}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const IK=(e,t)=>{if(mw(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const r=new Zc(e.common.issues);return this._error=r,this._error}}};function _r(e){if(!e)return{};const{errorMap:t,invalid_type_error:r,required_error:n,description:i}=e;if(t&&(r||n))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(o,s)=>o.code!=="invalid_type"?{message:s.defaultError}:typeof s.data>"u"?{message:n??s.defaultError}:{message:r??s.defaultError},description:i}}class Ir{constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(t){return dh(t.data)}_getOrReturnCtx(t,r){return r||{common:t.parent.common,data:t.data,parsedType:dh(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new bo,ctx:{common:t.parent.common,data:t.data,parsedType:dh(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const r=this._parse(t);if(jT(r))throw new Error("Synchronous parse encountered promise.");return r}_parseAsync(t){const r=this._parse(t);return Promise.resolve(r)}parse(t,r){const n=this.safeParse(t,r);if(n.success)return n.data;throw n.error}safeParse(t,r){var n;const i={common:{issues:[],async:(n=r==null?void 0:r.async)!==null&&n!==void 0?n:!1,contextualErrorMap:r==null?void 0:r.errorMap},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:dh(t)},a=this._parseSync({data:t,path:i.path,parent:i});return IK(i,a)}async parseAsync(t,r){const n=await this.safeParseAsync(t,r);if(n.success)return n.data;throw n.error}async safeParseAsync(t,r){const n={common:{issues:[],contextualErrorMap:r==null?void 0:r.errorMap,async:!0},path:(r==null?void 0:r.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:dh(t)},i=this._parse({data:t,path:n.path,parent:n}),a=await(jT(i)?i:Promise.resolve(i));return IK(n,a)}refine(t,r){const n=i=>typeof r=="string"||typeof r>"u"?{message:r}:typeof r=="function"?r(i):r;return this._refinement((i,a)=>{const o=t(i),s=()=>a.addIssue({code:mt.custom,...n(i)});return typeof Promise<"u"&&o instanceof Promise?o.then(l=>l?!0:(s(),!1)):o?!0:(s(),!1)})}refinement(t,r){return this._refinement((n,i)=>t(n)?!0:(i.addIssue(typeof r=="function"?r(n,i):r),!1))}_refinement(t){return new au({schema:this,typeName:tr.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}optional(){return Xd.create(this,this._def)}nullable(){return Km.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Yc.create(this,this._def)}promise(){return Yv.create(this,this._def)}or(t){return bw.create([this,t],this._def)}and(t){return Sw.create(this,t,this._def)}transform(t){return new au({..._r(this._def),schema:this,typeName:tr.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const r=typeof t=="function"?t:()=>t;return new kw({..._r(this._def),innerType:this,defaultValue:r,typeName:tr.ZodDefault})}brand(){return new jle({typeName:tr.ZodBranded,type:this,..._r(this._def)})}catch(t){const r=typeof t=="function"?t:()=>t;return new YT({..._r(this._def),innerType:this,catchValue:r,typeName:tr.ZodCatch})}describe(t){const r=this.constructor;return new r({...this._def,description:t})}pipe(t){return Yx.create(this,t)}readonly(){return XT.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Qrt=/^c[^\s-]{8,}$/i,Jrt=/^[a-z][a-z0-9]*$/,ent=/^[0-9A-HJKMNP-TV-Z]{26}$/,tnt=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,rnt=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,nnt="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let K3;const int=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,ant=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ont=e=>e.precision?e.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):e.precision===0?e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function snt(e,t){return!!((t==="v4"||!t)&&int.test(e)||(t==="v6"||!t)&&ant.test(e))}class qc extends Ir{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Rt.string){const a=this._getOrReturnCtx(t);return Ft(a,{code:mt.invalid_type,expected:Rt.string,received:a.parsedType}),yr}const n=new bo;let i;for(const a of this._def.checks)if(a.kind==="min")t.data.length<a.value&&(i=this._getOrReturnCtx(t,i),Ft(i,{code:mt.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),n.dirty());else if(a.kind==="max")t.data.length>a.value&&(i=this._getOrReturnCtx(t,i),Ft(i,{code:mt.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),n.dirty());else if(a.kind==="length"){const o=t.data.length>a.value,s=t.data.length<a.value;(o||s)&&(i=this._getOrReturnCtx(t,i),o?Ft(i,{code:mt.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):s&&Ft(i,{code:mt.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),n.dirty())}else if(a.kind==="email")rnt.test(t.data)||(i=this._getOrReturnCtx(t,i),Ft(i,{validation:"email",code:mt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="emoji")K3||(K3=new RegExp(nnt,"u")),K3.test(t.data)||(i=this._getOrReturnCtx(t,i),Ft(i,{validation:"emoji",code:mt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="uuid")tnt.test(t.data)||(i=this._getOrReturnCtx(t,i),Ft(i,{validation:"uuid",code:mt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="cuid")Qrt.test(t.data)||(i=this._getOrReturnCtx(t,i),Ft(i,{validation:"cuid",code:mt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="cuid2")Jrt.test(t.data)||(i=this._getOrReturnCtx(t,i),Ft(i,{validation:"cuid2",code:mt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="ulid")ent.test(t.data)||(i=this._getOrReturnCtx(t,i),Ft(i,{validation:"ulid",code:mt.invalid_string,message:a.message}),n.dirty());else if(a.kind==="url")try{new URL(t.data)}catch{i=this._getOrReturnCtx(t,i),Ft(i,{validation:"url",code:mt.invalid_string,message:a.message}),n.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(t.data)||(i=this._getOrReturnCtx(t,i),Ft(i,{validation:"regex",code:mt.invalid_string,message:a.message}),n.dirty())):a.kind==="trim"?t.data=t.data.trim():a.kind==="includes"?t.data.includes(a.value,a.position)||(i=this._getOrReturnCtx(t,i),Ft(i,{code:mt.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),n.dirty()):a.kind==="toLowerCase"?t.data=t.data.toLowerCase():a.kind==="toUpperCase"?t.data=t.data.toUpperCase():a.kind==="startsWith"?t.data.startsWith(a.value)||(i=this._getOrReturnCtx(t,i),Ft(i,{code:mt.invalid_string,validation:{startsWith:a.value},message:a.message}),n.dirty()):a.kind==="endsWith"?t.data.endsWith(a.value)||(i=this._getOrReturnCtx(t,i),Ft(i,{code:mt.invalid_string,validation:{endsWith:a.value},message:a.message}),n.dirty()):a.kind==="datetime"?ont(a).test(t.data)||(i=this._getOrReturnCtx(t,i),Ft(i,{code:mt.invalid_string,validation:"datetime",message:a.message}),n.dirty()):a.kind==="ip"?snt(t.data,a.version)||(i=this._getOrReturnCtx(t,i),Ft(i,{validation:"ip",code:mt.invalid_string,message:a.message}),n.dirty()):sn.assertNever(a);return{status:n.value,value:t.data}}_regex(t,r,n){return this.refinement(i=>t.test(i),{validation:r,code:mt.invalid_string,...Vt.errToObj(n)})}_addCheck(t){return new qc({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Vt.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Vt.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Vt.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Vt.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Vt.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Vt.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Vt.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Vt.errToObj(t)})}datetime(t){var r;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(r=t==null?void 0:t.offset)!==null&&r!==void 0?r:!1,...Vt.errToObj(t==null?void 0:t.message)})}regex(t,r){return this._addCheck({kind:"regex",regex:t,...Vt.errToObj(r)})}includes(t,r){return this._addCheck({kind:"includes",value:t,position:r==null?void 0:r.position,...Vt.errToObj(r==null?void 0:r.message)})}startsWith(t,r){return this._addCheck({kind:"startsWith",value:t,...Vt.errToObj(r)})}endsWith(t,r){return this._addCheck({kind:"endsWith",value:t,...Vt.errToObj(r)})}min(t,r){return this._addCheck({kind:"min",value:t,...Vt.errToObj(r)})}max(t,r){return this._addCheck({kind:"max",value:t,...Vt.errToObj(r)})}length(t,r){return this._addCheck({kind:"length",value:t,...Vt.errToObj(r)})}nonempty(t){return this.min(1,Vt.errToObj(t))}trim(){return new qc({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new qc({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new qc({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get minLength(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxLength(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}qc.create=e=>{var t;return new qc({checks:[],typeName:tr.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,..._r(e)})};function lnt(e,t){const r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n,a=parseInt(e.toFixed(i).replace(".","")),o=parseInt(t.toFixed(i).replace(".",""));return a%o/Math.pow(10,i)}class Kh extends Ir{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Rt.number){const a=this._getOrReturnCtx(t);return Ft(a,{code:mt.invalid_type,expected:Rt.number,received:a.parsedType}),yr}let n;const i=new bo;for(const a of this._def.checks)a.kind==="int"?sn.isInteger(t.data)||(n=this._getOrReturnCtx(t,n),Ft(n,{code:mt.invalid_type,expected:"integer",received:"float",message:a.message}),i.dirty()):a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(n=this._getOrReturnCtx(t,n),Ft(n,{code:mt.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(n=this._getOrReturnCtx(t,n),Ft(n,{code:mt.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),i.dirty()):a.kind==="multipleOf"?lnt(t.data,a.value)!==0&&(n=this._getOrReturnCtx(t,n),Ft(n,{code:mt.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):a.kind==="finite"?Number.isFinite(t.data)||(n=this._getOrReturnCtx(t,n),Ft(n,{code:mt.not_finite,message:a.message}),i.dirty()):sn.assertNever(a);return{status:i.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,Vt.toString(r))}gt(t,r){return this.setLimit("min",t,!1,Vt.toString(r))}lte(t,r){return this.setLimit("max",t,!0,Vt.toString(r))}lt(t,r){return this.setLimit("max",t,!1,Vt.toString(r))}setLimit(t,r,n,i){return new Kh({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:Vt.toString(i)}]})}_addCheck(t){return new Kh({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Vt.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Vt.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Vt.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Vt.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Vt.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:Vt.toString(r)})}finite(t){return this._addCheck({kind:"finite",message:Vt.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Vt.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Vt.toString(t)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&sn.isInteger(t.value))}get isFinite(){let t=null,r=null;for(const n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(r===null||n.value>r)&&(r=n.value):n.kind==="max"&&(t===null||n.value<t)&&(t=n.value)}return Number.isFinite(r)&&Number.isFinite(t)}}Kh.create=e=>new Kh({checks:[],typeName:tr.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,..._r(e)});class Zh extends Ir{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce&&(t.data=BigInt(t.data)),this._getType(t)!==Rt.bigint){const a=this._getOrReturnCtx(t);return Ft(a,{code:mt.invalid_type,expected:Rt.bigint,received:a.parsedType}),yr}let n;const i=new bo;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?t.data<a.value:t.data<=a.value)&&(n=this._getOrReturnCtx(t,n),Ft(n,{code:mt.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="max"?(a.inclusive?t.data>a.value:t.data>=a.value)&&(n=this._getOrReturnCtx(t,n),Ft(n,{code:mt.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),i.dirty()):a.kind==="multipleOf"?t.data%a.value!==BigInt(0)&&(n=this._getOrReturnCtx(t,n),Ft(n,{code:mt.not_multiple_of,multipleOf:a.value,message:a.message}),i.dirty()):sn.assertNever(a);return{status:i.value,value:t.data}}gte(t,r){return this.setLimit("min",t,!0,Vt.toString(r))}gt(t,r){return this.setLimit("min",t,!1,Vt.toString(r))}lte(t,r){return this.setLimit("max",t,!0,Vt.toString(r))}lt(t,r){return this.setLimit("max",t,!1,Vt.toString(r))}setLimit(t,r,n,i){return new Zh({...this._def,checks:[...this._def.checks,{kind:t,value:r,inclusive:n,message:Vt.toString(i)}]})}_addCheck(t){return new Zh({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Vt.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Vt.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Vt.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Vt.toString(t)})}multipleOf(t,r){return this._addCheck({kind:"multipleOf",value:t,message:Vt.toString(r)})}get minValue(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t}get maxValue(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t}}Zh.create=e=>{var t;return new Zh({checks:[],typeName:tr.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,..._r(e)})};class gw extends Ir{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Rt.boolean){const n=this._getOrReturnCtx(t);return Ft(n,{code:mt.invalid_type,expected:Rt.boolean,received:n.parsedType}),yr}return Zo(t.data)}}gw.create=e=>new gw({typeName:tr.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,..._r(e)});class jm extends Ir{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Rt.date){const a=this._getOrReturnCtx(t);return Ft(a,{code:mt.invalid_type,expected:Rt.date,received:a.parsedType}),yr}if(isNaN(t.data.getTime())){const a=this._getOrReturnCtx(t);return Ft(a,{code:mt.invalid_date}),yr}const n=new bo;let i;for(const a of this._def.checks)a.kind==="min"?t.data.getTime()<a.value&&(i=this._getOrReturnCtx(t,i),Ft(i,{code:mt.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),n.dirty()):a.kind==="max"?t.data.getTime()>a.value&&(i=this._getOrReturnCtx(t,i),Ft(i,{code:mt.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),n.dirty()):sn.assertNever(a);return{status:n.value,value:new Date(t.data.getTime())}}_addCheck(t){return new jm({...this._def,checks:[...this._def.checks,t]})}min(t,r){return this._addCheck({kind:"min",value:t.getTime(),message:Vt.toString(r)})}max(t,r){return this._addCheck({kind:"max",value:t.getTime(),message:Vt.toString(r)})}get minDate(){let t=null;for(const r of this._def.checks)r.kind==="min"&&(t===null||r.value>t)&&(t=r.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const r of this._def.checks)r.kind==="max"&&(t===null||r.value<t)&&(t=r.value);return t!=null?new Date(t):null}}jm.create=e=>new jm({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:tr.ZodDate,..._r(e)});class GT extends Ir{_parse(t){if(this._getType(t)!==Rt.symbol){const n=this._getOrReturnCtx(t);return Ft(n,{code:mt.invalid_type,expected:Rt.symbol,received:n.parsedType}),yr}return Zo(t.data)}}GT.create=e=>new GT({typeName:tr.ZodSymbol,..._r(e)});class vw extends Ir{_parse(t){if(this._getType(t)!==Rt.undefined){const n=this._getOrReturnCtx(t);return Ft(n,{code:mt.invalid_type,expected:Rt.undefined,received:n.parsedType}),yr}return Zo(t.data)}}vw.create=e=>new vw({typeName:tr.ZodUndefined,..._r(e)});class yw extends Ir{_parse(t){if(this._getType(t)!==Rt.null){const n=this._getOrReturnCtx(t);return Ft(n,{code:mt.invalid_type,expected:Rt.null,received:n.parsedType}),yr}return Zo(t.data)}}yw.create=e=>new yw({typeName:tr.ZodNull,..._r(e)});class Zv extends Ir{constructor(){super(...arguments),this._any=!0}_parse(t){return Zo(t.data)}}Zv.create=e=>new Zv({typeName:tr.ZodAny,..._r(e)});class ym extends Ir{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Zo(t.data)}}ym.create=e=>new ym({typeName:tr.ZodUnknown,..._r(e)});class pf extends Ir{_parse(t){const r=this._getOrReturnCtx(t);return Ft(r,{code:mt.invalid_type,expected:Rt.never,received:r.parsedType}),yr}}pf.create=e=>new pf({typeName:tr.ZodNever,..._r(e)});class KT extends Ir{_parse(t){if(this._getType(t)!==Rt.undefined){const n=this._getOrReturnCtx(t);return Ft(n,{code:mt.invalid_type,expected:Rt.void,received:n.parsedType}),yr}return Zo(t.data)}}KT.create=e=>new KT({typeName:tr.ZodVoid,..._r(e)});class Yc extends Ir{_parse(t){const{ctx:r,status:n}=this._processInputParams(t),i=this._def;if(r.parsedType!==Rt.array)return Ft(r,{code:mt.invalid_type,expected:Rt.array,received:r.parsedType}),yr;if(i.exactLength!==null){const o=r.data.length>i.exactLength.value,s=r.data.length<i.exactLength.value;(o||s)&&(Ft(r,{code:o?mt.too_big:mt.too_small,minimum:s?i.exactLength.value:void 0,maximum:o?i.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:i.exactLength.message}),n.dirty())}if(i.minLength!==null&&r.data.length<i.minLength.value&&(Ft(r,{code:mt.too_small,minimum:i.minLength.value,type:"array",inclusive:!0,exact:!1,message:i.minLength.message}),n.dirty()),i.maxLength!==null&&r.data.length>i.maxLength.value&&(Ft(r,{code:mt.too_big,maximum:i.maxLength.value,type:"array",inclusive:!0,exact:!1,message:i.maxLength.message}),n.dirty()),r.common.async)return Promise.all([...r.data].map((o,s)=>i.type._parseAsync(new fd(r,o,r.path,s)))).then(o=>bo.mergeArray(n,o));const a=[...r.data].map((o,s)=>i.type._parseSync(new fd(r,o,r.path,s)));return bo.mergeArray(n,a)}get element(){return this._def.type}min(t,r){return new Yc({...this._def,minLength:{value:t,message:Vt.toString(r)}})}max(t,r){return new Yc({...this._def,maxLength:{value:t,message:Vt.toString(r)}})}length(t,r){return new Yc({...this._def,exactLength:{value:t,message:Vt.toString(r)}})}nonempty(t){return this.min(1,t)}}Yc.create=(e,t)=>new Yc({type:e,minLength:null,maxLength:null,exactLength:null,typeName:tr.ZodArray,..._r(t)});function ug(e){if(e instanceof li){const t={};for(const r in e.shape){const n=e.shape[r];t[r]=Xd.create(ug(n))}return new li({...e._def,shape:()=>t})}else return e instanceof Yc?new Yc({...e._def,type:ug(e.element)}):e instanceof Xd?Xd.create(ug(e.unwrap())):e instanceof Km?Km.create(ug(e.unwrap())):e instanceof hd?hd.create(e.items.map(t=>ug(t))):e}class li extends Ir{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),r=sn.objectKeys(t);return this._cached={shape:t,keys:r}}_parse(t){if(this._getType(t)!==Rt.object){const c=this._getOrReturnCtx(t);return Ft(c,{code:mt.invalid_type,expected:Rt.object,received:c.parsedType}),yr}const{status:n,ctx:i}=this._processInputParams(t),{shape:a,keys:o}=this._getCached(),s=[];if(!(this._def.catchall instanceof pf&&this._def.unknownKeys==="strip"))for(const c in i.data)o.includes(c)||s.push(c);const l=[];for(const c of o){const u=a[c],d=i.data[c];l.push({key:{status:"valid",value:c},value:u._parse(new fd(i,d,i.path,c)),alwaysSet:c in i.data})}if(this._def.catchall instanceof pf){const c=this._def.unknownKeys;if(c==="passthrough")for(const u of s)l.push({key:{status:"valid",value:u},value:{status:"valid",value:i.data[u]}});else if(c==="strict")s.length>0&&(Ft(i,{code:mt.unrecognized_keys,keys:s}),n.dirty());else if(c!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const c=this._def.catchall;for(const u of s){const d=i.data[u];l.push({key:{status:"valid",value:u},value:c._parse(new fd(i,d,i.path,u)),alwaysSet:u in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const c=[];for(const u of l){const d=await u.key;c.push({key:d,value:await u.value,alwaysSet:u.alwaysSet})}return c}).then(c=>bo.mergeObjectSync(n,c)):bo.mergeObjectSync(n,l)}get shape(){return this._def.shape()}strict(t){return Vt.errToObj,new li({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(r,n)=>{var i,a,o,s;const l=(o=(a=(i=this._def).errorMap)===null||a===void 0?void 0:a.call(i,r,n).message)!==null&&o!==void 0?o:n.defaultError;return r.code==="unrecognized_keys"?{message:(s=Vt.errToObj(t).message)!==null&&s!==void 0?s:l}:{message:l}}}:{}})}strip(){return new li({...this._def,unknownKeys:"strip"})}passthrough(){return new li({...this._def,unknownKeys:"passthrough"})}extend(t){return new li({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new li({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:tr.ZodObject})}setKey(t,r){return this.augment({[t]:r})}catchall(t){return new li({...this._def,catchall:t})}pick(t){const r={};return sn.objectKeys(t).forEach(n=>{t[n]&&this.shape[n]&&(r[n]=this.shape[n])}),new li({...this._def,shape:()=>r})}omit(t){const r={};return sn.objectKeys(this.shape).forEach(n=>{t[n]||(r[n]=this.shape[n])}),new li({...this._def,shape:()=>r})}deepPartial(){return ug(this)}partial(t){const r={};return sn.objectKeys(this.shape).forEach(n=>{const i=this.shape[n];t&&!t[n]?r[n]=i:r[n]=i.optional()}),new li({...this._def,shape:()=>r})}required(t){const r={};return sn.objectKeys(this.shape).forEach(n=>{if(t&&!t[n])r[n]=this.shape[n];else{let a=this.shape[n];for(;a instanceof Xd;)a=a._def.innerType;r[n]=a}}),new li({...this._def,shape:()=>r})}keyof(){return Vle(sn.objectKeys(this.shape))}}li.create=(e,t)=>new li({shape:()=>e,unknownKeys:"strip",catchall:pf.create(),typeName:tr.ZodObject,..._r(t)});li.strictCreate=(e,t)=>new li({shape:()=>e,unknownKeys:"strict",catchall:pf.create(),typeName:tr.ZodObject,..._r(t)});li.lazycreate=(e,t)=>new li({shape:e,unknownKeys:"strip",catchall:pf.create(),typeName:tr.ZodObject,..._r(t)});class bw extends Ir{_parse(t){const{ctx:r}=this._processInputParams(t),n=this._def.options;function i(a){for(const s of a)if(s.result.status==="valid")return s.result;for(const s of a)if(s.result.status==="dirty")return r.common.issues.push(...s.ctx.common.issues),s.result;const o=a.map(s=>new Zc(s.ctx.common.issues));return Ft(r,{code:mt.invalid_union,unionErrors:o}),yr}if(r.common.async)return Promise.all(n.map(async a=>{const o={...r,common:{...r.common,issues:[]},parent:null};return{result:await a._parseAsync({data:r.data,path:r.path,parent:o}),ctx:o}})).then(i);{let a;const o=[];for(const l of n){const c={...r,common:{...r.common,issues:[]},parent:null},u=l._parseSync({data:r.data,path:r.path,parent:c});if(u.status==="valid")return u;u.status==="dirty"&&!a&&(a={result:u,ctx:c}),c.common.issues.length&&o.push(c.common.issues)}if(a)return r.common.issues.push(...a.ctx.common.issues),a.result;const s=o.map(l=>new Zc(l));return Ft(r,{code:mt.invalid_union,unionErrors:s}),yr}}get options(){return this._def.options}}bw.create=(e,t)=>new bw({options:e,typeName:tr.ZodUnion,..._r(t)});const rk=e=>e instanceof xw?rk(e.schema):e instanceof au?rk(e.innerType()):e instanceof Cw?[e.value]:e instanceof Yh?e.options:e instanceof Ew?Object.keys(e.enum):e instanceof kw?rk(e._def.innerType):e instanceof vw?[void 0]:e instanceof yw?[null]:null;class IA extends Ir{_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==Rt.object)return Ft(r,{code:mt.invalid_type,expected:Rt.object,received:r.parsedType}),yr;const n=this.discriminator,i=r.data[n],a=this.optionsMap.get(i);return a?r.common.async?a._parseAsync({data:r.data,path:r.path,parent:r}):a._parseSync({data:r.data,path:r.path,parent:r}):(Ft(r,{code:mt.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),yr)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,r,n){const i=new Map;for(const a of r){const o=rk(a.shape[t]);if(!o)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const s of o){if(i.has(s))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);i.set(s,a)}}return new IA({typeName:tr.ZodDiscriminatedUnion,discriminator:t,options:r,optionsMap:i,..._r(n)})}}function TD(e,t){const r=dh(e),n=dh(t);if(e===t)return{valid:!0,data:e};if(r===Rt.object&&n===Rt.object){const i=sn.objectKeys(t),a=sn.objectKeys(e).filter(s=>i.indexOf(s)!==-1),o={...e,...t};for(const s of a){const l=TD(e[s],t[s]);if(!l.valid)return{valid:!1};o[s]=l.data}return{valid:!0,data:o}}else if(r===Rt.array&&n===Rt.array){if(e.length!==t.length)return{valid:!1};const i=[];for(let a=0;a<e.length;a++){const o=e[a],s=t[a],l=TD(o,s);if(!l.valid)return{valid:!1};i.push(l.data)}return{valid:!0,data:i}}else return r===Rt.date&&n===Rt.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class Sw extends Ir{_parse(t){const{status:r,ctx:n}=this._processInputParams(t),i=(a,o)=>{if(ED(a)||ED(o))return yr;const s=TD(a.value,o.value);return s.valid?((kD(a)||kD(o))&&r.dirty(),{status:r.value,value:s.data}):(Ft(n,{code:mt.invalid_intersection_types}),yr)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([a,o])=>i(a,o)):i(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}Sw.create=(e,t,r)=>new Sw({left:e,right:t,typeName:tr.ZodIntersection,..._r(r)});class hd extends Ir{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==Rt.array)return Ft(n,{code:mt.invalid_type,expected:Rt.array,received:n.parsedType}),yr;if(n.data.length<this._def.items.length)return Ft(n,{code:mt.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),yr;!this._def.rest&&n.data.length>this._def.items.length&&(Ft(n,{code:mt.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());const a=[...n.data].map((o,s)=>{const l=this._def.items[s]||this._def.rest;return l?l._parse(new fd(n,o,n.path,s)):null}).filter(o=>!!o);return n.common.async?Promise.all(a).then(o=>bo.mergeArray(r,o)):bo.mergeArray(r,a)}get items(){return this._def.items}rest(t){return new hd({...this._def,rest:t})}}hd.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new hd({items:e,typeName:tr.ZodTuple,rest:null,..._r(t)})};class ww extends Ir{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==Rt.object)return Ft(n,{code:mt.invalid_type,expected:Rt.object,received:n.parsedType}),yr;const i=[],a=this._def.keyType,o=this._def.valueType;for(const s in n.data)i.push({key:a._parse(new fd(n,s,n.path,s)),value:o._parse(new fd(n,n.data[s],n.path,s))});return n.common.async?bo.mergeObjectAsync(r,i):bo.mergeObjectSync(r,i)}get element(){return this._def.valueType}static create(t,r,n){return r instanceof Ir?new ww({keyType:t,valueType:r,typeName:tr.ZodRecord,..._r(n)}):new ww({keyType:qc.create(),valueType:t,typeName:tr.ZodRecord,..._r(r)})}}class ZT extends Ir{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==Rt.map)return Ft(n,{code:mt.invalid_type,expected:Rt.map,received:n.parsedType}),yr;const i=this._def.keyType,a=this._def.valueType,o=[...n.data.entries()].map(([s,l],c)=>({key:i._parse(new fd(n,s,n.path,[c,"key"])),value:a._parse(new fd(n,l,n.path,[c,"value"]))}));if(n.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const l of o){const c=await l.key,u=await l.value;if(c.status==="aborted"||u.status==="aborted")return yr;(c.status==="dirty"||u.status==="dirty")&&r.dirty(),s.set(c.value,u.value)}return{status:r.value,value:s}})}else{const s=new Map;for(const l of o){const c=l.key,u=l.value;if(c.status==="aborted"||u.status==="aborted")return yr;(c.status==="dirty"||u.status==="dirty")&&r.dirty(),s.set(c.value,u.value)}return{status:r.value,value:s}}}}ZT.create=(e,t,r)=>new ZT({valueType:t,keyType:e,typeName:tr.ZodMap,..._r(r)});class Gm extends Ir{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.parsedType!==Rt.set)return Ft(n,{code:mt.invalid_type,expected:Rt.set,received:n.parsedType}),yr;const i=this._def;i.minSize!==null&&n.data.size<i.minSize.value&&(Ft(n,{code:mt.too_small,minimum:i.minSize.value,type:"set",inclusive:!0,exact:!1,message:i.minSize.message}),r.dirty()),i.maxSize!==null&&n.data.size>i.maxSize.value&&(Ft(n,{code:mt.too_big,maximum:i.maxSize.value,type:"set",inclusive:!0,exact:!1,message:i.maxSize.message}),r.dirty());const a=this._def.valueType;function o(l){const c=new Set;for(const u of l){if(u.status==="aborted")return yr;u.status==="dirty"&&r.dirty(),c.add(u.value)}return{status:r.value,value:c}}const s=[...n.data.values()].map((l,c)=>a._parse(new fd(n,l,n.path,c)));return n.common.async?Promise.all(s).then(l=>o(l)):o(s)}min(t,r){return new Gm({...this._def,minSize:{value:t,message:Vt.toString(r)}})}max(t,r){return new Gm({...this._def,maxSize:{value:t,message:Vt.toString(r)}})}size(t,r){return this.min(t,r).max(t,r)}nonempty(t){return this.min(1,t)}}Gm.create=(e,t)=>new Gm({valueType:e,minSize:null,maxSize:null,typeName:tr.ZodSet,..._r(t)});class lv extends Ir{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==Rt.function)return Ft(r,{code:mt.invalid_type,expected:Rt.function,received:r.parsedType}),yr;function n(s,l){return VT({data:s,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,WT(),pw].filter(c=>!!c),issueData:{code:mt.invalid_arguments,argumentsError:l}})}function i(s,l){return VT({data:s,path:r.path,errorMaps:[r.common.contextualErrorMap,r.schemaErrorMap,WT(),pw].filter(c=>!!c),issueData:{code:mt.invalid_return_type,returnTypeError:l}})}const a={errorMap:r.common.contextualErrorMap},o=r.data;if(this._def.returns instanceof Yv){const s=this;return Zo(async function(...l){const c=new Zc([]),u=await s._def.args.parseAsync(l,a).catch(h=>{throw c.addIssue(n(l,h)),c}),d=await Reflect.apply(o,this,u);return await s._def.returns._def.type.parseAsync(d,a).catch(h=>{throw c.addIssue(i(d,h)),c})})}else{const s=this;return Zo(function(...l){const c=s._def.args.safeParse(l,a);if(!c.success)throw new Zc([n(l,c.error)]);const u=Reflect.apply(o,this,c.data),d=s._def.returns.safeParse(u,a);if(!d.success)throw new Zc([i(u,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new lv({...this._def,args:hd.create(t).rest(ym.create())})}returns(t){return new lv({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,r,n){return new lv({args:t||hd.create([]).rest(ym.create()),returns:r||ym.create(),typeName:tr.ZodFunction,..._r(n)})}}class xw extends Ir{get schema(){return this._def.getter()}_parse(t){const{ctx:r}=this._processInputParams(t);return this._def.getter()._parse({data:r.data,path:r.path,parent:r})}}xw.create=(e,t)=>
vendor: 4,352 bytes, line 427
427new xw({getter:e,typeName:tr.ZodLazy,..._r(t)});class Cw extends Ir{_parse(t){if(t.data!==this._def.value){const r=this._getOrReturnCtx(t);return Ft(r,{received:r.data,code:mt.invalid_literal,expected:this._def.value}),yr}return{status:"valid",value:t.data}}get value(){return this._def.value}}Cw.create=(e,t)=>new Cw({value:e,typeName:tr.ZodLiteral,..._r(t)});function Vle(e,t){return new Yh({values:e,typeName:tr.ZodEnum,..._r(t)})}class Yh extends Ir{_parse(t){if(typeof t.data!="string"){const r=this._getOrReturnCtx(t),n=this._def.values;return Ft(r,{expected:sn.joinValues(n),received:r.parsedType,code:mt.invalid_type}),yr}if(this._def.values.indexOf(t.data)===-1){const r=this._getOrReturnCtx(t),n=this._def.values;return Ft(r,{received:r.data,code:mt.invalid_enum_value,options:n}),yr}return Zo(t.data)}get options(){return this._def.values}get enum(){const t={};for(const r of this._def.values)t[r]=r;return t}get Values(){const t={};for(const r of this._def.values)t[r]=r;return t}get Enum(){const t={};for(const r of this._def.values)t[r]=r;return t}extract(t){return Yh.create(t)}exclude(t){return Yh.create(this.options.filter(r=>!t.includes(r)))}}Yh.create=Vle;class Ew extends Ir{_parse(t){const r=sn.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(t);if(n.parsedType!==Rt.string&&n.parsedType!==Rt.number){const i=sn.objectValues(r);return Ft(n,{expected:sn.joinValues(i),received:n.parsedType,code:mt.invalid_type}),yr}if(r.indexOf(t.data)===-1){const i=sn.objectValues(r);return Ft(n,{received:n.data,code:mt.invalid_enum_value,options:i}),yr}return Zo(t.data)}get enum(){return this._def.values}}Ew.create=(e,t)=>new Ew({values:e,typeName:tr.ZodNativeEnum,..._r(t)});class Yv extends Ir{unwrap(){return this._def.type}_parse(t){const{ctx:r}=this._processInputParams(t);if(r.parsedType!==Rt.promise&&r.common.async===!1)return Ft(r,{code:mt.invalid_type,expected:Rt.promise,received:r.parsedType}),yr;const n=r.parsedType===Rt.promise?r.data:Promise.resolve(r.data);return Zo(n.then(i=>this._def.type.parseAsync(i,{path:r.path,errorMap:r.common.contextualErrorMap})))}}Yv.create=(e,t)=>new Yv({type:e,typeName:tr.ZodPromise,..._r(t)});class au extends Ir{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===tr.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:r,ctx:n}=this._processInputParams(t),i=this._def.effect||null,a={addIssue:o=>{Ft(n,o),o.fatal?r.abort():r.dirty()},get path(){return n.path}};if(a.addIssue=a.addIssue.bind(a),i.type==="preprocess"){const o=i.transform(n.data,a);return n.common.issues.length?{status:"dirty",value:n.data}:n.common.async?Promise.resolve(o).then(s=>this._def.schema._parseAsync({data:s,path:n.path,parent:n})):this._def.schema._parseSync({data:o,path:n.path,parent:n})}if(i.type==="refinement"){const o=s=>{const l=i.refinement(s,a);if(n.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(n.common.async===!1){const s=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return s.status==="aborted"?yr:(s.status==="dirty"&&r.dirty(),o(s.value),{status:r.value,value:s.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(s=>s.status==="aborted"?yr:(s.status==="dirty"&&r.dirty(),o(s.value).then(()=>({status:r.value,value:s.value}))))}if(i.type==="transform")if(n.common.async===!1){const o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!mw(o))return o;const s=i.transform(o.value,a);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:s}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>mw(o)?Promise.resolve(i.transform(o.value,a)).then(s=>({status:r.value,value:s})):o);sn.assertNever(i)}}au.create=(e,t,r)=>new au({schema:e,typeName:tr.ZodEffects,effect:t,..._r(r)});au.createWithPreprocess=(e,t,r)=>new au({schema:t,effect:{type:"preprocess",transform:e},typeName:tr.ZodEffects,..._r(r)});class Xd extends Ir{_parse(t){return this._getType(t)===Rt.undefined?Zo(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Xd.create=(e,t)=>
vendor: 4,204 bytes, line 427
427new Xd({innerType:e,typeName:tr.ZodOptional,..._r(t)});class Km extends Ir{_parse(t){return this._getType(t)===Rt.null?Zo(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Km.create=(e,t)=>new Km({innerType:e,typeName:tr.ZodNullable,..._r(t)});class kw extends Ir{_parse(t){const{ctx:r}=this._processInputParams(t);let n=r.data;return r.parsedType===Rt.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:r.path,parent:r})}removeDefault(){return this._def.innerType}}kw.create=(e,t)=>new kw({innerType:e,typeName:tr.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,..._r(t)});class YT extends Ir{_parse(t){const{ctx:r}=this._processInputParams(t),n={...r,common:{...r.common,issues:[]}},i=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return jT(i)?i.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Zc(n.common.issues)},input:n.data})})):{status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new Zc(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}YT.create=(e,t)=>new YT({innerType:e,typeName:tr.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,..._r(t)});class $T extends Ir{_parse(t){if(this._getType(t)!==Rt.nan){const n=this._getOrReturnCtx(t);return Ft(n,{code:mt.invalid_type,expected:Rt.nan,received:n.parsedType}),yr}return{status:"valid",value:t.data}}}$T.create=e=>new $T({typeName:tr.ZodNaN,..._r(e)});const cnt=Symbol("zod_brand");class jle extends Ir{_parse(t){const{ctx:r}=this._processInputParams(t),n=r.data;return this._def.type._parse({data:n,path:r.path,parent:r})}unwrap(){return this._def.type}}class Yx extends Ir{_parse(t){const{status:r,ctx:n}=this._processInputParams(t);if(n.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return a.status==="aborted"?yr:a.status==="dirty"?(r.dirty(),Wle(a.value)):this._def.out._parseAsync({data:a.value,path:n.path,parent:n})})();{const i=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return i.status==="aborted"?yr:i.status==="dirty"?(r.dirty(),{status:"dirty",value:i.value}):this._def.out._parseSync({data:i.value,path:n.path,parent:n})}}static create(t,r){return new Yx({in:t,out:r,typeName:tr.ZodPipeline})}}class XT extends Ir{_parse(t){const r=this._def.innerType._parse(t);return mw(r)&&(r.value=Object.freeze(r.value)),r}}XT.create=(e,t)=>new XT({innerType:e,typeName:tr.ZodReadonly,..._r(t)});const Gle=(e,t={},r)=>e?Zv.create().superRefine((n,i)=>{var a,o;if(!e(n)){const s=typeof t=="function"?t(n):typeof t=="string"?{message:t}:t,l=(o=(a=s.fatal)!==null&&a!==void 0?a:r)!==null&&o!==void 0?o:!0,c=typeof s=="string"?{message:s}:s;i.addIssue({code:"custom",...c,fatal:l})}}):Zv.create(),unt={object:li.lazycreate};var tr;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(tr||(tr={}));const dnt=(e,t={message:`Input not instance of ${e.name}`})=>Gle(r=>r instanceof e,t),Kle=qc.create,Zle=Kh.create,fnt=$T.create,hnt=Zh.create,Yle=gw.create,pnt=jm.create,mnt=GT.create,gnt=vw.create,vnt=yw.create,ynt=Zv.create,bnt=ym.create,Snt=pf.create,wnt=KT.create,xnt=Yc.create,Cnt=li.create,Ent=li.strictCreate,knt=bw.create,Tnt=IA.create,_nt=Sw.create,Pnt=hd.create,Ant=ww.
vendor: 1,672 bytes, line 427
427create,Ont=ZT.create,Int=Gm.create,Rnt=lv.create,Fnt=xw.create,Dnt=Cw.create,Nnt=Yh.create,Mnt=Ew.create,Lnt=Yv.create,RK=au.create,Bnt=Xd.create,Unt=Km.create,znt=au.createWithPreprocess,Hnt=Yx.create,qnt=()=>Kle().optional(),Wnt=()=>Zle().optional(),Vnt=()=>Yle().optional(),jnt={string:e=>qc.create({...e,coerce:!0}),number:e=>Kh.create({...e,coerce:!0}),boolean:e=>gw.create({...e,coerce:!0}),bigint:e=>Zh.create({...e,coerce:!0}),date:e=>jm.create({...e,coerce:!0})},Gnt=yr;var Pt=Object.freeze({__proto__:null,defaultErrorMap:pw,setErrorMap:$rt,getErrorMap:WT,makeIssue:VT,EMPTY_PATH:Xrt,addIssueToContext:Ft,ParseStatus:bo,INVALID:yr,DIRTY:Wle,OK:Zo,isAborted:ED,isDirty:kD,isValid:mw,isAsync:jT,get util(){return sn},get objectUtil(){return CD},ZodParsedType:Rt,getParsedType:dh,ZodType:Ir,ZodString:qc,ZodNumber:Kh,ZodBigInt:Zh,ZodBoolean:gw,ZodDate:jm,ZodSymbol:GT,ZodUndefined:vw,ZodNull:yw,ZodAny:Zv,ZodUnknown:ym,ZodNever:pf,ZodVoid:KT,ZodArray:Yc,ZodObject:li,ZodUnion:bw,ZodDiscriminatedUnion:IA,ZodIntersection:Sw,ZodTuple:hd,ZodRecord:ww,ZodMap:ZT,ZodSet:Gm,ZodFunction:lv,ZodLazy:xw,ZodLiteral:Cw,ZodEnum:Yh,ZodNativeEnum:Ew,ZodPromise:Yv,ZodEffects:au,ZodTransformer:au,ZodOptional:Xd,ZodNullable:Km,ZodDefault:kw,ZodCatch:YT,ZodNaN:$T,BRAND:cnt,ZodBranded:jle,ZodPipeline:Yx,ZodReadonly:XT,custom:Gle,Schema:Ir,ZodSchema:Ir,late:unt,get ZodFirstPartyTypeKind(){return tr},coerce:jnt,any:ynt,array:xnt,bigint:hnt,boolean:Yle,date:pnt,discriminatedUnion:Tnt,effect:RK,enum:Nnt,function:Rnt,instanceof:dnt,intersection:_nt,lazy:Fnt,literal:Dnt,map:Ont,nan:fnt,nativeEnum:Mnt,never:Snt,null:vnt,nullable:Unt,number:Zle,object:Cnt,oboolean:Vnt,onumber:Wnt,o
427ptional:Bnt,ostring:qnt,pipeline:Hnt,preprocess:znt,promise:Lnt,record:Ant,set:Int,strictObject:Ent,string:Kle,symbol:mnt,transformer:RK,tuple:Pnt,undefined:gnt,union:knt,unknown:bnt,void:wnt,NEVER:Gnt,ZodIssueCode:mt,quotelessJson:Yrt,ZodError:Zc});const $le="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='95'%20height='92'%20viewBox='0%200%2095%2092'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.950195%2046.6914H66.7359V91.4968H0.950195V46.6914ZM58.7231%2054.2192V83.969H8.96296V54.2192H58.7231Z'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M15.4229%2032.585L53.0392%2032.585V53.9989L15.4229%2053.9989V32.585ZM45.0264%2040.1127V46.4711L23.4356%2046.4712V40.1128L45.0264%2040.1127Z'%20fill='black'/%3e%3cpath%20d='M36.944%2051.9551H29.8955V63.7965H36.944V51.9551Z'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M93.0505%2018.428L83.1827%202L63.447%202.01845L53.5791%2018.4649L61.4375%2031.5474L60.8874%2040.8301L67.9694%2034.8886L83.1827%2034.8744L93.0505%2018.428Z'%20fill='%2317F082'/%3e%3cpath%20d='M83.1827%202L84.4685%201.22762L84.031%200.499206L83.1813%200.500001L83.1827%202ZM93.0505%2018.428L94.3368%2019.1997L94.8001%2018.4275L94.3364%2017.6556L93.0505%2018.428ZM63.447%202.01845L63.4456%200.518451L62.5972%200.519244L62.1607%201.24671L63.447%202.01845ZM53.5791%2018.4649L52.2929%2017.6931L51.8296%2018.4653L52.2932%2019.2373L53.5791%2018.4649ZM61.4375%2031.5474L62.9348%2031.6362L62.9623%2031.1729L62.7233%2030.7751L61.4375%2031.5474ZM60.8874%2040.8301L59.39%2040.7413L59.184%2044.2171L61.8514%2041.9792L60.8874%2040.8301ZM67.9694%2034.8886L67.968%2033.3886L67.4229%2033.3891L67.0053%2033.7395L67.9694%2034.8886ZM83.1827%2034.8744L83.1841%2036.3744L84.0324%2036.3736L84.4689%2035.6461L83.1827%2034.8744ZM81.8968%202.77238L91.7647%2019.2004L94.3364%2
427017.6556L84.4685%201.22762L81.8968%202.77238ZM63.4484%203.51845L83.1841%203.5L83.1813%200.500001L63.4456%200.518451L63.4484%203.51845ZM54.8653%2019.2366L64.7332%202.79019L62.1607%201.24671L52.2929%2017.6931L54.8653%2019.2366ZM62.7233%2030.7751L54.865%2017.6925L52.2932%2019.2373L60.1516%2032.3198L62.7233%2030.7751ZM62.3847%2040.9188L62.9348%2031.6362L59.9401%2031.4587L59.39%2040.7413L62.3847%2040.9188ZM67.0053%2033.7395L59.9233%2039.6809L61.8514%2041.9792L68.9335%2036.0378L67.0053%2033.7395ZM83.1813%2033.3744L67.968%2033.3886L67.9708%2036.3886L83.1841%2036.3744L83.1813%2033.3744ZM91.7643%2017.6562L81.8964%2034.1027L84.4689%2035.6461L94.3368%2019.1997L91.7643%2017.6562Z'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M82.3942%2014.456L70.7511%2024.9049L64.8564%2018.1594L67.4747%2015.8713L71.051%2019.9638L80.0718%2011.8682L82.3942%2014.456Z'%20fill='black'/%3e%3c/svg%3e",Knt=()=>{const{t:e}=jt();return Pt.object({businessRegistrationNumber:Pt.string({required_error:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.businessRegistrationNumber")})}).trim().min(1,{message:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.businessRegistrationNumber")})}).max(255,{message:e("form.validation.invalidMaxLength",{fieldName:e("orgKycProfile.setupModal.form.fields.businessRegistrationNumber"),maxLength:255})}),businessRegistrationFile:Pt.instanceof(File,{message:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.businessRegistrationFile")})}),businessRegistrationExpirationDate:Pt.string({required_error:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.businessRegistrationExpirationDate")})}),companyName:Pt.string({required_error:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.companyName")})}).trim().min(1,{message:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.companyName")})}).max(255,{message:e("form.validation.invalidMaxLength",{fieldName:e("orgKycProfile.setupModal.form.fields.companyName"),maxLength:255})}),websiteUrl:Pt.string({required_error:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.websiteUrl")})}).url({message:e("form.validation.invalidUrl")}),position:Pt.string({required_error:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.position")})}).trim().min(1,{message:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.position")})}).max(255,{message:e("form.validation.invalidMaxLength",{fieldName:e("orgKycProfile.setupModal.form.fields.position"),maxLength:255})}),firstName:Pt.string({required_error:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.firstName")})}).trim().min(1,{message:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.firstName")})}).max(255,{message:e("form.validation.invalidMaxLength",{fieldName:e("orgKycProfile.setupModal.form.fields.firstName"),maxLength:255})}),lastName:Pt.string({required_error:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.lastName")})}).trim().min(1,{message:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.lastName")})}).max(255,{message:e("form.validation.invalidMaxLength",{fieldName:e("orgKycProfile.setupModal.form.fields.lastName"),maxLength:255})}),phone:Pt.string({required_error:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.phone")})}).trim().min(1,{message:e("form.validation.required",{fieldName:e("orgKycProfile.setupModal.form.fields.phone")})}).max(255,{message:e("form.validation.invalidMaxLength",{fieldName:e("orgKycProfile.setupModal.form.fields.phone"),maxLength:255})}).regex(/^[0-9\b]+$/,e("form.fields.phone.error.onlyNumber")),agreeToTermsAndConditions:Pt.boolean({required_error:e("orgKycProfile.setupModal.form.validations.agreeToTermsAndConditionsRequired")}).refine(t=>t,{message:e("orgKycProfile.setupModal.form.validations.agreeToTermsAndConditionsRequired")})})},Znt=bt("div",{target:"e1qjkbzf3"})({name:"f3oizd",styles:"padding:16px;display:flex;justify-content:center"}),Ynt=bt("div",{target:"e1qjkbzf2"})("display:flex;gap:var(--p-space-8);flex-wrap:",({$isMobile:e})=>e?"wrap":"nowrap",";"),$nt=bt("div",{target:"e1qjkbzf1"})({name:"3yfrai",styles:"display:flex;flex-direction:column;height:100%;gap:var(--p-space-1);.Polaris-Labelled--hidden{height:100%;}.Polaris-DropZone{height:100%;}.Polaris-DropZone-FileUpload__Action{background:var(--p-surface-neutral);color:var(--p-border-depressed);}"}),Xnt=bt("div",{target:"e1qjkbzf0"})("display:flex;padding:8px 12px;overflow:auto;width:",({$isMobile:e})=>e?"100%":"323px",";max-height:416px;flex-direction:column;align-items:flex-start;gap:10px;align-self:stretch;border-radius:4px;border:1px solid var(--p-border-subdued);"),Qnt=({onCompleted:e})=>{const{userOrganization:t}=Nr(),{t:r}=jt(),n=nle(),i=Knt(),{control:a,formState:{isSubmitting:o},handleSubmit:s}=AA({resolver:OA(i)}),{mutateAsync:l}=DKe(),c=k.useCallback(async u=>{await l({orgId:hs(t==null?void 0:t.id),data:{companyName:u.companyName,websiteUrl:u.websiteUrl,position:u.position,firstName:u.firstName,lastName:u.lastName,phone:u.phone,businessRegistrationNumber:u.businessRegistrationNumber,businessRegistrationExpirationDate:u.businessRegistrationExpirationDate,businessRegistrationFile:u.businessRegistrationFile}}),e()},[l,e,t==null?void 0:t.id]);return Te(ei,{children:[E(ji.Section,{children:E(mP,{implicitSubmit:!o,onSubmit:s(c),children:Te(Ynt,{$isMobile:n,children:[Te(je,{vertical:!0,children:[Te(je,{wrap:!1,vertical:n,alignment:"center",children:[E(Znt,{children:E("img",{src:$le,alt:"kyc-icon"})}),E(je.Item,{fill:!0,children:E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:r("orgKycProfile.setupModal.form.description")})})]}),Te(je,{vertical:!0,spacing:"baseTight",children:[E(qe,{as:"p",variant:"bodyMd",fontWeight:"bold",children:r("orgKycProfile.setupModal.form.requestToUploadBusinessRegistrationFile")}),Te(_o,{columns:{xs:1,sm:1,md:6,lg:6,xl:6},areas:{sm:["businessRegistrationInfo","businessRegistrationFile","websiteUrl","phone","position","firstName","lastName"],md:["businessRegistrationInfo businessRegistrationInfo businessRegistrationInfo businessRegistrationFile businessRegistrationFile businessRegistrationFile","websiteUrl websiteUrl websiteUrl phone phone phone","position position firstName firstName lastName lastName"]},children:[E(_o.Cell,{area:"businessRegistrationInfo",children:Te(_o,{columns:{xs:1,sm:1,md:1,lg:1,xl:1},areas:{xs:["companyName","businessRegistrationNumber","businessRegistrationExpirationDate"]},children:[E(_o.Cell,{area:"companyName",children:E(Dr,{control:a,name:"companyName",render:({field:u,fieldState:d})=>{var f;
427return E(bi,{...u,type:"text",autoComplete:"off",label:r("orgKycProfile.setupModal.form.fields.companyName"),error:(f=d.error)==null?void 0:f.message})}})}),E(_o.Cell,{area:"businessRegistrationNumber",children:E(Dr,{control:a,name:"businessRegistrationNumber",render:({field:u,fieldState:d})=>{var f;return E(bi,{...u,type:"text",autoComplete:"off",label:r("orgKycProfile.setupModal.form.fields.businessRegistrationNumber"),error:(f=d.error)==null?void 0:f.message})}})}),E(_o.Cell,{area:"businessRegistrationExpirationDate",children:E(Dr,{control:a,name:"businessRegistrationExpirationDate",render:({field:u,fieldState:d})=>{var f;return E(bi,{...u,type:"date",autoComplete:"off",label:r("orgKycProfile.setupModal.form.fields.businessRegistrationExpirationDate"),error:(f=d.error)==null?void 0:f.message})}})})]})}),E(_o.Cell,{area:"businessRegistrationFile",children:E(Dr,{control:a,name:"businessRegistrationFile",render:({field:u,fieldState:d})=>{var f,h;return Te($nt,{children:[E(OF,{accept:"application/pdf,image/jpeg,image/png",allowMultiple:!1,onDropAccepted:p=>{u.onChange(p[0])},children:qt(u.value).with(Zn.not(Zn.nullish),p=>Te(je,{alignment:"center",children:[E(iSe,{size:"small",alt:p.name,source:p.type.startsWith("image/")?window.URL.createObjectURL(p):Jge}),E("div",{children:p.name})]})).otherwise(()=>E(OF.FileUpload,{actionHint:r("orgKycProfile.setupModal.form.hints.businessRegistrationFileAcceptedTypes")}))}),((f=d.error)==null?void 0:f.message)&&E(su,{fieldID:"businessRegistrationFile",message:(h=d.error)==null?void 0:h.message})]})}})}),E(_o.Cell,{area:"websiteUrl",children:E(Dr,{control:a,name:"websiteUrl",render:({field:u,fieldState:d})=>{var f;return E(bi,{...u,type:"url",autoComplete:"off",label:r("orgKycProfile.setupModal.form.fields.websiteUrl"),error:(f=d.error)==null?void 0:f.message})}})}),E(_o.Cell,{area:"phone",children:E(Dr,{control:a,name:"phone",render:({field:u,fieldState:d})=>{var f;return E(bi,{...u,type:"text",autoComplete:"off",label:r("orgKycProfile.setupModal.form.fields.phone"),error:(f=d.error)==null?void 0:f.message})}})}),E(_o.Cell,{area:"position",children:E(Dr,{control:a,name:"position",render:({field:u,fieldState:d})=>{var f;return E(bi,{...u,type:"text",autoComplete:"off",label:r("orgKycProfile.setupModal.form.fields.position"),error:(f=d.error)==null?void 0:f.message})}})}),E(_o.Cell,{area:"firstName",children:E(Dr,{control:a,name:"firstName",render:({field:u,fieldState:d})=>{var f;return E(bi,{...u,type:"text",autoComplete:"off",label:r("orgKycProfile.setupModal.form.fields.firstName"),error:(f=d.error)==null?void 0:f.message})}})}),E(_o.Cell,{area:"lastName",children:E(Dr,{control:a,name:"lastName",render:({field:u,fieldState:d})=>{var f;return E(bi,{...u,type:"text",autoComplete:"off",label:r("orgKycProfile.setupModal.form.fields.lastName"),error:(f=d.error)==null?void 0:f.message})}})})]})]})]}),Te(je,{vertical:!0,children:[Te(je,{vertical:!0,spacing:"extraTight",children:[E(qe,{as:"p",variant:"bodyMd",fontWeight:"bold",children:r("orgKycProfile.setupModal.form.termsAndConditions.title")}),E(Xnt,{$isMobile:n,children:E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:E(Go,{i18nKey:"orgKycProfile.setupModal.form.termsAndConditions.content",components:{ppLink:E("a",{href:r("general.url.privacyPolicy"),style:{color:"inherit"},target:"_blank",rel:"noreferrer","aria-label":"Privacy Policy"})}})})})]}),E(Dr,{control:a,name:"agreeToTermsAndConditions",render:({field:u,fieldState:d})=>{var f;return E(oy,{checked:u.value,onChange:u.onChange,label:r("orgKycProfile.setupModal.form.agreeToTerms"),error:(f=d.error)==null?void 0:f.message})}})]})]})})}),E(ji.Section,{children:Te(je,{distribution:"trailing",alignment:"center",spacing:"tight",children:[E(qe,{as:"p",variant:"bodyMd",color:"warning",children:r("orgKycProfile.setupModal.form.verificationTime")}),E(vr,{primary:!0,submit:!0,loading:o,onClick:s(c),children:r("common.submit")})]})})]})},Jnt=bt("div",{target:"e3bzxe30"})({name:"f3oizd",styles:"padding:16px;display:flex;justify-content:center"}),eit=({onClose:e})=>{const{t}=jt();return Te(ei,{children:[E(ji.Section,{children:Te(je,{vertical:!0,alignment:"center",children:[E(Jnt,{children:E("img",{src:$le,alt:"kyc-icon"})}),E(qe,{as:"p",variant:"bodyMd",color:"subdued",alignment:"center",children:t("org
427KycProfile.setupModal.result.description")}),E(qe,{as:"p",variant:"bodyMd",color:"warning",alignment:"center",children:t("orgKycProfile.setupModal.result.hint")})]})}),E(ji.Section,{children:E(je,{distribution:"trailing",alignment:"center",spacing:"tight",children:E(vr,{primary:!0,submit:!0,onClick:e,children:t("orgKycProfile.setupModal.result.close")})})})]})},tit=({latestKycProfile:e,onClose:t,onCompleted:r})=>{const{t:n}=jt(),[i,a]=k.useState(()=>{const s=[OT.expiring_soon,OT.expired],l=!!e,c=(e==null?void 0:e.status)===J4.approved,u=s.includes(e==null?void 0:e.businessRegistrationStatus);return!l||c&&u?"form":"result"}),o=k.useCallback(()=>{a("result"),r()},[r]);return Te(ji,{open:!0,fullScreen:!0,large:i==="form",titleHidden:!0,title:"",onClose:u0,children:[E(_A,{title:n("orgKycProfile.setupModal.title"),onClose:t}),qt(i).with("form",()=>E(Qnt,{onCompleted:o})).with("result",()=>E(eit,{onClose:t})).exhaustive()]})},rit=bt("div",{target:"em6g9r60"})({name:"nqiogb",styles:"text-decoration:underline;cursor:pointer"}),nit=()=>{const{userOrganization:e,refetch:t}=Nr(),{t:r}=jt(),{value:n,setTrue:i,setFalse:a}=Ei(!1),o=k.useMemo(()=>e?qt(e.latestKycProfile).returnType().with(Zn.nullish,()=>"setup_profile").with({status:J4.approved,businessRegistrationStatus:OT.expired},()=>"renew_expired_profile").with({status:J4.approved,businessRegistrationStatus:OT.expiring_soon},()=>"renew_expiring_soon_profile").otherwise(()=>"none"):"none",[e]);return E(xle,{children:Te(ei,{children:[o!=="none"&&E(rit,{onClick:i,children:E(qe,{as:"p",variant:"bodyMd",color:"warning",children:qt(o).with("setup_profile",()=>r("orgKycProfile.setupReminder.setupProfileTitle")).with("renew_expired_profile",()=>r("orgKycProfile.setupReminder.renewExpiredProfileTitle")).with("renew_expiring_soon_profile",()=>r("orgKycProfile.setupReminder.renewExpiringSoonProfileTitle")).exhaustive()})}),n&&E(tit,{latestKycProfile:e==null?void 0:e.latestKycProfile,onClose:a,onCompleted:t})]})})},iit=bt(bx,{target:"e1onqnit0"})({name:"o171kl",styles:"text-decoration:none;color:inherit"}),ait=()=>{const{t:e}=jt(),{userOrgSubscription:t,subscriptionDaysLeft:r}=Nr();return!t||![Lb.startup,Lb.growth,Lb.enterprise].includes(t.pricingPlanKey)?null:E(xle,{children:E(iit,{to:Re.billingPlans(),children:E(ad,{status:"attention",children:qt({plan:t.pricingPlanKey,isTrial:t.isTrial,daysLeft:r}).with({isTrial:!0},()=>e("topbar.menu.badge.inTrial",{daysLeft:r})).with({daysLeft:Zn.nullish},()=>e(`topbar.menu.badge.${t.pricingPlanKey}`)).with({daysLeft:Zn.number},()=>e(`topbar.menu.badge.${t.pricingPlanKey}NearEnd`,{daysLeft:r})).otherwise(()=>{})})})})},oit=bt("div",{target:"ecjuv9n0"})({name:"1u6nrah",styles:".Polaris-TopBar-Menu__Activator{margin-right:0;}.Polaris-TopBar-Menu__ActivatorWrapper{height:auto;}"}),sit=()=>{const{userSession:e}
vendor: 33,663 bytes, lines 427-433
427=Nr(),{t,i18n:r}=jt(),{value:n,toggle:i}=Ei(!1),{mutateAsync:a}=mze(),o=k.useCallback(async l=>{await r.changeLanguage(l),e&&await a({data:{locale:l}})},[r,a,e]),s=k.useMemo(()=>[{items:W4e.map(l=>({content:t(l.labelTranslationKey),active:r.language===l.key,onAction:async()=>{await o(l.key),e?(Da.identify({userId:e.id,traits:{locale:l.key}}),Da.track({event:"ui_locale_switched",properties:{locale:l.key}})):Hb.track({event:"ui_locale_switched",properties:{locale:l.key}})}}))}],[o,r.language,t,e]);return E(oit,{children:E(ox.Menu,{activatorContent:E(jet,{size:20}),open:n,actions:s,onOpen:i,onClose:i})})},lit=3,cit=3,uit=()=>{const{userOrganization:e}=Nr(),{data:t,isLoading:r,isFetching:n,refetch:i}=vWe((e==null?void 0:e.id)??"",{query:{enabled:!!(e!=null&&e.id),retry:(a,o)=>{var s;return o instanceof p8&&((s=o.response)==null?void 0:s.status)===404&&a<lit},retryDelay:a=>a*cit*1e3,keepPreviousData:!0}});return{data:t,isLoading:r,isFetching:n,refetch:i}};/*!
428 *  decimal.js v10.4.3
429 *  An arbitrary-precision Decimal type for JavaScript.
430 *  https://github.com/MikeMcl/decimal.js
431 *  Copyright (c) 2022 Michael Mclaughlin <[email protected]>
432 *  MIT Licence
433 */var Fg=9e15,fp=1e9,_D="0123456789abcdef",QT="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",JT="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",PD={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-Fg,maxE:Fg,crypto:!1},Xle,jd,dr=!0,RA="[DecimalError] ",$h=RA+"Invalid argument: ",Qle=RA+"Precision limit exceeded",Jle=RA+"crypto unavailable",ece="[object Decimal]",So=Math.floor,ra=Math.pow,dit=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,fit=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,hit=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,tce=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,$c=1e7,Xt=7,pit=9007199254740991,mit=QT.length-1,AD=JT.length-1,et={toStringTag:ece};et.absoluteValue=et.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),Ut(e)};et.ceil=function(){return Ut(new this.constructor(this),this.e+1,2)};et.clampedTo=et.clamp=function(e,t){var r,n=this,i=n.constructor;if(e=new i(e),t=new i(t),!e.s||!t.s)return new i(NaN);if(e.gt(t))throw Error($h+t);return r=n.cmp(e),r<0?e:n.cmp(t)>0?t:new i(n)};et.comparedTo=et.cmp=function(e){var t,r,n,i,a=this,o=a.d,s=(e=new a.constructor(e)).d,l=a.s,c=e.s;if(!o||!s)return!l||!c?NaN:l!==c?l:o===s?0:!o^l<0?1:-1;if(!o[0]||!s[0])return o[0]?l:s[0]?-c:0;if(l!==c)return l;if(a.e!==e.e)return a.e>e.e^l<0?1:-1;for(n=o.length,i=s.length,t=0,r=n<i?n:i;t<r;++t)if(o[t]!==s[t])return o[t]>s[t]^l<0?1:-1;return n===i?0:n>i^l<0?1:-1};et.cosine=et.cos=function(){var e,t,r=this,n=r.constructor;return r.d?r.d[0]?(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+Xt,n.rounding=1,r=git(n,oce(n,r)),n.precision=e,n.rounding=t,Ut(jd==2||jd==3?r.neg():r,e,t,!0)):new n(1):new n(NaN)};et.cubeRoot=et.cbrt=function(){var e,t,r,n,i,a,o,s,l,c,u=this,d=u.constructor;if(!u.isFinite()||u.isZero())return new d(u);for(dr=!1,a=u.s*ra(u.s*u,1/3),!a||Math.abs(a)==1/0?(r=Na(u.d),e=u.e,(a=(e-r.length+1)%3)&&(r+=a==1||a==-2?"0":"00"),a=ra(r,1/3),e=So((e+1)/3)-(e%3==(e<0?-1:2)),a==1/0?r="5e"+e:(r=a.toExponential(),r=r.slice(0,r.indexOf("e")+1)+e),n=new d(r),n.s=u.s):n=new d(a.toString()),o=(e=d.precision)+3;;)if(s=n,l=s.times(s).times(s),c=l.plus(u),n=Bn(c.plus(u).times(s),c.plus(l),o+2,1),Na(s.d).slice(0,o)===(r=Na(n.d)).slice(0,o))if(r=r.slice(o-3,o+1),r=="9999"||!i&&r=="4999"){if(!i&&(Ut(s,e+1,0),s.times(s).times(s).eq(u))){n=s;break}o+=4,i=1}else{(!+r||!+r.slice(1)&&r.charAt(0)=="5")&&(Ut(n,e+1,1),t=!n.times(n).times(n).eq(u));break}return dr=!0,Ut(n,e,d.rounding,t)};et.decimalPlaces=et.dp=function(){var e,t=this.d,r=NaN;if(t){if(e=t.length-1,r=(e-So(this.e/Xt))*Xt,e=t[e],e)for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r};et.dividedBy=et.div=function(e){return Bn(this,new this.constructor(e))};et.dividedToIntegerBy=et.divToInt=function(e){var t=this,r=t.constructor;return Ut(Bn(t,new r(e),0,1,1),r.precision,r.rounding)};et.equals=et.eq=function(e){return this.cmp(e)===0};et.floor=function(){return Ut(new this.constructor(this),this.e+1,3)};et.greaterThan=et.gt=function(e){return this.cmp(e)>0};et.greaterThanOrEqualTo=et.gte=function(e){var t=this.cmp(e);return t==1||t===0};et.hyperbolicCosine=et.cosh=function(){var e,t,r,n,i,a=this,o=a.constructor,s=new o(1);if(!a.isFinite())return new o(a.s?1/0:NaN);if(a.isZero())return s;r=o.precision,n=o.rounding,o.precision=r+Math.max(a.e,a.sd())+4,o.rounding=1,i=a.d.length,i<32?(e=Math.ceil(i/3),t=(1/DA(4,e)).toString()):(e=16,t="2.3283064365386962890625e-10"),a=$v(o,1,a.times(t),new o(1),!0);for(var l,c=e,u=new o(8);c--;)l=a.times(a),a=s.minus(l.times(u.minus(l.times(u))));return Ut(a,o.precision=r,o.rounding=n,!0)};et.hyperbolicSine=et.sinh=function(){var e,t,r,n,i=this,a=i.constructor;if(!i.isFinite()||i.isZero())return new a(i);if(t=a.precision,r=a.rounding,a.precision=t+Math.max(i.e,i.sd())+4,a.rounding=1,n=i.d.length,n<3)i=$v(a,2,i,i,!0);else{e=1.4*Math.sqrt(n),e=e>16?16:e|0,i=i.times(1/DA(5,e)),i=$v(a,2,i,i,!0);for(var o,s=new a(5),l=new a(16),c=new a(20);e--;)o=i.times(i),i=i.times(s.plus(o.times(l.times(o).plus(c))))}return a.precision=t,a.rounding=r,Ut(i,t,r,!0)};et.hyperbolicTangent=et.tanh=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+7,n.rounding=1,Bn(r.sinh(),r.cosh(),n.precision=e,n.rounding=t)):new n(r.s)};et.inverseCosine=et.acos=function(){var e,t=this,r=t.constructor,n=t.abs().cmp(1),i=r.precision,a=r.rounding;return n!==-1?n===0?t.isNeg()?Wc(r,i,a):new r(0):new r(NaN):t.isZero()?Wc(r,i+4,a).times(.5):(r.precision=i+6,r.rounding=1,t=t.asin(),e=Wc(r,i+4,a).times(.5),r.precision=i,r.rounding=a,e.minus(t))};et.inverseHyperbolicCosine=et.acosh=function(){var e,t,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(e=n.precision,t=n.rounding,n.precision=e+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,dr=!1,r=r.times(r).minus(1).sqrt().plus(r),dr=!0,n.precision=e,n.rounding=t,r.ln()):new n(r)};et.inverseHyperbolicSine=et.asinh=function(){var e,t,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,dr=!1,r=r.times(r).plus(1).sqrt().plus(r),dr=!0,n.precision=e,n.rounding=t,r.ln())};et.inverseHyperbolicTangent=et.atanh=function(){var e,t,r,n,i=this,a=i.constructor;return i.isFinite()?i.e>=0?new a(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=a.precision,t=a.rounding,n=i.sd(),Math.max(n,e)<2*-i.e-1?Ut(new a(i),e,t,!0):(a.precision=r=n-i.e,i=Bn(i.plus(1),new a(1).minus(i),r+e,1),a.precision=e+4,a.rounding=1,i=i.ln(),a.precision=e,a.rounding=t,i.times(.5))):new a(NaN)};et.inverseSine=et.asin=function(){var e,t,r,n,i=this,a=i.constructor;return i.isZero()?new a(i):(t=i.abs().cmp(1),r=a.precision,n=a.rounding,t!==-1?t===0?(e=Wc(a,r+4,n).times(.5),e.s=i.s,e):new a(NaN):(a.precision=r+6,a.rounding=1,i=i.div(new a(1).minus(i.times(i)).sqrt().plus(1)).atan(),a.precision=r,a.rounding=n,i.times(2)))};et.inverseTangent=et.atan=function(){var e,t,r,n,i,a,o,s,l,c=this,u=c.constructor,d=u.precision,f=u.rounding;if(c.isFinite()){if(c.isZero())return new u(c);if(c.abs().eq(1)&&d+4<=AD)return o=Wc(u,d+4,f).times(.25),o.s=c.s,o}else{if(!c.s)return new u(NaN);if(d+4<=AD)return o=Wc(u,d+4,f).times(.5),o.s=c.s,o}for(u.precision=s=d+10,u.rounding=1,r=Math.min(28,s/Xt+2|0),e=r;e;--e)c=c.div(c.times(c).plus(1).sqrt().plus(1));for(dr=!1,t=Math.ceil(s/Xt),n=1,l=c.times(c),o=new u(c),i=c;e!==-1;)if(i=i.times(l),a=o.minus(i.div(n+=2)),i=i.times(l),o=a.plus(i.div(n+=2)),o.d[t]!==void 0)for(e=t;o.d[e]===a.d[e]&&e--;);return r&&(o=o.times(2<<r-1)),dr=!0,Ut(o,u.precision=d,u.rounding=f,!0)};et.isFinite=function(){return!!this.d};et.isInteger=et.isInt=function(){return!!this.d&&So(this.e/Xt)>this.d.length-2};et.isNaN=function(){return!this.s};et.isNegative=et.isNeg=function(){return this.s<0};et.isPositive=et.isPos=function(){return this.s>0};et.isZero=function(){return!!this.d&&this.d[0]===0};et.lessThan=et.lt=function(e){return this.cmp(e)<0};et.lessThanOrEqualTo=et.lte=function(e){return this.cmp(e)<1};et.logarithm=et.log=function(e){var t,r,n,i,a,o,s,l,c=this,u=c.constructor,d=u.precision,f=u.rounding,h=5;if(e==null)e=new u(10),t=!0;else{if(e=new u(e),r=e.d,e.s<0||!r||!r[0]||e.eq(1))return new u(NaN);t=e.eq(10)}if(r=c.d,c.s<0||!r||!r[0]||c.eq(1))return new u(r&&!r[0]?-1/0:c.s!=1?NaN:r?0:1/0);if(t)if(r.length>1)a=!0;else{for(i=r[0];i%10===0;)i/=10;a=i!==1}if(dr=!1,s=d+h,o=xh(c,s),n=t?e_(u,s+10):xh(e,s),l=Bn(o,n,s,1),Tw(l.d,i=d,f))do if(s+=10,o=xh(c,s),n=t?e_(u,s+10):xh(e,s),l=Bn(o,n,s,1),!a){+Na(l.d).slice(i+1,i+15)+1==1e14&&(l=Ut(l,d+1,0));break}while(Tw(l.d,i+=10,f));return dr=!0,Ut(l,d,f)};et.minus=et.sub=function(e){var t,r,n,i,a,o,s,l,c,u,d,f,h=this,p=h.constructor;if(e=new p(e),!h.d||!e.d)return!h.s||!e.s?e=new p(NaN):h.d?e.s=-e.s:e=new p(e.d||h.s!==e.s?h:NaN),e;if(h.s!=e.s)return e.s=-e.s,h.plus(e);if(c=h.d,f=e.d,s=p.precision,l=p.rounding,!c[0]||!f[0]){if(f[0])e.s=-e.s;else if(c[0])e=new p(h);else return new p(l===3?-0:0);return dr?Ut(e,s,l):e}if(r=So(e.e/Xt),u=So(h.e/Xt),c=c.slice(),a=u-r,a){for(d=a<0,d?(t=c,a=-a,o=f.length):(t=f,r=u,o=c.length),n=Math.max(Math.ceil(s/Xt),o)+2,a>n&&(a=n,t.length=1),t.reverse(),n=a;n--;)t.push(0);t.reverse()}else{for(n=c.length,o=f.length,d=n<o,d&&(o=n),n=0;n<o;n++)if(c[n]!=f[n]){d=c[n]<f[n];break}a=0}for(d&&(t=c,c=f,f=t,e.s=-e.s),o=c.length,n=f.length-o;n>0;--n)c[o++]=0;for(n=f.length;n>a;){if(c[--n]<f[n]){for(i=n;i&&c[--i]===0;)c[i]=$c-1;--c[i],c[n]+=$c}c[n]-=f[n]}for(;c[--o]===0;)c.pop();for(;c[0]===0;c.shift())--r;return c[0]?(e.d=c,e.e=FA(c,r),dr?Ut(e,s,l):e):new p(l===3?-0:0)};et.modulo=et.mod=function(e){var t,r=this,n=r.constructor;return e=new n(e),!r.d||!e.s||e.d&&!e.d[0]?new n(NaN):!e.d||r.d&&!r.d[0]?Ut(new n(r),n.precision,n.rounding):(dr=!1,n.modulo==9?(t=Bn(r,e.abs(),0,3,1),t.s*=e.s):t=Bn(r,e,0,n.modulo,1),t=t.times(e),dr=!0,r.minus(t))};et.naturalExponential=et.exp=function(){return OD(this)};et.naturalLogarithm=et.ln=function(){return xh(this)};et.negated=et.neg=function(){var e=new this.constructor(this);return e.s=-e.s,Ut(e)};et.plus=et.add=function(e){var t,r,n,i,a,o,s,l,c,u,d=this,f=d.constructor;if(e=new f(e),!d.d||!e.d)return!d.s||!e.s?e=new f(NaN):d.d||(e=new f(e.d||d.s===e.s?d:NaN)),e;if(d.s!=e.s)return e.s=-e.s,d.minus(e);if(c=d.d,u=e.d,s=f.precision,l=f.rounding,!c[0]||!u[0])return u[0]||(e=new f(d)),dr?Ut(e,s,l):e;if(a=So(d.e/Xt),n=So(e.e/Xt),c=c.slice(),i=a-n,i){for(i<0?(r=c,i=-i,o=u.length):(r=u,n=a,o=c.length),a=Math.ceil(s/Xt),o=a>o?a+1:o+1,i>o&&(i=o,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for(o=c.length,i=u.length,o-i<0&&(i=o,r=u,u=c,c=r),t=0;i;)t=(c[--i]=c[i]+u[i]+t)/$c|0,c[i]%=$c;for(t&&(c.unshift(t),++n),o=c.length;c[--o]==0;)c.pop();return e.d=c,e.e=FA(c,n),dr?Ut(e,s,l):e};et.precision=et.sd=function(e){var t,r=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error($h+e);return r.d?(t=rce(r.d),e&&r.e+1>t&&(t=r.e+1)):t=NaN,t};et.round=function(){var e=this,t=e.constructor;return Ut(new t(e),e.e+1,t.rounding)};et.sine=et.sin=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+Xt,n.rounding=1,r=yit(n,oce(n,r)),n.precision=e,n.rounding=t,Ut(jd>2?r.neg():r,e,t,!0)):new n(NaN)};et.squareRoot=et.sqrt=function(){var e,t,r,n,i,a,o=this,s=o.d,l=o.e,c=o.s,u=o.constructor;if(c!==1||!s||!s[0])return new u(!c||c<0&&(!s||s[0])?NaN:s?o:1/0);for(dr=!1,c=Math.sqrt(+o),c==0||c==1/0?(t=Na(s),(t.length+l)%2==0&&(t+="0"),c=Math.sqrt(t),l=So((l+1)/2)-(l<0||l%2),c==1/0?t="5e"+l:(t=c.toExponential(),t=t.slice(0,t.indexOf("e")+1)+l),n=new u(t)):n=new u(c.toString()),r=(l=u.precision)+3;;)if(a=n,n=a.plus(Bn(o,a,r+2,1)).times(.5),Na(a.d).slice(0,r)===(t=Na(n.d)).slice(0,r))if(t=t.slice(r-3,r+1),t=="9999"||!i&&t=="4999"){if(!i&&(Ut(a,l+1,0),a.times(a).eq(o))){n=a;break}r+=4,i=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(Ut(n,l+1,1),e=!n.times(n).eq(o));break}return dr=!0,Ut(n,l,u.rounding,e)};et.tangent=et.tan=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+10,n.rounding=1,r=r.sin(),r.s=1,r=Bn(r,new n(1).minus(r.times(r)).sqrt(),e+10,0),n.precision=e,n.rounding=t,Ut(jd==2||jd==4?r.neg():r,e,t,!0)):new n(NaN)};et.times=et.mul=function(e){var t,r,n,i,a,o,s,l,c,u=this,d=u.constructor,f=u.d,h=(e=new d(e)).d;if(e.s*=u.s,!f||!f[0]||!h||!h[0])return new d(!e.s||f&&!f[0]&&!h||h&&!h[0]&&!f?NaN:!f||!h?e.s/0:e.s*0);for(r=So(u.e/Xt)+So(e.e/Xt),l=f.length,c=h.length,l<c&&(a=f,f=h,h=a,o=l,l=c,c=o),a=[],o=l+c,n=o;n--;)a.push(0);for(n=c;--n>=0;){for(t=0,i=l+n;i>n;)s=a[i]+h[n]*f[i-n-1]+t,a[i--]=s%$c|0,t=s/$c|0;a[i]=(a[i]+t)%$c|0}for(;!a[--o];)a.pop();return t?++r:a.shift(),e.d=a,e.e=FA(a,r),dr?Ut(e,d.precision,d.rounding):e};et.toBinary=function(e,t){return nM(this,2,e,t)};et.toDecimalPlaces=et.toDP=function(e,t){var r=this,n=r.constructor;return r=new n(r),e===void 0?r:(Ts(e,0,fp),t===void 0?t=n.rounding:Ts(t,0,8),Ut(r,e+r.e+1,t))};et.toExponential=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=pd(n,!0):(Ts(e,0,fp),t===void 0?t=i.rounding:Ts(t,0,8),n=Ut(new i(n),e+1,t),r=pd(n,!0,e+1)),n.isNeg()&&!n.isZero()?"-"+r:r};et.toFixed=function(e,t){var r,n,i=this,a=i.constructor;return e===void 0?r=pd(i):(Ts(e,0,fp),t===void 0?t=a.rounding:Ts(t,0,8),n=Ut(new a(i),e+i.e+1,t),r=pd(n,!1,e+n.e+1)),i.isNeg()&&!i.isZero()?"-"+r:r};et.toFraction=function(e){var t,r,n,i,a,o,s,l,c,u,d,f,h=this,p=h.d,g=h.constructor;if(!p)return new g(h);if(c=r=new g(1),n=l=new g(0),t=new g(n),a=t.e=rce(p)-h.e-1,o=a%Xt,t.d[0]=ra(10,o<0?Xt+o:o),e==null)e=a>0?t:c;else{if(s=new g(e),!s.isInt()||s.lt(c))throw Error($h+s);e=s.gt(t)?a>0?t:c:s}for(dr=!1,s=new g(Na(p)),u=g.precision,g.precision=a=p.length*Xt*2;d=Bn(s,t,0,1,1),i=r.plus(d.times(n)),i.cmp(e)!=1;)r=n,n=i,i=c,c=l.plus(d.times(i)),l=i,i=t,t=s.minus(d.times(i)),s=i;return i=Bn(e.minus(r),n,0,1,1),l=l.plus(i.times(c)),r=r.plus(i.times(n)),l.s=c.s=h.s,f=Bn(c,n,a,1).minus(h).abs().cmp(Bn(l,r,a,1).minus(h).abs())<1?[c,n]:[l,r],g.precision=u,dr=!0,f};et.toHexadecimal=et.toHex=function(e,t){return nM(this,16,e,t)};et.toNearest=function(e,t){var r=this,n=r.constructor;if(r=new n(r),e==null){if(!r.d)return r;e=new n(1),t=n.rounding}else{if(e=new n(e),t===void 0?t=n.rounding:Ts(t,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(dr=!1,r=Bn(r,e,0,t,1).times(e),dr=!0,Ut(r)):(e.s=r.s,r=e),r};et.toNumber=function(){return+this};et.toOctal=function(e,t){return nM(this,8,e,t)};et.toPower=et.pow=function(e){var t,r,n,i,a,o,s=this,l=s.constructor,c=+(e=new l(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new l(ra(+s,c));if(s=new l(s),s.eq(1))return s;if(n=l.precision,a=l.rounding,e.eq(1))return Ut(s,n,a);if(t=So(e.e/Xt),t>=e.d.length-1&&(r=c<0?-c:c)<=pit)return i=nce(l,s,r,n),e.s<0?new l(1).div(i):Ut(i,n,a);if(o=s.s,o<0){if(t<e.d.length-1)return new l(NaN);if(e.d[t]&1||(o=1),s.e==0&&s.d[0]==1&&s.d.length==1)return s.s=o,s}return r=ra(+s,c),t=r==0||!isFinite(r)?So(c*(Math.log("0."+Na(s.d))/Math.LN10+s.e+1)):new l(r+"").e,t>l.maxE+1||t<l.minE-1?new l(t>0?o/0:0):(dr=!1,l.rounding=s.s=1,r=Math.min(12,(t+"").length),i=OD(e.times(xh(s,n+r)),n),i.d&&(i=Ut(i,n+5,1),Tw(i.d,n,a)&&(t=n+10,i=Ut(OD(e.times(xh(s,t+r)),t),t+5,1),+Na(i.d).slice(n+1,n+15)+1==1e14&&(i=Ut(i,n+1,0)))),i.s=o,dr=!0,l.rounding=a,Ut(i,n,a))};et.toPrecision=function(e,t){var r,n=this,i=n.constructor;return e===void 0?r=pd(n,n.e<=i.toExpNeg||n.e>=i.toExpPos):(Ts(e,1,fp),t===void 0?t=i.rounding:Ts(t,0,8),n=Ut(new i(n),e,t),r=pd(n,e<=n.e||n.e<=i.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+r:r};et.toSignificantDigits=et.toSD=function(e,t){var r=this,n=r.constructor;return e===void 0?(e=n.precision,t=n.rounding):(Ts(e,1,fp),t===void 0?t=n.rounding:Ts(t,0,8)),Ut(new n(r),e,t)};et.toString=function(){var e=this,t=e.constructor,r=pd(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()&&!e.isZero()?"-"+r:r};et.truncated=et.trunc=function(){return Ut(new this.constructor(this),this.e+1,1)};et.valueOf=et.toJSON=function(){var e=this,t=e.constructor,r=pd(e,e.e<=t.toExpNeg||e.e>=t.toExpPos);return e.isNeg()?"-"+r:r};function Na(e){var t,r,n,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)n=e[t]+"",r=Xt-n.length,r&&(a+=ih(r)),a+=n;o=e[t],n=o+"",r=Xt-n.length,r&&(a+=ih(r))}else if(o===0)return"0";for(;o%10===0;)o/=10;return a+o}function Ts(e,t,r){if(e!==~~e||e<t||e>r)throw Error($h+e)}function Tw(e,t,r,n){var i,a,o,s;for(a=e[0];a>=10;a/=10)--t;return--t<0?(t+=Xt,i=0):(i=Math.ceil((t+1)/Xt),t%=Xt),a=ra(10,Xt-t),s=e[i]%a|0,n==null?t<3?(t==0?s=s/100|0:t==1&&(s=s/10|0),o=r<4&&s==99999||r>3&&s==49999||s==5e4||s==0):o=(r<4&&s+1==a||r>3&&s+1==a/2)&&(e[i+1]/a/100|0)==ra(10,t-2)-1||(s==a/2||s==0)&&(e[i+1]/a/100|0)==0:t<4?(t==0?s=s/1e3|0:t==1?s=s/100|0:t==2&&(s=s/10|0),o=(n||r<4)&&s==9999||!n&&r>3&&s==4999):o=((n||r<4)&&s+1==a||!n&&r>3&&s+1==a/2)&&(e[i+1]/a/1e3|0)==ra(10,t-3)-1,o}function nk(e,t,r){for(var n,i=[0],a,o=0,s=e.length;o<s;){for(a=i.length;a--;)i[a]*=t;for(i[0]+=_D.indexOf(e.charAt(o++)),n=0;n<i.length;n++)i[n]>r-1&&(i[n+1]===void 0&&(i[n+1]=0),i[n+1]+=i[n]/r|0,i[n]%=r)}return i.reverse()}function git(e,t){var r,n,i;if(t.isZero())return t;n=t.d.length,n<32?(r=Math.ceil(n/3),i=(1/DA(4,r)).toString()):(r=16,i="2.3283064365386962890625e-10"),e.precision+=r,t=$v(e,1,t.times(i),new e(1));for(var a=r;a--;){var o=t.times(t);t=o.times(o).minus(o).times(8).plus(1)}return e.precision-=r,t}var Bn=function(){function e(n,i,a){var o,s=0,l=n.length;for(n=n.slice();l--;)o=n[l]*i+s,n[l]=o%a|0,s=o/a|0;return s&&n.unshift(s),n}function t(n,i,a,o){var s,l;if(a!=o)l=a>o?1:-1;else for(s=l=0;s<a;s++)if(n[s]!=i[s]){l=n[s]>i[s]?1:-1;break}return l}function r(n,i,a,o){for(var s=0;a--;)n[a]-=s,s=n[a]<i[a]?1:0,n[a]=s*o+n[a]-i[a];for(;!n[0]&&n.length>1;)n.shift()}return function(n,i,a,o,s,l){var c,u,d,f,h,p,g,v,m,b,y,w,x,C,T,_,P,F,I,R,D=n.constructor,A=n.s==i.s?1:-1,M=n.d,X=i.d;if(!M||!M[0]||!X||!X[0])return new D(!n.s||!i.s||(M?X&&M[0]==X[0]:!X)?NaN:M&&M[0]==0||!X?A*0:A/0);for(l?(h=1,u=n.e-i.e):(l=$c,h=Xt,u=So(n.e/h)-So(i.e/h)),I=X.length,P=M.length,m=new D(A),b=m.d=[],d=0;X[d]==(M[d]||0);d++);if(X[d]>(M[d]||0)&&u--,a==null?(C=a=D.precision,o=D.rounding):s?C=a+(n.e-i.e)+1:C=a,C<0)b.push(1),p=!0;else{if(C=C/h+2|0,d=0,I==1){for(f=0,X=X[0],C++;(d<P||f)&&C--;d++)T=f*l+(M[d]||0),b[d]=T/X|0,f=T%X|0;p=f||d<P}else{for(f=l/(X[0]+1)|0,f>1&&(X=e(X,f,l),M=e(M,f,l),I=X.length,P=M.length),_=I,y=M.slice(0,I),w=y.length;w<I;)y[w++]=0;R=X.slice(),R.unshift(0),F=X[0],X[1]>=l/2&&++F;do f=0,c=t(X,y,I,w),c<0?(x=y[0],I!=w&&(x=x*l+(y[1]||0)),f=x/F|0,f>1?(f>=l&&(f=l-1),g=e(X,f,l),v=g.length,w=y.length,c=t(g,y,v,w),c==1&&(f--,r(g,I<v?R:X,v,l))):(f==0&&(c=f=1),g=X.slice()),v=g.length,v<w&&g.unshift(0),r(y,g,w,l),c==-1&&(w=y.length,c=t(X,y,I,w),c<1&&(f++,r(y,I<w?R:X,w,l))),w=y.length):c===0&&(f++,y=[0]),b[d++]=f,c&&y[0]?y[w++]=M[_]||0:(y=[M[_]],w=1);while((_++<P||y[0]!==void 0)&&C--);p=y[0]!==void 0}b[0]||b.shift()}if(h==1)m.e=u,Xle=p;else{for(d=1,f=b[0];f>=10;f/=10)d++;m.e=d+u*h-1,Ut(m,s?a+m.e+1:a,o,p)}return m}}();function Ut(e,t,r,n){var i,a,o,s,l,c,u,d,f,h=e.constructor;e:if(t!=null){if(d=e.d,!d)return e;for(i=1,s=d[0];s>=10;s/=10)i++;if(a=t-i,a<0)a+=Xt,o=t,u=d[f=0],l=u/ra(10,i-o-1)%10|0;else if(f=Math.ceil((a+1)/Xt),s=d.length,f>=s)if(n){for(;s++<=f;)d.push(0);u=l=0,i=1,a%=Xt,o=a-Xt+1}else break e;else{for(u=s=d[f],i=1;s>=10;s/=10)i++;a%=Xt,o=a-Xt+i,l=o<0?0:u/ra(10,i-o-1)%10|0}if(n=n||t<0||d[f+1]!==void 0||(o<0?u:u%ra(10,i-o-1)),c=r<4?(l||n)&&(r==0||r==(e.s<0?3:2)):l>5||l==5&&(r==4||n||r==6&&(a>0?o>0?u/ra(10,i-o):0:d[f-1])%10&1||r==(e.s<0?8:7)),t<1||!d[0])return d.length=0,c?(t-=e.e+1,d[0]=ra(10,(Xt-t%Xt)%Xt),e.e=-t||0):d[0]=e.e=0,e;if(a==0?(d.length=f,s=1,f--):(d.length=f+1,s=ra(10,Xt-a),d[f]=o>0?(u/ra(10,i-o)%ra(10,o)|0)*s:0),c)for(;;)if(f==0){for(a=1,o=d[0];o>=10;o/=10)a++;for(o=d[0]+=s,s=1;o>=10;o/=10)s++;a!=s&&(e.e++,d[0]==$c&&(d[0]=1));break}else{if(d[f]+=s,d[f]!=$c)break;d[f--]=0,s=1}for(a=d.length;d[--a]===0;)d.pop()}return dr&&(e.e>h.maxE?(e.d=null,e.e=NaN):e.e<h.minE&&(e.e=0,e.d=[0])),e}function pd(e,t,r){if(!e.isFinite())return ace(e);var n,i=e.e,a=Na(e.d),o=a.length;return t?(r&&(n=r-o)>0?a=a.charAt(0)+"."+a.slice(1)+ih(n):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(e.e<0?"e":"e+")+e.e):i<0?(a="0."+ih(-i-1)+a,r&&(n=r-o)>0&&(a+=ih(n))):i>=o?(a+=ih(i+1-o),r&&(n=r-i-1)>0&&(a=a+"."+ih(n))):((n=i+1)<o&&(a=a.slice(0,n)+"."+a.slice(n)),r&&(n=r-o)>0&&(i+1===o&&(a+="."),a+=ih(n))),a}function FA(e,t){var r=e[0];for(t*=Xt;r>=10;r/=10)t++;return t}function e_(e,t,r){if(t>mit)throw dr=!0,r&&(e.precision=r),Error(Qle);return Ut(new e(QT),t,1,!0)}function Wc(e,t,r){if(t>AD)throw Error(Qle);return Ut(new e(JT),t,r,!0)}function rce(e){var t=e.length-1,r=t*Xt+1;if(t=e[t],t){for(;t%10==0;t/=10)r--;for(t=e[0];t>=10;t/=10)r++}return r}function ih(e){for(var t="";e--;)t+="0";return t}function nce(e,t,r,n){var i,a=new e(1),o=Math.ceil(n/Xt+4);for(dr=!1;;){if(r%2&&(a=a.times(t),DK(a.d,o)&&(i=!0)),r=So(r/2),r===0){r=a.d.length-1,i&&a.d[r]===0&&++a.d[r];break}t=t.times(t),DK(t.d,o)}return dr=!0,a}function FK(e){return e.d[e.d.length-1]&1}function ice(e,t,r){for(var n,i=new e(t[0]),a=0;++a<t.length;)if(n=new e(t[a]),n.s)i[r](n)&&(i=n);else{i=n;break}return i}function OD(e,t){var r,n,i,a,o,s,l,c=0,u=0,d=0,f=e.constructor,h=f.rounding,p=f.precision;if(!e.d||!e.d[0]||e.e>17)return new f(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(t==null?(dr=!1,l=p):l=t,s=new f(.03125);e.e>-2;)e=e.times(s),d+=5;for(n=Math.log(ra(2,d))/Math.LN10*2+5|0,l+=n,r=a=o=new f(1),f.precision=l;;){if(a=Ut(a.times(e),l,1),r=r.times(++u),s=o.plus(Bn(a,r,l,1)),Na(s.d).slice(0,l)===Na(o.d).slice(0,l)){for(i=d;i--;)o=Ut(o.times(o),l,1);if(t==null)if(c<3&&Tw(o.d,l-n,h,c))f.precision=l+=10,r=a=s=new f(1),u=0,c++;else return Ut(o,f.precision=p,h,dr=!0);else return f.precision=p,o}o=s}}function xh(e,t){var r,n,i,a,o,s,l,c,u,d,f,h=1,p=10,g=e,v=g.d,m=g.constructor,b=m.rounding,y=m.precision;if(g.s<0||!v||!v[0]||!g.e&&v[0]==1&&v.length==1)return new m(v&&!v[0]?-1/0:g.s!=1?NaN:v?0:g);if(t==null?(dr=!1,u=y):u=t,m.precision=u+=p,r=Na(v),n=r.charAt(0),Math.abs(a=g.e)<15e14){for(;n<7&&n!=1||n==1&&r.charAt(1)>3;)g=g.times(e),r=Na(g.d),n=r.charAt(0),h++;a=g.e,n>1?(g=new m("0."+r),a++):g=new m(n+"."+r.slice(1))}else return c=e_(m,u+2,y).times(a+""),g=xh(new m(n+"."+r.slice(1)),u-p).plus(c),m.precision=y,t==null?Ut(g,y,b,dr=!0):g;for(d=g,l=o=g=Bn(g.minus(1),g.plus(1),u,1),f=Ut(g.times(g),u,1),i=3;;){if(o=Ut(o.times(f),u,1),c=l.plus(Bn(o,new m(i),u,1)),Na(c.d).slice(0,u)===Na(l.d).slice(0,u))if(l=l.times(2),a!==0&&(l=l.plus(e_(m,u+2,y).times(a+""))),l=Bn(l,new m(h),u,1),t==null)if(Tw(l.d,u-p,b,s))m.precision=u+=p,c=o=g=Bn(d.minus(1),d.plus(1),u,1),f=Ut(g.times(g),u,1),i=s=1;else return Ut(l,m.precision=y,b,dr=!0);else return m.precision=y,l;l=c,i+=2}}function ace(e){return String(e.s*e.s/0)}function ID(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;t.charCodeAt(n)===48;n++);for(i=t.length;t.charCodeAt(i-1)===48;--i);if(t=t.slice(n,i),t){if(i-=n,e.e=r=r-n-1,e.d=[],n=(r+1)%Xt,r<0&&(n+=Xt),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=Xt;n<i;)e.d.push(+t.slice(n,n+=Xt));t=t.slice(n),n=Xt-t.length}else n-=i;for(;n--;)t+="0";e.d.push(+t),dr&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function vit(e,t){var r,n,i,a,o,s,l,c,u;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),tce.test(t))return ID(e,t)}else if(t==="Infinity"||t==="NaN")return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(fit.test(t))r=16,t=t.toLowerCase();else if(dit.test(t))r=2;else if(hit.test(t))r=8;else throw Error($h+t);for(a=t.search(/p/i),a>0?(l=+t.slice(a+1),t=t.substring(2,a)):t=t.slice(2),a=t.indexOf("."),o=a>=0,n=e.constructor,o&&(t=t.replace(".",""),s=t.length,a=s-a,i=nce(n,new n(r),a,a*2)),c=nk(t,r,$c),u=c.length-1,a=u;c[a]===0;--a)c.pop();return a<0?new n(e.s*0):(e.e=FA(c,u),e.d=c,dr=!1,o&&(e=Bn(e,i,s*4)),l&&(e=e.times(Math.abs(l)<54?ra(2,l):$x.pow(2,l))),dr=!0,e)}function yit(e,t){var r,n=t.d.length;if(n<3)return t.isZero()?t:$v(e,2,t,t);r=1.4*Math.sqrt(n),r=r>16?16:r|0,t=t.times(1/DA(5,r)),t=$v(e,2,t,t);for(var i,a=new e(5),o=new e(16),s=new e(20);r--;)i=t.times(t),t=t.times(a.plus(i.times(o.times(i).minus(s))));return t}function $v(e,t,r,n,i){var a,o,s,l,c=e.precision,u=Math.ceil(c/Xt);for(dr=!1,l=r.times(r),s=new e(n);;){if(o=Bn(s.times(l),new e(t++*t++),c,1),s=i?n.plus(o):n.minus(o),n=Bn(o.times(l),new e(t++*t++),c,1),o=s.plus(n),o.d[u]!==void 0){for(a=u;o.d[a]===s.d[a]&&a--;);if(a==-1)break}a=s,s=n,n=o,o=a}return dr=!0,o.d.length=u+1,o}function DA(e,t){for(var r=e;--t;)r*=e;return r}function oce(e,t){var r,n=t.s<0,i=Wc(e,e.precision,1),a=i.times(.5);if(t=t.abs(),t.lte(a))return jd=n?4:1,t;if(r=t.divToInt(i),r.isZero())jd=n?3:2;else{if(t=t.minus(r.times(i)),t.lte(a))return jd=FK(r)?n?2:3:n?4:1,t;jd=FK(r)?n?1:4:n?3:2}return t.minus(i).abs()}function nM(e,t,r,n){var i,a,o,s,l,c,u,d,f,h=e.constructor,p=r!==void 0;if(p?(Ts(r,1,fp),n===void 0?n=h.rounding:Ts(n,0,8)):(r=h.precision,n=h.rounding),!e.isFinite())u=ace(e);else{for(u=pd(e),o=u.indexOf("."),p?(i=2,t==16?r=r*4-3:t==8&&(r=r*3-2)):i=t,o>=0&&(u=u.replace(".",""),f=new h(1),f.e=u.length-o,f.d=nk(pd(f),10,i),f.e=f.d.length),d=nk(u,10,i),a=l=d.length;d[--l]==0;)d.pop();if(!d[0])u=p?"0p+0":"0";else{if(o<0?a--:(e=new h(e),e.d=d,e.e=a,e=Bn(e,f,r,n,0,i),d=e.d,a=e.e,c=Xle),o=d[r],s=i/2,c=c||d[r+1]!==void 0,c=n<4?(o!==void 0||c)&&(n===0||n===(e.s<0?3:2)):o>s||o===s&&(n===4||c||n===6&&d[r-1]&1||n===(e.s<0?8:7)),d.length=r,c)for(;++d[--r]>i-1;)d[r]=0,r||(++a,d.unshift(1));for(l=d.length;!d[l-1];--l);for(o=0,u="";o<l;o++)u+=_D.charAt(d[o]);if(p){if(l>1)if(t==16||t==8){for(o=t==16?4:3,--l;l%o;l++)u+="0";for(d=nk(u,i,t),l=d.length;!d[l-1];--l);for(o=1,u="1.";o<l;o++)u+=_D.charAt(d[o])}else u=u.charAt(0)+"."+u.slice(1);u=u+(a<0?"p":"p+")+a}else if(a<0){for(;++a;)u="0"+u;u="0."+u}else if(++a>l)for(a-=l;a--;)u+="0";else a<l&&(u=u.slice(0,a)+"."+u.slice(a))}u=(t==16?"0x":t==2?"0b":t==8?"0o":"")+u}return e.s<0?"-"+u:u}function DK(e,t){if(e.length>t)return e.length=t,!0}function bit(e){return new this(e).abs()}function Sit(e){return new this(e).acos()}function wit(e){return new this(e).acosh()}function xit(e,t){return new this(e).plus(t)}function Cit(e){return new this(e).asin()}function Eit(e){return new this(e).asinh()}function kit(e){return new this(e).atan()}function Tit(e){return new this(e).atanh()}function _it(e,t){e=new this(e),t=new this(t);var r,n=this.precision,i=this.rounding,a=n+4;return!e.s||!t.s?r=new this(NaN):!e.d&&!t.d?(r=Wc(this,a,1).times(t.s>0?.25:.75),r.s=e.s):!t.d||e.isZero()?(r=t.s<0?Wc(this,n,i):new this(0),r.s=e.s):!e.d||t.isZero()?(r=Wc(this,a,1).times(.5),r.s=e.s):t.s<0?(this.precision=a,this.rounding=1,r=this.atan(Bn(e,t,a,1)),t=Wc(this,a,1),this.precision=n,this.rounding=i,r=e.s<0?r.minus(t):r.plus(t)):r=this.atan(Bn(e,t,a,1)),r}function Pit(e){return new this(e).cbrt()}function Ait(e){return Ut(e=new this(e),e.e+1,2)}function Oit(e,t,r){return new this(e).clamp(t,r)}function Iit(e){if(!e||typeof e!="object")throw Error(RA+"Object expected");var t,r,n,i=e.defaults===!0,a=["precision",1,fp,"rounding",0,8,"toExpNeg",-Fg,0,"toExpPos",0,Fg,"maxE",0,Fg,"minE",-Fg,0,"modulo",0,9];for(t=0;t<a.length;t+=3)if(r=a[t],i&&(this[r]=PD[r]),(n=e[r])!==void 0)if(So(n)===n&&n>=a[t+1]&&n<=a[t+2])this[r]=n;else throw Error($h+r+": "+n);if(r="crypto",i&&(this[r]=PD[r]),(n=e[r])!==void 0)if(n===!0||n===!1||n===0||n===1)if(n)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(Jle);else this[r]=!1;else throw Error($h+r+": "+n);return this}function Rit(e){return new this(e).cos()}function Fit(e){return new this(e).cosh()}function sce(e){var t,r,n;function i(a){var o,s,l,c=this;if(!(c instanceof i))return new i(a);if(c.constructor=i,NK(a)){c.s=a.s,dr?!a.d||a.e>i.maxE?(c.e=NaN,c.d=null):a.e<i.minE?(c.e=0,c.d=[0]):(c.e=a.e,c.d=a.d.slice()):(c.e=a.e,c.d=a.d?a.d.slice():a.d);return}if(l=typeof a,l==="number"){if(a===0){c.s=1/a<0?-1:1,c.e=0,c.d=[0];return}if(a<0?(a=-a,c.s=-1):c.s=1,a===~~a&&a<1e7){for(o=0,s=a;s>=10;s/=10)o++;dr?o>i.maxE?(c.e=NaN,c.d=null):o<i.minE?(c.e=0,c.d=[0]):(c.e=o,c.d=[a]):(c.e=o,c.d=[a]);return}else if(a*0!==0){a||(c.s=NaN),c.e=NaN,c.d=null;return}return ID(c,a.toString())}else if(l!=="string")throw Error($h+a);return(s=a.charCodeAt(0))===45?(a=a.slice(1),c.s=-1):(s===43&&(a=a.slice(1)),c.s=1),tce.test(a)?ID(c,a):vit(c,a)}if(i.prototype=et,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.EUCLID=9,i.config=i.set=Iit,i.clone=sce,i.isDecimal=NK,i.abs=bit,i.acos=Sit,i.acosh=wit,i.add=xit,i.asin=Cit,i.asinh=Eit,i.atan=kit,i.atanh=Tit,i.atan2=_it,i.cbrt=Pit,i.ceil=Ait,i.clamp=Oit,i.cos=Rit,i.cosh=Fit,i.div=Dit,i.exp=Nit,i.floor=Mit,i.hypot=Lit,i.ln=Bit,i.log=Uit,i.log10=Hit,i.log2=zit,i.max=qit,i.min=Wit,i.mod=Vit,i.mul=jit,i.pow=Git,i.random=Kit,i.round=Zit,i.sign=Yit,i.sin=$it,i.sinh=Xit,i.sqrt=Qit,i.sub=Jit,i.sum=eat,i.tan=tat,i.tanh=rat,i.trunc=nat,e===void 0&&(e={}),e&&e.defaults!==!0)for(n=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],t=0;t<n.length;)e.hasOwnProperty(r=n[t++])||(e[r]=this[r]);return i.config(e),i}function Dit(e,t){return new this(e).div(t)}function Nit(e){return new this(e).exp()}function Mit(e){return Ut(e=new this(e),e.e+1,3)}function Lit(){var e,t,r=new this(0);for(dr=!1,e=0;e<arguments.length;)if(t=new this(arguments[e++]),t.d)r.d&&(r=r.plus(t.times(t)));else{if(t.s)return dr=!0,new this(1/0);r=t}return dr=!0,r.sqrt()}function NK(e){return e instanceof $x||e&&e.toStringTag===ece||!1}function Bit(e){return new this(e).ln()}function Uit(e,t){return new this(e).log(t)}function zit(e){return new this(e).log(2)}function Hit(e){return new this(e).log(10)}function qit(){return ice(this,arguments,"lt")}function Wit(){return ice(this,arguments,"gt")}function Vit(e,t){return new this(e).mod(t)}function jit(e,t){return new this(e).mul(t)}function Git(e,t){return new this(e).pow(t)}function Kit(e){var t,r,n,i,a=0,o=new this(1),s=[];if(e===void 0?e=this.precision:Ts(e,1,fp),n=Math.ceil(e/Xt),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(n));a<n;)i=t[a],i>=429e7?t[a]=crypto.getRandomValues(new Uint32Array(1))[0]:s[a++]=i%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(n*=4);a<n;)i=t[a]+(t[a+1]<<8)+(t[a+2]<<16)+((t[a+3]&127)<<24),i>=214e7?crypto.randomBytes(4).copy(t,a):(s.push(i%1e7),a+=4);a=n/4}else throw Error(Jle);else for(;a<n;)s[a++]=Math.random()*1e7|0;for(n=s[--a],e%=Xt,n&&e&&(i=ra(10,Xt-e),s[a]=(n/i|0)*i);s[a]===0;a--)s.pop();if(a<0)r=0,s=[0];else{for(r=-1;s[0]===0;r-=Xt)s.shift();for(n=1,i=s[0];i>=10;i/=10)n++;n<Xt&&(r-=Xt-n)}return o.e=r,o.d=s,o}function Zit(e){return Ut(e=new this(e),e.e+1,this.rounding)}function Yit(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function $it(e){return new this(e).sin()}function Xit(e){return new this(e).sinh()}function Qit(e){return new this(e).sqrt()}function Jit(e,t){return new this(e).sub(t)}function eat(){var e=0,t=arguments,r=new this(t[e]);for(dr=!1;r.s&&++e<t.length;)r=r.plus(t[e]);return dr=!0,Ut(r,this.precision,this.rounding)}function tat(e){return new this(e).tan()}function rat(e){return new this(e).tanh()}function nat(e){return Ut(e=new this(e),e.e+1,1)}et[Symbol.for("nodejs.util.inspect.custom")]=et.toString;et[Symbol.toStringTag]="Decimal";var $x=et.constructor=sce(PD);QT=new $x(QT);JT=new $x(JT);
433const iat=new Intl.NumberFormat("en-US"),aat=new Intl.NumberFormat("en-US",{minimumFractionDigits:2,maximumFractionDigits:2});function Gkt(e){return iat.format(e)}function oat(e){return qt(e).with(Zn.number,t=>t).with(Zn.string,t=>parseFloat(t)).with(Zn.instanceOf($x),t=>t.toNumber()).exhaustive()}function sat(e){return aat.format(oat(e))}const lat=bt(bx,{target:"e1q599ju1"})({name:"o171kl",styles:"text-decoration:none;color:inherit"}),cat=bt("div",{target:"e1q599ju0"})("display:flex;align-items:center;justify-content:flex-end;width:100%;cursor:pointer;border-radius:",Mo.shape["border-radius-1"],";padding:",Mo.spacing["space-1"]," ",Mo.spacing["space-2"],";:hover{background-color:",Mo.colors["surface-hovered"],";}&>*:not(:last-child){margin-right:",Mo.spacing["space-1"],";}"),uat=()=>{const{data:e}=uit(),{userOrgConfigs:t}=Nr(),{isLoading:r,isRestrictionsActive:n}=Kx();return r||n||!e||t!=null&&t.isHideWalletBalance?null:E(lat,{to:Re.billing({tab:zc.TRANSACTIONS}),children:Te(cat,{children:[E(ole,{size:24}),E(ad,{children:`${e.currency} ${sat(e.balance)}`})]})})},dat=bt("div",{target:"e14p23d60"})("display:flex;align-items:center;width:max-content;&>*:not(:last-child){margin-right:",Mo.spacing["space-2"],";}"),fat=()=>E(dat,{children:Te(je,{alignment:"center",spacing:"none",children:[E(sit,{}),E(uat,{}),E(ait,{}),E(Qr,{widthSpace:"2"})]})}),MK="data:image/svg+xml,%3csvg%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='16'%20fill='%23E4E5E7'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16%2016.123a4.8%204.8%200%201%200%200-9.6%204.8%204.8%200%200%200%200%209.6Zm0%2012.8c4.033%200%207.637-1.875%209.985-4.8a12.783%2012.783%200%200%200-19.97%200%2012.783%2012.783%200%200%200%209.985%204.8Z'%20fill='%238C9196'/%3e%3c/svg%3e",hat=bt("span",{target:"e7wterp5"})({name:"1r3107e",styles:"margin:0 var(--p-space-2) 0 0"}),LK=bt("div",{target:"e7wterp4"})({name:"1mm3d12",styles:".Polaris-Avatar{color:var(--p-decorative-four-text);background:var(--p-decorative-four-surface);}"}),pat=bt("div",{target:"e7wterp3"})({name:"1bn1jfo",styles:"max-width:264px;display:flex;flex-direction:column;align-items:center;padding:var(--p-space-8);text-align:center;.Polaris-Avatar{margin-bottom:var(--p-space-4);}"}),mat=bt("div",{target:"e7wterp2"})({name:"1xniqs9",styles:"border-top:var(--p-border-divider)"}),gat=bt("p",{target:"e7wterp1"})({name:"ccv18r",styles:"max-width:250px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden"}),BK=bt("div",{target:"e7wterp0"})({name:"s5xdrg",styles:"display:flex;align-items:center"}),vat=()=>{const{t:e}=jt(),{userSession:t}=Nr(),{value:r,toggle:n}=Ei(!1),i=k.useMemo(()=>[{items:[{content:e("actions.profile"),prefix:E(Net,{size:20}),url:Re.profile()},{content:e("pages.settings.tabs.organization.title"),prefix:E(cle,{size:20}),url:Re.settings({tab:an.ORGANIZATION})}]},{items:[{url:e("navigation.contactUs.url"),external:!0,content:e("navigation.contactUs.label"),prefix:E(HJe,{size:20}),suffix:E(BK,{children:E(Mj,{size:16})}),onClick:async()=>{await Da.track({event:"nav_helpdesk_clicked",properties:void 0})}},{url:e("navigation.helpCenter.url"),external:!0,content:e("navigation.helpCenter.label"),prefix:E(set,{size:20}),suffix:E(BK,{children:E(Mj,{size:16})}),onClick:async()=>{await Da.track({event:"nav_kb_clicked",properties:void 0})}}]},{items:[{content:e("actions.logout"),prefix:E(eet,{size:20}),url:Re.logout()}]}],[e]);return t?Te(hi,{fixed:!0,fluidContent:!0,active:r,activator:E("div",{className:"Polaris-TopBar-Menu__ActivatorWrapper",children:Te("button",{type:"button",className:"Polaris-TopBar-Menu__Activator",onClick:n,children:[E(hat,{className:"Polaris-TopBar-UserMenu__Details",children:E(gat,{className:"Polaris-TopBar-UserMenu__Name",children:t.name})}),E(LK,{className:"Polaris-MessageIndicator__MessageIndicatorWrapper",children:E(TF,{size:"small",name:t.name,source:MK})})]})}),preferredAlignment:"right",onClose:n,children:[Te(pat,{children:[E(LK,{className:"Polaris-MessageIndicator__MessageIndicatorWrapper",children:E(TF,{size:"small",name:t.name,source:MK})}),Te(nx,{spacing:"tight",children:[E(qe,{as:"h2",variant:"headingMd",children:t.name}),E(qe,{as:"span",variant:"bodyMd",color:"subdued",children:t.email})]})]}),E(mat,{children:E(ac,{onActionAnyItem:n,sections:i})})]}):null},yat={name:"1l54i29",styles:".Polaris-TopBar__LogoContainer.Polaris-TopBar--hasLogoSuffix{gap:0;&>:first-child{flex-basis:0;}}img{width:166px;height:40px;object-fit:contain;object-position:left;}"},bat=({onNavigationToggle:e})=>{const{userSession:t}=Nr(),r=ile(),{shipment:n,shouldShowCustomOrgLogo:i,shouldShowCustomOrgName:a}=woe(),o=k.useMemo(()=>Te(ei,{children:[qt({shipment:n,shouldShowCustomOrgLogo:i,shouldShowCustomOrgName:a}).with({shouldShowCustomOrgLogo:!0,shipment:{brandingConfig:{logoUrl:Zn.not(Zn.nullish)}}},s=>s.shipment.trackingPageConfig.logoLinkUrl?E(RS,{url:s.shipment.trackingPageConfig.logoLinkUrl,external:!0,removeUnderline:!0,monochrome:!0,children:E("img",{src:s.shipment.brandingConfig.logoUrl,alt:"Logo"})}):E("img",{src:s.shipment.brandingConfig.logoUrl,alt:"Logo"})).with({shouldShowCustomOrgName:!0,shipment:{brandingConfig:{orgName:Zn.not(Zn.nullish)}}},s=>s.shipment.trackingPageConfig.logoLinkUrl?E(RS,{url:s.shipment.trackingPageConfig.logoLinkUrl,external:!0,removeUnderline:!0,monochrome:!0,children:E(qe,{as:"span",variant:"headingLg",children:s.shipment.brandingConfig.orgName})}):E(qe,{as:"span",variant:"headingLg",children:s.shipment.brandingConfig.orgName})).otherwise(()=>null),!r&&E(nit,{})]}),[n,i,a,r]);return Te(ei,{children:[(i||a)&&E(f5,{styles:yat}),E(ox,{showNavigationToggle:!!t&&!r,userMenu:E(vat,{}),secondaryMenu:E(fat,{}),logoSuffix:o,onNavigationToggle:e})]})},Sat=bt("div",{target:"e1ol48by1"})(".Polaris-TopBar__LogoLink{cursor:",({isLogoClickable:e})=>e?"pointer":"default",";}.Polaris-TopBar__LogoContainer{flex:0 0 auto;&>*:has(a){width:unset;}}"),wat=bt("div",{target:"e1ol48by0"})({name:"gyd954",styles:"--alert-border-width:1px;width:calc(100% - (var(--alert-border-width) * 2));>.Polaris-Banner{border-radius:0;}"}),xat=({children:e})=>{const{t}=jt(),r=sp(),{userSession:n,isFetchingUserSession:i,userOrgConfigs:a}=Nr(),o=ua(),s=nle(),{value:l,setFalse:c,toggle:u}=Ei(!1),{value:d,setTrue:f,setFalse:h}=Ei(!1),p=ile(),g=k.useMemo(()=>Gs(Re.home(),o.pathname),[o.pathname]),v=k.useMemo(()=>[Re.welcome(),Re.login(),Re.signup(),Re.forgetPassword(),Re.resetPassword()].some(I=>Gs(I,o.pathname)),[o.pathname]),m=k.useMemo(()=>Gs(Re.spaceshipAI(),o.pathname),[o.pathname]),b=k.useMemo(()=>Object.values(Re).some(F=>Gs(F({}),o.pathname)),[o.pathname]),{isShipmentTrackingPage:y,isLoading:w,shouldShowCustomOrgLogo:x,shouldShowCustomOrgName:C}=woe(),T=k.useMemo(()=>{const F=NTe();return qt({isAuthRoute:v,isShipmentTrackingPage:y,isLoading:w,shouldShowCustomOrgLogo:x,shouldShowCustomOrgName:C}).with({shouldShowCustomOrgLogo:!0},{shouldShowCustomOrgName:!0},()=>({topBarSource:F,width:1})).with({isShipmentTrackingPage:!0,isLoading:!0},()=>{}).with({isAuthRoute:!0},()=>({topBarSource:F,width:166,url:"#"})).otherwise(()=>({topBarSource:F,width:166,url:p?t("general.bizUrl")??void 0:Re.home()}))},[v,p,w,y,x,C,t]),_=k.useMemo(()=>g||!b||v?null:E(bat,{onNavigationToggle:u}),[v,g,b,u]),P=k.useMemo(()=>!n||!b||p||g?null:E(Art,{onNavItemClick:c,onSettingsNavItemClick:f}),[c,g,p,b,f,n]);return k.useEffect(()=>{a&&htt.setup({shouldLoad:a.isLiveChatEnabled})},[a]),!n&&i?E(X9,{children:E(N5,{})}):E(Sat,{isLogoClickable:(T==null?void 0:T.url)!=="#",children:Te(X9,{logo:T,topBar:_,navigation:P,showMobileNavigation:n&&l,onNavigationDismiss:u,children:[!v&&!y&&!m&&E(wat,{children:Te(rx,{status:"critical",children:[E(qe,{variant:"bodyMd",as:"span",fontWeight:"bold",color:"warning",children:t("announcement.peakSeasonAlert.title")}),Te(qe,{variant:"bodyMd",as:"span",children:[" ","-"," "]}),E(Go,{i18nKey:"announcement.peakSeasonAlert.desc",components:{strong:E("strong",{}),supportLink:E("a",{href:t("announcement.peakSeasonAlert.supportLink"),style:{color:"var(--p-text)"},target:"_blank",rel:"noreferrer","aria-label":"Peak Season Support Article"})}})]})}),e,!!n&&s&&E(ji,{title:t("navigation.settings"),open:!l&&d,onClose:h,children:E(ftt,{onNavItemClick:h})}),E(Att,{onGoToUpgrade:()=>{r(Re.billingPlans())}})]})})},Cat=k.memo(xat),Eat=()=>{const e=ua();return k.useEffect(()=>{Hb.updatePageMeta()},[e]),null},lce=k.createContext(null),kat=({children:e})=>{const[t,r]=k.useState([]),n=k.useMemo(()=>({showToast:a=>{const o={id:LFe("toast"),content:a.content,duration:a.duration,dismiss:()=>{var s;r(l=>l.filter(c=>c.id!==o.id)),(s=a.onDismissed)==null||s.call(a)}};r(s=>[...s,o])}}),[]),i=k.useMemo(()=>({toasts:t,...n}),[n,t]);return E(lce.Provider,{value:i,children:e})},Tat=()=>{const e=k.useContext(lce);if(e===null)throw new Error("useToastContext must be used within a ToastProvider");return e},_at=()=>{const{toasts:e}=Tat();return E(ei,{children:e.map(t=>E(aSe,{content:t.content,duration:t.duration,onDismiss:t.dismiss},t.id))})};var cce={exports:{}};(function(e,t){(function(r,n){e.exports=n(k)})(typeof self<"u"?self:yn,function(r){return function(n){var i={};function a(o){if(i[o])return i[o].exports;var s=i[o]={i:o,l:!1,exports:{}};return n[o].call(s.exports,s,s.exports,a),s.l=!0,s.exports}return a.m=n,a.c=i,a.d=function(o,s,l){a.o(o,s)||Object.defineProperty(o,s,{enumerable:!0,get:l})},a.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},a.t=function(o,s){if(1&s&&(o=a(o)),8&s||4&s&&typeof o=="object"&&o&&o.__esModule)return o;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:o}),2&s&&typeof o!="string")for(var c in o)a.d(l,c,(function(u){return o[u]}).bind(null,c));return l},a.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return a.d(s,"a",s),s},a.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},a.p="",a(a.s=2)}([function(n,i){n.exports=r},function(n,i,a){var o={linear:function(s,l,c,u){return(c-l)*s/u+l},easeInQuad:function(s,l,c,u){return(c-l)*(s/=u)*s+l},easeOutQuad:function(s,l,c,u){return-(c-l)*(s/=u)*(s-2)+l},easeInOutQuad:function(s,l,c,u){var d=c-l;return(s/=u/2)<1?d/2*s*s+l:-d/2*(--s*(s-2)-1)+l},easeInCubic:function(s,l,c,u){return(c-l)*(s/=u)*s*s+l},easeOutCubic:function(s,l,c,u){return(c-l)*((s=s/u-1)*s*s+1)+l},easeInOutCubic:function(s,l,c,u){var d=c-l;return(s/=u/2)<1?d/2*s*s*s+l:d/2*((s-=2)*s*s+2)+l},easeInQuart:function(s,l,c,u){return(c-l)*(s/=u)*s*s*s+l},easeOutQuart:function(s,l,c,u){return-(c-l)*((s=s/u-1)*s*s*s-1)+l},easeInOutQuart:function(s,l,c,u){var d=c-l;return(s/=u/2)<1?d/2*s*s*s*s+l:-d/2*((s-=2)*s*s*s-2)+l},easeInQuint:function(s,l,c,u){return(c-l)*(s/=u)*s*s*s*s+l},easeOutQuint:function(s,l,c,u){return(c-l)*((s=s/u-1)*s*s*s*s+1)+l},easeInOutQuint:function(s,l,c,u){var d=c-l;return(s/=u/2)<1?d/2*s*s*s*s*s+l:d/2*((s-=2)*s*s*s*s+2)+l},easeInSine:function(s,l,c,u){var d=c-l;return-d*Math.cos(s/u*(Math.PI/2))+d+l},easeOutSine:function(s,l,c,u){return(c-l)*Math.sin(s/u*(Math.PI/2))+l},easeInOutSine:function(s,l,c,u){return-(c-l)/2*(Math.cos(Math.PI*s/u)-1)+l},easeInExpo:function(s,l,c,u){return s==0?l:(c-l)*Math.pow(2,10*(s/u-1))+l},easeOutExpo:function(s,l,c,u){var d=c-l;return s==u?l+d:d*(1-Math.pow(2,-10*s/u))+l},easeInOutExpo:function(s,l,c,u){var d=c-l;
433return s===0?l:s===u?l+d:(s/=u/2)<1?d/2*Math.pow(2,10*(s-1))+l:d/2*(2-Math.pow(2,-10*--s))+l},easeInCirc:function(s,l,c,u){return-(c-l)*(Math.sqrt(1-(s/=u)*s)-1)+l},easeOutCirc:function(s,l,c,u){return(c-l)*Math.sqrt(1-(s=s/u-1)*s)+l},easeInOutCirc:function(s,l,c,u){var d=c-l;return(s/=u/2)<1?-d/2*(Math.sqrt(1-s*s)-1)+l:d/2*(Math.sqrt(1-(s-=2)*s)+1)+l},easeInElastic:function(s,l,c,u){var d,f,h,p=c-l;return h=1.70158,s===0?l:(s/=u)==1?l+p:((f=0)||(f=.3*u),(d=p)<Math.abs(p)?(d=p,h=f/4):h=f/(2*Math.PI)*Math.asin(p/d),-d*Math.pow(2,10*(s-=1))*Math.sin((s*u-h)*(2*Math.PI)/f)+l)},easeOutElastic:function(s,l,c,u){var d,f,h,p=c-l;return h=1.70158,s===0?l:(s/=u)==1?l+p:((f=0)||(f=.3*u),(d=p)<Math.abs(p)?(d=p,h=f/4):h=f/(2*Math.PI)*Math.asin(p/d),d*Math.pow(2,-10*s)*Math.sin((s*u-h)*(2*Math.PI)/f)+p+l)},easeInOutElastic:function(s,l,c,u){var d,f,h,p=c-l;return h=1.70158,s===0?l:(s/=u/2)==2?l+p:((f=0)||(f=u*.44999999999999996),(d=p)<Math.abs(p)?(d=p,h=f/4):h=f/(2*Math.PI)*Math.asin(p/d),s<1?d*Math.pow(2,10*(s-=1))*Math.sin((s*u-h)*(2*Math.PI)/f)*-.5+l:d*Math.pow(2,-10*(s-=1))*Math.sin((s*u-h)*(2*Math.PI)/f)*.5+p+l)},easeInBack:function(s,l,c,u,d){return d===void 0&&(d=1.70158),(c-l)*(s/=u)*s*((d+1)*s-d)+l},easeOutBack:function(s,l,c,u,d){return d===void 0&&(d=1.70158),(c-l)*((s=s/u-1)*s*((d+1)*s+d)+1)+l},easeInOutBack:function(s,l,c,u,d){var f=c-l;return d===void 0&&(d=1.70158),(s/=u/2)<1?f/2*(s*s*((1+(d*=1.525))*s-d))+l:f/2*((s-=2)*s*((1+(d*=1.525))*s+d)+2)+l},easeInBounce:function(s,l,c,u){var d=c-l;return d-o.easeOutBounce(u-s,0,d,u)+l},easeOutBounce:function(s,l,c,u){var d=c-l;return(s/=u)<.36363636363636365?d*(7.5625*s*s)+l:s<.7272727272727273?d*(7.5625*(s-=.5454545454545454)*s+.75)+l:s<.9090909090909091?d*(7.5625*(s-=.8181818181818182)*s+.9375)+l:d*(7.5625*(s-=.9545454545454546)*s+.984375)+l},easeInOutBounce:function(s,l,c,u){var d=c-l;return s<u/2?.5*o.easeInBounce(2*s,0,d,u)+l:.5*o.easeOutBounce(2*s-u,0,d,u)+.5*d+l}};n.exports=o},function(n,i,a){n.exports=a(3)},function(n,i,a){a.r(i),a.d(i,"ReactConfetti",function(){return We});var o,s,l=a(0),c=a.n(l),u=a(1),d=a.n(u);function f(z,J){return z+Math.random()*(J-z)}function h(z,J){for(var j=0;j<J.length;j++){var q=J[j];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(z,q.key,q)}}function p(z,J,j){return J in z?Object.defineProperty(z,J,{value:j,enumerable:!0,configurable:!0,writable:!0}):z[J]=j,z}(function(z){z[z.Circle=0]="Circle",z[z.Square=1]="Square",z[z.Strip=2]="Strip"})(o||(o={})),function(z){z[z.Positive=1]="Positive",z[z.Negative=-1]="Negative"}(s||(s={}));var g=function(){function z(q,G,N,O){(function(ze,Se){if(!(ze instanceof Se))throw new TypeError("Cannot call a class as a function")})(this,z),p(this,"context",void 0),p(this,"radius",void 0),p(this,"x",void 0),p(this,"y",void 0),p(this,"w",void 0),p(this,"h",void 0),p(this,"vx",void 0),p(this,"vy",void 0),p(this,"shape",void 0),p(this,"angle",void 0),p(this,"angularSpin",void 0),p(this,"color",void 0),p(this,"rotateY",void 0),p(this,"rotationDirection",void 0),p(this,"getOptions",void 0),this.getOptions=G;var oe,Z,B=this.getOptions(),V=B.colors,de=B.initialVelocityX,Pe=B.initialVelocityY;this.context=q,this.x=N,this.y=O,this.w=f(5,20),this.h=f(5,20),this.radius=f(5,10),this.vx=typeof de=="number"?f(-de,de):f(de.min,de.max),this.vy=typeof Pe=="number"?f(-Pe,0):f(Pe.min,Pe.max),this.shape=(oe=0,Z=2,Math.floor(oe+Math.random()*(Z-oe+1))),this.angle=f(0,360)*Math.PI/180,this.angularSpin=f(-.2,.2),this.color=V[Math.floor(Math.random()*V.length)],this.rotateY=f(0,1),this.rotationDirection=f(0,1)?s.Positive:s.Negative}var J,j;return J=z,(j=[{key:"update",value:function(){var q=this.getOptions(),G=q.gravity,N=q.wind,O=q.friction,oe=q.opacity,Z=q.drawShape;this.x+=this.vx,this.y+=this.vy,this.vy+=G,this.vx+=N,this.vx*=O,this.vy*=O,this.rotateY>=1&&this.rotationDirection===s.Positive?this.rotationDirection=s.Negative:this.rotateY<=-1&&this.rotationDirection===s.Negative&&(this.rotationDirection=s.Positive);var B=.1*this.rotationDirection;if(this.rotateY+=B,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=oe,this.context.lineCap="round",this.context.lineWidth=2,Z&&typeof Z=="function")Z.call(this,this.context);else switch(this.shape){case o.Circle:this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break;case o.Square:this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break;case o.Strip:this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h)}
433this.context.closePath(),this.context.restore()}}])&&h(J.prototype,j),z}();function v(z,J,j){return J in z?Object.defineProperty(z,J,{value:j,enumerable:!0,configurable:!0,writable:!0}):z[J]=j,z}var m=function z(J,j){var q=this;(function(N,O){if(!(N instanceof O))throw new TypeError("Cannot call a class as a function")})(this,z),v(this,"canvas",void 0),v(this,"context",void 0),v(this,"getOptions",void 0),v(this,"x",0),v(this,"y",0),v(this,"w",0),v(this,"h",0),v(this,"lastNumberOfPieces",0),v(this,"tweenInitTime",Date.now()),v(this,"particles",[]),v(this,"particlesGenerated",0),v(this,"removeParticleAt",function(N){q.particles.splice(N,1)}),v(this,"getParticle",function(){var N=f(q.x,q.w+q.x),O=f(q.y,q.h+q.y);return new g(q.context,q.getOptions,N,O)}),v(this,"animate",function(){var N=q.canvas,O=q.context,oe=q.particlesGenerated,Z=q.lastNumberOfPieces,B=q.getOptions(),V=B.run,de=B.recycle,Pe=B.numberOfPieces,ze=B.debug,Se=B.tweenFunction,Me=B.tweenDuration;if(!V)return!1;var Ze=q.particles.length,_e=de?Ze:oe,at=Date.now();if(_e<Pe){Z!==Pe&&(q.tweenInitTime=at,q.lastNumberOfPieces=Pe);for(var rt=q.tweenInitTime,ut=Se(at-rt>Me?Me:Math.max(0,at-rt),_e,Pe,Me),Mt=Math.round(ut-_e),rr=0;rr<Mt;rr++)q.particles.push(q.getParticle());q.particlesGenerated+=Mt}return ze&&(O.font="12px sans-serif",O.fillStyle="#333",O.textAlign="right",O.fillText("Particles: ".concat(Ze),N.width-10,N.height-20)),q.particles.forEach(function(tt,nr){tt.update(
433),(tt.y>N.height||tt.y<-100||tt.x>N.width+100||tt.x<-100)&&(de&&_e<=Pe?q.particles[nr]=q.getParticle():q.removeParticleAt(nr))}),Ze>0||_e<Pe}),this.canvas=J;var G=this.canvas.getContext("2d");if(!G)throw new Error("Could not get canvas context");this.context=G,this.getOptions=j};function b(z,J){var j=Object.keys(z);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(z);J&&(q=q.filter(function(G){return Object.getOwnPropertyDescriptor(z,G).enumerable})),j.push.apply(j,q)}return j}function y(z){for(var J=1;J<arguments.length;J++){var j=arguments[J]!=null?arguments[J]:{};J%2?b(Object(j),!0).forEach(function(q){x(z,q,j[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(j)):b(Object(j)).forEach(function(q){Object.defineProperty(z,q,Object.getOwnPropertyDescriptor(j,q))})}return z}function w(z,J){for(var j=0;j<J.length;j++){var q=J[j];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(z,q.key,q)}}function x(z,J,j){return J in z?Object.defineProperty(z,J,{value:j,enumerable:!0,configurable:!0,writable:!0}):z[J]=j,z}var C={width:typeof window<"u"?window.innerWidth:300,height:typeof window<"u"?window.innerHeight:200,numberOfPieces:200,friction:.99,wind:0,gravity:.1,initialVelocityX:4,initialVelocityY:10,colors:["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#FF9800","#FF5722","#795548"],opacity:1,debug:!1,tweenFunction:d.a.easeInOutQuad,tweenDuration:5e3,recycle:!0,run:!0},T=function(){function z(q,G){var N=this;(function(oe,Z){if(!(oe instanceof Z))throw new TypeError("Cannot call a class as a function")})(this,z),x(this,"canvas",void 0),x(this,"context",void 0),x(this,"_options",void 0),x(this,"generator",void 0),x(this,"rafId",void 0),x(this,"setOptionsWithDefaults",function(oe){var Z={confettiSource:{x:0,y:0,w:N.canvas.width,h:0}};N._options=y(y(y({},Z),C),oe),Object.assign(N,oe.confettiSource)}),x(this,"update",function(){var oe=N.options,Z=oe.run,B=oe.onConfettiComplete,V=N.canvas,de=N.context;Z&&(de.fillStyle="white",de.clearRect(0,0,V.width,V.height)),N.generator.animate()?N.rafId=requestAnimationFrame(N.update):(B&&typeof B=="function"&&N.generator.particlesGenerated>0&&B.call(N,N),N._options.run=!1)}),x(this,"reset",function(){N.generator&&N.generator.particlesGenerated>0&&(N.generator.particlesGenerated=0,N.generator.particles=[],N.generator.lastNumberOfPieces=0)}),x(this,"stop",function(){N.options={run:!1},N.rafId&&(cancelAnimationFrame(N.rafId),N.rafId=void 0)}),this.canvas=q;var O=this.canvas.getContext("2d");if(!O)throw new Error("Could not get canvas context");this.context=O,this.generator=new m(this.canvas,function(){return N.options}),this.options=G,this.update()}var J,j;return J=z,(j=[{key:"options",get:function(){return this._options},set:function(q){var G=this._options&&this._options.run,N=this._options&&this._options.recycle;this.setOptionsWithDefaults(q),this.generator&&(Object.assign(this.generator,this.options.confettiSource),typeof q.recycle=="boolean"&&q.recycle&&N===!1&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),typeof q.run=="boolean"&&q.run&&G===!1&&this.update()}}])&&w(J.prototype,j),z}();function _(z){return function(J){if(Array.isArray(J))return M(J)}(z)||function(J){if(typeof Symbol<"u"&&Symbol.iterator in Object(J))return Array.from(J)}(z)||A(z)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
434In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function P(z){return(P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(J){return typeof J}:function(J){return J&&typeof Symbol=="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J})(z)}function F(){return(F=Object.assign||function(z){for(var J=1;J<arguments.length;J++){var j=arguments[J];for(var q in j)Object.prototype.hasOwnProperty.call(j,q)&&(z[q]=j[q])}return z}).apply(this,arguments)}function I(z,J){var j=Object.keys(z);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(z);J&&(q=q.filter(function(G){return Object.getOwnPropertyDescriptor(z,G).enumerable})),j.push.apply(j,q)}return j}function R(z){for(var J=1;J<arguments.length;J++){var j=arguments[J]!=null?arguments[J]:{};
434J%2?I(Object(j),!0).forEach(function(q){ke(z,q,j[q])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(j)):I(Object(j)).forEach(function(q){Object.defineProperty(z,q,Object.getOwnPropertyDescriptor(j,q))})}return z}function D(z,J){return function(j){if(Array.isArray(j))return j}(z)||function(j,q){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(j)))){var G=[],N=!0,O=!1,oe=void 0;try{for(var Z,B=j[Symbol.iterator]();!(N=(Z=B.next()).done)&&(G.push(Z.value),!q||G.length!==q);N=!0);}catch(V){O=!0,oe=V}finally{try{N||B.return==null||B.return()}finally{if(O)throw oe}}return G}}(z,J)||A(z,J)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
435In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function A(z,J){if(z){if(typeof z=="string")return M(z,J);var j=Object.prototype.toString.call(z).slice(8,-1);return j==="Object"&&z.constructor&&(j=z.constructor.name),j==="Map"||j==="Set"?Array.from(z):j==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j)?M(z,J):void 0}}function M(z,J){(J==null||J>z.length)&&(J=z.length);for(var j=0,q=new Array(J);j<J;j++)q[j]=z[j];return q}function X(z,J){if(!(z instanceof J))throw new TypeError("Cannot call a class as a function")}function Y(z,J){for(var j=0;j<J.length;j++){var q=J[j];q.enumerable=q.enumerable||!1,q.configurable=!0,"value"in q&&(q.writable=!0),Object.defineProperty(z,q.key,q)}}function se(z,J){return(se=Object.setPrototypeOf||function(j,q){return j.__proto__=q,j})(z,J)}function ne(z){var J=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}();return function(){var j,q=ce(z);if(J){var G=ce(this).constructor;j=Reflect.construct(q,arguments,G)}else j=q.apply(this,arguments);return ie(this,j)}}function ie(z,J){return!J||P(J)!=="object"&&typeof J!="function"?ae(z):J}function ae(z){if(z===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return z}function ce(z){return(ce=Object.setPrototypeOf?Object.getPrototypeOf:function(J){return J.__proto__||Object.getPrototypeOf(J)})(z)}function ke(z,J,j){return J in z?Object.defineProperty(z,J,{value:j,enumerable:!0,configurable:!0,writable:!0}):z[J]=j,z}var ge=c.a.createRef(),De=function(z){(function(N,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(O&&O.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),O&&se(N,O)})(G,z);var J,j,q=ne(G);function G(N){var O;X(this,G);for(var oe=arguments.length,Z=new Array(oe>1?oe-1:0),B=1;B<oe;B++)Z[B-1]=arguments[B];return ke(ae(O=q.call.apply(q,[this,N].concat(Z))),"canvas",c.a.createRef()),ke(ae(O),"confetti",void 0),O.canvas=N.canvasRef||ge,O}return J=G,(j=[{key:"componentDidMount",value:function(){if(this.canvas.current){var N=Ne(this.props)[0];this.confetti=new T(this.canvas.current,N)}}},{key:"componentDidUpdate",value:function(){var N=Ne(this.props)[0];this.confetti&&(this.confetti.options=N)}},{key:"componentWillUnmount",value:function(){this.confetti&&this.confetti.stop(),this.confetti=void 0}},{key:"render",value:function(){var N=D(Ne(this.props),2),O=N[0],oe=N[1],Z=R({zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0},oe.style);return c.a.createElement("canvas",F({width:O.width,height:O.height,ref:this.canvas},oe,{style:Z}))}}])&&Y(J.prototype,j),G}(l.Component);function Ne(z){var J={},j={},q=[].concat(_(Object.keys(C)),["confettiSource","drawShape","onConfettiComplete"]),G=["canvasRef"];for(var N in z){var O=z[N];q.includes(N)?J[N]=O:G.includes(N)?G[N]=O:j[N]=O}return[J,j,{}]}ke(De,"defaultProps",R({},C)),ke(De,"displayName","ReactConfetti");var We=c.a.forwardRef(function(z,J){return c.a.createElement(De,F({canvasRef:J},z))});i.default=We}]).default})})(cce);var Pat=cce.exports;const Aat=fc(Pat),Oat="/assets/onboarding-checklist-completed-modal-banner-DSnqVQa8.gif",Iat="/assets/onboarding-checklist-completed-modal-banner-BM6xZ0sl.webp",Rat=bt(Aat,{target:"ea8xmdy0"})({name:"zdou4x",styles:"z-index:var(--p-z-11)!important;width:100%;height:100%"}),Fat=[pa.buy_shipment,pa.buy_shopify_shipment],Dat=({itemId:e,onClose:t})=>{const{t:r}=jt(),n=sp(),i=k.useCallback(()=>{n(Re.dashboard()),t(),Da.track({event:"onboarding_checklist_item_success_popup_cta_clicked",properties:{is_checklist_completed:!1}})},[n,t]),a=k.useCallback(()=>{n(Re.downloadAndPrintShipmentLabels()),t(),Da.track({event:"onboarding_checklist_item_success_popup_cta_clicked",properties:{is_checklist_completed:!0}})},[n,t]),o=k.useCallback(()=>{t(),Da.track({event:"onboarding_checklist_item_success_popup_skipped",properties:void 0})},[t]);k.useEffect(()=>(document.body.style.overflow="hidden",()=>{document.body.style.overflow=""}));const s=k.useMemo(()=>Zi(Oat,{t:Date.now()}),[]),l=k.useMemo(()=>Zi(Iat,{t:Date.now()}),[]),[c]=wtt(5e3),u=xtt();return Te(ei,{children:[E(Rat,{width:u.width/2,height:u.height/2,numberOfPieces:50,recycle:!c()}),Te(ji,{titleHidden:!0,title:"",open:!0,onClose:u0,children:[Te("picture",{children:[E("source",{type:"image/webp",srcSet:l,width:"100%"}),E("img",{src:s,width:"100%",alt:"Onboarding checklist completed modal banner"})]}),Te(ji.Section,{children:[qt(e).with("all_completed",()=>E(qe,{as:"p",variant:"headingMd",alignment:"center",children:E(Go,{i18nKey:"onboarding.checklist.completedModal.titleAll",components:{br:E("br",{})}})})).otherwise(()=>Te(ei,{children:[E(qe,{as:"p",variant:"bodyLg",color:"subdued",alignment:"center",children:r("onboarding.checklist.completedModal.title")}),E(qe,{as:"h2",variant:"headingLg",alignment:"center",children:r(`onboarding.checklist.items.${fs(e)}.name`)})]})),E(Qr,{heightSpace:"5"}),qt(e).with(pa.buy_shipment,pa.buy_shopify_shipment,()=>E(qe,{as:"p",variant:"bodyLg",alignment:"center",color:"subdued",children:E(Go,{i18nKey:"onboarding.checklist.completedModal.nextStep",components:{br:E("br",{})}})})).with("all_completed",()=>E(qe,{as:"p",variant:"bodyLg",alignment:"center",color:"subdued",children:r("onboarding.checklist.completedModal.nextStepPrintLabel")})).otherwise(()=>null)]}),E(ji.Section,{subdued:!0,children:Te(je,{alignment:"center",children:[E(je.Item,{fill:!0,children:E(RS,{monochrome:!0,onClick:o,children:r("onboarding.checklist.completedModal.doLater")})}),E(je.Item,{children:qt(e).with(pa.buy_shipment,pa.buy_shopify_shipment,()=>E(vr,{primary:!0,onClick:i,children:r("onboarding.checklist.completedModal.home")})).with("all_completed",()=>E(vr,{primary:!0,onClick:a,children:r("onboarding.checklist.completedModal.toPrintLabel")})).otherwise(()=>"")})]})})]})]})},Nat=2,uce=k.createContext({checklist:null,shouldShow:!1,refetch:()=>Promise.resolve(),completeItem:()=>Promise.resolve()}),Mat=({children:e})=>{const{t}=jt(),{userOrganization:r,userOrgConfigs:n}=Nr(),{data:i,refetch:a}=Nje(r==null?void 0:r.id,{query:{enabled:!!r}}),{mutateAsync:o}=Bje(),[s,l]=k.useState(null),c=k.useCallback(()=>
435{l(null)},[]),u=k.useMemo(()=>{const d=i==null?void 0:i.checklist;function f(h){return{...h,name:t(`onboarding.checklist.items.${fs(h.id)}.name`),url:qt(h.id).with(pa.setup_default_packaging,()=>Re.settings({tab:an.PACKAGINGS})).with(pa.setup_default_sender_address,()=>Re.settings({tab:an.ADDRESSES})).with(pa.connect_shopify,()=>Re.connectShopifyStore()).with(pa.buy_shopify_shipment,pa.create_shipment,pa.buy_shipment,()=>Re.draftShipments({tab:Wv.IN_PROGRESS})).with(pa.get_quick_quote,()=>Re.quotation()).otherwise(()=>{}),expectedMins:qt(h.id).with(pa.connect_shopify,pa.get_quick_quote,pa.buy_shipment,()=>1).with(pa.create_shipment,pa.buy_shopify_shipment,()=>5).otherwise(()=>{})}}return{checklist:d?{isAllCompleted:d.progressPercentage===100,progressPercentage:d.progressPercentage,items:d.items.map(h=>qt(h).with({type:m3.group},p=>{const g=p;return{...g,name:t(`onboarding.checklist.itemGroups.${fs(p.id)}.name`),children:g.children.map(f),expectedMins:qt(g.id).with("setup_defaults",()=>1).otherwise(()=>{})}}).with({type:m3.item},p=>f(p)).exhaustive())}:null,shouldShow:!!(!(n!=null&&n.isHideOnboardingChecklist)&&d&&(!d.completedAt||Math.abs(Zt.fromISO(d.completedAt).diffNow("days").days)<=Nat)),refetch:async()=>{await a()},completeItem:async h=>{var m,b;if(!(r!=null&&r.id)||!(i!=null&&i.checklist))return;const p=i.checklist.items.flatMap(y=>y.type===m3.group?y.children:y).find(y=>y.id===h);if(i.checklist.completedAt||!p||p.isCompleted)return;const g=await o({orgId:r.id,itemId:h}),v=await a();g.isItemJustCompleted&&(((b=(m=v.data)==null?void 0:m.checklist)==null?void 0:b.progressPercentage)===100?l({itemId:"all_completed"}):Fat.includes(g.itemId)&&l({itemId:g.itemId}))}}},[o,i==null?void 0:i.checklist,a,t,n==null?void 0:n.isHideOnboardingChecklist,r==null?void 0:r.id]);return Te(uce.Provider,{value:u,children:[s&&(i==null?void 0:i.checklist)&&E(Dat,{itemId:s.itemId,onClose:c}),e]})},Kkt=()=>k.useContext(uce),dce=k.createContext(null),Lat=({children:e})=>{const[t,r]=k.useState([]),n=k.useMemo(()=>({shipments:t,setShipments:r}),[t]);return E(dce.Provider,{value:n,children:e})},Zkt=()=>{const e=k.useContext(dce);if(e===null)throw new Error("useToBulkBuyShipmentsContext must be used within ToBulkBuyShipmentsContextProvider");return e},fce=k.createContext(null),Bat=({children:e})=>{const[t,r]=k.useState([]),[n,i]=k.useState(0),{userOrganization:a}=Nr(),{data:o,isLoading:s,mutateAsync:l}=UWe(),c=k.useCallback(async()=>{await l({orgId:(a==null?void 0:a.id)??"empty",data:{shipmentIds:t.map(d=>d.id)}}),i(0)},[l,t,a==null?void 0:a.id]);k.useEffect(()=>{a!=null&&a.id&&t.length>0&&c()},[c,t.length,a==null?void 0:a.id]);const u=k.useMemo(()=>({shipments:t,setShipments:r,bulkScheduleTimeSlots:o,isFetchingBulkScheduleTimeSlots:s,isBulkScheduleTimeSlotsFetched:!!o,refetchBulkScheduleTimeSlots:async()=>{await c()},currentSchedulingBatchIdx:n,nextSchedulingBatch:()=>{i(n+1)}}),[t,o,s,n,c]);return E(fce.Provider,{value:u,children:e})},Ykt=()=>{const e=k.useContext(fce);if(e===null)throw new Error("ToBulkSchedulePickupContext is not initialized");return e},hce=k.createContext(null),Uat=({children:e})=>{const[t,r]=k.useState([]),n=k.useMemo(()=>({shipmentIds:t,setShipmentIds:r}),[t]);return E(hce.Provider,{value:n,children:e})},$kt=()=>{const e=k.useContext(hce);if(e===null)throw new Error("useToBulkValidateAddressesContext must be used within ToBulkValidateAddressesContextProvider");return e},pce=k.createContext(null),zat=({children:e})=>{const[t,r]=k.useState([]),n=k.useMemo(()=>({fulfillmentOrderIds:t,setFulfillmentOrderIds:r}),[t]);return E(pce.Provider,{value:n,children:e})},Xkt=()=>{const e=k.useContext(pce);if(e===null)throw new Error("useToBulkValidateFulfillmentOrderAddressesContext must be used within ToBulkValidateFulfillmentOrderAddressesContextProvider");return e},Hat="/assets/error-page-background-CWeEucV1.jpg",qat="data:image/svg+xml,%3csvg%20width='226'%20height='226'%20viewBox='0%200%20226%20226'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cline%20x1='59.437'%20y1='72.0622'%20x2='47.3127'%20y2='79.0622'%20stroke='%2317F082'%20stroke-width='4'/%3e%3cline%20x1='56.8617'%20y1='81.632'%20x2='49.8617'%20y2='69.5076'%20stroke='%2317F082'%20stroke-width='4'/%3e%3cline%20x1='62.4365'%20y1='116.062'%20x2='50.3122'%20y2='123.062'%20stroke='%2317F082'%20stroke-width='4'/%3e%3cline%20x1='59.8612'%20y1='125.632'%20x2='52.8612'%20y2='113.508'%20stroke='%2317F082'%20stroke-width='4'/%3e%3cline%20x1='150.437'%20y1='60.0622'%20x2='138.313'%20y2='67.0622'%20stroke='%2317F082'%20stroke-width='4'/%3e%3cline%20x1='147.862'%20y1='69.632'%20x2='140.862'%20y2='57.5076'%20stroke='%2317F082'%20stroke-width='4'/%3e%3c/svg%3e",Wat="data:image/svg+xml,%3csvg%20width='226'%20height='226'%20viewBox='0%200%20226%20226'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='159.224'%20cy='159.205'%20r='8.30738'%20transform='rotate(167.184%20159.224%20159.205)'%20fill='%23F6F6F7'/%3e%3ccircle%20cx='150.254'%20cy='154.551'%20r='6.52722'%20transform='rotate(167.184%20150.254%20154.551)'%20fill='%23F6F6F7'/%3e%3ccircle%20cx='151.913'%20cy='164.519'%20r='8.30738'%20transform='rotate(167.184%20151.913%20164.519)'%20fill='%23F6F6F7'/%3e%3ccircle%20cx='157.571'%20cy='176.011'%20r='13.6478'%20transform='rotate(167.184%20157.571%20176.011)'%20fill='%23F6F6F7'/%3e%3ccircle%20cx='172.748'%20cy='186.555'%20r='10.6809'%20transform='rotate(167.184%20172.748%20186.555)'%20fill='%23F6F6F7'/%3e%3ccircle%20cx='165.333'%20cy='196.761'%20r='10.6809'%20transform='rotate(167.184%20165.333%20196.761)'%20fill='%23F6F6F7'/%3e%3ccircle%20cx='169.957'%20cy='168.934'%20r='11.8677'%20transform='rotate(167.184%20169.957%20168.934)'%20fill='%23F6F6F7'/%3e%3cpath%20d='M75.7646%20135.892L85.4703%20111.151C86.6748%20112.965%2087.8862%20114.618%2089.0838%20116.592C90.581%20119.059%2094.3408%20124.827%2096.4572%20127.801C98.1503%20130.18%20104.676%20137.978%20107.727%20141.579L101.274%20172.708L75.7646%20135.892Z'%20fill='%23F6F6F7'%20stroke='black'%20stroke-width='7'/%3e%3cpath%20d='M158.086%2099.023L133.165%2089.7903C133.716%2091.8966%20134.143%2093.9015%20134.818%2096.1093C135.662%2098.8689%20137.462%20105.515%20138.272
435%20109.074C138.919%20111.921%20140.392%20121.982%20141.048%20126.656L168.568%20142.569L158.086%2099.023Z'%20fill='%23F6F6F7'%20stroke='black'%20stroke-width='7'/%3e%3cpath%20d='M74.9017%2024.5024C57.4736%2072.8306%2089.6083%20122.652%20107.854%20141.522L140.266%20127.006C138.337%20100.828%20122.563%2043.6792%2074.9017%2024.5024Z'%20fill='white'%20stroke='black'%20stroke-width='6'/%3e%3cpath%20d='M97.3696%20128.961L137.877%20110.82'%20stroke='%2317F082'%20stroke-width='7'/%3e%3cpath%20d='M74.9017%2024.5024C57.4736%2072.8306%2089.6083%20122.652%20107.854%20141.522L140.266%20127.006C138.337%20100.828%20122.563%2043.6792%2074.9017%2024.5024Z'%20stroke='black'%20stroke-width='7'/%3e%3cpath%20d='M74.9023%2024.5023C71.3211%2034.4331%2069.8326%2044.427%2069.8864%2054.2025L100.401%2040.536C93.1435%2033.9869%2084.6962%2028.4429%2074.9023%2024.5023Z'%20fill='%2317F082'%20stroke='black'%20stroke-width='7'/%3e%3ccircle%20cx='96.5548'%20cy='72.8496'%20r='11.8175'%20transform='rotate(-24.126%2096.5548%2072.8496)'%20fill='%23F6F6F7'%20stroke='black'%20stroke-width='5'/%3e%3cpath%20d='M108.732%2099.1638L135.214%20158.291'%20stroke='black'%20stroke-width='7'/%3e%3ccircle%20r='6.54521'%20transform='matrix(0.999999%200.00165235%200.00165235%20-0.999999%20122.771%20175.312)'%20fill='%23F6F6F7'/%3e%3ccircle%20r='5.14266'%20transform='matrix(0.999999%200.00165235%200.00165235%20-0.999999%20128.858%20170.179)'%20fill='%23F6F6F7'/%3e%3ccircle%20r='6.54521'%20transform='matrix(0.999999%200.00165235%200.00165235%20-0.999999%20129.312%20178.128)'%20fill='%23F6F6F7'/%3e%3ccircle%20r='10.7528'%20transform='matrix(0.999999%200.00165235%200.00165235%20-0.999999%20126.958%20187.941)'%20fill='%23F6F6F7'/%3e%3ccircle%20r='8.41526'%20transform='matrix(0.999999%200.00165235%200.00165235%20-0.999999%20117.123%20198.678)'%20fill='%23F6F6F7'/%3e%3ccircle%20r='8.41526'%20transform='matrix(0.999999%200.00165235%200.00165235%20-0.999999%20124.592%20205.236)'%20fill='%23F6F6F7'/%3e%3ccircle%20r='9.35029'%20transform='matrix(0.999999%200.00165235%200.00165235%20-0.999999%20116.211%20184.651)'%20fill='%23F6F6F7'/%3e%3c/svg%3e",Vat=bt("img",{target:"e1dba0oe8"})({name:"12901g9",styles:"position:absolute;top:0;left:0;height:100%;width:100%;object-fit:cover;pointer-events:none"}),jat=bt("div",{target:"e1dba0oe7"})({name:"1vh9yw0",styles:"position:absolute;left:0%;right:0%;top:0%;bottom:0%;background:rgba(0, 0, 0, 0.05);opacity:0.7;backdrop-filter:blur(50px)"}),Gat=Z0e`
436    10%, 90% {
437        transform: translate3d(-1px, 0, 0) rotate(1deg);
438    }
439
440    20%, 80% {
441        transform: translate3d(2px, 0, 0) rotate(-2deg);
442    }
443
444    30%, 50%, 70% {
445        transform: translate3d(-4px, 0, 0) rotate(4deg);
446    }
447
448    40%, 60% {
449        transform: translate3d(4px, 0, 0) rotate(-4deg);
450    }
451`,Kat=bt("div",{target:"e1dba0oe6"})({name:"rqokzi",styles:"padding:0 var(--p-space-8);.Polaris-EmptyState{position:relative;padding-top:var(--p-space-10);.Polaris-EmptyState__Image{display:none;}}"}),Zat=bt("div",{target:"e1dba0oe5"})({name:"as7a2d",styles:"position:relative;height:226px;width:226px;margin:auto"}),mce=bt("img",{target:"e1dba0oe4"})({name:"jhcgfe",styles:"position:absolute;top:0;left:0;height:226px;width:226px"}),Yat=bt(mce,{target:"e1dba0oe3"})("animation:",Gat," 10s var(--p-ease) infinite;"),$at=bt("div",{target:"e1dba0oe2"})({name:"1rjoe6s",styles:"color:var(--pro-p-focused)"}),UK=bt("div",{target:"e1dba0oe1"})({name:"a4vz16",styles:"color:var(--p-text-on-primary)"}),Xat=bt("a",{target:"e1dba0oe0"})({name:"a4vz16",styles:"color:var(--p-text-on-primary)"}),Qat=()=>{const{t:e}=jt();return E(Eee,{children:E(Pv,{children:Te(Pv.Section,{children:[E(Vat,{src:Hat}),E(jat,{}),E(Kat,{children:Te(pP,{image:"",action:{content:e("pages.genericErrorPage.actions.refreshPage"),onAction:()=>window.location.reload()},children:[Te(Zat,{children:[E(mce,{src:qat}),E(Yat,{src:Wat})]}),Te(nx,{children:[E(qe,{as:"h1",variant:"heading4xl",children:E($at,{children:e("pages.genericErrorPage.t
451itle")})}),E(qe,{as:"h2",variant:"headingMd",children:E(UK,{children:e("pages.genericErrorPage.description1")})}),E(qe,{as:"h2",variant:"headingMd",children:E(UK,{children:E(Go,{i18nKey:"pages.genericErrorPage.description2",components:{a:E(Xat,{href:"mailto:[email protected]",target:"_blank",rel:"noreferrer","aria-label":"[email protected]"})}})})})]})]})})]})})})},Jat=()=>E(Qat,{}),eot=()=>Te(e8,{fallback:Jat,children:[E(Eat,{}),E(QXe,{children:E(qMe,{children:E(Lat,{children:E(Uat,{children:E(zat,{children:E(Bat,{children:E(BKe,{children:E(Ftt,{children:E(Itt,{children:E(ztt,{children:E(Ztt,{children:E(Mat,{children:E(Cat,{children:Te(kat,{children:[E(k.Suspense,{fallback:E(N5,{}),children:E(Pb,{})}),E(_at,{})]})})})})})})})})})})})})})})]});var tot={name:"7nnyz9",styles:"margin:0;border:var(--p-border-width-2) solid var(--p-accent);background-color:var(--p-surface-selected)"};const rot=bt("div",{target:"e1qctmh81"})(".Polaris-Choice{display:block;padding:var(--p-space-4);border-radius:var(--p-border-radius-1);margin:1px;border:var(--p-border-width-1) solid var(--p-divider);",({$isChecked:e})=>e?tot:""," &.Polaris-Choice--disabled{background-color:var(--p-surface-disabled);}.Polaris-Choice__Control{display:none;}}"),not=bt("div",{target:"e1qctmh80"})({name:"185mo3e",styles:"text-align:center;white-space:pre-wrap"}),iot=({name:e,options:t,selected:r,disabled:n,gap:i,columnSpan:a,onChange:o})=>{const s=k.useCallback((l,c)=>{o(c)},[o]);return E(_o,{gap:i,columns:{md:12,sm:12},children:t.map(l=>{const c=r===l.value;return E(_o.Cell,{columnSpan:a,children:E(rot,{$isChecked:c,children:E(ree,{label:Te(je,{vertical:!0,spacing:"baseTight",alignment:"center",children:[l.icon&&E(je.Item,{children:E(vd,{width:"40px",children:l.icon})}),E(je.Item,{children:E(not,{children:E(qe,{as:"p",variant:c?"headingSm":"bodyMd",children:l.label})})})]}),disabled:n&&!c,checked:c,name:e,id:l.value,onChange:s})})})})})};var aot={name:"7nnyz9",styles:"margin:0;border:var(--p-border-width-2) solid var(--p-accent);background-color:var(--p-surface-selected)"};const oot=bt("div",{target:"ev2am930"})(".Polaris-Choice{display:flex;flex-direction:row-reverse;align-items:center;padding:var(--p-space-2) var(--p-space-4);border-radius:var(--p-border-radius-1);margin:1px;border:var(--p-border-width-1) solid var(--p-divider);",({$isChecked:e})=>e?aot:""," .Polaris-Choice__Label{margin-right:auto;.Polaris-Text--root{font-weight:var(--p-font-weight-semibold);}.Polaris-Stack>.Polaris-Stack__Item{line-height:0;}}&.Polaris-Choice--disabled{background-color:var(--p-surface-disabled);}}"),sot=({title:e,requiredIndicator:t,name:r,options:n,selected:i,disabled:a,onChange:o})=>{const s=k.useCallback((l,c)=>{o(c)},[o]);return Te(je,{vertical:!0,spacing:"tight",children:[e&&E(dP,{id:e,requiredIndicator:t,children:E(qe,{as:"span",variant:"bodyMd",fontWeight:"bold",children:e})}),n.map(l=>{const c=i===l.value;return E(oot,{$isChecked:c,children:E(ree,{label:Te(je,{spacing:"tight",alignment:"center",children:[l.icon&&E(je.Item,{children:E(vd,{width:"40px",children:l.icon})}),E(je.Item,{children:l.label})]}),disabled:a,checked:c,name:r,id:l.value,onChange:s})},l.value)})]})},gce=({orientation:e="vertical",...t})=>qt(e).with("horizontal",()=>E(iot,{...t})).with("vertical",()=>E(sot,{...t})).exhaustive(),lot=bt("div",{target:"e15014mc0"})({name:"qlsd2o",styles:".Polaris-TextField__Spinner{display:none;}"}),cot=e=>/^(\d*)$/.test(e)?e:e.split(".")[0],uot=e=>{if(/^(\d*\.?\d{0,2})$/.test(e))return e;const[r,n]=e.split(".");return Jl(r)||Jl(n)?e:n.trim().length>2?`${r}.${n.trim().slice(0,2)}`:e},zK=e=>{const t=parseFloat(e);return e===t.toString()?t:e},Fl=k.forwardRef(({value:e,onChange:t,type:r,...n},i)=>{const a=`${e??""}`,o=k.useRef(null);return k.useEffect(()=>{var c;const s=u=>u.preventDefault(),l=o.current;return(c=l==null?void 0:l.querySelector("input"))==null||c.addEventListener("wheel",s),()=>{var u;(u=l==null?void 0:l.querySelector("input"))==null||u.removeEventListener("wheel",s)}},[o]),E(lot,{ref:i,children:E("div",{ref:o,children:qt(r).with("integer",()=>E(bi,{...n,value:a,onChange:Jz(cot,zK,t),step:1,type:"number",inputMode:"numeric"})).with("two-decimal",()=>
451E(bi,{...n,value:a,onChange:Jz(uot,zK,t),step:.01,type:"number",inputMode:"decimal"})).exhaustive()})})}),RD="/assets/add-wro-item-carton-MsfZ1i5Q.svg",dot="data:image/svg+xml,%3csvg%20width='149'%20height='171'%20viewBox='0%200%20149%20171'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Download%20&%2338;%20Print'%3e%3cg%20id='Group'%3e%3cpath%20id='Vector'%20d='M125.009%20101.213H55.3364V115.75H125.009V101.213Z'%20fill='%2317F082'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_2'%20d='M20.4998%2078.3484V92.8665L37.9178%20104.299L55.3359%20115.731'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_3'%20d='M20.4998%2078.3484L55.3359%20101.213H125.008L90.172%2078.3484'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_4'%20d='M110.025%2062.1946L90.172%2078.3486H39.4421'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_5'%20d='M20.4998%2078.3485L55.3359%2050H125.008'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_6'%20d='M62.7349%2062.1946H117.61'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_7'%20d='M34.8511%2082.0851L54.0537%2066.4517'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_8'%20d='M102.869%20101.213L90.1724%2092.8
451667H42.6399'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_9'%20d='M90.1719%2092.8665V78.3484'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_10'%20d='M55.3364%2050L62.7349%2062.1945'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_11'%20d='M125.009%2050L117.61%2062.1945'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_12'%20d='M55.3356%2050L54.053%2066.4514'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_13'%20d='M20.4998%2078.3484L34.8506%2082.0848'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_14'%20d='M104.523%2082.0851L123.707%2066.4517'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_15'%20d='M125.008%2050L123.707%2066.4514'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20id='Vector_16'%20d='M90.1719%2078.3484L104.523%2082.0848'%20stroke='black'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",vce="/assets/add-wro-item-product-DHaF_bNJ.svg";function md(e){if(e==null)throw new Error("Value is empty")}const fot=()=>E(Y8,{size:20}),hot=()=>E(lle,{size:20}),pot=bt("div",{target:"e1enhun42"})({name:"16o74hf",styles:"&>button{margin-right:1rem!important;&:last-child{margin-right:0!important;}}"}),Z3=bt("div",{target:"e1enhun41"})({name:"1e17bzi",styles:"display:flex;align-items:flex-start;flex-direction:column"}),FD=bt("div",{target:"e1enhun40"})("margin:0.5rem 0;height:2.5rem;line-height:",({lineHeight:e})=>e??"1rem",";"),mot=({productId:e,orgId:t})=>{const{data:r}=dA(t??"",e);return r?Te(FD,{children:[Te(qe,{as:"span",variant:"bodyMd",color:"subdued",children:[r.sku," -"]}),r.name,E("br",{}),Te(qe,{as:"span",variant:"bodySm",color:"subdued",children:["Barcode: ",r.barcode??"-"]})]}):null},got=({mode:e,carton:t,onEdit:r,onDelete:n,position:i,inventoryType:a})=>{const{userOrganization:o}=Nr();return Te(Ro.Row,{id:`${i}`,position:i,children:[E(Ro.Cell,{children:t.qty}),E(Ro.Cell,{children:E(Z3,{children:t.items.map(s=>E(mot,{productId:s.productId,orgId:o==null?void 0:o.id},s.productId))})}),E(Ro.Cell,{children:E(Z3,{children:t.items.map(s=>{var l;return E(FD,{lineHeight:"2.5rem",children:a===Ai.b2b?((l=s.product)==null?void 0:l.cartonItemQty)??"-":s.expectedQtyPerCarton??"-"})})})}),E(Ro.Cell,{children:E(Z3,{children:t.items.map(s=>E(FD,{lineHeight:"2.5rem",children:s.expectedQtyPerCarton?s.expectedQtyPerCarton*t.qty:s.expectedQty??"-"}))})}),e==="edit"&&E(Ro.Cell,{children:Te(pot,{children:[E(vr,{plain:!0,icon:hot,onClick:r}),E(vr,{plain:!0,icon:fot,onClick:n})]})})]})},vot=({inventoryType:e,cartons:t,onCartonEdit:r=()=>{},onCartonDelete:n=()=>{},mode:i="view"})=>{const{t:a}=jt(),o=k.useMemo(()=>{const l=[{title:a("pages.warehouseReceivingOrder.cartonsTable.heading.cartonQty")},{title:a("pages.warehouseReceivingOrder.cartonsTable.heading.skuProducts")},{title:a("pages.warehouseReceivingOrder.cartonsTable.heading.qtyPerCarton")}];return i==="edit"&&l.push({title:""}),l},[a,i]),s=k.useMemo(()=>t.reduce((l,c)=>l+c.items.reduce((u,d)=>{var f;return u+(e===Ai.b2b?((f=d.product)==null?void 0:f.cartonItemQty)??0:d.expectedQtyPerCarton??0)*c.qty},0),0),[t,e]);return Te(Ro,{selectable:!1,itemCount:t.length,headings:o,children:[t.map((l,c)=>E(got,{mode:i,carton:l,onEdit:()=>r(c),onDelete:()=>n(c),position:c,inventoryType:e},c)),Te(Ro.Row,{id:"summary",position:t.length+1,children:[E(Ro.Cell,{children:t.reduce((l,c)=>l+c.qty,0)}),E(Ro.Cell,{}),E(Ro.Cell,{}),E(Ro.Cell,{children:s}),i==="edit"&&E(Ro.Cell,{})]})]})};function NC(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var yce={exports:{}};/*!
452
453JSZip v3.10.1 - A JavaScript class for generating and reading zip files
454<http://stuartk.com/jszip>
455
vendor: 4,668 bytes, lines 456-461
456(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
457Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
458
459JSZip uses the library pako released under the MIT license :
460https://github.com/nodeca/pako/blob/main/LICENSE
461*/(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,i,a){function o(c,u){if(!i[c]){if(!n[c]){var d=typeof NC=="function"&&NC;if(!u&&d)return d(c,!0);if(s)return s(c,!0);var f=new Error("Cannot find module '"+c+"'");throw f.code="MODULE_NOT_FOUND",f}var h=i[c]={exports:{}};n[c][0].call(h.exports,function(p){var g=n[c][1][p];return o(g||p)},h,h.exports,r,n,i,a)}return i[c].exports}for(var s=typeof NC=="function"&&NC,l=0;l<a.length;l++)o(a[l]);return o}({1:[function(r,n,i){var a=r("./utils"),o=r("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";i.encode=function(l){for(var c,u,d,f,h,p,g,v=[],m=0,b=l.length,y=b,w=a.getTypeOf(l)!=="string";m<l.length;)y=b-m,d=w?(c=l[m++],u=m<b?l[m++]:0,m<b?l[m++]:0):(c=l.charCodeAt(m++),u=m<b?l.charCodeAt(m++):0,m<b?l.charCodeAt(m++):0),f=c>>2,h=(3&c)<<4|u>>4,p=1<y?(15&u)<<2|d>>6:64,g=2<y?63&d:64,v.push(s.charAt(f)+s.charAt(h)+s.charAt(p)+s.charAt(g));return v.join("")},i.decode=function(l){var c,u,d,f,h,p,g=0,v=0,m="data:";if(l.substr(0,m.length)===m)throw new Error("Invalid base64 input, it looks like a data url.");var b,y=3*(l=l.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(l.charAt(l.length-1)===s.charAt(64)&&y--,l.charAt(l.length-2)===s.charAt(64)&&y--,y%1!=0)throw new Error("Invalid base64 input, bad content length.");for(b=o.uint8array?new Uint8Array(0|y):new Array(0|y);g<l.length;)c=s.indexOf(l.charAt(g++))<<2|(f=s.indexOf(l.charAt(g++)))>>4,u=(15&f)<<4|(h=s.indexOf(l.charAt(g++)))>>2,d=(3&h)<<6|(p=s.indexOf(l.charAt(g++))),b[v++]=c,h!==64&&(b[v++]=u),p!==64&&(b[v++]=d);return b}},{"./support":30,"./utils":32}],2:[function(r,n,i){var a=r("./external"),o=r("./stream/DataWorker"),s=r("./stream/Crc32Probe"),l=r("./stream/DataLengthProbe");function c(u,d,f,h,p){this.compressedSize=u,this.uncompressedSize=d,this.crc32=f,this.compression=h,this.compressedContent=p}c.prototype={getContentWorker:function(){var u=new o(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),d=this;return u.on("end",function(){if(this.streamInfo.data_length!==d.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),u},getCompressedWorker:function(){return new o(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},c.createWorkerFrom=function(u,d,f){return u.pipe(new s).pipe(new l("uncompressedSize")).pipe(d.compressWorker(f)).pipe(new l("compressedSize")).withStreamInfo("compression",d)},n.exports=c},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(r,n,i){var a=r("./stream/GenericWorker");i.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},i.DEFLATE=r("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(r,n,i){var a=r("./utils"),o=function(){for(var s,l=[],c=0;c<256;c++){s=c;for(var u=0;u<8;u++)s=1&s?3988292384^s>>>1:s>>>1;l[c]=s}return l}();n.exports=function(s,l){return s!==void 0&&s.length?a.getTypeOf(s)!=="string"?function(c,u,d,f){var h=o,p=f+d;c^=-1;for(var g=f;g<p;g++)c=c>>>8^h[255&(c^u[g])];return-1^c}(0|l,s,s.length,0):function(c,u,d,f){var h=o,p=f+d;c^=-1;for(var g=f;g<p;g++)c=c>>>8^h[255&(c^u.charCodeAt(g))];return-1^c}(0|l,s,s.length,0):0}},{"./utils":32}],5:[function(r,n,i){i.base64=!1,i.binary=!1,i.dir=!1,i.createFolders=!0,i.date=null,i.compression=null,i.compressionOptions=null,i.comment=null,i.unixPermissions=null,i.dosPermissions=null},{}],6:[function(r,n,i){var a=null;a=typeof Promise<"u"?Promise:r("lie"),n.exports={Promise:a}},{lie:37}],7:[function(r,n,i){var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",o=r("pako"),s=r("./utils"),l=r("./stream/GenericWorker"),c=a?"uint8array":"array";function u(d,f){l.call(this,"FlateWorker/"+d),this._pako=null,this._pakoAction=d,this._pakoOptions=f,this.meta={}}i.magic="\b\0",s.inherits(u,l),u.prototype.processChunk=function(d){this.meta=d.meta,this._pako===null&&this._createPako(),this._pako.push(s.transformTo(c,d.data),!1)},u.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)}
vendor: 4,789 bytes, lines 461-462
461,u.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var d=this;this._pako.onData=function(f){d.push({data:f,meta:d.meta})}},i.compressWorker=function(d){return new u("Deflate",d)},i.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(r,n,i){function a(h,p){var g,v="";for(g=0;g<p;g++)v+=String.fromCharCode(255&h),h>>>=8;return v}function o(h,p,g,v,m,b){var y,w,x=h.file,C=h.compression,T=b!==c.utf8encode,_=s.transformTo("string",b(x.name)),P=s.transformTo("string",c.utf8encode(x.name)),F=x.comment,I=s.transformTo("string",b(F)),R=s.transformTo("string",c.utf8encode(F)),D=P.length!==x.name.length,A=R.length!==F.length,M="",X="",Y="",se=x.dir,ne=x.date,ie={crc32:0,compressedSize:0,uncompressedSize:0};p&&!g||(ie.crc32=h.crc32,ie.compressedSize=h.compressedSize,ie.uncompressedSize=h.uncompressedSize);var ae=0;p&&(ae|=8),T||!D&&!A||(ae|=2048);var ce=0,ke=0;se&&(ce|=16),m==="UNIX"?(ke=798,ce|=function(De,Ne){var We=De;return De||(We=Ne?16893:33204),(65535&We)<<16}(x.unixPermissions,se)):(ke=20,ce|=function(De){return 63&(De||0)}(x.dosPermissions)),y=ne.getUTCHours(),y<<=6,y|=ne.getUTCMinutes(),y<<=5,y|=ne.getUTCSeconds()/2,w=ne.getUTCFullYear()-1980,w<<=4,w|=ne.getUTCMonth()+1,w<<=5,w|=ne.getUTCDate(),D&&(X=a(1,1)+a(u(_),4)+P,M+="up"+a(X.length,2)+X),A&&(Y=a(1,1)+a(u(I),4)+R,M+="uc"+a(Y.length,2)+Y);var ge="";return ge+=`
462\0`,ge+=a(ae,2),ge+=C.magic,ge+=a(y,2),ge+=a(w,2),ge+=a(ie.crc32,4),ge+=a(ie.compressedSize,4),ge+=a(ie.uncompressedSize,4),ge+=a(_.length,2),ge+=a(M.length,2),{fileRecord:d.LOCAL_FILE_HEADER+ge+_+M,dirRecord:d.CENTRAL_FILE_HEADER+a(ke,2)+ge+a(I.length,2)+"\0\0\0\0"+a(ce,4)+a(v,4)+_+M+I}}var s=r("../utils"),l=r("../stream/GenericWorker"),c=r("../utf8"),u=r("../crc32"),d=r("../signature");function f(h,p,g,v){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=p,this.zipPlatform=g,this.encodeFileName=v,this.streamFiles=h,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(f,l),f.prototype.push=function(h){var p=h.meta.percent||0,g=this.entriesCount,v=this._sources.length;this.accumulate?this.contentBuffer.push(h):(this.bytesWritten+=h.data.length,l.prototype.push.call(this,{data:h.data,meta:{currentFile:this.currentFile,percent:g?(p+100*(g-v-1))/g:100}}))},f.prototype.openedSource=function(h){this.currentSourceOffset=this.bytesWritten,this.currentFile=h.file.name;var p=this.streamFiles&&!h.file.dir;if(p){var g=o(h,p,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:g.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(h){this.accumulate=!1;var p=this.streamFiles&&!h.file.dir,g=o(h,p,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(g.dirRecord),p)this.push({data:function(v){return d.DATA_DESCRIPTOR+a(v.crc32,4)+a(v.compressedSize,4)+a(v.uncompressedSize,4)}(h),meta:{percent:100}});else for(this.push({data:g.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var h=this.bytesWritten,p=0;p<this.dirRecords.length;p++)this.push({data:this.dirRecords[p],meta:{percent:100}});var g=this.bytesWritten-h,v=function(m,b,y,w,x){var C=s.transformTo("string",x(w));return d.CENTRAL_DIRECTORY_END+"\0\0\0\0"+a(m,2)+a(m,2)+a(b,4)+a(y,4)+a(C.length,2)+C}(this.dirRecords.length,g,h,this.zipComment,this.encodeFileName);this.push({data:v,meta:{percent:100}})},f.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},f.prototype.registerPrevious=function(h){this._sources.push(h);var p=this;return h.on("data",function(g){p.processChunk(g)}),h.on("end",function(){p.closedSource(p.previous.streamInfo),p._sources.length?p.prepareNextSource():p.end()}),h.on("error",function(g){p.error(g)}),this},f.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},f.prototype.error=function(h){var p=this._sources;if(!l.prototype.error.call(this,h))return!1;for(var g=0;g<p.length;g++)try{p[g].error(h)}catch{}return!0},f.prototype.lock=function(){l.prototype.lock.call(this);for(var h=this._sources,p=0;p<h.length;p++)h[p].lock()},n.exports=f},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}
vendor: 29,087 bytes, line 462
462],9:[function(r,n,i){var a=r("../compressions"),o=r("./ZipFileWorker");i.generateWorker=function(s,l,c){var u=new o(l.streamFiles,c,l.platform,l.encodeFileName),d=0;try{s.forEach(function(f,h){d++;var p=function(b,y){var w=b||y,x=a[w];if(!x)throw new Error(w+" is not a valid compression method !");return x}(h.options.compression,l.compression),g=h.options.compressionOptions||l.compressionOptions||{},v=h.dir,m=h.date;h._compressWorker(p,g).withStreamInfo("file",{name:f,dir:v,date:m,comment:h.comment||"",unixPermissions:h.unixPermissions,dosPermissions:h.dosPermissions}).pipe(u)}),u.entriesCount=d}catch(f){u.error(f)}return u}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(r,n,i){function a(){if(!(this instanceof a))return new a;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var o=new a;for(var s in this)typeof this[s]!="function"&&(o[s]=this[s]);return o}}(a.prototype=r("./object")).loadAsync=r("./load"),a.support=r("./support"),a.defaults=r("./defaults"),a.version="3.10.1",a.loadAsync=function(o,s){return new a().loadAsync(o,s)},a.external=r("./external"),n.exports=a},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(r,n,i){var a=r("./utils"),o=r("./external"),s=r("./utf8"),l=r("./zipEntries"),c=r("./stream/Crc32Probe"),u=r("./nodejsUtils");function d(f){return new o.Promise(function(h,p){var g=f.decompressed.getContentWorker().pipe(new c);g.on("error",function(v){p(v)}).on("end",function(){g.streamInfo.crc32!==f.decompressed.crc32?p(new Error("Corrupted zip : CRC32 mismatch")):h()}).resume()})}n.exports=function(f,h){var p=this;return h=a.extend(h||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),u.isNode&&u.isStream(f)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip file",f,!0,h.optimizedBinaryString,h.base64).then(function(g){var v=new l(h);return v.load(g),v}).then(function(g){var v=[o.Promise.resolve(g)],m=g.files;if(h.checkCRC32)for(var b=0;b<m.length;b++)v.push(d(m[b]));return o.Promise.all(v)}).then(function(g){for(var v=g.shift(),m=v.files,b=0;b<m.length;b++){var y=m[b],w=y.fileNameStr,x=a.resolve(y.fileNameStr);p.file(x,y.decompressed,{binary:!0,optimizedBinaryString:!0,date:y.date,dir:y.dir,comment:y.fileCommentStr.length?y.fileCommentStr:null,unixPermissions:y.unixPermissions,dosPermissions:y.dosPermissions,createFolders:h.createFolders}),y.dir||(p.file(x).unsafeOriginalName=w)}return v.zipComment.length&&(p.comment=v.zipComment),p})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(r,n,i){var a=r("../utils"),o=r("../stream/GenericWorker");function s(l,c){o.call(this,"Nodejs stream input adapter for "+l),this._upstreamEnded=!1,this._bindStream(c)}a.inherits(s,o),s.prototype._bindStream=function(l){var c=this;(this._stream=l).pause(),l.on("data",function(u){c.push({data:u,meta:{percent:0}})}).on("error",function(u){c.isPaused?this.generatedError=u:c.error(u)}).on("end",function(){c.isPaused?c._upstreamEnded=!0:c.end()})},s.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},n.exports=s},{"../stream/GenericWorker":28,"../utils":32}],13:[function(r,n,i){var a=r("readable-stream").Readable;function o(s,l,c){a.call(this,l),this._helper=s;var u=this;s.on("data",function(d,f){u.push(d)||u._helper.pause(),c&&c(f)}).on("error",function(d){u.emit("error",d)}).on("end",function(){u.push(null)})}r("../utils").inherits(o,a),o.prototype._read=function(){this._helper.resume()},n.exports=o},{"../utils":32,"readable-stream":16}],14:[function(r,n,i){n.exports={isNode:typeof Buffer<"u",newBufferFrom:function(a,o){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(a,o);if(typeof a=="number")throw new Error('The "data" argument must not be a number');return new Buffer(a,o)},allocBuffer:function(a){if(Buffer.alloc)return Buffer.alloc(a);var o=new Buffer(a);return o.fill(0),o},isBuffer:function(a){return Buffer.isBuffer(a)},isStream:function(a){return a&&typeof a.on=="function"&&typeof a.pause=="function"&&typeof a.resume=="function"}}},{}],15:[function(r,n,i){function a(x,C,T){var _,P=s.getTypeOf(C),F=s.extend(T||{},u);F.date=F.date||new Date,F.compression!==null&&(F.compression=F.compression.toUpperCase()),typeof F.unixPermissions=="string"&&(F.unixPermissions=parseInt(F.unixPermissions,8)),F.unixPermissions&&16384&F.unixPermissions&&(F.dir=!0),F.dosPermissions&&16&F.dosPermissions&&(F.dir=!0),F.dir&&(x=m(x)),F.createFolders&&(_=v(x))&&b.call(this,_,!0);var I=P==="string"&&F.binary===!1&&F.base64===!1;T&&T.binary!==void 0||(F.binary=!I),(C instanceof d&&C.uncompressedSize===0||F.dir||!C||C.length===0)&&(F.base64=!1,F.binary=!0,C="",F.compression="STORE",P="string");var R=null;R=C instanceof d||C instanceof l?C:p.isNode&&p.isStream(C)?new g(x,C):s.prepareContent(x,C,F.binary,F.optimizedBinaryString,F.base64);var D=new f(x,R,F);this.files[x]=D}var o=r("./utf8"),s=r("./utils"),l=r("./stream/GenericWorker"),c=r("./stream/StreamHelper"),u=r("./defaults"),d=r("./compressedObject"),f=r("./zipObject"),h=r("./generate"),p=r("./nodejsUtils"),g=r("./nodejs/NodejsStreamInputAdapter"),v=function(x){x.slice(-1)==="/"&&(x=x.substring(0,x.length-1));var C=x.lastIndexOf("/");return 0<C?x.substring(0,C):""},m=function(x){return x.slice(-1)!=="/"&&(x+="/"),x},b=function(x,C){return C=C!==void 0?C:u.createFolders,x=m(x),this.files[x]||a.call(this,x,null,{dir:!0,createFolders:C}),this.files[x]};function y(x){return Object.prototype.toString.call(x)==="[object RegExp]"}var w={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(x){var C,T,_;for(C in this.files)_=this.files[C],(T=C.slice(this.root.length,C.length))&&C.slice(0,this.root.length)===this.root&&x(T,_)},filter:function(x){var C=[];return this.forEach(function(T,_){x(T,_)&&C.push(_)}),C},file:function(x,C,T){if(arguments.length!==1)return x=this.root+x,a.call(this,x,C,T),this;if(y(x)){var _=x;return this.filter(function(F,I){return!I.dir&&_.test(F)})}var P=this.files[this.root+x];return P&&!P.dir?P:null},folder:function(x){if(!x)return this;if(y(x))return this.filter(function(P,F){return F.dir&&x.test(P)});var C=this.root+x,T=b.call(this,C),_=this.clone();return _.root=T.name,_},remove:function(x){x=this.root+x;var C=this.files[x];if(C||(x.slice(-1)!=="/"&&(x+="/"),C=this.files[x]),C&&!C.dir)delete this.files[x];else for(var T=this.filter(function(P,F){return F.name.slice(0,x.length)===x}),_=0;_<T.length;_++)delete this.files[T[_].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(x){var C,T={};try{if((T=s.extend(x||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=T.type.toLowerCase(),T.compression=T.compression.toUpperCase(),T.type==="binarystring"&&(T.type="string"),!T.type)throw new Error("No output type specified.");s.checkSupport(T.type),T.platform!=="darwin"&&T.platform!=="freebsd"&&T.platform!=="linux"&&T.platform!=="sunos"||(T.platform="UNIX"),T.platform==="win32"&&(T.platform="DOS");var _=T.comment||this.comment||"";C=h.generateWorker(this,T,_)}catch(P){(C=new l("error")).error(P)}return new c(C,T.type||"string",T.mimeType)},generateAsync:function(x,C){return this.generateInternalStream(x).accumulate(C)},generateNodeStream:function(x,C){return(x=x||{}).type||(x.type="nodebuffer"),this.generateInternalStream(x).toNodejsStream(C)}};n.exports=w},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(r,n,i){n.exports=r("stream")},{stream:void 0}],17:[function(r,n,i){var a=r("./DataReader");function o(s){a.call(this,s);for(var l=0;l<this.data.length;l++)s[l]=255&s[l]}r("../utils").inherits(o,a),o.prototype.byteAt=function(s){return this.data[this.zero+s]},o.prototype.lastIndexOfSignature=function(s){for(var l=s.charCodeAt(0),c=s.charCodeAt(1),u=s.charCodeAt(2),d=s.charCodeAt(3),f=this.length-4;0<=f;--f)if(this.data[f]===l&&this.data[f+1]===c&&this.data[f+2]===u&&this.data[f+3]===d)return f-this.zero;return-1},o.prototype.readAndCheckSignature=function(s){var l=s.charCodeAt(0),c=s.charCodeAt(1),u=s.charCodeAt(2),d=s.charCodeAt(3),f=this.readData(4);return l===f[0]&&c===f[1]&&u===f[2]&&d===f[3]},o.prototype.readData=function(s){if(this.checkOffset(s),s===0)return[];var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},n.exports=o},{"../utils":32,"./DataReader":18}],18:[function(r,n,i){var a=r("../utils");function o(s){this.data=s,this.length=s.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(s){this.checkIndex(this.index+s)},checkIndex:function(s){if(this.length<this.zero+s||s<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+s+"). Corrupted zip ?")},setIndex:function(s){this.checkIndex(s),this.index=s},skip:function(s){this.setIndex(this.index+s)},byteAt:function(){},readInt:function(s){var l,c=0;for(this.checkOffset(s),l=this.index+s-1;l>=this.index;l--)c=(c<<8)+this.byteAt(l);return this.index+=s,c},readString:function(s){return a.transformTo("string",this.readData(s))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var s=this.readInt(4);return new Date(Date.UTC(1980+(s>>25&127),(s>>21&15)-1,s>>16&31,s>>11&31,s>>5&63,(31&s)<<1))}},n.exports=o},{"../utils":32}],19:[function(r,n,i){var a=r("./Uint8ArrayReader");function o(s){a.call(this,s)}r("../utils").inherits(o,a),o.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},n.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(r,n,i){var a=r("./DataReader");function o(s){a.call(this,s)}r("../utils").inherits(o,a),o.prototype.byteAt=function(s){return this.data.charCodeAt(this.zero+s)},o.prototype.lastIndexOfSignature=function(s){return this.data.lastIndexOf(s)-this.zero},o.prototype.readAndCheckSignature=function(s){return s===this.readData(4)},o.prototype.readData=function(s){this.checkOffset(s);var l=this.data.slice(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},n.exports=o},{"../utils":32,"./DataReader":18}],21:[function(r,n,i){var a=r("./ArrayReader");function o(s){a.call(this,s)}r("../utils").inherits(o,a),o.prototype.readData=function(s){if(this.checkOffset(s),s===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+s);return this.index+=s,l},n.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(r,n,i){var a=r("../utils"),o=r("../support"),s=r("./ArrayReader"),l=r("./StringReader"),c=r("./NodeBufferReader"),u=r("./Uint8ArrayReader");n.exports=function(d){var f=a.getTypeOf(d);return a.checkSupport(f),f!=="string"||o.uint8array?f==="nodebuffer"?new c(d):o.uint8array?new u(a.transformTo("uint8array",d)):new s(a.transformTo("array",d)):new l(d)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(r,n,i){i.LOCAL_FILE_HEADER="PK��",i.CENTRAL_FILE_HEADER="PK��",i.CENTRAL_DIRECTORY_END="PK��",i.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK�\x07",i.ZIP64_CENTRAL_DIRECTORY_END="PK��",i.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(r,n,i){var a=r("./GenericWorker"),o=r("../utils");function s(l){a.call(this,"ConvertWorker to "+l),this.destType=l}o.inherits(s,a),s.prototype.processChunk=function(l){this.push({data:o.transformTo(this.destType,l.data),meta:l.meta})},n.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(r,n,i){var a=r("./GenericWorker"),o=r("../crc32");function s(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}r("../utils").inherits(s,a),s.prototype.processChunk=function(l){this.streamInfo.crc32=o(l.data,this.streamInfo.crc32||0),this.push(l)},n.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(r,n,i){var a=r("../utils"),o=r("./GenericWorker");function s(l){o.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}a.inherits(s,o),s.prototype.processChunk=function(l){if(l){var c=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=c+l.data.length}o.prototype.processChunk.call(this,l)},n.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(r,n,i){var a=r("../utils"),o=r("./GenericWorker");function s(l){o.call(this,"DataWorker");var c=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(u){c.dataIsReady=!0,c.data=u,c.max=u&&u.length||0,c.type=a.getTypeOf(u),c.isPaused||c._tickAndRepeat()},function(u){c.error(u)})}a.inherits(s,o),s.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,c=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,c);break;case"uint8array":l=this.data.subarray(this.index,c);break;case"array":case"nodebuffer":l=this.data.slice(this.index,c)}return this.index=c,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},n.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(r,n,i){function a(o){this.name=o||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}a.prototype={push:function(o){this.emit("data",o)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(o){this.emit("error",o)}return!0},error:function(o){return!this.isFinished&&(this.isPaused?this.generatedError=o:(this.isFinished=!0,this.emit("error",o),this.previous&&this.previous.error(o),this.cleanUp()),!0)},on:function(o,s){return this._listeners[o].push(s),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(o,s){if(this._listeners[o])for(var l=0;l<this._listeners[o].length;l++)this._listeners[o][l].call(this,s)},pipe:function(o){return o.registerPrevious(this)},registerPrevious:function(o){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=o.streamInfo,this.mergeStreamInfo(),this.previous=o;var s=this;return o.on("data",function(l){s.processChunk(l)}),o.on("end",function(){s.end()}),o.on("error",function(l){s.error(l)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var o=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),o=!0),this.previous&&this.previous.resume(),!o},flush:function(){},processChunk:function(o){this.push(o)},withStreamInfo:function(o,s){return this.extraStreamInfo[o]=s,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var o in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,o)&&(this.streamInfo[o]=this.extraStreamInfo[o])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var o="Worker "+this.name;return this.previous?this.previous+" -> "+o:o}},n.exports=a},{}],29:[function(r,n,i){var a=r("../utils"),o=r("./ConvertWorker"),s=r("./GenericWorker"),l=r("../base64"),c=r("../support"),u=r("../external"),d=null;if(c.nodestream)try{d=r("../nodejs/NodejsStreamOutputAdapter")}catch{}function f(p,g){return new u.Promise(function(v,m){var b=[],y=p._internalType,w=p._outputType,x=p._mimeType;p.on("data",function(C,T){b.push(C),g&&g(T)}).on("error",function(C){b=[],m(C)}).on("end",function(){try{var C=function(T,_,P){switch(T){case"blob":return a.newBlob(a.transformTo("arraybuffer",_),P);case"base64":return l.encode(_);default:return a.transformTo(T,_)}}(w,function(T,_){var P,F=0,I=null,R=0;for(P=0;P<_.length;P++)R+=_[P].length;switch(T){case"string":return _.join("");case"array":return Array.prototype.concat.apply([],_);case"uint8array":for(I=new Uint8Array(R),P=0;P<_.length;P++)I.set(_[P],F),F+=_[P].length;return I;case"nodebuffer":return Buffer.concat(_);default:throw new Error("concat : unsupported type '"+T+"'")}}(y,b),x);v(C)}catch(T){m(T)}b=[]}).resume()})}function h(p,g,v){var m=g;switch(g){case"blob":case"arraybuffer":m="uint8array";break;case"base64":m="string"}try{this._internalType=m,this._outputType=g,this._mimeType=v,a.checkSupport(m),this._worker=p.pipe(new o(m)),p.lock()}catch(b){this._worker=new s("error"),this._worker.error(b)}}h.prototype={accumulate:function(p){return f(this,p)},on:function(p,g){var v=this;return p==="data"?this._worker.on(p,function(m){g.call(v,m.data,m.meta)}):this._worker.on(p,function(){a.delay(g,arguments,v)}),this},resume:function(){return a.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(p){if(a.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new d(this,{objectMode:this._outputType!=="nodebuffer"},p)}},n.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(r,n,i){if(i.base64=!0,i.array=!0,i.string=!0,i.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",i.nodebuffer=typeof Buffer<"u",i.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")i.blob=!1;else{var a=new ArrayBuffer(0);try{i.blob=new Blob([a],{type:"application/zip"}).size===0}catch{try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(a),i.blob=o.getBlob("application/zip").size===0}catch{i.blob=!1}}}try{i.nodestream=!!r("readable-stream").Readable}catch{i.nodestream=!1}},{"readable-stream":16}],31:[function(r,n,i){for(var a=r("./utils"),o=r("./support"),s=r("./nodejsUtils"),l=r("./stream/GenericWorker"),c=new Array(256),u=0;u<256;u++)c[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;c[254]=c[254]=1;function d(){l.call(this,"utf-8 decode"),this.leftOver=null}function f(){l.call(this,"utf-8 encode")}i.utf8encode=function(h){return o.nodebuffer?s.newBufferFrom(h,"utf-8"):function(p){var g,v,m,b,y,w=p.length,x=0;for(b=0;b<w;b++)(64512&(v=p.charCodeAt(b)))==55296&&b+1<w&&(64512&(m=p.charCodeAt(b+1)))==56320&&(v=65536+(v-55296<<10)+(m-56320),b++),x+=v<128?1:v<2048?2:v<65536?3:4;for(g=o.uint8array?new Uint8Array(x):new Array(x),b=y=0;y<x;b++)(64512&(v=p.charCodeAt(b)))==55296&&b+1<w&&(64512&(m=p.charCodeAt(b+1)))==56320&&(v=65536+(v-55296<<10)+(m-56320),b++),v<128?g[y++]=v:(v<2048?g[y++]=192|v>>>6:(v<65536?g[y++]=224|v>>>12:(g[y++]=240|v>>>18,g[y++]=128|v>>>12&63),g[y++]=128|v>>>6&63),g[y++]=128|63&v);return g}(h)},i.utf8decode=function(h){return o.nodebuffer?a.transformTo("nodebuffer",h).toString("utf-8"):function(p){var g,v,m,b,y=p.length,w=new Array(2*y);for(g=v=0;g<y;)if((m=p[g++])<128)w[v++]=m;else if(4<(b=c[m]))w[v++]=65533,g+=b-1;else{for(m&=b===2?31:b===3?15:7;1<b&&g<y;)m=m<<6|63&p[g++],b--;1<b?w[v++]=65533:m<65536?w[v++]=m:(m-=65536,w[v++]=55296|m>>10&1023,w[v++]=56320|1023&m)}return w.length!==v&&(w.subarray?w=w.subarray(0,v):w.length=v),a.applyFromCharCode(w)}(h=a.transformTo(o.uint8array?"uint8array":"array",h))},a.inherits(d,l),d.prototype.processChunk=function(h){var p=a.transformTo(o.uint8array?"uint8array":"array",h.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var g=p;(p=new Uint8Array(g.length+this.leftOver.length)).set(this.leftOver,0),p.set(g,this.leftOver.length)}else p=this.leftOver.concat(p);this.leftOver=null}var v=function(b,y){var w;for((y=y||b.length)>b.length&&(y=b.length),w=y-1;0<=w&&(192&b[w])==128;)w--;return w<0||w===0?y:w+c[b[w]]>y?w:y}(p),m=p;v!==p.length&&(o.uint8array?(m=p.subarray(0,v),this.leftOver=p.subarray(v,p.length)):(m=p.slice(0,v),this.leftOver=p.slice(v,p.length))),this.push({data:i.utf8decode(m),meta:h.meta})},d.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:i.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},i.Utf8DecodeWorker=d,a.inherits(f,l),f.prototype.processChunk=function(h){this.push({data:i.utf8encode(h.data),meta:h.meta})},i.Utf8EncodeWorker=f},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(r,n,i){var a=r("./support"),o=r("./base64"),s=r("./nodejsUtils"),l=r("./external");function c(g){return g}function u(g,v){for(var m=0;m<g.length;++m)v[m]=255&g.charCodeAt(m);return v}r("setimmediate"),i.newBlob=function(g,v){i.checkSupport("blob");try{return new Blob([g],{type:v})}catch{try{var m=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return m.append(g),m.getBlob(v)}catch{throw new Error("Bug : can't construct the Blob.")}}};var d={stringifyByChunk:function(g,v,m){var b=[],y=0,w=g.length;if(w<=m)return String.fromCharCode.apply(null,g);for(;y<w;)v==="array"||v==="nodebuffer"?b.push(String.fromCharCode.apply(null,g.slice(y,Math.min(y+m,w)))):b.push(String.fromCharCode.apply(null,g.subarray(y,Math.min(y+m,w)))),y+=m;return b.join("")},stringifyByChar:function(g){for(var v="",m=0;m<g.length;m++)v+=String.fromCharCode(g[m]);return v},applyCanBeUsed:{uint8array:function(){try{return a.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return a.nodebuffer&&String.fromCharCode.apply(null,s.allocBuffer(1)).length===1}catch{return!1}}()}};function f(g){var v=65536,m=i.getTypeOf(g),b=!0;if(m==="uint8array"?b=d.applyCanBeUsed.uint8array:m==="nodebuffer"&&(b=d.applyCanBeUsed.nodebuffer),b)for(;1<v;)try{return d.stringifyByChunk(g,m,v)}catch{v=Math.floor(v/2)}return d.stringifyByChar(g)}function h(g,v){for(var m=0;m<g.length;m++)v[m]=g[m];return v}i.applyFromCharCode=f;var p={};p.string={string:c,array:function(g){return u(g,new Array(g.length))},arraybuffer:function(g){return p.string.uint8array(g).buffer},uint8array:function(g){return u(g,new Uint8Array(g.length))},nodebuffer:function(g){return u(g,s.allocBuffer(g.length))}},p.array={string:f,array:c,arraybuffer:function(g){return new Uint8Array(g).buffer},uint8array:function(g){return new Uint8Array(g)},nodebuffer:function(g){return s.newBufferFrom(g)}},p.arraybuffer={string:function(g){return f(new Uint8Array(g))},array:function(g){return h(new Uint8Array(g),new Array(g.byteLength))},arraybuffer:c,uint8array:function(g){return new Uint8Array(g)},nodebuffer:function(g){return s.newBufferFrom(new Uint8Array(g))}},p.uint8array={string:f,array:function(g){return h(g,new Array(g.length))},arraybuffer:function(g){return g.buffer},uint8array:c,nodebuffer:function(g){return s.newBufferFrom(g)}},p.nodebuffer={string:f,array:function(g){return h(g,new Array(g.length))},arraybuffer:function(g){return p.nodebuffer.uint8array(g).buffer},uint8array:function(g){return h(g,new Uint8Array(g.length))},nodebuffer:c},i.transformTo=function(g,v){if(v=v||"",!g)return v;i.checkSupport(g);var m=i.getTypeOf(v);return p[m][g](v)},i.resolve=function(g){for(var v=g.split("/"),m=[],b=0;b<v.length;b++){var y=v[b];y==="."||y===""&&b!==0&&b!==v.length-1||(y===".."?m.pop():m.push(y))}return m.join("/")},i.getTypeOf=function(g){return typeof g=="string"?"string":Object.prototype.toString.call(g)==="[object Array]"?"array":a.nodebuffer&&s.isBuffer(g)?"nodebuffer":a.uint8array&&g instanceof Uint8Array?"uint8array":a.arraybuffer&&g instanceof ArrayBuffer?"arraybuffer":void 0},i.checkSupport=function(g){if(!a[g.toLowerCase()])throw new Error(g+" is not supported by this platform")},i.MAX_VALUE_16BITS=65535,i.MAX_VALUE_32BITS=-1,i.pretty=function(g){var v,m,b="";for(m=0;m<(g||"").length;m++)b+="\\x"+((v=g.charCodeAt(m))<16?"0":"")+v.toString(16).toUpperCase();return b},i.delay=function(g,v,m){setImmediate(function(){g.apply(m||null,v||[])})},i.inherits=function(g,v){function m(){}m.prototype=v.prototype,g.prototype=new m},i.extend=function(){var g,v,m={};for(g=0;g<arguments.length;g++)for(v in arguments[g])Object.prototype.hasOwnProperty.call(arguments[g],v)&&m[v]===void 0&&(m[v]=arguments[g][v]);return m},i.prepareContent=function(g,v,m,b,y){return l.Promise.resolve(v).then(function(w){return a.blob&&(w instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(w))!==-1)&&typeof FileReader<"u"?new l.Promise(function(x,C){var T=new FileReader;T.onload=function(_){x(_.target.result)},T.onerror=function(_){C(_.target.error)},T.readAsArrayBuffer(w)}):w}).then(function(w){var x=i.getTypeOf(w);return x?(x==="arraybuffer"?w=i.transformTo("uint8array",w):x==="string"&&(y?w=o.decode(w):m&&b!==!0&&(w=function(C){return u(C,a.uint8array?new Uint8Array(C.length):new Array(C.length))}(w))),w):l.Promise.reject(new Error("Can't read the data of '"+g+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(r,n,i){var a=r("./reader/readerFor"),o=r("./utils"),s=r("./signature"),l=r("./zipEntry"),c=r("./support");function u(d){this.files=[],this.loadOptions=d}u.prototype={checkSignature:function(d){if(!this.reader.readAndCheckSignature(d)){this.reader.index-=4;var f=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(f)+", expected "+o.pretty(d)+")")}},isSignature:function(d,f){var h=this.reader.index;this.reader.setIndex(d);var p=this.reader.readString(4)===f;return this.reader.setIndex(h),p},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var d=this.reader.readData(this.zipCommentLength),f=c.uint8array?"uint8array":"array",h=o.transformTo(f,d);this.zipComment=this.loadOptions.decodeFileName(h)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var d,f,h,p=this.zip64EndOfCentralSize-44;0<p;)d=this.reader.readInt(2),f=this.reader.readInt(4),h=this.reader.readData(f),this.zip64ExtensibleData[d]={id:d,length:f,value:h}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var d,f;for(d=0;d<this.files.length;d++)f=this.files[d],this.reader.setIndex(f.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),f.readLocalPart(this.reader),f.handleUTF8(),f.processAttributes()},readCentralDir:function(){var d;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(d=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(d);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var d=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(d<0)throw this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip f
462ile ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(d);var f=d;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(d=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(d),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var h=this.centralDirOffset+this.centralDirSize;this.zip64&&(h+=20,h+=12+this.zip64EndOfCentralSize);var p=f-h;if(0<p)this.isSignature(f,s.CENTRAL_FILE_HEADER)||(this.reader.zero=p);else if(p<0)throw new Error("Corrupted zip: missing "+Math.abs(p)+" bytes.")},prepareReader:function(d){this.reader=a(d)},load:function(d){this.prepareReader(d),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},n.exports=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(r,n,i){var a=r("./reader/readerFor"),o=r("./utils"),s=r("./compressedObject"),l=r("./crc32"),c=r("./utf8"),u=r("./compressions"),d=r("./support");function f(h,p){this.options=h,this.loadOptions=p}f.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(h){var p,g;if(h.skip(22),this.fileNameLength=h.readInt(2),g=h.readInt(2),this.fileName=h.readData(this.fileNameLength),h.skip(g),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((p=function(v){for(var m in u)if(Object.prototype.hasOwnProperty.call(u,m)&&u[m].magic===v)return u[m];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,p,h.readData(this.compressedSize))},readCentralPart:function(h){this.versionMadeBy=h.readInt(2),h.skip(2),this.bitFlag=h.readInt(2),this.compressionMethod=h.readString(2),this.date=h.readDate(),this.crc32=h.readInt(4),this.compressedSize=h.readInt(4),this.uncompressedSize=h.readInt(4);var p=h.readInt(2);if(this.extraFieldsLength=h.readInt(2),this.fileCommentLength=h.readInt(2),this.diskNumberStart=h.readInt(2),this.internalFileAttributes=h.readInt(2),this.externalFileAttributes=h.readInt(4),this.localHeaderOffset=h.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");h.skip(p),this.readExtraFields(h),this.parseZIP64ExtraField(h),this.fileComment=h.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var h=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),h==0&&(this.dosPermissions=63&this.externalFileAttributes),h==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var h=a(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=h.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=h.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&
vendor: 7,719 bytes, line 462
462(this.localHeaderOffset=h.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=h.readInt(4))}},readExtraFields:function(h){var p,g,v,m=h.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});h.index+4<m;)p=h.readInt(2),g=h.readInt(2),v=h.readData(g),this.extraFields[p]={id:p,length:g,value:v};h.setIndex(m)},handleUTF8:function(){var h=d.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=c.utf8decode(this.fileName),this.fileCommentStr=c.utf8decode(this.fileComment);else{var p=this.findExtraFieldUnicodePath();if(p!==null)this.fileNameStr=p;else{var g=o.transformTo(h,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(g)}var v=this.findExtraFieldUnicodeComment();if(v!==null)this.fileCommentStr=v;else{var m=o.transformTo(h,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(m)}}},findExtraFieldUnicodePath:function(){var h=this.extraFields[28789];if(h){var p=a(h.value);return p.readInt(1)!==1||l(this.fileName)!==p.readInt(4)?null:c.utf8decode(p.readData(h.length-5))}return null},findExtraFieldUnicodeComment:function(){var h=this.extraFields[25461];if(h){var p=a(h.value);return p.readInt(1)!==1||l(this.fileComment)!==p.readInt(4)?null:c.utf8decode(p.readData(h.length-5))}return null}},n.exports=f},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(r,n,i){function a(p,g,v){this.name=p,this.dir=v.dir,this.date=v.date,this.comment=v.comment,this.unixPermissions=v.unixPermissions,this.dosPermissions=v.dosPermissions,this._data=g,this._dataBinary=v.binary,this.options={compression:v.compression,compressionOptions:v.compressionOptions}}var o=r("./stream/StreamHelper"),s=r("./stream/DataWorker"),l=r("./utf8"),c=r("./compressedObject"),u=r("./stream/GenericWorker");a.prototype={internalStream:function(p){var g=null,v="string";try{if(!p)throw new Error("No output type specified.");var m=(v=p.toLowerCase())==="string"||v==="text";v!=="binarystring"&&v!=="text"||(v="string"),g=this._decompressWorker();var b=!this._dataBinary;b&&!m&&(g=g.pipe(new l.Utf8EncodeWorker)),!b&&m&&(g=g.pipe(new l.Utf8DecodeWorker))}catch(y){(g=new u("error")).error(y)}return new o(g,v,"")},async:function(p,g){return this.internalStream(p).accumulate(g)},nodeStream:function(p,g){return this.internalStream(p||"nodebuffer").toNodejsStream(g)},_compressWorker:function(p,g){if(this._data instanceof c&&this._data.compression.magic===p.magic)return this._data.getCompressedWorker();var v=this._decompressWorker();return this._dataBinary||(v=v.pipe(new l.Utf8EncodeWorker)),c.createWorkerFrom(v,p,g)},_decompressWorker:function(){return this._data instanceof c?this._data.getContentWorker():this._data instanceof u?this._data:new s(this._data)}};for(var d=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],f=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},h=0;h<d.length;h++)a.prototype[d[h]]=f;n.exports=a},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(r,n,i){(function(a){var o,s,l=a.MutationObserver||a.WebKitMutationObserver;if(l){var c=0,u=new l(p),d=a.document.createTextNode("");u.observe(d,{characterData:!0}),o=function(){d.data=c=++c%2}}else if(a.setImmediate||a.MessageChannel===void 0)o="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var g=a.document.createElement("script");g.onreadystatechange=function(){p(),g.onreadystatechange=null,g.parentNode.removeChild(g),g=null},a.document.documentElement.appendChild(g)}:function(){setTimeout(p,0)};else{var f=new a.MessageChannel;f.port1.onmessage=p,o=function(){f.port2.postMessage(0)}}var h=[];function p(){var g,v;s=!0;for(var m=h.length;m;){for(v=h,h=[],g=-1;++g<m;)v[g]();m=h.length}s=!1}n.exports=function(g){h.push(g)!==1||s||o()}}).call(this,typeof yn<"u"?yn:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(r,n,i){var a=r("immediate");function o(){}var s={},l=["REJECTED"],c=["FULFILLED"],u=["PENDING"];function d(m){if(typeof m!="function")throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,m!==o&&g(this,m)}function f(m,b,y){this.promise=m,typeof b=="function"&&(this.onFulfilled=b,this.callFulfilled=this.otherCallFulfilled),typeof y=="function"&&(this.onRejected=y,this.callRejected=this.otherCallRejected)}function h(m,b,y){a(function(){var w;try{w=b(y)}catch(x){return s.reject(m,x)}w===m?s.reject(m,new TypeError("Cannot resolve promise with itself")):s.resolve(m,w)})}function p(m){var b=m&&m.then;if(m&&(typeof m=="object"||typeof m=="function")&&typeof b=="function")return function(){b.apply(m,arguments)}}function g(m,b){var y=!1;function w(T){y||(y=!0,s.reject(m,T))}function x(T){y||(y=!0,s.resolve(m,T))}var C=v(function(){b(x,w)});C.status==="error"&&w(C.value)}function v(m,b){var y={};try{y.value=m(b),y.status="success"}catch(w){y.status="error",y.value=w}return y}(n.exports=d).prototype.finally=function(m){if(typeof m!="function")return this;var b=this.constructor;return this.then(function(y){return b.resolve(m()).then(function(){return y})},function(y){return b.resolve(m()).then(function(){throw y})})},d.prototype.catch=function(m){return this.then(null,m)},d.prototype.then=function(m,b){if(typeof m!="function"&&this.state===c||typeof b!="function"&&this.state===l)return this;var y=new this.constructor(o);return this.state!==u?h(y,this.state===c?m:b,this.outcome):this.queue.push(new f(y,m,b)),y},f.prototype.callFulfilled=function(m){s.resolve(this.promise,m)},f.prototype.otherCallFulfilled=function(m){h(this.promise,this.onFulfilled,m)},f.prototype.callRejected=function(m){s.reject(this.promise,m)},f.prototype.otherCallRejected=function(m){h(this.promise,this.onRejected,m)},s.resolve=function(m,b){var y=v(p,b);if(y.status==="error")return s.reject(m,y.value);var w=y.value;if(w)g(m,w);else{m.state=c,m.outcome=b;for(var x=-1,C=m.queue.length;++x<C;)m.queue[x].callFulfilled(b)}return m},s.reject=function(m,b){m.state=l,m.outcome=b;for(var y=-1,w=m.queue.length;++y<w;)m.queue[y].callRejected(b);return m},d.resolve=function(m){return m instanceof this?m:s.resolve(new this(o),m)},d.reject=function(m){var b=new this(o);return s.reject(b,m)},d.all=function(m){var b=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=m.length,w=!1;if(!y)return this.resolve([]);for(var x=new Array(y),C=0,T=-1,_=new this(o);++T<y;)P(m[T],T);return _;function P(F,I){b.resolve(F).then(function(R){x[I]=R,++C!==y||w||(w=!0,s.resolve(_,x))},function(R){w||(w=!0,s.reject(_,R))})}},d.race=function(m){var b=this;if(Object.prototype.toString.call(m)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=m.length,w=!1;if(!y)return this.resolve([]);for(var x=-1,C=new this(o);++x<y;)T=m[x],b.resolve(T).then(function(_){w||(w=!0,s.resolve(C,_))},function(_){w||(w=!0,s.reject(C,_))});var T;return C}},{immediate:36}],38:[function(r,n,i){var a={};(0,r("./lib/utils/common").assign)(a,r("./lib/deflate"),r("./lib/inflate"),r("./lib/zlib/constants")),n.exports=a},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(r,n,i){var a=r("./zlib/deflate"),o=r("./utils/common"),s=r("./utils/strings"),l=r("./zlib/messages"),c=r("./zlib/zstream"),u=Object.prototype.toString,d=0,f=-1,h=0,p=8;function g(m){if(!(this instanceof g))return new g(m);this.options=o.assign({level:f,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:h,to:""},m||{});var b=this.options;
vendor: 4,869 bytes, line 462
462b.raw&&0<b.windowBits?b.windowBits=-b.windowBits:b.gzip&&0<b.windowBits&&b.windowBits<16&&(b.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var y=a.deflateInit2(this.strm,b.level,b.method,b.windowBits,b.memLevel,b.strategy);if(y!==d)throw new Error(l[y]);if(b.header&&a.deflateSetHeader(this.strm,b.header),b.dictionary){var w;if(w=typeof b.dictionary=="string"?s.string2buf(b.dictionary):u.call(b.dictionary)==="[object ArrayBuffer]"?new Uint8Array(b.dictionary):b.dictionary,(y=a.deflateSetDictionary(this.strm,w))!==d)throw new Error(l[y]);this._dict_set=!0}}function v(m,b){var y=new g(b);if(y.push(m,!0),y.err)throw y.msg||l[y.err];return y.result}g.prototype.push=function(m,b){var y,w,x=this.strm,C=this.options.chunkSize;if(this.ended)return!1;w=b===~~b?b:b===!0?4:0,typeof m=="string"?x.input=s.string2buf(m):u.call(m)==="[object ArrayBuffer]"?x.input=new Uint8Array(m):x.input=m,x.next_in=0,x.avail_in=x.input.length;do{if(x.avail_out===0&&(x.output=new o.Buf8(C),x.next_out=0,x.avail_out=C),(y=a.deflate(x,w))!==1&&y!==d)return this.onEnd(y),!(this.ended=!0);x.avail_out!==0&&(x.avail_in!==0||w!==4&&w!==2)||(this.options.to==="string"?this.onData(s.buf2binstring(o.shrinkBuf(x.output,x.next_out))):this.onData(o.shrinkBuf(x.output,x.next_out)))}while((0<x.avail_in||x.avail_out===0)&&y!==1);return w===4?(y=a.deflateEnd(this.strm),this.onEnd(y),this.ended=!0,y===d):w!==2||(this.onEnd(d),!(x.avail_out=0))},g.prototype.onData=function(m){this.chunks.push(m)},g.prototype.onEnd=function(m){m===d&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=m,this.msg=this.strm.msg},i.Deflate=g,i.deflate=v,i.deflateRaw=function(m,b){return(b=b||{}).raw=!0,v(m,b)},i.gzip=function(m,b){return(b=b||{}).gzip=!0,v(m,b)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(r,n,i){var a=r("./zlib/inflate"),o=r("./utils/common"),s=r("./utils/strings"),l=r("./zlib/constants"),c=r("./zlib/messages"),u=r("./zlib/zstream"),d=r("./zlib/gzheader"),f=Object.prototype.toString;function h(g){if(!(this instanceof h))return new h(g);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},g||{});var v=this.options;v.raw&&0<=v.windowBits&&v.windowBits<16&&(v.windowBits=-v.windowBits,v.windowBits===0&&(v.windowBits=-15)),!(0<=v.windowBits&&v.windowBits<16)||g&&g.windowBits||(v.windowBits+=32),15<v.windowBits&&v.windowBits<48&&!(15&v.windowBits)&&(v.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var m=a.inflateInit2(this.strm,v.windowBits);if(m!==l.Z_OK)throw new Error(c[m]);this.header=new d,a.inflateGetHeader(this.strm,this.header)}function p(g,v){var m=new h(v);if(m.push(g,!0),m.err)throw m.msg||c[m.err];return m.result}h.prototype.push=function(g,v){var m,b,y,w,x,C,T=this.strm,_=this.options.chunkSize,P=this.options.dictionary,F=!1;if(this.ended)return!1;b=v===~~v?v:v===!0?l.Z_FINISH:l.Z_NO_FLUSH,typeof g=="string"?T.input=s.binstring2buf(g):f.call(g)==="[object ArrayBuffer]"?T.input=new Uint8Array(g):T.input=g,T.next_in=0,T.avail_in=T.input.length;do{if(T.avail_out===0&&(T.output=new o.Buf8(_),T.next_out=0,T.avail_out=_),(m=a.inflate(T,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&P&&(C=typeof P=="string"?s.string2buf(P):f.call(P)==="[object ArrayBuffer]"?new Uint8Array(P):P,m=a.inflateSetDictionary(this.strm,C)),m===l.Z_BUF_ERROR&&F===!0&&(m=l.Z_OK,F=!1),m!==l.Z_STREAM_END&&m!==l.Z_OK)return this.onEnd(m),!(this.ended=!0);T.next_out&&(T.avail_out!==0&&m!==l.Z_STREAM_END&&(T.avail_in!==0||b!==l.Z_FINISH&&b!==l.Z_SYNC_FLUSH)||(this.options.to==="string"?(y=s.utf8border(T.output,T.next_out),w=T.next_out-y,x=s.buf2string(T.output,y),T.next_out=w,T.avail_out=_-w,w&&o.arraySet(T.output,T.output,y,w,0),this.onData(x)):this.onData(o.shrinkBuf(T.output,T.next_out)))),T.avail_in===0&&T.avail_out===0&&(F=!0)}while((0<T.avail_in||T.avail_out===0)&&m!==l.Z_STREAM_END);return m===l.Z_STREAM_END&&(b=l.Z_FINISH),b===l.Z_FINISH?(m=a.inflateEnd(this.strm),this.onEnd(m),this.ended=!0,m===l.Z_OK):b!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),!(T.avail_out=0))},h.prototype.onData=function(g){this.chunks.push(g)},h.prototype.onEnd=function(g){g===l.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=g,this.msg=this.strm.msg},i.Inflate=h,i.inflate=p,i.inflateRaw=function(g,v){return(v=v||{}).raw=!0,p(g,v)},i.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(r,n,i){var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";i.assign=function(l){for(var c=Array.prototype.slice.call(arguments,1
vendor: 17,521 bytes, line 462
462);c.length;){var u=c.shift();if(u){if(typeof u!="object")throw new TypeError(u+"must be non-object");for(var d in u)u.hasOwnProperty(d)&&(l[d]=u[d])}}return l},i.shrinkBuf=function(l,c){return l.length===c?l:l.subarray?l.subarray(0,c):(l.length=c,l)};var o={arraySet:function(l,c,u,d,f){if(c.subarray&&l.subarray)l.set(c.subarray(u,u+d),f);else for(var h=0;h<d;h++)l[f+h]=c[u+h]},flattenChunks:function(l){var c,u,d,f,h,p;for(c=d=0,u=l.length;c<u;c++)d+=l[c].length;for(p=new Uint8Array(d),c=f=0,u=l.length;c<u;c++)h=l[c],p.set(h,f),f+=h.length;return p}},s={arraySet:function(l,c,u,d,f){for(var h=0;h<d;h++)l[f+h]=c[u+h]},flattenChunks:function(l){return[].concat.apply([],l)}};i.setTyped=function(l){l?(i.Buf8=Uint8Array,i.Buf16=Uint16Array,i.Buf32=Int32Array,i.assign(i,o)):(i.Buf8=Array,i.Buf16=Array,i.Buf32=Array,i.assign(i,s))},i.setTyped(a)},{}],42:[function(r,n,i){var a=r("./common"),o=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch{o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{s=!1}for(var l=new a.Buf8(256),c=0;c<256;c++)l[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;function u(d,f){if(f<65537&&(d.subarray&&s||!d.subarray&&o))return String.fromCharCode.apply(null,a.shrinkBuf(d,f));for(var h="",p=0;p<f;p++)h+=String.fromCharCode(d[p]);return h}l[254]=l[254]=1,i.string2buf=function(d){var f,h,p,g,v,m=d.length,b=0;for(g=0;g<m;g++)(64512&(h=d.charCodeAt(g)))==55296&&g+1<m&&(64512&(p=d.charCodeAt(g+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),g++),b+=h<128?1:h<2048?2:h<65536?3:4;for(f=new a.Buf8(b),g=v=0;v<b;g++)(64512&(h=d.charCodeAt(g)))==55296&&g+1<m&&(64512&(p=d.charCodeAt(g+1)))==56320&&(h=65536+(h-55296<<10)+(p-56320),g++),h<128?f[v++]=h:(h<2048?f[v++]=192|h>>>6:(h<65536?f[v++]=224|h>>>12:(f[v++]=240|h>>>18,f[v++]=128|h>>>12&63),f[v++]=128|h>>>6&63),f[v++]=128|63&h);return f},i.buf2binstring=function(d){return u(d,d.length)},i.binstring2buf=function(d){for(var f=new a.Buf8(d.length),h=0,p=f.length;h<p;h++)f[h]=d.charCodeAt(h);return f},i.buf2string=function(d,f){var h,p,g,v,m=f||d.length,b=new Array(2*m);for(h=p=0;h<m;)if((g=d[h++])<128)b[p++]=g;else if(4<(v=l[g]))b[p++]=65533,h+=v-1;else{for(g&=v===2?31:v===3?15:7;1<v&&h<m;)g=g<<6|63&d[h++],v--;1<v?b[p++]=65533:g<65536?b[p++]=g:(g-=65536,b[p++]=55296|g>>10&1023,b[p++]=56320|1023&g)}return u(b,p)},i.utf8border=function(d,f){var h;for((f=f||d.length)>d.length&&(f=d.length),h=f-1;0<=h&&(192&d[h])==128;)h--;return h<0||h===0?f:h+l[d[h]]>f?h:f}},{"./common":41}],43:[function(r,n,i){n.exports=function(a,o,s,l){for(var c=65535&a|0,u=a>>>16&65535|0,d=0;s!==0;){for(s-=d=2e3<s?2e3:s;u=u+(c=c+o[l++]|0)|0,--d;);c%=65521,u%=65521}return c|u<<16|0}},{}],44:[function(r,n,i){n.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(r,n,i){var a=function(){for(var o,s=[],l=0;l<256;l++){o=l;for(var c=0;c<8;c++)o=1&o?3988292384^o>>>1:o>>>1;s[l]=o}return s}();n.exports=function(o,s,l,c){var u=a,d=c+l;o^=-1;for(var f=c;f<d;f++)o=o>>>8^u[255&(o^s[f])];return-1^o}},{}],46:[function(r,n,i){var a,o=r("../utils/common"),s=r("./trees"),l=r("./adler32"),c=r("./crc32"),u=r("./messages"),d=0,f=4,h=0,p=-2,g=-1,v=4,m=2,b=8,y=9,w=286,x=30,C=19,T=2*w+1,_=15,P=3,F=258,I=F+P+1,R=42,D=113,A=1,M=2,X=3,Y=4;function se(O,oe){return O.msg=u[oe],oe}function ne(O){return(O<<1)-(4<O?9:0)}function ie(O){for(var oe=O.length;0<=--oe;)O[oe]=0}function ae(O){var oe=O.state,Z=oe.pending;Z>O.avail_out&&(Z=O.avail_out),Z!==0&&(o.arraySet(O.output,oe.pending_buf,oe.pending_out,Z,O.next_out),O.next_out+=Z,oe.pending_out+=Z,O.total_out+=Z,O.avail_out-=Z,oe.pending-=Z,oe.pending===0&&(oe.pending_out=0))}function ce(O,oe){s._tr_flush_block(O,0<=O.block_start?O.block_start:-1,O.strstart-O.block_start,oe),O.block_start=O.strstart,ae(O.strm)}function ke(O,oe){O.pending_buf[O.pending++]=oe}function ge(O,oe){O.pending_buf[O.pending++]=oe>>>8&255,O.pending_buf[O.pending++]=255&oe}function De(O,oe){var Z,B,V=O.max_chain_length,de=O.strstart,Pe=O.prev_length,ze=O.nice_match,Se=O.strstart>O.w_size-I?O.strstart-(O.w_size-I):0,Me=O.window,Ze=O.w_mask,_e=O.prev,at=O.strstart+F,rt=Me[de+Pe-1],ut=Me[de+Pe];O.prev_length>=O.good_match&&(V>>=2),ze>O.lookahead&&(ze=O.lookahead);do if(Me[(Z=oe)+Pe]===ut&&Me[Z+Pe-1]===rt&&Me[Z]===Me[de]&&Me[++Z]===Me[de+1]){de+=2,Z++;do;while(Me[++de]===Me[++Z]&&Me[++de]===Me[++Z]&&Me[++de]===Me[++Z]&&Me[++de]===Me[++Z]&&Me[++de]===Me[++Z]&&Me[++de]===Me[++Z]&&Me[++de]===Me[++Z]&&Me[++de]===Me[++Z]&&de<at);if(B=F-(at-de),de=at-F,Pe<B){if(O.match_start=oe,ze<=(Pe=B))break;rt=Me[de+Pe-1],ut=Me[de+Pe]}}while((oe=_e[oe&Ze])>Se&&--V!=0);return Pe<=O.lookahead?Pe:O.lookahead}function Ne(O){var oe,Z,B,V,de,Pe,ze,Se,Me,Ze,_e=O.w_size;do{if(V=O.window_size-O.lookahead-O.strstart,O.strstart>=_e+(_e-I)){for(o.arraySet(O.window,O.window,_e,_e,0),O.match_start-=_e,O.strstart-=_e,O.block_start-=_e,oe=Z=O.hash_size;B=O.head[--oe],O.head[oe]=_e<=B?B-_e:0,--Z;);for(oe=Z=_e;B=O.prev[--oe],O.prev[oe]=_e<=B?B-_e:0,--Z;);V+=_e}if(O.strm.avail_in===0)break;if(Pe=O.strm,ze=O.window,Se=O.strstart+O.lookahead,Me=V,Ze=void 0,Ze=Pe.avail_in,Me<Ze&&(Ze=Me),Z=Ze===0?0:(Pe.avail_in-=Ze,o.arraySet(ze,Pe.input,Pe.next_in,Ze,Se),Pe.state.wrap===1?Pe.adler=l(Pe.adler,ze,Ze,Se):Pe.state.wrap===2&&(Pe.adler=c(Pe.adler,ze,Ze,Se)),Pe.next_in+=Ze,Pe.total_in+=Ze,Ze),O.lookahead+=Z,O.lookahead+O.insert>=P)for(de=O.strstart-O.insert,O.ins_h=O.window[de],O.ins_h=(O.ins_h<<O.hash_shift^O.window[de+1])&O.hash_mask;O.insert&&(O.ins_h=(O.ins_h<<O.hash_shift^O.window[de+P-1])&O.hash_mask,O.prev[de&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=de,de++,O.insert--,!(O.lookahead+O.insert<P)););}while(O.lookahead<I&&O.strm.avail_in!==0)}function We(O,oe){for(var Z,B;;){if(O.lookahead<I){if(Ne(O),O.lookahead<I&&oe===d)return A;if(O.lookahead===0)break}if(Z=0,O.lookahead>=P&&(O.ins_h=(O.ins_h<<O.hash_shift^O.window[O.strstart+P-1])&O.hash_mask,Z=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart),Z!==0&&O.strstart-Z<=O.w_size-I&&(O.match_length=De(O,Z)),O.match_length>=P)if(B=s._tr_tally(O,O.strstart-O.match_start,O.match_length-P),O.lookahead-=O.match_length,O.match_length<=O.max_lazy_match&&O.lookahead>=P){for(O.match_length--;O.strstart++,O.ins_h=(O.ins_h<<O.hash_shift^O.window[O.strstart+P-1])&O.hash_mask,Z=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart,--O.match_length!=0;);O.strstart++}else O.strstart+=O.match_length,O.match_length=0,O.ins_h=O.window[O.strstart],O.ins_h=(O.ins_h<<O.hash_shift^O.window[O.strstart+1])&O.hash_mask;else B=s._tr_tally(O,0,O.window[O.strstart]),O.lookahead--,O.strstart++;if(B&&(ce(O,!1),O.strm.avail_out===0))return A}return O.insert=O.strstart<P-1?O.strstart:P-1,oe===f?(ce(O,!0),O.strm.avail_out===0?X:Y):O.last_lit&&(ce(O,!1),O.strm.avail_out===0)?A:M}function z(O,oe){for(var Z,B,V;;){if(O.lookahead<I){if(Ne(O),O.lookahead<I&&oe===d)return A;if(O.lookahead===0)break}if(Z=0,O.lookahead>=P&&(O.ins_h=(O.ins_h<<O.hash_shift^O.window[O.strstart+P-1])&O.hash_mask,Z=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart),O.prev_length=O.match_length,O.prev_match=O.match_start,O.match_length=P-1,Z!==0&&O.prev_length<O.max_lazy_match&&O.strstart-Z<=O.w_size-I&&(O.match_length=De(O,Z),O.match_length<=5&&(O.strategy===1||O.match_length===P&&4096<O.strstart-O.match_start)&&(O.match_length=P-1)),O.prev_length>=P&&O.match_length<=O.prev_length){for(V=O.strstart+O.lookahead-P,B=s._tr_tally(O,O.strstart-1-O.prev_match,O.prev_length-P),O.lookahead-=O.prev_length-1,O.prev_length-=2;++O.strstart<=V&&(O.ins_h=(O.ins_h<<O.hash_shift^O.window[O.strstart+P-1])&O.hash_mask,Z=O.prev[O.strstart&O.w_mask]=O.head[O.ins_h],O.head[O.ins_h]=O.strstart),--O.prev_length!=0;);if(O.match_available=0,O.match_length=P-1,O.strstart++,B&&(ce(O,!1),O.strm.avail_out===0))return A}else if(O.match_available){if((B=s._tr_tally(O,0,O.window[O.strstart-1]))&&ce(O,!1),O.strstart++,O.lookahead--,O.strm.avail_out===0)return A}else O.match_available=1,O.strstart++,O.lookahead--}return O.match_available&&(B=s._tr_tally(O,0,O.window[O.strstart-1]),O.match_available=0),O.insert=O.strstart<P-1?O.strstart:P-1,oe===f?(ce(O,!0),O.strm.avail_out===0?X:Y):O.last_lit&&(ce(O,!1),O.strm.avail_out===0)?A:M}function J(O,oe,Z,B,V){this.good_length=O,this.max_lazy=oe,this.nice_length=Z,this.max_chain=B,this.func=V}function j(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=b,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new o.Buf16(2*T),this.dyn_dtree=new o.Buf16(2*(2*x+1)),this.bl_tree=new o.Buf16(2*(2*C+1)),ie(this.dyn_ltree),ie(this.dyn_dtree),ie(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new o.Buf16(_+1),this.heap=new o.Buf16(2*w+1),ie(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*w+1),ie(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function q(O){var oe;return O&&O.state?(O.total_in=O.total_out=0,O.data_type=m,(oe=O.state).pending=0,oe.pending_out=0,oe.wrap<0&&(oe.wrap=-oe.wrap),oe.status=oe.wrap?R:D,O.adler=oe.wrap===2?0:1,oe.last_flush=d,s._tr_init(oe),h):se(O,p)}function G(O){var oe=q(O);return oe===h&&function(Z){Z.window_size=2*Z.w_size,ie(Z.head),Z.max_lazy_match=a[Z.level].max_lazy,Z.good_match=a[Z.level].good_length,Z.nice_match=a[Z.level].nice_length,Z.max_chain_length=a[Z.level].max_chain,Z.strstart=0,Z.block_start=0,Z.lookahead=0,Z.insert=0,Z.match_length=Z.prev_length=P-1,Z.match_available=0,Z.ins_h=0}(O.state),oe}function N(O,oe,Z,B,V,de){if(!O)return p;var Pe=1;if(oe===g&&(oe=6),B<0?(Pe=0,B=-B):15<B&&(Pe=2,B-=16),V<1||y<V||Z!==b||B<8||15<B||oe<0||9<oe||de<0||v<de)return se(O,p);B===8&&(B=9);var ze=new j;return(O.state=ze).strm=O,ze.wrap=Pe,ze.gzhead=null,ze.w_bits=B,ze.w_size=1<<ze.w_bits,ze.w_mask=ze.w_size-1,ze.hash_bits=V+7,ze.hash_size=1<<ze.hash_bits,ze.hash_mask=ze.hash_size-1,ze.hash_shift=~~((ze.hash_bits+P-1)/P),ze.window=new o.Buf8(2*ze.w_size),ze.head=new o.Buf16(ze.hash_size),ze.prev=new o.Buf16(ze.w_size),ze.lit_bufsize=1<<V+6,ze.pending_buf_size=4*ze.lit_bufsize,ze.pending_buf=new o.Buf8(ze.pending_buf_size),ze.d_buf=1*ze.lit_bufsize,ze.l_buf=3*ze.lit_bufsize,ze.level=oe,ze.strategy=de,ze.method=Z,G(O)}a=[new J(0,0,0,0,function(O,oe){var Z=65535;for(Z>O.pending_buf_size-5&&(Z=O.pending_buf_size-5);;){if(O.lookahead<=1){if(Ne(O),O.lookahead===0&&oe===d)return A;if(O.lookahead===0)break}O.strstart+=O.lookahead,O.lookahead=0;var B=O.block_start+Z;if((O.strstart===0||O.strstart>=B)&&(O.lookahead=O.strstart-B,O.strstart=B,ce(O,!1),O.strm.avail_out===0)||O.strstart-O.block_start>=O.w_size-I&&(ce(O,!1),O.strm.avail_out===0))return A}return O.insert=0,oe===f?(ce(O,!0),O.strm.avail_out===0?X:Y):(O.strstart>O.block_start&&(ce(O,!1),O.strm.avail_out),A)}),new J(4,4,8,4,We),new J(4,5,16,8,We),new J(4,6,32,32,We),new J(4,4,16,16,z),new J(8,16,32,32,z),new J(8,16,128,128,z),new J(8,32,128,256,z),new J(32,128,258,1024,z),new J(32,258,258,4096,z)],i.deflateInit=function(O,oe){return N(O,oe,b,15,8,0)},i.deflateInit2=N,i.deflateReset=G,i.deflateResetKeep=q,i.deflateSetHeader=function(O,oe){return O&&O.state?O.state.wrap!==2?p:(O.state.gzhead=oe,h):p},i.deflate=function(O,oe){var Z,B,V,de;if(!O||!O.state||5<oe||oe<0)return O?se(O,p):p;if(B=O.state,!O.output||!O.input&&O.avail_in!==0||B.status===666&&oe!==f)return se(O,O.avail_out===0?-5:p);if(B.strm=O,Z=B.last_flush,B.last_flush=oe,B.status===R)if(B.wrap===2)O.adler=0,ke(B,31),ke(B,139),ke(B,8),B.gzhead?(ke(B,(B.gzhead.text?1:0)+(B.gzhead.hcrc?2:0)+(B.gzhead.extra?4:0)+(B.gzhead.name?8:0)+(B.gzhead.comment?16:0)),ke(B,255&B.gzhead.time),ke(B,B.gzhead.time>>8&255),ke(B,B.gzhead.time>>16&255),ke(B,B.gzhead.time>>24&255),ke(B,B.level===9?2:2<=B.strategy||B.level<2?4:0),ke(B,255&B.gzhead.os),B.gzhead.extra&&B.gzhead.extra.length&&(ke(B,255&B.gzhead.extra.length),ke(B,B.gzhead.extra.length>>8&255)),B.gzhead.hcrc&&(O.adler=c(O.adler,B.pending_buf,B.pending,0)),B.gzindex=0,B.status=69):(ke(B,0),ke(B,0),ke(B,0),ke(B,0),ke(B,0),ke(B,B.level===9?2:2<=B.strategy||B.level<2?4:0),ke(B,3),B.status=D);else{var Pe=b+(B.w_bits-8<<4)<<8;Pe|=(2<=B.strategy||B.level<2?0:B.level<6?1:B.level===6?2:3)<<6,B.strstart!==0&&(Pe|=32),Pe+=31-Pe%31,B.status=D,ge(B,Pe),B.strstart!==0&&(ge(B,O.adler>>>16),ge(B,65535&O.adler)),O.adler=1}if(B.status===69)if(B.gzhead.extra){for(V=B.pending;B.gzindex<(65535&B.gzhead.extra.length)&&(B.pending!==B.pending_buf_size||(B.gzhead.hcrc&&B.pending>V&&(O.adler=c(O.adler,B.pending_buf,B.pending-V,V)),ae(O),V=B.pending,B.pending!==B.pending_buf_size));)ke(B,255&B.gzhead.extra[B.gzindex]),B.gzindex++;B.gzhead.hcrc&&B.pending>V&&(O.adler=c(O.adler,B.pending_buf,B.pending-V,V)),B.gzindex===B.gzhead.extra.length&&(B.gzindex=0,B.status=73)}else B.status=73;if(B.status===73)if(B.gzhead.name){V=B.pending;do{if(B.pending===B.pending_buf_size&&(B.gzhead.hcrc&&B.pending>V&&(O.adler=c(O.adler,B.pending_buf,B.pending-V,V)),ae(O),V=B.pending,B.pending===B.pending_buf_size)){de=1;break}de=B.gzindex<B.gzhead.name.length?255&B.gzhead.name.charCodeAt(B.gzindex++):0,ke(B,de)}while(de!==0);B.gzhead.hcrc&&B.pending>V&&(O.adler=c(O.adler,B.pending_buf,B.pending-V,V)),de===0&&(B.gzindex=0,B.status=91)}else B.status=91;if(B.status===91)if(B.gzhead.comment){V=B.pending;do{if(B.pending===B.pending_buf_size&&(B.gzhead.hcrc&&B.pending>V&&(O.adler=c(O.adler,B.pending_buf,B.pending-V,V)),ae(O),V=B.pending,B.pending===B.pending_buf_size)){de=1;break}de=B.gzindex<B.gzhead.comment.length?255&B.gzhead.comment.charCodeAt(B.gzindex++):0,ke(B,de)}while(de!==0);B.gzhead.hcrc&&B.pending>V&&(O.adler=c(O.adler,B.pending_buf,B.pending-V,V)),de===0&&(B.status=103)}else B.status=103;if(B.status===103&&(B.gzhead.hcrc?(B.pending+2>B.pending_buf_size&&ae(O),B.pending+2<=B.pending_buf_size&&(ke(B,255&O.adler),ke(B,O.adler>>8&255),O.adler=0,B.status=D)):B.status=D),B.pending!==0){if(ae(O),O.avail_out===0)return B.last_flush=-1,h}else if(O.avail_in===0&&ne(oe)<=ne(Z)&&oe!==f)return se(O,-5);if(B.status===666&&O.avail_in!==0)return se(O,-5);if(O.avail_in!==0||B.lookahead!==0||oe!==d&&B.status!==666){var ze=B.strategy===2?function(Se,Me){for(var Ze;;){if(Se.lookahead===0&&(Ne(Se),Se.lookahead===0)){if(Me===d)return A;break}if(Se.match_length=0,Ze=s._tr_tally(Se,0,Se.window[Se.strstart]),Se.lookahead--,Se.strstart++,Ze&&(ce(Se,!1),Se.strm.avail_out===0))return A}return Se.insert=0,Me===f?(ce(Se,!0),Se.strm.avail_out===0?X:Y):Se.last_lit&&(ce(Se,!1),Se.strm.avail_out===0)?A:M}(B,oe):B.strategy===3?function(Se,Me){for(var Ze,_e,at,rt,ut=Se.window;;){if(Se.lookahead<=F){if(Ne(Se),Se.lookahead<=F&&Me===d)return A;if(Se.lookahead===0)break}if(Se.match_length=0,Se.lookahead>=P&&0<Se.strstart&&(_e=ut[at=Se.strstart-1])===ut[++at]&&_e===ut[++at]&&_e===ut[++at]){rt=Se.strstart+F;do;while(_e===ut[++at]&&_e===ut[++at]&&_e===ut[++at]&&_e===ut[++at]&&_e===ut[++at]&&_e===ut[++at]&&_e===ut[++at]&&_e===ut[++at]&&at<rt);Se.match_length=F-(rt-at),Se.match_length>Se.lookahead&&(Se.match_length=Se.lookahead)}if(Se.match_length>=P?(Ze=s._tr_tally(Se,1,Se.match_length-P),Se.lookahead-=Se.match_length,Se.strstart+=Se.match_length,Se.match_length=0):(Ze=s._tr_tally(Se,0,Se.window[Se.strstart]),Se.lookahead--,Se.strstart++),Ze&&(ce(Se,!1),Se.strm.avail_out===0))return A}return Se.insert=0,Me===f?(ce(Se,!0),Se.strm.avail_out===0?X:Y):Se.last_lit&&(ce(Se,!1),Se.strm.avail_out===0)?A:M}(B,oe):a[B.level].func(B,oe);if(ze!==X&&ze!==Y||(B.status=666),ze===A||ze===X)return O.avail_out===0&&(B.last_flush=-1),h;if(ze===M&&(oe===1?s._tr_align(B):oe!==5&&(s._tr_stored_block(B,0,0,!1),oe===3&&(ie(B.head),B.lookahead===0&&(B.strstart=0,B.block_start=0,B.insert=0))),ae(O),O.avail_out===0))return B.last_flush=-1,h}return oe!==f?h:B.wrap<=0?1:(B.wrap===2?(ke(B,255&O.adler),ke(B,O.adler>>8&255),ke(B,O.adler>>16&255),ke(B,O.adler>>24&255),ke(B,255&O.total_in),ke(B,O.total_in>>8&255),ke(B,O.total_in>>16&255),ke(B,O.total_in>>24&255)):(ge(B,O.adler>>>16),ge(B,65535&O.adler)),ae(O),0<B.wrap&&(B.wrap=-B.wrap),B.pending!==0?h:1)},i.deflateEnd=function(O){var oe;return O&&O.state?(oe=O.state.status)!==R&&oe!==69&&oe!==73&&oe!==91&&oe!==103&&oe!==D&&oe!==666?se(O,p):(O.state=null,oe===D?se(O,-3):h):p},i.deflateSetDictionary=function(O,oe){var Z,B,V,de,Pe,ze,Se,Me,Ze=oe.length;if(!O||!O.state||(de=(Z=O.state).wrap)===2||de===1&&Z.status!==R||Z.lookahead)return p;for(de===1&&(O.adler=l(O.adler,oe,Ze,0)),Z.wrap=0,Ze>=Z.w_size&&(de===0&&(ie(Z.head),Z.strstart=0,Z.block_start=0,Z.insert=0),Me=new o.Buf8(Z.w_size),o.arraySet(Me,oe,Ze-Z.w_size,Z.w_size,0),oe=Me,Ze=Z.w_size),Pe=O.avail_in,ze=O.next_in,Se=O.input,O.avail_in=Ze,O.next_in=0,O.input
vendor: 4,292 bytes, line 462
462=oe,Ne(Z);Z.lookahead>=P;){for(B=Z.strstart,V=Z.lookahead-(P-1);Z.ins_h=(Z.ins_h<<Z.hash_shift^Z.window[B+P-1])&Z.hash_mask,Z.prev[B&Z.w_mask]=Z.head[Z.ins_h],Z.head[Z.ins_h]=B,B++,--V;);Z.strstart=B,Z.lookahead=P-1,Ne(Z)}return Z.strstart+=Z.lookahead,Z.block_start=Z.strstart,Z.insert=Z.lookahead,Z.lookahead=0,Z.match_length=Z.prev_length=P-1,Z.match_available=0,O.next_in=ze,O.input=Se,O.avail_in=Pe,Z.wrap=de,h},i.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(r,n,i){n.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(r,n,i){n.exports=function(a,o){var s,l,c,u,d,f,h,p,g,v,m,b,y,w,x,C,T,_,P,F,I,R,D,A,M;s=a.state,l=a.next_in,A=a.input,c=l+(a.avail_in-5),u=a.next_out,M=a.output,d=u-(o-a.avail_out),f=u+(a.avail_out-257),h=s.dmax,p=s.wsize,g=s.whave,v=s.wnext,m=s.window,b=s.hold,y=s.bits,w=s.lencode,x=s.distcode,C=(1<<s.lenbits)-1,T=(1<<s.distbits)-1;e:do{y<15&&(b+=A[l++]<<y,y+=8,b+=A[l++]<<y,y+=8),_=w[b&C];t:for(;;){if(b>>>=P=_>>>24,y-=P,(P=_>>>16&255)===0)M[u++]=65535&_;else{if(!(16&P)){if(!(64&P)){_=w[(65535&_)+(b&(1<<P)-1)];continue t}if(32&P){s.mode=12;break e}a.msg="invalid literal/length code",s.mode=30;break e}F=65535&_,(P&=15)&&(y<P&&(b+=A[l++]<<y,y+=8),F+=b&(1<<P)-1,b>>>=P,y-=P),y<15&&(b+=A[l++]<<y,y+=8,b+=A[l++]<<y,y+=8),_=x[b&T];r:for(;;){if(b>>>=P=_>>>24,y-=P,!(16&(P=_>>>16&255))){if(!(64&P)){_=x[(65535&_)+(b&(1<<P)-1)];continue r}a.msg="invalid distance code",s.mode=30;break e}if(I=65535&_,y<(P&=15)&&(b+=A[l++]<<y,(y+=8)<P&&(b+=A[l++]<<y,y+=8)),h<(I+=b&(1<<P)-1)){a.msg="invalid distance too far back",s.mode=30;break e}if(b>>>=P,y-=P,(P=u-d)<I){if(g<(P=I-P)&&s.sane){a.msg="invalid distance too far back",s.mode=30;break e}if(D=m,(R=0)===v){if(R+=p-P,P<F){for(F-=P;M[u++]=m[R++],--P;);R=u-I,D=M}}else if(v<P){if(R+=p+v-P,(P-=v)<F){for(F-=P;M[u++]=m[R++],--P;);if(R=0,v<F){for(F-=P=v;M[u++]=m[R++],--P;);R=u-I,D=M}}}else if(R+=v-P,P<F){for(F-=P;M[u++]=m[R++],--P;);R=u-I,D=M}for(;2<F;)M[u++]=D[R++],M[u++]=D[R++],M[u++]=D[R++],F-=3;F&&(M[u++]=D[R++],1<F&&(M[u++]=D[R++]))}else{for(R=u-I;M[u++]=M[R++],M[u++]=M[R++],M[u++]=M[R++],2<(F-=3););F&&(M[u++]=M[R++],1<F&&(M[u++]=M[R++]))}break}}break}}while(l<c&&u<f);l-=F=y>>3,b&=(1<<(y-=F<<3))-1,a.next_in=l,a.next_out=u,a.avail_in=l<c?c-l+5:5-(l-c),a.avail_out=u<f?f-u+257:257-(u-f),s.hold=b,s.bits=y}},{}],49:[function(r,n,i){var a=r("../utils/common"),o=r("./adler32"),s=r("./crc32"),l=r("./inffast"),c=r("./inftrees"),u=1,d=2,f=0,h=-2,p=1,g=852,v=592;function m(R){return(R>>>24&255)+(R>>>8&65280)+((65280&R)<<8)+((255&R)<<24)}function b(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function y(R){var D;return R&&R.state?(D=R.state,R.total_in=R.total_out=D.total=0,R.msg="",D.wrap&&(R.adler=1&D.wrap),D.mode=p,D.last=0,D.havedict=0,D.dmax=32768,D.head=null,D.hold=0,D.bits=0,D.lencode=D.lendyn=new a.Buf32(g),D.distcode=D.distdyn=new a.Buf32(v),D.sane=1,D.back=-1,f):h}function w(R){var D;return R&&R.state?((D=R.state).wsize=0,D.whave=0,D.wnext=0,y(R)):h}function x(R,D){var A,M;return R&&R.state?(M=R.state,D<0?(A=0,D=-D):(A=1+(D>>4),D<48&&(D&=15)),D&&(D<8||15<D)?h:(M.window!==null&&M.wbits!==D&&(M.window=null),M.wrap=A,M.wbits=D,w(R))):h}function C(R,D){var A,M;return R?(M=new b,(R.state=M).window=null,(A=x(R,D))!==f&&(R.state=null),A):h}var T,_,P=!0;function F(R){if(P){var D;for(T=new a.Buf32(512),_=new a.Buf32(32),D=0;D<144;)R.lens[D++]=8;for(;D<256;)R.lens[D++]=9;for(;D<280;)R.lens[D++]=7;for(;D<288;)R.lens[D++]=8;for(c(u,R.lens,0,288,T,0,R.work,{bits:9}),D=0;D<32;)R.lens[D++]=5;c(d,R.lens,0,32,_,0,R.work,{bits:5}),P=!1}R.lencode=T,R.lenbits=9,R.distcode=_,R.distbits=5}function I(R,D,A,M){var X,Y=R.state;
vendor: 4,585 bytes, line 462
462return Y.window===null&&(Y.wsize=1<<Y.wbits,Y.wnext=0,Y.whave=0,Y.window=new a.Buf8(Y.wsize)),M>=Y.wsize?(a.arraySet(Y.window,D,A-Y.wsize,Y.wsize,0),Y.wnext=0,Y.whave=Y.wsize):(M<(X=Y.wsize-Y.wnext)&&(X=M),a.arraySet(Y.window,D,A-M,X,Y.wnext),(M-=X)?(a.arraySet(Y.window,D,A-M,M,0),Y.wnext=M,Y.whave=Y.wsize):(Y.wnext+=X,Y.wnext===Y.wsize&&(Y.wnext=0),Y.whave<Y.wsize&&(Y.whave+=X))),0}i.inflateReset=w,i.inflateReset2=x,i.inflateResetKeep=y,i.inflateInit=function(R){return C(R,15)},i.inflateInit2=C,i.inflate=function(R,D){var A,M,X,Y,se,ne,ie,ae,ce,ke,ge,De,Ne,We,z,J,j,q,G,N,O,oe,Z,B,V=0,de=new a.Buf8(4),Pe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!R||!R.state||!R.output||!R.input&&R.avail_in!==0)return h;(A=R.state).mode===12&&(A.mode=13),se=R.next_out,X=R.output,ie=R.avail_out,Y=R.next_in,M=R.input,ne=R.avail_in,ae=A.hold,ce=A.bits,ke=ne,ge=ie,oe=f;e:for(;;)switch(A.mode){case p:if(A.wrap===0){A.mode=13;break}for(;ce<16;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}if(2&A.wrap&&ae===35615){de[A.check=0]=255&ae,de[1]=ae>>>8&255,A.check=s(A.check,de,2,0),ce=ae=0,A.mode=2;break}if(A.flags=0,A.head&&(A.head.done=!1),!(1&A.wrap)||(((255&ae)<<8)+(ae>>8))%31){R.msg="incorrect header check",A.mode=30;break}if((15&ae)!=8){R.msg="unknown compression method",A.mode=30;break}if(ce-=4,O=8+(15&(ae>>>=4)),A.wbits===0)A.wbits=O;else if(O>A.wbits){R.msg="invalid window size",A.mode=30;break}A.dmax=1<<O,R.adler=A.check=1,A.mode=512&ae?10:12,ce=ae=0;break;case 2:for(;ce<16;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}if(A.flags=ae,(255&A.flags)!=8){R.msg="unknown compression method",A.mode=30;break}if(57344&A.flags){R.msg="unknown header flags set",A.mode=30;break}A.head&&(A.head.text=ae>>8&1),512&A.flags&&(de[0]=255&ae,de[1]=ae>>>8&255,A.check=s(A.check,de,2,0)),ce=ae=0,A.mode=3;case 3:for(;ce<32;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}A.head&&(A.head.time=ae),512&A.flags&&(de[0]=255&ae,de[1]=ae>>>8&255,de[2]=ae>>>16&255,de[3]=ae>>>24&255,A.check=s(A.check,de,4,0)),ce=ae=0,A.mode=4;case 4:for(;ce<16;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}A.head&&(A.head.xflags=255&ae,A.head.os=ae>>8),512&A.flags&&(de[0]=255&ae,de[1]=ae>>>8&255,A.check=s(A.check,de,2,0)),ce=ae=0,A.mode=5;case 5:if(1024&A.flags){for(;ce<16;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}A.length=ae,A.head&&(A.head.extra_len=ae),512&A.flags&&(de[0]=255&ae,de[1]=ae>>>8&255,A.check=s(A.check,de,2,0)),ce=ae=0}else A.head&&(A.head.extra=null);A.mode=6;case 6:if(1024&A.flags&&(ne<(De=A.length)&&(De=ne),De&&(A.head&&(O=A.head.extra_len-A.length,A.head.extra||(A.head.extra=new Array(A.head.extra_len)),a.arraySet(A.head.extra,M,Y,De,O)),512&A.flags&&(A.check=s(A.check,M,De,Y)),ne-=De,Y+=De,A.length-=De),A.length))break e;A.length=0,A.mode=7;case 7:if(2048&A.flags){if(ne===0)break e;for(De=0;O=M[Y+De++],A.head&&O&&A.length<65536&&(A.head.name+=String.fromCharCode(O)),O&&De<ne;);if(512&A.flags&&(A.check=s(A.check,M,De,Y)),ne-=De,Y+=De,O)break e}else A.head&&(A.head.name=null);A.length=0,A.mode=8;case 8:if(4096&A.flags){if(ne===0)break e;for(De=0;O=M[Y+De++],A.head&&O&&A.length<65536&&(A.head.comment+=String.fromCharCode(O)),O&&De<ne;);if(512&A.flags&&(A.check=s(A.check,M,De,Y)),ne-=De,Y+=De,O)break e}else A.head&&(A.head.comment=null);A.mode=9;case 9:if(512&A.flags){for(;ce<16;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}if(ae!==(65535&A.check)){R.msg="header crc mismatch",A.mode=30;break}ce=ae=0}A.head&&(A.head.hcrc=A.flags>>9&1,A.head.done=!0),R.adler=A.check=0,A.mode=12;break;case 10:for(;ce<32;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}R.adler=A.check=m(ae),ce=ae=0,A.mode=11;case 11:if(A.havedict===0)return R.next_out=se,R.avail_out=ie,R.next_in=Y,R.avail_in=ne,A.hold=ae,A.bits=ce,2;R.adler=A.check=1,A.mode=12;case 12:if(D===5||D===6)break e;case 13:if(A.last){ae>>>=7&ce,ce-=7&ce,A.mode=27;break}for(;ce<3;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}switch(A.last=1&ae,ce-=1,3&(ae>>>=1)){case 0:A.mode=14;break;case 1:if(F(A),A.mode=20,D!==6)break;ae>>>=2,ce-=2;break e;case 2:A.mode=17;break;case 3:R.msg="invalid block type",A.mode=30}ae>>>=2,ce-=2;break;case 14:for(ae>>>=7&ce,ce-=7&ce;ce<32;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}if((65535&ae)!=(ae>>>16^65535)){R.msg="invalid stored block lengths",A.mode=30;break}if(A.length=65535&ae,ce=ae=0,A.mode=15,D===6)break e;case 15:A.mode=16;case 16:if(De=A.length){if(ne<De&&(De=ne),ie<De&&(De=ie),De===0)break e;a.arraySet(X,M,Y,De,se),ne-=De,Y+=De,ie-=De,se+=De,A.length-=De;break}A.mode=12;break;case 17:for(;ce<14;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}if(A.nlen=257+(31&ae),ae>>>
vendor: 5,803 bytes, line 462
462=5,ce-=5,A.ndist=1+(31&ae),ae>>>=5,ce-=5,A.ncode=4+(15&ae),ae>>>=4,ce-=4,286<A.nlen||30<A.ndist){R.msg="too many length or distance symbols",A.mode=30;break}A.have=0,A.mode=18;case 18:for(;A.have<A.ncode;){for(;ce<3;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}A.lens[Pe[A.have++]]=7&ae,ae>>>=3,ce-=3}for(;A.have<19;)A.lens[Pe[A.have++]]=0;if(A.lencode=A.lendyn,A.lenbits=7,Z={bits:A.lenbits},oe=c(0,A.lens,0,19,A.lencode,0,A.work,Z),A.lenbits=Z.bits,oe){R.msg="invalid code lengths set",A.mode=30;break}A.have=0,A.mode=19;case 19:for(;A.have<A.nlen+A.ndist;){for(;J=(V=A.lencode[ae&(1<<A.lenbits)-1])>>>16&255,j=65535&V,!((z=V>>>24)<=ce);){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}if(j<16)ae>>>=z,ce-=z,A.lens[A.have++]=j;else{if(j===16){for(B=z+2;ce<B;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}if(ae>>>=z,ce-=z,A.have===0){R.msg="invalid bit length repeat",A.mode=30;break}O=A.lens[A.have-1],De=3+(3&ae),ae>>>=2,ce-=2}else if(j===17){for(B=z+3;ce<B;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}ce-=z,O=0,De=3+(7&(ae>>>=z)),ae>>>=3,ce-=3}else{for(B=z+7;ce<B;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}ce-=z,O=0,De=11+(127&(ae>>>=z)),ae>>>=7,ce-=7}if(A.have+De>A.nlen+A.ndist){R.msg="invalid bit length repeat",A.mode=30;break}for(;De--;)A.lens[A.have++]=O}}if(A.mode===30)break;if(A.lens[256]===0){R.msg="invalid code -- missing end-of-block",A.mode=30;break}if(A.lenbits=9,Z={bits:A.lenbits},oe=c(u,A.lens,0,A.nlen,A.lencode,0,A.work,Z),A.lenbits=Z.bits,oe){R.msg="invalid literal/lengths set",A.mode=30;break}if(A.distbits=6,A.distcode=A.distdyn,Z={bits:A.distbits},oe=c(d,A.lens,A.nlen,A.ndist,A.distcode,0,A.work,Z),A.distbits=Z.bits,oe){R.msg="invalid distances set",A.mode=30;break}if(A.mode=20,D===6)break e;case 20:A.mode=21;case 21:if(6<=ne&&258<=ie){R.next_out=se,R.avail_out=ie,R.next_in=Y,R.avail_in=ne,A.hold=ae,A.bits=ce,l(R,ge),se=R.next_out,X=R.output,ie=R.avail_out,Y=R.next_in,M=R.input,ne=R.avail_in,ae=A.hold,ce=A.bits,A.mode===12&&(A.back=-1);break}for(A.back=0;J=(V=A.lencode[ae&(1<<A.lenbits)-1])>>>16&255,j=65535&V,!((z=V>>>24)<=ce);){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}if(J&&!(240&J)){for(q=z,G=J,N=j;J=(V=A.lencode[N+((ae&(1<<q+G)-1)>>q)])>>>16&255,j=65535&V,!(q+(z=V>>>24)<=ce);){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}ae>>>=q,ce-=q,A.back+=q}if(ae>>>=z,ce-=z,A.back+=z,A.length=j,J===0){A.mode=26;break}if(32&J){A.back=-1,A.mode=12;break}if(64&J){R.msg="invalid literal/length code",A.mode=30;break}A.extra=15&J,A.mode=22;case 22:if(A.extra){for(B=A.extra;ce<B;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}A.length+=ae&(1<<A.extra)-1,ae>>>=A.extra,ce-=A.extra,A.back+=A.extra}A.was=A.length,A.mode=23;case 23:for(;J=(V=A.distcode[ae&(1<<A.distbits)-1])>>>16&255,j=65535&V,!((z=V>>>24)<=ce);){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}if(!(240&J)){for(q=z,G=J,N=j;J=(V=A.distcode[N+((ae&(1<<q+G)-1)>>q)])>>>16&255,j=65535&V,!(q+(z=V>>>24)<=ce);){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}ae>>>=q,ce-=q,A.back+=q}if(ae>>>=z,ce-=z,A.back+=z,64&J){R.msg="invalid distance code",A.mode=30;break}A.offset=j,A.extra=15&J,A.mode=24;case 24:if(A.extra){for(B=A.extra;ce<B;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}A.offset+=ae&(1<<A.extra)-1,ae>>>=A.extra,ce-=A.extra,A.back+=A.extra}if(A.offset>A.dmax){R.msg="invalid distance too far back",A.mode=30;break}A.mode=25;case 25:if(ie===0)break e;if(De=ge-ie,A.offset>De){if((De=A.offset-De)>A.whave&&A.sane){R.msg="invalid distance too far back",A.mode=30;break}Ne=De>A.wnext?(De-=A.wnext,A.wsize-De):A.wnext-De,De>A.length&&(De=A.length),We=A.window}else We=X,Ne=se-A.offset,De=A.length;for(ie<De&&(De=ie),ie-=De,A.length-=De;X[se++]=We[Ne++],--De;);A.length===0&&(A.mode=21);break;case 26:if(ie===0)break e;X[se++]=A.length,ie--,A.mode=21;break;case 27:if(A.wrap){for(;ce<32;){if(ne===0)break e;ne--,ae|=M[Y++]<<ce,ce+=8}if(ge-=ie,R.total_out+=ge,A.total+=ge,ge&&(R.adler=A.check=A.flags?s(A.check,X,ge,se-ge):o(A.check,X,ge,se-ge)),ge=ie,(A.flags?ae:m(ae))!==A.check){R.msg="incorrect data check",A.mode=30;break}ce=ae=0}A.mode=28;case 28:if(A.wrap&&A.flags){for(;ce<32;){if(ne===0)break e;ne--,ae+=M[Y++]<<ce,ce+=8}if(ae!==(4294967295&A.total)){R.msg="incorrect length check",A.mode=30;break}ce=ae=0}A.mode=29;case 29:oe=1;break e;case 30:oe=-3;break e;case 31:return-4;case 32:default:return h}return R.next_out=se,R.avail_out=ie,R.next_in=Y,R.avail_in=ne,A.hold=ae,A.bits=ce,(A.wsize||ge!==R.avail_out&&A.mode<30&&(A.mode<27||D!==4))&&I(R,R.output,R.next_out,ge-R.avail_out)?(A.mode=31,-4):(ke-=R.avail_in,ge-=R.avail_out,R.total_in+=ke,R.total_out+=ge,A.total+=ge,A.wrap&&ge&&(R.adler=A.check=A.flags?s(A.check,X,ge,R.next_out-ge):o(A.check,X,ge,R.next_out-ge)),R.data_type=A.bits+(A.last?64:0)+(A.mode===12?128:0)+(A.mode===20||A.mode===15?256:0),(ke==0&&ge===0||D===4)&&oe===f&&(oe=-5),oe)},i.inflateEnd=function(R){if(!R||!R.state)return h;var D=R.state;return D.window&&(D.window=null),R.state=null,f},i.inflateGetHeader=function(R,D){var A;return R&&R.state&&2&(A=R.state).wrap?((A.head=D).done=!1,f):h},i.inflateSetDictionary=function(R,D){var A,M=D.length;return R&&R.state?(A=R.state).wrap!==0&&A.mode!==11?h:A.mode===11&&o(1,D,M,0)!==A.check?-3:I(R,D,M,M)?(A.mode=31,-4):(A.havedict=1,f):h},i.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(r,n,i){var a=r("../utils/common"),o=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],l=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],c=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];
vendor: 10,326 bytes, line 462
462n.exports=function(u,d,f,h,p,g,v,m){var b,y,w,x,C,T,_,P,F,I=m.bits,R=0,D=0,A=0,M=0,X=0,Y=0,se=0,ne=0,ie=0,ae=0,ce=null,ke=0,ge=new a.Buf16(16),De=new a.Buf16(16),Ne=null,We=0;for(R=0;R<=15;R++)ge[R]=0;for(D=0;D<h;D++)ge[d[f+D]]++;for(X=I,M=15;1<=M&&ge[M]===0;M--);if(M<X&&(X=M),M===0)return p[g++]=20971520,p[g++]=20971520,m.bits=1,0;for(A=1;A<M&&ge[A]===0;A++);for(X<A&&(X=A),R=ne=1;R<=15;R++)if(ne<<=1,(ne-=ge[R])<0)return-1;if(0<ne&&(u===0||M!==1))return-1;for(De[1]=0,R=1;R<15;R++)De[R+1]=De[R]+ge[R];for(D=0;D<h;D++)d[f+D]!==0&&(v[De[d[f+D]]++]=D);if(T=u===0?(ce=Ne=v,19):u===1?(ce=o,ke-=257,Ne=s,We-=257,256):(ce=l,Ne=c,-1),R=A,C=g,se=D=ae=0,w=-1,x=(ie=1<<(Y=X))-1,u===1&&852<ie||u===2&&592<ie)return 1;for(;;){for(_=R-se,F=v[D]<T?(P=0,v[D]):v[D]>T?(P=Ne[We+v[D]],ce[ke+v[D]]):(P=96,0),b=1<<R-se,A=y=1<<Y;p[C+(ae>>se)+(y-=b)]=_<<24|P<<16|F|0,y!==0;);for(b=1<<R-1;ae&b;)b>>=1;if(b!==0?(ae&=b-1,ae+=b):ae=0,D++,--ge[R]==0){if(R===M)break;R=d[f+v[D]]}if(X<R&&(ae&x)!==w){for(se===0&&(se=X),C+=A,ne=1<<(Y=R-se);Y+se<M&&!((ne-=ge[Y+se])<=0);)Y++,ne<<=1;if(ie+=1<<Y,u===1&&852<ie||u===2&&592<ie)return 1;p[w=ae&x]=X<<24|Y<<16|C-g|0}}return ae!==0&&(p[C+ae]=R-se<<24|64<<16|0),m.bits=X,0}},{"../utils/common":41}],51:[function(r,n,i){n.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(r,n,i){var a=r("../utils/common"),o=0,s=1;function l(V){for(var de=V.length;0<=--de;)V[de]=0}var c=0,u=29,d=256,f=d+1+u,h=30,p=19,g=2*f+1,v=15,m=16,b=7,y=256,w=16,x=17,C=18,T=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],_=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],P=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],I=new Array(2*(f+2));l(I);var R=new Array(2*h);l(R);var D=new Array(512);l(D);var A=new Array(256);l(A);var M=new Array(u);l(M);var X,Y,se,ne=new Array(h);function ie(V,de,Pe,ze,Se){this.static_tree=V,this.extra_bits=de,this.extra_base=Pe,this.elems=ze,this.max_length=Se,this.has_stree=V&&V.length}function ae(V,de){this.dyn_tree=V,this.max_code=0,this.stat_desc=de}function ce(V){return V<256?D[V]:D[256+(V>>>7)]}function ke(V,de){V.pending_buf[V.pending++]=255&de,V.pending_buf[V.pending++]=de>>>8&255}function ge(V,de,Pe){V.bi_valid>m-Pe?(V.bi_buf|=de<<V.bi_valid&65535,ke(V,V.bi_buf),V.bi_buf=de>>m-V.bi_valid,V.bi_valid+=Pe-m):(V.bi_buf|=de<<V.bi_valid&65535,V.bi_valid+=Pe)}function De(V,de,Pe){ge(V,Pe[2*de],Pe[2*de+1])}function Ne(V,de){for(var Pe=0;Pe|=1&V,V>>>=1,Pe<<=1,0<--de;);return Pe>>>1}function We(V,de,Pe){var ze,Se,Me=new Array(v+1),Ze=0;for(ze=1;ze<=v;ze++)Me[ze]=Ze=Ze+Pe[ze-1]<<1;for(Se=0;Se<=de;Se++){var _e=V[2*Se+1];_e!==0&&(V[2*Se]=Ne(Me[_e]++,_e))}}function z(V){var de;for(de=0;de<f;de++)V.dyn_ltree[2*de]=0;for(de=0;de<h;de++)V.dyn_dtree[2*de]=0;for(de=0;de<p;de++)V.bl_tree[2*de]=0;V.dyn_ltree[2*y]=1,V.opt_len=V.static_len=0,V.last_lit=V.matches=0}function J(V){8<V.bi_valid?ke(V,V.bi_buf):0<V.bi_valid&&(V.pending_buf[V.pending++]=V.bi_buf),V.bi_buf=0,V.bi_valid=0}function j(V,de,Pe,ze){var Se=2*de,Me=2*Pe;return V[Se]<V[Me]||V[Se]===V[Me]&&ze[de]<=ze[Pe]}function q(V,de,Pe){for(var ze=V.heap[Pe],Se=Pe<<1;Se<=V.heap_len&&(Se<V.heap_len&&j(de,V.heap[Se+1],V.heap[Se],V.depth)&&Se++,!j(de,ze,V.heap[Se],V.depth));)V.heap[Pe]=V.heap[Se],Pe=Se,Se<<=1;V.heap[Pe]=ze}function G(V,de,Pe){var ze,Se,Me,Ze,_e=0;if(V.last_lit!==0)for(;ze=V.pending_buf[V.d_buf+2*_e]<<8|V.pending_buf[V.d_buf+2*_e+1],Se=V.pending_buf[V.l_buf+_e],_e++,ze===0?De(V,Se,de):(De(V,(Me=A[Se])+d+1,de),(Ze=T[Me])!==0&&ge(V,Se-=M[Me],Ze),De(V,Me=ce(--ze),Pe),(Ze=_[Me])!==0&&ge(V,ze-=ne[Me],Ze)),_e<V.last_lit;);De(V,y,de)}function N(V,de){var Pe,ze,Se,Me=de.dyn_tree,Ze=de.stat_desc.static_tree,_e=de.stat_desc.has_stree,at=de.stat_desc.elems,rt=-1;for(V.heap_len=0,V.heap_max=g,Pe=0;Pe<at;Pe++)Me[2*Pe]!==0?(V.heap[++V.heap_len]=rt=Pe,V.depth[Pe]=0):Me[2*Pe+1]=0;for(;V.heap_len<2;)Me[2*(Se=V.heap[++V.heap_len]=rt<2?++rt:0)]=1,V.depth[Se]=0,V.opt_len--,_e&&(V.static_len-=Ze[2*Se+1]);for(de.max_code=rt,Pe=V.heap_len>>1;1<=Pe;Pe--)q(V,Me,Pe);for(Se=at;Pe=V.heap[1],V.heap[1]=V.heap[V.heap_len--],q(V,Me,1),ze=V.heap[1],V.heap[--V.heap_max]=Pe,V.heap[--V.heap_max]=ze,Me[2*Se]=Me[2*Pe]+Me[2*ze],V.depth[Se]=(V.depth[Pe]>=V.depth[ze]?V.depth[Pe]:V.depth[ze])+1,Me[2*Pe+1]=Me[2*ze+1]=Se,V.heap[1]=Se++,q(V,Me,1),2<=V.heap_len;);V.heap[--V.heap_max]=V.heap[1],function(ut,Mt){var rr,tt,nr,Ht,un,xe,zn=Mt.dyn_tree,da=Mt.max_code,_s=Mt.stat_desc.static_tree,gl=Mt.stat_desc.has_stree,Ps=Mt.stat_desc.extra_bits,ka=Mt.stat_desc.extra_base,Ga=Mt.stat_desc.max_length,ii=0;for(Ht=0;Ht<=v;Ht++)ut.bl_count[Ht]=0;for(zn[2*ut.heap[ut.heap_max]+1]=0,rr=ut.heap_max+1;rr<g;rr++)Ga<(Ht=zn[2*zn[2*(tt=ut.heap[rr])+1]+1]+1)&&(Ht=Ga,ii++),zn[2*tt+1]=Ht,da<tt||(ut.bl_count[Ht]++,un=0,ka<=tt&&(un=Ps[tt-ka]),xe=zn[2*tt],ut.opt_len+=xe*(Ht+un),gl&&(ut.static_len+=xe*(_s[2*tt+1]+un)));if(ii!==0){do{for(Ht=Ga-1;ut.bl_count[Ht]===0;)Ht--;ut.bl_count[Ht]--,ut.bl_count[Ht+1]+=2,ut.bl_count[Ga]--,ii-=2}while(0<ii);for(Ht=Ga;Ht!==0;Ht--)for(tt=ut.bl_count[Ht];tt!==0;)da<(nr=ut.heap[--rr])||(zn[2*nr+1]!==Ht&&(ut.opt_len+=(Ht-zn[2*nr+1])*zn[2*nr],zn[2*nr+1]=Ht),tt--)}}(V,de),We(Me,rt,V.bl_count)}function O(V,de,Pe){var ze,Se,Me=-1,Ze=de[1],_e=0,at=7,rt=4;for(Ze===0&&(at=138,rt=3),de[2*(Pe+1)+1]=65535,ze=0;ze<=Pe;ze++)Se=Ze,Ze=de[2*(ze+1)+1],++_e<at&&Se===Ze||(_e<rt?V.bl_tree[2*Se]+=_e:Se!==0?(Se!==Me&&V.bl_tree[2*Se]++,V.bl_tree[2*w]++):_e<=10?V.bl_tree[2*x]++:V.bl_tree[2*C]++,Me=Se,rt=(_e=0)===Ze?(at=138,3):Se===Ze?(at=6,3):(at=7,4))}function oe(V,de,Pe){var ze,Se,Me=-1,Ze=de[1],_e=0,at=7,rt=4;for(Ze===0&&(at=138,rt=3),ze=0;ze<=Pe;ze++)if(Se=Ze,Ze=de[2*(ze+1)+1],!(++_e<at&&Se===Ze)){if(_e<rt)for(;De(V,Se,V.bl_tree),--_e!=0;);else Se!==0?(Se!==Me&&(De(V,Se,V.bl_tree),_e--),De(V,w,V.bl_tree),ge(V,_e-3,2)):_e<=10?(De(V,x,V.bl_tree),ge(V,_e-3,3)):(De(V,C,V.bl_tree),ge(V,_e-11,7));Me=Se,rt=(_e=0)===Ze?(at=138,3):Se===Ze?(at=6,3):(at=7,4)}}l(ne);var Z=!1;function B(V,de,Pe,ze){ge(V,(c<<1)+(ze?1:0),3),function(Se,Me,Ze,_e){J(Se),ke(Se,Ze),ke(Se,~Ze),a.arraySet(Se.pending_buf,Se.window,Me,Ze,Se.pending),Se.pending+=Ze}(V,de,Pe)}i._tr_init=function(V){Z||(function(){var de,Pe,ze,Se,Me,Ze=new Array(v+1);for(Se=ze=0;Se<u-1;Se++)for(M[Se]=ze,de=0;de<1<<T[Se];de++)A[ze++]=Se;for(A[ze-1]=Se,Se=Me=0;Se<16;Se++)for(ne[Se]=Me,de=0;de<1<<_[Se];de++)D[Me++]=Se;for(Me>>=7;Se<h;Se++)for(ne[Se]=Me<<7,de=0;de<1<<_[Se]-7;de++)D[256+Me++]=Se;for(Pe=0;Pe<=v;Pe++)Ze[Pe]=0;for(de=0;de<=143;)I[2*de+1]=8,de++,Ze[8]++;for(;de<=255;)I[2*de+1]=9,de++,Ze[9]++;for(;de<=279;)I[2*de+1]=7,de++,Ze[7]++;for(;de<=287;)I[2*de+1]=8,de++,Ze[8]++;for(We(I,f+1,Ze),de=0;de<h;de++)R[2*de+1]=5,R[2*de]=Ne(de,5);X=new ie(I,T,d+1,f,v),Y=new ie(R,_,0,h,v),se=new ie(new Array(0),P,0,p,b)}(),Z=!0),V.l_desc=new ae(V.dyn_ltree,X),V.d_desc=new ae(V.dyn_dtree,Y),V.bl_desc=new ae(V.bl_tree,se),V.bi_buf=0,V.bi_valid=0,z(V)},i._tr_stored_block=B,i._tr_flush_block=function(V,de,Pe,ze){var Se,Me,Ze=0;0<V.level?(V.strm.data_type===2&&(V.strm.data_type=function(_e){var at,rt=4093624447;for(at=0;at<=31;at++,rt>>>=1)if(1&rt&&_e.dyn_ltree[2*at]!==0)return o;if(_e.dyn_ltree[18]!==0||_e.dyn_ltree[20]!==0||_e.dyn_ltree[26]!==0)return s;for(at=32;at<d;at++)if(_e.dyn_ltree[2*at]!==0)return s;return o}(V)),N(V,V.l_desc),N(V,V.d_desc),Ze=function(_e){var at;for(O(_e,_e.dyn_ltree,_e.l_desc.max_code),O(_e,_e.dyn_dtree,_e.d_desc.max_code),N(_e,_e.bl_desc),at=p-1;3<=at&&_e.bl_tree[2*F[at]+1]===0;at--);return _e.opt_len+=3*(at+1)+5+5+4,at}(V),Se=V.opt_len+3+7>>>3,(Me=V.static_len+3+7>>>3)<=Se&&(Se=Me)):Se=Me=Pe+5,Pe+4<=Se&&de!==-1?B(V,de,Pe,ze):V.strategy===4||Me===Se?(ge(V,2+(ze?1:0),3),G(V,I,R)):(ge(V,4+(ze?1:0),3),function(_e,at,rt,ut){var Mt;for(ge(_e,at-257,5),ge(_e,rt-1,5),ge(_e,ut-4,4),Mt=0;Mt<ut;Mt++)ge(_e,_e.bl_tree[2*F[Mt]+1],3);oe(_e,_e.dyn_ltree,at-1),oe(_e,_e.dyn_dtree,rt-1)}(V,V.l_desc.max_code+1,V.d_desc.max_code+1,Ze+1),G(V,V.dyn_ltree,V.dyn_dtree)),z(V),ze&&J(V)},i._tr_tally=function(V,de,Pe){return V.pending_buf[V.d_buf+2*V.last_lit]=de>>>8&255,V.pending_buf[V.d_buf+2*V.last_lit+1]=255&de,V.pending_buf[V.l_buf+V.last_lit]=255&Pe,V.last_lit++,de===0?V.dyn_ltree[2*Pe]++:(V.matches++,de--,V.dyn_ltree[2*(A[Pe]+d+1)]++,V.dyn_dtree[2*ce(de)]++),V.last_lit===V.lit_bufsize-1},i._tr_align=function(V){ge(V,2,3),De(V,y,I),function(de){de.bi_valid===16?(ke(de,de.bi_buf),de.bi_buf=0,de.bi_valid=0):8<=de.bi_valid&&(de.pending_buf[de.pending++]=255&de.bi_buf,de.bi_buf>>=8,de.bi_valid-=8)}(V)}},{"../utils/common":41}],53:[function(r,n,i){n.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(r,n,i){(function(a){(function(o,s){if(!o.setImmediate){var l,c,u,d,f=1,h={},p=!1,g=o.document,v=Object.getPrototypeOf&&Object.getPrototypeOf(o);v=v&&v.setTimeout?v:o,l={}.toString.call(o.process)==="[object process]"?function(w){process.nextTick(function(){b(w)})}:function(){if(o.postMessage&&!o.importScripts){var w=!0,x=o.onmessage;return o.onmessage=function(){w=!1},o.postMessage("","*"),o.onmessage=x,w}}()?(d="setImmediate$"+Math.random()+"$",o.addEventListener?o.addEventListener("message",y,!1):o.attachEvent("onmessage",y),function(w){o.postMessage(d+w,"*")}):o.MessageChannel?((u=new MessageChannel).port1.onmessage=function(w){b(w.data)},function(w){u.port2.postMessage(w)}):g&&"onreadystatechange"in g.createElement("script")?(c=g.documentElement,function(w){var x=g.createElement("script");x.onreadystatechange=function(){b(w),x.onreadystatechange=null,c.removeChild(x),x=null},c.appendChild(x)}):function(w){setTimeout(b,0,w)},v.setImmediate=function(w){typeof w!="function"&&(w=new Function(""+w));for(var x=new Array(arguments.length-1),C=0;C<x.length;C++)x[C]=arguments[C+1];var T={callback:w,args:x};return h[f]=T,l(f),f++},v.clearImmediate=m}function m(w){delete h[w]}function b(w){if(p)setTimeout(b,0,w);else{var x=h[w];if(x){p=!0;try{(function(C){var T=C.callback,_=C.args;switch(_.length){case 0:T();break;case 1:T(_[0]);break;case 2:T(_[0],_[1]);break;case 3:T(_[0],_[1],_[2]);break;default:T.apply(s,_)}})(x)}finally{m(w),p=!1}}}}
vendor: 10,280 bytes, lines 462-475
462function y(w){w.source===o&&typeof w.data=="string"&&w.data.indexOf(d)===0&&b(+w.data.slice(d.length))}})(typeof self>"u"?a===void 0?this:a:self)}).call(this,typeof yn<"u"?yn:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(yce);var yot=yce.exports;const bot=fc(yot);/*! *****************************************************************************
463Copyright (c) Microsoft Corporation.
464
465Permission to use, copy, modify, and/or distribute this software for any
466purpose with or without fee is hereby granted.
467
468THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
469REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
470AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
471INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
472LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
473OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
474PERFORMANCE OF THIS SOFTWARE.
475***************************************************************************** */var DD=function(e,t){return DD=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)n.hasOwnProperty(i)&&(r[i]=n[i])},DD(e,t)};function ft(e,t){DD(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var cr=function(){return cr=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},cr.apply(this,arguments)};function Sot(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Sr(e,t,r,n){function i(a){return a instanceof r?a:new r(function(o){o(a)})}return new(r||(r=Promise))(function(a,o){function s(u){try{c(n.next(u))}catch(d){o(d)}}function l(u){try{c(n.throw(u))}catch(d){o(d)}}function c(u){u.done?a(u.value):i(u.value).then(s,l)}c((n=n.apply(e,[])).next())})}function wr(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(c){return function(u){return l([c,u])}}function l(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=c[0]&2?i.return:c[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,c[1])).done)return a;switch(i=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(u){c=[6,u],i=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function Kr(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)n[i]=a[o];return n}var Dg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",tb=new Uint8Array(256);for(var MC=0;MC<Dg.length;MC++)tb[Dg.charCodeAt(MC)]=MC;var wot=function(e){for(var t="",r=e.length,n=0;n<r;n+=3)t+=Dg[e[n]>>2],t+=Dg[(e[n]&3)<<4|e[n+1]>>4],t+=Dg[(e[n+1]&15)<<2|e[n+2]>>6],t+=Dg[e[n+2]&63];return r%3===2?t=t.substring(0,t.length-1)+"=":r%3===1&&(t=t.substring(0,t.length-2)+"=="),t},HK=function(e){var t=e.length*.75,r=e.length,n,i=0,a,o,s,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var c=new Uint8Array(t);for(n=0;n<r;n+=4)a=tb[e.charCodeAt(n)],o=tb[e.charCodeAt(n+1)],s=tb[e.charCodeAt(n+2)],l=tb[e.charCodeAt(n+3)],c[i++]=a<<2|o>>4,c[i++]=(o&15)<<4|s>>2,c[i++]=(s&3)<<6|l&63;return c},xot=/^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i,Cot=function(e){var t=e.trim(),r=t.substring(0,100),n=r.match(xot);if(!n)return HK(t);var i=n[0],a=t.substring(i.length);return HK(a)},lr=function(e){return e.charCodeAt(0)},Eot=function(e){return e.codePointAt(0)},Xx=function(e,t){return Dc(e.toString(16),t,"0").toUpperCase()},NA=function(e){return Xx(e,2)},Qd=function(e){return String.fromCharCode(e)},kot=function(e){return Qd(parseInt(e,16))},Dc=function(e,t,r){for(var n="",i=0,a=t-e.length;i<a;i++)n+=r;return n+e},Ma=function(e,t,r){for(var n=e.length,i=0;i<n;i++)t[r++]=e.charCodeAt(i);return n},Tot=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},Qx=function(e){return e.replace(/\t|\u0085|\u2028|\u2029/g,"    ").replace(/[\b\v]/g,"")},_ot=["\\n","\\f","\\r","\\u000B"],bce=function(e){return/^[\n\f\r\u000B]$/.test(e)},Sce=function(e){return e.split(/[\n\f\r\u000B]/)},wce=function(e){return e.replace(/[\n\f\r\u000B]/g," ")},xce=function(e,t){var r=e.charCodeAt(t),n,i=t+1,a=1;return r>=55296&&r<=56319&&e.length>i&&(n=e.charCodeAt(i),n>=56320&&n<=57343&&(a=2)),[e.slice(t,t+a),a]},Pot=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=xce(e,r),a=i[0],o=i[1];t.push(a),r+=o}return t},Aot=function(e){for(var t=_ot.join("|"),r=["$"],n=0,i=e.length;n<i;n++){var a=e[n];if(bce(a))throw new TypeError("`wordBreak` must not include "+t);r.push(a===""?".":Tot(a))}var o=r.join("|");return new RegExp("("+t+")|((.*?)("+o+"))","gm")},Oot=function(e,t,r,n){for(var i=Aot(t),a=Qx(e).match(i),o="",s=0,l=[],c=function(){o!==""&&l.push(o),o="",s=0},u=0,d=a.length;u<d;u++){var f=a[u];if(bce(f))c();else{var h=n(f);s+h>r&&c(),o+=f,s+=h}}return c(),l},Iot=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,Cce=function(e){var t=e.match(Iot);if(t){var r=t[1],n=t[2],i=n===void 0?"01":n,a=t[3],o=a===void 0?"01":a,s=t[4],l=s===void 0?"00":s,c=t[5],u=c===void 0?"00":c,d=t[6],f=d===void 0?"00":d,h=t[7],p=h===void 0?"Z":h,g=t[8],v=g===void 0?"00":g,m=t[9],b=m===void 0?"00":m,y=p==="Z"?"Z":""+p+v+":"+b,w=new Date(r+"-"+i+"-"+o+"T"+l+":"+u+":"+f+y);return w}},iM=function(e,t){for(var r,n=0,i;n<e.length;){var a=e.substring(n).match(t);if(!a)return{match:i,pos:n};i=a,n+=((r=a.index)!==null&&r!==void 0?r:0)+a[0].length}return{match:i,pos:n}},t_=function(e){return e[e.length-1]},ND=function(e){if(e instanceof Uint8Array)return e;for(var t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r},Rot=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e.length,n=[],i=0;i<r;i++){var a=e[i];n[i]=a instanceof Uint8Array?a:ND(a)}for(var o=0,i=0;i<r;i++)o+=e[i].length;for(var s=new Uint8Array(o),l=0,c=0;c<r;c++)for(var u=n[c],d=0,f=u.length;d<f;d++)s[l++]=u[d];return s},Fot=function(e){for(var t=0,r=0,n=e.length;r<n;r++)t+=e[r].length;for(var i=new Uint8Array(t),a=0,r=0,n=e.length;r<n;r++){var o=e[r];i.set(o,a),a+=o.length}return i},Ece=function(e){for(var t="",r=0,n=e.length;r<n;r++)t+=Qd(e[r]);return t},Dot=function(e,t){return e.id-t.id},Not=function(e,t){for(var r=[],n=0,i=e.length;n<i;n++){var a=e[n],o=e[n-1];(n===0||t(a)!==t(o))&&r.push(a)}return r},Y0=function(e){for(var t=e.length,r=0,n=Math.floor(t/2);r<n;r++){var i=r,a=t-r-1,o=e[r];e[i]=e[a],e[a]=o}return e},Mot=function(e){for(var t=0,r=0,n=e.length;r<n;r++)t+=e[r];return t},Lot=function(e,t){for(var r=new Array(t-e),n=0,i=r.length;n<i;n++)r[n]=e+n;return r},Bot=function(e,t){for(var r=new Array(t.length),n=0,i=t.length;n<i;n++)r[n]=e[t[n]];return r},Uot=function(e){return e instanceof Uint8Array||e instanceof ArrayBuffer||typeof e=="string"},R1=function(e){if(typeof e=="string")return Cot(e);if(e instanceof ArrayBuffer)return new Uint8Array(e);if(e instanceof Uint8Array)return e;throw new TypeError("`input` must be one of `string | ArrayBuffer | Uint8Array`")},Xv=function(){return new Promise(function(e){setTimeout(function(){return e()},0)})},zot=function(e,t){t===void 0&&(t=!0);var r=[];t&&r.push(65279);for(var n=0,i=e.length;n<i;){var a=e.codePointAt(n);if(a<65536)r.push(a),n+=1;else if(a<1114112)r.push(kce(a),Tce(a)),n+=2;else throw new Error("Invalid code point: 0x"+NA(a))}return new Uint16Array(r)},Hot=function(e){return e>=0&&e<=65535},qot=function(e){return e>=65536&&e<=1114111},kce=function(e){return Math.floor((e-65536)/1024)+55296},Tce=function(e){return(e-65536)%1024+56320},Mh;(function(e){e.BigEndian="BigEndian",e.LittleEndian="LittleEndian"})(Mh||(Mh={}));var F1="�".codePointAt(0),_ce=function(e,t){if(t===void 0&&(t=!0),e.length<=1)return String.fromCodePoint(F1);for(var r=t?Vot(e):Mh.BigEndian,n=t?2:0,i=[];e.length-n>=2;){var a=WK(e[n++],e[n++],r);if(Wot(a))if(e.length-n<2)i.push(F1);else{var o=WK(e[n++],e[n++],r);qK(o)?i.push(a,o):i.push(F1)}else qK(a)?(n+=2,i.push(F1)):i.push(a)}return n<e.length&&i.push(F1),String.fromCodePoint.apply(String,i)},Wot=function(e){return e>=55296&&e<=56319},qK=function(e){return e>=56320&&e<=57343},WK=function(e,t,r){if(r===Mh.LittleEndian)return t<<8|e;if(r===Mh.BigEndian)return e<<8|t;throw new Error("Invalid byteOrder: "+r)},Vot=function(e){return Pce(e)?Mh.BigEndian:Ace(e)?Mh.LittleEndian:Mh.BigEndian},Pce=function(e){return e[0]===254&&e[1]===255},Ace=function(e){return e[0]===255&&e[1]===254},Oce=function(e){return Pce(e)||Ace(e)},jot=function(e){var t=String(e);if(Math.abs(e)<1){var r=parseInt(e.toString().split("e-")[1]);if(r){var n=e<0;n&&(e*=-1),e*=Math.pow(10,r-1),t="0."+new Array(r).join("0")+e.toString().substring(2),n&&(t="-"+t)}}else{var r=parseInt(e.toString().split("+")[1]);r>20&&(r-=20,e/=Math.pow(10,r),t=e.toString()+new Array(r+1).join("0"))}return t},ik=function(e){return Math.ceil(e.toString(2).length/8)},$0=function(e){for(var t=new Uint8Array(ik(e)),r=1;r<=t.length;r++)t[r-1]=e>>(t.length-r)*8;return t},Jx=function(e){throw new Error(e)},Sf={};(function(e){var t=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function r(a,o){return Object.prototype.hasOwnProperty.call(a,o)}e.assign=function(a){for(var o=Array.prototype.slice.call(arguments,1
vendor: 19,481 bytes, line 475
475);o.length;){var s=o.shift();if(s){if(typeof s!="object")throw new TypeError(s+"must be non-object");for(var l in s)r(s,l)&&(a[l]=s[l])}}return a},e.shrinkBuf=function(a,o){return a.length===o?a:a.subarray?a.subarray(0,o):(a.length=o,a)};var n={arraySet:function(a,o,s,l,c){if(o.subarray&&a.subarray){a.set(o.subarray(s,s+l),c);return}for(var u=0;u<l;u++)a[c+u]=o[s+u]},flattenChunks:function(a){var o,s,l,c,u,d;for(l=0,o=0,s=a.length;o<s;o++)l+=a[o].length;for(d=new Uint8Array(l),c=0,o=0,s=a.length;o<s;o++)u=a[o],d.set(u,c),c+=u.length;return d}},i={arraySet:function(a,o,s,l,c){for(var u=0;u<l;u++)a[c+u]=o[s+u]},flattenChunks:function(a){return[].concat.apply([],a)}};e.setTyped=function(a){a?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,n)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(t)})(Sf);var e2={},Cd={},Ny={},Got=Sf,Kot=4,VK=0,jK=1,Zot=2;function My(e){for(var t=e.length;--t>=0;)e[t]=0}var Yot=0,Ice=1,$ot=2,Xot=3,Qot=258,aM=29,t2=256,_w=t2+1+aM,cv=30,oM=19,Rce=2*_w+1,rm=15,Y3=16,Jot=7,sM=256,Fce=16,Dce=17,Nce=18,MD=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],ak=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],est=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Mce=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],tst=512,Bd=new Array((_w+2)*2);My(Bd);var qb=new Array(cv*2);My(qb);var Pw=new Array(tst);My(Pw);var Aw=new Array(Qot-Xot+1);My(Aw);var lM=new Array(aM);My(lM);var r_=new Array(cv);My(r_);function $3(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}var Lce,Bce,Uce;function X3(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function zce(e){return e<256?Pw[e]:Pw[256+(e>>>7)]}function Ow(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function gs(e,t,r){e.bi_valid>Y3-r?(e.bi_buf|=t<<e.bi_valid&65535,Ow(e,e.bi_buf),e.bi_buf=t>>Y3-e.bi_valid,e.bi_valid+=r-Y3):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function Vu(e,t,r){gs(e,r[t*2],r[t*2+1])}function Hce(e,t){var r=0;do r|=e&1,e>>>=1,r<<=1;while(--t>0);return r>>>1}function rst(e){e.bi_valid===16?(Ow(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function nst(e,t){var r=t.dyn_tree,n=t.max_code,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,l=t.stat_desc.max_length,c,u,d,f,h,p,g=0;for(f=0;f<=rm;f++)e.bl_count[f]=0;for(r[e.heap[e.heap_max]*2+1]=0,c=e.heap_max+1;c<Rce;c++)u=e.heap[c],f=r[r[u*2+1]*2+1]+1,f>l&&(f=l,g++),r[u*2+1]=f,!(u>n)&&(e.bl_count[f]++,h=0,u>=s&&(h=o[u-s]),p=r[u*2],e.opt_len+=p*(f+h),a&&(e.static_len+=p*(i[u*2+1]+h)));if(g!==0){do{for(f=l-1;e.bl_count[f]===0;)f--;e.bl_count[f]--,e.bl_count[f+1]+=2,e.bl_count[l]--,g-=2}while(g>0);for(f=l;f!==0;f--)for(u=e.bl_count[f];u!==0;)d=e.heap[--c],!(d>n)&&(r[d*2+1]!==f&&(e.opt_len+=(f-r[d*2+1])*r[d*2],r[d*2+1]=f),u--)}}function qce(e,t,r){var n=new Array(rm+1),i=0,a,o;for(a=1;a<=rm;a++)n[a]=i=i+r[a-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=Hce(n[s]++,s))}}function ist(){var e,t,r,n,i,a=new Array(rm+1);for(r=0,n=0;n<aM-1;n++)for(lM[n]=r,e=0;e<1<<MD[n];e++)Aw[r++]=n;for(Aw[r-1]=n,i=0,n=0;n<16;n++)for(r_[n]=i,e=0;e<1<<ak[n];e++)Pw[i++]=n;for(i>>=7;n<cv;n++)for(r_[n]=i<<7,e=0;e<1<<ak[n]-7;e++)Pw[256+i++]=n;for(t=0;t<=rm;t++)a[t]=0;for(e=0;e<=143;)Bd[e*2+1]=8,e++,a[8]++;for(;e<=255;)Bd[e*2+1]=9,e++,a[9]++;for(;e<=279;)Bd[e*2+1]=7,e++,a[7]++;for(;e<=287;)Bd[e*2+1]=8,e++,a[8]++;for(qce(Bd,_w+1,a),e=0;e<cv;e++)qb[e*2+1]=5,qb[e*2]=Hce(e,5);Lce=new $3(Bd,MD,t2+1,_w,rm),Bce=new $3(qb,ak,0,cv,rm),Uce=new $3(new Array(0),est,0,oM,Jot)}function Wce(e){var t;for(t=0;t<_w;t++)e.dyn_ltree[t*2]=0;for(t=0;t<cv;t++)e.dyn_dtree[t*2]=0;for(t=0;t<oM;t++)e.bl_tree[t*2]=0;e.dyn_ltree[sM*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function Vce(e){e.bi_valid>8?Ow(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function ast(e,t,r,n){Vce(e),Ow(e,r),Ow(e,~r),Got.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}function GK(e,t,r,n){var i=t*2,a=r*2;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function Q3(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&GK(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!GK(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function KK(e,t,r){var n,i,a=0,o,s;if(e.last_lit!==0)do n=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],i=e.pending_buf[e.l_buf+a],a++,n===0?Vu(e,i,t):(o=Aw[i],Vu(e,o+t2+1,t),s=MD[o],s!==0&&(i-=lM[o],gs(e,i,s)),n--,o=zce(n),Vu(e,o,r),s=ak[o],s!==0&&(n-=r_[o],gs(e,n,s)));while(a<e.last_lit);Vu(e,sM,t)}function LD(e,t){var r=t.dyn_tree,n=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.elems,o,s,l=-1,c;for(e.heap_len=0,e.heap_max=Rce,o=0;o<a;o++)r[o*2]!==0?(e.heap[++e.heap_len]=l=o,e.depth[o]=0):r[o*2+1]=0;for(;e.heap_len<2;)c=e.heap[++e.heap_len]=l<2?++l:0,r[c*2]=1,e.depth[c]=0,e.opt_len--,i&&(e.static_len-=n[c*2+1]);for(t.max_code=l,o=e.heap_len>>1;o>=1;o--)Q3(e,r,o);c=a;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Q3(e,r,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,r[c*2]=r[o*2]+r[s*2],e.depth[c]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,r[o*2+1]=r[s*2+1]=c,e.heap[1]=c++,Q3(e,r,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],nst(e,t),qce(r,l,e.bl_count)}function ZK(e,t,r){var n,i=-1,a,o=t[0*2+1],s=0,l=7,c=4;for(o===0&&(l=138,c=3),t[(r+1)*2+1]=65535,n=0;n<=r;n++)a=o,o=t[(n+1)*2+1],!(++s<l&&a===o)&&(s<c?e.bl_tree[a*2]+=s:a!==0?(a!==i&&e.bl_tree[a*2]++,e.bl_tree[Fce*2]++):s<=10?e.bl_tree[Dce*2]++:e.bl_tree[Nce*2]++,s=0,i=a,o===0?(l=138,c=3):a===o?(l=6,c=3):(l=7,c=4))}function YK(e,t,r){var n,i=-1,a,o=t[0*2+1],s=0,l=7,c=4;for(o===0&&(l=138,c=3),n=0;n<=r;n++)if(a=o,o=t[(n+1)*2+1],!(++s<l&&a===o)){if(s<c)do Vu(e,a,e.bl_tree);while(--s!==0);else a!==0?(a!==i&&(Vu(e,a,e.bl_tree),s--),Vu(e,Fce,e.bl_tree),gs(e,s-3,2)):s<=10?(Vu(e,Dce,e.bl_tree),gs(e,s-3,3)):(Vu(e,Nce,e.bl_tree),gs(e,s-11,7));s=0,i=a,o===0?(l=138,c=3):a===o?(l=6,c=3):(l=7,c=4)}}function ost(e){var t;for(ZK(e,e.dyn_ltree,e.l_desc.max_code),ZK(e,e.dyn_dtree,e.d_desc.max_code),LD(e,e.bl_desc),t=oM-1;t>=3&&e.bl_tree[Mce[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function sst(e,t,r,n){var i;for(gs(e,t-257,5),gs(e,r-1,5),gs(e,n-4,4),i=0;i<n;i++)gs(e,e.bl_tree[Mce[i]*2+1],3);YK(e,e.dyn_ltree,t-1),YK(e,e.dyn_dtree,r-1)}function lst(e){var t=4093624447,r;for(r=0;r<=31;r++,t>>>=1)if(t&1&&e.dyn_ltree[r*2]!==0)return VK;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return jK;for(r=32;r<t2;r++)if(e.dyn_ltree[r*2]!==0)return jK;return VK}var $K=!1;function cst(e){$K||(ist(),$K=!0),e.l_desc=new X3(e.dyn_ltree,Lce),e.d_desc=new X3(e.dyn_dtree,Bce),e.bl_desc=new X3(e.bl_tree,Uce),e.bi_buf=0,e.bi_valid=0,Wce(e)}function jce(e,t,r,n){gs(e,(Yot<<1)+(n?1:0),3),ast(e,t,r)}function ust(e){gs(e,Ice<<1,3),Vu(e,sM,Bd),rst(e)}function dst(e,t,r,n){var i,a,o=0;e.level>0?(e.strm.data_type===Zot&&(e.strm.data_type=lst(e)),LD(e,e.l_desc),LD(e,e.d_desc),o=ost(e),i=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=i&&(i=a)):i=a=r+5,r+4<=i&&t!==-1?jce(e,t,r,n):e.strategy===Kot||a===i?(gs(e,(Ice<<1)+(n?1:0),3),KK(e,Bd,qb)):(gs(e,($ot<<1)+(n?1:0),3),sst(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),KK(e,e.dyn_ltree,e.dyn_dtree)),Wce(e),n&&Vce(e)}function fst(e,t,r){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=r&255,e.last_lit++,t===0?e.dyn_ltree[r*2]++:(e.matches++,t--,e.dyn_ltree[(Aw[r]+t2+1)*2]++,e.dyn_dtree[zce(t)*2]++),e.last_lit===e.lit_bufsize-1}Ny._tr_init=cst;Ny._tr_stored_block=jce;Ny._tr_flush_block=dst;Ny._tr_tally=fst;Ny._tr_align=ust;function hst(e,t,r,n){for(var i=e&65535|0,a=e>>>16&65535|0,o=0;r!==0;){o=r>2e3?2e3:r,r-=o;do i=i+t[n++]|0,a=a+i|0;while(--o);i%=65521,a%=65521}return i|a<<16|0}var Gce=hst;function pst(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=e&1?3988292384^e>>>1:e>>>1;t[r]=e}return t}var mst=pst();function gst(e,t,r,n){var i=mst,a=n+r;e^=-1;for(var o=n;o<a;o++)e=e>>>8^i[(e^t[o])&255];return e^-1}var Kce=gst,cM={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Do=Sf,tc=Ny,Zce=Gce,Zf=Kce,vst=cM,y0=0,yst=1,bst=3,Lh=4,XK=5,ju=0,QK=1,rc=-2,Sst=-3,J3=-5,wst=-1,xst=1,LC=2,Cst=3,Est=4,kst=0,Tst=2,MA=8,_st=9,Pst=15,Ast=8,Ost=29,Ist=256,BD=Ist+1+Ost,Rst=30,Fst=19,Dst=2*BD+1,Nst=15,Vr=3,Ch=258,Xc=Ch+Vr+1,Mst=32,LA=42,UD=69,ok=73,sk=91,lk=103,nm=113,rb=666,aa=1,r2=2,Zm=3,Ly=4,Lst=3;function Eh(e,t){return e.msg=vst[t],t}function JK(e){return(e<<1)-(e>4?9:0)}function fh(e){for(var t=e.length;--t>=0;)e[t]=0}function Yf(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(Do.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,t.pending===0&&(t.pending_out=0))}function La(e,t){tc._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Yf(e.strm)}function nn(e,t){e.pending_buf[e.pending++]=t}function D1(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function Bst(e,t,r,n){var i=e.avail_in;return i>n&&(i=n),i===0?0:(e.avail_in-=i,Do.arraySet(t,e.input,e.next_in,i,r),e.state.wrap===1?e.adler=Zce(e.adler,t,i,r):e.state.wrap===2&&(e.adler=Zf(e.adler,t,i,r)),e.next_in+=i,e.total_in+=i,i)}function Yce(e,t){var r=e.max_chain_length,n=e.strstart,i,a,o=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-Xc?e.strstart-(e.w_size-Xc):0,c=e.window,u=e.w_mask,d=e.prev,f=e.strstart+Ch,h=c[n+o-1],p=c[n+o];e.prev_length>=e.good_match&&(r>>=2),s>e.lookahead&&(s=e.lookahead);do if(i=t,!(c[i+o]!==p||c[i+o-1]!==h||c[i]!==c[n]||c[++i]!==c[n+1])){n+=2,i++;do;while(c[++n]===c[++i]&&c[++n]===c[++i]&&c[++n]===c[++i]&&c[++n]===c[++i]&&c[++n]===c[++i]&&c[++n]===c[++i]&&c[++n]===c[++i]&&c[++n]===c[++i]&&n<f);if(a=Ch-(f-n),n=f-Ch,a>o){if(e.match_start=t,o=a,a>=s)break;h=c[n+o-1],p=c[n+o]}}while((t=d[t&u])>l&&--r!==0);return o<=e.lookahead?o:e.lookahead}function Ym(e){var t=e.w_size,r,n,i,a,o;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Xc)){Do.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,n=e.hash_size,r=n;do i=e.head[--r],e.head[r]=i>=t?i-t:0;while(--n);n=t,r=n;do i=e.prev[--r],e.prev[r]=i>=t?i-t:0;while(--n);a+=t}if(e.strm.avail_in===0)break;if(n=Bst(e.strm,e.window,e.strstart+e.lookahead,a),e.lookahead+=n,e.lookahead+e.insert>=Vr)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+Vr-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<Vr)););}while(e.lookahead<Xc&&e.strm.avail_in!==0)}function Ust(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Ym(e),e.lookahead===0&&t===y0)return aa;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((e.strstart===0||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,La(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-Xc&&(La(e,!1),e.strm.avail_out===0))return aa}return e.insert=0,t===Lh?(La(e,!0),e.strm.avail_out===0?Zm:Ly):(e.strstart>e.block_start&&(La(e,!1),e.strm.avail_out===0),aa)}function eR(e,t){for(var r,n;;){if(e.lookahead<Xc){if(Ym(e),e.lookahead<Xc&&t===y0)return aa;if(e.lookahead===0)break}if(r=0,e.lookahead>=Vr&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Vr-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),r!==0&&e.strstart-r<=e.w_size-Xc&&(e.match_length=Yce(e,r)),e.match_length>=Vr)if(n=tc._tr_tally(e,e.strstart-e.match_start,e.match_length-Vr),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Vr){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Vr-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=tc._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(La(e,!1),e.strm.avail_out===0))return aa}return e.insert=e.strstart<Vr-1?e.strstart:Vr-1,t===Lh?(La(e,!0),e.strm.avail_out===0?Zm:Ly):e.last_lit&&(La(e,!1),e.strm.avail_out===0)?aa:r2}function X0(e,t){for(var r,n,i;;){if(e.lookahead<Xc){if(Ym(e),e.lookahead<Xc&&t===y0)return aa;if(e.lookahead===0)break}if(r=0,e.lookahead>=Vr&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Vr-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=Vr-1,r!==0&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-Xc&&(e.match_length=Yce(e,r),e.match_length<=5&&(e.strategy===xst||e.match_length===Vr&&e.strstart-e.match_start>4096)&&(e.match_length=Vr-1)),e.prev_length>=Vr&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-Vr,n=tc._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-Vr),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Vr-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=Vr-1,e.strstart++,n&&(La(e,!1),e.strm.avail_out===0))return aa}else if(e.match_available){if(n=tc._tr_tally(e,0,e.window[e.strstart-1]),n&&La(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return aa}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=tc._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<Vr-1?e.strstart:Vr-1,t===Lh?(La(e,!0),e.strm.avail_out===0?Zm:Ly):e.last_lit&&(La(e,!1),e.strm.avail_out===0)?aa:r2}function zst(e,t){for(var r,n,i,a,o=e.window;;){if(e.lookahead<=Ch){if(Ym(e),e.lookahead<=Ch&&t===y0)return aa;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=Vr&&e.strstart>0&&(i=e.strstart-1,n=o[i],n===o[++i]&&n===o[++i]&&n===o[++i])){a=e.strstart+Ch;do;while(n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&n===o[++i]&&i<a);e.match_length=Ch-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Vr?(r=tc._tr_tally(e,1,e.match_length-Vr),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=tc._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(La(e,!1),e.strm.avail_out===0))return aa}return e.insert=0,t===Lh?(La(e,!0),e.strm.avail_out===0?Zm:Ly):e.last_lit&&(La(e,!1),e.strm.avail_out===0)?aa:r2}function Hst(e,t){for(var r;;){if(e.lookahead===0&&(Ym(e),e.lookahead===0)){if(t===y0)return aa;break}if(e.match_length=0,r=tc._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(La(e,!1),e.strm.avail_out===0))return aa}return e.insert=0,t===Lh?(La(e,!0),e.strm.avail_out===0?Zm:Ly):e.last_lit&&(La(e,!1),e.strm.avail_out===0)?aa:r2}function xu(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}var Ng;Ng=[new xu(0,0,0,0,Ust),new xu(4,4,8,4,eR),new xu(4,5,16,8,eR),new xu(4,6,32,32,eR),new xu(4,4,16,16,X0),new xu(8,16,32,32,X0),new xu(8,16,128,128,X0),new xu(8,32,128,256,X0),new xu(32,128,258,1024,X0),new xu(32,258,258,4096,X0)];function qst(e){e.window_size=2*e.w_size,fh(e.head),e.max_lazy_match=Ng[e.level].max_lazy,e.good_match=Ng[e.level].good_length,e.nice_match=Ng[e.level].nice_length,e.max_chain_length=Ng[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Vr-1,e.match_available=0,e.ins_h=0}function Wst(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=MA,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Do.Buf16(Dst*2),this.dyn_dtree=new Do.Buf16((2*Rst+1)*2),this.bl_tree=new Do.Buf16((2*Fst+1)*2),fh(this.dyn_ltree),fh(this.dyn_dtree),fh(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Do.Buf16(Nst+1),this.heap=new Do.Buf16(2*BD+1),fh(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Do.Buf16(2*BD+1),fh(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function $ce(e){var t;return!e||!e.state?Eh(e,rc):(e.total_in=e.total_out=0,e.data_type=Tst,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?LA:nm,e.adler=t.wrap===2?0:1,t.last_flush=y0,tc._tr_init(t),ju)}function Xce(e){var t=$ce(e);return t===ju&&qst(e.state),t}function Vst(e,t){return!e||!e.state||e.state.wrap!==2?rc:(e.state.gzhead=t,ju)}function Qce(e,t,r,n,i,a){if(!e)return rc;var o=1;if(t===wst&&(t=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),i<1||i>_st||r!==MA||n<8||n>15||t<0||t>9||a<0||a>Est)return Eh(e,rc);n===8&&(n=9);var s=new Wst;return e.state=s,s.strm=e,s.wrap=o,s.gzhead=null,s.w_bits=n,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+Vr-1)/Vr),s.window=new Do.Buf8(s.w_size*2),s.head=new Do.Buf16(s.hash_size),s.prev=new Do.Buf16(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=s.lit_bufsize*4,s.pending_buf=new Do.Buf8(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=t,s.strategy=a,s.method=r,Xce(e)}function jst(e,t){return Qce(e,t,MA,Pst,Ast,kst)}function Gst(e,t){var r,n,i,a;if(!e||!e.state||t>XK||t<0)return e?Eh(e,rc):rc;if(n=e.state,!e.output||!e.input&&e.avail_in!==0||n.status===rb&&t!==Lh)return Eh(e,e.avail_out===0?J3:rc);if(n.strm=e,r=n.last_flush,n.last_flush=t,n.status===LA)if(n.wrap===2)e.adler=0,nn(n,31),nn(n,139),nn(n,8),n.gzhead?(nn(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),nn(n,n.gzhead.time&255),nn(n,n.gzhead.time>>8&255),nn(n,n.gzhead.time>>16&255),nn(n,n.gzhead.time>>24&255),nn(n,n.level===9?2:n.strategy>=LC||n.level<2?4:0),nn(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(nn(n,n.gzhead.extra.length&255),nn(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Zf(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=UD):(nn(n,0),nn(n,0),nn(n,0),nn(n,0),nn(n,0),nn(n,n.level===9?2:n.strategy>=LC||n.level<2?4:0),nn(n,Lst),n.status=nm);else{var o=MA+(n.w_bits-8<<4)<<8,s=-1;n.strategy>=LC||n.level<2?s=0:n.level<6?s=1:n.level===6?s=2:s=3,o|=s<<6,n.strstart!==0&&(o|=Mst),o+=31-o%31,n.status=nm,D1(n,o),n.strstart!==0&&(D1(n,e.adler>>>16),D1(n,e.adler&65535)),e.adler=1}if(n.status===UD)if(n.gzhead.extra){for(i=n.pending;
vendor: 5,120 bytes, line 475
475n.gzindex<(n.gzhead.extra.length&65535)&&!(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Zf(e.adler,n.pending_buf,n.pending-i,i)),Yf(e),i=n.pending,n.pending===n.pending_buf_size));)nn(n,n.gzhead.extra[n.gzindex]&255),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=Zf(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=ok)}else n.status=ok;if(n.status===ok)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Zf(e.adler,n.pending_buf,n.pending-i,i)),Yf(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}n.gzindex<n.gzhead.name.length?a=n.gzhead.name.charCodeAt(n.gzindex++)&255:a=0,nn(n,a)}while(a!==0);n.gzhead.hcrc&&n.pending>i&&(e.adler=Zf(e.adler,n.pending_buf,n.pending-i,i)),a===0&&(n.gzindex=0,n.status=sk)}else n.status=sk;if(n.status===sk)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=Zf(e.adler,n.pending_buf,n.pending-i,i)),Yf(e),i=n.pending,n.pending===n.pending_buf_size)){a=1;break}n.gzindex<n.gzhead.comment.length?a=n.gzhead.comment.charCodeAt(n.gzindex++)&255:a=0,nn(n,a)}while(a!==0);n.gzhead.hcrc&&n.pending>i&&(e.adler=Zf(e.adler,n.pending_buf,n.pending-i,i)),a===0&&(n.status=lk)}else n.status=lk;if(n.status===lk&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&Yf(e),n.pending+2<=n.pending_buf_size&&(nn(n,e.adler&255),nn(n,e.adler>>8&255),e.adler=0,n.status=nm)):n.status=nm),n.pending!==0){if(Yf(e),e.avail_out===0)return n.last_flush=-1,ju}else if(e.avail_in===0&&JK(t)<=JK(r)&&t!==Lh)return Eh(e,J3);if(n.status===rb&&e.avail_in!==0)return Eh(e,J3);if(e.avail_in!==0||n.lookahead!==0||t!==y0&&n.status!==rb){var l=n.strategy===LC?Hst(n,t):n.strategy===Cst?zst(n,t):Ng[n.level].func(n,t);if((l===Zm||l===Ly)&&(n.status=rb),l===aa||l===Zm)return e.avail_out===0&&(n.last_flush=-1),ju;if(l===r2&&(t===yst?tc._tr_align(n):t!==XK&&(tc._tr_stored_block(n,0,0,!1),t===bst&&(fh(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),Yf(e),e.avail_out===0))return n.last_flush=-1,ju}return t!==Lh?ju:n.wrap<=0?QK:(n.wrap===2?(nn(n,e.adler&255),nn(n,e.adler>>8&255),nn(n,e.adler>>16&255),nn(n,e.adler>>24&255),nn(n,e.total_in&255),nn(n,e.total_in>>8&255),nn(n,e.total_in>>16&255),nn(n,e.total_in>>24&255)):(D1(n,e.adler>>>16),D1(n,e.adler&65535)),Yf(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?ju:QK)}function Kst(e){var t;return!e||!e.state?rc:(t=e.state.status,t!==LA&&t!==UD&&t!==ok&&t!==sk&&t!==lk&&t!==nm&&t!==rb?Eh(e,rc):(e.state=null,t===nm?Eh(e,Sst):ju))}function Zst(e,t){var r=t.length,n,i,a,o,s,l,c,u;if(!e||!e.state||(n=e.state,o=n.wrap,o===2||o===1&&n.status!==LA||n.lookahead))return rc;for(o===1&&(e.adler=Zce(e.adler,t,r,0)),n.wrap=0,r>=n.w_size&&(o===0&&(fh(n.head),n.strstart=0,n.block_start=0,n.insert=0),u=new Do.Buf8(n.w_size),Do.arraySet(u,t,r-n.w_size,n.w_size,0),t=u,r=n.w_size),s=e.avail_in,l=e.next_in,c=e.input,e.avail_in=r,e.next_in=0,e.input=t,Ym(n);n.lookahead>=Vr;){i=n.strstart,a=n.lookahead-(Vr-1);do n.ins_h=(n.ins_h<<n.hash_shift^n.window[i+Vr-1])&n.hash_mask,n.prev[i&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=i,i++;while(--a);n.strstart=i,n.lookahead=Vr-1,Ym(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=Vr-1,n.match_available=0,e.next_in=l,e.input=c,e.avail_in=s,n.wrap=o,ju}Cd.deflateInit=jst;Cd.deflateInit2=Qce;Cd.deflateReset=Xce;Cd.deflateResetKeep=$ce;Cd.deflateSetHeader=Vst;Cd.deflate=Gst;Cd.deflateEnd=Kst;Cd.deflateSetDictionary=Zst;Cd.deflateInfo="pako deflate (from Nodeca project)";var b0={},BA=Sf,Jce=!0,eue=!0;try{String.fromCharCode.apply(null,[0])}catch{Jce=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{eue=!1}var Iw=new BA.Buf8(256);for(var zf=0;zf<256;zf++)Iw[zf]=zf>=252?6:zf>=248?5:zf>=240?4:zf>=224?3:zf>=192?2:1;Iw[254]=Iw[254]=1;b0.string2buf=function(e){var t,r,n,i,a,o=e.length,s=0;for(i=0;i<o;i++)r=e.charCodeAt(i),(r&64512)===55296&&i+1<o&&(n=e.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),s+=r<128?1:r<2048?2:r<65536?3:4;for(t=new BA.Buf8(s),a=0,i=0;a<s;i++)r=e.charCodeAt(i),(r&64512)===55296&&i+1<o&&(n=e.charCodeAt(i+1),(n&64512)===56320&&(r=65536+(r-55296<<10)+(n-56320),i++)),r<128?t[a++]=r:r<2048?(t[a++]=192|r>>>6,t[a++]=128|r&63):r<65536?(t[a++]=224|r>>>12,t[a++]=128|r>>>6&63,t[a++]=128|r&63):(t[a++]=240|r>>>18,t[a++]=128|r>>>12&63,t[a++]=128|r>>>6&63,t[a++]=128|r&63);return t};function tue(e,t){if(t<65534&&(e.subarray&&eue||!e.subarray&&Jce))return String.fromCharCode.apply(null,BA.shrinkBuf(e,t));for(var r="",n=0;n<t;n++)r+=String.fromCharCode(e[n]);return r}b0.buf2binstring=function(e){return tue(e,e.length)};b0.binstring2buf=function(e){for(var t=new BA.Buf8(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t};b0.buf2string=function(e,t){var r,n,i,a,o=t||e.length,s=new Array(o*2);for(n=0,r=0;r<o;){if(i=e[r++],i<128){s[n++]=i;continue}if(a=Iw[i],a>4){s[n++]=65533,r+=a-1;continue}for(i&=a===2?31:a===3?15:7;a>1&&r<o;)i=i<<6|e[r++]&63,a--;if(a>1){s[n++]=65533;continue}
vendor: 1,600 bytes, line 475
475i<65536?s[n++]=i:(i-=65536,s[n++]=55296|i>>10&1023,s[n++]=56320|i&1023)}return tue(s,n)};b0.utf8border=function(e,t){var r;for(t=t||e.length,t>e.length&&(t=e.length),r=t-1;r>=0&&(e[r]&192)===128;)r--;return r<0||r===0?t:r+Iw[e[r]]>t?r:t};function Yst(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var rue=Yst,Wb=Cd,Vb=Sf,zD=b0,HD=cM,$st=rue,nue=Object.prototype.toString,Xst=0,tR=4,uv=0,eZ=1,tZ=2,Qst=-1,Jst=0,elt=8;function $m(e){if(!(this instanceof $m))return new $m(e);this.options=Vb.assign({level:Qst,method:elt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Jst,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new $st,this.strm.avail_out=0;var r=Wb.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==uv)throw new Error(HD[r]);if(t.header&&Wb.deflateSetHeader(this.strm,t.header),t.dictionary){var n;if(typeof t.dictionary=="string"?n=zD.string2buf(t.dictionary):nue.call(t.dictionary)==="[object ArrayBuffer]"?n=new Uint8Array(t.dictionary):n=t.dictionary,r=Wb.deflateSetDictionary(this.strm,n),r!==uv)throw new Error(HD[r]);this._dict_set=!0}}$m.prototype.push=function(e,t){var r=this.strm,n=this.options.chunkSize,i,a;if(this.ended)return!1;a=t===~~t?t:t===!0?tR:Xst,typeof e=="string"?r.input=zD.string2buf(e):nue.call(e)==="[object ArrayBuffer]"?r.input
vendor: 16,356 bytes, line 475
475=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Vb.Buf8(n),r.next_out=0,r.avail_out=n),i=Wb.deflate(r,a),i!==eZ&&i!==uv)return this.onEnd(i),this.ended=!0,!1;(r.avail_out===0||r.avail_in===0&&(a===tR||a===tZ))&&(this.options.to==="string"?this.onData(zD.buf2binstring(Vb.shrinkBuf(r.output,r.next_out))):this.onData(Vb.shrinkBuf(r.output,r.next_out)))}while((r.avail_in>0||r.avail_out===0)&&i!==eZ);return a===tR?(i=Wb.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===uv):(a===tZ&&(this.onEnd(uv),r.avail_out=0),!0)};$m.prototype.onData=function(e){this.chunks.push(e)};$m.prototype.onEnd=function(e){e===uv&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Vb.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function uM(e,t){var r=new $m(t);if(r.push(e,!0),r.err)throw r.msg||HD[r.err];return r.result}function tlt(e,t){return t=t||{},t.raw=!0,uM(e,t)}function rlt(e,t){return t=t||{},t.gzip=!0,uM(e,t)}e2.Deflate=$m;e2.deflate=uM;e2.deflateRaw=tlt;e2.gzip=rlt;var n2={},uu={},BC=30,nlt=12,ilt=function(t,r){var n,i,a,o,s,l,c,u,d,f,h,p,g,v,m,b,y,w,x,C,T,_,P,F,I;n=t.state,i=t.next_in,F=t.input,a=i+(t.avail_in-5),o=t.next_out,I=t.output,s=o-(r-t.avail_out),l=o+(t.avail_out-257),c=n.dmax,u=n.wsize,d=n.whave,f=n.wnext,h=n.window,p=n.hold,g=n.bits,v=n.lencode,m=n.distcode,b=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;e:do{g<15&&(p+=F[i++]<<g,g+=8,p+=F[i++]<<g,g+=8),w=v[p&b];t:for(;;){if(x=w>>>24,p>>>=x,g-=x,x=w>>>16&255,x===0)I[o++]=w&65535;else if(x&16){C=w&65535,x&=15,x&&(g<x&&(p+=F[i++]<<g,g+=8),C+=p&(1<<x)-1,p>>>=x,g-=x),g<15&&(p+=F[i++]<<g,g+=8,p+=F[i++]<<g,g+=8),w=m[p&y];r:for(;;){if(x=w>>>24,p>>>=x,g-=x,x=w>>>16&255,x&16){if(T=w&65535,x&=15,g<x&&(p+=F[i++]<<g,g+=8,g<x&&(p+=F[i++]<<g,g+=8)),T+=p&(1<<x)-1,T>c){t.msg="invalid distance too far back",n.mode=BC;break e}if(p>>>=x,g-=x,x=o-s,T>x){if(x=T-x,x>d&&n.sane){t.msg="invalid distance too far back",n.mode=BC;break e}if(_=0,P=h,f===0){if(_+=u-x,x<C){C-=x;do I[o++]=h[_++];while(--x);_=o-T,P=I}}else if(f<x){if(_+=u+f-x,x-=f,x<C){C-=x;do I[o++]=h[_++];while(--x);if(_=0,f<C){x=f,C-=x;do I[o++]=h[_++];while(--x);_=o-T,P=I}}}else if(_+=f-x,x<C){C-=x;do I[o++]=h[_++];while(--x);_=o-T,P=I}for(;C>2;)I[o++]=P[_++],I[o++]=P[_++],I[o++]=P[_++],C-=3;C&&(I[o++]=P[_++],C>1&&(I[o++]=P[_++]))}else{_=o-T;do I[o++]=I[_++],I[o++]=I[_++],I[o++]=I[_++],C-=3;while(C>2);C&&(I[o++]=I[_++],C>1&&(I[o++]=I[_++]))}}else if(x&64){t.msg="invalid distance code",n.mode=BC;break e}else{w=m[(w&65535)+(p&(1<<x)-1)];continue r}break}}else if(x&64)if(x&32){n.mode=nlt;break e}else{t.msg="invalid literal/length code",n.mode=BC;break e}else{w=v[(w&65535)+(p&(1<<x)-1)];continue t}break}}while(i<a&&o<l);C=g>>3,i-=C,g-=C<<3,p&=(1<<g)-1,t.next_in=i,t.next_out=o,t.avail_in=i<a?5+(a-i):5-(i-a),t.avail_out=o<l?257+(l-o):257-(o-l),n.hold=p,n.bits=g},rZ=Sf,Q0=15,nZ=852,iZ=592,aZ=0,rR=1,oZ=2,alt=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],olt=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],slt=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],llt=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64],clt=function(t,r,n,i,a,o,s,l){var c=l.bits,u=0,d=0,f=0,h=0,p=0,g=0,v=0,m=0,b=0,y=0,w,x,C,T,_,P=null,F=0,I,R=new rZ.Buf16(Q0+1),D=new rZ.Buf16(Q0+1),A=null,M=0,X,Y,se;for(u=0;u<=Q0;u++)R[u]=0;for(d=0;d<i;d++)R[r[n+d]]++;for(p=c,h=Q0;h>=1&&R[h]===0;h--);if(p>h&&(p=h),h===0)return a[o++]=1<<24|64<<16|0,a[o++]=1<<24|64<<16|0,l.bits=1,0;for(f=1;f<h&&R[f]===0;f++);for(p<f&&(p=f),m=1,u=1;u<=Q0;u++)if(m<<=1,m-=R[u],m<0)return-1;if(m>0&&(t===aZ||h!==1))return-1;for(D[1]=0,u=1;u<Q0;u++)D[u+1]=D[u]+R[u];for(d=0;d<i;d++)r[n+d]!==0&&(s[D[r[n+d]]++]=d);if(t===aZ?(P=A=s,I=19):t===rR?(P=alt,F-=257,A=olt,M-=257,I=256):(P=slt,A=llt,I=-1),y=0,d=0,u=f,_=o,g=p,v=0,C=-1,b=1<<p,T=b-1,t===rR&&b>nZ||t===oZ&&b>iZ)return 1;for(;;){X=u-v,s[d]<I?(Y=0,se=s[d]):s[d]>I?(Y=A[M+s[d]],se=P[F+s[d]]):(Y=96,se=0),w=1<<u-v,x=1<<g,f=x;do x-=w,a[_+(y>>v)+x]=X<<24|Y<<16|se|0;while(x!==0);for(w=1<<u-1;y&w;)w>>=1;if(w!==0?(y&=w-1,y+=w):y=0,d++,--R[u]===0){if(u===h)break;u=r[n+s[d]]}if(u>p&&(y&T)!==C){for(v===0&&(v=p),_+=f,g=u-v,m=1<<g;g+v<h&&(m-=R[g+v],!(m<=0));)g++,m<<=1;if(b+=1<<g,t===rR&&b>nZ||t===oZ&&b>iZ)return 1;C=y&T,a[C]=p<<24|g<<16|_-o|0}}return y!==0&&(a[_+y]=u-v<<24|64<<16|0),l.bits=p,0},Xs=Sf,qD=Gce,Cu=Kce,ult=ilt,jb=clt,dlt=0,iue=1,aue=2,sZ=4,flt=5,UC=6,Xm=0,hlt=1,plt=2,cc=-2,oue=-3,sue=-4,mlt=-5,lZ=8,lue=1,cZ=2,uZ=3,dZ=4,fZ=5,hZ=6,pZ=7,mZ=8,gZ=9,vZ=10,n_=11,Ad=12,nR=13,yZ=14,iR=15,bZ=16,SZ=17,wZ=18,xZ=19,zC=20,HC=21,CZ=22,EZ=23,kZ=24,TZ=25,_Z=26,aR=27,PZ=28,AZ=29,Yn=30,cue=31,glt=32,vlt=852,ylt=592,blt=15,Slt=blt;function OZ(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function wlt(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Xs.Buf16(320),this.work=new Xs.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function uue(e){var t;return!e||!e.state?cc:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=lue,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Xs.Buf32(vlt),t.distcode=t.distdyn=new Xs.Buf32(ylt),t.sane=1,t.back=-1,Xm)}function due(e){var t;return!e||!e.state?cc:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,uue(e))}function fue(e,t){var r,n;return!e||!e.state||(n=e.state,t<0?(r=0,t=-t):(r=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?cc:(n.window!==null&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,due(e))}function hue(e,t){var r,n;return e?(n=new wlt,e.state=n,n.window=null,r=fue(e,t),r!==Xm&&(e.state=null),r):cc}function xlt(e){return hue(e,Slt)}var IZ=!0,oR,sR;function Clt(e){if(IZ){var t;for(oR=new Xs.Buf32(512),sR=new Xs.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(jb(iue,e.lens,0,288,oR,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;jb(aue,e.lens,0,32,sR,0,e.work,{bits:5}),IZ=!1}e.lencode=oR,e.lenbits=9,e.distcode=sR,e.distbits=5}function pue(e,t,r,n){var i,a=e.state;return a.window===null&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Xs.Buf8(a.wsize)),n>=a.wsize?(Xs.arraySet(a.window,t,r-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>n&&(i=n),Xs.arraySet(a.window,t,r-n,i,a.wnext),n-=i,n?(Xs.arraySet(a.window,t,r-n,n,0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0}function Elt(e,t){var r,n,i,a,o,s,l,c,u,d,f,h,p,g,v=0,m,b,y,w,x,C,T,_,P=new Xs.Buf8(4),F,I,R=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return cc;r=e.state,r.mode===Ad&&(r.mode=nR),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,c=r.hold,u=r.bits,d=s,f=l,_=Xm;e:for(;;)switch(r.mode){case lue:if(r.wrap===0){r.mode=nR;break}for(;u<16;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(r.wrap&2&&c===35615){r.check=0,P[0]=c&255,P[1]=c>>>8&255,r.check=Cu(r.check,P,2,0),c=0,u=0,r.mode=cZ;break}if(r.flags=0,r.head&&(r.head.done=!1),!(r.wrap&1)||(((c&255)<<8)+(c>>8))%31){e.msg="incorrect header check",r.mode=Yn;break}if((c&15)!==lZ){e.msg="unknown compression method",r.mode=Yn;break}if(c>>>=4,u-=4,T=(c&15)+8,r.wbits===0)r.wbits=T;else if(T>r.wbits){e.msg="invalid window size",r.mode=Yn;break}r.dmax=1<<T,e.adler=r.check=1,r.mode=c&512?vZ:Ad,c=0,u=0;break;case cZ:for(;u<16;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(r.flags=c,(r.flags&255)!==lZ){e.msg="unknown compression method",r.mode=Yn;break}if(r.flags&57344){e.msg="unknown header flags set",r.mode=Yn;break}r.head&&(r.head.text=c>>8&1),r.flags&512&&(P[0]=c&255,P[1]=c>>>8&255,r.check=Cu(r.check,P,2,0)),c=0,u=0,r.mode=uZ;case uZ:for(;u<32;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}r.head&&(r.head.time=c),r.flags&512&&(P[0]=c&255,P[1]=c>>>8&255,P[2]=c>>>16&255,P[3]=c>>>24&255,r.check=Cu(r.check,P,4,0)),c=0,u=0,r.mode=dZ;case dZ:for(;u<16;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}r.head&&(r.head.xflags=c&255,r.head.os=c>>8),r.flags&512&&(P[0]=c&255,P[1]=c>>>8&255,r.check=Cu(r.check,P,2,0)),c=0,u=0,r.mode=fZ;case fZ:if(r.flags&1024){for(;u<16;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}r.length=c,r.head&&(r.head.extra_len=c),r.flags&512&&(P[0]=c&255,P[1]=c>>>8&255,r.check=Cu(r.check,P,2,0)),c=0,u=0}else r.head&&(r.head.extra=null);r.mode=hZ;case hZ:if(r.flags&1024&&(h=r.length,h>s&&(h=s),h&&(r.head&&(T=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),Xs.arraySet(r.head.extra,n,a,h,T)),r.flags&512&&(r.check=Cu(r.check,n,h,a)),s-=h,a+=h,r.length-=h),r.length))break e;r.length=0,r.mode=pZ;case pZ:if(r.flags&2048){if(s===0)break e;h=0;do T=n[a+h++],r.head&&T&&r.length<65536&&(r.head.name+=String.fromCharCode(T));while(T&&h<s);if(r.flags&512&&(r.check=Cu(r.check,n,h,a)),s-=h,a+=h,T)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=mZ;case mZ:if(r.flags&4096){if(s===0)break e;h=0;do T=n[a+h++],r.head&&T&&r.length<65536&&(r.head.comment+=String.fromCharCode(T));while(T&&h<s);if(r.flags&512&&(r.check=Cu(r.check,n,h,a)),s-=h,a+=h,T)break e}else r.head&&(r.head.comment=null);r.mode=gZ;case gZ:if(r.flags&512){for(;u<16;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(c!==(r.check&65535)){e.msg="header crc mismatch",r.mode=Yn;break}c=0,u=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=Ad;break;case vZ:for(;u<32;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}e.adler=r.check=OZ(c),c=0,u=0,r.mode=n_;case n_:if(r.havedict===0)return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=c,r.bits=u,plt;e.adler=r.check=1,r.mode=Ad;case Ad:if(t===flt||t===UC)break e;case nR:if(r.last){c>>>=u&7,u-=u&7,r.mode=aR;break}for(;u<3;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}switch(r.last=c&1,c>>>=1,u-=1,c&3){case 0:r.mode=yZ;break;case 1:if(Clt(r),r.mode=zC,t===UC){c>>>=2,u-=2;break e}break;case 2:r.mode=SZ;break;case 3:e.msg="invalid block type",r.mode=Yn}c>>>=2,u-=2;break;case yZ:for(c>>>=u&7,u-=u&7;u<32;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if((c&65535)!==(c>>>16^65535)){e.msg="invalid stored block lengths",r.mode=Yn;break}if(r.length=c&65535,c=0,u=0,r.mode=iR,t===UC)break e;case iR:r.mode=bZ;case bZ:if(h=r.length,h){if(h>s&&(h=s),h>l&&(h=l),h===0)break e;Xs.arraySet(i,n,a,h,o),s-=h,a+=h,l-=h,o+=h,r.length-=h;break}r.mode=Ad;break;case SZ:for(;u<14;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(r.nlen=(c&31)+257,c>>>=5,u-=5,r.ndist=(c&31)+1,c>>>=5,u-=5,r.ncode=(c&15)+4,c>>>=4,u-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=Yn;break}r.have=0,r.mode=wZ;case wZ:for(;r.have<r.ncode;){for(;u<3;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}r.lens[R[r.have++]]=c&7,c>>>=3,u-=3}for(;r.have<19;)r.lens[R[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,F={bits:r.lenbits},_=jb(dlt,r.lens,0,19,r.lencode,0,r.work,F),r.lenbits=F.bits,_){e.msg="invalid code lengths set",r.mode=Yn;break}r.have=0,r.mode=xZ;case xZ:for(;r.have<r.nlen+r.ndist;){for(;v=r.lencode[c&(1<<r.lenbits)-1],m=v>>>24,b=v>>>16&255,y=v&65535,!(m<=u);){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(y<16)c>>>=m,u-=m,r.lens[r.have++]=y;else{if(y===16){for(I=m+2;u<I;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(c>>>=m,u-=m,r.have===0){e.msg="invalid bit length repeat",r.mode=Yn;break}T=r.lens[r.have-1],h=3+(c&3),c>>>=2,u-=2}else if(y===17){for(I=m+3;u<I;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}c>>>=m,u-=m,T=0,h=3+(c&7),c>>>=3,u-=3}else{for(I=m+7;u<I;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}c>>>=m,u-=m,T=0,h=11+(c&127),c>>>=7,u-=7}if(r.have+h>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=Yn;break}for(;h--;)r.lens[r.have++]=T}}if(r.mode===Yn)break;if(r.lens[256]===0){e.msg="invalid code -- missing end-of-block",r.mode=Yn;break}if(r.lenbits=9,F={bits:r.lenbits},_=jb(iue,r.lens,0,r.nlen,r.lencode,0,r.work,F),r.lenbits=F.bits,_){e.msg="invalid literal/lengths set",r.mode=Yn;break}if(r.distbits=6,r.distcode=r.distdyn,F={bits:r.distbits},_=jb(aue,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,F),r.distbits=F.bits,_){e.msg="invalid distances set",r.mode=Yn;break}if(r.mode=zC,t===UC)break e;case zC:r.mode=HC;case HC:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=c,r.bits=u,ult(e,f),o=e.next_out,i=e.output,l=e.avail_out,a=e.next_in,n=e.input,s=e.avail_in,c=r.hold,u=r.bits,r.mode===Ad&&(r.back=-1);break}for(r.back=0;v=r.lencode[c&(1<<r.lenbits)-1],m=v>>>24,b=v>>>16&255,y=v&65535,!(m<=u);){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(b&&!(b&240)){for(w=m,x=b,C=y;v=r.lencode[C+((c&(1<<w+x)-1)>>w)],m=v>>>24,b=v>>>16&255,y=v&65535,!(w+m<=u);){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}c>>>=w,u-=w,r.back+=w}if(c>>>=m,u-=m,r.back+=m,r.length=y,b===0){r.mode=_Z;break}if(b&32){r.back=-1,r.mode=Ad;break}if(b&64){e.msg="invalid literal/length code",r.mode=Yn;break}r.extra=b&15,r.mode=CZ;case CZ:if(r.extra){for(I=r.extra;u<I;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}r.length+=c&(1<<r.extra)-1,c>>>=r.extra,u-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=EZ;case EZ:for(;v=r.distcode[c&(1<<r.distbits)-1],m=v>>>24,b=v>>>16&255,y=v&65535,!(m<=u);){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(!(b&240)){for(w=m,x=b,C=y;v=r.distcode[C+((c&(1<<w+x)-1)>>w)],m=v>>>24,b=v>>>16&255,y=v&65535,!(w+m<=u);){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}c>>>=w,u-=w,r.back+=w}if(c>>>=m,u-=m,r.back+=m,b&64){e.msg="invalid distance code",r.mode=Yn;break}r.offset=y,r.extra=b&15,r.mode=kZ;case kZ:if(r.extra){for(I=r.extra;u<I;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}r.offset+=c&(1<<r.extra)-1,c>>>=r.extra,u-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=Yn;break}r.mode=TZ;case TZ:if(l===0)break e;if(h=f-l,r.offset>h){if(h=r.offset-h,h>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=Yn;break}h>r.wnext?(h-=r.wnext,p=r.wsize-h):p=r.wnext-h,h>r.length&&(h=r.length),g=r.window}else g=i,p=o-r.offset,h=r.length;h>l&&(h=l),l-=h,r.length-=h;do i[o++]=g[p++];while(--h);r.length===0&&(r.mode=HC);break;case _Z:if(l===0)break e;i[o++]=r.length,l--,r.mode=HC;break;case aR:if(r.wrap){for(;u<32;){if(s===0)break e;s--,c|=n[a++]<<u,u+=8}if(f-=l,e.total_out+=f,r.total+=f,f&&(e.adler=r.check=r.flags?Cu(r.check,i,f,o-f):qD(r.check,i,f,o-f)),f=l,(r.flags?c:OZ(c))!==r.check){e.msg="incorrect data check",r.mode=Yn;break}c=0,u=0}r.mode=PZ;case PZ:if(r.wrap&&r.flags){for(;u<32;){if(s===0)break e;s--,c+=n[a++]<<u,u+=8}if(c!==(r.total&4294967295)){e.msg="incorrect length check",r.mode=Yn;break}c=0,u=0}r.mode=AZ;case AZ:_=hlt;break e;case Yn:_=oue;break e;case cue:return sue;case glt:default:return cc}return e.next_out=o,e.avail_out=l,e.next_in=a,e.avail_in=s,r.hold=c,r.bits=u,(r.wsize||f!==e.avail_out&&r.mode<Yn&&(r.mode<aR||t!==sZ))&&pue(e,e.output,e.next_out,f-e.avail_out),d-=e.avail_in,f-=e.avail_out,e.total_in+=d,e.total_out+=f,r.total+=f,r.wrap&&f&&(e.adler=r.check=r.flags?Cu(r.check,i,f,e.next_out-f):qD(r.check,i,f,e.next_out-f)),e.data_type=r.bits+(r.last?64:0)+(r.mode===Ad?128:0)+(r.mode===zC||r.mode===iR?256:0),(d===0&&f===0||t===sZ)&&_===Xm&&(_=mlt),_}function klt(e){if(!e||!e.state)return cc;var t=e.state;return t.window&&(t.window=null),e.state=null,Xm}function Tlt(e,t){var r;return!e||!e.state||(r=e.state,!(r.wrap&2))?cc:(r.head=t,t.done=!1,Xm)}function _lt(e,t){var r=t.length,n,i,a;return!e||!e.state||(n=e.state,n.wrap!==0&&n.mode!==n_)?cc:n.mode===n_&&(i=1,i=qD(i,t,r,0),i!==n.check)?oue:(a=pue(e,t,r,r),a?(n.mode=cue,sue):(n.havedict=1,Xm))}uu.inflateReset=due;uu.inflateReset2=fue;uu.inflateResetKeep=uue;uu.inflateInit=xlt;uu.inflateInit2=hue;uu.inflate=Elt;uu.inflateEnd=klt;uu.inflateGetHeader=Tlt;uu.inflateSetDictionary=_lt;uu.inflateInfo="pako inflate (from Nodeca project)";var mue={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ER
vendor: 1,625 bytes, line 475
475ROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};function Plt(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var Alt=Plt,dv=uu,Gb=Sf,ck=b0,_i=mue,WD=cM,Olt=rue,Ilt=Alt,gue=Object.prototype.toString;function Qm(e){if(!(this instanceof Qm))return new Qm(e);this.options=Gb.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Olt,this.strm.avail_out=0;var r=dv.inflateInit2(this.strm,t.windowBits);if(r!==_i.Z_OK)throw new Error(WD[r]);if(this.header=new Ilt,dv.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=ck.string2buf(t.dictionary):gue.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=dv.inflateSetDictionary(this.strm,t.dictionary),r!==_i.Z_OK)))throw new Error(WD[r])}Qm.prototype.push=function(e,t){var r=this.strm,n=this.options.chunkSize,i=this.options.dictionary,a,o,s,l,c,u=!1;if(this.ended)return!1;o=t===~~t?t:t===!0?_i.Z_FINISH:_i.Z_NO_FLUSH,typeof e=="string"?r.input=ck.binstring2buf(e):gue.call(e)==="[object ArrayBuffer]"?r.input
vendor: 5,908 bytes, line 475
475=new Uint8Array(e):r.input=e,r.next_in=0,r.avail_in=r.input.length;do{if(r.avail_out===0&&(r.output=new Gb.Buf8(n),r.next_out=0,r.avail_out=n),a=dv.inflate(r,_i.Z_NO_FLUSH),a===_i.Z_NEED_DICT&&i&&(a=dv.inflateSetDictionary(this.strm,i)),a===_i.Z_BUF_ERROR&&u===!0&&(a=_i.Z_OK,u=!1),a!==_i.Z_STREAM_END&&a!==_i.Z_OK)return this.onEnd(a),this.ended=!0,!1;r.next_out&&(r.avail_out===0||a===_i.Z_STREAM_END||r.avail_in===0&&(o===_i.Z_FINISH||o===_i.Z_SYNC_FLUSH))&&(this.options.to==="string"?(s=ck.utf8border(r.output,r.next_out),l=r.next_out-s,c=ck.buf2string(r.output,s),r.next_out=l,r.avail_out=n-l,l&&Gb.arraySet(r.output,r.output,s,l,0),this.onData(c)):this.onData(Gb.shrinkBuf(r.output,r.next_out))),r.avail_in===0&&r.avail_out===0&&(u=!0)}while((r.avail_in>0||r.avail_out===0)&&a!==_i.Z_STREAM_END);return a===_i.Z_STREAM_END&&(o=_i.Z_FINISH),o===_i.Z_FINISH?(a=dv.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===_i.Z_OK):(o===_i.Z_SYNC_FLUSH&&(this.onEnd(_i.Z_OK),r.avail_out=0),!0)};Qm.prototype.onData=function(e){this.chunks.push(e)};Qm.prototype.onEnd=function(e){e===_i.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Gb.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function dM(e,t){var r=new Qm(t);if(r.push(e,!0),r.err)throw r.msg||WD[r.err];return r.result}function Rlt(e,t){return t=t||{},t.raw=!0,dM(e,t)}n2.Inflate=Qm;n2.inflate=dM;n2.inflateRaw=Rlt;n2.ungzip=dM;var Flt=Sf.assign,Dlt=e2,Nlt=n2,Mlt=mue,vue={};Flt(vue,Dlt,Nlt,Mlt);var Llt=vue;const UA=fc(Llt);var RZ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",nb=new Uint8Array(256);for(var qC=0;qC<RZ.length;qC++)nb[RZ.charCodeAt(qC)]=qC;var Blt=function(e){var t=e.length*.75,r=e.length,n,i=0,a,o,s,l;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var c=new Uint8Array(t);for(n=0;n<r;n+=4)a=nb[e.charCodeAt(n)],o=nb[e.charCodeAt(n+1)],s=nb[e.charCodeAt(n+2)],l=nb[e.charCodeAt(n+3)],c[i++]=a<<2|o>>4,c[i++]=(o&15)<<4|s>>2,c[i++]=(s&3)<<6|l&63;return c},Ult=function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},yue=function(e){return Ult(UA.inflate(Blt(e)))},zlt=function(e,t,r){for(var n="",i=0,a=t-e.length;i<a;i++)n+=r;return n+e};const Hlt="eJyFWdtyGjkQ/RVqnnar8Bb4lpg3jEnCxgEvGDtxKg9iphm01oyILrZxKv++mrGd3az6KC8UnNa0+nrUGr5lI11VVLtskF198FaU1Dns9w9OOkf7/ePDrJu90bWbiorCgpH2RpLZO9WqaCReqZ8lnReJqKTa/SwL8DXJctPs9Lxs4oSS+bAuVVjXC7/tG/lAxYV0+SYbOOOpm402wojckVlQ8+T4wVFdUDHXlaifrTs91Q/Z4PNeMLu7t3/U6746POm+7vW/dLNlWGuUrOlCW+mkrrPBXr/X+4/gciPz25qszQbhyeyKjG2XZb3ewR+9Xi/sMdVO5k+ebHemcaHzW/57p3/y+qQbPk967We//TxoP191hoVeUWexs44q25nUuTZbbYSj4o9OZ6hUZ97osZ05WTJ3AQ37jMOqQtblIt9QG7lWycKJuhCmeJGGhSOxffccyqPj/W728eXX4cFJNxvavAmRyQbH++HnGf34vdc/etXNFq54d50NXh+2X6/C137v+CnQH8gZmYdQfP6WXX8MCppQTYMlditCBL53/wfTQ65EFeNfvQ6erlQsqX21akJc1rGs0EoJE+NbMnlToZFAVEFkQ3iABW2uGH3CUK1ojUTgMWEbjfaWeUp5G6N5aCwRw5vddkOM98EVqRlPrBJ2E8OPZHSM6prJkrtnVrqNIWbtOjQrg8o7Zq2VDwxId5x3xMe0lpzBuVaa0WGpkkCkmgaON/3qBVODpaHQiIybXz3ZliTi3DO2D2PoNIZGMXQWQ+MYehNDb2PoXQxNYujPGHofQ+cx9CGGpjE0i6GLGPorhuYxtIihyxhaxtBVDF3H0McY+hRDNzG0CqfQLTmeNlZBBvr0+TnIKbmUuTS5Z1jUN6xtw8nBtEjLb7wxDOesmB5j+JfpIIYLmIZiWC6GZAz9HUMMvTItzESL6VqG9rZMKGOI4QaGXpjY+xi6i6H7GGKYdMeQPl9foBBW3GHark9Vo5OqgEd9oe+ZOPOnc3NcqmZgiUuomehYnt1xZ8daaSPZ8wBoyb0Jx3jOBLBtGyvbiRNOLXw0Sy+DpNKAAhpxq/gXYhD6NdMda6bwwyTH0kwhypI70p5wdhR7Gjia3JEhpvfDLCRKI7YcqYXJnxgv/g3vSthEhNNSEKIfCQByUkpurWQaNXjqNtqjSfHp0OdLOwSAG31E7h03uLRMvlbEtDPoq0rkhqvhlSFu40I7kfP9VoRLFrH+G7YLcypCQLkJ1delML5SwjPb6DIMmQxL54L1gyq+YIfMyKNNsQ4zHj8UnoMDdoZwfoMqkJxX7A6Cj3czWzLdqcC+GuGM9tCa4RobSp5J2gTnk0D5CVA0Pp1RAqn7hC0o5J3kqvkTsGyY6gwBHlqmHtqBh2x77UI9QimVS75PljgMAjXDEljn0QNjvMlZIAju/pF0NH95VcFshSgnB3Ug+LhMkwYoVKOAUS+T2kZIG2DVcYInLXDTQkKUYHelH6kuGcEcbPE26aRPNklKOEQpNcCQHPp6k4jc5UYbRtkM7T4HcVsAvADWLtEGnq/M9t2G9e2Aw8xEM1CCQ4QDWq28cnKrmDHTAwcvgYNh1HJSqEKumdvVDlPDFOwjU8UyTpZZ4tTBohzYUSMaRAmdggBNgKLmzVsYGLjXbyujb6lm70CGSmnB1PsWJHuSYhQfupq/ioxBTRngkEaRuQEP3ICIPb/kAq/Axo6ZUEaQFFSStxwa/eDpiARDND4kqhIE+BG1Btp7hjKCjh6UKYt2xk7MkmMJ8PCMlGNy5XiSdvc6wYjYtIp5pSGBRTo9Z45R6Asw4bQ8HgrYhEJmTFsk6pWvyPfJOj4HiXNGFFQJw1hOCVaYgChNUOGcA6tD0DZCMSdDczMBDa5TFVWDqWn5i/yB+BByqARcGhx6ziqXVD4Ii2TqZmnLi8AS3L8dGqRoBIzwkM0LmXNpOAOKTNKbKciPBvg8XdZJ6RDoHEKO5meuGdDzmOiQMTrt0d63SVfAIDBJtgIwwaUvN7ps8l1r7v0I5lKPRUEV+rcqfaHlDvJH4FSdVBVCjk8IiXp87Jv/Ib90s/dk6gshTfPv8Zfv/wDUfBK2",qlt="eJyFWdtyGjkQ/RVqnnarcAo7vuE3jEnCxgEvGDtxKg9iRgxaa0ZEF9s4lX/fnrGdTVZ9lBcKTmvU96PW8C0bmqqStc9OsqsPwYlSdnaPDvb6naP+3v5+1s3emNpPRCVpwdAEq6TdOTW6mC61+hpksyBo/euCTrOg89MKUSm9/XUNwddSletGcbOcfo+90Cof1KWmdTu7e4S4N+pBFhfK5+vsxNsgu9lwLazIvbRz2Tw7evCyLmQxM5Won809PTUP2cnnnYOj7s7eQa97fNjvHvd2v3SzBS21WtXywjjllakbRb3eT4LLtcpva+lcdkJPZlfSunZZ1uu9ftXr9UjFxHiVP7my2drGh84f+Z+d3f5xv0uf/V77udt+vm4/jzqDwixlZ751XlauM65zYzfGCi+LV53OQOvOrNnHdWbSSXtHKOkZ0apC1eU8X8s2dO0mcy/qQtjiRUoLh2Lz7jmWB4cUto8vv/Zf97vZwOVNhGx2crhHP8/kj987uxShbO6Ld9fZyfF++/WKvu72Dp/i/EF6q3IKxedv2fVH2qAJ1YQscRtBEfje/R8sH3Itqhj/Ggx5utSxpA7VsglxWceywmgtbIxvpM2bio0EoiKRo/AAC9pcMfsJK2stV0gEHhOu2dHdMk/p4GI0p0YTMbzebtaS8Z5cUYbxxGnh1jH8KK2JUVMzWfL3zEq/tpJZu6JuZVB1x6x16oEB5R3nneRjWivO4Nxow+zhZKWASDcNHCv9GgRTg6WV1IiMm8ReriWJOPeM7YMYOo2hYQydxdAoht7E0NsYehdD4xj6K4bex9B5DH2IoUkMTWPoIob+jqFZDM1j6DKGFjF0FUPXMfQxhj7F0E0MLekQupWep40lyUCfPj8HOSVXKlc2DwyLhoa1HZ0cTIu0/MYbw3DOkukxhn+ZDmK4gGkohuViSMXQPzHE0CvTwky0mK5laG/DhDKGGG5g6IWJfYihuxi6jyGGSbcM6fP1BQphyR2m7fpUNXqlC3jUF+aeiTN/OjfHpW4GlriEmoGO5dktd3astLGKPQ/ALnmwdIznTADbtnGqHTnh1MJHswyKJJUBFNCI241/IwahXzHdsWIKnyY5lmYKUZbckfaEs6PY08DR5E5ayfQ+zUKitGLDkRpdASTjxX/hXQqXiHBaCkL0IwFALrVWG6eYRiVP/doENCk+Hfp8aVMAuNFH5MFzg0vL5CstmXYGfVWJ3HI1vLSSU1wYL3K+3wq6ZUnWf8t2YS4LCig3oYa6FDZUWgRGjSlpyGRYOhesH7LiC3bAjDzGFiua8fih8BwcsFOE8woqIrmgWQ2Cj3czWzLdqYFeg3Bmd2pNusVSyTNJG+N8SlB+AhRNSGdUgtR9whYU6k5x1fwJWDZIdYYADy1SD23BQ669dqEekaktF3yfLHAYBGqGBbAuoAdGWMkZEQR3/0g6mr+8qmBUIcrJQR0IPi6TpAEa1Shg1MvkbkO0G2DVUYInHXDTQUJUQLs2j7IuGcEMqHibdDIkmyQlHKCUWmBIDn29SUTucm0ss9kUaZ+BuM0BXgBrF0hB4CuzfbfhQjvgMDPR
475FJTgAOGAVqugvdpoZswMwMFL4CCNWl4JXagVc7vaYmqYAD0qVSyjZJklTh0syoEdNaJBlNAJCNAYbNS8eaOBgXv9trTmVtbsHcjKUjkw9b4FyR6nGCVQV/NXkRGoKQscMigyN+CBGxCx55dc4BXYyDMTyhCSgk7ylkejHzwdkWCAxodEVYIAP6LWQLqnKCPo6EGZckgzdmKaHEuAh2dSeyZXnidpf28SjIhNq5hXGgpYZNJz5giFvgATTsvjVMCWCpkxbZ6oV74i3yfr+BwkzltRyEpYxnKZYIUxiNIYFc45sJqCthaaORmamwlocJOqqBpMTYvf5A/ERyKHSsCl5NBzVrmk8kGYJ1M3TVteEEtw/3YYkKIhMCJANi9UzqXhDGxkk95MQH4MwGfpsk5KB2DPAeRofuaagn0eEx0yQqc90n2bdAUMAuNkKwATfPpyY8om37Xh3o9gLg1YRFuhf6vSF1ruIH8ETtXJrSjk+IRQqMdHofkf8ks3ey9tfSGUbf49/vL9XxrnGMA=",Wlt="eJyFWVtT2zgU/isZP+3OhE5Iy/UtDaHNFhI2IdDS4UGxFUeLbKW6AKHT/77Hhnbb1fnUFw98x9K5fzpyvmZDU1Wy9tlxdnUenChlZ3e//+awc7B32D/Kutmpqf1EVJJeGJpglbQ706VWX4JshEHrX4Wdn4SiUnr7q5jga6nKdaPvXBYqVISMvdAqH9Slpjd3dvuEuFP1KIsL5fN1duxtkN1suBZW5F7auWxWjx69rAtZzEwl6hc73741j9nx553+QXenv9frHr456h729m672YJetVrV8sI45ZWpG0W93k+Cy7XK72rpXHZMK7MraV37WtbrvX7V6/VIxcR4lT87s9naxovOH/mfnd2jw6MuPY967XO3ffbb5+v2edAZFGYpO/Ot87JynXGdG7sxVnhZvOp0Blp3Zs1urjOTTtp7QknbiN4qVF3O87VsQ9huMveiLoQtvkvpxaHYvH+J6d4+Be/j9//e9Pe72cDlTZxsdrzfP+pmJ/LH/zu7ewfdbO6L99e0crf98+rlzybY59JblVM8Pn/Nrj/S+iZeEzLEbQSF4Vv3f7B8zLWoYvxLMOToUseSOlTLJs5lHcsKo7WwMb6RNm/qNRKIikSOogMsaBPG7CesrLVcIRFYJlyzo7tjVungYjSnNhMxvN5u1pLxnlxRhvHEaeHWMfwkrYlRUzNZ8g/Mm35tJfPuipqWQdU9865Tjwwo7znvJB/TWnEG50YbZg8nKwVEuuniWOmXIJgaLK2kPmTcJBJzLVPEuWdsH8TQ2xgaxtBJDI1i6DSG3sXQ+xgax9BfMfQhhs5i6DyGJjE0jaGLGPo7hmYxNI+hyxhaxNBVDF3H0McY+hRDNzG0pJPoTnqeNpYkA336sg5ySq5UrmweGBYNDWk7OjiYFmn5jTeG4Zwl02MM/zIdxHAB01AMy8WQiqF/YoihV6aFmWgxXcvQ3oYJZQwx3MDQCxP7EEP3MfQQQwyTbhnS5+sLFMKSO0zb91PV6JUu4FFfmAcmzvzp3ByXuplX4hJqpjqWZ7fc2bHSxir2PAC75MHSMZ4zAWzbxql27oRTCx/NMiiSVAZQQCNuN/6NGIR+xXTHiil8GuRYmilEWXJH2jPOjmLPA0eTO2kl0/s0C4nSig1HanQJkIwX/4V3KVwiwmkpCNGPBAC51FptnGIalTz1axPQpPh86POlTQHgRh+RB88NLi2Tr7Rk2hn0VSVyy9Xw0kpOcWG8yPl+K+iyJVn/LduFOV3GaOBmuDvUpbCh0iIwakxJQybD0rlg/ZAVX7ADZuQxtljRjMcPhWfggJ0inFdQEckFzWoQfLyb2ZLpTg30GoQzu1Nr0lWWSp5J2hjnU4LyE6BoQjqjEqTuE7agUPeKq+ZPwLJBqjMEWLRILdqCRa69dqEekaktF3yfLHAYBGqGBbAuoAUjrOSECIK7fyQdzb9/r2BUIcrJQR0IPi6TpAEa1Shg1MvkbkO0G2DVUYInHXDTQUJUQLs2T7IuGcEMqHiXdDIkmyQlHKCUWmBIDn29SUTucm0ss9kUaZ+BuM0BXgBrF0hB4Cuz/bbhQjvgMDPRFJTgAOGAVqugvdpoZswMwMFL4CCNWl4JXagVc7vaYmqYAD0qVSyjZJklTh0syoEdNaJBlNAJCNAYbNR8eaOBgfv8trTmTtbsHcjKUjkw9b4DyR6nGCVQV/NXkRGoKQscMigyN2DBDYjYy0cu8Als5JkJZQhJQSd5y6PRD56OSDBA40OiKkGAn1BrIN1TlBF09KBMOaQZOzFNjiXAwxOpPZMrz5O0fzAJRsSmVcwnDQUsMuk5c4RCX4AJp+VxKmBLhcyYNk/UK1+RH5J1fAYS560oZCUsY7lMsMIYRGmMCucMWE1BWwvNnAzNzQQ0uElVVA2mpsVv8gfiI5FDJeBScuglq1xS+SDMk6mbpi0viCW4XzsMSNEQGBEgmxcq59JwAjaySW8mID8G4LN0WSelA7DnAHI0P3NNwT5PiQ4ZodMe6b5LugIGgXGyFYAJPn25MWWT79pw30cwlwYsoq3Qr1XpCy13kD8Bp+rkVhRyfEIo1OOj0PwOedvNPkhbXwhlm1+Pb7/9C/NFF2U=",Vlt="eJyFWdtSGzkQ/RXXPO1WmZSBEAJvjnESb8AmGENCKg+ypj3Wohk5ugAmlX9fzUCyW6s+ysuUfVqXvh61Zr4XI1PX1PjiuLg6C05U1Ns/Ojx42TsYHB4eFf3irWn8VNQUB4xMsIpsCwatU1DUSm8T+JpUtW7XP6NShToiEy+0ksOm0nHkIP53b9UDlefKy3Vx7G2gfjFaCyukJzundu74wVNTUnlhatE8a/XmjXkojr/s7O33d/YOBv3D3YP+68HB136
475xiEOtVg2dG6e8Mk1xvLM7GPxHcLlW8rYh54rjOLO4Iuu6YcVgsP9iMBjELabGK/lkymZrWxt6f8g/e7tHr4/68Xk06J673XOve+53z8PesDRL6s23zlPtepNGGrsxVngqX/R6Q617F+1qrndBjuxdRONu4ziqVE01l2vqHNgtMveiKYUtf0rjwJHYvH/26MGrvX7x6ee/l3uv+sXQydZPtjh+tXfUL07o1/+d3YPDfjH35fvrOHO3+3n1/LN19hl5q2T0x5fvxfWnOL/11zQq4jYiuuFH/38wPUgt6hT/Fkw0dKlTSRPqZevnqkllpdFa2BTfkJVtdiYCUUeRi94BGnQBY9YTlhpNKyQC04RrV3S3zCwdXIrKWFQihdfbzZoY66MpyjCWOC3cOoUfyZoUNQ0TJX/PjPRrS8zYVSxZBlV3zFinHhiQ7jjriPdpoziFpdGGWcNRrYBIt1WcbvotCCYHK0uxDhkzvwVyHVOksWd0H6bQmxQapdBJCo1T6G0KvUuh9yk0SaG/UuhDCp2m0FkKTVNolkLnKfQxhS5SaJ5Clym0SKGrFLpOoU8p9DmFblJoGU+iW/I8bSyjDNTp8zzIKVIpqawMDIuGlrRdPDiYEun4jVeG4ZwlU2MM/zIVxHABU1AMy6WQSqG/U4ihV6aEGW8xVcvQ3oZxZQox3MDQC+P7kEJ3KXSfQgyTbhnS5/MLJMKSO0y78bls9EqX8KgvzT3jZ/50bo9L3fYraQq1XR3Ls1vu7FhpYxV7HoBVZLDxGJeMA7uycarrOmHXwnuzCipKagMooBV3C/9GDFy/YqpjxSR+bORYmilFVXFH2hPOtmJPDUcbO7LE1H7shURlxYYjtdj6E2PFv+5dCpfxcF4KXPQrAEBOWquNU0yhRkv92gTUKT4d+nxqRwdwrY+QwXONS8fkK01MOYO6qoW0XA4vLXEbl8YLyddbGa9axNpv2SqU8SoWG26Gu0NTCRtqLQKzjalik8mwtBSsHVTzCTtkWh5jy1Xs8fim8BQcsDOE8xvUkeSCZncQvL/b3pKpTg32NQhnVo+lGa+yMeWZoE1wPAmknwBJE/IRJRC6z1iDUt0pLps/A82GucoQYNIiN2kLJrnu2oVqhHJLLvg6WWA3CFQMC6BdQBPGeJOTSBDc/SNrqPz5voLZClGOBHkgeL9MswpolKOAUS+zq43QaoBVxxmedMBMBwlRgd21eaSmYgQXYIt3WSNDtkhywiEKqQWKSGjrTcZzl2tjmcVmaPcL4Lc5wEug7QJtEPjM7N5tuNA1OExPNAMpOEQ4oNU6aK82mmkzAzDwEhgYWy2vhC7VirldbTE1TME+Kpcs42yaZU4dLJJAjwbRIAroFDhoAhZq37zFhoF7/ba05pYa9g5kqVIOdL3vQLAnOUYJsar5q8gY5JQFBhnkmRsw4QZ47PklF3gFNvZMhzKCpKCzvOVR6wdPRyQYovYhk5XAwY+oNNDeMxQRdPSgSDm0MzZilm1LgIUnpD0TK8+TtL83GUbEqtXMKw0FNDL5PnOMXF+CDqfj8ZjANiYyo9o8k698Rn7I5vEpCJy3oqRaWEZzyrDCBHhpghLnFGgdnbYWmjkZ2psJKHCTy6gGdE2L38QP+IeQQRXg0mjQc1S5oPJOmGdDN8trXkaW4L52GBCiEVAiQDYvleTCcAIWsllrpiA+BuAX+bTOSodgzSHkaL7nmoF1HjMVMkanPdr7NmsKaAQm2VIAKvj85cZUbbwbw70fwVwasCguhb5W5S+03EH+CIxqsktFl+MTQqEaH4f2O+TXfvGBbHMulG2/Hn/98Q/b2xEO",jlt
vendor: 14,119 bytes, line 475
475="eJyNnVtzG0eyrf8KA0/7RMhzJJK6+U2+zMX2mJYsEuJMzANEtihsgYQMEITaO/Z/P41CV+bKlaug86JQf6uArsrKXNVX8H8m3y9vb7u7+8m3k4t/btazm+7o5PmTZy+PTl88eXk6eTT56/Lu/tfZbTc0+Hu3eOju51ezb75bLq532maxYO2oarPb+aJndRCm3fzm425/Y8N/3M8W86tXdzeLoeXjYXv91/mX7vq3+f3Vx8m396tN92jy/cfZanZ1361+73af/PHLfXd33V2/Wd7O7sY+fvfd8svk239/8+T540ffHB+/ePTk8eOTRy+fHf/n0eR8aLxazO+635br+f18eTf59ptBBuHtx/nVp7tuvZ58+3TgF91qXZpNHj8+/svjx4+Hnfy6HAawG8z3y8/9ajeGo/+6+j9HT16+ePpo9+/z8u/L3b8vH5d/nx+9ul6+745+79f33e366B93V8vV5+Vqdt9d/+Xo6NVicfRm9z3rozfduls9DNTDOF8fzY7uV7Pr7na2+nS0/HD0y/xued9/7r4ZGi2OXv3taHZ3/X+Xq6P58AXrzfv1/Ho+W8279V+Gzv447Op6fnfz+9XHrsxA6cnv98NHZqvrqg4Nv599/vs4Ic+fvHg0eVe3np4cP5q8Wl/tAr0axR862/7m+PHzR5Pf76//Pp18+2QnDv+/2P3/9PF+vv7Z3a/mV0NA//0/k+m7ybfHz4dGvw5dWX+eDXH830d7fHJyssfdl6vF7Nb46fPTPf9jsxzi9X5hytOnz/bK3eb2/W6ibu6ydr1cLGYr4y+GiSn8c7e62qV7FZ4fH++F2e0grYf4mGQdLj0oM557/Xm26u4W3YeWRB+r3Zitd9+4/uQdfzEO9/Nis85duBqqdJZ38bH//LG7y82HocyXYiTrxWz9MQfrz261zHR512V4vxUt7z+uOtH2w3KzEnT+INqu518E7B46MbddiKmnw/xOpNXVcrG8y3jd3c6jZDOw2NlAot0fm9ki45tVN5SzD/PZkyc1abp1sZqqvHz+dJx7kX2vMvouo+8z+sH3/Oz5Hv2YO/NX/2BNhb/l7/p7Tph/5DD/lD/4c97jL156NeT/zB/8NffrLA/ot9zqdf6uN/mDv+d+vc0fPM8fvPBZOx0neppbvcvoMu/xXzn53g+L2afuPtiGhfz9oMU65c9FT7FUnK2v5vOr+epqc5tnbbOz7fWw/nR5j8XfQmfsY7M8nve51VVudZ1bieL8kD94k9HH3OV5Rv+d9/gpt/IStiXhNu/xLqNlRp9F1WerFxa4zpG4z9+1yR98yJWwza2Ek/aOdsc9xfRzV3f5FRPh+MXjmpWrRvtD2Xg/X1w3l/rr5VaYe1idPWL35TjNk+NJrbgPuwND9Fkfs1o7PiyWq7ng667xLVeb1bCMX3kAj0+wbNbzcuCaoluPWnRZ3Wzmg3K7vNdHDju5fPFX5Bh6S5wPc8HE8dNwKCcPB65nNzedSNs9x0MxOuDYzV236kTtD8dCs5vV7DOY2tOaWcNJRCd80MP7frY+EOHD6kofK9gERH04KRg/Pxxizz+v52shDWO9/7jchGPFtOyH5PaZW80eRD3Mrjb36tClePmHRfcla43Kup1drdThzvtVp3Z8vbyfXYWKc2k+zCQGwJQV1qF3trseQqqOUTd3N7PV5nYx24jdLG+Gw8xP4utmOA6Yl9uQsy688sOek+cjW66uPwzHeeHA0I9Q4iLrByCR+x7OYA/Pntoebgen2yxwF7ayzMRie70r+vVaLGCLuGNfeSK3I5KlGNRQn8Mp8ZD34hziH2lK3QliBvryH/PGlyY5qf51cfb86Cj3oC4X1/OHOSS0fyT2zA+YRXF4txsfOj/0ob4Rg3U596IygaHmr/T9hVJx3J6IGdWDfyb2zmeCPuBnAWknfs4weASchBxXJ1YDfX7yvIrjVQ+xK3IdXztjHvgodVx+VR3w8mjlaDRVP9KXw7FTqda3RWOFcCarhAzRw1yzJ/rha9z76ct66rn8s7u7EZn7Ju7Cz+LUID05DhbJocx9xQuJHc02xnrFY/Xznxw5i+rbj8uVGNUZ7d3DQFVgJ3pU8Kd1EaOwWTXRDjxienErFzjWm3KUsxL9jSnoUWzxaKtmgrebxf3886IX/WqU/9s4QEuk4Xjrfj5bXM8/fMhz1bet4de4H09YkSxeGwfT7MCq05auGuO9a9lgK2N+jQHyxZDqHy+/DUcMeA3OToFWy0/dHZ4ImTmuupv5Oh76eonGyYblONdFPdRYb4aqDucjHmw6hrTCbERm2Ur1fzU+8C+q8NOX9di1XOmK18Eszj/ef8zw+6YBLpRv2VjuGybTNVfHlvCqdfhwICtjgP18uVUavG9zhdaMtJae1jK6bu0517Ht++BhCa+Y9bigW9wLA78PJu2euF0ecMTUNfu6240YSWMNX8rjTK8FPvixq0/xCOfFySn4+JDAqyGR1/n7fud8Pa2Tv2gsJD8fXH9/iRPnpxJ2X0eZYrIFt4wYJuetGv8ldtviMETt42wBS0Mt8t2pSaxwnwu1BJgvx8MmT7WvTGCjFLrWgG6imeKAxmlVs6rPRn6XB4iWwbLnlhDXg010KmMbS/731AlbuMhtTs3Or+dXymh/iF8EB2aHDnd/pcNa625j3t4czuuD+3rV+M5XTZOOpwM2A/F73IgPHFD+2Fruad9+iVie3dkBWTwSsG87WAo0QeaXB/e0WN7s5vtuKcK9bJvpJq9jNYOGr2pU8s3Bye1gJfeYN9L3Tq7jdnHnLh80u+e3lrsfN7u7kf95NPm5W939NpuvdveQ/z15tbtbPXn0zenj/zwat/buEdC+nxGNpo7wb8PWU9/au0pAODAUzsL3nOUu4NIbuE1VoPv6Dyg4T1DGkAW2vzoU0L5wEL0OW2+HrZe+VWOGKIzehfMQi/M6ekBh9MBh9EDr6AHR6EGx0QMb6zqwYidILoatF7Y1Hbae2dblsPXkiW/WISGDvgPeDJsnvlU/CCjEAjh8H9AaC0AUC1AsFsAsFsDGWDh5CJmwDVoft/KI+tzzsRGWpiEqDuNUpM65UqsC5WqIata4LNyqnuXv5hI2rurYxFzMJlFFG9dlbTLXtglU4Mapyit/nRHUuyEqeueq8qt6niPKHmBcGYGJ2Q1MIkswrn3BZDYHE9ghTIg2UTF4RUVgGBWhaxhj6zBB+EfVwEQMUd0ZV3ZiYrsy2ViMa3cxmS3GBPYZE6LZVPyQE3KbW/UCNQIhXGg0A3QhQ1TfxsmFnLMLVQVcyBC5kHHpQlU9y9/NLmRcuZCJ2YVMIhcyrl3IZHYhE8iFjJMLVf46I3AhQ+RCzpULVfU8R5RdyLhyIROzC5lELmRcu5DJ7EImsAuZEF2oYnChisCFKkIXMsYuZIJwoaqBCxmi4jOuXMjEdmWyCxnXLmQyu5AJ7EImRBeq+CEn5Da36gVqBEK4EIYGrShyqvQokimRyM4UZLCnyMmjoiiNKjQ5a+yPLSuKyrdii2xeUScHi6K2sdiGvSyqZGhRJFcL4usGB3+LnEyOROV0ocl5Y17Y86KojC+2yO4XdbLAKGofjG3YDKPKjhjVaItBA28MHAwycHTJKLBVRlX4ZWgAphk5GUYUlX3GFl/xFTbSKGo3jW3YUqPKvhrVaK5Be2jUxbbRvm/xQ/ETrusEPRcpGRVK5LdBYrcFEbwWKTktStJnocGZ3A97LErKYVHP/ooquStK2luxBTsrauSrKJGrgvRaUnBUpOSnQVJuCg3OZezZSVFSPop6dlFUyUNR0g6KLdg/UWP3RC16JyjgnEDBN4GiayJmz0RNOCbI4JdIqdpRUl6J+kEvYJ9ESbsktmCPRI0dErXoj6A8yAzfyra9pu1ICVccR4+WaIhMxTiZoXN2wqqADRoiDzQuDbCqZ/m72fqMK98zMZueSeR4xrXdmcxeZwIZnXFyucpfZwT+ZojMzblytqqe54iypxlXhmZidjOTyMqMax8zmU3MBHYwE6J9VQzeVREYV0XoWsbYskwQflU1MCtDVH/GlU2Z2K5MNijj2p1MZmsygX3JhGhKFT/khNzmVr1AjUAIF6p9RRtyRhXuAhkRCOxEJoEVOSMvckGakcln4vvZjlxQfuRqNiTXyJFc0JbkOnuSK2RKLpArmfBaMPAlZ2RMIChnMvlcxJe9yQVlTq5md3KN7MkF7U+us0G5wg7lSrQo4+BRxsCkjKFLOWSbckX4lIlgVM6oQF1QVuXqgfpls3JBu5XrbFeusF+5Eg3L+IPI1a1o1yvWiolwrdoxdC1nZAQukGuBwK5lEriWM3ItF6RrmXwmvp9dywXlWq5m13KNXMsF7Vqus2u5Qq7lArmWCa8FA9dyRq4FgnItk89FfNm1XFCu5Wp2LdfItVzQruU6u5Yr7FquRNcyDq5lDFzLGLqWQ3YtV4RrmQiu5Ywq1AXlWq4eqF92LRe0a7nOruUKu5Yr0bWMP4hc3Yp2vWKtmAjXWo2/6OG7q4RMoGLyK8PsVqMAXlUJOVXF0qdG8Sx9L3tUxcqhqpb9qSrkThVrb6oqO1Pl5EsVkyuN+HUi4EiVkB8ZVm40iucphuxEFSsfqlp2oaqQB1WsHaiq7D+Vs/tUHr1npOA8IwHfGQm6TkXsOZULxxkl8JtKqLIqVl5TtWbNsc9UrF2mquwxlbPDVB79ZaQPKeu2qU2fiR69cJUx19FWDFHhGidjcc7OUhWwFkPkLcaluVT1LH8324tx5S8mZoMxiRzGuLYYk9ljTCCTMU4uU/nrjMBnDJHROFdOU9XzHFH2GuPKbEzMbmMS2Y1x7Tcms+GYwI5jQrScisFzKgLTqQhdxxjbjgnCd6oGxmOIas+4sh4T25XJ5mNcu4/JbD8msP+YEA2o4oeckNvcqheoEYjsQt8N9FXcip8tqDoGIBHSwvUeYiALoiAVRvEpLISmkFq+jnbV9cS3LJ0che4CxwRzWrsLiKYcFBsIMBsIsHEge/LDGPdT34pu+gPGHZDw1h8o7kCjo/4Q4g7Mugts7C6QaJs/jCXvW9OwtSv0575VRwcIuux0/3tsdXJ3ZPzJNUOj/2L4DFEMjVMgjatomphDahLF1TgH1wSOsAkxzIYp1pVfZDTNCEJviOJvPE9ClWgmKk7TUV4IjNNREU9H5TwdlcvpqKKYjirxdFSepqMKaTqqQNNRMU/HyC8ymmaE01ERT0flYjpGiadjxDQdfx1n4oVv1V0BqvEHFEIPHDoEtAYckMUamIUZ2BhhIDW4jnbjPPatOgJAdQSAwgiAwwiA1hEAshEAsxEAG0cApI7AUZ2tJ48N2UyN7Kdxqo59Kw70J5wqQGKgP9FUAY0D/SlMFTAa6E8wVUDiQH+CgTqxcTraxK08zE1jTBs5pk0eEx+SgSJGuxGj3YTR/jzZn/Kc+FY8LipIHAQVng6CCo0HQQXJA8mi0OFRYfV8BlA8Ftqhctzy1LbsWMhRPYFBFA6PnOPhEVB7TTRgO2py5MdGzvzYyNhyNwLfskg7ipF2jpF2apF2xJF2xSPtzCLtyCJtaBPivsn5oc47fp6oU46fJ+ls42eR1aCI/ODTi58nfGaxI70tUGUrLtEFpYU2vIsf6oIECgGpKhrUJAeGGlCMSNXhokYcOZKpyEileosqJD8JVIWkUkGyKmqTmuQy5Qa5YqkFFS+pXMckc0lHGaqbBCp0UlXNU5Nc/tSAnIBUbQrUiP2BZLIKUsk1orppJRJ7CalfLyThMNTgYCE1fIcaHS6k5EYkR2OKIngUCWRXpCbn+mWC1/DKVrx8t0fiyt1O2B3ej5eddptTO0bdbZULWce+aSUODOvScfwFzUE6jZLgfo3nl0m6vPPLRF3Z+SW/o+qIgnDwHVVTMRz4BueLiDAw+Q1OFkSIqtaKU9BbYp8DwWFrv/X4S8wriCAJFEdWVTRjG4xpVCCyUcD4ksJRJlnEOrZoRVy0Otykb4WS56BdwGOD0V5xDgxR9J2ruFcVI14ZxLoijLIxjq8JIrJVa8U06C2xz4HgCBpPsRuO08oJ5lPfirccCop3gwoSNyAKT/ceCo23HQqiWwqF0d2EwsKNhELqeunorZn5Gc45ojDdLlyE75mGrXdhy6/QnE3SxZmzibous6P13Nd3aee+I6oWA9NgiObCOE2IcTUrJuapMYnmxzhPkgk8UybE6TJMc4brDoWBZ6+x7pB6kb97mtG7jGBa00LEPE9wlWiWK+apDi9TwXxHTpMeRZr5KKrpjy1yDkSdEiGKnA1R5ZSIasyLqFFypPc6VfQ4TQ6916maXDT2N23wdw0O+aNfb5RizqSgUzoFjXMKXkSBjEJK+YQSZRNKKpdQz5mEKuURSpxFqHEOoRYzCBXKH3qHLceJc6f9DltucCH3M5X0naSQMerVLiHlbAGVcgUUzpT6pgCkiSHKEeOUIMZVdpiYU8MkygvjnBQmcEaYENPBMOUCvuxDYeAsaLzsQ+pF/u5pRu8ygmlP78YwzxNeJZrtinmq47k5zjgrNPEs0/yzrNKA2+Rs4BaUFCxzbrDOKcJ6zBRWKWFIftuMKadPklUWUaOL5n6nTeVdU4EMY4USjeWcb9SC0o5Uzj57uh/yzhllnAuUay6oLHM155drlFkucE65wtnkSswj55RB4UUejghnTetFHpYvxPdPBXsnGORFft8lCTkXTKMsMM7zX083YfoN0ewbp8k3rubexDz1JtHMG+eJN4Hn3YQ47YZp1vEaBIWB57xxDYLUi/zd04zeZQTTnS5KMM+TXSWa64p5qutTYzDVhmiqjdNUG1dTbWKeapNoqo3zVJvAU21CnGrDNNX44CeFgae68eAnqRf5u6cZvcsIpjo9J8k8T3WVaKorpqn+bZzl8cmE33CGkdXZRUZP1rkQHq1z7M/WOYNH6BzCM3QO7SE6R3UGgflzMmUrXjErKD7RWJC4q1J4uq5WaLx/UhDdDymMboIUFu58FBLvKv4G8zZeTdyh2KDLg7L7iIj0oDo5qHCbEHAeayfG2omxLkOK2f0+QOKRr8LTrZxC44NeBcmHw4tCT38VFh8JLyg+2/UbVscY/dcTfMS0bMVHTAsSj5gWnh4xLTQ+YlqQfMS0KPSIaWH0iGlh4RHT155GPow6tD15M9nfzYet+GxOQeLZnMLTszmFxmdzCpLP5hSFns0prE4RoPjY0ZvRn2GrZj6i4MounMetPN7zxnjP5XjP83h5IkER4z2nZ5HewEQ68WXkzQQfMnwzrhSuXcal+Q2tDyOtVzFh9g1RSIyruJiYg2MSRci4DpPJHCsTKEGMU5bgdWhGlC+N69CkngvUiJXMIRPbseJsMn44VimvTODkMiFmWL7UbghyDa+rUyvOOnVdfZTqg8SQeoYonMZVOE3M4TSJwmlch9NkDqcJlHrGKfUqfysQpZ5zlXpVPReoESuZeia2Y8WpZ/xwrFLqmcCpZ0JMPXy0nTIEUg8fbadWnHrq0fYqpefYjqXAoT3wHJtuIsKsn2PTaiPkjefYtMypqp9jk+rbpsDJe+h5B9nmvCkcjLlO6tjkazFPCR7V/5+Y52SPckr5KFPipwdBZJZiEaTnQOQnUkE0nwLZNximu5z9vfSt+g2A6hkToDApwGEPQGv4AVk4gVkMgY2BA1Lz15G/oPoWSxiQONV4S8UKNJ5qvBVlCQqdarzFAgQUTzV2aHeO98K34rsaBcV3NQoS72oUnt7VKDS+q1EQvatRGL2rUVh4V6OQ+K7GDl0tFzTyeu7qbXafeOZbdZSAqrEgwlECh1EihVNXwHXwgGzwwGzwzj72nz925Zzr2NgyjGqZZ2vZmJqlnJplnho+nQVFTJqdzgLKM2Sns45WcSsPZBW93IV1dzvPU74JpbjJ9rFpeMVGesUmewU/kgqKcJGNcJFNcpFtmPA+buUk7XPm4buILwlRENK7iMxVhNS7iCxRrPK7iCxwbPhdRMbktXj8fkqIXFcfv7OY/TcdvzPXTpyP31kgT07H78TBxQxRrRgnnzauHMHEbAsmkTcYZxswgQ3chOjihsko/LXPhQodmXrFXa4Ftnfj5PHOhdGb2K45Zfmmke8bZ/M3gVeAKqRloArLHAxeEIwfygGxNJjUyIHGImFyK0V4uTDeSAVeOCpfCdQYul5HqioWkyrBimKo4ahybTGx7Zy8yhjXS43JLWNNi44J2li3Odt6gRrlpFajcKCPa1IUOI5R5fUpqjLWsYmIeGzAcY9qCm+UU5CjTKGOIq9k6XLAqRR4VTtwOUA3ESucvhyg1cZq17gcoGVe+fTlAKmi7UeBiz6qvCJGVXpibCKcMTZgf4xqssEop/UyyrRqRpENM6jsaCTGdTS+SNeq5bSmRpVXVlLV+hqbfM1L5FobW/CKG9W07kY5rb5BzmtwfMmuFc60Hkf16xmo1ubY4GAGttbp2OhwmqY1O6oHEzGt30FdNYWDYWus6KGNWtdDA1zdo3BwbdIrfWzytdUnrfpRbaz9sdHhJSofB0T50BK1bdVA3xQOWkM+Sjif4BM953g8ACg+x3OeVn7g6XriOa7xgOiZnfOwmgMLT+qc47rtqNroiRH6IZR6PRnH2nj1xjmN+tCrNy7m8TdevXHOkWi9euNCjEnj1RvjFJ30ysrIG6+sEKdgHXplhUQVtq+8skI6BfDgKyukcigPvLJCGgVVvr2hIsjhlW9vBEqhbb+9ESQV1oNvbwSVQnrg7Y2gcTibb28EhUIpXm3IseIw5lcbHFEAG682OFeha7/a4BIFrfVqgwscLv1qg2MKFL8SQKHgEDVfCUgKBezwKwFJVuH76isBqQUF8yuvBCSdQ3vwlYCkUqAbz8LruHLYxbPwwCjUrWfhQVDhPfAsPGgU0uaz8KBwGBvPwgOn0KVHxzkqHC77iW0IlzMKlwsULhdUuFzN4XKNwuUCh8sVDpcrMVzOKVwmULiMc7jGXw6GYFVCoaqYAlWxClPVcpCqQiGqmANUOYen8hicSik0I6bAjJTCcjGG5IVvxdOVCwwFIHG2d0EhABrP6y7C0IHRNYQLGDKQeJK2Q/6zzGUrzlxB8SzLhbO4FVOhIDHfhae5LjTOc0Hy94KLQrNfWD0/BRSnd4d20/rMt+IpS0E1BIDEdYvC0ylNofH6Q0F00aEwutJQ2DhjQOoIHMXT2YtJekR7h+Kguzw5dqUGkZ6vTs5XuBADOE9jJyarozLdMbu44tm5u6Dy0rfiKXlB4jy88HTyXWg84y5InmYXhc6tC6s5Biheyr2Y5Ke2dyxfiNjRTZjZTc7GTSP1NjL1Njn1+DICKCIpNyIpNyEpp6PrwVbs9RRdD5AYyJRcD2gcyDS4HjDq7hRcD0isoekEH7iboncBEo95Tcm7gMYHuqbCu0ChR7em6F2A4oNx09G7Tn0r3gyYoncBEjcFpuRdQOPl/2nwLmD0q7VT8C4g8Vr+FLzrCRC8Cj0drWv/I2VTtC5A9nYJoPwLbVOyLqT4donj+BNt02BdwPztEmNmXT7UZUi4ZS6SZaMilrIilrki2LpAEbVi1gUoFwZdqJ2Sc/m87Zzr1MZvzgUoJp5zTDynlniO+GaTK56SzjwlndWUNNKHeupz3fepvi9Hwxt/qekSHQ+ZvZEGLL6IAwK+iQPYXsUB5m/cAPRXbgDWd24A2RtpznbW99y34ot8l8n6gKd3+y7R+gDRxIFigwFW8xJQ7bajmS2wl2h9gOLN4stkfcDTscElWh8gOgK4DNYHLFxHv0Trc1RL6CmQW/xl5svR+174VjyfuETvQ5TPJy7J+5CC9wGOpxmXwfuA0WnG5Wh0MARzOmTq1cxL8jrE9GrmpXA7lPitzUv0O2T0hublJP8Y9iVZns/XJjbaiIFuWgPd6IFuxEDZ91BSA3XnQxhfT7206/RgBukmRBLY0/RtiKQKd0s3IpKQfC7fikgKOV66GcECeF96x4y5ckH1jhlL5Ietd8xYZmdM75gxJ4+sHIzSELmlcbJM48o3TczmaRI5qHG2URPYS02IhmqYXNVvMoVS5XtPXANgc4bIaY2T3ToXnmtiNl6XsvuaRhZsnH3YBDbjKizFoJMtmyAty1ThW6axeZnQcDDTk42ZwqZtAjt3upPIgvDwKm1E8+TmJhyMj/J101rxaTm86c34ZK83hQyfbvlVJ1T3/JTGzt+866caCP9X9/2UllYBeedPibQWqHt/QoMVASktCiipdQH1vDSgSqsDSnqBwBa8RqBGywRKtFKABIsFUlovUKIlAyW1aqCeFw5Uae1AiZcP1HgFQS0uIqjQOhJuBgfHELeJRYGBaSOlNQUlWlaCJFYW1PPiEtS8vqBMSwxKvMqgxgsNaEsdkrTcoCYdFRsIU0WZfRW1hrVik+SuKPIChBqvQepRAaGJlQjUjf5QWo9Q+1oA1aqE8oEAttYmbHIogHmFQjEuUkM5TfxXQsqW/66PoXj/yYXd3yTc/5WH3dY2bPl1nrIVr/MUlK7zVNfDHhmibhmXfasqdLCibUZ97gH313ju9Ngx7LQh6rRx2emqQqcr2mbU5x5wp43nTodnlaDnkVP3oyjHEJrAQALfNnjf6B+PK4p5cJDuMDSkNDCU5LCgAQwK6FbSXvaJh4NSHkx9zAdGYoiGYVyOoaowgIq2GfW5B9xv47nT9tgH9NoZddsF2W+ToePGtoL1oh/cdxdy5+0hDOi8M+q8C7Lz4c/Tjx0Nf56eWS/6wZ2Xf55+1MYHJaDrlVDHK5bdhr96PXYQ/up1JH3aN3dX/NXrUam/QAe9NUTdNS77i38kd+we/pFcQn3uAfdZ/ZHcvfR+oAvbc9ny4wRDqpdF8IObijbhq+nv4b1PxxrAZd/o7+G9FwcUoNCN0Pfh8AFY+LWK92OkfauPW3kMOY5XA/VA7LY+Be2T+gGRqzH4sBX3dZWDD0K8xXs1dtx70MeZvKKOj7QeC3zMCIZgSPamqguBaETGD38RjQ2PbaiTPEp1bDNK9uJrRjBUQ7KHVV0IREM1fviLaKj4viR1koeq3pes0nBat1jMaLAGcbgOdT9NX0jIg3bla1/HAzelV11Og3clD39/cjRZf55d7T5yOtJywp3/bM1xlhta/MLh9GxybTstW1f7v10LyE38Ovj3dR2ob9kIHeHQ9nTcA+7YEO298of86W1GvUDUI+OpW7uKG4O03zleSj028hA+sA1bX8JWH7diR1J97yldpx87whd2jyN+yJ/fZvQlo14g6qb0or1EPz4w9pVfTz+O+CF/fpvRl4x6gaiv0kxGSbwmUjus3hI5FtpD4+u2Df6lwfsW5+G0zqpGPV+IG0ckrsEcJ+VBftFW0i+S9prSKBonU1X1a3M8CFB4FCA96O/aavxF476BeSio5bHQayHjOPitkOOIH/Lntxl9yagXiPqrzgdHiV8PGDub3g44Jv4gvmIr2BfBesWoy/I0cNT4Gf2xz+kR/WPiD+IrtoJ9EaxXjPosz/722ocJXiSvpItb8aigoHotHFH+AePC05HDnuKflHUcf9e4IPr14sLo14t3bGlHOWUrHjIVJE6KCk8nGoXGk6KC5ElRUeikqLB46FVQfDr0wyRcgq6IDp1OohDozX6unvjGOGwg40whgTgA9jAg9GkCOsYGSA0AoDpHjvykXVxeaF5aqO1gpEbicA3HMTvOAzctjd6VFAKTYhwMUzCMU0TyZeCbxmXgm4OXgSOEMOkfgdBiDNmBn4DQLVL42j8AoRvEUDZ+/kGrFNao3rTCxCEmVQW6/knNY9+KNsN/SHNPP43utHfcT+hOgKJ9Ok+W/QndCRDfA3LFHdSZXVVyZHfK9ij/SoYWaCyHfiVDN8kjbPxKhlb1uFu/kqFlikbjVzL26iKszouwBi/y6ruQ6+4inwct8knPonHSs2if9MQrAvj1+QchtEC7av8gxNig/v2XbUa9QPT16u/P7qXbCV7pLFux2goSi3rhqQoLjYt6QXJRLwot6oXRlc7CwpXO2wn+2d1bHDEg6N2e3k3qTWXbikddd2mwwNMh1t0k3DA2JP9GxN0k3h42RkdZdxO8GVzJ7uD11LbcHsU9FH335C4+4RURBaH1fFcUczjE012R68CoZ7uiwCHKT3YFDMHKt5LvUrUzz7HD37t7Qohip3/vjsUcu/R7d8x17PLv3bHAsePfuyMMscNLLhQIjp265FKl9JtCT6TAcTzwm0K6iYip/k0hrTbi2/hNIS2nWMvfFJIixj0tITKUaQ6aS8jYoN47gzkwRNE3ruJuYo64SRRr4zrKJnN8TeDImhBjivcbTyPqcyA4gu2bi8sJ3llbhnV4t+V/uGkZdrXMe1nqHaB3EYJd4UXck9iqzx/kPbcdbpmucCoOHUlXOE9E+77xPdyvrzw3Aoeu2DV5uRIpdEs++xEodengsx9LvGpHCLqCV+1OYqs+f5B70H6Kg47FsRekQGdIgT6R0je/jXvIcu5ouF7IDDoXrheeULtefJa7cuCxkXrWgX3IB9OGoAd4fE0f5P2r4+tRQksiBLuvCHafjWvZMK5l27g+T/D84DN+FlA6K6gXzFp3GKPeEuM9RvoqU1+4uug+3Ncv3f//m9NnptYPXscPGa73DIXmN3wjjnGMmrrpG1vEa49BC3ERY1jFsBiuHVJavRostdBZ0WI3t88ErjtUWvzFUtLqTWuthu6oFnnyq+SFMgRp96wHbsUJK6j2EpF1DuB4/f2ZkeugW/o4urF6KFt2KcsRXb8ywV569y9bxq08EHXlvPBU1IXGk+yC5El2Uegku7CYvQXFK+c7ZFfOPWx/hAbrMO51NJcVZhEimx+EjVje11s5ZSO0cv5QL0yu9oYHG+GC7Cra3QjtdrsPzRBNlHFKO+ece3Qvv0ay4uvcklPRnqn2uBiipDQuo2lPSFF6Vr4UqDF+ma0m5pQ1ifLWuE5ekzmDTaA0Nk65zM9O8DT8kZuuc+A4v41TkjvnTHfl0AR5bhtRiQ8nDZTJfSaxDsS5wKjY8xweEUOUDMapGJxzMfBfqngW8XVuycVQORSDISoG4zLW6Y9H0A6WAjXGL4tB/e0IlqgYWn87gmUuhvS3I5hTMaS/HUHT8Eduus6B42IwTsXgnIvBlUMT5PluRBUDXMGiTO4zicUgLl9VJVxUwZKIAidGVLk8SE1FEnUqlSBetz6Vyibfr3uqBC6hg/frVJtUTukGlxYORlAXWPMGl27AxXbwBpdulApP3+DSKhdhUFMpBvWP1sfWrWlIxRlVLlFSU6GS/vU0gLqMXJYuXwqV1de3OBVz6zroXo/Xi2qYEOUHEj0gATbuAcJLjXQKPG6Vv905vuhnyJ/1IU63yIN6YadQlUwT2f0JyvHM3JAlB3G8EBClevY+npa/yOKo7PN3mMOJO1rZigVeUDUbQKLQC0/VXWgs6YKoRAuj+4mFhfuJhcT6fADrfWFk518nvhVvOj4kpwKebkY+oCcBIiMCxX9xzVm1HEB1HI7op8u2MLRTI27N2+zH24YJb6XzbrPdbpseuxXGus1uus0WusWh7Qeyu4Ls9x3KVry1UVB8rm6P8o2OwtM9jj1Nz9UVHO96FER3NAqjmxn9WCsnvhXzqsdaASRSradaARpTrQ+1Asx/ws/ZWCtAYo71qVb6MA99noc+z0PfmIdezkOv56HP89CLeegb81CK4KltWRE4ikXgHIvAqRWBIy4CV7wInFkROLIiMET1XRdEzCpDlFrGKb+MqyQzMWeaSZRuxjnnTODEMyFmn2FKQb7MQqGAdDBEGWmc0tK5yE0Tc4K6lLPUNEpV45yvJnDShms3TyOi9G1cuyExJ3K+dkNcp7S4dkMCJXe+dhM5pzncpINMR0rJjhLlO0oq5VHPWY8qJT5KnPuocfqjFisAFSqC/C6IiBWkG1KqBpSoIIIkagL1XBZBzZWBMhUHSlwfqHGJgAZVgpQKBSVVK6jnckGVKgYlXTTYgusGNSodlKh6xGtAY1L8OYHnmP+EHAASnlj+k2ccMJ9n/UnzCzQ8hfwnziag+Lzxn+DjTGKn2cUTzt0XHp6UNBB2cMY0pOTfI68nm10mcVyG47gc53GZlsblShqXSXFchmlcxmlc+JJUp2kcX5DiGKOUxxn0NNaopvEGOY45SDTuoMHY//O//w/7Vd1G"
475,Glt
vendor: 5,136 bytes, line 475
475="eJyNnVtzG0eyrf8KA0/7RMhzRIq6+U2+zMX2mJYsEuJMzANEtihsgYQMEITaO/Z/P41CV+bKlaug86JQf6uArsrKXNVX8H8m3y9vb7u7+8m3k4t/btazm+7o+PT0xcnRsxdPXzybPJr8dXl3/+vsthsa/L1bPHT386vZN98tF9dn7xfzPzbdrslmseAmR7smR9Bmdjtf9NxqEKbd/Objbve7Dwzb/7ifLeZXr+5uFkPLb45PBrL+6/xLd/3b/P7q4+Tb+9WmezT5/uNsNbu671a/d7vP/vjlvru77q7fLG9nd2Onv/tu+WXy7b+/OX5++uibk5MXj46Pj08fvXx28p9Hk/Oh8Woxv+t+W67n9/Pl3W5Xjx+D8Pbj/OrTXbdeT759OvCLbrUuzSaPH5/85fHjx8NOfl0OQ9gN5/vl5361G8XRf139n6Pjly+ePtr9+7z8+3L378vH5d/nR6+ul++7o9/79X13uz76x93VcvV5uZrdd9d/OTp6tVgcvdl9z/roTbfuVg8D9YDO10ezo/vV7Lq7na0+HS0/HP0yv1ve95+7b4ZGi6NXfzua3V3/3+XqaD58wXrzfj2/ns9W8279l6GzPw67up7f3fx+9bErc1B68vv98JHZ6rqqQ8PvZ5//Pk7J8+MXjybv6tbTJ8NcvFpf7QK9GsUfOtv+5uTx80eT3++v/z6dfHu8E4f/X+z+f/p4P1//7O5X86shoP/+n8n03eTbk+dDo1+Hrqw/z4Y4/u+jPX7y5Mked1+uFrNb46fDPBb+x2Y5xOv9wpSnT5/tlbvN7fvdRN3cZe16uVjMVsZfDBNT+OdudbXL/yo8PznZC7PbQVoP8THJOlx6UGY89/rzbNXdLboPLYk+VrsxW+++cf3JO/5iHO7nxWadu3A1lO0s7+Jj//ljd5ebD0OZL8VI1ovZ+mMO1p/dapnp8q7L8H4rWt5/XHWi7YflZiXo/EG0Xc+/CNg9dGJuuxBTT4f5nUirq+VieZfxurudR8lmYLGzgUS7PzazRcY3q24oZx/ms+PjmjTdulhNVV4+fzrOvci+Vxl9l9H3Gf3ge372fI9+zJ35q3+wpsLf8nf9PSfMP3KYf8of/Dnv8RcvvRryf+YP/pr7dZYH9Ftu9Tp/15v8wd9zv97mD57nD174rJ2OEz3Nrd5ldJn3+K+cfO+HxexTdx9sw0L+ftBinfLnoqdYKs7WV/P51Xx1tbnNs7bZ2fZ6WH+6vMfib6Ez9rFZHs/73Ooqt7rOrURxfsgfvMnoY+7yPKP/znv8lFt5CduScJv3eJfRMqPPouqz1QsLXOdI3Ofv2uQPPuRK2OZWwkl7R7vjnmL6uau7/IqJcPLicc3KVaP9oWy8ny+um0v99XIrzD2szh6x+3Kc5slxXCvuw+7AEH3Wx6zWjg+L5Wou+LprfMvVZjUs41cewJMnWDbreTl0TdGtRy26rG4280G5Xd7rI4edXL74K3IMvSXOh7lg4vhpOJSThwPXs5ubTqTtnuOhGB1w7OauW3Wi9odjodnNavYZTO1pzazhdKITPujhfT9bH4jwYXWljxVsAqI+nBSMnx8Oseef1/O1kIax3n9cbsKxYlr2Q3L7zK1mD6IeZlebe3XoUrz8w6L7krVGZd3OrlbqcOf9qlM7vl7ez65Cxbk0H2YSA2DKCuvQO9tdDyFVx6ibu5vZanO7mG3EbpY3w2HmJ/F1MxwHzMttyFkXXvlhz5PnI1uurj8Mx3nhwNCPUOIi6wcgkfsezmAPz57aHm4Hp9sscBe2sszEYnu9K/r1Wixgi7hjX3kityOSpRjUUJ/DKfGQ9+Ic4h9pSt0JYgb68h/zxpcmOan+dXH2/Ogo96AuF9fzhzkktH8k9swPmEVxeLcbHzo/9KG+EYN1OfeiMoGh5q/0/YVScdyeiBnVg38m9s5ngj7gZwFpJ37OMHgEnIScVCdWA33+5HkVx6seYlfkOr52xjzwUeq4/Ko64OXRytFoqn6kL4djp1Ktb4vGCuFMVgkZooe5Zk/0w9e499OX9dRz+Wd3dyMy903chZ/FqUF6chwskkOZ+4oXEjuabYz1isfq5z85chbVtx+XKzGqM9q7h4GqwE70qOBP6yJGYbNqoh14xPTiVi5wrDflKGcl+htT0KPY4tFWzQRvN4v7+edFL/rVKP+3cYCWSMPx1v18trief/iQ56pvW8OvcT+esCJZvDYOptmBVactXTXGe9eywVbG/BoD5Ish1T9efhuOGPAanJ0CrZafujs8ETJzXHU383U89PUSjZMNy3Gui3qosd4MVR3ORzzYdAxphdmIzLKV6v9qfOBfVOGnL+uxa7nSFa+DWZx/vP+Y4fdNA1wo37Kx3DdMpmuuji3hVevw4UBWxgD7+XKrNHjf5gqtGWktPa1ldN3ac65j2/fBwxJeMetxQbe4FwZ+H0zaPXG7POCIqWv2dbcbMZLGGr6Ux5leC3zwY1ef4hHOiyen4ONDAq+GRF7n7/ud8/W0Tv6isZD8fHD9/SVOnJ9K2H0dZYrJFtwyYpict2r8l9hti8MQtY+zBSwNtch3pyaxwn0u1BJgvhwPmzzVvjKBjVLoWgO6iWaKAxqnVc2qPhv5XR4gWgbLnltCXA820amMbSz531MnbOEitzk1O7+eXymj/SF+ERyYHTrc/ZUOa627jXl7czivD+7rVeM7XzVNOp4O2AzE73EjPnBA+WNruad9+yVieXZnB2TxSMC+7WAp0ASZXx7c02J5s5vvu6UI97Jtppu8jtUMGr6qUck3Bye3g5XcY95I3zu5jtvFnbt80Oye31ruftzs7kb+59Hk525199tsvtrdQ/735NXubvXk0Tenj//zaNzau0dA+35GNJo6wr8NW099a+8qAeHAUDgL33OWu4BLb+A2VYHu6z+g4DxBGUMW2P7qUED7wkH0Omy9HbZe+laNGaIwehfOQyzO6+gBhdEDh9EDraMHRKMHxUYPbKzrwIqdILkYtl7Y1nTYemZbl8PW8bFv1iEhg74D3gybT3yrfhBQiAVw+D6gNRaAKBagWCyAWSyAjbFw8hAyYRu0Pm7lEfW552MjLE1DVBzGqUidc6VWBcrVENWscVm4VT3L380lbFzVsYm5mE2iijauy9pkrm0TqMCNU5VX/jojqHdDVPTOVeVX9TxHlD3AuDICE7MbmESWYFz7gslsDiawQ5gQbaJi8IqKwDAqQtcwxtZhgvCPqoGJGKK6M67sxMR2ZbKxGNfuYjJbjAnsMyZEs6n4ISfkNrfqBWoEQrjQaAboQoaovo2TCzlnF6oKuJAhciHj0oWqepa/m13IuHIhE7MLmUQuZFy7kMnsQiaQCxknF6r8dUbgQobIhZwrF6rqeY4ou5Bx5UImZhcyiVzIuHYhk9mFTGAXMiG6UMXgQhWBC1WELmSMXcgE4UJVAxcyRMVnXLmQie3KZBcyrl3IZHYhE9iFTIguVPFDTshtbtUL1AiEcCEMDVpR5FTpUSRTIpGdKchgT5GTR0VRGlVoctbYH1tWFJVvxRbZvKJODhZFbWOxDXtZVMnQokiuFsTXDQ7+FjmZHInK6UKT88a8sOdFURlfbJHdL+pkgVHUPhjbsBlGlR0xqtEWgwbeGDgYZODoklFgq4yq8MvQAEwzcjKMKCr7jC2+4itspFHUbhrbsKVGlX01qtFcg/bQqItto33f4ofiJ1zXCXouUjIqlMhvg8RuCyJ4LVJyWpSkz0KDM7kf9liUlMOinv0VVXJXlLS3Ygt2VtTIV1EiVwXptaTgqEjJT4Ok3BQanMvYs5OipHwU9eyiqJKHoqQdFFuwf6LG7ola9E5QwDmBgm8CRddEzJ6JmnBMkMEvkVK1o6S8EvWDXsA+iZJ2SWzBHokaOyRq0R9BeZAZvpVte03bkRKuOI4eLdEQmYpxMkPn7IRVARs0RB5oXBpgVc/yd7P1GVe+Z2I2PZPI8YxruzOZvc4EMjrj5HKVv84I/M0QmZtz5WxVPc8RZU8zrgzNxOxmJpGVGdc+ZjKbmAnsYCZE+6oYvKsiMK6K0LWMsWWZIPyqamBWhqj+jCubMrFdmWxQxrU7mczWZAL7kgnRlCp+yAm5za16gRqBEC5U+4o25Iwq3AUyIhDYiUwCK3JGXuSCNCOTz8T3sx25oPzI1WxIrpEjuaAtyXX2JFfIlFwgVzLhtWDgS87ImEBQzmTyuYgve5MLypxcze7kGtmTC9qfXGeDcoUdypVoUcbBo4yBSRlDl3LINuWK8CkTwaicUYG6oKzK1QP1y2blgnYr19muXGG/ciUalvEHkatb0a5XrBUT4Vq1Y+hazsgIXCDXAoFdyyRwLWfkWi5I1zL5THw/u5YLyrVcza7lGrmWC9q1XGfXcoVcywVyLRNeCwau5YxcCwTlWiafi/iya7mgXMvV7FqukWu5oF3LdXYtV9i1XImuZRxcyxi4ljF0LYfsWq4I1zIRXMsZVagLyrVcPVC/7FouaNdynV3LFXYtV6JrGX8QuboV7XrFWjERrrUaf9HDd1cJmUDF5FeG2a1GAbyqEnKqiqVPjeJZ+l72qIqVQ1Ut+1NVyJ0q1t5UVXamysmXKiZXGvHrRMCRKiE/MqzcaBTPUwzZiSpWPlS17EJVIQ+qWDtQVdl/Kmf3qTx6z0jBeUYCvjMSdJ2K2HMqF44zSuA3lVBlVay8pmrNmmOfqVi7TFXZYypnh6k8+stIH1LWbVObPhM9euEqY66jrRiiwjVOxuKcnaUqYC2GyFuMS3Op6ln+brYX48pfTMwGYxI5jHFtMSazx5hAJmOcXKby1xmBzxgio3GunKaq5zmi7DXGldmYmN3GJLIb49pvTGbDMYEdx4RoORWD51QEplMRuo4xth0ThO9UDYzHENWecWU9JrYrk83HuHYfk9l+TGD/MSEaUMUPOSG3uVUvUCMQ2YW+G+iruBU/W1B1DEAipIXrPcRAFkRBKoziU1gITSG1fB3tquvYtyydHIXuAscEc1q7C4imHBQbCDAbCLBxIHvywxj3U9+KbvoDxh2Q8NYfKO5Ao6P+EOIOzLoLbOwukGibP4wl71vTsLUr9Oe+VUcHCLrsdP97bHVyd2T8yTVDo/9i+AxRDI1TII2raJqYQ2oSxdU4B9cEjrAJMcyGKd
vendor: 9,003 bytes, line 475
475aVX2Q0zQhCb4jibzxPQpVoJipO01FeCIzTURFPR+U8HZXL6aiimI4q8XRUnqajCmk6qkDTUTFPx8gvMppmhNNREU9H5WI6RomnY8Q0HX8dZ+KFb9VdAarxBxRCDxw6BLQGHJDFGpiFGdgYYSA1uI524zzxrToCQHUEgMIIgMMIgNYRALIRALMRABtHAKSOwFGdrePHhmymRvbTOFUnvhUH+hNOFSAx0J9oqoDGgf4UpgoYDfQnmCogcaA/wUCd2DgdbeJWHuamMaaNHNMmj4kPyUARo92I0W7CaH+e7E95nvhWPC4qSBwEFZ4OggqNB0EFyQPJotDhUWH1fAZQPBbaoXLc8tS27FjIUT2BQRQOj5zj4RFQe000YDtqcuTHRs782MjYcjcC37JIO4qRdo6RdmqRdsSRdsUj7cwi7cgibWgT4r7J+aHOO36eqFOOnyfpbONnkdWgiPzg04ufJ3xmsSO9LVBlKy7RBaWFNryLH+qCBAoBqSoa1CQHhhpQjEjV4aJGHDmSqchIpXqLKiQ/CVSFpFJBsipqk5rkMuUGuWKpBRUvqVzHJHNJRxmqmwQqdFJVzVOTXP7UgJyAVG0K1Ij9gWSyClLJNaK6aSUSewmpXy8k4TDU4GAhNXyHGh0upORGJEdjiiJ4FAlkV6Qm5/plgtfwyla8fLdH4srdTtgd3o+XnXabUztG3W2VC1knvmklDgzr0nH8Bc1BOo2S4H6N55dJurzzy0Rd2fklv6PqiIJw8B1VUzEc+Abni4gwMPkNThZEiKrWilPQW2KfA8Fha7/1+EvMK4ggCRRHVlU0YxuMaVQgslHA+JLCUSZZxDq2aEVctDrcpG+FkuegXcBjg9FecQ4MUfSdq7hXFSNeGcS6IoyyMY6vCSKyVWvFNOgtsc+B4AgaT7EbjtPKCeZT34q3HAqKd4MKEjcgCk/3HgqNtx0KolsKhdHdhMLCjYRC6nrp6K2Z+RnOOaIw3S5chO+Zhq13Ycuv0JxN0sWZs4m6LrOj9dzXd2nnviOqFgPTYIjmwjhNiHE1KybmqTGJ5sc4T5IJPFMmxOkyTHOG6w6FgWevse6QepG/e5rRu4xgWtNCxDxPcJVolivmqQ4vU8F8R06THkWa+Siq6Y8tcg5EnRIhipwNUeWUiGrMi6hRcqT3OlX0OE0Ovdepmlw09jdt8HcNDvmjX2+UYs6koFM6BY1zCl5EgYxCSvmEEmUTSiqXUM+ZhCrlEUqcRahxDqEWMwgVyh96hy3HiXOn/Q5bbnAh9zOV9J2kkDHq1S4h5WwBlXIFFM6U+qYApIkhyhHjlCDGVXaYmFPDJMoL45wUJnBGmBDTwTDlAr7sQ2HgLGi87EPqRf7uaUbvMoJpT+/GMM8TXiWa7Yp5quO5Oc44KzTxLNP8s6zSgNvkbOAWlBQsc26wzinCeswUVilhSH7bjCmnT5JVFlGji+Z+p03lXVOBDGOFEo3lnG/UgtKOVM4+e7of8s4ZZZwLlGsuqCxzNeeXa5RZLnBOucLZ5ErMI+eUQeFFHo4IZ03rRR6WL8T3TwV7JxjkRX7fJQk5F0yjLDDO819PN2H6DdHsG6fJN67m3sQ89SbRzBvniTeB592EOO2GadbxGgSFgee8cQ2C1Iv83dOM3mUE050uSjDPk10lmuuKearrU2Mw1YZoqo3TVBtXU21inmqTaKqN81SbwFNtQpxqwzTV+OAnhYGnuvHgJ6kX+bunGb3LCKY6PSfJPE91lWiqK6ap/m2c5fHJhN9whpHV2UVGT9a5EB6tc+zP1jmDR+gcwjN0Du0hOkd1BoH5czJlK14xKyg+0ViQuKtSeLquVmi8f1IQ3Q8pjG6CFBbufBQS7yr+BvM2Xk3codigy4Oy+4iI9KA6OahwmxBwHmsnxtqJsS5Ditn9PkDika/C062cQuODXgXJh8OLQk9/FRYfCS8oPtv1G1bHGP3XE3zEtGzFR0wLEo+YFp4eMS00PmJakHzEtCj0iGlh9IhpYeER09eeRj6MOrQ9eTPZ382HrfhsTkHi2ZzC07M5hcZncwqSz+YUhZ7NKaxOEaD42NGb0Z9hq2Y+ouDKLpzHrTze88Z4z+V4z/N4eSJBEeM9p2eR3sBEOvFl5M0EHzJ8M64Url3GpfkNrQ8jrVcxYfYNUUiMq7iYmINjEkXIuA6TyRwrEyhBjFOW4HVoRpQvjevQpJ4L1IiVzCET27HibDJ+OFYpr0zg5DIhZli+1G4Icg2vq1Mrzjp1XX2U6oPEkHqGKJzGVThNzOE0icJpXIfTZA6nCZR6xin1Kn8rEKWec5V6VT0XqBErmXomtmPFqWf8cKxS6pnAqWdCTD18tJ0yBFIPH22nVpx66tH2KqXn2E6kwKE98BybbiLCrJ9j02oj5I3n2LTMqaqfY5Pq26bAyXvoeQfZ5rwpHIy5TurY5GsxTwke1f+fmOdkj3JK+ShT4qcHQWSWYhGk50DkJ1JBNJ8C2TcYpruc/b30rfoNgOoZE6AwKcBhD0Br+AFZOIFZDIGNgQNS89eRv6D6FksYkDjVeEvFCjSearwVZQkKnWq8xQIEFE81dmh3jvfCt+K7GgXFdzUKEu9qFJ7e1Sg0vqtREL2rURi9q1FYeFejkPiuxg5dLRc08nru6m12n3jmW3WUgKqxIMJRAodRIoVTV8B18IBs8MBs8M4+9p8/duWc68TYMoxqmWdr2ZiapZyaZZ4aPp0FRUyanc4CyjNkp7OOVnErD2QVvdyFdXc7z1O+CaW4yfaxaXjFRnrFJnsFP5IKinCRjXCRTXKRbZjwPm7lJO1z5uG7iC8JURDSu4jMVYTUu4gsUazyu4gscGz4XUTG5LV4/H5KiFxXH7+zmP03Hb8z106cj99ZIE9Ox+/EwcUMUa0YJ582rhzBxGwLJpE3GGcbMIEN3ITo4obJKPy1z4UKHZl6xV2uBbZ34+TxzoXRm9iuOWX5ppHvG2fzN4FXgCqkZaAKyxwMXhCMH8oBsTSY1MiBxiJhcitFeLkw3kgFXjgqXwnUGLpeR6oqFpMqwYpiqOGocm0xse2cvMoY10uNyS1jTYuOCdpYtznbeoEa5aRWo3Cgj2tSFDiOUeX1Kaoy1rGJiHhswHGPagpvlFOQo0yhjiKvZOlywKkUeFU7cDlANxErnL4coNXGate4HKBlXvn05QCpou1HgYs+qrwiRlV6YmwinDE2YH+MarLBKKf1Msq0akaRDTOo7GgkxnU0vkjXquW0pkaVV1ZS1foam3zNS+RaG1vwihvVtO5GOa2+Qc5rcHzJrhXOtB5H9esZqNbm2OBgBrbW6djocJqmNTuqBxMxrd9BXTWFg2FrrOihjVrXQwNc3aNwcG3SK31s8rXVJ636UW2s/bHR4SUqHwdE+dAStW3VQN8UDlpDPko4n+ATPed4PAAoPsdznlZ+4Ol64jmu8YDomZ3zsJoDC0/qnOO67aja6BMj9EMo9XoyjrXx6o1zGvWhV29czONvvHrjnCPRevXGhRiTxqs3xik66ZWVkTdeWSFOwTr0ygqJKmxfeWWFdArgwVdWSOVQHnhlhTQKqnx7Q0WQwyvf3giUQtt+eyNIKqwH394IKoX0wNsbQeNwNt/eCAqFUrzakGPFYcyvNjiiADZebXCuQtd+tcElClrr1QYXOFz61QbHFCh+JYBCwSFqvhKQFArY4VcCkqzC99VXAlILCuZXXglIOof24CsBSaVAN56F13HlsItn4YFRqFvPwoOgwnvgWXjQKKTNZ+FB4TA2noUHTqFLj45zVDhc9hPbEC5nFC4XKFwuqHC5msPlGoXLBQ6XKxwuV2K4nFO4TKBwGedwjb8cDMGqhEJVMQWqYhWmquUgVYVCVDEHqHIOT+UxOJVSaEZMgRkpheViDMkL34qnKxcYCkDibO+CQgA0ntddhKEDo2sIFzBkIPEkbYf8Z5nLVpy5guJZlgtncSumQkFivgtPc11onOeC5O8FF4Vmv7B6fgooTu8O7ab1mW/FU5aCaggAiesWhadTmkLj9YeC6KJDYXSlobBxxoDUETiKp7MXk/SI9g7FQXd5cuxKDSI9X52cr3AhBnCexk5MVkdlumN2ccWzc3dB5aVvxVPygsR5eOHp5LvQeMZdkDzNLgqdWxdWcwxQvJR7MclPbe9YvhCxo5sws5ucjZtG6m1k6m1y6vFlBFBEUm5EUm5CUk5H14Ot2Ospuh4gMZApuR7QOJBpcD1g1N0puB6QWEPTCT5wN0XvAiQe85qSdwGND3RNhXeBQo9uTdG7AMUH46ajd536VrwZMEXvAiRuCkzJu4DGy//T4F3A6Fdrp+BdQOK1/Cl41zEQvAo9Ha1r/yNlU7QuQPZ2CaD8C21Tsi6k+HaJ4/gTbdNgXcD87RJjZl0+1GVIuGUukmWjIpayIpa5Iti6QBG1YtYFKBcGXaidknP5vO2c69TGb84FKCaec0w8p5Z4jvhmkyueks48JZ3VlDTSh3rqc933qb4vR8Mbf6npEh0Pmb2RBiy+iAMCvokD2F7FAeZv3AD0V24A1nduANkbac521vfct+KLfJfJ+oCnd/su0foA0cSBYoMBVvMSUO22o5ktsJdofYDizeLLZH3A07HBJVofIDoCuAzWByxcR79E63NUS+gpkFv8ZebL0fte+FY8n7hE70OUzycuyfuQgvcBjqcZl8H7gNFpxuVodDAEczpk6tXMS/I6xPRq5qVwO5T4rc1L9Dtk9Ibm5ST/GPYlWZ7P1yY22oiBbloD3eiBbsRA2fdQUgN150MYX0+9tOv0YAbpJkQS2NP0bYikCndLNyKSkHwu34pICjleuhnBAnhfeseMuXJB9Y4ZS+SHrXfMWGZnTO+YMSePrByM0hC5pXGyTOPKN03M5mkSOahxtlET2EtNiIZqmFzVbzKFUuV7T1wDYHOGyGmNk906F55rYjZel7L7mkYWbJx92AQ24yosxaCTLZsgLctU4VumsXmZ0HAw05ONmcKmbQI7d7qTyILw8CptRPPk5iYcjI/yddNa8Wk5vOnN+GSvN4UMn275VSdU9/yUxs7fvOunGgj/V/f9lJZWAXnnT4m0Fqh7f0KDFQEpLQooqXUB9bw0oEqrA0p6gcAWvEagRssESrRSgASLBVJaL1CiJQMltWqgnhcOVGntQImXD9R4BUEtLiKo0DoSbgYHxxC3iUWBgWkjpTUFJVpWgiRWFtTz4hLUvL6gTEsMSrzKoMYLDWhLHZK03KAmHRUbCFNFmX0VtYa1YpPkrijyAoQar0HqUQGhiZUI1I3+UFqPUPtaANWqhPKBALbWJmxyKIB5hUIxLlJDOU38V0LKlv+uj6F4/8mF3d8k3P+Vh93WNmz5dZ6yFa/zFJSu81TXwx4Zom4Zl32rKnSwom1Gfe4B99d47vTYMey0Ieq0cdnpqkKnK9pm1OcecKeN506HZ5Wg55FT96MoxxCawEAC3zZ43+gfjyuKeXCQ7jA0pDQwlOSwoAEMCuhW0l72iYeDUh5MfcwHRmKIhmFcjqGqMICKthn1uQfcb+O50/bYB/TaGXXbBdlvk6HjxraC9aIf3HcXcuftIQzovDPqvAuy8+HP048dDX+enlkv+sGdl3+eftTGByWg65VQxyuW3Ya/ej12EP7qdSR92jd3V/zV61Gpv0AHvTVE3TUu+4t/JHfsHv6RXEJ97gH3Wf2R3L30fqAL23PZ8uMEQ6qXRfCDm4o24avp7+G9T8cawGXf6O/hvRcHFKDQjdD34fABWPi1ivdjpH2rj1t5DDmOVwP1QOy2PgXtk/oBkasx+LAV93WVgw9CvMV7NXbce9DHmbyijo+0Hgt8zAiGYEj2pqoLgWhExg9/EY0Nj22okzxKdWwzSvbia0YwVEOyh1VdCERDNX74i2io+L4kdZKHqt6XrNJwWrdYzGiwBnG4DnU/TV9IyIN25WtfxwM3pVddToN3JQ9/f3I0WX+eXe0+cjrScsKd/2zNSZYbWvzC4fRscm07LVtX+79dC8hN/Dr493UdqG/ZCB3h0PZ03APu2BDtvfKH/OltRr1A1CPjqVu7ihuDtN85Xko9MfIQPrANW1/CVh+3YkdSfe8pXacfO8IXdk8ifsif32b0JaNeIOqm9KK9RD8+MPaVX08/ifghf36b0ZeMeoGor9JMRkm8JlI7rN4SORHaQ+Prtg3+pcH7FufhtM6qRj1fiBtHJK7BnCTlQX7RVtIvkvaa0igaJ1NV9WtzPAhQeBQgPejv2mr8ReO+gXkoqOWx0Gsh4zj4rZCTiB/y57cZfcmoF4j6q84HR4lfDxg7m94OOCH+IL5iK9gXwXrFqMvyNHDU+Bn9sc/pEf0T4g/iK7aCfRGsV4z6LM/+9tqHCV4kr6SLW/GooKB6LRxR/gHjwtORw57in5R1HH/XuCD69eLC6NeLd2xpRzllKx4yFSROigpPJxqFxpOiguRJUVHopKiweOhVUHw69MMkXIKuiA6dnkQh0Jv9XB37xjhsIONMIYE4APYwIPRpAjrGBkgNAKA6R478pF1cXmheWqjtYKRG4nANxzE7zgM3LY3elRQCk2IcDFMwjFNE8mXgm8Zl4JuDl4EjhDDpH4HQYgzZgZ+A0C1S+No/AKEbxFA2fv5BqxTWqN60wsQhJlUFuv5JzRPfijbDf0hzTz+N7rR33E/oToCifTpPlv0J3QkQ3wNyxR3UmV1VcmR3yvYo/0qGFmgsh34lQzfJI2z8SoZW9bhbv5KhZYpG41cy9uoirM6LsAYv8uq7kOvuIp8HLfJJz6Jx0rNon/TEKwL49fkHIbRAu2r/IMTYoP79l21GvUD09ervz+6l2wle6SxbsdoKEot64akKC42LekFyUS8KLeqF0ZXOwsKVztsJ/tndWxwxIOjdnt5N6k1l24pHXXdpsMDTIdbdJNwwNiT/RsTdJN4eNkZHWXcTvBlcye7g9dS23B7FPRR99+QuPuEVEQWh9XxXFHM4xNNdkevAqGe7osAhyk92BQzByreS71K1M8+xw9+7OyZEsdO/d8dijl36vTvmOnb59+5Y4Njx790RhtjhJRcKBMdOXXKpUvpNoWMpcBwP/KaQbiJiqn9TSKuN+DZ+U0jLKdbyN4WkiHFPS4gMZZqD5hIyNqj3zmAODFH0jau4m5gjbhLF2riOsskcXxM4sibEmOL9xtOI+hwIjmD75uJygnfWlmEd3m35H25ahl0t816WegfoXYRgV3gR90ls1ecP8p7bDrdMVzgVh46kK5xPRPu+8T3cr688NwKHrtg1ebkSKXRLPvsRKHXp4LMfS7xqRwi6glftnsRWff4g96D9FAcdi2MvSIHOkAJ9IqVvfhv3kOXc0XC9kBl0LlwvfELtevFZ7sqBx0bqWQf2IR9MG4Ie4PE1fZD3r46vRwktiRDsviLYfTauZcO4lm3j+jzB84PP+FlA6aygXjBr3WGMekuM9xjpq0x94eqi+3Bfv3T//29On5laP3gdP2S43jMUmt/wjTjGMWrqpm9sEa89Bi3ERYxhFcNiuHZIafVqsNRCZ0WL3dw+E7juUGnxF0tJqzettRq6o1rkya+SF8oQpN2zHrgVJ6yg2ktE1jmA4/X3Z0aug27p4+jG6qFs2aUsR3T9ygR76d2/bBm38kDUlfPCU1EXGk+yC5In2UWhk+zCYvYWFK+c75BdOfew/REarMO419FcVphFiGx+EDZieV9v5ZSN0Mr5Q70wudobHmyEC7KraHcjtNvtPjRDNFHGKe2cc+7RvfwayYqvc0tORXum2uNiiJLSuIymPSFF6Vn5UqDG+GW2mphT1iTKW+M6eU3mDDaB0tg45TI/O8HT8Eduus6B4/w2TknunDPdlUMT5LltRCU+nDRQJveZxDoQ5wKjYs9zeEQMUTIYp2JwzsXAf6niWcTXuSUXQ+VQDIaoGIzLWKc/HkE7WArUGL8sBvW3I1iiYmj97QiWuRjS345gTsWQ/nYETcMfuek6B46LwTgVg3MuBlcOTZDnuxFVDHAFizK5zyQWg7h8VZVwUQVLIgqcGFHl8iA1FUnUqVSCeN36VCqbfL/uqRK4hA7er1NtUjmlG1xaOBhBXWDNG1y6ARfbwRtculEqPH2DS6tchEFNpRjUP1ofW7emIRVnVLlESU2FSvrX0wDqMnJZunwpVFZf3+JUzK3roHs9Xi+qYUKUH0j0gATYuAcILzXSKfC4Vf525/iinyF/1oc43SIP6oWdQlUyTWT3JyjHM3NDlhzE8UJAlOrZ+3ha/iKLo7LP32EOJ+5oZSsWeEHVbACJQi88VXehsaQLohItjO4nFhbuJxYS6/MBrPeFkZ1/PfGteNPxITkV8HQz8gE9CRAZESj+i2vOquUAquNwRD9dtoWhnRpxa95mP942THgrnXeb7Xbb9NitMNZtdtNtttAtDm0/kN0VZL/vULbirY2C4nN1e5RvdBSe7nHsaXquruB416MguqNRGN3M6MdaeeJbMa96rBVAItV6qhWgMdX6UCvA/Cf8nI21AiTmWJ9qpQ/z0Od56PM89I156OU89Hoe+jwPvZiHvjEPpQie2pYVgaNYBM6xCJxaETjiInDFi8CZFYEjKwJDVN91QcSsMkSpZZzyy7hKMhNzpplE6Wacc84ETjwTYvYZphTkyywUCkgHQ5SRxiktnYvcNDEnqEs5S02jVDXO+WoCJ224dvM0IkrfxrUbEnMi52s3xHVKi2s3JFBy52s3kXOaw006yHSklOwoUb6jpFIe9Zz1qFLio8S5jxqnP2qxAlChIsjvgohYQbohpWpAiQoiSKImUM9lEdRcGShTcaDE9YEalwhoUCVIqVBQUrWCei4XVKliUNJFgy24blCj0kGJqke8BjQmxZ8TeI75T8gBIOGJ5T95xgHzedafNL9Aw1PIf+JsAorPG/8JPs4kdppdPOHcfeHhSUkDYQdnTENK/j3yerLZZRLHZTiOy3Eel2lpXK6kcZkUx2WYxmWcxoUvSXWaxvEFKY4xSnmcQU9jjWoab5DjmINE4w4ajP0///v/AGoZ428="
475,Klt
vendor: 14,923 bytes, line 475
475="eJyNnVtzG8mxrf+KAk/nRGh8eBWleZPnItsaD0dXWNvhB5BsUdgC0TLAFgjt2P/9AI2uzJUrV7X8olB/q4CuyspaVX0p8H8mP7V3d83yfvLj5P3fu/Xstnl0fPbsydGjJ89Oz55MHk9+bZf3v8/uml2BvzSLr839/Hr2w+XVYv7vrtnL3WLB8iOQZ3fzxZYL7IRpM7/9tD/r35ubeXe3I3+9ny3m18+Xt4td2R+OT3Zk/ev8obn5Y35//Wny4/2qax5Pfvo0W82u75vVm2b/6V8e7pvlTXPzur2bLYfa/vnP7cPkx3/+cHxx9PiHk5Pzx8fHx08ePzs9/tfjybtd4dVivmz+aNfz+3m73J/q6AiEt5/m15+XzXo9+fF8x983q3VfbHJ0dPKno6Oj3Ul+b3eN2Dfop/bLdrVvx6P/c/1/Hx0/e3r+eP/vRf/vs/2/z476fy8ePb9pr5pHb7br++Zu/eivy+t29aVdze6bmz89evR8sXj0ev8960evm3Wz+rqjHs35+tHs0f1qdtPczVafH7UfH/02X7b32y/ND7tCi0fPXzyaLW/+X7t6NN99wbq7Ws9v5rPVvFn/aVfZX3anupkvb99cf2r6Xuhr8uZ+95HZ6qaou4I/zb78ZeiUi+Onjyf/KEfnJ6ePJ8/X1/tArwbx58aOfzg5ung8eXN/85fpTnzS//f97r9Pnx566+/N/Wp+vQvnP/9nMv3H5MeTi53w+64i6y+zXRT/9zHh5uF6Mbszfnp+fuD/7tpdtK4WppyfPzkoy+7uat9Nt8us3bSLxWxl/OmuW3r+pVld79O+CE+eXByE2d1OWu+i4zU7OYEa9P3ttTs9Hb5vtmqWi+ZjTaKPlWrM1vtvXH/2ij89Gz616NY5ONe70TrLp/i0/fKpWebiu6bM25vM14vZ+lMO1rdm1WbaLpsM7zei5P2nVSPKfmy7laDzr6Lsev4gYPO1EX3bhJh6OsyXIq2u20UrIrRu7uZRsh5Y7E0g0ebf3WyR8e2q2Q1m0cydD657oynK8dHxkNEzkX7PM/qzoYuSiT9l9HP+4C+Ojo8P6Ff/YInAi/xdf8lx+qu3bG+Xe/S3fMaXuf2/+dgr2fr3fMbfc70u89f/kUu9yt/1On/wTY7E2/zBd/mD7w09Oxt6eppL/SOjD/mM/5WjerWbyz4398E3XNxpcaDy56KpnD0xU7mez6/nq+vuLvdHt3ft9W76gTESDC5Uxj42y+gqp8S1MGAxbnODPuZStxl9ylWeZ/TfuV6fc6lFzksRLeE6wve+iGGfTXqV6yUcXsS+yx/8mrN3k0s9ZLTN6BtU9czzKybCyZOjkpWrSvmYjeaMfTbezxc3TQ7JYa6/aTcizmF69qngvl+meXIclxH3cb8uRKO1z2zV5PFx0a7mgq+byrdcd6vdPH7tATx+dgzDZj3vV66piWXZoofVbTffKXftvV467OX+i78jU+hLz36cCyYWULuVnFwP3Mxub9WcduC4FqMVx77vmlUDY//0whZDs9vV7Iuf7fS8ZNbuUqKBjAuu1DfzarYeifC4utKLBeuAqO+uCYZa7VbY8y/r+VpIu7bef2q7sFg0ty/zfkhu77nV7Kuo7Oy6uxf44OUfF81D1ioj6252vWrFia9WjTrxTXs/uw4jzqX5ricxAG5oOA69srsLut2aWyxSu+XtbNXdLWadOE17u1tnfhZfN1uFxZP1y13IWRee+7Ln9GJg7erm426hF1aGvkKJk6wvQCL3M1zCGZ6c2xnudk7XLfAUdrUxE1PezX7Qr9diAlvEE1tKtZHbiqRtctnd+NxdEe/yXkwxf01d6k4QM9Cn/5g3PjXJTvWvi73nq6NcgzJd3My/ziGh/SOxZr5gFoPDqx0/5Cs99SGbIikGNln3F180TKCp+Sv9fGGoOK53xIzGg3+m0kMdfcCvAtJJ/Jph5xFwEXJSnFg19KI4+HW56SFORa7j68KYB95KHZffVQV8eNRyNJqqr/Rlc+xSqvZt0VghnMkqIUNmsvlr9kQbivN49rOLoc6L9luzvBWZ+zqewq/iRpOzGx0kQvThVZtIVpW2XnNb/fonR85O8/ZTuxKtuqSzexgqbvCG+FmZxChsNpo4Yy1ienLr73Csu36VsxL1pRS0KNY42WoxwbtucT//stiKelEDPclDA88uyqXJbHU/ny1u5h8/5r7a1q3h93geT9ixZPllNM1GZp0sWTpVhueyZoO1jPk9BsgnQ/oivP+2WzHgTTi7BFq1n5slXgiZOa6a2/k6Ln19iMbOhuk4jwtzjm43qsP1iAe7soZcVSLTUmR8XFZS6r9ohJ89K2vX/lZXvBFmcf7l/lOGPyUDNDNXvnV6PLTxvjJvNNXZsTYLPq8tH0ayMgbYr5dpaNitCK6UuUKtR2pTT20aXdcGZR7Hdu7RZQnPmGVd0CzuxQ2f+2DS7ombdsQR6/G960RLKOYWKrnO9LFAofcr1bjCeVpuWPQ+vkvg1S6R1/n73qR8ffas5Kte0b4cnX9/ix3nlxL2WEeZYrIFt4wYJue16ey3WG2Lwy5qn2YLmBrKIN9fmtCtbuuLMZdfxmWTp9p3OrAyFJpag26jmWKDhm5Vvar77o1cIFoGy5qflR682dmEeujRxi4CK9SW1sXyZ+dm5zfza2W0P8cvgoXZ2HL399g/Xt1Kv70ez2ulurdWltDPqyYdLwesB6jOZsQjC8pfatM9O4XdIpYNtQVZXAnYt40OhUoV7kfPtGhv9/29bEW427qZdlkqQ3n3VZWRfDt+RQszuce8kr5LOY/bzZ1lXjS759fG+C/d/nHkvx5PXjar5R+z+Wr/EPmfk+f7h9WTxz+cHv3r8XB0cI+ADvWMaDB1hC/i0cFVAsKGoXAZj3IVcOoN3Loq0MP4Dyg4T1CGkAV2uDsU0GHgIHoVjt7ujo5P/LAELbDQflDe7Q7P/agEAFAIAHAIANASAEAUAFAsAMCGoR1Y7yhI3u+OLuxoGrQP+wYe+WFpEjKoO+AuhLXLydBVkqGTydDlZOiqydCJZOgsFsCGWDj5ujs6s6NNONrGo9IiQFDzgQ6FcHQaopAYp3HqnAdrUV4IRMPWuBy7Rb0UqFJLOZRNzF1oEvWjcd2ZJnOPmkBj3DgN9MJfZYRD3hiPexfk4C8yOIAhsgHjygtMzIZgErmCcW0NJrM/mMAmYUJ0ioLBLgqa5lJoHMbYPUwQFlK0LncYm4nxsZwUtmJSJScrBmNyLSeT1ZgQ/aZgMJ2CNhltBSIPMp6NaPADNCJDFE7jZETO2YiK8kIgMiLj0oiKeilQpZbSiEzMnW4Sdbpx3ekmc6ebQEZknIyo8FcZoREZYyNyQRpRkcGIDJERGVdGZGI2IpPIiIxrIzKZjcgENiITohEVDEZU0DSXQiMyxkZkgjCionW5w9iIjI/lpDAikyo5WTEik2s5mYzIhGhEBYMRFbTJaCsQGZHxbEQYGnSjyCmwUSRfIpHNKcgvapxsKorSq0KRyxofa4i0rlgi50rUKWGiqLMmluHUiSp5WhTJ2IL4qsLR4qLAPkeqNLtQBhwvcrK9KCrviyWyAUadXDCK2gpjGfbDqLIpRjU6Y9DAHgOfVsqjUUaB3TKqwjJDga6SCmyeUfzu0BA2GvWxoVEx1FhmdGgka41q9NeggckGvqnwbY2T50YxG68TtF2k1CEokeUGiQ0XxBeaktmiJK0WClxqWq+6NFnUcx6hSlmEks4hLMEZhBpZK0pkrCC9khRNFTFbatCkoUIJsFOkZKYoKStFPRspqmSjKGkTxRJsoaixgaIW7RMUME+gU1kWjRMx2yZqwjRB7mQ3s2Gi9J0kF2aJaj3JK0aJJUaSPJkkatEiQQGDBLqRdKspWSNK2RiH1qMrGqKQGyc/dM5mWJQXApENGpceWNRLgSq1lNZnYk4JkygfjOtkMJkzwQTyOuNkdIW/yggtzhj7mwvS3IoMzmaIbM248jQTs6GZRG5mXFuZyexjJrCJmRAdrGCwr4KmuRQalzF2LROEZRWtyx3GZmV8LCeFTZlUycmKQZlcy8lkTSZEXyoYTKmgTUZbgciLjGcjKnVFJ3JGAXWBvAgENiOTXihGduSC9COTLxWrVVZakqu5/12jBHBBZ4DrnAKukC+5QMZkwivB0JocsjeBIs3JdHAnZ2RPLih/cjUblGvkUC5oi3KdPcoVNilXoksZB5syNhXl0KgcslO5IqzKxE50IZuVC6PpKuzKtVq6VgzL9Wq6JstyJXqWcTAtYxvBtoqRb7mQjatUDI3LGQXXBTIuENi4THqhGBmXC9K4TL5UrFZZaVyu5kxwjTLBBZ0JrnMmuELG5QIZlwmvBEPjcsjGBYo0LtPBuJyRcbmgjMvVbFyukXG5oI3LdTYuV9i4XInGZRyMy9hUlEPjcsjG5YowLhM70YVsXC6MpqswLtdq6VoxLter6ZqMy5VoXMbBuIxtBNsqRsblQjau1fBDH16FQiiwBZNlGWbDGoQXmZBZFSytahAvM9HVkyZVtNznRaEeL1j3d1G5twsnayqYjGnArxJBUyqILcm4NKRBBTsqhMyoYGVFRctGVBSyoYK1CRWVLahwNqDCo/0MFMxnINNUBo2nILadwoXpDFKXuocNp+CRxBNmUxSdeBWjKWol8ZLJFB4tZqBgMAPZJLLNhKyl4GwsQ7qjsxiiEBonb3HO5lKUFwKRvRiX/lLUS4EqtZQWY2LuapOor43rzjaZe9sE8hnjZDSFv8oIrcYYe40L0myKDG5jiOzGuPIbE7PhmESOY1xbjsnsOSaw6ZgQXadgsJ2CprkUGo8xdh4ThPUUrcsdxuZjfCwnhf2YVMnJigGZXMvJZEEmRA8qGEyooE1GW4HIh4wnI/rzkJvHfuSdYSjED3joHqMlaoAoYKBYrIBZmIANEXJy+F2vxz+cGBl+uqugn6DQqRErNKDyShyVLJiLD8OfixecihdrTh8wgT7y8w49t+7pj2Jn9qi4OKDQR8BTl/e09BEg6wlg1hPAhp4AUizVkXvBz4MNuLZ3gGd+VFoHCKrstATQv9YiN6DSCRA+QxRD4xRI4yqaJuaQmkRxNc7BNYEjbEIMs2GKdeHvcximuRSE3hDF33juBM59Ol/qjn4fYeyOgrg7CufuKFx2RxFFdxSJu6Pw1B1FSN1RBOqOgrk7Bv4+h2GaS2F3FMTdUbjojkHi7hgwdcevQ0889aNyKkAl/oBC6IFDhYCWgAOyWAOzMAMbIgykBNfRzBYU/VFcQfWotACQWE/1PC2lehpXUT2iFVLPaHHUs7Au6klpgaPSW8eOfIXRH8VFTI/iyv+A8pKm52k1c6C27S/guL7pEa1dekbLlj1r41Guc1upYCsr2OaatHKR1Suijm1c7vcorvR/xTEB0V/tx+W5HZkzOSrRRxQW+wfhb8MIO6w+/oYjDFDJT0AhUsAhUkBLpABZPIBZnwEb8hNICZGjWTzKLZjlFswqLZjJFsxyC2aiBTPRgllqwSy3IK60/paXWHvUhY90uZldpU2dbFOX28QXCaCI1naitV1o7cvJ4Tr83I+i/fVIeF3Pk9f1NHpdj+TFYq+QC/asjDpA0fJeDv525kdx7n+J/oYoz/gvyd+Qgr8BjtP/y+BvwGjSfzn4GxzlOreVCraygm2uCfsbKKKO5m+A4trj5QSviV9O0uXwy5TVwJMrv5yk69+XIqtBIVd+OckXvC8nfK27J9uQLduc1ducvcGAcVyQQF9GqhotVOS7p6YxRKoeTlSIRxbJNMhIpfEWVUgPEiijSaUByapIfSqSRwEXyCOWStCQIZXHCMk8pKPcVoXRsMgxT0W+13B2AlK1KVCh8bazVZBKrhFVMBASyEtIVbZCRbLDUAEyG1K171AhtiCS2Y1IjsYUxW1thLFdkZrs47fJcGP52A/tnjKyeDvZlffxcH9ZeWFH/d3VMz+0e3nA8Kad4/ijr1ky/sT41oL1GwYCUOrz38Ke6mNiHIfanmqS3wsGYQk7js+IcYDkjmPSaqEKOscLd+lSLDhyapfuIJV7LRg+Yxw+F2T48NYRMwgf3jsqLU03j5Igwle0WviCzuEr4jbHgsNnXIQvDM4QxKikUJKsAxoKva8qGNwghBBHJQU6yircoUQ16LlUCn0yQhnN1A1VIxwKDNNU6AZj3AEuyNAX+b1gEO6CMNDGOMQmiOAWrRbWoHNAi7jNseAgGk/h2y154W5DfxQvYnsUr9V7JK5re56ua3sar2t7RFevPaOr156Fq9eexGv1y6Hvz/woLjsvc3+78N5m1Muhjz0u/9gdPbGjD9b/l9jNgKDpTsttBD+l3UYYUPFp6AZD1BfGqUOMq14xMXeNSdQ/xrmTTOCeMiF2l2HqM5y/KQzce5XZm1ToR5y7TyOCHsXp/IIQ9a2azEmiXk6P/QYe9k5Cf0dOnR5F6vkoqu6PJXIORJ0SIYqcDVHllIhqzIuoUXKkndwqepwmY/u4VRFImLRt+VRwSJ20nflCcUqi6mZmpVM6BY1zCjadQUYhpXxCibIJJZVLqOdMQpXyCCXOItQ4h1CLGYQK5Q9tWc1x4typb1jNBSBvaMfmaaKQM7SP8yJTypfKLs6sUq6AwplStgRBmhiiHDFOCWJcZYeJOTVMorwwzklhAmeECTEdDFMu4MY+CgNnQWVbH6nQ/7jl7TQi6HncBXdBiPpc7YEjiXq7YO7qeJsDe5wV6niWqf9ZVmnAZXI2cAlKCpY5N1jnFGE9ZgqrlDAkv63GlNMnySqLqBAkEymQU6RAapECGcYKJRrLOd+oBKUdqZx9tocH8s4ZZZwLlGsuqCxzNeeXa5RZLnBOucLZ5ErMI+eUQWHHHkeEs6a2X49lyJSwhe2UGGRH2NZ2wYwyQm5qY42ywDj3f7nchO43RL1vnDrfuOp7E3PXm0Q9b5w73gTudxNitxumXsfbEBQG7vPKTQhSocfxFsRpRNDfeFfighD1tronQRL1dcHc1eWVUOhqQ9TVxqmrjauuNjF3tUnU1ca5q03grjYhdrVh6mp8sZvCwF1dea2bVOhqfOX5NCLoanwL+oIQdbV6B5ok6uqCqav/GHp5eCX9D+xhZKV3kcUXf0HAe2KA7dVfYP6GL0B/xRdgeccXUOlBYLPQMntDBVB8i7BH4sldz9Pjup7GZ3Q9omduPaOHjD0L7wn2JD5w+wP67fipocYyqT+KD5V6VBIUUX583fP00OlA4Ykr4Pj8ukf0PLpn9L7bnrXxKNe5rVSwlRVsc034cSgooo724BNQfDr+B46OIfqvJvgGfH8U34DvkXgDvufpDfiexjfgeyTfgO8VegO+Z/QGfM/CG/CvJ4e3Hk78KLp2j4Qx9zx5ck+jHfdIvsPUK+TRPSvxBxQd+PVgvqd+FF9tfJ0t14V3NoheYy8BEqP8NfUS0DjKX4teAoXG/+vQS8DC+H8d5ojXYXp4PUwDrn2II+g1mf9Ayy1K6H1DlALGVR6YmJPBJMoI4zotTObcMIESxDhlCd5kPiVE+VK5yUwqZI4hSh/jKodMzIlkEmWTcZ1SJnNemcDJZULMsHwf3dA0B+JDLsVZp26aD1J5sgqpZ4hSz7hKPRNz6plEqWdcp57JnHomUOoZp9TDB+ynhCj1Ko/XSYXUM0SpZ1ylnok59Uyi1DOuU89kTj0TOPVMiKmHLxBQhkxzID7kUpx66u2BIqX3/U6kwGk48r6fLiJSUr/vp9VKelbe99Myp6p+30+qmLb6jYaKKlM4lMFEjgKnc1RlUsciIrVjAU7wqFbSPBZKyR7llPJRpsRPL3rILJ3WQvmh9ok0IKpveRwKvJnwPsg3k7QP8g0/6yTMxXmbF+FUPG1xTEL6SGgWfyyI9NFdfuO1bH9I17I9o2vZnqlr2V7I17I9pmvZnvG1bA/5WraH8Vq2R3Qt+3YwsjM/iiPpbbIs4GnMvEVzAiRHx9tgQ8Diu6Nv0XAczWIjZqIH7Br8iaNaB8x0B8xEB/hlOHyviv8sx98uxP2j1+0CfPgtJCN8jqrQiNbaxXlgleY2urnh+hx5CYNXuxFRaFQUPm2/fGr6ennntbFIK5rT1qre6qq3oqf40h0lUX27dsdyucP84t2LrehQNGgl+of2cIGybu7mOTO6WKgTp+lqcet03DoRN37RGSURt051e5eTfxMPt3QoGoOvnA3nww3WpWTaYZ0E9mK9xzqpImRpl3USkj/nfdZJoWClndYsgGenqx/myr3V1Q9L5OO1qx+W2dHT1Q9z8vbCZ6LZyeVNIKs3Ptq/yvRNq/Vvsn8Tqt3LE4FxMhdf9YSBz4sh/hpVyzRDmMA25MJYqNSE4ZqYNUykqcN4LYx5EilKmkmK0IrCaU4xYbSdanYxrZYStXnG9Fpb04xjQiUz0txThJVitRCkqcgFOR8VWUxKRepE8TQ9mTDaBWqiMq3WBbUpy/RaF+TJy5TKqN0ItlWs1nw1q4ULjjC3RSV9Z5TTPBdlHfdYRkU/lkh9EOU8/0U9BzzqHPaophkx3ZQ5kwLPjiM3ZXQRMVPqmzJarcyalZsyWuYZVN+UkeqsGrI8p0aZZ9ao/gcZJWfZWGI8o/KMG+XvJFSafaPKTkv3BaLbyZsG+ovr7clzc5STO5P8/ZDL2ZpKqDk7FuGZO6rjnSJm8aDnuTzIbfWDeV6P8n8QHTnHxxLjCVmd72Op8QjluT/Ko3mZ1wFBXtWV8fDllQHJen0QCqlVQijQVT+aVwxR/g86V64eYonxzq2uJGKp8c4Vq4qoj3rSpqps68p46PKa492w0DjzozhHvsMFBSAxV76jhQPQOCu+CwsEYHTv+x0sBIDEKe7dhF8/ejdJbx6VJwPY1rRDijm1Wu+QYjG3P+2QYs6RyDukWIgxSTukiFN0KjuLwuMRjJPeWSRFitjIziJZIsdO7yySIkexsrNIqjGeemeREimyY5ts4NESBldtshESBba6yUboOahqk42QOKByk43QYjDVJpssUSDrO1DKAziMYdqBwpyip3egsJjjlnagMOeI5R0oLMRYpR0oxClKlZ0b73h7Ql2hgNV2blRkFb6RnRuVEhTM6s6Nis6hrezcqKgU6NEtC6xy2MOWhcQo1HnLQhJUeOWWhaRRSMWWhaRwGNOWhcQpdJU3/J1zuOyPHTxXjMLlAoXLBRUuV3O4XKNwucDhcoXD5UoMl3MKlwkULuMcruEH3J9nQqEqmAJVsApT0XKQikIhKpgDVDiHp/AYnEIpNAOmwAyUwvJ+CMlTPyrhABR/S/R9CgPw9Fui77H5gOi3RN+HZgMLvyX6Hpvr6EVoz4vYcz2KV1wuXMajmAo9Ev3d89TXPY393CN5y6pXqPd7Fm9O9Sh27x75b8T2R3G7QY9KCACFhgBPmxJ6WhoCyKoLzHoM2NBjQEoLHJUr2zMg5TbQeUGxk5ucmHaPB5FOzEYmZrh/AzjnayPytRH5andkHLXxKDejrdS5lXVuc+X4Tgoootp2ywRQHlNwb8Q6BO9JeM91oWe7nI1dJfU6mXpdTj2+mQCKSMpOJGUXknI6uN65H8XXtaboeoDELogpuR7QuAtiGlwPGO3HmILrAYnbH6YTfHVyit4FSLwkOSXvAhpfh5wK7wKFXnyconcBiq84Tie452eK3gUo2vc0eRfwZMJT9C5AZLXT4F3AwgQ7Re9yVJzqqZG9fupHpU2A4jub02RUwNPvA03ZqADHX9qbBqMCRj+XN0Wj8oa1oUCbm6F+CXpKRgU0V07/EvQ0GBWw+EvQUzQqR2ZU3h9dKNDlhqhfOZySIwHNDdE/YjgNjgRMxD/+RuGebMM42ebxvE3j9sNgZMMPZX1AJ0NmDzSBxbvAIOCtX8B2vxeYP6QE6DdtAZY7tYDsGaSzvaU9PbcjmyodxanSOU6VTm2qdMRTpSs+VTqzqdKRTZWG+mXLmTXCHwUCiwuyD8nUsGz+lbIPaGvIaPr7EHwNC5b4A7L4OyuT+xMgw7LMC9FnGtFcf/iGrNLeRrc3PlsDLuLQiDg0Kg78wGzP5mE4zeO46xFtVv4weCV8RyuC0NYa3OoGt6Jh6RkZSD74ANrjMGCio3115wxXd54AXRyhnbCXrmYlnbaSTlhJel4EknKZTrlMRy6DDy0S44akxxZJkM1UDy6Sxg3Ojy6SktrHDy8SZz/F7YWDWaXthcyVvarthSyR0da2F7LMlpu2FzIn8y0cHcoYD0kTyIuNy/Fqqhi0pvHINYF9yYRkTqaQUxuPF9HGacTyMyv+GlXL5OAmsI27MBYqZeiuCVc3sRbH5O8mVOOYnL4IYPeGyPONs/EXoRXfm6YAE0aDpSYD02rxqE0LptfileYHE3iSSE85WRDTRZFwzjBW81s9e5g6YqtpHjGhMpmYXrXdPK2YQrZLjyMV5harB5JKkwGpPJJUModFPpRUYmq8eCypJJ55QIPJBynNPyipKQj1PAuhShMRSnouwhI8HaFGMxJKNCmBhA6MmK0CNZqdUJJGggWEl6DMdoIaOwZqyWRRpPkKJZqywvPqYBziSbb4vkrV0/SFGs9gQftOONU8FmQxlaE+Eu40oaE2Fu40rYEGMxtSmtxQ4vkNtFafI81yqH0voGquQ3kkYLUZD4ukCyIUeeJDjec+9fqE0MQMCCpOgohHZgU9FWKBcedPEyJqlTkRi4xNDnlmRDFODvudwl8tq/ZHm3DkP5feH8X7cz1K9+GKZeL3FrTJaJs/yKcxns81WDCeq6BNRtv8QT6X8Xyu8M4TnDDwTYVvK9/D549irgR0JVQB6EbSrfwGPjlK+dTlJRw4b0GbjLb5g3w64/lc9i4FnMzYRrCt+Cyfz4V8QnsbAU5obCPYVnyWT+hCPiH8zfuTQDaJbNOn+ETib94PCv5Z65OINhlt8wf5VOrPWh+kqx292luLHcUXG/ZkYefsj+KE16P4/B+E+MzqapLekLia4J8YvEIHBySetF2RXwONT9quhDuDQk/aroIXAws/nHgVOudqgk8XrjD+gFJdr3E5dl7I56B/VpG9TnchzgP+nEvq70l7Ns8D/pxLVr4n/bJF+SYTPqvS+tsOU/5k/WV2vQ/h+UD7L85/R+Qoy6TlSMULb0NfbVTEkbY/egjaNmjU2zzQBqo7zTDXByfk0/gNm/ylD7nUNpfiiqo5epB0ahjm2hYOtcWdiPSlD7nUNpfi2qqdiUVSbz2Xqsm3npWIldfLg8gfKuW3lfKpQbVlw6Cry7ZzVrhFtNY4TV+1kSd4kGW3siy3o7ICKapfxqVmgJTaARo2BPBGn+RBl97q0qkxqOXW8LvOQ23Tu87EoQV5+WXoIZfa5lJcY7UiG6T01utQrfzWKwtQYbGEc/Ygym1FOa60XNYNWnr5dKhcfvmUBai1WAc6exDltqIc11quDQ/ax8nhftSpH8VFWI/K3SdA4l2JnqelWk/juxI9ojciekZvRPQsvBHRk/i2x0eIuJPdeFg063V/8+NpgfFDTW4ovZFzQLqh+Y2cA01v5PQ4t5/fyOmZaH8bj3Kd1es3PZcVbHNN9Os3vSLqSK/f9Ch3CP1F7o95CfQkCgM9rJr21xf9Nks/svsjjuwmHqC4hfIglMvslUD0tcbpu52rE4j9oVKgk9V2h2pVnDj+jTnx5+X0X5b7PIyEEz+KfvEZRwKifDnzmUYCUhgJgONVzucwEoDRtcznYSTAUa5zW6lgKyvY5prwSABF1LGNV4mfcSQMKO9a1wK1pbJnvaKKRtd3rFcK5L6q7FfXKkentl9dym1VGA2L7O36ZnRdYLRZlXSo7UTXMiVJZSP6Qb2bDDeI/Sh6Ro/ET5X3HO8CO40/Vd4j+VPlvUI/Vd4z+qnynoWfKr8bbOiwqrlDGwKEtevpMjR2mRu7rDR2KRu7zI1dVhu7FI1disYuU2PjfcJlaPoyN52XigMNj8SPIqIgVB6Ik5jDkR+HE9eBEQ/DSeAQpUfhEUOw8BKfAsFhU5f4gxR+FekoIopd5TeRSMyxy7+IRFzHLv8eEgscu/RzSBFD7MKPIcVAcOzUDYci5d+KOFICx3HslyJkERHTyu9ESLUS38qvRGg5xVr/SIQSMe75JyJUKFMfVH8gYihQbm1DHxii6BtXcTcxR9wkirVxHWWTOb4mcGRNiDHNjwOWeO+fAsERVPf+D9JuvUB3+/eEbtC3w4n9I5tw5NdKbVhFt3kV3cpVdFmccFXSjVHiUCm8MUroIZ9nKxBVtP7wspW3Gs+ExvVOtxqHmqZbjYo/VCqwrXFq0HeeUML6jtukbjVmCdpDtxozfZCn3WpK7Rh92NnyzbmziLn+eHNuqCbenCP0kM+zFYgqXH9c2o7u5meV604yNIGUTVV5qFZlW1eoeSznVlY23rf5FiQL0KZwC5LZgzjZVjGq+8iT5XKx0d/ROz+PqHwNc9vQSDzuaiQRTs2S7W8k7pscSfCdjiSU7Y6Ebc9j5FcZXQtUCUN5VJh5eeyXlCExnkV8k0ve7Bo+u89cVKOpVK+pVK8Z66Wm3kvxj4WRVunBptaDTa0HP2YkOvS2koHxFhirnzKaC1SJ53wsbvN63OaV2MxrsZnXYvPfGYlSn0djsBCo0uDF+BfZX1aL/C4j0cZl5ZzLStIuR+uyrIzvVqDKidux3m3rvdtWejf9mTqSa53fVsLaVpr4RaAyzZDN/DsXXQlUCdCq0jOr0Z4REVtXTrCunGBdtdP16KkVGv1AJ1Clrt1YtnT1bOkq2cLXVSzXsqWrWUWnJ8L9QuMizvubjPx9eUPbXMoWGcyh+SR9yzX6Vonwt0o2fBOzkP7bp4Z52YUXmcfxGzYZwZorv4bWVl5Da+uvoX2Bip6eF+IPvwxtw0foBF/0dw/fUnt3KOo1sbyOdHjcRl9l6pmri+bjffnSw/9/OL8wtXywX+UcZWwrnayFaoqvXOmPuYUJzfJKadEecol1BY+ccD1yQrQ2pX63OkNfHIbZaljFH/tRvC20wrU7IHGTaEUrdqDx1tAqrNOB0R2fFazOgdgL84aGl+JOARwGy7mR3aLtMEhXsFwDgu0B7M0BOLQGSGkMoNIWR/EgdJTzRThI9VzUPjZ4nZPdmurEDpbhYPhWIEO+IcHzAB+C7+QLxt0syQMP+xS83O47z/wgnMt5h83pUig63WWd6rIudRnNniDkvuxyXw5zpYOv2LxtOBhqDsSrOMByRw2GoiEaj8ZpUBpXI9PEPDxNojFqnAeqCTxaTYhD1jCNW7+xicnBtzvPI/ZhbCQmhmGRHaalFDEl5olhygnjlBjwijETNW6LuMhEN0qOfhOjBRTsPlDIMpPoCIajLTgW3mBiNAi7TZ06mK2i8OwXRXFzMKKcAx56Uig6HVVlJOKJJys6VbSvpMedzCuJFG0G7u1TaLaZRNcRt+wHJfytJkJkPekvNTFX1iP/UBNJZD35zzSxwNaT/koTYbIe+iNNp0yD9RTs1mMk5pNhkU+mpXwyJeaTYcoY45QxsCuBiTKNIi4y0Y2S1mNitJ6C3XoKWWYSrcdwtB7HwnpMjNZjL+OnDmbrEX8biT7h7mJEWQ+8M0Ch6HRUlfWIFwZY0amirSe9LcC8kkjReuBVAQrNNpNoPeI9gaKEp9doQFFgG4oqm1FUpSXFIsKYYgG2p6gmk4pysqook2FFkW0rqJSppEULCyIYWeSUo1FUmRpL5HyNOmVtFDk7o8o5GtQql5YViixqfCwU2gpjETLEIIItBr6scbLIKJJRkqjsMhYh0wzil0p6JQMNqrDRoINfRi4tlV8lkiFle62/SKRLfCd12XDH3iLSZUbTO1mweoVIal8rId7WOFlz7fWhg563VoktVeVNhuEjfP02FEqrfuLwDXpv3TpN3sTxGyobLtfiT4knBb9Hemr5hB4RUoXv9LFBWziHo/3fzGUS7wY6Frf6ivg+kandfy1k/+fjn0VSZlrCMENGpdzoHe7gnmZxUA73hb8O0/zBbL7i3A6oTOiA4jvYzvHFa6f2trUjf3vamb8u7qzsY3Zir04bKonw1NoU9Sa3yd+tB6Tb1Mg2xVfnHeemNqKpjWhqG49yndtKBVtZwTbXJL3X7oqoo7/B7ijHnn5vd1PWjed2FN/v24QVoqO4LHSe3gLchAWgI1/1OfOlnrOyvnNiizpDJaGeWJt80bfBhAIUt/FsUkIBT+vbDScU4LjW3YSEAkar2s2QUHCU69xWKtjKCra5JulneFwRdfQf3XEUF9QbTKhD8B8muH3vAYMPKG7fe0jBB56etz1w8AHHTXMPIfjAaPvetriqH9lodmSu6kjsbNmyqzqNe1i20VWd0SacLbqqk7ghZYvT65GhWKDJjaItS9tsq85lo8SOpG2wVUeirbzhaFts1Y9yndV+oi3bqtNcE71daBtt1VncGLQNtmrIly9D9PGBxAkhalN6IMFcNVg9kGCJmp4fSLDA3cEPJBhTHNLSlWIhinJOGqfEdD4SC5GiLuU8Na0Sp5SxJtTi1ApUaaDMYhPrDeF8Nq6T2uRaWzi9jVf6NiU6vDINuY6UIoASZTxKKj6o5xChSlFCiSOBGncsanEMoEKhUr+rkYOlP8DjASUaEkEaD5YYGEHNYwPleizTCEFtJJatpvW2y9GC+mgDecygpIcNlhhpIw8elOpJwUPoW1mvnttRXIN/C+tVQHkN/o3Xq0Bxveo4Ls2/xfWqM1qafyvrVT/KdW4rFWxlBdtck7RedUXU0derjuK1wjeciRhR/dNMlLhonJqJkpT7Ic1EzLm1eSYioRWo0kDZS2omYqlS2Uqn5ZmIBeq+NBMNvNyvUoiaaJz60Llouom56S7lPjSNwmKc220C92ERWoEqDZR9aGK9IdyHxnUfmlxrC/ehcepD/BWkGqamBo36M2oiFKFADkeUc98GnUIWNI5LELmfUWwreCQIss9DgfGGct8HTfd/KDLWVs6DoEEu/Ot//z8nhUqv"
475,Zlt
vendor: 14,907 bytes, line 475
475="eJyNnVtzG8mxrf+KAk/nRGh8eBWleZPnItsaj0ZXWNvhB5BsUdgE0TLAFgjt2P/9AI2uzJUrV7X8olB/q4CuyspaVX0p8H8mP7V3d83yfvLj5MPfu/Xspnl0enH05Nmjs6dHz84mjye/tsv732d3za7AX5rF1+Z+fjXb426xUHh2N19shTBt5jef92f5e3M97+525K/3s8X86vnyZrEre7Q7Xv86f2iu/5jfX32e/Hi/6prHk58+z1azq/tm9bbZf/aXh/tmed1cv2nvZsuhbn/+c/sw+fGfPxw/efL4h5OT88fHR0dHj5+dHv/r8eT9rvBqMV82f7Tr+f28XU5+/GEng/Du8/zqdtms15Mfz3f8Q7Na98UmR0cnf9p90e4kv7e7Juyb81P7Zbvat+LR/7n6v4+Onz09f7z/96L/99n+32dH/b8Xj55ft5fNo7fb9X1zt3701+VVu/rSrmb3zfWfHj16vlg8erP/nvWjN826WX3dUQvVo/n60ezR/Wp23dzNVreP2k+Pfpsv2/vtl+aHXaHFo+cvHs2W1/+vXT2a775g3V2u59fz2WrerP+0q+wvu1Ndz5c3b68+N30f9DV5e7/7yGx1XdRdwZ9mX/4ydMnF8dPHk3+Uo/OT08eT5+urfaBXg/hzY8c/nBxdPJ68vb/+y3QnPun/+2H336dPD7319+Z+Nb/ahfOf/zOZ/mPy48nFTvh9V5H1l9kuiv/7mHDzcLWY3Rk/PT8/8H937S5alwtTzs+fHJRld3e576abZdau28VitjL+dNctPf/SrK72SV6EJ08uDsLsbietd9Hxmp2cQA36/vbanZ4O3zdbNctF86km0cdKNWbr/Teub73iT8+GTy26dQ7O1W5szvIpPm+/fG6WufiuKfP2OvP1Yrb+nIP1rVm1mbbLJsP7jSh5/3nViLKf2m4l6PyrKLuePwjYfG1E3zYhpp4O86VIq6t20YoIrZu7eZSsBxZ7E0i0+Xc3W2R8s2p2g1k0899ds+6NpijHR8dDRs9E+j3P6M+GLkom/pTRz/mDvzg6Pj6gX/2DJQIv8nf9Jcfpr96yvV3u0d/yGV/m9v/mY69k69/zGX/P9XqVv/6PXOp1/q43+YNvcyTe5Q++zx/8YOjZ2dDT01zqHxl9zGf8rxzVy91cdtvcB99wcafFgcqfi6Zy9sRM5Wo+v5qvrrq73B/d3rXXu+kHxkgwuFAZ+9gso8ucElfCgMW4zQ36lEvdZPQ5V3me0X/net3mUouclyJawnWE730Rwz6b9CrXSzi8iH2XP/g1Z+8ml3rIaJvRN6jqmedXTISTJ0clK1eV8jEbzRn7bLyfL66bHJLDXH/dbkScw/TsU8F9v0zz5DguI+7Tfl2IRmuf2arJ49OiXc0FXzeVb7nqVrt5/MoDePzsGIbNet6vW1MTy7JFD6ubbr5T7tp7vXTYy/0Xf0em0Jee/TQXTCygdis5uR64nt3cqDntwHEtRiuOfd81qwbG/umFLYZmN6vZFz/b6XnJrN0FRAMZF1ypb+blbD0S4XF1pRcL1gFR7y8ZDrFZLOZf1vO1kHZtvf/cdmGxaG5f5v2Q3N5zq9lXUdnZVXcv8MHLPy2ah6xVRtbd7GrVihNfrhp14uv2fnYVRpxL811PYgDc0HAcemV3l3O7NbdYpHbLm9mqu1vMOnGa9ma3zrwVXzdbhcWT9ctdyFkXnvuyZ3fdOnz56vrTbqEXVoa+QomTrC9AIvczvIIzPDm3M9ztnK5b4CnsamMmprzr/aBfr8UEtogntpRqI7cVSdvksrvxubsi3uW9mGL+mrrUnSBmoE//MW98apKd6l8Xe89XR7kGZbq4nn+dQ0L7R2LNfMEsBodXO37IV3rqQzZFUgxssu4vvmiYQFPzV/r5wlBxXO+IGY0H/0ylhzr6gF8FpJP4NcPOI+Ai5KQ4sWroRXHwq3LTQ5yKXMfXhTEPvJU6Lr+rCvjwqOVoNFVf6cvm2KVU7duisUI4k1VChsxk89fsiTYU5/HsZxdDnRftt2Z5IzL3TTyFX8WNJmc3OkiE6MOrNpGsKm294rb69U+OnJ3m3ed2JVr1is7uYai4wVviZ2USo7DZaOKMtYjpya2/w7Hu+lXOStSXUtCiWONkq8UE77rF/fzLYivqRQ30JA8NPLsolyaz1f18trief/qU+2pbt4bf43k8YceS5ZfRNBuZdbJk6VQZnsuaDdYy5vcYIJ8M6Yvw/ttuxYA34ewSaNXeNku8EDJzXDU383Vc+voQjZ0N03EeF+Yc3W5Uh+sRD3ZlDbmqRKalyPi4rKTUf9EIP3tW1q79ra54I8zi/Mv95wx/SgZoZq586/R4aON9Zd5oqrNjbRZ8Xls+jGRlDLBfL9PQsFsRXClzhVqP1Kae2jS6rg3KPI7t3KPLEp4xy7qgWdyLGz73waTdEzftiCPW43vXiZZQzC1Ucp3pY4FC71eqcYXztNyw6H18l8CrXSKv8/e9Tfn67FnJV72ifTk6//4WO84vJeyxjjLFZAtuGTFMzmvT2W+x2haHXdQ+zxYwNZRBvr80oVvd1hdjLr+MyyZPte90YGUoNLUG3UQzxQYN3ap6VffdW7lAtAyWNT8rPXi9swn10KONXQRWqC2ti+XPzs3Or+dXymh/jl8EC7Ox5e7vsX+8upV+ezOe10p1b60soZ9XTTpeDlgPUJ3NiEcWlL/Upnt2CrtFLBtqC7K4ErBvGx0KlSrcj55p0d7s+3vZinC3dTPtslSG8u6rKiP5ZvyKFmZyj3klfZdyHrebO8u8aHbPr43xX7r948h/PZ68bFbLP2bz1f4h8j8nz/cPqyePfzg9+tfj4ejgHgEd6hnRYOoIX8Sjg6sEhA1D4VU8ylXAqTdw66pAD+M/oOA8QRlCFtjh7lBAh4GD6HU4erc7Oj7xwxK0wEL7QXm/Ozz3oxIAQCEAwCEAQEsAAFEAQLEAABuGdmC9oyD5sDu6sKNp0D7uG3jkh6VJyKDugLsQ1i4nQ1dJhk4mQ5eToasmQyeSobNYABti4eTr7ujMjjbhaBuPSosAQc0HOhTC0WmIQmKcxqlzHqxFeSEQDVvjcuwW9ZVAlVrKoWxi7kKTqB+N6840mXvUBBrjxmmgF/46IxzyxnjcuyAHf5HBAQyRDRhXXmBiNgSTyBWMa2swmf3BBDYJE6JTFAx2UdA0l0LjMMbuYYKwkKJ1ucPYTIyP5aSwFZMqOVkxGJNrOZmsxoToNwWD6RS0yWgrEHmQ8WxEgx+gERmicBonI3LORlSUFwKRERmXRlTUVwJVaimNyMTc6SZRpxvXnW4yd7oJZETGyYgKf50RGpExNiIXpBEVGYzIEBmRcWVEJmYjMomMyLg2IpPZiExgIzIhGlHBYEQFTXMpNCJjbEQmCCMqWpc7jI3I+FhOCiMyqZKTFSMyuZaTyYhMiEZUMBhRQZuMtgKRERnPRoShQTeKnAIbRfIlEtmcgvyixsmmoii9KhR5VeNjDZHWFUvkXIk6JUwUddbEMpw6USVPiyIZWxBfVzhaXBTY50iVZhfKgONFTrYXReV9sUQ2wKiTC0ZRW2Esw34YVTbFqEZnDBrYY+DTSnk0yiiwW0ZVWGYo0FVSgc0zit8dGsJGoz42NCqGGsuMDo1krVGN/ho0MNnANxW+rXHy3Chm43WCtouUOgQlstwgseGC+EJTMluUpNVCgVea1qsuTRb1nEeoUhahpHMIS3AGoUbWihIZK0ivJUVTRcyWGjRpqFAC7BQpmSlKykpRz0aKKtkoStpEsQRbKGpsoKhF+wQFzBPoVJZF40TMtomaME2QO9nNbJgofSfJhVmiWk/yilFiiZEkTyaJWrRIUMAggW4k3WpK1ohSNsah9eiKhijkxskPnbMZFuWFQGSDxqUHFvWVQJVaSuszMaeESZQPxnUymMyZYAJ5nXEyusJfZ4QWZ4z9zQVpbkUGZzNEtmZceZqJ2dBMIjczrq3MZPYxE9jETIgOVjDYV0HTXAqNyxi7lgnCsorW5Q5jszI+lpPCpkyq5GTFoEyu5WSyJhOiLxUMplTQJqOtQORFxrMRlbqiEzmjgLpAXgQCm5FJLxQjO3JB+pHJrxSrVVZakqu5/12jBHBBZ4DrnAKukC+5QMZkwmvB0JocsjeBIs3JdHAnZ2RPLih/cjUblGvkUC5oi3KdPcoVNilXoksZB5syNhXl0KgcslO5IqzKxE50IZuVC6PpKuzKtVq6VgzL9Wq6JstyJXqWcTAtYxvBtoqRb7mQjatUDI3LGQXXBTIuENi4THqhGBmXC9K4TH6lWK2y0rhczZngGmWCCzoTXOdMcIWMywUyLhNeC4bG5ZCNCxRpXKaDcTkj43JBGZer2bhcI+NyQRuX62xcrrBxuRKNyzgYl7GpKIfG5ZCNyxVhXCZ2ogvZuFwYTVdhXK7V0rViXK5X0zUZlyvRuIyDcRnbCLZVjIzLhWxcq+GHPrwKhVBgCybLMsyGNQgvMiGzKlha1SC+ykRXT5pU0XKfF4V6vGDd30Xl3i6crKlgMqYBv04ETakgtiTj0pAGFeyoEDKjgpUVFS0bUVHIhgrWJlRUtqDC2YAKj/YzUDCfgUxTGTSegth2ChemM0hd6h42nIJHEk+YTVF04lWMpqiVxEsmU3i0mIGCwQxkk8g2E7KWgrOxDOmOzmKIQmicvMU5m0tRXghE9mJc+ktRXwlUqaW0GBNzV5tEfW1cd7bJ3NsmkM8YJ6Mp/HVGaDXG2GtckGZTZHAbQ2Q3xpXfmJgNxyRyHOPackxmzzGBTceE6DoFg+0UNM2l0HiMsfOYIKynaF3uMDYf42M5KezHpEpOVgzI5FpOJgsyIXpQwWBCBW0y2gpEPmQ8GdGfh9w89iPvDEMhfsBD9xgtUQNEAQPFYgXMwgRsiJCTw+96Pf7hxMjw010F/QSFTo1YoQGVV+KoZMFcfBj+XLzgVLxYc/qACfSRn3fouXVPfxQ7s0fFxQGFPgKeurynpY8AWU8As54ANvQEkGKpjtwLfh5swLW9Azzzo9I6QFBlpyWA/rUWuQGVToDwGaIYGqdAGlfRNDGH1CSKq3EOrgkcYRNimA1TrAv/kMMwzaUg9IYo/sZzJ3Du0/lSd/T7CGN3FMTdUTh3R+GyO4oouqNI3B2Fp+4oQuqOIlB3FMzdMfAPOQzTXAq7oyDujsJFdwwSd8eAqTt+HXriqR+VUwEq8QcUQg8cKgS0BByQxRqYhRnYEGEgJbiOZrag6I/iCqpHpQWAxHqq52kp1dO4iuoRrZB6RoujnoV1UU9KCxyV3jp25CuM/iguYnoUV/4HlJc0PU+rmQO1bX8Bx/VNj2jt0jNatuxZG49yndtKBVtZwTbXpJWLrF4RdWzjcr9HcaX/K44JiP5qPy7P7cicyVGJPqKw2D8IfxtG2GH18TccYYBKfgIKkQIOkQJaIgXI4gHM+gzYkJ9ASogczeJRbsEst2BWacFMtmCWWzATLZiJFsxSC2a5BXGl9be8xNqjLnyky83sKm3qZJu63Ca+SABFtLYTre1Ca19ODtfh534U7a9Hwut6nryup9HreiQvFnuFXLBnZdQBipb3cvC3Mz+Kc/9L9DdEecZ/Sf6GFPwNcJz+XwZ/A0aT/svB3+Ao17mtVLCVFWxzTdjfQBF1NH8DFNceLyd4Tfxyki6HX6asBp5c+eUkXf++FFkNCrnyy0m+4H054WvdPdmGbNnmrN7m7A0GjOOCBPoyUtVooSLfPTWNIVL1cKJCPLJIpkFGKo23qEJ6kEAZTSoNSFZF6lORPAq4QB6xVIKGDKk8RkjmIR3ltiqMhkWOeSryvYazE5CqTYEKjbedrYJUco2ogoGQQF5CqrIVKpIdhgqQ2ZCqfYcKsQWRzG5EcjSmKG5rI4ztitRkH79NhhvLx35o95SRxdvJrnyIh/vLygs76u+unvmh3csDhjftHMcffc2S8SfGtxas3zAQgFKf/xb2VB8T4zjU9lST/EEwCEvYcXxGjAMkdxyTVgtV0DleuEuXYsGRU7t0B6nca8HwGePwuSDDh7eOmEH48N5RaWm6eZQEEb6i1cIXdA5fEbc5Fhw+4yJ8YXCGIEYlhZJkHdBQ6ENVweAGIYQ4KinQUVbhDiWqQc+lUuiTEcpopm6oGuFQYJimQjcY4w5wQYa+yB8Eg3AXhIE2xiE2QQS3aLWwBp0DWsRtjgUH0XgK327JC3cb+qN4EdujeK3eI3Fd2/N0XdvTeF3bI7p67RldvfYsXL32JF6rvxr6/syP4rLzVe5vFz7YjPpq6GOPyz92R0/s6KP1/yvsZkDQdKflNoKf0m4jDKj4NHSDIeoL49QhxlWvmJi7xiTqH+PcSSZwT5kQu8sw9RnO3xQG7r3K7E0q9CPO3acRQY/idH5BiPpWTeYkUS+nx34DD3snob8jp06PIvV8FFX3xxI5B6JOiRBFzoaockpENeZF1Cg50k5uFT1Ok7F93KoIJEzatnwqOKRO2s58oTglUXUzs9IpnYLGOQWbziCjkFI+oUTZhJLKJdRzJqFKeYQSZxFqnEOoxQxChfKHtqzmOHHu1Des5gKQN7Rj8zRRyBnax3mRKeVLZRdnVilXQOFMKVuCIE0MUY4YpwQxrrLDxJwaJlFeGOekMIEzwoSYDoYpF3BjH4WBs6CyrY9U6H/c8nYaEfQ87oK7IER9rvbAkUS9XTB3dbzNgT3OCnU8y9T/LKs04DI5G7gEJQXLnBusc4qwHjOFVUoYkt9VY8rpk2SVRVQIkokUyClSILVIgQxjhRKN5ZxvVILSjlTOPtvDA3nnjDLOBco1F1SWuZrzyzXKLBc4p1zhbHIl5pFzyqCwY48jwllT26/HMmRK2MJ2SgyyI2xru2BGGSE3tbFGWWCc+79cbkL3G6LeN06db1z1vYm5602injfOHW8C97sJsdsNU6/jbQgKA/d55SYEqdDjeAviNCLob7wrcUGIelvdkyCJ+rpg7urySih0tSHqauPU1cZVV5uYu9ok6mrj3NUmcFebELvaMHU1vthNYeCurrzWTSp0Nb7yfBoRdDW+BX1BiLpavQNNEnV1wdTVfwy9PLyS/gf2MLLSu8jii78g4D0xwPbqLzB/wxegv+ILsLzjC6j0ILBZaJm9oQIovkXYI/HkrufpcV1P4zO6HtEzt57RQ8aehfcEexIfuP0B/Xb81FBjmdQfxYdKPSoJiig/vu55euh0oPDEFXB8ft0jeh7dM3rfbc/aeJTr3FYq2MoKtrkm/DgUFFFHe/AJKD4d/wNHxxD91xN8A74/im/A90i8Ad/z9AZ8T+Mb8D2Sb8D3Cr0B3zN6A75n4Q34N5PDWw8nfhRdu0fCmHuePLmn0Y57JN9h6hXy6J6V+AOKDvxmMN9TP4qvNr7JluvCextEb7CXAIlR/oZ6CWgc5W9EL4FC4/9N6CVgYfy/CXPEmzA9vBmmAdc+xhH0hsx/oOUWJfS+IUoB4yoPTMzJYBJlhHGdFiZzbphACWKcsgRvMp8Sonyp3GQmFTLHEKWPcZVDJuZEMomyybhOKZM5r0zg5DIhZli+j25omgPxMZfirFM3zQepPFmF1DNEqWdcpZ6JOfVMotQzrlPPZE49Eyj1jFPq4QP2U0KUepXH66RC6hmi1DOuUs/EnHomUeoZ16lnMqeeCZx6JsTUwxcIKEOmORAfcylOPfX2QJHS+34nUuA0HHnfTxcRKanf99NqJT0r7/tpmVNVv+8nVUxb/UZDRZUpHMpgIkeB0zmqMqljEZHasQAneFQraR4LpWSPckr5KFPipxc9ZJZOa6H8WPtEGhDVtzwOBd5OeB/k20naB/mWn3US5uK8zYtwKp62OCYhfSQ0iz8WRProLr/xWrY/pGvZntG1bM/UtWwv5GvZHtO1bM/4WraHfC3bw3gt2yO6ln03GNmZH8WR9C5ZFvA0Zt6hOQGSo+NdsCFg8d3Rd2g4jmaxETPRA3YN/sRRrQNmugNmogP8Mhy+V8V/luNvF+L+0at2AT78DpIRPkdVaERr7eI8sEpzG93ccH2OvITBq92IKDQqCp+3Xz43fb2889pYpBXNaWtVb3XVW9FTfOmOkqi+XbtjudxhfvHuxVZ0KBq0Ev1De7hAWTd385wZXSzUidN0tbh1Om6diBu/6IySiFunur3Lyb+Jh1s6FI3BV86G8+EG61Iy7bBOAnux3mOdVBGytMs6Ccmf8z7rpFCw0k5rFsCz09UPc+Xe6uqHJfLx2tUPy+zo6eqHOXl74TPR7OTyJpDVGx/tX2X6ptX6N9m/CdXu5YnAOJmLr3rCwOfFEH+NqmWaIUxgG3JhLFRqwnBNzBom0tRhvBbGPIkUJc0kRWhF4TSnmDDaTjW7mFZLido8Y3qtrWnGMaGSGWnuKcJKsVoI0lTkgpyPiiwmpSJ1oniankwY7QI1UZlW64LalGV6rQvy5GVKZdRuBNsqVmu+mtXCBUeY26KSvjPKaZ6Lso57LKOiH0ukPohynv+ingMedQ57VNOMmG7KnEmBZ8eRmzK6iJgp9U0ZrVZmzcpNGS3zDKpvykh1Vg1ZnlOjzDNrVP+DjJKzbCwxnlF5xo3ydxIqzb5RZael+wLR7eRNA/3F9fbkuTnKyZ1J/n7I5WxNJdScHYvwzB3V8U4Rs3jQ81we5Lb6wTyvR/k/iI6c42OJ8YSszvex1HiE8twf5dG8zOuAIK/qynj48sqAZL0+CIXUKiEU6KofzSuGKP8HnStXD7HEeOdWVxKx1HjnilVF1Ec9aVNVtnVlPHR5zfF+WGic+VGcI9/jggKQmCvf08IBaJwV34cFAjC69/0eFgJA4hT3fsKvH72fpDePypMBbGvaIcWcWq13SLGY2592SDHnSOQdUizEmKQdUsQpOpWdReHxCMZJ7yySIkVsZGeRLJFjp3cWSZGjWNlZJNUYT72zSIkU2bFNNvBoCYOrNtkIiQJb3WQj9BxUtclGSBxQuclGaDGYapNNliiQ9R0o5QEcxjDtQGFO0dM7UFjMcUs7UJhzxPIOFBZirNIOFOIUpcrOjfe8PaGuUMBqOzcqsgrfyM6NSgkKZnXnRkXn0FZ2blRUCvTolgVWOexhy0JiFOq8ZSEJKrxyy0LSKKRiy0JSOIxpy0LiFLrKG/7OOVz2xw6eK0bhcoHC5YIKl6s5XK5RuFzgcLnC4XIlhss5hcsECpdxDtfwA+7PM6FQFUyBKliFqWg5SEWhEBXMASqcw1N4DE6hFJoBU2AGSmH5MITkqR+VcACKvyX6IYUBePot0Q/YfED0W6IfQrOBhd8S/YDNdfQitOdF7LkexSsuF17Fo5gKPRL93fPU1z2N/dwjecuqV6j3exZvTvUodu8e+W/E9kdxu0GPSggAhYYAT5sSeloaAsiqC8x6DNjQY0BKCxyVK9szIOU20HlBsZObnJh2jweRTsxGJma4fwM452sj8rUR+Wp3ZBy18Sg3o63UuZV1bnPl+E4KKKLadssEUB5TcG/EOgTvSXjPdaFnu5yNXSX1Opl6XU49vpkAikjKTiRlF5JyOrjeuR/F17Wm6HqAxC6IKbke0LgLYhpcDxjtx5iC6wGJ2x+mE3x1coreBUi8JDkl7wIaX4ecCu8ChV58nKJ3AYqvOE4nuOdnit4FKNr3NHkX8GTCU/QuQGS10+BdwMIEO0XvclSc6qmRvX7qR6VNgOI7m9NkVMDT7wNN2agAx1/amwajAkY/lzdFo/KGtaFAm5uhfgl6SkYFNFdO/xL0NBgVsPhL0FM0KkdmVN4fXSjQ5YaoXzmckiMBzQ3RP2I4DY4ETMQ//kbhnmzDONnm8bxN4/bjYGTDD2V9RCdDZg80gcW7wCDgrV/Adr8XmD+kBOg3bQGWO7WA7Bmks72lPT23I5sqHcWp0jlOlU5tqnTEU6UrPlU6s6nSkU2Vhvply5k1wh8FAosLso/J1LBs/pWyj2hryGj6+xh8DQuW+AOy+Dsrk/sTIMOyzAvRZxrRXH/4hqzS3ka3Nz5bAy7i0Ig4NCoO/MBsz+ZhOM3juOsRbVb+OHglfEcrgtDWGtzqBreiYekZGUg++ADa4zBgoqN9decMV3eeAF0coZ2wl65mJZ22kk5YSXpeBJJymU65TEcugw8tEuOGpMcWSZDNVA8uksYNzo8ukpLaxw8vEmc/xe2Fg1ml7YXMlb2q7YUskdHWtheyzJabthcyJ/MtHB3KGA9JE8iLjcvxaqoYtKbxyDWBfcmEZE6mkFMbjxfRxmnE8jMr/hpVy+TgJrCNuzAWKmXorglXN7EWx+TvJlTjmJy+CGD3hsjzjbPxF6EV35umABNGg6UmA9Nq8ahNC6bX4pXmBxN4kkhPOVkQ00WRcM4wVvNbPXuYOmKraR4xoTKZmF613TytmEK2S48jFeYWqweSSpMBqTySVDKHRT6UVGJqvHgsqSSeeUCDyQcpzT8oqSkI9TwLoUoTEUp6LsISPB2hRjMSSjQpgYQOjJitAjWanVCSRoIFhJegzHaCGjsGaslkUaT5CiWassLz6mAc4km2+L5K1dP0hRrPYEH7TjjVPBZkMZWhPhLuNKGhNhbuNK2BBjMbUprcUOL5DbRWnyPNcqh9L6BqrkN5JGC1GQ+LpAsiFHniQ43nPvX6hNDEDAgqToKIR2YFPRVigXHnTxMiapU5EYuMTQ55ZkQxTg77ncJfLav2R5tw5D+X3h/F+3M9SvfhimXi9xa0yWibP8inMZ7PNVgwnqugTUbb/EE+l/F8rvDOE5ww8E2Fbyvfw+ePYq4EdCVUAehG0q38Bj45SvnU5SUcOG9Bm4y2+YN8OuP5XPYuBZzM2Eawrfgsn8+FfEJ7GwFOaGwj2FZ8lk/oQj4h/M37k0A2iWzTp/hE4m/eDwr+WeuTiDYZbfMH+VTqz1ofpMsdvdxbix3FFxv2ZGHn7I/ihNej+PwfhPjM6nKS3pC4nOCfGLxEBwcknrRdkl8DjU/aLoU7g0JP2i6DFwMLP5x4GTrncoJPFy4x/oBSXa9wOXZeyG3Qb1Vkr9JdiPOAb3NJ/T1pz+Z5wLe5ZOV70i9blG8y4VaV1t92mPIn6y+zq30Izwfaf3H+OyJHWSYtRypeeBv6aqMijrT90UPQtkGj3uaBNlDdaYa5Pjghn8Zv2OQvfciltrkUV1TN0YOkU8Mw17ZwqC3uRKQvfciltrkU11btTCySeuu5VE2+9axErLxeHkT+UCm/rZRPDaotGwZdXbads8ItorXGafqqjTzBgyy7lWW5HZUVSFH9Mi41A6TUDtCwIYA3+iQPuvRWl06NQS23ht91Hmqb3nUmDi3Iyy9DD7nUNpfiGqsV2SClt16HauW3XlmACoslnLMHUW4rynGl5bJu0NLLp0Pl8sunLECtxTrQ2YMotxXluNZybXjQPk0O96NO/SguwnpU7j4BEu9K9Dwt1Xoa35XoEb0R0TN6I6Jn4Y2InsS3PT5BxJ3sxsOiWa/7mx9PC4wfanJD6Y2cA9INzW/kHGh6I6fHuf38Rk7PRPvbeJTrrF6/6bmsYJtrol+/6RVRR3r9pke5Q+gvcn/KS6AnURjoYdW0v77ot1n6kd0fcWQ38QDFLZQHoVxmrwSirzVO3+1cnUDsD5UCnay2O1Sr4sTxb8yJPy+n/7Lc7TASTvwo+sUtjgRE+XLmlkYCUhgJgONVzm0YCcDoWuZ2GAlwlOvcVirYygq2uSY8EkARdWzjVeItjoQB5V3rWqC2VPasV1TR6PqO9UqB3FeV/epa5ejU9qtLua0Ko2GRvV3fjK4LjDarkg61nehapiSpbEQ/qHeT4QaxH0XP6JH4qfKe411gp/Gnynskf6q8V+inyntGP1Xes/BT5XeDDR1WNXdoQ4Cwdj1dhsYuc2OXlcYuZWOXubHLamOXorFL0dhlamy8T7gMTV/mpvNScaDhkfhRRBSEygNxEnM48uNw4jow4mE4CRyi9Cg8YggWXuJTIDhs6hJ/kMKvIh1FRLGr/CYSiTl2+ReRiOvY5d9DYoFjl34OKWKIXfgxpBgIjp264VCk/FsRR0rgOI79UoQsImJa+Z0IqVbiW/mVCC2nWOsfiVAixj3/RIQKZeqD6g9EDAXKrW3oA0MUfeMq7ibmiJtEsTauo2wyx9cEjqwJMab5ccAS7/1TIDiC6t7/QdqtF+hu/57QDfp2OLF/ZBOO/FqpDavoNq+iW7mKLosTrkq6MUocKoU3Rgk95PNsBaKK1h9etvJW45nQuN7pVuNQ03SrUfGHSgW2NU4N+s4TSljfcZvUrcYsQXvoVmOmD/K0W02pHaMPO1u+OXcWMdcfb84N1cSbc4Qe8nm2AlGF649L29Hd/Kxy3UmGJpCyqSoP1aps6wo1j+XcysrG+zbfgmQB2hRuQTJ7ECfbKkZ1H3myXC42+jt65+cRla9hbhsaicddjSTCqVmy/Y3EfZMjCb7TkYSy3ZGw7XmM/DKjK4EqYSiPCjMvj/2SMiTGs4ivc8nrXcNn95mLajSV6jWV6jVjvdTUeyn+sTDSKj3Y1HqwqfXgp4xEh95UMjDeAmP1c0ZzgSrxnI/FbV6P27wSm3ktNvNabP47I1HqdjQGC4EqDV6Mf5H9ZbXI7zISbVxWzrmsJO1ytC7LyvhuBaqcuB3r3bbeu22ld9OfqSO51vltJaxtpYlfBCrTDNnMv3PRlUCVAK0qPbMa7RkRsXXlBOvKCdZVO12Pnlqh0Q90AlXq2o1lS1fPlq6SLXxdxXItW7qaVXR6ItwvNC7ivL/JyN+XN7TNpWyRwRyaT9K3XKNvlQh/q2TDNzEL6b99apiXXXiReRy/YZMRrLnya2ht5TW0tv4a2heo6Ol5If7wy9A2fIRO8EV/9/AttXeHol4Ty+tIh8dt9FWmnrm6aD7dly89/P+H8wtTywf7Vc5RxrbSyVqopvjKlf6YW5jQLK+UFu0hl1hX8MgJ1yMnRGtT6nerM/TFYZithlX8sR/F20IrXLsDEjeJVrRiBxpvDa3COh0Y3fFZweociL0wb2h4Ke4UwGGwnBvZLdoOg3QFyzUg2B7A3hyAQ2uAlMYAKm1xFA9CRzlfhINUz0XtY4PXOdmtqU7sYBkOhm8FMuQbEjwP8CH4Tr5g3M2SPPCwT8HL7b7zzA/CuZx32JwuhaLTXdapLutSl9HsCULuyy735TBXOviKzduGg6HmQLyKAyx31GAoGqLxaJwGpXE1Mk3Mw9MkGqPGeaCawKPVhDhkDdO49RubmBx8u/M8Yh/GRmJiGBbZYVpKEVNinhimnDBOiQGvGDNR47aIi0x0o+ToNzFaQMHuA4UsM4mOYDjagmPhDSZGg7Db1KmD2SoKz35RFDcHI8o54KEnhaLTUVVGIp54sqJTRftKetzJvJJI0Wbg3j6FZptJdB1xy35Qwt9qIkTWk/5SE3NlPfIPNZFE1pP/TBMLbD3przQRJuuhP9J0yjRYT8FuPUZiPhkW+WRayidTYj4ZpowxThkDuxKYKNMo4iIT3ShpPSZG6ynYraeQZSbRegxH63EsrMfEaD32Mn7qYLYe8beR6BPuLkaU9cA7AxSKTkdVWY94YYAVnSraetLbAswriRStB14VoNBsM4nWI94TKEp4eo0GFAW2oaiyGUVVWlIsIowpFmB7imoyqSgnq4oyGVYU2baCSplKWrSwIIKRRU45GkWVqbFEzteoU9ZGkbMzqpyjQa1yaVmhyKLGx0KhrTAWIUMMIthi4MsaJ4uMIhklicouYxEyzSB+qaRXMtCgChsNOvhl5NJS+VUiGVK21/qLRLrEd1KXDXfsLSJdZjS9kwWrV4ik9rUS4m2NkzXXXh866HlrldhSVd5kGD7C129DobTqJw7foPfWrdPkTRy/obLhci3+lHhS8Hukp5ZP6BEhVfhOHxu0hXM42v/NXCbxbqBjcauviB8Smdr910L2fz7+WSRlpiUMM2RUyo3e4Q7uaRYH5XBf+OswzR/M5ivO7YDKhA4ovoPtHF+8dmpvWzvyt6ed+evizso+Zif26rShkghPrU1Rb3Kb/N16QLpNjWxTfHXecW5qI5raiKa28SjXua1UsJUVbHNN0nvtrog6+hvsjnLs6fd2N2XdeG5H8f2+TVghOorLQufpLcBNWAA68lWfM1/qOSvrOye2qDNUEuqJtckXfRtMKEBxG88mJRTwtL7dcEIBjmvdTUgoYLSq3QwJBUe5zm2lgq2sYJtrkn6GxxVRR//RHUdxQb3BhDoE/2GC2/ceMPiA4va9hxR84Ol52wMHH3DcNPcQgg+Mtu9ti6v6kY1mR+aqjsTOli27qtO4h2UbXdUZbcLZoqs6iRtStji9HhmKBZrcKNqytM226lw2SuxI2gZbdSTayhuOtsVW/SjXWe0n2rKtOs010duFttFWncWNQdtgq4Z8+TJEHx9InBCiNqUHEsxVg9UDCZao6fmBBAvcHfxAgjHFIS1dKRaiKOekcUpM5yOxECnqUs5T0ypxShlrQi1OrUCVBsosNrHeEM5n4zqpTa61hdPbeKVvU6LDK9OQ60gpAihRxqOk4oN6DhGqFCWUOBKocceiFscAKhQq9bsaOVj6AzweUKIhEaTxYImBEdQ8NlCuxzKNENRGYtlqWm+7HC2ojzaQxwxKethgiZE28uBBqZ4UPIS+lfXquR3FNfi3sF4FlNfg33i9ChTXq47j0vxbXK86o6X5t7Je9aNc57ZSwVZWsM01SetVV0Qdfb3qKF4rfMOZiBHVP81EiYvGqZkoSbkf0kzEnFubZyISWoEqDZS9pGYiliqVrXRanolYoO5LM9HAy/0qhaiJxqkPnYumm5ib7lLuQ9MoLMa53SZwHxahFajSQNmHJtYbwn1oXPehybW2cB8apz7EX0GqYWpq0Kg/oyZCEQrkcEQ5923QKWRB47gEkfsZxbaCR4Ig+zwUGG8o933QdP+HImNt5TwIGuTCv/73/wO+9kRf"
475,Ylt
vendor: 13,099 bytes, line 475
475="eJyFnVtzG0eShf8KA0+7EfKseJXkN9nj0Vj0yNaNEHZiHkCySWEJsmmAIA1PzH/fRqMr8+TJU9CLQv2dYqMrK/NU9Q349+jH9va2uXsYfT86+8dqOb1u9o72Tw5P9o4PTk72R89Gf2vvHt5Nb5uuwafZbbP87od2frnhq/kc+V7h09vZfI1KB8fN7Prr5jOGRj8/TOezi9d31/Ou1fNue/m32R/N5W+zh4uvo+8fFqvm2ejHr9PF9OKhWXxsNn/50x8Pzd1lc/mhvZ3eDcf1ww/tH6Pv//nd/snLZ98d7L98tv/8+fNnrw6P//Vs9LlrvJjP7prf2uXsYdbejb7/rpNB+PR1dnFz1yyXo++PO37WLJZ9s9Hz5wd/6XbUfci79mF2senIj+39erHpw95/Xfz33v6rl8fPNv++6P99tfn31fP+38P+3xd7ry/b82bv43r50Nwu936+u2gX9+1i+tBc/mVv7/V8vvdhs7fl3odm2SweO7oN4my5N917WEwvm9vp4mavvdr7ZXbXPqzvm+/+3nR/9frN3vTu8n/axd6s++Pl6nw5u5xNF7Nm+ZfucH/qPuZydnf98eJr08e/P4qPD92fTBeXRe0a/ji9//swJCcvTp6NvpSto5P9Z6PXy4tNqBed+PLw2eivjW13QX7xbPTx4fLv467tUf/fs+6/+4evtgP2j+ZhMbvoIvrPf4/GX0bfH2wi+647kuX9tAvkf55t8eHh4RY3f1zMp7fGj4+Pt/z3VduF6nzuyvNhR3er2/PNSF3fZe2ync+nC+N9NvTCfbO42CR5UV6Wz5/edtKyi08+tP4Q+jHP2v100dzNm6uaFP/Mjm+63OxxeePKi3KA89XSqAXtoqvNaf6Ir+v7r81dbt51ZdZ6Tw5evBxiP58uv+aj+bNZtJm2d02GD0+i5cPXRSPaXrWrhaCzR9F2OftDwOaxEYPb6Jjeze5EXl208/Yu42VzO4uSjcB8YwSJNr+vpvOMrxdNV8qim7+vmmVvNkV5dVjG3o/9xcHBlr02dHLyYot+yK1+zOiv+Q9/crS/v0V/8z8sqfAmo797mDon69HPuWNv8x+e5oP4xfu9cYcN+kc++nd5X7/mo/8tt3qf9/UBvONkiz7m4/qU//BzRmfCOca52ZeMJvkj/zdn33k3n900D8E3rEjPOy0WKv8dmcrL/WIqF7PZxWxxsbrNw7ba+Paym3xEjfQGFw7GjSpH9dzQURnai9zqMrcSn3yVP/E67+trDtIs7+v/8h/e5D/0Gjbrv81/KFynza3uM/o9d9vNwcpqmY/+Ie9rlQ/iMWfcU24lrHSdj+tPP4hXR55fMREODp6XrFxU2lM2HjyHbHyYzS+rk/1l+yTiHKZnnwoe+qWaJ8d+Ka+rzdoQjdb7rCaPq3m7mAm+bCp7uVgtunn8Yp1TqS+b5axfuwr/365bdFldr2adcts+6KXDRu53/A2ZQl8S52ommFhBdWs5uR64nF5fqzlty3ExRiuOzdg1i8Zr//io6N0S/noxvQdTK3963p0/NKKXHt7z6XJHhHerlQWYDUDU3e67NfbsfjlbCqnr68PXdhUWi2neD8ntI7eYPop6mF6sHtTapffyq3nzR9YqlXU7vVio9c75olEffNk+TC9Cxbk060YSA2DKAuvQD7a57EKqFqmru+vpYnU7n67Ex7TX3TrzRuxuiv2AcbkNOevCa1/3HJpnLy6vuoVeWBn6EiVOsr4Cidw/4Vf4hEP/hNvO6VZz/Ajz5qkzc43LTdEvl7OszCvL85YOtOy9hbQvZd7VZ3dW3OU9jJst5tKQ+tQcM9Cn/5g3PjXJQfXdxdHz1VE6AltIX84eZ5cihJN4ZL5iFsXhh135o8+7/mhNVWiTdX/yRWUCXc279M8LpeI4h8GOnOrB/4ZGyEaC/sBPA9KH+ElD5xFwFhLPMqmjL45eFHG48CE+ilzH14UxD7yXOi7v1AF4edRyNJqqL/Vld+xcqra3aKwQzmyVniGhm8DJE335Gj/9qCyo5u2fzd21yNwPVFF2Gqc66cmxs0h2Ze7r2pAu4oHAUFNf/fwnR85O7T59bReiV7/Sp3sYKlXwMfKTF0P7y4oRfaYP8IjFyS1c4Viu+lXOQhxvTEGPYo2TrRYTvF3NH2b387U4LuqgJ3kcjpJI3XrrYTadX86uxCnWum4N7+LneMKKZPHa2JlmO2adunRRGei7mg3WMuZdpTZ/ph3h9bduxYAX4ewUaNHeNHd4ImTmuGiuZ8u49PUSpbWXT8e5LuxsZNVVdTgf8WDHnPLCrBhaS5Hxuqyk1P+SaR+9KmvX/lJXvBBmcf7pQaxQfqwa4FxOqvvDaD5UTKapzo414XVt+bAjKysB/rNWGvzZ5gq1EalNPbx4t3mk9sm5ju2zdy5LaMbcL+uCZv4gLvg8BJN2T3xqdzhiXuKU3d2uRE/iEXmo5DrTa4FC71ef4grnxTH6eJfAiy6RxaF9TCcxNjFX5t9Tlcd+ihEHzk8l7MaOMsX6QuNnOn80XqvxX+iwSxy6qH2dzmFqKEW+OTWhS902FsrlzZfjsslT7RsDSOsgCwLPz3beHs0UOzQMqxrVqZzrP8oFomWwPsWxayGdTaibHm1lyv+xchAryvwyEF2CzC6U0f614o2Lncvdd3F8/HAr4/Zhd17v/KzXlX2+rpp0PB2wEYj7cSMWE6cvRSrTfc0pbuQC2hZkYSXge9tZCnQIdsVm5yfN2+vNeN+14mJVWzfTVZZKBnW7qlTytTwSu8ICM7nHvJK+d2pXfv3lLi+a3fNrNf7TanM78l/PRqfN4u636WyxuYv8z9Hrze3q0bPvjo//9WzY2rpHQNvjjGgwdYRv4tbWVQLCjqHwa7d15FvlEABBcgRuQxXotv4DCs4TlCFkgW2vDgW0LRxE78PWp27rlW+VmCEKvXfh8yYWz23LBsBR6D1w6D3Q0ntA1HtQrPfAhroOrLcTJGfd1r53f7zZPDR1stl87pulU8jg6AHfd5sHtlt4TuDZdy+OCl6FQ1nlkK0qIVvJkK1yyFbVkK1EyFYiZKsUssfY06dNFtjWOnRwXboECA59oEMjLGFDVMfGqZidc0UX5Y1AVNvGZYEXFarcEJW6cVXvJuaiN4kq37guf5PZA0wgIzBOblD4+4zAFwyROThXDlFUsAlDlPjGVfabmEvAJKoD47oYTOaKMIHLwoRYGwWjpxSGxlIYuosxthgThM8UDcymIOU4RVvlQ2bvMb5rCIQLmVQZgoofmVwbguRMJugheBRRAqMqaJ2Dw5ZlPPvWYB/oW4bIt4yTbzln3yrKG4HIt4xL3yoq+JYh8i3jyrdMzL5lEvmWce1bJrNvmUC+ZZx8q/D3GYFvGSLfcq58q6jgW4aoaIyrojExF41JVDTGddGYzEVjAheNCbFoCkbfKgx9qzD0LWPsWyYI3yoa+FZByreKtsqHzL5lfNcQCN8yqTIEFd8yuTYEybdM0EPwKKIEvlXQOgeHfct49i2MDZpX5ORgUSQbI5G9LMhvapxcLYrS2kIT8LfIyeSiqJwutsh2F3XyvChq44tt2P2iShYYRfLBIL6vcHDEyMkWSVTeGJqAQUZOJRpFVaexRS7WqFPFRlGXbWzDtRtVLuCoxioOGrppENBSg4C+GgU216gKhw0NwGYDV14bGqwqXWPXjeI3h1T4b9R3DWnFiWObnUOaPDmqO4b0sRZhsOjA15XAsllHMTu2E/RrpOTWKJFXB4mdGsQ3mpJLoyQ9GhqAQyMlf0ZJuTPq2ZtRJWdGSfsytmBXRo08GSVyZJDeSwpujJS8OEjKiaEB+DBSKlmUVMGinssVVSpWlHSpYgsuVNS4TFGLRQoKui5g9FzA6LiI2W9RE24LMngtUOW0IK9kV9hlUfrGkAmHRbU+ZBV3xRY7hiw5K2rVIXvUkQRPBbqWAWQ/RSm76dB9tFJD5KPGyUSds4MW5Y1A5J3GpXEWFVzTEFmmceWXJmazNImc0ri2SZPZI00ggzRO7lj4+4zAFw2RKTpXjlhUsENDVFjGVVWZmEvKJKon47qYTOZKMoHLyIRYQwWj5xWGhlcYup0xtjoThM8VDUyuIOVwRVvlQ2ZvM75rCISrmVQZgoqfmVwbguRkJugheBRRAgMraJ2Dw9ZlPPtWOVg0LmfkXC6QdYHA3mXSG8XIvVyQ9mUy+JczMjAXlIO5mi3MNfIwF7SJuc4u5grZmAvkYya8FwyczBlZGQjKy0wGM3NGpeSCqiVXczG5RtXkgi4n17meXOGCciVWlHF0NYNoawbR1xyysbkinM1EsDZjyttMXIlDZ3dzYeeQCH9zrTYkFYdzvTokyeNcqQzJo4oY2JyxtQgUG50L2enKkaHTOSOnc4GcDgR2OpPeKEZO54J0OpPB6ZyR07mgnM7V7HSukdO5oJ3OdXY6V8jpXCCnM+G9YOB0zsjpQFBOZzI4nTMqKxdUWbmay8o1KisXdFm5zmXlCpeVK7GsjKPTGUSnM4hO55CdzhXhdCaC0xlTTmfiShw6O50LO4dEOJ1rtSGpOJ3r1SFJTudKZUgeVcTA6YxtnO6QAmVOlwTo9qAthi9bcTsphFyuYPI4w+xwg/AmE3K3gqW3DSI4WyHkawUrVyta9rSikKMVrP2sqOxmhZOXFUxONuD3iYCLFUIeZlg52CCCfxVCpVKwKpSi5TIpChVJwbpEisoFUjiXR+GxOAaKbjUg9KoBoVMVxD5VuHCpQQKPGohyqEFapUNldyp4R8iFMxVFh7ziSkWthDw5UuEy5I85MuBFA1mngPCKq+C83hpqA23IEPmQcTIi5+xERXkjEHmRcWlGRQU3MkR2ZFz5kYnZkEwiRzKuLclk9iQTyJSMkysV/j4j8CVDZEzOlTMVFazJEBWKcVUpJuZSMYlqxbguFpO5WkzgcjEh1kvB6FGFoUkVhi5ljG3KBOFTRQOjKkg5VdFW+ZDZq4zvGgLhViZVhqDiVybXhiA5lgl6CB5FlMC0Clrn4LBtGU++9UNHX2/WUs9ty5ZejorHAAoxBY7rM6clkoAsSsAsQMCG2AApBe/ocx8p2/L0MxQOF3hISKPlcAHRmINiHQFmHQE2dGRL/lrifmxbFndHFndHMe7OMe5OLe6OPO7OPO7OStydWNwNbUziyPozDluTuGWziyOcO4wO367XecEWDf6MwTJEETNOYTOuYmdiDqBJFEXjHEoTOJ4mxKAapsgWDuEtaJzRRCCKtvEc8iKluPfveMa4F8RxL5zjXriMexFF3IvEcS88xb0IKe5FoLgXzHEfOMZ9QOOMJgJx3AsXcR8kivvfhpC/8q2yT0Al0IBCjIHDJwMtkQVkQQVm8QQ2hBJIiaKjqc3l/VbpAaDSA0ChB8ChB0BLDwBZD4BZD4ANPQBSeuBo+52gXZ8OCol6k/vUlKUkIt2nRvYJXk4OOHe1EV1tRFfbuJWPua0cYCsPsM1H0tK8CIo4xras4QHl2FtJ7G/nyrdhjfI2r1He5jXK28oa5a1co7zNa5S3Yo3yVqxR3qY1ytu8Rnk71MT+sW3ZGsVR6QGguGxxjssWp7ZsceSLE2e+OHFWFidOSg8c0VbugVUAIt2DRvYgVADg3LFGdKwRHWvjVj7mtnKArTzANh8JVwAo4hitAgDlSNOksEGr0GCVO7KqdGQlO7LKHeHTGlBER1Yi2KuQRaej7XWGbQn0W7FseyRqtOepRnsaa7RHdNSgUPX2rIQfUCzV02D1p9nqT7PVn1as/lRa/am2+tNs9afC6k+F1Z8Gqz/NVn9asfpTafWn2epPq1Z/Kqz+NFv9abb605DVpzmrTytZfSqz+jRn9Wk1q09FVp+KrD6VWb054z7yrXjhrEfpslj4KpNQFyRQiZCqqoWa5MKhBlRDpOpyokZcWSRTkZFK9RZVSA8SKKNJpYJkVaQ+NclVwA1yxVILKhlSuUZI5pKOclsVdoZF1jw1+VbH2QlI1aZAjXb3na2CVHKNqIKBkEBeQqqyFWqSHYYakNmQqn2HGrEFkcxuRHI0piiCR5FAdkVqcq5fRsOF8wPbsmvmgOLlchPOwtY4bE3ilp3nOsKTV6Pxy4fLGsmUgoeTh1+GWBxbZywAgPAi8JaGt/YPIqL+197aj+pZRuOMJgJRYNTr7CRVQiTfbC9xwhe6KQYcMfVC9yDFbILgkUAhZFUFMrY5qwnjmjCpChRgUnOYY4NKsEUjDnmuWBlFDn+9YocGg59i+A1R4J2rkBf1LKNxRhOBKLTGc1CLVAlnkDmQRVznGHDwjKewvRttLzNsP7DfssnVkV24chQnWec4szq16dSRT4/OfD3grFy4cmJz4xaVwnwtEPXFOHXIuOqViblrJlH/jHMnTeCemhC7a5j6jDcIGFGf0w0C5qrP6gYBS9TnfIOABe4z3yBgzH0ODvC6KnD/o8pRiKqMRWwiIhIbcFyimqIT5RSjKFOkokjxKvc/XwtEMTJO0TGu4mJijohJFAvjHAUTuP8mxJ4bjn3+dejukW/FmxO/YicBxcc9nKdbGL9irwD5AxzOrC/Ahm4AsSc5DH2KW2XyQhTmLRc2U9axbY3D1pfQchI0m7EApUcEfkWjPSJEYU5Gy1wFXBktSxT6bLQs8CCw0TKm4cAVMSMamMqKmNSzHM9xRl/yH05yKx42tUgepPCmOAxg5DSKUaShjKIaz9giD2rUaWSjyMMbVR7jqMaBjhqNdvrCC8lp3Hd94YVqclYZlXGFf6nsZ1Jpz1lR/dKHQYeXXiExkFJaoERJgZJKCdRzQqBK6YASJwNqnAqoxURAhdKA3rMXlFKg/p59bnAmIz+W9Ivcw0S25WGvvHs+qOV1QRhxQzTcxmmsjauBNjGPskk0xMZ5fE3gwTUhjqxhGlZ8R5gRDWjlHWFSz3I8xxl9yX84ya14+NT7tIMUL7LhELJCI8kyDSjLaly5TR5ebkGjzDIPNus85qzHoWeVMoDkT3WF8iHJKi2o0Vl1xMZV5Ut1b5Pq33DmsJwTyF6hg9RxRknjAqWLCypRXM0p4holhwucFq5wQrgSU8E5JUF4wzYxGvjaG7Ysn4nojgX7Iv52ItrxoMq3UAetXN2B0TREg2mcxtK4GkoT80iaRANpnMfRBB5GE+IoGqZBxKt9jGgIK1f7SD3L8Rxn9CX/4SS34sFTFwAHCU/SjwjR2KWTdOZq7NRJOks0dvkknQUeOz5JZ0xjh28mMKKxq7yZQOpZjuc4oy/5Dye5FY+deop/K/02DNv2mfLfcMQAlcECFMYJeHpO/TccHUA2MMBsTIANwwGkjISj/gkt648/oeXIntByJB4s73l6sLyn8cHyHtHj4z2jx8d7Fh4f74k9N2QoPrW4IX5BqN+KF7t6ZHfOAeVLXD1PV7e2FG+MO47Xu3pEl7p6Rle5NqyNW/mY28oBtvIA23wk6a61K+IY/f60o3ixbYP4qcX3I3wvod+KGdUjkT49T+nT05g+PZLvJfQKJVbPKLF6FhLr/Sg9ffZhhM+r9FvxIZUeiSdTep4eR+lpfAalR/LBk16hp016Fh8x6VF8ruRDcNUP2VA/1Lz0wzBwvp/Pub+fK/39LPv7OfeXBw4U0d/P9NTpBxg4J735H5etje8f2tYkbsVH+D+Qqw+0XESD0TdEITGu4mJiDo5JFCHjOkwmc6xMoAQxTlmSL2o6onzZeVHT1M9535w+xnfFSiSSSZVYVVLK5FqsUnKZEDMsXLeNGTLOSTMRiLJOXaQdpHLnC1LPEIXTuAqniTmcJlE4jetwmszhNIFSzzilXuGQeoYo9Zyr1Cvq57xvTj3ju2IlUs+kSqwqqWdyLVYp9UyIqYdvRB3HDBnnpJkIRKmn3ogqUuVJTRY4tN98UpObiDDvelKT1UrIdz6pyTKn6q4nNUnFtNXP9lRUmcKhzefaZ6Z0juq3Y65SOzbYGfNamsdGu2OeUz7KlPjpoadjlaXjWvpOqgIXRPWhp22DbrjhxbR+y57tcRRfTOuReDGt5+nFtJ7GF9N6RC+m9YxeTOtZeDGtJ/HFtE9DNe+/tC1bkDuKC3LnuCB3agtyR7wgd8UX5M7sdRBHdlpnyE/p+q34TFWP7EsgHMWX3p3jybtTe9Xdkb/G7szj7qzE3Unpgf/hRTuHs/Qt2Z6qOoldanIv7VQVUcgu57KX4VQVGufON6Lzjej81/X91yYe0iwM3Syn2MxPwoy1YRdt7ntb6Sie8gK1MnJEeQmKF5izkpeArJoM2YmiF9giDOkiXgXqURlERGFKcGHZ3M5y5qzCMaxyrFaVWK1krFY5VvzsNigiViuRF6tUFE+hD/6dV/2WebGj9D1XZVpFF04PujEnP9YPurGYnTk96MacPTo/6MZCdOv0oBtx8O10GsBcObg6DWCJvLx2GsAyu3o6DWBO/l44mLwhym3jZPfGleebmC3RJDJA4+yCJnDKmxDz3jDNCIVTcTsOc0PBIhI8SxinqcK5sAYT6xFSM4dpleilOcSEWvR4Nil8lrOF5xXjPLkUoc275WnG+K4giQnHJHJS49pOTWZPNYEmIeM0ExXO01Hhi5xKPDEZp9nJuZqiiirmqSKt8mHyjGV8V9jF3GVSJeyVWczkWtjTfGaCLu6n3GuY3gzRHGdcTHTp6eYyoPrpZq3y1Lfj6WbdREyD+ulmraYpsfJ0s5ZpetRPN0sVp0p9wUKrctqsXrDQDXgK3XnBQjdK06m+YKFVnlqDihNsFLggo8qTbVTllBubiGklNuAJJKppGolyqtYoU81GkafloLKjkRin6Pgya+0D03QdVZ60SVX2GJt8K9JyGo8tdo5FntKjvHss0vQe1Fktb9NUH9U04Qe5rX1cmvyj+u1gq4VAbMDzUlQrs1NslOaoKPMCIaq8TAhqWiwEdVFL7bRwiCovH0iVi4jQRi0lQoNVrUNpWRHVbw+oWmLEBjsHtLbciI12D2heekR5l5k91SKGi5Eo8JIkqmlh8nlYjZw8t62yB0BlugAUYg8cPgFoiTIgixowCxWwIT5ASg04Ks59bMRKYUD4cssJIepwermFueq6ermFJQpCfrmFBQ4Hv9zCmAJTOEWnYA5ReofkRHEKln6HRIoqbNV3SKROAay8QyJVDqV8h0RqFNQgUmSDxuGl9zBOMqXQqvcwhKTCWnkPQ6gUUvkehtA4nOI9DKFQKEGiQILCYcQ3G04IUQDTmw3MVejUmw0sUdDymw0scLj4zQbGFKjCKUoFc4jECwQnWqGA1V4gqMgqfDteIKi0oGBWXyCo6BzaygsEFZUCTTLFm1QOe3js/oQZhTo/dp8EFV752H3SKKTisfukcBjTY/eJU+hMoKAZ53DZz19AuJxRuFygcLmgwuVqDpdrFC4XOFyucLhcieFyTuEygcLlv8NC4Rq+pR+CVQiFqmAKVMEqTEXLQSoKhahgDlDhHJ7CY3AKpdAMmAJTfvohhuVsCMn+9ob+GcYDmT3kDCxeHAIBLwkBtgtBwPzKDkA/ewVYnkgFZFd2nG1+DOHQema/gwAonm+54L9+0G/ZywWOxG8e9Dx9O1JP4y8d9Ej+yEGv0O8b9Cz+tEGP4q8abJBfv+q34ulej+ySpyNx2tfzdK7X03iC1yM6YesZnaX1LJya9SSefp+N/IoSkm3i7h+8Kqgf5ec2Vv41o8DKaXZg8UlqF8Kj1IDxq0aB+zPWzuBRaofwLLVBu8SzPRPdoM11ncMXtmXnnI7iY0vO8QTUqT2g5MgfOHLmTxkZa+OxtiKybS2KrY5iK6KVvhAVJBVI/0pUYP5ugzF/wN5rAi+XeFat4lauFHU1pOeyLFa5LPTFjl4RBcOXNXoWCmZcvHn7yP04eDMw82ZgcchAwCEDbEMGzMcFoCc4wOLNgGysnPU3IXwrvvgwTg4LPL34MEaHBSRffBgHhwXmOWYovj4zHhz25Ni2bLHgyBYKjuIiwTkuEJza4sCRLwyc+aLAWVkQOLHFgKFSC8dA8JWg8WCw/hdN7qXZKyLdy0b2Mngr4Nz5RnS+EZ03X9262XiE18vHo3SRfDzKV8bHgwW+sL2aAwKKb6Q5xzfSnNobaY4oL0Hxd9WclbwEZC+mGfJr1TaIaHw+2P6jOGM0PkDip3DGZHxA4w/gjIXxgUI/ezMOxgcs/NjNhmwu0J74Vlyj9ygttifFL/d90zIAmPklsOg8IKD1ADbvAeYWA9DzDWDxS0BmPM76p8yPbSs+mztJfgk8Pag7Qb8ExI8uu0I/pzFBvwQUfyxjMvjlS98qRw2oxB9Q6Ahw6AjQ0hFAdrjALPTAhsgDKT1wFNcOk+SXk8Ev9/f3bdPzzJktSJHFPHMBrQQorkehtVmMIzcSZ5B8BumG42SEq9HJKK1GJ6O8cJwMrgm7bUUE2lpvw8IRsFeVM57SQYKCc2iTOjAvLmNkn5ORWjdORrhunIzSunGS7BN4WjdORmndOBH2CQqtGyejvG6cjHjdOLH7GeAn6WZNEtgW9e2apAqDTDdskpCsMt+ySQqZZrppwwLYZ35BkbgyUvmCIklkqdUXFElmc80vKBInmy0cvNYQGa5xcl3jynpNzP5rEpmwcXZiE9iOTYiebJiM2W/GhQrle3SEseqNsVWZwI7tgjIyU7N3uyQM3ERyceNs5SYkPy8Km3rh4OyGyN6Ns8cXoRWfl9zehJ2RUr5vGpu/CZUZwPQ0DZjCc4EJPCGkW7oURzE1FGklEE0SxtVMYWKeLkyiOcO4njhM5tnDBJ5CTIjzCN1xLQarbrkqjSeU6k1X1UBMK+q2q9LS5CJvvCqRphh161VoMNEgpbkGJTXdoJ5nHFRp0kFJzzvYgqce1Gj2QYkmIJBgDkJK0xBKNBOhpCYj1PN8hCpNSSjxrIQaT0yoxbkJFZqewr34YBTiLn1W0IwQs8+ixrNV0JQNY4M8ZwVVTFuo08yFEk9eqKX5C0SewkCCWQwpTWQo8VwGWqs/Ps1oqH0rmmpeQ5mnNtQqsxs2SRMcijzHocbTnHosJIdbTHagrjSlKQ8lNeuhnic+VGnuQ0lPf9iCZ0DUeBJELcyDXcX2P7u8/a2Z4myIBkdDFB5lAg6fArQ8iQLI7vsDs5vbwOC37AeCPxW9Refd1vmoXNU+x+E/MrQZ2APfKgMKSHzD0jkNIND4DUvnYsBAoW9YOg8DBCx8zfn50Mntb90M5pp+K+Ioq0XaXiTtwtA/KLrdzeXF8COsjprwOQ0mwIDKiyuIOAEGTglQqBsuYsyLAYW8GFjIiy27gunGSfcx82a5nNlMfjXY64FttXHL0sCR+P2oKzJBoPGXoq6E5YFCvwl1hQYHKP760xXms/eV8mB7afmKUmCbAdd5D9elpplXnhjfquX3RmDL5hVHOFv0dFaGrj/GWUiwLcrZtOWcTVsa0maLYtpsWUybnt2UtYhvxft0N2HlASjfuruhdQbScJ/dcLyjdxOWE8DoC8tuyqx+bFsx6Dd5DneeBuMmzNiO5G933cT52Vn8Sc+bMBsbWsetfNQ5VW7yWzVDFCpv1WiVRnDXWzW6SR7XHW/V6BY02rW3arTMOZDfcJHx4szY9YaLbvKtEeHU2f2Gi27ECVV5w0WrlGb5vQct7AxMzsNiJdv1wx1a1oBwTiwo7BQEXLJsURtsqS3z8XYrG6QhaFXxzMihvfRSpNA2O6whaEUPvD5WFfgbYdTOoF350tzHjKAVBpaQtyqTWFo6bWfHKEet/MW8uSqPSm/3yUK0I1bjd6iyKuyImyQ74gbRbFgls2GZzIbl8GWZLMYnSnpVB2tHpHaE6Vsx2h2gHdHZFZpdcakH5dsRgf9/d3Jo6pByI//60YiHFbvSQsqKXS70ny3i2U/UytwptfB0qWjhD+5FHC9mRK18oNS6mXg+n9bU+LCraHE/vegv5Bwl6dE60AVpdLEZsJe2FZ+s6ZEtKQDZwQEM18AWZQ1jepN33eRd0xLFOeY5UFyMOI6vpi/issMZPTO0YZ7a/VYszB7F0LtATy1tkM/0/VaciXtkAQAU9+9CnP8XZTVkh97mALeVaLYymm0OW1rWuCIC2sYX9hdh1WLoPoTNT7SeG/s9tPcprlQvJq0h6r1xyjHnnMP6jqNhsW9O6Xy/kbkYDnW3MUk5zdPNRuY8PuJmYxSuc5w5/43LIkg3LYdKKBwS3RDVhHEqDOeqOkylEgl3OmNnuVgq9zlJrA8R1071JifJtVHiUsp3OCO/z8OQKqsIv+c/hxqz72XyVoYoaMYp351zjfGXPg01hl/6RC25xtKXPiUuBlB96VOSco2lL31izqOXv/SJhOscZ64x47LG0rdHDTVWONSMIaox41RjzlWNmUo1hl85RZ3lGtNfOcVifYi4xmpfOcVybZS4xtJXThG/z8OQaqwIv+c/xxqLX68CbaPAAYwqVwCpqfbkd7qUCsxXn9RfpWqsXH3Sqhr2+tUn3UBUaeXqk1RTLtSuPin5ujaCqYajqitZf11MqeegYpVGgWs7qlzhpMo6j2242vPVOBWoVPm7rsbJJt9KhOQFu6/GyUa7cyG5Q+VqnFLva8Oc/SLIv9d26N4xnNj1Fxm2l2qMlKATtq+0iji+HBA1fEEgKvaSQMT+OkDk/kpA5OW1gEjtG6oC/jQqr3MasRNnwuIV0CJuvk37KOx3nNpM0mdPdEwnKUDdAMFPCvVb8XpPj6JN9Ehc3+l5uq7T03g9p0d0HadndP2mZ+G6TU/i9ZpHmBS8T1Fvcp/ojsNjNnrnsk/ihsJj8HFHoqt8v+Cx2JJv5WPmFx+NywNs85Hktx5NEcfYxvfRHoN9GDJreNGjpzQcT6FrT7lrT5WuPcmuPeWuPVW79iS69pS79pS79pS7tk5dW4dMW+dMW+dMW1cybS0zba0zbZ0zbS0ybS0ybT3Ce+prHA5A4p76moYDaLynvhbDAQrdU1/jcACK99TXYjj4wscwJuHCR2zJo5MvfDAX4yQvfLCURyxf+CDOYycufEQBRjFdHmCuxlNdHmCJRrZ2eYBlHuN0eYA5jXa6FjAMuXh2cRh1fnYxteexl08uCklkQOW5RaXmPFCPLQqJs0E/tpg0yAn1MKGQVGZUHiUUKuXHjgcJRQvOEvUYoZAoV9RDhF26/Os//w8s8zdF"
475,$lt
vendor: 12,135 bytes, line 475
475="eJyFnV9TG0myxb8K0U/3RjC7NgZj5o0ZZnYGz5pZGyH3bsyDEA3oImhWfxCajf3ut1Xqyjx5Mkt+cbh/p9RdlZV1qrrVJf5T/dg+PjZPi+r76urvy/nortk7PPpwfLh39P7DyUm1X/3cPi0+jR6brsDl5LGZf/dDO735dTGaTsYbdTmdorq3UfdUHj1Opmss0MFhM7m731xwU7Y73pY+fbqbdqW+e3vUkfnPk9fm5vfJYnxffb+YLZv96sf70Ww0XjSzL83msz+9Lpqnm+bmc/s4euqr+cMP7Wv1/b++O3jzZv+7g7cf9k9O3u+fHLz9Y78adGVn08lT83s7nywm7dPmSl0xFS7vJ+OHp2Y+r74/6vhVM5unYtWbNwd/efPmTXeNT+1iMt605Mf2eT3bNGLvf8b/u/f25MPR/ubf4/Tvyebfkzfp33fp3+O905v2utn7sp4vmsf53q9P43b23M5Gi+bmL3t7p9Pp3ufN2eZ7n5t5M3vp6DaYk/neaG8xG900j6PZw157u/fb5KldrJ+b735puk+d/m1v9HTz13a2N+k+PF9ezyc3k9Fs0sz/0lX3p+4yN5Onuy/j+yZ1QKrFl0X3kdHsJqtdwR9Hz7/0ffL+/cl+9TUfHb4/2K9O5+NNpGed+OHdfnXWyHEX4+P96svi5pdhV/Yg/feq++/bg7fb/vp7s5hNxl1E//Wfavi1+v5gE9lPXU3mz6MukP/d3+J3XcwSbl7H09Gj8KOjoy3/97LtQnU9VeVNf6Kn5eP1pqfunrx2006no5nwD+/ebflzMxtvMj4Lx8cftsLosZPmXXi0ZvkzqQapy732PJo1T9PmtiTZj0n1RvPNGecPqhz3yvN0ORcqMRt3A3XkL3G/fr5vnnzxrimTVltykBs5n47m9742fzaz1tP2qfFwsQpKLu5nTVD2tl3OAjp5CcrOJ68BbF6aoG+bOKZPE6iwhGjcTtsnj+fN48RK0gPTjQ842vx7OZp6fDdrupEcNPPfy2aevEZT8KDve637+/fHW3bq0Q8e/ahpe9Cf7MyX+smjn/0H/+aHwC9+UP7qG3buT/9R0du3W/Sbtjuf6+++Ep88uvDn+t2X+oevxGewjvdb9MWf69Kfa+DPdeVrP/SlvvrT1x790yffdTeZPTQLYxsyRq87zY5T/hx5yrF4yngyGU9m4+Wj77XlxrXn3dQTDJHkb6Yy6lMeXQs6PDzsx1jgv75UcOVb/8E73433PkgTj/7Pn+vBl9IhLGn/6K8YmE5ge8/BqPdDaObR3Ndr4Sux9CF88Um48pV49R9c+0r8qejwg+aXTYSDg9zrMJna8ruycTGZ3hSn+pt2FcTZzM46EyzSQk2T421u/+1mYYg+K59ZR3PH7bSdTQI+bwpnGS9n3TQ+XvsuS8NmPklL18D+t6uWeFjdLSed8tgu4pXDRk4n/oZMoc+JczsJWLB+6lZy4XLgZnR3F01pW45LMVpwbPqumTU3/qPdWmh0Nxs9g6nlj153dxFN0EoN7/VoviPCu9XC+ks6wOrdXUGOzXQ6eZ5P5oHUtXVx3y7NWtFN+ya5tedmo5fABkfj5SJauiQvv502r16jkZXx42g8i5Y717MmuvBNuxiNzYhTadL1JAZAlBmOQ61sc9OFNFqjLp/uRrPl43S0DC7T3nXLzIfgdCNsB/TLo8nZk2xwp7rqOXjf53w7u7ntlnlmXagLFDvH6vrDcrnAhV7gncwJs5vHzueWU7yCnGmkTDzjZjPk5/Ng+poW1uZtoZ5tkPTd6OxuiLush16TlZzrUJ2Ybf7p5G+zRiemsEv1dLbvdG3kaiCTxc3kZXITdFJta6bL5WBoaLXth3SdF3xIJ0gagzJVpzsvGiTQVH9KvZ4ZKIp9GKTmNBr0M9RD0hP0Ab0HcBfRO4bOIeAWxN5iUkOPD4+z2D/0CC5FnqOrQpsH2so4Lp+iCujwKOWotVRd50dn0xup0tmsrUI4vVFqhphmAidH1MWrvfrhSR+waftn83QXXP6zvYTew0WN1OTYOUgCUYcXTyOylrUVga6mturdj4+c9tF9OwtadUFX1zAURsEXcok32WwLYRvQBTRidmozjzfmy7TGmQX1pRSUKJY42Wo2wcfldDF5nq6DelEDNcltd+RE6lZbi8loejO5vfV9tS5bwyd7HU3YXcny08402zHrlKVxoaOfSjZIHQqeEo/NX+lE+PCtWzDgEzi5AZq1D80T3gaJOc6au8ncLnx1iNLKS6djPy7kXmTZjWpzN6LBphWkDMyCobU8lmRcFlLqn2Tahyd55Zqec9mnYNLKnxb3vq4/Fg1wGvnWu7xsWxRMpinOjqVZ8LS0fNiRlYUA/1kaGqVKXZR6pDT1lDx3XrpyeRxf7FyW8IyZ1wXNdBE87lkYk1ZPXLU7HDFY6b3PJhe0xNZIQxWuM3UsUOj1PtWucI6P0Me7BJ51iQxVk2nE3cJ8OMj5OgonpI/hIkPuMGzH6T2MfKkTmWJ5ofFrITV/LY3x32j+y3HoonY/msKztzzIN7cm9Jxb+iJyefFlu2zSVPtGB9I6SILA87Pc31gzxQb13Rr16iic67+E613J4PgWRzKss4noG4+2MOX/WKjEkjL/UOz8ZjKOjPasMKHNdrbmk+0frW5huft5d17vXFqfFs55WjTp+HbgovDs8M9g4tSlSGG6LznFQ9iUN9mrzEpAz7ZzKNgq6PPdnVeatneb/n5qg0dVrTdTSR8v5QzqTlUYyXfhTYM8X4GZXGNeSN+ncB6H7w/dFKGeXxrjPy0330X+sV99bGZPv48ms803yP+qTjdfVVf7370/+mO/P9q6h0HbelrUmzrCv22O3sjR1lUMwoahcNEdHelRrgIgSA7DpasM3Y5/g4zzGKUPmWHbp0MGbQcOon9sjqT1l/YoxwyRab0KA3PWgW/9oND6Qdj6gW/9oNj6QdD6vPAzLNkJkqvu6ETaMOyOuqk4H9bd4bEe5SYBgqorhVcCOnyY8bI7eieFlvlsgEyAgMNVgOYAAaIAgSIBAiYBAtYHSMmLacPKHK3tkcRHEcZnS/tCOF4F0aAVTiNXOQ/frMAYFkQDWXg4mrMKQ1oQZbbwKL1F9DkuEiW68DjbReaUF4FGvXAa+pnD+M/oMkDkBMojO8jqwF+OjUH4rvAFFiFSIXwFsxC5FD5nGyJY78gYDCQjdJHMwEoEkZ8I96aSpchZsgb2Iog8RnhkNCJ6txGJLEd47Dsis/mIwA4kgrWhjF98q1cerQNE1iTc+1NvE+hPgsifhJM/KWd/ygr4kyDyJ+GhP2UV/EkQDTDh0QAT0Q8wkWiACY8HmMg8wEQgfxJO/pQ5+FNGlwEif1Ie+VNWB/5y7E/Cd4Uv8CeRCuEr+JPIpfA5fxLB+lPG4E8ZoT9lBv4kiPxJuPenLEX+lDXwJ0HkT8IjfxLR+5NI5E/CY38Smf1JBPYnEaw/ZfziW73yaB0g8ifh3p8wNGhSlpNTWZHsikT2LCODcVlO7mXF0MJMEfAxy2k0WjEakraEH5dWp8FpxXiE2jI8TK1KVmdF8jsjgukZflniZH8kRh5oigwK9WA3tOI34x/4otV3xb/gkLbMzvg7r7SqNUyjgWsajtZpBPBPy8lEreid1OiRnZoC4KmWk7FaMXJXW8JbrNXJZ60Ym60tw45rVbZdq1rvNdpLIU6rAl+XOPmxFb0pK0FLRkqGjBLZsZHYjEEEK0ZKRoxSaMNQAEwYKVkASpEBoO6HP6o0+FGKhz6W4IGPGtkuSmS6IIHlAr2MKdmtkSKzhQKD8OpstCh9I8qByaJajnLBYLHEjig7c0XNWisoYKxA0VYBg6kiJUtFyRsqqJGdggxmipSsFKXISFH3NooqmShKsYViCTZQ1Ng+UbPmCcpLGJNVSNcxJdNEyVtm33r0S0FklsLJKZWzTWYFPFIQGaTw0B2zCtYoiEas8Gi4iujHqkg0UIXHo1RkHqIikAsKJwvMHPwvo8sAkfMpj2wvqwN/OTY84bvCF1idSIXwFUxO5FL4nL2JYL0tYzC2jNDVMgNLE0R+JtybWZYiJ8sa2Jgg8jDhkYGJ6N1LJLIu4bFvicymJQI7lgjWrjJ+8a1eebQOEFmUcO9Pua5oUMrIoVQgiwKBPUokMCll5FIqhDYlMviUMhppKkRDTVU/1lSjwaZCPNpU5+GmCtmVCuRXIoBhCbuMGFkWCJFniTwIrsmupcLOWAa+pVoplgXnUr0YS+ddqljzEg7uJQztSyD4lzIyMBW8g4kWWZiI4GHKyMRUiFxMVW9jqpGPqRAbmersZKqwlalivUz4S9D+VcDWESM/U8EbWq4YGpoyMjQVyNBAYEMTCQxNGRmaCqGhiQyGpowGoQrRIFTVD0LVaBCqEA9C1XkQqkKGpgIZmghgaMIuI0aGBkJkaCIPgmuyoamwM5aBoalWimXB0FQvxtIZmirW0ISDoQlDQxMIhqaMDE0Fb2iiRYYmIhiaMjI0FSJDU9UbmmpkaCrEhqY6G5oqbGiqWEMT/hK0fxWwjaG9YyYxYQFbvdVm/W+UqANlQmaWMVmZYDayXgAby4RMLOPQwnoRDCwTGnIZRwMua364ZYUGW8bxUMsqD7TMybIyJsPqMdhVTy49IasSHBlVLw7cldikMt4RscCgshJHrGBOWS1EzBlT5taWegqm1BO0pB6BIWVCdpSxN6Neiayol8CIMiEbyjgyoax5C8oKGVDGsf1klc0nc7aezK3x9PTFtXXlyNoTWkFl7NdP/SBAvxFEhiOcHEc5W05WwHMEkekID10nq2A7gmgUCY+GkYh+HIlEA0l4PJJE5qEkArmPcLKfzMF/MroMEDmQ8siCsjrwl2MTEr4rfIENiVQIX8GIRC6Fz1mRCNaLMgYzygjdKDOwI0HkR8K9IWUpcqSsgSUJIk8SHpmSiN6VRCJbEh77kshsTCKwM4lgrSnjF9/qlUfrAJE9CXf+9ENHT7ujgyM5yp8FlL0EkAkpcLgC0BxIQBIkYBIfYH1ogOSBrWiQMlCOcgsAmeoCh+oCzdUFRF0OijQEmDQEWN+QLTkzcT/zcT/zcT8rxP0sjPuZj/tZEPezIO5nLu5nPu5nvRkcSXs2PnAoR7XRamuDZzTue9qbLkZGEIVHOMVIeBQoEX20RKKQCee4icDBE8FGUDCFMfMrHwYIaEa1L8WhFR7EN21itPHNiOObOcc38zC+WQzimyWOb+Yuvllw8c0CxTdjjm/Pr3wYML49qn0pF9/MXXx/7kPbT4Y/Y1iR5ZAiI4NSwTiUYrUoZeBECsGKFIoXKcphAzaSuT4d5aYAyi0BZBoCHNoBNDcDkLQCmDQCWN8GILkJira/cdk16uAkI2pjE3RQkxd/hhU6qIk7CHbdWh50XBN1XBN13EQyNh3lugMy1QQOtQSaKwNI6gJMqqKsldVaOrJru4RMTYC75V6iuSaAaMoFReoILN8GAMr5oKj/EVOTEDMzfmd2tCck9wKA7G1AEs6Ns557Uz33fnpesNLz0EXPvYGeB955HtjmuXPMc2+W5/2gP5T2jGyKneOgBxRk3TkNeqA2687NoAdGWXcOgx5IboEiGfRCrN74NsmIRxS3qQnbZIY7YN/UJmhqEzS1tUe+zm2hgm1YwdbXhAcYKEEdZYAB8rHXASZoaQosfUOWhYYsw4YsfUP4fgyUoCHLINhLk1cfq+2TkHd6ZO8sEwpuKhN395OJ2lvJhMK7yKTQDWRiOfyAcvgV6VD+iIkOKCc6Im8/HynRkUKiA7au9NEkOjBypY99osORr3NbqGAbVrD1NeFEByWooyQ6IGuTH/usPpC4S1YDsrVWjrVWKrVWxLVWRWutTCOrLPu9kLU98rVe+9qZqQ7HBQk0REiNRgsV8QOHCtAYIjUeTlSIRxbJNMhIpfFmVUgPEiijSaUByWqQ+lTEjwIu4EcslaAhQyqPEZJ5SFu5LQo7wxKOeSryrYazE5AamwIV2t12tgpSyTWsuiyNMPYSUiNboSLfGsNsNqTGvkOF2IJIZjci2RqTFddFYWdgvHP9Vm0f7b/9IEdyYwfIrORV2DwveHecj4bmqLZH4nyK0MuEmsfZ268OfusbrIXW/mxrfzbcc9/X2e25dzxqKW5Ip3MPPaoDRPWN9qOTFMUBt2FTcY5ItA27l2xKQHBIoBCxGgXKlrkqXXNYEuqiQM0j9VuNjILpB1T4UQ5seUD1BXq7w8AKopAqj4KZ1St/7qFHdYCo6sLLlY4ClbW1L87BEe6u8Kna3vdvlwXpyK6FEsp3zYCCNVHibiGUqF39JESrmcToO6bEzNdLidilzKc8pE4DRG0RTg0SHrVKRN80kah9wrmRInBLRbDNFUxtxi8bGFGb3ZcNzKM2R182sERt9l82sMBt5i8bGHObzQg/LQrcfqtyFKwaxsIWCSJiC3BcrOqiY2UXIytTpKxI8cpfnJ4GiGIknKIjPIqLiD4iIlEshHMUROD2i2BbLti2+aJv7qEe2Uc2F9hIQMFTnAtqGlD7FOfCNAgYPau5gGYAsc+hLvoZCo7s470LPy+poN8TXfSzkR59NSVro9HXRBdV9A3RBRrtISEKszNa5lHAI6NliULvjZYF7gQ2WsbUHbhWZUQdU1irknrl4zn06Kv/YO1LcbdFy9deMtu5oQMtp160InWlFaP+tCV8p1qdetaK3L1W5T62qu1oq1Fvux+eCDn1+64fnoiKXBV6ZVjgXwvnqQvlOSuKv7/Q67BpFRIDKaUFSpQUKEUpgbpPCFQpHVDiZECNUwE1mwioUBrQZviAUgqUN8P7Aldh5Ich/RqeoQ7LcrcX9oj3at4GCD0uiLpbOPW18KijRfS9LBJ1sXDuXxG4c0WwPSuYuhX3+DKiDi3s8SX1ysdz6NFX/8Hal+Lui7bE9pJ9xoVdyAr1JMvUoSxH/cplfPdyCepllrmzWec+Z912PauUASRflhXKBydHaUGFroo9NiwqX4tnq4uf4cxh2SeQ7JmD1FFGSaMCpYsKUaKo6lNENUoOFTgtVOGEUMWmgnJKArNz1jHq+NLOWZavgugOA/Y1+GwdlONODTeY9lp+ugO9KYg6Uzj1pfCoK0X0PSkSdaRw7kcRuBtFsL0omDoRn+Yxoi4sPM0j9crHc+jRV//B2pfizose8PUS3qQfEqK+czfpzKO+i27SWaK+8zfpLHDf8U06Y+o73LrAiPqusHWB1Csfz6FHX/0Ha1+K+y56038r/d5324cjOcqfBZQ7C5DpJ+BwBaC5dwBJxwCTPgHWdweQ3BOK9JWpdGRzLiGbbgkFmZa4S7JEbX4lRKmVGGVVYiahErG5tEH0nuQGNaaTGtulCdnX4rbIb2pJPOx488U0YLvDJSHavZIYbVzZsM2XzUfSLfINMyBbQeVYQaVSE0W8zUYVraMy2ZukSLYlCeKXEv9R4Y6GdGR3NCQU7GhI3O1oSNTuaEgo3NGQFNrRkBjtaEjM7Gj4XG1fDjnUIzsQEgqyPnGX9YnarE8ofNUrKTQeErPvrCVkk/9z76Hv9CinNSLjnCoMzHkGvr2DQnsHYXsHvr3cS6AE7R3Q+P8MvaRkY/Xb7+E+9y6vR7U9krxThPm1pfmRGfS+IAqJ8CguIvrgiEQREh6HSWSOlQiUIMIpS/AR5jtClC+FR5ikDvy5OX2E74pVkEgiFWJVSCmRS7FyySWCzTB8SksZMvSoDhBlXfRItpfy91yQeoIonMKjcIrowykShVN4HE6ROZwiUOoJp9TLHFJPEKWe8ij1sjrw5+bUE74rVkHqiVSIVSH1RC7FyqWeCDb1cC8VZcjQozpAlHrRXqosudcicyXi1yJjNQxw8bXIuAAHe+drkXEhF/j4tchY5YR17+C8CwVO3l3v4IRlBqVrunS26rdjHqW2LbAz5qU0t4V2x9ynvJUp8d3LSWGWDktCXRR4QBRfTtoW6Lo73dBtV7fpyK7CE8q3Q4CChXnibmGeqF2YJ0TL78T0FkFZ3tauxK7IL/vRrO25sDG4dOMWeBgQGaGAePWtiq6+leUBCEj26wlK2/UO5CjXGpBs11Nkt+spx+16SmW7niLdrqdMt+spy9v1lMh2PUHjdrrd1nWoZHtjqmXsJxrfSrkvRRS30tyXAoX7UigsSadIk05Z0Pj79fN9Y6u02cm3fX0sHdmXzRLS1ziEbe5vTyRL5f4WULD7MnG3+zJRu/syIcpLUGhfZmI5LwHZTZgbJPe32vqZadbMt1723CGyU4II8+Zx4jNnacos/SXoVyGUuxf8EpXXcBTxjgNV9N0cZUF/yu8+CFmZo7U98m3wLyPmaRVd2L3Wxpz8OH6tjUXvzO61Nubs0f61NhasW7vX2oiDb7vbAOaRg0e3ASyRl5duA1hmV3e3AczJ3zMHMxREHiic7F545IYieuMXidxfOE8BIrAVimAnA8E0I2ROg1uxmRsyDk7As4RwmiqU74hQMGmo5GcO0Wj6EM5ziAil6PFskjlMKYLIMoSzGWUBZhhBNM0Ij+YaEf2EIxLNOsLjqUdknn9EoElIOM1EmfN0lPnMR4MnJuE0OymPpqisBvNUlpa+NM9YwqNpS8TyfMATmPB4FhOZpzIRSilEk1rGK4/WASq0Opro3LvMeTaI32WOVZ76drzLHBcJpsH4XeZYdVNi4V3mWKbpMX6XOVRxqowfWMRqOG0WH1jEBXgK3fnAIi7kptP4gUWs8tRqVJxRrMCTiFV5srVqOKHYIsHEawvw9GtVNwlb2U0mVqYJ2Yo8LRuVHY1EO0XbnaNFYWek3aRN6jcjHU3gVCCYxm0Jnsyt6qZ0K+/uCze9GxUneSuwc1rVubXdqgrTpBV48rdquASwRYKFgC3AywGrFhYFtpBbGliZFwhW5WWCUd1iwaizUjzdwsGqvHwgNVxEmDLRUsIUWJY+6ZYVVg0XF7bIt2Zit9CwamG5YQu5RYeVdyczL0CMuCoJ66KwM2J+YTLoVyOHR3Ikz6MVyRshiuxzaeX4MFqpPIFWpE+UleljZGX52bESeYS/RWaXCiFqi9+lQjxqVbhLhSRqX7BLhQRuqdulQpja7Hd3RJxaX9jdEYlRHMq7OyKdIlLa3RGpHJt4d0ekUZR4o4OnFKFwo4OXouiUNjp4lSITb3TwGkcl2ujgFYqI2QVAiGLhdwEQj6IQ7gIgidof7AIggVvudgEQpjZHb8/HCkWg+PZ8LEfx2PX2fFyColN+ez7WOValt+djlSJnXxtnRtEKXhtnIYpQ/No4axSV6LVxVjgS/rVx5tR6+bsMpxGj1qtArVchar2qvvWqUetV4Narwq1XxbZeObW+/5H4U0+o5RlTuzOOWp013+asUIsz5vZmzq3N3LY1U9vSq76VH/TIvtV7ha0DFLzVe0WtAmrf6r0yrQFGb/VeQSuA2Ld6N2jzo/rbVxvTkf5oqyC7UFdBfyMrHdmN4gkFe8ETd9vAE7U7wBMKf+wqKbQtPDH7s1YJ2U3fG5Te/337Vg7lORAwCQIw+0QIBHwOBFie/gDTxzkA9ZVTgPmdU0DyOEeZvTfaEvOG8wbRZ5qgwfpLsMgKDcbnCsdA8YdgobT84qki/V1TZVEU5BHBsfTe5rnAkeTuxD70TIgeJW5Ya0/bBhFoS61t4+5tg+7lm3iUop6XG3ZkQS/zi9Mb5u+MN3Rpmr300VkGT3oTd493E7XPdBMKXwxPCj3iTSzojKV5mDvsPXTbhiF6KKA8HgHZn91VjsmpVJJQkSahMqkusL66QOT3dgWlp8zSHn20rMiml3LMLqWSXIo4t1TR1FImmaVIEkvQSOaBIRohIDt3DZ0NAndz1xBNEBDNXUNjgcDM3DVEA1SUR8ARkK3/ad+kZ15v5Ege9CmSB62AzAM/5W6Dx5CtDwrbDR5D43zA9DGpMDE+LaYPRIeVewo6rPyjz2FvfB/kFOJ7gGx3KsfuVCrdqYjyEhTtaGU5LwFJrwoSv9NORLvTzl7aI2t3w4LdDUO7G3q7GxbtbhjY3TCwu2Fod2t75Gu9drWrjUvW3iVr75J1wSXr0CVr75J14JJ14JK1c8nau2Tdu+SBtEdcElDwa5g1uSRQ+7uXdeCSoNAvXNbokoDsb1nWFX5RVlfu27G6cl+J1c4lgbsvv+rKfeNVV/5rrrry323VFX+hVVfuW6waXBIJfl9VV2aRWFd+kVhXfpFYO6M8Vu7WiDUbJZ7FrhHryq8R6ypYI9aV+xqprnCNWFdujVhXfo1YV2aNWFd+jVg7s0TBrxHryq8R68AvUeI1Yl35NWJd+TVi7T2zJs/U4CztkU/nZSF3l2HuLn3usmeCEmT1Msjqpc1qfEzfN889pmdOXhg/pmfRu6J7TM+c/dE/pmfBOqV7TE8cPNNtNmMeuWe02Ywl8tHSZjOW2VHdZjPm5K2Zj3xPs8sKJ6sVHuWsiD5xRaLsFc6JKgJnqwhxyrIbZ07jUrHx5YxxrAtjgxKBbVqFwKtF9IatUuDaIpJ1C2f/FsGZeFbYyTMHOxdEni6cjT0LbXA9Z/EihD4vamD2orHji1CwfdGd94vCE4AIPAtkgaeCzIP5IEvLABWGYDg9iFgeajxRCI9nC5FLI9HNGyLYkUjf5PUxib7JCySaRYrf5AW6n0uib/ICiWeU8Ju8QLPzSvRNnpdgdkFKEwxK0RyDup9mUKWZBqV4ssESPN+gRlMOSjTrgDQKs4TnHpRo+kEpGhao+5GBKg0OlHgAoMZjALXiMOA5CSSyB6OYmQkUtCDE7K6o8RRltGCWQt1PVEYN5irUabpCiWcs1NykBSLPWyDB1IWUZi+UeAIDrY0v76Yx1MKZDAsEkxnKPJ+hVpjSsIib1VDkiQ01nttA4+kNpGCGA3UZ0/JwD6c61HeOaZ7wUIrnPCyxY9S7mQ81M+qvO3Jd5a/srjF4h4L0D3RcYzgABX+K45qaD9T+0Y3roLmg0J/XuDbNA2b+kMZ4M+ikWZujB3sUfWE5lmWmRw8BCs8hW1M8eghQfI78183NWQQ+hDA809aStz/4f3M9zb/5v33B06hWakxaZKNGlFuACF+XAg7Jh1RtGHF+0QaQvEQBTF4tUHZb8R+825DuMtNmPk/PxgU2pgj84UtB9m9WCqbf/tmw2yq/Pn+bHVi01p+Z/Fa5/V2i28g+VRFjVKR/tTQj+gt0t9TV2+njoQ/HNjgPGA5A9hcKHtwkDNx9cf/A8QRsv89/MHMsMPod9wcT6Acf6IdCoB94PlNqw/9QDP+DnbSU2S558F1iRygGvfDOf6xSV+x65z8u4jtoxzv/cQnqttI7/7HMnenfvw/jxV286/37uIjv+ML797Eap0Pp/ftYpiQpvH+/VTeO9yLz8FP2YEDZgxGZM4KQf3lQUdsfbb/t3Rxt3gg/kCMN5OZobY9sZyTkwttilfurZASXyujVf3AdILqycH95Mx9BHQyHihj+WjjPusSpXlb0lYNJEaoGFCoG9DU8wzqmVCWUfIXyxAu1yQiqktGr/+A6QFQD4f7y9LYo1IIUqAwpr8WzrcsK1ZBlX1FZjUAVhUHlhL0Gn11HjKqigq9E/g1YqENGUIWMXv0H1wGi60d/5qmX0Ez6y2cEl8/o1X9wHSC6vHB3+byuKSxrrWy1hKbN7SLL2//3N4r4gepG2mbxePtH7yPNXDA45Sz+mGyRijR5DhJpdsnvS8zjeszt80yr5QuGWr7diFVTnajE82hcuKxugLI42gFmSmgKdtGV9f97IbII7hF/j0KYi/MvLBB2xcM9n6FIH+1js/37SseG2Bd5BMtfV7I42LcmGi79rGJ3qgmm3WfC6UUi4Wa/mVB5w9bgzW9zbd/azGToSO2J5K7F+MwvKS/QAdsLv/Sr7m26vOBSG5AdcC9uUQ3cvZn3wstnwPaFvRezUAamd5jCWnvk69wWKtiGFWx9TdzaVpWgjq19dfDFLF0FSX5vg9/NC5Xemacja/gJ2VfLEwoW9om7aSFRu4RPiJbkidF9fGLmN3wTsevxlUuoVYWPElaVe5SwMgkFKG5TE7YpeBaxMgmlKGgqP7JYmYRa+YRaFRJqFSbUyifUqphQqyChVj6hVj6hVj6hXk3wX33wX33wXwvBfw2D/xoH/9UH/zUI/msQ/LVLobVv2JqnKMJcPPgKxiv4oT/++/9jjgIE"
475,Xlt
vendor: 13,395 bytes, line 475
475="eJyNnV1320aWtf+KF6/mXcvpsWTJsnPnTtLdsdNx7ESGMb36gpZgmSNKcEhRCjNr/vsLgqhz9tlnFz03XsaziwDqVNWuDxSg/5l919/cdLd3s29n7/+5Wc+vukcnZ2fHZ49On5+dHs8ez/7W3979PL/phgS/LW669Tc/3s2Xi4udslkuUXnkyvxmsdyiNsCmW1x93l3nn93lYnMzkH36l7dXyyHdN0enfzkd2Ppviz+6y18WdxefZ9/erTbd49l3n+er+cVdt/q12/3+hz/uutvL7vJdfzO/ne7wr3/t/5h9+69vjp69ePzN8dHZ46MnR08eP3/+9N+PZ+dD4tVycdv90q8Xd4v+dnexJ09A+O3z4uL6tluvZ9+eDvx9t1qPyWZPnhz/5cmTJ8NFfu7vFhe77HzXf9mudjl59B8X/+/R0Yvnp493/56N/77Y/fviyfjv0/Hfs0cvL/uP3aNft+u77maI0e1Fv/rSr+Z33eVfHj16uVw+erc72/rRu27dre4Hug/mYv1o/uhuNb/sbuar60f9p0c/LW77u+2X7pt/dMOvXv790fz28j/71aPF8OP15uN6cbmYrxbd+i/D7f4wXOZycXv168XnbiyF8S5+vRt+Ml9dFnVI+N38yz+mgnl2+vTx7EM5Ojk5ejx7ub7YhXo1iM8H8fvOjscgz369u/xHM/v26fH43/fDf8+e7cvrn93danExBPRf/zNrPsy+Pd4F9ufhRtZf5kMc//fxHj99+nSPuz8ulvMb4yfHU/LfN/0QqY9LU06fTMrt5ubjrqCubrN22S+X85Xx5+UqX7rVxa6yF+Hs7PlemN8M0nqITr6z8Q7GEs/al/mqu112n2pS/Jnd3ny9O+P62pRnZ6fTr5abtVGL2cXQRuf5Ep+3Xz53tzn5kJVF7zk5LplcL+frz/lu/uxWfab9bZfh3YNIefd51Ym0n/rNStDFvUi7XvwhYHffibLtdExvF7eiWl30y/4243V3s4iSlcByZwOJdr9v5suMr1bd0JBFNn/fdOvRaoryolToud/7s6OjPXuZ0V8dPTvbo++82h4f79H3+Yc/ZPS3/MO/Z/SPHKYfvT2enOzRq3xfrz37p8/26Kfc9P6Zf/hzvok3+e5/yane5lTvchn8mu/rt3yu83yu9/num5zqQz59m9F/eVSH3mFEH4fO7Lq7C7ZhbfTjoMV2yr+LnnJS8jFfXywWF4vVxeYmh2KzM+310POIJjL6W7gZ96mMPuYqcSH8N6fqcl4/5R9eZfQ5/3CR0X/nK17nVMtc/iJawnSE7X0RrT4X2iqjdb4vEftNztB9bkIPOdUfGW3zTfzpqaxoh/rVUa08LbVyVUlPPdzJEdTGu8XyssuX3nf1l/2DiHPonb0nuBvHaV45jkr+P+0Ghuiz9put6js+LfvVQvB1VznLxWY1dOMXHsDjoxNoNuvFOHhNrb6MWnSzutosBuWmv9Mjh508nvgrcmVw8Wmh8i360WEoqIYDl/OrK9Wl7TkOxWjAsSu7btV52z899rHQ/Go1/wKmVn76cZhEdCKXHt6P8/WBCB9WKyGyAoj6c6uhy+Xiy3rhDXWYLnhW7z73mzBUTL1+qNtecKv5vfDf+cXmTo1cRiv/tOz+yBo1rIJv5hcrNdr5uOrUhS/7u/lFaHAuLYaCxACYssJm6Dc7TOmGEbcYom5ur+arzc1yvhGX6a+GUea1ON0c8+HFchNqrPGXPuY5PptqQL+6/DQM8sKo0IcnsYf10UfkL4p/vvELPD16Yhe4GVxus8QrmC/PRXd3uWvw67XovJaVkXkfuZ29F0PooW0O0+GhzotC+zGVp3fLsfp51x8rjXdLskT9dLHofGSU7sDG0JeL+8WlKKQ23pkPlkXL8NuOP/JRnviRd4/UBK2jHudd1EYgq/mUfr3QThynMPidU2Pw31RKaEM/8BlAuojPFwaDgAlInGBSRs+emTiteIhLkeX4mJDqgeUyxMVnAuoGvHnU6mh0VB/lq7P5NKp2tuiqEM7sk15DQjaBkyH60DVe/eRsusqy/7O7vRKXfxcv4TM4lUmvHAcbiRC9eXEvYiPZeCNQ1JRXn/vkyNllfvvcr0Su3tDVPQyVUvuVeLmry0rYzukCHrHYs4XFjfVmHOGsxP3GKuhRrPFoq2aCN5vl3eLLcivuizLolTwWR+n4hrHW3WK+vFx8+pTLaptt2JpgvI5X2EOV5YeD1exAr1OXLioFfVuzQa4x7ilzORr6kfoVXHobBgy4/mbTn1V/3d3iJMjMcdVdLdZx2OtNtDLw+lG0C5uJbIZWHeYiHmwaQFrDrESm56pu7bJSpf6LTPvkRRm4jqtccQ3McvnDnRihfFc1wKXyLW9uFZPpqr1jrRd8WRs+HKiVlQD/WWsatZt6UyuRWtdT89x17cr1Lv7NwWEJ21IZF3TLO7HYcxdM2gvpoT/giPUhzs1G5IT6cAuVHGd6W6DQ+yw1jnDOTtHHhwq8GiqyuLVf0wymKMtYI33VU/a/NsOIBffiebmN8kBHeWJ9PvZjZe74Y627/Im6vxKGIWif50tYeCttfDcziQ3ci+KQyd/GUZPXtK+UHw2DLAi17vkqeilmaCpVVah6EPqrHO5aBdYzHKtgg0uoxx09NS13Qn0Tm5j+5LRMsIdu80L57PeVsebq4Gj351g+fruV0e67w9VaXsustXLOl1WP1rOkN5WFwz8PjCd/qPX2dG1fHZZZsfFYGAj42Q42hXgLvrh78ErL/mpX3re9GMX3dS/dZKk05eFUlZZ8dXDO0N2Jhw5/Vqrv7cFufAh56iHc8mtt/IfN7kHkvx/PXner21/mi9Xu8fG/Zi93j6lnj795+uTfj6ejvXsEtL/PiCZPR/j33dGpHe1dJSDMGApvhqMTO8+bcguAoHIEbkUV6L79BxScJyhTyALbLw4FtG84iN6Go992OTqzI4sZoJh7E86Ho1M7z3nJPaCQe+CQe6Al94Ao96BY7oFN7Tqw0U6QvB+Ojp5YETbD4Qs7andJ/ciy5Ahv3SjsB8AAbYajY7vwppwNUAgQcLgK0BIgQBQgUCxAwCxAwKYAObkPWXsIR9t4lOOzzfGZEmF7NUSN1ji1XOfcfIsCbdgQNWTjsjUXFZq0IWrXxlXjNjG3cJOomRvXbd1kbvAmUKs3Tk2/8LcZgQkYIidwruygqOAJhsgYjCt3MDFbhEnkE8a1WZjMjmEC24YJ0TsKRgMpDFykoDa3APYT4/VGo5ylaGAvhshjjCujMTG7jUlkOca175jM5mMCO5AJ0YYKvs8RechoK1Al1MKfJptAfzJE/mSc/Mk5+1NRwJ8MkT8Zl/5UVPAnQ+RPxpU/mZj9ySTyJ+Pan0xmfzKB/Mk4+VPhbzMCfzJE/uRc+VNRwZ8MkT8ZV/5kYvYnk8ifjGt/Mpn9yQT2JxOiPxWM/lQY+FNBbW4B7E/G641G+VPRwJ8MkT8ZV/5kYvYnk8ifjGt/Mpn9yQT2JxOiPxV8nyPykNFWoEqohT9haNCkIieniiLZFYnsWUEG44qc3CuK0sJCEvCxyMnMoqgcLabIthZ18rYoaoOLadjlokpWF0XyuyC+rXBwvsjJ/khUHhiSgBFGTm4YRWWJMUX2xaiTOUZRO2RMwzYZVfbKqEbDDBq6ZhDAOgNvKy2UTTSKX2neyk5DAvDUyMlYo6jcNabIFht18tkoarONadhxo8q2G9XovUG7rwTyocK3NX6o1IQpO0FLRkqGjBLZcZDYjEEEK0ZKRoyStGFIACaMlCwYJWXAqGf7RZXMFyVtvZiCjRc1sl2UyHRBeispGC5SstsgKbOFBGC1SMloUVI2i3o2WVTJYlHSBosp2F5RY3NFLVorKGisgMFWgbayhbGlonSwaSo7BRnMFClZKUrKSFHPNooqmShK2kIxBRsoamyfqEXzBOVehuxB0q2m9XIRljnlHv3SEJmlcXJK52yTRQGPNEQGaVy6Y1HBGg2RLxpXpmhidkSTyA6Nay80mY3QBHJB42SBhb/NCMzPEDmfc2V7RQXPM0SGZ1y5nYnZ6kwinzOuTc5kdjgT2N5MiN5WMBpbYeBqBbW5BbCfGa83GuVkRQMbM0QeZlwZmInZvUwi6zKufctkNi0T2LFMiHZV8H2OyENGW4EqoRb+VO4VDcoZOZQLZFEgsEeZBCbljFzKBWlTJoNPOSOjckE5lavZqlwjr3JBm5Xr7FaukF25QH5lwlvBwLGckWWBoDzLZDAtZ+RaLijbcjX7lmtkXC5o53KdrcsV9i5XonkZR/cyCPZlrBUthA3MhQPNSlmYieBhzsjEXFAu5mq2MdfIx1zQRuY6O5krbGWuRC8zfi+C8yDYVrFa5IWhlRtDQ3NGhuYCGRoIbGgmgaE5I0NzQRqayWBozsjQXFCG5mo2NNfI0FzQhuY6G5orZGgukKGZ8FYwMDRnZGggKEMzGQzNGRmaC8rQXM2G5hoZmgva0FxnQ3OFDc2VaGjG0dAMgqEZa0ULYUNz4UCzUoZmIhiaMzI0F5ShuZoNzTUyNBe0obnOhuYKG5or0dCM34vgPAi2VawWeWFoq+n7JO5AhZCZFUxWZpiNbBLAxgohEytYWtgkgoEVQvZVsDKvomXrKgoZV8HatorKplU4WVbBZFgTfpsImFUhZFWGlVFNIthUIWRSBSuLKlo2qKKQPRWszamobE2FszEVHm1pomhKEwJLmkibajjbUcHVJqGsaJLAiAohGypYmVDRsgUVhQyoYG0/RWXzKZytp/BoPBO9T2F4SGSbiY6tsJupEaDfGCLDMU6O45wtpyjgOYbIdIxL1ykq2I4h8h3jynhMzM5jElmPce09JrP5mEDuY5zsp/C3GYEBGSIHcq4sqKjgQYbIhIwrFzIx25BJ5EPGtRGZzE5kAluRCdGLCkYzKgzcqKA2twD2I+P1RqMcqWhgSYbIk4wrUzIxu5JJZEvGtS+ZzMZkAjuTCdGaCr7PEXnIaCtQJdTZn/460Je7K/uRBdFR8RJAMaTOMZpOLZCOPEjOPD7OSmiclIbt6HyslHZUcgAo3C5wuF2g5XYBUZGDYhkBZhkBNmVkT76f4r733+8x7oCih3+f4g4cMgK0ZASQ3S4wu11g0+0CKXF39N689PvJBvyojUexF/me2v1EJ9PFyBii8BinGBlXgTIxR8skCplxjpsJHDwTYgQNUxgLf5/D0GTUCkShNS7iO77DGONbEMe3cI5v4TK+RRTxLRLHt/AU3yKk+BaB4lswx3fi73MYmoxagTi+haf4/m0K7dHRqR2aFwErIUUWDQoEdCjAZlHA3IkAuhUBLF4EqIQN2G6keeZHJSuASk4AhYwAh3wALdkAZLkAZpkANuUBSMmCo/0HLodMPTUUE3Q5U10Z+iHSmepkpuCF24BzXjuR107kdbGrYn5kFdJRHIw7xzrq1Ibgjnx47czuxFnvw7/x0LtaZ9TXuhA6W8fe2zpL3a1L0N86LJMAZFajnU1fMA0VYmWDofEoDp1GVCoEojAN2Auvpua/N4NX2PoBlSYDSMykXlHTBxrnT69CwwfmhedsajJA4iTp1dTon1p+5rFbeIWNHpDoDF5Rowcau4BXodEDI+N/BY0eSLT7V9Doj4108SiOcF9hm0eUR7ivqM0jhTYPOA58X4U2D4wGvq+mlgZH+Z77yg328gb7fCfcyEAR92hNDFAcib/CBuZoEwpnkyvUplJ7NrL2bHLt4fkYKKJebUS92oR69Xq2XwnZT33HoziLH5GYwI88zd1HGqftI5Iz9lGhyfrISvgBlfA76kIeuhjr11jREeXwv6aKjhQqOuBYKq9DRQdGsX89VfQTy0EfLfN1qujAkz++xooOSC4tvQ4VHVhcUHqNFd3RJh7lu95U7noj73qT75prNSjirjfk96+hVjvZxqN819t8d6Grw3ZBAjURUlVroSS54VACakOk6uZEibhlkUyNjFRqb1GFyk8CtUJSqUGyKtomJcnNlBPkFkspqPGSyu2YZG7SUe5rFYkbOqmq9VCSr1VVdgJSdfOiRNzSSCarIJVcI6qbqnAwMNJWKMnXAsNmQ+r/JTDJgkhmNyI5GlMUt1XhYGCyc/002y/tH/uRDfMAhZG8C7v1gv24fnfUhKM2pGzjsvOI0qLyjorl7J+mDD+1RJZLQNjE9xTfuT8mRJmsvHNPKmQX30cn1OYfcu7V++gkqTjga9iUR46Ieg17kmKVgOCQQCFiVQUqpoFwRaGpCW3tVBxAUnMYYwIVzNygZHw4sPUGNSWY7A4Da4hC6lwFs6gQxoKajNr8Qw6a8RyuIqlAFW2b88jBMZ7C8vNseoZyZkd2d47sGYqjOIFzjnlwahM4Rz5Nc+ZTSWflGYoTm7ntUWlSLwWivBinDBlXuTIxZ80kyp9xzqQJnFMTYnYNU57xYQMjynN62MBc5Vk9bGCJ8pwfNrDAeeaHDYw5z6GFv6wKnP+ochSiKmMRk4iIxAQcl6im6EQ5xSjKFKkoUrzKg9OXAlGMjFN0jKu4mJgjYhLFwjhHwQTOvwkx54Zjnt9M2d178BvMKaCSSUBxhuc8PXN+g7kC5HMzZ747wVnZmODEJmaGfrNR4BvsnBCFfsmFsUuyoyYcfQgp26D59gZHaUb7Bo12uttktMwp1tpoWcxRT0bLnOOfjZaFWBLJaIlDmaSxauKqdMJYNaImow/5h21OxcWmhq+TFF7nhgKMnEoxilSUUVTlGVPkQo06lWwUuXijymUc1VjQUaPSTh+eOBHR43I/9OEJleR9pVSaCv9QOU9bSc+1ov79hb0OL61CxUBK1QIlqhQoqSqBeq4QqFJ1QIkrA2pcFVCLFQEVqgb0MvxJihNXgfrL8DnBexn5RtIP8gytTMvFXntHfK+W1wChxA1RcRunsjauCtrEXMomUREb5/I1gQvXhFiyhqlY8R3fkxgGLtDKO76kvs/xbDL6kH/Y5lRcfPKV2L0U17iwCFmhkmSZCpRlVa6cJhcvp6BSZpkLm3Uuc9Zj0bNKNYBkqAisUH1IsqoWlOh9tcSaqvKhera2+huuOSznCmTvzEHVcUaVxgWqLi6oiuJqriKuUeVwgauFK1whXIlVwTlVgvDm7AlFhAu+9uYsy+9FdBvBPojftiIdF6p+wXSvldUdKE1DVJjGqSyNq6I0MZekSVSQxrkcTeBiNCGWomEqRFzNO4lh4CKsrOaR+j7Hs8noQ/5hm1Nx4akFvknCSfqUtTRJZ05lpyfpLOayS5N05lx2eZLOQiy7NEknDmWXXl1IXJUd7uuneDYZfcg/bHMqLju503+UfpmK7YUfld8CKoUFKJQTcLgC0FI6gKxggFmZAJuKA0gpCUe7zUbP/ajkAFDJAaCQA+CQA6AlB4AsB8AsB8CmHAApOXBE+yR3KCbocqbsyTUinalOZio8mAac89qJvHYir308yvfcV26wlzfY5zvhp8agiHu058OAcvB5U+LbGb7RMB7FNxpGJN5oGHl6o2Gk8Y2GEck3GkaF3mgYGb3RMLLwRsO7Gb4+Nh7F57UjEk+vR54e3o40PqcekXw4PSr0RHpk8fn8iOJD+XdTrOEo3/V55a7P5V2f57vmWIMi7vqcHp6/g1g7GV/Eel6OmnDUxiOrPY6wluxpWfiCMjREITGu4mJiDo5JFCHjOkwmc6xMoGI2TmVd+LlAlSzKojexnkWuBMYPZzFVBxO4TpgQKwYukVLBNhm1AlFlUeuhk1QeMkGNMUThNK7CaWIOp0kUTuM6nCZzOE2gGmOcakzh5wJVsihrjIn1LHKNMX44i6nGmMA1xoRYY/D9IyrYJqNWIKox6v2jIqWthOUm9FZCrcoAV7cS6gQc7INbCXWiFHi9lVCrXM+Cel4VDgZG17yY5GuBSbUwqv+XwOQaGeVUL6NMtTPtupFVqakJbVXgWlvddbNPMEy09hPMJ3YUZzkjsmmlI7HxdeRpLjTSuMV1RLRldWT00vbIwvvaI4n7VX+bmpzn502MwW+pcQGXAbFmBIiHla74sNKZvbfjyF7bMbSbmbw4tiObITqyGaKjOEN0jjNEpzZDdOQzRGc+Q3RWZohObIZo6KJfwirAnuxnXGcnhcRfdDmXNuFCFGqXc6xdQGHCBSexSufIK50zkfnP2y+fu9uQjUXIpr2rBoiWPnasD2ftc977SnH2sjj7XJw8cQNFFLRN3ADlUrWJm+d+FbK1yrmnl8n2SLxMthPW3c2i1JxnRjchzSZfYiMWsUae1q9GGpeuRsRb6V2h9ayRifLchFWsHXkIYdrGo5IHQLjLbk9xv9bkaGm/FnPyY71fi8XszGm/FnP26Lxfi4Xo1mm/FnHw7TTEZq4cXA2xWSIvrw2xWWZXT0Ns5uTvhYPJGyIfME52b1yZhInZKUwiuzDOzmACW6EJsTMwTN5ROHULjkPfULA4AfcSxqmrcC76CxNzp+FS7jlMo+7DOPchJtSix71J4YscIu5XjLMZFaHPl+NuxvihaiQ6HJMq1ajS9Zhcq2XcCRmv1Cbujgpf5Whwx2SceifnqosqquinirTJqbnHMq66LRNz32USdWDGdS9mMndlJtSqEHVqBT/kiG8Foj7OuOjo0ibd0hvoTbpa5a7vwCZdnUR0g3qTrlZTl1jZpKtl6h71Jl2pYlepVxW0KrvN6qqCTsBd6MFVBZ0odad6VUGr3LUGFTvYKLAPRpU726hKr4xJhGPGBOybUU32GOXUmUSZOuQospEGlTtnEmMXnV4FladM3bV+FbSiqq67+ipoJYHoxvWroPr3qUuvvAoqz52696AuaqFOXX1Uk1vHdzBrN5M6/6h+vVqrgUBMcLBa1wYFMdHhup8GCFE9WLvTYCGoq1o808Ahqjx8IFUOIkIaNZSIr47WfpmGFVGVg4uYRAwxYgIeaES1MtyIidKgI8qHKzMPQIL4UCvLbVXgIUn99b8xwfk0GtkvzZ7jEARQ/L7NeRpsAE+L0ec4rABEK8rnYQABLKwdn+NQwVFx7v0HSs5n6ZslZZEd85re0WBOudbvaLCY85/e0WDOkcjvaLAQY5Le0SBO0SmYQ5RehZhOo1+FkCJF7MCrEDJFjp1+FUKKHMXKqxBSjfHUr0IokSIbNA4vvU4wnU69TiAkCmz1dQKh56Cq1wmExAGVrxMILQZTvU6QJQokKBxG3KA/nSdt0GdO0dMb9FnMcUsb9JlzxPIGfRZirNIGfeIUpYI5RGIf/HSi2j74ikxxO7gPvpImR7G2D74ic0yr++AreoxwbR+8linepHLYw+7x6YR593gSKMiV3eNJzYHNu8eTwMEUu8eTEgOYd4+zQEEzzuGyv+cA4XJG4XKBwuWCCperOVyuUbhc4HC5wuFyJYbLOYXLBAqXcQ7X9DV6CFYhFKqCKVAFqzAVLQepKBSigjlAhXN4Co/BKZRCM2EKzEQpLO+nkDx7YkclHIBKKACFMACHEAAt2QdkWQdm2QY2ZRlIya6j3fLWUz8qOQAUPxnlPH23YqT26SdH/DU9V/xLUM7KHBSQfZLR0Li3+OjIDm0pDph/FdcZfRXXBVyKA+xfxXUGX8V1CF/FdWhfxXXkX8U1Fqen76H6HR2/KIh+04kM23JPYJUMhy/NAoX1HExtn5p15J+adaaiYKs0p5a/3dLMfo44HsVp44hinXOe5pAjtTrnyGuWM/8QrrE+3msvwtrXQtjrOtOLOpM+PwuSqk7++Vlgour4Tm+vKbji4RndxKMc8rigARwrilOrEI4oj6B4VXEmCqMsR+xJE+y1yfbaZHttKvbaSHttsr02wl4bYa9Nstcm22sz2eu+u2jQXgGJr642ZK9A41dXG2GvoNBXVxu0V0Dxq6vNDJf2m1laz29maRG/Sd4KPK1rNrO0Rt/M8sJ8M8ur8c2Ml+CbWVp3b5KpNmCqnib+osu5pAX0Jhkq8LRU3rCfQuK4KN7M8kp4M8vL3w266f6DU80MF7qbWVrdbmZ5SbuZ4Tp2M0uL102yPeCyOPtcnHpBupnlVehmlpaem1lab27Q7xzlBd5mhqu6zSwt5TbJ7oCnRdtmllZqG2F3oNCabDPLC7HNjFdfd2RcWTXr8OVUR2jGI21n+ES3RZcEFJ/dtsklgaentC26JCB6HtsGlwQWnry26JKOxmesp3ZkvbCj2Ak7xz7YqXXBjrgHdsU7YGfW/zqy7teQu0mbXbLNLtlWXLKVLtlml2yFS7bCJdvkkm12yTa5ZJtcsg0u2WaXbLNLthWXbKVLttol2+ySrXDJVrhkO0tPBtsZjjnbWRpzjkiMOUeexpwjjWPOEdGYs53lMWcbrLfN1ttWrLeV1ttm622r1tsK622z9bbZettsva203nayXk+zydnbVLK3kdnb5Oyx9YIisrcR9WMTGwc+oJlMKT2gYU6Wqh/QsJjNNT2gYc42mx/QsBANNz2gIQ7Wm17PY65MWL2exxLZce31PJbZmNPreczJoguf55JmszZOjm1c1VkTc8U1iWqvca6oJnBtNUFXWTZ1f+4W2iU/jqPU4gRs9MbJ7Z0fiJDwfZey+ZtGPYBx7gZMqEWPO4TCFwJR12Bc9Q8m5k7CJOopjHN3YQL3GUXoc7649zB+qDREP2JSpb5WehSTa9WZ+xbjlWrLvUzhoqsp0ian5k7H+KGoiO7HpEpUKh2RybWopC7JhNjI+StwTxKl3kl+BS5Lqo+qfQUuq9RT6a/AZY37K/UVuKxQrwUSdFxIqe9CSXVfqOceDFXqxFDS/Rim4K4MNerNUKIODaS5rCXcraFEPRtKqlmgnlsGqtQ4UOIGgBq3AdSqzYC7u/AYP9iDeMCff6PPxF0fStT7BelwFEUfGNTcDaJMPSFK3BmidiDI3CWCtNCUOkaUVN+Ieu4eUaUeEiXuJFHjfhK0XmaZe0uUvlJ6os9Etd4GKj0npjjQSrj/RKneFLgXBUl0pKBu5G+4O0XpK2ETnSqq9bBVulZMcSBsqYNFLZjL4Asz/+bMeGTPDR3FjaaTUDrtK4HoHMbliabEeCJDdCLj8kRhD9hVjdMpoyjPC9G70pTOiZI8Y9k+dCUQncu4PJFt8bhSjE7lgjyX7X+4UozO5YI817Rl4CoTOk/B8izlQ2dXAtF5jKsTfURTODHkf/L8IzZzQPHhlHN8OOXUHk45kn/Z/GNovsDo75l/hOa6Jxe7jssGRLuj66Bdx9xPgs0C/ZcFXedU+hz2TqGfo6DrnKpyjmEMsFzO6SwGr1VKfab9iGb/J0guPy7LXyE5OskyabgKcGTEd8aEugUo3oYL/gj6tKD7cPQQjrwe7Y78z6SMR3HzyYjSJpMyOONMoBufEKLsVNyYVM5Y4fcZPWQE+Sxom/PAOTaes83v8h5FDNk2RNk2LrOdXvqcMlT4fUYPGUG28d1FygNnW767OElqy/OR0DAAsruTog6F3EpdcorifYU/VDiGB/m2kuEUqCDmaIlJz1FSIFKqCxeSjJIab055Bule0gdJITpAtzJ7HBmURFx8cpUCAxJGBjGHBjUdG0iRggPavcYPGmN8AG91PlOEUMsh4n3eRxFDaNJAjbkMSdowPmWw8PuMHjKCEBS0zXngrBvP2U5bh4+IQ8bzuDIJMut5G/KUKxPuBXsQDLJvbCsywwFwIUcg7QY+Ig4RyKPhJMgI5J3FU85MuBfsQTCIgLGtyAxHwIUUgU8p7zsyNJdlt17vlkKeGfw0K+9C744Wdi/jEQ1eP+XsfqIx2X4KepWuvyNdPLJlTUe23RNQ/obryHFlEyhu9nQcP+06IvqA68joA65xtiNmOtVZzlUOVPkpx6XgTiCKkHEKk3MRKxNzwFzKUTONQmec42cCBzEvBVxVlgKuDi4FmMqB1W+dTz/Kb51rgUJdeeu8ooqw1986ryTIRVB561yrXBy1t86lfFUVqIBIlcVUeYd6X1jXoRCuc+Svc7ivKzG+loG91tG8ziG8FnG7FsHasT4e5XvuKzfYyxvs852k/dSuiHv03dSO7MmKoW08yne9zXdXazAs0MkONpikilh9rcGkBLmIDzYYVjmohxsMyX1VOBgWWUnqn0zQCQ5mq1KLap9M0DLVrconE6S6rQoHA5PrYRlC7kdbt7hSMSGcxRcUTgpCWUl01Afb67PX9TWD68vQbn+Ul8z7tEjDXJ42LMbsUWXxuz+0+N1/ffG7zxP+PZeL4r2aUQtJXomnzXual8r7ylJ5f3CpvA8zrT2it0qv6gpdiWV5QUoE1xWr9n1t1b4/vGrfx0nUnpU/7nIlEJ3duDx5UeHceU2+r6zJ9wfX5HtsZ3tU+v/aum7USRzZsvt0V/T9/8vrQviTmb/EGPEQyfmd1uIlxTlX+nf2gRellZ5PanHdO6dYmz9FXC6otHJBqZU1d62KeW1M8WV+0VVis/vJ0/yTu3hSkcLrxhDe/VuPp3YUt7qMyCqgI7HrZeRpt8tI4y6XEdHelZF5j++svO3oJG5f2aGLWXlzZTyySbqjUkKIrGAAlpnLPtqrqVJ7AqvLjuKVunzxLl88Dr+A4zICUBhoAbYNDo58Y4Mzi6qzq3hUyhcQ1SETbH/HsdWf3UjsxMrChl+A4hvaziG3QO3NbEf8QXdX/H1tZ/ZNe0f2QrYhnxV5Wf8esuojoRUaAKA4xF7F5o5QGHVxMGx+aR8xc2qIeh8xi7lJpn3EzLlx5n3ELMRmmvYRE4cGa4gajnFqPc65/aZHeFPBFn6Zk3Jzxp3LjCr3x61b71xmMbdzuXOZNWrxeecyC9z2cajMiFygMlQmlf0AdxWfxEJnZ9C7ilnMHpF2FTPXbpF3FbNAvpF2FRNPDlKE33OYwEsMkaEYJ1dxztbiivIX/GL11PzSF6uZk7/oL1azmP0lfbGaOftL/mI1C9Ff0heriYO/GKL2a5zar3P2l/SsfCr2wi9zUvYX/EY2o8r9sb/ob2SzmP1FfiObNfKX/I1sFthfcOMAI/KXysYBUtlf8EPZJ7HQ2V/0h7JZzP6SPpTNXPtL/lA2C+Qv6UPZxJO/FOH3HCbwF0PkL8bJX5yzv7gi/SWs9KDLRIG9JqrsOFGVvhOTCPeJCdiDopqcKMrJj6JMrhRF9qb4jATKMArsA1FlNyA1eZZ+MFMqVFAvaz9LLpbWp7VwMCfJ1w6sT+skwuPq69M6BftdZX1ay8n70gMdLbAPHnqgI9MkT0wL4yeqyiV/PLAwrpMIr9QL41qt+GZlYVzL7KF6YVyq2U+D/Hst3OitUWCHjSr7LKnJbUkXnjstBo2vbe03DBixW4nY7DVi8RV509BQoxK/G2+YvgVv3L0z8mKakcaPwhf8WyYWVsIxXkHc/UG2/R+tLWT3l9hOQkx3f4LtLKSxv71GGAK0V+7BWvcvjdxjddujh5ToISfaQqL9Bzy2mGhCPNElzMnF9r2s4I/+/b//H63X5Vs="
475,Qlt=
vendor: 12,510 bytes, line 475
475"eJyFnVtzG0mOhf+Kgk+7Ee5ZSdbN/aa+ebzuMdvupmjORD9QUlnmmmJpSMoSZ2L++9YNwMEBkn5xuL6TdUkkgLxUFvXv0Y/1/X212o6+H1397XEzv6sOTl6+Onx1cHry6uXJ6MXol3q1fTe/r5oCfyzuq813H+r7+aoVHpdLFA5UmN8vljuUGjitFnef27tIqTfb+XJxc7m6WzbFDpvjzS+L5+r2t8X25vPo++36sXox+vHzfD2/2Vbr36v21J+ft9XqtrrVGzWP9sMP9fPo+398d3R28eK746OLF0eHh4cvLl5d/PliNGkKr5eLVfVbvVlsF/Vq9P13jQzCH58XN19W1WYz+v604VfVetMVGx0eHv+luVBzk3f1dnHT1uTH+mG3bitx8F83/31w9Ori9EX773n376v231eH3b8vu3/PDy5v6+vq4PfdZlvdbw7erG7q9UO9nm+r278cHFwulwcf2qs1dqs21fprQ3szLjYH84Pten5b3c/XXw7qTwe/Llb1dvdQfffXqjnr8vXBfHX7P/X6YNGcvHm83ixuF/P1otr8pXncn5vb3C5Wd7/ffK66Buie4vdtc8p8fStqU/DH+cNfhzY5Ozt+MfooRyetJS43N62p14148fLF6KdKjxsjn78Y/b69/et09P3xRfffq+a/Fyd9e/2t2q4XN41B//Hv0fRjU6S93LvmQTYP88aO/3nR45cvX/a4er5Zzu+Vnxxe9Pyfj3VjqeulKqeHw4VWj/fXbUPdraJ2Wy+X87XyC7nLQ7W+ab1chPPz4Tbz+0baNNaJT9Y9QdfiUXuYr6vVsvpUkvxp+njzTXvFzRdTzk6Gs5aPG6Vqs5smOOfxFp93D5+rVSzeVGVRW02OpZKb5XzzOT7Nv6p1HWm9qiLcPiUlt5/XVVL2U/24Tujia1J2s3hOYPW1Stq2ym26WsADa5Vv6mW9SixR3S+8pC2wbNNAoNU/H+fLiO/WVRPIVs2TkxNxmmrTpRpRXh0fDW0P3nd83LNLRWdn5z36IaIf44k/Wamj4fo/21OenvXol3ji64j+Gh3sjaEmtXXof+OJb+ND/GqhJyf+LZ74LqJxfPrfYqn30Tgf4om/x+f6I15rEtGVtZq05zSW+hjRLN7x79Gq101n9qXaurShnnndaD5O+TyfU07OXklOuVksbhbrm0fLohocj23S3jQ9T5J5u/zmHka9eB6vdB1L3ST5N5ZK7vwpnngX0edopEVE/xdP/BJLWQhr5k+slSSdJO09RPTPWEfLDRpCm/hcST57jOhr9LinWCrJpLvYHP8ydHFo/uUd4VhbHTpTX556uJMj8MbtYnlb7Opv66fEzq53tp5g243TzDmOJOw/tQNDzLNW56zv+LSs14uEb6rCVW4e1003fmMGPJLad2GzWXQD1yT996MWZ01z8sdFo9zX23zk0Mrdhb8hk+kl7X1aJCwZPzUDuXQ4cDu/u6uSnrvnOBSjAUfbdtW6gtg/tbHQ/G49f4CkJqdeN9OHKqmlmfd6vtlj4f1qYfylDeD1bs7Q22a5XDxsFptEauq6/Vw/urFi6Padc1vLredfk3iY3zxuE9zn8k/L6jlqhci6n9+s6+TG1+squ/FtvZ3fuIgzadG0JBrAEhrGoT1sdduYNBujPq7u5uvH++X8MblNfdcMM78kl5tjPaBd7p3P6uDi0kY9x+eDz9fr20/NMM+NC22A4vtYG394rjcY2w1eHh3qDe6bPPe4dHeQzDRPRqO3bchvNkn3tSyMzevCc9bJILqJzmZC3Hh90mpvQoNax+z9zzp/7zXWMaVNapfzbWdjo/AEOoq+XXxdgDvbKf7JbLichIY9duGkSXKSdRYUg9pVdzMvChKoaryk3c8FiuFyQ8wpGuwc/3TWEnSCzQHCTWzG0GQImIL4KSZV9PxMxWHNI7kV5RwbFXo/sFrmdnmXPYCFR8lHfUq1cX52NZtIla7m0yqYMyZK8xBXTeCUEW3wSnc/H+6yrP9Vre6STPKhEFGvs0qac+wNkn2ee1nqRtaFJr3hutrsJ1pOxyR/fK7XSa3GdHczA0WBTvOIX0iyLZhtQjcwi/muzS1vbB67Mc46eV7vgmbFEqe0Kknw/nG5XTwsd8lz+QqCk/vmkI6vGW1tF/Pl7eJTMsHalVPDO38fc9jEWSw29rrZnl6nLN0U0t2qlAapQSGnzFM/fkMXwsW3ZsCAK3A6AVrXX6oVToM0Oa6ru8XGD3wtRAsjrzcxLs50LvLYRLWbjZixCyPIdcEyNceSxmXBpf7uLXZ68kpGrt06l18F01r+vLURiiXZYgJcZnnr5fHgvdtCkqmKvWNJuCwNH/Z4pTewzZZLoVG697jUIqWuh3Ou9iOlO5fjeLx3WMI9powLquU2We7ZuiRtOfGp3pMR40hPzrt/TGrin8hMlY4zLRbI9DZP9SOc81PM440DrxtHhkfTbiRMYaRtloWO5G06yNAZhm+4V7JuoK90spxYnpC9KYT+m1KI/0pPLWZojPZ5voSeQWK8nZnQMrc2xb6x88qPmszTvtF+hUioSt3znc+lWKGhVbNG9fnMeDbcVQfOZzjqYE2WyF541BRalgnn+XiDks2pZvPbxU2WZ38q9GfrvbV559vHHpdGuzbc3OvWe+91WfCFy2KOzmcDY38dy8NJv2kjkUJvX0oUX9Lxs47H3EDArrY3FPwj2PLu3jst67u2vVd1Moqvy7n0MUoSys2lCpF8t3fOUEFHbjYvuO8q7cbh9WHoISzll2L858f2VeSfL0Zvq/Xqt/li3b5A/sfosn1RPXrx3cnhny+Goz57ONQ/p0dDTkf42h/1WcUhrBgK4+bo9FSP5BEAgXM4rk3laB//DrnM45TBZI71i0MO9YGD6L07+qM5Ojo60kMxmmOu/qBM3KUm0QCTggEmqQEm0QCTogEmiQFk6OdYl1GQXLWVeKmH0+bwlbbprBUPVZxJnZDBwwOGfQHOSF+bw/MTOXpq73YsRzt/JDcDBPca6FAIA0ARRYFyCgXjHA+ivE4QRYbyNDxEhRhRRH6iPHMWFaPHqERuozz3HZXZgVSgMFJOsST8fUQYVco4tExI40vkSbw8R5ryfRZMYk6lggUL0adyyYIhDlXwwSgYI1IYhKUgjE1lHKAqJFEqWhqqIkK8CoKgFbRLEIWv8hjDQyhhDCuiGFZOMWycY1iU1wmiGFaexrCoEMOKyAOVZx6oYvRAlcgDleceqDJ7oAoUw8ophoW/jwhjWBnHsAlpDIs8iZfnGFa+z4JJDKtUsGAhhlUuWTDEsAo+hgVjDAuDGBaEMayMY1iFJIZFS2NYRIhhQRDDgnYJohhWHmMY2wkD2XOKZi9SSJPIce3k1yVOEe7FNMxdEYh1z8ldvZj5rC8RHdfr5L1ezF3Yl2E/9iqlAy9STnDi+wLH7OAFThGkpnnClZkUbskZw4vfbIIkd3h9XxMUsogvs7cJQj7xqk8qTsPM4gRIL45jjvECJxqvJtnGFUhTjisBecdxSD6O70qc0pAXYy4ygpkIKeUhlCgLOYlzEIivc0r5B6U0+0AByD1Iye1Rypwe9ejyqJLDo5S7O5ZgZ0eNsg1KlGtAep9SzDOIOcs4Lc0xUGKS3orzC0rfMHSSW1AtG7qQV7DEHkOHnIKazyigYD4BDNkEKOYSxJxJUEvyCMhpFgEdcghQyCBAdzml7IFSzB1D42DiUERZQzmlDOOcL0R5nSDKFMrTNCEq5AhF5LfKM6dVMXqsSuSuynNfVZkdVQVKB8opFwh/HxFmAWWcAkxI41/kSbw8R77yfRZMYl6lggUL0a5yyYIhzlXwQS4YI1wYhLcgjG1lHNgqJFEtWhrSIkI8C4JgFrRLEIWx8hjDYjgMYmMUxSZQGIPAcazS64xRJJuQhrLKEMvGyBVNyHzR1OiMppE3mpC7o+nsj6ZQSJtAMa3C+4RhVBvksAYljWvVJ8ktOLJN2GvOJLZNK5mzEN2mF80Z4tsUH+DKMcIVQogrwxg3yEFuShLlKqZhrirEuTIIdGW7jFGomxBjXWyFsW6MYt0EinUQONZVep0xinUT0lhXGWLdGDmnCZlzmhqd0zRyThNy5zSdndMUinUTKNZVeJ8wjHWDHOugpLGu+iS5Bce6CXvNmcS6aSVzFmLd9KI5Q6yb4mNdOca6Qoh1ZRjrBjnWTUliXcU01lWFWFfWxvopheguY9pMLGBD9Np6+CjbAkoIxblginLFHOOD8DoSim/BaXQPIsS2EHJFwZkjihbdUBRyQsG5C4rKDiicolkwxfKA3weCcSyIo1h5GsODOgmX5vgVvMdoSeyKkhutELeiFowWYla4j9iBYrwOCKJ1IBirgjhShSdxOkhplA4axOhAoDceyC4S6okFx3548BgMTkUUncopPI1zfIryOkEUocrTEBUVYlQR+ZvyzOFUjB6nErmc8tznVGanU4FCVTnFqvD3EWG0KuNwNSGNV5En8fIcscr3WTCJWZUKFixErcolC4a4VcEHrmCMXGEQuoIwdpVx8KqQRK9oafiKCPErCAJY0C5BFMLKQwz/0NDL5qivcnck5wKSeAPk2hc43AGotCogbTFg2ljAhnYCIs5vaNJZVo+sIRS5xwXumkapPC4g8j9QtCLAtCLAhor05KfB7id25DPmT2h3QK4iwKEiQKUigPRxgenjAhseF4jY3dCVO2rj5KUezTS4fsLgABSywLCb11lGEZlHOdlIeWYoFaO1VCKTKWe7qcDGU8FbUDGZUfhVRGBQQbNoLDat8sS+3XcA3r6C2L7C2b7CU/uKmNhXJLav8GBfEYJ9RSD7Cmb7DvwqIrTvgGbRWMG+woN9fxlM2+fsX9CqgMSggJwtgcMdgIoFAanxgKndgA0mAyLWMtSOwY60PnNNpoakBoB8fjWO+dWo5ldDlkWNWRY1JlnUiNTAUP/jUC++uzgUUju9jnWqCxWo0wrUsQI1dxCmJFWrZWAHKNZj+NUqqcj/Du51ZkdSEUDSOIBc3YBD3YBK3QBpDYBp4wAbGgeIVKpHb0f9MPylHelow5AfWhjHoYVRHVoYoqYAxQYdxqQpAOkIQ1F7dHyqR/LUgGRMjQgrAhwqglQ/5HBY6gdIawFMm8NYrWOkt+j0gJJB3FtyeqB+EPc2cXpQaHj3Fp0ekB/LtehRQ6A78qHaoSRUOx5CtaM+VDuUhmqnUKh2jLJQx1wWasnOWX4X/WMXG91NtjAuSKAQITWLFioSA4cKUAyRmocTFeLIIpmCjFSKN69WJYtxFJJKAclqEptU5FstlkUslaDgJZXjmGQOaS9DdJNAgU5qFvNUJIY/FaBMQGqeFKgQ5weSKVWQSlnDq5BASKBcQmqWVqhIzDBUgJINqXneoUKcgkjmbESyT0xe3JVcidMVqSEOfh3160r9EkJ3JMGGyK0lmdAtsRweyuFUB5+/jmRhRUVYUzHm5uyK3UqK3a17/6BPvfNj+V+pegPFb1iGK4VPWALPauu+7hgeFb/uGOrtv+7wxYIF8q87vJbZAj/boHqyVbLPNgZJJpfZHUTbxeJ8B+XJHZzzQROQQA3BatYcvgw2ilegabwwK54SmonkpLF8idSgIXxTGwXjFsN3KDAkVzSuIjKr8cygoqIphYERBc2SYsFwKiQmEy0zlmi7WE82kPJgmncjXA7tjnxv2iG/HNqhpFfteOhKO+r7zw5Rf9gxWg7tmFsO7YjvDN9J8F4miOqinCqkPKuVirFqKlH9lHMlVeCaquCrq5jqjOuGjKjOYd2QeVbnbN2QJapzXDdkgevM64aMuc4uyi+LAtffq2wFr6a28EUSi/gCbBevBut4OdjIy2QpL5K95B3IZYLIRsrJOsozu6gYLaIS2UI5W0EFrr8KvuaKfZ3HrrrjWNNxrOS4UL9xWrVxrNU4qdA4qcs4VGOc16DtpfqF2zF2UIiS177joVs61aOpu+pHV3LmStqKryHsKnoaE+24kGjHhUQ73pdox+VEOy4k2nEp0Y5LiXacJ9pxIdEqhzYJI+PAs9bBkTHZcxpv9zGeOIsncrNlI+VBcl8TQQN6Tq3oRWpKL2bt6UvERvU6tawXuXm9ym3sVd/QXqPWDp/7nSTW43bf97FfVuSq0CrTwnN8LFxnVrgOe0Xxg7dBh09FwDGQklugRE6BUuYSqEeHQJXcASV2BtTYFVDzjoAKuQF9i3US7MQuUP4SKxa4Si0/Te/+Mb3CLL0CN3vh66RBlQ8LoMUVUXMrp7ZWnjW0irGVVaImVs7tqwI3rgq+ZRVTs+KXNSfeDNyghe9qSL2K9pzG232MJ87iidx82Tcog+RX1bAJWaGWZJkalOWsXblMbF4uQa3MMjc269zmrPumZ5U8gGRwBFbIH4KcuQUVuiq22LT4RB+LV5sVr8aew3J0IP3UAFzHGDmNCeQuJmSOYmp0EdPIOUxgtzCFHcIU7wrGyQnctzgnZBFu+NKXOCxfJdadJvf8mJw7S87lRk2/Vhk0Wd2B1lREjamc2lJ51pQqxpZUiRpSObejCtyMKvhWVEyNiCt6J94M3ISFFT1Sr6I9p/F2H+OJs3giN162wjdIcZI+LkzSx4VJ+njfJH1cnqSPC5P0cWmSPi5N0sf5JH1cmqTjTt0TbwZuu8I+XVKvoj2n8XYf44mzeCK3XbantZd+G5qtX479DVsMkDQWINdOwMNe1d+wdQBpwwDTNgE2NAcQaQlDtvmpO/JvDDvkNz91KHlz2PHwurCj/h1hh+idX8foRV/H3Nu9jvhNQy2SzU/DZuIW6T6igb0f4ZbZ7shvme1QsmW242HLbEf9ltkOpVtmO4W2zHaMtsx2zG2Z/TDqN0mc2JHfs9ihZFtix8OOxI76zYgdoqcGhXYodkzeUwPy+w8/DJF9ZkcS1IhcPJswcdeZxPpOCvWdpPWdxPpyK4GS1HdCmzE/QCsZaRPQhR61uad/u/JhyDFndqQb2AzhrrSeykIOtL4iMonyzC4qRuOoRBZSnptJZbaVCuQgyslLcGHtjBD5S2FhjdRJvDa7j/J9tkocSaWCrQoupXLJVsG5VPAehmuHFx6Br+FCIfkRe122UDhI8vYFXE8RmVN5Zk4VozlVInMqz82pMptTBXI95eR6wsH1FJHrGc9cT9RJvDa7nvJ9tkpcT6WCrQqup3LJVsH1VPCuh5v1LzwC18PN+uRH7HrZZn2RwvZAeYh8e2CupgYubg/MC7Cx924PzAsFw+fbA3OVHTbsEDlLBXbefTtE0jKT0j2DO3v12zbPXNsX2Gvzkpv7QvttHl3ey+T4YevMRSZgEISdM6lfh4Ao7pvpC/wxGqYZL/VIpxmGdJphyE8zjOM0w6hOMwzZNMOYTTOMyTTDiE4zFLXRfHShRzr6NuRH38Zx9G1UR9+GePRtio2+jen3CIZ0aqHIvqnojuSpAYndAbmKAA8R0FHv9h0iN+6Y2h0uONgdiM8bLer/wrVMWXvST5f6rUotac84V103GQOSxILIfcFjPGy97ilsHIbC+mGPIdpW3TH7sEfZ8HfPZSbbosVIpvzdkV896RCtW7SsdgasYwvXhebEPcNApUaAyC9B0boCE78EJK1qSOe31ohrV611rP1aGhGR6xJMsL+NLtmtpe0+4xM70i7BkO8HjKPrG1XXN8Rp3hQLCmOW0I1JFlfy5Cy380exvXexXXGz1ZDRwmYr5pSP881WLMbMHDZbMeccHTdbseCzddhsRRzydpgGMM8yeDYNYIlyeWkawDJn9TANYE75Xfg8tjRneuWU7pVnSULFmPhVouyvnLsAFbgfUMF3BoqpRxBO3YJh1zcIhhStiHoJ5dRVGI9f7ZgYOw2TYs+hGnUfyrkPUYE7EhG4NxEOXYoiyqzKuXMRoY6twt2M8n1ulHQ4KlGvozzvelTm/kcF6oSUU08knLsj4etoDe6YlFPvZDzrokRN+imRoLNSRD2W8qzbUjH2XSpRB6Y878VU5q5MBe7PVPCdmuCn2BK7BBWcLevowg5b6Q3yHba5yl3fnh22eZGkG8x32OZq6BILO2xzmbrHfIdtqmJXmS9Y5GrabRYXLPIC3IXuXbDIC4XuNF+wyFXuWp06L3lY6Ga9yp2tV9Nc6YskHa8vwN2vV0Mn7OXQFXuZOmQvcrfsVO6cSfRdtP+CEro2L3B37VXutEnNum5fJOnAqUDSjfsS/pNcVu33HlI5dOxODt27U7GT9wL3VV4NHb7/ZLPU9qHz9+q33TobCPgCPBzwamFQ4AuFoYGXeYDgVR4mODUMFpy6LtkzDBy8ysMHUtNBhCuTDSVcARxQeIGHFV5NBxe+SDLE8AV4oOHVwnDDFwqDDi+HoYeXaQDixKdSS++Kwt4QiAOTyTAaObEjvx49wXEHoGRdekIjDKC+N5i4sQQwWkaewKgBiM/wsn6O1QjfTjCnCuXfTrAYqxa+nWDOlYzfTrDgqxu+nRh4+OYg5VT7/JuDVMzsUPzmINXJIoVvDlKVbZN+c5BqZCXafp9QslC2/T6RMusUtt8nKlkm3X6faGyVZPt9opBFcG86I7JF2JvOPLNCtjedJap/3JvOAtec96Yzpjone7oLClmgtKe7IGf22LOnu1CCrFPc013Q2VaFPd0FlSznNjMHRtaKm5mDkFko3cwcNLJKspk5KGyJsJk5cKq9/pL0Zcao9iZQ7U3Iam9qrL1pVHsTuPamcO1N8bU3TrUffqn3MhKquWCqt+Cs1qLFOotCNRbM9RXOtRXu6yrU1/RqqOXwS61XWEVkulcTmF9fAAFXFQDrWgIwWxwAaBsYAcoORkC6OGCs/Y3jIzvyW0w75IfsJoydTWgvSIeSxux4aMiO+kbsULrXoFOoaTvmd3J0KLYd7E/tDrXtgKkRgPm3rMbxdxKN6nq4IZs3G7N2gztJuwHSX0pUJBOkfurWk2Hz7fErQVSHKqmrLTgAyqtapVV16wl44WiCKjFBlZlAVwmGH99oWbs2cGZHunXDkP9ZLeP4G0JG9eexDNlvYhmjnxpsWe2NbL/oCMxHOgg4ozKqywSGeKUQrmErAsZ0URDK6eRfke3GtmI43TZvaufY5xrqOrEG5L3EOHqJUfUGQ1RDUMxPjNm6kjH5SdGOTCUx9603dYkZmAY3MGouEzAxA9bEDMwSM0DzboAS4IA0MRvrFrHtyO+Sn4b0Cjzskp9iegWU7pKfuvQKTF3MkD62Ilthno7CsvJ0FNaSpyG3Ag/LD1PMrYBojWw6iovC0xGvBE8xsxqSWHh5bqTPrP2a5XRIrHZGFWupaRVRXssq9IZTTqtQ2HeSU5dVgSWV16R6puGycCctfA8+denPWO2uWse6ZwunU859RmNz5uui01FcDJ2OwgrodBSWPaeY+awRMfFZY7eJ71RP08QHyP95AePhs6QpJj5A/PcETLE/JWDM/oqAMfkDAkraBb7zl3qk6doQpuWOzny+nCX5cpbky1kpX87yfDlL8uUsy5ezLF/OYr6cJflyNsIfMZ1hvgSUvD2ZUb4E6t+CzJJ8CQrtc5hhvgTkf2x0NuTLYZQzw4SJTFsAGOV+E3DXqlH/w8ozlzOBwYdQBvVLKEP+p5VnkDX78JqNwnh0NqRNuEyVVFYTp2OFylZpZf2IFEpHI1SJEarMCDYi7UepsyF79u8nZpg9AdEfAJkN2fPoSK9rg0dgvrogYAwb9XtvZkkCxWvQ67sZZlAsp1MORTx4nFEOtaZ/9IZ6pHnHLGRRFMIsY4ZpFFCopEk00Zi5PIoF/VxrpuvnkFrCy4EgcIbMXw8ENcmV4QVBEELWjK8IgkL5M7wkYAEyafjWjXmWU7Nv3Vii7Fr61o1lzrPhWzfmlHGFY9pVxulIBU7AKqSJSdWYnVSiVKSc85EKISmpQulZOeVo4RSthn22Fp5VO+RtFTh5m7DPUEkaNynJ5SoWrBiyugpFK4b8LgIkeUWU6ZVzuhcBc74yTvwqpNlf1dgFqET9gPJCZ6A69wgqcLegAvUNwkMHIULSS4j0mNg89BcqpJ2GqrHnUIm6D+WFPkR17khUCL2JKtSl0EtFybXZW8VM476l+F4xK5D0MNmbxUwL/Uz6bjETqbfJ3i4mGvQ5SKnbQSnreVCPnQ+q1P+glHdBWIJ7IdSoI0KJ+iKQsDtCzIkWNe6UUEvTLRaIGRdVyqsocWpFLWRXFKmbQslWkYJGWcMpvsMCqXCt0G2hxj2X075hzaT/cmrShaFetnboyFDbZ+3QnYEGPRpS6tRQ4n4NNOzaEHPvhlrawWGB2MehSt0cSoWeDotwZ4ca93eoUZcHUuj1QEs6PlAf8wYK3R9qaQ+IBWIniCr1gygVukIswr0haqFDRNH3iU3Ydn9fsu8F2qN241r/YlFSHhYQBKWG5IelBEEpt9sHijoO5eGRoTRQKCvbR6CgICiluwWgmDIo5/629VDO/W3roRz8dd2hFPx13aEM/gnPoRD+Cc++1DV6br+4ez245LEdiScCSt6yXZPfAfVv2a4TPwOF3r9dO7cCNniTka9arZtRvxYKRxpNhnBc1FNxsV2C6ALK41Xw2w9GdJXs2w+R5M8Ru+sY5CuZEq/Vd5L9Hy24vV7K3y3os5hTvdRW0H7uqTvyOwM6lO0MUM/Toyd39OxK7vyRr1puZenG8fkU0UMqT5/UpRqPniJ6jifuEkRVKHuLDDmwHoqoHsrTeogK9cAPkwg9xxN3CaJ6lP3VDY9cZRznGjkxr1bI3gl/KvDnwnV2Jc71dWKsNHQKdzmlCqOUVpc7n0CfUvqcXmGXU6okSkkVbdzq6oiYK4laXksogdUE/JTj5/wiuwLmqqIW6ypd912CqI7K0/q5YYFHTxE9xxN3CaK6KI/10LHFXcaoJiakVfFjF2JPCXtOzt1ljOpjQqyQDoLuMkYVMiGtkB9kEXtK2HNy7i5jVCETQoU+jWS2r0d+Z0eHbG6vKNns0fGw2aOjfrNHh2hLR8fohw875n74sCN+l0eLmmhaVptNN5VU+Ekt2B4tdITWHfmR5CcadfQTy7vBNnagk1IlYhkj/nW8Ynwbr1BfxiuxN+6KbLqrSN63KxCT9ESmHvNIfA0U+2ooTuqiWqiQKr5Wiqlqyql+yl0llfqaxs9JU+5rXfiYNBUTC5Q/JU11b43Sh6SpSpbJPyNNNWcl/VNgeuDsEf78VwsXLi0t4tB0URgOLdJxwyL2Q4skny+SlNgeWbR3Rz5DdcjWywzFDNXxkKF66lbFFPvE1SFKXB2jxNWy2h/FZ64LD1inD1jHJwnrS6Ykz1j7/XId8pnUdydJR5J3IV/il8bD9QpfGucqteC+L43zItFse740zkuQjUtfGucy+0D86jcX9poldZLyV795gb3VKnhR6avfXCbfKnz1m6q7kiOx85W/Be0LLIdRU3+XpVul61H8OnUQ5GfYDUleOtEje85kzJiPFleYNocrxbn6qjBXX5Xn6iucYg8XjpPnVWHyvCpPnlfeRHj5QqOxwLf6RqOtcHVwuJWgXSzFl1ceLlyPcB2udiPqWi5+qEc+CGu+ZE+xOYfrxgWa2rWwP5Fvk7ZwL4XudbhhYbWhjqsKyXX4/uVVhV6nvnx4hHQNoObZfrgC37w02+9VHDAM940T19rNUv2JfLt0ltpL9B0h3JIUuDMpu+LV+DlYjo/jBkbDgyQT3dpPaulcvm0+qe01SX9wP8yIxx7t4ol8s+yvyg4SxvtwL3wbcOzRLp7I90pTQCc9uAs8xHMf8tOG1xCFVWove03OWFaf5Fvdi1SQ58hV/0kCq8l2di4CdcoL+E3urNKudpZpMz/L7qMGFv1O+E7NjbXHUnvM9C0b7TfQHuvsM80+u5SN8m2LwP+HL6HQ5Ubtm7LTw4ibB5xvc22pTu6xDwuv0dJVUsIP/pzmYyTWYZ0/p/6kS6bJRCHV3MMmJboJ7mnEfruB1/SGmSZvu3LVP05S4mF+U+Wm6ax9ETG1RyzxVWveWFf3pZwoudPTuiNd2zOU3aIVdBvHsV5M39n2lZOG49u6d2QXHtEDlN6ReZUfJez5G56Hf79yeB73ruvCI3qe0rsur/LzhB9AlOdJf7JLnsqJ+Gxe4Cf0av6c+c9eHWc3pmcefLRL0ER81CjWFTWP/Vqa13D9ySu6fuaxrZx5TpuDlMtqmae6TubwH2o3Jbo6QTixtYj2t6eEdH96ypH2t+BfeSI2JQwG6pUmzLsFz37E1B3porYhaQpAfseEcdwxYVR3TBiyfRHGbF+EMdkXYUTMbUgi4EyJze66Iz/h65C2BaD4Z6c6HqaFPcWFIMP+r1F1iP4aVcfor1G1rNZQ6o78y4UOJdtUOh62qXTUb1PpULpNpVNom0rHpEsGpLZXpHHeG/9phK+CntChAPlXQU/BoYCHkfUTOhQgWlx6cg4FzL0KekKHMuQd6mmEK29Po7Dc9hQaB3hagTpWIF9CexrFdbOnUVgsexqFFbKn2DjPLjKeY2Q8x8h4LkTGcxoZz3lkPMfIeE4i4zmJjF1ojl2s2I5HDIS5eLLlNip40p//+X+DG1I7"
475,Jlt="eJx9WFlv2zgQ/iuGnnYBt5DkS85bmk13g27SoEkPbNEHWqIlIhSpklSuov99R7JIkSLtFyGZjxzN8c0h/4oueF1jpqKz6Mt1K1GJZ4s4S+PZYrvdbqJ59J4zdYNqDAfuXuodp52spdSToZrQl6n0KyZl1Sm/xgVpa5BcKURJfs5KCgdj+F++J8+4uCUqr6IzJVo8jy4qJFCusLjD3d27BucE0cGYd+/4c3T2/U2SxfM36XYxT+JtDI8k/jGPPrMCC0oYvuWSKMJZdPYmiWMLuK9I/sCwlNHZCuRfsJD9sSiOk7dxnMFbbrgieefGBW9eROfA7I/8z1myzVbz7rnpn9vuCW/unpvZecF3eHb3IhWu5eyK5Vw0XCCFi7ezc0pnvRo5E1hi8QhCeM0lHCoIK+/yCvdR67zrfd2THPA7VfzzNTrbpv2fX+BPeH8fm2usBMnBg++/oq/forO08+QGNMgGgeG/5wfxYrE4iPFzTlFt5JtkkLeMPIL/EFoNreJBE2vrXReako3YcqvVEXCTKWJdzPS7Gizyjk/mZZvsAKC66d7FCgMtF4NC2eaVqpDyLW+QwIzi/TGoD6tvPQL7BJEPNVKVb39DW2mkJnY5FALyD9eEhU6DL4SPrqTaS0mRrHyDXrHgvpQz7AvVU+CkqgQOnN3zVgSkkFVfKslzQIgfMfPFOBxWRiyDjcs5p5wFIoFr4kImprQrP59WP1ubiVpcCgxlNLq5XC4PwM8Wy77EvSs5ZyU0EpuFaXqAzmlTjVlerzcH8TuskH/4oiLj0WQQ/oWpdXadJAfxZSOJ7exmPfD01lYSD8K/kU0288JLS7Mh+hW337dINCPA5MRX8QE1jXU8Wx/E/6J6V4zyLBtCdd36Km4Cso+QTOG4N6T5dvRusxxsu6/scK5Wgw2fKovZ20HxHSnrQDjv0WjEejvw7/MkxmMD6ZQkvnEfa1xayperg/ibZfN2kN1K4lvxHw4lZAfD6QErpy1lOt2QF4H3XATa8HDP7VnrVWY6SoNZQfKWokBRt90Ak7mt2GACwTVE8bNPE+Tw3VTIzkmQqRuLqsvtUGaFw3cTcjzJxSod3tjYSnQgS4fvpgyc8KaDZuLwXR8FtYlv8YPD9rHBuGxfbQYG1q1vL2v9+3zC9nF0EF+BqoLBFBbbjRfSYbsJprLYboxtpx1Fj23esXoMhqlx7rB9uR2OPxP/aCMDmX61/Vhm8cha7HA91bzbWUR1z0/m8tLUKSyJ1qWNHqeXrTUf16lb76Or6XIzTmWFA4mHyeLOkUS3+H23UpJQPAnbE0bUS2CSUi6IdWM13Mhpu/OlBUE1t/YbA1QYCeWLYVsrRh+SeDm0RCQEf9pxa3Xpds4RcpJhqNVDbXPkzqTpOJcK/mT1VO17gUtn57C3J3cpMlUucW77Px3hRwZ83VJFGvriJ6YRHJboLmnWPUNXWAC7FbQg+/0IrjUL4RMFBxhYkEdSBLxiXB0xD8TkEZorywPXoP0I/jxhXGzWKEoJUFgeiTvs3srq2eO9Hq2Aeq92S9eDIgeYwIeawKoVY+KyVOumuBmpY0r+CgrgQVn7ohl9n6aIoc4TJjB0lEDWvmaGa05ETrGfPRd3lm1jI64b9SKtBJlbhAFTgEhuqWoUvlhCFdwRBW613cNWqnGYyDAdj+OQfdnugpBWHUa14jAKbbN2tlDrfR6mXUT9p7F3peyGvHNBb0UCl933GHgmyN6Hc/0R6+KZxiG7Ba6ReJjg6RiAos0DpTRsHWNz1s284Mr58DI+UF52N8B7vyIGzP4+nGJcWLXiNMtiR0/0S0BPtExAj3ZNwE42zh11e6duTZS/YlZaK6DebfrkOsb4aURMnsqiA+viHpPowDrwsoX1y6moRTZ20cMXtmpOgFYf8sGd8kFrRw4ptuCQagu2lJvwmpXEUu2DNSlOoEf12vY4aXOZkG6WY8OC4hzrwHRcjVhWepjd4KdYKK7jrx5H89WjRxPWoycydlS3jZ/I2VS/G9yp9gB6PG1T1aY4YAp3LfPHPPqABbtFRHS/jf34/T82FAfb",ect="eJxtmNtu20YQhl+F4FULyMGeD7pz3AY1ChtG7NpFA18w1NomIlECSRcxgrx7SVk7+wOdG8H5OJydf2Z2d5gf9cV+t0v9VK/r+6vXsXlOlbHe28paq229qj/t++m62aXZ4J/m8PRb1z9/baZxefK63Z6eXN5dVMvTCh83u277xr/6kLrnl2XNq7TpXnczuZyabdee98/b2VzM/x4/dd/T5qab2pd6PQ2vaVVfvDRD005puE3Lu7eH1HbN9hTjx4/77/X6y5lcnUmjVzHIVVDicVX/1W/SsO36dLMfu6nb9/X6TAoBD+5euvZbn8axXtuZ36dhPJrVQqgPQoh5hev91LWLkIv94W1Ygq9+aX+tZAx2tfz64284/sblN/rqfLP/mqrbt3FKu7G67Nv9cNgPzZQ2H6rz7bb6vLgZq89pTMO/M/xfEqturJpqSM/d7GJIm2oamk3aNcO3av80O5xh3yyKmm1193ZIT02bqovTKjP+MAf++7zsZvZ3276kYyWWXB0z99S18/PbafPHQ71W4fjn/fxnFO+ZvkrT0LVzTr78qB/+nk38bHM9exgP8zr1z9U7jt6840YW5uSJKcZOCaBBnKgm5mU8MVNYyMwWFvO7Ukagkmgg6sDWQ5yFFqjzUrLEaQ3BEmiwNsMSaZS0vgWfOkPHWQowNeTUc0kumnxZvsgPxlGai6VTGUqAVCTQ6QkWnc77DKEiLktSUBJKqHIQZ86d8gCpHYoiEzMsb1ubYy8vW50DChB5ZhGqrijD0EqUIeiaEHIfCg5Kpuu0ApiToaGPSY0uaQsyr65L2oKi1yFt1PLaQ3lzfXTgXodGoJYzglndSLDMPg1sTPJpQJHJigw0QrGERqD9YhyTOgONQDUyuF1zaxuokc/BW2ztXCMrGZ9WMW1oQZHIXWNBkSCfRZEL5BMUiZw6CzVSFCfUSGZFNjIldoKDkonTKQiJIGzWmFd3BizJJ9SINoLDriOfUCOZS+zg+KGD1qGiLNMLxtJD1/ns00ON6EzyUCM6vbxhoBKaqbG3DFQCNiL1iHccBPV0DHhQH/JW8EW90dkyFKGywCJU0WkVSvSGeiSUODWFFD0HYdPQVoiRgfPMA+/nnRgiAyNYSjpWNQcNSMrtFCUH4ZIRpSCWocFCSuhCEY6hoUClc0WC52BJlCYYLQdhN+hygRRRlo5BKRRLS6oihSqh+ZzzRGG1Mo4Iz1LoP0qsxDGFzk0JE42ji0jCPejomJKCuwil4m5CiRMEUMVSzVLDUstSx1Juc0oVWMpqY295qVltmtWmWW2a1aZZbZrVplltmtWmWW2G1WZYbYbVZlhthtVmWG2G1WZYbYbVZlhtltVmWW2W1WZZbZbVZlltltVmWW2W1QYjQCh7E2aAQHeGhCFgPoNoy8KNb2wxBhmGKBxoUZXlLGsLI6AsftEDHV0wIURVbANLcTKlGGBIKPOAxCmhePCKUwFzAmpDFRQvjA9R06Hq8TONvshgKDCuRAZTXigUxjxNFfKRo3CLhnIJBMFRvMZpqpNBMlQJzGT5WFQMVQI/AikPMIhEU1aDjqJvQwmjSHB05cC9jbYwc5UtAHNLhDw41ha+lEqF4JaH3gmB61SYcqInxTDmQK8v08vjqv4zDf1N0w3Lf4A8/vwPpfK11w==";var tct={Courier:Vlt,"Courier-Bold":Hlt,"Courier-Oblique":Wlt,"Courier-BoldOblique":qlt,Helvetica:Zlt,"Helvetica-Bold":jlt,"Helvetica-Oblique":Klt,"Helvetica-BoldOblique":Glt,"Times-Roman":Qlt,"Times-Bold":Ylt,"Times-Italic":Xlt,"Times-BoldItalic":$lt,Symbol:Jlt,ZapfDingbats:ect},Rw;(function(e){e.Courier="Courier",e.CourierBold="Courier-Bold",e.CourierOblique="Courier-Oblique",e.CourierBoldOblique="Courier-BoldOblique",e.Helvetica="Helvetica",e.Helvetica
475Bold="Helvetica-Bold",e.HelveticaOblique="Helvetica-Oblique",e.HelveticaBoldOblique="Helvetica-BoldOblique",e.TimesRoman="Times-Roman",e.TimesRomanBold="Times-Bold",e.TimesRomanItalic="Times-Italic",e.TimesRomanBoldItalic="Times-BoldItalic",e.Symbol="Symbol",e.ZapfDingbats="ZapfDingbats"})(Rw||(Rw={}));var FZ={},rct=function(){function e(){var t=this;this.getWidthOfGlyph=function(r){return t.CharWidths[r]},this.getXAxisKerningForPair=function(r,n){return(t.KernPairXAmounts[r]||{})[n]}}return e.load=function(t){var r=FZ[t];if(r)return r;var n=yue(tct[t]),i=Object.assign(new e,JSON.parse(n));return i.CharWidths=i.CharMetrics.reduce(function(a,o){return a[o.N]=o.WX,a},{}),i.KernPairXAmounts=i.KernPairs.reduce(function(a,o){var s=o[0],l=o[1],c=o[2];return a[s]||(a[s]={}),a[s][l]=c,a},{}),FZ[t]=i,i},e}();const nct=
vendor: 6,083 bytes, line 475
475"eJztWsuy48iN/Ret74KZfHtX47meqfGjPHaXx4/wgpJ4JbooUU1JVXXb0f9u4JwESF13R7TD29koIpFi8gCJBHDA/Pvm+nraTuPmZ3/f5HHzs7/k8WlzvXS7fvPXp02eqyR/2vRfd2N3gqhUUfm0Od9P236+DoczxLWK66fNpZ93/fkGWaOy5mnTnUR67c57lRaZSItM/tnN/XnsX/DfIqg0JOk8HI4UK4BCAFzG+xWCQgXF02Y3nU4dJJVKKrx5mPgKBVMImOvYXY+QKJRCoHzXzxMErQrap810hqaloioF1e0L5kvFUwqe23Hu+Q+1TinWeZnuMwSKrRRsL8Nn/kOxlYLtOnzFWE1Viqmu/eceVioVaylYe1OwVKilQD0PCYgiLRtVcJz4kEItW13mNLi0UsCVAB77KyxTKeJKEPff3rsREkVcCeLD3He3HqArBV0J6G/v/fU2cK1WH23l0e3c7T71N9uUVv/c5i73bWlVs1Y0u5/3srO7aQb2EPUB+eUTva0TYgG5mGbbzZSUkJTpn75ygF4PThhq1SMGMds4HYZdN54n/rdWc8rv02bfH9I2hbqGsKbPnIYzHSc0qmTIxI6nuwpiAIQmU8F4Gy7jK8RwntAI1v3wedj39FmFECp508s4zUOyGmwpKrwbL8eOIlVU//Yf/S1J9C212Pa/uuSwbVDYlWzxf/aj/UtfWgm258t1GG1X1BVawfdnX0xdoRbjPCdBVGs1svo3R/tPVD1r2YL3k0kUfC04f9ldLkmk0NVwv+pO232SKXa126/vHAO5wPxNGivsRsZ/HDhWzLVg/iBuOSfMUTGrTX+b/qSIG0H8u+NEl1J4jcD7/XBI9kDcUYN/0/FNCDuNAP64skYOeLrykUsjElWC9+cmAEAB9NtrEijCplaE/YHvKuC5Iup8zxBAWtFrayakC2QC8uCbhggSskx9zXYNQSRkeuZWQBFKQowabNIfS/qeqOgSOFTINcC4DKcnE70H2zqElJAJ3k++dwgrIRPA47J5iCwr724RWELINFBTAAWiCL7SOogrIQj6abWBOH8hCPoL/4a4EoJgn9MWIq40lcY52cJAGbCHMgkpA3g9t7e0sRWgB1HnvjJYRez6yrSTlYJvRZmdCQhe80Pa24roNYL75uLo10WyKYHVeFLjYnImilM0qPDOJOKWNGlFCJsIrw/qsNv7OPY3SnNYSQ9DP46DLHylvGCcEFU08Nz6JIVx9Chd+93ENNhEWroSuC8SAi0WNznNpqH9+c5k1RQ0nIbi9/LnTzdmoKZAaAwaib/0g0Ti29wxG8gUgLey/O8eHmmqt4eiKTNYo416LPrLkcIWa2u06eZ5+mLBXCaoTp4m7pckBm41P8Qe0mUG6DUCYWY/fTmnCQbwkCa2043vrhA2gqakncwM3aGfe9GAj1Vw9qiuzPW2o4Or4PcxhmUu4atwAGKMy8wCscJhiDFfJh1lhY2K6mo250DrTJXOC82EUgVIkTMmOd0moqC5Dd24H15e0hRKJS0Cvg7Xm9RKgz9ErdWrTpfb6zV5Wx2ytwlDZLplUQ/8Ye72Qyq5RI5kqY4t6fe0iHOItdCYbo8zKOi0vLjvjrdjZ2IYRAPUZZ72910SI7vEiL9LaHSvrZFkipKOf02y8gc9vEbmKHQjRP95uH6ShZI9c9pao41otTPLICMETXSC5jLNupbP8bxo2Dy/DOfh9prk8BKNk935MPIo1jiKUSNQqiVSVSozBWYan5nmNMGz1+r6AleO8KJJwXdk2H8XwgVVP31AticBhdvqIZPwNPcvqWhqah74iIB6GsYuvbdGeYFS93yY775hPNh6giUlzNNXr/eaJmNYKrnLKznOt4ZsEQ6f5ZCfWVvJFK2Xs5BcP8ND23r5uJqDyaPmM90Oscl9a87aIC3HLCxz+uOzNFgOhA+P4XRq8hPTjP3Xhzn4oiYIm1svybSpOX03zDuJX4kqyAx3rrKZdZ3XNMggGh9lsUt/Fm+7m+1bGCxqOttPN/fOFiExKh+xnb1d0gz8qiiXmS0r5YxLaaULN/TaOsu4WEgTS3Fd1TCvlsvj9F1/PvQpPzHAZqiN9yZEntcyaDfet0mGOKLl5LGX6EMhU5ZGkf3QnVIWqvJA5FoG7KbLK1BcBcyLTfNYZGr7g8ar+WEWm63VgmSefX/q5k+r6Rplrdo/Heb+q00gKzcWUiVy3pY5RkGL7kept7/zSRS8Uc+Kw+nOV5ukqeu1KqtZ2Ds2a6yrWZghX/NS7q3OwQZ5WM0tgGCBPK7muPM6B2fP8wditayKMKG5YzW7rIvzkJcPs8vKOBGaRJxo+boMocrFfe407G0SJlJS7pO+KOrwqKkAcw4lp28Xi28vU7AM2Lfz9gUITKM8fJlcnoRtlJIvkwsSRtD2kXkuC8M2ytbX08vSME4ZHqd9cTQgojL5hXr60uhDxDJfTy7WQ3kXy2I9q+t+L7V+d3nZD+fDtrtdf7iZ8gPUNhVNSLOdFKmrqgg5UGR5ktUWkERW4ETnYSnQpK5PsqU2k3I5yZbCTGhJki0lmbJ2ypxOd8rYKXM23Slnp6yxclZkVZK1li1EVlMWmY0yyJokC5bIRdYm6sDCW/9X54knZEYnurpKJCEzNtHVdYqTmdGJrm6SiJRMsdWJmTS1MYWuSZwAHg3D5dSJO6tnpqPiNXIHapSQHkL9WNCyDwEZymTtQzyGcfx/rQVukWUP4RgGS29oG5RieEMSVKm67GISoHZUs0g6TKImlZMdbde2cDMFUCZBSBWevKlNIlRrBNQkEVpt0CXUSYTWGvzG1q5TldeFIklgFfiMvQ6tNXgMtk5IM+qSAjbJSpOh4wdUtYnQYgOqxkRosgFVayK02SJsYCJ02tRw9HkVodUG00UTodcG4+UmQrdN0dPhVYR2m8KPBhX1t/bkumgaofzWplwXDT2Oo9K2Lhp6dogUvT+HBpGC98fQxlDs/lSVCr/OVGZ7CGY3lXEIKyD3fylyrQS63P4VjTl0uRkGJxB+l5th2CBS5LkZhg0iRZ6bYdgPUqC5aYMEh8CSmzrsCinU3PRBKkNYyQ0qTgSiSmFQcSAQVAqDimSFmFIYVPaKFGphUNktUqiFQUVaUvLVFbaHSEZK47vC0LNfpOgLQ8+OkaIvDD2SjZbOXWHokWBQgJeGHkmlwaEz9EglKHFKQ48og8qmNPQgJEp0u9LQg4mAjJeGnm0rRV8aeratFH1p6EE8tBnQlYYebSutwLrS0KNrhRZYZegRbpV3dpWhR8tKSU9XGXr2rJTsdJXBTz0ruLjhT00rVaAyBVLTSjWoTIPUs1IVKlOBbSulAV1lOrBzpZS2q0wJNq8yhH7TovIOb1cb5tSXUny14Ut9KUYQUyS1phRgbaDZmEIiFrKThCnpIMMYGrZh0JBo7M01e+H65sZeUpPp6ZsbX4+dcH1xa1YgxYsIAWYF9rXBI1p/L9tiiL6ZmYGtrYpZybaz8caUCA1iA4iIPcEN0ZAQIuq70g2ZPCOQ7R+yE5riIjTojfMRESbsge1zHMhgsSlk5PR4u0WnQDraMOdEE7JTj7dbhAqpw4K3W4wKGZv3eHtempBkA+nHQldgrwXHM1jwCgj0pB7BwlcIbI7BnhbAAmsvHNJgISyw+MIxDRbEAqsvHNRgYSyw/GqZSE0j1l84rMFCWWABhuMaLJgFVmA4sMHCWUi8CRpZQAvkSzizwUJaIE/CoQ0W1ALpEU5tsLDGDzqg6yI0jaKzfxGaRuRBOLjBglsgAcpYHZhG5D04usECXCDdQd0WLMQFshwc6GBBLqQOETSyMBdIa3DMgwW6QD6Dcx4s1AXyDpSRYmoTsrpmzWKQyDJw0GWjTci2GCBZIAtkFDj+wSJZIJPA+Q8WygIJRCQkw8meFCJAsGAWCu8BiNAsjzTAXkKwEBfYg2IQqM3y7EFFauT/ZAcUGlk0DAU7nyzETPeSHBIa1aZmSe4IjWpTsyRphEa1qVmSTFMjU7Mki4ZGreEsSZ+hUWO6s7+bc4/8cdJlaNSYQdjTRbEbM3+c5BgaWTgOSA7stkSLiqFiCwbgLUiHinQX4C1Kh4pEl+BN94oEl+DNdBWJLcH74yS0AG8RPeCjRmRZ3JiR0ZWKrItbW7MmZWVlbG+vSVWxHY2tyW+lJTUy0yEVgdTKmmYlNplKagSDCMFlTIaH8GmVMWkpIj6sMsQv+Ae3UmUIX3AP6q0yRC94x/IOBC84B4+VyhC7yHTIELQRhGgM32hchmAM14hMRCpEMIZrNC6DJvAMWkxl0ASOQYOpDJqACrX+EmgCX9EQ8f3T5stwlggXf/otCfss8O19uvX7LfqmP3Z1AiRPP2JPY2pA/vTbFIhHqhFedB2s0/2v3bIAG1z14yH8CVcvwJFFoePr5cgbDv9/G+Pfvo2BUIP6ix0r8EO9ZYARuKFeMMAIvFA/gWMESqifiTACG9QrBTpCBFGK9wuMQKz0UgJGoH+C7L8xAvPTL40Y4au7gPkfjEAB9SYBRmB/eokAIxA/vT6AETifXh7ACHRPrwroqAFX0i/5GIEmCZb/xQj8Tu8LYARqp5cFMAKr03sCGIHQ6SUBjMDlBMsfMLIP//+HERicXlzACORNsPxJR2iW4I4FRj92EQa8TTuGInY3/vHrMSBwuoPX3TDot4c7osKPXJtBm0XLvsPc0XfRZkHNhxE4nLZsMQJ902/jDOQIkriXkAL7JhEyNh1ZemtZ98IxCZvebeCYZE3AHjkmUdMPGRyTpAm6v3FMgqY3EjgmOdPPZhyTmOlFBIwZxHEPgWNeJ9BbBxyz+af9c45J2PRMcEyyph8EOSZP03PMMTmaXjLgmN0+vWLAMfBpFfeZY7838AVjNilxLYJj4NOy7ZVjUju9zcHxv3/FiVcKULCpf9yGcb9qEOPL/6pp7GyO2cU+S7N2AaOzDMHKBXxO4/goyYBiZ3S7+yxxf0fNKud0r31a0gnddp4+9WfTpHJOt/r4yfIlfVDq5z7dgWABg8amf4SBnLxZQ9A0718keFqMZSGDNurhPoxjf5r84LGeQY/77d0vb3QvyYc1DTrd9nWo56movd196uyqy792faz2prfkJHyAHPiBONTe+kZ2ephrlhb4Ll0HSRfRNOLxqk5onB1LWu4kCPAGRmicIDOZ6j67Ro0T5V2/F6t1lDpTlkz6iMTpspj/JI53H83+jZNmt/+ybY2TZ1lRctmcUldonEDLxLEbGV5aZ9AwRnqAJmydSFu6c2dunU6/8yDIL5Og0+8W67VOp98xsL6kr1H8FglO/W45Uq1z6ncPXto6rX432zlpnVW/e6bAGfXPV0aOmXPqZwcbM+fUzw42Zs6pnx/BxsyJ9fMaV8ycW79fre3c+v1qbefW79+u7QT7/ePazrGf+UE7Zk6wf+Mmi8EJ9ocFQnCC/WGBEJxgf3gDgddNNIp/WC3Mb12i24cHXIEfkcs3FzGDM/UPnnJjcKb+cQXOmfrHFThn6h/fgItO1z8+4IjO2P+0LBOdsX9znHgBKUYn7Id+Pkklvh3TCgtpX9DFhbSvll1I+1t0C3NfTBcX5v4IeSHv5sYxX7g7H86dt+/Wbpw7c+8XsLkz934Bmztz79+AzZ2+9w+4cmfww2ptZ/DDam1n8MPbtZ3GDw9rs9ui3KZPblw4tz8vJiuc208LhMK5/bRAKJzbT28gFE7wp9XCTvCnR1zO8ZeLw7Fwjj8tTlw4x78v0Ern+PcFWukc//4GWulE//6AonSu/7paxrn+zZ2YnRclRK/rBXJsCAjxh2cKEAWVJ02ku/wOoFv2+12XkmnODwHgW4uQGVbZ0uM7mAJ1b/68/JlpUMnWdy5MF6/Vd5eL19YYSPd6FqPwBkNQo/h2NQxdQQ3bn/dpCxrGrqCW7U8rKZl/mfi0Xytk3Am66ZhYbg4y+KAVslDwbXdNL2d5qU5hnYBlTZaa6hs2t1qWdaeeTptcLco+hl5R7w4H5uOGcQbtEkpT18GusOI2xT9dYcVJf7zCSjmbD+Iud2s1NPRb9E+0UICmizb8ZK/+5JOLOulSqwaw5VJr2vB8dSFn89fvv/8H0oq1dA==";
vendor: 240,829 bytes, lines 475-512
475var ict=yue(nct),lR=JSON.parse(ict),cR=function(){function e(t,r){var n=this;this.canEncodeUnicodeCodePoint=function(i){return i in n.unicodeMappings},this.encodeUnicodeCodePoint=function(i){var a=n.unicodeMappings[i];if(!a){var o=String.fromCharCode(i),s="0x"+zlt(i.toString(16),4,"0"),l=n.name+' cannot encode "'+o+'" ('+s+")";throw new Error(l)}return{code:a[0],name:a[1]}},this.name=t,this.supportedCodePoints=Object.keys(r).map(Number).sort(function(i,a){return i-a}),this.unicodeMappings=r}return e}(),WC={Symbol:new cR("Symbol",lR.symbol),ZapfDingbats:new cR("ZapfDingbats",lR.zapfdingbats),WinAnsi:new cR("WinAnsi",lR.win1252)},zA=function(e){return Object.keys(e).map(function(t){return e[t]})},act=zA(Rw),DZ=function(e){return act.includes(e)},VC=function(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height},Xi=function(e){return"`"+e+"`"},oct=function(e){return"'"+e+"'"},NZ=function(e){var t=typeof e;return t==="string"?oct(e):t==="undefined"?Xi(e):e},sct=function(e,t,r){for(var n=new Array(r.length),i=0,a=r.length;i<a;i++){var o=r[i];n[i]=NZ(o)}var s=n.join(" or ");return Xi(t)+" must be one of "+s+", but was actually "+NZ(e)},kh=function(e,t,r){Array.isArray(r)||(r=zA(r));for(var n=0,i=r.length;n<i;n++)if(e===r[n])return;throw new TypeError(sct(e,t,r))},kl=function(e,t,r){Array.isArray(r)||(r=zA(r)),kh(e,t,r.concat(void 0))},lct=function(e,t,r){Array.isArray(r)||(r=zA(r));for(var n=0,i=e.length;n<i;n++)kh(e[n],t,r)},cct=function(e){return e===null?"null":e===void 0?"undefined":typeof e=="string"?"string":isNaN(e)?"NaN":typeof e=="number"?"number":typeof e=="boolean"?"boolean":typeof e=="symbol"?"symbol":typeof e=="bigint"?"bigint":e.constructor&&e.constructor.name?e.constructor.name:e.name?e.name:e.constructor?String(e.constructor):String(e)},uct=function(e,t){return t==="null"?e===null:t==="undefined"?e===void 0:t==="string"?typeof e=="string":t==="number"?typeof e=="number"&&!isNaN(e):t==="boolean"?typeof e=="boolean":t==="symbol"?typeof e=="symbol":t==="bigint"?typeof e=="bigint":t===Date?e instanceof Date:t===Array?e instanceof Array:t===Uint8Array?e instanceof Uint8Array:t===ArrayBuffer?e instanceof ArrayBuffer:t===Function?e instanceof Function:e instanceof t[0]},dct=function(e,t,r){for(var n=new Array(r.length),i=0,a=r.length;i<a;i++){var o=r[i];o==="null"&&(n[i]=Xi("null")),o==="undefined"&&(n[i]=Xi("undefined")),o==="string"?n[i]=Xi("string"):o==="number"?n[i]=Xi("number"):o==="boolean"?n[i]=Xi("boolean"):o==="symbol"?n[i]=Xi("symbol"):o==="bigint"?n[i]=Xi("bigint"):o===Array?n[i]=Xi("Array"):o===Uint8Array?n[i]=Xi("Uint8Array"):o===ArrayBuffer?n[i]=Xi("ArrayBuffer"):n[i]=Xi(o[1])}var s=n.join(" or ");return Xi(t)+" must be of type "+s+", but was actually of type "+Xi(cct(e))},Be=function(e,t,r){for(var n=0,i=r.length;n<i;n++)if(uct(e,r[n]))return;throw new TypeError(dct(e,t,r))},dt=function(e,t,r){Be(e,t,r.concat("undefined"))},bue=function(e,t,r){for(var n=0,i=e.length;n<i;n++)Be(e[n],t,r)},Qs=function(e,t,r,n){if(Be(e,t,["number"]),Be(r,"min",["number"]),Be(n,"max",["number"]),n=Math.max(r,n),e<r||e>n)throw new Error(Xi(t)+" must be at least "+r+" and at most "+n+", but was actually "+e)},_c=function(e,t,r,n){Be(e,t,["number","undefined"]),typeof e=="number"&&Qs(e,t,r,n)},Sue=function(e,t,r){if(Be(e,t,["number"]),e%r!==0)throw new Error(Xi(t)+" must be a multiple of "+r+", but was actually "+e)},fct=function(e,t){if(!Number.isInteger(e))throw new Error(Xi(t)+" must be an integer, but was actually "+e)},HA=function(e,t){if(![1,0].includes(Math.sign(e)))throw new Error(Xi(t)+" must be a positive number or 0, but was actually "+e)},fr=new Uint16Array(256);for(var jC=0;jC<256;jC++)fr[jC]=jC;fr[22]=lr("�");fr[24]=lr("˘");fr[25]=lr("ˇ");fr[26]=lr("ˆ");fr[27]=lr("˙");fr[28]=lr("˝");fr[29]=lr("˛");fr[30]=lr("˚");fr[31]=lr("˜");fr[127]=lr("�");fr[128]=lr("•");fr[129]=lr("†");fr[130]=lr("‡");fr[131]=lr("…");fr[132]=lr("—");fr[133]=lr("–");fr[134]=lr("ƒ");fr[135]=lr("⁄");fr[136]=lr("‹");fr[137]=lr("›");fr[138]=lr("−");fr[139]=lr("‰");fr[140]=lr("„");fr[141]=lr("“");fr[142]=lr("”");fr[143]=lr("‘");fr[144]=lr("’");fr[145]=lr("‚");fr[146]=lr("™");fr[147]=lr("fi");fr[148]=lr("fl");fr[149]=lr("Ł");fr[150]=lr("Œ");fr[151]=lr("Å ");fr[152]=lr("Ÿ");fr[153]=lr("Ž");fr[154]=lr("ı");fr[155]=lr("ł");fr[156]=lr("œ");fr[157]=lr("Å¡");fr[158]=lr("ž");fr[159]=lr("�");fr[160]=lr("€");fr[173]=lr("�");var wue=function(e){for(var t=new Array(e.length),r=0,n=e.length;r<n;r++)t[r]=fr[e[r]];return String.fromCodePoint.apply(String,t)},Jd=function(){function e(t){this.populate=t,this.value=void 0}return e.prototype.getValue=function(){return this.value},e.prototype.access=function(){return this.value||(this.value=this.populate()),this.value},e.prototype.invalidate=function(){this.value=void 0},e.populatedBy=function(t){return new e(t)},e}(),Kl=function(e){ft(t,e);function t(r,n){var i=this,a="Method "+r+"."+n+"() not implemented";return i=e.call(this,a)||this,i}return t}(Error),fM=function(e){ft(t,e);function t(r){var n=this,i="Cannot construct "+r+" - it has a private constructor";return n=e.call(this,i)||this,n}return t}(Error),i_=function(e){ft(t,e);function t(r,n){var i=this,a=function(l){var c,u;return(c=l==null?void 0:l.name)!==null&&c!==void 0?c:(u=l==null?void 0:l.constructor)===null||u===void 0?void 0:u.name},o=Array.isArray(r)?r.map(a):[a(r)],s="Expected instance of "+o.join(" or ")+", "+("but got instance of "+(n&&a(n)));return i=e.call(this,s)||this,i}return t}(Error),hct=function(e){ft(t,e);function t(r){var n=this,i=r+" stream encoding not supported";return n=e.call(this,i)||this,n}return t}(Error),hM=function(e){ft(t,e);function t(r,n){var i=this,a="Cannot call "+r+"."+n+"() more than once";return i=e.call(this,a)||this,i}return t}(Error);(function(e){ft(t,e);function t(r){var n=this,i="Missing catalog (ref="+r+")";return n=e.call(this,i)||this,n}return t})(Error);var pct=function(e){ft(t,e);function t(){var r=this,n="Can't embed page with missing Contents";return r=e.call(this,n)||this,r}return t}(Error),mct=function(e){ft(t,e);function t(r){var n,i,a,o=this,s=(a=(i=(n=r==null?void 0:r.contructor)===null||n===void 0?void 0:n.name)!==null&&i!==void 0?i:r==null?void 0:r.name)!==null&&a!==void 0?a:r,l="Unrecognized stream type: "+s;return o=e.call(this,l)||this,o}return t}(Error),gct=function(e){ft(t,e);function t(){var r=this,n="Found mismatched contexts while embedding pages. All pages in the array passed to `PDFDocument.embedPages()` must be from the same document.";return r=e.call(this,n)||this,r}return t}(Error),vct=function(e){ft(t,e);function t(r){var n=this,i="Attempted to convert PDFArray with "+r+" elements to rectangle, but must have exactly 4 elements.";return n=e.call(this,i)||this,n}return t}(Error),xue=function(e){ft(t,e);function t(r){var n=this,i='Attempted to convert "'+r+'" to a date, but it does not match the PDF date string format.';return n=e.call(this,i)||this,n}return t}(Error),MZ=function(e){ft(t,e);function t(r,n){var i=this,a="Invalid targetIndex specified: targetIndex="+r+" must be less than Count="+n;return i=e.call(this,a)||this,i}return t}(Error),LZ=function(e){ft(t,e);function t(r,n){var i=this,a="Failed to "+n+" at targetIndex="+r+" due to corrupt page tree: It is likely that one or more 'Count' entries are invalid";return i=e.call(this,a)||this,i}return t}(Error),a_=function(e){ft(t,e);function t(r,n,i){var a=this,o="index should be at least "+n+" and at most "+i+", but was actually "+r;return a=e.call(this,o)||this,a}return t}(Error),pM=function(e){ft(t,e);function t(){var r=this,n="Attempted to set invalid field value";return r=e.call(this,n)||this,r}return t}(Error),yct=function(e){ft(t,e);function t(){var r=this,n="Attempted to select multiple values for single-select field";return r=e.call(this,n)||this,r}return t}(Error),bct=function(e){ft(t,e);function t(r){var n=this,i="No /DA (default appearance) entry found for field: "+r;return n=e.call(this,i)||this,n}return t}(Error),Sct=function(e){ft(t,e);function t(r){var n=this,i="No Tf operator found for DA of field: "+r;return n=e.call(this,i)||this,n}return t}(Error),BZ=function(e){ft(t,e);function t(r,n){var i=this,a="Failed to parse number "+("(line:"+r.line+" col:"+r.column+" offset="+r.offset+'): "'+n+'"');return i=e.call(this,a)||this,i}return t}(Error),hp=function(e){ft(t,e);function t(r,n){var i=this,a="Failed to parse PDF document "+("(line:"+r.line+" col:"+r.column+" offset="+r.offset+"): "+n);return i=e.call(this,a)||this,i}return t}(Error),wct=function(e){ft(t,e);function t(r,n,i){var a=this,o="Expected next byte to be "+n+" but it was actually "+i;return a=e.call(this,r,o)||this,a}return t}(hp),xct=function(e){ft(t,e);function t(r,n){var i=this,a="Failed to parse PDF object starting with the following byte: "+n;return i=e.call(this,r,a)||this,i}return t}(hp),Cct=function(e){ft(t,e);function t(r){var n=this,i="Failed to parse invalid PDF object";return n=e.call(this,r,i)||this,n}return t}(hp),Ect=function(e){ft(t,e);function t(r){var n=this,i="Failed to parse PDF stream";return n=e.call(this,r,i)||this,n}return t}(hp),kct=function(e){ft(t,e);function t(r){var n=this,i="Failed to parse PDF literal string due to unbalanced parenthesis";return n=e.call(this,r,i)||this,n}return t}(hp),Tct=function(e){ft(t,e);function t(r){var n=this,i="Parser stalled";return n=e.call(this,r,i)||this,n}return t}(hp),_ct=function(e){ft(t,e);function t(r){var n=this,i="No PDF header found";return n=e.call(this,r,i)||this,n}return t}(hp),Pct=function(e){ft(t,e);function t(r,n){var i=this,a="Did not find expected keyword '"+Ece(n)+"'";return i=e.call(this,r,a)||this,i}return t}(hp),VD;(function(e){e[e.Null=0]="Null",e[e.Backspace=8]="Backspace",e[e.Tab=9]="Tab",e[e.Newline=10]="Newline",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationPoint=33]="ExclamationPoint",e[e.Hash=35]="Hash",e[e.Percent=37]="Percent",e[e.LeftParen=40]="LeftParen",e[e.RightParen=41]="RightParen",e[e.Plus=43]="Plus",e[e.Minus=45]="Minus",e[e.Dash=45]="Dash",e[e.Period=46]="Period",e[e.ForwardSlash=47]="ForwardSlash",e[e.Zero=48]="Zero",e[e.One=49]="One",e[e.Two=50]="Two",e[e.Three=51]="Three",e[e.Four=52]="Four",e[e.Five=53]="Five",e[e.Six=54]="Six",e[e.Seven=55]="Seven",e[e.Eight=56]="Eight",e[e.Nine=57]="Nine",e[e.LessThan=60]="LessThan",e[e.GreaterThan=62]="GreaterThan",e[e.A=65]="A",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.O=79]="O",e[e.P=80]="P",e[e.R=82]="R",e[e.LeftSquareBracket=91]="LeftSquareBracket",e[e.BackSlash=92]="BackSlash",e[e.RightSquareBracket=93]="RightSquareBracket",e[e.a=97]="a",e[e.b=98]="b",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.i=105]="i",e[e.j=106]="j",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.x=120]="x",e[e.LeftCurly=123]="LeftCurly",e[e.RightCurly=125]="RightCurly",e[e.Tilde=126]="Tilde"})(VD||(VD={}));const fe=VD;var qA=function(){function e(t,r){this.major=String(t),this.minor=String(r)}return e.prototype.toString=function(){var t=Qd(129);return"%PDF-"+this.major+"."+this.minor+`
476%`+t+t+t+t},e.prototype.sizeInBytes=function(){return 12+this.major.length+this.minor.length},e.prototype.copyBytesInto=function(t,r){var n=r;return t[r++]=fe.Percent,t[r++]=fe.P,t[r++]=fe.D,t[r++]=fe.F,t[r++]=fe.Dash,r+=Ma(this.major,t,r),t[r++]=fe.Period,r+=Ma(this.minor,t,r),t[r++]=fe.Newline,t[r++]=fe.Percent,t[r++]=129,t[r++]=129,t[r++]=129,t[r++]=129,r-n},e.forVersion=function(t,r){return new e(t,r)},e}(),Wo=function(){function e(){}return e.prototype.clone=function(t){throw new Kl(this.constructor.name,"clone")},e.prototype.toString=function(){throw new Kl(this.constructor.name,"toString")},e.prototype.sizeInBytes=function(){throw new Kl(this.constructor.name,"sizeInBytes")},e.prototype.copyBytesInto=function(t,r){throw new Kl(this.constructor.name,"copyBytesInto")},e}(),ar=function(e){ft(t,e);function t(r){var n=e.call(this)||this;return n.numberValue=r,n.stringValue=jot(r),n}return t.prototype.asNumber=function(){return this.numberValue},t.prototype.value=function(){return this.numberValue},t.prototype.clone=function(){return t.of(this.numberValue)},t.prototype.toString=function(){return this.stringValue},t.prototype.sizeInBytes=function(){return this.stringValue.length},t.prototype.copyBytesInto=function(r,n){return n+=Ma(this.stringValue,r,n),this.stringValue.length},t.of=function(r){return new t(r)},t}(Wo),en=function(e){ft(t,e);function t(r){var n=e.call(this)||this;return n.array=[],n.context=r,n}return t.prototype.size=function(){return this.array.length},t.prototype.push=function(r){this.array.push(r)},t.prototype.insert=function(r,n){this.array.splice(r,0,n)},t.prototype.indexOf=function(r){var n=this.array.indexOf(r);return n===-1?void 0:n},t.prototype.remove=function(r){this.array.splice(r,1)},t.prototype.set=function(r,n){this.array[r]=n},t.prototype.get=function(r){return this.array[r]},t.prototype.lookupMaybe=function(r){for(var n,i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return(n=this.context).lookupMaybe.apply(n,Kr([this.get(r)],i))},t.prototype.lookup=function(r){for(var n,i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return(n=this.context).lookup.apply(n,Kr([this.get(r)],i))},t.prototype.asRectangle=function(){if(this.size()!==4)throw new vct(this.size());var r=this.lookup(0,ar).asNumber(),n=this.lookup(1,ar).asNumber(),i=this.lookup(2,ar).asNumber(),a=this.lookup(3,ar).asNumber(),o=r,s=n,l=i-r,c=a-n;return{x:o,y:s,width:l,height:c}},t.prototype.asArray=function(){return this.array.slice()},t.prototype.clone=function(r){for(var n=t.withContext(r||this.context),i=0,a=this.size();i<a;i++)n.push(this.array[i]);return n},t.prototype.toString=function(){for(var r="[ ",n=0,i=this.size();n<i;n++)r+=this.get(n).toString(),r+=" ";return r+="]",r},t.prototype.sizeInBytes=function(){for(var r=3,n=0,i=this.size();n<i;n++)r+=this.get(n).sizeInBytes()+1;return r},t.prototype.copyBytesInto=function(r,n){var i=n;r[n++]=fe.LeftSquareBracket,r[n++]=fe.Space;for(var a=0,o=this.size();a<o;a++)n+=this.get(a).copyBytesInto(r,n),r[n++]=fe.Space;return r[n++]=fe.RightSquareBracket,n-i},t.prototype.scalePDFNumbers=function(r,n){for(var i=0,a=this.size();i<a;i++){var o=this.lookup(i);if(o instanceof ar){var s=i%2===0?r:n;this.set(i,ar.of(o.asNumber()*s))}}},t.withContext=function(r){return new t(r)},t}(Wo),uR={},Fw=function(e){ft(t,e);function t(r,n){var i=this;if(r!==uR)throw new fM("PDFBool");return i=e.call(this)||this,i.value=n,i}return t.prototype.asBoolean=function(){return this.value},t.prototype.clone=function(){return this},t.prototype.toString=function(){return String(this.value)},t.prototype.sizeInBytes=function(){return this.value?4:5},t.prototype.copyBytesInto=function(r,n){return this.value?(r[n++]=fe.t,r[n++]=fe.r,r[n++]=fe.u,r[n++]=fe.e,4):(r[n++]=fe.f,r[n++]=fe.a,r[n++]=fe.l,r[n++]=fe.s,r[n++]=fe.e,5)},t.True=new t(uR,!0),t.False=new t(uR,!1),t}(Wo),yc=new Uint8Array(256);yc[fe.LeftParen]=1;yc[fe.RightParen]=1;yc[fe.LessThan]=1;yc[fe.GreaterThan]=1;yc[fe.LeftSquareBracket]=1;yc[fe.RightSquareBracket]=1;yc[fe.LeftCurly]=1;yc[fe.RightCurly]=1;yc[fe.ForwardSlash]=1;yc[fe.Percent]=1;var wf=new Uint8Array(256);wf[fe.Null]=1;wf[fe.Tab]=1;wf[fe.Newline]=1;wf[fe.FormFeed]=1;wf[fe.CarriageReturn]=1;wf[fe.Space]=1;var mM=new Uint8Array(256);for(var N1=0,Act=256;N1<Act;N1++)mM[N1]=wf[N1]||yc[N1]?1:0;mM[fe.Hash]=1;var Oct=function(e){return e.replace(/#([\dABCDEF]{2})/g,function(t,r){return kot(r)})},Ict=function(e){return e>=fe.ExclamationPoint&&e<=fe.Tilde&&!mM[e]},UZ={},zZ=new Map,ue=function(e){ft(t,e);function t(r,n){var i=this;if(r!==UZ)throw new fM("PDFName");i=e.call(this)||this;for(var a="/",o=0,s=n.length;o<s;o++){var l=n[o],c=lr(l);a+=Ict(c)?l:"#"+NA(c)}return i.encodedName=a,i}return t.prototype.asBytes=function(){for(var r=[],n="",i=!1,a=function(d){d!==void 0&&r.push(d),i=!1},o=1,s=this.encodedName.length;o<s;o++){var l=this.encodedName[o],c=lr(l),u=this.encodedName[o+1];i?c>=fe.Zero&&c<=fe.Nine||c>=fe.a&&c<=fe.f||c>=fe.A&&c<=fe.F?(n+=l,(n.length===2||!(u>="0"&&u<="9"||u>="a"&&u<="f"||u>="A"&&u<="F"))&&(a(parseInt(n,16)),n="")):a(c):c===fe.Hash?i=!0:a(c)}return new Uint8Array(r)},t.prototype.decodeText=function(){var r=this.asBytes();return String.fromCharCode.apply(String,Array.from(r))},t.prototype.asString=function(){return this.encodedName},t.prototype.value=function(){return this.encodedName},t.prototype.clone=function(){return this},t.prototype.toString=function(){return this.encodedName},t.prototype.sizeInBytes=function(){return this.encodedName.length},t.prototype.copyBytesInto=function(r,n){return n+=Ma(this.encodedName,r,n),this.encodedName.length},t.of=function(r){var n=Oct(r),i=zZ.get(n);return i||(i=new t(UZ,n),zZ.set(n,i)),i},t.Length=t.of("Length"),t.FlateDecode=t.of("FlateDecode"),t.Resources=t.of("Resources"),t.Font=t.of("Font"),t.XObject=t.of("XObject"),t.ExtGState=t.of("ExtGState"),t.Contents=t.of("Contents"),t.Type=t.of("Type"),t.Parent=t.of("Parent"),t.MediaBox=t.of("MediaBox"),t.Page=t.of("Page"),t.Annots=t.of("Annots"),t.TrimBox=t.of("TrimBox"),t.ArtBox=t.of("ArtBox"),t.BleedBox=t.of("BleedBox"),t.CropBox=t.of("CropBox"),t.Rotate=t.of("Rotate"),t.Title=t.of("Title"),t.Author=t.of("Author"),t.Subject=t.of("Subject"),t.Creator=t.of("Creator"),t.Keywords=t.of("Keywords"),t.Producer=t.of("Producer"),t.CreationDate=t.of("CreationDate"),t.ModDate=t.of("ModDate"),t}(Wo),Rct=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.asNull=function(){return null},t.prototype.clone=function(){return this},t.prototype.toString=function(){return"null"},t.prototype.sizeInBytes=function(){return 4},t.prototype.copyBytesInto=function(r,n){return r[n++]=fe.n,r[n++]=fe.u,r[n++]=fe.l,r[n++]=fe.l,4},t}(Wo);const ls=new Rct;var gr=function(e){ft(t,e);function t(r,n){var i=e.call(this)||this;return i.dict=r,i.context=n,i}return t.prototype.keys=function(){return Array.from(this.dict.keys())},t.prototype.values=function(){return Array.from(this.dict.values())},t.prototype.entries=function(){return Array.from(this.dict.entries())},t.prototype.set=function(r,n){this.dict.set(r,n)},t.prototype.get=function(r,n){n===void 0&&(n=!1);var i=this.dict.get(r);if(!(i===ls&&!n))return i},t.prototype.has=function(r){var n=this.dict.get(r);return n!==void 0&&n!==ls},t.prototype.lookupMaybe=function(r){for(var n,i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];var o=i.includes(ls),s=(n=this.context).lookupMaybe.apply(n,Kr([this.get(r,o)],i));if(!(s===ls&&!o))return s},t.prototype.lookup=function(r){for(var n,i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];var o=i.includes(ls),s=(n=this.context).lookup.apply(n,Kr([this.get(r,o)],i));if(!(s===ls&&!o))return s},t.prototype.delete=function(r){return this.dict.delete(r)},t.prototype.asMap=function(){return new Map(this.dict)},t.prototype.uniqueKey=function(r){r===void 0&&(r="");for(var n=this.keys(),i=ue.of(this.context.addRandomSuffix(r,10));n.includes(i);)i=ue.of(this.context.addRandomSuffix(r,10));return i},t.prototype.clone=function(r){for(var n=t.withContext(r||this.context),i=this.entries(),a=0,o=i.length;a<o;a++){var s=i[a],l=s[0],c=s[1];n.set(l,c)}return n},t.prototype.toString=function(){for(var r=`<<
477`,n=this.entries(),i=0,a=n.length;i<a;i++){var o=n[i],s=o[0],l=o[1];r+=s.toString()+" "+l.toString()+`
478`}return r+=">>",r},t.prototype.sizeInBytes=function(){for(var r=5,n=this.entries(),i=0,a=n.length;i<a;i++){var o=n[i],s=o[0],l=o[1];r+=s.sizeInBytes()+l.sizeInBytes()+2}return r},t.prototype.copyBytesInto=function(r,n){var i=n;r[n++]=fe.LessThan,r[n++]=fe.LessThan,r[n++]=fe.Newline;for(var a=this.entries(),o=0,s=a.length;o<s;o++){var l=a[o],c=l[0],u=l[1];n+=c.copyBytesInto(r,n),r[n++]=fe.Space,n+=u.copyBytesInto(r,n),r[n++]=fe.Newline}return r[n++]=fe.GreaterThan,r[n++]=fe.GreaterThan,n-i},t.withContext=function(r){return new t(new Map,r)},t.fromMapWithContext=function(r,n){return new t(r,n)},t}(Wo),al=function(e){ft(t,e);function t(r){var n=e.call(this)||this;return n.dict=r,n}return t.prototype.clone=function(r){throw new Kl(this.constructor.name,"clone")},t.prototype.getContentsString=function(){throw new Kl(this.constructor.name,"getContentsString")},t.prototype.getContents=function(){throw new Kl(this.constructor.name,"getContents")},t.prototype.getContentsSize=function(){throw new Kl(this.constructor.name,"getContentsSize")},t.prototype.updateDict=function(){var r=this.getContentsSize();this.dict.set(ue.Length,ar.of(r))},t.prototype.sizeInBytes=function(){return this.updateDict(),this.dict.sizeInBytes()+this.getContentsSize()+18},t.prototype.toString=function(){this.updateDict();var r=this.dict.toString();return r+=`
479stream
480`,r+=this.getContentsString(),r+=`
481endstream`,r},t.prototype.copyBytesInto=function(r,n){this.updateDict();var i=n;n+=this.dict.copyBytesInto(r,n),r[n++]=fe.Newline,r[n++]=fe.s,r[n++]=fe.t,r[n++]=fe.r,r[n++]=fe.e,r[n++]=fe.a,r[n++]=fe.m,r[n++]=fe.Newline;for(var a=this.getContents(),o=0,s=a.length;o<s;o++)r[n++]=a[o];return r[n++]=fe.Newline,r[n++]=fe.e,r[n++]=fe.n,r[n++]=fe.d,r[n++]=fe.s,r[n++]=fe.t,r[n++]=fe.r,r[n++]=fe.e,r[n++]=fe.a,r[n++]=fe.m,n-i},t}(Wo),Dw=function(e){ft(t,e);function t(r,n){var i=e.call(this,r)||this;return i.contents=n,i}return t.prototype.asUint8Array=function(){return this.contents.slice()},t.prototype.clone=function(r){return t.of(this.dict.clone(r),this.contents.slice())},t.prototype.getContentsString=function(){return Ece(this.contents)},t.prototype.getContents=function(){return this.contents},t.prototype.getContentsSize=function(){return this.contents.length},t.of=function(r,n){return new t(r,n)},t}(al),HZ={},qZ=new Map,gn=function(e){ft(t,e);function t(r,n,i){var a=this;if(r!==HZ)throw new fM("PDFRef");return a=e.call(this)||this,a.objectNumber=n,a.generationNumber=i,a.tag=n+" "+i+" R",a}return t.prototype.clone=function(){return this},t.prototype.toString=function(){return this.tag},t.prototype.sizeInBytes=function(){return this.tag.length},t.prototype.copyBytesInto=function(r,n){return n+=Ma(this.tag,r,n),this.tag.length},t.of=function(r,n){n===void 0&&(n=0);var i=r+" "+n+" R",a=qZ.get(i);return a||(a=new t(HZ,r,n),qZ.set(i,a)),a},t}(Wo),qr=function(){function e(t,r){this.name=t,this.args=r||[]}return e.prototype.clone=function(t){for(var r=new Array(this.args.length),n=0,i=r.length;n<i;n++){var a=this.args[n];r[n]=a instanceof Wo?a.clone(t):a}return e.of(this.name,r)},e.prototype.toString=function(){for(var t="",r=0,n=this.args.length;r<n;r++)t+=String(this.args[r])+" ";return t+=this.name,t},e.prototype.sizeInBytes=function(){for(var t=0,r=0,n=this.args.length;r<n;r++){var i=this.args[r];t+=(i instanceof Wo?i.sizeInBytes():i.length)+1}return t+=this.name.length,t},e.prototype.copyBytesInto=function(t,r){for(var n=r,i=0,a=this.args.length;i<a;i++){var o=this.args[i];o instanceof Wo?r+=o.copyBytesInto(t,r):r+=Ma(o,t,r),t[r++]=fe.Space}return r+=Ma(this.name,t,r),r-n},e.of=function(t,r){return new e(t,r)},e}(),jD;(function(e){e.NonStrokingColor="sc",e.NonStrokingColorN="scn",e.NonStrokingColorRgb="rg",e.NonStrokingColorGray="g",e.NonStrokingColorCmyk="k",e.NonStrokingColorspace="cs",e.StrokingColor="SC",e.StrokingColorN="SCN",e.StrokingColorRgb="RG",e.StrokingColorGray="G",e.StrokingColorCmyk="K",e.StrokingColorspace="CS",e.BeginMarkedContentSequence="BDC",e.BeginMarkedContent="BMC",e.EndMarkedContent="EMC",e.MarkedContentPointWithProps="DP",e.MarkedContentPoint="MP",e.DrawObject="Do",e.ConcatTransformationMatrix="cm",e.PopGraphicsState="Q",e.PushGraphicsState="q",e.SetFlatness="i",e.SetGraphicsStateParams="gs",e.SetLineCapStyle="J",e.SetLineDashPattern="d",e.SetLineJoinStyle="j",e.SetLineMiterLimit="M",e.SetLineWidth="w",e.SetTextMatrix="Tm",e.SetRenderingIntent="ri",e.AppendRectangle="re",e.BeginInlineImage="BI",e.BeginInlineImageData="ID",e.EndInlineImage="EI",e.ClipEvenOdd="W*",e.ClipNonZero="W",e.CloseAndStroke="s",e.CloseFillEvenOddAndStroke="b*",e.CloseFillNonZeroAndStroke="b",e.ClosePath="h",e.AppendBezierCurve="c",e.CurveToReplicateFinalPoint="y",e.CurveToReplicateInitialPoint="v",e.EndPath="n",e.FillEvenOddAndStroke="B*",e.FillEvenOdd="f*",e.FillNonZeroAndStroke="B",e.FillNonZero="f",e.LegacyFillNonZero="F",e.LineTo="l",e.MoveTo="m",e.ShadingFill="sh",e.StrokePath="S",e.BeginText="BT",e.EndText="ET",e.MoveText="Td",e.MoveTextSetLeading="TD",e.NextLine="T*",e.SetCharacterSpacing="Tc",e.SetFontAndSize="Tf",e.SetTextHorizontalScaling="Tz",e.SetTextLineHeight="TL",e.SetTextRenderingMode="Tr",e.SetTextRise="Ts",e.SetWordSpacing="Tw",e.ShowText="Tj",e.ShowTextAdjusted="TJ",e.ShowTextLine="'",e.ShowTextLineAndSpace='"',e.Type3D0="d0",e.Type3D1="d1",e.BeginCompatibilitySection="BX",e.EndCompatibilitySection="EX"})(jD||(jD={}));const Zr=jD;var gM=function(e){ft(t,e);function t(r,n){var i=e.call(this,r)||this;return i.computeContents=function(){var a=i.getUnencodedContents();return i.encode?UA.deflate(a):a},i.encode=n,n&&r.set(ue.of("Filter"),ue.of("FlateDecode")),i.contentsCache=Jd.populatedBy(i.computeContents),i}return t.prototype.getContents=function(){return this.contentsCache.access()},t.prototype.getContentsSize=function(){return this.contentsCache.access().length},t.prototype.getUnencodedContents=function(){throw new Kl(this.constructor.name,"getUnencodedContents")},t}(al),Kb=function(e){ft(t,e);function t(r,n,i){i===void 0&&(i=!0);var a=e.call(this,r,i)||this;return a.operators=n,a}return t.prototype.push=function(){for(var r,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];(r=this.operators).push.apply(r,n)},t.prototype.clone=function(r){for(var n=new Array(this.operators.length),i=0,a=this.operators.length;i<a;i++)n[i]=this.operators[i].clone(r);var o=this,s=o.dict,l=o.encode;return t.of(s.clone(r),n,l)},t.prototype.getContentsString=function(){for(var r="",n=0,i=this.operators.length;n<i;n++)r+=this.operators[n]+`
482`;return r},t.prototype.getUnencodedContents=function(){for(var r=new Uint8Array(this.getUnencodedContentsSize()),n=0,i=0,a=this.operators.length;i<a;i++)n+=this.operators[i].copyBytesInto(r,n),r[n++]=fe.Newline;return r},t.prototype.getUnencodedContentsSize=function(){for(var r=0,n=0,i=this.operators.length;n<i;n++)r+=this.operators[n].sizeInBytes()+1;return r},t.of=function(r,n,i){return i===void 0&&(i=!0),new t(r,n,i)},t}(gM),Fct=function(){function e(t){this.seed=t}return e.prototype.nextInt=function(){var t=Math.sin(this.seed++)*1e4;return t-Math.floor(t)},e.withSeed=function(t){return new e(t)},e}(),Dct=function(e,t){var r=e[0],n=t[0];return r.objectNumber-n.objectNumber},GD=function(){function e(){this.largestObjectNumber=0,this.header=qA.forVersion(1,7),this.trailerInfo={},this.indirectObjects=new Map,this.rng=Fct.withSeed(1)}return e.prototype.assign=function(t,r){this.indirectObjects.set(t,r),t.objectNumber>this.largestObjectNumber&&(this.largestObjectNumber=t.objectNumber)},e.prototype.nextRef=function(){return this.largestObjectNumber+=1,gn.of(this.largestObjectNumber)},e.prototype.register=function(t){var r=this.nextRef();return this.assign(r,t),r},e.prototype.delete=function(t){return this.indirectObjects.delete(t)},e.prototype.lookupMaybe=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=r.includes(ls),a=t instanceof gn?this.indirectObjects.get(t):t;if(!(!a||a===ls&&!i)){for(var o=0,s=r.length;o<s;o++){var l=r[o];if(l===ls){if(a===ls)return a}else if(a instanceof l)return a}throw new i_(r,a)}},e.prototype.lookup=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var i=t instanceof gn?this.indirectObjects.get(t):t;if(r.length===0)return i;for(var a=0,o=r.length;a<o;a++){var s=r[a];if(s===ls){if(i===ls)return i}else if(i instanceof s)return i}throw new i_(r,i)},e.prototype.getObjectRef=function(t){for(var r=Array.from(this.indirectObjects.entries()),n=0,i=r.length;n<i;n++){var a=r[n],o=a[0],s=a[1];if(s===t)return o}},e.prototype.enumerateIndirectObjects=function(){return Array.from(this.indirectObjects.entries()).sort(Dct)},e.prototype.obj=function(t){if(t instanceof Wo)return t;if(t==null)return ls;if(typeof t=="string")return ue.of(t);if(typeof t=="number")return ar.of(t);if(typeof t=="boolean")return t?Fw.True:Fw.False;if(Array.isArray(t)){for(var r=en.withContext(this),n=0,i=t.length;n<i;n++)r.push(this.obj(t[n]));return r}else{for(var a=gr.withContext(this),o=Object.keys(t),n=0,i=o.length;n<i;n++){var s=o[n],l=t[s];l!==void 0&&a.set(ue.of(s),this.obj(l))}return a}},e.prototype.stream=function(t,r){return r===void 0&&(r={}),Dw.of(this.obj(r),ND(t))},e.prototype.flateStream=function(t,r){return r===void 0&&(r={}),this.stream(UA.deflate(ND(t)),cr(cr({},r),{Filter:"FlateDecode"}))},e.prototype.contentStream=function(t,r){return r===void 0&&(r={}),Kb.of(this.obj(r),t)},e.prototype.formXObject=function(t,r){return r===void 0&&(r={}),this.contentStream(t,cr(cr({BBox:this.obj([0,0,0,0]),Matrix:this.obj([1,0,0,1,0,0])},r),{Type:"XObject",Subtype:"Form"}))},e.prototype.getPushGraphicsStateContentStream=function(){if(this.pushGraphicsStateContentStreamRef)return this.pushGraphicsStateContentStreamRef;var t=this.obj({}),r=qr.of(Zr.PushGraphicsState),n=Kb.of(t,[r]);return this.pushGraphicsStateContentStreamRef=this.register(n),this.pushGraphicsStateContentStreamRef},e.prototype.getPopGraphicsStateContentStream=function(){if(this.popGraphicsStateContentStreamRef)return this.popGraphicsStateContentStreamRef;var t=this.obj({}),r=qr.of(Zr.PopGraphicsState),n=Kb.of(t,[r]);return this.popGraphicsStateContentStreamRef=this.register(n),this.popGraphicsStateContentStreamRef},e.prototype.addRandomSuffix=function(t,r){return r===void 0&&(r=4),t+"-"+Math.floor(this.rng.nextInt()*Math.pow(10,r))},e.create=function(){return new e},e}(),ef=function(e){ft(t,e);function t(r,n,i){i===void 0&&(i=!0);var a=e.call(this,r,n)||this;return a.normalized=!1,a.autoNormalizeCTM=i,a}return t.prototype.clone=function(r){for(var n=t.fromMapWithContext(new Map,r||this.context,this.autoNormalizeCTM),i=this.entries(),a=0,o=i.length;a<o;a++){var s=i[a],l=s[0],c=s[1];n.set(l,c)}return n},t.prototype.Parent=function(){return this.lookupMaybe(ue.Parent,gr)},t.prototype.Contents=function(){return this.lookup(ue.of("Contents"))},t.prototype.Annots=function(){return this.lookupMaybe(ue.Annots,en)},t.prototype.BleedBox=function(){return this.lookupMaybe(ue.BleedBox,en)},t.prototype.TrimBox=function(){return this.lookupMaybe(ue.TrimBox,en)},t.prototype.ArtBox=function(){return this.lookupMaybe(ue.ArtBox,en)},t.prototype.Resources=function(){var r=this.getInheritableAttribute(ue.Resources);return this.context.lookupMaybe(r,gr)},t.prototype.MediaBox=function(){var r=this.getInheritableAttribute(ue.MediaBox);return this.context.lookup(r,en)},t.prototype.CropBox=function(){var r=this.getInheritableAttribute(ue.CropBox);return this.context.lookupMaybe(r,en)},t.prototype.Rotate=function(){var r=this.getInheritableAttribute(ue.Rotate);return this.context.lookupMaybe(r,ar)},t.prototype.getInheritableAttribute=function(r){var n;return this.ascend(function(i){n||(n=i.get(r))}),n},t.prototype.setParent=function(r){this.set(ue.Parent,r)},t.prototype.addContentStream=function(r){var n=this.normalizedEntries().Contents||this.context.obj([]);this.set(ue.Contents,n),n.push(r)},t.prototype.wrapContentStreams=function(r,n){var i=this.Contents();return i instanceof en?(i.insert(0,r),i.push(n),!0):!1},t.prototype.addAnnot=function(r){var n=this.normalizedEntries().Annots;n.push(r)},t.prototype.removeAnnot=function(r){var n=this.normalizedEntries().Annots,i=n.indexOf(r);i!==void 0&&n.remove(i)},t.prototype.setFontDictionary=function(r,n){var i=this.normalizedEntries().Font;i.set(r,n)},t.prototype.newFontDictionaryKey=function(r){var n=this.normalizedEntries().Font;return n.uniqueKey(r)},t.prototype.newFontDictionary=function(r,n){var i=this.newFontDictionaryKey(r);return this.setFontDictionary(i,n),i},t.prototype.setXObject=function(r,n){var i=this.normalizedEntries().XObject;i.set(r,n)},t.prototype.newXObjectKey=function(r){var n=this.normalizedEntries().XObject;return n.uniqueKey(r)},t.prototype.newXObject=function(r,n){var i=this.newXObjectKey(r);return this.setXObject(i,n),i},t.prototype.setExtGState=function(r,n){var i=this.normalizedEntries().ExtGState;i.set(r,n)},t.prototype.newExtGStateKey=function(r){var n=this.normalizedEntries().ExtGState;return n.uniqueKey(r)},t.prototype.newExtGState=function(r,n){var i=this.newExtGStateKey(r);return this.setExtGState(i,n),i},t.prototype.ascend=function(r){r(this);var n=this.Parent();n&&n.ascend(r)},t.prototype.normalize=function(){if(!this.normalized){var r=this.context,n=this.get(ue.Contents),i=this.context.lookup(n);i instanceof al&&this.set(ue.Contents,r.obj([n])),this.autoNormalizeCTM&&this.wrapContentStreams(this.context.getPushGraphicsStateContentStream(),this.context.getPopGraphicsStateContentStream());var a=this.getInheritableAttribute(ue.Resources),o=r.lookupMaybe(a,gr)||r.obj({});this.set(ue.Resources,o);var s=o.lookupMaybe(ue.Font,gr)||r.obj({});o.set(ue.Font,s);var l=o.lookupMaybe(ue.XObject,gr)||r.obj({});o.set(ue.XObject,l);var c=o.lookupMaybe(ue.ExtGState,gr)||r.obj({});o.set(ue.ExtGState,c);var u=this.Annots()||r.obj([]);this.set(ue.Annots,u),this.normalized=!0}},t.prototype.normalizedEntries=function(){this.normalize();var r=this.Annots(),n=this.Resources(),i=this.Contents();return{Annots:r,Resources:n,Contents:i,Font:n.lookup(ue.Font,gr),XObject:n.lookup(ue.XObject,gr),ExtGState:n.lookup(ue.ExtGState,gr)}},t.InheritableEntries=["Resources","MediaBox","CropBox","Rotate"],t.withContextAndParent=function(r,n){var i=new Map;return i.set(ue.Type,ue.Page),i.set(ue.Parent,n),i.set(ue.Resources,r.obj({})),i.set(ue.MediaBox,r.obj([0,0,612,792])),new t(i,r,!1)},t.fromMapWithContext=function(r,n,i){return i===void 0&&(i=!0),new t(r,n,i)},t}(gr),WZ=function(){function e(t,r){var n=this;this.traversedObjects=new Map,this.copy=function(i){return i instanceof ef?n.copyPDFPage(i):i instanceof gr?n.copyPDFDict(i):i instanceof en?n.copyPDFArray(i):i instanceof al?n.copyPDFStream(i):i instanceof gn?n.copyPDFIndirectObject(i):i.clone()},this.copyPDFPage=function(i){for(var a=i.clone(),o=ef.InheritableEntries,s=0,l=o.length;s<l;s++){var c=ue.of(o[s]),u=a.getInheritableAttribute(c);!a.get(c)&&u&&a.set(c,u)}return a.delete(ue.of("Parent")),n.copyPDFDict(a)},this.copyPDFDict=function(i){if(n.traversedObjects.has(i))return n.traversedObjects.get(i);var a=i.clone(n.dest);n.traversedObjects.set(i,a);for(var o=i.entries(),s=0,l=o.length;s<l;s++){var c=o[s],u=c[0],d=c[1];a.set(u,n.copy(d))}return a},this.copyPDFArray=function(i){if(n.traversedObjects.has(i))return n.traversedObjects.get(i);var a=i.clone(n.dest);n.traversedObjects.set(i,a);for(var o=0,s=i.size();o<s;o++){var l=i.get(o);a.set(o,n.copy(l))}return a},this.copyPDFStream=function(i){if(n.traversedObjects.has(i))return n.traversedObjects.get(i);var a=i.clone(n.dest);n.traversedObjects.set(i,a);for(var o=i.dict.entries(),s=0,l=o.length;s<l;s++){var c=o[s],u=c[0],d=c[1];a.dict.set(u,n.copy(d))}return a},this.copyPDFIndirectObject=function(i){var a=n.traversedObjects.has(i);if(!a){var o=n.dest.nextRef();n.traversedObjects.set(i,o);var s=n.src.lookup(i);if(s){var l=n.copy(s);n.dest.assign(o,l)}}return n.traversedObjects.get(i)},this.src=t,this.dest=r}return e.for=function(t,r){return new e(t,r)},e}(),Cue=function(){function e(t){this.subsections=t?[[t]]:[],this.chunkIdx=0,this.chunkLength=t?1:0}return e.prototype.addEntry=function(t,r){this.append({ref:t,offset:r,deleted:!1})},e.prototype.addDeletedEntry=function(t,r){this.append({ref:t,offset:r,deleted:!0})},e.prototype.toString=function(){for(var t=`xref
483`,r=0,n=this.subsections.length;r<n;r++){var i=this.subsections[r];t+=i[0].ref.objectNumber+" "+i.length+`
484`;for(var a=0,o=i.length;a<o;a++){var s=i[a];t+=Dc(String(s.offset),10,"0"),t+=" ",t+=Dc(String(s.ref.generationNumber),5,"0"),t+=" ",t+=s.deleted?"f":"n",t+=` 
485`}}return t},e.prototype.sizeInBytes=function(){for(var t=5,r=0,n=this.subsections.length;r<n;r++){var i=this.subsections[r],a=i.length,o=i[0];t+=2,t+=String(o.ref.objectNumber).length,t+=String(a).length,t+=20*a}return t},e.prototype.copyBytesInto=function(t,r){var n=r;return t[r++]=fe.x,t[r++]=fe.r,t[r++]=fe.e,t[r++]=fe.f,t[r++]=fe.Newline,r+=this.copySubsectionsIntoBuffer(this.subsections,t,r),r-n},e.prototype.copySubsectionsIntoBuffer=function(t,r,n){for(var i=n,a=t.length,o=0;o<a;o++){var s=this.subsections[o],l=String(s[0].ref.objectNumber);n+=Ma(l,r,n),r[n++]=fe.Space;var c=String(s.length);n+=Ma(c,r,n),r[n++]=fe.Newline,n+=this.copyEntriesIntoBuffer(s,r,n)}return n-i},e.prototype.copyEntriesIntoBuffer=function(t,r,n){for(var i=t.length,a=0;a<i;a++){var o=t[a],s=Dc(String(o.offset),10,"0");n+=Ma(s,r,n),r[n++]=fe.Space;var l=Dc(String(o.ref.generationNumber),5,"0");n+=Ma(l,r,n),r[n++]=fe.Space,r[n++]=o.deleted?fe.f:fe.n,r[n++]=fe.Space,r[n++]=fe.Newline}return 20*i},e.prototype.append=function(t){if(this.chunkLength===0){this.subsections.push([t]),this.chunkIdx=0,this.chunkLength=1;return}var r=this.subsections[this.chunkIdx],n=r[this.chunkLength-1];t.ref.objectNumber-n.ref.objectNumber>1?(this.subsections.push([t]),this.chunkIdx+=1,this.chunkLength=1):(r.push(t),this.chunkLength+=1)},e.create=function(){return new e({ref:gn.of(0,65535),offset:0,deleted:!0})},e.createEmpty=function(){return new e},e}(),vM=function(){function e(t){this.lastXRefOffset=String(t)}return e.prototype.toString=function(){return`startxref
486`+this.lastXRefOffset+`
487%%EOF`},e.prototype.sizeInBytes=function(){return 16+this.lastXRefOffset.length},e.prototype.copyBytesInto=function(t,r){var n=r;return t[r++]=fe.s,t[r++]=fe.t,t[r++]=fe.a,t[r++]=fe.r,t[r++]=fe.t,t[r++]=fe.x,t[r++]=fe.r,t[r++]=fe.e,t[r++]=fe.f,t[r++]=fe.Newline,r+=Ma(this.lastXRefOffset,t,r),t[r++]=fe.Newline,t[r++]=fe.Percent,t[r++]=fe.Percent,t[r++]=fe.E,t[r++]=fe.O,t[r++]=fe.F,r-n},e.forLastCrossRefSectionOffset=function(t){return new e(t)},e}(),Nct=function(){function e(t){this.dict=t}return e.prototype.toString=function(){return`trailer
488`+this.dict.toString()},e.prototype.sizeInBytes=function(){return 8+this.dict.sizeInBytes()},e.prototype.copyBytesInto=function(t,r){var n=r;return t[r++]=fe.t,t[r++]=fe.r,t[r++]=fe.a,t[r++]=fe.i,t[r++]=fe.l,t[r++]=fe.e,t[r++]=fe.r,t[r++]=fe.Newline,r+=this.dict.copyBytesInto(t,r),r-n},e.of=function(t){return new e(t)},e}(),Eue=function(e){ft(t,e);function t(r,n,i){i===void 0&&(i=!0);var a=e.call(this,r.obj({}),i)||this;return a.objects=n,a.offsets=a.computeObjectOffsets(),a.offsetsString=a.computeOffsetsString(),a.dict.set(ue.of("Type"),ue.of("ObjStm")),a.dict.set(ue.of("N"),ar.of(a.objects.length)),a.dict.set(ue.of("First"),ar.of(a.offsetsString.length)),a}return t.prototype.getObjectsCount=function(){return this.objects.length},t.prototype.clone=function(r){return t.withContextAndObjects(r||this.dict.context,this.objects.slice(),this.encode)},t.prototype.getContentsString=function(){for(var r=this.offsetsString,n=0,i=this.objects.length;n<i;n++){var a=this.objects[n],o=a[1];r+=o+`
489`}return r},t.prototype.getUnencodedContents=function(){for(var r=new Uint8Array(this.getUnencodedContentsSize()),n=Ma(this.offsetsString,r,0),i=0,a=this.objects.length;i<a;i++){var o=this.objects[i],s=o[1];n+=s.copyBytesInto(r,n),r[n++]=fe.Newline}return r},t.prototype.getUnencodedContentsSize=function(){return this.offsetsString.length+t_(this.offsets)[1]+t_(this.objects)[1].sizeInBytes()+1},t.prototype.computeOffsetsString=function(){for(var r="",n=0,i=this.offsets.length;n<i;n++){var a=this.offsets[n],o=a[0],s=a[1];r+=o+" "+s+" "}return r},t.prototype.computeObjectOffsets=function(){for(var r=0,n=new Array(this.objects.length),i=0,a=this.objects.length;i<a;i++){var o=this.objects[i],s=o[0],l=o[1];n[i]=[s.objectNumber,r],r+=l.sizeInBytes()+1}return n},t.withContextAndObjects=function(r,n,i){return i===void 0&&(i=!0),new t(r,n,i)},t}(gM),kue=function(){function e(t,r){var n=this;this.parsedObjects=0,this.shouldWaitForTick=function(i){return n.parsedObjects+=i,n.parsedObjects%n.objectsPerTick===0},this.context=t,this.objectsPerTick=r}return e.prototype.serializeToBuffer=function(){return Sr(this,void 0,void 0,function(){var t,r,n,i,a,o,s,l,c,u,d,f,h,p,g,v,m;return wr(this,function(b){switch(b.label){case 0:return[4,this.computeBufferSize()];case 1:t=b.sent(),r=t.size,n=t.header,i=t.indirectObjects,a=t.xref,o=t.trailerDict,s=t.trailer,l=0,c=new Uint8Array(r),l+=n.copyBytesInto(c,l),c[l++]=fe.Newline,c[l++]=fe.Newline,u=0,d=i.length,b.label=2;case 2:return u<d?(f=i[u],h=f[0],p=f[1],g=String(h.objectNumber),l+=Ma(g,c,l),c[l++]=fe.Space,v=String(h.generationNumber),l+=Ma(v,c,l),c[l++]=fe.Space,c[l++]=fe.o,c[l++]=fe.b,c[l++]=fe.j,c[l++]=fe.Newline,l+=p.copyBytesInto(c,l),c[l++]=fe.Newline,c[l++]=fe.e,c[l++]=fe.n,c[l++]=fe.d,c[l++]=fe.o,c[l++]=fe.b,c[l++]=fe.j,c[l++]=fe.Newline,c[l++]=fe.Newline,m=p instanceof Eue?p.getObjectsCount():1,this.shouldWaitForTick(m)?[4,Xv()]:[3,4]):[3,5];case 3:b.sent(),b.label=4;case 4:return u++,[3,2];case 5:return a&&(l+=a.copyBytesInto(c,l),c[l++]=fe.Newline),o&&(l+=o.copyBytesInto(c,l),c[l++]=fe.Newline,c[l++]=fe.Newline),l+=s.copyBytesInto(c,l),[2,c]}})})},e.prototype.computeIndirectObjectSize=function(t){var r=t[0],n=t[1],i=r.sizeInBytes()+3,a=n.sizeInBytes()+9;return i+a},e.prototype.createTrailerDict=function(){return this.context.obj({Size:this.context.largestObjectNumber+1,Root:this.context.trailerInfo.Root,Encrypt:this.context.trailerInfo.Encrypt,Info:this.context.trailerInfo.Info,ID:this.context.trailerInfo.ID})},e.prototype.computeBufferSize=function(){return Sr(this,void 0,void 0,function(){var t,r,n,i,a,o,s,l,c,u,d;return wr(this,function(f){switch(f.label){case 0:t=qA.forVersion(1,7),r=t.sizeInBytes()+2,n=Cue.create(),i=this.context.enumerateIndirectObjects(),a=0,o=i.length,f.label=1;case 1:return a<o?(s=i[a],l=s[0],n.addEntry(l,r),r+=this.computeIndirectObjectSize(s),this.shouldWaitForTick(1)?[4,Xv()]:[3,3]):[3,4];case 2:f.sent(),f.label=3;case 3:return a++,[3,1];case 4:return c=r,r+=n.sizeInBytes()+1,u=Nct.of(this.createTrailerDict()),r+=u.sizeInBytes()+2,d=vM.forLastCrossRefSectionOffset(c),r+=d.sizeInBytes(),[2,{size:r,header:t,indirectObjects:i,xref:n,trailerDict:u,trailer:d}]}})})},e.forContext=function(t,r){return new e(t,r)},e}(),Tue=function(e){ft(t,e);function t(r){var n=e.call(this)||this;return n.data=r,n}return t.prototype.clone=function(){return t.of(this.data.slice())},t.prototype.toString=function(){return"PDFInvalidObject("+this.data.length+" bytes)"},t.prototype.sizeInBytes=function(){return this.data.length},t.prototype.copyBytesInto=function(r,n){for(var i=this.data.length,a=0;a<i;a++)r[n++]=this.data[a];return i},t.of=function(r){return new t(r)},t}(Wo),ah;(function(e){e[e.Deleted=0]="Deleted",e[e.Uncompressed=1]="Uncompressed",e[e.Compressed=2]="Compressed"})(ah||(ah={}));var Mct=function(e){ft(t,e);function t(r,n,i){i===void 0&&(i=!0);var a=e.call(this,r,i)||this;return a.computeIndex=function(){for(var o=[],s=0,l=0,c=a.entries.length;l<c;l++){var u=a.entries[l],d=a.entries[l-1];l===0?o.push(u.ref.objectNumber):u.ref.objectNumber-d.ref.objectNumber>1&&(o.push(s),o.push(u.ref.objectNumber),s=0),s+=1}return o.push(s),o},a.computeEntryTuples=function(){for(var o=new Array(a.entries.length),s=0,l=a.entries.length;s<l;s++){var c=a.entries[s];if(c.type===ah.Deleted){var u=c.type,d=c.nextFreeObjectNumber,f=c.ref;o[s]=[u,d,f.generationNumber]}if(c.type===ah.Uncompressed){var u=c.type,h=c.offset,f=c.ref;o[s]=[u,h,f.generationNumber]}if(c.type===ah.Compressed){var u=c.type,p=c.objectStreamRef,g=c.index;o[s]=[u,p.objectNumber,g]}}return o},a.computeMaxEntryByteWidths=function(){for(var o=a.entryTuplesCache.access(),s=[0,0,0],l=0,c=o.length;l<c;l++){var u=o[l],d=u[0],f=u[1],h=u[2],p=ik(d),g=ik(f),v=ik(h);p>s[0]&&(s[0]=p),g>s[1]&&(s[1]=g),v>s[2]&&(s[2]=v)}return s},a.entries=n||[],a.entryTuplesCache=Jd.populatedBy(a.computeEntryTuples),a.maxByteWidthsCache=Jd.populatedBy(a.computeMaxEntryByteWidths),a.indexCache=Jd.populatedBy(a.computeIndex),r.set(ue.of("Type"),ue.of("XRef")),a}return t.prototype.addDeletedEntry=function(r,n){var i=ah.Deleted;this.entries.push({type:i,ref:r,nextFreeObjectNumber:n}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.addUncompressedEntry=function(r,n){var i=ah.Uncompressed;this.entries.push({type:i,ref:r,offset:n}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.addCompressedEntry=function(r,n,i){var a=ah.Compressed;this.entries.push({type:a,ref:r,objectStreamRef:n,index:i}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.clone=function(r){var n=this,i=n.dict,a=n.entries,o=n.encode;return t.of(i.clone(r),a.slice(),o)},t.prototype.getContentsString=function(){for(var r=this.entryTuplesCache.access(),n=this.maxByteWidthsCache.access(),i="",a=0,o=r.length;a<o;a++){for(var s=r[a],l=s[0],c=s[1],u=s[2],d=Y0($0(l)),f=Y0($0(c)),h=Y0($0(u)),p=n[0]-1;p>=0;p--)i+=(d[p]||0).toString(2);for(var p=n[1]-1;p>=0;p--)i+=(f[p]||0).toString(2);for(var p=n[2]-1;p>=0;p--)i+=(h[p]||0).toString(2)}return i},t.prototype.getUnencodedContents=function(){for(var r=this.entryTuplesCache.access(),n=this.maxByteWidthsCache.access(),i=new Uint8Array(this.getUnencodedContentsSize()),a=0,o=0,s=r.length;o<s;o++){for(var l=r[o],c=l[0],u=l[1],d=l[2],f=Y0($0(c)),h=Y0($0(u)),p=Y0($0(d)),g=n[0]-1;g>=0;g--)i[a++]=f[g]||0;for(var g=n[1]-1;g>=0;g--)i[a++]=h[g]||0;for(var g=n[2]-1;g>=0;g--)i[a++]=p[g]||0}return i},t.prototype.getUnencodedContentsSize=function(){var r=this.maxByteWidthsCache.access(),n=Mot(r);return n*this.entries.length},t.prototype.updateDict=function(){e.prototype.updateDict.call(this);var r=this.maxByteWidthsCache.access(),n=this.indexCache.access(),i=this.dict.context;this.dict.set(ue.of("W"),i.obj(r)),this.dict.set(ue.of("Index"),i.obj(n))},t.create=function(r,n){n===void 0&&(n=!0);var i=new t(r,[],n);return i.addDeletedEntry(gn.of(0,65535),0),i},t.of=function(r,n,i){return i===void 0&&(i=!0),new t(r,n,i)},t}(gM),Lct=function(e){ft(t,e);function t(r,n,i,a){var o=e.call(this,r,n)||this;return o.encodeStreams=i,o.objectsPerStream=a,o}return t.prototype.computeBufferSize=function(){return Sr(this,void 0,void 0,function(){var r,n,i,a,o,s,l,c,p,g,u,m,d,f,v,h,p,g,v,m,b,y,w,x;return wr(this,function(C){switch(C.label){case 0:r=this.context.largestObjectNumber+1,n=qA.forVersion(1,7),i=n.sizeInBytes()+2,a=Mct.create(this.createTrailerDict(),this.encodeStreams),o=[],s=[],l=[],c=this.context.enumerateIndirectObjects(),p=0,g=c.length,C.label=1;case 1:return p<g?(u=c[p],m=u[0],d=u[1],f=m===this.context.trailerInfo.Encrypt||d instanceof al||d instanceof Tue||m.generationNumber!==0,f?(o.push(u),a.addUncompressedEntry(m,i),i+=this.computeIndirectObjectSize(u),this.shouldWaitForTick(1)?[4,Xv()]:[3,3]):[3,4]):[3,6];case 2:C.sent(),C.label=3;case 3:return[3,5];case 4:v=t_(s),h=t_(l),(!v||v.length%this.objectsPerStream===0)&&(v=[],s.push(v),h=gn.of(r++),l.push(h)),a.addCompressedEntry(m,h,v.length),v.push(u),C.label=5;case 5:return p++,[3,1];case 6:p=0,g=s.length,C.label=7;case 7:return p<g?(v=s[p],m=l[p],b=Eue.withContextAndObjects(this.context,v,this.encodeStreams),a.addUncompressedEntry(m,i),i+=this.computeIndirectObjectSize([m,b]),o.push([m,b]),this.shouldWaitForTick(v.length)?[4,Xv()]:[3,9]):[3,10];case 8:C.sent(),C.label=9;case 9:return p++,[3,7];case 10:return y=gn.of(r++),a.dict.set(ue.of("Size"),ar.of(r)),a.addUncompressedEntry(y,i),w=i,i+=this.computeIndirectObjectSize([y,a]),o.push([y,a]),x=vM.forLastCrossRefSectionOffset(w),i+=x.sizeInBytes(),[2,{size:i,header:n,indirectObjects:o,trailer:x}]}})})},t.forContext=function(r,n,i,a){return i===void 0&&(i=!0),a===void 0&&(a=50),new t(r,n,i,a)},t}(kue),Qt=function(e){ft(t,e);function t(r){var n=e.call(this)||this;return n.value=r,n}return t.prototype.asBytes=function(){for(var r=this.value+(this.value.length%2===1?"0":""),n=r.length,i=new Uint8Array(r.length/2),a=0,o=0;a<n;){var s=parseInt(r.substring(a,a+2),16);i[o]=s,a+=2,o+=1}return i},t.prototype.decodeText=function(){var r=this.asBytes();return Oce(r)?_ce(r):wue(r)},t.prototype.decodeDate=function(){var r=this.decodeText(),n=Cce(r);if(!n)throw new xue(r);return n},t.prototype.asString=function(){return this.value},t.prototype.clone=function(){return t.of(this.value)},t.prototype.toString=function(){return"<"+this.value+">"},t.prototype.sizeInBytes=function(){return this.value.length+2},t.prototype.copyBytesInto=function(r,n){return r[n++]=fe.LessThan,n+=Ma(this.value,r,n),r[n++]=fe.GreaterThan,this.value.length+2},t.of=function(r){return new t(r)},t.fromText=function(r){for(var n=zot(r),i="",a=0,o=n.length;a<o;a++)i+=Xx(n[a],4);return new t(i)},t}(Wo),o_=function(){function e(t,r){this.encoding=t===Rw.ZapfDingbats?WC.ZapfDingbats:t===Rw.Symbol?WC.Symbol:WC.WinAnsi,this.font=rct.load(t),this.fontName=this.font.FontName,this.customName=r}return e.prototype.encodeText=function(t){for(var r=this.encodeTextAsGlyphs(t),n=new Array(r.length),i=0,a=r.length;i<a;i++)n[i]=NA(r[i].code);return Qt.of(n.join(""))},e.prototype.widthOfTextAtSize=function(t,r){for(var n=this.encodeTextAsGlyphs(t),i=0,a=0,o=n.length;a<o;a++){var s=n[a].name,l=(n[a+1]||{}).name,c=this.font.getXAxisKerningForPair(s,l)||0;i+=this.widthOfGlyph(s)+c}var u=r/1e3;return i*u},e.prototype.heightOfFontAtSize=function(t,r){r===void 0&&(r={});var n=r.descender,i=n===void 0?!0:n,a=this.font,o=a.Ascender,s=a.Descender,l=a.FontBBox,c=o||l[3],u=s||l[1],d=c-u;return i||(d+=s||0),d/1e3*t},e.prototype.sizeOfFontAtHeight=function(t){var r=this.font,n=r.Ascender,i=r.Descender,a=r.FontBBox,o=n||a[3],s=i||a[1];return 1e3*t/(o-s)},e.prototype.embedIntoContext=function(t,r){var n=t.obj({Type:"Font",Subtype:"Type1",BaseFont:this.customName||this.fontName,Encoding:this.encoding===WC.WinAnsi?"WinAnsiEncoding":void 0});return r?(t.assign(r,n),r):t.register(n)},e.prototype.widthOfGlyph=function(t){return this.font.getWidthOfGlyph(t)||250},e.prototype.encodeTextAsGlyphs=function(t){for(var r=Array.from(t),n=new Array(r.length),i=0,a=r.length;i<a;i++){var o=Eot(r[i]);n[i]=this.encoding.encodeUnicodeCodePoint(o)}return n},e.for=function(t,r){return new e(t,r)},e}(),Bct=function(e,t){for(var r=new Array(e.length),n=0,i=e.length;n<i;n++){var a=e[n],o=VZ(uk(t(a))),s=VZ.apply(void 0,a.codePoints.map(zct));r[n]=[o,s]}return Uct(r)},Uct=function(e){return`/CIDInit /ProcSet findresource begin
49012 dict begin
491begincmap
492/CIDSystemInfo <<
493  /Registry (Adobe)
494  /Ordering (UCS)
495  /Supplement 0
496>> def
497/CMapName /Adobe-Identity-UCS def
498/CMapType 2 def
4991 begincodespacerange
500<0000><ffff>
501endcodespacerange
502`+e.length+` beginbfchar
503`+e.map(function(t){var r=t[0],n=t[1];return r+" "+n}).join(`
504`)+`
505endbfchar
506endcmap
507CMapName currentdict /CMap defineresource pop
508end
509end`},VZ=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"<"+e.join("")+">"},uk=function(e){return Xx(e,4)},zct=function(e){if(Hot(e))return uk(e);if(qot(e)){var t=kce(e),r=Tce(e);return""+uk(t)+uk(r)}var n=NA(e),i="0x"+n+" is not a valid UTF-8 or UTF-16 codepoint.";throw new Error(i)},Hct=function(e){var t=0,r=function(n){t|=1<<n-1};return e.fixedPitch&&r(1),e.serif&&r(2),r(3),e.script&&r(4),e.nonsymbolic&&r(6),e.italic&&r(7),e.allCap&&r(17),e.smallCap&&r(18),e.forceBold&&r(19),t},qct=function(e){var t=e["OS/2"]?e["OS/2"].sFamilyClass:0,r=Hct({fixedPitch:e.post.isFixedPitch,serif:1<=t&&t<=7,script:t===10,italic:e.head.macStyle.italic});return r},mn=function(e){ft(t,e);function t(r){var n=e.call(this)||this;return n.value=r,n}return t.prototype.asBytes=function(){for(var r=[],n="",i=!1,a=function(d){d!==void 0&&r.push(d),i=!1},o=0,s=this.value.length;o<s;o++){var l=this.value[o],c=lr(l),u=this.value[o+1];i?c===fe.Newline||c===fe.CarriageReturn?a():c===fe.n?a(fe.Newline):c===fe.r?a(fe.CarriageReturn):c===fe.t?a(fe.Tab):c===fe.b?a(fe.Backspace):c===fe.f?a(fe.FormFeed):c===fe.LeftParen?a(fe.LeftParen):c===fe.RightParen?a(fe.RightParen):c===fe.Backspace?a(fe.BackSlash):c>=fe.Zero&&c<=fe.Seven?(n+=l,(n.length===3||!(u>="0"&&u<="7"))&&(a(parseInt(n,8)),n="")):a(c):c===fe.BackSlash?i=!0:a(c)}return new Uint8Array(r)},t.prototype.decodeText=function(){var r=this.asBytes();return Oce(r)?_ce(r):wue(r)},t.prototype.decodeDate=function(){var r=this.decodeText(),n=Cce(r);if(!n)throw new xue(r);return n},t.prototype.asString=function(){return this.value},t.prototype.clone=function(){return t.of(this.value)},t.prototype.toString=function(){return"("+this.value+")"},t.prototype.sizeInBytes=function(){return this.value.length+2},t.prototype.copyBytesInto=function(r,n){return r[n++]=fe.LeftParen,n+=Ma(this.value,r,n),r[n++]=fe.RightParen,this.value.length+2},t.of=function(r){return new t(r)},t.fromDate=function(r){var n=Dc(String(r.getUTCFullYear()),4,"0"),i=Dc(String(r.getUTCMonth()+1),2,"0"),a=Dc(String(r.getUTCDate()),2,"0"),o=Dc(String(r.getUTCHours()),2,"0"),s=Dc(String(r.getUTCMinutes()),2,"0"),l=Dc(String(r.getUTCSeconds()),2,"0");return new t("D:"+n+i+a+o+s+l+"Z")},t}(Wo),yM=function(){function e(t,r,n,i){var a=this;this.allGlyphsInFontSortedById=function(){for(var o=new Array(a.font.characterSet.length),s=0,l=o.length;s<l;s++){var c=a.font.characterSet[s];o[s]=a.font.glyphForCodePoint(c)}return Not(o.sort(Dot),function(u){return u.id})},this.font=t,this.scale=1e3/this.font.unitsPerEm,this.fontData=r,this.fontName=this.font.postscriptName||"Font",this.customName=n,this.fontFeatures=i,this.baseFontName="",this.glyphCache=Jd.populatedBy(this.allGlyphsInFontSortedById)}return e.for=function(t,r,n,i){return Sr(this,void 0,void 0,function(){var a;return wr(this,function(o){switch(o.label){case 0:return[4,t.create(r)];case 1:return a=o.sent(),[2,new e(a,r,n,i)]}})})},e.prototype.encodeText=function(t){for(var r=this.font.layout(t,this.fontFeatures).glyphs,n=new Array(r.length),i=0,a=r.length;i<a;i++)n[i]=Xx(r[i].id,4);return Qt.of(n.join(""))},e.prototype.widthOfTextAtSize=function(t,r){for(var n=this.font.layout(t,this.fontFeatures).glyphs,i=0,a=0,o=n.length;a<o;a++)i+=n[a].advanceWidth*this.scale;var s=r/1e3;return i*s},e.prototype.heightOfFontAtSize=function(t,r){r===void 0&&(r={});var n=r.descender,i=n===void 0?!0:n,a=this.font,o=a.ascent,s=a.descent,l=a.bbox,c=(o||l.maxY)*this.scale,u=(s||l.minY)*this.scale,d=c-u;return i||(d-=Math.abs(s)||0),d/1e3*t},e.prototype.sizeOfFontAtHeight=function(t){var r=this.font,n=r.ascent,i=r.descent,a=r.bbox,o=(n||a.maxY)*this.scale,s=(i||a.minY)*this.scale;return 1e3*t/(o-s)},e.prototype.embedIntoContext=function(t,r){return this.baseFontName=this.customName||t.addRandomSuffix(this.fontName),this.embedFontDict(t,r)},e.prototype.embedFontDict=function(t,r){return Sr(this,void 0,void 0,function(){var n,i,a;return wr(this,function(o){switch(o.label){case 0:return[4,this.embedCIDFontDict(t)];case 1:return n=o.sent(),i=this.embedUnicodeCmap(t),a=t.obj({Type:"Font",Subtype:"Type0",BaseFont:this.baseFontName,Encoding:"Identity-H",DescendantFonts:[n],ToUnicode:i}),r?(t.assign(r,a),[2,r]):[2,t.register(a)]}})})},e.prototype.isCFF=function(){return this.font.cff},e.prototype.embedCIDFontDict=function(t){return Sr(this,void 0,void 0,function(){var r,n;return wr(this,function(i){switch(i.label){case 0:return[4,this.embedFontDescriptor(t)];case 1:return r=i.sent(),n=t.obj({Type:"Font",Subtype:this.isCFF()?"CIDFontType0":"CIDFontType2",CIDToGIDMap:"Identity",BaseFont:this.baseFontName,CIDSystemInfo:{Registry:mn.of("Adobe"),Ordering:mn.of("Identity"),Supplement:0},FontDescriptor:r,W:this.computeWidths()}),[2,t.register(n)]}})})},e.prototype.embedFontDescriptor=function(t){return Sr(this,void 0,void 0,function(){var r,n,i,a,o,s,l,c,u,d,f,h,p,g,v;return wr(this,function(m){switch(m.label){case 0:return[4,this.embedFontStream(t)];case 1:return r=m.sent(),n=this.scale,i=this.font,a=i.italicAngle,o=i.ascent,s=i.descent,l=i.capHeight,c=i.xHeight,u=this.font.bbox,d=u.minX,f=u.minY,h=u.maxX,p=u.maxY,g=t.obj((v={Type:"FontDescriptor",FontName:this.baseFontName,Flags:qct(this.font),FontBBox:[d*n,f*n,h*n,p*n],ItalicAngle:a,Ascent:o*n,Descent:s*n,CapHeight:(l||o)*n,XHeight:(c||0)*n,StemV:0},v[this.isCFF()?"FontFile3":"FontFile2"]=r,v)),[2,t.register(g)]}})})},e.prototype.serializeFont=function(){return Sr(this,void 0,void 0,function(){return wr(this,function(t){return[2,this.fontData]})})},e.prototype.embedFontStream=function(t){return Sr(this,void 0,void 0,function(){var r,n,i;return wr(this,function(a){switch(a.label){case 0:return i=(n=t).flateStream,[4,this.serializeFont()];case 1:return r=i.apply(n,[a.sent(),{Subtype:this.isCFF()?"CIDFontType0C":void 0}]),[2,t.register(r)]}})})},e.prototype.embedUnicodeCmap=function(t){var r=Bct(this.glyphCache.access(),this.glyphId.bind(this)),n=t.flateStream(r);return t.register(n)},e.prototype.glyphId=function(t){return t?t.id:-1},e.prototype.computeWidths=function(){for(var t=this.glyphCache.access(),r=[],n=[],i=0,a=t.length;i<a;i++){var o=t[i],s=t[i-1],l=this.glyphId(o),c=this.glyphId(s);i===0?r.push(l):l-c!==1&&(r.push(n),r.push(l),n=[]),n.push(o.advanceWidth*this.scale)}return r.push(n),r},e}(),Wct=function(e){ft(t,e);function t(r,n,i,a){var o=e.call(this,r,n,i,a)||this;return o.subset=o.font.createSubset(),o.glyphs=[],o.glyphCache=Jd.populatedBy(function(){return o.glyphs}),o.glyphIdMap=new Map,o}return t.for=function(r,n,i,a){return Sr(this,void 0,void 0,function(){var o;return wr(this,function(s){switch(s.label){case 0:return[4,r.create(n)];case 1:return o=s.sent(),[2,new t(o,n,i,a)]}})})},t.prototype.encodeText=function(r){for(var n=this.font.layout(r,this.fontFeatures).glyphs,i=new Array(n.length),a=0,o=n.length;a<o;a++){var s=n[a],l=this.subset.includeGlyph(s);this.glyphs[l-1]=s,this.glyphIdMap.set(s.id,l),i[a]=Xx(l,4)}return this.glyphCache.invalidate(),Qt.of(i.join(""))},t.prototype.isCFF=function(){return this.subset.cff},t.prototype.glyphId=function(r){return r?this.glyphIdMap.get(r.id):-1},t.prototype.serializeFont=function(){var r=this;return new Promise(function(n,i){var a=[];r.subset.encodeStream().on("data",function(o){return a.push(o)}).on("end",function(){return n(Fot(a))}).on("error",function(o){return i(o)})})},t}(yM),KD;(function(e){e.Source="Source",e.Data="Data",e.Alternative="Alternative",e.Supplement="Supplement",e.EncryptedPayload="EncryptedPayload",e.FormData="EncryptedPayload",e.Schema="Schema",e.Unspecified="Unspecified"})(KD||(KD={}));var Vct=function(){function e(t,r,n){n===void 0&&(n={}),this.fileData=t,this.fileName=r,this.options=n}return e.for=function(t,r,n){return n===void 0&&(n={}),new e(t,r,n)},e.prototype.embedIntoContext=function(t,r){return Sr(this,void 0,void 0,function(){var n,i,a,o,s,l,c,u,d;return wr(this,function(f){return n=this.options,i=n.mimeType,a=n.description,o=n.creationDate,s=n.modificationDate,l=n.afRelationship,c=t.flateStream(this.fileData,{Type:"EmbeddedFile",Subtype:i??void 0,Params:{Size:this.fileData.length,CreationDate:o?mn.fromDate(o):void 0,ModDate:s?mn.fromDate(s):void 0}}),u=t.register(c),d=t.obj({Type:"Filespec",F:mn.of(this.fileName),UF:Qt.fromText(this.fileName),EF:{F:u},Desc:a?Qt.fromText(a):void 0,AFRelationship:l??void 0}),r?(t.assign(r,d),[2,r]):[2,t.register(d)]})})},e}(),jZ=[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487],fv;(function(e){e.DeviceGray="DeviceGray",e.DeviceRGB="DeviceRGB",e.DeviceCMYK="DeviceCMYK"})(fv||(fv={}));var jct={1:fv.DeviceGray,3:fv.DeviceRGB,4:fv.DeviceCMYK},_ue=function(){function e(t,r,n,i,a){this.imageData=t,this.bitsPerComponent=r,this.width=n,this.height=i,this.colorSpace=a}return e.for=function(t){return Sr(this,void 0,void 0,function(){var r,n,i,a,o,s,l,c,u,d;return wr(this,function(f){if(r=new DataView(t.buffer),n=r.getUint16(0),n!==65496)throw new Error("SOI not found in JPEG");for(i=2;i<r.byteLength&&(a=r.getUint16(i),i+=2,!jZ.includes(a));)i+=r.getUint16(i);if(!jZ.includes(a))throw new Error("Invalid JPEG");if(i+=2,o=r.getUint8(i++),s=r.getUint16(i),i+=2,l=r.getUint16(i),i+=2,c=r.getUint8(i++),u=jct[c],!u)throw new Error("Unknown JPEG channel.");return d=u,[2,new e(t,o,l,s,d)]})})},e.prototype.embedIntoContext=function(t,r){return Sr(this,void 0,void 0,function(){var n;return wr(this,function(i){return n=t.stream(this.imageData,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.bitsPerComponent,Width:this.width,Height:this.height,ColorSpace:this.colorSpace,Filter:"DCTDecode",Decode:this.colorSpace===fv.DeviceCMYK?[1,0,1,0,1,0,1,0]:void 0}),r?(t.assign(r,n),[2,r]):[2,t.register(n)]})})},e}(),nt={};nt.toRGBA8=function(e){var t=e.width,r=e.height;if(e.tabs.acTL==null)return[nt.toRGBA8.decodeImage(e.data,t,r,e).buffer];var n=[];e.frames[0].data==null&&(e.frames[0].data=e.data);for(var i=t*r*4,a=new Uint8Array(i),o=new Uint8Array(i),s=new Uint8Array(i),l=0;l<e.frames.length;l++){var c=e.frames[l],u=c.rect.x,d=c.rect.y,f=c.rect.width,h=c.rect.height,p=nt.toRGBA8.decodeImage(c.data,f,h,e);if(l!=0)for(var g=0;g<i;g++)s[g]=a[g];if(c.blend==0?nt._copyTile(p,f,h,a,t,r,u,d,0):c.blend==1&&nt._copyTile(p,f,h,a,t,r,u,d,1),n.push(a.buffer.slice(0)),c.dispose!=0){if(c.dispose==1)nt._copyTile(o,f,h,a,t,r,u,d,0);else if(c.dispose==2)for(var g=0;g<i;g++)a[g]=s[g]}}return n};nt.toRGBA8.decodeImage=function(e,t,r,n){var i=t*r,a=nt.decode._getBPP(n),o=Math.ceil(t*a/8),s=new Uint8Array(i*4),l=new Uint32Array(s.buffer),c=n.ctype,u=n.depth,d=nt._bin.readUshort;if(c==6){var f=i<<2;if(u==8)for(var h=0;h<f;h+=4)s[h]=e[h],s[h+1]=e[h+1],s[h+2]=e[h+2],s[h+3]=e[h+3];if(u==16)for(var h=0;h<f;h++)s[h]=e[h<<1]}else if(c==2){var p=n.tabs.tRNS;if(p==null){if(u==8)for(var h=0;h<i;h++){var g=h*3;l[h]=255<<24|e[g+2]<<16|e[g+1]<<8|e[g]}if(u==16)for(var h=0;h<i;h++){var g=h*6;l[h]=255<<24|e[g+4]<<16|e[g+2]<<8|e[g]}}else{var v=p[0],m=p[1],b=p[2];if(u==8)for(var h=0;h<i;h++){var y=h<<2,g=h*3;l[h]=255<<24|e[g+2]<<16|e[g+1]<<8|e[g],e[g]==v&&e[g+1]==m&&e[g+2]==b&&(s[y+3]=0)}if(u==16)for(var h=0;h<i;h++){var y=h<<2,g=h*6;l[h]=255<<24|e[g+4]<<16|e[g+2]<<8|e[g],d(e,g)==v&&d(e,g+2)==m&&d(e,g+4)==b&&(s[y+3]=0)}}}else if(c==3){var w=n.tabs.PLTE,x=n.tabs.tRNS,C=x?x.length:0;if(u==1)for(var T=0;T<r;T++)for(var _=T*o,P=T*t,h=0;h<t;h++){var y=P+h<<2,F=e[_+(h>>3)]>>7-((h&7)<<0)&1,I=3*F;s[y]=w[I],s[y+1]=w[I+1],s[y+2]=w[I+2],s[y+3]=F<C?x[F]:255}if(u==2)for(var T=0;T<r;T++)for(var _=T*o,P=T*t,h=0;h<t;h++){var y=P+h<<2,F=e[_+(h>>2)]>>6-((h&3)<<1)&3,I=3*F;s[y]=w[I],s[y+1]=w[I+1],s[y+2]=w[I+2],s[y+3]=F<C?x[F]:255}if(u==4)for(var T=0;T<r;T++)for(var _=T*o,P=T*t,h=0;h<t;h++){var y=P+h<<2,F=e[_+(h>>1)]>>4-((h&1)<<2)&15,I=3*F;s[y]=w[I],s[y+1]=w[I+1],s[y+2]=w[I+2],s[y+3]=F<C?x[F]:255}if(u==8)for(var h=0;h<i;h++){var y=h<<2,F=e[h],I=3*F;s[y]=w[I],s[y+1]=w[I+1],s[y+2]=w[I+2],s[y+3]=F<C?x[F]:255}}else if(c==4){if(u==8)for(var h=0;h<i;h++){var y=h<<2,R=h<<1,D=e[R];s[y]=D,s[y+1]=D,s[y+2]=D,s[y+3]=e[R+1]}if(u==16)for(var h=0;h<i;h++){var y=h<<2,R=h<<2,D=e[R];s[y]=D,s[y+1]=D,s[y+2]=D,s[y+3]=e[R+2]}}else if(c==0)for(var v=n.tabs.tRNS?n.tabs.tRNS:-1,T=0;T<r;T++){var A=T*o,M=T*t;if(u==1)for(var X=0;X<t;X++){var D=255*(e[A+(X>>>3)]>>>7-(X&7)&1),Y=D==v*255?0:255;l[M+X]=Y<<24|D<<16|D<<8|D}else if(u==2)for(var X=0;X<t;X++){var D=85*(e[A+(X>>>2)]>>>6-((X&3)<<1)&3),Y=D==v*85?0:255;l[M+X]=Y<<24|D<<16|D<<8|D}else if(u==4)for(var X=0;X<t;X++){var D=17*(e[A+(X>>>1)]>>>4-((X&1)<<2)&15),Y=D==v*17?0:255;l[M+X]=Y<<24|D<<16|D<<8|D}else if(u==8)for(var X=0;X<t;X++){var D=e[A+X],Y=D==v?0:255;l[M+X]=Y<<24|D<<16|D<<8|D}else if(u==16)for(var X=0;X<t;X++){var D=e[A+(X<<1)],Y=d(e,A+(X<<h))==v?0:255;l[M+X]=Y<<24|D<<16|D<<8|D}}return s};nt.decode=function(e){for(var t=new Uint8Array(e),r=8,n=nt._bin,i=n.readUshort,a=n.readUint,o={tabs:{},frames:[]},s=new Uint8Array(t.length),l=0,c,u=0,d=[137,80,78,71,13,10,26,10],f=0;f<8;f++)if(t[f]!=d[f])throw"The input is not a PNG file!";for(;r<t.length;){var h=n.readUint(t,r);r+=4;var p=n.readASCII(t,r,4);if(r+=4,p=="IHDR")nt.decode._IHDR(t,r,o);else if(p=="IDAT"){for(var f=0;f<h;f++)s[l+f]=t[r+f];l+=h}else if(p=="acTL")o.tabs[p]={num_frames:a(t,r),num_plays:a(t,r+4)},c=new Uint8Array(t.length);else if(p=="fcTL"){if(u!=0){var g=o.frames[o.frames.length-1];g.data=nt.decode._decompress(o,c.slice(0,u),g.rect.width,g.rect.height),u=0}var v={x:a(t,r+12),y:a(t,r+16),width:a(t,r+4),height:a(t,r+8)},m=i(t,r+22);m=i(t,r+20)/(m==0?100:m);var b={rect:v,delay:Math.round(m*1e3),dispose:t[r+24],blend:t[r+25]};o.frames.push(b)}else if(p=="fdAT"){for(var f=0;f<h-4;f++)c[u+f]=t[r+f+4];u+=h-4}else if(p=="pHYs")o.tabs[p]=[n.readUint(t,r),n.readUint(t,r+4),t[r+8]];else if(p=="cHRM"){o.tabs[p]=[];for(var f=0;f<8;f++)o.tabs[p].push(n.readUint(t,r+f*4))}else if(p=="tEXt"){o.tabs[p]==null&&(o.tabs[p]={});var y=n.nextZero(t,r),w=n.readASCII(t,r,y-r),x=n.readASCII(t,y+1,r+h-y-1);o.tabs[p][w]=x}else if(p=="iTXt"){o.tabs[p]==null&&(o.tabs[p]={});var y=0,C=r;y=n.nextZero(t,C);var w=n.readASCII(t,C,y-C);C=y+1,t[C],t[C+1],C+=2,y=n.nextZero(t,C),n.readASCII(t,C,y-C),C=y+1,y=n.nextZero(t,C),n.readUTF8(t,C,y-C),C=y+1;var x=n.readUTF8(t,C,h-(C-r));o.tabs[p][w]=x}else if(p=="PLTE")o.tabs[p]=n.readBytes(t,r,h);else if(p=="hIST"){var T=o.tabs.PLTE.length/3;o.tabs[p]=[];for(var f=0;f<T;f++)o.tabs[p].push(i(t,r+f*2))}else if(p=="tRNS")o.ctype==3?o.tabs[p]=n.readBytes(t,r,h):o.ctype==0?o.tabs[p]=i(t,r):o.ctype==2&&(o.tabs[p]=[i(t,r),i(t,r+2),i(t,r+4)]);else if(p=="gAMA")o.tabs[p]=n.readUint(t,r)/1e5;else if(p=="sRGB")o.tabs[p]=t[r];else if(p=="bKGD")o.ctype==0||o.ctype==4?o.tabs[p]=[i(t,r)]:o.ctype==2||o.ctype==6?o.tabs[p]=[i(t,r),i(t,r+2),i(t,r+4)]:o.ctype==3&&(o.tabs[p]=t[r]);else if(p=="IEND")break;r+=h,n.readUint(t,r),r+=4}if(u!=0){var g=o.frames[o.frames.length-1];g.data=nt.decode._decompress(o,c.slice(0,u),g.rect.width,g.rect.height),u=0}return o.data=nt.decode._decompress(o,s,o.width,o.height),delete o.compress,delete o.interlace,delete o.filter,o};nt.decode._decompress=function(e,t,r,n){var i=nt.decode._getBPP(e),a=Math.ceil(r*i/8),o=new Uint8Array((a+1+e.interlace)*n);return t=nt.decode._inflate(t,o),e.interlace==0?t=nt.decode._filterZero(t,e,0,r,n):e.interlace==1&&(t=nt.decode._readInterlace(t,e)),t};nt.decode._inflate=function(e,t){var r=nt.inflateRaw(new Uint8Array(e.buffer,2,e.length-6),t);return r};nt.inflateRaw=function(){var e={};return e.H={},e.H.N=function(t,r){var n=Uint8Array,i=0,a=0,o=0,s=0,l=0,c=0,u=0,d=0,f=0,h,p;if(t[0]==3&&t[1]==0)return r||new n(0);var g=e.H,v=g.b,m=g.e,b=g.R,y=g.n,w=g.A,x=g.Z,C=g.m,T=r==null;for(T&&(r=new n(t.length>>>2<<3));i==0;){if(i=v(t,f,1),a=v(t,f+1,2),f+=3,a==0){f&7&&(f+=8-(f&7));var _=(f>>>3)+4,P=t[_-4]|t[_-3]<<8;T&&(r=e.H.W(r,d+P)),r.set(new n(t.buffer,t.byteOffset+_,P),d),f=_+P<<3,d+=P;continue}if(T&&(r=e.H.W(r,d+(1<<17))),a==1&&(h=C.J,p=C.h,c=511,u=31),a==2){o=m(t,f,5)+257,s=m(t,f+5,5)+1,l=m(t,f+10,4)+4,f+=14;for(var F=1,I=0;I<38;I+=2)C.Q[I]=0,C.Q[I+1]=0;for(var I=0;I<l;I++){var R=m(t,f+I*3,3);C.Q[(C.X[I]<<1)+1]=R,R>F&&(F=R)}f+=3*l,y(C.Q,F),w(C.Q,F,C.u),h=C.w,p=C.d,f=b(C.u,(1<<F)-1,o+s,t,f,C.v);var D=g.V(C.v,0,o,C.C);c=(1<<D)-1;var A=g.V(C.v,o,s,C.D);u=(1<<A)-1,y(C.C,D),w(C.C,D,h),y(C.D,A),w(C.D,A,p)}for(;;){var M=h[x(t,f)&c];f+=M&15;var X=M>>>4;if(!(X>>>8))r[d++]=X;else{if(X==256)break;var Y=d+X-254;if(X>264){var se=C.q[X-257];Y=d+(se>>>3)+m(t,f,se&7),f+=se&7}var ne=p[x(t,f)&u];f+=ne&15;var ie=ne>>>4,ae=C.c[ie],ce=(ae>>>4)+v(t,f,ae&15);for(f+=ae&15;d<Y;)r[d]=r[d++-ce],r[d]=r[d++-ce],r[d]=r[d++-ce],r[d]=r[d++-ce];d=Y}}}return r.length==d?r:r.slice(0,d)},e.H.W=function(t,r){var n=t.length;if(r<=n)return t;var i=new Uint8Array(n<<1);return i.set(t,0),i},e.H.R=function(t,r,n,i,a,o){for(var s=e.H.e,l=e.H.Z,c=0;c<n;){var u=t[l(i,a)&r];a+=u&15;var d=u>>>4;if(d<=15)o[c]=d,c++;else{var f=0,h=0;d==16?(h=3+s(i,a,2),a+=2,f=o[c-1]):d==17?(h=3+s(i,a,3),a+=3):d==18&&(h=11+s(i,a,7),a+=7);for(var p=c+h;c<p;)o[c]=f,c++}}return a},e.H.V=function(t,r,n,i){for(var a=0,o=0,s=i.length>>>1;o<n;){var l=t[o+r];i[o<<1]=0,i[(o<<1)+1]=l,l>a&&(a=l),o++}for(;o<s;)i[o<<1]=0,i[(o<<1)+1]=0,o++;return a},e.H.n=function(t,r){for(var n=e.H.m,i=t.length,a,o,s,l,c,u=n.j,l=0;l<=r;l++)u[l]=0;for(l=1;l<i;l+=2)u[t[l]]++;var d=n.K;for(a=0,u[0]=0,o=1;o<=r;o++)a=a+u[o-1]<<1,d[o]=a;for(s=0;s<i;s+=2)c=t[s+1],c!=0&&(t[s]=d[c],d[c]++)},e.H.A=function(t,r,n){for(var i=t.length,a=e.H.m,o=a.r,s=0;s<i;s+=2)if(t[s+1]!=0)for(var l=s>>1,c=t[s+1],u=l<<4|c,d=r-c,f=t[s]<<d,h=f+(1<<d);f!=h;){var p=o[f]>>>15-r;n[p]=u,f++}},e.H.l=function(t,r){for(var n=e.H.m.r,i=15-r,a=0;a<t.length;a+=2){var o=t[a]<<r-t[a+1];t[a]=n[o]>>>i}},e.H.M=function(t,r,n){n=n<<(r&7);var i=r>>>3;t[i]|=n,t[i+1]|=n>>>8},e.H.I=function(t,r,n){n=n<<(r&7);var i=r>>>3;t[i]|=n,t[i+1]|=n>>>8,t[i+2]|=n>>>16},e.H.e=function(t,r,n){return(t[r>>>3]|t[(r>>>3)+1]<<8)>>>(r&7)&(1<<n)-1},e.H.b=function(t,r,n){return(t[r>>>3]|t[(r>>>3)+1]<<8|t[(r>>>3)+2]<<16)>>>(r&7)&(1<<n)-1},e.H.Z=function(t,r){return(t[r>>>3]|t[(r>>>3)+1]<<8|t[(r>>>3)+2]<<16)>>>(r&7)},e.H.i=function(t,r){return(t[r>>>3]|t[(r>>>3)+1]<<8|t[(r>>>3)+2]<<16|t[(r>>>3)+3]<<24)>>>(r&7)},e.H.m=function(){var t=Uint16Array,r=Uint32Array;return{K:new t(16),j:new t(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new t(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new r(32),J:new t(512),_:[],h:new t(32),$:[],w:new t(32768),C:[],v:[],d:new t(32768),D:[],u:new t(512),Q:[],r:new t(32768),s:new r(286),Y:new r(30),a:new r(19),t:new r(15e3),k:new t(65536),g:new t(32768)}}(),function(){for(var t=e.H.m,r=32768,n=0;n<r;n++){var i=n;i=(i&2863311530)>>>1|(i&1431655765)<<1,i=(i&3435973836)>>>2|(i&858993459)<<2,i=(i&4042322160)>>>4|(i&252645135)<<4,i=(i&4278255360)>>>8|(i&16711935)<<8,t.r[n]=(i>>>16|i<<16)>>>17}function a(o,s,l){for(;s--!=0;)o.push(0,l)}for(var n=0;n<32;n++)t.q[n]=t.S[n]<<3|t.T[n],t.c[n]=t.p[n]<<4|t.z[n];a(t._,144,8),a(t._,112,9),a(t._,24,7),a(t._,8,8),e.H.n(t._,9),e.H.A(t._,9,t.J),e.H.l(t._,9),a(t.$,32,5),e.H.n(t.$,5),e.H.A(t.$,5,t.h),e.H.l(t.$,5),a(t.Q,19,0),a(t.C,286,0),a(t.D,30,0),a(t.v,320,0)}(),e.H.N}();nt.decode._readInterlace=function(e,t){for(var r=t.width,n=t.height,i=nt.decode._getBPP(t),a=i>>3,o=Math.ceil(r*i/8),s=new Uint8Array(n*o),l=0,c=[0,0,4,0,2,0,1],u=[0,4,0,2,0,1,0],d=[8,8,8,4,4,2,2],f=[8,8,4,4,2,2,1],h=0;h<7;){for(var p=d[h],g=f[h],v=0,m=0,b=c[h];b<n;)b+=p,m++;for(var y=u[h];y<r;)y+=g,v++;var w=Math.ceil(v*i/8);nt.decode._filterZero(e,t,l,v,m);for(var x=0,C=c[h];C<n;){for(var T=u[h],_=l+x*w<<3;T<r;){if(i==1){var P=e[_>>3];P=P>>7-(_&7)&1,s[C*o+(T>>3)]|=P<<7-((T&7)<<0)}if(i==2){var P=e[_>>3];P=P>>6-(_&7)&3,s[C*o+(T>>2)]|=P<<6-((T&3)<<1)}if(i==4){var P=e[_>>3];P=P>>4-(_&7)&15,s[C*o+(T>>1)]|=P<<4-((T&1)<<2)}if(i>=8)for(var F=C*o+T*a,I=0;I<a;I++)s[F+I]=e[(_>>3)+I];_+=i,T+=g}x++,C+=p}v*m!=0&&(l+=m*(1+w)),h=h+1}return s};nt.decode._getBPP=function(e){var t=[1,null,3,1,2,null,4][e.ctype];return t*e.depth};nt.decode._filterZero=function(e,t,r,n,i){var a=nt.decode._getBPP(t),o=Math.ceil(n*a/8),s=nt.decode._paeth;a=Math.ceil(a/8);var l=0,c=1,u=e[r],d=0;if(u>1&&(e[r]=[0,0,1][u-2]),u==3)for(d=a;d<o;d++)e[d+1]=e[d+1]+(e[d+1-a]>>>1)&255;for(var f=0;f<i;f++)if(l=r+f*o,c=l+f+1,u=e[c-1],d=0,u==0)for(;d<o;d++)e[l+d]=e[c+d];else if(u==1){for(;d<a;d++)e[l+d]=e[c+d];for(;d<o;d++)e[l+d]=e[c+d]+e[l+d-a]}else if(u==2)for(;d<o;d++)e[l+d]=e[c+d]+e[l+d-o];else if(u==3){for(;d<a;d++)e[l+d]=e[c+d]+(e[l+d-o]>>>1);for(;d<o;d++)e[l+d]=e[c+d]+(e[l+d-o]+e[l+d-a]>>>1)}else{for(;d<a;d++)e[l+d]=e[c+d]+s(0,e[l+d-o],0);for(;d<o;d++)e[l+d]=e[c+d]+s(e[l+d-a],e[l+d-o],e[l+d-a-o])}return e};nt.decode._paeth=function(e,t,r){var n=e+t-r,i=n-e,a=n-t,o=n-r;return i*i<=a*a&&i*i<=o*o?e:a*a<=o*o?t:r};nt.decode._IHDR=function(e,t,r){var n=nt._bin;r.width=n.readUint(e,t),t+=4,r.height=n.readUint(e,t),t+=4,r.depth=e[t],t++,r.ctype=e[t],t++,r.compress=e[t],t++,r.filter=e[t],t++,r.interlace=e[t],t++};nt._bin={nextZero:function(e,t){for(;e[t]!=0;)t++;return t},readUshort:function(e,t){return e[t]<<8|e[t+1]},writeUshort:function(e,t,r){e[t]=r>>8&255,e[t+1]=r&255},readUint:function(e,t){return e[t]*(256*256*256)+(e[t+1]<<16|e[t+2]<<8|e[t+3])},writeUint:function(e,t,r){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=r&255},readASCII:function(e,t,r){for(var n="",i=0;i<r;i++)n+=String.fromCharCode(e[t+i]);return n},writeASCII:function(e,t,r){for(var n=0;n<r.length;n++)e[t+n]=r.charCodeAt(n)},readBytes:function(e,t,r){for(var n=[],i=0;i<r;i++)n.push(e[t+i]);return n},pad:function(e){return e.length<2?"0"+e:e},readUTF8:function(e,t,r){for(var n="",i,a=0;a<r;a++)n+="%"+nt._bin.pad(e[t+a].toString(16));try{i=decodeURIComponent(n)}catch{return nt._bin.readASCII(e,t,r)}return i}};nt._copyTile=function(e,t,r,n,i,a,o,s,l){for(var c=Math.min(t,i),u=Math.min(r,a),d=0,f=0,h=0;h<u;h++)for(var p=0;p<c;p++)if(o>=0&&s>=0?(d=h*t+p<<2,f=(s+h)*i+o+p<<2):(d=(-s+h)*t-o+p<<2,f=h*i+p<<2),l==0)n[f]=e[d],n[f+1]=e[d+1],n[f+2]=e[d+2],n[f+3]=e[d+3];else if(l==1){var g=e[d+3]*.00392156862745098,v=e[d]*g,m=e[d+1]*g,b=e[d+2]*g,y=n[f+3]*(1/255),w=n[f]*y,x=n[f+1]*y,C=n[f+2]*y,T=1-g,_=g+y*T,P=_==0?0:1/_;n[f+3]=255*_,n[f+0]=(v+w*T)*P,n[f+1]=(m+x*T)*P,n[f+2]=(b+C*T)*P}else if(l==2){var g=e[d+3],v=e[d],m=e[d+1],b=e[d+2],y=n[f+3],w=n[f],x=n[f+1],C=n[f+2];g==y&&v==w&&m==x&&b==C?(n[f]=0,n[f+1]=0,n[f+2]=0,n[f+3]=0):(n[f]=v,n[f+1]=m,n[f+2]=b,n[f+3]=g)}else if(l==3){var g=e[d+3],v=e[d],m=e[d+1],b=e[d+2],y=n[f+3],w=n[f],x=n[f+1],C=n[f+2];if(g==y&&v==w&&m==x&&b==C)continue;if(g<220&&y>20)return!1}return!0};nt.encode=function(e,t,r,n,i,a,o){n==null&&(n=0),o==null&&(o=!1);var s=nt.encode.compress(e,t,r,n,[!1,!1,!1,0,o]);return nt.encode.compressPNG(s,-1),nt.encode._main(s,t,r,i,a)};nt.encodeLL=function(e,t,r,n,i,a,o,s){for(var l={ctype:0+(n==1?0:2)+(i==0?0:4),depth:a,frames:[]},c=(n+i)*a,u=c*t,d=0;d<e.length;d++)l.frames.push({rect:{x:0,y:0,width:t,height:r},img:new Uint8Array(e[d]),blend:0,dispose:1,bpp:Math.ceil(c/8),bpl:Math.ceil(u/8)});nt.encode.compressPNG(l,0,!0);var f=nt.encode._main(l,t,r,o,s);return f};nt.encode._main=function(e,t,r,n,i){i==null&&(i={});var a=nt.crc.crc,o=nt._bin.writeUint,s=nt._bin.writeUshort,l=nt._bin.writeASCII,c=8,u=e.frames.length>1,d=!1,f=33+(u?20:0);if(i.sRGB!=null&&(f+=13),i.pHYs!=null&&(f+=21),e.ctype==3){for(var h=e.plte.length,p=0;p<h;p++)e.plte[p]>>>24!=255&&(d=!0);f+=8+h*3+4+(d?8+h*1+4:0)}for(var g=0;g<e.frames.length;g++){var v=e.frames[g];u&&(f+=38),f+=v.cimg.length+12,g!=0&&(f+=4)}f+=12;for(var m=new Uint8Array(f),b=[137,80,78,71,13,10,26,10],p=0;p<8;p++)m[p]=b[p];if(o(m,c,13),c+=4,l(m,c,"IHDR"),c+=4,o(m,c,t),c+=4,o(m,c,r),c+=4,m[c]=e.depth,c++,m[c]=e.ctype,c++,m[c]=0,c++,m[c]=0,c++,m[c]=0,c++,o(m,c,a(m,c-17,17)),c+=4,i.sRGB!=null&&(o(m,c,1),c+=4,l(m,c,"sRGB"),c+=4,m[c]=i.sRGB,c++,o(m,c,a(m,c-5,5)),c+=4),i.pHYs!=null&&(o(m,c,9),c+=4,l(m,c,"pHYs"),c+=4,o(m,c,i.pHYs[0]),c+=4,o(m,c,i.pHYs[1]),c+=4,m[c]=i.pHYs[2],c++,o(m,c,a(m,c-13,13)),c+=4),u&&(o(m,c,8),c+=4,l(m,c,"acTL"),c+=4,o(m,c,e.frames.length),c+=4,o(m,c,i.loop!=null?i.loop:0),c+=4,o(m,c,a(m,c-12,12)),c+=4),e.ctype==3){var h=e.plte.length;o(m,c,h*3),c+=4,l(m,c,"PLTE"),c+=4;for(var p=0;p<h;p++){var y=p*3,w=e.plte[p],x=w&255,C=w>>>8&255,T=w>>>16&255;m[c+y+0]=x,m[c+y+1]=C,m[c+y+2]=T}if(c+=h*3,o(m,c,a(m,c-h*3-4,h*3+4)),c+=4,d){o(m,c,h),c+=4,l(m,c,"tRNS"),c+=4;for(var p=0;p<h;p++)m[c+p]=e.plte[p]>>>24&255;c+=h,o(m,c,a(m,c-h-4,h+4)),c+=4}}for(var _=0,g=0;g<e.frames.length;g++){var v=e.frames[g];u&&(o(m,c,26),c+=4,l(m,c,"fcTL"),c+=4,o(m,c,_++),c+=4,o(m,c,v.rect.width),c+=4,o(m,c,v.rect.height),c+=4,o(m,c,v.rect.x),c+=4,o(m,c,v.rect.y),c+=4,s(m,c,n[g]),c+=2,s(m,c,1e3),c+=2,m[c]=v.dispose,c++,m[c]=v.blend,c++,o(m,c,a(m,c-30,30)),c+=4);var P=v.cimg,h=P.length;o(m,c,h+(g==0?0:4)),c+=4;var F=c;l(m,c,g==0?"IDAT":"fdAT"),c+=4,g!=0&&(o(m,c,_++),c+=4),m.set(P,c),c+=h,o(m,c,a(m,F,c-F)),c+=4}return o(m,c,0),c+=4,l(m,c,"IEND"),c+=4,o(m,c,a(m,c-4,4)),c+=4,m.buffer};nt.encode.compressPNG=function(e,t,r){for(var n=0;n<e.frames.length;n++){var i=e.frames[n];i.rect.width;var a=i.rect.height,o=new Uint8Array(a*i.bpl+a);i.cimg=nt.encode._filterZero(i.img,a,i.bpp,i.bpl,o,t,r)}};nt.encode.compress=function(e,t,r,n,i){for(var a=i[0],o=i[1],s=i[2],l=i[3],c=i[4],u=6,d=8,f=255,h=0;h<e.length;h++)for(var p=new Uint8Array(e[h]),g=p.length,v=0;v<g;v+=4)f&=p[v+3];var m=f!=255,b=nt.encode.framize(e,t,r,a,o,s),y={},w=[],x=[];if(n!=0){for(var C=[],v=0;v<b.length;v++)C.push(b[v].img.buffer);for(var T=nt.encode.concatRGBA(C),_=nt.quantize(T,n),P=0,F=new Uint8Array(_.abuf),v=0;v<b.length;v++){var I=b[v].img,R=I.length;x.push(new Uint8Array(_.inds.buffer,P>>2,R>>2));for(var h=0;h<R;h+=4)I[h]=F[P+h],I[h+1]=F[P+h+1],I[h+2]=F[P+h+2],I[h+3]=F[P+h+3];P+=R}for(var v=0;v<_.plte.length;v++)w.push(_.plte[v].est.rgba)}else for(var h=0;h<b.length;h++){var D=b[h],A=new Uint32Array(D.img.buffer),M=D.rect.width,g=A.length,X=new Uint8Array(g);x.push(X);for(var v=0;v<g;v++){var Y=A[v];if(v!=0&&Y==A[v-1])X[v]=X[v-1];else if(v>M&&Y==A[v-M])X[v]=X[v-M];else{var se=y[Y];if(se==null&&(y[Y]=se=w.length,w.push(Y),w.length>=300))break;X[v]=se}}}var ne=w.length;ne<=256&&c==!1&&(ne<=2?d=1:ne<=4?d=2:ne<=16?d=4:d=8,d=Math.max(d,l));for(var h=0;h<b.length;h++){var D=b[h];D.rect.x,D.rect.y;var M=D.rect.width,ie=D.rect.height,ae=D.img;new Uint32Array(ae.buffer);var ce=4*M,ke=4;if(ne<=256&&c==!1){ce=Math.ceil(d*M/8);for(var ge=new Uint8Array(ce*ie),De=x[h],Ne=0;Ne<ie;Ne++){var v=Ne*ce,We=Ne*M;if(d==8)for(var z=0;z<M;z++)ge[v+z]=De[We+z];else if(d==4)for(var z=0;z<M;z++)ge[v+(z>>1)]|=De[We+z]<<4-(z&1)*4;else if(d==2)for(var z=0;z<M;z++)ge[v+(z>>2)]|=De[We+z]<<6-(z&3)*2;else if(d==1)for(var z=0;z<M;z++)ge[v+(z>>3)]|=De[We+z]<<7-(z&7)*1}ae=ge,u=3,ke=1}else if(m==!1&&b.length==1){for(var ge=new Uint8Array(M*ie*3),J=M*ie,v=0;v<J;v++){var I=v*3,j=v*4;ge[I]=ae[j],ge[I+1]=ae[j+1],ge[I+2]=ae[j+2]}ae=ge,u=2,ke=3,ce=3*M}D.img=ae,D.bpl=ce,D.bpp=ke}return{ctype:u,depth:d,plte:w,frames:b}};nt.encode.framize=function(e,t,r,n,i,a){for(var o=[],s=0;s<e.length;s++){var l=new Uint8Array(e[s]),c=new Uint32Array(l.buffer),u,d=0,f=0,h=t,p=r,g=n?1:0;if(s!=0){for(var v=a||n||s==1||o[s-2].dispose!=0?1:2,m=0,b=1e9,y=0;y<v;y++){for(var D=new Uint8Array(e[s-1-y]),w=new Uint32Array(e[s-1-y]),x=t,C=r,T=-1,_=-1,P=0;P<r;P++)for(var F=0;F<t;F++){var I=P*t+F;c[I]!=w[I]&&(F<x&&(x=F),F>T&&(T=F),P<C&&(C=P),P>_&&(_=P))}T==-1&&(x=C=T=_=0),i&&((x&1)==1&&x--,(C&1)==1&&C--);var R=(T-x+1)*(_-C+1);R<b&&(b=R,m=y,d=x,f=C,h=T-x+1,p=_-C+1)}var D=new Uint8Array(e[s-1-m]);m==1&&(o[s-1].dispose=2),u=new Uint8Array(h*p*4),nt._copyTile(D,t,r,u,h,p,-d,-f,0),g=nt._copyTile(l,t,r,u,h,p,-d,-f,3)?1:0,g==1?nt.encode._prepareDiff(l,t,r,u,{x:d,y:f,width:h,height:p}):nt._copyTile(l,t,r,u,h,p,-d,-f,0)}else u=l.slice(0);o.push({rect:{x:d,y:f,width:h,height:p},img:u,blend:g,dispose:0})}if(n)for(var s=0;s<o.length;s++){var A=o[s];if(A.blend!=1){var M=A.rect,X=o[s-1].rect,Y=Math.min(M.x,X.x),se=Math.min(M.y,X.y),ne=Math.max(M.x+M.width,X.x+X.width),ie=Math.max(M.y+M.height,X.y+X.height),ae={x:Y,y:se,width:ne-Y,height:ie-se};o[s-1].dispose=1,s-1!=0&&nt.encode._updateFrame(e,t,r,o,s-1,ae,i),nt.encode._updateFrame(e,t,r,o,s,ae,i)}}var ce=0;if(e.length!=1)for(var I=0;I<o.length;I++){var A=o[I];ce+=A.rect.width*A.rect.height}return o};nt.encode._updateFrame=function(e,t,r,n,i,a,o){for(var s=Uint8Array,l=Uint32Array,c=new s(e[i-1]),u=new l(e[i-1]),d=i+1<e.length?new s(e[i+1]):null,f=new s(e[i]),h=new l(f.buffer),p=t,g=r,v=-1,m=-1,b=0;b<a.height;b++)for(var y=0;y<a.width;y++){var w=a.x+y,x=a.y+b,C=x*t+w,T=h[C];T==0||n[i-1].dispose==0&&u[C]==T&&(d==null||d[C*4+3]!=0)||(w<p&&(p=w),w>v&&(v=w),x<g&&(g=x),x>m&&(m=x))}v==-1&&(p=g=v=m=0),o&&((p&1)==1&&p--,(g&1)==1&&g--),a={x:p,y:g,width:v-p+1,height:m-g+1};var _=n[i];_.rect=a,_.blend=1,_.img=new Uint8Array(a.width*a.height*4),n[i-1].dispose==0?(nt._copyTile(c,t,r,_.img,a.width,a.height,-a.x,-a.y,0),nt.encode._prepareDiff(f,t,r,_.img,a)):nt._copyTile(f,t,r,_.img,a.width,a.height,-a.x,-a.y,0)};nt.encode._prepareDiff=function(e,t,r,n,i){nt._copyTile(e,t,r,n,i.width,i.height,-i.x,-i.y,2)};nt.encode._filterZero=function(e,t,r,n,i,a,o){var s=[],l=[0,1,2,3,4];a!=-1?l=[a]:(t*n>5e5||r==1)&&(l=[0]);var c;o&&(c={level:0});for(var u=o&&UZIP!=null?UZIP:UA,d=0;d<l.length;d++){for(var f=0;f<t;f++)nt.encode._filterLine(i,e,f,n,r,l[d]);s.push(u.deflate(i,c))}for(var h,p=1e9,d=0;d<s.length;d++)s[d].length<p&&(h=d,p=s[d].length);return s[h]};nt.encode._filterLine=function(e,t,r,n,i,a){var o=r*n,s=o+r,l=nt.decode._paeth;if(e[s]=a,s++,a==0)if(n<500)for(var c=0;c<n;c++)e[s+c]=t[o+c];else e.set(new Uint8Array(t.buffer,o,n),s);else if(a==1){for(var c=0;c<i;c++)e[s+c]=t[o+c];for(var c=i;c<n;c++)e[s+c]=t[o+c]-t[o+c-i]+256&255}else if(r==0){for(var c=0;c<i;c++)e[s+c]=t[o+c];if(a==2)for(var c=i;c<n;c++)e[s+c]=t[o+c];if(a==3)for(var c=i;c<n;c++)e[s+c]=t[o+c]-(t[o+c-i]>>1)+256&255;if(a==4)for(var c=i;c<n;c++)e[s+c]=t[o+c]-l(t[o+c-i],0,0)+256&255}else{if(a==2)for(var c=0;c<n;c++)e[s+c]=t[o+c]+256-t[o+c-n]&255;if(a==3){for(var c=0;c<i;c++)e[s+c]=t[o+c]+256-(t[o+c-n]>>1)&255;for(var c=i;c<n;c++)e[s+c]=t[o+c]+256-(t[o+c-n]+t[o+c-i]>>1)&255}if(a==4){for(var c=0;c<i;c++)e[s+c]=t[o+c]+256-l(0,t[o+c-n],0)&255;for(var c=i;c<n;c++)e[s+c]=t[o+c]+256-l(t[o+c-i],t[o+c-n],t[o+c-i-n])&255}}};nt.crc={table:function(){for(var e=new Uint32Array(256),t=0;t<256;t++){for(var r=t,n=0;n<8;n++)r&1?r=3988292384^r>>>1:r=r>>>1;e[t]=r}return e}(),update:function(e,t,r,n){for(var i=0;i<n;i++)e=nt.crc.table[(e^t[r+i])&255]^e>>>8;return e},crc:function(e,t,r){return nt.crc.update(4294967295,e,t,r)^4294967295}};nt.quantize=function(e,t){var r=new Uint8Array(e),n=r.slice(0),i=new Uint32Array(n.buffer),a=nt.quantize.getKDtree(n,t),o=a[0],s=a[1];nt.quantize.planeDst;for(var l=r,c=i,u=l.length,d=new Uint8Array(r.length>>2),f=0;f<u;f+=4){var h=l[f]*.00392156862745098,p=l[f+1]*(1/255),g=l[f+2]*(1/255),v=l[f+3]*(1/255),m=nt.quantize.getNearest(o,h,p,g,v);d[f>>2]=m.ind,c[f>>2]=m.est.rgba}return{abuf:n.buffer,inds:d,plte:s}};nt.quantize.getKDtree=function(e,t,r){r==null&&(r=1e-4);var n=new Uint32Array(e.buffer),i={i0:0,i1:e.length,bst:null,est:null,tdst:0,left:null,right:null};i.bst=nt.quantize.stats(e,i.i0,i.i1),i.est=nt.quantize.estats(i.bst);for(var a=[i];a.length<t;){for(var o=0,s=0,l=0;l<a.length;l++)a[l].est.L>o&&(o=a[l].est.L,s=l);if(o<r)break;var c=a[s],u=nt.quantize.splitPixels(e,n,c.i0,c.i1,c.est.e,c.est.eMq255),d=c.i0>=u||c.i1<=u;if(d){c.est.L=0;continue}var f={i0:c.i0,i1:u,bst:null,est:null,tdst:0,left:null,right:null};f.bst=nt.quantize.stats(e,f.i0,f.i1),f.est=nt.quantize.estats(f.bst);var h={i0:u,i1:c.i1,bst:null,est:null,tdst:0,left:null,right:null};h.bst={R:[],m:[],N:c.bst.N-f.bst.N};for(var l=0;l<16;l++)h.bst.R[l]=c.bst.R[l]-f.bst.R[l];for(var l=0;l<4;l++)h.bst.m[l]=c.bst.m[l]-f.bst.m[l];h.est=nt.quantize.estats(h.bst),c.left=f,c.right=h,a[s]=f,a.push(h)}a.sort(function(p,g){return g.bst.N-p.bst.N});for(var l=0;l<a.length;l++)a[l].ind=l;return[i,a]};nt.quantize.getNearest=function(e,t,r,n,i){if(e.left==null)return e.tdst=nt.quantize.dist(e.est.q,t,r,n,i),e;var a=nt.quantize.planeDst(e.est,t,r,n,i),o=e.left,s=e.right;a>0&&(o=e.right,s=e.left);var l=nt.quantize.getNearest(o,t,r,n,i);if(l.tdst<=a*a)return l;var c=nt.quantize.getNearest(s,t,r,n,i);return c.tdst<l.tdst?c:l};nt.quantize.planeDst=function(e,t,r,n,i){var a=e.e;return a[0]*t+a[1]*r+a[2]*n+a[3]*i-e.eMq};nt.quantize.dist=function(e,t,r,n,i){var a=t-e[0],o=r-e[1],s=n-e[2],l=i-e[3];return a*a+o*o+s*s+l*l};nt.quantize.splitPixels=function(e,t,r,n,i,a){var o=nt.quantize.vecDot;for(n-=4;r<n;){for(;o(e,r,i)<=a;)r+=4;for(;o(e,n,i)>a;)n-=4;if(r>=n)break;var s=t[r>>2];t[r>>2]=t[n>>2],t[n>>2]=s,r+=4,n-=4}for(;o(e,r,i)>a;)r-=4;return r+4};nt.quantize.vecDot=function(e,t,r){return e[t]*r[0]+e[t+1]*r[1]+e[t+2]*r[2]+e[t+3]*r[3]};nt.quantize.stats=function(e,t,r){for(var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],i=[0,0,0,0],a=r-t>>2,o=t;o<r;o+=4){var s=e[o]*.00392156862745098,l=e[o+1]*(1/255),c=e[o+2]*(1/255),u=e[o+3]*(1/255);i[0]+=s,i[1]+=l,i[2]+=c,i[3]+=u,n[0]+=s*s,n[1]+=s*l,n[2]+=s*c,n[3]+=s*u,n[5]+=l*l,n[6]+=l*c,n[7]+=l*u,n[10]+=c*c,n[11]+=c*u,n[15]+=u*u}return n[4]=n[1],n[8]=n[2],n[9]=n[6],n[12]=n[3],n[13]=n[7],n[14]=n[11],{R:n,m:i,N:a}};nt.quantize.estats=function(e){var t=e.R,r=e.m,n=e.N,i=r[0],a=r[1],o=r[2],s=r[3],l=n==0?0:1/n,c=[t[0]-i*i*l,t[1]-i*a*l,t[2]-i*o*l,t[3]-i*s*l,t[4]-a*i*l,t[5]-a*a*l,t[6]-a*o*l,t[7]-a*s*l,t[8]-o*i*l,t[9]-o*a*l,t[10]-o*o*l,t[11]-o*s*l,t[12]-s*i*l,t[13]-s*a*l,t[14]-s*o*l,t[15]-s*s*l],u=c,d=nt.M4,f=[.5,.5,.5,.5],h=0,p=0;if(n!=0)for(var g=0;g<10&&(f=d.multVec(u,f),p=Math.sqrt(d.dot(f,f)),f=d.sml(1/p,f),!(Math.abs(p-h)<1e-9));g++)h=p;var v=[i*l,a*l,o*l,s*l],m=d.dot(d.sml(255,v),f);return{Cov:c,q:v,e:f,L:h,eMq255:m,eMq:d.dot(f,v),rgba:(Math.round(255*v[3])<<24|Math.round(255*v[2])<<16|Math.round(255*v[1])<<8|Math.round(255*v[0])<<0)>>>0}};nt.M4={multVec:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3],e[4]*t[0]+e[5]*t[1]+e[6]*t[2]+e[7]*t[3],e[8]*t[0]+e[9]*t[1]+e[10]*t[2]+e[11]*t[3],e[12]*t[0]+e[13]*t[1]+e[14]*t[2]+e[15]*t[3]]},dot:function(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]},sml:function(e,t){return[e*t[0],e*t[1],e*t[2],e*t[3]]}};nt.encode.concatRGBA=function(e){for(var t=0,r=0;r<e.length;r++)t+=e[r].byteLength;for(var n=new Uint8Array(t),i=0,r=0;r<e.length;r++){for(var a=new Uint8Array(e[r]),o=a.length,s=0;s<o;s+=4){var l=a[s],c=a[s+1],u=a[s+2],d=a[s+3];d==0&&(l=c=u=0),n[i+s]=l,n[i+s+1]=c,n[i+s+2]=u,n[i+s+3]=d}i+=o}return n.buffer};var Gct=function(e){if(e===0)return qp.Greyscale;if(e===2)return qp.Truecolour;if(e===3)return qp.IndexedColour;if(e===4)return qp.GreyscaleWithAlpha;if(e===6)return qp.TruecolourWithAlpha;throw new Error("Unknown color type: "+e)},Kct=function(e){for(var t=Math.floor(e.length/4),r=new Uint8Array(t*3),n=new Uint8Array(t*1),i=0,a=0,o=0;i<e.length;)r[a++]=e[i++],r[a++]=e[i++],r[a++]=e[i++],n[o++]=e[i++];return{rgbChannel:r,alphaChannel:n}},qp;(function(e){e.Greyscale="Greyscale",e.Truecolour="Truecolour",e.IndexedColour="IndexedColour",e.GreyscaleWithAlpha="GreyscaleWithAlpha",e.TruecolourWithAlpha="TruecolourWithAlpha"})(qp||(qp={}));var Zct=function(){function e(t){var r=nt.decode(t),n=nt.toRGBA8(r);if(n.length>1)throw new Error("Animated PNGs are not supported");var i=new Uint8Array(n[0]),a=Kct(i),o=a.rgbChannel,s=a.alphaChannel;this.rgbChannel=o;var l=s.some(function(c){return c<255});l&&(this.alphaChannel=s),this.type=Gct(r.ctype),this.width=r.width,this.height=r.height,this.bitsPerComponent=8}return e.load=function(t){return new e(t)},e}(),Pue=function(){function e(t){this.image=t,this.bitsPerComponent=t.bitsPerComponent,this.width=t.width,this.height=t.height,this.colorSpace="DeviceRGB"}return e.for=function(t){return Sr(this,void 0,void 0,function(){var r;return wr(this,function(n){return r=Zct.load(t),[2,new e(r)]})})},e.prototype.embedIntoContext=function(t,r){return Sr(this,void 0,void 0,function(){var n,i;return wr(this,function(a){return n=this.embedAlphaChannel(t),i=t.flateStream(this.image.rgbChannel,{Type:"XObject",Subtype:"Image",BitsPerComponent:this.image.bitsPerComponent,Width:this.image.width,Height:this.image.height,ColorSpace:this.colorSpace,SMask:n}),r?(t.assign(r,i),[2,r]):[2,t.register(i)]})})},e.prototype.embedAlphaChannel=function(t){if(this.image.alphaChannel){var r=t.flateStream(this.image.alphaChannel,{Type:"XObject",Subtype:"Image",Height:this.image.height,Width:this.image.width,BitsPerComponent:this.image.bitsPerComponent,ColorSpace:"DeviceGray",Decode:[0,1]});return t.register(r)}},e}(),Aue=function(){function e(t,r,n){this.bytes=t,this.start=r||0,this.pos=this.start,this.end=r&&n?r+n:this.bytes.length}return Object.defineProperty(e.prototype,"length",{get:function(){return this.end-this.start},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isEmpty",{get:function(){return this.length===0},enumerable:!1,configurable:!0}),e.prototype.getByte=function(){return this.pos>=this.end?-1:this.bytes[this.pos++]},e.prototype.getUint16=function(){var t=this.getByte(),r=this.getByte();return t===-1||r===-1?-1:(t<<8)+r},e.prototype.getInt32=function(){var t=this.getByte(),r=this.getByte(),n=this.getByte(),i=this.getByte();return(t<<24)+(r<<16)+(n<<8)+i},e.prototype.getBytes=function(t,r){r===void 0&&(r=!1);var n=this.bytes,i=this.pos,a=this.end;if(t){var s=i+t;s>a&&(s=a),this.pos=s;var o=n.subarray(i,s);return r?new Uint8ClampedArray(o):o}else{var o=n.subarray(i,a);return r?new Uint8ClampedArray(o):o}},e.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},e.prototype.peekBytes=function(t,r){r===void 0&&(r=!1);var n=this.getBytes(t,r);return this.pos-=n.length,n},e.prototype.skip=function(t){t||(t=1),this.pos+=t},e.prototype.reset=function(){this.pos=this.start},e.prototype.moveStart=function(){this.start=this.pos},e.prototype.makeSubStream=function(t,r){return new e(this.bytes,t,r)},e.prototype.decode=function(){return this.bytes},e}(),Yct=new Uint8Array(0),i2=function(){function e(t){if(this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=Yct,this.minBufferLength=512,t)for(;this.minBufferLength<t;)this.minBufferLength*=2}return Object.defineProperty(e.prototype,"isEmpty",{get:function(){for(;!this.eof&&this.bufferLength===0;)this.readBlock();return this.bufferLength===0},enumerable:!1,configurable:!0}),e.prototype.getByte=function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]},e.prototype.getUint16=function(){var t=this.getByte(),r=this.getByte();return t===-1||r===-1?-1:(t<<8)+r},e.prototype.getInt32=function(){var t=this.getByte(),r=this.getByte(),n=this.getByte(),i=this.getByte();return(t<<24)+(r<<16)+(n<<8)+i},e.prototype.getBytes=function(t,r){r===void 0&&(r=!1);var n,i=this.pos;if(t){for(this.ensureBuffer(i+t),n=i+t;!this.eof&&this.bufferLength<n;)this.readBlock();var a=this.bufferLength;n>a&&(n=a)}else{for(;!this.eof;)this.readBlock();n=this.bufferLength}this.pos=n;var o=this.buffer.subarray(i,n);return r&&!(o instanceof Uint8ClampedArray)?new Uint8ClampedArray(o):o},e.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},e.prototype.peekBytes=function(t,r){r===void 0&&(r=!1);var n=this.getBytes(t,r);return this.pos-=n.length,n},e.prototype.skip=function(t){t||(t=1),this.pos+=t},e.prototype.reset=function(){this.pos=0},e.prototype.makeSubStream=function(t,r){for(var n=t+r;this.bufferLength<=n&&!this.eof;)this.readBlock();return new Aue(this.buffer,t,r)},e.prototype.decode=function(){for(;!this.eof;)this.readBlock();return this.buffer.subarray(0,this.bufferLength)},e.prototype.readBlock=function(){throw new Kl(this.constructor.name,"readBlock")},e.prototype.ensureBuffer=function(t){var r=this.buffer;if(t<=r.byteLength)return r;for(var n=this.minBufferLength;n<t;)n*=2;var i=new Uint8Array(n);return i.set(r),this.buffer=i},e}(),GZ=function(e){return e===32||e===9||e===13||e===10},$ct=function(e){ft(t,e);function t(r,n){var i=e.call(this,n)||this;return i.stream=r,i.input=new Uint8Array(5),n&&(n=.8*n),i}return t.prototype.readBlock=function(){for(var r=126,n=122,i=-1,a=this.stream,o=a.getByte();GZ(o);)o=a.getByte();if(o===i||o===r){this.eof=!0;return}var s=this.bufferLength,l,c;if(o===n){for(l=this.ensureBuffer(s+4),c=0;c<4;++c)l[s+c]=0;this.bufferLength+=4}else{var u=this.input;for(u[0]=o,c=1;c<5;++c){for(o=a.getByte();GZ(o);)o=a.getByte();if(u[c]=o,o===i||o===r)break}if(l=this.ensureBuffer(s+c-1),this.bufferLength+=c-1,c<5){for(;c<5;++c)u[c]=117;this.eof=!0}var d=0;for(c=0;c<5;++c)d=d*85+(u[c]-33);for(c=3;c>=0;--c)l[s+c]=d&255,d>>=8}},t}(i2),Xct=function(e){ft(t,e);function t(r,n){var i=e.call(this,n)||this;return i.stream=r,i.firstDigit=-1,n&&(n=.5*n),i}return t.prototype.readBlock=function(){var r=8e3,n=this.stream.getBytes(r);if(!n.length){this.eof=!0;return}for(var i=n.length+1>>1,a=this.ensureBuffer(this.bufferLength+i),o=this.bufferLength,s=this.firstDigit,l=0,c=n.length;l<c;l++){var u=n[l],d=void 0;if(u>=48&&u<=57)d=u&15;else if(u>=65&&u<=70||u>=97&&u<=102)d=(u&15)+9;else if(u===62){this.eof=!0;break}else continue;s<0?s=d:(a[o++]=s<<4|d,s=-1)}s>=0&&this.eof&&(a[o++]=s<<4,s=-1),this.firstDigit=s,this.bufferLength=o},t}(i2),KZ=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Qct=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),Jct=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),eut=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],tut=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5],rut=function(e){ft(t,e);function t(r,n){var i=e.call(this,n)||this;i.stream=r;var a=r.getByte(),o=r.getByte();if(a===-1||o===-1)throw new Error("Invalid header in flate stream: "+a+", "+o);if((a&15)!==8)throw new Error("Unknown compression method in flate stream: "+a+", "+o);if(((a<<8)+o)%31!==0)throw new Error("Bad FCHECK in flate stream: "+a+", "+o);if(o&32)throw new Error("FDICT bit set in flate stream: "+a+", "+o);return i.codeSize=0,i.codeBuf=0,i}return t.prototype.readBlock=function(){var r,n,i=this.stream,a=this.getBits(3);if(a&1&&(this.eof=!0),a>>=1,a===0){var o=void 0;if((o=i.getByte())===-1)throw new Error("Bad block header in flate stream");var s=o;if((o=i.getByte())===-1)throw new Error("Bad block header in flate stream");if(s|=o<<8,(o=i.getByte())===-1)throw new Error("Bad block header in flate stream");var l=o;if((o=i.getByte())===-1)throw new Error("Bad block header in flate stream");if(l|=o<<8,l!==(~s&65535)&&(s!==0||l!==0))throw new Error("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var c=this.bufferLength;r=this.ensureBuffer(c+s);var u=c+s;if(this.bufferLength=u,s===0)i.peekByte()===-1&&(this.eof=!0);else for(var d=c;d<u;++d){if((o=i.getByte())===-1){this.eof=!0;break}r[d]=o}return}var f,h;if(a===1)f=eut,h=tut;else if(a===2){var p=this.getBits(5)+257,g=this.getBits(5)+1,v=this.getBits(4)+4,m=new Uint8Array(KZ.length),b=void 0;for(b=0;b<v;++b)m[KZ[b]]=this.getBits(3);var y=this.generateHuffmanTable(m);n=0,b=0;for(var w=p+g,x=new Uint8Array(w),C=void 0,T=void 0,_=void 0;b<w;){var P=this.getCode(y);if(P===16)C=2,T=3,_=n;else if(P===17)C=3,T=3,_=n=0;else if(P===18)C=7,T=11,_=n=0;else{x[b++]=n=P;continue}for(var F=this.getBits(C)+T;F-- >0;)x[b++]=_}f=this.generateHuffmanTable(x.subarray(0,p)),h=this.generateHuffmanTable(x.subarray(p,w))}else throw new Error("Unknown block type in flate stream");r=this.buffer;for(var I=r?r.length:0,R=this.bufferLength;;){var D=this.getCode(f);if(D<256){R+1>=I&&(r=this.ensureBuffer(R+1),I=r.length),r[R++]=D;continue}if(D===256){this.bufferLength=R;return}D-=257,D=Qct[D];var A=D>>16;A>0&&(A=this.getBits(A)),n=(D&65535)+A,D=this.getCode(h),D=Jct[D],A=D>>16,A>0&&(A=this.getBits(A));var M=(D&65535)+A;R+n>=I&&(r=this.ensureBuffer(R+n),I=r.length);for(var X=0;X<n;++X,++R)r[R]=r[R-M]}},t.prototype.getBits=function(r){for(var n=this.stream,i=this.codeSize,a=this.codeBuf,o;i<r;){if((o=n.getByte())===-1)throw new Error("Bad encoding in flate stream");a|=o<<i,i+=8}return o=a&(1<<r)-1,this.codeBuf=a>>r,this.codeSize=i-=r,o},t.prototype.getCode=function(r){for(var n=this.stream,i=r[0],a=r[1],o=this.codeSize,s=this.codeBuf,l;o<a&&(l=n.getByte())!==-1;)s|=l<<o,o+=8;var c=i[s&(1<<a)-1];typeof i=="number"&&console.log("FLATE:",c);var u=c>>16,d=c&65535;if(u<1||o<u)throw new Error("Bad encoding in flate stream");return this.codeBuf=s>>u,this.codeSize=o-u,d},t.prototype.generateHuffmanTable=function(r){var n=r.length,i=0,a;for(a=0;a<n;++a)r[a]>i&&(i=r[a]);for(var o=1<<i,s=new Int32Array(o),l=1,c=0,u=2;l<=i;++l,c<<=1,u<<=1)for(var d=0;d<n;++d)if(r[d]===l){var f=0,h=c;for(a=0;a<l;++a)f=f<<1|h&1,h>>=1;for(a=f;a<o;a+=u)s[a]=l<<16|d;++c}return[s,i]},t}(i2),nut=function(e){ft(t,e);function t(r,n,i){var a=e.call(this,n)||this;a.stream=r,a.cachedData=0,a.bitsCached=0;for(var o=4096,s={earlyChange:i,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(o),dictionaryLengths:new Uint16Array(o),dictionaryPrevCodes:new Uint16Array(o),currentSequence:new Uint8Array(o),currentSequenceLength:0},l=0;l<256;++l)s.dictionaryValues[l]=l,s.dictionaryLengths[l]=1;return a.lzwState=s,a}return t.prototype.readBlock=function(){var r=512,n=r*2,i=r,a,o,s,l=this.lzwState;if(l){var c=l.earlyChange,u=l.nextCode,d=l.dictionaryValues,f=l.dictionaryLengths,h=l.dictionaryPrevCodes,p=l.codeLength,g=l.prevCode,v=l.currentSequence,m=l.currentSequenceLength,b=0,y=this.bufferLength,w=this.ensureBuffer(this.bufferLength+n);for(a=0;a<r;a++){var x=this.readBits(p),C=m>0;if(!x||x<256)v[0]=x,m=1;else if(x>=258)if(x<u)for(m=f[x],o=m-1,s=x;o>=0;o--)v[o]=d[s],s=h[s];else v[m++]=v[0];else if(x===256){p=9,u=258,m=0;continue}else{this.eof=!0,delete this.lzwState;break}if(C&&(h[u]=g,f[u]=f[g]+1,d[u]=v[0],u++,p=u+c&u+c-1?p:Math.min(Math.log(u+c)/.6931471805599453+1,12)|0),g=x,b+=m,n<b){do n+=i;while(n<b);w=this.ensureBuffer(this.bufferLength+n)}for(o=0;o<m;o++)w[y++]=v[o]}l.nextCode=u,l.codeLength=p,l.prevCode=g,l.currentSequenceLength=m,this.bufferLength=y}},t.prototype.readBits=function(r){for(var n=this.bitsCached,i=this.cachedData;n<r;){var a=this.stream.getByte();if(a===-1)return this.eof=!0,null;i=i<<8|a,n+=8}return this.bitsCached=n-=r,this.cachedData=i,i>>>n&(1<<r)-1},t}(i2),iut=function(e){ft(t,e);function t(r,n){var i=e.call(this,n)||this;return i.stream=r,i}return t.prototype.readBlock=function(){var r=this.stream.getBytes(2);if(!r||r.length<2||r[0]===128){this.eof=!0;return}var n,i=this.bufferLength,a=r[0];if(a<128){if(n=this.ensureBuffer(i+a+1),n[i++]=r[1],a>0){var o=this.stream.getBytes(a);n.set(o,i),i+=a}}else{a=257-a;var s=r[1];n=this.ensureBuffer(i+a+1);for(var l=0;l<a;l++)n[i++]=s}this.bufferLength=i},t}(i2),ZZ=function(e,t,r){if(t===ue.of("FlateDecode"))return new rut(e);if(t===ue.of("LZWDecode")){var n=1;if(r instanceof gr){var i=r.lookup(ue.of("EarlyChange"));i instanceof ar&&(n=i.asNumber())}return new nut(e,void 0,n)}if(t===ue.of("ASCII85Decode"))return new $ct(e);if(t===ue.of("ASCIIHexDecode"))return new Xct(e);if(t===ue.of("RunLengthDecode"))return new iut(e);throw new hct(t.asString())},Oue=function(e){var t=e.dict,r=e.contents,n=new Aue(r),i=t.lookup(ue.of("Filter")),a=t.lookup(ue.of("DecodeParms"));if(i instanceof ue)n=ZZ(n,i,a);else if(i instanceof en)for(var o=0,s=i.size();o<s;o++)n=ZZ(n,i.lookup(o,ue),a&&a.lookupMaybe(o,gr));else if(i)throw new i_([ue,en],i);return n},aut=function(e){var t=e.MediaBox(),r=t.lookup(2,ar).asNumber()-t.lookup(0,ar).asNumber(),n=t.lookup(3,ar).asNumber()-t.lookup(1,ar).asNumber();return{left:0,bottom:0,right:r,top:n}},out=function(e){return[1,0,0,1,-e.left,-e.bottom]},Iue=function(){function e(t,r,n){this.page=t;var i=r??aut(t);this.width=i.right-i.left,this.height=i.top-i.bottom,this.boundingBox=i,this.transformationMatrix=n??out(i)}return e.for=function(t,r,n){return Sr(this,void 0,void 0,function(){return wr(this,function(i){return[2,new e(t,r,n)]})})},e.prototype.embedIntoContext=function(t,r){return Sr(this,void 0,void 0,function(){var n,i,a,o,s,l,c,u,d,f;return wr(this,function(h){if(n=this.page.normalizedEntries(),i=n.Contents,a=n.Resources,!i)throw new pct;return o=this.decodeContents(i),s=this.boundingBox,l=s.left,c=s.bottom,u=s.right,d=s.top,f=t.flateStream(o,{Type:"XObject",Subtype:"Form",FormType:1,BBox:[l,c,u,d],Matrix:this.transformationMatrix,Resources:a}),r?(t.assign(r,f),[2,r]):[2,t.register(f)]})})},e.prototype.decodeContents=function(t){for(var r=Uint8Array.of(fe.Newline),n=[],i=0,a=t.size();i<a;i++){var o=t.lookup(i,al),s=void 0;if(o instanceof Dw)s=Oue(o).decode();else if(o instanceof Kb)s=o.getUnencodedContents();else throw new mct(o);n.push(s,r)}return Rot.apply(void 0,n)},e}(),GC=function(e,t){if(e!==void 0)return t[e]},Zb;(function(e){e.UseNone="UseNone",e.UseOutlines="UseOutlines",e.UseThumbs="UseThumbs",e.UseOC="UseOC"})(Zb||(Zb={}));var Yb;(function(e){e.L2R="L2R",e.R2L="R2L"})(Yb||(Yb={}));var $b;(function(e){e.None="None",e.AppDefault="AppDefault"})($b||($b={}));var s_;(function(e){e.Simplex="Simplex",e.DuplexFlipShortEdge="DuplexFlipShortEdge",e.DuplexFlipLongEdge="DuplexFlipLongEdge"})(s_||(s_={}));var YZ=function(){function e(t){this.dict=t}return e.prototype.lookupBool=function(t){var r=this.dict.lookup(ue.of(t));if(r instanceof Fw)return r},e.prototype.lookupName=function(t){var r=this.dict.lookup(ue.of(t));if(r instanceof ue)return r},e.prototype.HideToolbar=function(){return this.lookupBool("HideToolbar")},e.prototype.HideMenubar=function(){return this.lookupBool("HideMenubar")},e.prototype.HideWindowUI=function(){return this.lookupBool("HideWindowUI")},e.prototype.FitWindow=function(){return this.lookupBool("FitWindow")},e.prototype.CenterWindow=function(){return this.lookupBool("CenterWindow")},e.prototype.DisplayDocTitle=function(){return this.lookupBool("DisplayDocTitle")},e.prototype.NonFullScreenPageMode=function(){return this.lookupName("NonFullScreenPageMode")},e.prototype.Direction=function(){return this.lookupName("Direction")},e.prototype.PrintScaling=function(){return this.lookupName("PrintScaling")},e.prototype.Duplex=function(){return this.lookupName("Duplex")},e.prototype.PickTrayByPDFSize=function(){return this.lookupBool("PickTrayByPDFSize")},e.prototype.PrintPageRange=function(){var t=this.dict.lookup(ue.of("PrintPageRange"));if(t instanceof en)return t},e.prototype.NumCopies=function(){var t=this.dict.lookup(ue.of("NumCopies"));if(t instanceof ar)return t},e.prototype.getHideToolbar=function(){var t,r;return(r=(t=this.HideToolbar())===null||t===void 0?void 0:t.asBoolean())!==null&&r!==void 0?r:!1},e.prototype.getHideMenubar=function(){var t,r;return(r=(t=this.HideMenubar())===null||t===void 0?void 0:t.asBoolean())!==null&&r!==void 0?r:!1},e.prototype.getHideWindowUI=function(){var t,r;return(r=(t=this.HideWindowUI())===null||t===void 0?void 0:t.asBoolean())!==null&&r!==void 0?r:!1},e.prototype.getFitWindow=function(){var t,r;return(r=(t=this.FitWindow())===null||t===void 0?void 0:t.asBoolean())!==null&&r!==void 0?r:!1},e.prototype.getCenterWindow=function(){var t,r;return(r=(t=this.CenterWindow())===null||t===void 0?void 0:t.asBoolean())!==null&&r!==void 0?r:!1},e.prototype.getDisplayDocTitle=function(){var t,r;return(r=(t=this.DisplayDocTitle())===null||t===void 0?void 0:t.asBoolean())!==null&&r!==void 0?r:!1},e.prototype.getNonFullScreenPageMode=function(){var t,r,n=(t=this.NonFullScreenPageMode())===null||t===void 0?void 0:t.decodeText();return(r=GC(n,Zb))!==null&&r!==void 0?r:Zb.UseNone},e.prototype.getReadingDirection=function(){var t,r,n=(t=this.Direction())===null||t===void 0?void 0:t.decodeText();return(r=GC(n,Yb))!==null&&r!==void 0?r:Yb.L2R},e.prototype.getPrintScaling=function(){var t,r,n=(t=this.PrintScaling())===null||t===void 0?void 0:t.decodeText();return(r=GC(n,$b))!==null&&r!==void 0?r:$b.AppDefault},e.prototype.getDuplex=function(){var t,r=(t=this.Duplex())===null||t===void 0?void 0:t.decodeText();return GC(r,s_)},e.prototype.getPickTrayByPDFSize=function(){var t;return(t=this.PickTrayByPDFSize())===null||t===void 0?void 0:t.asBoolean()},e.prototype.getPrintPageRange=function(){var t=this.PrintPageRange();if(!t)return[];for(var r=[],n=0;n<t.size();n+=2){var i=t.lookup(n,ar).asNumber(),a=t.lookup(n+1,ar).asNumber();r.push({start:i,end:a})}return r},e.prototype.getNumCopies=function(){var t,r;return(r=(t=this.NumCopies())===null||t===void 0?void 0:t.asNumber())!==null&&r!==void 0?r:1},e.prototype.setHideToolbar=function(t){var r=this.dict.context.obj(t);this.dict.set(ue.of("HideToolbar"),r)},e.prototype.setHideMenubar=function(t){var r=this.dict.context.obj(t);this.dict.set(ue.of("HideMenubar"),r)},e.prototype.setHideWindowUI=function(t){var r=this.dict.context.obj(t);this.dict.set(ue.of("HideWindowUI"),r)},e.prototype.setFitWindow=function(t){var r=this.dict.context.obj(t);this.dict.set(ue.of("FitWindow"),r)},e.prototype.setCenterWindow=function(t){var r=this.dict.context.obj(t);this.dict.set(ue.of("CenterWindow"),r)},e.prototype.setDisplayDocTitle=function(t){var r=this.dict.context.obj(t);this.dict.set(ue.of("DisplayDocTitle"),r)},e.prototype.setNonFullScreenPageMode=function(t){kh(t,"nonFullScreenPageMode",Zb);var r=ue.of(t);this.dict.set(ue.of("NonFullScreenPageMode"),r)},e.prototype.setReadingDirection=function(t){kh(t,"readingDirection",Yb);var r=ue.of(t);this.dict.set(ue.of("Direction"),r)},e.prototype.setPrintScaling=function(t){kh(t,"printScaling",$b);var r=ue.of(t);this.dict.set(ue.of("PrintScaling"),r)},e.prototype.setDuplex=function(t){kh(t,"duplex",s_);var r=ue.of(t);this.dict.set(ue.of("Duplex"),r)},e.prototype.setPickTrayByPDFSize=function(t){var r=this.dict.context.obj(t);this.dict.set(ue.of("PickTrayByPDFSize"),r)},e.prototype.setPrintPageRange=function(t){Array.isArray(t)||(t=[t]);for(var r=[],n=0,i=t.length;n<i;n++)r.push(t[n].start),r.push(t[n].end);bue(r,"printPageRange",["number"]);var a=this.dict.context.obj(r);this.dict.set(ue.of("PrintPageRange"),a)},e.prototype.setNumCopies=function(t){Qs(t,"numCopies",1,Number.MAX_VALUE),fct(t,"numCopies");var r=this.dict.context.obj(t);this.dict.set(ue.of("NumCopies"),r)},e.fromDict=function(t){return new e(t)},e.create=function(t){var r=t.obj({});return new e(r)},e}(),sut=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+Tf/,Rue=function(){function e(t,r){this.dict=t,this.ref=r}return e.prototype.T=function(){return this.dict.lookupMaybe(ue.of("T"),mn,Qt)},e.prototype.Ff=function(){var t=this.getInheritableAttribute(ue.of("Ff"));return this.dict.context.lookupMaybe(t,ar)},e.prototype.V=function(){var t=this.getInheritableAttribute(ue.of("V"));return this.dict.context.lookup(t)},e.prototype.Kids=function(){return this.dict.lookupMaybe(ue.of("Kids"),en)},e.prototype.DA=function(){var t=this.dict.lookup(ue.of("DA"));if(t instanceof mn||t instanceof Qt)return t},e.prototype.setKids=function(t){this.dict.set(ue.of("Kids"),this.dict.context.obj(t))},e.prototype.getParent=function(){var t=this.dict.get(ue.of("Parent"));if(t instanceof gn){var r=this.dict.lookup(ue.of("Parent"),gr);return new e(r,t)}},e.prototype.setParent=function(t){t?this.dict.set(ue.of("Parent"),t):this.dict.delete(ue.of("Parent"))},e.prototype.getFullyQualifiedName=function(){var t=this.getParent();return t?t.getFullyQualifiedName()+"."+this.getPartialName():this.getPartialName()},e.prototype.getPartialName=function(){var t;return(t=this.T())===null||t===void 0?void 0:t.decodeText()},e.prototype.setPartialName=function(t){t?this.dict.set(ue.of("T"),Qt.fromText(t)):this.dict.delete(ue.of("T"))},e.prototype.setDefaultAppearance=function(t){this.dict.set(ue.of("DA"),mn.of(t))},e.prototype.getDefaultAppearance=function(){var t=this.DA();return t instanceof Qt?t.decodeText():t==null?void 0:t.asString()},e.prototype.setFontSize=function(t){var r,n=(r=this.getFullyQualifiedName())!==null&&r!==void 0?r:"",i=this.getDefaultAppearance();if(!i)throw new bct(n);var a=iM(i,sut);if(!a.match)throw new Sct(n);var o=i.slice(0,a.pos-a.match[0].length),s=a.pos<=i.length?i.slice(a.pos):"",l=a.match[1],c=o+" /"+l+" "+t+" Tf "+s;this.setDefaultAppearance(c)},e.prototype.getFlags=function(){var t,r;return(r=(t=this.Ff())===null||t===void 0?void 0:t.asNumber())!==null&&r!==void 0?r:0},e.prototype.setFlags=function(t){this.dict.set(ue.of("Ff"),ar.of(t))},e.prototype.hasFlag=function(t){var r=this.getFlags();return(r&t)!==0},e.prototype.setFlag=function(t){var r=this.getFlags();this.setFlags(r|t)},e.prototype.clearFlag=function(t){var r=this.getFlags();this.setFlags(r&~t)},e.prototype.setFlagTo=function(t,r){r?this.setFlag(t):this.clearFlag(t)},e.prototype.getInheritableAttribute=function(t){var r;return this.ascend(function(n){r||(r=n.dict.get(t))}),r},e.prototype.ascend=function(t){t(this);var r=this.getParent();r&&r.ascend(t)},e}(),dR=function(){function e(t){this.dict=t}return e.prototype.W=function(){var t=this.dict.lookup(ue.of("W"));if(t instanceof ar)return t},e.prototype.getWidth=function(){var t,r;return(r=(t=this.W())===null||t===void 0?void 0:t.asNumber())!==null&&r!==void 0?r:1},e.prototype.setWidth=function(t){var r=this.dict.context.obj(t);this.dict.set(ue.of("W"),r)},e.fromDict=function(t){return new e(t)},e}(),lut=function(){function e(t){this.dict=t}return e.prototype.Rect=function(){return this.dict.lookup(ue.of("Rect"),en)},e.prototype.AP=function(){return this.dict.lookupMaybe(ue.of("AP"),gr)},e.prototype.F=function(){var t=this.dict.lookup(ue.of("F"));return this.dict.context.lookupMaybe(t,ar)},e.prototype.getRectangle=function(){var t,r=this.Rect();return(t=r==null?void 0:r.asRectangle())!==null&&t!==void 0?t:{x:0,y:0,width:0,height:0}},e.prototype.setRectangle=function(t){var r=t.x,n=t.y,i=t.width,a=t.height,o=this.dict.context.obj([r,n,r+i,n+a]);this.dict.set(ue.of("Rect"),o)},e.prototype.getAppearanceState=function(){var t=this.dict.lookup(ue.of("AS"));if(t instanceof ue)return t},e.prototype.setAppearanceState=function(t){this.dict.set(ue.of("AS"),t)},e.prototype.setAppearances=function(t){this.dict.set(ue.of("AP"),t)},e.prototype.ensureAP=function(){var t=this.AP();return t||(t=this.dict.context.obj({}),this.dict.set(ue.of("AP"),t)),t},e.prototype.getNormalAppearance=function(){var t=this.ensureAP(),r=t.get(ue.of("N"));if(r instanceof gn||r instanceof gr)return r;throw new Error("Unexpected N type: "+(r==null?void 0:r.constructor.name))},e.prototype.setNormalAppearance=function(t){var r=this.ensureAP();r.set(ue.of("N"),t)},e.prototype.setRolloverAppearance=function(t){var r=this.ensureAP();r.set(ue.of("R"),t)},e.prototype.setDownAppearance=function(t){var r=this.ensureAP();r.set(ue.of("D"),t)},e.prototype.removeRolloverAppearance=function(){var t=this.AP();t==null||t.delete(ue.of("R"))},e.prototype.removeDownAppearance=function(){var t=this.AP();t==null||t.delete(ue.of("D"))},e.prototype.getAppearances=function(){var t=this.AP();if(t){var r=t.lookup(ue.of("N"),gr,al),n=t.lookupMaybe(ue.of("R"),gr,al),i=t.lookupMaybe(ue.of("D"),gr,al);return{normal:r,rollover:n,down:i}}},e.prototype.getFlags=function(){var t,r;return(r=(t=this.F())===null||t===void 0?void 0:t.asNumber())!==null&&r!==void 0?r:0},e.prototype.setFlags=function(t){this.dict.set(ue.of("F"),ar.of(t))},e.prototype.hasFlag=function(t){var r=this.getFlags();return(r&t)!==0},e.prototype.setFlag=function(t){var r=this.getFlags();this.setFlags(r|t)},e.prototype.clearFlag=function(t){var r=this.getFlags();this.setFlags(r&~t)},e.prototype.setFlagTo=function(t,r){r?this.setFlag(t):this.clearFlag(t)},e.fromDict=function(t){return new e(t)},e}(),fR=function(){function e(t){this.dict=t}return e.prototype.R=function(){var t=this.dict.lookup(ue.of("R"));if(t instanceof ar)return t},e.prototype.BC=function(){var t=this.dict.lookup(ue.of("BC"));if(t instanceof en)return t},e.prototype.BG=function(){var t=this.dict.lookup(ue.of("BG"));if(t instanceof en)return t},e.prototype.CA=function(){var t=this.dict.lookup(ue.of("CA"));if(t instanceof Qt||t instanceof mn)return t},e.prototype.RC=function(){var t=this.dict.lookup(ue.of("RC"));if(t instanceof Qt||t instanceof mn)return t},e.prototype.AC=function(){var t=this.dict.lookup(ue.of("AC"));if(t instanceof Qt||t instanceof mn)return t},e.prototype.getRotation=function(){var t;return(t=this.R())===null||t===void 0?void 0:t.asNumber()},e.prototype.getBorderColor=function(){var t=this.BC();if(t){for(var r=[],n=0,i=t==null?void 0:t.size();n<i;n++){var a=t.get(n);a instanceof ar&&r.push(a.asNumber())}return r}},e.prototype.getBackgroundColor=function(){var t=this.BG();if(t){for(var r=[],n=0,i=t==null?void 0:t.size();n<i;n++){var a=t.get(n);a instanceof ar&&r.push(a.asNumber())}return r}},e.prototype.getCaptions=function(){var t=this.CA(),r=this.RC(),n=this.AC();return{normal:t==null?void 0:t.decodeText(),rollover:r==null?void 0:r.decodeText(),down:n==null?void 0:n.decodeText()}},e.prototype.setRotation=function(t){var r=this.dict.context.obj(t);this.dict.set(ue.of("R"),r)},e.prototype.setBorderColor=function(t){var r=this.dict.context.obj(t);this.dict.set(ue.of("BC"),r)},e.prototype.setBackgroundColor=function(t){var r=this.dict.context.obj(t);this.dict.set(ue.of("BG"),r)},e.prototype.setCaptions=function(t){var r=Qt.fromText(t.normal);if(this.dict.set(ue.of("CA"),r),t.rollover){var n=Qt.fromText(t.rollover);this.dict.set(ue.of("RC"),n)}else this.dict.delete(ue.of("RC"));if(t.down){var i=Qt.fromText(t.down);this.dict.set(ue.of("AC"),i)}else this.dict.delete(ue.of("AC"))},e.fromDict=function(t){return new e(t)},e}(),ZD=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.MK=function(){var r=this.dict.lookup(ue.of("MK"));if(r instanceof gr)return r},t.prototype.BS=function(){var r=this.dict.lookup(ue.of("BS"));if(r instanceof gr)return r},t.prototype.DA=function(){var r=this.dict.lookup(ue.of("DA"));if(r instanceof mn||r instanceof Qt)return r},t.prototype.P=function(){var r=this.dict.get(ue.of("P"));if(r instanceof gn)return r},t.prototype.setP=function(r){this.dict.set(ue.of("P"),r)},t.prototype.setDefaultAppearance=function(r){this.dict.set(ue.of("DA"),mn.of(r))},t.prototype.getDefaultAppearance=function(){var r=this.DA();return r instanceof Qt?r.decodeText():r==null?void 0:r.asString()},t.prototype.getAppearanceCharacteristics=function(){var r=this.MK();if(r)return fR.fromDict(r)},t.prototype.getOrCreateAppearanceCharacteristics=function(){var r=this.MK();if(r)return fR.fromDict(r);var n=fR.fromDict(this.dict.context.obj({}));return this.dict.set(ue.of("MK"),n.dict),n},t.prototype.getBorderStyle=function(){var r=this.BS();if(r)return dR.fromDict(r)},t.prototype.getOrCreateBorderStyle=function(){var r=this.BS();if(r)return dR.fromDict(r);var n=dR.fromDict(this.dict.context.obj({}));return this.dict.set(ue.of("BS"),n.dict),n},t.prototype.getOnValue=function(){var r,n=(r=this.getAppearances())===null||r===void 0?void 0:r.normal;if(n instanceof gr)for(var i=n.keys(),a=0,o=i.length;a<o;a++){var s=i[a];if(s!==ue.of("Off"))return s}},t.fromDict=function(r){return new t(r)},t.create=function(r,n){var i=r.obj({Type:"Annot",Subtype:"Widget",Rect:[0,0,0,0],Parent:n});return new t(i)},t}(lut),By=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.FT=function(){var r=this.getInheritableAttribute(ue.of("FT"));return this.dict.context.lookup(r,ue)},t.prototype.getWidgets=function(){var r=this.Kids();if(!r)return[ZD.fromDict(this.dict)];for(var n=new Array(r.size()),i=0,a=r.size();i<a;i++){var o=r.lookup(i,gr);n[i]=ZD.fromDict(o)}return n},t.prototype.addWidget=function(r){var n=this.normalizedEntries().Kids;n.push(r)},t.prototype.removeWidget=function(r){var n=this.Kids();if(n){if(r<0||r>n.size())throw new a_(r,0,n.size());n.remove(r)}else{if(r!==0)throw new a_(r,0,0);this.setKids([])}},t.prototype.normalizedEntries=function(){var r=this.Kids();return r||(r=this.dict.context.obj([this.ref]),this.dict.set(ue.of("Kids"),r)),{Kids:r}},t.fromDict=function(r,n){return new t(r,n)},t}(Rue),bM=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.Opt=function(){return this.dict.lookupMaybe(ue.of("Opt"),mn,Qt,en)},t.prototype.setOpt=function(r){this.dict.set(ue.of("Opt"),this.dict.context.obj(r))},t.prototype.getExportValues=function(){var r=this.Opt();if(r){if(r instanceof mn||r instanceof Qt)return[r];for(var n=[],i=0,a=r.size();i<a;i++){var o=r.lookup(i);(o instanceof mn||o instanceof Qt)&&n.push(o)}return n}},t.prototype.removeExportValue=function(r){var n=this.Opt();if(n)if(n instanceof mn||n instanceof Qt){if(r!==0)throw new a_(r,0,0);this.setOpt([])}else{if(r<0||r>n.size())throw new a_(r,0,n.size());n.remove(r)}},t.prototype.normalizeExportValues=function(){for(var r,n,i,a,o=(r=this.getExportValues())!==null&&r!==void 0?r:[],s=[],l=this.getWidgets(),c=0,u=l.length;c<u;c++){var d=l[c],f=(n=o[c])!==null&&n!==void 0?n:Qt.fromText((a=(i=d.getOnValue())===null||i===void 0?void 0:i.decodeText())!==null&&a!==void 0?a:"");s.push(f)}this.setOpt(s)},t.prototype.addOpt=function(r,n){var i;this.normalizeExportValues();var a=r.decodeText(),o;if(n)for(var s=(i=this.getExportValues())!==null&&i!==void 0?i:[],l=0,c=s.length;l<c;l++){var u=s[l];u.decodeText()===a&&(o=l)}var d=this.Opt();return d.push(r),o??d.size()-1},t.prototype.addWidgetWithOpt=function(r,n,i){var a=this.addOpt(n,i),o=ue.of(String(a));return this.addWidget(r),o},t}(By),WA=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.setValue=function(r){var n,i=(n=this.getOnValue())!==null&&n!==void 0?n:ue.of("Yes");if(r!==i&&r!==ue.of("Off"))throw new pM;this.dict.set(ue.of("V"),r);for(var a=this.getWidgets(),o=0,s=a.length;o<s;o++){var l=a[o],c=l.getOnValue()===r?r:ue.of("Off");l.setAppearanceState(c)}},t.prototype.getValue=function(){var r=this.V();return r instanceof ue?r:ue.of("Off")},t.prototype.getOnValue=function(){var r=this.getWidgets()[0];return r==null?void 0:r.getOnValue()},t.fromDict=function(r,n){return new t(r,n)},t.create=function(r){var n=r.obj({FT:"Btn",Kids:[]}),i=r.register(n);return new t(n,i)},t}(bM),Hi=function(e){return 1<<e},Ac;(function(e){e[e.ReadOnly=Hi(0)]="ReadOnly",e[e.Required=Hi(1)]="Required",e[e.NoExport=Hi(2)]="NoExport"})(Ac||(Ac={}));var zl;(function(e){e[e.NoToggleToOff=Hi(14)]="NoToggleToOff",e[e.Radio=Hi(15)]="Radio",e[e.PushButton=Hi(16)]="PushButton",e[e.RadiosInUnison=Hi(25)]="RadiosInUnison"})(zl||(zl={}));var ai;(function(e){e[e.Multiline=Hi(12)]="Multiline",e[e.Password=Hi(13)]="Password",e[e.FileSelect=Hi(20)]="FileSelect",e[e.DoNotSpellCheck=Hi(22)]="DoNotSpellCheck",e[e.DoNotScroll=Hi(23)]="DoNotScroll",e[e.Comb=Hi(24)]="Comb",e[e.RichText=Hi(25)]="RichText"})(ai||(ai={}));var pn;(function(e){e[e.Combo=Hi(17)]="Combo",e[e.Edit=Hi(18)]="Edit",e[e.Sort=Hi(19)]="Sort",e[e.MultiSelect=Hi(21)]="MultiSelect",e[e.DoNotSpellCheck=Hi(22)]="DoNotSpellCheck",e[e.CommitOnSelChange=Hi(26)]="CommitOnSelChange"})(pn||(pn={}));var Fue=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.setValues=function(r){if(this.hasFlag(pn.Combo)&&!this.hasFlag(pn.Edit)&&!this.valuesAreValid(r))throw new pM;if(r.length===0&&this.dict.delete(ue.of("V")),r.length===1&&this.dict.set(ue.of("V"),r[0]),r.length>1){if(!this.hasFlag(pn.MultiSelect))throw new yct;this.dict.set(ue.of("V"),this.dict.context.obj(r))}this.updateSelectedIndices(r)},t.prototype.valuesAreValid=function(r){for(var n=this.getOptions(),i=function(l,c){var u=r[l].decodeText();if(!n.find(function(d){return u===(d.display||d.value).decodeText()}))return{value:!1}},a=0,o=r.length;a<o;a++){var s=i(a);if(typeof s=="object")return s.value}return!0},t.prototype.updateSelectedIndices=function(r){if(r.length>1){for(var n=new Array(r.length),i=this.getOptions(),a=function(l,c){var u=r[l].decodeText();n[l]=i.findIndex(function(d){return u===(d.display||d.value).decodeText()})},o=0,s=r.length;o<s;o++)a(o,s);this.dict.set(ue.of("I"),this.dict.context.obj(n.sort()))}else this.dict.delete(ue.of("I"))},t.prototype.getValues=function(){var r=this.V();if(r instanceof mn||r instanceof Qt)return[r];if(r instanceof en){for(var n=[],i=0,a=r.size();i<a;i++){var o=r.lookup(i);(o instanceof mn||o instanceof Qt)&&n.push(o)}return n}return[]},t.prototype.Opt=function(){return this.dict.lookupMaybe(ue.of("Opt"),mn,Qt,en)},t.prototype.setOptions=function(r){for(var n=new Array(r.length),i=0,a=r.length;i<a;i++){var o=r[i],s=o.value,l=o.display;n[i]=this.dict.context.obj([s,l||s])}this.dict.set(ue.of("Opt"),this.dict.context.obj(n))},t.prototype.getOptions=function(){var r=this.Opt();if(r instanceof mn||r instanceof Qt)return[{value:r,display:r}];if(r instanceof en){for(var n=[],i=0,a=r.size();i<a;i++){var o=r.lookup(i);if((o instanceof mn||o instanceof Qt)&&n.push({value:o,display:o}),o instanceof en&&o.size()>0){var s=o.lookup(0,mn,Qt),l=o.lookupMaybe(1,mn,Qt);n.push({value:s,display:l||s})}}return n}return[]},t}(By),VA=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.fromDict=function(r,n){return new t(r,n)},t.create=function(r){var n=r.obj({FT:"Ch",Ff:pn.Combo,Kids:[]}),i=r.register(n);return new t(n,i)},t}(Fue),l_=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.addField=function(r){var n=this.normalizedEntries().Kids;n==null||n.push(r)},t.prototype.normalizedEntries=function(){var r=this.Kids();return r||(r=this.dict.context.obj([]),this.dict.set(ue.of("Kids"),r)),{Kids:r}},t.fromDict=function(r,n){return new t(r,n)},t.create=function(r){var n=r.obj({}),i=r.register(n);return new t(n,i)},t}(Rue),SM=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.fromDict=function(r,n){return new t(r,n)},t}(By),jA=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.MaxLen=function(){var r=this.dict.lookup(ue.of("MaxLen"));if(r instanceof ar)return r},t.prototype.Q=function(){var r=this.dict.lookup(ue.of("Q"));if(r instanceof ar)return r},t.prototype.setMaxLength=function(r){this.dict.set(ue.of("MaxLen"),ar.of(r))},t.prototype.removeMaxLength=function(){this.dict.delete(ue.of("MaxLen"))},t.prototype.getMaxLength=function(){var r;return(r=this.MaxLen())===null||r===void 0?void 0:r.asNumber()},t.prototype.setQuadding=function(r){this.dict.set(ue.of("Q"),ar.of(r))},t.prototype.getQuadding=function(){var r;return(r=this.Q())===null||r===void 0?void 0:r.asNumber()},t.prototype.setValue=function(r){this.dict.set(ue.of("V"),r)},t.prototype.removeValue=function(){this.dict.delete(ue.of("V"))},t.prototype.getValue=function(){var r=this.V();if(r instanceof mn||r instanceof Qt)return r},t.fromDict=function(r,n){return new t(r,n)},t.create=function(r){var n=r.obj({FT:"Tx",Kids:[]}),i=r.register(n);return new t(n,i)},t}(By),GA=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.fromDict=function(r,n){return new t(r,n)},t.create=function(r){var n=r.obj({FT:"Btn",Ff:zl.PushButton,Kids:[]}),i=r.register(n);return new t(n,i)},t}(bM),KA=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.setValue=function(r){var n=this.getOnValues();if(!n.includes(r)&&r!==ue.of("Off"))throw new pM;this.dict.set(ue.of("V"),r);for(var i=this.getWidgets(),a=0,o=i.length;a<o;a++){var s=i[a],l=s.getOnValue()===r?r:ue.of("Off");s.setAppearanceState(l)}},t.prototype.getValue=function(){var r=this.V();return r instanceof ue?r:ue.of("Off")},t.prototype.getOnValues=function(){for(var r=this.getWidgets(),n=[],i=0,a=r.length;i<a;i++){var o=r[i].getOnValue();o&&n.push(o)}return n},t.fromDict=function(r,n){return new t(r,n)},t.create=function(r){var n=r.obj({FT:"Btn",Ff:zl.Radio,Kids:[]}),i=r.register(n);return new t(n,i)},t}(bM),ZA=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.fromDict=function(r,n){return new t(r,n)},t.create=function(r){var n=r.obj({FT:"Ch",Kids:[]}),i=r.register(n);return new t(n,i)},t}(Fue),wM=function(e){if(!e)return[];for(var t=[],r=0,n=e.size();r<n;r++){var i=e.get(r),a=e.lookup(r);i instanceof gn&&a instanceof gr&&t.push([Due(a,i),i])}return t},Due=function(e,t){var r=cut(e);return r?l_.fromDict(e,t):uut(e,t)},cut=function(e){var t=e.lookup(ue.of("Kids"));if(t instanceof en)for(var r=0,n=t.size();r<n;r++){var i=t.lookup(r),a=i instanceof gr&&i.has(ue.of("T"));if(a)return!0}return!1},uut=function(e,t){var r=xM(e,ue.of("FT")),n=e.context.lookup(r,ue);return n===ue.of("Btn")?dut(e,t):n===ue.of("Ch")?fut(e,t):n===ue.of("Tx")?jA.fromDict(e,t):n===ue.of("Sig")?SM.fromDict(e,t):By.fromDict(e,t)},dut=function(e,t){var r,n=xM(e,ue.of("Ff")),i=e.context.lookupMaybe(n,ar),a=(r=i==null?void 0:i.asNumber())!==null&&r!==void 0?r:0;return YD(a,zl.PushButton)?GA.fromDict(e,t):YD(a,zl.Radio)?KA.fromDict(e,t):WA.fromDict(e,t)},fut=function(e,t){var r,n=xM(e,ue.of("Ff")),i=e.context.lookupMaybe(n,ar),a=(r=i==null?void 0:i.asNumber())!==null&&r!==void 0?r:0;return YD(a,pn.Combo)?VA.fromDict(e,t):ZA.fromDict(e,t)},YD=function(e,t){return(e&t)!==0},xM=function(e,t){var r;return Nue(e,function(n){r||(r=n.get(t))}),r},Nue=function(e,t){t(e);var r=e.lookupMaybe(ue.of("Parent"),gr);r&&Nue(r,t)},c_=function(){function e(t){this.dict=t}return e.prototype.Fields=function(){var t=this.dict.lookup(ue.of("Fields"));if(t instanceof en)return t},e.prototype.getFields=function(){for(var t=this.normalizedEntries().Fields,r=new Array(t.size()),n=0,i=t.size();n<i;n++){var a=t.get(n),o=t.lookup(n,gr);r[n]=[Due(o,a),a]}return r},e.prototype.getAllFields=function(){var t=[],r=function(n){if(n)for(var i=0,a=n.length;i<a;i++){var o=n[i];t.push(o);var s=o[0];s instanceof l_&&r(wM(s.Kids()))}};return r(this.getFields()),t},e.prototype.addField=function(t){var r=this.normalizedEntries().Fields;r==null||r.push(t)},e.prototype.removeField=function(t){var r=t.getParent(),n=r===void 0?this.normalizedEntries().Fields:r.Kids(),i=n==null?void 0:n.indexOf(t.ref);if(n===void 0||i===void 0)throw new Error("Tried to remove inexistent field "+t.getFullyQualifiedName());n.remove(i),r!==void 0&&n.size()===0&&this.removeField(r)},e.prototype.normalizedEntries=function(){var t=this.Fields();return t||(t=this.dict.context.obj([]),this.dict.set(ue.of("Fields"),t)),{Fields:t}},e.fromDict=function(t){return new e(t)},e.create=function(t){var r=t.obj({Fields:[]});return new e(r)},e}(),Mue=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.Pages=function(){return this.lookup(ue.of("Pages"),gr)},t.prototype.AcroForm=function(){return this.lookupMaybe(ue.of("AcroForm"),gr)},t.prototype.getAcroForm=function(){var r=this.AcroForm();if(r)return c_.fromDict(r)},t.prototype.getOrCreateAcroForm=function(){var r=this.getAcroForm();if(!r){r=c_.create(this.context);var n=this.context.register(r.dict);this.set(ue.of("AcroForm"),n)}return r},t.prototype.ViewerPreferences=function(){return this.lookupMaybe(ue.of("ViewerPreferences"),gr)},t.prototype.getViewerPreferences=function(){var r=this.ViewerPreferences();if(r)return YZ.fromDict(r)},t.prototype.getOrCreateViewerPreferences=function(){var r=this.getViewerPreferences();if(!r){r=YZ.create(this.context);var n=this.context.register(r.dict);this.set(ue.of("ViewerPreferences"),n)}return r},t.prototype.insertLeafNode=function(r,n){var i=this.get(ue.of("Pages")),a=this.Pages().insertLeafNode(r,n);return a||i},t.prototype.removeLeafNode=function(r){this.Pages().removeLeafNode(r)},t.withContextAndPages=function(r,n){var i=new Map;return i.set(ue.of("Type"),ue.of("Catalog")),i.set(ue.of("Pages"),n),new t(i,r)},t.fromMapWithContext=function(r,n){return new t(r,n)},t}(gr),Lue=function(e){ft(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.Parent=function(){return this.lookup(ue.of("Parent"))},t.prototype.Kids=function(){return this.lookup(ue.of("Kids"),en)},t.prototype.Count=function(){return this.lookup(ue.of("Count"),ar)},t.prototype.pushTreeNode=function(r){var n=this.Kids();n.push(r)},t.prototype.pushLeafNode=function(r){var n=this.Kids();this.insertLeafKid(n.size(),r)},t.prototype.insertLeafNode=function(r,n){var i=this.Kids(),a=this.Count().asNumber();if(n>a)throw new MZ(n,a);for(var o=n,s=0,l=i.size();s<l;s++){if(o===0){this.insertLeafKid(s,r);return}var c=i.get(s),u=this.context.lookup(c);if(u instanceof t){if(u.Count().asNumber()>o)return u.insertLeafNode(r,o)||c;o-=u.Count().asNumber()}u instanceof ef&&(o-=1)}if(o===0){this.insertLeafKid(i.size(),r);return}throw new LZ(n,"insertLeafNode")},t.prototype.removeLeafNode=function(r,n){n===void 0&&(n=!0);var i=this.Kids(),a=this.Count().asNumber();if(r>=a)throw new MZ(r,a);for(var o=r,s=0,l=i.size();s<l;s++){var c=i.get(s),u=this.context.lookup(c);if(u instanceof t)if(u.Count().asNumber()>o){u.removeLeafNode(o,n),n&&u.Kids().size()===0&&i.remove(s);return}else o-=u.Count().asNumber();if(u instanceof ef)if(o===0){this.removeKid(s);return}else o-=1}throw new LZ(r,"removeLeafNode")},t.prototype.ascend=function(r){r(this);var n=this.Parent();n&&n.ascend(r)},t.prototype.traverse=function(r){for(var n=this.Kids(),i=0,a=n.size();i<a;i++){var o=n.get(i),s=this.context.lookup(o);s instanceof t&&s.traverse(r),r(s,o)}},t.prototype.insertLeafKid=function(r,n){var i=this.Kids();this.ascend(function(a){var o=a.Count().asNumber()+1;a.set(ue.of("Count"),ar.of(o))}),i.insert(r,n)},t.prototype.removeKid=function(r){var n=this.Kids(),i=n.lookup(r);i instanceof ef&&this.ascend(function(a){var o=a.Count().asNumber()-1;a.set(ue.of("Count"),ar.of(o))}),n.remove(r)},t.withContext=function(r,n){var i=new Map;return i.set(ue.of("Type"),ue.of("Pages")),i.set(ue.of("Kids"),r.obj([])),i.set(ue.of("Count"),r.obj(0)),n&&i.set(ue.of("Parent"),n),new t(i,r)},t.fromMapWithContext=function(r,n){return new t(r,n)},t}(gr),wo=new Uint8Array(256);wo[fe.Zero]=1;wo[fe.One]=1;wo[fe.Two]=1;wo[fe.Three]=1;wo[fe.Four]=1;wo[fe.Five]=1;wo[fe.Six]=1;wo[fe.Seven]=1;wo[fe.Eight]=1;wo[fe.Nine]=1;var YA=new Uint8Array(256);YA[fe.Period]=1;YA[fe.Plus]=1;YA[fe.Minus]=1;var CM=new Uint8Array(256);for(var M1=0,hut=256;M1<hut;M1++)CM[M1]=wo[M1]||YA[M1]?1:0;var $Z=fe.Newline,XZ=fe.CarriageReturn,put=function(){function e(t,r){r===void 0&&(r=!1),this.bytes=t,this.capNumbers=r}return e.prototype.parseRawInt=function(){for(var t="";!this.bytes.done();){var r=this.bytes.peek();if(!wo[r])break;t+=Qd(this.bytes.next())}var n=Number(t);if(!t||!isFinite(n))throw new BZ(this.bytes.position(),t);return n},e.prototype.parseRawNumber=function(){for(var t="";!this.bytes.done();){var r=this.bytes.peek();if(!CM[r]||(t+=Qd(this.bytes.next()),r===fe.Period))break}for(;!this.bytes.done();){var r=this.bytes.peek();if(!wo[r])break;t+=Qd(this.bytes.next())}var n=Number(t);if(!t||!isFinite(n))throw new BZ(this.bytes.position(),t);if(n>Number.MAX_SAFE_INTEGER)if(this.capNumbers){var i="Parsed number that is too large for some PDF readers: "+t+", using Number.MAX_SAFE_INTEGER instead.";return console.warn(i),Number.MAX_SAFE_INTEGER}else{var i="Parsed number that is too large for some PDF readers: "+t+", not capping.";console.warn(i)}return n},e.prototype.skipWhitespace=function(){for(;!this.bytes.done()&&wf[this.bytes.peek()];)this.bytes.next()},e.prototype.skipLine=function(){for(;!this.bytes.done();){var t=this.bytes.peek();if(t===$Z||t===XZ)return;this.bytes.next()}},e.prototype.skipComment=function(){if(this.bytes.peek()!==fe.Percent)return!1;for(;!this.bytes.done();){var t=this.bytes.peek();if(t===$Z||t===XZ)return!0;this.bytes.next()}return!0},e.prototype.skipWhitespaceAndComments=function(){for(this.skipWhitespace();this.skipComment();)this.skipWhitespace()},e.prototype.matchKeyword=function(t){for(var r=this.bytes.offset(),n=0,i=t.length;n<i;n++)if(this.bytes.done()||this.bytes.next()!==t[n])return this.bytes.moveTo(r),!1;return!0},e}(),$A=function(){function e(t){this.idx=0,this.line=0,this.column=0,this.bytes=t,this.length=this.bytes.length}return e.prototype.moveTo=function(t){this.idx=t},e.prototype.next=function(){var t=this.bytes[this.idx++];return t===fe.Newline?(this.line+=1,this.column=0):this.column+=1,t},e.prototype.assertNext=function(t){if(this.peek()!==t)throw new wct(this.position(),t,this.peek());return this.next()},e.prototype.peek=function(){return this.bytes[this.idx]},e.prototype.peekAhead=function(t){return this.bytes[this.idx+t]},e.prototype.peekAt=function(t){return this.bytes[t]},e.prototype.done=function(){return this.idx>=this.length},e.prototype.offset=function(){return this.idx},e.prototype.slice=function(t,r){return this.bytes.slice(t,r)},e.prototype.position=function(){return{line:this.line,column:this.column,offset:this.idx}},e.of=function(t){return new e(t)},e.fromPDFRawStream=function(t){return e.of(Oue(t).decode())},e}(),mut=fe.Space,L1=fe.CarriageReturn,B1=fe.Newline,U1=[fe.s,fe.t,fe.r,fe.e,fe.a,fe.m],KC=[fe.e,fe.n,fe.d,fe.s,fe.t,fe.r,fe.e,fe.a,fe.m],Dn={header:[fe.Percent,fe.P,fe.D,fe.F,fe.Dash],eof:[fe.Percent,fe.Percent,fe.E,fe.O,fe.F],obj:[fe.o,fe.b,fe.j],endobj:[fe.e,fe.n,fe.d,fe.o,fe.b,fe.j],xref:[fe.x,fe.r,fe.e,fe.f],trailer:[fe.t,fe.r,fe.a,fe.i,fe.l,fe.e,fe.r],startxref:[fe.s,fe.t,fe.a,fe.r,fe.t,fe.x,fe.r,fe.e,fe.f],true:[fe.t,fe.r,fe.u,fe.e],false:[fe.f,fe.a,fe.l,fe.s,fe.e],null:[fe.n,fe.u,fe.l,fe.l],stream:U1,streamEOF1:Kr(U1,[mut,L1,B1]),streamEOF2:Kr(U1,[L1,B1]),streamEOF3:Kr(U1,[L1]),streamEOF4:Kr(U1,[B1]),endstream:KC,EOF1endstream:Kr([L1,B1],KC),EOF2endstream:Kr([L1],KC),EOF3endstream:Kr([B1],KC)},Bue=function(e){ft(t,e);function t(r,n,i){i===void 0&&(i=!1);var a=e.call(this,r,i)||this;return a.context=n,a}return t.prototype.parseObject=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(Dn.true))return Fw.True;if(this.matchKeyword(Dn.false))return Fw.False;if(this.matchKeyword(Dn.null))return ls;var r=this.bytes.peek();if(r===fe.LessThan&&this.bytes.peekAhead(1)===fe.LessThan)return this.parseDictOrStream();if(r===fe.LessThan)return this.parseHexString();if(r===fe.LeftParen)return this.parseString();if(r===fe.ForwardSlash)return this.parseName();if(r===fe.LeftSquareBracket)return this.parseArray();if(CM[r])return this.parseNumberOrRef();throw new xct(this.bytes.position(),r)},t.prototype.parseNumberOrRef=function(){var r=this.parseRawNumber();this.skipWhitespaceAndComments();var n=this.bytes.offset();if(wo[this.bytes.peek()]){var i=this.parseRawNumber();if(this.skipWhitespaceAndComments(),this.bytes.peek()===fe.R)return this.bytes.assertNext(fe.R),gn.of(r,i)}return this.bytes.moveTo(n),ar.of(r)},t.prototype.parseHexString=function(){var r="";for(this.bytes.assertNext(fe.LessThan);!this.bytes.done()&&this.bytes.peek()!==fe.GreaterThan;)r+=Qd(this.bytes.next());return this.bytes.assertNext(fe.GreaterThan),Qt.of(r)},t.prototype.parseString=function(){for(var r=0,n=!1,i="";!this.bytes.done();){var a=this.bytes.next();if(i+=Qd(a),n||(a===fe.LeftParen&&(r+=1),a===fe.RightParen&&(r-=1)),a===fe.BackSlash?n=!n:n&&(n=!1),r===0)return mn.of(i.substring(1,i.length-1))}throw new kct(this.bytes.position())},t.prototype.parseName=function(){this.bytes.assertNext(fe.ForwardSlash);for(var r="";!this.bytes.done();){var n=this.bytes.peek();if(wf[n]||yc[n])break;r+=Qd(n),this.bytes.next()}return ue.of(r)},t.prototype.parseArray=function(){this.bytes.assertNext(fe.LeftSquareBracket),this.skipWhitespaceAndComments();for(var r=en.withContext(this.context);this.bytes.peek()!==fe.RightSquareBracket;){var n=this.parseObject();r.push(n),this.skipWhitespaceAndComments()}return this.bytes.assertNext(fe.RightSquareBracket),r},t.prototype.parseDict=function(){this.bytes.assertNext(fe.LessThan),this.bytes.assertNext(fe.LessThan),this.skipWhitespaceAndComments();for(var r=new Map;!this.bytes.done()&&this.bytes.peek()!==fe.GreaterThan&&this.bytes.peekAhead(1)!==fe.GreaterThan;){var n=this.parseName(),i=this.parseObject();r.set(n,i),this.skipWhitespaceAndComments()}this.skipWhitespaceAndComments(),this.bytes.assertNext(fe.GreaterThan),this.bytes.assertNext(fe.GreaterThan);var a=r.get(ue.of("Type"));return a===ue.of("Catalog")?Mue.fromMapWithContext(r,this.context):a===ue.of("Pages")?Lue.fromMapWithContext(r,this.context):a===ue.of("Page")?ef.fromMapWithContext(r,this.context):gr.fromMapWithContext(r,this.context)},t.prototype.parseDictOrStream=function(){var r=this.bytes.position(),n=this.parseDict();if(this.skipWhitespaceAndComments(),!this.matchKeyword(Dn.streamEOF1)&&!this.matchKeyword(Dn.streamEOF2)&&!this.matchKeyword(Dn.streamEOF3)&&!this.matchKeyword(Dn.streamEOF4)&&!this.matchKeyword(Dn.stream))return n;var i=this.bytes.offset(),a,o=n.get(ue.of("Length"));o instanceof ar?(a=i+o.asNumber(),this.bytes.moveTo(a),this.skipWhitespaceAndComments(),this.matchKeyword(Dn.endstream)||(this.bytes.moveTo(i),a=this.findEndOfStreamFallback(r))):a=this.findEndOfStreamFallback(r);var s=this.bytes.slice(i,a);return Dw.of(n,s)},t.prototype.findEndOfStreamFallback=function(r){for(var n=1,i=this.bytes.offset();!this.bytes.done()&&(i=this.bytes.offset(),this.matchKeyword(Dn.stream)?n+=1:this.matchKeyword(Dn.EOF1endstream)||this.matchKeyword(Dn.EOF2endstream)||this.matchKeyword(Dn.EOF3endstream)||this.matchKeyword(Dn.endstream)?n-=1:this.bytes.next(),n!==0););if(n!==0)throw new Ect(r);return i},t.forBytes=function(r,n,i){return new t($A.of(r),n,i)},t.forByteStream=function(r,n,i){return i===void 0&&(i=!1),new t(r,n,i)},t}(put),gut=function(e){ft(t,e);function t(r,n){var i=e.call(this,$A.fromPDFRawStream(r),r.dict.context)||this,a=r.dict;return i.alreadyParsed=!1,i.shouldWaitForTick=n||function(){return!1},i.firstOffset=a.lookup(ue.of("First"),ar).asNumber(),i.objectCount=a.lookup(ue.of("N"),ar).asNumber(),i}return t.prototype.parseIntoContext=function(){return Sr(this,void 0,void 0,function(){var r,n,i,a,o,s,l,c;return wr(this,function(u){switch(u.label){case 0:if(this.alreadyParsed)throw new hM("PDFObjectStreamParser","parseIntoContext");this.alreadyParsed=!0,r=this.parseOffsetsAndObjectNumbers(),n=0,i=r.length,u.label=1;case 1:return n<i?(a=r[n],o=a.objectNumber,s=a.offset,this.bytes.moveTo(this.firstOffset+s),l=this.parseObject(),c=gn.of(o,0),this.context.assign(c,l),this.shouldWaitForTick()?[4,Xv()]:[3,3]):[3,4];case 2:u.sent(),u.label=3;case 3:return n++,[3,1];case 4:return[2]}})})},t.prototype.parseOffsetsAndObjectNumbers=function(){for(var r=[],n=0,i=this.objectCount;n<i;n++){this.skipWhitespaceAndComments();var a=this.parseRawInt();this.skipWhitespaceAndComments();var o=this.parseRawInt();r.push({objectNumber:a,offset:o})}return r},t.forStream=function(r,n){return new t(r,n)},t}(Bue),vut=function(){function e(t){this.alreadyParsed=!1,this.dict=t.dict,this.bytes=$A.fromPDFRawStream(t),this.context=this.dict.context;var r=this.dict.lookup(ue.of("Size"),ar),n=this.dict.lookup(ue.of("Index"));if(n instanceof en){this.subsections=[];for(var i=0,a=n.size();i<a;i+=2){var o=n.lookup(i+0,ar).asNumber(),s=n.lookup(i+1,ar).asNumber();this.subsections.push({firstObjectNumber:o,length:s})}}else this.subsections=[{firstObjectNumber:0,length:r.asNumber()}];var l=this.dict.lookup(ue.of("W"),en);this.byteWidths=[-1,-1,-1];for(var i=0,a=l.size();i<a;i++)this.byteWidths[i]=l.lookup(i,ar).asNumber()}return e.prototype.parseIntoContext=function(){if(this.alreadyParsed)throw new hM("PDFXRefStreamParser","parseIntoContext");this.alreadyParsed=!0,this.context.trailerInfo={Root:this.dict.get(ue.of("Root")),Encrypt:this.dict.get(ue.of("Encrypt")),Info:this.dict.get(ue.of("Info")),ID:this.dict.get(ue.of("ID"))};var t=this.parseEntries();return t},e.prototype.parseEntries=function(){for(var t=[],r=this.byteWidths,n=r[0],i=r[1],a=r[2],o=0,s=this.subsections.length;o<s;o++)for(var l=this.subsections[o],c=l.firstObjectNumber,u=l.length,d=0;d<u;d++){for(var f=0,h=0,p=n;h<p;h++)f=f<<8|this.bytes.next();for(var g=0,h=0,p=i;h<p;h++)g=g<<8|this.bytes.next();for(var v=0,h=0,p=a;h<p;h++)v=v<<8|this.bytes.next();n===0&&(f=1);var m=c+d,b={ref:gn.of(m,v),offset:g,deleted:f===0,inObjectStream:f===2};t.push(b)}return t},e.forStream=function(t){return new e(t)},e}(),yut=function(e){ft(t,e);function t(r,n,i,a){n===void 0&&(n=1/0),i===void 0&&(i=!1),a===void 0&&(a=!1);var o=e.call(this,$A.of(r),GD.create(),a)||this;return o.alreadyParsed=!1,o.parsedObjects=0,o.shouldWaitForTick=function(){return o.parsedObjects+=1,o.parsedObjects%o.objectsPerTick===0},o.objectsPerTick=n,o.throwOnInvalidObject=i,o}return t.prototype.parseDocument=function(){return Sr(this,void 0,void 0,function(){var r,n;return wr(this,function(i){switch(i.label){case 0:if(this.alreadyParsed)throw new hM("PDFParser","parseDocument");this.alreadyParsed=!0,this.context.header=this.parseHeader(),i.label=1;case 1:return this.bytes.done()?[3,3]:[4,this.parseDocumentSection()];case 2:if(i.sent(),n=this.bytes.offset(),n===r)throw new Tct(this.bytes.position());return r=n,[3,1];case 3:return this.maybeRecoverRoot(),this.context.lookup(gn.of(0))&&(console.warn("Removing parsed object: 0 0 R"),this.context.delete(gn.of(0))),[2,this.context]}})})},t.prototype.maybeRecoverRoot=function(){var r=function(u){return u instanceof gr&&u.lookup(ue.of("Type"))===ue.of("Catalog")},n=this.context.lookup(this.context.trailerInfo.Root);if(!r(n))for(var i=this.context.enumerateIndirectObjects(),a=0,o=i.length;a<o;a++){var s=i[a],l=s[0],c=s[1];r(c)&&(this.context.trailerInfo.Root=l)}},t.prototype.parseHeader=function(){for(;!this.bytes.done();){if(this.matchKeyword(Dn.header)){var r=this.parseRawInt();this.bytes.assertNext(fe.Period);var n=this.parseRawInt(),i=qA.forVersion(r,n);return this.skipBinaryHeaderComment(),i}this.bytes.next()}throw new _ct(this.bytes.position())},t.prototype.parseIndirectObjectHeader=function(){this.skipWhitespaceAndComments();var r=this.parseRawInt();this.skipWhitespaceAndComments();var n=this.parseRawInt();if(this.skipWhitespaceAndComments(),!this.matchKeyword(Dn.obj))throw new Pct(this.bytes.position(),Dn.obj);return gn.of(r,n)},t.prototype.matchIndirectObjectHeader=function(){var r=this.bytes.offset();try{return this.parseIndirectObjectHeader(),!0}catch{return this.bytes.moveTo(r),!1}},t.prototype.parseIndirectObject=function(){return Sr(this,void 0,void 0,function(){var r,n;return wr(this,function(i){switch(i.label){case 0:return r=this.parseIndirectObjectHeader(),this.skipWhitespaceAndComments(),n=this.parseObject(),this.skipWhitespaceAndComments(),this.matchKeyword(Dn.endobj),n instanceof Dw&&n.dict.lookup(ue.of("Type"))===ue.of("ObjStm")?[4,gut.forStream(n,this.shouldWaitForTick).parseIntoContext()]:[3,2];case 1:return i.sent(),[3,3];case 2:n instanceof Dw&&n.dict.lookup(ue.of("Type"))===ue.of("XRef")?vut.forStream(n).parseIntoContext():this.context.assign(r,n),i.label=3;case 3:return[2,r]}})})},t.prototype.tryToParseInvalidIndirectObject=function(){var r=this.bytes.position(),n="Trying to parse invalid object: "+JSON.stringify(r)+")";if(this.throwOnInvalidObject)throw new Error(n);console.warn(n);var i=this.parseIndirectObjectHeader();console.warn("Invalid object ref: "+i),this.skipWhitespaceAndComments();for(var a=this.bytes.offset(),o=!0;!this.bytes.done()&&(this.matchKeyword(Dn.endobj)&&(o=!1),!!o);)this.bytes.next();if(o)throw new Cct(r);var s=this.bytes.offset()-Dn.endobj.length,l=Tue.of(this.bytes.slice(a,s));return this.context.assign(i,l),i},t.prototype.parseIndirectObjects=function(){return Sr(this,void 0,void 0,function(){var r;return wr(this,function(n){switch(n.label){case 0:this.skipWhitespaceAndComments(),n.label=1;case 1:if(!(!this.bytes.done()&&wo[this.bytes.peek()]))return[3,8];r=this.bytes.offset(),n.label=2;case 2:return n.trys.push([2,4,,5]),[4,this.parseIndirectObject()];case 3:return n.sent(),[3,5];case 4:return n.sent(),this.bytes.moveTo(r),this.tryToParseInvalidIndirectObject(),[3,5];case 5:return this.skipWhitespaceAndComments(),this.skipJibberish(),this.shouldWaitForTick()?[4,Xv()]:[3,7];case 6:n.sent(),n.label=7;case 7:return[3,1];case 8:return[2]}})})},t.prototype.maybeParseCrossRefSection=function(){if(this.skipWhitespaceAndComments(),!!this.matchKeyword(Dn.xref)){this.skipWhitespaceAndComments();for(var r=-1,n=Cue.createEmpty();!this.bytes.done()&&wo[this.bytes.peek()];){var i=this.parseRawInt();this.skipWhitespaceAndComments();var a=this.parseRawInt();this.skipWhitespaceAndComments();var o=this.bytes.peek();if(o===fe.n||o===fe.f){var s=gn.of(r,a);this.bytes.next()===fe.n?n.addEntry(s,i):n.addDeletedEntry(s,i),r+=1}else r=i;this.skipWhitespaceAndComments()}return n}},t.prototype.maybeParseTrailerDict=function(){if(this.skipWhitespaceAndComments(),!!this.matchKeyword(Dn.trailer)){this.skipWhitespaceAndComments();var r=this.parseDict(),n=this.context;n.trailerInfo={Root:r.get(ue.of("Root"))||n.trailerInfo.Root,Encrypt:r.get(ue.of("Encrypt"))||n.trailerInfo.Encrypt,Info:r.get(ue.of("Info"))||n.trailerInfo.Info,ID:r.get(ue.of("ID"))||n.trailerInfo.ID}}},t.prototype.maybeParseTrailer=function(){if(this.skipWhitespaceAndComments(),!!this.matchKeyword(Dn.startxref)){this.skipWhitespaceAndComments();var r=this.parseRawInt();return this.skipWhitespace(),this.matchKeyword(Dn.eof),this.skipWhitespaceAndComments(),this.matchKeyword(Dn.eof),this.skipWhitespaceAndComments(),vM.forLastCrossRefSectionOffset(r)}},t.prototype.parseDocumentSection=function(){return Sr(this,void 0,void 0,function(){return wr(this,function(r){switch(r.label){case 0:return[4,this.parseIndirectObjects()];case 1:return r.sent(),this.maybeParseCrossRefSection(),this.maybeParseTrailerDict(),this.maybeParseTrailer(),this.skipJibberish(),[2]}})})},t.prototype.skipJibberish=function(){for(this.skipWhitespaceAndComments();!this.bytes.done();){var r=this.bytes.offset(),n=this.bytes.peek(),i=n>=fe.Space&&n<=fe.Tilde;if(i&&(this.matchKeyword(Dn.xref)||this.matchKeyword(Dn.trailer)||this.matchKeyword(Dn.startxref)||this.matchIndirectObjectHeader())){this.bytes.moveTo(r);break}this.bytes.next()}},t.prototype.skipBinaryHeaderComment=function(){this.skipWhitespaceAndComments();try{var r=this.bytes.offset();this.parseIndirectObjectHeader(),this.bytes.moveTo(r)}catch{this.bytes.next(),this.skipWhitespaceAndComments()}},t.forBytesWithOptions=function(r,n,i,a){return new t(r,n,i,a)},t}(Bue),Eu=function(e){return 1<<e},Xb;(function(e){e[e.Invisible=Eu(0)]="Invisible",e[e.Hidden=Eu(1)]="Hidden",e[e.Print=Eu(2)]="Print",e[e.NoZoom=Eu(3)]="NoZoom",e[e.NoRotate=Eu(4)]="NoRotate",e[e.NoView=Eu(5)]="NoView",e[e.ReadOnly=Eu(6)]="ReadOnly",e[e.Locked=Eu(7)]="Locked",e[e.ToggleNoView=Eu(8)]="ToggleNoView",e[e.LockedContents=Eu(9)]="LockedContents"})(Xb||(Xb={}));var XA=function(e){return e instanceof ue?e:ue.of(e)},or=function(e){return e instanceof ar?e:ar.of(e)},Cr=function(e){return e instanceof ar?e.asNumber():e},Nw;(function(e){e.Degrees="degrees",e.Radians="radians"})(Nw||(Nw={}));var er=function(e){return Be(e,"degreeAngle",["number"]),{type:Nw.Degrees,angle:e}},Uue=Nw.Radians,zue=Nw.Degrees,Hue=function(e){return e*Math.PI/180},but=function(e){return e*180/Math.PI},Ha=function(e){return e.type===Uue?e.angle:e.type===zue?Hue(e.angle):Jx("Invalid rotation: "+JSON.stringify(e))},que=function(e){return e.type===Uue?but(e.angle):e.type===zue?e.angle:Jx("Invalid rotation: "+JSON.stringify(e))},xf=function(e){e===void 0&&(e=0);var t=e/90%4;return t===0?0:t===1?90:t===2?180:t===3?270:0},S0=function(e,t){t===void 0&&(t=0);var r=xf(t);return r===90||r===270?{width:e.height,height:e.width}:{width:e.width,height:e.height}},Sut=function(e,t,r){t===void 0&&(t=0),r===void 0&&(r=0);var n=e.x,i=e.y,a=e.width,o=e.height,s=xf(r),l=t/2;return s===0?{x:n-l,y:i-l,width:a,height:o}:s===90?{x:n-o+l,y:i-l,width:o,height:a}:s===180?{x:n-a+l,y:i-o+l,width:a,height:o}:s===270?{x:n-l,y:i-a+l,width:o,height:a}:{x:n-l,y:i-l,width:a,height:o}},Wue=function(){return qr.of(Zr.ClipNonZero)},u_=Math.cos,d_=Math.sin,f_=Math.tan,QA=function(e,t,r,n,i,a){return qr.of(Zr.ConcatTransformationMatrix,[or(e),or(t),or(r),or(n),or(i),or(a)])},Zl=function(e,t){return QA(1,0,0,1,e,t)},Mw=function(e,t){return QA(e,0,0,t,0,0)},Uy=function(e){return QA(u_(Cr(e)),d_(Cr(e)),-d_(Cr(e)),u_(Cr(e)),0,0)},ZC=function(e){return Uy(Hue(Cr(e)))},EM=function(e,t){return QA(1,f_(Cr(e)),f_(Cr(t)),1,0,0)},JA=function(e,t){return qr.of(Zr.SetLineDashPattern,["["+e.map(or).join(" ")+"]",or(t)])},Mg;(function(e){e[e.Butt=0]="Butt",e[e.Round=1]="Round",e[e.Projecting=2]="Projecting"})(Mg||(Mg={}));var eO=function(e){return qr.of(Zr.SetLineCapStyle,[or(e)])},QZ;(function(e){e[e.Miter=0]="Miter",e[e.Round=1]="Round",e[e.Bevel=2]="Bevel"})(QZ||(QZ={}));var w0=function(e){return qr.of(Zr.SetGraphicsStateParams,[XA(e)])},sa=function(){return qr.of(Zr.PushGraphicsState)},la=function(){return qr.of(Zr.PopGraphicsState)},a2=function(e){return qr.of(Zr.SetLineWidth,[or(e)])},Js=function(e,t,r,n,i,a){return qr.of(Zr.AppendBezierCurve,[or(e),or(t),or(r),or(n),or(i),or(a)])},YC=function(e,t,r,n){return qr.of(Zr.CurveToReplicateInitialPoint,[or(e),or(t),or(r),or(n)])},Xh=function(){return qr.of(Zr.ClosePath)},gd=function(e,t){return qr.of(Zr.MoveTo,[or(e),or(t)])},ba=function(e,t){return qr.of(Zr.LineTo,[or(e),or(t)])},o2=function(){return qr.of(Zr.StrokePath)},kM=function(){return qr.of(Zr.FillNonZero)},TM=function(){return qr.of(Zr.FillNonZeroAndStroke)},Vue=function(){return qr.of(Zr.EndPath)},wut=function(){return qr.of(Zr.NextLine)},jue=function(e){return qr.of(Zr.ShowText,[e])},Gue=function(){return qr.of(Zr.BeginText)},Kue=function(){return qr.of(Zr.EndText)},_M=function(e,t){return qr.of(Zr.SetFontAndSize,[XA(e),or(t)])},xut=function(e){return qr.of(Zr.SetTextLineHeight,[or(e)])},JZ;(function(e){e[e.Fill=0]="Fill",e[e.Outline=1]="Outline",e[e.FillAndOutline=2]="FillAndOutline",e[e.Invisible=3]="Invisible",e[e.FillAndClip=4]="FillAndClip",e[e.OutlineAndClip=5]="OutlineAndClip",e[e.FillAndOutlineAndClip=6]="FillAndOutlineAndClip",e[e.Clip=7]="Clip"})(JZ||(JZ={}));var Cut=function(e,t,r,n,i,a){return qr.of(Zr.SetTextMatrix,[or(e),or(t),or(r),or(n),or(i),or(a)])},Zue=function(e,t,r,n,i){return Cut(u_(Cr(e)),d_(Cr(e))+f_(Cr(t)),-d_(Cr(e))+f_(Cr(r)),u_(Cr(e)),n,i)},PM=function(e){return qr.of(Zr.DrawObject,[XA(e)])},Eut=function(e){return qr.of(Zr.NonStrokingColorGray,[or(e)])},kut=function(e){return qr.of(Zr.StrokingColorGray,[or(e)])},Tut=function(e,t,r){return qr.of(Zr.NonStrokingColorRgb,[or(e),or(t),or(r)])},_ut=function(e,t,r){return qr.of(Zr.StrokingColorRgb,[or(e),or(t),or(r)])},Put=function(e,t,r,n){return qr.of(Zr.NonStrokingColorCmyk,[or(e),or(t),or(r),or(n)])},Aut=function(e,t,r,n){return qr.of(Zr.StrokingColorCmyk,[or(e),or(t),or(r),or(n)])},Yue=function(e){return qr.of(Zr.BeginMarkedContent,[XA(e)])},$ue=function(){return qr.of(Zr.EndMarkedContent)},Qh;(function(e){e.Grayscale="Grayscale",e.RGB="RGB",e.CMYK="CMYK"})(Qh||(Qh={}));var Xue=function(e){return Qs(e,"gray",0,1),{type:Qh.Grayscale,gray:e}},vn=function(e,t,r){return Qs(e,"red",0,1),Qs(t,"green",0,1),Qs(r,"blue",0,1),{type:Qh.RGB,red:e,green:t,blue:r}},Que=function(e,t,r,n){return Qs(e,"cyan",0,1),Qs(t,"magenta",0,1),Qs(r,"yellow",0,1),Qs(n,"key",0,1),{type:Qh.CMYK,cyan:e,magenta:t,yellow:r,key:n}},AM=Qh.Grayscale,OM=Qh.RGB,IM=Qh.CMYK,x0=function(e){return e.type===AM?Eut(e.gray):e.type===OM?Tut(e.red,e.green,e.blue):e.type===IM?Put(e.cyan,e.magenta,e.yellow,e.key):Jx("Invalid color: "+JSON.stringify(e))},s2=function(e){return e.type===AM?kut(e.gray):e.type===OM?_ut(e.red,e.green,e.blue):e.type===IM?Aut(e.cyan,e.magenta,e.yellow,e.key):Jx("Invalid color: "+JSON.stringify(e))},Vo=function(e,t){return t===void 0&&(t=1),(e==null?void 0:e.length)===1?Xue(e[0]*t):(e==null?void 0:e.length)===3?vn(e[0]*t,e[1]*t,e[2]*t):(e==null?void 0:e.length)===4?Que(e[0]*t,e[1]*t,e[2]*t,e[3]*t):void 0},eY=function(e){return e.type===AM?[e.gray]:e.type===OM?[e.red,e.green,e.blue]:e.type===IM?[e.cyan,e.magenta,e.yellow,e.key]:Jx("Invalid color: "+JSON.stringify(e))},Lt=0,Bt=0,Lr=0,Br=0,ib=0,ab=0,tY=new Map([["A",7],["a",7],["C",6],["c",6],["H",1],["h",1],["L",2],["l",2],["M",2],["m",2],["Q",4],["q",4],["S",4],["s",4],["T",2],["t",2],["V",1],["v",1],["Z",0],["z",0]]),Out=function(e){for(var t,r=[],n=[],i="",a=!1,o=0,s=0,l=e;s<l.length;s++){var c=l[s];if(tY.has(c))o=tY.get(c),t&&(i.length>0&&(n[n.length]=+i),r[r.length]={cmd:t,args:n},n=[],i="",a=!1),t=c;else if([" ",","].includes(c)||c==="-"&&i.length>0&&i[i.length-1]!=="e"||c==="."&&a){if(i.length===0)continue;n.length===o?(r[r.length]={cmd:t,args:n},n=[+i],t==="M"&&(t="L"),t==="m"&&(t="l")):n[n.length]=+i,a=c===".",i=["-","."].includes(c)?c:""}else i+=c,c==="."&&(a=!0)}return i.length>0&&(n.length===o?(r[r.length]={cmd:t,args:n},n=[+i],t==="M"&&(t="L"),t==="m"&&(t="l")):n[n.length]=+i),r[r.length]={cmd:t,args:n},r},Iut=function(e){Lt=Bt=Lr=Br=ib=ab=0;for(var t=[],r=0;r<e.length;r++){var n=e[r];if(n.cmd&&typeof rY[n.cmd]=="function"){var i=rY[n.cmd](n.args);Array.isArray(i)?t=t.concat(i):t.push(i)}}return t},rY={M:function(e){return Lt=e[0],Bt=e[1],Lr=Br=null,ib=Lt,ab=Bt,gd(Lt,Bt)},m:function(e){return Lt+=e[0],Bt+=e[1],Lr=Br=null,ib=Lt,ab=Bt,gd(Lt,Bt)},C:function(e){return Lt=e[4],Bt=e[5],Lr=e[2],Br=e[3],Js(e[0],e[1],e[2],e[3],e[4],e[5])},c:function(e){var t=Js(e[0]+Lt,e[1]+Bt,e[2]+Lt,e[3]+Bt,e[4]+Lt,e[5]+Bt);return Lr=Lt+e[2],Br=Bt+e[3],Lt+=e[4],Bt+=e[5],t},S:function(e){(Lr===null||Br===null)&&(Lr=Lt,Br=Bt);var t=Js(Lt-(Lr-Lt),Bt-(Br-Bt),e[0],e[1],e[2],e[3]);return Lr=e[0],Br=e[1],Lt=e[2],Bt=e[3],t},s:function(e){(Lr===null||Br===null)&&(Lr=Lt,Br=Bt);var t=Js(Lt-(Lr-Lt),Bt-(Br-Bt),Lt+e[0],Bt+e[1],Lt+e[2],Bt+e[3]);return Lr=Lt+e[0],Br=Bt+e[1],Lt+=e[2],Bt+=e[3],t},Q:function(e){return Lr=e[0],Br=e[1],Lt=e[2],Bt=e[3],YC(e[0],e[1],Lt,Bt)},q:function(e){var t=YC(e[0]+Lt,e[1]+Bt,e[2]+Lt,e[3]+Bt);return Lr=Lt+e[0],Br=Bt+e[1],Lt+=e[2],Bt+=e[3],t},T:function(e){Lr===null||Br===null?(Lr=Lt,Br=Bt):(Lr=Lt-(Lr-Lt),Br=Bt-(Br-Bt));var t=YC(Lr,Br,e[0],e[1]);return Lr=Lt-(Lr-Lt),Br=Bt-(Br-Bt),Lt=e[0],Bt=e[1],t},t:function(e){Lr===null||Br===null?(Lr=Lt,Br=Bt):(Lr=Lt-(Lr-Lt),Br=Bt-(Br-Bt));var t=YC(Lr,Br,Lt+e[0],Bt+e[1]);return Lt+=e[0],Bt+=e[1],t},A:function(e){var t=nY(Lt,Bt,e);return Lt=e[5],Bt=e[6],t},a:function(e){e[5]+=Lt,e[6]+=Bt;var t=nY(Lt,Bt,e);return Lt=e[5],Bt=e[6],t},L:function(e){return Lt=e[0],Bt=e[1],Lr=Br=null,ba(Lt,Bt)},l:function(e){return Lt+=e[0],Bt+=e[1],Lr=Br=null,ba(Lt,Bt)},H:function(e){return Lt=e[0],Lr=Br=null,ba(Lt,Bt)},h:function(e){return Lt+=e[0],Lr=Br=null,ba(Lt,Bt)},V:function(e){return Bt=e[0],Lr=Br=null,ba(Lt,Bt)},v:function(e){return Bt+=e[0],Lr=Br=null,ba(Lt,Bt)},Z:function(){var e=Xh();return Lt=ib,Bt=ab,e},z:function(){var e=Xh();return Lt=ib,Bt=ab,e}},nY=function(e,t,r){for(var n=r[0],i=r[1],a=r[2],o=r[3],s=r[4],l=r[5],c=r[6],u=Rut(l,c,n,i,o,s,a,e,t),d=[],f=0,h=u;f<h.length;f++){var p=h[f],g=Fut.apply(void 0,p);d.push(Js.apply(void 0,g))}return d},Rut=function(e,t,r,n,i,a,o,s,l){var c=o*(Math.PI/180),u=Math.sin(c),d=Math.cos(c);r=Math.abs(r),n=Math.abs(n),Lr=d*(s-e)*.5+u*(l-t)*.5,Br=d*(l-t)*.5-u*(s-e)*.5;var f=Lr*Lr/(r*r)+Br*Br/(n*n);f>1&&(f=Math.sqrt(f),r*=f,n*=f);var h=d/r,p=u/r,g=-u/n,v=d/n,m=h*s+p*l,b=g*s+v*l,y=h*e+p*t,w=g*e+v*t,x=(y-m)*(y-m)+(w-b)*(w-b),C=1/x-.25;C<0&&(C=0);var T=Math.sqrt(C);a===i&&(T=-T);var _=.5*(m+y)-T*(w-b),P=.5*(b+w)+T*(y-m),F=Math.atan2(b-P,m-_),I=Math.atan2(w-P,y-_),R=I-F;R<0&&a===1?R+=2*Math.PI:R>0&&a===0&&(R-=2*Math.PI);for(var D=Math.ceil(Math.abs(R/(Math.PI*.5+.001))),A=[],M=0;M<D;M++){var X=F+M*R/D,Y=F+(M+1)*R/D;A[M]=[_,P,X,Y,r,n,u,d]}return A},Fut=function(e,t,r,n,i,a,o,s){var l=s*i,c=-o*a,u=o*i,d=s*a,f=.5*(n-r),h=8/3*Math.sin(f*.5)*Math.sin(f*.5)/Math.sin(f),p=e+Math.cos(r)-h*Math.sin(r),g=t+Math.sin(r)+h*Math.cos(r),v=e+Math.cos(n),m=t+Math.sin(n),b=v+h*Math.sin(n),y=m-h*Math.cos(n),w=[l*p+c*g,u*p+d*g,l*b+c*y,u*b+d*y,l*v+c*m,u*v+d*m];return w},Dut=function(e){return Iut(Out(e))},Nut=function(e,t){for(var r=[sa(),t.graphicsState&&w0(t.graphicsState),Gue(),x0(t.color),_M(t.font,t.size),xut(t.lineHeight),Zue(Ha(t.rotate),Ha(t.xSkew),Ha(t.ySkew),t.x,t.y)].filter(Boolean),n=0,i=e.length;n<i;n++)r.push(jue(e[n]),wut());return r.push(Kue(),la()),r},Jue=function(e,t){return[sa(),t.graphicsState&&w0(t.graphicsState),Zl(t.x,t.y),Uy(Ha(t.rotate)),Mw(t.width,t.height),EM(Ha(t.xSkew),Ha(t.ySkew)),PM(e),la()].filter(Boolean)},Mut=function(e,t){return[sa(),t.graphicsState&&w0(t.graphicsState),Zl(t.x,t.y),Uy(Ha(t.rotate)),Mw(t.xScale,t.yScale),EM(Ha(t.xSkew),Ha(t.ySkew)),PM(e),la()].filter(Boolean)},Lut=function(e){var t,r;return[sa(),e.graphicsState&&w0(e.graphicsState),e.color&&s2(e.color),a2(e.thickness),JA((t=e.dashArray)!==null&&t!==void 0?t:[],(r=e.dashPhase)!==null&&r!==void 0?r:0),gd(e.start.x,e.start.y),e.lineCap&&eO(e.lineCap),gd(e.start.x,e.start.y),ba(e.end.x,e.end.y),o2(),la()].filter(Boolean)},Qv=function(e){var t,r;return[sa(),e.graphicsState&&w0(e.graphicsState),e.color&&x0(e.color),e.borderColor&&s2(e.borderColor),a2(e.borderWidth),e.borderLineCap&&eO(e.borderLineCap),JA((t=e.borderDashArray)!==null&&t!==void 0?t:[],(r=e.borderDashPhase)!==null&&r!==void 0?r:0),Zl(e.x,e.y),Uy(Ha(e.rotate)),EM(Ha(e.xSkew),Ha(e.ySkew)),gd(0,0),ba(0,e.height),ba(e.width,e.height),ba(e.width,0),Xh(),e.color&&e.borderWidth?TM():e.color?kM():e.borderColor?o2():Xh(),la()].filter(Boolean)},h_=4*((Math.sqrt(2)-1)/3),But=function(e){var t=Cr(e.x),r=Cr(e.y),n=Cr(e.xScale),i=Cr(e.yScale);t-=n,r-=i;var a=n*h_,o=i*h_,s=t+n*2,l=r+i*2,c=t+n,u=r+i;return[sa(),gd(t,u),Js(t,u-o,c-a,r,c,r),Js(c+a,r,s,u-o,s,u),Js(s,u+o,c+a,l,c,l),Js(c-a,l,t,u+o,t,u),la()]},Uut=function(e){var t=Cr(e.x),r=Cr(e.y),n=Cr(e.xScale),i=Cr(e.yScale),a=-n,o=-i,s=n*h_,l=i*h_,c=a+n*2,u=o+i*2,d=a+n,f=o+i;return[Zl(t,r),Uy(Ha(e.rotate)),gd(a,f),Js(a,f-l,d-s,o,d,o),Js(d+s,o,c,f-l,c,f),Js(c,f+l,d+s,u,d,u),Js(d-s,u,a,f+l,a,f)]},$D=function(e){var t,r,n;return Kr([sa(),e.graphicsState&&w0(e.graphicsState),e.color&&x0(e.color),e.borderColor&&s2(e.borderColor),a2(e.borderWidth),e.borderLineCap&&eO(e.borderLineCap),JA((t=e.borderDashArray)!==null&&t!==void 0?t:[],(r=e.borderDashPhase)!==null&&r!==void 0?r:0)],e.rotate===void 0?But({x:e.x,y:e.y,xScale:e.xScale,yScale:e.yScale}):Uut({x:e.x,y:e.y,xScale:e.xScale,yScale:e.yScale,rotate:(n=e.rotate)!==null&&n!==void 0?n:er(0)}),[e.color&&e.borderWidth?TM():e.color?kM():e.borderColor?o2():Xh(),la()]).filter(Boolean)},zut=function(e,t){var r,n,i;return Kr([sa(),t.graphicsState&&w0(t.graphicsState),Zl(t.x,t.y),Uy(Ha((r=t.rotate)!==null&&r!==void 0?r:er(0))),t.scale?Mw(t.scale,-t.scale):Mw(1,-1),t.color&&x0(t.color),t.borderColor&&s2(t.borderColor),t.borderWidth&&a2(t.borderWidth),t.borderLineCap&&eO(t.borderLineCap),JA((n=t.borderDashArray)!==null&&n!==void 0?n:[],(i=t.borderDashPhase)!==null&&i!==void 0?i:0)],Dut(e),[t.color&&t.borderWidth?TM():t.color?kM():t.borderColor?o2():Xh(),la()]).filter(Boolean)},Hut=function(e){var t=Cr(e.size),r=-1+.75,n=-1+.51,i=1-.525,a=1-.31,o=-1+.325,s=.3995/(i-n)+n;return[sa(),e.color&&s2(e.color),a2(e.thickness),Zl(e.x,e.y),gd(o*t,s*t),ba(r*t,n*t),ba(a*t,i*t),o2(),la()].filter(Boolean)},pp=function(e){return e.rotation===0?[Zl(0,0),ZC(0)]:e.rotation===90?[Zl(e.width,0),ZC(90)]:e.rotation===180?[Zl(e.width,e.height),ZC(180)]:e.rotation===270?[Zl(0,e.height),ZC(270)]:[]},$C=function(e){var t=Qv({x:e.x,y:e.y,width:e.width,height:e.height,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:er(0),xSkew:er(0),ySkew:er(0)});if(!e.filled)return t;var r=Cr(e.width),n=Cr(e.height),i=Math.min(r,n)/2,a=Hut({x:r/2,y:n/2,size:i,thickness:e.thickness,color:e.markColor});return Kr([sa()],t,a,[la()])},XC=function(e){var t=Cr(e.width),r=Cr(e.height),n=Math.min(t,r)/2,i=$D({x:e.x,y:e.y,xScale:n,yScale:n,color:e.color,borderColor:e.borderColor,borderWidth:e.borderWidth});if(!e.filled)return i;var a=$D({x:e.x,y:e.y,xScale:n*.45,yScale:n*.45,color:e.dotColor,borderColor:void 0,borderWidth:0});return Kr([sa()],i,a,[la()])},iY=function(e){var t=Cr(e.x),r=Cr(e.y),n=Cr(e.width),i=Cr(e.height),a=Qv({x:t,y:r,width:n,height:i,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:er(0),xSkew:er(0),ySkew:er(0)}),o=RM(e.textLines,{color:e.textColor,font:e.font,size:e.fontSize,rotate:er(0),xSkew:er(0),ySkew:er(0)});return Kr([sa()],a,o,[la()])},RM=function(e,t){for(var r=[Gue(),x0(t.color),_M(t.font,t.size)],n=0,i=e.length;n<i;n++){var a=e[n],o=a.encoded,s=a.x,l=a.y;r.push(Zue(Ha(t.rotate),Ha(t.xSkew),Ha(t.ySkew),s,l),jue(o))}return r.push(Kue()),r},ede=function(e){var t=Cr(e.x),r=Cr(e.y),n=Cr(e.width),i=Cr(e.height),a=Cr(e.borderWidth),o=Cr(e.padding),s=t+a/2+o,l=r+a/2+o,c=n-(a/2+o)*2,u=i-(a/2+o)*2,d=[gd(s,l),ba(s,l+u),ba(s+c,l+u),ba(s+c,l),Xh(),Wue(),Vue()],f=Qv({x:t,y:r,width:n,height:i,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:er(0),xSkew:er(0),ySkew:er(0)}),h=RM(e.textLines,{color:e.textColor,font:e.font,size:e.fontSize,rotate:er(0),xSkew:er(0),ySkew:er(0)}),p=Kr([Yue("Tx"),sa()],h,[la(),$ue()]);return Kr([sa()],f,d,p,[la()])},qut=function(e){for(var t=Cr(e.x),r=Cr(e.y),n=Cr(e.width),i=Cr(e.height),a=Cr(e.lineHeight),o=Cr(e.borderWidth),s=Cr(e.padding),l=t+o/2+s,c=r+o/2+s,u=n-(o/2+s)*2,d=i-(o/2+s)*2,f=[gd(l,c),ba(l,c+d),ba(l+u,c+d),ba(l+u,c),Xh(),Wue(),Vue()],h=Qv({x:t,y:r,width:n,height:i,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:er(0),xSkew:er(0),ySkew:er(0)}),p=[],g=0,v=e.selectedLines.length;g<v;g++){var m=e.textLines[e.selectedLines[g]];p.push.apply(p,Qv({x:m.x-s,y:m.y-(a-m.height)/2,width:n-o,height:m.height+(a-m.height)/2,borderWidth:0,color:e.selectedColor,borderColor:void 0,rotate:er(0),xSkew:er(0),ySkew:er(0)}))}var b=RM(e.textLines,{color:e.textColor,font:e.font,size:e.fontSize,rotate:er(0),xSkew:er(0),ySkew:er(0)}),y=Kr([Yue("Tx"),sa()],b,[la(),$ue()]);return Kr([sa()],h,p,f,y,[la()])},Wut=function(e){ft(t,e);function t(){var r=this,n="Input document to `PDFDocument.load` is encrypted. You can use `PDFDocument.load(..., { ignoreEncryption: true })` if you wish to load the document anyways.";return r=e.call(this,n)||this,r}return t}(Error),Vut=function(e){ft(t,e);function t(){var r=this,n="Input to `PDFDocument.embedFont` was a custom font, but no `fontkit` instance was found. You must register a `fontkit` instance with `PDFDocument.registerFontkit(...)` before embedding custom fonts.";return r=e.call(this,n)||this,r}return t}(Error),jut=function(e){ft(t,e);function t(){var r=this,n="A `page` passed to `PDFDocument.addPage` or `PDFDocument.insertPage` was from a different (foreign) PDF document. If you want to copy pages from one PDFDocument to another, you must use `PDFDocument.copyPages(...)` to copy the pages before adding or inserting them.";return r=e.call(this,n)||this,r}return t}(Error),Gut=function(e){ft(t,e);function t(){var r=this,n="PDFDocument has no pages so `PDFDocument.removePage` cannot be called";return r=e.call(this,n)||this,r}return t}(Error),Kut=function(e){ft(t,e);function t(r){var n=this,i='PDFDocument has no form field with the name "'+r+'"';return n=e.call(this,i)||this,n}return t}(Error),Ap=function(e){ft(t,e);function t(r,n,i){var a,o,s=this,l=n==null?void 0:n.name,c=(o=(a=i==null?void 0:i.constructor)===null||a===void 0?void 0:a.name)!==null&&o!==void 0?o:i,u='Expected field "'+r+'" to be of type '+l+", "+("but it is actually of type "+c);return s=e.call(this,u)||this,s}return t}(Error);(function(e){ft(t,e);function t(r){var n=this,i='Failed to select check box due to missing onValue: "'+r+'"';return n=e.call(this,i)||this,n}return t})(Error);var tde=function(e){ft(t,e);function t(r){var n=this,i='A field already exists with the specified name: "'+r+'"';return n=e.call(this,i)||this,n}return t}(Error),Zut=function(e){ft(t,e);function t(r){var n=this,i='Field name contains invalid component: "'+r+'"';return n=e.call(this,i)||this,n}return t}(Error);(function(e){ft(t,e);function t(r){var n=this,i='A non-terminal field already exists with the specified name: "'+r+'"';return n=e.call(this,i)||this,n}return t})(Error);var Yut=function(e){ft(t,e);function t(r){var n=this,i="Reading rich text fields is not supported: Attempted to read rich text field: "+r;return n=e.call(this,i)||this,n}return t}(Error),$ut=function(e){ft(t,e);function t(r,n){var i=this,a="Failed to layout combed text as lineLength="+r+" is greater than cellCount="+n;return i=e.call(this,a)||this,i}return t}(Error),Xut=function(e){ft(t,e);function t(r,n,i){var a=this,o="Attempted to set text with length="+r+" for TextField with maxLength="+n+" and name="+i;return a=e.call(this,o)||this,a}return t}(Error),Qut=function(e){ft(t,e);function t(r,n,i){var a=this,o="Attempted to set maxLength="+n+", which is less than "+r+", the length of this field's current value (name="+i+")";return a=e.call(this,o)||this,a}return t}(Error),na;(function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"})(na||(na={}));var rde=4,nde=500,ide=function(e,t,r,n){n===void 0&&(n=!1);for(var i=rde;i<nde;){for(var a=0,o=0,s=e.length;o<s;o++){a+=1;for(var l=e[o],c=l.split(" "),u=r.width,d=0,f=c.length;d<f;d++){var h=d===f-1,p=h?c[d]:c[d]+" ",g=t.widthOfTextAtSize(p,i);u-=g,u<=0&&(a+=1,u=r.width-g)}}if(!n&&a>e.length)return i-1;var v=t.heightAtSize(i),m=v+v*.2,b=m*a;if(b>Math.abs(r.height))return i-1;i+=1}return i},Jut=function(e,t,r,n){for(var i=r.width/n,a=r.height,o=rde,s=Pot(e);o<nde;){for(var l=0,c=s.length;l<c;l++){var u=s[l],d=t.widthOfTextAtSize(u,o)>i*.75;if(d)return o-1}var f=t.heightAtSize(o,{descender:!1});if(f>a)return o-1;o+=1}return o},edt=function(e){for(var t=e.length;t>0;t--)if(/\s/.test(e[t]))return t},tdt=function(e,t,r,n){for(var i,a=e.length;a>0;){var o=e.substring(0,a),s=r.encodeText(o),l=r.widthOfTextAtSize(o,n);if(l<t){var c=e.substring(a)||void 0;return{line:o,encoded:s,width:l,remainder:c}}a=(i=edt(o))!==null&&i!==void 0?i:0}return{line:e,encoded:r.encodeText(e),width:r.widthOfTextAtSize(e,n),remainder:void 0}},ade=function(e,t){var r=t.alignment,n=t.fontSize,i=t.font,a=t.bounds,o=Sce(Qx(e));(n===void 0||n===0)&&(n=ide(o,i,a,!0));for(var s=i.heightAtSize(n),l=s+s*.2,c=[],u=a.x,d=a.y,f=a.x+a.width,h=a.y+a.height,p=a.y+a.height,g=0,v=o.length;g<v;g++)for(var m=o[g];m!==void 0;){var b=tdt(m,a.width,i,n),y=b.line,w=b.encoded,x=b.width,C=b.remainder,T=r===na.Left?a.x:r===na.Center?a.x+a.width/2-x/2:r===na.Right?a.x+a.width-x:a.x;p-=l,T<u&&(u=T),p<d&&(d=p),T+x>f&&(f=T+x),p+s>h&&(h=p+s),c.push({text:y,encoded:w,width:x,height:s,x:T,y:p}),m=C==null?void 0:C.trim()}return{fontSize:n,lineHeight:l,lines:c,bounds:{x:u,y:d,width:f-u,height:h-d}}},rdt=function(e,t){var r=t.fontSize,n=t.font,i=t.bounds,a=t.cellCount,o=wce(Qx(e));if(o.length>a)throw new $ut(o.length,a);(r===void 0||r===0)&&(r=Jut(o,n,i,a));for(var s=i.width/a,l=n.heightAtSize(r,{descender:!1}),c=i.y+(i.height/2-l/2),u=[],d=i.x,f=i.y,h=i.x+i.width,p=i.y+i.height,g=0,v=0;g<a;){var m=xce(o,v),b=m[0],y=m[1],w=n.encodeText(b),x=n.widthOfTextAtSize(b,r),C=i.x+(s*g+s/2),T=C-x/2;T<d&&(d=T),c<f&&(f=c),T+x>h&&(h=T+x),c+l>p&&(p=c+l),u.push({text:o,encoded:w,width:x,height:l,x:T,y:c}),g+=1,v+=y}return{fontSize:r,cells:u,bounds:{x:d,y:f,width:h-d,height:p-f}}},p_=function(e,t){var r=t.alignment,n=t.fontSize,i=t.font,a=t.bounds,o=wce(Qx(e));(n===void 0||n===0)&&(n=ide([o],i,a));var s=i.encodeText(o),l=i.widthOfTextAtSize(o,n),c=i.heightAtSize(n,{descender:!1}),u=r===na.Left?a.x:r===na.Center?a.x+a.width/2-l/2:r===na.Right?a.x+a.width-l:a.x,d=a.y+(a.height/2-c/2);return{fontSize:n,line:{text:o,encoded:s,width:l,height:c,x:u,y:d},bounds:{x:u,y:d,width:l,height:c}}},zy=function(e){return"normal"in e?e:{normal:e}},ndt=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]+(\d*\.\d+|\d+)[\0\t\n\f\r\ ]+Tf/,Jh=function(e){var t,r,n=(t=e.getDefaultAppearance())!==null&&t!==void 0?t:"",i=(r=iM(n,ndt).match)!==null&&r!==void 0?r:[],a=Number(i[2]);return isFinite(a)?a:void 0},idt=/(\d*\.\d+|\d+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+(g|rg|k)/,uc=function(e){var t,r=(t=e.getDefaultAppearance())!==null&&t!==void 0?t:"",n=iM(r,idt).match,i=n??[],a=i[1],o=i[2],s=i[3],l=i[4],c=i[5];if(c==="g"&&a)return Xue(Number(a));if(c==="rg"&&a&&o&&s)return vn(Number(a),Number(o),Number(s));if(c==="k"&&a&&o&&s&&l)return Que(Number(a),Number(o),Number(s),Number(l))},dc=function(e,t,r,n){var i;n===void 0&&(n=0);var a=[x0(t).toString(),_M((i=r==null?void 0:r.name)!==null&&i!==void 0?i:"dummy__noop",n).toString()].join(`
510`);e.setDefaultAppearance(a)},adt=function(e,t){var r,n,i,a=uc(t),o=uc(e.acroField),s=t.getRectangle(),l=t.getAppearanceCharacteristics(),c=t.getBorderStyle(),u=(r=c==null?void 0:c.getWidth())!==null&&r!==void 0?r:0,d=xf(l==null?void 0:l.getRotation()),f=S0(s,d),h=f.width,p=f.height,g=pp(cr(cr({},s),{rotation:d})),v=vn(0,0,0),m=(n=Vo(l==null?void 0:l.getBorderColor()))!==null&&n!==void 0?n:v,b=Vo(l==null?void 0:l.getBackgroundColor()),y=Vo(l==null?void 0:l.getBackgroundColor(),.8),w=(i=a??o)!==null&&i!==void 0?i:v;dc(a?t:e.acroField,w);var x={x:0+u/2,y:0+u/2,width:h-u,height:p-u,thickness:1.5,borderWidth:u,borderColor:m,markColor:w};return{normal:{on:Kr(g,$C(cr(cr({},x),{color:b,filled:!0}))),off:Kr(g,$C(cr(cr({},x),{color:b,filled:!1})))},down:{on:Kr(g,$C(cr(cr({},x),{color:y,filled:!0}))),off:Kr(g,$C(cr(cr({},x),{color:y,filled:!1})))}}},odt=function(e,t){var r,n,i,a=uc(t),o=uc(e.acroField),s=t.getRectangle(),l=t.getAppearanceCharacteristics(),c=t.getBorderStyle(),u=(r=c==null?void 0:c.getWidth())!==null&&r!==void 0?r:0,d=xf(l==null?void 0:l.getRotation()),f=S0(s,d),h=f.width,p=f.height,g=pp(cr(cr({},s),{rotation:d})),v=vn(0,0,0),m=(n=Vo(l==null?void 0:l.getBorderColor()))!==null&&n!==void 0?n:v,b=Vo(l==null?void 0:l.getBackgroundColor()),y=Vo(l==null?void 0:l.getBackgroundColor(),.8),w=(i=a??o)!==null&&i!==void 0?i:v;dc(a?t:e.acroField,w);var x={x:h/2,y:p/2,width:h-u,height:p-u,borderWidth:u,borderColor:m,dotColor:w};return{normal:{on:Kr(g,XC(cr(cr({},x),{color:b,filled:!0}))),off:Kr(g,XC(cr(cr({},x),{color:b,filled:!1})))},down:{on:Kr(g,XC(cr(cr({},x),{color:y,filled:!0}))),off:Kr(g,XC(cr(cr({},x),{color:y,filled:!1})))}}},sdt=function(e,t,r){var n,i,a,o,s,l=uc(t),c=uc(e.acroField),u=Jh(t),d=Jh(e.acroField),f=t.getRectangle(),h=t.getAppearanceCharacteristics(),p=t.getBorderStyle(),g=h==null?void 0:h.getCaptions(),v=(n=g==null?void 0:g.normal)!==null&&n!==void 0?n:"",m=(a=(i=g==null?void 0:g.down)!==null&&i!==void 0?i:v)!==null&&a!==void 0?a:"",b=(o=p==null?void 0:p.getWidth())!==null&&o!==void 0?o:0,y=xf(h==null?void 0:h.getRotation()),w=S0(f,y),x=w.width,C=w.height,T=pp(cr(cr({},f),{rotation:y})),_=vn(0,0,0),P=Vo(h==null?void 0:h.getBorderColor()),F=Vo(h==null?void 0:h.getBackgroundColor()),I=Vo(h==null?void 0:h.getBackgroundColor(),.8),R={x:b,y:b,width:x-b*2,height:C-b*2},D=p_(v,{alignment:na.Center,fontSize:u??d,font:r,bounds:R}),A=p_(m,{alignment:na.Center,fontSize:u??d,font:r,bounds:R}),M=Math.min(D.fontSize,A.fontSize),X=(s=l??c)!==null&&s!==void 0?s:_;dc(l||u!==void 0?t:e.acroField,X,r,M);var Y={x:0+b/2,y:0+b/2,width:x-b,height:C-b,borderWidth:b,borderColor:P,textColor:X,font:r.name,fontSize:M};return{normal:Kr(T,iY(cr(cr({},Y),{color:F,textLines:[D.line]}))),down:Kr(T,iY(cr(cr({},Y),{color:I,textLines:[A.line]})))}},ldt=function(e,t,r){var n,i,a,o,s=uc(t),l=uc(e.acroField),c=Jh(t),u=Jh(e.acroField),d=t.getRectangle(),f=t.getAppearanceCharacteristics(),h=t.getBorderStyle(),p=(n=e.getText())!==null&&n!==void 0?n:"",g=(i=h==null?void 0:h.getWidth())!==null&&i!==void 0?i:0,v=xf(f==null?void 0:f.getRotation()),m=S0(d,v),b=m.width,y=m.height,w=pp(cr(cr({},d),{rotation:v})),x=vn(0,0,0),C=Vo(f==null?void 0:f.getBorderColor()),T=Vo(f==null?void 0:f.getBackgroundColor()),_,P,F=e.isCombed()?0:1,I={x:g+F,y:g+F,width:b-(g+F)*2,height:y-(g+F)*2};if(e.isMultiline()){var R=ade(p,{alignment:e.getAlignment(),fontSize:c??u,font:r,bounds:I});_=R.lines,P=R.fontSize}else if(e.isCombed()){var R=rdt(p,{fontSize:c??u,font:r,bounds:I,cellCount:(a=e.getMaxLength())!==null&&a!==void 0?a:0});_=R.cells,P=R.fontSize}else{var R=p_(p,{alignment:e.getAlignment(),fontSize:c??u,font:r,bounds:I});_=[R.line],P=R.fontSize}var D=(o=s??l)!==null&&o!==void 0?o:x;dc(s||c!==void 0?t:e.acroField,D,r,P);var A={x:0+g/2,y:0+g/2,width:b-g,height:y-g,borderWidth:g??0,borderColor:C,textColor:D,font:r.name,fontSize:P,color:T,textLines:_,padding:F};return Kr(w,ede(A))},cdt=function(e,t,r){var n,i,a,o=uc(t),s=uc(e.acroField),l=Jh(t),c=Jh(e.acroField),u=t.getRectangle(),d=t.getAppearanceCharacteristics(),f=t.getBorderStyle(),h=(n=e.getSelected()[0])!==null&&n!==void 0?n:"",p=(i=f==null?void 0:f.getWidth())!==null&&i!==void 0?i:0,g=xf(d==null?void 0:d.getRotation()),v=S0(u,g),m=v.width,b=v.height,y=pp(cr(cr({},u),{rotation:g})),w=vn(0,0,0),x=Vo(d==null?void 0:d.getBorderColor()),C=Vo(d==null?void 0:d.getBackgroundColor()),T=1,_={x:p+T,y:p+T,width:m-(p+T)*2,height:b-(p+T)*2},P=p_(h,{alignment:na.Left,fontSize:l??c,font:r,bounds:_}),F=P.line,I=P.fontSize,R=(a=o??s)!==null&&a!==void 0?a:w;dc(o||l!==void 0?t:e.acroField,R,r,I);var D={x:0+p/2,y:0+p/2,width:m-p,height:b-p,borderWidth:p??0,borderColor:x,textColor:R,font:r.name,fontSize:I,color:C,textLines:[F],padding:T};return Kr(y,ede(D))},udt=function(e,t,r){var n,i,a=uc(t),o=uc(e.acroField),s=Jh(t),l=Jh(e.acroField),c=t.getRectangle(),u=t.getAppearanceCharacteristics(),d=t.getBorderStyle(),f=(n=d==null?void 0:d.getWidth())!==null&&n!==void 0?n:0,h=xf(u==null?void 0:u.getRotation()),p=S0(c,h),g=p.width,v=p.height,m=pp(cr(cr({},c),{rotation:h})),b=vn(0,0,0),y=Vo(u==null?void 0:u.getBorderColor()),w=Vo(u==null?void 0:u.getBackgroundColor()),x=e.getOptions(),C=e.getSelected();e.isSorted()&&x.sort();for(var T="",_=0,P=x.length;_<P;_++)T+=x[_],_<P-1&&(T+=`
511`);for(var F=1,I={x:f+F,y:f+F,width:g-(f+F)*2,height:v-(f+F)*2},R=ade(T,{alignment:na.Left,fontSize:s??l,font:r,bounds:I}),D=R.lines,A=R.fontSize,M=R.lineHeight,X=[],_=0,P=D.length;_<P;_++){var Y=D[_];C.includes(Y.text)&&X.push(_)}var se=vn(153/255,193/255,218/255),ne=(i=a??o)!==null&&i!==void 0?i:b;return dc(a||s!==void 0?t:e.acroField,ne,r,A),Kr(m,qut({x:0+f/2,y:0+f/2,width:g-f,height:v-f,borderWidth:f??0,borderColor:y,textColor:ne,font:r.name,fontSize:A,color:w,textLines:D,lineHeight:M,selectedColor:se,selectedLines:X,padding:F}))},ode=function(){function e(t,r,n){this.alreadyEmbedded=!1,Be(t,"ref",[[gn,"PDFRef"]]),Be(r,"doc",[[mf,"PDFDocument"]]),Be(n,"embedder",[[Iue,"PDFPageEmbedder"]]),this.ref=t,this.doc=r,this.width=n.width,this.height=n.height,this.embedder=n}return e.prototype.scale=function(t){return Be(t,"factor",["number"]),{width:this.width*t,height:this.height*t}},e.prototype.size=function(){return this.scale(1)},e.prototype.embed=function(){return Sr(this,void 0,void 0,function(){return wr(this,function(t){switch(t.label){case 0:return this.alreadyEmbedded?[3,2]:[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:t.sent(),this.alreadyEmbedded=!0,t.label=2;case 2:return[2]}})})},e.of=function(t,r,n){return new e(t,r,n)},e}(),ll=function(){function e(t,r,n){this.modified=!0,Be(t,"ref",[[gn,"PDFRef"]]),Be(r,"doc",[[mf,"PDFDocument"]]),Be(n,"embedder",[[yM,"CustomFontEmbedder"],[o_,"StandardFontEmbedder"]]),this.ref=t,this.doc=r,this.name=n.fontName,this.embedder=n}return e.prototype.encodeText=function(t){return Be(t,"text",["string"]),this.modified=!0,this.embedder.encodeText(t)},e.prototype.widthOfTextAtSize=function(t,r){return Be(t,"text",["string"]),Be(r,"size",["number"]),this.embedder.widthOfTextAtSize(t,r)},e.prototype.heightAtSize=function(t,r){var n;return Be(t,"size",["number"]),dt(r==null?void 0:r.descender,"options.descender",["boolean"]),this.embedder.heightOfFontAtSize(t,{descender:(n=r==null?void 0:r.descender)!==null&&n!==void 0?n:!0})},e.prototype.sizeAtHeight=function(t){return Be(t,"height",["number"]),this.embedder.sizeOfFontAtHeight(t)},e.prototype.getCharacterSet=function(){return this.embedder instanceof o_?this.embedder.encoding.supportedCodePoints:this.embedder.font.characterSet},e.prototype.embed=function(){return Sr(this,void 0,void 0,function(){return wr(this,function(t){switch(t.label){case 0:return this.modified?[4,this.embedder.embedIntoContext(this.doc.context,this.ref)]:[3,2];case 1:t.sent(),this.modified=!1,t.label=2;case 2:return[2]}})})},e.of=function(t,r,n){return new e(t,r,n)},e}(),XD=function(){function e(t,r,n){Be(t,"ref",[[gn,"PDFRef"]]),Be(r,"doc",[[mf,"PDFDocument"]]),Be(n,"embedder",[[_ue,"JpegEmbedder"],[Pue,"PngEmbedder"]]),this.ref=t,this.doc=r,this.width=n.width,this.height=n.height,this.embedder=n}return e.prototype.scale=function(t){return Be(t,"factor",["number"]),{width:this.width*t,height:this.height*t}},e.prototype.scaleToFit=function(t,r){Be(t,"width",["number"]),Be(r,"height",["number"]);var n=t/this.width,i=r/this.height,a=Math.min(n,i);return this.scale(a)},e.prototype.size=function(){return this.scale(1)},e.prototype.embed=function(){return Sr(this,void 0,void 0,function(){var t,r,n;return wr(this,function(i){switch(i.label){case 0:return this.embedder?(this.embedTask||(t=this,r=t.doc,n=t.ref,this.embedTask=this.embedder.embedIntoContext(r.context,n)),[4,this.embedTask]):[2];case 1:return i.sent(),this.embedder=void 0,[2]}})})},e.of=function(t,r,n){return new e(t,r,n)},e}(),Bh;(function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"})(Bh||(Bh={}));var Hy=function(e){dt(e==null?void 0:e.x,"options.x",["number"]),dt(e==null?void 0:e.y,"options.y",["number"]),dt(e==null?void 0:e.width,"options.width",["number"]),dt(e==null?void 0:e.height,"options.height",["number"]),dt(e==null?void 0:e.textColor,"options.textColor",[[Object,"Color"]]),dt(e==null?void 0:e.backgroundColor,"options.backgroundColor",[[Object,"Color"]]),dt(e==null?void 0:e.borderColor,"options.borderColor",[[Object,"Color"]]),dt(e==null?void 0:e.borderWidth,"options.borderWidth",["number"]),dt(e==null?void 0:e.rotate,"options.rotate",[[Object,"Rotation"]])},C0=function(){function e(t,r,n){Be(t,"acroField",[[By,"PDFAcroTerminal"]]),Be(r,"ref",[[gn,"PDFRef"]]),Be(n,"doc",[[mf,"PDFDocument"]]),this.acroField=t,this.ref=r,this.doc=n}return e.prototype.getName=function(){var t;return(t=this.acroField.getFullyQualifiedName())!==null&&t!==void 0?t:""},e.prototype.isReadOnly=function(){return this.acroField.hasFlag(Ac.ReadOnly)},e.prototype.enableReadOnly=function(){this.acroField.setFlagTo(Ac.ReadOnly,!0)},e.prototype.disableReadOnly=function(){this.acroField.setFlagTo(Ac.ReadOnly,!1)},e.prototype.isRequired=function(){return this.acroField.hasFlag(Ac.Required)},e.prototype.enableRequired=function(){this.acroField.setFlagTo(Ac.Required,!0)},e.prototype.disableRequired=function(){this.acroField.setFlagTo(Ac.Required,!1)},e.prototype.isExported=function(){return!this.acroField.hasFlag(Ac.NoExport)},e.prototype.enableExporting=function(){this.acroField.setFlagTo(Ac.NoExport,!1)},e.prototype.disableExporting=function(){this.acroField.setFlagTo(Ac.NoExport,!0)},e.prototype.needsAppearancesUpdate=function(){throw new Kl(this.constructor.name,"needsAppearancesUpdate")},e.prototype.defaultUpdateAppearances=function(t){throw new Kl(this.constructor.name,"defaultUpdateAppearances")},e.prototype.markAsDirty=function(){this.doc.getForm().markFieldAsDirty(this.ref)},e.prototype.markAsClean=function(){this.doc.getForm().markFieldAsClean(this.ref)},e.prototype.isDirty=function(){return this.doc.getForm().fieldIsDirty(this.ref)},e.prototype.createWidget=function(t){var r,n=t.textColor,i=t.backgroundColor,a=t.borderColor,o=t.borderWidth,s=que(t.rotate),l=t.caption,c=t.x,u=t.y,d=t.width+o,f=t.height+o,h=!!t.hidden,p=t.page;Sue(s,"degreesAngle",90);var g=ZD.create(this.doc.context,this.ref),v=Sut({x:c,y:u,width:d,height:f},o,s);g.setRectangle(v),p&&g.setP(p);var m=g.getOrCreateAppearanceCharacteristics();i&&m.setBackgroundColor(eY(i)),m.setRotation(s),l&&m.setCaptions({normal:l}),a&&m.setBorderColor(eY(a));var b=g.getOrCreateBorderStyle();if(o!==void 0&&b.setWidth(o),g.setFlagTo(Xb.Print,!0),g.setFlagTo(Xb.Hidden,h),g.setFlagTo(Xb.Invisible,!1),n){var y=(r=this.acroField.getDefaultAppearance())!==null&&r!==void 0?r:"",w=y+`
512`+x0(n).toString();this.acroField.setDefaultAppearance(w)}return g},e.prototype.updateWidgetAppearanceWithFont=function(t,r,n){var i=n.normal,a=n.rollover,o=n.down;this.updateWidgetAppearances(t,{normal:this.createAppearanceStream(t,i,r),rollover:a&&this.createAppearanceStream(t,a,r),down:o&&this.createAppearanceStream(t,o,r)})},e.prototype.updateOnOffWidgetAppearance=function(t,r,n){var i=n.normal,a=n.rollover,o=n.down;this.updateWidgetAppearances(t,{normal:this.createAppearanceDict(t,i,r),rollover:a&&this.createAppearanceDict(t,a,r),down:o&&this.createAppearanceDict(t,o,r)})},e.prototype.updateWidgetAppearances=function(t,r){var n=r.normal,i=r.rollover,a=r.down;t.setNormalAppearance(n),i?t.setRolloverAppearance(i):t.removeRolloverAppearance(),a?t.setDownAppearance(a):t.removeDownAppearance()},e.prototype.createAppearanceStream=function(t,r,n){var i,a=this.acroField.dict.context,o=t.getRectangle(),s=o.width,l=o.height,c=n&&{Font:(i={},i[n.name]=n.ref,i)},u=a.formXObject(r,{Resources:c,BBox:a.obj([0,0,s,l]),Matrix:a.obj([1,0,0,1,0,0])}),d=a.register(u);return d},e.prototype.createImageAppearanceStream=function(t,r,n){var i,a,o=this.acroField.dict.context,s=t.getRectangle(),l=t.getAppearanceCharacteristics(),c=t.getBorderStyle(),u=(a=c==null?void 0:c.getWidth())!==null&&a!==void 0?a:0,d=xf(l==null?void 0:l.getRotation()),f=pp(cr(cr({},s),{rotation:d})),h=S0(s,d),p=r.scaleToFit(h.width-u*2,h.height-u*2),g={x:u,y:u,width:p.width,height:p.height,rotate:er(0),xSkew:er(0),ySkew:er(0)};n===Bh.Center?(g.x+=(h.width-u*2)/2-p.width/2,g.y+=(h.height-u*2)/2-p.height/2):n===Bh.Right&&(g.x=h.width-u-p.width,g.y=h.height-u-p.height);var v=this.doc.context.addRandomSuffix("Image",10),m=Kr(f,Jue(v,g)),b={XObject:(i={},i[v]=r.ref,i)},y=o.formXObject(m,{Resources:b,BBox:o.obj([0,0,s.width,s.height]),Matrix:o.obj([1,0,0,1,0,0])});return o.register(y)},e.prototype.createAppearanceDict=function(t,r,n){var i=this.acroField.dict.context,a=this.createAppearanceStream(t,r.on),o=this.createAppearanceStream(t,r.off),s=i.obj({});return s.set(n,a),s.set(ue.of("Off"),o),s},e}(),ob=function(e){ft(t,e);function t(r,n,i){var a=e.call(this,r,n,i)||this;return Be(r,"acroCheckBox",[[WA,"PDFAcroCheckBox"]]),a.acroField=r,a}return t.prototype.check=function(){var r,n=(r=this.acroField.getOnValue())!==null&&r!==void 0?r:ue.of("Yes");this.markAsDirty(),this.acroField.setValue(n)},t.prototype.uncheck=function(){this.markAsDirty(),this.acroField.setValue(ue.of("Off"))},t.prototype.isChecked=function(){var r=this.acroField.getOnValue();return!!r&&r===this.acroField.getValue()},t.prototype.addToPage=function(r,n){var i,a,o,s,l,c;Be(r,"page",[[Hl,"PDFPage"]]),Hy(n),n||(n={}),"textColor"in n||(n.textColor=vn(0,0,0)),"backgroundColor"in n||(n.backgroundColor=vn(1,1,1)),"borderColor"in n||(n.borderColor=vn(0,0,0)),"borderWidth"in n||(n.borderWidth=1);var u=this.createWidget({x:(i=n.x)!==null&&i!==void 0?i:0,y:(a=n.y)!==null&&a!==void 0?a:0,width:(o=n.width)!==null&&o!==void 0?o:50,height:(s=n.height)!==null&&s!==void 0?s:50,textColor:n.textColor,backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:(l=n.borderWidth)!==null&&l!==void 0?l:0,rotate:(c=n.rotate)!==null&&c!==void 0?c:er(0),hidden:n.hidden,page:r.ref}),d=this.doc.context.register(u.dict);this.acroField.addWidget(d),u.setAppearanceState(ue.of("Off")),this.updateWidgetAppearance(u,ue.of("Yes")),r.node.addAnnot(d)},t.prototype.needsAppearancesUpdate=function(){for(var r,n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var o=n[i],s=o.getAppearanceState(),l=(r=o.getAppearances())===null||r===void 0?void 0:r.normal;if(!(l instanceof gr)||s&&!l.has(s))return!0}return!1},t.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},t.prototype.updateAppearances=function(r){var n;dt(r,"provider",[Function]);for(var i=this.acroField.getWidgets(),a=0,o=i.length;a<o;a++){var s=i[a],l=(n=s.getOnValue())!==null&&n!==void 0?n:ue.of("Yes");l&&this.updateWidgetAppearance(s,l,r)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(r,n,i){var a=i??adt,o=zy(a(this,r));this.updateOnOffWidgetAppearance(r,n,o)},t.of=function(r,n,i){return new t(r,n,i)},t}(C0),dk=function(e){ft(t,e);function t(r,n,i){var a=e.call(this,r,n,i)||this;return Be(r,"acroComboBox",[[VA,"PDFAcroComboBox"]]),a.acroField=r,a}return t.prototype.getOptions=function(){for(var r=this.acroField.getOptions(),n=new Array(r.length),i=0,a=n.length;i<a;i++){var o=r[i],s=o.display,l=o.value;n[i]=(s??l).decodeText()}return n},t.prototype.getSelected=function(){for(var r=this.acroField.getValues(),n=new Array(r.length),i=0,a=r.length;i<a;i++)n[i]=r[i].decodeText();return n},t.prototype.setOptions=function(r){Be(r,"options",[Array]);for(var n=new Array(r.length),i=0,a=r.length;i<a;i++)n[i]={value:Qt.fromText(r[i])};this.acroField.setOptions(n)},t.prototype.addOptions=function(r){Be(r,"options",["string",Array]);for(var n=Array.isArray(r)?r:[r],i=this.acroField.getOptions(),a=new Array(n.length),o=0,s=n.length;o<s;o++)a[o]={value:Qt.fromText(n[o])};this.acroField.setOptions(i.concat(a))},t.prototype.select=function(r,n){n===void 0&&(n=!1),Be(r,"options",["string",Array]),Be(n,"merge",["boolean"]);var i=Array.isArray(r)?r:[r],a=this.getOptions(),o=i.find(function(d){return!a.includes(d)});o&&this.enableEditing(),this.markAsDirty(),(i.length>1||i.length===1&&n)&&this.enableMultiselect();for(var s=new Array(i.length),l=0,c=i.length;l<c;l++)s[l]=Qt.fromText(i[l]);if(n){var u=this.acroField.getValues();this.acroField.setValues(u.concat(s))}else this.acroField.setValues(s)},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},t.prototype.setFontSize=function(r){HA(r,"fontSize"),this.acroField.setFontSize(r),this.markAsDirty()},t.prototype.isEditable=function(){return this.acroField.hasFlag(pn.Edit)},t.prototype.enableEditing=function(){this.acroField.setFlagTo(pn.Edit,!0)},t.prototype.disableEditing=function(){this.acroField.setFlagTo(pn.Edit,!1)},t.prototype.isSorted=function(){return this.acroField.hasFlag(pn.Sort)},t.prototype.enableSorting=function(){this.acroField.setFlagTo(pn.Sort,!0)},t.prototype.disableSorting=function(){this.acroField.setFlagTo(pn.Sort,!1)},t.prototype.isMultiselect=function(){return this.acroField.hasFlag(pn.MultiSelect)},t.prototype.enableMultiselect=function(){this.acroField.setFlagTo(pn.MultiSelect,!0)},t.prototype.disableMultiselect=function(){this.acroField.setFlagTo(pn.MultiSelect,!1)},t.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(pn.DoNotSpellCheck)},t.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(pn.DoNotSpellCheck,!1)},t.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(pn.DoNotSpellCheck,!0)},t.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(pn.CommitOnSelChange)},t.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(pn.CommitOnSelChange,!0)},t.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(pn.CommitOnSelChange,!1)},t.prototype.addToPage=function(r,n){var i,a,o,s,l,c,u;Be(r,"page",[[Hl,"PDFPage"]]),Hy(n),n||(n={}),"textColor"in n||(n.textColor=vn(0,0,0)),"backgroundColor"in n||(n.backgroundColor=vn(1,1,1)),"borderColor"in n||(n.borderColor=vn(0,0,0)),"borderWidth"in n||(n.borderWidth=1);var d=this.createWidget({x:(i=n.x)!==null&&i!==void 0?i:0,y:(a=n.y)!==null&&a!==void 0?a:0,width:(o=n.width)!==null&&o!==void 0?o:200,height:(s=n.height)!==null&&s!==void 0?s:50,textColor:n.textColor,backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:(l=n.borderWidth)!==null&&l!==void 0?l:0,rotate:(c=n.rotate)!==null&&c!==void 0?c:er(0),hidden:n.hidden,page:r.ref}),f=this.doc.context.register(d.dict);this.acroField.addWidget(f);var h=(u=n.font)!==null&&u!==void 0?u:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(d,h),r.node.addAnnot(f)},t.prototype.needsAppearancesUpdate=function(){var r;if(this.isDirty())return!0;for(var n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var o=n[i],s=((r=o.getAppearances())===null||r===void 0?void 0:r.normal)instanceof al;if(!s)return!0}return!1},t.prototype.defaultUpdateAppearances=function(r){Be(r,"font",[[ll,"PDFFont"]]),this.updateAppearances(r)},t.prototype.updateAppearances=function(r,n){Be(r,"font",[[ll,"PDFFont"]]),dt(n,"provider",[Function]);for(var i=this.acroField.getWidgets(),a=0,o=i.length;a<o;a++){var s=i[a];this.updateWidgetAppearance(s,r,n)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(r,n,i){var a=i??cdt,o=zy(a(this,r,n));this.updateWidgetAppearanceWithFont(r,n,o)},t.of=function(r,n,i){return new t(r,n,i)},t}(C0),fk=function(e){ft(t,e);function t(r,n,i){var a=e.call(this,r,n,i)||this;return Be(r,"acroListBox",[[ZA,"PDFAcroListBox"]]),a.acroField=r,a}return t.prototype.getOptions=function(){for(var r=this.acroField.getOptions(),n=new Array(r.length),i=0,a=n.length;i<a;i++){var o=r[i],s=o.display,l=o.value;n[i]=(s??l).decodeText()}return n},t.prototype.getSelected=function(){for(var r=this.acroField.getValues(),n=new Array(r.length),i=0,a=r.length;i<a;i++)n[i]=r[i].decodeText();return n},t.prototype.setOptions=function(r){Be(r,"options",[Array]),this.markAsDirty();for(var n=new Array(r.length),i=0,a=r.length;i<a;i++)n[i]={value:Qt.fromText(r[i])};this.acroField.setOptions(n)},t.prototype.addOptions=function(r){Be(r,"options",["string",Array]),this.markAsDirty();for(var n=Array.isArray(r)?r:[r],i=this.acroField.getOptions(),a=new Array(n.length),o=0,s=n.length;o<s;o++)a[o]={value:Qt.fromText(n[o])};this.acroField.setOptions(i.concat(a))},t.prototype.select=function(r,n){n===void 0&&(n=!1),Be(r,"options",["string",Array]),Be(n,"merge",["boolean"]);var i=Array.isArray(r)?r:[r],a=this.getOptions();lct(i,"option",a),this.markAsDirty(),(i.length>1||i.length===1&&n)&&this.enableMultiselect();for(var o=new Array(i.length),s=0,l=i.length;s<l;s++)o[s]=Qt.fromText(i[s]);if(n){var c=this.acroField.getValues();this.acroField.setValues(c.concat(o))}else this.acroField.setValues(o)},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},t.prototype.setFontSize=function(r){HA(r,"fontSize"),this.acroField.setFontSize(r),this.markAsDirty()},t.prototype.isSorted=function(){return this.acroField.hasFlag(pn.Sort)},t.prototype.enableSorting=function(){this.acroField.setFlagTo(pn.Sort,!0)},t.prototype.disableSorting=function(){this.acroField.setFlagTo(pn.Sort,!1)},t.prototype.isMultiselect=function(){return this.acroField.hasFlag(pn.MultiSelect)},t.prototype.enableMultiselect=function(){this.acroField.setFlagTo(pn.MultiSelect,!0)},t.prototype.disableMultiselect=function(){this.acroField.setFlagTo(pn.MultiSelect,!1)},t.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(pn.CommitOnSelChange)},t.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(pn.CommitOnSelChange,!0)},t.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(pn.CommitOnSelChange,!1)},t.prototype.addToPage=function(r,n){var i,a,o,s,l,c,u;Be(r,"page",[[Hl,"PDFPage"]]),Hy(n),n||(n={}),"textColor"in n||(n.textColor=vn(0,0,0)),"backgroundColor"in n||(n.backgroundColor=vn(1,1,1)),"borderColor"in n||(n.borderColor=vn(0,0,0)),"borderWidth"in n||(n.borderWidth=1);var d=this.createWidget({x:(i=n.x)!==null&&i!==void 0?i:0,y:(a=n.y)!==null&&a!==void 0?a:0,width:(o=n.width)!==null&&o!==void 0?o:200,height:(s=n.height)!==null&&s!==void 0?s:100,textColor:n.textColor,backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:(l=n.borderWidth)!==null&&l!==void 0?l:0,rotate:(c=n.rotate)!==null&&c!==void 0?c:er(0),hidden:n.hidden,page:r.ref}),f=this.doc.context.register(d.dict);this.acroField.addWidget(f);var h=(u=n.font)!==null&&u!==void 0?u:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(d,h),r.node.addAnnot(f)},t.prototype.needsAppearancesUpdate=function(){var r;if(this.isDirty())return!0;for(var n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var o=n[i],s=((r=o.getAppearances())===null||r===void 0?void 0:r.normal)instanceof al;if(!s)return!0}return!1},t.prototype.defaultUpdateAppearances=function(r){Be(r,"font",[[ll,"PDFFont"]]),this.updateAppearances(r)},t.prototype.updateAppearances=function(r,n){Be(r,"font",[[ll,"PDFFont"]]),dt(n,"provider",[Function]);for(var i=this.acroField.getWidgets(),a=0,o=i.length;a<o;a++){var s=i[a];this.updateWidgetAppearance(s,r,n)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(r,n,i){var a=i??udt,o=zy(a(this,r,n));this.updateWidgetAppearanceWithFont(r,n,o)},t.of=function(r,n,i){return new t(r,n,i)},t}(C0),sb=function(e){ft(t,e);function t(r,n,i){var a=e.call(this,r,n,i)||this;return Be(r,"acroRadioButton",[[KA,"PDFAcroRadioButton"]]),a.acroField=r,a}return t.prototype.getOptions=function(){var r=this.acroField.getExportValues();if(r){for(var n=new Array(r.length),i=0,a=r.length;i<a;i++)n[i]=r[i].decodeText();return n}for(var o=this.acroField.getOnValues(),s=new Array(o.length),i=0,a=s.length;i<a;i++)s[i]=o[i].decodeText();return s},t.prototype.getSelected=function(){var r=this.acroField.getValue();if(r!==ue.of("Off")){var n=this.acroField.getExportValues();if(n){for(var i=this.acroField.getOnValues(),a=0,o=i.length;a<o;a++)if(i[a]===r)return n[a].decodeText()}return r.decodeText()}},t.prototype.select=function(r){Be(r,"option",["string"]);var n=this.getOptions();kh(r,"option",n),this.markAsDirty();var i=this.acroField.getOnValues(),a=this.acroField.getExportValues();if(a)for(var o=0,s=a.length;o<s;o++)a[o].decodeText()===r&&this.acroField.setValue(i[o]);else for(var o=0,s=i.length;o<s;o++){var l=i[o];l.decodeText()===r&&this.acroField.setValue(l)}},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValue(ue.of("Off"))},t.prototype.isOffToggleable=function(){return!this.acroField.hasFlag(zl.NoToggleToOff)},t.prototype.enableOffToggling=function(){this.acroField.setFlagTo(zl.NoToggleToOff,!1)},t.prototype.disableOffToggling=function(){this.acroField.setFlagTo(zl.NoToggleToOff,!0)},t.prototype.isMutuallyExclusive=function(){return!this.acroField.hasFlag(zl.RadiosInUnison)},t.prototype.enableMutualExclusion=function(){this.acroField.setFlagTo(zl.RadiosInUnison,!1)},t.prototype.disableMutualExclusion=function(){this.acroField.setFlagTo(zl.RadiosInUnison,!0)},t.prototype.addOptionToPage=function(r,n,i){var a,o,s,l,c,u,d,f,h;Be(r,"option",["string"]),Be(n,"page",[[Hl,"PDFPage"]]),Hy(i);var p=this.createWidget({x:(a=i==null?void 0:i.x)!==null&&a!==void 0?a:0,y:(o=i==null?void 0:i.y)!==null&&o!==void 0?o:0,width:(s=i==null?void 0:i.width)!==null&&s!==void 0?s:50,height:(l=i==null?void 0:i.height)!==null&&l!==void 0?l:50,textColor:(c=i==null?void 0:i.textColor)!==null&&c!==void 0?c:vn(0,0,0),backgroundColor:(u=i==null?void 0:i.backgroundColor)!==null&&u!==void 0?u:vn(1,1,1),borderColor:(d=i==null?void 0:i.borderColor)!==null&&d!==void 0?d:vn(0,0,0),borderWidth:(f=i==null?void 0:i.borderWidth)!==null&&f!==void 0?f:1,rotate:(h=i==null?void 0:i.rotate)!==null&&h!==void 0?h:er(0),hidden:i==null?void 0:i.hidden,page:n.ref}),g=this.doc.context.register(p.dict),v=this.acroField.addWidgetWithOpt(g,Qt.fromText(r),!this.isMutuallyExclusive());p.setAppearanceState(ue.of("Off")),this.updateWidgetAppearance(p,v),n.node.addAnnot(g)},t.prototype.needsAppearancesUpdate=function(){for(var r,n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var o=n[i],s=o.getAppearanceState(),l=(r=o.getAppearances())===null||r===void 0?void 0:r.normal;if(!(l instanceof gr)||s&&!l.has(s))return!0}return!1},t.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},t.prototype.updateAppearances=function(r){dt(r,"provider",[Function]);for(var n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var o=n[i],s=o.getOnValue();s&&this.updateWidgetAppearance(o,s,r)}},t.prototype.updateWidgetAppearance=function(r,n,i){var a=i??odt,o=zy(a(this,r));this.updateOnOffWidgetAppearance(r,n,o)},t.of=function(r,n,i){return new t(r,n,i)},t}(C0),QD=function(e){ft(t,e);function t(r,n,i){var a=e.call(this,r,n,i)||this;return Be(r,"acroSignature",[[SM,"PDFAcroSignature"]]),a.acroField=r,a}return t.prototype.needsAppearancesUpdate=function(){return!1},t.of=function(r,n,i){return new t(r,n,i)},t}(C0),hk=function(e){ft(t,e);function t(r,n,i){var a=e.call(this,r,n,i)||this;return Be(r,"acroText",[[jA,"PDFAcroText"]]),a.acroField=r,a}return t.prototype.getText=function(){var r=this.acroField.getValue();if(!r&&this.isRichFormatted())throw new Yut(this.getName());return r==null?void 0:r.decodeText()},t.prototype.setText=function(r){dt(r,"text",["string"]);var n=this.getMaxLength();if(n!==void 0&&r&&r.length>n)throw new Xut(r.length,n,this.getName());this.markAsDirty(),this.disableRichFormatting(),r?this.acroField.setValue(Qt.fromText(r)):this.acroField.removeValue()},t.prototype.getAlignment=function(){var r=this.acroField.getQuadding();return r===0?na.Left:r===1?na.Center:r===2?na.Right:na.Left},t.prototype.setAlignment=function(r){kh(r,"alignment",na),this.markAsDirty(),this.acroField.setQuadding(r)},t.prototype.getMaxLength=function(){return this.acroField.getMaxLength()},t.prototype.setMaxLength=function(r){if(_c(r,"maxLength",0,Number.MAX_SAFE_INTEGER),this.markAsDirty(),r===void 0)this.acroField.removeMaxLength();else{var n=this.getText();if(n&&n.length>r)throw new Qut(n.length,r,this.getName());this.acroField.setMaxLength(r)}},t.prototype.removeMaxLength=function(){this.markAsDirty(),this.acroField.removeMaxLength()},t.prototype.setImage=function(r){for(var n=this.getAlignment(),i=n===na.Center?Bh.Center:n===na.Right?Bh.Right:Bh.Left,a=this.acroField.getWidgets(),o=0,s=a.length;o<s;o++){var l=a[o],c=this.createImageAppearanceStream(l,r,i);this.updateWidgetAppearances(l,{normal:c})}this.markAsClean()},t.prototype.setFontSize=function(r){HA(r,"fontSize"),this.acroField.setFontSize(r),this.markAsDirty()},t.prototype.isMultiline=function(){return this.acroField.hasFlag(ai.Multiline)},t.prototype.enableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(ai.Multiline,!0)},t.prototype.disableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(ai.Multiline,!1)},t.prototype.isPassword=function(){return this.acroField.hasFlag(ai.Password)},t.prototype.enablePassword=function(){this.acroField.setFlagTo(ai.Password,!0)},t.prototype.disablePassword=function(){this.acroField.setFlagTo(ai.Password,!1)},t.prototype.isFileSelector=function(){return this.acroField.hasFlag(ai.FileSelect)},t.prototype.enableFileSelection=function(){this.acroField.setFlagTo(ai.FileSelect,!0)},t.prototype.disableFileSelection=function(){this.acroField.setFlagTo(ai.FileSelect,!1)},t.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(ai.DoNotSpellCheck)},t.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(ai.DoNotSpellCheck,!1)},t.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(ai.DoNotSpellCheck,!0)},t.prototype.isScrollable=function(){return!this.acroField.hasFlag(ai.DoNotScroll)},t.prototype.enableScrolling=function(){this.acroField.setFlagTo(ai.DoNotScroll,!1)},t.prototype.disableScrolling=function(){this.acroField.setFlagTo(ai.DoNotScroll,!0)},t.prototype.isCombed=function(){return this.acroField.hasFlag(ai.Comb)&&!this.isMultiline()&&!this.isPassword()&&!this.isFileSelector()&&this.getMaxLength()!==void 0},t.prototype.enableCombing=function(){if(this.getMaxLength()===void 0){var r="PDFTextFields must have a max length in order to be combed";console.warn(r)}this.markAsDirty(),this.disableMultiline(),this.disablePassword(),this.disableFileSelection(),this.acroField.setFlagTo(ai.Comb,!0)},t.prototype.disableCombing=function(){this.markAsDirty(),this.acroField.setFlagTo(ai.Comb,!1)},t.prototype.isRichFormatted=function(){return this.acroField.hasFlag(ai.RichText)},t.prototype.enableRichFormatting=function(){this.acroField.setFlagTo(ai.RichText,!0)},t.prototype.disableRichFormatting=function(){this.acroField.setFlagTo(ai.RichText,!1)},t.prototype.addToPage=function(r,n){var i,a,o,s,l,c,u;Be(r,"page",[[Hl,"PDFPage"]]),Hy(n),n||(n={}),"textColor"in n||(n.textColor=vn(0,0,0)),"backgroundColor"in n||(n.backgroundColor=vn(1,1,1)),"borderColor"in n||(n.borderColor=vn(0,0,0)),"borderWidth"in n||(n.borderWidth=1);var d=this.createWidget({x:(i=n.x)!==null&&i!==void 0?i:0,y:(a=n.y)!==null&&a!==void 0?a:0,width:(o=n.width)!==null&&o!==void 0?o:200,height:(s=n.height)!==null&&s!==void 0?s:50,textColor:n.textColor,backgroundColor:n.backgroundColor,borderColor:n.borderColor,borderWidth:(l=n.borderWidth)!==null&&l!==void 0?l:0,rotate:(c=n.rotate)!==null&&c!==void 0?c:er(0),hidden:n.hidden,page:r.ref}),f=this.doc.context.register(d.dict);this.acroField.addWidget(f);var h=(u=n.font)!==null&&u!==void 0?u:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(d,h),r.node.addAnnot(f)},t.prototype.needsAppearancesUpdate=function(){var r;if(this.isDirty())return!0;for(var n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var o=n[i],s=((r=o.getAppearances())===null||r===void 0?void 0:r.normal)instanceof al;if(!s)return!0}return!1},t.prototype.defaultUpdateAppearances=function(r){Be(r,"font",[[ll,"PDFFont"]]),this.updateAppearances(r)},t.prototype.updateAppearances=function(r,n){Be(r,"font",[[ll,"PDFFont"]]),dt(n,"provider",[Function]);for(var i=this.acroField.getWidgets(),a=0,o=i.length;a<o;a++){var s=i[a];this.updateWidgetAppearance(s,r,n)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(r,n,i){var a=i??ldt,o=zy(a(this,r,n));this.updateWidgetAppearanceWithFont(r,n,o)},t.of=function(r,n,i){return new t(r,n,i)},t}(C0),m_;(function(e){e.Courier="Courier",e.CourierBold="Courier-Bold",e.CourierOblique="Courier-Oblique",e.CourierBoldOblique="Courier-BoldOblique",e.Helvetica="Helvetica",e.HelveticaBold="Helvetica-Bold",e.HelveticaOblique="Helvetica-Oblique",e.HelveticaBoldOblique="Helvetica-BoldOblique",e.TimesRoman="Times-Roman",e.TimesRomanBold="Times-Bold",e.TimesRomanItalic="Times-Italic",e.TimesRomanBoldItalic="Times-BoldItalic",e.Symbol="Symbol",e.ZapfDingbats="ZapfDingbats"})(m_||(m_={}));var ddt=function(){function e(t,r){var n=this;this.embedDefaultFont=function(){return n.doc.embedStandardFont(m_.Helvetica)},Be(t,"acroForm",[[c_,"PDFAcroForm"]]),Be(r,"doc",[[mf,"PDFDocument"]]),this.acroForm=t,this.doc=r,this.dirtyFields=new Set,this.defaultFontCache=Jd.populatedBy(this.embedDefaultFont)}return e.prototype.hasXFA=function(){return this.acroForm.dict.has(ue.of("XFA"))},e.prototype.deleteXFA=function(){this.acroForm.dict.delete(ue.of("XFA"))},e.prototype.getFields=function(){for(var t=this.acroForm.getAllFields(),r=[],n=0,i=t.length;n<i;n++){var a=t[n],o=a[0],s=a[1],l=fdt(o,s,this.doc);l&&r.push(l)}return r},e.prototype.getFieldMaybe=function(t){Be(t,"name",["string"]);for(var r=this.getFields(),n=0,i=r.length;n<i;n++){var a=r[n];if(a.getName()===t)return a}},e.prototype.getField=function(t){Be(t,"name",["string"]);var r=this.getFieldMaybe(t);if(r)return r;throw new Kut(t)},e.prototype.getButton=function(t){Be(t,"name",["string"]);var r=this.getField(t);if(r instanceof pk)return r;throw new Ap(t,pk,r)},e.prototype.getCheckBox=function(t){Be(t,"name",["string"]);var r=this.getField(t);if(r instanceof ob)return r;throw new Ap(t,ob,r)},e.prototype.getDropdown=function(t){Be(t,"name",["string"]);var r=this.getField(t);if(r instanceof dk)return r;throw new Ap(t,dk,r)},e.prototype.getOptionList=function(t){Be(t,"name",["string"]);var r=this.getField(t);if(r instanceof fk)return r;throw new Ap(t,fk,r)},e.prototype.getRadioGroup=function(t){Be(t,"name",["string"]);var r=this.getField(t);if(r instanceof sb)return r;throw new Ap(t,sb,r)},e.prototype.getSignature=function(t){Be(t,"name",["string"]);var r=this.getField(t);if(r instanceof QD)return r;throw new Ap(t,QD,r)},e.prototype.getTextField=function(t){Be(t,"name",["string"]);var r=this.getField(t);if(r instanceof hk)return r;throw new Ap(t,hk,r)},e.prototype.createButton=function(t){Be(t,"name",["string"]);var r=J0(t),n=this.findOrCreateNonTerminals(r.nonTerminal),i=GA.create(this.doc.context);return i.setPartialName(r.terminal),eg(n,[i,i.ref],r.terminal),pk.of(i,i.ref,this.doc)},e.prototype.createCheckBox=function(t){Be(t,"name",["string"]);var r=J0(t),n=this.findOrCreateNonTerminals(r.nonTerminal),i=WA.create(this.doc.context);return i.setPartialName(r.terminal),eg(n,[i,i.ref],r.terminal),ob.of(i,i.ref,this.doc)},e.prototype.createDropdown=function(t){Be(t,"name",["string"]);var r=J0(t),n=this.findOrCreateNonTerminals(r.nonTerminal),i=VA.create(this.doc.context);return i.setPartialName(r.terminal),eg(n,[i,i.ref],r.terminal),dk.of(i,i.ref,this.doc)},e.prototype.createOptionList=function(t){Be(t,"name",["string"]);var r=J0(t),n=this.findOrCreateNonTerminals(r.nonTerminal),i=ZA.create(this.doc.context);return i.setPartialName(r.terminal),eg(n,[i,i.ref],r.terminal),fk.of(i,i.ref,this.doc)},e.prototype.createRadioGroup=function(t){Be(t,"name",["string"]);var r=J0(t),n=this.findOrCreateNonTerminals(r.nonTerminal),i=KA.create(this.doc.context);return i.setPartialName(r.terminal),eg(n,[i,i.ref],r.terminal),sb.of(i,i.ref,this.doc)},e.prototype.createTextField=function(t){Be(t,"name",["string"]);var r=J0(t),n=this.findOrCreateNonTerminals(r.nonTerminal),i=jA.create(this.doc.context);return i.setPartialName(r.terminal),eg(n,[i,i.ref],r.terminal),hk.of(i,i.ref,this.doc)},e.prototype.flatten=function(t){t===void 0&&(t={updateFieldAppearances:!0}),t.updateFieldAppearances&&this.updateFieldAppearances();for(var r=this.getFields(),n=0,i=r.length;n<i;n++){for(var a=r[n],o=a.acroField.getWidgets(),s=0,l=o.length;s<l;s++){var c=o[s],u=this.findWidgetPage(c),d=this.findWidgetAppearanceRef(a,c),f=u.node.newXObject("FlatWidget",d),h=c.getRectangle(),p=Kr([sa(),Zl(h.x,h.y)],pp(cr(cr({},h),{rotation:0})),[PM(f),la()]).filter(Boolean);u.pushOperators.apply(u,p)}this.removeField(a)}},e.prototype.removeField=function(t){for(var r=t.acroField.getWidgets(),n=new Set,i=0,a=r.length;i<a;i++){var o=r[i],s=this.findWidgetAppearanceRef(t,o),l=this.findWidgetPage(o);n.add(l),l.node.removeAnnot(s)}n.forEach(function(h){return h.node.removeAnnot(t.ref)}),this.acroForm.removeField(t.acroField);for(var c=t.acroField.normalizedEntries().Kids,u=c.size(),d=0;d<u;d++){var f=c.get(d);f instanceof gn&&this.doc.context.delete(f)}this.doc.context.delete(t.ref)},e.prototype.updateFieldAppearances=function(t){dt(t,"font",[[ll,"PDFFont"]]),t=t??this.getDefaultFont();for(var r=this.getFields(),n=0,i=r.length;n<i;n++){var a=r[n];a.needsAppearancesUpdate()&&a.defaultUpdateAppearances(t)}},e.prototype.markFieldAsDirty=function(t){dt(t,"fieldRef",[[gn,"PDFRef"]]),this.dirtyFields.add(t)},e.prototype.markFieldAsClean=function(t){dt(t,"fieldRef",[[gn,"PDFRef"]]),this.dirtyFields.delete(t)},e.prototype.fieldIsDirty=function(t){return dt(t,"fieldRef",[[gn,"PDFRef"]]),this.dirtyFields.has(t)},e.prototype.getDefaultFont=function(){return this.defaultFontCache.access()},e.prototype.findWidgetPage=function(t){var r=t.P(),n=this.doc.getPages().find(function(a){return a.ref===r});if(n===void 0){var i=this.doc.context.getObjectRef(t.dict);if(i===void 0)throw new Error("Could not find PDFRef for PDFObject");if(n=this.doc.findPageForAnnotationRef(i),n===void 0)throw new Error("Could not find page for PDFRef "+i)}return n},e.prototype.findWidgetAppearanceRef=function(t,r){var n,i=r.getNormalAppearance();if(i instanceof gr&&(t instanceof ob||t instanceof sb)){var a=t.acroField.getValue(),o=(n=i.get(a))!==null&&n!==void 0?n:i.get(ue.of("Off"));o instanceof gn&&(i=o)}if(!(i instanceof gn)){var s=t.getName();throw new Error("Failed to extract appearance ref for: "+s)}return i},e.prototype.findOrCreateNonTerminals=function(t){for(var r=[this.acroForm],n=0,i=t.length;n<i;n++){var a=t[n];if(!a)throw new Zut(a);var o=r[0],s=r[1],l=this.findNonTerminal(a,o);if(l)r=l;else{var c=l_.create(this.doc.context);c.setPartialName(a),c.setParent(s);var u=this.doc.context.register(c.dict);o.addField(u),r=[c,u]}}return r},e.prototype.findNonTerminal=function(t,r){for(var n=r instanceof c_?this.acroForm.getFields():wM(r.Kids()),i=0,a=n.length;i<a;i++){var o=n[i],s=o[0],l=o[1];if(s.getPartialName()===t){if(s instanceof l_)return[s,l];throw new tde(t)}}},e.of=function(t,r){return new e(t,r)},e}(),fdt=function(e,t,r){if(e instanceof GA)return pk.of(e,t,r);if(e instanceof WA)return ob.of(e,t,r);if(e instanceof VA)return dk.of(e,t,r);if(e instanceof ZA)return fk.of(e,t,r);if(e instanceof jA)return hk.of(e,t,r);if(e instanceof KA)return sb.of(e,t,r);if(e instanceof SM)return QD.of(e,t,r)},J0=function(e){if(e.length===0)throw new Error("PDF field names must not be empty strings");for(var t=e.split("."),r=0,n=t.length;r<n;r++)if(t[r]==="")throw new Error('Periods in PDF field names must be separated by at least one character: "'+e+'"');return t.length===1?{nonTerminal:[],terminal:t[0]}:{nonTerminal:t.slice(0,t.length-1),terminal:t[t.length-1]}},eg=function(e,t,r){for(var n=e[0],i=e[1],a=t[0],o=t[1],s=n.normalizedEntries(),l=wM("Kids"in s?s.Kids:s.Fields),c=0,u=l.length;c<u;c++)if(l[c][0].getPartialName()===r)throw new tde(r);n.addField(o),a.setParent(i)},hdt={A4:[595.28,841.89]},JD;(function(e){e[e.Fastest=1/0]="Fastest",e[e.Fast=1500]="Fast",e[e.Medium=500]="Medium",e[e.Slow=100]="Slow"})(JD||(JD={}));var pdt=function(){function e(t,r,n){this.alreadyEmbedded=!1,this.ref=t,this.doc=r,this.embedder=n}return e.prototype.embed=function(){return Sr(this,void 0,void 0,function(){var t,r,n,i,a;return wr(this,function(o){switch(o.label){case 0:return this.alreadyEmbedded?[3,2]:[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:t=o.sent(),this.doc.catalog.has(ue.of("Names"))||this.doc.catalog.set(ue.of("Names"),this.doc.context.obj({})),r=this.doc.catalog.lookup(ue.of("Names"),gr),r.has(ue.of("EmbeddedFiles"))||r.set(ue.of("EmbeddedFiles"),this.doc.context.obj({})),n=r.lookup(ue.of("EmbeddedFiles"),gr),n.has(ue.of("Names"))||n.set(ue.of("Names"),this.doc.context.obj([])),i=n.lookup(ue.of("Names"),en),i.push(Qt.fromText(this.embedder.fileName)),i.push(t),this.doc.catalog.has(ue.of("AF"))||this.doc.catalog.set(ue.of("AF"),this.doc.context.obj([])),a=this.doc.catalog.lookup(ue.of("AF"),en),a.push(t),this.alreadyEmbedded=!0,o.label=2;case 2:return[2]}})})},e.of=function(t,r,n){return new e(t,r,n)},e}(),mdt=function(){function e(t,r,n){this.alreadyEmbedded=!1,this.ref=t,this.doc=r,this.embedder=n}return e.prototype.embed=function(){return Sr(this,void 0,void 0,function(){var t,r,n,i,a,o,s;return wr(this,function(l){switch(l.label){case 0:return this.alreadyEmbedded?[3,2]:(t=this.doc,r=t.catalog,n=t.context,[4,this.embedder.embedIntoContext(this.doc.context,this.ref)]);case 1:i=l.sent(),r.has(ue.of("Names"))||r.set(ue.of("Names"),n.obj({})),a=r.lookup(ue.of("Names"),gr),a.has(ue.of("JavaScript"))||a.set(ue.of("JavaScript"),n.obj({})),o=a.lookup(ue.of("JavaScript"),gr),o.has(ue.of("Names"))||o.set(ue.of("Names"),n.obj([])),s=o.lookup(ue.of("Names"),en),s.push(Qt.fromText(this.embedder.scriptName)),s.push(i),this.alreadyEmbedded=!0,l.label=2;case 2:return[2]}})})},e.of=function(t,r,n){return new e(t,r,n)},e}(),gdt=function(){function e(t,r){this.script=t,this.scriptName=r}return e.for=function(t,r){return new e(t,r)},e.prototype.embedIntoContext=function(t,r){return Sr(this,void 0,void 0,function(){var n;return wr(this,function(i){return n=t.obj({Type:"Action",S:"JavaScript",JS:Qt.fromText(this.script)}),r?(t.assign(r,n),[2,r]):[2,t.register(n)]})})},e}(),mf=function(){function e(t,r,n){var i=this;if(this.defaultWordBreaks=[" "],this.computePages=function(){var a=[];return i.catalog.Pages().traverse(function(o,s){if(o instanceof ef){var l=i.pageMap.get(o);l||(l=Hl.of(o,s,i),i.pageMap.set(o,l)),a.push(l)}}),a},this.getOrCreateForm=function(){var a=i.catalog.getOrCreateAcroForm();return ddt.of(a,i)},Be(t,"context",[[GD,"PDFContext"]]),Be(r,"ignoreEncryption",["boolean"]),this.context=t,this.catalog=t.lookup(t.trailerInfo.Root),this.isEncrypted=!!t.lookup(t.trailerInfo.Encrypt),this.pageCache=Jd.populatedBy(this.computePages),this.pageMap=new Map,this.formCache=Jd.populatedBy(this.getOrCreateForm),this.fonts=[],this.images=[],this.embeddedPages=[],this.embeddedFiles=[],this.javaScripts=[],!r&&this.isEncrypted)throw new Wut;n&&this.updateInfoDict()}return e.load=function(t,r){return r===void 0&&(r={}),Sr(this,void 0,void 0,function(){var n,i,a,o,s,l,c,u,d,f,h,p;return wr(this,function(g){switch(g.label){case 0:return n=r.ignoreEncryption,i=n===void 0?!1:n,a=r.parseSpeed,o=a===void 0?JD.Slow:a,s=r.throwOnInvalidObject,l=s===void 0?!1:s,c=r.updateMetadata,u=c===void 0?!0:c,d=r.capNumbers,f=d===void 0?!1:d,Be(t,"pdf",["string",Uint8Array,ArrayBuffer]),Be(i,"ignoreEncryption",["boolean"]),Be(o,"parseSpeed",["number"]),Be(l,"throwOnInvalidObject",["boolean"]),h=R1(t),[4,yut.forBytesWithOptions(h,o,l,f).parseDocument()];case 1:return p=g.sent(),[2,new e(p,i,u)]}})})},e.create=function(t){return t===void 0&&(t={}),Sr(this,void 0,void 0,function(){var r,n,i,a,o,s;return wr(this,function(l){return r=t.updateMetadata,n=r===void 0?!0:r,i=GD.create(),a=Lue.withContext(i),o=i.register(a),s=Mue.withContextAndPages(i,o),i.trailerInfo.Root=i.register(s),[2,new e(i,!1,n)]})})},e.prototype.registerFontkit=function(t){this.fontkit=t},e.prototype.getForm=function(){var t=this.formCache.access();return t.hasXFA()&&(console.warn("Removing XFA form data as pdf-lib does not support reading or writing XFA"),t.deleteXFA()),t},e.prototype.getTitle=function(){var t=this.getInfoDict().lookup(ue.Title);if(t)return Hf(t),t.decodeText()},e.prototype.getAuthor=function(){var t=this.getInfoDict().lookup(ue.Author);if(t)return Hf(t),t.decodeText()},e.prototype.getSubject=function(){var t=this.getInfoDict().lookup(ue.Subject);if(t)return Hf(t),t.decodeText()},e.prototype.getKeywords=function(){var t=this.getInfoDict().lookup(ue.Keywords);if(t)return Hf(t),t.decodeText()},e.prototype.getCreator=function(){var t=this.getInfoDict().lookup(ue.Creator);if(t)return Hf(t),t.decodeText()},e.prototype.getProducer=function(){var t=this.getInfoDict().lookup(ue.Producer);if(t)return Hf(t),t.decodeText()},e.prototype.getCreationDate=function(){var t=this.getInfoDict().lookup(ue.CreationDate);if(t)return Hf(t),t.decodeDate()},e.prototype.getModificationDate=function(){var t=this.getInfoDict().lookup(ue.ModDate);if(t)return Hf(t),t.decodeDate()},e.prototype.setTitle=function(t,r){Be(t,"title",["string"]);var n=ue.of("Title");if(this.getInfoDict().set(n,Qt.fromText(t)),r!=null&&r.showInWindowTitleBar){var i=this.catalog.getOrCreateViewerPreferences();i.setDisplayDocTitle(!0)}},e.prototype.setAuthor=function(t){Be(t,"author",["string"]);var r=ue.of("Author");this.getInfoDict().set(r,Qt.fromText(t))},e.prototype.setSubject=function(t){Be(t,"author",["string"]);var r=ue.of("Subject");this.getInfoDict().set(r,Qt.fromText(t))},e.prototype.setKeywords=function(t){Be(t,"keywords",[Array]);var r=ue.of("Keywords");this.getInfoDict().set(r,Qt.fromText(t.join(" ")))},e.prototype.setCreator=function(t){Be(t,"creator",["string"]);var r=ue.of("Creator");this.getInfoDict().set(r,Qt.fromText(t))},e.prototype.setProducer=function(t){Be(t,"creator",["string"]);var r=ue.of("Producer");this.getInfoDict().set(r,Qt.fromText(t))},e.prototype.setLanguage=function(t){Be(t,"language",["string"]);var r=ue.of("Lang");this.catalog.set(r,mn.of(t))},e.prototype.setCreationDate=function(t){Be(t,"creationDate",[[Date,"Date"]]);var r=ue.of("CreationDate");this.getInfoDict().set(r,mn.fromDate(t))},e.prototype.setModificationDate=function(t){Be(t,"modificationDate",[[Date,"Date"]]);var r=ue.of("ModDate");this.getInfoDict().set(r,mn.fromDate(t))},e.prototype.getPageCount=function(){return this.pageCount===void 0&&(this.pageCount=this.getPages().length),this.pageCount},e.prototype.getPages=function(){return this.pageCache.access()},e.prototype.getPage=function(t){var r=this.getPages();return Qs(t,"index",0,r.length-1),r[t]},e.prototype.getPageIndices=function(){return Lot(0,this.getPageCount())},e.prototype.removePage=function(t){var r=this.getPageCount();if(this.pageCount===0)throw new Gut;Qs(t,"index",0,r-1),this.catalog.removeLeafNode(t),this.pageCount=r-1},e.prototype.addPage=function(t){return Be(t,"page",["undefined",[Hl,"PDFPage"],Array]),this.insertPage(this.getPageCount(),t)},e.prototype.insertPage=function(t,r){var n=this.getPageCount();if(Qs(t,"index",0,n),Be(r,"page",["undefined",[Hl,"PDFPage"],Array]),!r||Array.isArray(r)){var i=Array.isArray(r)?r:hdt.A4;r=Hl.create(this),r.setSize.apply(r,i)}else if(r.doc!==this)throw new jut;var a=this.catalog.insertLeafNode(r.ref,t);return r.node.setParent(a),this.pageMap.set(r.node,r),this.pageCache.invalidate(),this.pageCount=n+1,r},e.prototype.copyPages=function(t,r){return Sr(this,void 0,void 0,function(){var n,i,a,o,s,l,c,u;return wr(this,function(d){switch(d.label){case 0:return Be(t,"srcDoc",[[e,"PDFDocument"]]),Be(r,"indices",[Array]),[4,t.flush()];case 1:for(d.sent(),n=WZ.for(t.context,this.context),i=t.getPages(),a=new Array(r.length),o=0,s=r.length;o<s;o++)l=i[r[o]],c=n.copy(l.node),u=this.context.register(c),a[o]=Hl.of(c,u,this);return[2,a]}})})},e.prototype.copy=function(){return Sr(this,void 0,void 0,function(){var t,r,n,i;return wr(this,function(a){switch(a.label){case 0:return[4,e.create()];case 1:return t=a.sent(),[4,t.copyPages(this,this.getPageIndices())];case 2:for(r=a.sent(),n=0,i=r.length;n<i;n++)t.addPage(r[n]);return this.getAuthor()!==void 0&&t.setAuthor(this.getAuthor()),this.getCreationDate()!==void 0&&t.setCreationDate(this.getCreationDate()),this.getCreator()!==void 0&&t.setCreator(this.getCreator()),this.getModificationDate()!==void 0&&t.setModificationDate(this.getModificationDate()),this.getProducer()!==void 0&&t.setProducer(this.getProducer()),this.getSubject()!==void 0&&t.setSubject(this.getSubject()),this.getTitle()!==void 0&&t.setTitle(this.getTitle()),t.defaultWordBreaks=this.defaultWordBreaks,[2,t]}})})},e.prototype.addJavaScript=function(t,r){Be(t,"name",["string"]),Be(r,"script",["string"]);var n=gdt.for(r,t),i=this.context.nextRef(),a=mdt.of(i,this,n);this.javaScripts.push(a)},e.prototype.attach=function(t,r,n){return n===void 0&&(n={}),Sr(this,void 0,void 0,function(){var i,a,o,s;return wr(this,function(l){return Be(t,"attachment",["string",Uint8Array,ArrayBuffer]),Be(r,"name",["string"]),dt(n.mimeType,"mimeType",["string"]),dt(n.description,"description",["string"]),dt(n.creationDate,"options.creationDate",[Date]),dt(n.modificationDate,"options.modificationDate",[Date]),kl(n.afRelationship,"options.afRelationship",KD),i=R1(t),a=Vct.for(i,r,n),o=this.context.nextRef(),s=pdt.of(o,this,a),this.embeddedFiles.push(s),[2]})})},e.prototype.embedFont=function(t,r){return r===void 0&&(r={}),Sr(this,void 0,void 0,function(){var n,i,a,o,s,l,c,u,d,f;return wr(this,function(h){switch(h.label){case 0:return n=r.subset,i=n===void 0?!1:n,a=r.customName,o=r.features,Be(t,"font",["string",Uint8Array,ArrayBuffer]),Be(i,"subset",["boolean"]),DZ(t)?(s=o_.for(t,a),[3,7]):[3,1];case 1:return Uot(t)?(l=R1(t),c=this.assertFontkit(),i?[4,Wct.for(c,l,a,o)]:[3,3]):[3,6];case 2:return u=h.sent(),[3,5];case 3:return[4,yM.for(c,l,a,o)];case 4:u=h.sent(),h.label=5;case 5:return s=u,[3,7];case 6:throw new TypeError("`font` must be one of `StandardFonts | string | Uint8Array | ArrayBuffer`");case 7:return d=this.context.nextRef(),f=ll.of(d,this,s),this.fonts.push(f),[2,f]}})})},e.prototype.embedStandardFont=function(t,r){if(Be(t,"font",["string"]),!DZ(t))throw new TypeError("`font` must be one of type `StandardFonts`");var n=o_.for(t,r),i=this.context.nextRef(),a=ll.of(i,this,n);return this.fonts.push(a),a},e.prototype.embedJpg=function(t){return Sr(this,void 0,void 0,function(){var r,n,i,a;return wr(this,function(o){switch(o.label){case 0:return Be(t,"jpg",["string",Uint8Array,ArrayBuffer]),r=R1(t),[4,_ue.for(r)];case 1:return n=o.sent(),i=this.context.nextRef(),a=XD.of(i,this,n),this.images.push(a),[2,a]}})})},e.prototype.embedPng=function(t){return Sr(this,void 0,void 0,function(){var r,n,i,a;return wr(this,function(o){switch(o.label){case 0:return Be(t,"png",["string",Uint8Array,ArrayBuffer]),r=R1(t),[4,Pue.for(r)];case 1:return n=o.sent(),i=this.context.nextRef(),a=XD.of(i,this,n),this.images.push(a),[2,a]}})})},e.prototype.embedPdf=function(t,r){return r===void 0&&(r=[0]),Sr(this,void 0,void 0,function(){var n,i,a;return wr(this,function(o){switch(o.label){case 0:return Be(t,"pdf",["string",Uint8Array,ArrayBuffer,[e,"PDFDocument"]]),Be(r,"indices",[Array]),t instanceof e?(i=t,[3,3]):[3,1];case 1:return[4,e.load(t)];case 2:i=o.sent(),o.label=3;case 3:return n=i,a=Bot(n.getPages(),r),[2,this.embedPages(a)]}})})},e.prototype.embedPage=function(t,r,n){return Sr(this,void 0,void 0,function(){var i;return wr(this,function(a){switch(a.label){case 0:return Be(t,"page",[[Hl,"PDFPage"]]),[4,this.embedPages([t],[r],[n])];case 1:return i=a.sent()[0],[2,i]}})})},e.prototype.embedPages=function(t,r,n){return r===void 0&&(r=[]),n===void 0&&(n=[]),Sr(this,void 0,void 0,function(){var c,u,i,a,o,s,l,c,u,d,f,h,p,g,v;return wr(this,function(m){switch(m.label){case 0:if(t.length===0)return[2,[]];for(c=0,u=t.length-1;c<u;c++)if(i=t[c],a=t[c+1],i.node.context!==a.node.context)throw new gct;o=t[0].node.context,s=o===this.context?function(b){return b}:WZ.for(o,this.context).copy,l=new Array(t.length),c=0,u=t.length,m.label=1;case 1:return c<u?(d=s(t[c].node),f=r[c],h=n[c],[4,Iue.for(d,f,h)]):[3,4];case 2:p=m.sent(),g=this.context.nextRef(),l[c]=ode.of(g,this,p),m.label=3;case 3:return c++,[3,1];case 4:return(v=this.embeddedPages).push.apply(v,l),[2,l]}})})},e.prototype.flush=function(){return Sr(this,void 0,void 0,function(){return wr(this,function(t){switch(t.label){case 0:return[4,this.embedAll(this.fonts)];case 1:return t.sent(),[4,this.embedAll(this.images)];case 2:return t.sent(),[4,this.embedAll(this.embeddedPages)];case 3:return t.sent(),[4,this.embedAll(this.embeddedFiles)];case 4:return t.sent(),[4,this.embedAll(this.javaScripts)];case 5:return t.sent(),[2]}})})},e.prototype.save=function(t){return t===void 0&&(t={}),Sr(this,void 0,void 0,function(){var r,n,i,a,o,s,l,c,u,d;return wr(this,function(f){switch(f.label){case 0:return r=t.useObjectStreams,n=r===void 0?!0:r,i=t.addDefaultPage,a=i===void 0?!0:i,o=t.objectsPerTick,s=o===void 0?50:o,l=t.updateFieldAppearances,c=l===void 0?!0:l,Be(n,"useObjectStreams",["boolean"]),Be(a,"addDefaultPage",["boolean"]),Be(s,"objectsPerTick",["number"]),Be(c,"updateFieldAppearances",["boolean"]),a&&this.getPageCount()===0&&this.addPage(),c&&(u=this.formCache.getValue(),u&&u.updateFieldAppearances()),[4,this.flush()];case 1:return f.sent(),d=n?Lct:kue,[2,d.forContext(this.context,s).serializeToBuffer()]}})})},e.prototype.saveAsBase64=function(t){return t===void 0&&(t={}),Sr(this,void 0,void 0,function(){var r,n,i,a,o;return wr(this,function(s){switch(s.label){case 0:return r=t.dataUri,n=r===void 0?!1:r,i=Sot(t,["dataUri"]),Be(n,"dataUri",["boolean"]),[4,this.save(i)];case 1:return a=s.sent(),o=wot(a),[2,n?"data:application/pdf;base64,"+o:o]}})})},e.prototype.findPageForAnnotationRef=function(t){for(var r=this.getPages(),n=0,i=r.length;n<i;n++){var a=r[n],o=a.node.Annots();if((o==null?void 0:o.indexOf(t))!==void 0)return a}},e.prototype.embedAll=function(t){return Sr(this,void 0,void 0,function(){var r,n;return wr(this,function(i){switch(i.label){case 0:r=0,n=t.length,i.label=1;case 1:return r<n?[4,t[r].embed()]:[3,4];case 2:i.sent(),i.label=3;case 3:return r++,[3,1];case 4:return[2]}})})},e.prototype.updateInfoDict=function(){var t="pdf-lib (https://github.com/Hopding/pdf-lib)",r=new Date,n=this.getInfoDict();this.setProducer(t),this.setModificationDate(r),n.get(ue.of("Creator"))||this.setCreator(t),n.get(ue.of("CreationDate"))||this.setCreationDate(r)},e.prototype.getInfoDict=function(){var t=this.context.lookup(this.context.trailerInfo.Info);if(t instanceof gr)return t;var r=this.context.obj({});return this.context.trailerInfo.Info=this.context.register(r),r},e.prototype.assertFontkit=function(){if(!this.fontkit)throw new Vut;return this.fontkit},e}();function Hf(e){if(!(e instanceof Qt)&&!(e instanceof mn))throw new i_([Qt,mn],e)}var Nd;(function(e){e.Normal="Normal",e.Multiply="Multiply",e.Screen="Screen",e.Overlay="Overlay",e.Darken="Darken",e.Lighten="Lighten",e.ColorDodge="ColorDodge",e.ColorBurn="ColorBurn",e.HardLight="HardLight",e.SoftLight="SoftLight",e.Difference="Difference",e.Exclusion="Exclusion"})(Nd||(Nd={}));var Hl=function(){function e(t,r,n){this.fontSize=24,this.fontColor=vn(0,0,0),this.lineHeight=24,this.x=0,this.y=0,Be(t,"leafNode",[[ef,"PDFPageLeaf"]]),Be(r,"ref",[[gn,"PDFRef"]]),Be(n,"doc",[[mf,"PDFDocument"]]),this.node=t,this.ref=r,this.doc=n}return e.prototype.setRotation=function(t){var r=que(t);Sue(r,"degreesAngle",90),this.node.set(ue.of("Rotate"),this.doc.context.obj(r))},e.prototype.getRotation=function(){var t=this.node.Rotate();return er(t?t.asNumber():0)},e.prototype.setSize=function(t,r){Be(t,"width",["number"]),Be(r,"height",["number"]);var n=this.getMediaBox();this.setMediaBox(n.x,n.y,t,r);var i=this.getCropBox(),a=this.getBleedBox(),o=this.getTrimBox(),s=this.getArtBox(),l=this.node.CropBox(),c=this.node.BleedBox(),u=this.node.TrimBox(),d=this.node.ArtBox();l&&VC(i,n)&&this.setCropBox(n.x,n.y,t,r),c&&VC(a,n)&&this.setBleedBox(n.x,n.y,t,r),u&&VC(o,n)&&this.setTrimBox(n.x,n.y,t,r),d&&VC(s,n)&&this.setArtBox(n.x,n.y,t,r)},e.prototype.setWidth=function(t){Be(t,"width",["number"]),this.setSize(t,this.getSize().height)},e.prototype.setHeight=function(t){Be(t,"height",["number"]),this.setSize(this.getSize().width,t)},e.prototype.setMediaBox=function(t,r,n,i){Be(t,"x",["number"]),Be(r,"y",["number"]),Be(n,"width",["number"]),Be(i,"height",["number"]);var a=this.doc.context.obj([t,r,t+n,r+i]);this.node.set(ue.MediaBox,a)},e.prototype.setCropBox=function(t,r,n,i){Be(t,"x",["number"]),Be(r,"y",["number"]),Be(n,"width",["number"]),Be(i,"height",["number"]);var a=this.doc.context.obj([t,r,t+n,r+i]);this.node.set(ue.CropBox,a)},e.prototype.setBleedBox=function(t,r,n,i){Be(t,"x",["number"]),Be(r,"y",["number"]),Be(n,"width",["number"]),Be(i,"height",["number"]);var a=this.doc.context.obj([t,r,t+n,r+i]);this.node.set(ue.BleedBox,a)},e.prototype.setTrimBox=function(t,r,n,i){Be(t,"x",["number"]),Be(r,"y",["number"]),Be(n,"width",["number"]),Be(i,"height",["number"]);var a=this.doc.context.obj([t,r,t+n,r+i]);this.node.set(ue.TrimBox,a)},e.prototype.setArtBox=function(t,r,n,i){Be(t,"x",["number"]),Be(r,"y",["number"]),Be(n,"width",["number"]),Be(i,"height",["number"]);var a=this.doc.context.obj([t,r,t+n,r+i]);this.node.set(ue.ArtBox,a)},e.prototype.getSize=function(){var t=this.getMediaBox(),r=t.width,n=t.height;return{width:r,height:n}},e.prototype.getWidth=function(){return this.getSize().width},e.prototype.getHeight=function(){return this.getSize().height},e.prototype.getMediaBox=function(){var t=this.node.MediaBox();return t.asRectangle()},e.prototype.getCropBox=function(){var t,r=this.node.CropBox();return(t=r==null?void 0:r.asRectangle())!==null&&t!==void 0?t:this.getMediaBox()},e.prototype.getBleedBox=function(){var t,r=this.node.BleedBox();return(t=r==null?void 0:r.asRectangle())!==null&&t!==void 0?t:this.getCropBox()},e.prototype.getTrimBox=function(){var t,r=this.node.TrimBox();return(t=r==null?void 0:r.asRectangle())!==null&&t!==void 0?t:this.getCropBox()},e.prototype.getArtBox=function(){var t,r=this.node.ArtBox();return(t=r==null?void 0:r.asRectangle())!==null&&t!==void 0?t:this.getCropBox()},e.prototype.translateContent=function(t,r){Be(t,"x",["number"]),Be(r,"y",["number"]),this.node.normalize(),this.getContentStream();var n=this.createContentStream(sa(),Zl(t,r)),i=this.doc.context.register(n),a=this.createContentStream(la()),o=this.doc.context.register(a);this.node.wrapContentStreams(i,o)},e.prototype.scale=function(t,r){Be(t,"x",["number"]),Be(r,"y",["number"]),this.setSize(this.getWidth()*t,this.getHeight()*r),this.scaleContent(t,r),this.scaleAnnotations(t,r)},e.prototype.scaleContent=function(t,r){Be(t,"x",["number"]),Be(r,"y",["number"]),this.node.normalize(),this.getContentStream();var n=this.createContentStream(sa(),Mw(t,r)),i=this.doc.context.register(n),a=this.createContentStream(la()),o=this.doc.context.register(a);this.node.wrapContentStreams(i,o)},e.prototype.scaleAnnotations=function(t,r){Be(t,"x",["number"]),Be(r,"y",["number"]);var n=this.node.Annots();if(n)for(var i=0;i<n.size();i++){var a=n.lookup(i);a instanceof gr&&this.scaleAnnot(a,t,r)}},e.prototype.resetPosition=function(){this.getContentStream(!1),this.x=0,this.y=0},e.prototype.setFont=function(t){Be(t,"font",[[ll,"PDFFont"]]),this.font=t,this.fontKey=this.node.newFontDictionary(this.font.name,this.font.ref)},e.prototype.setFontSize=function(t){Be(t,"fontSize",["number"]),this.fontSize=t},e.prototype.setFontColor=function(t){Be(t,"fontColor",[[Object,"Color"]]),this.fontColor=t},e.prototype.setLineHeight=function(t){Be(t,"lineHeight",["number"]),this.lineHeight=t},e.prototype.getPosition=function(){return{x:this.x,y:this.y}},e.prototype.getX=function(){return this.x},e.prototype.getY=function(){return this.y},e.prototype.moveTo=function(t,r){Be(t,"x",["number"]),Be(r,"y",["number"]),this.x=t,this.y=r},e.prototype.moveDown=function(t){Be(t,"yDecrease",["number"]),this.y-=t},e.prototype.moveUp=function(t){Be(t,"yIncrease",["number"]),this.y+=t},e.prototype.moveLeft=function(t){Be(t,"xDecrease",["number"]),this.x-=t},e.prototype.moveRight=function(t){Be(t,"xIncrease",["number"]),this.x+=t},e.prototype.pushOperators=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];bue(t,"operator",[[qr,"PDFOperator"]]);var n=this.getContentStream();n.push.apply(n,t)},e.prototype.drawText=function(t,r){var n,i,a,o,s,l,c;r===void 0&&(r={}),Be(t,"text",["string"]),dt(r.color,"options.color",[[Object,"Color"]]),_c(r.opacity,"opacity.opacity",0,1),dt(r.font,"options.font",[[ll,"PDFFont"]]),dt(r.size,"options.size",["number"]),dt(r.rotate,"options.rotate",[[Object,"Rotation"]]),dt(r.xSkew,"options.xSkew",[[Object,"Rotation"]]),dt(r.ySkew,"options.ySkew",[[Object,"Rotation"]]),dt(r.x,"options.x",["number"]),dt(r.y,"options.y",["number"]),dt(r.lineHeight,"options.lineHeight",["number"]),dt(r.maxWidth,"options.maxWidth",["number"]),dt(r.wordBreaks,"options.wordBreaks",[Array]),kl(r.blendMode,"options.blendMode",Nd);for(var u=this.setOrEmbedFont(r.font),d=u.oldFont,f=u.newFont,h=u.newFontKey,p=r.size||this.fontSize,g=r.wordBreaks||this.doc.defaultWordBreaks,v=function(T){return f.widthOfTextAtSize(T,p)},m=r.maxWidth===void 0?Sce(Qx(t)):Oot(t,g,r.maxWidth,v),b=new Array(m.length),y=0,w=m.length;y<w;y++)b[y]=f.encodeText(m[y]);var x=this.maybeEmbedGraphicsState({opacity:r.opacity,blendMode:r.blendMode}),C=this.getContentStream();C.push.apply(C,Nut(b,{color:(n=r.color)!==null&&n!==void 0?n:this.fontColor,font:h,size:p,rotate:(i=r.rotate)!==null&&i!==void 0?i:er(0),xSkew:(a=r.xSkew)!==null&&a!==void 0?a:er(0),ySkew:(o=r.ySkew)!==null&&o!==void 0?o:er(0),x:(s=r.x)!==null&&s!==void 0?s:this.x,y:(l=r.y)!==null&&l!==void 0?l:this.y,lineHeight:(c=r.lineHeight)!==null&&c!==void 0?c:this.lineHeight,graphicsState:x})),r.font&&(d?this.setFont(d):this.resetFont())},e.prototype.drawImage=function(t,r){var n,i,a,o,s,l,c;r===void 0&&(r={}),Be(t,"image",[[XD,"PDFImage"]]),dt(r.x,"options.x",["number"]),dt(r.y,"options.y",["number"]),dt(r.width,"options.width",["number"]),dt(r.height,"options.height",["number"]),dt(r.rotate,"options.rotate",[[Object,"Rotation"]]),dt(r.xSkew,"options.xSkew",[[Object,"Rotation"]]),dt(r.ySkew,"options.ySkew",[[Object,"Rotation"]]),_c(r.opacity,"opacity.opacity",0,1),kl(r.blendMode,"options.blendMode",Nd);var u=this.node.newXObject("Image",t.ref),d=this.maybeEmbedGraphicsState({opacity:r.opacity,blendMode:r.blendMode}),f=this.getContentStream();f.push.apply(f,Jue(u,{x:(n=r.x)!==null&&n!==void 0?n:this.x,y:(i=r.y)!==null&&i!==void 0?i:this.y,width:(a=r.width)!==null&&a!==void 0?a:t.size().width,height:(o=r.height)!==null&&o!==void 0?o:t.size().height,rotate:(s=r.rotate)!==null&&s!==void 0?s:er(0),xSkew:(l=r.xSkew)!==null&&l!==void 0?l:er(0),ySkew:(c=r.ySkew)!==null&&c!==void 0?c:er(0),graphicsState:d}))},e.prototype.drawPage=function(t,r){var n,i,a,o,s;r===void 0&&(r={}),Be(t,"embeddedPage",[[ode,"PDFEmbeddedPage"]]),dt(r.x,"options.x",["number"]),dt(r.y,"options.y",["number"]),dt(r.xScale,"options.xScale",["number"]),dt(r.yScale,"options.yScale",["number"]),dt(r.width,"options.width",["number"]),dt(r.height,"options.height",["number"]),dt(r.rotate,"options.rotate",[[Object,"Rotation"]]),dt(r.xSkew,"options.xSkew",[[Object,"Rotation"]]),dt(r.ySkew,"options.ySkew",[[Object,"Rotation"]]),_c(r.opacity,"opacity.opacity",0,1),kl(r.blendMode,"options.blendMode",Nd);var l=this.node.newXObject("EmbeddedPdfPage",t.ref),c=this.maybeEmbedGraphicsState({opacity:r.opacity,blendMode:r.blendMode}),u=r.width!==void 0?r.width/t.width:r.xScale!==void 0?r.xScale:1,d=r.height!==void 0?r.height/t.height:r.yScale!==void 0?r.yScale:1,f=this.getContentStream();f.push.apply(f,Mut(l,{x:(n=r.x)!==null&&n!==void 0?n:this.x,y:(i=r.y)!==null&&i!==void 0?i:this.y,xScale:u,yScale:d,rotate:(a=r.rotate)!==null&&a!==void 0?a:er(0),xSkew:(o=r.xSkew)!==null&&o!==void 0?o:er(0),ySkew:(s=r.ySkew)!==null&&s!==void 0?s:er(0),graphicsState:c}))},e.prototype.drawSvgPath=function(t,r){var n,i,a,o,s,l,c,u,d;r===void 0&&(r={}),Be(t,"path",["string"]),dt(r.x,"options.x",["number"]),dt(r.y,"options.y",["number"]),dt(r.scale,"options.scale",["number"]),dt(r.rotate,"options.rotate",[[Object,"Rotation"]]),dt(r.borderWidth,"options.borderWidth",["number"]),dt(r.color,"options.color",[[Object,"Color"]]),_c(r.opacity,"opacity.opacity",0,1),dt(r.borderColor,"options.borderColor",[[Object,"Color"]]),dt(r.borderDashArray,"options.borderDashArray",[Array]),dt(r.borderDashPhase,"options.borderDashPhase",["number"]),kl(r.borderLineCap,"options.borderLineCap",Mg),_c(r.borderOpacity,"options.borderOpacity",0,1),kl(r.blendMode,"options.blendMode",Nd);var f=this.maybeEmbedGraphicsState({opacity:r.opacity,borderOpacity:r.borderOpacity,blendMode:r.blendMode});!("color"in r)&&!("borderColor"in r)&&(r.borderColor=vn(0,0,0));var h=this.getContentStream();h.push.apply(h,zut(t,{x:(n=r.x)!==null&&n!==void 0?n:this.x,y:(i=r.y)!==null&&i!==void 0?i:this.y,scale:r.scale,rotate:(a=r.rotate)!==null&&a!==void 0?a:er(0),color:(o=r.color)!==null&&o!==void 0?o:void 0,borderColor:(s=r.borderColor)!==null&&s!==void 0?s:void 0,borderWidth:(l=r.borderWidth)!==null&&l!==void 0?l:0,borderDashArray:(c=r.borderDashArray)!==null&&c!==void 0?c:void 0,borderDashPhase:(u=r.borderDashPhase)!==null&&u!==void 0?u:void 0,borderLineCap:(d=r.borderLineCap)!==null&&d!==void 0?d:void 0,graphicsState:f}))},e.prototype.drawLine=function(t){var r,n,i,a,o;Be(t.start,"options.start",[[Object,"{ x: number, y: number }"]]),Be(t.end,"options.end",[[Object,"{ x: number, y: number }"]]),Be(t.start.x,"options.start.x",["number"]),Be(t.start.y,"options.start.y",["number"]),Be(t.end.x,"options.end.x",["number"]),Be(t.end.y,"options.end.y",["number"]),dt(t.thickness,"options.thickness",["number"]),dt(t.color,"options.color",[[Object,"Color"]]),dt(t.dashArray,"options.dashArray",[Array]),dt(t.dashPhase,"options.dashPhase",["number"]),kl(t.lineCap,"options.lineCap",Mg),_c(t.opacity,"opacity.opacity",0,1),kl(t.blendMode,"options.blendMode",Nd);var s=this.maybeEmbedGraphicsState({borderOpacity:t.opacity,blendMode:t.blendMode});"color"in t||(t.color=vn(0,0,0));var l=this.getContentStream();l.push.apply(l,Lut({start:t.start,end:t.end,thickness:(r=t.thickness)!==null&&r!==void 0?r:1,color:(n=t.color)!==null&&n!==void 0?n:void 0,dashArray:(i=t.dashArray)!==null&&i!==void 0?i:void 0,dashPhase:(a=t.dashPhase)!==null&&a!==void 0?a:void 0,lineCap:(o=t.lineCap)!==null&&o!==void 0?o:void 0,graphicsState:s}))},e.prototype.drawRectangle=function(t){var r,n,i,a,o,s,l,c,u,d,f,h,p;t===void 0&&(t={}),dt(t.x,"options.x",["number"]),dt(t.y,"options.y",["number"]),dt(t.width,"options.width",["number"]),dt(t.height,"options.height",["number"]),dt(t.rotate,"options.rotate",[[Object,"Rotation"]]),dt(t.xSkew,"options.xSkew",[[Object,"Rotation"]]),dt(t.ySkew,"options.ySkew",[[Object,"Rotation"]]),dt(t.borderWidth,"options.borderWidth",["number"]),dt(t.color,"options.color",[[Object,"Color"]]),_c(t.opacity,"opacity.opacity",0,1),dt(t.borderColor,"options.borderColor",[[Object,"Color"]]),dt(t.borderDashArray,"options.borderDashArray",[Array]),dt(t.borderDashPhase,"options.borderDashPhase",["number"]),kl(t.borderLineCap,"options.borderLineCap",Mg),_c(t.borderOpacity,"options.borderOpacity",0,1),kl(t.blendMode,"options.blendMode",Nd);var g=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});!("color"in t)&&!("borderColor"in t)&&(t.color=vn(0,0,0));var v=this.getContentStream();v.push.apply(v,Qv({x:(r=t.x)!==null&&r!==void 0?r:this.x,y:(n=t.y)!==null&&n!==void 0?n:this.y,width:(i=t.width)!==null&&i!==void 0?i:150,height:(a=t.height)!==null&&a!==void 0?a:100,rotate:(o=t.rotate)!==null&&o!==void 0?o:er(0),xSkew:(s=t.xSkew)!==null&&s!==void 0?s:er(0),ySkew:(l=t.ySkew)!==null&&l!==void 0?l:er(0),borderWidth:(c=t.borderWidth)!==null&&c!==void 0?c:0,color:(u=t.color)!==null&&u!==void 0?u:void 0,borderColor:(d=t.borderColor)!==null&&d!==void 0?d:void 0,borderDashArray:(f=t.borderDashArray)!==null&&f!==void 0?f:void 0,borderDashPhase:(h=t.borderDashPhase)!==null&&h!==void 0?h:void 0,graphicsState:g,borderLineCap:(p=t.borderLineCap)!==null&&p!==void 0?p:void 0}))},e.prototype.drawSquare=function(t){t===void 0&&(t={});var r=t.size;dt(r,"size",["number"]),this.drawRectangle(cr(cr({},t),{width:r,height:r}))},e.prototype.drawEllipse=function(t){var r,n,i,a,o,s,l,c,u,d,f;t===void 0&&(t={}),dt(t.x,"options.x",["number"]),dt(t.y,"options.y",["number"]),dt(t.xScale,"options.xScale",["
512number"]),dt(t.yScale,"options.yScale",["number"]),dt(t.rotate,"options.rotate",[[Object,"Rotation"]]),dt(t.color,"options.color",[[Object,"Color"]]),_c(t.opacity,"opacity.opacity",0,1),dt(t.borderColor,"options.borderColor",[[Object,"Color"]]),_c(t.borderOpacity,"options.borderOpacity",0,1),dt(t.borderWidth,"options.borderWidth",["number"]),dt(t.borderDashArray,"options.borderDashArray",[Array]),dt(t.borderDashPhase,"options.borderDashPhase",["number"]),kl(t.borderLineCap,"options.borderLineCap",Mg),kl(t.blendMode,"options.blendMode",Nd);var h=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});!("color"in t)&&!("borderColor"in t)&&(t.color=vn(0,0,0));var p=this.getContentStream();p.push.apply(p,$D({x:(r=t.x)!==null&&r!==void 0?r:this.x,y:(n=t.y)!==null&&n!==void 0?n:this.y,xScale:(i=t.xScale)!==null&&i!==void 0?i:100,yScale:(a=t.yScale)!==null&&a!==void 0?a:100,rotate:(o=t.rotate)!==null&&o!==void 0?o:void 0,color:(s=t.color)!==null&&s!==void 0?s:void 0,borderColor:(l=t.borderColor)!==null&&l!==void 0?l:void 0,borderWidth:(c=t.borderWidth)!==null&&c!==void 0?c:0,borderDashArray:(u=t.borderDashArray)!==null&&u!==void 0?u:void 0,borderDashPhase:(d=t.borderDashPhase)!==null&&d!==void 0?d:void 0,borderLineCap:(f=t.borderLineCap)!==null&&f!==void 0?f:void 0,graphicsState:h}))},e.prototype.drawCircle=function(t){t===void 0&&(t={});var r=t.size,n=r===void 0?100:r;dt(n,"size",["number"]),this.drawEllipse(cr(cr({},t),{xScale:n,yScale:n}))},e.prototype.setOrEmbedFont=function(t){var r=this.font,n=this.fontKey;t?this.setFont(t):this.getFont();var i=this.font,a=this.fontKey;return{oldFont:r,oldFontKey:n,newFont:i,newFontKey:a}},e.prototype.getFont=function(){if(!this.font||!this.fontKey){var t=this.doc.embedStandardFont(m_.Helvetica);this.setFont(t)}return[this.font,this.fontKey]},e.prototype.resetFont=function(){this.font=void 0,this.fontKey=void 0},e.prototype.getContentStream=function(t){return t===void 0&&(t=!0),t&&this.contentStream?this.contentStream:(this.contentStream=this.createContentStream(),this.contentStreamRef=this.doc.context.register(this.contentStream),this.node.addContentStream(this.contentStreamRef),this.contentStream)},e.prototype.createContentStream=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=this.doc.context.obj({}),i=Kb.of(n,t);return i},e.prototype.maybeEmbedGraphicsState=function(t){var r=t.opacity,n=t.borderOpacity,i=t.blendMode;if(!(r===void 0&&n===void 0&&i===void 0)){var a=this.doc.context.obj({Type:"ExtGState",ca:r,CA:n,BM:i}),o=this.node.newExtGState("GS",a);return o}},e.prototype.scaleAnnot=function(t,r,n){for(var i=["RD","CL","Vertices","QuadPoints","L","Rect"],a=0,o=i.length;a<o;a++){var s=t.lookup(ue.of(i[a]));s instanceof en&&s.scalePDFNumbers(r,n)}var l=t.lookup(ue.of("InkList"));if(l instanceof en)for(var a=0,o=l.size();a<o;a++){var c=l.lookup(a);c instanceof en&&c.scalePDFNumbers(r,n)}},e.of=function(t,r,n){return new e(t,r,n)},e.create=function(t){Be(t,"doc",[[mf,"PDFDocument"]]);var r=gn.of(-1),n=ef.withContextAndParent(t.context,r),i=t.context.register(n);return new e(n,i,t)},e}(),pk=function(e){ft(t,e);function t(r,n,i){var a=e.call(this,r,n,i)||this;return Be(r,"acroButton",[[GA,"PDFAcroPushButton"]]),a.acroField=r,a}return t.prototype.setImage=function(r,n){n===void 0&&(n=Bh.Center);for(var i=this.acroField.getWidgets(),a=0,o=i.length;a<o;a++){var s=i[a],l=this.createImageAppearanceStream(s,r,n);this.updateWidgetAppearances(s,{normal:l})}this.markAsClean()},t.prototype.setFontSize=function(r){HA(r,"fontSize"),this.acroField.setFontSize(r),this.markAsDirty()},t.prototype.addToPage=function(r,n,i){var a,o,s,l,c,u,d,f,h,p,g;dt(r,"text",["string"]),dt(n,"page",[[Hl,"PDFPage"]]),Hy(i);var v=this.createWidget({x:((a=i==null?void 0:i.x)!==null&&a!==void 0?a:0)-((o=i==null?void 0:i.borderWidth)!==null&&o!==void 0?o:0)/2,y:((s=i==null?void 0:i.y)!==null&&s!==void 0?s:0)-((l=i==null?void 0:i.borderWidth)!==null&&l!==void 0?l:0)/2,width:(c=i==null?void 0:i.width)!==null&&c!==void 0?c:100,height:(u=i==null?void 0:i.height)!==null&&u!==void 0?u:50,textColor:(d=i==null?void 0:i.textColor)!==null&&d!==void 0?d:vn(0,0,0),backgroundColor:(f=i==null?void 0:i.backgroundColor)!==null&&f!==void 0?f:vn(.75,.75,.75),borderColor:i==null?void 0:i.borderColor,borderWidth:(h=i==null?void 0:i.borderWidth)!==null&&h!==void 0?h:0,rotate:(p=i==null?void 0:i.rotate)!==null&&p!==void 0?p:er(0),caption:r,hidden:i==null?void 0:i.hidden,page:n.ref}),m=this.doc.context.register(v.dict);this.acroField.addWidget(m);var b=(g=i==null?void 0:i.font)!==null&&g!==void 0?g:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(v,b),n.node.addAnnot(m)},t.prototype.needsAppearancesUpdate=function(){var r;if(this.isDirty())return!0;for(var n=this.acroField.getWidgets(),i=0,a=n.length;i<a;i++){var o=n[i],s=((r=o.getAppearances())===null||r===void 0?void 0:r.normal)instanceof al;if(!s)return!0}return!1},t.prototype.defaultUpdateAppearances=function(r){Be(r,"font",[[ll,"PDFFont"]]),this.updateAppearances(r)},t.prototype.updateAppearances=function(r,n){Be(r,"font",[[ll,"PDFFont"]]),dt(n,"provider",[Function]);for(var i=this.acroField.getWidgets(),a=0,o=i.length;a<o;a++){var s=i[a];this.updateWidgetAppearance(s,r,n)}},t.prototype.updateWidgetAppearance=function(r,n,i){var a=i??sdt,o=zy(a(this,r,n));this.updateWidgetAppearanceWithFont(r,n,o)},t.of=function(r,n,i){return new t(r,n,i)},t}(C0);/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Vl=1200,vdt=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],FM={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},DM=function(e){vdt.indexOf(e)!=-1&&(FM[0]=e)};function ydt(){DM(1252)}var Vc=function(e){Vl=e,DM(e)};function sde(){Vc(1200),ydt()}function aY(e){for(var t=[],r=0,n=e.length;r<n;++r)t[r]=e.charCodeAt(r);return t}function lde(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}function bdt(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e[2*r]+(e[2*r+1]<<8));return t.join("")}function cde(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var lb=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return t==255&&r==254?lde(e.slice(2)):t==254&&r==255?cde(e.slice(2)):t==65279?e.slice(1):e},QC=function(t){return String.fromCharCode(t)},oY=function(t){return String.fromCharCode(t)},Sdt=null,Th="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
512+/=";function sY(e){for(var t="",r=0,n=0,i=0,a=0,o=0,s=0,l=0,c=0;c<e.length;)r=e.charCodeAt(c++),a=r>>2,n=e.charCodeAt(c++),o=(r&3)<<4|n>>4,i=e.charCodeAt(c++),s=(n&15)<<2|i>>6,l=i&63,isNaN(n)?s=l=64:isNaN(i)&&(l=64),t+=Th.charAt(a)+Th.charAt(o)+Th.charAt(s)+Th.charAt(l);return t}function cl(e){var t="",r=0,n=0,i=0,a=0,o=0,s=0,l=0;if(e.slice(0,5)=="data:"){var c=e.slice(0,1024).indexOf(";base64,");c>-1&&(e=e.slice(c+8))}e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<e.length;)a=Th.indexOf(e.charAt(c++)),o=Th.indexOf(e.charAt(c++)),r=a<<2|o>>4,t+=String.fromCharCode(r),s=Th.indexOf(e.charAt(c++)),n=(o&15)<<4|s>>2,s!==64&&(t+=String.fromCharCode(n)),l=Th.indexOf(e.charAt(c++)),i=(s&3)<<6|l,l!==64&&(t+=String.fromCharCode(i));return t}var Ur=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),mp=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(t,r){return r?new Buffer(t,r):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}(),Lw=function(){if(typeof Buffer>"u")return!1;var e=mp([65,0]);if(!e)return!1;var t=e.toString("utf16le");return t.length==1}();function ep(e){return Ur?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function lY(e){return Ur?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var qs=function(t){return Ur?mp(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)&255})};function gf(e){if(Array.isArray(e))return e.map(function(n){return String.fromCharCode(n)}).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function NM(e){if(typeof ArrayBuffer>"u")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return NM(new Uint8Array(e));for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t}var hh=Ur?function(e){return Buffer.concat(e.map(function(t){return Buffer.isBuffer(t)?t:mp(t)}))}:function(e){if(typeof Uint8Array<"u"){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),i=0;for(t=0,r=0;t<e.length;r+=i,++t)i=e[t].length,e[t]instanceof Uint8Array?n.set(e[t],r):typeof e[t]=="string"?n.set(new Uint8Array(qs(e[t])),r):n.set(new Uint8Array(e[t]),r);return n}return[].concat.apply([],e.map(function(a){return Array.isArray(a)?a:[].slice.call(a)}))};function wdt(e){for(var t=[],r=0,n=e.length+250,i=ep(e.length+255),a=0;a<e.length;++a){var o=e.charCodeAt(a);if(o<128)i[r++]=o;else if(o<2048)i[r++]=192|o>>6&31,i[r++]=128|o&63;else if(o>=55296&&o<57344){o=(o&1023)+64;var s=e.charCodeAt(++a)&1023;i[r++]=240|o>>8&7,i[r++]=128|o>>2&63,i[r++]=128|s>>6&15|(o&3)<<4,i[r++]=128|s&63}else i[r++]=224|o>>12&15,i[r++]=128|o>>6&63,i[r++]=128|o&63;r>n&&(t.push(i.slice(0,r)),r=0,i=ep(65535),n=65530)}return t.push(i.slice(0,r)),hh(t)}var jo=/\u0000/g,cb=/[\u0001-\u0006]/g;function hv(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function jc(e,t){var r=""+e;return r.length>=t?r:jr("0",t-r.length)+r}function MM(e,t){var r=""+e;return r.length>=t?r:jr(" ",t-r.length)+r}function g_(e,t){var r=""+e;return r.length>=t?r:r+jr(" ",t-r.length)}function xdt(e,t){var r=""+Math.round(e);return r.length>=t?r:jr("0",t-r.length)+r}function Cdt(e,t){var r=""+e;return r.length>=t?r:jr("0",t-r.length)+r}var cY=Math.pow(2,32);function tg(e,t){if(e>cY||e<-cY)return xdt(e,t);var r=Math.round(e);return Cdt(r,t)}function v_(e,t){return t=t||0,e.length>=7+t&&(e.charCodeAt(t)|32)===103&&(e.charCodeAt(t+1)|32)===101&&(e.charCodeAt(t+2)|32)===110&&(e.charCodeAt(t+3)|32)===101&&(e.charCodeAt(t+4)|32)===114&&(e.charCodeAt(t+5)|32)===97&&(e.charCodeAt(t+6)|32)===108}var uY=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],hR=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function Edt(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11
vendor: 6,106 bytes, line 512
512]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}var sr={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},dY={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},kdt={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function y_(e,t,r){for(var n=e<0?-1:1,i=e*n,a=0,o=1,s=0,l=1,c=0,u=0,d=Math.floor(i);c<t&&(d=Math.floor(i),s=d*o+a,u=d*c+l,!(i-d<5e-8));)i=1/(i-d),a=o,o=s,l=c,c=u;if(u>t&&(c>t?(u=l,s=a):(u=c,s=o)),!r)return[0,n*s,u];var f=Math.floor(n*s/u);return[f,n*s-f*u,u]}function Tdt(e){var t=e.toPrecision(16);if(t.indexOf("e")>-1){var r=t.slice(0,t.indexOf("e"));return r=r.indexOf(".")>-1?r.slice(0,r.slice(0,2)=="0."?17:16):r.slice(0,15)+jr("0",r.length-15),r+t.slice(t.indexOf("e"))}var n=t.indexOf(".")>-1?t.slice(0,t.slice(0,2)=="0."?17:16):t.slice(0,15)+jr("0",t.length-15);return Number(n)}function Ud(e,t,r){if(e>2958465||e<0)return null;e=Tdt(e);var n=e|0,i=Math.floor(86400*(e-n)),a=0,o=[],s={D:n,T:i,u:86400*(e-n)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(n+=1462),s.u>.9999&&(s.u=0,++i==86400&&(s.T=i=0,++n,++s.D)),n===60)o=r?[1317,10,29]:[1900,2,29],a=3;else if(n===0)o=r?[1317,8,29]:[1900,1,0],a=6;else{n>60&&--n;var l=new Date(1900,0,1);l.setDate(l.getDate()+n-1),o=[l.getFullYear(),l.getMonth()+1,l.getDate()],a=l.getDay(),n<60&&(a=(a+6)%7),r&&(a=Odt(l,o))}return s.y=o[0],s.m=o[1],s.d=o[2],s.S=i%60,i=Math.floor(i/60),s.M=i%60,i=Math.floor(i/60),s.H=i,s.q=a,s}function LM(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function _dt(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function Pdt(e){var t=e<0?12:11,r=LM(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10),r.length<=t)?r:e.toExponential(5)}function Adt(e){var t=LM(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function Bw(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),r;return t>=-4&&t<=-1?r=e.toPrecision(10+t):Math.abs(t)<=9?r=Pdt(e):t===10?r=e.toFixed(10).substr(0,12):r=Adt(e),LM(_dt(r.toUpperCase()))}function Jm(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):Bw(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return ul(14,ca(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function Odt(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function Idt(e,t,r,n){var i="",a=0,o=0,s=r.y,l,c=0;switch(e){case 98:s=r.y+543;case 121:switch(t.length){case 1:case 2:l=s%100,c=2;break;default:l=s%1e4,c=4;break}break;case 109:switch(t.length){case 1:case 2:l=r.m,c=t.length;break;case 3:return hR[r.m-1][1];case 5:return hR[r.m-1][0];default:return hR[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:l=r.d,c=t.length;break;case 3:return uY[r.q][0];default:return uY[r.q][1]}break;case 104:switch(t.length){case 1:case 2:l=1+(r.H+11)%12,c=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:l=r.H,c=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:l=r.M,c=t.length;break;default:throw"bad minute format: "+t}break;case 115:if(t!="s"&&t!="ss"&&t!=".0"&&t!=".00"&&t!=".000")throw"bad second format: "+t;return r.u===0&&(t=="s"||t=="ss")?jc(r.S,t.length):(n>=2?o=n===3?1e3:100:o=n===1?10:1,a=Math.round(o*(r.S+r.u)),a>=60*o&&(a=0),t==="s"?a===0?"0":""+a/o:(i=jc(a,2+n),t==="ss"?i.substr(0,2):"."+i.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":l=r.D*24+r.H;break;case"[m]":case"[mm]":l=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":l=((r.D*24+r.H)*60+r.M)*60+(n==0?Math.round(r.S+r.u):r.S);break;default:throw"bad abstime format: "+t}c=t.length===3?1:2;break;case 101:l=s,c=1;break}var u=c>0?jc(l,c):"";return u}function Gd(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,n=e.substr(0,r);r!=e.length;r+=t)n+=(n.length>0?",":"")+e.substr(r,t);return n}var ude=/%/g;function Rdt(e,t,r){var n=t.replace(ude,""),i=t.length-n.length;return tf(e,n,r*Math.pow(10,2*i))+jr("%",i)}function Fdt(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return tf(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function dde(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+dde(e,-t);var i=e.indexOf(".");i===-1&&(i=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),r=(t/Math.pow(10,a)).toPrecision(n+1+(i+a)%i),r.indexOf("e")===-1){var o=Math.floor(Math.log(t)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(o-r.length+a):r+="E+"+(o-a);r.substr(0,2)==="0.";
vendor: 5,028 bytes, line 512
512)r=r.charAt(0)+r.substr(2,i)+"."+r.substr(2+i),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(s,l,c,u){return l+c+u.substr(0,(i+a)%i)+"."+u.substr(a)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var fde=/# (\?+)( ?)\/( ?)(\d+)/;function Ddt(e,t,r){var n=parseInt(e[4],10),i=Math.round(t*n),a=Math.floor(i/n),o=i-a*n,s=n;return r+(a===0?"":""+a)+" "+(o===0?jr(" ",e[1].length+1+e[4].length):MM(o,e[1].length)+e[2]+"/"+e[3]+jc(s,e[4].length))}function Ndt(e,t,r){return r+(t===0?"":""+t)+jr(" ",e[1].length+2+e[4].length)}var hde=/^#*0*\.([0#]+)/,pde=/\)[^)]*[0#]/,mde=/\(###\) ###\\?-####/;function Io(e){for(var t="",r,n=0;n!=e.length;++n)switch(r=e.charCodeAt(n)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(r)}return t}function fY(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function hY(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function Mdt(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function Ldt(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function Tl(e,t,r){if(e.charCodeAt(0)===40&&!t.match(pde)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Tl("n",n,r):"("+Tl("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return Fdt(e,t,r);if(t.indexOf("%")!==-1)return Rdt(e,t,r);if(t.indexOf("E")!==-1)return dde(t,r);if(t.charCodeAt(0)===36)return"$"+Tl(e,t.substr(t.charAt(1)==" "?2:1),r);var i,a,o,s,l=Math.abs(r),c=r<0?"-":"";if(t.match(/^00+$/))return c+tg(l,t.length);if(t.match(/^[#?]+$/))return i=tg(r,0),i==="0"&&(i=""),i.length>t.length?i:Io(t.substr(0,t.length-i.length))+i;if(a=t.match(fde))return Ddt(a,l,c);if(t.match(/^#+0+$/))return c+tg(l,t.length-t.indexOf("0"));if(a=t.match(hde))return i=fY(r,a[1].length).replace(/^([^\.]+)$/,"$1."+Io(a[1])).replace(/\.$/,"."+Io(a[1])).replace(/\.(\d*)$/,function(p,g){return"."+g+jr("0",Io(a[1]).length-g.length)}),t.indexOf("0.")!==-1?i:i.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),a=t.match(/^(0*)\.(#*)$/))return c+fY(l,a[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=t.match(/^#{1,3},##0(\.?)$/))return c+Gd(tg(l,0));if(a=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Tl(e,t,-r):Gd(""+(Math.floor(r)+Mdt(r,a[1].length)))+"."+jc(hY(r,a[1].length),a[1].length);if(a=t.match(/^#,#*,#0/))return Tl(e,t.replace(/^#,#*,/,""),r);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=hv(Tl(e,t.replace(/[\\-]/g,""),r)),o=0,hv(hv(t.replace(/\\/g,"")).replace(/[0#]/g,function(p){return o<i.length?i.charAt(o++):p==="0"?"0":""}));if(t.match(mde))return i=Tl(e,"##########",r),"("+i.substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var u="";if(a=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(a[4].length,7),s=y_(l,Math.pow(10,o)-1,!1),i=""+c,u=tf("n",a[1],s[1]),u.charAt(u.length-1)==" "&&(u=u.substr(0,u.length-1)+"0"),i+=u+a[2]+"/"+a[3],u=g_(s[2],o),u.length<a[4].length&&(u=Io(a[4].substr(a[4].length-u.length))+u),i+=u,i;if(a=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(a[1].length,a[4].length),7),s=y_(l,Math.pow(10,o)-1,!0),c+(s[0]||(s[1]?"":"0"))+" "+(s[1]?MM(s[1],o)+a[2]+"/"+a[3]+g_(s[2],o):jr(" ",2*o+1+a[2].length+a[3].length));if(a=t.match(/^[#0?]+$/))return i=tg(r,0),t.length<=i.length?i:Io(t.substr(0,t.length-i.length))+i;if(a=t.match(/^([#0?]+)\.([#0]+)$/)){i=""+r.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,"$1"),o=i.indexOf(".");var d=t.indexOf(".")-o,f=t.length-i.length-d;return Io(t.substr(0,d)+i+t.substr(t.length-f))}if(a=t.match(/^00,000\.([#0]*0)$/))return o=hY(r,a[1].length),r<0?"-"+Tl(e,t,-r):Gd(Ldt(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(p){return"00,"+(p.length<3?jc(0,3-p.length):"")+p})+"."+jc(o,a[1].length);switch(t){case"###,##0.00":return Tl(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var h=Gd(tg(l,0));return h!=="0"?c+h:"";case"###,###.00":return Tl(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return Tl(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function Bdt(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return tf(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function Udt(e,t,r){var n=t.replace(ude,""),i=t.length-n.length;return tf(e,n,r*Math.pow(10,2*i))+jr("%",i)}function gde(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+gde(e,-t);var i=e.indexOf(".");i===-1&&(i=e.indexOf("E"));var a=Math.floor(Math.log(t)*Math.LOG10E)%i;if(a<0&&(a+=i),r=(t/Math.pow(10,a)).toPrecision(n+1+(i+a)%i),!r.match(/[Ee]/)){var o=Math.floor(Math.log(t)*Math.LOG10E);r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(o-r.length+a):r+="E+"+(o-a),r
vendor: 40,879 bytes, lines 512-519
512=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(s,l,c,u){return l+c+u.substr(0,(i+a)%i)+"."+u.substr(a)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function Ou(e,t,r){if(e.charCodeAt(0)===40&&!t.match(pde)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Ou("n",n,r):"("+Ou("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return Bdt(e,t,r);if(t.indexOf("%")!==-1)return Udt(e,t,r);if(t.indexOf("E")!==-1)return gde(t,r);if(t.charCodeAt(0)===36)return"$"+Ou(e,t.substr(t.charAt(1)==" "?2:1),r);var i,a,o,s,l=Math.abs(r),c=r<0?"-":"";if(t.match(/^00+$/))return c+jc(l,t.length);if(t.match(/^[#?]+$/))return i=""+r,r===0&&(i=""),i.length>t.length?i:Io(t.substr(0,t.length-i.length))+i;if(a=t.match(fde))return Ndt(a,l,c);if(t.match(/^#+0+$/))return c+jc(l,t.length-t.indexOf("0"));if(a=t.match(hde))return i=(""+r).replace(/^([^\.]+)$/,"$1."+Io(a[1])).replace(/\.$/,"."+Io(a[1])),i=i.replace(/\.(\d*)$/,function(p,g){return"."+g+jr("0",Io(a[1]).length-g.length)}),t.indexOf("0.")!==-1?i:i.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),a=t.match(/^(0*)\.(#*)$/))return c+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=t.match(/^#{1,3},##0(\.?)$/))return c+Gd(""+l);if(a=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Ou(e,t,-r):Gd(""+r)+"."+jr("0",a[1].length);if(a=t.match(/^#,#*,#0/))return Ou(e,t.replace(/^#,#*,/,""),r);if(a=t.match(/^([0#]+)(\\?-([0#]+))+$/))return i=hv(Ou(e,t.replace(/[\\-]/g,""),r)),o=0,hv(hv(t.replace(/\\/g,"")).replace(/[0#]/g,function(p){return o<i.length?i.charAt(o++):p==="0"?"0":""}));if(t.match(mde))return i=Ou(e,"##########",r),"("+i.substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var u="";if(a=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(a[4].length,7),s=y_(l,Math.pow(10,o)-1,!1),i=""+c,u=tf("n",a[1],s[1]),u.charAt(u.length-1)==" "&&(u=u.substr(0,u.length-1)+"0"),i+=u+a[2]+"/"+a[3],u=g_(s[2],o),u.length<a[4].length&&(u=Io(a[4].substr(a[4].length-u.length))+u),i+=u,i;if(a=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return o=Math.min(Math.max(a[1].length,a[4].length),7),s=y_(l,Math.pow(10,o)-1,!0),c+(s[0]||(s[1]?"":"0"))+" "+(s[1]?MM(s[1],o)+a[2]+"/"+a[3]+g_(s[2],o):jr(" ",2*o+1+a[2].length+a[3].length));if(a=t.match(/^[#0?]+$/))return i=""+r,t.length<=i.length?i:Io(t.substr(0,t.length-i.length))+i;if(a=t.match(/^([#0]+)\.([#0]+)$/)){i=""+r.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,"$1"),o=i.indexOf(".");var d=t.indexOf(".")-o,f=t.length-i.length-d;return Io(t.substr(0,d)+i+t.substr(t.length-f))}if(a=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+Ou(e,t,-r):Gd(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(p){return"00,"+(p.length<3?jc(0,3-p.length):"")+p})+"."+jc(0,a[1].length);switch(t){case"###,###":case"##,###":case"#,###":var h=Gd(""+l);return h!=="0"?c+h:"";default:if(t.match(/\.[0#?]*$/))return Ou(e,t.slice(0,t.lastIndexOf(".")),r)+Io(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function tf(e,t,r){return(r|0)===r?Ou(e,t,r):Tl(e,t,r)}function zdt(e){for(var t=[],r=!1,n=0,i=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(i,n-i),i=n+1}if(t[t.length]=e.substr(i),r===!0)throw new Error("Format |"+e+"| unterminated string ");return t}var vde=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function ou(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":v_(e,t)&&(t+=6),t++;break;case'"':for(;e.charCodeAt(++t)!==34&&t<e.length;);++t;break;case"\\":t+=2;break;case"_":t+=2;break;case"@":++t;break;case"B":case"b":if(e.charAt(t+1)==="1"||e.charAt(t+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if(e.substr(t,3).toUpperCase()==="A/P"||e.substr(t,5).toUpperCase()==="AM/PM"||e.substr(t,5).toUpperCase()==="上午/下午")return!0;++t;break;case"[":for(n=r;e.charAt(t++)!=="]"&&t<e.length;)n+=e.charAt(t);if(n.match(vde))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||r=="\\"&&e.charAt(t+1)=="-"&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t,(e.charAt(t)==" "||e.charAt(t)=="*")&&++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":++t;break;default:++t;break}return!1}function Hdt(e,t,r,n){for(var i=[],a="",o=0,s="",l="t",c,u,d,f="H";o<e.length;)switch(s=e.charAt(o)){case"G":if(!v_(e,o))throw new Error("unrecognized character "+s+" in "+e);i[i.length]={t:"G",v:"General"},o+=7;break;case'"':for(a="";(d=e.charCodeAt(++o))!==34&&o<e.length;)a+=String.fromCharCode(d);i[i.length]={t:"t",v:a},++o;break;case"\\":var h=e.charAt(++o),p=h==="("||h===")"?h:"t";i[i.length]={t:p,v:h},++o;break;case"_":i[i.length]={t:"t",v:" "},o+=2;break;case"@":i[i.length]={t:"T",v:t},++o;break;case"B":case"b":if(e.charAt(o+1)==="1"||e.charAt(o+1)==="2"){if(c==null&&(c=Ud(t,r,e.charAt(o+1)==="2"),c==null))return"";i[i.length]={t:"X",v:e.substr(o,2)},l=s,o+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":s=s.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0||c==null&&(c=Ud(t,r),c==null))return"";for(a=s;++o<e.length&&e.charAt(o).toLowerCase()===s;)a+=s;s==="m"&&l.toLowerCase()==="h"&&(s="M"),s==="h"&&(s=f),i[i.length]={t:s,v:a},l=s;break;case"A":case"a":case"上":var g={t:s,v:s};if(c==null&&(c=Ud(t,r)),e.substr(o,3).toUpperCase()==="A/P"?(c!=null&&(g.v=c.H>=12?e.charAt(o+2):s),g.t="T",f="h",o+=3):e.substr(o,5).toUpperCase()==="AM/PM"?(c!=null&&(g.v=c.H>=12?"PM":"AM"),g.t="T",o+=5,f="h"):e.substr(o,5).toUpperCase()==="上午/下午"?(c!=null&&(g.v=c.H>=12?"下午":"上午"),g.t="T",o+=5,f="h"):(g.t="t",++o),c==null&&g.t==="T")return"";i[i.length]=g,l=s;break;case"[":for(a=s;e.charAt(o++)!=="]"&&o<e.length;)a+=e.charAt(o);if(a.slice(-1)!=="]")throw'unterminated "[" block: |'+a+"|";if(a.match(vde)){if(c==null&&(c=Ud(t,r),c==null))return"";i[i.length]={t:"Z",v:a.toLowerCase()},l=a.charAt(1)}else a.indexOf("$")>-1&&(a=(a.match(/\$([^-\[\]]*)/)||[])[1]||"$",ou(e)||(i[i.length]={t:"t",v:a}));break;case".":if(c!=null){for(a=s;++o<e.length&&(s=e.charAt(o))==="0";)a+=s;i[i.length]={t:"s",v:a};break}case"0":case"#":for(a=s;++o<e.length&&"0#?.,E+-%".indexOf(s=e.charAt(o))>-1;)a+=s;i[i.length]={t:"n",v:a};break;case"?":for(a=s;e.charAt(++o)===s;)a+=s;i[i.length]={t:s,v:a},l=s;break;case"*":++o,(e.charAt(o)==" "||e.charAt(o)=="*")&&++o;break;case"(":case")":i[i.length]={t:n===1?"t":s,v:s},++o;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(a=s;o<e.length&&"0123456789".indexOf(e.charAt(++o))>-1;)a+=e.charAt(o);i[i.length]={t:"D",v:a};break;case" ":i[i.length]={t:s,v:s},++o;break;case"$":i[i.length]={t:"t",v:"$"},++o;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(s)===-1)throw new Error("unrecognized character "+s+" in "+e);i[i.length]={t:"t",v:s},++o;break}var v=0,m=0,b;for(o=i.length-1,l="t";o>=0;--o)switch(i[o].t){case"h":case"H":i[o].t=f,l="h",v<1&&(v=1);break;case"s":(b=i[o].v.match(/\.0+$/))&&(m=Math.max(m,b[0].length-1),v=4),v<3&&(v=3);case"d":case"y":case"e":l=i[o].t;break;case"M":l=i[o].t,v<2&&(v=2);break;case"m":l==="s"&&(i[o].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&i[o].v.match(/[Hh]/)&&(v=1),v<2&&i[o].v.match(/[Mm]/)&&(v=2),v<3&&i[o].v.match(/[Ss]/)&&(v=3)}var y;switch(v){case 0:break;case 1:case 2:case 3:c.u>=.5&&(c.u=0,++c.S),c.S>=60&&(c.S=0,++c.M),c.M>=60&&(c.M=0,++c.H),c.H>=24&&(c.H=0,++c.D,y=Ud(c.D),y.u=c.u,y.S=c.S,y.M=c.M,y.H=c.H,c=y);break;case 4:switch(m){case 1:c.u=Math.round(c.u*10)/10;break;case 2:c.u=Math.round(c.u*100)/100;break;case 3:c.u=Math.round(c.u*1e3)/1e3;break}c.u>=1&&(c.u=0,++c.S),c.S>=60&&(c.S=0,++c.M),c.M>=60&&(c.M=0,++c.H),c.H>=24&&(c.H=0,++c.D,y=Ud(c.D),y.u=c.u,y.S=c.S,y.M=c.M,y.H=c.H,c=y);break}var w="",x;for(o=0;o<i.length;++o)switch(i[o].t){case"t":case"T":case" ":case"D":break;case"X":i[o].v="",i[o].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":i[o].v=Idt(i[o].t.charCodeAt(0),i[o].v,c,m),i[o].t="t";break;case"n":case"?":for(x=o+1;i[x]!=null&&((s=i[x].t)==="?"||s==="D"||(s===" "||s==="t")&&i[x+1]!=null&&(i[x+1].t==="?"||i[x+1].t==="t"&&i[x+1].v==="/")||i[o].t==="("&&(s===" "||s==="n"||s===")")||s==="t"&&(i[x].v==="/"||i[x].v===" "&&i[x+1]!=null&&i[x+1].t=="?"));)i[o].v+=i[x].v,i[x]={v:"",t:";"},++x;w+=i[o].v,o=x-1;break;case"G":i[o].t="t",i[o].v=Jm(t,r);break}var C="",T,_;if(w.length>0){w.charCodeAt(0)==40?(T=t<0&&w.charCodeAt(0)===45?-t:t,_=tf("n",w,T)):(T=t<0&&n>1?-t:t,_=tf("n",w,T),T<0&&i[0]&&i[0].t=="t"&&(_=_.substr(1),i[0].v="-"+i[0].v)),x=_.length-1;var P=i.length;for(o=0;o<i.length;++o)if(i[o]!=null&&i[o].t!="t"&&i[o].v.indexOf(".")>-1){P=o;break}var F=i.length;if(P===i.length&&_.indexOf("E")===-1){for(o=i.length-1;o>=0;--o)i[o]==null||"n?".indexOf(i[o].t)===-1||(x>=i[o].v.length-1?(x-=i[o].v.length,i[o].v=_.substr(x+1,i[o].v.length)):x<0?i[o].v="":(i[o].v=_.substr(0,x+1),x=-1),i[o].t="t",F=o);x>=0&&F<i.length&&(i[F].v=_.substr(0,x+1)+i[F].v)}else if(P!==i.length&&_.indexOf("E")===-1){for(x=_.indexOf(".")-1,o=P;o>=0;--o)if(!(i[o]==null||"n?".indexOf(i[o].t)===-1)){for(u=i[o].v.indexOf(".")>-1&&o===P?i[o].v.indexOf(".")-1:i[o].v.length-1,C=i[o].v.substr(u+1);u>=0;--u)x>=0&&(i[o].v.charAt(u)==="0"||i[o].v.charAt(u)==="#")&&(C=_.charAt(x--)+C);i[o].v=C,i[o].t="t",F=o}for(x>=0&&F<i.length&&(i[F].v=_.substr(0,x+1)+i[F].v),x=_.indexOf(".")+1,o=P;o<i.length;++o)if(!(i[o]==null||"n?(".indexOf(i[o].t)===-1&&o!==P)){for(u=i[o].v.indexOf(".")>-1&&o===P?i[o].v.indexOf(".")+1:0,C=i[o].v.substr(0,u);u<i[o].v.length;++u)x<_.length&&(C+=_.charAt(x++));i[o].v=C,i[o].t="t",F=o}}}for(o=0;o<i.length;++o)i[o]!=null&&"n?".indexOf(i[o].t)>-1&&(T=n>1&&t<0&&o>0&&i[o-1].v==="-"?-t:t,i[o].v=tf(i[o].t,i[o].v,T),i[o].t="t");var I="";for(o=0;o!==i.length;++o)i[o]!=null&&(I+=i[o].v);return I}var pY=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function mY(e,t){if(t==null)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0;break}return!1}function qdt(e,t){var r=zdt(e),n=r.length,i=r[n-1].indexOf("@");if(n<4&&i>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof t!="number")return[4,r.length===4||i>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=i>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=i>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=i>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var a=t>0?r[0]:t<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[n,a];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var o=r[0].match(pY),s=r[1].match(pY);return mY(t,o)?[n,r[0]]:mY(t,s)?[n,r[1]]:[n,r[o!=null&&s!=null?2:1]]}return[n,a]}function ul(e,t,r){r==null&&(r={});var n="";switch(typeof e){case"string":e=="m/d/yy"&&r.dateNF?n=r.dateNF:n=e;break;case"number":e==14&&r.dateNF?n=r.dateNF:n=(r.table!=null?r.table:sr)[e],n==null&&(n=r.table&&r.table[dY[e]]||sr[dY[e]]),n==null&&(n=kdt[e]||"General");break}if(v_(n,0))return Jm(t,r);t instanceof Date&&(t=ca(t,r.date1904));var i=qdt(n,t);if(v_(i[1]))return Jm(t,r);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return Hdt(i[1],t,r,i[0])}function Wdt(e,t){if(typeof t!="number"){t=+t||-1;for(var r=0;r<392;++r){if(sr[r]==null){t<0&&(t=r);continue}if(sr[r]==e){t=r;break}}t<0&&(t=391)}return sr[t]=e,t}function yde(){sr=Edt()}var Vdt={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},b_=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function jdt(e){var t=typeof e=="number"?sr[e]:e;return t=t.replace(b_,"(\\d+)"),b_.lastIndex=0,new RegExp("^"+t+"$")}function Gdt(e,t,r){var n=-1,i=-1,a=-1,o=-1,s=-1,l=-1;(t.match(b_)||[]).forEach(function(d,f){var h=parseInt(r[f+1],10);switch(d.toLowerCase().charAt(0)){case"y":n=h;break;case"d":a=h;break;case"h":o=h;break;case"s":l=h;break;case"m":o>=0?s=h:i=h;break}}),b_.lastIndex=0,l>=0&&s==-1&&i>=0&&(s=i,i=-1);var c=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(a>=1?a:1)).slice(-2);c.length==7&&(c="0"+c),c.length==8&&(c="20"+c);var u=("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return o==-1&&s==-1&&l==-1?c:n==-1&&i==-1&&a==-1?u:c+"T"+u}var Kdt={"d.m":"d\\.m"};function bm(e,t){return Wdt(Kdt[e]||e,t)}var gY=function(){var e={};e.version="1.2.0";function t(){for(var T=0,_=new Array(256),P=0;P!=256;++P)T=P,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,T=T&1?-306674912^T>>>1:T>>>1,_[P]=T;return typeof Int32Array<"u"?new Int32Array(_):_}var r=t();function n(T){var _=0,P=0,F=0,I=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(F=0;F!=256;++F)I[F]=T[F];for(F=0;F!=256;++F)for(P=T[F],_=256+F;_<4096;_+=256)P=I[_]=P>>>8^T[P&255];var R=[];for(F=1;F!=16;++F)R[F-1]=typeof Int32Array<"u"&&typeof I.subarray=="function"?I.subarray(F*256,F*256+256):I.slice(F*256,F*256+256);return R}var i=n(r),a=i[0],o=i[1],s=i[2],l=i[3],c=i[4],u=i[5],d=i[6],f=i[7],h=i[8],p=i[9],g=i[10],v=i[11],m=i[12],b=i[13],y=i[14];function w(T,_){for(var P=_^-1,F=0,I=T.length;F<I;)P=P>>>8^r[(P^T.charCodeAt(F++))&255];return~P}function x(T,_){for(var P=_^-1,F=T.length-15,I=0;I<F;)P=y[T[I++]^P&255]^b[T[I++]^P>>8&255]^m[T[I++]^P>>16&255]^v[T[I++]^P>>>24]^g[T[I++]]^p[T[I++]]^h[T[I++]]^f[T[I++]]^d[T[I++]]^u[T[I++]]^c[T[I++]]^l[T[I++]]^s[T[I++]]^o[T[I++]]^a[T[I++]]^r[T[I++]];for(F+=15;I<F;)P=P>>>8^r[(P^T[I++])&255];return~P}function C(T,_){for(var P=_^-1,F=0,I=T.length,R=0,D=0;F<I;)R=T.charCodeAt(F++),R<128?P=P>>>8^r[(P^R)&255]:R<2048?(P=P>>>8^r[(P^(192|R>>6&31))&255],P=P>>>8^r[(P^(128|R&63))&255]):R>=55296&&R<57344?(R=(R&1023)+64,D=T.charCodeAt(F++)&1023,P=P>>>8^r[(P^(240|R>>8&7))&255],P=P>>>8^r[(P^(128|R>>2&63))&255],P=P>>>8^r[(P^(128|D>>6&15|(R&3)<<4))&255],P=P>>>8^r[(P^(128|D&63))&255]):(P=P>>>8^r[(P^(224|R>>12&15))&255],P=P>>>8^r[(P^(128|R>>6&63))&255],P=P>>>8^r[(P^(128|R&63))&255]);return~P}return e.table=r,e.bstr=w,e.buf=x,e.str=C,e}(),Gr=function(){var t={};t.version="1.2.2";function r(U,W){for(var Q=U.split("/"),te=W.split("/"),le=0,K=0,ye=Math.min(Q.length,te.length);le<ye;++le){if(K=Q[le].length-te[le].length)return K;if(Q[le]!=te[le])return Q[le]<te[le]?-1:1}return Q.length-te.length}function n(U){if(U.charAt(U.length-1)=="/")return U.slice(0,-1).indexOf("/")===-1?U:n(U.slice(0,-1));var W=U.lastIndexOf("/");return W===-1?U:U.slice(0,W+1)}function i(U){if(U.charAt(U.length-1)=="/")return i(U.slice(0,-1));var W=U.lastIndexOf("/");return W===-1?U:U.slice(W+1)}function a(U,W){typeof W=="string"&&(W=new Date(W));var Q=W.getHours();Q=Q<<6|W.getMinutes(),Q=Q<<5|W.getSeconds()>>>1,U.write_shift(2,Q);var te=W.getFullYear()-1980;te=te<<4|W.getMonth()+1,te=te<<5|W.getDate(),U.write_shift(2,te)}function o(U){var W=U.read_shift(2)&65535,Q=U.read_shift(2)&65535,te=new Date,le=Q&31;Q>>>=5;var K=Q&15;Q>>>=4,te.setMilliseconds(0),te.setFullYear(Q+1980),te.setMonth(K-1),te.setDate(le);var ye=W&31;W>>>=5;var Ae=W&63;return W>>>=6,te.setHours(W),te.setMinutes(Ae),te.setSeconds(ye<<1),te}function s(U){ia(U,0);for(var W={},Q=0;U.l<=U.length-4;){var te=U.read_shift(2),le=U.read_shift(2),K=U.l+le,ye={};switch(te){case 21589:Q=U.read_shift(1),Q&1&&(ye.mtime=U.read_shift(4)),le>5&&(Q&2&&(ye.atime=U.read_shift(4)),Q&4&&(ye.ctime=U.read_shift(4))),ye.mtime&&(ye.mt=new Date(ye.mtime*1e3));break;case 1:{var Ae=U.read_shift(4),we=U.read_shift(4);ye.usz=we*Math.pow(2,32)+Ae,Ae=U.read_shift(4),we=U.read_shift(4),ye.csz=we*Math.pow(2,32)+Ae}break}U.l=K,W[te]=ye}return W}var l;function c(){return l||(l=Zdt)}function u(U,W){if(U[0]==80&&U[1]==75)return Ps(U,W);if((U[0]|32)==109&&(U[1]|32)==105)return vl(U,W);if(U.length<512)throw new Error("CFB file size "+U.length+" < 512");var Q=3,te=512,le=0,K=0,ye=0,Ae=0,we=0,be=[],pe=U.slice(0,512);ia(pe,0);var Le=d(pe);switch(Q=Le[0],Q){case 3:te=512;break;case 4:te=4096;break;case 0:if(Le[1]==0)return Ps(U,W);default:throw new Error("Major Version: Expected 3 or 4 saw "+Q)}te!==512&&(pe=U.slice(0,te),ia(pe,28));var Ke=U.slice(0,te);f(pe,Q);var Je=pe.read_shift(4,"i");if(Q===3&&Je!==0)throw new Error("# Directory Sectors: Expected 0 saw "+Je);pe.l+=4,ye=pe.read_shift(4,"i"),pe.l+=4,pe.chk("00100000","Mini Stream Cutoff Size: "),Ae=pe.read_shift(4,"i"),le=pe.read_shift(4,"i"),we=pe.read_shift(4,"i"),K=pe.read_shift(4,"i");for(var Ge=-1,Xe=0;Xe<109&&(Ge=pe.read_shift(4,"i"),!(Ge<0));++Xe)be[Xe]=Ge;var At=h(U,te);v(we,K,At,te,be);var Rr=b(At,ye,be,te);ye<Rr.length&&(Rr[ye].name="!Directory"),le>0&&Ae!==D&&(Rr[Ae].name="!MiniFAT"),Rr[be[0]].name="!FAT",Rr.fat_addrs=be,Rr.ssz=te;var Pr={},wn=[],ki=[],Fi=[];y(ye,Rr,At,wn,le,Pr,ki,Ae),p(ki,Fi,wn),wn.shift();var Os={FileIndex:ki,FullPaths:Fi};return W&&W.raw&&(Os.raw={header:Ke,sectors:At}),Os}function d(U){if(U[U.l]==80&&U[U.l+1]==75)return[0,0];U.chk(A,"Header Signature: "),U.l+=16;var W=U.read_shift(2,"u");return[U.read_shift(2,"u"),W]}function f(U,W){var Q=9;switch(U.l+=2,Q=U.read_shift(2)){case 9:if(W!=3)throw new Error("Sector Shift: Expected 9 saw "+Q);break;case 12:if(W!=4)throw new Error("Sector Shift: Expected 12 saw "+Q);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+Q)}U.chk("0600","Mini Sector Shift: "),U.chk("000000000000","Reserved: ")}function h(U,W){for(var Q=Math.ceil(U.length/W)-1,te=[],le=1;le<Q;++le)te[le-1]=U.slice(le*W,(le+1)*W);return te[Q-1]=U.slice(Q*W),te}function p(U,W,Q){for(var te=0,le=0,K=0,ye=0,Ae=0,we=Q.length,be=[],pe=[];te<we;++te)be[te]=pe[te]=te,W[te]=Q[te];for(;Ae<pe.length;++Ae)te=pe[Ae],le=U[te].L,K=U[te].R,ye=U[te].C,be[te]===te&&(le!==-1&&be[le]!==le&&(be[te]=be[le]),K!==-1&&be[K]!==K&&(be[te]=be[K])),ye!==-1&&(be[ye]=te),le!==-1&&te!=be[te]&&(be[le]=be[te],pe.lastIndexOf(le)<Ae&&pe.push(le)),K!==-1&&te!=be[te]&&(be[K]=be[te],pe.lastIndexOf(K)<Ae&&pe.push(K));for(te=1;te<we;++te)be[te]===te&&(K!==-1&&be[K]!==K?be[te]=be[K]:le!==-1&&be[le]!==le&&(be[te]=be[le]));for(te=1;te<we;++te)if(U[te].type!==0){if(Ae=te,Ae!=be[Ae])do Ae=be[Ae],W[te]=W[Ae]+"/"+W[te];while(Ae!==0&&be[Ae]!==-1&&Ae!=be[Ae]);be[te]=-1}for(W[0]+="/",te=1;te<we;++te)U[te].type!==2&&(W[te]+="/")}function g(U,W,Q){for(var te=U.start,le=U.size,K=[],ye=te;Q&&le>0&&ye>=0;)K.push(W.slice(ye*R,ye*R+R)),le-=R,ye=Wp(Q,ye*4);return K.length===0?ea(0):hh(K).slice(0,U.size)}function v(U,W,Q,te,le){var K=D;if(U===D){if(W!==0)throw new Error("DIFAT chain shorter than expected")}else if(U!==-1){var ye=Q[U],Ae=(te>>>2)-1;if(!ye)return;for(var we=0;we<Ae&&(K=Wp(ye,we*4))!==D;++we)le.push(K);W>=1&&v(Wp(ye,te-4),W-1,Q,te,le)}}function m(U,W,Q,te,le){var K=[],ye=[];le||(le=[]);var Ae=te-1,we=0,be=0;for(we=W;we>=0;){le[we]=!0,K[K.length]=we,ye.push(U[we]);var pe=Q[Math.floor(we*4/te)];if(be=we*4&Ae,te<4+be)throw new Error("FAT boundary crossed: "+we+" 4 "+te);if(!U[pe])break;we=Wp(U[pe],be)}return{nodes:K,data:EY([ye])}}function b(U,W,Q,te){var le=U.length,K=[],ye=[],Ae=[],we=[],be=te-1,pe=0,Le=0,Ke=0,Je=0;for(pe=0;pe<le;++pe)if(Ae=[],Ke=pe+W,Ke>=le&&(Ke-=le),!ye[Ke]){we=[];var Ge=[];for(Le=Ke;Le>=0;){Ge[Le]=!0,ye[Le]=!0,Ae[Ae.length]=Le,we.push(U[Le]);var Xe=Q[Math.floor(Le*4/te)];if(Je=Le*4&be,te<4+Je)throw new Error("FAT boundary crossed: "+Le+" 4 "+te);if(!U[Xe]||(Le=Wp(U[Xe],Je),Ge[Le]))break}K[Ke]={nodes:Ae,data:EY([we])}}return K}function y(U,W,Q,te,le,K,ye,Ae){for(var we=0,be=te.length?2:0,pe=W[U].data,Le=0,Ke=0,Je;Le<pe.length;Le+=128){var Ge=pe.slice(Le,Le+128);ia(Ge,64),Ke=Ge.read_shift(2),Je=qM(Ge,0,Ke-be),te.push(Je);var Xe={name:Je,type:Ge.read_shift(1),color:Ge.read_shift(1),L:Ge.read_shift(4,"i"),R:Ge.read_shift(4,"i"),C:Ge.read_shift(4,"i"),clsid:Ge.read_shift(16),state:Ge.read_shift(4,"i"),start:0,size:0},At=Ge.read_shift(2)+Ge.read_shift(2)+Ge.read_shift(2)+Ge.read_shift(2);At!==0&&(Xe.ct=w(Ge,Ge.l-8));var Rr=Ge.read_shift(2)+Ge.read_shift(2)+Ge.read_shift(2)+Ge.read_shift(2);Rr!==0&&(Xe.mt=w(Ge,Ge.l-8)),Xe.start=Ge.read_shift(4,"i"),Xe.size=Ge.read_shift(4,"i"),Xe.size<0&&Xe.start<0&&(Xe.size=Xe.type=0,Xe.start=D,Xe.name=""),Xe.type===5?(we=Xe.start,le>0&&we!==D&&(W[we].name="!StreamData")):Xe.size>=4096?(Xe.storage="fat",W[Xe.start]===void 0&&(W[Xe.start]=m(Q,Xe.start,W.fat_addrs,W.ssz)),W[Xe.start].name=Xe.name,Xe.content=W[Xe.start].data.slice(0,Xe.size)):(Xe.storage="minifat",Xe.size<0?Xe.size=0:we!==D&&Xe.start!==D&&W[we]&&(Xe.content=g(Xe,W[we].data,(W[Ae]||{}).data))),Xe.content&&ia(Xe.content,0),K[Je]=Xe,ye.push(Xe)}}function w(U,W){return new Date((Ws(U,W+4)/1e7*Math.pow(2,32)+Ws(U,W)/1e7-11644473600)*1e3)}function x(U,W){return c(),u(l.readFileSync(U),W)}function C(U,W){var Q=W&&W.type;switch(Q||Ur&&Buffer.isBuffer(U)&&(Q="buffer"),Q||"base64"){case"file":return x(U,W);case"base64":return u(qs(cl(U)),W);case"binary":return u(qs(U),W)}return u(U,W)}function T(U,W){var Q=W||{},te=Q.root||"Root Entry";if(U.FullPaths||(U.FullPaths=[]),U.FileIndex||(U.FileIndex=[]),U.FullPaths.length!==U.FileIndex.length)throw new Error("inconsistent CFB structure");U.FullPaths.length===0&&(U.FullPaths[0]=te+"/",U.FileIndex[0]={name:te,type:5}),Q.CLSID&&(U.FileIndex[0].clsid=Q.CLSID),_(U)}function _(U){var W="�Sh33tJ5";if(!Gr.find(U,"/"+W)){var Q=ea(4);Q[0]=55,Q[1]=Q[3]=50,Q[2]=54,U.FileIndex.push({name:W,type:2,content:Q,size:4,L:69,R:69,C:69}),U.FullPaths.push(U.FullPaths[0]+W),P(U)}}function P(U,W){T(U);for(var Q=!1,te=!1,le=U.FullPaths.length-1;le>=0;--le){var K=U.FileIndex[le];switch(K.type){case 0:te?Q=!0:(U.FileIndex.pop(),U.FullPaths.pop());break;case 1:case 2:case 5:te=!0,isNaN(K.R*K.L*K.C)&&(Q=!0),K.R>-1&&K.L>-1&&K.R==K.L&&(Q=!0);break;default:Q=!0;break}}if(!(!Q&&!W)){var ye=new Date(1987,1,19),Ae=0,we=Object.create?Object.create(null):{},be=[];for(le=0;le<U.FullPaths.length;++le)we[U.FullPaths[le]]=!0,U.FileIndex[le].type!==0&&be.push([U.FullPaths[le],U.FileIndex[le]]);for(le=0;le<be.length;++le){var pe=n(be[le][0]);for(te=we[pe];!te;){for(;n(pe)&&!we[n(pe)];)pe=n(pe);be.push([pe,{name:i(pe).replace("/",""),type:1,clsid:X,ct:ye,mt:ye,content:null}]),we[pe]=!0,pe=n(be[le][0]),te=we[pe]}}for(be.sort(function(Je,Ge){return r(Je[0],Ge[0])}),U.FullPaths=[],U.FileIndex=[],le=0;le<be.length;++le)U.FullPaths[le]=be[le][0],U.FileIndex[le]=be[le][1];for(le=0;le<be.length;++le){var Le=U.FileIndex[le],Ke=U.FullPaths[le];if(Le.name=i(Ke).replace("/",""),Le.L=Le.R=Le.C=-(Le.color=1),Le.size=Le.content?Le.content.length:0,Le.start=0,Le.clsid=Le.clsid||X,le===0)Le.C=be.length>1?1:-1,Le.size=0,Le.type=5;else if(Ke.slice(-1)=="/"){for(Ae=le+1;Ae<be.length&&n(U.FullPaths[Ae])!=Ke;++Ae);for(Le.C=Ae>=be.length?-1:Ae,Ae=le+1;Ae<be.length&&n(U.FullPaths[Ae])!=n(Ke);++Ae);Le.R=Ae>=be.length?-1:Ae,Le.type=1}else n(U.FullPaths[le+1]||"")==n(Ke)&&(Le.R=le+1),Le.type=2}}}function F(U,W){var Q=W||{};if(Q.fileType=="mad")return yl(U,Q);switch(P(U),Q.fileType){case"zip":return Ga(U,Q)}var te=function(Je){for(var Ge=0,Xe=0,At=0;At<Je.FileIndex.length;++At){var Rr=Je.FileIndex[At];if(Rr.content){var Pr=Rr.content.length;Pr>0&&(Pr<4096?Ge+=Pr+63>>6:Xe+=Pr+511>>9)}}for(var wn=Je.FullPaths.length+3>>2,ki=Ge+7>>3,Fi=Ge+127>>7,Os=ki+Xe+wn+Fi,fa=Os+127>>7,fu=fa<=109?0:Math.ceil((fa-109)/127);Os+fa+fu+127>>7>fa;)fu=++fa<=109?0:Math.ceil((fa-109)/127);var Ka=[1,fu,fa,Fi,wn,Xe,Ge,0];return Je.FileIndex[0].size=Ge<<6,Ka[7]=(Je.FileIndex[0].start=Ka[0]+Ka[1]+Ka[2]+Ka[3]+Ka[4]+Ka[5])+(Ka[6]+7>>3),Ka}(U),le=ea(te[7]<<9),K=0,ye=0;{for(K=0;K<8;++K)le.write_shift(1,M[K]);for(K=0;K<8;++K)le.write_shift(2,0);for(le.write_shift(2,62),le.write_shift(2,3),le.write_shift(2,65534),le.write_shift(2,9),le.write_shift(2,6),K=0;K<3;++K)le.write_shift(2,0);for(le.write_shift(4,0),le.write_shift(4,te[2]),le.write_shift(4,te[0]+te[1]+te[2]+te[3]-1),le.write_shift(4,0),le.write_shift(4,4096),le.write_shift(4,te[3]?te[0]+te[1]+te[2]-1:D),le.write_shift(4,te[3]),le.write_shift(-4,te[1]?te[0]-1:D),le.write_shift(4,te[1]),K=0;K<109;++K)le.write_shift(-4,K<te[2]?te[1]+K:-1)}if(te[1])for(ye=0;ye<te[1];++ye){for(;K<236+ye*127;++K)le.write_shift(-4,K<te[2]?te[1]+K:-1);le.write_shift(-4,ye===te[1]-1?D:ye+1)}var Ae=function(Je){for(ye+=Je;K<ye-1;++K)le.write_shift(-4,K+1);Je&&(++K,le.write_shift(-4,D))};for(ye=K=0,ye+=te[1];K<ye;++K)le.write_shift(-4,Y.DIFSECT);for(ye+=te[2];K<ye;++K)le.write_shift(-4,Y.FATSECT);Ae(te[3]),Ae(te[4]);for(var we=0,be=0,pe=U.FileIndex[0];we<U.FileIndex.length;++we)pe=U.FileIndex[we],pe.content&&(be=pe.content.length,!(be<4096)&&(pe.start=ye,Ae(be+511>>9)));for(Ae(te[6]+7>>3);le.l&511;)le.write_shift(-4,Y.ENDOFCHAIN);for(ye=K=0,we=0;we<U.FileIndex.length;++we)pe=U.FileIndex[we],pe.content&&(be=pe.content.length,!(!be||be>=4096)&&(pe.start=ye,Ae(be+63>>6)));for(;le.l&511;)le.write_shift(-4,Y.ENDOFCHAIN);for(K=0;K<te[4]<<2;++K){var Le=U.FullPaths[K];if(!Le||Le.length===0){for(we=0;we<17;++we)le.write_shift(4,0);for(we=0;we<3;++we)le.write_shift(4,-1);for(we=0;we<12;++we)le.write_shift(4,0);continue}pe=U.FileIndex[K],K===0&&(pe.start=pe.size?pe.start-1:D);var Ke=K===0&&Q.root||pe.name;if(Ke.length>31&&(console.error("Name "+Ke+" will be truncated to "+Ke.slice(0,31)),Ke=Ke.slice(0,31)),be=2*(Ke.length+1),le.write_shift(64,Ke,"utf16le"),le.write_shift(2,be),le.write_shift(1,pe.type),le.write_shift(1,pe.color),le.write_shift(-4,pe.L),le.write_shift(-4,pe.R),le.write_shift(-4,pe.C),pe.clsid)le.write_shift(16,pe.clsid,"hex");else for(we=0;we<4;++we)le.write_shift(4,0);le.write_shift(4,pe.state||0),le.write_shift(4,0),le.write_shift(4,0),le.write_shift(4,0),le.write_shift(4,0),le.write_shift(4,pe.start),le.write_shift(4,pe.size),le.write_shift(4,0)}for(K=1;K<U.FileIndex.length;++K)if(pe=U.FileIndex[K],pe.size>=4096)if(le.l=pe.start+1<<9,Ur&&Buffer.isBuffer(pe.content))pe.content.copy(le,le.l,0,pe.size),le.l+=pe.size+511&-512;else{for(we=0;we<pe.size;++we)le.write_shift(1,pe.content[we]);for(;we&511;++we)le.write_shift(1,0)}for(K=1;K<U.FileIndex.length;++K)if(pe=U.FileIndex[K],pe.size>0&&pe.size<4096)if(Ur&&Buffer.isBuffer(pe.content))pe.content.copy(le,le.l,0,pe.size),le.l+=pe.size+63&-64;else{for(we=0;we<pe.size;++we)le.write_shift(1,pe.content[we]);for(;we&63;++we)le.write_shift(1,0)}if(Ur)le.l=le.length;else for(;le.l<le.length;)le.write_shift(1,0);return le}function I(U,W){var Q=U.FullPaths.map(function(we){return we.toUpperCase()}),te=Q.map(function(we){var be=we.split("/");return be[be.length-(we.slice(-1)=="/"?2:1)]}),le=!1;W.charCodeAt(0)===47?(le=!0,W=Q[0].slice(0,-1)+W):le=W.indexOf("/")!==-1;var K=W.toUpperCase(),ye=le===!0?Q.indexOf(K):te.indexOf(K);if(ye!==-1)return U.FileIndex[ye];var Ae=!K.match(cb);for(K=K.replace(jo,""),Ae&&(K=K.replace(cb,"!")),ye=0;ye<Q.length;++ye)if((Ae?Q[ye].replace(cb,"!"):Q[ye]).replace(jo,"")==K||(Ae?te[ye].replace(cb,"!"):te[ye]).replace(jo,"")==K)return U.FileIndex[ye];return null}var R=64,D=-2,A="d0cf11e0a1b11ae1",M=[208,207,17,224,161,177,26,225],X="00000000000000000000000000000000",Y={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:D,FREESECT:-1,HEADER_SIGNATURE:A,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:X,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function se(U,W,Q){c();var te=F(U,Q);l.writeFileSync(W,te)}function ne(U){for(var W=new Array(U.length),Q=0;Q<U.length;++Q)W[Q]=String.fromCharCode(U[Q]);return W.join("")}function ie(U,W){var Q=F(U,W);switch(W&&W.type||"buffer"){case"file":return c(),l.writeFileSync(W.filename,Q),Q;case"binary":return typeof Q=="string"?Q:ne(Q);case"base64":return sY(typeof Q=="string"?Q:ne(Q));case"buffer":if(Ur)return Buffer.isBuffer(Q)?Q:mp(Q);case"array":return typeof Q=="string"?qs(Q):Q}return Q}var ae;function ce(U){try{var W=U.InflateRaw,Q=new W;if(Q._processChunk(new Uint8Array([3,0]),Q._finishFlushFlag),Q.bytesRead)ae=U;else throw new Error("zlib does not expose bytesRead")}catch(te){console.error("cannot use native zlib: "+(te.message||te))}}function ke(U,W){if(!ae)return _s(U,W);var Q=ae.InflateRaw,te=new Q,le=te._processChunk(U.slice(U.l),te._finishFlushFlag);return U.l+=te.bytesRead,le}function ge(U){return ae?ae.deflateRawSync(U):rr(U)}var De=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Ne=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],We=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function z(U){var W=(U<<1|U<<11)&139536|(U<<5|U<<15)&558144;return(W>>16|W>>8|W)&255}for(var J=typeof Uint8Array<"u",j=J?new Uint8Array(256):[],q=0;q<256;++q)j[q]=z(q);function G(U,W){var Q=j[U&255];return W<=8?Q>>>8-W:(Q=Q<<8|j[U>>8&255],W<=16?Q>>>16-W:(Q=Q<<8|j[U>>16&255],Q>>>24-W))}function N(U,W){var Q=W&7,te=W>>>3;return(U[te]|(Q<=6?0:U[te+1]<<8))>>>Q&3}function O(U,W){var Q=W&7,te=W>>>3;return(U[te]|(Q<=5?0:U[te+1]<<8))>>>Q&7}function oe(U,W){var Q=W&7,te=W>>>3;return(U[te]|(Q<=4?0:U[te+1]<<8))>>>Q&15}function Z(U,W){var Q=W&7,te=W>>>3;return(U[te]|(Q<=3?0:U[te+1]<<8))>>>Q&31}function B(U,W){var Q=W&7,te=W>>>3;return(U[te]|(Q<=1?0:U[te+1]<<8))>>>Q&127}function V(U,W,Q){var te=W&7,le=W>>>3,K=(1<<Q)-1,ye=U[le]>>>te;return Q<8-te||(ye|=U[le+1]<<8-te,Q<16-te)||(ye|=U[le+2]<<16-te,Q<24-te)||(ye|=U[le+3]<<24-te),ye&K}function de(U,W,Q){var te=W&7,le=W>>>3;return te<=5?U[le]|=(Q&7)<<te:(U[le]|=Q<<te&255,U[le+1]=(Q&7)>>8-te),W+3}function Pe(U,W,Q){var te=W&7,le=W>>>3;return Q=(Q&1)<<te,U[le]|=Q,W+1}function ze(U,W,Q){var te=W&7,le=W>>>3;return Q<<=te,U[le]|=Q&255,Q>>>=8,U[le+1]=Q,W+8}function Se(U,W,Q){var te=W&7,le=W>>>3;return Q<<=te,U[le]|=Q&255,Q>>>=8,U[le+1]=Q&255,U[le+2]=Q>>>8,W+16}function Me(U,W){var Q=U.length,te=2*Q>W?2*Q:W+5,le=0;if(Q>=W)return U;if(Ur){var K=lY(te);if(U.copy)U.copy(K);else for(;le<U.length;++le)K[le]=U[le];return K}else if(J){var ye=new Uint8Array(te);if(ye.set)ye.set(U);else for(;le<Q;++le)ye[le]=U[le];return ye}return U.length=te,U}function Ze(U){for(var W=new Array(U),Q=0;Q<U;++Q)W[Q]=0;return W}function _e(U,W,Q){var te=1,le=0,K=0,ye=0,Ae=0,we=U.length,be=J?new Uint16Array(32):Ze(32);for(K=0;K<32;++K)be[K]=0;for(K=we;K<Q;++K)U[K]=0;we=U.length;var pe=J?new Uint16Array(we):Ze(we);for(K=0;K<we;++K)be[le=U[K]]++,te<le&&(te=le),pe[K]=0;for(be[0]=0,K=1;K<=te;++K)be[K+16]=Ae=Ae+be[K-1]<<1;for(K=0;K<we;++K)Ae=U[K],Ae!=0&&(pe[K]=be[Ae+16]++);var Le=0;for(K=0;K<we;++K)if(Le=U[K],Le!=0)for(Ae=G(pe[K],te)>>te-Le,ye=(1<<te+4-Le)-1;ye>=0;--ye)W[Ae|ye<<Le]=Le&15|K<<4;return te}var at=J?new Uint16Array(512):Ze(512),rt=J?new Uint16Array(32):Ze(32);if(!J){for(var ut=0;ut<512;++ut)at[ut]=0;for(ut=0;ut<32;++ut)rt[ut]=0}(function(){for(var U=[],W=0;W<32;W++)U.push(5);_e(U,rt,32);var Q=[];for(W=0;W<=143;W++)Q.push(8);for(;W<=255;W++)Q.push(9);for(;W<=279;W++)Q.push(7);for(;W<=287;W++)Q.push(8);_e(Q,at,288)})();var Mt=function(){for(var W=J?new Uint8Array(32768):[],Q=0,te=0;Q<We.length-1;++Q)for(;te<We[Q+1];++te)W[te]=Q;for(;te<32768;++te)W[te]=29;var le=J?new Uint8Array(259):[];for(Q=0,te=0;Q<Ne.length-1;++Q)for(;te<Ne[Q+1];++te)le[te]=Q;function K(Ae,we){for(var be=0;be<Ae.length;){var pe=Math.min(65535,Ae.length-be),Le=be+pe==Ae.length;for(we.write_shift(1,+Le),we.write_shift(2,pe),we.write_shift(2,~pe&65535);pe-- >0;)we[we.l++]=Ae[be++]}return we.l}function ye(Ae,we){for(var be=0,pe=0,Le=J?new Uint16Array(32768):[];pe<Ae.length;){var Ke=Math.min(65535,Ae.length-pe);if(Ke<10){for(be=de(we,be,+(pe+Ke==Ae.length)),be&7&&(be+=8-(be&7)),we.l=be/8|0,we.write_shift(2,Ke),we.write_shift(2,~Ke&65535);Ke-- >0;)we[we.l++]=Ae[pe++];be=we.l*8;continue}be=de(we,be,+(pe+Ke==Ae.length)+2);for(var Je=0;Ke-- >0;){var Ge=Ae[pe];Je=(Je<<5^Ge)&32767;var Xe=-1,At=0;if((Xe=Le[Je])&&(Xe|=pe&-32768,Xe>pe&&(Xe-=32768),Xe<pe))for(;Ae[Xe+At]==Ae[pe+At]&&At<250;)++At;if(At>2){Ge=le[At],Ge<=22?be=ze(we,be,j[Ge+1]>>1)-1:(ze(we,be,3),be+=5,ze(we,be,j[Ge-23]>>5),be+=3);var Rr=Ge<8?0:Ge-4>>2;Rr>0&&(Se(we,be,At-Ne[Ge]),be+=Rr),Ge=W[pe-Xe],be=ze(we,be,j[Ge]>>3),be-=3;var Pr=Ge<4?0:Ge-2>>1;Pr>0&&(Se(we,be,pe-Xe-We[Ge]),be+=Pr);for(var wn=0;wn<At;++wn)Le[Je]=pe&32767,Je=(Je<<5^Ae[pe])&32767,++pe;Ke-=At-1}else Ge<=143?Ge=Ge+48:be=Pe(we,be,1),be=ze(we,be,j[Ge]),Le[Je]=pe&32767,++pe}be=ze(we,be,0)-1}return we.l=(be+7)/8|0,we.l}return function(we,be){return we.length<8?K(we,be):ye(we,be)}}();function rr(U){var W=ea(50+Math.floor(U.length*1.1)),Q=Mt(U,W);return W.slice(0,Q)}var tt=J?new Uint16Array(32768):Ze(32768),nr=J?new Uint16Array(32768):Ze(32768),Ht=J?new Uint16Array(128):Ze(128),un=1,xe=1;function zn(U,W){var Q=Z(U,W)+257;W+=5;var te=Z(U,W)+1;W+=5;var le=oe(U,W)+4;W+=4;for(var K=0,ye=J?new Uint8Array(19):Ze(19),Ae=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],we=1,be=J?new Uint8Array(8):Ze(8),pe=J?new Uint8Array(8):Ze(8),Le=ye.length,Ke=0;Ke<le;++Ke)ye[De[Ke]]=K=O(U,W),we<K&&(we=K),be[K]++,W+=3;var Je=0;for(be[0]=0,Ke=1;Ke<=we;++Ke)pe[Ke]=Je=Je+be[Ke-1]<<1;for(Ke=0;Ke<Le;++Ke)(Je=ye[Ke])!=0&&(Ae[Ke]=pe[Je]++);var Ge=0;for(Ke=0;Ke<Le;++Ke)if(Ge=ye[Ke],Ge!=0){Je=j[Ae[Ke]]>>8-Ge;for(var Xe=(1<<7-Ge)-1;Xe>=0;--Xe)Ht[Je|Xe<<Ge]=Ge&7|Ke<<3}var At=[];for(we=1;At.length<Q+te;)switch(Je=Ht[B(U,W)],W+=Je&7,Je>>>=3){case 16:for(K=3+N(U,W),W+=2,Je=At[At.length-1];K-- >0;)At.push(Je);break;case 17:for(K=3+O(U,W),W+=3;K-- >0;)At.push(0);break;case 18:for(K=11+B(U,W),W+=7;K-- >0;)At.push(0);break;default:At.push(Je),we<Je&&(we=Je);break}var Rr=At.slice(0,Q),Pr=At.slice(Q);for(Ke=Q;Ke<286;++Ke)Rr[Ke]=0;for(Ke=te;Ke<30;++Ke)Pr[Ke]=0;return un=_e(Rr,tt,286),xe=_e(Pr,nr,30),W}function da(U,W){if(U[0]==3&&!(U[1]&3))return[ep(W),2];for(var Q=0,te=0,le=lY(W||1<<18),K=0,ye=le.length>>>0,Ae=0,we=0;!(te&1);){if(te=O(U,Q),Q+=3,te>>>1)te>>1==1?(Ae=9,we=5):(Q=zn(U,Q),Ae=un,we=xe);else{Q&7&&(Q+=8-(Q&7));var be=U[Q>>>3]|U[(Q>>>3)+1]<<8;if(Q+=32,be>0)for(!W&&ye<K+be&&(le=Me(le,K+be),ye=le.length);be-- >0;)le[K++]=U[Q>>>3],Q+=8;continue}for(;;){!W&&ye<K+32767&&(le=Me(le,K+32767),ye=le.length);var pe=V(U,Q,Ae),Le=te>>>1==1?at[pe]:tt[pe];if(Q+=Le&15,Le>>>=4,!(Le>>>8&255))le[K++]=Le;else{if(Le==256)break;Le-=257;var Ke=Le<8?0:Le-4>>2;Ke>5&&(Ke=0);var Je=K+Ne[Le];Ke>0&&(Je+=V(U,Q,Ke),Q+=Ke),pe=V(U,Q,we),Le=te>>>1==1?rt[pe]:nr[pe],Q+=Le&15,Le>>>=4;var Ge=Le<4?0:Le-2>>1,Xe=We[Le];for(Ge>0&&(Xe+=V(U,Q,Ge),Q+=Ge),!W&&ye<Je&&(le=Me(le,Je+100),ye=le.length);K<Je;)le[K]=le[K-Xe],++K}}}return W?[le,Q+7>>>3]:[le.slice(0,K),Q+7>>>3]}function _s(U,W){var Q=U.slice(U.l||0),te=da(Q,W);return U.l+=te[1],te[0]}function gl(U,W){if(U)typeof console<"u"&&console.error(W);else throw new Error(W)}function Ps(U,W){var Q=U;ia(Q,0);var te=[],le=[],K={FileIndex:te,FullPaths:le};T(K,{root:W.root});for(var ye=Q.length-4;(Q[ye]!=80||Q[ye+1]!=75||Q[ye+2]!=5||Q[ye+3]!=6)&&ye>=0;)--ye;Q.l=ye+4,Q.l+=4;var Ae=Q.read_shift(2);Q.l+=6;var we=Q.read_shift(4);for(Q.l=we,ye=0;ye<Ae;++ye){Q.l+=20;var be=Q.read_shift(4),pe=Q.read_shift(4),Le=Q.read_shift(2),Ke=Q.read_shift(2),Je=Q.read_shift(2);Q.l+=8;var Ge=Q.read_shift(4),Xe=s(Q.slice(Q.l+Le,Q.l+Le+Ke));Q.l+=Le+Ke+Je;var At=Q.l;Q.l=Ge+4,Xe&&Xe[1]&&((Xe[1]||{}).usz&&(pe=Xe[1].usz),(Xe[1]||{}).csz&&(be=Xe[1].csz)),ka(Q,be,pe,K,Xe),Q.l=At}return K}function ka(U,W,Q,te,le){U.l+=2;var K=U.read_shift(2),ye=U.read_shift(2),Ae=o(U);if(K&8257)throw new Error("Unsupported ZIP encryption");for(var we=U.read_shift(4),be=U.read_shift(4),pe=U.read_shift(4),Le=U.read_shift(2),Ke=U.read_shift(2),Je="",Ge=0;Ge<Le;++Ge)Je+=String.fromCharCode(U[U.l++]);if(Ke){var Xe=s(U.slice(U.l,U.l+Ke));(Xe[21589]||{}).mt&&(Ae=Xe[21589].mt),(Xe[1]||{}).usz&&(pe=Xe[1].usz),(Xe[1]||{}).csz&&(be=Xe[1].csz),le&&((le[21589]||{}).mt&&(Ae=le[21589].mt),(le[1]||{}).usz&&(pe=Xe[1].usz),(le[1]||{}).csz&&(be=Xe[1].csz))}U.l+=Ke;var At=U.slice(U.l,U.l+be);switch(ye){case 8:At=ke(U,pe);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+ye)}var Rr=!1;K&8&&(we=U.read_shift(4),we==134695760&&(we=U.read_shift(4),Rr=!0),be=U.read_shift(4),pe=U.read_shift(4)),be!=W&&gl(Rr,"Bad compressed size: "+W+" != "+be),pe!=Q&&gl(Rr,"Bad uncompressed size: "+Q+" != "+pe),bl(te,Je,At,{unsafe:!0,mt:Ae})}function Ga(U,W){var Q=W||{},te=[],le=[],K=ea(1),ye=Q.compression?8:0,Ae=0,we=0,be=0,pe=0,Le=0,Ke=U.FullPaths[0],Je=Ke,Ge=U.FileIndex[0],Xe=[],At=0;for(we=1;we<U.FullPaths.length;++we)if(Je=U.FullPaths[we].slice(Ke.length),Ge=U.FileIndex[we],!(!Ge.size||!Ge.content||Je=="�Sh33tJ5")){var Rr=pe,Pr=ea(Je.length);for(be=0;be<Je.length;++be)Pr.write_shift(1,Je.charCodeAt(be)&127);Pr=Pr.slice(0,Pr.l),Xe[Le]=typeof Ge.content=="string"?gY.bstr(Ge.content,0):gY.buf(Ge.content,0);var wn=typeof Ge.content=="string"?qs(Ge.content):Ge.content;ye==8&&(wn=ge(wn)),K=ea(30),K.write_shift(4,67324752),K.write_shift(2,20),K.write_shift(2,Ae),K.write_shift(2,ye),Ge.mt?a(K,Ge.mt):K.write_shift(4,0),K.write_shift(-4,Xe[Le]),K.write_shift(4,wn.length),K.write_shift(4,Ge.content.length),K.write_shift(2,Pr.length),K.write_shift(2,0),pe+=K.length,te.push(K),pe+=Pr.length,te.push(Pr),pe+=wn.length,te.push(wn),K=ea(46),K.write_shift(4,33639248),K.write_shift(2,0),K.write_shift(2,20),K.write_shift(2,Ae),K.write_shift(2,ye),K.write_shift(4,0),K.write_shift(-4,Xe[Le]),K.write_shift(4,wn.length),K.write_shift(4,Ge.content.length),K.write_shift(2,Pr.length),K.write_shift(2,0),K.write_shift(2,0),K.write_shift(2,0),K.write_shift(2,0),K.write_shift(4,0),K.write_shift(4,Rr),At+=K.l,le.push(K),At+=Pr.length,le.push(Pr),++Le}return K=ea(22),K.write_shift(4,101010256),K.write_shift(2,0),K.write_shift(2,0),K.write_shift(2,Le),K.write_shift(2,Le),K.write_shift(4,At),K.write_shift(4,pe),K.write_shift(2,0),hh([hh(te),hh(le),K])}var ii={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Xo(U,W){if(U.ctype)return U.ctype;var Q=U.name||"",te=Q.match(/\.([^\.]+)$/);return te&&ii[te[1]]||W&&(te=(Q=W).match(/[\.\\]([^\.\\])+$/),te&&ii[te[1]])?ii[te[1]]:"application/octet-stream"}function Qo(U){for(var W=sY(U),Q=[],te=0;te<W.length;te+=76)Q.push(W.slice(te,te+76));return Q.join(`\r
513`)+`\r
514`}function Jo(U){var W=U.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(be){var pe=be.charCodeAt(0).toString(16).toUpperCase();return"="+(pe.length==1?"0"+pe:pe)});W=W.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),W.charAt(0)==`
515`&&(W="=0D"+W.slice(1)),W=W.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,`
516=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var Q=[],te=W.split(`\r
517`),le=0;le<te.length;++le){var K=te[le];if(K.length==0){Q.push("");continue}for(var ye=0;ye<K.length;){var Ae=76,we=K.slice(ye,ye+Ae);we.charAt(Ae-1)=="="?Ae--:we.charAt(Ae-2)=="="?Ae-=2:we.charAt(Ae-3)=="="&&(Ae-=3),we=K.slice(ye,ye+Ae),ye+=Ae,ye<K.length&&(we+="="),Q.push(we)}}return Q.join(`\r
518`)}function ko(U){for(var W=[],Q=0;Q<U.length;++Q){for(var te=U[Q];Q<=U.length&&te.charAt(te.length-1)=="=";)te=te.slice(0,te.length-1)+U[++Q];W.push(te)}for(var le=0;le<W.length;++le)W[le]=W[le].replace(/[=][0-9A-Fa-f]{2}/g,function(K){return String.fromCharCode(parseInt(K.slice(1),16))});return qs(W.join(`\r
519`))}function As(U,W,Q){for(var te="",le="",K="",ye,Ae=0;Ae<10;++Ae){var we=W[Ae];if(!we||we.match(/^\s*$/))break;var be=we.match(/^([^:]*?):\s*([^\s].*)$/);if(be)switch(be[1].toLowerCase()){case"content-location":te=be[2].trim();break;case"content-type":K=be[2].trim();break;case"content-transfer-encoding":le=be[2].trim();break}}switch(++Ae,le.toLowerCase()){case"base64":ye=qs(cl(W.slice(Ae).join("")));break;case"quoted-printable":ye=ko(W.slice(Ae));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+le)}
519var pe=bl(U,te.slice(Q.length),ye,{unsafe:!0});K&&(pe.ctype=K)}function vl(U,W){if(ne(U.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var Q=W&&W.root||"",te=(Ur&&Buffer.isBuffer(U)?U.toString("binary"):ne(U)).split(`\r
520`),le=0,K="";for(le=0;le<te.length;++le)if(K=te[le],!!/^Content-Location:/i.test(K)&&(K=K.slice(K.indexOf("file")),Q||(Q=K.slice(0,K.lastIndexOf("/")+1)),K.slice(0,Q.length)!=Q))for(;Q.length>0&&(Q=Q.slice(0,Q.length-1),Q=Q.slice(0,Q.lastIndexOf("/")+1),K.slice(0,Q.length)!=Q););var ye=(te[1]||"").match(/boundary="(.*?)"/);if(!ye)throw new Error("MAD cannot find boundary");var Ae="--"+(ye[1]||""),we=[],be=[],pe={FileIndex:we,FullPaths:be};T(pe);var Le,Ke=0;for(le=0;le<te.length;++le){var Je=te[le];Je!==Ae&&Je!==Ae+"--"||(Ke++&&As(pe,te.slice(Le,le),Q),Le=le)}return pe}function yl(U,W){var Q=W||{},te=Q.boundary||"SheetJS";te="------="+te;for(var le=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+te.slice(2)+'"',"","",""],K=U.FullPaths[0],ye=K,Ae=U.FileIndex[0],we=1;we<U.FullPaths.length;++we)if(ye=U.FullPaths[we].slice(K.length),Ae=U.FileIndex[we],!(!Ae.size||!Ae.content||ye=="�Sh33tJ5")){ye=ye.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(At){return"_x"+At.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(At){return"_u"+At.charCodeAt(0).toString(16)+"_"});for(var be=Ae.content,pe=Ur&&Buffer.isBuffer(be)?be.toString("binary"):ne(be),Le=0,Ke=Math.min(1024,pe.length),Je=0,Ge=0;Ge<=Ke;++Ge)(Je=pe.charCodeAt(Ge))>=32&&Je<128&&++Le;var Xe=Le>=Ke*4/5;le.push(te),le.push("Content-Location: "+(Q.root||"file:///C:/SheetJS/")+ye),le.push("Content-Transfer-Encoding: "+(Xe?"quoted-printable":"base64")),le.push("Content-Type: "+Xo(Ae,ye)),le.push(""),le.push(Xe?Jo(pe):Qo(pe))}return le.push(te+`--\r
521`),le.join(`\r
522`)}function Ed(U){var W={};return T(W,U),W}function bl(U,W,Q,te){var le=te&&te.unsafe;le||T(U);var K=!le&&Gr.find(U,W);if(!K){var ye=U.FullPaths[0];W.slice(0,ye.length)==ye?ye=W:(ye.slice(-1)!="/"&&(ye+="/"),ye=(ye+W).replace("//","/")),K={name:i(W),type:2},U.FileIndex.push(K),U.FullPaths.push(ye),le||Gr.utils.cfb_gc(U)}return K.content=Q,K.size=Q?Q.length:0,te&&(te.CLSID&&(K.clsid=te.CLSID),te.mt&&(K.mt=te.mt),te.ct&&(K.ct=te.ct)),K}function me(U,W){T(U);var Q=Gr.find(U,W);if(Q){for(var te=0;te<U.FileIndex.length;++te)if(U.FileIndex[te]==Q)return U.FileIndex.splice(te,1),U.FullPaths.splice(te,1),!0}return!1}function Ee(U,W,Q){T(U);var te=Gr.find(U,W);if(te){for(var le=0;le<U.FileIndex.length;++le)if(U.FileIndex[le]==te)return U.FileIndex[le].name=i(Q),U.FullPaths[le]=Q,!0}return!1}function Ue(U){P(U,!0)}return t.find=I,t.read=C,t.parse=u,t.write=ie,t.writeFile=se,t.utils={cfb_new:Ed,cfb_add:bl,cfb_del:me,cfb_mov:Ee,cfb_gc:Ue,ReadShift:Jb,CheckField:Hde,prep_blob:ia,bconcat:hh,use_zlib:ce,_deflateRaw:rr,_inflateRaw:_s,consts:Y},t}(),Zdt;function Ydt(e){if(typeof Deno<"u")return Deno.readFileSync(e);if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var t=File(e);t.open("r"),t.encoding="binary";var r=t.read();return t.close(),r}catch(n){if(!n.message||n.message.indexOf("onstruct")==-1)throw n}throw new Error("Cannot access file "+e)}function Yl(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function BM(e){for(var t=[],r=Yl(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}var bde=Date.UTC(1899,11,30,0,0,0),$dt=Date.UTC(1899,11,31,0,0,0),Xdt=Date.UTC(1904,0,1,0,0,0);function ca(e,t){var r=e.getTime(),n=(r-bde)/(24*60*60*1e3);return t?(n-=1462,n<-1402?n-1:n):n<60?n-1:n}function Uh(e){if(e>=60&&e<61)return e;var t=new Date;return t.setTime((e>60?e:e+1)*24*60*60*1e3+bde),t}function Qdt(e){var t=0,r=0,n=!1,i=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!i)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var a=1;a!=i.length;++a)if(i[a]){switch(r=1,a>3&&(n=!0),i[a].slice(i[a].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+i[a].slice(i[a].length-1));case"D":r*=24;case"H":r*=60;case"M":if(n)r*=60;else throw new Error("Unsupported ISO Duration Field: M")}t+=r*parseInt(i[a],10)}return t}
vendor: 4,254 bytes, line 522
522var Jdt=/^(\d+):(\d+)(:\d+)?(\.\d+)?$/,eft=/^(\d+)-(\d+)-(\d+)$/,Sde=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)?(\.\d+)?$/;function Va(e,t){if(e instanceof Date)return e;var r=e.match(Jdt);if(r)return new Date((t?Xdt:$dt)+((parseInt(r[1],10)*60+parseInt(r[2],10))*60+(r[3]?parseInt(r[3].slice(1),10):0))*1e3+(r[4]?parseInt((r[4]+"000").slice(1,4),10):0));if(r=e.match(eft),r)return new Date(Date.UTC(+r[1],+r[2]-1,+r[3],0,0,0,0));if(r=e.match(Sde),r)return new Date(Date.UTC(+r[1],+r[2]-1,+r[3],+r[4],+r[5],r[6]&&parseInt(r[6].slice(1),10)||0,r[7]&&parseInt((r[7]+"0000").slice(1,4),10)||0));var n=new Date(e);return n}function e0(e,t){if(Ur&&Buffer.isBuffer(e)){if(t&&Lw){if(e[0]==255&&e[1]==254)return ub(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return ub(cde(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder<"u")try{if(t){if(e[0]==255&&e[1]==254)return ub(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return ub(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"€":"€","‚":"‚",ƒ:"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰",Š:"Š","‹":"‹",Œ:"Œ",Ž:"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™",š:"š","›":"›",œ:"œ",ž:"ž",Ÿ:"Ÿ"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(a){return r[a]||a})}catch{}var n=[],i=0;try{for(i=0;i<e.length-65536;i+=65536)n.push(String.fromCharCode.apply(0,e.slice(i,i+65536)));n.push(String.fromCharCode.apply(0,e.slice(i)))}catch{try{for(;i<e.length-16384;i+=16384)n.push(String.fromCharCode.apply(0,e.slice(i,i+16384)));n.push(String.fromCharCode.apply(0,e.slice(i)))}catch{for(;i!=e.length;++i)n.push(String.fromCharCode(e[i]))}}return n.join("")}function Gi(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=Gi(e[r]));return t}function jr(e,t){for(var r="";r.length<t;)r+=e;return r}function ol(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return r*=100,""});return!isNaN(t=Number(n))||(n=n.replace(/[(]([^()]*)[)]/,function(i,a){return r=-r,a}),!isNaN(t=Number(n)))?t/r:t}var tft=/^(0?\d|1[0-2])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))\s+([ap])m?$/,rft=/^([01]?\d|2[0-3])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))$/,nft=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)(\.\d+)?[Z]?$/,ift=new Date("6/9/69 00:00 UTC").valueOf()==-177984e5;function aft(e){return e[2]?e[3]?e[4]?new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],+e[4],parseFloat(e[3])*1e3)):new Date(Date.UTC(1899,11,31,e[7]=="p"?12:0,+e[1],+e[2],parseFloat(e[3])*1e3)):e[5]?new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],+e[5],e[6]?parseFloat(e[6])*1e3:0)):new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],0,0)):new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),0,0,0))}function oft(e){return e[2]?e[3]?e[4]?new Date(Date.UTC(1899,11,31,+e[1],+e[2],+e[4],parseFloat(e[3])*1e3)):new Date(Date.UTC(1899,11,31,0,+e[1],+e[2],parseFloat(e[3])*1e3)):e[5]?new Date(Date.UTC(1899,11,31,+e[1],+e[2],+e[5],e[6]?parseFloat(e[6])*1e3:0)):new Date(Date.UTC(1899,11,31,+e[1],+e[2],0,0)):new Date(Date.UTC(1899,11,31,+e[1],0,0,0))}var sft=["january","february","march","april","may","june","july","august","september","october","november","december"];function Uw(e){if(nft.test(e))return e.indexOf("Z")==-1?tO(new Date(e)):new Date(e);var t=e.toLowerCase(),r=t.replace(/\s+/g," ").trim(),n=r.match(tft);if(n)return aft(n);if(n=r.match(rft),n)return oft(n);if(n=r.match(Sde),n)return new Date(Date.UTC(+n[1],+n[2]-1,+n[3],+n[4],+n[5],n[6]&&parseInt(n[6].slice(1),10)||0,n[7]&&parseInt((n[7]+"0000").slice(1,4),10)||0));var i=new Date(ift&&e.indexOf("UTC")==-1?e+" UTC":e),a=new Date(NaN),o=i.getYear();i.getMonth();var s=i.getDate();if(isNaN(s))return a;
522if(t.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(t=t.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),t.length>3&&sft.indexOf(t)==-1)return a}else if(t.replace(/[ap]m?/,"").match(/[a-z]/))return a;return o<0||o>8099||e.match(/[^-0-9:,\/\\\ ]/)?a:i}var lft=function(){var e="abacaba".split(/(:?b)/i).length==5;return function(r,n,i){if(e||typeof n=="string")return r.split(n);for(var a=r.split(n),o=[a[0]],s=1;s<a.length;++s)o.push(i),o.push(a[s]);return o}}();function t0(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}function tO(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))}function UM(e){var t=e.slice(0,1024),r=t.indexOf("<!DOCTYPE");if(r==-1)return e;var n=e.match(/<[\w]/);return n?e.slice(0,r)+e.slice(n.index):e}function zM(e,t,r){for(var n=[],i=e.indexOf(t);i>-1;){var a=e.indexOf(r,i+t.length);if(a==-1)break;n.push(e.slice(i,a+r.length)),i=e.indexOf(t,a+r.length)}return n.length>0?n:null}function l2(e,t,r){var n=[],i=0,a=e.indexOf(t);if(a==-1)return e;for(;a>-1;){n.push(e.slice(i,a));var o=e.indexOf(r,a+t.length);if(o==-1)break;(a=e.indexOf(t,i=o+r.length))==-1&&n.push(e.slice(i))}return n.join("")}var cft={" ":1,"	":1,"\r":1,"\n":1,">":1};function Sm(e,t){for(var r=e.indexOf("<"+t),n=t.length+1,i=e.length;r>=0&&r<=i-n&&!cft[e.charAt(r+n)];)r=e.indexOf("<"+t,r+1);if(r===-1)return null;var a=e.indexOf(">",r+t.length);if(a===-1)return null;var o="</"+t+">",s=e.indexOf(o,a);return s==-1?null:[e.slice(r,s+o.length),e.slice(a+1,s)]}var Sa=function(){var e={};return function(r,n){var i=e[n];i||(e[n]=i=[new RegExp("<(?:\\w+:)?"+n+"\\b[^<>]*>","g"),new RegExp("</(?:\\w+:)?"+n+">","g")]),i[0].lastIndex=i[1].lastIndex=0;var a=i[0].exec(r);if(!a)return null;var o=a.index,s=i[0].lastIndex;if(i[1].lastIndex=i[0].lastIndex,a=i[1].exec(r),!a)return null;var l=a.index,c=i[1].lastIndex;return[r.slice(o,c),r.slice(s,l)]}}(),wde=function(){var e={};return function(r,n){var i=[],a=e[n];a||(e[n]=a=[new RegExp("<(?:\\w+:)?"+n+"\\b[^<>]*>","g"),new RegExp("</(?:\\w+:)?"+n+">","g")]),a[0].lastIndex=a[1].lastIndex=0;for(var o;o=a[0].exec(r);){var s=o.index;if(a[1].lastIndex=a[0].lastIndex,o=a[1].exec(r),!o)return null;var l=a[1].lastIndex;i.push(r.slice(s,l)),a[0].lastIndex=a[1].lastIndex}return i.length==0?null:i}}(),uft=function(){var e={};return function(r,n){var i=[],a=e[n];a||(e[n]=a=[new RegExp("<(?:\\w+:)?"+n+"\\b[^<>]*>","g"),new RegExp("</(?:\\w+:)?"+n+">","g")]),a[0].lastIndex=a[1].lastIndex=0;for(var o,s=0,l=0;o=a[0].exec(r);){if(s=o.index,i.push(r.slice(l,s)),l=s,a[1].lastIndex=a[0].lastIndex,o=a[1].exec(r),!o)return null;l=a[1].lastIndex,a[0].lastIndex=a[1].lastIndex}return i.push(r.slice(l)),i.length==0?"":i.join("")}}(),dft=function(){var e={};return function(r,n){var i=[],a=e[n];a||(e[n]=a=[new RegExp("<"+n+"\\b[^<>]*>","ig"),new RegExp("</"+n+">","ig")]),a[0].lastIndex=a[1].lastIndex=0;for(var o;o=a[0].exec(r);){var s=o.index;if(a[1].lastIndex=a[0].lastIndex,o=a[1].exec(r),!o)return null;var l=a[1].lastIndex;i.push(r.slice(s,l)),a[0].lastIndex=a[1].lastIndex}return i.length==0?null:i}}();function xde(e){return e?e.content&&e.type?e0(e.content,!0):e.data?lb(e.data):e.asNodeBuffer&&Ur?lb(e.asNodeBuffer().toString("binary")):e.asBinary?lb(e.asBinary()):e._data&&e._data.getContent?lb(e0(Array.prototype.slice.call(e._data.getContent(),0))):null:null}function Cde(e){if(!e)return null;if(e.data)return aY(e.data);if(e.asNodeBuffer&&Ur)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return typeof t=="string"?aY(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function fft(e){return e&&e.name.slice(-4)===".bin"?Cde(e):xde(e)}function Al(e,t){for(var r=e.FullPaths||Yl(e.files),n=t.toLowerCase().replace(/[\/]/g,"\\"),i=n.replace(/\\/g,"/"),a=0;a<r.length;++a){var o=r[a].replace(/^Root Entry[\/]/,"").toLowerCase();if(n==o||i==o)return e.files?e.files[r[a]]:e.FileIndex[a]}return null}function HM(e,t){var r=Al(e,t);if(r==null)throw new Error("Cannot find file "+t+" in zip");return r}function Li(e,t,r){if(!r)return fft(HM(e,t));if(!t)return null;try{return Li(e,t)}catch{return null}}function Lo(e,t,r){if(!r)return xde(HM(e,t));if(!t)return null;try{return Lo(e,t)}catch{return null}}function hft(e,t,r){return Cde(HM(e,t))}
522function vY(e){for(var t=e.FullPaths||Yl(e.files),r=[],n=0;n<t.length;++n)t[n].slice(-1)!="/"&&r.push(t[n].replace(/^Root Entry[\/]/,""));return r.sort()}function pft(e,t,r){if(e.FullPaths){if(typeof r=="string"){var n;return Ur?n=mp(r):n=wdt(r),Gr.utils.cfb_add(e,t,n)}Gr.utils.cfb_add(e,t,r)}else e.file(t,r)}function Ede(e,t){switch(t.type){case"base64":return Gr.read(e,{type:"base64"});case"binary":return Gr.read(e,{type:"binary"});case"buffer":case"array":return Gr.read(e,{type:"buffer"})}throw new Error("Unrecognized type "+t.type)}function Lg(e,t){if(e.charAt(0)=="/")return e.slice(1);var r=t.split("/");t.slice(-1)!="/"&&r.pop();for(var n=e.split("/");n.length!==0;){var i=n.shift();i===".."?r.pop():i!=="."&&r.push(i)}return r.join("/")}var kde=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
523`,mft=/\s([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,yY=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?<>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'"<>\s=]+))*\s*[\/\?]?>/mg,gft=/<[^<>]*>/g,ja=kde.match(yY)?yY:gft,vft=/<\w*:/,yft=/<(\/?)\w+:/;function Nt(e,t,r){for(var n={},i=0,a=0;i!==e.length&&!((a=e.charCodeAt(i))===32||a===10||a===13);++i);if(t||(n[0]=e.slice(0,i)),i===e.length)return n;var o=e.match(mft),s=0,l="",c=0,u="",d="",f=1;if(o)for(c=0;c!=o.length;++c){for(d=o[c].slice(1),a=0;a!=d.length&&d.charCodeAt(a)!==61;++a);for(u=d.slice(0,a).trim();d.charCodeAt(a+1)==32;)++a;for(f=(i=d.charCodeAt(a+1))==34||i==39?1:0,l=d.slice(a+1+f,d.length-f),s=0;s!=u.length&&u.charCodeAt(s)!==58;++s);if(s===u.length)u.indexOf("_")>0&&(u=u.slice(0,u.indexOf("_"))),n[u]=l,n[u.toLowerCase()]=l;else{var h=(s===5&&u.slice(0,5)==="xmlns"?"xmlns":"")+u.slice(s+1);if(n[h]&&u.slice(s-3,s)=="ext")continue;n[h]=l,n[h.toLowerCase()]=l}}return n}function bc(e){return e.replace(yft,"<$1")}var Tde={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},bft=BM(Tde),zr=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/ig,t=/_x([\da-fA-F]{4})_/ig;function r(n){var i=n+"",a=i.indexOf("<![CDATA[");if(a==-1)return i.replace(e,function(s,l){return Tde[s]||String.fromCharCode(parseInt(l,s.indexOf("x")>-1?16:10))||s}).replace(t,function(s,l){return String.fromCharCode(parseInt(l,16))});var o=i.indexOf("]]>");return r(i.slice(0,a))+i.slice(a+9,o)+r(i.slice(o+3))}return function(i,a){var o=r(i);return a?o.replace(/\r\n/g,`
524`):o}}(),Sft=/[&<>'"]/g,wft=/[\u0000-\u001f]/g;function Qb(e){var t=e+"";return t.replace(Sft,function(r){return bft[r]}).replace(/\n/g,"<br/>").replace(wft,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}var bY=function(){var e=/&#(\d+);/g;function t(r,n){return String.fromCharCode(parseInt(n,10))}return function(n){return n.replace(e,t)}}();function Tn(e){switch(e){case 1:case!0:case"1":case"true":return!0;case 0:case!1:case"0":case"false":return!1}return!1}function pR(e){for(var t="",r=0,n=0,i=0,a=0,o=0,s=0;r<e.length;){if(n=e.charCodeAt(r++),n<128){t+=String.fromCharCode(n);continue}if(i=e.charCodeAt(r++),n>191&&n<224){o=(n&31)<<6,o|=i&63,t+=String.fromCharCode(o);continue}if(a=e.charCodeAt(r++),n<240){t+=String.fromCharCode((n&15)<<12|(i&63)<<6|a&63);continue}o=e.charCodeAt(r++),s=((n&7)<<18|(i&63)<<12|(a&63)<<6|o&63)-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(s&1023))}return t}function SY(e){var t=ep(2*e.length),r,n,i=1,a=0,o=0,s;for(n=0;n<e.length;n+=i)i=1,(s=e.charCodeAt(n))<128?r=s:s<224?(r=(s&31)*64+(e.charCodeAt(n+1)&63),i=2):s<240?(r=(s&15)*4096+(e.charCodeAt(n+1)&63)*64+(e.charCodeAt(n+2)&63),i=3):(i=4,r=(s&7)*262144+(e.charCodeAt(n+1)&63)*4096+(e.charCodeAt(n+2)&63)*64+(e.charCodeAt(n+3)&63),r-=65536,o=55296+(r>>>10&1023),r=56320+(r&1023)),o!==0&&(t[a++]=o&255,t[a++]=o>>>8,o=0),t[a++]=r%256,t[a++]=r>>>8;return t.slice(0,a).toString("ucs2")}function wY(e){return mp(e,"binary").toString("utf8")}var JC="foo bar baz☃🍣",Nn=Ur&&(wY(JC)==pR(JC)&&wY||SY(JC)==pR(JC)&&SY)||pR,ub=Ur?function(e){return mp(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,i=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,i=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(i>>18&7))),t.push(String.fromCharCode(144+(i>>12&63))),t.push(String.fromCharCode(128+(i>>6&63))),t.push(String.fromCharCode(128+(i&63)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)))}return t.join("")},_de=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]});return function(r){for(var n=r.replace(/^[\t\n\r ]+/,"").replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1").replace(/>\s+/g,">").replace(/\b\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,`
525`).replace(/<[^<>]*>/g,""),i=0;i<e.length;++i)n=n.replace(e[i][0],e[i][1]);return n}}(),xft=/<\/?(?:vt:)?variant>/g,Cft=/<(?:vt:)([^<"'>]*)>([\s\S]*)</;function xY(e,t){var r=Nt(e),n=wde(e,r.baseType)||[],i=[];if(n.length!=r.size){if(t.WTF)throw new Error("unexpected vector length "+n.length+" != "+r.size);return i}
vendor: 4,900 bytes, line 525
525return n.forEach(function(a){var o=a.replace(xft,"").match(Cft);o&&i.push({v:Nn(o[2]),t:o[1]})}),i}var Eft=/(^\s|\s$|\n)/;function kft(e){return Yl(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function Tft(e,t,r){return"<"+e+(r!=null?kft(r):"")+(t!=null?(t.match(Eft)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function rO(e){if(Ur&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e=="string")return e;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return Nn(gf(NM(e)));throw new Error("Bad input format: expected Buffer or string")}var Bi=/<([\/]?)([^\s?><!\/:"]*:|)([^\s?<>:\/"]+)(?:\s+[^<>=?"'\s]+="[^"]*?")*\s*[\/]?>/mg,_ft={CT:"http://schemas.openxmlformats.org/package/2006/content-types"},Pft=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];function Aft(e,t){for(var r=1-2*(e[t+7]>>>7),n=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),i=e[t+6]&15,a=5;a>=0;--a)i=i*256+e[t+a];return n==2047?i==0?r*(1/0):NaN:(n==0?n=-1022:(n-=1023,i+=Math.pow(2,52)),r*Math.pow(2,n-52)*i)}function Oft(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,i=0,a=0,o=n?-t:t;isFinite(o)?o==0?i=a=0:(i=Math.floor(Math.log(o)/Math.LN2),a=o*Math.pow(2,52-i),i<=-1023&&(!isFinite(a)||a<Math.pow(2,52))?i=-1022:(a-=Math.pow(2,52),i+=1023)):(i=2047,a=isNaN(t)?26985:0);for(var s=0;s<=5;++s,a/=256)e[r+s]=a&255;e[r+6]=(i&15)<<4|a&15,e[r+7]=i>>4|n}var CY=function(e){for(var t=[],r=10240,n=0;n<e[0].length;++n)if(e[0][n])for(var i=0,a=e[0][n].length;i<a;i+=r)t.push.apply(t,e[0][n].slice(i,i+r));return t},EY=Ur?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:mp(t)})):CY(e)}:CY,kY=function(e,t,r){for(var n=[],i=t;i<r;i+=2)n.push(String.fromCharCode(Kd(e,i)));return n.join("").replace(jo,"")},qM=Ur?function(e,t,r){return!Buffer.isBuffer(e)||!Lw?kY(e,t,r):e.toString("utf16le",t,r).replace(jo,"")}:kY,TY=function(e,t,r){for(var n=[],i=t;i<t+r;++i)n.push(("0"+e[i].toString(16)).slice(-2));return n.join("")},Pde=Ur?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):TY(e,t,r)}:TY,_Y=function(e,t,r){for(var n=[],i=t;i<r;i++)n.push(String.fromCharCode(dg(e,i)));return n.join("")},c2=Ur?function(t,r,n){return Buffer.isBuffer(t)?t.toString("utf8",r,n):_Y(t,r,n)}:_Y,Ade=function(e,t){var r=Ws(e,t);return r>0?c2(e,t+4,t+4+r-1):""},Ode=Ade,Ide=function(e,t){var r=Ws(e,t);return r>0?c2(e,t+4,t+4+r-1):""},Rde=Ide,Fde=function(e,t){var r=2*Ws(e,t);return r>0?c2(e,t+4,t+4+r-1):""},Dde=Fde,Nde=function(t,r){var n=Ws(t,r);return n>0?qM(t,r+4,r+4+n):""},Mde=Nde,Lde=function(e,t){var r=Ws(e,t);return r>0?c2(e,t+4,t+4+r):""},Bde=Lde,Ude=function(e,t){return Aft(e,t)},S_=Ude,zde=function(t){return Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array};Ur&&(Ode=function(t,r){if(!Buffer.isBuffer(t))return Ade(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},Rde=function(t,r){if(!Buffer.isBuffer(t))return Ide(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},Dde=function(t,r){if(!Buffer.isBuffer(t)||!Lw)return Fde(t,r);var n=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n-1)},Mde=function(t,r){if(!Buffer.isBuffer(t)||!Lw)return Nde(t,r);var n=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n)},Bde=function(t,r){if(!Buffer.isBuffer(t))return Lde(t,r);var n=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+n)},S_=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):Ude(t,r)},zde=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array});var dg=function(e,t){return e[t]},Kd=function(e,t){return e[t+1]*256+e[t]},Ift=function(e,t){var r=e[t+1]*256+e[t];return r<32768?r:(65535-r+1)*-1},Ws=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Wp=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Rft=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Jb(e,t){var r="",n,i,a=[],o,s,l,c;switch(t){case"dbcs":if(c=this.l,Ur&&Buffer.isBuffer(this)&&Lw)r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(l=0;l<e;++l)r+=String.fromCharCode(Kd(this,c)),c+=2;e*=2;break;case"utf8":r=c2(this,this.l,this.l+e);break;case"utf16le":e*=2,r=qM(this,this.l,this.l+e);break;case"wstr":return Jb.call(this,e,"dbcs");case"lpstr-ansi":r=Ode(this,this.l),e=4+Ws(this,this.l);break;case"lpstr-cp":r=Rde(this,this.l),e=4+Ws(this,this.l);break;case"lpwstr":r=Dde(this,this.l),e=4+2*Ws(this,this.l);break;case"lpp4":e=4+Ws(this,this.l),r=Mde(this,this.l),e&2&&(e+=2);break;case"8lpp4":e=4+Ws(this,this.l),r=Bde(this,this.l),e&3&&(e+=4-(e&3));break;case"cstr":for(e=0,r="";(o=dg(this,this.l+e++))!==0;)a.push(QC(o));r=a.join("");break;case"_wstr":for(e=0,r="";(o=Kd(this,this.l+e))!==0;)a.push(QC(o)),e+=2;
525e+=2,r=a.join("");break;case"dbcs-cont":for(r="",c=this.l,l=0;l<e;++l){if(this.lens&&this.lens.indexOf(c)!==-1)return o=dg(this,c),this.l=c+1,s=Jb.call(this,e-l,o?"dbcs-cont":"sbcs-cont"),a.join("")+s;a.push(QC(Kd(this,c))),c+=2}r=a.join(""),e*=2;break;case"cpstr":case"sbcs-cont":for(r="",c=this.l,l=0;l!=e;++l){if(this.lens&&this.lens.indexOf(c)!==-1)return o=dg(this,c),this.l=c+1,s=Jb.call(this,e-l,o?"dbcs-cont":"sbcs-cont"),a.join("")+s;a.push(QC(dg(this,c))),c+=1}r=a.join("");break;default:switch(e){case 1:return n=dg(this,this.l),this.l++,n;case 2:return n=(t==="i"?Ift:Kd)(this,this.l),this.l+=2,n;case 4:case-4:return t==="i"||!(this[this.l+3]&128)?(n=(e>0?Wp:Rft)(this,this.l),this.l+=4,n):(i=Ws(this,this.l),this.l+=4,i);case 8:case-8:if(t==="f")return e==8?i=S_(this,this.l):i=S_([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,i;e=8;case 16:r=Pde(this,this.l,e);break}}return this.l+=e,r}var Fft=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},Dft=function(e,t,r){e[r]=t&255,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},Nft=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255};function Mft(e,t,r){var n=0,i=0;if(r==="dbcs"){for(i=0;i!=t.length;++i)Nft(this,t.charCodeAt(i),this.l+2*i);n=2*t.length}else if(r==="sbcs"||r=="cpstr"){for(t=t.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=t.length;++i)this[this.l+i]=t.charCodeAt(i)&255;n=t.length}else if(r==="hex"){for(;i<e;++i)this[this.l++]=parseInt(t.slice(2*i,2*i+2),16)||0;return this}else if(r==="utf16le"){var a=Math.min(this.l+e,this.length);for(i=0;i<Math.min(t.length,e);++i){var o=t.charCodeAt(i);this[this.l++]=o&255,this[this.l++]=o>>8}for(;this.l<a;)this[this.l++]=0;return this}else switch(e){case 1:n=1,this[this.l]=t&255;break;case 2:n=2,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255;break;case 3:n=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:n=4,Fft(this,t,this.l);break;case 8:if(n=8,r==="f"){Oft(this,t,this.l);break}case 16:break;case-4:n=4,Dft(this,t,this.l);break}return this.l+=n,this}function Hde(e,t){var r=Pde(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function ia(e,t){e.l=t,e.read_shift=Jb,e.chk=Hde,e.write_shift=Mft}function xo(e,t){e.l+=t}function ea(e){var t=ep(e);return ia(t,0),t}function Cf(e,t,r){if(e){var n,i,a;ia(e,e.l||0);for(var o=e.length,s=0,l=0;e.l<o;){s=e.read_shift(1),s&128&&(s=(s&127)+((e.read_shift(1)&127)<<7));var c=__[s]||__[65535];for(n=e.read_shift(1),a=n&127,i=1;i<4&&n&128;++i)a+=((n=e.read_shift(1))&127)<<7*i;l=e.l+a;var u=c.f&&c.f(e,a,r);if(e.l=l,t(u,c,s))return}}}function eN(){var e=[],t=Ur?256:2048,r=function(c){var u=ea(c);return ia(u,0),u},n=r(t),i=function(){n&&(n.l&&(n.length>n.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&e.push(n)),n=null)},a=function(c){return n&&c<n.length-n.l?n:(i(),n=r(Math.max(c+1,t)))},o=function(){return i(),hh(e)},s=function(c){i(),n=c,n.l==null&&(n.l=n.length),a(t)};return{next:a,push:s,end:o,_bufs:e}}function eS(e,t,r){var n=Gi(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function PY(e,t,r){var n=Gi(e);return n.s=eS(n.s,t.s,r),n.e=eS(n.e,t.s,r),n}function tS(e,t){if(e.cRel&&e.c<0)for(e=Gi(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=Gi(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=Xr(e);return!e.cRel&&e.cRel!=null&&(r=Uft(r)),!e.rRel&&e.rRel!=null&&(r=Lft(r)),r}function mR(e,t){return e.s.r==0&&!e.s.rRel&&e.e.r==(t.biff>=12?1048575:t.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+tn(e.s.c)+":"+(e.e.cRel?"":"$")+tn(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(t.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+_n(e.s.r)+":"+(e.e.rRel?"":"$")+_n(e.e.r):tS(e.s,t.biff)+":"+tS(e.e,t.biff)}function WM(e){return parseInt(Bft(e),10)-1}function _n(e){return""+(e+1)}function Lft(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Bft(e){return e.replace(/\$(\d+)$/,"$1")}
525function VM(e){for(var t=zft(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function tn(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Uft(e){return e.replace(/^([A-Z])/,"$$$1")}function zft(e){return e.replace(/^\$([A-Z])/,"$1")}function Hft(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function po(e){for(var t=0,r=0,n=0;n<e.length;++n){var i=e.charCodeAt(n);i>=48&&i<=57?t=10*t+(i-48):i>=65&&i<=90&&(r=26*r+(i-64))}return{c:r-1,r:t-1}}function Xr(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function E0(e){var t=e.indexOf(":");return t==-1?{s:po(e),e:po(e)}:{s:po(e.slice(0,t)),e:po(e.slice(t+1))}}function Hr(e,t){return typeof t>"u"||typeof t=="number"?Hr(e.s,e.e):(typeof e!="string"&&(e=Xr(e)),typeof t!="string"&&(t=Xr(t)),e==t?e:e+":"+t)}function qft(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e.replace(/'/g,"''")+"'":e}function Ri(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,i=0,a=e.length;for(r=0;n<a&&!((i=e.charCodeAt(n)-64)<1||i>26);++n)r=26*r+i;for(t.s.c=--r,r=0;n<a&&!((i=e.charCodeAt(n)-48)<0||i>9);++n)r=10*r+i;if(t.s.r=--r,n===a||i!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=a&&!((i=e.charCodeAt(n)-64)<1||i>26);++n)r=26*r+i;for(t.e.c=--r,r=0;n!=a&&!((i=e.charCodeAt(n)-48)<0||i>9);++n)r=10*r+i;return t.e.r=--r,t}function AY(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=ul(e.z,r?ca(t):t)}catch{}try{return e.w=ul((e.XF||{}).numFmtId||(r?14:0),r?ca(t):t)}catch{return""+t}}function tp(e,t,r){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),e.t=="e"?vp[e.v]||e.v:t==null?AY(e,e.v):AY(e,t))}function gp(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function Wft(e){var t={},r=e||{};return r.dense&&(t["!data"]=[]),t}function qde(e,t,r){var n=r||{},i=e?e["!data"]!=null:n.dense,a=e||{};i&&!a["!data"]&&(a["!data"]=[]);var o=0,s=0;if(a&&n.origin!=null)if(typeof n.origin=="number")o=n.origin;else{var l=typeof n.origin=="string"?po(n.origin):n.origin;o=l.r,s=l.c}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(a["!ref"]){var u=Ri(a["!ref"]);c.s.c=u.s.c,c.s.r=u.s.r,c.e.c=Math.max(c.e.c,u.e.c),c.e.r=Math.max(c.e.r,u.e.r),o==-1&&(c.e.r=o=a["!ref"]?u.e.r+1:0)}else c.s.c=c.e.c=c.s.r=c.e.r=0;for(var d=[],f=!1,h=0;h!=t.length;++h)if(t[h]){if(!Array.isArray(t[h]))throw new Error("aoa_to_sheet expects an array of arrays");var p=o+h,g=""+(p+1);i&&(a["!data"][p]||(a["!data"][p]=[]),d=a["!data"][p]);for(var v=0;v!=t[h].length;++v)if(!(typeof t[h][v]>"u")){var m={v:t[h][v]},b=s+v;if(c.s.r>p&&(c.s.r=p),c.s.c>b&&(c.s.c=b),c.e.r<p&&(c.e.r=p),c.e.c<b&&(c.e.c=b),f=!0,t[h][v]&&typeof t[h][v]=="object"&&!Array.isArray(t[h][v])&&!(t[h][v]instanceof Date))m=t[h][v];else if(Array.isArray(m.v)&&(m.f=t[h][v][1],m.v=m.v[0]),m.v===null)if(m.f)m.t="n";else if(n.nullError)m.t="e",m.v=0;else if(n.sheetStubs)m.t="z";else continue;else typeof m.v=="number"?m.t="n":typeof m.v=="boolean"?m.t="b":m.v instanceof Date?(m.z=n.dateNF||sr[14],n.UTC||(m.v=tO(m.v)),n.cellDates?(m.t="d",m.w=ul(m.z,ca(m.v,n.date1904))):(m.t="n",m.v=ca(m.v,n.date1904),m.w=ul(m.z,m.v))):m.t="s";if(i)d[b]&&d[b].z&&(m.z=d[b].z),d[b]=m;else{var y=tn(b)+g;a[y]&&a[y].z&&(m.z=a[y].z),a[y]=m}}}return f&&c.s.c<104e5&&(a["!ref"]=Hr(c)),a}function qy(e,t){return qde(null,e,t)}function Vft(e){return e.read_shift(4,"i")}function vo(e){var t=e.read_shift(4);return t===0?"":e.read_shift(t,"dbcs")}function jft(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function jM(e,t){var r=e.l,n=e.read_shift(1),i=vo(e),a=[],o={t:i,h:i};if(n&1){for(var s=e.read_shift(4),l=0;l!=s;++l)a.push(jft(e));o.r=a}else o.r=[{ich:0,ifnt:0}];return e.l=r+t,o}var Gft=jM;function Sc(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function k0(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}var Kft=vo;function nO(e){var t=e.read_shift(4);return t===0||t===4294967295?"":e.read_shift(t,"dbcs")}var Zft=vo,tN=nO;function iO(e){var t=e.slice(e.l,e.l+4),r=t[0]&1,n=t[0]&2;e.l+=4;var i=n===0?S_([0,0,0,0,t[0]&252,t[1],t[2],t[3]],0):Wp(t,0)>>2;return r?i/100:i}function Wde(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}var T0=Wde;function fo(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Yft(e){var t={},r=e.read_shift(1),n=r>>>1,i=e.read_shift(1),a=e.read_shift(2,"i"),o=e.read_shift(1),s=e.read_shift(1),l=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=i;var c=wm[i];c&&(t.rgb=Hw(c));break;case 2:t.rgb=Hw([o,s,l]);break;case 3:t.theme=i;break}return a!=0&&(t.tint=a>0?a/32767:a/32768),t}function $ft(e){var t=e.read_shift(1);e.l++;var r={fBold:t&1,fItalic:t&2,fUnderline:t&4,fStrikeout:t&8,fOutline:t&16,fShadow:t&32,fCondense:t&64,fExtend:t&128};return r}function Vde(e,t){var r={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},n=e.read_shift(4);switch(n){case 0:return"";case 4294967295:case 4294967294:return r[e.read_shift(4)]||""}if(n>400)throw new Error("Unsupported Clipboard: "+n.toString(16));return e.l-=4,e.read_shift(0,t==1?"lpstr":"lpwstr")}function Xft(e){return Vde(e,1)}function Qft(e){return Vde(e,2)}var GM=2,is=3,eE=11,OY=12,w_=19,tE=64,Jft=65,eht=71,tht=4108,rht=4126,ga=80,jde=81,nht=[ga,jde],iht={1:{n:"CodePage",t:GM},2:{n:"Category",t:ga},3:{n:"PresentationFormat",t:ga},4:{n:"ByteCount",t:is},5:{n:"LineCount",t:is},6:{n:"ParagraphCount",t:is},7:{n:"SlideCount",t:is},8:{n:"NoteCount",t:is},9:{n:"HiddenCount",t:is},10:{n:"MultimediaClipCount",t:is},11:{n:"ScaleCrop",t:eE},12:{n:"HeadingPairs",t:tht},13:{n:"TitlesOfParts",t:rht},14:{n:"Manager",t:ga},15:{n:"Company",t:ga},16:{n:"LinksUpToDate",t:eE},17:{n:"CharacterCount",t:is},19:{n:"SharedDoc",t:eE},22:{n:"HyperlinksChanged",t:eE},23:{n:"AppVersion",t:is,p:"version"},24:{n:"DigSig",t:Jft},26:{n:"ContentType",t:ga},27:{n:"ContentStatus",t:ga},28:{n:"Language",t:ga},29:{n:"Version",t:ga},255:{},2147483648:{n:"Locale",t:w_},2147483651:{n:"Behavior",t:w_},1919054434:{}},aht={1:{n:"CodePage",t:GM},2:{n:"Title",t:ga},3:{n:"Subject",t:ga},4:{n:"Author",t:ga},5:{n:"Keywords",t:ga},6:{n:"Comments",t:ga},7:{n:"Template",t:ga},8:{n:"LastAuthor",t:ga},9:{n:"RevNumber",t:ga}
525,10:{n:"EditTime",t:tE},11:{n:"LastPrinted",t:tE},12:{n:"CreatedDate",t:tE},13:{n:"ModifiedDate",t:tE},14:{n:"PageCount",t:is},15:{n:"WordCount",t:is},16:{n:"CharCount",t:is},17:{n:"Thumbnail",t:eht},18:{n:"Application",t:ga},19:{n:"DocSecurity",t:is},255:{},2147483648:{n:"Locale",t:w_},2147483651:{n:"Behavior",t:w_},1919054434:{}},IY={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},oht=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function sht(e){return e.map(function(t){return[t>>16&255,t>>8&255,t&255]})}var lht=sht([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,0,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),wm=Gi(lht),vp={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},x_={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Gde=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"],RY={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"};function cht(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function uht(e){var t=cht();if(!e||!e.match)return t;var r={};
vendor: 574 bytes, line 525
525if((e.match(ja)||[]).forEach(function(n){var i=Nt(n);switch(i[0].replace(vft,"<")){case"<?xml":break;case"<Types":t.xmlns=i["xmlns"+(i[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":r[i.Extension.toLowerCase()]=i.ContentType;break;case"<Override":t[RY[i.ContentType]]!==void 0&&t[RY[i.ContentType]].push(i.PartName);break}}),t.xmlns!==_ft.CT)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}var Bg
vendor: 2,568 bytes, line 525
525={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",CONN:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function 
vendor: 9,644 bytes, line 525
525rN(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function rS(e,t){var r={"!id":{}};if(!e)return r;t.charAt(0)!=="/"&&(t="/"+t);var n={};return(e.match(ja)||[]).forEach(function(i){var a=Nt(i);if(a[0]==="<Relationship"){var o={};o.Type=a.Type,o.Target=zr(a.Target),o.Id=a.Id,a.TargetMode&&(o.TargetMode=a.TargetMode);var s=a.TargetMode==="External"?a.Target:Lg(a.Target,t);r[s]=o,n[a.Id]=o}}),r["!id"]=n,r}var dht="application/vnd.oasis.opendocument.spreadsheet";function fht(e,t){for(var r=rO(e),n,i;n=Bi.exec(r);)switch(n[3]){case"manifest":break;case"file-entry":if(i=Nt(n[0],!1),i.path=="/"&&i.type!==dht)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw n}}var FY=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function Kde(e){var t={};e=Nn(e);for(var r=0;r<FY.length;++r){var n=FY[r],i=Sm(e,n[0]);i!=null&&i.length>0&&(t[n[1]]=zr(i[1])),n[2]==="date"&&t[n[1]]&&(t[n[1]]=Va(t[n[1]]))}return t}var hht=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];function Zde(e,t,r,n){var i=[];if(typeof e=="string")i=xY(e,n);else for(var a=0;a<e.length;++a)i=i.concat(e[a].map(function(u){return{v:u}}));var o=typeof t=="string"?xY(t,n).map(function(u){return u.v}):t,s=0,l=0;if(o.length>0)for(var c=0;c!==i.length;c+=2){switch(l=+i[c+1].v,i[c].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":r.Worksheets=l,r.SheetNames=o.slice(s,s+l);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":r.NamedRanges=l,r.DefinedNames=o.slice(s,s+l);break;case"Charts":case"Diagramme":r.Chartsheets=l,r.ChartNames=o.slice(s,s+l);break}s+=l}}function pht(e,t,r){var n={};return t||(t={}),e=Nn(e),hht.forEach(function(i){var a=(Sa(e,i[0])||[])[1];switch(i[2]){case"string":a&&(t[i[1]]=zr(a));break;case"bool":t[i[1]]=a==="true";break;case"raw":var o=Sm(e,i[0]);o&&o.length>0&&(n[i[1]]=o[1]);break}}),n.HeadingPairs&&n.TitlesOfParts&&Zde(n.HeadingPairs,n.TitlesOfParts,t,r),t}var mht=/<[^<>]+>[^<]*/g;function ght(e,t){var r={},n="",i=e.match(mht);if(i)for(var a=0;a!=i.length;++a){var o=i[a],s=Nt(o);switch(bc(s[0])){case"<?xml":break;case"<Properties":break;case"<property":n=zr(s.name);break;case"</property>":n=null;break;default:if(o.indexOf("<vt:")===0){var l=o.split(">"),c=l[0].slice(4),u=l[1];switch(c){case"lpstr":case"bstr":case"lpwstr":r[n]=zr(u);break;case"bool":r[n]=Tn(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(u,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(u);break;case"filetime":case"date":r[n]=Va(u);break;case"cy":case"error":r[n]=zr(u);break;default:if(c.slice(-1)=="/")break;t.WTF&&typeof console<"u"&&console.warn("Unexpected",o,c,l)}}else if(o.slice(0,2)!=="</"){if(t.WTF)throw new Error(o)}}}return r}var vht={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"},gR;function yht(e,t,r){gR||(gR=BM(vht)),t=gR[t]||t,e[t]=r}function KM(e){var t=e.read_shift(4),r=e.read_shift(4);return new Date((r/1e7*Math.pow(2,32)+t/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function Yde(e,t,r){var n=e.l,i=e.read_shift(0,"lpstr-cp");if(r)for(;e.l-n&3;)++e.l;return i}function $de(e,t,r){var n=e.read_shift(0,"lpwstr");return n}function Xde(e,t,r){return t===31?$de(e):Yde(e,t,r)}function nN(e,t,r){return Xde(e,t,r===!1?0:4)}function bht(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return Xde(e,t,0)}function Sht(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n){var i=e.l;r[n]=e.read_shift(0,"lpwstr").replace(jo,""),e.l-i&2&&(e.l+=2)}return r}function wht(e){for(var t=e.read_shift(4),r=[],n=0;n!=t;++n)r[n]=e.read_shift(0,"lpstr-cp").replace(jo,"");return r}function xht(e){var t=e.l,r=C_(e,jde);e[e.l]==0&&e[e.l+1]==0&&e.l-t&2&&(e.l+=2);var n=C_(e,is);return[r,n]}function Cht(e){for(var t=e.read_shift(4),r=[],n=0;n<t/2;++n)r.push(xht(e));return r}function DY(e,t){for(var r=e.read_shift(4),n={},i=0;i!=r;++i){var a=e.read_shift(4),o=e.read_shift(4);n[a]=e.read_shift(o,t===1200?"utf16le":"utf8").replace(jo,"").replace(cb,"!"),t===1200&&o%2&&(e.l+=2)}return e.l&3&&(e.l=e.l>>3<<2),n}function Qde(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(t&3)>0&&(e.l+=4-(t&3)&3),r}function Eht(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function C_(e,t,r){var n=e.read_shift(2),i,a=r||{};if(e.l+=2,t!==OY&&n!==t&&nht.indexOf(t)===-1&&!((t&65534)==4126&&(n&65534)==4126))throw new Error("Expected type "+t+" saw "+n);switch(t===OY?n:t){case 2:return i=e.read_shift(2,"i"),a.raw||(e.l+=2),i;case 3:return i=e.read_shift(4,"i"),i;case 11:return e.read_shift(4)!==0;case 19:return i=e.read_shift(4),i;case 30:return Yde(e,n,4).replace(jo,"");case 31:return $de(e);case 64:return KM(e);case 65:return Qde(e);case 71:return Eht(e);case 80:return nN(e,n,!a.raw).replace(jo,"");case 81:return bht(e,n).replace(jo,"");case 4108:return Cht(e);case 4126:case 4127:return n==4127?Sht(e):wht(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+n)}}function NY(e,t){var r=e.l,n=e.read_shift(4),i=e.read_shift(4),a=[],o=0,s=0,l=-1,c={};for(o=0;o!=i;++o){var u=e.read_shift(4),d=e.read_shift(4);a[o]=[u,d+r]}a.sort(function(b,y){return b[1]-y[1]});var f={};for(o=0;o!=i;++o){if(e.l!==a[o][1]){var h=!0;if(o>0&&t)switch(t[a[o-1][0]].t){case 2:e.l+2===a[o][1]&&(e.l+=2,h=!1);break;case 80:e.l<=a[o][1]&&(e.l=a[o][1],h=!1);break;case 4108:e.l<=a[o][1]&&(e.l=a[o][1],h=!1);break}if((!t||o==0)&&e.l<=a[o][1]&&(h=!1,e.l=a[o][1]),h)throw new Error("Read Error: Expected address "+a[o][1]+" at "+e.l+" :"+o)}if(t){if(a[o][0]==0&&a.length>o+1&&a[o][1]==a[o+1][1])continue;var p=t[a[o][0]];if(f[p.n]=C_(e,p.t,{raw:!0}),p.p==="version"&&(f[p.n]=String(f[p.n]>>16)+"."+("0000"+String(f[p.n]&65535)).slice(-4)),p.n=="CodePage")switch(f[p.n]){case 0:f[p.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:Vc(s=f[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+f[p.n])}}else if(a[o][0]===1){if(s=f.CodePage=C_(e,GM),Vc(s),l!==-1){var g=e.l;e.l=a[l][1],c=DY(e,s),e.l=g}}else if(a[o][0]===0){if(s===0){l=o,e.l=a[o+1][1];continue}c=DY(e,s)}else{var v=c[a[o][0]],m;switch(e[e.l]){case 65:e.l+=4,m=Qde(e);break;case 30:e.l+=4,m=nN(e,e[e.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1");break;case 31:e.l+=4,m=nN(e,e[e.l-4]).replace(/(^|[^\u0000])\u0000+$/,"$1");break;case 3:e.l+=4,m=e.read_shift(4,"i");break;case 19:e.l+=4,m=e.read_shift(4);break;case 5:e.l+=4,m=e.read_shift(8,"f");break;case 11:e.l+=4,m=Ti(e,4);break;case 64:e.l+=4,m=Va(KM(e));break;default:throw new Error("unparsed value: "+e[e.l])}f[v]=m}}return e.l=r+n,f}function MY(e,t,r){var n=e.content;if(!n)return{};ia(n,0);var i,a,o,s,l=0;n.chk("feff","Byte Order: "),n.read_shift(2);var c=n.read_shift(4),u=n.read_shift(16);if(u!==Gr.utils.consts.HEADER_CLSID&&u!==r)throw new Error("Bad PropertySet CLSID "+u);if(i=n.read_shift(4),i!==1&&i!==2)throw new Error("Unrecognized #Sets: "+i);if(a=n.read_shift(16),s=n.read_shift(4),i===1&&s!==n.l)throw new Error("Length mismatch: "+s+" !== "+n.l);i===2&&(o=n.read_shift(16),l=n.read_shift(4));var d=NY(n,t),f={SystemIdentifier:c};for(var h in d)f[h]=d[h];if(f.FMTID=a,i===1)return f;if(l-n.l==2&&(n.l+=2),n.l!==l)throw new Error("Length mismatch 2: "+n.l+" !== "+l);var p;try{p=NY(n,null)}catch{}for(h in p)f[h]=p[h];return f.FMTID=[a,o],f}function qf(e,t){return e.read_shift(t),null}function kht(e,t,r){for(var n=[],i=e.l+t;e.l<i;)n.push(r(e,i-e.l));if(i!==e.l)throw new Error("Slurp error");return n}function Ti(e,t){return e.read_shift(t)===1}function vi(e){return e.read_shift(2,"u")}function Jde(e,t){return kht(e,t,vi)}function efe(e){var t=e.read_shift(1),r=e.read_shift(1);return r===1?t:t===1}function Jv(e,t,r){var n=e.read_shift(r&&r.biff>=12?2:1),i="sbcs-cont",a=Vl;if(r&&r.biff>=8&&(Vl=1200),!r||r.biff==8){var o=e.read_shift(1);o&&(i="dbcs-cont")}else r.biff==12&&(i="wstr");r.biff>=2&&r.biff<=5&&(i="cpstr");var s=n?e.read_shift(n,i):"";return Vl=a,s}function Tht(e){var t=Vl;
525Vl=1200;var r=e.read_shift(2),n=e.read_shift(1),i=n&4,a=n&8,o=1+(n&1),s=0,l,c={};a&&(s=e.read_shift(2)),i&&(l=e.read_shift(4));var u=o==2?"dbcs-cont":"sbcs-cont",d=r===0?"":e.read_shift(r,u);return a&&(e.l+=4*s),i&&(e.l+=l),c.t=d,a||(c.raw="<t>"+c.t+"</t>",c.r=c.t),Vl=t,c}function r0(e,t,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var i=e.read_shift(1);return i===0?n=e.read_shift(t,"sbcs-cont"):n=e.read_shift(t,"dbcs-cont"),n}function u2(e,t,r){var n=e.read_shift(r&&r.biff==2?1:2);return n===0?(e.l++,""):r0(e,n,r)}function _0(e,t,r){if(r.biff>5)return u2(e,t,r);var n=e.read_shift(1);return n===0?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function _ht(e){var t=e.read_shift(1);e.l++;var r=e.read_shift(2);return e.l+=2,[t,r]}function Pht(e){var t=e.read_shift(4),r=e.l,n=!1;t>24&&(e.l+=t-24,e.read_shift(16)==="795881f43b1d7f48af2c825dc4852763"&&(n=!0),e.l=r);var i=e.read_shift((n?t-24:t)>>1,"utf16le").replace(jo,"");return n&&(e.l+=24),i}function Aht(e){for(var t=e.read_shift(2),r="";t-- >0;)r+="../";var n=e.read_shift(0,"lpstr-ansi");if(e.l+=2,e.read_shift(2)!=57005)throw new Error("Bad FileMoniker");var i=e.read_shift(4);if(i===0)return r+n.replace(/\\/g,"/");var a=e.read_shift(4);if(e.read_shift(2)!=3)throw new Error("Bad FileMoniker");var o=e.read_shift(a>>1,"utf16le").replace(jo,"");return r+o}function Oht(e,t){var r=e.read_shift(16);switch(r){case"e0c9ea79f9bace118c8200aa004ba90b":return Pht(e);case"0303000000000000c000000000000046":return Aht(e);default:throw new Error("Unsupported Moniker "+r)}}function rE(e){var t=e.read_shift(4),r=t>0?e.read_shift(t,"utf16le").replace(jo,""):"";return r}function Iht(e,t){var r=e.l+t,n=e.read_shift(4);if(n!==2)throw new Error("Unrecognized streamVersion: "+n);var i=e.read_shift(2);e.l+=2;var a,o,s,l,c="",u,d;i&16&&(a=rE(e,r-e.l)),i&128&&(o=rE(e,r-e.l)),(i&257)===257&&(s=rE(e,r-e.l)),(i&257)===1&&(l=Oht(e,r-e.l)),i&8&&(c=rE(e,r-e.l)),i&32&&(u=e.read_shift(16)),i&64&&(d=KM(e)),e.l=r;var f=o||s||l||"";f&&c&&(f+="#"+c),f||(f="#"+c),i&2&&f.charAt(0)=="/"&&f.charAt(1)!="/"&&(f="file://"+f);var h={Target:f};return u&&(h.guid=u),d&&(h.time=d),a&&(h.Tooltip=a),h}function tfe(e){var t=e.read_shift(1),r=e.read_shift(1),n=e.read_shift(1),i=e.read_shift(1);return[t,r,n,i]}function rfe(e,t){var r=tfe(e);return r[3]=0,r}function du(e,t,r){var n=e.read_shift(2),i=e.read_shift(2),a={r:n,c:i,ixfe:0};if(r&&r.biff==2||t==7){var o=e.read_shift(1);a.ixfe=o&63,e.l+=2}else a.ixfe=e.read_shift(2);return a}function Rht(e){var t=e.read_shift(2),r=e.read_shift(2);return e.l+=8,{type:t,flags:r}}function Fht(e,t,r){return t===0?"":_0(e,t,r)}function Dht(e,t,r){var n=r.biff>8?4:2,i=e.read_shift(n),a=e.read_shift(n,"i"),o=e.read_shift(n,"i");return[i,a,o]}function nfe(e){var t=e.read_shift(2),r=iO(e);return[t,r]}function Nht(e,t,r){e.l+=4,t-=4;var n=e.l+t,i=Jv(e,t,r),a=e.read_shift(2);if(n-=e.l,a!==n)throw new Error("Malformed AddinUdf: padding = "+n+" != "+a);return e.l+=a,i}function aO(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2);return{s:{c:n,r:t},e:{c:i,r}}}function ife(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(1),i=e.read_shift(1);return{s:{c:n,r:t},e:{c:i,r}}}var Mht=ife;function afe(e){e.l+=4;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2);return e.l+=12,[r,t,n]}function Lht(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}function Bht(e){var t={};return e.l+=4,e.cf=e.read_shift(2),t}function eo(e){e.l+=2,e.l+=e.read_shift(2)}var Uht={0:eo,4:eo,5:eo,6:eo,7:Bht,8:eo,9:eo,10:eo,11:eo,12:eo,13:Lht,14:eo,15:eo,16:eo,17:eo,18:eo,19:eo,20:eo,21:afe};function zht(e,t){for(var r=e.l+t,n=[];e.l<r;){var i=e.read_shift(2);e.l-=2;try{n[i]=Uht[i](e,r-e.l)}catch{return e.l=r,n}}return e.l!=r&&(e.l=r),n}function nE(e,t){var r={BIFFVer:0,dt:0};switch(r.BIFFVer=e.read_shift(2),t-=2,t>=2&&(r.dt=e.read_shift(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e.read_shift(t),r}function Hht(e,t){return t===0||e.read_shift(2),1200}function qht(e,t,r){if(r.enc)return e.l+=t,"";var n=e.l,i=_0(e,0,r);return e.read_shift(t+n-e.l),i}function Wht(e,t,r){var n=r&&r.biff==8||t==2?e.read_shift(2):(e.l+=t,0);return{fDialog:n&16,fBelow:n&64,fRight:n&128}}function Vht(e,t,r){var n="";if(r.biff==4)return n=Jv(e,0,r),n.length===0&&(n="Sheet1"),{name:n};var i=e.read_shift(4),a=e.read_shift(1)&3,o=e.read_shift(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule";break}return n=Jv(e,0,r),n.length===0&&(n="Sheet1"),{pos:i,hs:a,dt:o,name:n}}function jht(e,t){for(var r=e.l+t,n=e.read_shift(4),i=e.read_shift(4),a=[],o=0;o!=i&&e.l<r;++o)a.push(Tht(e));return a.Count=n,a.Unique=i,a}function Ght(e,t){var r={};return r.dsst=e.read_shift(2),e.l+=t-2,r}function Kht(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var r=e.read_shift(2);e.l+=4;var n=e.read_shift(1);return e.l+=3,n&7&&(t.level=n&7),n&32&&(t.hidden=!0),n&64&&(t.hpt=r/20),t}function Zht(e){var t=Rht(e);
525if(t.type!=2211)throw new Error("Invalid Future Record "+t.type);var r=e.read_shift(4);return r!==0}function Yht(e){return e.read_shift(2),e.read_shift(4)}function LY(e,t,r){var n=0;r&&r.biff==2||(n=e.read_shift(2));var i=e.read_shift(2);r&&r.biff==2&&(n=1-(i>>15),i&=32767);var a={Unsynced:n&1,DyZero:(n&2)>>1,ExAsc:(n&4)>>2,ExDsc:(n&8)>>3};return[a,i]}function $ht(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2),a=e.read_shift(2),o=e.read_shift(2),s=e.read_shift(2),l=e.read_shift(2),c=e.read_shift(2);return{Pos:[t,r],Dim:[n,i],Flags:a,CurTab:o,FirstTab:s,Selected:l,TabRatio:c}}function Xht(e,t,r){if(r&&r.biff>=2&&r.biff<5)return{};var n=e.read_shift(2);return{RTL:n&64}}function Qht(){}function Jht(e,t,r){var n={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}return n.name=Jv(e,0,r),n}function ept(e,t,r){var n=du(e,t,r);return n.isst=e.read_shift(4),n}function tpt(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=e.l+t,i=du(e,t,r),a=u2(e,n-e.l,r);return i.val=a,i}function rpt(e,t,r){var n=e.read_shift(2),i=_0(e,0,r);return[n,i]}var npt=_0;function BY(e,t,r){var n=e.l+t,i=r.biff==8||!r.biff?4:2,a=e.read_shift(i),o=e.read_shift(i),s=e.read_shift(2),l=e.read_shift(2);return e.l=n,{s:{r:a,c:s},e:{r:o,c:l}}}function ipt(e){var t=e.read_shift(2),r=e.read_shift(2),n=nfe(e);return{r:t,c:r,ixfe:n[0],rknum:n[1]}}function apt(e,t){for(var r=e.l+t-2,n=e.read_shift(2),i=e.read_shift(2),a=[];e.l<r;)a.push(nfe(e));if(e.l!==r)throw new Error("MulRK read error");var o=e.read_shift(2);if(a.length!=o-i+1)throw new Error("MulRK length mismatch");return{r:n,c:i,C:o,rkrec:a}}function opt(e,t){for(var r=e.l+t-2,n=e.read_shift(2),i=e.read_shift(2),a=[];e.l<r;)a.push(e.read_shift(2));if(e.l!==r)throw new Error("MulBlank read error");var o=e.read_shift(2);if(a.length!=o-i+1)throw new Error("MulBlank length mismatch");return{r:n,c:i,C:o,ixfe:a}}function spt(e,t,r,n){var i={},a=e.read_shift(4),o=e.read_shift(4),s=e.read_shift(4),l=e.read_shift(2);return i.patternType=oht[s>>26],n.cellStyles&&(i.alc=a&7,i.fWrap=a>>3&1,i.alcV=a>>4&7,i.fJustLast=a>>7&1,i.trot=a>>8&255,i.cIndent=a>>16&15,i.fShrinkToFit=a>>20&1,i.iReadOrder=a>>22&2,i.fAtrNum=a>>26&1,i.fAtrFnt=a>>27&1,i.fAtrAlc=a>>28&1,i.fAtrBdr=a>>29&1,i.fAtrPat=a>>30&1,i.fAtrProt=a>>31&1,i.dgLeft=o&15,i.dgRight=o>>4&15,i.dgTop=o>>8&15,i.dgBottom=o>>12&15,i.icvLeft=o>>16&127,i.icvRight=o>>23&127,i.grbitDiag=o>>30&3,i.icvTop=s&127,i.icvBottom=s>>7&127,i.icvDiag=s>>14&127,i.dgDiag=s>>21&15,i.icvFore=l&127,i.icvBack=l>>7&127,i.fsxButton=l>>14&1),i}function lpt(e,t,r){var n={};return n.ifnt=e.read_shift(2),n.numFmtId=e.read_shift(2),n.flags=e.read_shift(2),n.fStyle=n.flags>>2&1,t-=6,n.data=spt(e,t,n.fStyle,r),n}function cpt(e){var t={};return t.ifnt=e.read_shift(1),e.l++,t.flags=e.read_shift(1),t.numFmtId=t.flags&63,t.flags>>=6,t.fStyle=0,t.data={},t}function upt(e){var t={};return t.ifnt=e.read_shift(1),t.numFmtId=e.read_shift(1),t.flags=e.read_shift(2),t.fStyle=t.flags>>2&1,t.data={},t}function dpt(e){var t={};return t.ifnt=e.read_shift(1),t.numFmtId=e.read_shift(1),t.flags=e.read_shift(2),t.fStyle=t.flags>>2&1,t.data={},t}function fpt(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(t[0]!==0&&t[0]--,t[1]!==0&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function hpt(e,t,r){var n=du(e,6,r),i=efe(e);return n.val=i,n.t=i===!0||i===!1?"b":"e",n}function ppt(e,t,r){r.biffguess&&r.biff==2&&(r.biff=5);var n=du(e,6,r),i=fo(e);return n.val=i,n}var UY=Fht;function mpt(e,t,r){var n=e.l+t,i=e.read_shift(2),a=e.read_shift(2);if(r.sbcch=a,a==1025||a==14849)return[a,i];if(a<1||a>255)throw new Error("Unexpected SupBook type: "+a);for(var o=r0(e,a),s=[];n>e.l;)s.push(u2(e));return[a,i,o,s]}function zY(e,t,r){var n=e.read_shift(2),i,a={fBuiltIn:n&1,fWantAdvise:n>>>1&1,fWantPict:n>>>2&1,fOle:n>>>3&1,fOleLink:n>>>4&1,cf:n>>>5&1023,fIcon:n>>>15&1};return r.sbcch===14849&&(i=Nht(e,t-2,r)),a.body=i||e.read_shift(t-2),typeof i=="string"&&(a.Name=i),a}function HY(e,t,r){var n=e.l+t,i=e.read_shift(2),a=e.read_shift(1),o=e.read_shift(1),s=e.read_shift(r&&r.biff==2?1:2),l=0;(!r||r.biff>
525=5)&&(r.biff!=5&&(e.l+=2),l=e.read_shift(2),r.biff==5&&(e.l+=2),e.l+=4);var c=r0(e,o,r);i&32&&(c=Gde[c.charCodeAt(0)]);var u=n-e.l;r&&r.biff==2&&--u;var d=n==e.l||s===0||!(u>0)?[]:Vgt(e,u,r,s);return{chKey:a,Name:c,itab:l,rgce:d}}function ofe(e,t,r){if(r.biff<8||!(r.biff>8)&&t==e[e.l]+(e[e.l+1]==3?1:0)+1)return qY(e,t,r);for(var n=[],i=e.l+t,a=e.read_shift(r.biff>8?4:2);a--!==0;)n.push(Dht(e,r.biff>8?12:6,r));if(e.l!=i)throw new Error("Bad ExternSheet: "+e.l+" != "+i);return n}function qY(e,t,r){e[e.l+1]==3&&e[e.l]++;var n=Jv(e,t,r);return n.charCodeAt(0)==3?n.slice(1):n}function gpt(e,t,r){if(r.biff<8){e.l+=t;return}var n=e.read_shift(2),i=e.read_shift(2),a=r0(e,n,r),o=r0(e,i,r);return[a,o]}function vpt(e,t,r){var n=ife(e);e.l++;var i=e.read_shift(1);return t-=8,[jgt(e,t,r),i,n]}function WY(e,t,r){var n=Mht(e);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[n,qgt(e,t,r)]}function ypt(e){var t=e.read_shift(4)!==0,r=e.read_shift(4)!==0,n=e.read_shift(4);return[t,r,n]}function bpt(e,t,r){var n=e.read_shift(2),i=e.read_shift(2),a=e.read_shift(2),o=e.read_shift(2),s=_0(e,0,r);return[{r:n,c:i},s,o,a]}function Spt(e,t,r){if(r&&r.biff<8){var n=e.read_shift(2),i=e.read_shift(2);if(n==65535||n==-1)return;var a=e.read_shift(2),o=e.read_shift(Math.min(a,2048),"cpstr");return[{r:n,c:i},o]}return bpt(e,t,r)}function wpt(e,t){for(var r=[],n=e.read_shift(2);n--;)r.push(aO(e));return r}function xpt(e,t,r){if(r&&r.biff<8)return Ept(e,t,r);var n=afe(e),i=zht(e,t-22,n[1]);return{cmo:n,ft:i}}var Cpt={8:function(e,t){var r=e.l+t;e.l+=10;var n=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var i=e.read_shift(1);return e.l+=i,e.l=r,{fmt:n}}};function Ept(e,t,r){e.l+=4;var n=e.read_shift(2),i=e.read_shift(2),a=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var o=[];return o.push((Cpt[n]||xo)(e,t,r)),{cmo:[i,n,a],ft:o}}function kpt(e,t,r){var n=e.l,i="";try{e.l+=4;var a=(r.lastobj||{cmo:[0,0]}).cmo[1],o;[0,5,7,11,12,14].indexOf(a)==-1?e.l+=6:o=_ht(e,6,r);var s=e.read_shift(2);e.read_shift(2),vi(e,2);var l=e.read_shift(2);e.l+=l;for(var c=1;c<e.lens.length-1;++c){if(e.l-n!=e.lens[c])throw new Error("TxO: bad continue record");var u=e[e.l],d=r0(e,e.lens[c+1]-e.lens[c]-1);if(i+=d,i.length>=(u?s:2*s))break}if(i.length!==s&&i.length!==s*2)throw new Error("cchText: "+s+" != "+i.length);return e.l=n+t,{t:i}}catch{return e.l=n+t,{t:i}}}function Tpt(e,t){var r=aO(e);e.l+=16;var n=Iht(e,t-24);return[r,n]}function _pt(e,t){e.read_shift(2);var r=aO(e),n=e.read_shift((t-10)/2,"dbcs-cont");return n=n.replace(jo,""),[r,n]}function Ppt(e){var t=[0,0],r;return r=e.read_shift(2),t[0]=IY[r]||r,r=e.read_shift(2),t[1]=IY[r]||r,t}function Apt(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(rfe(e));return r}function Opt(e){for(var t=e.read_shift(2),r=[];t-- >0;)r.push(rfe(e));return r}function Ipt(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t}function sfe(e,t,r){if(!r.cellStyles)return xo(e,t);var n=r&&r.biff>=12?4:2,i=e.read_shift(n),a=e.read_shift(n),o=e.read_shift(n),s=e.read_shift(n),l=e.read_shift(2);n==2&&(e.l+=2);var c={s:i,e:a,w:o,ixfe:s,flags:l};return(r.biff>=5||!r.biff)&&(c.level=l>>8&7),c}function Rpt(e,t){var r={};return t<32||(e.l+=16,r.header=fo(e),r.footer=fo(e),e.l+=2),r}function Fpt(e,t,r){var n={area:!1};if(r.biff!=5)return e.l+=t,n;var i=e.read_shift(1);return e.l+=3,i&16&&(n.area=!0),n}var Dpt=du,Npt=Jde,Mpt=u2;function Lpt(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),i={fmt:t,env:r,len:n,data:e.slice(e.l,e.l+n)};return e.l+=n,i}function Bpt(e,t,r){r.biffguess&&r.biff==5&&(r.biff=2);var n=du(e,7,r),i=_0(e,t-7,r);return n.t="str",n.val=i,n}function Upt(e,t,r){var n=du(e,7,r),i=fo(e);return n.t="n",n.val=i,n}function zpt(e,t,r){var n=du(e,7,r),i=e.read_shift(2);return n.t="n",n.val=i,n}function Hpt(e){var t=e.read_shift(1);return t===0?(e.l++,""):e.read_shift(t,"sbcs-cont")}function qpt(e,t,r){var n=e.l+7,i=du(e,6,r);e.l=n;var a=efe(e);return i.val=a,i.t=a===!0||a===!1?"b":"e",i}function Wpt(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}function Vpt(e,t,r){var n=e.l+t,i=du(e,6,r),a=e.read_shift(2),o=r0(e,a,r);return e.l=n,i.t="str",i.val=o,i}function jpt(e){var t=e.read_shift(4),r=e.read_shift(1),n=e.read_shift(r,"sbcs");return n.length===0&&(n="Sheet1"),{flags:t,name:n}}var Gpt=[2,3,48,49,131,139,140,245],VY=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},t=BM({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function r(s,l){var c=[],u=ep(1);switch(l.type){case"base64":u=qs(cl(s));break;case"binary":u=qs(s);break;case"buffer":case"array":u=s;break}ia(u,0);var d=u.read_shift(1),f=!!(d&136),h=!1,p=!1;switch(d){case 2:break;case 3:break;case 48:h=!0,f=!0;break;case 49:h=!0,f=!0;break;case 131:break;case 139:break;case 140:p=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+d.toString(16))}var g=0,v=521;d==2&&(g=u.read_shift(2)),u.l+=3,d!=2&&(g=u.read_shift(4)),g>1048576&&(g=1e6),d!=2&&(v=u.read_shift(2));var m=u.read_shift(2);l.codepage,d!=2&&(u.l+=16,u.read_shift(1),u[u.l]!==0&&e[u[u.l]],u.l+=1,u.l+=2),p&&(u.l+=36);for(var b=[],y={},w=Math.min(u.length,d==2?521:v-10-(h?264:0)),x=p?32:11;u.l<w&&u[u.l]!=13;)switch(y={},y.name=gf(u.slice(u.l,u.l+x)).replace(/[\u0000\r\n][\S\s]*$/g,""),u.l+=x,y.type=String.fromCharCode(u.read_shift(1)),d!=2&&!p&&(y.offset=u.read_shift(4)),y.len=u.read_shift(1),d==2&&(y.offset=u.read_shift(2)),y.dec=u.read_shift(1),y.name.length&&b.push(y),d!=2&&(u.l+=p?13:14),y.type){case"B":(!h||y.len!=8)&&l.WTF&&console.log("Skipping "+y.name+":"+y.type);break;case"G":case"P":l.WTF&&console.log("Skipping "+y.name+":"+y.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+y.type)}if(u[u.l]!==13&&(u.l=v-1),u.read_shift(1)!==13)throw new Error("DBF Terminator not found "+u.l+" "+u[u.l]);u.l=v;var C=0,T=0;for(c[0]=[],T=0;T!=b.length;++T)c[0][T]=b[T].name;for(;g-- >0;){if(u[u.l]===42){u.l+=m;continue}for(++u.l,c[++C]=[],T=0,T=0;T!=b.length;++T){var _=u.slice(u.l,u.l+b[T].len);u.l+=b[T].len,ia(_,0);var P=gf(_);switch(b[T].type){case"C":P.trim().length&&(c[C][T]=P.replace(/([^\s])\s+$/,"$1"));break;case"D":P.length===8?(c[C][T]=new Date(Date.UTC(+P.slice(0,4),+P.slice(4,6)-1,+P.slice(6,8),0,0,0,0)),l&&l.UTC||(c[
vendor: 11,913 bytes, lines 525-528
525C][T]=t0(c[C][T]))):c[C][T]=P;break;case"F":c[C][T]=parseFloat(P.trim());break;case"+":case"I":c[C][T]=p?_.read_shift(-4,"i")^2147483648:_.read_shift(4,"i");break;case"L":switch(P.trim().toUpperCase()){case"Y":case"T":c[C][T]=!0;break;case"N":case"F":c[C][T]=!1;break;case"":case"\0":case"?":break;default:throw new Error("DBF Unrecognized L:|"+P+"|")}break;case"M":if(!f)throw new Error("DBF Unexpected MEMO for type "+d.toString(16));c[C][T]="##MEMO##"+(p?parseInt(P.trim(),10):_.read_shift(4));break;case"N":P=P.replace(/\u0000/g,"").trim(),P&&P!="."&&(c[C][T]=+P||0);break;case"@":c[C][T]=new Date(_.read_shift(-8,"f")-621356832e5);break;case"T":{var F=_.read_shift(4),I=_.read_shift(4);if(F==0&&I==0)break;c[C][T]=new Date((F-2440588)*864e5+I),l&&l.UTC||(c[C][T]=t0(c[C][T]))}break;case"Y":c[C][T]=_.read_shift(4,"i")/1e4+_.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":c[C][T]=-_.read_shift(-8,"f");break;case"B":if(h&&b[T].len==8){c[C][T]=_.read_shift(8,"f");break}case"G":case"P":_.l+=b[T].len;break;case"0":if(b[T].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+b[T].type)}}}if(d!=2&&u.l<u.length&&u[u.l++]!=26)throw new Error("DBF EOF Marker missing "+(u.l-1)+" of "+u.length+" "+u[u.l-1].toString(16));return l&&l.sheetRows&&(c=c.slice(0,l.sheetRows)),l.DBF=b,c}function n(s,l){var c=l||{};c.dateNF||(c.dateNF="yyyymmdd");var u=qy(r(s,c),c);return u["!cols"]=c.DBF.map(function(d){return{wch:d.len,DBF:d}}),delete c.DBF,u}function i(s,l){try{var c=gp(n(s,l),l);return c.bookType="dbf",c}catch(u){if(l&&l.WTF)throw u}return{SheetNames:[],Sheets:{}}}var a={B:8,C:250,L:1,D:8,"?":0,"":0};function o(s,l){if(!s["!ref"])throw new Error("Cannot export empty sheet to DBF");var c=l||{},u=Vl;if(+c.codepage>=0&&Vc(+c.codepage),c.type=="string")throw new Error("Cannot write DBF to JS string");var d=eN(),f=sN(s,{header:1,raw:!0,cellDates:!0}),h=f[0],p=f.slice(1),g=s["!cols"]||[],v=0,m=0,b=0,y=1;for(v=0;v<h.length;++v){if(((g[v]||{}).DBF||{}).name){h[v]=g[v].DBF.name,++b;continue}if(h[v]!=null){if(++b,typeof h[v]=="number"&&(h[v]=h[v].toString(10)),typeof h[v]!="string")throw new Error("DBF Invalid column name "+h[v]+" |"+typeof h[v]+"|");if(h.indexOf(h[v])!==v){for(m=0;m<1024;++m)if(h.indexOf(h[v]+"_"+m)==-1){h[v]+="_"+m;break}}}}var w=Ri(s["!ref"]),x=[],C=[],T=[];for(v=0;v<=w.e.c-w.s.c;++v){var _="",P="",F=0,I=[];for(m=0;m<p.length;++m)p[m][v]!=null&&I.push(p[m][v]);if(I.length==0||h[v]==null){x[v]="?";continue}for(m=0;m<I.length;++m){switch(typeof I[m]){case"number":P="B";break;case"string":P="C";break;case"boolean":P="L";break;case"object":P=I[m]instanceof Date?"D":"C";break;default:P="C"}F=Math.max(F,String(I[m]).length),_=_&&_!=P?"C":P}F>250&&(F=250),P=((g[v]||{}).DBF||{}).type,P=="C"&&g[v].DBF.len>F&&(F=g[v].DBF.len),_=="B"&&P=="N"&&(_="N",T[v]=g[v].DBF.dec,F=g[v].DBF.len),C[v]=_=="C"||P=="N"?F:a[_]||0,y+=C[v],x[v]=_}var R=d.next(32);for(R.write_shift(4,318902576),R.write_shift(4,p.length),R.write_shift(2,296+32*b),R.write_shift(2,y),v=0;v<4;++v)R.write_shift(4,0);var D=+t[Vl]||3;for(R.write_shift(4,0|D<<8),e[D]!=+c.codepage&&(c.codepage&&console.error("DBF Unsupported codepage "+Vl+", using 1252"),Vl=1252),v=0,m=0;v<h.length;++v)if(h[v]!=null){var A=d.next(32),M=(h[v].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);A.write_shift(1,M,"sbcs"),A.write_shift(1,x[v]=="?"?"C":x[v],"sbcs"),A.write_shift(4,m),A.write_shift(1,C[v]||a[x[v]]||0),A.write_shift(1,T[v]||0),A.write_shift(1,2),A.write_shift(4,0),A.write_shift(1,0),A.write_shift(4,0),A.write_shift(4,0),m+=C[v]||a[x[v]]||0}var X=d.next(264);for(X.write_shift(4,13),v=0;v<65;++v)X.write_shift(4,0);for(v=0;v<p.length;++v){var Y=d.next(y);for(Y.write_shift(1,0),m=0;m<h.length;++m)if(h[m]!=null)switch(x[m]){case"L":Y.write_shift(1,p[v][m]==null?63:p[v][m]?84:70);break;case"B":Y.write_shift(8,p[v][m]||0,"f");break;case"N":var se="0";for(typeof p[v][m]=="number"&&(se=p[v][m].toFixed(T[m]||0)),se.length>C[m]&&(se=se.slice(0,C[m])),b=0;b<C[m]-se.length;++b)Y.write_shift(1,32);Y.write_shift(1,se,"sbcs");break;case"D":p[v][m]?(Y.write_shift(4,("0000"+p[v][m].getFullYear()).slice(-4),"sbcs"),Y.write_shift(2,("00"+(p[v][m].getMonth()+1)).slice(-2),"sbcs"),Y.write_shift(2,("00"+p[v][m].getDate()).slice(-2),"sbcs")):Y.write_shift(8,"00000000","sbcs");break;case"C":var ne=Y.l,ie=String(p[v][m]!=null?p[v][m]:"").slice(0,C[m]);for(Y.write_shift(1,ie,"cpstr"),ne+=C[m]-Y.l,b=0;b<ne;++b)Y.write_shift(1,32);break}}return Vl=u,d.next(1).write_shift(1,26),d.end()}return{to_workbook:i,to_sheet:n,from_sheet:o}}(),Kpt=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("\x1BN("+Yl(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1").replace("{","\\{")+"|\\|)","gm");try{t=new RegExp("\x1BN("+Yl(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm")}catch{}var r=function(h,p){var g=e[p];return typeof g=="number"?oY(g):g},n=function(h,p,g){var v=p.charCodeAt(0)-32<<4|g.charCodeAt(0)-48;return v==59?h:oY(v)};e["|"]=254;var i=function(h){return h.replace(/\n/g,"\x1B :").replace(/\r/g,"\x1B =")};function a(h,p){switch(p.type){case"base64":return o(cl(h),p);case"binary":return o(h,p);case"buffer":return o(Ur&&Buffer.isBuffer(h)?h.toString("binary"):gf(h),p);case"array":return o(e0(h),p)}throw new Error("Unrecognized type "+p.type)}function o(h,p){var g=h.split(/[\n\r]+/),v=-1,m=-1,b=0,y=0,w=[],x=[],C=null,T={},_=[],P=[],F=[],I=0,R,D={Workbook:{WBProps:{},Names:[]}};for(+p.codepage>=0&&Vc(+p.codepage);b!==g.length;++b){I=0;var A=g[b].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),M=A.replace(/;;/g,"\0").split(";").map(function(q){return q.replace(/\u0000/g,";")}),X=M[0],Y;if(A.length>0)switch(X){case"ID":break;case"E":break;case"B":break;case"O":for(y=1;y<M.length;++y)switch(M[y].charAt(0)){case"V":{var se=parseInt(M[y].slice(1),10);se>=1&&se<=4&&(D.Workbook.WBProps.date1904=!0)}break}break;case"W":break;case"P":switch(M[1].charAt(0)){case"P":x.push(A.slice(3).replace(/;;/g,";"));break}break;case"NN":{var ne={Sheet:0};for(y=1;y<M.length;++y)switch(M[y].charAt(0)){case"N":ne.Name=M[y].slice(1);break;case"E":ne.Ref=(p&&p.sheet||"Sheet1")+"!"+xm(M[y].slice(1));break}D.Workbook.Names.push(ne)}break;case"C":var ie=!1,ae=!1,ce=!1,ke=!1,ge=-1,De=-1,Ne="",We="z",z="";for(y=1;y<M.length;++y)switch(M[y].charAt(0)){case"A":z=M[y].slice(1);break;case"X":m=parseInt(M[y].slice(1),10)-1,ae=!0;break;case"Y":for(v=parseInt(M[y].slice(1),10)-1,ae||(m=0),R=w.length;R<=v;++R)w[R]=[];break;case"K":Y=M[y].slice(1),Y.charAt(0)==='"'?(Y=Y.slice(1,Y.length-1),We="s"):Y==="TRUE"||Y==="FALSE"?(Y=Y==="TRUE",We="b"):Y.charAt(0)=="#"&&x_[Y]!=null?(We="e",Y=x_[Y]):isNaN(ol(Y))||(Y=ol(Y),We="n",C!==null&&ou(C)&&p.cellDates&&(Y=Uh(D.Workbook.WBProps.date1904?Y+1462:Y),We=typeof Y=="number"?"n":"d")),ie=!0;break;case"E":ke=!0,Ne=xm(M[y].slice(1),{r:v,c:m});break;case"S":ce=!0;break;case"G":break;case"R":ge=parseInt(M[y].slice(1),10)-1;break;case"C":De=parseInt(M[y].slice(1),10)-1;break;default:if(p&&p.WTF)throw new Error("SYLK bad record "+A)}if(ie&&(w[v][m]?(w[v][m].t=We,w[v][m].v=Y):w[v][m]={t:We,v:Y},C&&(w[v][m].z=C),p.cellText!==!1&&C&&(w[v][m].w=ul(w[v][m].z,w[v][m].v,{date1904:D.Workbook.WBProps.date1904})),C=null),ce){if(ke)throw new Error("SYLK shared formula cannot have own formula");var J=ge>-1&&w[ge][De];if(!J||!J[1])throw new Error("SYLK shared formula cannot find base");Ne=gfe(J[1],{r:v-ge,c:m-De})}Ne&&(w[v][m]?w[v][m].f=Ne:w[v][m]={t:"n",f:Ne}),z&&(w[v][m]||(w[v][m]={t:"z"}),w[v][m].c=[{a:"SheetJSYLK",t:z}]);break;case"F":var j=0;for(y=1;y<M.length;++y)switch(M[y].charAt(0)){case"X":m=parseInt(M[y].slice(1),10)-1,++j;break;case"Y":for(v=parseInt(M[y].slice(1),10)-1,R=w.length;R<=v;++R)w[R]=[];break;case"M":I=parseInt(M[y].slice(1),10)/20;break;case"F":break;case"G":break;case"P":C=x[parseInt(M[y].slice(1),10)];break;case"S":break;case"D":break;case"N":break;case"W":for(F=M[y].slice(1).split(" "),R=parseInt(F[0],10);R<=parseInt(F[1],10);++R)I=parseInt(F[2],10),P[R-1]=I===0?{hidden:!0}:{wch:I};break;case"C":m=parseInt(M[y].slice(1),10)-1,P[m]||(P[m]={});break;case"R":v=parseInt(M[y].slice(1),10)-1,_[v]||(_[v]={}),I>0?(_[v].hpt=I,_[v].hpx=qw(I)):I===0&&(_[v].hidden=!0);break;default:if(p&&p.WTF)throw new Error("SYLK bad record "+A)}j<1&&(C=null);break;default:if(p&&p.WTF)throw new Error("SYLK bad record "+A)}}return _.length>0&&(T["!rows"]=_),P.length>0&&(T["!cols"]=P),P.forEach(function(q){ey(q)}),p&&p.sheetRows&&(w=w.slice(0,p.sheetRows)),[w,T,D]}function s(h,p){var g=a(h,p),v=g[0],m=g[1],b=g[2],y=Gi(p);y.date1904=(((b||{}).Workbook||{}).WBProps||{}).date1904;var w=qy(v,y);Yl(m).forEach(function(C){w[C]=m[C]});var x=gp(w,p);return Yl(b).forEach(function(C){x[C]=b[C]}),x.bookType="sylk",x}function l(h,p,g,v,m,b){var y="C;Y"+(g+1)+";X"+(v+1)+";K";switch(h.t){case"n":y+=h.v||0,h.f&&!h.F&&(y+=";E"+_0t(h.f,{r:g,c:v}));break;case"b":y+=h.v?"TRUE":"FALSE";break;case"e":y+=h.w||vp[h.v]||h.v;break;case"d":y+=ca(Va(h.v,b),b);break;case"s":y+='"'+(h.v==null?"":String(h.v)).replace(/"/g,"").replace(/;/g,";;")+'"';break}return y}function c(h,p,g){var v="C;Y"+(p+1)+";X"+(g+1)+";A";return v+=i(h.map(function(m){return m.t}).join("")),v}function u(h,p){p.forEach(function(g,v){var m="F;W"+(v+1)+" "+(v+1)+" ";g.hidden?m+="0":(typeof g.width=="number"&&!g.wpx&&(g.wpx=k_(g.width)),typeof g.wpx=="number"&&!g.wch&&(g.wch=T_(g.wpx)),typeof g.wch=="number"&&(m+=Math.round(g.wch))),m.charAt(m.length-1)!=" "&&h.push(m)})}function d(h,p){p.forEach(function(g,v){var m="F;";g.hidden?m+="M0;":g.hpt?m+="M"+20*g.hpt+";":g.hpx&&(m+="M"+20*pfe(g.hpx)+";"),m.length>2&&h.push(m+"R"+(v+1))})}function f(h,p,g){p||(p={}),p._formats=["General"];var v=["ID;PSheetJS;N;E"],m=[],b=Ri(h["!ref"]||"A1"),y,w=h["!data"]!=null,x=`\r
526`,C=(((g||{}).Workbook||{}).WBProps||{}).date1904,T="General";v.push("P;PGeneral");var _=b.s.r,P=b.s.c,F=[];if(h["!ref"]){for(_=b.s.r;_<=b.e.r;++_)if(!(w&&!h["!data"][_])){for(F=[],P=b.s.c;P<=b.e.c;++P)y=w?h["!data"][_][P]:h[tn(P)+_n(_)],!(!y||!y.c)&&F.push(c(y.c,_,P));F.length&&m.push(F.join(x))}}if(h["!ref"]){for(_=b.s.r;_<=b.e.r;++_)if(!(w&&!h["!data"][_])){for(F=[],P=b.s.c;P<=b.e.c;++P)if(y=w?h["!data"][_][P]:h[tn(P)+_n(_)],!(!y||y.v==null&&(!y.f||y.F))){if((y.z||(y.t=="d"?sr[14]:"General"))!=T){var I=p._formats.indexOf(y.z);I==-1&&(p._formats.push(y.z),I=p._formats.length-1,v.push("P;P"+y.z.replace(/;/g,";;"))),F.push("F;P"+I+";Y"+(_+1)+";X"+(P+1))}F.push(l(y,h,_,P,p,C))}m.push(F.join(x))}}return v.push("F;P0;DG0G8;M255"),h["!cols"]&&u(v,h["!cols"]),h["!rows"]&&d(v,h["!rows"]),h["!ref"]&&v.push("B;Y"+(b.e.r-b.s.r+1)+";X"+(b.e.c-b.s.c+1)+";D"+[b.s.c,b.s.r,b.e.c,b.e.r].join(" ")),v.push("O;L;D;B"+(C?";V4":"")+";K47;G100 0.001"),delete p._formats,v.join(x)+x+m.join(x)+x+"E"+x}return{to_workbook:s,from_sheet:f}}(),Zpt=function(){function e(s,l){switch(l.type){case"base64":return t(cl(s),l);case"binary":return t(s,l);case"buffer":return t(Ur&&Buffer.isBuffer(s)?s.toString("binary"):gf(s),l);case"array":return t(e0(s),l)}throw new Error("Unrecognized type "+l.type)}function t(s,l){for(var c=s.split(`
527`),u=-1,d=-1,f=0,h=[];f!==c.length;++f){if(c[f].trim()==="BOT"){h[++u]=[],d=0;continue}if(!(u<0)){var p=c[f].trim().split(","),g=p[0],v=p[1];++f;for(var m=c[f]||"";(m.match(/["]/g)||[]).length&1&&f<c.length-1;)m+=`
528`+c[++f];
528switch(m=m.trim(),+g){case-1:if(m==="BOT"){h[++u]=[],d=0;continue}else if(m!=="EOD")throw new Error("Unrecognized DIF special command "+m);break;case 0:m==="TRUE"?h[u][d]=!0:m==="FALSE"?h[u][d]=!1:isNaN(ol(v))?isNaN(Uw(v).getDate())?h[u][d]=v:(h[u][d]=Va(v),l&&l.UTC||(h[u][d]=t0(h[u][d]))):h[u][d]=ol(v),++d;break;case 1:m=m.slice(1,m.length-1),m=m.replace(/""/g,'"'),m&&m.match(/^=".*"$/)&&(m=m.slice(2,-1)),h[u][d++]=m!==""?m:null;break}if(m==="EOD")break}}return l&&l.sheetRows&&(h=h.slice(0,l.sheetRows)),h}function r(s,l){return qy(e(s,l),l)}function n(s,l){var c=gp(r(s,l),l);return c.bookType="dif",c}function i(s,l){return"0,"+String(s)+`\r
529`+l}function a(s){return`1,0\r
530"`+s.replace(/"/g,'""')+'"'}function o(s){if(!s["!ref"])throw new Error("Cannot export empty sheet to DIF");for(var l=Ri(s["!ref"]),c=s["!data"]!=null,u=[`TABLE\r
5310,1\r
532"sheetjs"\r
533`,`VECTORS\r
5340,`+(l.e.r-l.s.r+1)+`\r
535""\r
536`,`TUPLES\r
5370,`+(l.e.c-l.s.c+1)+`\r
538""\r
539`,`DATA\r
5400,0\r
541""\r
542`],d=l.s.r;d<=l.e.r;++d){for(var f=c?s["!data"][d]:[],h=`-1,0\r
543BOT\r
544`,p=l.s.c;p<=l.e.c;++p){var g=c?f&&f[p]:s[Xr({r:d,c:p})];if(g==null){h+=`1,0\r
545""\r
546`;continue}switch(g.t){case"n":g.w!=null?h+="0,"+g.w+`\r
547V`:g.v!=null?h+=i(g.v,"V"):g.f!=null&&!g.F?h+=a("="+g.f):h+=`1,0\r
548""`;break;case"b":h+=g.v?i(1,"TRUE"):i(0,"FALSE");break;case"s":h+=a(isNaN(+g.v)?g.v:'="'+g.v+'"');break;case"d":g.w||(g.w=ul(g.z||sr[14],ca(Va(g.v)))),h+=i(g.w,"V");break;default:h+=`1,0\r
549""`}h+=`\r
550`}u.push(h)}return u.join("")+`-1,0\r
551EOD`}return{to_workbook:n,to_sheet:r,from_sheet:o}}(),Ypt=function(){function e(d){return d.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n
vendor: 23,660 bytes, lines 551-562
551/g,`
552`)}function t(d){return d.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(d,f){for(var h=d.split(`
553`),p=-1,g=-1,v=0,m=[];v!==h.length;++v){var b=h[v].trim().split(":");if(b[0]==="cell"){var y=po(b[1]);if(m.length<=y.r)for(p=m.length;p<=y.r;++p)m[p]||(m[p]=[]);switch(p=y.r,g=y.c,b[2]){case"t":m[p][g]=e(b[3]);break;case"v":m[p][g]=+b[3];break;case"vtf":var w=b[b.length-1];case"vtc":switch(b[3]){case"nl":m[p][g]=!!+b[4];break;default:m[p][g]=+b[4];break}b[2]=="vtf"&&(m[p][g]=[m[p][g],w])}}}return f&&f.sheetRows&&(m=m.slice(0,f.sheetRows)),m}function n(d,f){return qy(r(d,f),f)}function i(d,f){return gp(n(d,f),f)}var a=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(`
554`),o=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(`
555`)+`
556`,s=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(`
557`),l="--SocialCalcSpreadsheetControlSave--";function c(d){if(!d||!d["!ref"])return"";for(var f=[],h=[],p,g="",v=E0(d["!ref"]),m=d["!data"]!=null,b=v.s.r;b<=v.e.r;++b)for(var y=v.s.c;y<=v.e.c;++y)if(g=Xr({r:b,c:y}),p=m?(d["!data"][b]||[])[y]:d[g],!(!p||p.v==null||p.t==="z")){switch(h=["cell",g,"t"],p.t){case"s":case"str":h.push(t(p.v));break;case"n":p.f?(h[2]="vtf",h[3]="n",h[4]=p.v,h[5]=t(p.f)):(h[2]="v",h[3]=p.v);break;case"b":h[2]="vt"+(p.f?"f":"c"),h[3]="nl",h[4]=p.v?"1":"0",h[5]=t(p.f||(p.v?"TRUE":"FALSE"));break;case"d":var w=ca(Va(p.v));h[2]="vtc",h[3]="nd",h[4]=""+w,h[5]=p.w||ul(p.z||sr[14],w);break;case"e":continue}f.push(h.join(":"))}return f.push("sheet:c:"+(v.e.c-v.s.c+1)+":r:"+(v.e.r-v.s.r+1)+":tvf:1"),f.push("valueformat:1:text-wiki"),f.join(`
558`)}function u(d){return[a,o,s,o,c(d),l].join(`
559`)}return{to_workbook:i,to_sheet:n,from_sheet:u}}(),zw=function(){function e(u,d,f,h,p){p.raw?d[f][h]=u:u===""||(u==="TRUE"?d[f][h]=!0:u==="FALSE"?d[f][h]=!1:isNaN(ol(u))?isNaN(Uw(u).getDate())?d[f][h]=u:d[f][h]=Va(u):d[f][h]=ol(u))}function t(u,d){var f=d||{},h=[];if(!u||u.length===0)return h;for(var p=u.split(/[\r\n]/),g=p.length-1;g>=0&&p[g].length===0;)--g;for(var v=10,m=0,b=0;b<=g;++b)m=p[b].indexOf(" "),m==-1?m=p[b].length:m++,v=Math.max(v,m);for(b=0;b<=g;++b){h[b]=[];var y=0;for(e(p[b].slice(0,v).trim(),h,b,y,f),y=1;y<=(p[b].length-v)/10+1;++y)e(p[b].slice(v+(y-1)*10,v+y*10).trim(),h,b,y,f)}return f.sheetRows&&(h=h.slice(0,f.sheetRows)),h}var r={44:",",9:"	",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function i(u){for(var d={},f=!1,h=0,p=0;h<u.length;++h)(p=u.charCodeAt(h))==34?f=!f:!f&&p in r&&(d[p]=(d[p]||0)+1);p=[];for(h in d)Object.prototype.hasOwnProperty.call(d,h)&&p.push([d[h],h]);if(!p.length){d=n;for(h in d)Object.prototype.hasOwnProperty.call(d,h)&&p.push([d[h],h])}return p.sort(function(g,v){return g[0]-v[0]||n[g[1]]-n[v[1]]}),r[p.pop()[1]]||44}function a(u,d){var f=d||{},h="",p={};f.dense&&(p["!data"]=[]);var g={s:{c:0,r:0},e:{c:0,r:0}};u.slice(0,4)=="sep="?u.charCodeAt(5)==13&&u.charCodeAt(6)==10?(h=u.charAt(4),u=u.slice(7)):u.charCodeAt(5)==13||u.charCodeAt(5)==10?(h=u.charAt(4),u=u.slice(6)):h=i(u.slice(0,1024)):f&&f.FS?h=f.FS:h=i(u.slice(0,1024));var v=0,m=0,b=0,y=0,w=0,x=h.charCodeAt(0),C=!1,T=0,_=u.charCodeAt(0),P=f.dateNF!=null?jdt(f.dateNF):null;function F(){var I=u.slice(y,w);I.slice(-1)=="\r"&&(I=I.slice(0,-1));var R={};if(I.charAt(0)=='"'&&I.charAt(I.length-1)=='"'&&(I=I.slice(1,-1).replace(/""/g,'"')),f.cellText!==!1&&(R.w=I),I.length===0)R.t="z";else if(f.raw)R.t="s",R.v=I;else if(I.trim().length===0)R.t="s",R.v=I;else if(I.charCodeAt(0)==61)I.charCodeAt(1)==34&&I.charCodeAt(I.length-1)==34?(R.t="s",R.v=I.slice(2,-1).replace(/""/g,'"')):P0t(I)?(R.t="s",R.f=I.slice(1),R.v=I):(R.t="s",R.v=I);else if(I=="TRUE")R.t="b",R.v=!0;else if(I=="FALSE")R.t="b",R.v=!1;else if(!isNaN(b=ol(I)))R.t="n",R.v=b;else if(!isNaN((b=Uw(I)).getDate())||P&&I.match(P)){if(R.z=f.dateNF||sr[14],P&&I.match(P)){var D=Gdt(I,f.dateNF,I.match(P)||[]);b=Va(D),f&&f.UTC===!1&&(b=t0(b))}else f&&f.UTC===!1?b=t0(b):f.cellText!==!1&&f.dateNF&&(R.w=ul(R.z,b));f.cellDates?(R.t="d",R.v=b):(R.t="n",R.v=ca(b)),f.cellNF||delete R.z}else R.t="s",R.v=I;if(R.t=="z"||(f.dense?(p["!data"][v]||(p["!data"][v]=[]),p["!data"][v][m]=R):p[Xr({c:m,r:v})]=R),y=w+1,_=u.charCodeAt(y),g.e.c<m&&(g.e.c=m),g.e.r<v&&(g.e.r=v),T==x)++m;else if(m=0,++v,f.sheetRows&&f.sheetRows<=v)return!0}e:for(;w<u.length;++w)switch(T=u.charCodeAt(w)){case 34:_===34&&(C=!C);break;case 13:if(C)break;u.charCodeAt(w+1)==10&&++w;case x:case 10:if(!C&&F())break e;break}return w-y>0&&F(),p["!ref"]=Hr(g),p}function o(u,d){return!(d&&d.PRN)||d.FS||u.slice(0,4)=="sep="||u.indexOf("	")>=0||u.indexOf(",")>=0||u.indexOf(";")>=0?a(u,d):qy(t(u,d),d)}function s(u,d){var f="",h=d.type=="string"?[0,0,0,0]:tL(u,d);switch(d.type){case"base64":f=cl(u);break;case"binary":f=u;break;case"buffer":d.codepage==65001?f=u.toString("utf8"):(d.codepage,f=Ur&&Buffer.isBuffer(u)?u.toString("binary"):gf(u));break;case"array":f=e0(u);break;case"string":f=u;break;default:throw new Error("Unrecognized type "+d.type)}return h[0]==239&&h[1]==187&&h[2]==191?f=Nn(f.slice(3)):d.type!="string"&&d.type!="buffer"&&d.codepage==65001?f=Nn(f):d.type=="binary",f.slice(0,19)=="socialcalc:version:"?Ypt.to_sheet(d.type=="string"?f:Nn(f),d):o(f,d)}function l(u,d){return gp(s(u,d),d)}function c(u){var d=[];if(!u["!ref"])return"";for(var f=Ri(u["!ref"]),h,p=u["!data"]!=null,g=f.s.r;g<=f.e.r;++g){for(var v=[],m=f.s.c;m<=f.e.c;++m){var b=Xr({r:g,c:m});if(h=p?(u["!data"][g]||[])[m]:u[b],!h||h.v==null){v.push("          ");continue}for(var y=(h.w||(tp(h),h.w)||"").slice(0,10);y.length<10;)y+=" ";v.push(y+(m===0?" ":""))}d.push(v.join(""))}return d.join(`
560`)}return{to_workbook:l,to_sheet:s,from_sheet:c}}();function $pt(e,t){var r=t||{},n=!!r.WTF;r.WTF=!0;try{var i=Kpt.to_workbook(e,r);return r.WTF=n,i}catch(a){if(r.WTF=n,a.message.indexOf("SYLK bad record ID")==-1&&n)throw a;return zw.to_workbook(e,t)}}var nS=function(){function e(z,J,j){if(z){ia(z,z.l||0);for(var q=j.Enum||ke;z.l<z.length;){var G=z.read_shift(2),N=q[G]||q[65535],O=z.read_shift(2),oe=z.l+O,Z=N.f&&N.f(z,O,j);if(z.l=oe,J(Z,N,G))return}}}function t(z,J){switch(J.type){case"base64":return n(qs(cl(z)),J);case"binary":return n(qs(z),J);case"buffer":case"array":return n(z,J)}throw"Unsupported type "+J.type}var r=["mmmm","dd-mmm-yyyy","dd-mmm","mmm-yyyy","@","mm/dd","hh:mm:ss AM/PM","hh:mm AM/PM","mm/dd/yyyy","mm/dd","hh:mm:ss","hh:mm"];function n(z,J){if(!z)return z;var j=J||{},q={},G="Sheet1",N="",O=0,oe={},Z=[],B=[],V=[];j.dense&&(V=q["!data"]=[]);var de={s:{r:0,c:0},e:{r:0,c:0}},Pe=j.sheetRows||0,ze={};if(z[4]==81&&z[5]==80&&z[6]==87)return We(z,J);if(z[2]==0&&(z[3]==8||z[3]==9)&&z.length>=16&&z[14]==5&&z[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(z[2]==2)j.Enum=ke,e(z,function(_e,at,rt){switch(rt){case 0:j.vers=_e,_e>=4096&&(j.qpro=!0);break;case 255:j.vers=_e,j.works=!0;break;case 6:de=_e;break;case 204:_e&&(N=_e);break;case 222:N=_e;break;case 15:case 51:(!j.qpro&&!j.works||rt==51)&&_e[1].v.charCodeAt(0)<48&&(_e[1].v=_e[1].v.slice(1)),(j.works||j.works2)&&(_e[1].v=_e[1].v.replace(/\r\n/g,`
561`));case 13:case 14:case 16:(_e[2]&112)==112&&(_e[2]&15)>1&&(_e[2]&15)<15&&(_e[1].z=j.dateNF||r[(_e[2]&15)-1]||sr[14],j.cellDates&&(_e[1].v=Uh(_e[1].v),_e[1].t=typeof _e[1].v=="number"?"n":"d")),j.qpro&&_e[3]>O&&(q["!ref"]=Hr(de),oe[G]=q,Z.push(G),q={},j.dense&&(V=q["!data"]=[]),de={s:{r:0,c:0},e:{r:0,c:0}},O=_e[3],G=N||"Sheet"+(O+1),N="");var ut=j.dense?(V[_e[0].r]||[])[_e[0].c]:q[Xr(_e[0])];if(ut){ut.t=_e[1].t,ut.v=_e[1].v,_e[1].z!=null&&(ut.z=_e[1].z),_e[1].f!=null&&(ut.f=_e[1].f),ze=ut;break}j.dense?(V[_e[0].r]||(V[_e[0].r]=[]),V[_e[0].r][_e[0].c]=_e[1]):q[Xr(_e[0])]=_e[1],ze=_e[1];break;case 21509:j.works2=!0;break;case 21506:_e==5281&&(ze.z="hh:mm:ss",j.cellDates&&ze.t=="n"&&(ze.v=Uh(ze.v),ze.t=typeof ze.v=="number"?"n":"d"));break}},j);else if(z[2]==26||z[2]==14)j.Enum=ge,z[2]==14&&(j.qpro=!0,z.l=0),e(z,function(_e,at,rt){switch(rt){case 204:G=_e;break;case 22:_e[1].v.charCodeAt(0)<48&&(_e[1].v=_e[1].v.slice(1)),_e[1].v=_e[1].v.replace(/\x0F./g,function(ut){return String.fromCharCode(ut.charCodeAt(1)-32)}).replace(/\r\n/g,`
562`);case 23:case 24:case 25:case 37:case 39:case 40:if(_e[3]>O&&(q["!ref"]=Hr(de),oe[G]=q,Z.push(G),q={},j.dense&&(V=q["!data"]=[]),de={s:{r:0,c:0},e:{r:0,c:0}},O=_e[3],G="Sheet"+(O+1)),Pe>0&&_e[0].r>=Pe)break;j.dense?(V[_e[0].r]||(V[_e[0].r]=[]),V[_e[0].r][_e[0].c]=_e[1]):q[Xr(_e[0])]=_e[1],de.e.c<_e[0].c&&(de.e.c=_e[0].c),de.e.r<_e[0].r&&(de.e.r=_e[0].r);break;case 27:_e[14e3]&&(B[_e[14e3][0]]=_e[14e3][1]);break;case 1537:B[_e[0]]=_e[1],_e[0]==O&&(G=_e[1]);break}},j);else throw new Error("Unrecognized LOTUS BOF "+z[2]);if(q["!ref"]=Hr(de),oe[N||G]=q,Z.push(N||G),!B.length)return{SheetNames:Z,Sheets:oe};for(var Se={},Me=[],Ze=0;Ze<B.length;++Ze)oe[Z[Ze]]?(Me.push(B[Ze]||Z[Ze]),Se[B[Ze]]=oe[B[Ze]]||oe[Z[Ze]]):(Me.push(B[Ze]),Se[B[Ze]]={"!ref":"A1"});return{SheetNames:Me,Sheets:Se}}function i(z,J){var j=J||{};if(+j.codepage>=0&&Vc(+j.codepage),j.type=="string")throw new Error("Cannot write WK1 to JS string");var q=eN();if(!z["!ref"])throw new Error("Cannot export empty sheet to WK1");var G=Ri(z["!ref"]),N=z["!data"]!=null,O=[];Ns(q,0,o(1030)),Ns(q,6,c(G));for(var oe=Math.min(G.e.r,8191),Z=G.s.c;Z<=G.e.c;++Z)O[Z]=tn(Z);for(var B=G.s.r;B<=oe;++B){var V=_n(B);for(Z=G.s.c;Z<=G.e.c;++Z){var de=N?(z["!data"][B]||[])[Z]:z[O[Z]+V];if(!(!de||de.t=="z"))switch(de.t){case"n":(de.v|0)==de.v&&de.v>=-32768&&de.v<=32767?Ns(q,13,v(B,Z,de)):Ns(q,14,b(B,Z,de));break;case"d":var Pe=ca(de.v);(Pe|0)==Pe&&Pe>=-32768&&Pe<=32767?Ns(q,13,v(B,Z,{v:Pe,z:de.z||sr[14]})):Ns(q,14,b(B,Z,{v:Pe,z:de.z||sr[14]}));break;default:var ze=tp(de);Ns(q,15,h(B,Z,ze.slice(0,239)))}}}return Ns(q,1),q.end()}function a(z,J){var j=J||{};if(+j.codepage>=0&&Vc(+j.codepage),j.type=="string")throw new Error("Cannot write WK3 to JS string");var q=eN();Ns(q,0,s(z));for(var G=0,N=0;G<z.SheetNames.length;++G)(z.Sheets[z.SheetNames[G]]||{})["!ref"]&&Ns(q,27,ce(z.SheetNames[G],N++));var O=0;for(G=0;G<z.SheetNames.length;++G){var oe=z.Sheets[z.SheetNames[G]];if(!(!oe||!oe["!ref"])){for(var Z=Ri(oe["!ref"]),B=oe["!data"]!=null,V=[],de=Math.min(Z.e.r,8191),Pe=Z.s.r;Pe<=de;++Pe)for(var ze=_n(Pe),Se=Z.s.c;Se<=Z.e.c;++Se){Pe===Z.s.r&&(V[Se]=tn(Se));var Me=V[Se]+ze,Ze=B?(oe["!data"][Pe]||[])[Se]:oe[Me];if(!(!Ze||Ze.t=="z"))if(Ze.t=="n")Ns(q,23,D(Pe,Se,O,Ze.v));else{var _e=tp(Ze);Ns(q,22,F(Pe,Se,O,_e.slice(0,239)))}}++O}}return Ns(q,1),q.end()}function o(z){var J=ea(2);return J.write_shift(2,z),J}function s(z){var J=ea(26);J.write_shift(2,4096),J.write_shift(2,4),J.write_shift(4,0);for(var j=0,q=0,G=0,N=0;N<z.SheetNames.length;++N){var O=z.SheetNames[N],oe=z.Sheets[O];if(!(!oe||!oe["!ref"])){++G;var Z=E0(oe["!ref"]);j<Z.e.r&&(j=Z.e.r),q<Z.e.c&&(q=Z.e.c)}}return j>8191&&(j=8191),J.write_shift(2,j),J.write_shift(1,G),J.write_shift(1,q),J.write_shift(2,0),J.write_shift(2,0),J.write_shift(1,1),J.write_shift(1,2),J.write_shift(4,0),J.write_shift(4,0),J}function l(z,J,j){var q={s:{c:0,r:0},e:{c:0,r:0}};return J==8&&j.qpro?(q.s.c=z.read_shift(1),z.l++,q.s.r=z.read_shift(2),q.e.c=z.read_shift(1),z.l++,q.e.r=z.read_shift(2),q):(q.s.c=z.read_shift(2),q.s.r=z.read_shift(2),J==12&&j.qpro&&(z.l+=2),q.e.c=z.read_shift(2),q.e.r=z.read_shift(2),J==12&&j.qpro&&(z.l+=2),q.s.c==65535&&(q.s.c=q.e.c=q.s.r=q.e.r=0),q)}function c(z){var J=ea(8);return J.write_shift(2,z.s.c),J.write_shift(2,z.s.r),J.write_shift(2,z.e.c),J.write_shift(2,z.e.r),J}function u(z,J,j){var q=[{c:0,r:0},{t:"n",v:0},0,0];return j.qpro&&j.vers!=20768?(q[0].c=z.read_shift(1),q[3]=z.read_shift(1),q[0].r=z.read_shift(2),z.l+=2):j.works?(q[0].c=z.read_shift(2),q[0].r=z.read_shift(2),q[2]=z.read_shift(2)):(q[2]=z.read_shift(1),q[0].c=z.read_shift(2),q[0].r=z.read_shift(2)),q}function d(z){return z.z&&ou(z.z)?240|(r.indexOf(z.z)+1||2):255}function f(z,J,j){var q=z.l+J,G=u(z,J,j);if(G[1].t="s",(j.vers&65534)==20768){z.l++;var N=z.read_shift(1);return G[1].v=z.read_shift(N,"utf8"),G}return j.qpro&&z.l++,G[1].v=z.read_shift(q-z.l,"cstr"),G}function h(z,J,j){var q=ea(7+j.length);q.write_shift(1,255),q.write_shift(2,J),q.write_shift(2,z),q.write_shift(1,39);for(var G=0;G<q.length;++G){var N=j.charCodeAt(G);q.write_shift(1,N>=128?95:N)}return q.write_shift(1,0),q}function p(z,J,j){var q=z.l+J,G=u(z,J,j);if(G[1].t="s",j.vers==20768){var N=z.read_shift(1);return G[1].v=z.read_shift(N,"utf8"),G}return G[1].v=z.read_shift(q-z.l,"cstr"),G}function g(z,J,j){var q=u(z,J,j);return q[1].v=z.read_shift(2,"i"),q}function v(z,J,j){var q=ea(7);return q.write_shift(1,d(j)),q.write_shift(2,J),q.write_shift(2,z),q.write_shift(2,j.v,"i"),q}function m(z,J,j){var q=u(z,J,j);return q[1].v=z.read_shift(8,"f"),q}function b(z,J,j){var q=ea(13);return q.write_shift(1,d(j)),q.write_shift(2,J),q.write_shift(2,z),q.write_shift(8,j.v,"f"),q}function y(z,J,j){var q=z.l+J,G=u(z,J,j);if(G[1].v=z.read_shift(8,"f"),j.qpro)z.l=q;else{var N=z.read_shift(2);T(z.slice(z.l,z.l+N),G),z.l+=N}return G}function w(z,J,j){var q=J&32768;return J&=-32769,J=(q?z:0)+(J>=8192?J-16384:J),(q?"":"$")+(j?tn(J):_n(J))}var x={31:["NA",0],33:["ABS",1],34:["TRUNC",1],35:["SQRT",1],36:["LOG",1],37:["LN",1],38:["PI",0],39:["SIN",1],40:["COS",1],41:["TAN",1],42:["ATAN2",2],43:["ATAN",1],44:["ASIN",1],45:["ACOS",1],46:["EXP",1],47:["MOD",2],49:["ISNA",1],50:["ISERR",1],51:["FALSE",0],52:["TRUE",0],53:["RAND",0],54:["DATE",3],63:["ROUND",2],64:["TIME",3],68:["ISNUMBER",1],69:["ISTEXT",1],70:["LEN",1],71:["VALUE",1],73:["MID",3],74:["CHAR",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],102:["UPPER",1],103:["LOWER",1],107:["PROPER",1],109:["TRIM",1],111:["T",1]},C=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function T(z,J){ia(z,0);for(var j=[],q=0,G="",N="",O="",oe="";z.l<z.length;){var Z=z[z.l++];switch(Z){case 0:j.push(z.read_shift(8,"f"));break;case 1:N=w(J[0].c,z.read_shift(2),!0),G=w(J[0].r,z.read_shift(2),!1),j.push(N+G);break;case 2:{var B=w(J[0].c,z.read_shift(2),!0),V=w(J[0].r,z.read_shift(2),!1);N=w(J[0].c,z.read_shift(2),!0),G=w(J[0].r,z.read_shift(2),!1),j.push(B+V+":"+N+G)}break;case 3:if(z.l<z.length){console.error("WK1 premature formula end");return}break;case 4:j.push("("+j.pop()+")");break;case 5:j.push(z.read_shift(2));break;case 6:{for(var de="";Z=z[z.l++];)de+=String.fromCharCode(Z);j.push('"'+de.replace(/"/g,'""')+'"')}break;case 8:j.push("-"+j.pop());break;case 23:j.push("+"+j.pop());break;case 22:j.push("NOT("+j.pop()+")");break;case 20:case 21:oe=j.pop(),O=j.pop(),j.push(["AND","OR"][Z-20]+"("+O+","+oe+")");break;default:if(Z<32&&C[Z])oe=j.pop(),O=j.pop(),j.push(O+C[Z]+oe);else if(x[Z]){if(q=x[Z][1],q==69&&(q=z[z.l++]),q>j.length){console.error("WK1 bad formula parse 0x"+Z.toString(16)+":|"+j.join("|")+"|");return}var Pe=j.slice(-q);j.length-=q,j.push(x[Z][0]+"("+Pe.join(",")+")")}else return Z<=7?console.error("WK1 invalid opcode "+Z.toString(16)):Z<=24?console.error("WK1 unsupported op "+Z.toString(16)):Z<=30?console.error("WK1 invalid opcode "+Z.toString(16)):Z<=115?console.error("WK1 unsupported function opcode "+Z.toString(16)):console.error("WK1 unrecognized opcode "+Z.toString(16))}}j.length==1?J[1].f=""+j[0]:console.error("WK1 bad formula parse |"+j.join("|")+"|")}function _(z){var J=[{c:0,r:0},{t:"n",v:0},0];return J[0].r=z.read_shift(2),J[3]=z[z.l++],J[0].c=z[z.l++],J}function P(z,J){var j=_(z);return j[1].t="s",j[1].v=z.read_shift(J-4,"cstr"),j}function F(z,J,j,q){var G=ea(6+q.length);G.write_shift(2,z),G.write_shift(1,j),G.write_shift(1,J),G.write_shift(1,39);for(var N=0;N<q.length;++N){var O=q.charCodeAt(N);G.write_shift(1,O>=128?95:O)}return G.write_shift(1,0),G}function I(z,J){var j=_(z);j[1].v=z.read_shift(2);var q=j[1].v>>1;if(j[1].v&1)switch(q&7){case 0:q=(q>>3)*5e3;break;case 1:q=(q>>3)*500;break;case 2:q=(q>>3)/20;break;case 3:q=(q>>3)/200;break;case 4:q=(q>>3)/2e3;break;case 5:q=(q>>3)/2e4;break;case 6:q=(q>>3)/16;break;case 7:q=(q>>3)/64;break}return j[1].v=q,j}function R(z,J){var j=_(z),q=z.read_shift(4),G=z.read_shift(4),N=z.read_shift(2);if(N==65535)return q===0&&G===3221225472?(j[1].t="e",j[1].v=15):q===0&&G===3489660928?(j[1].t="e",j[1].v=42):j[1].v=0,j;var O=N&32768;return N=(N&32767)-16446,j[1].v=(1-O*2)*(G*Math.pow(2,N+32)+q*Math.pow(2,N)),j}function D(z,J,j,q){var G=ea(14);if(G.write_shift(2,z),G.write_shift(1,j),G.write_shift(1,J),q==0)return G.write_shift(4,0),G.write_shift(4,0),G.write_shift(2,65535),G;var N=0,O=0,oe=0,Z=0;return q<0&&(N=1,q=-q),O=Math.log2(q)|0,q/=Math.pow(2,O-31),Z=q>>>0,Z&2147483648||(q/=2,++O,Z=q>>>0),q-=Z,Z|=2147483648,Z>>>=0,q*=Math.pow(2,32),oe=q>>>0,G.write_shift(4,oe),G.write_shift(4,Z),O+=16383+(N?32768:0),G.write_shift(2,O),G}function A(z,J){var j=R(z);return z.l+=J-14,j}function M(z,J){var j=_(z),q=z.read_shift(4);return j[1].v=q>>6,j}function X(z,J){var j=_(z),q=z.read_shift(8,"f");return j[1].v=q,j}function Y(z,J){var j=X(z);return z.l+=J-12,j}function se(z,J){return z[z.l+J-1]==0?z.read_shift(J,"cstr"):""}function ne(z,J){var j=z[z.l++];j>J-1&&(j=J-1);for(var q="";q.length<j;)q+=String.fromCharCode(z[z.l++]);return q}function ie(z,J,j){if(!(!j.qpro||J<21)){var q=z.read_shift(1);z.l+=17,z.l+=1,z.l+=2;var G=z.read_shift(J-21,"cstr");return[q,G]}}function ae(z,J){for(var j={},q=z.l+J;z.l<q;){var G=z.read_shift(2);if(G==14e3){for(j[G]=[0,""],j[G][0]=z.read_shift(2);z[z.l];)j[G][1]+=String.fromCharCode(z[z.l]),z.l++;z.l++}}return j}function ce(z,J){var j=ea(5+z.length);j.write_shift(2,14e3),j.write_shift(2,J);for(var q=0;q<z.length;++q){var G=z.charCodeAt(q);j[j.l++]=G>127?95:G}return j[j.l++]=0,j}var ke={0:{n:"BOF",f:vi},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:l},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:g},14:{n:"NUMBER",f:m},15:{n:"LABEL",f},16:{n:"FORMULA",f:y},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:p},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:se},222:{n:"SHEETNAMELP",f:ne},255:{n:"BOF",f:vi},21506:{n:"WKSNF",f:vi},65535:{n:""}},ge={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:P},23:{n:"NUMBER17",f:R},24:{n:"NUMBER18",f:I},25:{n:"FORMULA19",f:A},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:ae},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:M},38:{n:"??"},39:{n:"NUMBER27",f:X},40:{n:"FORMULA28",f:Y},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:se},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:ie},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}},De={5:"dd-mmm-yy",6:"dd-mmm",7:"mmm-yy",8:"mm/dd/yy",10:"hh:mm:ss AM/PM",11:"hh:mm AM/PM",14:"dd-mmm-yyyy",15:"mmm-yyyy",34:"0.00",50:"0.00;[Red]0.00",66:"0.00;(0.00)",82:"0.00;[Red](0.00)",162:'"$"#,##0.00;\\("$"#,##0.00\\)',288:"0%",304:"0E+00",320:"# ?/?"};function Ne(z){var J=z.read_shift(2),j=z.read_shift(1);if(j!=0)throw"unsupported QPW string type "+j.toString(16);return z.read_shift(J,"sbcs-cont")}function We(z,J){ia(z,0);var j=J||{},q={};j.dense&&(q["!data"]=[]);var G=[],N="",O={s:{r:-1,c:-1},e:{r:-1,c:-1}},oe=0,Z=0,B=0,V=0,de={SheetNames:[],Sheets:{}},Pe=[];e:for(;z.l<z.length;){var ze=z.read_shift(2),Se=z.read_shift(2),Me=z.slice(z.l,z.l+Se);switch(ia(Me,0),ze){case 1:if(Me.read_shift(4)!=962023505)throw"Bad QPW9 BOF!";break;case 2:break e;case 8:break;case 10:for(var Ze=Me.read_shift(4),_e=(Me.length-Me.l)/Ze|0,at=0;at<Ze;++at){var rt=Me.l+_e,ut={};Me.l+=2,ut.numFmtId=Me.read_shift(2),De[ut.numFmtId]&&(ut.z=De[ut.numFmtId]),Me.l=rt,Pe.push(ut)}break;case 1025:break;case 1026:break;case 1031:for(Me.l+=12;Me.l<Me.length;)oe=Me.read_shift(2),Z=Me.read_shift(1),G.push(Me.read_shift(oe,"cstr"));break;case 1032:break;case 1537:{var Mt=Me.read_shift(2);q={},j.dense&&(q["!data"]=[]),O.s.c=Me.read_shift(2),O.e.c=Me.read_shift(2),O.s.r=Me.read_shift(4),O.e.r=Me.read_shift(4),Me.l+=4,Me.l+2<Me.length&&(oe=Me.read_shift(2),Z=Me.read_shift(1),N=oe==0?"":Me.read_shift(oe,"cstr")),N||(N=tn(Mt))}break;case 1538:{if(O.s.c>255||O.s.r>999999)break;O.e.c<O.s.c&&(O.e.c=O.s.c),O.e.r<O.s.r&&(O.e.r=O.s.r),q["!ref"]=Hr(O),p2(de,q,N)}break;case 2561:B=Me.read_shift(2),O.e.c<B&&(O.e.c=B),O.s.c>B&&(O.s.c=B),V=Me.read_shift(4),O.s.r>V&&(O.s.r=V),V=Me.read_shift(4),O.e.r<V&&(O.e.r=V);break;case 3073:{V=Me.read_shift(4),oe=Me.read_shift(4),O.s.r>V&&(O.s.r=V),O.e.r<V+oe-1&&(O.e.r=V+oe-1);for(var rr=tn(B);Me.l<Me.length;){var tt={t:"z"},nr=Me.read_shift(1),Ht=-1;nr&128&&(Ht=Me.read_shift(2));var un=nr&64?Me.read_shift(2)-1:0;switch(nr&31){case 0:break;case 1:break;case 2:tt={t:"n",v:Me.read_shift(2)};break;case 3:tt={t:"n",v:Me.read_shift(2,"i")};break;case 4:tt={t:"n",v:iO(Me)};break;case 5:tt={t:"n",v:Me.read_shift(8,"f")};break;case 7:tt={t:"s",v:G[Z=Me.read_shift(4)-1]};break;case 8:tt={t:"n",v:Me.read_shift(8,"f")},Me.l+=2,Me.l+=4,isNaN(tt.v)&&(tt={t:"e",v:15});break;default:throw"Unrecognized QPW cell type "+(nr&31)}Ht!=-1&&(Pe[Ht-1]||{}).z&&(tt.z=Pe[Ht-1].z);var xe=0;if(nr&32)switch(nr&31){case 2:xe=Me.read_shift(2);break;case 3:xe=Me.read_shift(2,"i");break;case 7:xe=Me.read_shift(2);break;default:throw"Unsupported delta for QPW cell type "+(nr&31)}if(!(!j.sheetStubs&&tt.t=="z")){var zn=Gi(tt);tt.t=="n"&&tt.z&&ou(tt.z)&&j.cellDates&&(zn.v=Uh(tt.v),zn.t=typeof zn.v=="number"?"n":"d"),q["!data"]!=null?(q["!data"][V]||(q["!data"][V]=[]),q["!data"][V][B]=zn):q[rr+_n(V)]=zn}for(++V,--oe;un-- >0&&oe>=0;){if(nr&32)switch(nr&31){case 2:tt={t:"n",v:tt.v+xe&65535};break;case 3:tt={t:"n",v:tt.v+xe&65535},tt.v>32767&&(tt.v-=65536);break;case 7:tt={t:"s",v:G[Z=Z+xe>>>
5620]};break;default:throw"Cannot apply delta for QPW cell type "+(nr&31)}else switch(nr&31){case 1:tt={t:"z"};break;case 2:tt={t:"n",v:Me.read_shift(2)};break;case 7:tt={t:"s",v:G[Z=Me.read_shift(4)-1]};break;default:throw"Cannot apply repeat for QPW cell type "+(nr&31)}!j.sheetStubs&&tt.t=="z"||(q["!data"]!=null?(q["!data"][V]||(q["!data"][V]=[]),q["!data"][V][B]=tt):q[rr+_n(V)]=tt),++V,--oe}}}break;case 3074:{B=Me.read_shift(2),V=Me.read_shift(4);var da=Ne(Me);q["!data"]!=null?(q["!data"][V]||(q["!data"][V]=[]),q["!data"][V][B]={t:"s",v:da}):q[tn(B)+_n(V)]={t:"s",v:da}}break}z.l+=Se}return de}return{sheet_to_wk1:i,book_to_wk3:a,to_workbook:t}}();function Xpt(e){var t={},r=e.match(ja),n=0,i=!1;if(r)for(;n!=r.length;++n){var a=Nt(r[n]);switch(a[0].replace(/<\w*:/g,"<")){case"<condense":break;case"<extend":break;case"<shadow":if(!a.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if(a.val=="1")break;t.cp=FM[parseInt(a.val,10)];break;case"<outline":if(!a.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=a.val;break;case"<sz":t.sz=a.val;break;case"<strike":if(!a.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!a.val)break;switch(a.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting";break}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if(a.val=="0")break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if(a.val=="0")break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":a.rgb&&(t.color=a.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":t.family=a.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":t.valign=a.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":break;case"<scheme":break;case"<scheme>":case"<scheme/>":case"</scheme>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(a[0].charCodeAt(1)!==47&&!i)throw new Error("Unrecognized rich format "+a[0])}}return t}var Qpt=function(){function e(n){var i=Sa(n,"t");if(!i)return{t:"s",v:""};var a={t:"s",v:zr(i[1])},o=Sa(n,"rPr");return o&&(a.s=Xpt(o[1])),a}var t=/<(?:\w+:)?r>/g,r=/<\/(?:\w+:)?r>/;return function(i){return i.replace(t,"").split(r).map(e).filter(function(a){return a.v})}}(),Jpt=function(){var t=/(\r\n|\n)/g;function r(i,a,o){var s=[];i.u&&s.push("text-decoration: underline;"),i.uval&&s.push("text-underline-style:"+i.uval+";"),i.sz&&s.push("font-size:"+i.sz+"pt;"),i.outline&&s.push("text-effect: outline;"),i.shadow&&s.push("text-shadow: auto;"),a.push('<span style="'+s.join("")+'">'),i.b&&(a.push("<b>"),o.push("</b>")),i.i&&(a.push("<i>"),o.push("</i>")),i.strike&&(a.push("<s>"),o.push("</s>"));var l=i.valign||"";return l=="superscript"||l=="super"?l="sup":l=="subscript"&&(l="sub"),l!=""&&(a.push("<"+l+">"),o.push("</"+l+">")),o.push("</span>"),i}function n(i){var a=[[],i.v,[]];return i.v?(i.s&&r(i.s,a[0],a[2]),a[0].join("")+a[1].replace(t,"<br/>")+a[2].join("")):""}return function(a){return a.map(n).join("")}}(),emt=/<(?:\w+:)?t\b[^<>]*>([^<]*)<\/(?:\w+:)?t>/g,tmt=/<(?:\w+:)?r\b[^<>]*>/;function ZM(e,t){var r=t?t.cellHTML:!0,n={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=zr(Nn(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""),!0),n.r=Nn(e),r&&(n.h=Qb(n.t))):e.match(tmt)&&(n.r=Nn(e),n.t=zr(Nn((uft(e,"rPh").match(emt)||[]).join("").replace(ja,"")),!0),r&&(n.h=Jpt(Qpt(n.r)))),n):{t:""}}var rmt=/<(?:\w+:)?(?:si|sstItem)>/g,nmt=/<\/(?:\w+:)?(?:si|sstItem)>/;function imt(e,t){var r=[],n="";if(!e)return r;var i=Sa(e,"sst");if(i){n=i[1].replace(rmt,"").split(nmt);for(var a=0;a!=n.length;++a){var o=ZM(n[a].trim(),t);o!=null&&(r[r.length]=o)}i=Nt(i[0].slice(0,i[0].indexOf(">"))),r.Count=i.count,r.Unique=i.uniqueCount}return r}function amt(e){return[e.read_shift(4),e.read_shift(4)]}function omt(e,t){var r=[],n=!1;return Cf(e,function(a,o,s){switch(s){case 159:r.Count=a[0],r.Unique=a[1];break;case 19:r.push(a);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(o.T,!n||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}}),r}function lfe(e){for(var t=[],r=e.split(""),n=0;n<r.length;
vendor: 4,106 bytes, line 562
562++n)t[n]=r[n].charCodeAt(0);return t}function rf(e,t){var r={};return r.Major=e.read_shift(2),r.Minor=e.read_shift(2),t>=4&&(e.l+=t-4),r}function smt(e){var t={};return t.id=e.read_shift(0,"lpp4"),t.R=rf(e,4),t.U=rf(e,4),t.W=rf(e,4),t}function lmt(e){for(var t=e.read_shift(4),r=e.l+t-4,n={},i=e.read_shift(4),a=[];i-- >0;)a.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(n.name=e.read_shift(0,"lpp4"),n.comps=a,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return n}function cmt(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(lmt(e));return t}function umt(e){var t=[];e.l+=4;for(var r=e.read_shift(4);r-- >0;)t.push(e.read_shift(0,"lpp4"));return t}function dmt(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=rf(e,4),t.U=rf(e,4),t.W=rf(e,4),t}function fmt(e){var t=dmt(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),e.read_shift(4)!=4)throw new Error("Bad !Primary record");return t}function cfe(e,t){var r=e.l+t,n={};n.Flags=e.read_shift(4)&63,e.l+=4,n.AlgID=e.read_shift(4);var i=!1;switch(n.AlgID){case 26126:case 26127:case 26128:i=n.Flags==36;break;case 26625:i=n.Flags==4;break;case 0:i=n.Flags==16||n.Flags==4||n.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!i)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=e.read_shift(4),n.KeySize=e.read_shift(4),n.ProviderType=e.read_shift(4),e.l+=8,n.CSPName=e.read_shift(r-e.l>>1,"utf16le"),e.l=r,n}function ufe(e,t){var r={},n=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),r.VerifierHash=e.slice(e.l,n),e.l=n,r}function hmt(e){var t=rf(e);switch(t.Minor){case 2:return[t.Minor,pmt(e)];case 3:return[t.Minor,mmt()];case 4:return[t.Minor,gmt(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function pmt(e){var t=e.read_shift(4);if((t&63)!=36)throw new Error("EncryptionInfo mismatch");var r=e.read_shift(4),n=cfe(e,r),i=ufe(e,e.length-e.l);return{t:"Std",h:n,v:i}}function mmt(){throw new Error("File is password-protected: ECMA-376 Extensible")}function gmt(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e.read_shift(e.length-e.l,"utf8"),n={};return r.replace(ja,function(a){var o=Nt(a);switch(bc(o[0])){case"<?xml":break;case"<encryption":case"</encryption>":break;case"<keyData":t.forEach(function(s){n[s]=o[s]});break;case"<dataIntegrity":n.encryptedHmacKey=o.encryptedHmacKey,n.encryptedHmacValue=o.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":n.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":n.uri=o.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":n.encs.push(o);break;default:throw o[0]}}),n}function vmt(e,t){var r={},n=r.EncryptionVersionInfo=rf(e,4);if(t-=4,n.Minor!=2)throw new Error("unrecognized minor version code: "+n.Minor);if(n.Major>4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=e.read_shift(4),t-=4;var i=e.read_shift(4);return t-=4,r.EncryptionHeader=cfe(e,i),t-=i,r.EncryptionVerifier=ufe(e,t),r}function ymt(e){var t={},r=t.EncryptionVersionInfo=rf(e,4);if(r.Major!=1||r.Minor!=1)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}function bmt(e){var t=0,r,n=lfe(e),i=n.length+1,a,o,s,l,c;for(r=ep(i),r[0]=n.length,a=1;a!=i;++a)r[a]=n[a-1];for(a=i-1;a>=0;--a)o=r[a],s=t&16384?1:0,l=t<<1&32767,c=s|l,t=c^o;return t^52811}var dfe=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43
562004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(o){return(o/2|o*128)&255},i=function(o,s){return n(o^s)},a=function(o){for(var s=t[o.length-1],l=104,c=o.length-1;c>=0;--c)for(var u=o[c],d=0;d!=7;++d)u&64&&(s^=r[l]),u*=2,--l;return s};return function(o){for(var s=lfe(o),l=a(s),c=s.length,u=ep(16),d=0;d!=16;++d)u[d]=0;var f,h,p;for((c&1)===1&&(f=l>>8,u[c]=i(e[0],f),--c,f=l&255,h=s[s.length-1],u[c]=i(h,f));c>0;)--c,f=l>>8,u[c]=i(s[c],f),--c,f=l&255,u[c]=i(s[c],f);for(c=15,p=15-s.length;p>0;)f=l>>8,u[c]=i(e[p],f),--c,--p,f=l&255,u[c]=i(s[c],f),--c,--p;return u}}(),Smt=function(e,t,r,n,i){i||(i=t),n||(n=dfe(e));var a,o;for(a=0;a!=t.length;++a)o=t[a],o^=n[r],o=(o>>5|o<<3)&255,i[a]=o,++r;return[i,r,n]},wmt=function(e){var t=0,r=dfe(e);return function(n){var i=Smt("",n,t,r);return t=i[1],i[0]}};function xmt(e,t,r,n){var i={key:vi(e),verificationBytes:vi(e)};return r.password&&(i.verifier=bmt(r.password)),n.valid=i.verificationBytes===i.verifier,n.valid&&(n.insitu=wmt(r.password)),i}function Cmt(e,t,r){var n=r||{};return n.Info=e.read_shift(2),e.l-=2,n.Info===1?n.Data=ymt(e):n.Data=vmt(e,t),n}function Emt(e,t,r){var n={Type:r.biff>=8?e.read_shift(2):0};return n.Type?Cmt(e,t-2,n):xmt(e,r.biff>=8?t:t-2,r,n),n}function kmt(e,t){switch(t.type){case"base64":return iE(cl(e),t);case"binary":return iE(e,t);case"buffer":return iE(Ur&&Buffer.isBuffer(e)?e.toString("binary"):gf(e),t);case"array":return iE(e0(e),t)}throw new Error("Unrecognized type "+t.type)}function iE(e,t){var r=t||{},n={},i=r.dense;i&&(n["!data"]=[]);var a=zM(e,"\\trowd","\\row");if(!a)throw new Error("RTF missing table");var o={s:{c:0,r:0},e:{c:0,r:a.length-1}},s=[];return a.forEach(function(l,c){i&&(s=n["!data"][c]=[]);for(var u=/\\[\w\-]+\b/g,d=0,f,h=-1,p=[];(f=u.exec(l))!=null;){var g=l.slice(d,u.lastIndex-f[0].length);switch(g.charCodeAt(0)==32&&(g=g.slice(1)),g.length&&p.push(g),f[0]){case"\\cell":if(++h,p.length){var v={v:p.join(""),t:"s"};v.v=="TRUE"||v.v=="FALSE"?(v.v=v.v=="TRUE",v.t="b"):isNaN(ol(v.v))||(v.t="n",r.cellText!==!1&&(v.w=v.v),v.v=ol(v.v)),i?s[h]=v:n[Xr({r:c,c:h})]=v}p=[];break;case"\\par":p.push(`
563`);break}d=u.lastIndex}h>o.e.c&&(o.e.c=h)}),n["!ref"]=Hr(o),n}function Tmt(e,t){var r=gp(kmt(e,t),t);return r.bookType="rtf",r}function _mt(e){var t=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function Hw(e){for(var t=0,r=1;t!=3;++t)r=r*256+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function Pmt(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.max(t,r,n),a=Math.min(t,r,n),o=i-a;if(o===0)return[0,0,t];var s=0,l=0,c=i+a;switch(l=o/(c>1?2-c:c),i){case t:s=((r-n)/o+6)%6;break;case r:s=(n-t)/o+2;break;case n:s=(t-r)/o+4;break}return[s/6,l,c/2]}function Amt(e){var t=e[0],r=e[1],n=e[2],i=r*2*(n<.5?n:1-n),a=n-i/2,o=[a,a,a],s=6*t,l;if(r!==0)switch(s|0){case 0:case 6:l=i*s,o[0]+=i,o[1]+=l;break;case 1:l=i*(2-s),o[0]+=l,o[1]+=i;break;case 2:l=i*(s-2),o[1]+=i,o[2]+=l;break;case 3:l=i*(4-s),o[1]+=l,o[2]+=i;break;case 4:l=i*(s-4),o[2]+=i,o[0]+=l;break;case 5:l=i*(6-s),o[2]+=l,o[0]+=i;break}for(var c=0;c!=3;++c)o[c]=Math.round(o[c]*255);return o}function E_(e,t){if(t===0)return e;var r=Pmt(_mt(e));return t<0?r[2]=r[2]*(1+t):r[2]=1-(1-r[2])*(1-t),Hw(Amt(r))}var ffe=6,Omt=15,Imt=1,No=ffe;function k_(e){return Math.floor((e+Math.round(128/No)/256)*No)}function T_(e){return Math.floor((e-5)/No*100+.5)/100}function iN(e){return Math.round((e*No+5)/No*256)/256}function vR(e){return iN(T_(k_(e)))}function YM(e){var t=Math.abs(e-vR(e)),r=No;if(t>.005)for(No=Imt;No<Omt;++No)Math.abs(e-vR(e))<=t&&(t=Math.abs(e-vR(e)),r=No);No=r}function ey(e){e.width?(e.wpx=k_(e.width),e.wch=T_(e.wpx),e.MDW=No):e.wpx?(e.wch=T_(e.wpx),e.width=iN(e.wch),e.MDW=No):typeof e.wch=="number"&&(e.width=iN(e.wch),e.wpx=k_(e.width),e.MDW=No),e.customWidth&&delete e.customWidth}var Rmt=96,hfe=Rmt;function pfe(e){return e*96/hfe}function qw(e){return e*hfe/96}var Fmt={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function Dmt(e,t,r,n){t.Borders=[];var i={},a=!1;
vendor: 4,455 bytes, line 563
563(e.match(ja)||[]).forEach(function(o){var s=Nt(o);switch(bc(s[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":i={},s.diagonalUp&&(i.diagonalUp=Tn(s.diagonalUp)),s.diagonalDown&&(i.diagonalDown=Tn(s.diagonalDown)),t.Borders.push(i);break;case"</border>":break;case"<left/>":break;case"<left":case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":case"<bottom>":break;case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":break;case"</vertical>":break;case"<start":case"<start>":case"<start/>":break;case"</start>":break;case"<end":case"<end>":case"<end/>":break;case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(n&&n.WTF&&!a)throw new Error("unrecognized "+s[0]+" in borders")}})}function Nmt(e,t,r,n){t.Fills=[];var i={},a=!1;(e.match(ja)||[]).forEach(function(o){var s=Nt(o);switch(bc(s[0])){case"<fills":case"<fills>":case"</fills>":break;case"<fill>":case"<fill":case"<fill/>":i={},t.Fills.push(i);break;case"</fill>":break;case"<gradientFill>":break;case"<gradientFill":case"</gradientFill>":t.Fills.push(i),i={};break;case"<patternFill":case"<patternFill>":s.patternType&&(i.patternType=s.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":i.bgColor||(i.bgColor={}),s.indexed&&(i.bgColor.indexed=parseInt(s.indexed,10)),s.theme&&(i.bgColor.theme=parseInt(s.theme,10)),s.tint&&(i.bgColor.tint=parseFloat(s.tint)),s.rgb&&(i.bgColor.rgb=s.rgb.slice(-6));break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":i.fgColor||(i.fgColor={}),s.theme&&(i.fgColor.theme=parseInt(s.theme,10)),s.tint&&(i.fgColor.tint=parseFloat(s.tint)),s.rgb!=null&&(i.fgColor.rgb=s.rgb.slice(-6));break;case"<fgColor/>":case"</fgColor>":break;case"<stop":case"<stop/>":break;case"</stop>":break;case"<color":case"<color/>":break;case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(n&&n.WTF&&!a)throw new Error("unrecognized "+s[0]+" in fills")}})}function Mmt(e,t,r,n){t.Fonts=[];var i={},a=!1;(e.match(ja)||[]).forEach(function(o){var s=Nt(o);switch(bc(s[0])){case"<fonts":case"<fonts>":case"</fonts>":break;case"<font":case"<font>":break;case"</font>":case"<font/>":t.Fonts.push(i),i={};break;case"<name":s.val&&(i.name=Nn(s.val));break;case"<name/>":case"</name>":break;case"<b":i.bold=s.val?Tn(s.val):1;break;case"<b/>":i.bold=1;break;case"<i":i.italic=s.val?Tn(s.val):1;break;case"<i/>":i.italic=1;break;case"<u":switch(s.val){case"none":i.underline=0;break;case"single":i.underline=1;break;case"double":i.underline=2;break;case"singleAccounting":i.underline=33;break;case"doubleAccounting":i.underline=34;break}break;case"<u/>":i.underline=1;break;case"<strike":i.strike=s.val?Tn(s.val):1;break;case"<strike/>":i.strike=1;break;case"<outline":i.outline=s.val?Tn(s.val):1;break;case"<outline/>":i.outline=1;break;case"<shadow":i.shadow=s.val?Tn(s.val):1;break;case"<shadow/>":i.shadow=1;break;case"<condense":i.condense=s.val?Tn(s.val):1;break;case"<condense/>":i.condense=1;break;case"<extend":i.extend=s.val?Tn(s.val):1;break;case"<extend/>":i.extend=1;break;case"<sz":s.val&&(i.sz=+s.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":s.val&&(i.vertAlign=s.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<family":s.val&&(i.family=parseInt(s.val,10));break;case"<family/>":case"</family>":break;case"<scheme":s.val&&(i.scheme=s.val);break;case"<scheme/>":case"</scheme>":break;case"<charset":if(s.val=="1")break;s.codepage=FM[parseInt(s.val,10)];break;case"<color":if(i.color||(i.color={}),s.auto&&(i.color.auto=Tn(s.auto)),s.rgb)i.color.rgb=s.rgb.slice(-6);else if(s.indexed){i.color.index=parseInt(s.indexed,10);var l=wm[i.color.index];i.color.index==81&&(l=wm[1]),l||(l=wm[1]),i.color.rgb=l[0].toString(16)+l[1].toString(16)+l[2].toString(16)}else s.theme&&(i.color.theme=parseInt(s.theme,10),s.tint&&(i.color.tint=parseFloat(s.tint)),s.theme&&r.themeElements&&r.themeElements.clr
563Scheme&&(i.color.rgb=E_(r.themeElements.clrScheme[i.color.theme].rgb,i.color.tint||0)));break;case"<color/>":case"</color>":break;case"<AlternateContent":a=!0;break;case"</AlternateContent>":a=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(n&&n.WTF&&!a)throw new Error("unrecognized "+s[0]+" in fonts")}})}function Lmt(e,t,r){t.NumberFmt=[];for(var n=Yl(sr),i=0;i<n.length;++i)t.NumberFmt[n[i]]=sr[n[i]];var a=e.match(ja);if(a)for(i=0;i<a.length;++i){var o=Nt(a[i]);switch(bc(o[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":{var s=zr(Nn(o.formatCode)),l=parseInt(o.numFmtId,10);if(t.NumberFmt[l]=s,l>0){if(l>392){for(l=392;l>60&&t.NumberFmt[l]!=null;--l);t.NumberFmt[l]=s}bm(s,l)}}break;case"</numFmt>":break;default:if(r.WTF)throw new Error("unrecognized "+o[0]+" in numFmts")}}}var aE=["numFmtId","fillId","fontId","borderId","xfId"],oE=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function Bmt(e,t,r){t.CellXf=[];var n,i=!1;(e.match(ja)||[]).forEach(function(a){var o=Nt(a),s=0;switch(bc(o[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":case"<xf/>":case"<xf>":for(n=o,delete n[0],s=0;s<aE.length;++s)n[aE[s]]&&(n[aE[s]]=parseInt(n[aE[s]],10));for(s=0;s<oE.length;++s)n[oE[s]]&&(n[oE[s]]=Tn(n[oE[s]]));if(t.NumberFmt&&n.numFmtId>392){for(s=392;s>60;--s)if(t.NumberFmt[n.numFmtId]==t.NumberFmt[s]){n.numFmtId=s;break}}t.CellXf.push(n);break;case"</xf>":break;case"<alignment":case"<alignment/>":case"<alignment>":var l={};o.vertical&&(l.vertical=o.vertical),o.horizontal&&(l.horizontal=o.horizontal),o.textRotation!=null&&(l.textRotation=o.textRotation),o.indent&&(l.indent=o.indent),o.wrapText&&(l.wrapText=Tn(o.wrapText)),n.alignment=l;break;case"</alignment>":break;case"<protection":case"<protection>":break;case"</protection>":case"<protection/>":break;case"<AlternateContent":case"<AlternateContent>":i=!0;break;case"</AlternateContent>":i=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;default:if(r&&r.WTF&&!i)throw new Error("unrecognized "+o[0]+" in cellXfs")}})}var Umt=function(){return function(r,n,i){var a={};if(!r)return a;r=UM(l2(r,"<!--","-->"));var o;return(o=Sa(r,"numFmts"))&&Lmt(o[0],a,i),(o=Sa(r,"fonts"))&&Mmt(o[0],a,n,i),(o=Sa(r,"fills"))&&Nmt(o[0],a,n,i),(o=Sa(r,"borders"))&&Dmt(o[0],a,n,i),(o=Sa(r,"cellXfs"))&&Bmt(o[0],a,i),a}}();function zmt(e,t){var r=e.read_shift(2),n=vo(e);return[r,n]}function Hmt(e,t,r){var n={};n.sz=e.read_shift(2)/20;var i=$ft(e);i.fItalic&&(n.italic=1),i.fCondense&&(n.condense=1),i.fExtend&&(n.extend=1),i.fShadow&&(n.shadow=1),i.fOutline&&(n.outline=1),i.fStrikeout&&(n.strike=1);var a=e.read_shift(2);switch(a===700&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var o=e.read_shift(1);o!=0&&(n.underline=o);var s=e.read_shift(1);s>0&&(n.family=s);var l=e.read_shift(1);switch(l>0&&(n.charset=l),e.l++,n.color=Yft(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=vo(e),n}var qmt=xo;function Wmt(e,t){var r=e.l+t,n=e.read_shift(2),i=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:i}}var Vmt=xo;function jmt(e,t,r){var n={};n.NumberFmt=[];for(var i in sr)n.NumberFmt[i]=sr[i];n.CellXf=[],n.Fonts=[];var a=[],o=!1;return Cf(e,function(l,c,u){switch(u){case 44:n.NumberFmt[l[0]]=l[1],bm(l[1],l[0]);break;case 43:n.Fonts.push(l),l.color.theme!=null&&t&&t.themeElements&&t.themeElements.clrScheme&&(l.color.rgb=E_(t.themeElements.clrScheme[l.color.theme].rgb,l.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:a[a.length-1]==617&&n.CellXf.push(l);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:a.push(u),o=!0;break;case 38:a.pop(),o=!1;break;default:if(c.T>0)a.push(u);else if(c.T<0)a.pop();else if(!o||r.WTF&&a[a.length-1]!=37)throw new Error("Unexpected record 0x"+u.toString(16))}}),n}
563var Gmt=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function Kmt(e,t,r){t.themeElements.clrScheme=[];var n={};(e[0].match(ja)||[]).forEach(function(i){var a=Nt(i);switch(a[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":n.rgb=a.val;break;case"</a:srgbClr>":break;case"<a:sysClr":n.rgb=a.lastClr;break;case"</a:sysClr>":break;case"</a:dk1>":case"</a:lt1>":case"<a:dk1>":case"<a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":a[0].charAt(1)==="/"?(t.themeElements.clrScheme[Gmt.indexOf(a[0])]=n,n={}):n.name=a[0].slice(3,a[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+a[0]+" in clrScheme")}})}function Zmt(e,t,r){t.themeElements={};var n;if(!(n=Sm(e,"a:clrScheme")))throw new Error("clrScheme not found in themeElements");if(Kmt(n,t,r),!(n=Sm(e,"a:fontScheme")))throw new Error("fontScheme not found in themeElements");if(!(n=Sm(e,"a:fmtScheme")))throw new Error("fmtScheme not found in themeElements")}function mfe(e,t){(!e||e.length===0)&&(e=Ymt());var r,n={};if(!(r=Sm(e,"a:themeElements")))throw new Error("themeElements not found in theme");return Zmt(r[0],n,t),n.raw=e,n}function Ymt(e,t){var r=[kde];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>
563',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>
563",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function $mt(e,t,r){var n=e.l+t,i=e.read_shift(4);if(i!==124226){if(!r.cellStyles){e.l=n;return}var a=e.slice(e.l);e.l=n;var o;try{o=Ede(a,{type:"array"})}catch{return}var s=Lo(o,"theme/theme/theme1.xml",!0);if(s)return mfe(s,r)}}function Xmt(e){return e.read_shift(4)}function Qmt(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=Jmt(e,4);break;case 2:t.xclrValue=tfe(e);break;case 3:t.xclrValue=Xmt(e);break;case 4:e.l+=4;break}return e.l+=8,t}function Jmt(e,t){return xo(e,t)}function e0t(e,t){return xo(e,t)}function t0t(e){var t=e.read_shift(2),r=e.read_shift(2)-4,n=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=Qmt(e);break;case 6:n[1]=e0t(e,r);break;case 14:case 15:n[1]=e.read_shift(r===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return n}function r0t(e,t){var r=e.l+t;e.l+=2;var n=e.read_shift(2);e.l+=2;for(var i=e.read_shift(2),a=[];i-- >0;)a.push(t0t(e,r-e.l));return{ixfe:n,ext:a}}function n0t(e,t){t.forEach(function(r){switch(r[0]){}})}function i0t(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:vo(e)}}function a0t(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}function o0t(e){return e.l+=4,e.read_shift(4)!=0}function s0t(e,t,r){var n={Types:[],Cell:[],Value:[]},i=r||{},a=[],o=!1,s=2;return Cf(e,function(l,c,u){switch(u){case 335:n.Types.push({name:l.name});break;case 51:l.forEach(function(d){s==1?n.Cell.push({type:n.Types[d[0]-1].name,index:d[1]}):s==0&&n.Value.push({type:n.Types[d[0]-1].name,index:d[1]})});break;case 337:s=l?1:0;break;case 338:s=2;break;case 35:a.push(u),o=!0;break;case 36:a.pop(),o=!1;break;default:if(!c.T){if(!o||i.WTF&&a[a.length-1]!=35)throw new Error("Unexpected record 0x"+u.toString(16))}}}),n}function l0t(e,t,r){var n={Types:[],Cell:[],Value:[]};if(!e)return n;var i=!1,a=2,o;return e.replace(ja,function(s){var l=Nt(s);switch(bc(l[0])){case"<?xml":break;case"<metadata":case"</metadata>":break;case"<metadataTypes":case"</metadataTypes>":break;case"<metadataType":n.Types.push({name:l.name});break;case"</metadataType>":break;case"<futureMetadata":for(var c=0;c<n.Types.length;++c)n.Types[c].name==l.name&&(o=n.Types[c]);break;case"</futureMetadata>":break;case"<bk>":break;case"</bk>":break;case"<rc":a==1?n.Cell.push({type:n.Types[l.t-1].name,index:+l.v}):a==0&&n.Value.push({type:n.Types[l.t-1].name,index:+l.v});break;case"</rc>":break;case"<cellMetadata":a=1;break;case"</cellMetadata>":a=2;break;case"<valueMetadata":a=0;break;case"</valueMetadata>":a=2;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":i=!0;break;case"</ext>":i=!1;break;case"<rvb":if(!o)break;o.offsets||(o.offsets=[]),o.offsets.push(+l.i);break;default:if(!i&&(r!=null&&r.WTF))throw new Error("unrecognized "+l[0]+" in metadata")}return s}),n}function c0t(e){var t=[];if(!e)return t;var r=1;
563return(e.match(ja)||[]).forEach(function(n){var i=Nt(n);switch(i[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete i[0],i.i?r=i.i:i.i=r,t.push(i);break}}),t}function u0t(e){var t={};t.i=e.read_shift(4);var r={};r.r=e.read_shift(4),r.c=e.read_shift(4),t.r=Xr(r);var n=e.read_shift(1);return n&2&&(t.l="1"),n&8&&(t.a="1"),t}function d0t(e,t,r){var n=[];return Cf(e,function(a,o,s){switch(s){case 63:n.push(a);break;default:if(!o.T)throw new Error("Unexpected record 0x"+s.toString(16))}}),n}function f0t(e,t,r,n){if(!e)return e;var i=n||{},a=!1;Cf(e,function(s,l,c){switch(c){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:a=!0;break;case 36:a=!1;break;default:if(!l.T){if(!a||i.WTF)throw new Error("Unexpected record 0x"+c.toString(16))}}},i)}function h0t(e,t){if(!e)return"??";var r=(e.match(/<c:chart [^<>]*r:id="([^<>"]*)"/)||["",""])[1];return t["!id"][r].Target}function p0t(e,t,r){var n=0;(wde(e,"shape")||[]).forEach(function(i){var a="",o=!0,s=-1,l=-1,c=-1;switch(i.replace(ja,function(d,f){var h=Nt(d);switch(bc(h[0])){case"<ClientData":h.ObjectType&&(a=h.ObjectType);break;case"<Visible":case"<Visible/>":o=!1;break;case"<Row":case"<Row>":s=f+d.length;break;case"</Row>":l=+i.slice(s,f).trim();break;case"<Column":case"<Column>":s=f+d.length;break;case"</Column>":c=+i.slice(s,f).trim();break}return""}),a){case"Note":var u=jw(t,l>=0&&c>=0?Xr({r:l,c}):r[n].ref);u.c&&(u.c.hidden=o),++n;break}})}function jY(e,t,r,n){var i=e["!data"]!=null,a;t.forEach(function(o){var s=po(o.ref);if(!(s.r<0||s.c<0)){if(i?(e["!data"][s.r]||(e["!data"][s.r]=[]),a=e["!data"][s.r][s.c]):a=e[o.ref],!a){a={t:"z"},i?e["!data"][s.r][s.c]=a:e[o.ref]=a;var l=Ri(e["!ref"]||"BDWGO1000001:A1");l.s.r>s.r&&(l.s.r=s.r),l.e.r<s.r&&(l.e.r=s.r),l.s.c>s.c&&(l.s.c=s.c),l.e.c<s.c&&(l.e.c=s.c);var c=Hr(l);e["!ref"]=c}a.c||(a.c=[]);var u={a:o.author,t:o.t,r:o.r,T:r};o.h&&(u.h=o.h);for(var d=a.c.length-1;d>=0;--d){if(!r&&a.c[d].T)return;r&&!a.c[d].T&&a.c.splice(d,1)}if(r&&n){for(d=0;d<n.length;++d)if(u.a==n[d].id){u.a=n[d].name||u.a;break}}a.c.push(u)}})}function m0t(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],n=[],i=Sa(e,"authors");i&&i[1]&&i[1].split(/<\/\w*:?author>/).forEach(function(o){if(!(o===""||o.trim()==="")){var s=o.match(/<(?:\w+:)?author[^<>]*>(.*)/);s&&r.push(s[1])}});var a=Sa(e,"commentList");return a&&a[1]&&a[1].split(/<\/\w*:?comment>/).forEach(function(o){if(!(o===""||o.trim()==="")){var s=o.match(/<(?:\w+:)?comment[^<>]*>/);if(s){var l=Nt(s[0]),c={author:l.authorId&&r[l.authorId]||"sheetjsghost",ref:l.ref,guid:l.guid},u=po(l.ref);if(!(t.sheetRows&&t.sheetRows<=u.r)){var d=Sa(o,"text"),f=!!d&&!!d[1]&&ZM(d[1])||{r:"",t:"",h:""};c.r=f.r,f.r=="<t></t>"&&(f.t=f.h=""),c.t=(f.t||"").replace(/\r\n/g,`
564`).replace(/\r/g,`
565`),t.cellHTML&&(c.h=f.h),n.push(c)}}}}),n}function g0t(e,t){var r=[],n=!1,i={},a=0;return e.replace(ja,function(s,l){var c=Nt(s);switch(bc(c[0])){case"<?xml":break;case"<ThreadedComments":break;case"</ThreadedComments>":break;case"<threadedComment":i={author:c.personId,guid:c.id,ref:c.ref,T:1};break;case"</threadedComment>":i.t!=null&&r.push(i);break;case"<text>":case"<text":a=l+s.length;break;case"</text>":i.t=e.slice(a,l).replace(/\r\n/g,`
566`).replace(/\r/g,`
567`);break;case"<mentions":case"<mentions>":n=!0;break;case"</mentions>":n=!1;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments")}return s}),r}function v0t(e,t){var r=[],n=!1;return e.replace(ja,function(a){var o=Nt(a);switch(bc(o[0])){case"<?xml":break;case"<personList":break;case"</personList>":break;case"<person":r.push({name:o.displayname,id:o.id});break;case"</person>":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+o[0]+" in threaded comments")}return a}),r}function y0t(e){var t={};t.iauthor=e.read_shift(4);var r=T0(e);return t.rfx=r.s,t.ref=Xr(r.s),e.l+=16,t}var b0t=vo;function S0t(e,t){var r=[],n=[],i={},a=!1;return Cf(e,function(s,l,c){switch(c){case 632:n.push(s);break;case 635:i=s;break;case 637:i.t=s.t,i.h=s.h,i.r=s.r;break;case 636:if(i.author=n[i.iauthor],delete i.iauthor,t.sheetRows&&i.rfx&&t.sheetRows<=i.rfx.r)break;i.t||(i.t=""),delete i.rfx,r.push(i);break;case 3072:break;case 35:a=!0;break;case 36:a=!1;break;case 37:break;case 38:break;default:if(!l.T){if(!a||t.WTF)throw new Error("Unexpected record 0x"+c.toString(16))}}}),r}var w0t="application/vnd.ms-office.vbaProject";function x0t(e){var t=Gr.utils.cfb_new({root:"R"});return e.FullPaths.forEach(function(r,n){if(!(r.slice(-1)==="/"||!r.match(/_VBA_PROJECT_CUR/))){var i=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Gr.utils.cfb_add(t,i,e.FileIndex[n].content)}}),Gr.write(t)}
567function C0t(){return{"!type":"dialog"}}function E0t(){return{"!type":"dialog"}}function k0t(){return{"!type":"macro"}}function T0t(){return{"!type":"macro"}}var xm=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(n,i,a,o){var s=!1,l=!1;a.length==0?l=!0:a.charAt(0)=="["&&(l=!0,a=a.slice(1,-1)),o.length==0?s=!0:o.charAt(0)=="["&&(s=!0,o=o.slice(1,-1));var c=a.length>0?parseInt(a,10)|0:0,u=o.length>0?parseInt(o,10)|0:0;return s?u+=t.c:--u,l?c+=t.r:--c,i+(s?"":"$")+tn(u)+(l?"":"$")+_n(c)}return function(i,a){return t=a,i.replace(e,r)}}(),$M=/(^|[^._A-Z0-9])(\$?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])(\$?)(\d{1,7})(?![_.\(A-Za-z0-9])/g;try{$M=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g}catch{}var _0t=function(){return function(t,r){return t.replace($M,function(n,i,a,o,s,l){var c=VM(o)-(a?0:r.c),u=WM(l)-(s?0:r.r),d=s=="$"?u+1:u==0?"":"["+u+"]",f=a=="$"?c+1:c==0?"":"["+c+"]";return i+"R"+d+"C"+f})}}();function gfe(e,t){return e.replace($M,function(r,n,i,a,o,s){return n+(i=="$"?i+a:tn(VM(a)+t.c))+(o=="$"?o+s:_n(WM(s)+t.r))})}function GY(e,t,r){var n=E0(t),i=n.s,a=po(r),o={r:a.r-i.r,c:a.c-i.c};return gfe(e,o)}function P0t(e){return e.length!=1}function KY(e){return e.replace(/_xlfn\./g,"")}function Ni(e){e.l+=1}function rp(e,t){var r=e.read_shift(2);return[r&16383,r>>14&1,r>>15&1]}function vfe(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return yfe(e);r.biff==12&&(n=4)}var i=e.read_shift(n),a=e.read_shift(n),o=rp(e),s=rp(e);return{s:{r:i,c:o[0],cRel:o[1],rRel:o[2]},e:{r:a,c:s[0],cRel:s[1],rRel:s[2]}}}function yfe(e){var t=rp(e),r=rp(e),n=e.read_shift(1),i=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:i,cRel:r[1],rRel:r[2]}}}function A0t(e,t,r){if(r.biff<8)return yfe(e);var n=e.read_shift(r.biff==12?4:2),i=e.read_shift(r.biff==12?4:2),a=rp(e),o=rp(e);return{s:{r:n,c:a[0],cRel:a[1],rRel:a[2]},e:{r:i,c:o[0],cRel:o[1],rRel:o[2]}}}function bfe(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return O0t(e);var n=e.read_shift(r&&r.biff==12?4:2),i=rp(e);return{r:n,c:i[0],cRel:i[1],rRel:i[2]}}function O0t(e){var t=rp(e),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function I0t(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:r&255,fQuoted:!!(r&16384),cRel:r>>15,rRel:r>>15}}function R0t(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return F0t(e);var i=e.read_shift(n>=12?4:2),a=e.read_shift(2),o=(a&16384)>>14,s=(a&32768)>>15;if(a&=16383,s==1)for(;i>524287;)i-=1048576;if(o==1)for(;a>8191;)a=a-16384;return{r:i,c:a,cRel:o,rRel:s}}function F0t(e){var t=e.read_shift(2),r=e.read_shift(1),n=(t&32768)>>15,i=(t&16384)>>14;return t&=16383,n==1&&t>=8192&&(t=t-16384),i==1&&r>=128&&(r=r-256),{r:t,c:r,cRel:i,rRel:n}}function D0t(e,t,r){var n=(e[e.l++]&96)>>5,i=vfe(e,r.biff>=2&&r.biff<=5?6:8,r);return[n,i]}function N0t(e,t,r){var n=(e[e.l++]&96)>>5,i=e.read_shift(2,"i"),a=8;if(r)switch(r.biff){case 5:e.l+=12,a=6;break;case 12:a=12;break}var o=vfe(e,a,r);return[n,i,o]}function M0t(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}function L0t(e,t,r){var n=(e[e.l++]&96)>>5,i=e.read_shift(2),a=8;if(r)switch(r.biff){case 5:e.l+=12,a=6;break;case 12:a=12;break}return e.l+=a,[n,i]}function B0t(e,t,r){var n=(e[e.l++]&96)>>5,i=A0t(e,t-1,r);return[n,i]}function U0t(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r.biff==2?6:r.biff==12?14:7,[n]}function ZY(e){var t=e[e.l+1]&1,r=1;return e.l+=4,[t,r]}function z0t(e,t,r){e.l+=2;for(var n=e.read_shift(r&&r.biff==2?1:2),i=[],a=0;a<=n;++a)i.push(e.read_shift(r&&r.biff==2?1:2));return i}function H0t(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function q0t(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function W0t(e){var t=e[e.l+1]&255?1:0;return e.l+=2,[t,e.read_shift(2)]}function V0t(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=r&&r.biff==2?3:4,[n]}function Sfe(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function j0t(e){return e.read_shift(2),Sfe(e)}function G0t(e){return e.read_shift(2),Sfe(e)}function K0t(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var i=bfe(e,0,r);return[n,i]}function Z0t(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var i=R0t(e,0,r);return[n,i]}function Y0t(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(2);
567r&&r.biff==5&&(e.l+=12);var a=bfe(e,0,r);return[n,i,a]}function $0t(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(r&&r.biff<=3?1:2);return[Xgt[i],Cfe[i],n]}function X0t(e,t,r){var n=e[e.l++],i=e.read_shift(1),a=r&&r.biff<=3?[n==88?-1:0,e.read_shift(1)]:Q0t(e);return[i,(a[0]===0?Cfe:$gt)[a[1]]]}function Q0t(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function J0t(e,t,r){e.l+=r&&r.biff==2?3:4}function egt(e,t,r){if(e.l++,r&&r.biff==12)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),i=e.read_shift(r&&r.biff==2?1:2);return[n,i]}function tgt(e){return e.l++,vp[e.read_shift(1)]}function rgt(e){return e.l++,e.read_shift(2)}function ngt(e){return e.l++,e.read_shift(1)!==0}function igt(e){return e.l++,fo(e)}function agt(e,t,r){return e.l++,Jv(e,t-1,r)}function ogt(e,t){var r=[e.read_shift(1)];if(t==12)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=Ti(e,1)?"TRUE":"FALSE",t!=12&&(e.l+=7);break;case 37:case 16:r[1]=vp[e[e.l]],e.l+=t==12?4:8;break;case 0:e.l+=8;break;case 1:r[1]=fo(e);break;case 2:r[1]=_0(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function sgt(e,t,r){for(var n=e.read_shift(r.biff==12?4:2),i=[],a=0;a!=n;++a)i.push((r.biff==12?T0:aO)(e));return i}function lgt(e,t,r){var n=0,i=0;r.biff==12?(n=e.read_shift(4),i=e.read_shift(4)):(i=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,--i==0&&(i=256));for(var a=0,o=[];a!=n&&(o[a]=[]);++a)for(var s=0;s!=i;++s)o[a][s]=ogt(e,r.biff);return o}function cgt(e,t,r){var n=e.read_shift(1)>>>5&3,i=!r||r.biff>=8?4:2,a=e.read_shift(i);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,a]}function ugt(e,t,r){if(r.biff==5)return dgt(e);var n=e.read_shift(1)>>>5&3,i=e.read_shift(2),a=e.read_shift(4);return[n,i,a]}function dgt(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}function fgt(e,t,r){var n=e.read_shift(1)>>>5&3;e.l+=r&&r.biff==2?3:4;var i=e.read_shift(r&&r.biff==2?1:2);return[n,i]}function hgt(e,t,r){var n=e.read_shift(1)>>>5&3,i=e.read_shift(r&&r.biff==2?1:2);return[n,i]}function pgt(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,r.biff==12&&(e.l+=2),[n]}function mgt(e,t,r){var n=(e[e.l++]&96)>>5,i=e.read_shift(2),a=4;if(r)switch(r.biff){case 5:a=15;break;case 12:a=6;break}return e.l+=a,[n,i]}var ggt=xo,vgt=xo,ygt=xo;function d2(e,t,r){return e.l+=2,[I0t(e)]}function XM(e){return e.l+=6,[]}var bgt=d2,Sgt=XM,wgt=XM,xgt=d2;function wfe(e){return e.l+=2,[vi(e),e.read_shift(2)&1]}var Cgt=d2,Egt=wfe,kgt=XM,Tgt=d2,_gt=d2,Pgt=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Agt(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),i=e.read_shift(2),a=e.read_shift(2),o=Pgt[r>>2&31];return{ixti:t,coltype:r&3,rt:o,idx:n,c:i,C:a}}function Ogt(e){return e.l+=2,[e.read_shift(4)]}function Igt(e,t,r){return e.l+=5,e.l+=2,e.l+=r.biff==2?1:4,["PTGSHEET"]}function Rgt(e,t,r){return e.l+=r.biff==2?4:5,["PTGENDSHEET"]}function Fgt(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function Dgt(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function Ngt(e){return e.l+=4,[0,0]}var YY={1:{n:"PtgExp",f:egt},2:{n:"PtgTbl",f:ygt},3:{n:"PtgAdd",f:Ni},4:{n:"PtgSub",f:Ni},5:{n:"PtgMul",f:Ni},6:{n:"PtgDiv",f:Ni},7:{n:"PtgPower",f:Ni},8:{n:"PtgConcat",f:Ni},9:{n:"PtgLt",f:Ni},10:{n:"PtgLe",f:Ni},11:{n:"PtgEq",f:Ni},12:{n:"PtgGe",f:Ni},13:{n:"PtgGt",f:Ni},14:{n:"PtgNe",f:Ni},15:{n:"PtgIsect",f:Ni},16:{n:"PtgUnion",f:Ni},17:{n:"PtgRange",f:Ni},18:{n:"PtgUplus",f:Ni},19:{n:"PtgUminus",f:Ni},20:{n:"PtgPercent",f:Ni},21:{n:"PtgParen",f:Ni},22:{n:"PtgMissArg",f:Ni},23:{n:"PtgStr",f:agt},26:{n:"PtgSheet",f:Igt},27:{n:"PtgEndSheet",f:Rgt},28:{n:"PtgErr",f:tgt},29:{n:"PtgBool",f:ngt},30:{n:"PtgInt",f:rgt},31:{n:"PtgNum",f:igt},32:{n:"PtgArray",f:U0t},33:{n:"PtgFunc",f:$0t},34:{n:"PtgFuncVar",f:X0t},35:{n:"PtgName",f:cgt},36:{n:"PtgRef",f:K0t},37:{n:"PtgArea",f:D0t},38:{n:"PtgMemArea",f:fgt},39:{n:"PtgMemErr",f:ggt},40:{n:"PtgMemNoMem",f:vgt},41:{n:"PtgMemFunc",f:hgt},42:{n:"PtgRefErr",f:pgt},43:{n:"PtgAreaErr",f:M0t},44:{n:"PtgRefN",f:Z0t},45:{n:"PtgAreaN",f:B0t},46:{n:"PtgMemAreaN",f:Fgt},47:{n:"PtgMemNoMemN",f:Dgt},57:{n:"PtgNameX",f:ugt},58:{n:"PtgRef3d",f:Y0t}
vendor: 4,922 bytes, line 567
567,59:{n:"PtgArea3d",f:N0t},60:{n:"PtgRefErr3d",f:mgt},61:{n:"PtgAreaErr3d",f:L0t},255:{}},Mgt={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Lgt={1:{n:"PtgElfLel",f:wfe},2:{n:"PtgElfRw",f:Tgt},3:{n:"PtgElfCol",f:bgt},6:{n:"PtgElfRwV",f:_gt},7:{n:"PtgElfColV",f:xgt},10:{n:"PtgElfRadical",f:Cgt},11:{n:"PtgElfRadicalS",f:kgt},13:{n:"PtgElfColS",f:Sgt},15:{n:"PtgElfColSV",f:wgt},16:{n:"PtgElfRadicalLel",f:Egt},25:{n:"PtgList",f:Agt},29:{n:"PtgSxName",f:Ogt},255:{}},Bgt={0:{n:"PtgAttrNoop",f:Ngt},1:{n:"PtgAttrSemi",f:V0t},2:{n:"PtgAttrIf",f:q0t},4:{n:"PtgAttrChoose",f:z0t},8:{n:"PtgAttrGoto",f:H0t},16:{n:"PtgAttrSum",f:J0t},32:{n:"PtgAttrBaxcel",f:ZY},33:{n:"PtgAttrBaxcel",f:ZY},64:{n:"PtgAttrSpace",f:j0t},65:{n:"PtgAttrSpaceSemi",f:G0t},128:{n:"PtgAttrIfError",f:W0t},255:{}};function f2(e,t,r,n){if(n.biff<8)return xo(e,t);for(var i=e.l+t,a=[],o=0;o!==r.length;++o)switch(r[o][0]){case"PtgArray":r[o][1]=lgt(e,0,n),a.push(r[o][1]);break;case"PtgMemArea":r[o][2]=sgt(e,r[o][1],n),a.push(r[o][2]);break;case"PtgExp":n&&n.biff==12&&(r[o][1][1]=e.read_shift(4),a.push(r[o][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[o][0]}return t=i-e.l,t!==0&&a.push(xo(e,t)),a}function h2(e,t,r){for(var n=e.l+t,i,a,o=[];n!=e.l;)t=n-e.l,a=e[e.l],i=YY[a]||YY[Mgt[a]],(a===24||a===25)&&(i=(a===24?Lgt:Bgt)[e[e.l+1]]),!i||!i.f?xo(e,t):o.push([i.n,i.f(e,t,r)]);return o}function Ugt(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],i=[],a=0;a<n.length;++a){var o=n[a];if(o)switch(o[0]){case 2:i.push('"'+o[1].replace(/"/g,'""')+'"');break;default:i.push(o[1])}else i.push("")}t.push(i.join(","))}return t.join(";")}var zgt={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Hgt(e,t){var r=e.lastIndexOf("!"),n=t.lastIndexOf("!");return r==-1&&n==-1?e+":"+t:r>0&&n>0&&e.slice(0,r).toLowerCase()==t.slice(0,n).toLowerCase()?e+":"+t.slice(n+1):(console.error("Cannot hydrate range",e,t),e+":"+t)}function xfe(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),t==0?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var i="";if(r.biff>8)switch(e[n[0]][0]){case 357:return i=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?i:i+":"+e.SheetNames[n[2]];case 358:return r.SID!=null?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return i=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?i:i+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(a){return a.Name}).join(";;");default:return e[n[0]][0][3]?(i=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?i:i+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function $Y(e,t,r){var n=xfe(e,t,r);return n=="#REF"?n:qft(n,r)}function so(e,t,r,n,i){var a=i&&i.biff||8,o={s:{c:0,r:0}},s=[],l,c,u,d=0,f=0,h,p="";if(!e[0]||!e[0][0])return"";for(var g=-1,v="",m=0,b=e[0].length;m<b;++m){var y=e[0][m];switch(y[0]){case"PtgUminus":s.push("-"+s.pop());break;case"PtgUplus":s.push("+"+s.pop());break;case"PtgPercent":s.push(s.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(l=s.pop(),c=s.pop(),g>=0){switch(e[0][g][1][0]){case 0:v=jr(" ",e[0][g][1][1]);break;case 1:v=jr("\r",e[0][g][1][1]);break;default:if(v="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}c=c+v,g=-1}s.push(c+zgt[y[0]]+l);break;case"PtgIsect":l=s.pop(),c=s.pop(),s.push(c+" "+l);break;case"PtgUnion":l=s.pop(),c=s.pop(),s.push(c+","+l);break;case"PtgRange":l=s.pop(),c=s.pop(),s.push(Hgt(c,l));break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":u=eS(y[1][1],o,i),s.push(tS(u,a));break;case"PtgRefN":u=r?eS(y[1][1],r,i):y[1][1],s.push(tS(u,a));break;case"PtgRef3d":d=y[1][1],u=eS(y[1][2],o,i),p=$Y(n,d,i),s.push(p+"!"+tS(u,a));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],x=y[1][1];w||(w=0),w&=127;var C=w==0?[]:s.slice(-w);s.length-=w,x==="User"&&(x=C.shift()),s.push(x+"("+C.join(",")+")");break;case"PtgBool":s.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":s.push(y[1]);break;case"PtgNum":s.push(String(y[1]));break;case"PtgStr":s.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":s.push(y[1]);break;case"PtgAreaN":h=PY(y[1][1],r?{s:r}:o,i),s.push(mR(h,i));break;case"PtgArea":h=PY(y[1][1],o,i),s.push(mR(h,i));break;case"PtgArea3d":d=y[1][1],h=y[1][2],p=$Y(n,d,i),s.push(p+"!"+mR(h,i)
vendor: 3,865 bytes, line 567
567);break;case"PtgAttrSum":s.push("SUM("+s.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":f=y[1][2];var T=(n.names||[])[f-1]||(n[0]||[])[f],_=T?T.Name:"SH33TJSNAME"+String(f);_&&_.slice(0,6)=="_xlfn."&&!i.xlfn&&(_=_.slice(6)),s.push(_);break;case"PtgNameX":var P=y[1][1];f=y[1][2];var F;if(i.biff<=5)P<0&&(P=-P),n[P]&&(F=n[P][f]);else{var I="";if(((n[P]||[])[0]||[])[0]==14849||(((n[P]||[])[0]||[])[0]==1025?n[P][f]&&n[P][f].itab>0&&(I=n.SheetNames[n[P][f].itab-1]+"!"):I=n.SheetNames[f-1]+"!"),n[P]&&n[P][f])I+=n[P][f].Name;else if(n[0]&&n[0][f])I+=n[0][f].Name;else{var R=(xfe(n,P,i)||"").split(";;");R[f-1]?I=R[f-1]:I+="SH33TJSERRX"}s.push(I);break}F||(F={Name:"SH33TJSERRY"}),s.push(F.Name);break;case"PtgParen":var D="(",A=")";if(g>=0){switch(v="",e[0][g][1][0]){case 2:D=jr(" ",e[0][g][1][1])+D;break;case 3:D=jr("\r",e[0][g][1][1])+D;break;case 4:A=jr(" ",e[0][g][1][1])+A;break;case 5:A=jr("\r",e[0][g][1][1])+A;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}s.push(D+s.pop()+A);break;case"PtgRefErr":s.push("#REF!");break;case"PtgRefErr3d":s.push("#REF!");break;case"PtgExp":u={c:y[1][1],r:y[1][0]};var M={c:r.c,r:r.r};if(n.sharedf[Xr(u)]){var X=n.sharedf[Xr(u)];s.push(so(X,o,M,n,i))}else{var Y=!1;for(l=0;l!=n.arrayf.length;++l)if(c=n.arrayf[l],!(u.c<c[0].s.c||u.c>c[0].e.c)&&!(u.r<c[0].s.r||u.r>c[0].e.r)){s.push(so(c[1],o,M,n,i)),Y=!0;break}Y||s.push(y[1])}break;case"PtgArray":s.push("{"+Ugt(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":g=m;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":s.push("");break;case"PtgAreaErr":s.push("#REF!");break;case"PtgAreaErr3d":s.push("#REF!");break;case"PtgList":s.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(y));default:throw new Error("Unrecognized Formula Token: "+String(y))}var se=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(i.biff!=3&&g>=0&&se.indexOf(e[0][m][0])==-1){y=e[0][g];var ne=!0;switch(y[1][0]){case 4:ne=!1;case 0:v=jr(" ",y[1][1]);break;case 5:ne=!1;case 1:v=jr("\r",y[1][1]);break;default:if(v="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}s.push((ne?v:"")+s.pop()+(ne?"":v)),g=-1}}if(s.length>1&&i.WTF)throw new Error("bad formula stack");return s[0]=="TRUE"?!0:s[0]=="FALSE"?!1:s[0]}function qgt(e,t,r){var n=e.l+t,i=r.biff==2?1:2,a,o=e.read_shift(i);if(o==65535)return[[],xo(e,t-2)];var s=h2(e,o,r);return t!==o+i&&(a=f2(e,t-o-i,s,r)),e.l=n,[s,a]}function Wgt(e,t,r){var n=e.l+t,i=r.biff==2?1:2,a,o=e.read_shift(i);if(o==65535)return[[],xo(e,t-2)];var s=h2(e,o,r);return t!==o+i&&(a=f2(e,t-o-i,s,r)),e.l=n,[s,a]}function Vgt(e,t,r,n){var i=e.l+t,a=h2(e,n,r),o;return i!==e.l&&(o=f2(e,i-e.l,a,r)),[a,o]}function jgt(e,t,r){var n=e.l+t,i,a=e.read_shift(2),o=h2(e,a,r);return a==65535?[[],xo(e,t-2)]:(t!==a+2&&(i=f2(e,n-a-2,o,r)),[o,i])}function Ggt(e){var t;if(Kd(e,e.l+6)!==65535)return[fo(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=e[e.l+2]===1,e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}function yR(e,t,r){var n=e.l+t,i=du(e,6,r),a=Ggt(e),o=e.read_shift(1);r.biff!=2&&(e.read_shift(1),r.biff>=5&&e.read_shift(4));var s=Wgt(e,n-e.l,r);return{cell:i,val:a[0],formula:s,shared:o>>3&1,tt:a[1]}}function oO(e,t,r){var n=e.read_shift(4),i=h2(e,n,r),a=e.read_shift(4),o=a>0?f2(e,a,i,r):null;return[i,o]}var Kgt=oO,sO=oO,Zgt=oO,Ygt=oO,$gt
vendor: 7,369 bytes, line 567
567={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"}
567,Cfe={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERA
567NKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},Xgt={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function XY(e){return e.slice(0,3)=="of:"&&(e=e.slice(3)),e.charCodeAt(0)==61&&(e=e.slice(1),e.charCodeAt(0)==61&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,""),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(t,r){return r.replace(/\./g,"")}),e=e.replace(/\$'([^']|'')+'/g,function(t){return t.slice(1)}),e=e.replace(/\$([^\]\. #$]+)/g,function(t,r){return r.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5}
567)?$/)?t:r}),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),e.replace(/[;~]/g,",").replace(/\|/g,";")}function bR(e){e=e.replace(/\$'([^']|'')+'/g,function(n){return n.slice(1)}),e=e.replace(/\$([^\]\. #$]+)/g,function(n,i){return i.match(/^([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])?(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})?$/)?n:i});var t=e.split(":"),r=t[0].split(".")[0];return[r,t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}var iS={},pv={};function aS(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];t=="xlml"&&(r=[1,1,1,1,.5,.5]),e.left==null&&(e.left=r[0]),e.right==null&&(e.right=r[1]),e.top==null&&(e.top=r[2]),e.bottom==null&&(e.bottom=r[3]),e.header==null&&(e.header=r[4]),e.footer==null&&(e.footer=r[5])}}function Efe(e,t,r,n,i,a,o){try{n.cellNF&&(e.z=sr[t])}catch(l){if(n.WTF)throw l}if(!(e.t==="z"&&!n.cellStyles)){if(e.t==="d"&&typeof e.v=="string"&&(e.v=Va(e.v)),(!n||n.cellText!==!1)&&e.t!=="z")try{if(sr[t]==null&&bm(Vdt[t]||"General",t),e.t==="e")e.w=e.w||vp[e.v];else if(t===0)if(e.t==="n")(e.v|0)===e.v?e.w=e.v.toString(10):e.w=Bw(e.v);else if(e.t==="d"){var s=ca(e.v,!!o);(s|0)===s?e.w=s.toString(10):e.w=Bw(s)}else{if(e.v===void 0)return"";e.w=Jm(e.v,pv)}else e.t==="d"?e.w=ul(t,ca(e.v,!!o),pv):e.w=ul(t,e.v,pv)}catch(l){if(n.WTF)throw l}if(n.cellStyles&&r!=null)try{e.s=a.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=E_(i.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),n.WTF&&(e.s.fgColor.raw_rgb=i.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=E_(i.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),n.WTF&&(e.s.bgColor.raw_rgb=i.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(l){if(n.WTF&&a.Fills)throw l}}}function Qgt(e,t){var r=Ri(t);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(e["!ref"]=Hr(r))}var Jgt=/<(?:\w+:)?mergeCell ref=["'][A-Z0-9:]+['"]\s*[\/]?>/g,evt=/<(?:\w+:)?hyperlink [^<>]*>/mg,tvt=/"(\w*:\w*)"/,rvt=/<(?:\w+:)?col\b[^<>]*[\/]?>/g,nvt=/<(?:\w+:)?autoFilter[^>]*/g,ivt=/<(?:\w+:)?pageMargins[^<>]*\/>/g,kfe=/<(?:\w+:)?sheetPr\b[^<>]*?\/>/;function avt(e,t,r,n,i,a,o){if(!e)return e;n||(n={"!id":{}});var s={};t.dense&&(s["!data"]=[]);var l={s:{r:2e6,c:2e6},e:{r:0,c:0}},c="",u="",d=Sa(e,"sheetData");d?(c=e.slice(0,d.index),u=e.slice(d.index+d[0].length)):c=u=e;var f=c.match(kfe);f?QM(f[0],s,i,r):(f=Sa(c,"sheetPr"))&&ovt(f[0],f[1]||"",s,i,r);var h=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(h>0){var p=c.slice(h,h+50).match(tvt);p&&!(t&&t.nodim)&&Qgt(s,p[1])}var g=Sa(c,"sheetViews");g&&g[1]&&fvt(g[1],i);var v=[];if(t.cellStyles){var m=c.match(rvt);m&&cvt(v,m)}d&&hvt(d[1],s,t,l,a,o,i);var b=u.match(nvt);b&&(s["!autofilter"]=uvt(b[0]));var y=[],w=u.match(Jgt);if(w)for(h=0;h!=w.length;++h)y[h]=Ri(w[h].slice(w[h].indexOf('"')+1));var x=u.match(evt);x&&svt(s,x,n);var C=u.match(ivt);C&&(s["!margins"]=lvt(Nt(C[0])));var T;if((T=u.match(/legacyDrawing r:id="(.*?)"/))&&(s["!legrel"]=T[1]),t&&t.nodim&&(l.s.c=l.s.r=0),!s["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(s["!ref"]=Hr(l)),t.sheetRows>0&&s["!ref"]){var _=Ri(s["!ref"]);t.sheetRows<=+_.e.r&&(_.e.r=t.sheetRows-1,_.e.r>l.e.r&&(_.e.r=l.e.r),_.e.r<_.s.r&&(_.s.r=_.e.r),_.e.c>l.e.c&&(_.e.c=l.e.c),_.e.c<_.s.c&&(_.s.c=_.e.c),s["!fullref"]=s["!ref"],s["!ref"]=Hr(_))}return v.length>0&&(s["!cols"]=v),y.length>0&&(s["!merges"]=y),n["!id"][s["!legrel"]]&&(s["!legdrawel"]=n["!id"][s["!legrel"]]),s}function QM(e,t,r,n){var i=Nt(e);r.Sheets[n]||(r.Sheets[n]={}),i.codeName&&(r.Sheets[n].CodeName=zr(Nn(i.codeName)))}function ovt(e,t,r,n,i){QM(e.slice(0,e.indexOf(">")),r,n,i)}function svt(e,t,r){for(var n=e["!data"]!=null,i=0;i!=t.length;++i){var a=Nt(Nn(t[i]),!0);if(!a.ref)return;var o=((r||{})["!id"]||[])[a.id];o?(a.Target=o.Target,a.location&&(a.Target+="#"+zr(a.location))):(a.Target="#"+zr(a.location),o={Target:a.Target,TargetMode:"Internal"}),a.Rel=o,a.tooltip&&(a.Tooltip=a.tooltip,delete a.tooltip);for(var s=Ri(a.ref),l=s.s.r;l<=s.e.r;++l)for(var c=s.s.c;c<=s.e.c;++c){var u=tn(c)+_n(l);n?(e["!data"][l]||(e["!data"][l]=[]),e["!data"][l][c]||(e["!data"][l][c]={t:"z",v:void 0}),e["!data"][l][c].l=a):(e[u]||(e[u]={t:"z",v:void 0}),e[u].l=a)}}}function lvt(e){var t={};return["left","right","top","bottom","header","footer"].forEach(function(r){e[r]&&(t[r]=parseFloat(e[r]))}),t}function cvt(e,t){for(var r=!1,n=0;n!=t.length;++n){var i=Nt(t[n],!0);i.hidden&&(i.hidden=Tn(i.hidden));var a=parseInt(i.min,10)-1,o=parseInt(i.max,10)-1;for(i.outlineLevel&&(i.level=+i.outlineLevel||0),delete i.min,delete i.max,i.width=+i.width,!r&&i.width&&(r=!0,YM(i.width)),ey(i);a<=o;)e[a++]=Gi(i)}}function uvt(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}
567var dvt=/<(?:\w:)?sheetView(?:[^<>a-z][^<>]*)?\/?>/g;function fvt(e,t){t.Views||(t.Views=[{}]),(e.match(dvt)||[]).forEach(function(r,n){var i=Nt(r);t.Views[n]||(t.Views[n]={}),+i.zoomScale&&(t.Views[n].zoom=+i.zoomScale),i.rightToLeft&&Tn(i.rightToLeft)&&(t.Views[n].RTL=!0)})}var hvt=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/ref=["']([^"']*)["']/;return function(a,o,s,l,c,u,d){for(var f=0,h="",p=[],g=[],v=0,m=0,b=0,y="",w,x,C=0,T=0,_,P,F=0,I=0,R=Array.isArray(u.CellXf),D,A=[],M=[],X=o["!data"]!=null,Y=[],se={},ne=!1,ie=!!s.sheetStubs,ae=!!((d||{}).WBProps||{}).date1904,ce=a.split(t),ke=0,ge=ce.length;ke!=ge;++ke){h=ce[ke].trim();var De=h.length;if(De!==0){var Ne=0;e:for(f=0;f<De;++f)switch(h[f]){case">":if(h[f-1]!="/"){++f;break e}if(s&&s.cellStyles){if(x=Nt(h.slice(Ne,f),!0),C=x.r!=null?parseInt(x.r,10):C+1,T=-1,s.sheetRows&&s.sheetRows<C)continue;se={},ne=!1,x.ht&&(ne=!0,se.hpt=parseFloat(x.ht),se.hpx=qw(se.hpt)),x.hidden&&Tn(x.hidden)&&(ne=!0,se.hidden=!0),x.outlineLevel!=null&&(ne=!0,se.level=+x.outlineLevel),ne&&(Y[C-1]=se)}break;case"<":Ne=f;break}if(Ne>=f)break;if(x=Nt(h.slice(Ne,f),!0),C=x.r!=null?parseInt(x.r,10):C+1,T=-1,!(s.sheetRows&&s.sheetRows<C)){s.nodim||(l.s.r>C-1&&(l.s.r=C-1),l.e.r<C-1&&(l.e.r=C-1)),s&&s.cellStyles&&(se={},ne=!1,x.ht&&(ne=!0,se.hpt=parseFloat(x.ht),se.hpx=qw(se.hpt)),x.hidden&&Tn(x.hidden)&&(ne=!0,se.hidden=!0),x.outlineLevel!=null&&(ne=!0,se.level=+x.outlineLevel),ne&&(Y[C-1]=se)),p=h.slice(f).split(e);for(var We=0;We!=p.length&&p[We].trim().charAt(0)=="<";++We);for(p=p.slice(We),f=0;f!=p.length;++f)if(h=p[f].trim(),h.length!==0){if(g=h.match(r),v=f,m=0,b=0,h="<c "+(h.slice(0,1)=="<"?">":"")+h,g!=null&&g.length===2){for(v=0,y=g[1],m=0;m!=y.length&&!((b=y.charCodeAt(m)-64)<1||b>26);++m)v=26*v+b;--v,T=v}else++T;for(m=0;m!=h.length&&h.charCodeAt(m)!==62;++m);if(++m,x=Nt(h.slice(0,m),!0),x.r||(x.r=Xr({r:C-1,c:T})),y=h.slice(m),w={t:""},(g=Sa(y,"v"))!=null&&g[1]!==""&&(w.v=zr(g[1])),s.cellFormula){if((g=Sa(y,"f"))!=null){if(g[1]=="")g[0].indexOf('t="shared"')>-1&&(P=Nt(g[0]),M[P.si]&&(w.f=GY(M[P.si][1],M[P.si][2],x.r)));else if(w.f=zr(Nn(g[1]),!0),s.xlfn||(w.f=KY(w.f)),g[0].indexOf('t="array"')>-1)w.F=(y.match(n)||[])[1],w.F.indexOf(":")>-1&&A.push([Ri(w.F),w.F]);else if(g[0].indexOf('t="shared"')>-1){P=Nt(g[0]);var z=zr(Nn(g[1]));s.xlfn||(z=KY(z)),M[parseInt(P.si,10)]=[P,z,x.r]}}else(g=y.match(/<f[^<>]*\/>/))&&(P=Nt(g[0]),M[P.si]&&(w.f=GY(M[P.si][1],M[P.si][2],x.r)));var J=po(x.r);for(m=0;m<A.length;++m)J.r>=A[m][0].s.r&&J.r<=A[m][0].e.r&&J.c>=A[m][0].s.c&&J.c<=A[m][0].e.c&&(w.F=A[m][1])}if(x.t==null&&w.v===void 0)if(w.f||w.F)w.v=0,w.t="n";else if(ie)w.t="z";else continue;else w.t=x.t||"n";switch(l.s.c>T&&(l.s.c=T),l.e.c<T&&(l.e.c=T),w.t){case"n":if(w.v==""||w.v==null){if(!ie)continue;w.t="z"}else w.v=parseFloat(w.v);break;case"s":if(typeof w.v>"u"){if(!ie)continue;w.t="z"}else _=iS[parseInt(w.v,10)],w.v=_.t,w.r=_.r,s.cellHTML&&(w.h=_.h);break;case"str":w.t="s",w.v=w.v!=null?zr(Nn(w.v),!0):"",s.cellHTML&&(w.h=Qb(w.v));break;case"inlineStr":g=Sa(y,"is"),w.t="s",g!=null&&(_=ZM(g[1]))?(w.v=_.t,s.cellHTML&&(w.h=_.h)):w.v="";break;case"b":w.v=Tn(w.v);break;case"d":s.cellDates?w.v=Va(w.v,ae):(w.v=ca(Va(w.v,ae),ae),w.t="n");break;case"e":(!s||s.cellText!==!1)&&(w.w=w.v),w.v=x_[w.v];break}if(F=I=0,D=null,R&&x.s!==void 0&&(D=u.CellXf[x.s],D!=null&&(D.numFmtId!=null&&(F=D.numFmtId),s.cellStyles&&D.fillId!=null&&(I=D.fillId))),Efe(w,F,I,s,c,u,ae),s.cellDates&&R&&w.t=="n"&&ou(sr[F])&&(w.v=Uh(w.v+(ae?1462:0)),w.t=typeof w.v=="number"?"n":"d"),x.cm&&s.xlmeta){var j=(s.xlmeta.Cell||[])[+x.cm-1];j&&j.type=="XLDAPR"&&(w.D=!0)}var q;s.nodim&&(q=po(x.r),l.s.r>q.r&&(l.s.r=q.r),l.e.r<q.r&&(l.e.r=q.r)),X?(q=po(x.r),o["!data"][q.r]||(o["!data"][q.r]=[]),o["!data"][q.r][q.c]=w):o[x.r]=w}}}}Y.length>0&&(o["!rows"]=Y)}}();function pvt(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var i=e.read_shift(2);e.l+=1;var a=e.read_shift(1);return e.l=n,a&7&&(r.level=a&7),a&16&&(r.hidden=!0),a&32&&(r.hpt=i/20),r}var mvt=T0;function gvt(){}function vvt(e,t){var r={},n=e[e.l];return++e.l,r.above=!(n&64),r.left=!(n&128),e.l+=18,r.name=Kft(e),r}function yvt(e){var t=Sc(e);return[t]}function bvt(e){var t=k0(e);return[t]}function Svt(e){var t=Sc(e),r=e.read_shift(1);return[t,r,"b"]}function wvt(e){var t=k0(e),r=e.read_shift(1);return[t,r,"b"]}function xvt(e){var t=Sc(e),r=e.read_shift(1);return[t,r,"e"]}function Cvt(e){var t=k0(e),r=e.read_shift(1);return[t,r,"e"]}function Evt(e){var t=Sc(e),r=e.read_shift(4);return[t,r,"s"]}function kvt(e){var t=k0(e),r=e.read_shift(4);return[t,r,"s"]}function Tvt(e){var t=Sc(e),r=fo(e);return[t,r,"n"]}function Tfe(e){var t=k0(e),r=fo(e);return[t,r,"n"]}function _vt(e){var t=Sc(e),r=iO(e);return[t,r,"n"]}function Pvt(e){var t=k0(e),r=iO(e);return[t,r,"n"]}function Avt(e){var t=Sc(e),r=jM(e);return[t,r,"is"]}function Ovt(e){var t=Sc(e),r=vo(e);return[t,r,"str"]}function Ivt(e){var t=k0(e),r=vo(e);return[t,r,"str"]}function Rvt(e,t,r){var n=e.l+t,i=Sc(e);i.r=r["!row"];var a=e.read_shift(1),o=[i,a,"b"];if(r.cellFormula){e.l+=2;var s=sO(e,n-e.l,r);o[3]=so(s,null,i,r.supbooks,r)}else e.l=n;return o}function Fvt(e,t,r){var n=e.l+t,i=Sc(e);i.r=r["!row"];var a=e.read_shift(1),o=[i,a,"e"];if(r.cellFormula){e.l+=2;var s=sO(e,n-e.l,r);o[3]=so(s,null,i,r.supbooks,r)}else e.l=n;return o}function Dvt(e,t,r){var n=e.l+t,i=Sc(e);i.r=r["!row"];var a=fo(e),o=[i,a,"n"];
567if(r.cellFormula){e.l+=2;var s=sO(e,n-e.l,r);o[3]=so(s,null,i,r.supbooks,r)}else e.l=n;return o}function Nvt(e,t,r){var n=e.l+t,i=Sc(e);i.r=r["!row"];var a=vo(e),o=[i,a,"str"];if(r.cellFormula){e.l+=2;var s=sO(e,n-e.l,r);o[3]=so(s,null,i,r.supbooks,r)}else e.l=n;return o}var Mvt=T0;function Lvt(e,t){var r=e.l+t,n=T0(e),i=nO(e),a=vo(e),o=vo(e),s=vo(e);e.l=r;var l={rfx:n,relId:i,loc:a,display:s};return o&&(l.Tooltip=o),l}function Bvt(){}function Uvt(e,t,r){var n=e.l+t,i=Wde(e),a=e.read_shift(1),o=[i];if(o[2]=a,r.cellFormula){var s=Kgt(e,n-e.l,r);o[1]=s}else e.l=n;return o}function zvt(e,t,r){var n=e.l+t,i=T0(e),a=[i];if(r.cellFormula){var o=Ygt(e,n-e.l,r);a[1]=o,e.l=n}else e.l=n;return a}var Hvt=["left","right","top","bottom","header","footer"];function qvt(e){var t={};return Hvt.forEach(function(r){t[r]=fo(e)}),t}function Wvt(e){var t=e.read_shift(2);return e.l+=28,{RTL:t&32}}function Vvt(){}function jvt(){}function Gvt(e,t,r,n,i,a,o){if(!e)return e;var s=t||{};n||(n={"!id":{}});var l={};s.dense&&(l["!data"]=[]);var c,u={s:{r:2e6,c:2e6},e:{r:0,c:0}},d=!1,f=!1,h,p,g,v,m,b,y,w,x,C=[];s.biff=12,s["!row"]=0;var T=0,_=!1,P=[],F={},I=s.supbooks||i.supbooks||[[]];if(I.sharedf=F,I.arrayf=P,I.SheetNames=i.SheetNames||i.Sheets.map(function(ne){return ne.name}),!s.supbooks&&(s.supbooks=I,i.Names))for(var R=0;R<i.Names.length;++R)I[0][R+1]=i.Names[R];var D=[],A=[],M=!1;__[16]={n:"BrtShortReal",f:Tfe};var X,Y=1462*+!!((i||{}).WBProps||{}).date1904;if(Cf(e,function(ie,ae,ce){if(!f)switch(ce){case 148:c=ie;break;case 0:h=ie,s.sheetRows&&s.sheetRows<=h.r&&(f=!0),w=_n(v=h.r),s["!row"]=h.r,(ie.hidden||ie.hpt||ie.level!=null)&&(ie.hpt&&(ie.hpx=qw(ie.hpt)),A[ie.r]=ie);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(p={t:ie[2]},ie[2]){case"n":p.v=ie[1];break;case"s":y=iS[ie[1]],p.v=y.t,p.r=y.r;break;case"b":p.v=!!ie[1];break;case"e":p.v=ie[1],s.cellText!==!1&&(p.w=vp[p.v]);break;case"str":p.t="s",p.v=ie[1];break;case"is":p.t="s",p.v=ie[1].t;break}if((g=o.CellXf[ie[0].iStyleRef])&&Efe(p,g.numFmtId,null,s,a,o,Y>0),m=ie[0].c==-1?m+1:ie[0].c,s.dense?(l["!data"][v]||(l["!data"][v]=[]),l["!data"][v][m]=p):l[tn(m)+w]=p,s.cellFormula){for(_=!1,T=0;T<P.length;++T){var ke=P[T];h.r>=ke[0].s.r&&h.r<=ke[0].e.r&&m>=ke[0].s.c&&m<=ke[0].e.c&&(p.F=Hr(ke[0]),_=!0)}!_&&ie.length>3&&(p.f=ie[3])}if(u.s.r>h.r&&(u.s.r=h.r),u.s.c>m&&(u.s.c=m),u.e.r<h.r&&(u.e.r=h.r),u.e.c<m&&(u.e.c=m),s.cellDates&&g&&p.t=="n"&&ou(sr[g.numFmtId])){var ge=Ud(p.v+Y);ge&&(p.t="d",p.v=new Date(Date.UTC(ge.y,ge.m-1,ge.d,ge.H,ge.M,ge.S,ge.u)))}X&&(X.type=="XLDAPR"&&(p.D=!0),X=void 0);break;case 1:case 12:if(!s.sheetStubs||d)break;p={t:"z",v:void 0},m=ie[0].c==-1?m+1:ie[0].c,s.dense?(l["!data"][v]||(l["!data"][v]=[]),l["!data"][v][m]=p):l[tn(m)+w]=p,u.s.r>h.r&&(u.s.r=h.r),u.s.c>m&&(u.s.c=m),u.e.r<h.r&&(u.e.r=h.r),u.e.c<m&&(u.e.c=m),X&&(X.type=="XLDAPR"&&(p.D=!0),X=void 0);break;case 176:C.push(ie);break;case 49:X=((s.xlmeta||{}).Cell||[])[ie-1];break;case 494:var De=n["!id"][ie.relId];for(De?(ie.Target=De.Target,ie.loc&&(ie.Target+="#"+ie.loc),ie.Rel=De):ie.relId==""&&(ie.Target="#"+ie.loc),v=ie.rfx.s.r;v<=ie.rfx.e.r;++v)for(m=ie.rfx.s.c;m<=ie.rfx.e.c;++m)s.dense?(l["!data"][v]||(l["!data"][v]=[]),l["!data"][v][m]||(l["!data"][v][m]={t:"z",v:void 0}),l["!data"][v][m].l=ie):(b=tn(m)+_n(v),l[b]||(l[b]={t:"z",v:void 0}),l[b].l=ie);break;case 426:if(!s.cellFormula)break;P.push(ie),x=s.dense?l["!data"][v][m]:l[tn(m)+w],x.f=so(ie[1],u,{r:h.r,c:m},I,s),x.F=Hr(ie[0]);break;case 427:if(!s.cellFormula)break;F[Xr(ie[0].s)]=ie[1],x=s.dense?l["!data"][v][m]:l[tn(m)+w],x.f=so(ie[1],u,{r:h.r,c:m},I,s);break;case 60:if(!s.cellStyles)break;for(;ie.e>=ie.s;)D[ie.e--]={width:ie.w/256,hidden:!!(ie.flags&1),level:ie.level},M||(M=!0,YM(ie.w/256)),ey(D[ie.e+1]);break;case 551:ie&&(l["!legrel"]=ie);break;case 161:l["!autofilter"]={ref:Hr(ie)};break;case 476:l["!margins"]=ie;break;case 147:i.Sheets[r]||(i.Sheets[r]={}),ie.name&&(i.Sheets[r].CodeName=ie.name),(ie.above||ie.left)&&(l["!outline"]={above:ie.above,left:ie.left});break;case 137:i.Views||(i.Views=[{}]),i.Views[0]||(i.Views[0]={}),ie.RTL&&(i.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 
567649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:d=!0;break;case 36:d=!1;break;case 37:d=!0;break;case 38:d=!1;break;default:if(!ae.T){if(!d||s.WTF)throw new Error("Unexpected record 0x"+ce.toString(16))}}},s),delete s.supbooks,delete s["!row"],!l["!ref"]&&(u.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(l["!ref"]=Hr(c||u)),s.sheetRows&&l["!ref"]){var se=Ri(l["!ref"]);s.sheetRows<=+se.e.r&&(se.e.r=s.sheetRows-1,se.e.r>u.e.r&&(se.e.r=u.e.r),se.e.r<se.s.r&&(se.s.r=se.e.r),se.e.c>u.e.c&&(se.e.c=u.e.c),se.e.c<se.s.c&&(se.s.c=se.e.c),l["!fullref"]=l["!ref"],l["!ref"]=Hr(se))}return C.length>0&&(l["!merges"]=C),D.length>0&&(l["!cols"]=D),A.length>0&&(l["!rows"]=A),n["!id"][l["!legrel"]]&&(l["!legdrawel"]=n["!id"][l["!legrel"]]),l}function Kvt(e){var t=[],r=e.match(/^<c:numCache>/),n;(e.match(/<c:pt idx="(\d*)"[^<>\/]*><c:v>([^<])<\/c:v><\/c:pt>/mg)||[]).forEach(function(a){var o=a.match(/<c:pt idx="(\d*)"[^<>\/]*><c:v>([^<]*)<\/c:v><\/c:pt>/);o&&(t[+o[1]]=r?+o[2]:o[2])});var i=zr((Sm(e,"c:formatCode")||["","General"])[1]);return(zM(e,"<c:f>","</c:f>")||[]).forEach(function(a){n=a.replace(/<[^<>]*>/g,"")}),[t,i,n]}function Zvt(e,t,r,n,i,a){var o=a||{"!type":"chart"};if(!e)return a;var s=0,l=0,c="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(zM(e,"<c:numCache>","</c:numCache>")||[]).forEach(function(d){var f=Kvt(d);u.s.r=u.s.c=0,u.e.c=s,c=tn(s),f[0].forEach(function(h,p){o["!data"]?(o["!data"][p]||(o["!data"][p]=[]),o["!data"][p][s]={t:"n",v:h,z:f[1]}):o[c+_n(p)]={t:"n",v:h,z:f[1]},l=p}),u.e.r<l&&(u.e.r=l),++s}),s>0&&(o["!ref"]=Hr(u)),o}function Yvt(e,t,r,n,i){if(!e)return e;n||(n={"!id":{}});var a={"!type":"chart","!drawel":null,"!rel":""},o,s=e.match(kfe);return s&&QM(s[0],a,i,r),(o=e.match(/drawing r:id="(.*?)"/))&&(a["!rel"]=o[1]),n["!id"][a["!rel"]]&&(a["!drawel"]=n["!id"][a["!rel"]]),a}function $vt(e,t){e.l+=10;var r=vo(e);return{name:r}}function Xvt(e,t,r,n,i){if(!e)return e;n||(n={"!id":{}});var a={"!type":"chart","!drawel":null,"!rel":""},o=!1;return Cf(e,function(l,c,u){switch(u){case 550:a["!rel"]=l;break;case 651:i.Sheets[r]||(i.Sheets[r]={}),l.name&&(i.Sheets[r].CodeName=l.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:break;case 38:break;default:if(!(c.T>0)){if(!(c.T<0)){if(!o||t.WTF)throw new Error("Unexpected record 0x"+u.toString(16))}}}},t),n["!id"][a["!rel"]]&&(a["!drawel"]=n["!id"][a["!rel"]]),a}var _fe=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],Qvt=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],Jvt=[],eyt=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function QY(e,t){for(var r=0;r!=e.length;++r)for(var n=e[r],i=0;i!=t.length;++i){var a=t[i];if(n[a[0]]==null)n[a[0]]=a[1];else switch(a[2]){case"bool":typeof n[a[0]]=="string"&&(n[a[0]]=Tn(n[a[0]]));break;case"int":typeof n[a[0]]=="string"&&(n[a[0]]=parseInt(n[a[0]],10));break}}}function JY(e,t){for(var r=0;r!=t.length;++r){var n=t[r];
vendor: 4,426 bytes, line 567
567if(e[n[0]]==null)e[n[0]]=n[1];else switch(n[2]){case"bool":typeof e[n[0]]=="string"&&(e[n[0]]=Tn(e[n[0]]));break;case"int":typeof e[n[0]]=="string"&&(e[n[0]]=parseInt(e[n[0]],10));break}}}function Pfe(e){JY(e.WBProps,_fe),JY(e.CalcPr,eyt),QY(e.WBView,Qvt),QY(e.Sheets,Jvt),pv.date1904=Tn(e.WBProps.date1904)}var tyt=":][*?/\\".split("");function ryt(e,t){try{if(e=="")throw new Error("Sheet name cannot be blank");if(e.length>31)throw new Error("Sheet name cannot exceed 31 chars");if(e.charCodeAt(0)==39||e.charCodeAt(e.length-1)==39)throw new Error("Sheet name cannot start or end with apostrophe (')");if(e.toLowerCase()=="history")throw new Error("Sheet name cannot be 'History'");tyt.forEach(function(r){if(e.indexOf(r)!=-1)throw new Error("Sheet name cannot contain : \\ / ? * [ ]")})}catch(r){throw r}return!0}var nyt=/<\w+:workbook/;function iyt(e,t){if(!e)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},n=!1,i="xmlns",a={},o=0;if(e.replace(ja,function(l,c){var u=Nt(l);switch(bc(u[0])){case"<?xml":break;case"<workbook":l.match(nyt)&&(i="xmlns"+l.match(/<(\w+):/)[1]),r.xmlns=u[i];break;case"</workbook>":break;case"<fileVersion":delete u[0],r.AppVersion=u;break;case"<fileVersion/>":case"</fileVersion>":break;case"<fileSharing":break;case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":_fe.forEach(function(d){if(u[d[0]]!=null)switch(d[2]){case"bool":r.WBProps[d[0]]=Tn(u[d[0]]);break;case"int":r.WBProps[d[0]]=parseInt(u[d[0]],10);break;default:r.WBProps[d[0]]=u[d[0]]}}),u.codeName&&(r.WBProps.CodeName=Nn(u.codeName));break;case"</workbookPr>":break;case"<workbookProtection":break;case"<workbookProtection/>":break;case"<bookViews":case"<bookViews>":case"</bookViews>":break;case"<workbookView":case"<workbookView/>":delete u[0],r.WBView.push(u);break;case"</workbookView>":break;case"<sheets":case"<sheets>":case"</sheets>":break;case"<sheet":switch(u.state){case"hidden":u.Hidden=1;break;case"veryHidden":u.Hidden=2;break;default:u.Hidden=0}delete u.state,u.name=zr(Nn(u.name)),delete u[0],r.Sheets.push(u);break;case"</sheet>":break;case"<functionGroups":case"<functionGroups/>":break;case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":break;case"<externalReference":break;case"<definedNames/>":break;case"<definedNames>":case"<definedNames":n=!0;break;case"</definedNames>":n=!1;break;case"<definedName":a={},a.Name=Nn(u.name),u.comment&&(a.Comment=u.comment),u.localSheetId&&(a.Sheet=+u.localSheetId),Tn(u.hidden||"0")&&(a.Hidden=!0),o=c+l.length;break;case"</definedName>":a.Ref=zr(Nn(e.slice(o,c))),r.Names.push(a);break;case"<definedName/>":break;case"<calcPr":delete u[0],r.CalcPr=u;break;case"<calcPr/>":delete u[0],r.CalcPr=u;break;case"</calcPr>":break;case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":break;case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":break;case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":break;case"<webPublishObject":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;case"<ArchID":break;case"<AlternateContent":case"<AlternateContent>":n=!0;break;case"</AlternateContent>":n=!1;break;case"<revisionPtr":break;default:if(!n&&t.WTF)throw new Error("unrecognized "+u[0]+" in workbook")}return l}),Pft.indexOf(r.xmlns)===-1)throw new Error("Unknown Namespace: "+r.xmlns);return Pfe(r),r}function ayt(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=tN(e),r.name=vo(e),r}function oyt(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var i=t>8?vo(e):"";return i.length>0&&(r.CodeName=i),r.autoCompressPictures=!!(n&65536),r.backupFile=!!(n&64),r.checkCompatibility=!!(n&4096),r.date1904=!!(n&1),r.filterPrivacy=!!(n&8),r.hidePivotFieldList=!!(n&1024),r.promptedSolutions=!!(n&16),r.publishItems=!!(n&2048),r.refreshAllConnections=!!(n&262144),r.saveExternalLinkValues=!!(n&128),r.showBorder
567UnselectedTables=!!(n&4),r.showInkAnnotation=!!(n&32),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(n&32768),r.updateLinks=["userSet","never","always"][n>>8&3],r}function syt(e,t){var r={};return e.read_shift(4),r.ArchID=e.read_shift(4),e.l+=t-8,r}function lyt(e,t,r){var n=e.l+t,i=e.read_shift(4);e.l+=1;var a=e.read_shift(4),o=Zft(e),s,l="";try{s=Zgt(e,0,r);try{l=nO(e)}catch{}}catch{console.error("Could not parse defined name "+o)}i&32&&(o="_xlnm."+o),e.l=n;var c={Name:o,Ptg:s,Flags:i};return a<268435455&&(c.Sheet=a),l&&(c.Comment=l),c}function cyt(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],i=!1;t||(t={}),t.biff=12;var a=[],o=[[]];return o.SheetNames=[],o.XTI=[],__[16]={n:"BrtFRTArchID$",f:syt},Cf(e,function(l,c,u){switch(u){case 156:o.SheetNames.push(l.name),r.Sheets.push(l);break;case 153:r.WBProps=l;break;case 39:l.Sheet!=null&&(t.SID=l.Sheet),l.Ref=l.Ptg?so(l.Ptg,null,null,o,t):"#REF!",delete t.SID,delete l.Ptg,a.push(l);break;case 1036:break;case 357:case 358:case 355:case 667:o[0].length?o.push([u,l]):o[0]=[u,l],o[o.length-1].XTI=[];break;case 362:o.length===0&&(o[0]=[],o[0].XTI=[]),o[o.length-1].XTI=o[o.length-1].XTI.concat(l),o.XTI=o.XTI.concat(l);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:n.push(u),i=!0;break;case 36:n.pop(),i=!1;break;case 37:n.push(u),i=!0;break;case 38:n.pop(),i=!1;break;case 16:break;default:if(!c.T){if(!i||t.WTF&&n[n.length-1]!=37&&n[n.length-1]!=35)throw new Error("Unexpected record 0x"+u.toString(16))}}},t),Pfe(r),r.Names=a,r.supbooks=o,r}function uyt(e,t,r){return t.slice(-4)===".bin"?cyt(e,r):iyt(e,r)}function dyt(e,t,r,n,i,a,o,s){return t.slice(-4)===".bin"?Gvt(e,n,r,i,a,o,s):avt(e,n,r,i,a,o,s)}function fyt(e,t,r,n,i,a,o,s){return t.slice(-4)===".bin"?Xvt(e,n,r,i,a):Yvt(e,n,r,i,a)}function hyt(e,t,r,n,i,a,o,s){return t.slice(-4)===".bin"?k0t():T0t()}function pyt(e,t,r,n,i,a,o,s){return t.slice(-4)===".bin"?C0t():E0t()}function myt(e,t,r,n){return t.slice(-4)===".bin"?jmt(e,r,n):Umt(e,r,n)}function gyt(e,t,r){return t.slice(-4)===".bin"?omt(e,r):imt(e,r)}function vyt(e,t,r){return t.slice(-4)===".bin"?S0t(e,r):m0t(e,r)}function yyt(e,t,r){return t.slice(-4)===".bin"?d0t(e):c0t(e)}function byt(e,t,r,n){return r.slice(-4)===".bin"?f0t(e,t,r,n):void 0}function Syt(e,t,r){return t.slice(-4)===".bin"?s0t(e,t,r):l0t(e,t,r)}var Afe=/\b((?:\w+:)?[\w]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Ofe=/\b((?:\w+:)?[\w]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Tc(e,t){var r=e.split(/\s+/),n=[];if(n[0]=r[0],r.length===1)return n;var i=e.match(Afe),a,o,s,l;if(i)for(l=0;l!=i.length;++l)a=i[l].match(Ofe),(o=a[1].indexOf(":"))===-1?n[a[1]]=a[2].slice(1,a[2].length-1):(a[1].slice(0,6)==="xmlns:"?s="xmlns"+a[1].slice(6):s=a[1].slice(o+1),n[s]=a[2].slice(1,a[2].length-1));return n}function wyt(e){var t=e.split(/\s+/),r={};if(t.length===1)return r;var n=e.match(Afe),i,a,o,s;if(n)for(s=0;s!=n.length;++s)i=n[s].match(Ofe),(a=i[1].indexOf(":"))===-1?r[i[1]]=i[2].slice(1,i[2].length-1):(i[1].slice(0,6)==="xmlns:"?o="xmlns"+i[1].slice(6):o=i[1].slice(a+1),r[o]=i[2].slice(1,i[2].length-1));return r}var oS;function xyt(e,t,r){var n=oS[e]||zr(e);return n==="General"?Jm(t):ul(n,t,{date1904:!!r})}function Cyt(e,t,r,n){var i=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":i=Tn(n);break;case"i2":case"int":i=parseInt(n,10);break;case"r4":case"float":i=parseFloat(n);break;case"date":case"dateTime.tz":i=Va(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[zr(t)]=i}function Eyt(e,t,r,n){if(e.t!=="z"){if(!r||r.cellText!==!1)try{e.t==="e"?e.w=e.w||vp[e.v]:t==="General"?e.t==="n"?(e.v|0)===e.v?e.w=e.v.toString(10):e.w=Bw(e.v):e.w=Jm(e.v):e.w=xyt(t||"General",e.v,n)}catch(o){if(r.WTF)throw o}try{var i=oS[t]||t||"General";if(r.cellNF&&(e.z=i),r.cellDates&&e.t=="n"&&ou(i)){var a=Ud(e.v+(n?1462:0));a&&(e.t="d",e.v=new Date(Date.UTC(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u)))}}catch(o){if(r.WTF)throw o}}}function kyt(e,t,r){if(r.cellStyles&&t.Interior){var n=t.Interior;n.Pattern&&(n.patternType=Fmt[n.Pattern]||n.Pattern)}e[t.ID]=t}function Tyt(e,t,r,n,i,a,o,s,l,c,u){var d="General",f=n.StyleID,h={};c=c||{};var p=[],g=0;for(f===void 0&&s&&(f=s.StyleID),f===void 0&&o&&(f=o.StyleID);a[f]!==void 0;){var v=a[f];if(v.nf&&(d=v.nf),v.Interior&&p.push(v.Interior),!v.Parent)break;f=v.Parent}switch(r.Type){case"Boolean":n.t="b",n.v=Tn(e);break;case"String":n.t="s",n.r=bY(zr(e)),n.v=e.indexOf("<")>-1?zr(t||e).replace(/<[^<>]*>/g,""):n.r;break;case"DateTime":e.slice(-1)!="Z"&&(e+="Z"),n.v=ca(Va(e,u),u),n.v!==n.v&&(n.v=zr(e)),(!d||d=="General")&&(d="yyyy-mm-dd");case"Number":n.v===void 0&&(n.v=+e),n.t||(n.t="n");break;
vendor: 19,797 bytes, lines 567-569
567case"Error":n.t="e",n.v=x_[e],c.cellText!==!1&&(n.w=e);break;default:e==""&&t==""?n.t="z":(n.t="s",n.v=bY(t||e));break}if(Eyt(n,d,c,u),c.cellFormula!==!1)if(n.Formula){var m=zr(n.Formula);m.charCodeAt(0)==61&&(m=m.slice(1)),n.f=xm(m,i),delete n.Formula,n.ArrayRange=="RC"?n.F=xm("RC:RC",i):n.ArrayRange&&(n.F=xm(n.ArrayRange,i),l.push([Ri(n.F),n.F]))}else for(g=0;g<l.length;++g)i.r>=l[g][0].s.r&&i.r<=l[g][0].e.r&&i.c>=l[g][0].s.c&&i.c<=l[g][0].e.c&&(n.F=l[g][1]);c.cellStyles&&(p.forEach(function(b){!h.patternType&&b.patternType&&(h.patternType=b.patternType)}),n.s=h),n.StyleID!==void 0&&(n.ixfe=n.StyleID)}function _yt(e){return Gde.indexOf("_xlnm."+e)>-1?"_xlnm."+e:e}function Pyt(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,`
568`).replace(/\r/g,`
569`),e.v=e.w=e.ixfe=void 0}function SR(e,t){var r=t||{};yde();var n=lb(rO(e));(r.type=="binary"||r.type=="array"||r.type=="base64")&&(n=Nn(n));var i=n.slice(0,1024).toLowerCase(),a=!1;if(i=i.replace(/".*?"/g,""),(i.indexOf(">")&1023)>Math.min(i.indexOf(",")&1023,i.indexOf(";")&1023)){var o=Gi(r);return o.type="string",zw.to_workbook(n,o)}if(i.indexOf("<?xml")==-1&&["html","table","head","meta","script","style","div"].forEach(function(V){i.indexOf("<"+V)>=0&&(a=!0)}),a)return Lyt(n,r);oS={"General Number":"General","General Date":sr[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":sr[15],"Short Date":sr[14],"Long Time":sr[19],"Medium Time":sr[18],"Short Time":sr[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:sr[2],Standard:sr[4],Percent:sr[10],Scientific:sr[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var s,l=[],c,u={},d=[],f={},h="";r.dense&&(f["!data"]=[]);var p={},g={},v=Tc('<Data ss:Type="String">'),m=0,b=0,y=0,w={s:{r:2e6,c:2e6},e:{r:0,c:0}},x={},C={},T="",_=0,P=[],F={},I={},R=0,D=[],A=[],M={},X=[],Y,se=!1,ne=[],ie=[],ae={},ce=0,ke=0,ge={Sheets:[],WBProps:{date1904:!1}},De={};Bi.lastIndex=0,n=l2(n,"<!--","-->");for(var Ne="";s=Bi.exec(n);)switch(s[3]=(Ne=s[3]).toLowerCase()){case"data":if(Ne=="data"){if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else s[0].charAt(s[0].length-2)!=="/"&&l.push([s[3],!0]);break}if(l[l.length-1][1])break;s[1]==="/"?Tyt(n.slice(m,s.index),T,v,l[l.length-1][0]=="comment"?M:p,{c:b,r:y},x,X[b],g,ne,r,ge.WBProps.date1904):(T="",v=Tc(s[0]),m=s.index+s[0].length);break;case"cell":if(s[1]==="/")if(A.length>0&&(p.c=A),(!r.sheetRows||r.sheetRows>y)&&p.v!==void 0&&(r.dense?(f["!data"][y]||(f["!data"][y]=[]),f["!data"][y][b]=p):f[tn(b)+_n(y)]=p),p.HRef&&(p.l={Target:zr(p.HRef)},p.HRefScreenTip&&(p.l.Tooltip=p.HRefScreenTip),delete p.HRef,delete p.HRefScreenTip),(p.MergeAcross||p.MergeDown)&&(ce=b+(parseInt(p.MergeAcross,10)|0),ke=y+(parseInt(p.MergeDown,10)|0),(ce>b||ke>y)&&P.push({s:{c:b,r:y},e:{c:ce,r:ke}})),!r.sheetStubs)p.MergeAcross?b=ce+1:++b;else if(p.MergeAcross||p.MergeDown){for(var We=b;We<=ce;++We)for(var z=y;z<=ke;++z)(We>b||z>y)&&(r.dense?(f["!data"][z]||(f["!data"][z]=[]),f["!data"][z][We]={t:"z"}):f[tn(We)+_n(z)]={t:"z"});b=ce+1}else++b;else p=wyt(s[0]),p.Index&&(b=+p.Index-1),b<w.s.c&&(w.s.c=b),b>w.e.c&&(w.e.c=b),s[0].slice(-2)==="/>"&&++b,A=[];break;case"row":s[1]==="/"||s[0].slice(-2)==="/>"?(y<w.s.r&&(w.s.r=y),y>w.e.r&&(w.e.r=y),s[0].slice(-2)==="/>"&&(g=Tc(s[0]),g.Index&&(y=+g.Index-1)),b=0,++y):(g=Tc(s[0]),g.Index&&(y=+g.Index-1),ae={},(g.AutoFitHeight=="0"||g.Height)&&(ae.hpx=parseInt(g.Height,10),ae.hpt=pfe(ae.hpx),ie[y]=ae),g.Hidden=="1"&&(ae.hidden=!0,ie[y]=ae));break;case"worksheet":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"));d.push(h),w.s.r<=w.e.r&&w.s.c<=w.e.c&&(f["!ref"]=Hr(w),r.sheetRows&&r.sheetRows<=w.e.r&&(f["!fullref"]=f["!ref"],w.e.r=r.sheetRows-1,f["!ref"]=Hr(w))),P.length&&(f["!merges"]=P),X.length>0&&(f["!cols"]=X),ie.length>0&&(f["!rows"]=ie),u[h]=f}else w={s:{r:2e6,c:2e6},e:{r:0,c:0}},y=b=0,l.push([s[3],!1]),c=Tc(s[0]),h=zr(c.Name),f={},r.dense&&(f["!data"]=[]),P=[],ne=[],ie=[],De={name:h,Hidden:0},ge.Sheets.push(De);break;case"table":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else{if(s[0].slice(-2)=="/>")break;l.push([s[3],!1]),X=[],se=!1}break;case"style":s[1]==="/"?kyt(x,C,r):C=Tc(s[0]);break;case"numberformat":C.nf=zr(Tc(s[0]).Format||"General"),oS[C.nf]&&(C.nf=oS[C.nf]);for(var J=0;J!=392&&sr[J]!=C.nf;++J);if(J==392){for(J=57;J!=392;++J)if(sr[J]==null){bm(C.nf,J);break}}break;case"column":if(l[l.length-1][0]!=="table"||s[1]==="/")break;if(Y=Tc(s[0]),Y.Hidden&&(Y.hidden=!0,delete Y.Hidden),Y.Width&&(Y.wpx=parseInt(Y.Width,10)),!se&&Y.wpx>10){se=!0,No=ffe;for(var j=0;j<X.length;++j)X[j]&&ey(X[j])}se&&ey(Y),X[Y.Index-1||X.length]=Y;for(var q=0;q<+Y.Span;++q)X[X.length]=Gi(Y);break;case"namedrange":if(s[1]==="/")break;ge.Names||(ge.Names=[]);var G=Nt(s[0]),N={Name:_yt(G.Name),Ref:xm(G.RefersTo.slice(1),{r:0,c:0})};ge.Sheets.length>0&&(N.Sheet=ge.Sheets.length-1),ge.Names.push(N);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(s[0].slice(-2)==="/>")break;s[1]==="/"?T+=n.slice(_,s.index):_=s.index+s[0].length;break;case"interior":if(!r.cellStyles)break;C.Interior=Tc(s[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if(s[0].slice(-2)==="/>")break;s[1]==="/"?yht(F,Ne,n.slice(R,s.index)):R=s.index+s[0].length;break;case"paragraphs":break;case"styles":case"workbook":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else l.push([s[3],!1]);break;case"comment":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"));Pyt(M),A.push(M)}else l.push([s[3],!1]),c=Tc(s[0]),Tn(c.ShowAlways||"0")||(A.hidden=!0),M={a:c.Author};break;case"autofilter":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else if(s[0].charAt(s[0].length-2)!=="/"){var O=Tc(s[0]);f["!autofilter"]={ref:xm(O.Range).replace(/\$/g,"")},l.push([s[3],!0])}break;case"name":break;case"datavalidation":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else s[0].charAt(s[0].length-2)!=="/"&&l.push([s[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if(s[1]==="/"){if((c=l.pop())[0]!==s[3])throw new Error("Bad state: "+c.join("|"))}else s[0].charAt(s[0].length-2)!=="/"&&l.push([s[3],!0]);break;case"null":break;default:if(l.length==0&&s[3]=="document"||l.length==0&&s[3]=="uof")return i$(n,r);var oe=!0;switch(l[l.length-1][0]){case"officedocumentsettings":switch(s[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:oe=!1}break;case"componentoptions":switch(s[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:oe=!1}break;case"excelworkbook":switch(s[3]){case"date1904":ge.WBProps.date1904=!0;break;case"hidehorizontalscrollbar":break;case"hideverticalscrollbar":break;case"hideworkbooktabs":break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:oe=!1}break;case"workbookoptions":switch(s[3]){case"owcversion":break;case"height":break;case"width":break;default:oe=!1}break;case"worksheetoptions":switch(s[3]){case"visible":if(s[0].slice(-2)!=="/>")if(s[1]==="/")switch(n.slice(R,s.index)){case"SheetHidden":De.Hidden=1;break;case"SheetVeryHidden":De.Hidden=2;break}else R=s.index+s[0].length;break;case"header":f["!margins"]||aS(f["!margins"]={},"xlml"),isNaN(+Nt(s[0]).Margin)||(f["!margins"].header=+Nt(s[0]).Margin);break;case"footer":f["!margins"]||aS(f["!margins"]={},"xlml"),isNaN(+Nt(s[0]).Margin)||(f["!margins"].footer=+Nt(s[0]).Margin);break;case"pagemargins":var Z=Nt(s[0]);f["!margins"]||aS(f["!margins"]={},"xlml"),isNaN(+Z.Top)||(f["!margins"].top=+Z.Top),isNaN(+Z.Left)||(f["!margins"].left=+Z.Left),isNaN(+Z.Right)||(f["!margins"].right=+Z.Right),isNaN(+Z.Bottom)||(f["!margins"].bottom=+Z.Bottom);break;case"displayrighttoleft":ge.Views||(ge.Views=[]),ge.Views[0]||(ge.Views[0]={}),ge.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":f["!outline"]||(f["!outline"]={}),f["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":f["!outline"]||(f["!outline"]={}),f["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:oe=!1}break;case"pivottable":case"pivotcache":switch(s[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:oe=!1}break;case"pagebreaks":switch(s[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:oe=!1}break;case"autofilter":switch(s[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:oe=!1}break;case"querytable":switch(s[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:oe=!1}break;case"datavalidation":switch(s[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:oe=!1}break;case"sorting":case"conditionalformatting":switch(s[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:oe=!1}break;case"mapinfo":case"schema":case"data":switch(s[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:oe=!1}break;case"smarttags":break;default:oe=!1;break}if(oe||s[3].match(/!\[CDATA/))break;if(!l[l.length-1][1])throw"Unrecognized tag: "+s[3]+"|"+l.join("|");if(l[l.length-1][0]==="customdocumentproperties"){if(s[0].slice(-2)==="/>")break;s[1]==="/"?Cyt(I,Ne,D,n.slice(R,s.index)):(D=s,R=s.index+s[0].length);break}if(r.WTF)throw"Unrecognized tag: "+s[3]+"|"+l.join("|")}var B={};return!r.bookSheets&&!r.bookProps&&(B.Sheets=u),B.SheetNames=d,B.Workbook=ge,B.SSF=Gi(sr),B.Props=F,B.Custprops=I,B.bookType="xlml",B}function aN(e,t){switch(eL(t=t||{}),t.type||"base64"){case"base64":return SR(cl(e),t);case"binary":case"buffer":case"file":return SR(e,t);case"array":return SR(gf(e),t)}}function Ayt(e){var t={},r=e.content;if(r.l=28,t.AnsiUserType=r.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=Xft(r),r.length-r.l<=4)return t;var n=r.read_shift(4);if(n==0||n>40||(r.l-=4,t.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4)||(n=r.read_shift(4),n!==1907505652)||(t.UnicodeClipboardFormat=Qft(r),n=r.read_shift(4),n==0||n>40))return t;r.l-=4,t.Reserved2=r.read_shift(0,"lpwstr")}var Oyt=[60,1084,2066,2165,2175];function Iyt(e,t,r,n,i){var a=n,o=[],s=r.slice(r.l,r.l+a);if(i&&i.enc&&i.enc.insitu&&s.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:i.enc.insitu(s)}o.push(s),r.l+=a;for(var l=Kd(r,r.l),c=oN[l],u=0;c!=null&&Oyt.indexOf(l)>-1;)a=Kd(r,r.l+2),u=r.l+4,l==2066?u+=4:(l==2165||l==2175)&&(u+=12),s=r.slice(u,r.l+4+a),o.push(s),r.l+=4+a,c=oN[l=Kd(r,r.l)];var d=hh(o);ia(d,0);var f=0;d.lens=[];for(var h=0;h<o.length;++h)d.lens.push(f),f+=o[h].length;if(d.length<n)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+d.length+" < "+n;return t.f(d,d.length,i)}function ku(e,t,r){if(e.t!=="z"&&e.XF){var n=0;try{n=e.z||e.XF.numFmtId||0,t.cellNF&&e.z==null&&(e.z=sr[n])}catch(a){if(t.WTF)throw a}if(!t||t.cellText!==!1)try{e.t==="e"?e.w=e.w||vp[e.v]:n===0||n=="General"?e.t==="n"?(e.v|0)===e.v?e.w=e.v.toString(10):e.w=Bw(e.v):e.w=Jm(e.v):e.w=ul(n,e.v,{date1904:!!r,dateNF:t&&t.dateNF})}catch(a){if(t.WTF)throw a}if(t.cellDates&&n&&e.t=="n"&&ou(sr[n]||String(n))){var i=Ud(e.v+(r?1462:0));i&&(e.t="d",e.v=new Date(Date.UTC(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)))}}}function sE(e,t,r){return{v:e,ixfe:t,t:r}}function Ryt(e,t){var r={opts:{}},n={},i={};t.dense&&(i["!data"]=[]);var a={},o={},s=null,l=[],c="",u={},d,f="",h,p,g,v,m={},b=[],y,w,x=[],C=[],T={Sheets:[],WBProps:{date1904:!1},Views:[{}]},_={},P=!1,F=function(tt){return tt<8?wm[tt]:tt<64&&C[tt-8]||wm[tt]},I=function(tt,nr){var Ht=tt.XF.data;if(!(!Ht||!Ht.patternType||!nr||!nr.cellStyles)){tt.s={},tt.s.patternType=Ht.patternType;var un;(un=Hw(F(Ht.icvFore)))&&(tt.s.fgColor={rgb:un}),(un=Hw(F(Ht.icvBack)))&&(tt.s.bgColor={rgb:un})}},R=function(tt,nr,Ht){if(!(!P&&ce>1)&&!(Ht.sheetRows&&tt.r>=Ht.sheetRows)){if(Ht.cellStyles&&nr.XF&&nr.XF.data&&I(nr,Ht),delete nr.ixfe,delete nr.XF,d=tt,f=Xr(tt),(!o||!o.s||!o.e)&&(o={s:{r:0,c:0},e:{r:0,c:0}}),tt.r<o.s.r&&(o.s.r=tt.r),tt.c<o.s.c&&(o.s.c=tt.c),tt.r+1>o.e.r&&(o.e.r=tt.r+1),tt.c+1>o.e.c&&(o.e.c=tt.c+1),Ht.cellFormula&&nr.f){for(var un=0;un<b.length;++un)if(!(b[un][0].s.c>tt.c||b[un][0].s.r>tt.r)&&!(b[un][0].e.c<tt.c||b[un][0].e.r<tt.r)){nr.F=Hr(b[un][0]),(b[un][0].s.c!=tt.c||b[un][0].s.r!=tt.r)&&delete nr.f,nr.f&&(nr.f=""+so(b[un][1],o,tt,ie,D));break}}Ht.dense?(i["!data"][tt.r]||(i["!data"][tt.r]=[]),i["!data"][tt.r][tt.c]=nr):i[f]=nr}},D={enc:!1,sbcch:0,snames:[],sharedf:m,arrayf:b,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(D.password=t.password);var A,M=[],X=[],Y=[],se=[],ne=!1,ie=[];ie.SheetNames=D.snames,ie.sharedf=D.sharedf,ie.arrayf=D.arrayf,ie.names=[],ie.XTI=[];var ae=0,ce=0,ke=0,ge=[],De=[],Ne;D.codepage=1200,Vc(1200);for(var We=!1;e.l<e.length-1;){var z=e.l,J=e.read_shift(2);if(J===0&&ae===10)break;var j=e.l===e.length?0:e.read_shift(2),q=oN[J];if(ce==0&&[9,521,1033,2057].indexOf(J)==-1)break;if(q&&q.f){if(t.bookSheets&&ae===133&&J!==133)break;
569if(ae=J,q.r===2||q.r==12){var G=e.read_shift(2);if(j-=2,!D.enc&&G!==J&&((G&255)<<8|G>>8)!==J)throw new Error("rt mismatch: "+G+"!="+J);q.r==12&&(e.l+=10,j-=10)}var N={};if(J===10?N=q.f(e,j,D):N=Iyt(J,q,e,j,D),ce==0&&[9,521,1033,2057].indexOf(ae)===-1)continue;switch(J){case 34:r.opts.Date1904=T.WBProps.date1904=N;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(D.enc||(e.l=0),D.enc=N,!t.password)throw new Error("File is password-protected");if(N.valid==null)throw new Error("Encryption scheme unsupported");if(!N.valid)throw new Error("Password is incorrect");break;case 92:D.lastuser=N;break;case 66:var O=Number(N);switch(O){case 21010:O=1200;break;case 32768:O=1e4;break;case 32769:O=1252;break}Vc(D.codepage=O),We=!0;break;case 317:D.rrtabid=N;break;case 25:D.winlocked=N;break;case 439:r.opts.RefreshAll=N;break;case 12:r.opts.CalcCount=N;break;case 16:r.opts.CalcDelta=N;break;case 17:r.opts.CalcIter=N;break;case 13:r.opts.CalcMode=N;break;case 14:r.opts.CalcPrecision=N;break;case 95:r.opts.CalcSaveRecalc=N;break;case 15:D.CalcRefMode=N;break;case 2211:r.opts.FullCalc=N;break;case 129:N.fDialog&&(i["!type"]="dialog"),N.fBelow||((i["!outline"]||(i["!outline"]={})).above=!0),N.fRight||((i["!outline"]||(i["!outline"]={})).left=!0);break;case 67:case 579:case 1091:case 224:x.push(N);break;case 430:ie.push([N]),ie[ie.length-1].XTI=[];break;case 35:case 547:ie[ie.length-1].push(N);break;case 24:case 536:Ne={Name:N.Name,Ref:so(N.rgce,o,null,ie,D)},N.itab>0&&(Ne.Sheet=N.itab-1),ie.names.push(Ne),ie[0]||(ie[0]=[],ie[0].XTI=[]),ie[ie.length-1].push(N),N.Name=="_xlnm._FilterDatabase"&&N.itab>0&&N.rgce&&N.rgce[0]&&N.rgce[0][0]&&N.rgce[0][0][0]=="PtgArea3d"&&(De[N.itab-1]={ref:Hr(N.rgce[0][0][1][2])});break;case 22:D.ExternCount=N;break;case 23:ie.length==0&&(ie[0]=[],ie[0].XTI=[]),ie[ie.length-1].XTI=ie[ie.length-1].XTI.concat(N),ie.XTI=ie.XTI.concat(N);break;case 2196:if(D.biff<8)break;Ne!=null&&(Ne.Comment=N[1]);break;case 18:i["!protect"]=N;break;case 19:N!==0&&D.WTF&&console.error("Password verifier: "+N);break;case 133:a[D.biff==4?D.snames.length:N.pos]=N,D.snames.push(N.name);break;case 10:{if(--ce?!P:P)break;if(o.e){if(o.e.r>0&&o.e.c>0){if(o.e.r--,o.e.c--,i["!ref"]=Hr(o),t.sheetRows&&t.sheetRows<=o.e.r){var oe=o.e.r;o.e.r=t.sheetRows-1,i["!fullref"]=i["!ref"],i["!ref"]=Hr(o),o.e.r=oe}o.e.r++,o.e.c++}M.length>0&&(i["!merges"]=M),X.length>0&&(i["!objects"]=X),Y.length>0&&(i["!cols"]=Y),se.length>0&&(i["!rows"]=se),T.Sheets.push(_)}c===""?u=i:n[c]=i,i={},t.dense&&(i["!data"]=[])}break;case 9:case 521:case 1033:case 2057:{if(D.biff===8&&(D.biff={9:2,521:3,1033:4}[J]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[N.BIFFVer]||8),D.biffguess=N.BIFFVer==0,N.BIFFVer==0&&N.dt==4096&&(D.biff=5,We=!0,Vc(D.codepage=28591)),D.biff==4&&N.dt&256&&(P=!0),D.biff==8&&N.BIFFVer==0&&N.dt==16&&(D.biff=2),ce++&&!P)break;if(i={},t.dense&&(i["!data"]=[]),D.biff<8&&!We&&(We=!0,Vc(D.codepage=t.codepage||1252)),D.biff==4&&P)c=(a[D.snames.indexOf(c)+1]||{name:""}).name;else if(D.biff<5||N.BIFFVer==0&&N.dt==4096){c===""&&(c="Sheet1"),o={s:{r:0,c:0},e:{r:0,c:0}};var Z={pos:e.l-j,name:c};a[Z.pos]=Z,D.snames.push(c)}else c=(a[z]||{name:""}).name;N.dt==32&&(i["!type"]="chart"),N.dt==64&&(i["!type"]="macro"),M=[],X=[],D.arrayf=b=[],Y=[],se=[],ne=!1,_={Hidden:(a[z]||{hs:0}).hs,name:c}}break;case 515:case 3:case 2:i["!type"]=="chart"&&(t.dense?(i["!data"][N.r]||[])[N.c]:i[tn(N.c)+_n(N.r)])&&++N.c,y={ixfe:N.ixfe,XF:x[N.ixfe]||{},v:N.val,t:"n"},ke>0&&(y.z=y.XF&&y.XF.numFmtId&&ge[y.XF.numFmtId]||ge[y.ixfe>>8&63]),ku(y,t,r.opts.Date1904),R({c:N.c,r:N.r},y,t);break;case 5:case 517:y={ixfe:N.ixfe,XF:x[N.ixfe],v:N.val,t:N.t},ke>0&&(y.z=y.XF&&y.XF.numFmtId&&ge[y.XF.numFmtId]||ge[y.ixfe>>8&63]),ku(y,t,r.opts.Date1904),R({c:N.c,r:N.r},y,t);break;case 638:y={ixfe:N.ixfe,XF:x[N.ixfe],v:N.rknum,t:"n"},ke>0&&(y.z=y.XF&&y.XF.numFmtId&&ge[y.XF.numFmtId]||ge[y.ixfe>>8&63]),ku(y,t,r.opts.Date1904),R({c:N.c,r:N.r},y,t);break;case 189:for(var B=N.c;B<=N.C;++B){var V=N.rkrec[B-N.c][0];y={ixfe:V,XF:x[V],v:N.rkrec[B-N.c][1],t:"n"},ke>0&&(y.z=y.XF&&y.XF.numFmtId&&ge[y.XF.numFmtId]||ge[y.ixfe>>8&63]),ku(y,t,r.opts.Date1904),R({c:B,r:N.r},y,t)}break;case 6:case 518:case 1030:{if(N.val=="String"){s=N;break}if(y=sE(N.val,N.cell.ixfe,N.tt),y.XF=x[y.ixfe],t.cellFormula){var de=N.formula;if(de&&de[0]&&de[0][0]&&de[0][0][0]=="PtgExp"){var Pe=de[0][0][1][0],ze=de[0][0][1][1],Se=Xr({r:Pe,c:ze});m[Se]?y.f=""+so(N.formula,o,N.cell,ie,D):y.F=((t.dense?(i["!data"][Pe]||[])[ze]:i[Se])||{}).F}else y.f=""+so(N.formula,o,N.cell,ie,D)}ke>0&&(y.z=y.XF&&y.XF.numFmtId&&ge[y.XF.numFmtId]||ge[y.ixfe>>8&63]),ku(y,t,r.opts.Date1904),R(N.cell,y,t),s=N}break;case 7:case 519:if(s)s.val=N,y=sE(N,s.cell.ixfe,"s"),y.XF=x[y.ixfe],t.cellFormula&&(y.f=""+so(s.formula,o,s.cell,ie,D)),ke>0&&(y.z=y.XF&&y.XF.numFmtId&&ge[y.XF.numFmtId]||ge[y.ixfe>>8&63]),ku(y,t,r.opts.Date1904),R(s.cell,y,t),s=null;else throw new Error("String record expects Formula");break;case 33:case 545:{b.push(N);var Me=Xr(N[0].s);if(h=t.dense?(i["!data"][N[0].s.r]||[])[N[0].s.c]:i[Me],t.cellFormula&&h){if(!s||!Me||!h)break;h.f=""+so(N[1],o,N[0],ie,D),h.F=Hr(N[0])}}break;case 1212:{if(!t.cellFormula)break;if(f){if(!s)break;m[Xr(s.cell)]=N[0],h=t.dense?(i["!data"][s.cell.r]||[])[s.cell.c]:i[Xr(s.cell)],(h||{}).f=""+so(N[0],o,d,ie,D)}}break;
569case 253:y=sE(l[N.isst].t,N.ixfe,"s"),l[N.isst].h&&(y.h=l[N.isst].h),y.XF=x[y.ixfe],ke>0&&(y.z=y.XF&&y.XF.numFmtId&&ge[y.XF.numFmtId]||ge[y.ixfe>>8&63]),ku(y,t,r.opts.Date1904),R({c:N.c,r:N.r},y,t);break;case 513:t.sheetStubs&&(y={ixfe:N.ixfe,XF:x[N.ixfe],t:"z"},ke>0&&(y.z=y.XF&&y.XF.numFmtId&&ge[y.XF.numFmtId]||ge[y.ixfe>>8&63]),ku(y,t,r.opts.Date1904),R({c:N.c,r:N.r},y,t));break;case 190:if(t.sheetStubs)for(var Ze=N.c;Ze<=N.C;++Ze){var _e=N.ixfe[Ze-N.c];y={ixfe:_e,XF:x[_e],t:"z"},ke>0&&(y.z=y.XF&&y.XF.numFmtId&&ge[y.XF.numFmtId]||ge[y.ixfe>>8&63]),ku(y,t,r.opts.Date1904),R({c:Ze,r:N.r},y,t)}break;case 214:case 516:case 4:y=sE(N.val,N.ixfe,"s"),y.XF=x[y.ixfe],ke>0&&(y.z=y.XF&&y.XF.numFmtId&&ge[y.XF.numFmtId]||ge[y.ixfe>>8&63]),ku(y,t,r.opts.Date1904),R({c:N.c,r:N.r},y,t);break;case 0:case 512:ce===1&&(o=N);break;case 252:l=N;break;case 1054:if(D.biff>=3&&D.biff<=4){ge[ke++]=N[1];for(var at=0;at<ke+163&&sr[at]!=N[1];++at);at>=163&&bm(N[1],ke+163)}else bm(N[1],N[0]);break;case 30:{ge[ke++]=N;for(var rt=0;rt<ke+163&&sr[rt]!=N;++rt);rt>=163&&bm(N,ke+163)}break;case 229:M=M.concat(N);break;case 93:X[N.cmo[0]]=D.lastobj=N;break;case 438:D.lastobj.TxO=N;break;case 127:D.lastobj.ImData=N;break;case 440:for(v=N[0].s.r;v<=N[0].e.r;++v)for(g=N[0].s.c;g<=N[0].e.c;++g)h=t.dense?(i["!data"][v]||[])[g]:i[Xr({c:g,r:v})],h&&(h.l=N[1]);break;case 2048:for(v=N[0].s.r;v<=N[0].e.r;++v)for(g=N[0].s.c;g<=N[0].e.c;++g)h=t.dense?(i["!data"][v]||[])[g]:i[Xr({c:g,r:v})],h&&h.l&&(h.l.Tooltip=N[1]);break;case 28:{if(h=t.dense?(i["!data"][N[0].r]||[])[N[0].c]:i[Xr(N[0])],h||(t.dense?(i["!data"][N[0].r]||(i["!data"][N[0].r]=[]),h=i["!data"][N[0].r][N[0].c]={t:"z"}):h=i[Xr(N[0])]={t:"z"},o.e.r=Math.max(o.e.r,N[0].r),o.s.r=Math.min(o.s.r,N[0].r),o.e.c=Math.max(o.e.c,N[0].c),o.s.c=Math.min(o.s.c,N[0].c)),h.c||(h.c=[]),D.biff<=5&&D.biff>=2)p={a:"SheetJ5",t:N[1]};else{var ut=X[N[2]];p={a:N[1],t:ut.TxO.t},N[3]!=null&&!(N[3]&2)&&(h.c.hidden=!0)}h.c.push(p)}break;case 2173:n0t(x[N.ixfe],N.ext);break;case 125:{if(!D.cellStyles)break;for(;N.e>=N.s;)Y[N.e--]={width:N.w/256,level:N.level||0,hidden:!!(N.flags&1)},ne||(ne=!0,YM(N.w/256)),ey(Y[N.e+1])}break;case 520:{var Mt={};N.level!=null&&(se[N.r]=Mt,Mt.level=N.level),N.hidden&&(se[N.r]=Mt,Mt.hidden=!0),N.hpt&&(se[N.r]=Mt,Mt.hpt=N.hpt,Mt.hpx=qw(N.hpt))}break;case 38:case 39:case 40:case 41:i["!margins"]||aS(i["!margins"]={}),i["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[J]]=N;break;case 161:i["!margins"]||aS(i["!margins"]={}),i["!margins"].header=N.header,i["!margins"].footer=N.footer;break;case 574:N.RTL&&(T.Views[0].RTL=!0);break;case 146:C=N;break;case 2198:A=N;break;case 140:w=N;break;case 442:c?_.CodeName=N||_.name:T.WBProps.CodeName=N||"ThisWorkbook";break}}else q||console.error("Missing Info for XLS Record 0x"+J.toString(16)),e.l+=j}return r.SheetNames=Yl(a).sort(function(rr,tt){return Number(rr)-Number(tt)}).map(function(rr){return a[rr].name}),t.bookSheets||(r.Sheets=n),!r.SheetNames.length&&u["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=u)):r.Preamble=u,r.Sheets&&De.forEach(function(rr,tt){r.Sheets[r.SheetNames[tt]]["!autofilter"]=rr}),r.Strings=l,r.SSF=Gi(sr),D.enc&&(r.Encryption=D.enc),A&&(r.Themes=A),r.Metadata={},w!==void 0&&(r.Metadata.Country=w),ie.names.length>0&&(T.Names=ie.names),r.Workbook=T,r}var e$={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function Fyt(e,t,r){var n=Gr.find(e,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var i=MY(n,iht,e$.DSI);for(var a in i)t[a]=i[a]}catch(c){if(r.WTF)throw c}var o=Gr.find(e,"/!SummaryInformation");if(o&&o.size>0)try{var s=MY(o,aht,e$.SI);for(var l in s)t[l]==null&&(t[l]=s[l])}catch(c){if(r.WTF)throw c}t.HeadingPairs&&t.TitlesOfParts&&(Zde(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}function Ife(e,t){t||(t={}),eL(t),sde(),t.codepage&&DM(t.codepage);var r,n;if(e.FullPaths){if(Gr.find(e,"/encryption"))throw new Error("File is password-protected");r=Gr.find(e,"!CompObj"),n=Gr.find(e,"/Workbook")||Gr.find(e,"/Book")}else{switch(t.type){case"base64":e=qs(cl(e));break;case"binary":e=qs(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e));break}ia(e,0),n={content:e}}var i,a;if(r&&Ayt(r),t.bookProps&&!t.bookSheets)i={};else{var o=Ur?"buffer":"array";
vendor: 9,692 bytes, line 569
569if(n&&n.content)i=Ryt(n.content,t);else if((a=Gr.find(e,"PerfectOffice_MAIN"))&&a.content)i=nS.to_workbook(a.content,(t.type=o,t));else if((a=Gr.find(e,"NativeContent_MAIN"))&&a.content)i=nS.to_workbook(a.content,(t.type=o,t));else throw(a=Gr.find(e,"MN0"))&&a.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");t.bookVBA&&e.FullPaths&&Gr.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(i.vbaraw=x0t(e))}var s={};return e.FullPaths&&Fyt(e,s,t),i.Props=i.Custprops=s,t.bookFiles&&(i.cfb=e),i}var __={0:{f:pvt},1:{f:yvt},2:{f:_vt},3:{f:xvt},4:{f:Svt},5:{f:Tvt},6:{f:Ovt},7:{f:Evt},8:{f:Nvt},9:{f:Dvt},10:{f:Rvt},11:{f:Fvt},12:{f:bvt},13:{f:Pvt},14:{f:Cvt},15:{f:wvt},16:{f:Tfe},17:{f:Ivt},18:{f:kvt},19:{f:jM},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:lyt},40:{},42:{},43:{f:Hmt},44:{f:zmt},45:{f:qmt},46:{f:Vmt},47:{f:Wmt},48:{},49:{f:Vft},50:{},51:{f:a0t},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:sfe},62:{f:Avt},63:{f:u0t},64:{f:Vvt},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:xo,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:Wvt},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:vvt},148:{f:mvt,p:16},151:{f:Bvt},152:{},153:{f:oyt},154:{},155:{},156:{f:ayt},157:{},158:{},159:{T:1,f:amt},160:{T:-1},161:{T:1,f:T0},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Mvt},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:i0t},336:{T:-1},337:{f:o0t,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:tN},357:{},358:{},359:{},360:{T:1},361:{},362:{f:ofe},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:Uvt},427:{f:zvt},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:qvt},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:gvt},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:Lvt},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:tN},551:{f:nO},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:b0t},633:{T:1},634:{T:-1},635:{T:1,f:y0t},636:{T:-1},637:{f:Gft},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:$vt},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:jvt},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},oN={6:{f:yR},10:{f:qf},12:{f:vi},13:{f:vi},14:{f:Ti},15:{f:Ti},16:{f:fo},17:{f:Ti},18:{f:Ti},19:{f:vi},20:{f:UY},21:{f:UY},23:{f:ofe},24:{f:HY},25:{f:Ti},26:{},27:{},28:{f:Spt},29:{},34:{f:Ti},35:{f:zY},38:{f:fo},39:{f:fo},40:{f:fo},41:{f:fo},42:{f:Ti},43:{f:Ti},47:{f:Emt},49:{f:Jht},51:{f:vi},60:{},61:{f:$ht},64:{f:Ti},65:{f:Qht},66:{f:vi},77:{},80:{},81:{},82:{},85:{f:vi},89:{},90:{},91:{},92:{f:qht},93:{f:xpt},94:{},95:{f:Ti},96:{},97:{},99:{f:Ti},125:{f:sfe},128:{f:fpt},129:{f:Wht},130:{f:vi},131:{f:Ti},132:{f:Ti},133:{f:Vht},134:{},140:{f:Ppt},141:{f:vi},144:{},146:{f:Opt},151:{},152:{}
569,153:{},154:{},155:{},156:{f:vi},157:{},158:{},160:{f:Npt},161:{f:Rpt},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:apt},190:{f:opt},193:{f:qf},197:{},198:{},199:{},200:{},201:{},202:{f:Ti},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:vi},220:{},221:{f:Ti},222:{},224:{f:lpt},225:{f:Hht},226:{f:qf},227:{},229:{f:wpt},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:jht},253:{f:ept},255:{f:Ght},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Jde},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Ti},353:{f:qf},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:mpt},431:{f:Ti},432:{},433:{},434:{},437:{},438:{f:kpt},439:{f:Ti},440:{f:Tpt},441:{},442:{f:u2},443:{},444:{f:vi},445:{},446:{},448:{f:qf},449:{f:Yht,r:2},450:{f:qf},512:{f:BY},513:{f:Dpt},515:{f:ppt},516:{f:tpt},517:{f:hpt},519:{f:Mpt},520:{f:Kht},523:{},545:{f:WY},549:{f:LY},566:{},574:{f:Xht},638:{f:ipt},659:{},1048:{},1054:{f:rpt},1084:{},1212:{f:vpt},2048:{f:_pt},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:nE},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:qf},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:Ipt,r:12},2173:{f:r0t,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Ti,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:gpt,r:12},2197:{},2198:{f:$mt,r:12},2199:{},2200:{},2201:{},2202:{f:ypt,r:12},2203:{f:qf},2204:{},2205:{},2206:{},2207:{},2211:{f:Zht},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:vi},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:Fpt},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:Apt},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:BY},1:{},2:{f:zpt},3:{f:Upt},4:{f:Bpt},5:{f:qpt},7:{f:Hpt},8:{},9:{f:nE},11:{},22:{f:vi},30:{f:npt},31:{},32:{},33:{f:WY},36:{},37:{f:LY},50:{f:Wpt},62:{},52:{},67:{f:cpt},68:{f:vi},69:{},86:{},126:{},127:{f:Lpt},135:{},136:{},137:{},143:{f:jpt},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:Vpt},223:{},234:{},354:{},421:{},518:{f:yR},521:{f:nE},536:{f:HY},547:{f:zY},561:{},579:{f:upt},1030:{f:yR},1033:{f:nE},1091:{f:dpt},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},101:{},102:{},105:{},106:{},107:{},109:{},112:{},114:{},29282:{}};function Ns(e,t,r,n){var i=t;if(!isNaN(i)){var a=(r||[]).length||0,o=e.next(4);o.write_shift(2,i),o.write_shift(2,a),a>0&&zde(r)&&e.push(r)}}function t$(e,t){var r=t||{},n=r.dense!=null?r.dense:Sdt,i={};n&&(i["!data"]=[]),e=l2(e,"<!--","-->");var a=e.match(/<table/i);if(!a)throw new Error("Invalid HTML: could not find <table>");var o=e.match(/<\/table/i),s=a.index,l=o&&o.index||e.length,c=lft(e.slice(s,l),/(:?<tr[^<>]*>)/i,"<tr>"),u=-1,d=0,f=0,h=0,p={s:{r:1e7,c:1e7},e:{r:0,c:0}},g=[];for(s=0;s<c.length;++s){var v=c[s].trim(),m=v.slice(0,3).toLowerCase();if(m=="<tr"){if(++u,r.sheetRows&&r.sheetRows<=u){--u;break}d=0;continue}if(!(m!="<td"&&m!="<th")){var b=v.split(/<\/t[dh]>/i);for(l=0;l<b.length;++l){var y=b[l].trim();if(y.match(/<t[dh]/i)){for(var w=y,x=0;w.charAt(0)=="<"&&(x=w.indexOf(">"))>-1;)w=w.slice(x+1);for(var C=0;C<g.length;++C){var T=g[C];T.s.c==d&&T.s.r<u&&u<=T.e.r&&(d=T.e.c+1,C=-1)}var _=Nt(y.slice(0,y.indexOf(">")));h=_.colspan?+_.colspan:1,((f=+_.rowspan)>1||h>1)&&g.push({s:{r:u,c:d},e:{r:u+(f||1)-1,c:d+h-1}});var P=_.t||_["data-t"]||"";if(!w.length){d+=h;continue}if(w=_de(w),p.s.r>u&&(p.s.r=u),p.e.r<u&&(p.e.r=u),p.s.c>d&&(p.s.c=d),p.e.c<d&&(p.e.c=d),!w.length){d+=h;continue}var F={t:"s",v:w};r.raw||!w.trim().length||P=="s"||(w==="TRUE"?F={t:"b",v:!0}:w==="FALSE"?F={t:"b",v:!1}:isNaN(ol(w))?isNaN(Uw(w).getDate())||(F={t:"d",v:Va(w)},r.UTC===!1&&(F.v=t0(F.v)),r.cellDates||(F={t:"n",v:ca(F.v)}),F.z=r.dateNF||sr[14]):F={t:"n",v:ol(w)}),F.cellText!==!1&&(F.w=w),n?(i["!data"][u]||(i["!data"][u]=[]),i["!data"][u][d]=F):i[Xr({r:u,c:d})]=F,d+=h}}}}return i["!ref"]=Hr(p),g.length&&(i["!merges"]=g),i}function Dyt(e,t,r,n){for(var i=e["!merges"]||[],a=[],o={},s=e["!data"]!=null,l=t.s.c;l<=t.e.c;++l){for(var c=0,u=0,d=0;d<i.length;++d)if(!(i[d].s.r>r||i[d].s.c>l)&&!(i[d].e.r<r||i[d].e.c<l)){if(i[d].s.r<r||i[d].s.c<l){c=-1;break}c=i[d].e.r-i[d].s.r+1,u=i[d].e.c-i[d].s.c+1;break}if(!(c<0)){var f=tn(l)+_n(r),h=s?(e["!data"][r]||[])[l]:e[f],p=h&&h.v!=null&&(h.h||Qb(h.w||(tp(h),h.w)||""))||"";o={},c>1&&(o.rowspan=c),u>1&&(o.colspan=u),n.editable?p='<span contenteditable="true">'+p+"</span>":h&&(o["data-t"]=h&&h.t||"z",h.v!=null&&(o["data-v"]=Qb(h.v instanceof Date?h.v.toISOString():h.v)),h.z!=null&&(o["data-z"]=h.z),h.l&&(h.l.Target||"#").charAt(0)!="#"&&(p='<a href="'+Qb(h.l.Target)+'">'+p+"</a>")),o.id=(n.id||"sjs")+"-"+f,a.push(Tft("td",p,o))}}var g="<tr>";return g+a.join("")+"</tr>"}var Nyt='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',Myt="</body></html>";function Lyt(e,t){var r=dft(e,"table");if(!r||r.length==0)throw new Error("Invalid HTML: could not find <table>");if(r.length==1){var n=gp(t$(r[0],t),t);return n.bookType="html",n}var i=rL();return r.forEach(function(a,o){p2(i,t$(a,t),"Sheet"+(o+1))}),i.bookType="html",i}function Byt(e,t,r){var n=[];return n.join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function Uyt(e,t){var r=t||{},n=r.header!=null?r.header:Nyt,i=r.footer!=null?r.footer:Myt,a=[n],o=E0(e["!ref"]||"A1");if(a.push(Byt(e,o,r)),e["!ref"])for(var s=o.s.r;s<=o.e.r;++s)a.push(Dyt(e,o,s,r));return a.push("</table>"+i),a.join("")}function Rfe(e,t,r){var n=t.rows;if(!n)throw"Unsupported origin when "+t.tagName+" is not a TABLE";var i=r||{},a=e["!data"]!=null,o=0,s=0;if(i.origin!=null)if(typeof i.origin=="number")o=i.origin;
569else{var l=typeof i.origin=="string"?po(i.origin):i.origin;o=l.r,s=l.c}var c=Math.min(i.sheetRows||1e7,n.length),u={s:{r:0,c:0},e:{r:o,c:s}};if(e["!ref"]){var d=E0(e["!ref"]);u.s.r=Math.min(u.s.r,d.s.r),u.s.c=Math.min(u.s.c,d.s.c),u.e.r=Math.max(u.e.r,d.e.r),u.e.c=Math.max(u.e.c,d.e.c),o==-1&&(u.e.r=o=d.e.r+1)}var f=[],h=0,p=e["!rows"]||(e["!rows"]=[]),g=0,v=0,m=0,b=0,y=0,w=0;for(e["!cols"]||(e["!cols"]=[]);g<n.length&&v<c;++g){var x=n[g];if(r$(x)){if(i.display)continue;p[v]={hidden:!0}}var C=x.cells;for(m=b=0;m<C.length;++m){var T=C[m];if(!(i.display&&r$(T))){var _=T.hasAttribute("data-v")?T.getAttribute("data-v"):T.hasAttribute("v")?T.getAttribute("v"):_de(T.innerHTML),P=T.getAttribute("data-z")||T.getAttribute("z");for(h=0;h<f.length;++h){var F=f[h];F.s.c==b+s&&F.s.r<v+o&&v+o<=F.e.r&&(b=F.e.c+1-s,h=-1)}w=+T.getAttribute("colspan")||1,((y=+T.getAttribute("rowspan")||1)>1||w>1)&&f.push({s:{r:v+o,c:b+s},e:{r:v+o+(y||1)-1,c:b+s+(w||1)-1}});var I={t:"s",v:_},R=T.getAttribute("data-t")||T.getAttribute("t")||"";_!=null&&(_.length==0?I.t=R||"z":i.raw||_.trim().length==0||R=="s"||(_==="TRUE"?I={t:"b",v:!0}:_==="FALSE"?I={t:"b",v:!1}:isNaN(ol(_))?isNaN(Uw(_).getDate())||(I={t:"d",v:Va(_)},i.UTC&&(I.v=tO(I.v)),i.cellDates||(I={t:"n",v:ca(I.v)}),I.z=i.dateNF||sr[14]):I={t:"n",v:ol(_)})),I.z===void 0&&P!=null&&(I.z=P);var D="",A=T.getElementsByTagName("A");if(A&&A.length)for(var M=0;M<A.length&&!(A[M].hasAttribute("href")&&(D=A[M].getAttribute("href"),D.charAt(0)!="#"));++M);D&&D.charAt(0)!="#"&&D.slice(0,11).toLowerCase()!="javascript:"&&(I.l={Target:D}),a?(e["!data"][v+o]||(e["!data"][v+o]=[]),e["!data"][v+o][b+s]=I):e[Xr({c:b+s,r:v+o})]=I,u.e.c<b+s&&(u.e.c=b+s),b+=w}}++v}return f.length&&(e["!merges"]=(e["!merges"]||[]).concat(f)),u.e.r=Math.max(u.e.r,v-1+o),e["!ref"]=Hr(u),v>=c&&(e["!fullref"]=Hr((u.e.r=n.length-g+v-1+o,u))),e}function Ffe(e,t){var r=t||{},n={};return r.dense&&(n["!data"]=[]),Rfe(n,e,t)}function zyt(e,t){var r=gp(Ffe(e,t),t);return r}function r$(e){var t="",r=Hyt(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),t==="none"}function Hyt(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}function qyt(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,function(n,i){return Array(parseInt(i,10)+1).join(" ")}).replace(/<text:tab[^<>]*\/>/g,"	").replace(/<text:line-break\/>/g,`
570`),r=zr(t.replace(/<[^<>]*>/g,""));return[r]}function Dfe(e,t,r){var n=r||{},i=rO(e);Bi.lastIndex=0,i=UM(l2(i,"<!--","-->"));for(var a,o,s="",l="",c,u=0,d=-1,f="";a=Bi.exec(i);)switch(a[3]=a[3].replace(/_[\s\S]*$/,"")){case"number-style":case"currency-style":case"percentage-style":case"date-style":case"time-style":case"text-style":a[1]==="/"?(o["truncate-on-overflow"]=="false"&&(s.match(/h/)?s=s.replace(/h+/,"[$&]"):s.match(/m/)?s=s.replace(/m+/,"[$&]"):s.match(/s/)&&(s=s.replace(/s+/,"[$&]"))),n[o.name]=s,s=""):a[0].charAt(a[0].length-2)!=="/"&&(s="",o=Nt(a[0],!1));break;case"boolean-style":a[1]==="/"?(n[o.name]="General",s=""):a[0].charAt(a[0].length-2)!=="/"&&(s="",o=Nt(a[0],!1));break;case"boolean":s+="General";break;case"text":a[1]==="/"?(f=i.slice(d,Bi.lastIndex-a[0].length),f=="%"&&o[0]=="<number:percentage-style"?s+="
570%":s+='"'+f.replace(/"/g,'""')+'"'):a[0].charAt(a[0].length-2)!=="/"&&(d=Bi.lastIndex);break;case"day":switch(c=Nt(a[0],!1),c.style){case"short":s+="d";break;case"long":s+="dd";break;default:s+="dd";break}break;case"day-of-week":switch(c=Nt(a[0],!1),c.style){case"short":s+="ddd";break;case"long":s+="dddd";break;default:s+="ddd";break}break;case"era":switch(c=Nt(a[0],!1),c.style){case"short":s+="ee";break;case"long":s+="eeee";break;default:s+="eeee";break}break;case"hours":switch(c=Nt(a[0],!1),c.style){case"short":s+="h";break;case"long":s+="hh";break;default:s+="hh";break}break;case"minutes":switch(c=Nt(a[0],!1),c.style){case"short":s+="m";break;case"long":s+="mm";break;default:s+="mm";break}break;case"month":switch(c=Nt(a[0],!1),c.textual&&(s+="mm"),c.style){case"short":s+="m";break;case"long":s+="mm";break;default:s+="m";break}break;case"seconds":{switch(c=Nt(a[0],!1),c.style){case"short":s+="s";break;case"long":s+="ss";break;default:s+="ss";break}c["decimal-places"]&&(s+="."+jr("0",+c["decimal-places"]))}break;case"year":switch(c=Nt(a[0],!1),c.style){case"short":s+="yy";break;case"long":s+="yyyy";break;default:s+="yy";break}break;case"am-pm":s+="AM/PM";break;case"week-of-year":case"quarter":console.error("Excel does not support ODS format token "+a[3]);break;case"fill-character":a[1]==="/"?(f=i.slice(d,Bi.lastIndex-a[0].length),s+='"'+f.replace(/"/g,'""')+'"*'):a[0].charAt(a[0].length-2)!=="/"&&(d=Bi.lastIndex);break;case"scientific-number":c=Nt(a[0],!1),s+="0."+jr("0",+c["min-decimal-places"]||+c["decimal-places"]||2)+jr("?",+c["decimal-places"]-+c["min-decimal-places"]||0)+"E"+(Tn(c["forced-exponent-sign"])?"+":"")+jr("0",+c["min-exponent-digits"]||2);break;case"fraction":c=Nt(a[0],!1),+c["min-integer-digits"]?s+=jr("0",+c["min-integer-digits"]):s+="#",s+=" ",s+=jr("?",+c["min-numerator-digits"]||1),s+="/",+c["denominator-value"]?s+=c["denominator-value"]:s+=jr("?",+c["min-den
570ominator-digits"]||1);break;case"currency-symbol":a[1]==="/"?s+='"'+i.slice(d,Bi.lastIndex-a[0].length).replace(/"/g,'""')+'"':a[0].charAt(a[0].length-2)!=="/"?d=Bi.lastIndex:s+="$";break;case"text-properties":switch(c=Nt(a[0],!1),(c.color||"").toLowerCase().replace("#","")){case"ff0000":case"red":s="[Red]"+s;break}break;case"text-content":s+="@";break;case"map":c=Nt(a[0],!1),zr(c.condition)=="value()>=0"?s=n[c["apply-style-name"]]+";"+s:console.error("ODS number format may be incorrect: "+c.condition);break;case"number":if(a[1]==="/")break;c=Nt(a[0],!1),l="",l+=jr("0",+c["min-integer-digits"]||1),Tn(c.grouping)&&(l=Gd(jr("#",Math.max(0,4-l.length))+l)),(+c["min-decimal-places"]||+c["decimal-places"])&&(l+="."),+c["min-decimal-places"]&&(l+=jr("0",+c["min-decimal-places"]||1)),+c["decimal-places"]-(+c["min-decimal-places"]||0)&&(l+=jr("0",+c["decimal-places"]-(+c["min-decimal-places"]||0))),s+=l;break;case"embedded-text":a[1]==="/"?u==0?s+='"'+i.slice(d,Bi.lastIndex-a[0].length).replace(/"/g,'""')+'"':s=s.slice(0,u)+'"'+i.slice(d,Bi.lastIndex-a[0].length).replace(/"/g,'""')+'"'+s.slice(u):a[0].charAt(a[0].length-2)!=="/"&&(d=Bi.lastIndex,u=-+Nt(a[0],!1).position||0);break}return n}function Nfe(e,t,r){var n=t||{},i=rO(e),a=[],o,s,l,c="",u=0,d,f,h={},p=[],g={};n.dense&&(g["!data"]=[]);var v,m,b={value:""},y="",w=0,x="",C=0,T=[],_=[],P=-1,F=-1,I={s:{r:1e6,c:1e7},e:{r:0,c:0}},R=0,D=r||{},A={},M=[],X={},Y=0,se=0,ne=[],ie=1,ae=1,ce=[],ke={Names:[],WBProps:{}},ge={},De=["",""],Ne=[],We={},z="",J=0,j=!1,q=!1,G=0;for(Bi.lastIndex=0,i=UM(l2(i,"<!--","-->"));v=Bi.exec(i);)switch(v[3]=v[3].replace(/_[\s\S]*$/,"")){case"table":case"工作表":v[1]==="/"?(I.e.c>=I.s.c&&I.e.r>=I.s.r?g["!ref"]=Hr(I):g["!ref"]="A1:A1",n.sheetRows>0&&n.sheetRows<=I.e.r&&(g["!fullref"]=g["!ref"],I.e.r=n.sheetRows-1,g["!ref"]=Hr(I)),M.length&&(g["!merges"]=M),ne.length&&(g["!rows"]=ne),d.name=d.名称||d.name,typeof JSON<"u"&&JSON.stringify(d),p.push(d.name),h[d.name]=g,q=!1):v[0].charAt(v[0].length-2)!=="/"&&(d=Nt(v[0],!1),P=F=-1,I.s.r=I.s.c=1e7,I.e.r=I.e.c=0,g={},n.dense&&(g["!data"]=[]),M=[],ne=[],q=!0);break;case"table-row-group":v[1]==="/"?--R:++R;break;case"table-row":case"行":if(v[1]==="/"){P+=ie,ie=1;break}if(f=Nt(v[0],!1),f.行号?P=f.行号-1:P==-1&&(P=0),ie=+f["number-rows-repeated"]||1,ie<10)for(G=0;G<ie;++G)R>0&&(ne[P+G]={level:R});F=-1;break;case"covered-table-cell":v[1]!=="/"&&++F,n.sheetStubs&&(n.dense?(g["!data"][P]||(g["!data"][P]=[]),g["!data"][P][F]={t:"z"}):g[Xr({r:P,c:F})]={t:"z"}),y="",T=[];break;case"table-cell":case"数据":if(v[0].charAt(v[0].length-2)==="/")++F,b=Nt(v[0],!1),ae=parseInt(b["number-columns-repeated"]||"1",10),m={t:"z",v:null},b.formula&&n.cellFormula!=!1&&(m.f=XY(zr(b.formula))),b["style-name"]&&A[b["style-name"]]&&(m.z=A[b["style-name"]]),(b.数据类型||b["value-type"])=="string"&&(m.t="s",m.v=zr(b["string-value"]||""),n.dense?(g["!data"][P]||(g["!data"][P]=[]),g["!data"][P][F]=m):g[tn(F)+_n(P)]=m),F+=ae-1;else if(v[1]!=="/"){++F,y=x="",w=C=0,T=[],_=[],ae=1;var N=ie?P+ie-1:P;if(F>I.e.c&&(I.e.c=F),F<I.s.c&&(I.s.c=F),P<I.s.r&&(I.s.r=P),N>I.e.r&&(I.e.r=N),b=Nt(v[0],!1),Ne=[],We={},m={t:b.数据类型||b["value-type"],v:null},b["style-name"]&&A[b["style-name"]]&&(m.z=A[b["style-name"]]),n.cellFormula)if(b.formula&&(b.formula=zr(b.formula)),b["number-matrix-columns-spanned"]&&b["number-matrix-rows-spanned"]&&(Y=parseInt(b["number-matrix-rows-spanned"],10)||0,se=parseInt(b["number-matrix-columns-spanned"],10)||0,X={s:{r:P,c:F},e:{r:P+Y-1,c:F+se-1}},m.F=Hr(X),ce.push([X,m.F])),b.formula)m.f=XY(b.formula);else for(G=0;G<ce.length;++G)P>=ce[G][0].s.r&&P<=ce[G][0].e.r&&F>=ce[G][0].s.c&&F<=ce[G][0].e.c&&(m.F=ce[G][1]);switch((b["number-columns-spanned"]||b["number-rows-spanned"])&&(Y=parseInt(b["number-rows-spanned"],10)||0,se=parseInt(b["number-columns-spanned"],10)||0,X={s:{r:P,c:F},e:{r:P+Y-1,c:F+se-1}},M.push(X)),b["number-columns-repeated"]&&(ae=parseInt(b["number-columns-repeated"],10)),m.t){case"boolean":m.t="b",m.v=Tn(b["boolean-value"])||+b["boolean-value"]>=1;break;case"float":m.t="n",m.v=parseFloat(b.value),n.cellDates&&m.z&&ou(m.z)&&(m.v=Uh(m.v+(ke.WBProps.date1904?1462:0)),m.t=typeof m.v=="number"?"n":"d");break;case"percentage":m.t="n",m.v=parseFloat(b.value);break;case"currency":m.t="n",m.v=parseFloat(b.value);break;case"date":m.t="d",m.v=Va(b["date-value"],ke.WBProps.date1904),n.cellDates||(m.t="n",m.v=ca(m.v,ke.WBProps.date1904)),m.z||(m.z="m/d/yy");break;case"time":m.t="n",m.v=Qdt(b["time-value"])/86400,n.cellDates&&(m.v=Uh(m.v),m.t=typeof m.v=="number"?"n":"d"),m.z||(m.z="HH:MM:SS");break;case"number":m.t="n",m.v=parseFloat(b.数据数值);break;default:if(m.t==="string"||m.t==="text"||!m.t)m.t="s",b["string-value"]!=null&&(y=zr(b["string-value"]),T=[]);else throw new Error("Unsupported value type "+m.t)}}else{if(j=!1,m.t==="s"&&(m.v=y||"",T.length&&(m.R=T),j=w==0),ge.Target&&(m.l=ge),Ne.length>0&&(m.c=Ne,Ne=[]),y&&n.cellText!==!1&&(m.w=y),j&&(m.t="z",delete m.v),(!j||n.sheetStubs)&&!(n.sheetRows&&n.sheetRows<=P))for(var O=0;O<ie;++O){if(ae=parseInt(b["number-columns-repeated"]||"1",10),n.dense)for(g["!data"][P+O]||(g["!data"][P+O]=[]),g["!data"][P+O][F]=O==0?m:Gi(m);--ae>0;)g["!data"][P+O][F+ae]=Gi(m);else for(g[Xr({r:P+O,c:F})]=m;--ae>0;)g[Xr({r:P+O,c:F+ae})]=Gi(m);I.e.c<=F&&(I.e.c=F)}ae=parseInt(b["number-columns-repeated"]||"1",10),F+=ae-1,ae=0,m={},y="",T=[]}ge={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if(v[1]==="/"){if((o=a.pop())[0]!==v[3])throw"Bad state: "+o}else v[0].charAt(v[0].length-2)!=="/"&&a.push([v[3],!0]);break;case"annotation":if(v[1]==="/"){if((o=a.pop())[0]!==v[3])throw"Bad state: "+o;We.t=y,T.length&&(We.R=T),We.a=z,Ne.push(We),y=x,w=C,T=_}else if(v[0].charAt(v[0].length-2)!=="/"){a.push([v[3],!1]);var oe=Nt(v[0],!0);oe.display&&Tn(oe.display)||(Ne.hidden=!0),x=y,C=w,_=T,y="",w=0,T=[]}z="",J=0;break;case"creator":v[1]==="/"?z=i.slice(J,v.index):J=v.index+v[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-
570pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if(v[1]==="/"){if((o=a.pop())[0]!==v[3])throw"Bad state: "+o}else v[0].charAt(v[0].length-2)!=="/"&&a.push([v[3],!1]);y="",w=0,T=[];break;case"scientific-number":case"currency-symbol":case"fill-character":break;case"text-style":case"boolean-style":case"number-style":case"currency-style":case"percentage-style":case"date-style":case"time-style":if(v[1]==="/"){var Z=Bi.lastIndex;Dfe(i.slice(l,Bi.lastIndex),t,D),Bi.lastIndex=Z}else v[0].charAt(v[0].length-2)!=="/"&&(l=Bi.lastIndex-v[0].length);break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":{var B=Nt(v[0],!1);B.family=="table-cell"&&D[B["data-style-name"]]&&(A[B.name]=D[B["data-style-name"]])}break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":break;case"boolean":break;case"text":if(v[0].slice(-2)==="/>")break;if(v[1]==="/")switch(a[a.length-1][0]){case"number-style":case"date-style":case"time-style":c+=i.slice(u,v.index);break}else u=v.index+v[0].length;break;case"named-range":s=Nt(v[0],!1),De=bR(s["cell-range-address"]);var V={Name:s.name,Ref:De[0]+"!"+De[1]};q&&(V.Sheet=p.length),ke.Names.push(V);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":switch(s=Nt(v[0],!1),s["date-value"]){case"1904-01-01":ke.WBProps.date1904=!0;break}break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"文本串":if(["master-styles"].indexOf(a[a.length-1][0])>-1)break;if(v[1]==="/"&&(!b||!b["string-value"])){var de=qyt(i.slice(w,v.index));y=(y.length>0?y+`
571`:"")+de[0]}else v[0].slice(-2)=="/>"?y+=`
572`:(Nt(v[0],!1),w=v.index+v[0].length);break;case"s":break;case"database-range":if(v[1]==="/")break;try{De=bR(Nt(v[0])["target-range-address"]),h[De[0]]["!autofilter"]={ref:De[1]}}catch{}break;case"date":break;case"object":break;case"title":case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"filter-set-item":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-
572pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if(v[1]!=="/"){if(ge=Nt(v[0],!1),!ge.href)break;ge.Target=zr(ge.href),delete ge.href,ge.Target.charAt(0)=="#"&&ge.Target.indexOf(".")>-1?(De=bR(ge.Target.slice(1)),ge.Target="#"+De[0]+"!"+De[1]):ge.Target.match(/^\.\.[\\\/]/)&&(ge.Target=ge.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(v[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(n.WTF)throw new Error(v)}}var Pe={Sheets:h,SheetNames:p,Workbook:ke};return n.bookSheets&&delete Pe.Sheets,Pe}function n$(e,t){t=t||{},Al(e,"META-INF/manifest.xml")&&fht(Li(e,"META-INF/manifest.xml"),t);var r=Lo(e,"styles.xml"),n=r&&Dfe(Nn(r)),i=Lo(e,"content.xml");if(!i)throw new Error("Missing content.xml in ODS / UOF file");var a=Nfe(Nn(i),t,n);return Al(e,"meta.xml")&&(a.Props=Kde(Li(e,"meta.xml"))),a.bookType="ods",a}function i$(e,t){var r=Nfe(e,t);return r.bookType="fods",r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */var Ba=function(){try{return typeof Uint8Array>"u"||typeof Uint8Array.prototype.subarray>"u"?"slice":typeof Buffer<"u"?typeof Buffer.prototype.subarray>"u"?"slice":(typeof Buffer.from=="function"?Buffer.from([72,62]):new Buffer([72,62]))instanceof Uint8Array?"subarray":"slice":"subarray"}catch{return"slice"}}();function Ww(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function mv(e){return typeof TextDecoder<"u"?new TextDecoder().decode(e):Nn(gf(e))}function Mfe(e){for(var t=0,r=0;r<e.length;++r)t+=e[r].length;var n=new Uint8Array(t),i=0;for(r=0;r<e.length;++r){var a=e[r],o=a.length;if(o<250)for(var s=0;s<o;++s)n[i++]=a[s];else n.set(a,i),i+=o}return n}function sS(e){return e-=e>>1&1431655765,e=(e&858993459)+(e>>2&858993459),(e+(e>>4)&252645135)*16843009>>>24}function Wyt(e,t){for(var r=(e[t+15]&127)<<7|e[t+14]>>1,n=e[t+14]&1,i=t+13;i>=t;--i)n=n*256+e[i];return(e[t+15]&128?-n:n)*Math.pow(10,r-6176)}function P_(e,t){var r=t.l,n=e[r]&127;e:if(e[r++]>=128&&(n|=(e[r]&127)<<7,e[r++]<128||(n|=(e[r]&127)<<14,e[r++]<128)||(n|=(e[r]&127)<<21,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,28),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,35),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,42),++r,e[r++]<128)))break e;return t.l=r,n}function An(e){var t=0,r=e[t]&127;return e[t++]<128||(r|=(e[t]&127)<<7,e[t++]<128)||(r|=(e[t]&127)<<14,e[t++]<128)||(r|=(e[t]&127)<<21,e[t++]<128)||(r|=(e[t]&15)<<28),r}function Pn(e){for(var t=[],r={l:0};r.l<e.length;){var n=r.l,i=P_(e,r),a=i&7;i=i/8|0;var o,s=r.l;switch(a){case 0:{for(;e[s++]>=128;);o=e[Ba](r.l,s),r.l=s}break;case 1:o=e[Ba](s,s+8),r.l=s+8;break;case 2:{var l=P_(e,r);o=e[Ba](r.l,r.l+l),r.l+=l}break;case 5:o=e[Ba](s,s+4),r.l=s+4;break;default:throw new Error("PB Type ".concat(a," for Field ").concat(i," at offset ").concat(n))}var c={data:o,type:a};t[i]==null&&(t[i]=[]),t[i].push(c)}return t}function JM(e,t){return(e==null?void 0:e.map(function(r){return t(r.data)}))||[]}function Vyt(e){for(var t,r=[],n={l:0};n.l<e.length;){var i=P_(e,n),a=Pn(e[Ba](n.l,n.l+i));n.l+=i;var o={id:An(a[1][0].data),messages:[]};a[2].forEach(function(s){var l=Pn(s.data),c=An(l[3][0].data);o.messages.push({meta:l,data:e[Ba](n.l,n.l+c)}),n.l+=c}),(t=a[3])!=null&&t[0]&&(o.merge=An(a[3][0].data)>>>0>0),r.push(o)}return r}function jyt(e,t){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r={l:0},n=P_(t,r),i=[],a=r.l;a<t.length;){var o=t[a]&3;if(o==0){var s=t[a++]>>2;if(s<60)++s;else{var l=s-59;s=t[a],l>1&&(s|=t[a+1]<<8),l>2&&(s|=t[a+2]<<16),l>3&&(s|=t[a+3]<<24),s>>>=0,s++,a+=l}i.push(t[Ba](a,a+s)),a+=s;continue}else{var c=0,u=0;
572if(o==1?(u=(t[a]>>2&7)+4,c=(t[a++]&224)<<3,c|=t[a++]):(u=(t[a++]>>2)+1,o==2?(c=t[a]|t[a+1]<<8,a+=2):(c=(t[a]|t[a+1]<<8|t[a+2]<<16|t[a+3]<<24)>>>0,a+=4)),c==0)throw new Error("Invalid offset 0");for(var d=i.length-1,f=c;d>=0&&f>=i[d].length;)f-=i[d].length,--d;if(d<0)if(f==0)f=i[d=0].length;else throw new Error("Invalid offset beyond length");if(u<f)i.push(i[d][Ba](i[d].length-f,i[d].length-f+u));else{for(f>0&&(i.push(i[d][Ba](i[d].length-f)),u-=f),++d;u>=i[d].length;)i.push(i[d]),u-=i[d].length,++d;u&&i.push(i[d][Ba](0,u))}i.length>25&&(i=[Mfe(i)])}}for(var h=0,p=0;p<i.length;++p)h+=i[p].length;if(h!=n)throw new Error("Unexpected length: ".concat(h," != ").concat(n));return i}function Gyt(e){Array.isArray(e)&&(e=new Uint8Array(e));for(var t=[],r=0;r<e.length;){var n=e[r++],i=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push.apply(t,jyt(n,e[Ba](r,r+i))),r+=i}if(r!==e.length)throw new Error("data is not a valid framed stream!");return t.length==1?t[0]:Mfe(t)}var Kyt=function(){return{sst:[],rsst:[],ofmt:[],nfmt:[],fmla:[],ferr:[],cmnt:[]}};function Lfe(e,t,r,n,i){var a,o,s,l,c=t&255,u=t>>8,d=u>=5?i:n;e:if(r&(u>4?8:4)&&e.t=="n"&&c==7){var f=(a=d[7])!=null&&a[0]?An(d[7][0].data):-1;if(f==-1)break e;var h=(o=d[15])!=null&&o[0]?An(d[15][0].data):-1,p=(s=d[16])!=null&&s[0]?An(d[16][0].data):-1,g=(l=d[40])!=null&&l[0]?An(d[40][0].data):-1,v=e.v,m=v;t:if(g){if(v==0){h=p=2;break t}v>=604800?h=1:v>=86400?h=2:v>=3600?h=4:v>=60?h=8:v>=1?h=16:h=32,Math.floor(v)!=v?p=32:v%60?p=16:v%3600?p=8:v%86400?p=4:v%604800&&(p=2),p<h&&(p=h)}if(h==-1||p==-1)break e;var b=[],y=[];h==1&&(m=v/604800,p==1?y.push('d"d"'):(m|=0,v-=604800*m),b.push(m+(f==2?" week"+(m==1?"":"s"):f==1?"w":""))),h<=2&&p>=2&&(m=v/86400,p>2&&(m|=0,v-=86400*m),y.push('d"d"'),b.push(m+(f==2?" day"+(m==1?"":"s"):f==1?"d":""))),h<=4&&p>=4&&(m=v/3600,p>4&&(m|=0,v-=3600*m),y.push((h>=4?"[h]":"h")+'"h"'),b.push(m+(f==2?" hour"+(m==1?"":"s"):f==1?"h":""))),h<=8&&p>=8&&(m=v/60,p>8&&(m|=0,v-=60*m),y.push((h>=8?"[m]":"m")+'"m"'),f==0?b.push((h==8&&p==8||m>=10?"":"0")+m):b.push(m+(f==2?" minute"+(m==1?"":"s"):f==1?"m":""))),h<=16&&p>=16&&(m=v,p>16&&(m|=0,v-=m),y.push((h>=16?"[s]":"s")+'"s"'),f==0?b.push((p==16&&h==16||m>=10?"":"0")+m):b.push(m+(f==2?" second"+(m==1?"":"s"):f==1?"s":""))),p>=32&&(m=Math.round(1e3*v),h<32&&y.push('.000"ms"'),f==0?b.push((m>=100?"":m>=10?"0":"00")+m):b.push(m+(f==2?" millisecond"+(m==1?"":"s"):f==1?"ms":""))),e.w=b.join(f==0?":":" "),e.z=y.join(f==0?'":"':" "),f==0&&(e.w=e.w.replace(/:(\d\d\d)$/,".$1"))}}function Zyt(e,t,r,n){var i=Ww(e),a=i.getUint32(4,!0),o=-1,s=-1,l=-1,c=NaN,u=0,d=new Date(Date.UTC(2001,0,1)),f=r>1?12:8;a&2&&(l=i.getUint32(f,!0),f+=4),f+=sS(a&(r>1?3468:396))*4,a&512&&(o=i.getUint32(f,!0),f+=4),f+=sS(a&(r>1?12288:4096))*4,a&16&&(s=i.getUint32(f,!0),f+=4),a&32&&(c=i.getFloat64(f,!0),f+=8),a&64&&(d.setTime(d.getTime()+(u=i.getFloat64(f,!0))*1e3),f+=8),r>1&&(a=i.getUint32(8,!0)>>>16,a&255&&(l==-1&&(l=i.getUint32(f,!0)),f+=4));var h,p=e[r>=4?1:2];switch(p){case 0:return;case 2:h={t:"n",v:c};break;case 3:h={t:"s",v:t.sst[s]};break;case 5:n!=null&&n.cellDates?h={t:"d",v:d}:h={t:"n",v:u/86400+35430,z:sr[14]};break;case 6:h={t:"b",v:c>0};break;case 7:h={t:"n",v:c};break;case 8:h={t:"e",v:0};break;case 9:if(o>-1){var g=t.rsst[o];h={t:"s",v:g.v},g.l&&(h.l={Target:g.l})}else throw new Error("Unsupported cell type ".concat(e[Ba](0,4)));break;default:throw new Error("Unsupported cell type ".concat(e[Ba](0,4)))}return l>-1&&Lfe(h,p|r<<8,a,t.ofmt[l],t.nfmt[l]),p==7&&(h.v/=86400),h}function Yyt(e,t,r){var n=Ww(e);n.getUint32(4,!0);var i=n.getUint32(8,!0),a=12,o=-1,s=-1,l=-1,c=NaN,u=NaN,d=0,f=new Date(Date.UTC(2001,0,1));i&1&&(c=Wyt(e,a),a+=16),i&2&&(u=n.getFloat64(a,!0),a+=8),i&4&&(f.setTime(f.getTime()+(d=n.getFloat64(a,!0))*1e3),a+=8),i&8&&(s=n.getUint32(a,!0),a+=4),i&16&&(o=n.getUint32(a,!0),a+=4),a+=sS(i&480)*4,i&512&&(n.getUint32(a,!0),a+=4),a+=sS(i&1024)*4,i&2048&&(n.getUint32(a,!0),a+=4);var h,p=e[1];switch(p){case 0:h={t:"z"};break;case 2:h={t:"n",v:c};break;case 3:h={t:"s",v:t.sst[s]};break;case 5:r!=null&&r.cellDates?h={t:"d",v:f}:h={t:"n",v:d/86400+35430,z:sr[14]};break;case 6:h={t:"b",v:u>0};break;case 7:h={t:"n",v:u};break;case 8:h={t:"e",v:0};break;case 9:if(o>
572-1){var g=t.rsst[o];h={t:"s",v:g.v},g.l&&(h.l={Target:g.l})}else throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(i&31," : ").concat(e[Ba](0,4)));break;case 10:h={t:"n",v:c};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(i&31," : ").concat(e[Ba](0,4)))}if(a+=sS(i&4096)*4,i&516096&&(l==-1&&(l=n.getUint32(a,!0)),a+=4),i&524288){var v=n.getUint32(a,!0);a+=4,t.cmnt[v]&&(h.c=Jyt(t.cmnt[v]))}return l>-1&&Lfe(h,p|1280,i>>13,t.ofmt[l],t.nfmt[l]),p==7&&(h.v/=86400),h}function $yt(e,t,r){switch(e[0]){case 0:case 1:case 2:case 3:case 4:return Zyt(e,t,e[0],r);case 5:return Yyt(e,t,r);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function va(e){var t=Pn(e);return An(t[1][0].data)}function Op(e,t){var r=Pn(t.data),n=An(r[1][0].data),i=r[3],a=[];return(i||[]).forEach(function(o){var s,l,c=Pn(o.data);if(c[1]){var u=An(c[1][0].data)>>>0;switch(n){case 1:a[u]=mv(c[3][0].data);break;case 8:{var d=e[va(c[9][0].data)][0],f=Pn(d.data),h=e[va(f[1][0].data)][0],p=An(h.meta[1][0].data);if(p!=2001)throw new Error("2000 unexpected reference to ".concat(p));var g=Pn(h.data),v={v:g[3].map(function(y){return mv(y.data)}).join("")};a[u]=v;e:if((s=g==null?void 0:g[11])!=null&&s[0]){var m=(l=Pn(g[11][0].data))==null?void 0:l[1];if(!m)break e;m.forEach(function(y){var w,x,C,T=Pn(y.data);if((w=T[2])!=null&&w[0]){var _=e[va((x=T[2])==null?void 0:x[0].data)][0],P=An(_.meta[1][0].data);switch(P){case 2032:var F=Pn(_.data);(C=F==null?void 0:F[2])!=null&&C[0]&&!v.l&&(v.l=mv(F[2][0].data));break;case 2039:break;default:console.log("unrecognized ObjectAttribute type ".concat(P))}}})}}break;case 2:a[u]=Pn(c[6][0].data);break;case 3:a[u]=Pn(c[5][0].data);break;case 10:{var b=e[va(c[10][0].data)][0];a[u]=Bfe(e,b.data)}break;default:throw n}}}),a}function Xyt(e,t){var r,n,i,a,o,s,l,c,u,d,f,h,p,g,v=Pn(e),m=An(v[1][0].data)>>>0,b=An(v[2][0].data)>>>0,y=((n=(r=v[8])==null?void 0:r[0])==null?void 0:n.data)&&An(v[8][0].data)>0||!1,w,x;if((a=(i=v[7])==null?void 0:i[0])!=null&&a.data&&t!=0)w=(s=(o=v[7])==null?void 0:o[0])==null?void 0:s.data,x=(c=(l=v[6])==null?void 0:l[0])==null?void 0:c.data;else if((d=(u=v[4])==null?void 0:u[0])!=null&&d.data&&t!=1)w=(h=(f=v[4])==null?void 0:f[0])==null?void 0:h.data,x=(g=(p=v[3])==null?void 0:p[0])==null?void 0:g.data;else throw"NUMBERS Tile missing ".concat(t," cell storage");for(var C=y?4:1,T=Ww(w),_=[],P=0;P<w.length/2;++P){var F=T.getUint16(P*2,!0);F<65535&&_.push([P,F])}if(_.length!=b)throw"Expected ".concat(b," cells, found ").concat(_.length);var I=[];for(P=0;P<_.length-1;++P)I[_[P][0]]=x[Ba](_[P][1]*C,_[P+1][1]*C);return _.length>=1&&(I[_[_.length-1][0]]=x[Ba](_[_.length-1][1]*C)),{R:m,cells:I}}function Qyt(e,t){var r,n=Pn(t.data),i=-1;(r=n==null?void 0:n[7])!=null&&r[0]&&(An(n[7][0].data)>>>0?i=1:i=0);var a=JM(n[5],function(o){return Xyt(o,i)});return{nrows:An(n[4][0].data)>>>0,data:a.reduce(function(o,s){return o[s.R]||(o[s.R]=[]),s.cells.forEach(function(l,c){if(o[s.R][c])throw new Error("Duplicate cell r=".concat(s.R," c=").concat(c));o[s.R][c]=l}),o},[])}}function Bfe(e,t){var r,n,i,a,o,s,l,c,u,d,f={t:"",a:""},h=Pn(t);if((n=(r=h==null?void 0:h[1])==null?void 0:r[0])!=null&&n.data&&(f.t=mv((a=(i=h==null?void 0:h[1])==null?void 0:i[0])==null?void 0:a.data)||""),(s=(o=h==null?void 0:h[3])==null?void 0:o[0])!=null&&s.data){var p=e[va((c=(l=h==null?void 0:h[3])==null?void 0:l[0])==null?void 0:c.data)][0],g=Pn(p.data);(d=(u=g[1])==null?void 0:u[0])!=null&&d.data&&(f.a=mv(g[1][0].data))}return h!=null&&h[4]&&(f.replies=[],h[4].forEach(function(v){var m=e[va(v.data)][0];f.replies.push(Bfe(e,m.data))})),f}function Jyt(e){var t=[];return t.push({t:e.t||"",a:e.a,T:e.replies&&e.replies.length>0}),e.replies&&e.replies.forEach(function(r){t.push({t:r.t||"",a:r.a,T:!0})}),t}function e1t(e,t,r,n){var i,a,o,s,l,c,u,d,f,h,p=Pn(t.data),g={s:{r:0,c:0},e:{r:0,c:0}};if(g.e.r=(An(p[6][0].data)>>>0)-1,g.e.r<0)throw new Error("Invalid row varint ".concat(p[6][0].data));if(g.e.c=(An(p[7][0].data)>>>0)-1,g.e.c<0)throw new Error("Invalid col varint ".concat(p[7][0].data));r["!ref"]=Hr(g);var v=r["!data"]!=null,m=r,b=Pn(p[4][0].data),y=Kyt();(i=b[4])!=null&&i[0]&&(y.sst=Op(e,e[va(b[4][0].data)][0])),(a=b[6])!=null&&a[0]&&(y.fmla=Op(e,e[va(b[6][0].data)][0])),(o=b[11])!=null&&o[0]&&(y.ofmt=Op(e,e[va(b[11][0].data)][0])),(s=b[12])!=null&&s[0]&&(y.ferr=Op(e,e[va(b[12][0].data)][0])),(l=b[17])!=null&&l[0]&&(y.rsst=Op(e,e[va(b[17][0].data)][0])),(c=b[19])!=null&&c[0]&&(y.cmnt=Op(e,e[va(b[19][0].data)][0])),(u=b[22])!=null&&u[0]&&(y.nfmt=Op(e,e[va(b[22][0].data)][0]));var w=Pn(b[3][0].data),x=0;if(!((d=b[9])!=null&&d[0]))throw"NUMBERS file missing row tree";var C=Pn(b[9][0].data)[1].map(function(P){return Pn(P.data)});if(C.forEach(function(P){x=An(P[1][0].data);var F=An(P[2][0].data),I=w[1][F];if(!I)throw"NUMBERS missing tile "+F;var R=Pn(I.data),D=e[va(R[2][0].data)][0],A=An(D.meta[1][0].data);if(A!=6002)throw new Error("6001 unexpected reference to ".concat(A));var M=Qyt(e,D);
572M.data.forEach(function(X,Y){X.forEach(function(se,ne){var ie=$yt(se,y,n);ie&&(v?(m["!data"][x+Y]||(m["!data"][x+Y]=[]),m["!data"][x+Y][ne]=ie):r[tn(ne)+_n(x+Y)]=ie)})}),x+=M.nrows}),(f=b[13])!=null&&f[0]){var T=e[va(b[13][0].data)][0],_=An(T.meta[1][0].data);if(_!=6144)throw new Error("Expected merge type 6144, found ".concat(_));r["!merges"]=(h=Pn(T.data))==null?void 0:h[1].map(function(P){var F=Pn(P.data),I=Ww(Pn(F[1][0].data)[1][0].data),R=Ww(Pn(F[2][0].data)[1][0].data);return{s:{r:I.getUint16(0,!0),c:I.getUint16(2,!0)},e:{r:I.getUint16(0,!0)+R.getUint16(0,!0)-1,c:I.getUint16(2,!0)+R.getUint16(2,!0)-1}}})}}function t1t(e,t,r){var n=Pn(t.data),i={"!ref":"A1"};r!=null&&r.dense&&(i["!data"]=[]);var a=e[va(n[2][0].data)],o=An(a[0].meta[1][0].data);if(o!=6001)throw new Error("6000 unexpected reference to ".concat(o));return e1t(e,a[0],i,r),i}function r1t(e,t,r){var n,i=Pn(t.data),a={name:(n=i[1])!=null&&n[0]?mv(i[1][0].data):"",sheets:[]},o=JM(i[2],va);return o.forEach(function(s){e[s].forEach(function(l){var c=An(l.meta[1][0].data);c==6e3&&a.sheets.push(t1t(e,l,r))})}),a}function n1t(e,t,r){var n,i=rL();i.Workbook={WBProps:{date1904:!0}};var a=Pn(t.data);if((n=a[2])!=null&&n[0])throw new Error("Keynote presentations are not supported");var o=JM(a[1],va);if(o.forEach(function(s){e[s].forEach(function(l){var c=An(l.meta[1][0].data);if(c==2){var u=r1t(e,l,r);u.sheets.forEach(function(d,f){p2(i,d,f==0?u.name:u.name+"_"+f,!0)})}})}),i.SheetNames.length==0)throw new Error("Empty NUMBERS file");return i.bookType="numbers",i}function wR(e,t){var r,n,i,a,o,s,l,c={},u=[];if(e.FullPaths.forEach(function(f){if(f.match(/\.iwpv2/))throw new Error("Unsupported password protection")}),e.FileIndex.forEach(function(f){if(f.name.match(/\.iwa$/)&&f.content[0]==0){var h;try{h=Gyt(f.content)}catch(g){return console.log("?? "+f.content.length+" "+(g.message||g))}var p;try{p=Vyt(h)}catch(g){return console.log("## "+(g.message||g))}p.forEach(function(g){c[g.id]=g.messages,u.push(g.id)})}}),!u.length)throw new Error("File has no messages");if((i=(n=(r=c==null?void 0:c[1])==null?void 0:r[0].meta)==null?void 0:n[1])!=null&&i[0].data&&An(c[1][0].meta[1][0].data)==1e4)throw new Error("Pages documents are not supported");var d=((l=(s=(o=(a=c==null?void 0:c[1])==null?void 0:a[0])==null?void 0:o.meta)==null?void 0:s[1])==null?void 0:l[0].data)&&An(c[1][0].meta[1][0].data)==1&&c[1][0];if(d||u.forEach(function(f){c[f].forEach(function(h){var p=An(h.meta[1][0].data)>>>0;if(p==1)if(!d)d=h;else throw new Error("Document has multiple roots")})}),!d)throw new Error("Cannot find Document root");return n1t(c,d,t)}function i1t(e){return function(r){for(var n=0;n!=e.length;++n){var i=e[n];r[i[0]]===void 0&&(r[i[0]]=i[1]),i[2]==="n"&&(r[i[0]]=Number(r[i[0]]))}}}function eL(e){i1t([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)}function a1t(e){return Bg.WS.indexOf(e)>-1?"sheet":e==Bg.CS?"chart":e==Bg.DS?"dialog":e==Bg.MS?"macro":e&&e.length?e:"sheet"}function o1t(e,t){if(!e)return 0;try{e=t.map(function(n){return n.id||(n.id=n.strRelID),[n.name,e["!id"][n.id].Target,a1t(e["!id"][n.id].Type)]})}catch{return null}return!e||e.length===0?null:e}function s1t(e,t,r,n,i,a,o,s){if(!(!e||!e["!legdrawel"])){var l=Lg(e["!legdrawel"].Target,n),c=Lo(r,l,!0);c&&p0t(Nn(c),e,s||[])}}function l1t(e,t,r,n,i,a,o,s,l,c,u,d){try{a[n]=rS(Lo(e,r,!0),t);var f=Li(e,t),h;switch(s){case"sheet":h=dyt(f,t,i,l,a[n],c,u,d);break;case"chart":if(h=fyt(f,t,i,l,a[n],c,u,d),!h||!h["!drawel"])break;var p=Lg(h["!drawel"].Target,t),g=rN(p),v=h0t(Lo(e,p,!0),rS(Lo(e,g,!0),p)),m=Lg(v,p),b=rN(m);h=Zvt(Lo(e,m,!0),m,l,rS(Lo(e,b,!0),m),c,h);break;case"macro":h=hyt(f,t,i,l,a[n],c,u,d);break;case"dialog":h=pyt(f,t,i,l,a[n],c,u,d);break;default:throw new Error("Unrecognized sheet type "+s)}o[n]=h;var y=[],w=[];a&&a[n]&&Yl(a[n]).forEach(function(x){var C="";if(a[n][x].Type==Bg.CMNT){if(C=Lg(a[n][x].Target,t),y=vyt(Li(e,C,!0),C,l),!y||!y.length)return;jY(h,y,!1)}a[n][x].Type==Bg.TCMNT&&(C=Lg(a[n][x].Target,t),w=w.concat(g0t(Li(e,C,!0),l)))}),w&&w.length&&jY(h,w,!0,l.people||[]),s1t(h,s,e,t,i,l,c,y)}
572catch(x){if(l.WTF)throw x}}function El(e){return e.charAt(0)=="/"?e.slice(1):e}function c1t(e,t){if(yde(),t=t||{},eL(t),Al(e,"META-INF/manifest.xml")||Al(e,"objectdata.xml"))return n$(e,t);if(Al(e,"Index/Document.iwa")){if(typeof Uint8Array>"u")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof wR<"u"){if(e.FileIndex)return wR(e,t);var r=Gr.utils.cfb_new();return vY(e).forEach(function(M){pft(r,M,hft(e,M))}),wR(r,t)}throw new Error("Unsupported NUMBERS file")}if(!Al(e,"[Content_Types].xml")){if(Al(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Al(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");var n=Gr.find(e,"Index.zip");if(n)return t=Gi(t),delete t.type,typeof n.content=="string"&&(t.type="binary"),typeof Bun<"u"&&Buffer.isBuffer(n.content)?Vw(new Uint8Array(n.content),t):Vw(n.content,t);throw new Error("Unsupported ZIP file")}var i=vY(e),a=uht(Lo(e,"[Content_Types].xml")),o=!1,s,l;if(a.workbooks.length===0&&(l="xl/workbook.xml",Li(e,l,!0)&&a.workbooks.push(l)),a.workbooks.length===0){if(l="xl/workbook.bin",!Li(e,l,!0))throw new Error("Could not find workbook");a.workbooks.push(l),o=!0}a.workbooks[0].slice(-3)=="bin"&&(o=!0);var c={},u={};if(!t.bookSheets&&!t.bookProps){if(iS=[],a.sst)try{iS=gyt(Li(e,El(a.sst)),a.sst,t)}
vendor: 5,969 bytes, line 572
572catch(M){if(t.WTF)throw M}t.cellStyles&&a.themes.length&&(c=mfe(Lo(e,a.themes[0].replace(/^\//,""),!0)||"",t)),a.style&&(u=myt(Li(e,El(a.style)),a.style,c,t))}a.links.map(function(M){try{var X=rS(Lo(e,rN(El(M))),M);return byt(Li(e,El(M)),X,M,t)}catch{}});var d=uyt(Li(e,El(a.workbooks[0])),a.workbooks[0],t),f={},h="";a.coreprops.length&&(h=Li(e,El(a.coreprops[0]),!0),h&&(f=Kde(h)),a.extprops.length!==0&&(h=Li(e,El(a.extprops[0]),!0),h&&pht(h,f,t)));var p={};(!t.bookSheets||t.bookProps)&&a.custprops.length!==0&&(h=Lo(e,El(a.custprops[0]),!0),h&&(p=ght(h,t)));var g={};if((t.bookSheets||t.bookProps)&&(d.Sheets?s=d.Sheets.map(function(X){return X.name}):f.Worksheets&&f.SheetNames.length>0&&(s=f.SheetNames),t.bookProps&&(g.Props=f,g.Custprops=p),t.bookSheets&&typeof s<"u"&&(g.SheetNames=s),t.bookSheets?g.SheetNames:t.bookProps))return g;s={};var v={};t.bookDeps&&a.calcchain&&(v=yyt(Li(e,El(a.calcchain)),a.calcchain));var m=0,b={},y,w;{var x=d.Sheets;f.Worksheets=x.length,f.SheetNames=[];for(var C=0;C!=x.length;++C)f.SheetNames[C]=x[C].name}var T=o?"bin":"xml",_=a.workbooks[0].lastIndexOf("/"),P=(a.workbooks[0].slice(0,_+1)+"_rels/"+a.workbooks[0].slice(_+1)+".rels").replace(/^\//,"");Al(e,P)||(P="xl/_rels/workbook."+T+".rels");var F=rS(Lo(e,P,!0),P.replace(/_rels.*/,"s5s"));(a.metadata||[]).length>=1&&(t.xlmeta=Syt(Li(e,El(a.metadata[0])),a.metadata[0],t)),(a.people||[]).length>=1&&(t.people=v0t(Li(e,El(a.people[0])),t)),F&&(F=o1t(F,d.Sheets));var I=Li(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(m=0;m!=f.Worksheets;++m){var R="sheet";if(F&&F[m]?(y="xl/"+F[m][1].replace(/[\/]?xl\//,""),Al(e,y)||(y=F[m][1]),Al(e,y)||(y=P.replace(/_rels\/[\S\s]*$/,"")+F[m][1]),R=F[m][2]):(y="xl/worksheets/sheet"+(m+1-I)+"."+T,y=y.replace(/sheet0\./,"sheet.")),w=y.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&t.sheets!=null)switch(typeof t.sheets){case"number":if(m!=t.sheets)continue e;break;case"string":if(f.SheetNames[m].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var D=!1,A=0;A!=t.sheets.length;++A)typeof t.sheets[A]=="number"&&t.sheets[A]==m&&(D=1),typeof t.sheets[A]=="string"&&t.sheets[A].toLowerCase()==f.SheetNames[m].toLowerCase()&&(D=1);if(!D)continue e}}l1t(e,y,w,f.SheetNames[m],m,b,s,R,t,d,c,u)}return g={Directory:a,Workbook:d,Props:f,Custprops:p,Deps:v,Sheets:s,SheetNames:f.SheetNames,Strings:iS,Styles:u,Themes:c,SSF:Gi(sr)},t&&t.bookFiles&&(e.files?(g.keys=i,g.files=e.files):(g.keys=[],g.files={},e.FullPaths.forEach(function(M,X){M=M.replace(/^Root Entry[\/]/,""),g.keys.push(M),g.files[M]=e.FileIndex[X]}))),t&&t.bookVBA&&(a.vba.length>0?g.vbaraw=Li(e,El(a.vba[0]),!0):a.defaults&&a.defaults.bin===w0t&&(g.vbaraw=Li(e,"xl/vbaProject.bin",!0))),g.bookType=o?"xlsb":"xlsx",g}function u1t(e,t){var r=t||{},n="Workbook",i=Gr.find(e,n);try{if(n="/!DataSpaces/Version",i=Gr.find(e,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(smt(i.content),n="/!DataSpaces/DataSpaceMap",i=Gr.find(e,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var a=cmt(i.content);if(a.length!==1||a[0].comps.length!==1||a[0].comps[0].t!==0||a[0].name!=="StrongEncryptionDataSpace"||a[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",i=Gr.find(e,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var o=umt(i.content);if(o.length!=1||o[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",i=Gr.find(e,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);fmt(i.content)}catch{}if(n="/EncryptionInfo",i=Gr.find(e,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);var s=hmt(i.content);if(n="/EncryptedPackage",i=Gr.find(e,n),!i||!i.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(s[0]==4&&typeof decrypt_agile<"u")return decrypt_agile(s[1],i.content,r.password||"",r);if(s[0]==2&&typeof decrypt_std76<"u")return decrypt_std76(s[1],i.content,r.password||"",r);throw new Error("File is password-protected")}function tL(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=cl(e.slice(0,12));break;case"binary":r=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function d1t(e,t){return Gr.find(e,"EncryptedPackage")?u1t(e,t):Ife(e,t)}function f1t(e,t){var r,n=e,i=t||{};return i.type||(i.type=Ur&&Buffer.isBuffer(e)?"buffer":"base64"),r=Ede(n,i),c1t(r,i)}function Ufe(e,t){var r=0;e:for(;r<e.length;)switch(e.charCodeAt(r)){case 10:case 13:case 32:++r;break;case 60:return aN(e.slice(r),t);default:break e}return zw.to_workbook(e,t)}function h1t(e,t){var r="",n=tL(e,t);switch(t.type){case"base64":r=cl(e);break;case"binary":r=e;break;case"buffer":r=e.toString("binary");break;case"array":r=e0(e);break;default:throw new Error("Unrecognized type "+t.type)}return n[0]==239&&n[1]==187&&n[2]==191&&(r=Nn(r)),t.type="binary",Ufe(r,t)}function p1t(e,t){var r=e;return t.type=="base64"&&(r=cl(r)),typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer&&(r=new Uint8Array(e)),r=Ur&&Buffer.isBuffer(e)?e.slice(2).toString("utf16le"):typeof Uint8Array<"u"&&r instanceof Uint8Array?typeof TextDecoder<"u"?new TextDecoder("utf-16le").decode(r.slice(2)):bdt(r.slice(2)):lde(r.slice(2)),t.type="binary",Ufe(r,t)}function m1t(e){return e.match(/[^\x00-\x7F]/)?ub(e):e}function xR(e,t,r,n){return n?(r.type="string",zw.to_workbook(e,r)):zw.to_workbook(t,r)}function Vw(e,t){sde();var r=t||{};if(r.codepage&&console.error("Codepage tables are not loaded.  Non-ASCII characters may not give expected results"),t
572ypeof ArrayBuffer<"u"&&e instanceof ArrayBuffer)return Vw(new Uint8Array(e),(r=Gi(r),r.type="array",r));typeof Uint8Array<"u"&&e instanceof Uint8Array&&!r.type&&(r.type=typeof Deno<"u"?"buffer":"array");var n=e,i=[0,0,0,0],a=!1;if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),pv={},r.dateNF&&(pv.dateNF=r.dateNF),r.type||(r.type=Ur&&Buffer.isBuffer(e)?"buffer":"base64"),r.type=="file"&&(r.type=Ur?"buffer":"binary",n=Ydt(e),typeof Uint8Array<"u"&&!Ur&&(r.type="array")),r.type=="string"&&(a=!0,r.type="binary",r.codepage=65001,n=m1t(e)),r.type=="array"&&typeof Uint8Array<"u"&&e instanceof Uint8Array&&typeof ArrayBuffer<"u"){var o=new ArrayBuffer(3),s=new Uint8Array(o);if(s.foo="bar",!s.foo)return r=Gi(r),r.type="array",Vw(NM(n),r)}switch((i=tL(n,r))[0]){case 208:if(i[1]===207&&i[2]===17&&i[3]===224&&i[4]===161&&i[5]===177&&i[6]===26&&i[7]===225)return d1t(Gr.read(n,r),r);break;case 9:if(i[1]<=8)return Ife(n,r);break;case 60:return aN(n,r);case 73:if(i[1]===73&&i[2]===42&&i[3]===0)throw new Error("TIFF Image File is not a spreadsheet");if(i[1]===68)return $pt(n,r);break;case 84:if(i[1]===65&&i[2]===66&&i[3]===76)return Zpt.to_workbook(n,r);break;case 80:return i[1]===75&&i[2]<9&&i[3]<9?f1t(n,r):xR(e,n,r,a);case 239:return i[3]===60?aN(n,r):xR(e,n,r,a);case 255:if(i[1]===254)return p1t(n,r);if(i[1]===0&&i[2]===2&&i[3]===0)return nS.to_workbook(n,r);break;case 0:if(i[1]===0&&(i[2]>=2&&i[3]===0||i[2]===0&&(i[3]===8||i[3]===9)))return nS.to_workbook(n,r);break;case 3:case 131:case 139:case 140:return VY.to_workbook(n,r);case 123:if(i[1]===92&&i[2]===114&&i[3]===116)return Tmt(n,r);break;case 10:case 13:case 32:return h1t(n,r);case 137:if(i[1]===80&&i[2]===78&&i[3]===71)throw new Error("PNG Image File is not a spreadsheet");break;case 8:if(i[1]===231)throw new Error("Unsupported Multiplan 1.x file!");break;case 12:if(i[1]===236)throw new Error("Unsupported Multiplan 2.x file!");if(i[1]===237)throw new Error("Unsupported Multiplan 3.x file!");break}return Gpt.indexOf(i[0])>-1&&i[2]<=12&&i[3]<=31?VY.to_workbook(n,r):xR(e,n,r,a)}function g1t(e,t,r,n,i,a,o){var s=_n(r),l=o.defval,c=o.raw||!Object.prototype.hasOwnProperty.call(o,"raw"),u=!0,d=e["!data"]!=null,f=i===1?[]:{};if(i!==1)if(Object.defineProperty)try{Object.defineProperty(f,"__rowNum__",{value:r,enumerable:!1})}catch{f.__rowNum__=r}else f.__rowNum__=r;if(!d||e["!data"][r])for(var h=t.s.c;h<=t.e.c;++h){var p=d?(e["!data"][r]||[])[h]:e[n[h]+s];if(p==null||p.t===void 0){if(l===void 0)continue;a[h]!=null&&(f[a[h]]=l);continue}var g=p.v;switch(p.t){case"z":if(g==null)break;continue;case"e":g=g==0?null:void 0;break;case"s":case"b":case"n":if(!p.z||!ou(p.z)||(g=Uh(g),typeof g=="number"))break;case"d":o&&(o.UTC||o.raw===!1)||(g=t0(new Date(g)));break;default:throw new Error("unrecognized type "+p.t)}if(a[h]!=null){if(g==null)if(p.t=="e"&&g===null)f[a[h]]=null;else if(l!==void 0)f[a[h]]=l;else if(c&&g===null)f[a[h]]=null;else continue;else f[a[h]]=(p.t==="n"&&typeof o.rawNumbers=="boolean"?o.rawNumbers:c)?g:tp(p,g,o);g!=null&&(u=!1)}}return{row:f,isempty:u}}function sN(e,t){if(e==null||e["!ref"]==null)return[];var r={t:"n",v:0},n=0,i=1,a=[],o=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},u=c.range!=null?c.range:e["!ref"];switch(c.header===1?n=1:c.header==="A"?n=2:Array.isArray(c.header)?n=3:c.header==null&&(n=0),typeof u){case"string":l=Ri(u);break;case"number":l=Ri(e["!ref"]),l.s.r=u;break;default:l=u}n>0&&(i=0);var d=_n(l.s.r),f=[],h=[],p=0,g=0,v=e["!data"]!=null,m=l.s.r,b=0,y={};v&&!e["!data"][m]&&(e["!data"][m]=[]);var w=c.skipHidden&&e["!cols"]||[],x=c.skipHidden&&e["!rows"]||[];for(b=l.s.c;b<=l.e.c;++b)if(!(w[b]||{}).hidden)switch(f[b]=tn(b),r=v?e["!data"][m][b]:e[f[b]+d],n){case 1:a[b]=b-l.s.c;break;case 2:a[b]=f[b];break;case 3:a[b]=c.header[b-l.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),s=o=tp(r,null,c),g=y[o]||0,!g)y[o]=1;else{do s=o+"_"+g++;while(y[s]);y[o]=g,y[s]=1}a[b]=s}for(m=l.s.r+i;m<=l.e.r;++m)if(!(x[m]||{}).hidden){var C=g1t(e,l,m,f,n,a,c);(C.isempty===!1||(n===1?c.blankrows!==!1:c.blankrows))&&(h[p++]=C.row)}return h.length=p,h}var a$=/"/g;function v1t(e,t,r,n,i,a,o,s){for(var l=!0,c=[],u="",d=_n(r),f=e["!data"]!=null,h=f&&e["!data"][r]||[],p=t.s.c;p<=t.e.c;
vendor: 5,135 bytes, lines 572-574
572++p)if(n[p]){var g=f?h[p]:e[n[p]+d];if(g==null)u="";else if(g.v!=null){l=!1,u=""+(s.rawNumbers&&g.t=="n"?g.v:tp(g,null,s));for(var v=0,m=0;v!==u.length;++v)if((m=u.charCodeAt(v))===i||m===a||m===34||s.forceQuotes){u='"'+u.replace(a$,'""')+'"';break}u=="ID"&&(u='"ID"')}else g.f!=null&&!g.F?(l=!1,u="="+g.f,u.indexOf(",")>=0&&(u='"'+u.replace(a$,'""')+'"')):u="";c.push(u)}if(s.strip)for(;c[c.length-1]==="";)--c.length;return s.blankrows===!1&&l?null:c.join(o)}function zfe(e,t){var r=[],n=t??{};if(e==null||e["!ref"]==null)return"";for(var i=Ri(e["!ref"]),a=n.FS!==void 0?n.FS:",",o=a.charCodeAt(0),s=n.RS!==void 0?n.RS:`
573`,l=s.charCodeAt(0),c="",u=[],d=n.skipHidden&&e["!cols"]||[],f=n.skipHidden&&e["!rows"]||[],h=i.s.c;h<=i.e.c;++h)(d[h]||{}).hidden||(u[h]=tn(h));for(var p=0,g=i.s.r;g<=i.e.r;++g)(f[g]||{}).hidden||(c=v1t(e,i,g,u,o,l,a,n),c!=null&&(c||n.blankrows!==!1)&&r.push((p++?s:"")+c));return r.join("")}function y1t(e,t){t||(t={}),t.FS="	",t.RS=`
574`;var r=zfe(e,t);return r}function b1t(e){var t="",r,n="";if(e==null||e["!ref"]==null)return[];var i=Ri(e["!ref"]),a="",o=[],s,l=[],c=e["!data"]!=null;for(s=i.s.c;s<=i.e.c;++s)o[s]=tn(s);for(var u=i.s.r;u<=i.e.r;++u)for(a=_n(u),s=i.s.c;s<=i.e.c;++s)if(t=o[s]+a,r=c?(e["!data"][u]||[])[s]:e[t],n="",r!==void 0){if(r.F!=null){if(t=r.F,!r.f)continue;n=r.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}l[l.length]=t+"="+n}return l}function Hfe(e,t,r){var n=r||{},i=e?e["!data"]!=null:n.dense,a=+!n.skipHeader,o=e||{};!e&&i&&(o["!data"]=[]);var s=0,l=0;if(o&&n.origin!=null)if(typeof n.origin=="number")s=n.origin;else{var c=typeof n.origin=="string"?po(n.origin):n.origin;s=c.r,l=c.c}var u={s:{c:0,r:0},e:{c:l,r:s+t.length-1+a}};if(o["!ref"]){var d=Ri(o["!ref"]);u.e.c=Math.max(u.e.c,d.e.c),u.e.r=Math.max(u.e.r,d.e.r),s==-1&&(s=d.e.r+1,u.e.r=s+t.length-1+a)}else s==-1&&(s=0,u.e.r=t.length-1+a);var f=n.header||[],h=0,p=[];t.forEach(function(v,m){i&&!o["!data"][s+m+a]&&(o["!data"][s+m+a]=[]),i&&(p=o["!data"][s+m+a]),Yl(v).forEach(function(b){(h=f.indexOf(b))==-1&&(f[h=f.length]=b);var y=v[b],w="z",x="",C=i?"":tn(l+h)+_n(s+m+a),T=i?p[l+h]:o[C];y&&typeof y=="object"&&!(y instanceof Date)?i?p[l+h]=y:o[C]=y:(typeof y=="number"?w="n":typeof y=="boolean"?w="b":typeof y=="string"?w="s":y instanceof Date?(w="d",n.UTC||(y=tO(y)),n.cellDates||(w="n",y=ca(y)),x=T!=null&&T.z&&ou(T.z)?T.z:n.dateNF||sr[14]):y===null&&n.nullError&&(w="e",y=0),T?(T.t=w,T.v=y,delete T.w,delete T.R,x&&(T.z=x)):i?p[l+h]=T={t:w,v:y}:o[C]=T={t:w,v:y},x&&(T.z=x))})}),u.e.c=Math.max(u.e.c,l+f.length-1);var g=_n(s);if(i&&!o["!data"][s]&&(o["!data"][s]=[]),a)for(h=0;h<f.length;++h)i?o["!data"][s][h+l]={t:"s",v:f[h]}:o[tn(h+l)+g]={t:"s",v:f[h]};return o["!ref"]=Hr(u),o}function S1t(e,t){return Hfe(null,e,t)}function jw(e,t,r){if(typeof t=="string"){if(e["!data"]!=null){var n=po(t);return e["!data"][n.r]||(e["!data"][n.r]=[]),e["!data"][n.r][n.c]||(e["!data"][n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return typeof t!="number"?jw(e,Xr(t)):jw(e,tn(r||0)+_n(t))}function w1t(e,t){if(typeof t=="number"){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}else if(typeof t=="string"){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}else throw new Error("Cannot find sheet |"+t+"|")}function rL(e,t){var r={SheetNames:[],Sheets:{}};return e&&p2(r,e,t||"Sheet1"),r}function p2(e,t,r,n){var i=1;if(!r)for(;i<=65535&&e.SheetNames.indexOf(r="Sheet"+i)!=-1;++i,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0&&r.length<32){var a=r.match(/\d+$/);i=a&&+a[0]||0;var o=a&&r.slice(0,a.index)||r;for(++i;i<=65535&&e.SheetNames.indexOf(r=o+i)!=-1;++i);}if(ryt(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function x1t(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=w1t(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r}function C1t(e,t){return e.z=t,e}function qfe(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function E1t(e,t,r){return qfe(e,"#"+t,r)}function k1t(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})}function T1t(e,t,r,n){for(var i=typeof t!="string"?t:Ri(t),a=typeof t=="string"?t:Hr(t),o=i.s.r;o<=i.e.r;++o)for(var s=i.s.c;s<=i.e.c;++s){var l=jw(e,o,s);l.t="n",l.F=a,delete l.v,o==i.s.r&&s==i.s.c&&(l.f=r,n&&(l.D=!0))}var c=E0(e["!ref"]);return c.s.r>i.s.r&&(c.s.r=i.s.r),c.s.c>i.s.c&&(c.s.c=i.s.c),c.e.r<i.e.r&&(c.e.r=i.e.r),c.e.c<i.e.c&&(c.e.c=i.e.c),e["!ref"]=Hr(c),e}var _1t={encode_col:tn,encode_row:_n,encode_cell:Xr,encode_range:Hr,decode_col:VM,decode_row:WM,split_cell:Hft,decode_cell:po,decode_range:E0,format_cell:tp,sheet_new:Wft,sheet_add_aoa:qde,sheet_add_json:Hfe,
574sheet_add_dom:Rfe,aoa_to_sheet:qy,json_to_sheet:S1t,table_to_sheet:Ffe,table_to_book:zyt,sheet_to_csv:zfe,sheet_to_txt:y1t,sheet_to_json:sN,sheet_to_html:Uyt,sheet_to_formulae:b1t,sheet_to_row_object_array:sN,sheet_get_cell:jw,book_new:rL,book_append_sheet:p2,book_set_sheet_visibility:x1t,cell_set_number_format:C1t,cell_set_hyperlink:qfe,cell_set_internal_link:E1t,cell_add_comment:k1t,sheet_set_array_formula:T1t,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};const P1t=async e=>dd(e,t=>Ci.get(t,{responseType:"arraybuffer"}),t=>t.then(r=>r.data)),Qkt=async e=>dd(e.fileUrl,t=>P1t(t),t=>t.then(r=>new File([r],e.fileName,{type:"application/pdf"}))),Jkt=async e=>{const t=await dd(e.files,Ys.map(async i=>mf.load(await i.arrayBuffer(),{ignoreEncryption:!0})),i=>Promise.all(i)),r=await mf.create();for(const i of t)(await r.copyPages(i,i.getPageIndices())).forEach(o=>r.addPage(o));const n=await r.save();return new File([n],e.fileName,{type:"application/pdf"})},eTt=async e=>dd(e.files,Ys.reduce((t,r)=>t.file(r.name,r),new bot),t=>t.generateAsync({type:"blob"}),t=>t.then(r=>new File([r],e.fileName,{type:"application/zip"}))),tTt=e=>{const t=document.createElement("a");t.href=URL.createObjectURL(e),t.download=e.name,t.click(),t.remove(),URL.revokeObjectURL(t.href)},rTt=e=>{const[t,r]=e;if(!t||!r)throw new Error("Invalid file");return t.map((n,i)=>({title:n,example:r[i]??""})).filter(n=>n.title.trim())},A1t=(e,t)=>{const r=new FileReader,n=typeof r.readAsBinaryString=="function";return new Promise((i,a)=>{r.onload=o=>{var s;try{const l=(s=o.target)==null?void 0:s.result;if(!l){a(new Error("Invalid file"));return}const c=Vw(l,{type:n?"binary":"array",codepage:65001,sheetRows:(t??0)+1}),u=dd(c.SheetNames,f=>f[0],f=>f&&c.Sheets[f]);if(!u){a(new Error("Invalid file"));return}const d=_1t.sheet_to_json(u,{header:1});i(d)}catch(l){a(l)}},n?r.readAsBinaryString(e):r.readAsArrayBuffer(e)})},Wfe=bt("div",{target:"e1yt925v5"})({name:"1azakc",styles:"text-align:center"}),O1t=bt(fw,{target:"e1yt925v4"})("width:60px;height:60px;color:",Mo.colors["icon-success"],";"),I1t=bt(mJe,{target:"e1yt925v3"})("width:60px;height:60px;color:",Mo.colors["icon-critical"],";"),o$=bt("div",{target:"e1yt925v2"})({name:"126n5fk",styles:"padding:15px 20px"}),s$=bt("div",{target:"e1yt925v1"})({name:"1pzk433",styles:"width:100px"}),R1t=bt("ul",{target:"e1yt925v0"})("padding-left:20px;margin:0;color:",Mo.colors["text-critical"],";"),F1t=({result:e})=>{const{t}=jt();return E(ji.Section,{children:Te(je,{vertical:!0,alignment:"center",children:[E(O1t,{}),E(qe,{as:"h1",variant:"headingLg",children:t("pages.warehouseReceivingOrder.create.section.items.importModal.importResult.success.title")}),E(Wfe,{children:E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:E(Go,{i18nKey:"pages.warehouseReceivingOrder.create.section.items.importModal.importResult.success.description",components:{strong:E("strong",{})},values:{totalCount:e.totalRows}})})})]})})},D1t=({result:e,onClickImportAgain:t})=>{const{t:r}=jt();return Te(ei,{children:[E(ji.Section,{children:Te(je,{vertical:!0,alignment:"center",children:[E(I1t,{}),E(qe,{as:"h1",variant:"headingLg",children:r("pages.warehouseReceivingOrder.create.section.items.importModal.importResult.failed.title")}),E(Wfe,{children:E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:E(Go,{i18nKey:"pages.warehouseReceivingOrder.create.section.items.importModal.importResult.failed.description",components:{br:E("br",{}),strong:E("strong",{})},values:{failedCount:e.errors.length,totalCount:e.totalRows}})})}),Te("div",{children:[E(Qr,{heightSpace:"2"}),E(vr,{primary:!0,onClick:t,children:r("pages.warehouseReceivingOrder.create.section.items.importModal.importResult.failed.button.importAgain")})]})]})}),E(o$,{children:Te(je,{children:[E(je.Item,{children:E(s$,{children:E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:r("pages.warehouseReceivingOrder.create.section.items.importModal.importResult.failed.column.rowIndex")})})}),E(je.Item,{fill:!0,children:E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:r("pages.warehouseReceivingOrder.create.section.items.importModal.importResult.failed.column.sku")})}),E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:r("pages.warehouseReceivingOrder.create.section.items.importModal.importResult.failed.column.reasons")})]})}),e.errors.map(n=>Te("div",{children:[E(TA,{}),E(o$,{children:Te(je,{vertical:!0,spacing:"baseTight",children:[E(je.Item,{children:Te(je,{alignment:"center",children:[E(je.Item,{children:E(s$,{children:E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:n.rowIndex})})}),E(je.Item,{fill:!0,children:E(qe,{as:"p",variant:"bodyMd",fontWeight:"bold",children:n.sku??"--"})}),E(je.Item,{children:E(su,{message:`${n.errors.length}`,fieldID:`${n.rowIndex}`})})]})}),E(je.Item,{children:E(R1t,{children:n.errors.map((i,a)=>E("li",{children:E(qe,{as:"p",variant:"bodyMd",breakWord:!0,children:r(`pages.warehouseReceivingOrder.create.section.items.importModal.importResult.failed.reasons.${fs(i.co
574de)}`,{field:r(`pages.warehouseReceivingOrder.create.section.items.importModal.fieldsMapping.field.${i.field}.label`)})})},a))})})]})})]},n.rowIndex))]})},N1t=e=>qt(e).with({result:{success:!0}},()=>E(F1t,{...e})).with({result:{success:!1}},()=>E(D1t,{...e})).otherwise(()=>null),M1t="Spaceship_Pro_Warehouse_Receiving_Order_Incoming_Inventory_Import_Template.xlsx",L1t="Spaceship_Pro_Warehouse_Receiving_Order_Incoming_Inventory_Import_Template_By_Carton.xlsx",CR=5,lN=2e3,l$=lN+1,B1t=["xlsx","xls","csv"].join(", "),U1t=Object.freeze({sku:"SKU *",expectedQty:"Quantity *",expectedQtyPerCarton:"Quantity Per Carton *",lotNumber:"Lot Number",remarks:"Remarks",expiryDate:"Expiry Date (yyyy-mm-dd)",currency:"Currency",unitValue:"Unit Cost",cartonNumber:"Carton Number *",cartonQty:"Carton Quantity *"}),Vfe=({inboundHandlingMethod:e,onClose:t,importByCartons:r=!1})=>{const{t:n}=jt(),{userOrganization:i}=Nr(),[a,o]=k.useState("upload_file"),[s,l]=k.useState([]),c=k.useRef(null),{mutateAsync:u,isLoading:d,data:f}=PKe({mutation:{onSuccess:()=>{o("result")},onError:y=>{var w;if(y instanceof p8){qt((w=y.response)==null?void 0:w.data).with({code:"ERR_PRO_API_WAREHOUSE_RECEIVING_ORDER_ITEM_MULTIPLE_PRODUCT_TYPES_FOUND_IN_SAME_IMPORT"},()=>l([n(`pages.warehouseReceivingOrder.create.section.items.importModal.uploadFile.error.multipleProductTypesFound.${e}`)])).with({message:Zn.not(Zn.nullish)},x=>l([x.message])).otherwise(()=>l([y.message]));return}l([n("pages.warehouseReceivingOrder.create.section.items.importModal.uploadFile.error.unknown")])}}}),h=k.useCallback(()=>{c.current&&(c.current.value="",c.current.click())},[]),p=k.useCallback(async y=>{var T;const w=(T=y.target.files)==null?void 0:T[0];if(!w)return;const x=[];if(w.size>CR*1024*1024&&x.push(n("pages.warehouseReceivingOrder.create.section.items.importModal.uploadFile.error.maxFileSize",{size:`${C
574R}MB`})),(await A1t(w,l$+1)).filter(_=>_.length>0).length>l$&&x.push(n("pages.warehouseReceivingOrder.create.section.items.importModal.uploadFile.error.maxRowLimit",{limit:lN})),x.length>0){l(x);return}await u({orgId:i.id,data:{file:w,fieldsMapping:U1t,importByCartons:r}})},[r,u,n,i]),g=k.useCallback(()=>{window.open(`https://${window.location.host}/assets/templates/${r?L1t:M1t}`)},[r]),v=k.useCallback(()=>{o("upload_file")},[]),m=k.useCallback(()=>{t((f==null?void 0:f.items)??[])},[f==null?void 0:f.items,t]),b=k.useMemo(()=>qt({step:a}).with({step:"result"},()=>E(je,{alignment:"center",distribution:"trailing",children:E(vr,{primary:!0,onClick:m,children:n("pages.warehouseReceivingOrder.create.section.items.importModal.button.ok")})})).with({step:"upload_file"},()=>Te(je,{alignment:"center",distribution:"trailing",children:[E(vr,{plain:!0,monochrome:!0,onClick:g,children:n("pages.warehouseReceivingOrder.create.section.items.importModal.button.downloadTemplate")}),Te("div",{children:[E("label",{htmlFor:"upload",children:E(vr,{primary:!0,loading:d,onClick:h,children:n("pages.warehouseReceivingOrder.create.section.items.importModal.button.upload")})}),E("input",{ref:c,hidden:!0,type:"file",accept:".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",onChange:p})]})]})).exhaustive(),[p,g,h,m,d,a,n]);return Te(ji,{fullScreen:!0,open:!0,titleHidden:!0,title:"",footer:b,onClose:()=>{},children:[E(_A,{title:n(`pages.warehouseReceivingOrder.create.section.items.importModal.title.${e}`),onClose:m}),qt({step:a}).with({step:"result"},()=>f?E(N1t,{result:f,onClickImportAgain:v}):null).with({step:"upload_file"},()=>E(ji.Section,{children:Te(je,{vertical:!0,children:[E(je.Item,{children:E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:E(Go,{i18nKey:"pages.warehouseReceivingOrder.create.section.items.importModal.description",components:{strong:E(qe,{as:"span",variant:"bodyMd",fontWeight:"semibold",children:"placeholder"})}})})}),Te(je.Item,{children:[E(qe,{as:"p",variant:"bodySm",fontWeight:"semibold",children:n("pages.warehouseReceivingOrder.create.section.items.importModal.uploadFile.requirements")}),E(qe,{as:"p",variant:"bodySm",color:"subdued",children:n("pages.warehouseReceivingOrder.create.section.items.importModal.uploadFile.maxFileSize",{size:`${C
574R}MB`})}),E(qe,{as:"p",variant:"bodySm",color:"subdued",children:n("pages.warehouseReceivingOrder.create.section.items.importModal.uploadFile.maxRowLimit",{limit:lN})}),E(qe,{as:"p",variant:"bodySm",color:"subdued",children:n("pages.warehouseReceivingOrder.create.section.items.importModal.uploadFile.supportedFileTypes",{types:B1t})}),s.map((y,w)=>Te(S.Fragment,{children:[E(Qr,{heightSpace:"1"}),E(su,{message:y,fieldID:"upload"})]},w))]})]})})).exhaustive()]})};function Wy(e){const{userOrgWarehouses:t}=Nr(),r=k.useMemo(()=>e?t.find(i=>i.id===e)??null:null,[t,e]);return{...k.useMemo(()=>{const i=(r==null?void 0:r.supportedAdditionalFeatures)??[];return{isSupportsLotLevelInventoryTracking:i.includes(Au.lot_level_inventory_tracking),isSupportsResubmitWarehouseReceivingOrder:i.includes(Au.resubmit_warehouse_receiving_order),isSupportsResubmitSubmittedFulfillmentOrder:i.includes(Au.resubmit_submitted_fulfillment_order),isSupportsCancelSubmittedFulfillmentOrder:i.includes(Au.cancel_submitted_fulfillment_order),isSupportsResumeCancelRequestedFulfillmentOrder:i.includes(Au.resume_cancel_requested_fulfillment_order),isSupportsWarehouseReceivingOrderBoxLabelScan:i.includes(Au.warehouse_receiving_order_box_label_scan),isSupportsBarcodeLabelScan:i.includes(Au.barcode_label_scan),isSupportWroCartonOrPalletIn:i.includes(Au.wro_carton_or_pallet_in),requiresProductDimensionsInWro:i.includes(Au.requires_product_dimensions_in_wro)}},[r]),warehouse:r}}var z1t=(e=>(e.ADDRESS_INFORMATION="ADDRESS_INFORMATION",e.SHIPMENT_DETAILS="SHIPMENT_DETAILS",e.CARRIER_SERVICES="CARRIER_SERVICES",e.REVIEW_AND_PAYMENT="REVIEW_AND_PAYMENT",e.SHIPMENT_RESULT="SHIPMENT_RESULT",e))(z1t||{}),H1t=(e=>(e[e.ADDRESS_INFORMATION=0]="ADDRESS_INFORMATION",e[e.SHIPMENT_DETAILS=1]="SHIPMENT_DETAILS",e[e.CARRIER_SERVICES=2]="CARRIER_SERVICES",e[e.REVIEW_AND_PAYMENT=3]="REVIEW_AND_PAYMENT",e[e.PAYMENT_RESULT=4]="PAYMENT_RESULT",e))(H1t||{});const nTt=["ADDRESS_INFORMATION","SHIPMENT_DETAILS","CARRIER_SERVICES","REVIEW_AND_PAYMENT","SHIPMENT_RESULT"],iTt={ADDRESS_INFORMATION:0,SHIPMENT_DETAILS:1,CARRIER_SERVICES:2,REVIEW_AND_PAYMENT:3,SHIPMENT_RESULT:4};var q1t=(e=>(e.COMMERCIAL_USE="commercial_use",e.PERSONAL_USE="personal_use",e.RETURN_GOODS="return_goods",e.SAMPLE="sample_use",e))(q1t||{}),W1t=(e=>(e.DAP="dap",e.DDP="ddp",e.IOSS="ioss",e))(W1t||{}),nL=(e=>(e.HKD="HKD",e.USD="USD",e.EUR="EUR",e.GBP="GBP",e.JPY="JPY",e.KRW="KRW",e.CNY="CNY",e.SGD="SGD",e.THB="THB",e.CAD="CAD",e.AUD="AUD",e.MOP="MOP",e.ARS="ARS",e.BRL="BRL",e.CZK="CZK",e.DKK="DKK",e.EGP="EGP",e.HUF="HUF",e.ILS="ILS",e.INR="INR",e.IDR="IDR",e.KES="KES",e.MYR="MYR",e.MXN="MXN",e.TWD="TWD",e.TRY="TRY",e.NZD="NZD",e.NOK="NOK",e.PKR="PKR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SAR="SAR",e.ZAR="ZAR",e.SEK="SEK",e.CHF="CHF",e.AED="AED",e.BBD="BBD",e.AZN="AZN",e.BND="BND",e.CLP="CLP",e.COP="COP",e.DOP="DOP",e.ISK="ISK",e.KHR="KHR",e.MUR="MUR",e.PGK="PGK",e.RON="RON",e.TTD="TTD",e.VND="VND",e.QAR="QAR",e))(nL||{}),V1t=(e=>(e.CM="cm",e))(V1t||{}),j1t=(e=>(e.KG="kg",e))(j1t||{}),G1t=(e=>(e.DOMESTIC="domestic",e.INTERNATIONAL="international",e.UNKNOWN="unknown",e))(G1t||{});const iL=()=>{const{t:e}=jt();return Pt.object({productId:Pt.string({required_error:e("pages.warehouseReceivingOrder.form.fields.items.fields.name.error.required")}).min(1,{message:e("pages.warehouseReceivingOrder.form.fields.items.fields.name.error.required")}),product:Pt.object({id:Pt.string(),name:Pt.string(),sku:Pt.string(),itemDescription:Pt.string(),type:Pt.nativeEnum(Lc)}).optional(),expectedQty:Pt.number().int().min(1).nullable().default(null),expectedQtyPerCarton:Pt.number().int().min(1).nullable().default(null),expiryDate:Pt.string().min(1).nullable().default(null),lotNumber:Pt.preprocess(t=>t===""?void 0:t,Pt.string().min(1).nullable().default(null)),remarks:Pt.preprocess(t=>t===""?void 0:t,Pt.string().min(1).nullable().default(null)),currency:Pt.nativeEnum(nL).nullable().default(null),barcode:Pt.string().optional().nullable().default(null),unitValue:Pt.coerce.number({invalid_type_error:e("form.validation.invalidNumber.greaterThanOrEqualTo",{fieldName:e("pages.warehouseReceivingOrder.form.fields.unitValue.label"),min:.01})}).min(.01,{message:e("form.validation.invalidNumber.greaterThanOrEqualTo",{fieldName:e("pages.warehouseReceivingOrder.form.fields.unitValue.label"),min:.01})}).nullable().default(null)})},jfe=()=>Pt.object({dimensionUnit:Pt.nativeEnum(td).default(td.cm),height:Pt.number().int().optional(),length:Pt.number().int().optional(),width:Pt.number().int().optional(),qty:Pt.number().int().min(1).default(1),weight:Pt.number().optional(),weightUnit:Pt.nativeEnum(uw).default(uw.kg),remarks:Pt.string().optional(),items:Pt.array(iL().extend({product:Pt.object({id:Pt.string(),name:Pt.string(),sku:Pt.string(),itemDescription:Pt.string(),type:Pt.nativeEnum(Lc),dimension:Pt.object({length:Pt.number().int(),width:Pt.number().int(),height:Pt.number().int(),unit:Pt.n
574ativeEnum(td)}),cartonItemQty:Pt.number().int().min(1).default(1).optional()}).optional().nullable().default(null)})).min(1,{message:"At least one Product is required"})}),K1t=bt("div",{target:"ew2yakj0"})({name:"xpeepu",styles:"margin:12px"}),aL=({fullWidth:e,onSelect:t,value:r,disableDatesBefore:n,disableDatesAfter:i,placeholder:a})=>{const{value:o,setFalse:s,toggle:l}=Ei(!1),[c,u]=k.useState({month:(i??n??Zt.now()).month-1,year:(i??n??Zt.now()).year}),d=k.useCallback((p,g)=>{u({month:p,year:g})},[u]),f=E(vr,{fullWidth:e,onClick:l,disclosure:!0,icon:E(bn,{source:jge}),textAlign:"left",children:r?r.toFormat("dd MMMM, yyyy (EEE)"):a}),h=k.useCallback(({end:p})=>{s(),t(Zt.fromJSDate(p))},[s,t]);return E(hi,{active:o,activator:f,onClose:s,preferredAlignment:"left",children:E(K1t,{children:E(w1e,{month:c.month,year:c.year,selected:r==null?void 0:r.toJSDate(),onMonthChange:d,onChange:h,disableDatesBefore:n==null?void 0:n.toJSDate(),disableDatesAfter:i==null?void 0:i.toJSDate()})})})},Z1t=(e,t)=>e("pages.products.form.productDetails.fields.barcode.lockedByWarehouse",{warehouse:(t??[]).join(e("pages.products.form.productDetails.fields.barcode.warehouseSeparator"))}),Gfe=({productId:e,onUpdate:t})=>{var v,m;const{userOrganization:r}=Nr();md(r);const{t:n}=jt(),{value:i,setFalse:a,toggle:o}=Ei(!1),[s,l]=k.useState(""),{mutateAsync:c,isLoading:u,error:d}=jVe(),f=async()=>{await c({orgId:r.id,productId:e,data:{barcode:s}}),t(s)},h=(v=d==null?void 0:d.response)==null?void 0:v.data,p=(h==null?void 0:h.code)==="ERR_PRO_API_PRODUCT_BARCODE_LOCKED_BY_WAREHOUSE"?Z1t(n,(m=h.meta)==null?void 0:m.warehouseNames):(h==null?void 0:h.message)??(d==null?void 0:d.message),g=E(vr,{plain:!0,destructive:!0,onClick:o,children:n("pages.warehouseReceivingOrder.create.section.items.fields.barcode.alert")});return E(hi,{active:i,activator:g,onClose:a,preferredAlignment:"left",children:E(Vi,{sectioned:!0,children:Te(je,{vertical:!0,children:[E(bi,{label:n("pages.warehouseReceivingOrder.create.section.items.fields.barcode.popover.field.label"),autoComplete:"off",value:s,onChange:l,error:p}),E(vr,{primary:!0,loading:u,disabled:Ks(s),onClick:f,children:n("pages.warehouseReceivingOrder.create.section.items.fields.barcode.popover.button")})]})})})},Y1t=({autoFocus:e,error:t,label:r,onProductSelect:n})=>{const{t:i}=jt(),{userOrganization:a}=Nr(),[o,s]=k.useState([]),[l,c]=k.useState(1),[u,d]=k.useState(""),[f,h]=k.useState("");mle(()=>{h(u)},500,[u]);const{watch:p}=Dy(),g=p("inboundHandlingMethod"),v=p("inventoryType"),m=[Lc.carton],b=[Lc.packaging_material,Lc.sellable_product],y=qt(g).with(wi.product,()=>b).with(wi.carton,()=>m).with(wi.pallet,()=>m).otherwise(()=>{}),{data:w,isLoading:x}=Ey((a==null?void 0:a.id)??"",{keyword:f==null?void 0:f.trim(),types:qt(v).with(Ai.b2c,()=>[Lc.sellable_product]).with(Ai.packing_material,()=>[Lc.packaging_material]).with(Ai.b2b,()=>m).otherwise(()=>y),page:l,perPage:50},{query:{enabled:!!a}}),C=k.useMemo(()=>qt(g).with(wi.product,()=>dd((w==null?void 0:w.items)??[],Ys.map(I=>({type:I.type,label:`${I.sku} - ${I.itemDescription}`,value:I.id})),Ys.groupBy(I=>I.type),I=>Array.from(I),Ys.map(([I,R])=>({title:i(`pages.warehouseReceivingOrder.form.fields.items.fields.productType.options.${fs(I)}.label`),options:R})))).with(Zn.union(wi.carton,wi.pallet),()=>(w==null?void 0:w.items.map(I=>({label:`${I.sku} - ${I.itemDescription}`,value:I.id})))??[]).otherwise(()=>[]),[g,w==null?void 0:w.items,i]),T=k.useCallback(I=>{d(I),n(null)},[n]),_=k.useCallback(I=>{const R=w==null?void 0:w.items.find(D=>D.id===I[0]);R&&(n({...R,dimension:R.dimension?{length:R.dimension.length??0,width:R.dimension.width??0,height:R.dimension.height??0,unit:R.dimension.unit??td.cm}:null,cartonItemQty:R.cartonItemQty??1}),s([]),d(""))},[n,w==null?void 0:w.items]),P=k.useCallback(()=>{w&&l<Math.floor(w.meta.total/50)&&c(I=>I+1)},[l,w]),F=E(OS.TextField,{autoFocus:e,value:u??void 0,label:r,onChange:T,autoComplete:"off",error:t});return E(OS,{options:C,selected:o,textField:F,onSelect:_,loading:x,onLoadMoreResults:P})},$1t=()=>E(Y8,{size:20}),X1t=bt("div",{target:"etp6cel2"})({name:"5g75tq",styles:".Polaris-Label{width:100%;}"}),c$=bt("div",{target:"etp6cel1"})({name:"16ceglb",styles:"font-weight:600"}),Q1t=bt("div",{target:"etp6cel0"})({name:"lbyhah",styles:"border-bottom:var(--p-border-width-1) solid var(--p-divider);padding-bottom:var(--p-space-4);margin:var(--p-space-4) 0"}),J1t=({carton:e,orgId:t,onBarcodeUpdate:r,formMethods:n,index:i,requiresProductDimensionsInWro:a})=>{const{data:o,refetch:s}=dA(t??"",e.productId),{formState:{errors:l}}=n,{t:c}=jt(),u=k.useMemo(()=>{var f,h,p,g,v,m,b;const d=(p=(h=(f=l.items)==null?void 0:f[i])==null?void 0:h.product)==null?void 0:p.dimension;if(!d&&a){const y=e;if(!((g=y.product)!=null&&g.dimension&&((v=y.product)==null?void 0:v.dimension.length)>0&&((m=y.product)==null?void 0:m.dimension.width)>0&&((b=y.product)==null?void 0:b.dimension.height)>0))return{type:"manual",message:c("pages.warehouseReceivingOrder.form.fields.items.productDimensionError")}}return d},[l,i,e,a,c]);return o?Te(ei,{children:[Te("div",{children:[E(qe,{as:"span",variant:"bodyMd",color:"subdued",children:o.sku}),"-",E(qe,{as:"span",variant:"bodyMd",children:o.name})]}),o.barcode?Te(qe,{as:"p",variant:"bodyMd",color:"subdued",children:["Barcode: ",o.barcode]}):E(Gfe,{productId:e.productId,onUpdate:d=>{s(),r(d)}}),u&&E("div",{children:E(qe,{as:"p",variant:"bodyMd",color:"critical",children:u.message})})]}):null}
574,ebt=({mode:e,formMethods:t,inboundHandlingMethod:r,orgWarehouseId:n,inventoryType:i,onSubmit:a,supportsLotLevelInventoryTracking:o})=>{var D;const{t:s}=jt(),{userOrganization:l}=Nr();md(l);const{control:c,setValue:u,getValues:d,handleSubmit:f,formState:{errors:h},watch:p,trigger:g}=t,v=p("items"),{requiresProductDimensionsInWro:m}=Wy(n),{dimensionUnit:b,weightUnit:y}=d(),w=p("qty"),[x,C]=k.useState(0),{data:T}=Ey(l.id),_=k.useMemo(()=>(T==null?void 0:T.items)??[],[T]),{data:P}=g8(l.id,{orgWarehouseId:n,productIds:_.map(A=>(A==null?void 0:A.id)??"").filter(Boolean),productId:""},{query:{enabled:!!_.length&&!o,onSuccess:A=>{var M;u("remarks",((M=A.items[0])==null?void 0:M.remarks)??"")}}}),F=k.useMemo(()=>{var A;return!!((A=P==null?void 0:P.items)!=null&&A.length)},[P]),I=k.useCallback(()=>{C(w*v.reduce((A,M)=>A+(M.expectedQtyPerCarton||1),0))},[w,v]);k.useEffect(()=>{I()},[I]);const R=A=>{var X,Y,se,ne,ie,ae,ce,ke;const M=v.find(ge=>ge.productId===(A==null?void 0:A.id));A&&!M&&(u("items",[...v,{product:{...A,name:A.name??"",dimension:{length:((X=A.dimension)==null?void 0:X.length)??0,width:((Y=A.dimension)==null?void 0:Y.width)??0,height:((se=A.dimension)==null?void 0:se.height)??0,unit:((ne=A.dimension)==null?void 0:ne.unit)??td.cm},cartonItemQty:A.cartonItemQty??1},productId:A.id,expectedQty:1,expectedQtyPerCarton:i===Ai.b2b?A.cartonItemQty??1:1,expiryDate:null,lotNumber:"",remarks:"",currency:nL.HKD,unitValue:.01,barcode:A.barcode??""}]),A.type===Lc.carton&&(u("weight",A.weight?+A.weight:void 0),u("weightUnit",A.weightUnit??uw.kg),u("length",((ie
574=A.dimension)==null?void 0:ie.length)??void 0),u("width",((ae=A.dimension)==null?void 0:ae.width)??void 0),u("height",((ce=A.dimension)==null?void 0:ce.height)??void 0),u("dimensionUnit",((ke=A.dimension)==null?void 0:ke.unit)??td.cm)),g())};return E(X1t,{children:Te(mP,{onSubmit:f(a),implicitSubmit:!1,children:[E(qe,{as:"h2",variant:"headingMd",children:E(c$,{children:s("pages.warehouseReceivingOrder.form.section.productDetail.label")})}),E(Qr,{heightSpace:"4"}),Te(si,{children:[!(i===Ai.b2b&&v.length>0)&&E(si.Group,{children:E(Y1t,{autoFocus:e==="add",label:s("pages.warehouseReceivingOrder.form.fields.items.fields.name.label"),error:(D=h.items)==null?void 0:D.message,onProductSelect:R})}),v.map((A,M)=>Te(Q1t,{children:[Te(je,{alignment:"center",wrap:!1,children:[E(je.Item,{fill:!0,children:E(J1t,{carton:A,orgId:l.id,onBarcodeUpdate:X=>{u(`items.${M}.barcode`,X)},formMethods:t,index:M,requiresProductDimensionsInWro:m})}),E(je.Item,{children:E("div",{style:{width:"12rem"},children:E(Fl,{label:!1,suffix:s("pages.warehouseReceivingOrder.form.fields.items.fields.expectedQtyPerCarton.suffix"),value:A.expectedQtyPerCarton??1,onChange:X=>{u(`items.${M}.expectedQtyPerCarton`,Number(X)),I()},disabled:i===Ai.b2b,autoComplete:"off",type:"integer"})})}),Te(je.Item,{children:[E(Qr,{heightSpace:"1"}),E(vr,{plain:!0,icon:$1t,onClick:()=>{u("items",v.filter((X,Y)=>Y!==M))}})]})]}),E(Qr,{heightSpace:"4"}),Te(je,{alignment:"center",distribution:"fillEvenly",children:[E(je.Item,{children:E(Dr,{name:`items.${M}.expiryDate`,control:c,render:({field:X})=>Te(ei,{children:[E(qe,{as:"p",variant:"bodyMd",children:s("pages.warehouseReceivingOrder.form.fields.items.fields.expiryDate.label")}),E(Qr,{heightSpace:"1"}),E(aL,{fullWidth:!0,value:Ks(X.value)?void 0:Zt.fromFormat(X.value??"","yyyy-MM-dd"),onSelect:Y=>{X.onChange(Y.toFormat("yyyy-MM-dd"))},placeholder:s("pages.warehouseReceivingOrder.form.fields.items.fields.expiryDate.placeholder")})]})})}),E(je.Item,{children:E(Dr,{name:`items.${M}.lotNumber`,control:c,render:({field:X})=>E(bi,{label:s("pages.warehouseReceivingOrder.form.fields.items.fields.lotNumber.label"),autoComplete:"off",...X,value:X.value??""})})})]})]},A.productId)),E(qe,{as:"h2",variant:"headingMd",children:E(c$,{children:s("pages.warehouseReceivingOrder.form.section.packingDetail.label")})}),Te(si.Group,{condensed:!0,children:[E(Dr,{name:"qty",control:c,render:({field:A,fieldState:{error:M}})=>E(Fl,{label:s("pages.warehouseReceivingOrder.cartons.fields.qty.label"),type:"integer",autoComplete:"off",error:M==null?void 0:M.message,...A,onChange:X=>{A.onChange(Number(X))},suffix:"cartons"})}),i!==Ai.b2b&&E(Fl,{label:s("pages.warehouseReceivingOrder.cartons.fields.totalQty.label"),type:"integer",autoComplete:"off",disabled:!0,value:x,onChange:()=>{},suffix:"pcs"}),E(Dr,{name:"weight",control:c,render:({field:A,fieldState:{error:M}})=>E(Fl,{label:s("pages.warehouseReceivingOrder.cartons.fields.weight.label"),type:"two-decimal",autoComplete:"off",error:M==null?void 0:M.message,...A,value:A.value??void 0,suffix:y,disabled:i===Ai.b2b})})]}),Te(si.Group,{condensed:!0,children:[E(Dr,{name:"length",control:c,render:({field:A,fieldState:{error:M}})=>E(Fl,{label:s("pages.warehouseReceivingOrder.cartons.fields.length.label"),type:"integer",autoComplete:"off",error:M==null?void 0:M.message,...A,suffix:b,value:A.value??void 0,disabled:i===Ai.b2b})}),E(Dr,{name:"width",control:c,render:({field:A,fieldState:{error:M}})=>E(Fl,{label:s("pages.warehouseReceivingOrder.cartons.fields.width.label"),type:"integer",autoComplete:"off",error:M==null?void 0:M.message,...A,suffix:b,value:A.value??void 0,disabled:i===Ai.b2b})}),E(Dr,{name:"height",control:c,render:({field:A,fieldState:{error:M}})=>E(Fl,{label:s("pages.warehouseReceivingOrder.cartons.fields.height.label"),type:"integer",autoComplete:"off",error:M==null?void 0:M.message,suffix:b,...A,disabled:i===Ai.b2b})})]}),E(si.Group,{condensed:!0,children:E(Dr,{name:"remarks",control:c,render:({field:A,fieldState:{error:M}})=>E(bi,{multiline:!0,showCharacterCount:!0,maxLength:100,label:s("pages.warehouseReceivingOrder.form.fields.items.fields.remarks.label"),placeholder:s(qt(r).with(wi.carton,()=>"pages.warehouseReceivingOrder.form.fields.items.fields.remarks.placeholderCarton").with(wi.pallet,()=>"pages.warehouseReceivingOrder.form.fields.items.fields.remarks.placeholderPallet").otherwise(()=>"pages.warehouseReceivingOrder.form.fields.items.fields.remarks.placeholder")),type:"text",autoComplete:"off",error:M==null?void 0:M.message,disabled:!o&&F,...A,onChange:X=>{u("remarks",X),g()},value:A.value??void 0})})})]})]})})}
574,tbt=({mode:e,item:t,inboundHandlingMethod:r,orgWarehouseId:n,inventoryType:i,onClose:a,onSubmit:o})=>{const{t:s}=jt(),{userOrganization:l}=Nr(),{isSupportsLotLevelInventoryTracking:c,requiresProductDimensionsInWro:u}=Wy(n);md(l);const d=jfe(),f=AA({defaultValues:{qty:(t==null?void 0:t.qty)??1,length:t==null?void 0:t.length,width:t==null?void 0:t.width,height:t==null?void 0:t.height,dimensionUnit:(t==null?void 0:t.dimensionUnit)??td.cm,weight:t==null?void 0:t.weight,weightUnit:(t==null?void 0:t.weightUnit)??uw.kg,remarks:t==null?void 0:t.remarks,items:(t==null?void 0:t.items)??[]},resolver:OA(d)}),{handleSubmit:h,reset:p}=f,g=k.useCallback(()=>{p(),a()},[a,p]),v=k.useCallback(m=>{m.items.some(b=>!b.barcode||b.barcode.trim()==="")||u&&m.items.some(y=>{var w,x,C,T;return!((w=y.product)!=null&&w.dimension&&((x=y.product)==null?void 0:x.dimension.length)>0&&((C=y.product)==null?void 0:C.dimension.width)>0&&((T=y.product)==null?void 0:T.dimension.height)>0)})||(o(m),g())},[o,g,u]);return Te(ji,{open:!0,title:"",fullScreen:!0,titleHidden:!0,onClose:g,primaryAction:{content:s("common.save"),onAction:h(v)},children:[E(_A,{title:s(`pages.warehouseReceivingOrder.form.fields.cartons.${e}Carton.title`),onClose:g}),E(ji.Section,{children:E(ebt,{mode:e,inboundHandlingMethod:r,orgWarehouseId:n,formMethods:f,onSubmit:v,inventoryType:i,supportsLotLevelInventoryTracking:c})})]})},rbt=({cartons:e,wroFormMethods:t,shouldShowEmptyItemErrorMessage:r,onCartonAdd:n,onCartonsAdd:i,onCartonEdit:a,onCartonRemove:o})=>{const{t:s}=jt(),{userOrganization:l}=Nr();md(l);const[c,u]=k.useState(),{value:d,setTrue:f,setFalse:h}=Ei(!1),{value:p,setTrue:g,setFalse:v}=Ei(!1),b=!!t.watch("orgWarehouseId"),y=M=>{if(!b){t.setError("orgWarehouseId",{type:"manual",message:s("pages.warehouseReceivingOrder.form.errors.warehouseRequiredBeforeAddingItems")});return}M()},w=Ks(e)?[]:[{content:s("pages.warehouseReceivingOrder.create.section.cartons.button.import"),onAction:()=>y(g)},{content:s("pages.warehouseReceivingOrder.create.section.cartons.button.addCartonAction"),onAction:()=>y(f)}],x=k.useCallback(M=>{u(M),f()},[f]),C=k.useCallback(()=>{u(void 0),h()},[h]),{data:T}=Ey(l.id),_=k.useCallback(M=>{const X=[],Y=new Set;for(const se of M){let ne;Y.has(se.cartonNumber)?ne=X.find(ie=>ie.id===se.cartonNumber):(ne={id:se.cartonNumber,cartonQty:se.cartonQty??1,items:[]},X.push(ne),Y.add(se.cartonNumber)),ne&&ne.items.push(se)}i(X.map(se=>{const ne=((T==null?void 0:T.items)??[]).find(ie=>{var ae;return ie.id===((ae=se.items[0])==null?void 0:ae.productId)});return{qty:se.cartonQty??1,dimensionUnit:td.cm,weightUnit:uw.kg,remarks:"",items:se.items.map(ie=>{var ae,ce,ke,ge;return{productId:ie.productId??"",product:ne?{...ne,name:ne.name??"",dimension:{length:((ae=ne.dimension)==null?void 0:ae.length)??0,width:((ce=ne.dimension)==null?void 0:ce.width)??0,height:((ke=ne.dimension)==null?void 0:ke.height)??0,unit:((ge=ne.dimension)==null?void 0:ge.unit)??td.cm},cartonItemQty:ne.cartonItemQty??1}:null,receivedQty:null,expectedQty:ie.expectedQty??null,expectedQtyPerCarton:ie.expectedQtyPerCarton??null,expiryDate:ie.expiryDate??null,lotNumber:ie.lotNumber??null,currency:ie.currency??null,remarks:ie.remarks??null,barcode:ie.barcode??null,unitValue:ie.unitValue??null}})}})),v()},[v,i,T==null?void 0:T.items]),P=k.useCallback(M=>{c!==void 0&&(a(c,M),u(void 0),C())},[c,C,a]),F=k.useCallback(M=>{n(M),C()},[C,n]),I=k.useCallback(M=>{o(M)},[o]),R=t.watch("inventoryType"),D=t.watch("inboundHandlingMethod"),A=qt(R).with(Ai.b2b,()=>RD).with(Ai.b2c,()=>vce).with(Ai.packing_material,()=>dot).otherwise(()=>RD);return E(Vi,{title:s("pages.warehouseReceivingOrder.create.section.cartons.title"),actions:w,children:Te(Vi.Section,{children:[!Ks(e)&&e.length>0&&Te(ei,{children:[E(rx,{status:"warning",children:E(Go,{i18nKey:"pages.warehouseReceivingOrder.create.section.items.warningBanner.desc",components:{strong:E(qe,{as:"span",variant:"bodyMd",fontWeight:"semibold",children:E("div",{})})}})}),E(Qr,{heightSpace:"5"})]}),Te(_le,{...t,children:[E(Qr,{heightSpace:"5"}),Ks(e)?Te(pP,{image:A,heading:s(`pages.warehouseReceivingOrder.create.section.cartons.emptyState.${R}.title`),action:{content:s(`pages.warehouseReceivingOrder.create.section.cartons.emptyState.${R}.button`),onAction:()=>y(f)},secondaryAction:{content:s(`pages.warehouseReceivingOrder.create.section.cartons.emptyState.${R}.import`),onAction:()=>y(g)},children:[E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:s(`pages.warehouseReceivingOrder.create.section.cartons.emptyState.${R}.desc`)}),r&&E(su,{message:s(`pages.warehouseReceivingOrder.create.section.error.empty.${R}`),fieldID:"item"})]}):E(vot,{cartons:e,mode:"edit",onCartonEdit:x,onCartonDelete:I,inventoryType:t.watch("inventoryType")}),d&&D&&E(tbt,{mode:Jl(c)?"add":"edit",item:Jl(c)?null:hs(e[c]),inboundHandlingMethod:D,inventoryType:t.watch("inventoryType"),orgWarehouseId:t.watch("orgWarehouseId"),onClose:C,onSubmit:Jl(c)?F:P}),p&&D&&E(Vfe,{importByCartons:!0,onClose:_,inboundHandlingMethod:D})]})]})})},nbt="/assets/add-wro-item-IZa6qjZD.svg",ibt=e=>{const{index:t,mode:r,item:n,onEdit:i,onDelete:a,onBarcodeUpdate:o,supportsLotLevelInventoryTracking:s,hideTotalCost:l=!1}=e,{t:c}=jt(),{userOrganization:u}=Nr();md(u);const d=k.useCallback(()=>{i&&t!==void 0&&i(t)},[t,i]),f=k.useCallback(()=>{a&&t!==void 0&&a(t)},[t,a]),h=k.useMemo(()=>{const x=Number(n.unitValue),C=Number(n.expectedQty),T=x*C;return!Ks(n.currency)&&T>0&&C>0&&x>0?`${c("pages.warehouseReceivingOrder.create.section.items.fields.totalCost.label")} ${n.currency} ${T.toFixed(2)} (${n.currency} ${x.toFixed(2)} x ${C} )`:""},[n.currency,n.expectedQty,n.unitValue,c]),{data:p,refetch:g}=dA(u.id,n.productId??""),v=k.useCallback(x=>{g(),o==null||o({index:t,barcode:x})},[t,o,g]),{barcode:m,sku:b,name:y,type:w}=k.useMemo(()=>qt(e).with({mode:"edit"},()=>({barcode:p==null?void 0:p.barcode,itemDescription:p==null?void 0:p.itemDescription,sku:p==null?void 0:p.sku,name:(p==null?void 0:p.name)??(p==null?void 0:p.itemDescription),type:p==null?void 0:p.type})).with({mode:"view"},x=>({barcode:x.item.barcode??(p==null?void 0:p.barcode),sku:x.item.sku??(p==null?void 0:p.sku),name:x.item.name??(p==null?void 0:p.name)??(p==null?void 0:p.itemDescription),type:p==null?void 0:p.type})).exhaustive(),[e,p]);return p?Te(je,{wrap:!1,children:[Te(je.Item,{fill:!0,children:[E(qe,{variant:"bodyMd",as:"p",children:y}),E(qe,{variant:"bodyMd",as:"p",color:"subdued",children:b}),Te(je,{vertical:!1,wrap:!1,children:[Te(qe,{variant:"bodyMd",as:"p",color:"subdued",children:[c("pages.warehouseReceivingOrder.create.section.items.fields.barcode.label"),": ",m]}),r==="edit"&&Ks(m)&&E(H9,{items:[{status:"critical",icon:CF,description:E(Gfe,{productId:hs(n.productId),onUp
574date:v})}]})]}),Te(qe,{variant:"bodyMd",as:"p",color:"subdued",children:[c("pages.warehouseReceivingOrder.create.section.items.fields.qty.label"),": ",n.expectedQty]}),!l&&Te(ei,{children:[E(qe,{variant:"bodyMd",as:"p",color:"subdued",children:h}),E(Qr,{heightSpace:"2"})]}),E(ad,{children:c(`pages.warehouseReceivingOrder.create.section.items.fields.productType.${fs(w)}`)}),s&&(n.lotNumber||n.expiryDate)&&E(Qr,{heightSpace:"2"}),s&&n.expiryDate&&Te(qe,{variant:"bodySm",as:"p",color:"subdued",children:[c("pages.warehouseReceivingOrder.create.section.items.fields.expiryDate.label"),":"," ",n.expiryDate]}),s&&n.lotNumber&&Te(qe,{variant:"bodySm",as:"p",color:"subdued",children:[c("pages.warehouseReceivingOrder.create.section.items.fields.lotNumber.label"),":"," ",n.lotNumber]})]}),qt(e).with({mode:"edit"},()=>Te(je,{distribution:"trailing",children:[a&&E(je.Item,{children:E(vr,{plain:!0,icon:E(Y8,{size:20,color:"var(--p-icon)"}),onClick:f})}),i&&E(je.Item,{children:E(vr,{plain:!0,icon:E(lle,{size:20,color:"var(--p-icon)"}),onClick:d})})]})).with({mode:"view",wroStatus:Gq.completed},x=>Te(je,{vertical:!0,spacing:"tight",distribution:"trailing",alignment:"trailing",children:[E(je.Item,{children:x.item.receivedQty!==x.item.expectedQty?E(H9,{items:[{status:"warning",icon:CF,title:`Final Qty: ${x.item.receivedQty??0}`}]}):Te(qe,{variant:"bodyMd",as:"p",children:[c("pages.warehouseReceivingOrder.create.section.items.fields.finalQty.label"),":"," ",x.item.receivedQty]})}),E(je.Item,{children:Te(qe,{variant:"bodySm",as:"p",color:"subdued",children:[c("pages.warehouseReceivingOrder.create.section.items.fields.expectedQty.label"),":"," ",x.item.expectedQty]})})]})).with({mode:"view",wroStatus:Zn.not(Gq.completed)},()=>Te(qe,{variant:"bodyMd",as:"p",children:["x ",n.expectedQty]})).exhaustive()]}):null},Kfe=({value:e,isDisabled:t,error:r,onChange:n,isSupportWroCartonOrPalletIn:i})=>{const{t:a}=jt(),o=`pages.warehouseReceivingOrder.form.fields.${i?"receivingHandling":"inboundHandlingMethod"}`,s=k.useMemo(()=>{const l=[{label:a(`${o}.options.carton.label`),value:wi.carton}];return i?l.push({label:a(`${o}.options.pallet.label`),value:wi.pallet}):l.unshift({label:a(`${o}.options.product.label`),value:wi.product}),l},[i,a,o]);return Te(je,{vertical:!0,spacing:"tight",children:[E(dP,{id:"inboundHandlingMethod",requiredIndicator:!0,children:E(qe,{as:"span",variant:"bodyMd",children:a(`${o}.label`)})}),E(gce,{name:"inboundHandlingMethod",orientation:"horizontal",options:s,disabled:t,selected:e,gap:{xl:"8px",md:"8px",sm:"8px",xs:"8px"},columnSpan:{xs:6},onChange:n}),r&&E(su,{message:r,fieldID:"inboundHandlingMethod"})]})},abt=bt("div",{target:"evc2xcq0"})({name:"7ppu6v",styles:"display:flex;align-items:center;*+*{margin-left:var(--p-space-1);}"}),obt=({onChange:e,value:t})=>{const{t:r}=jt(),{formatDate:n}=J8(),i=k.useCallback(a=>{const o=n(a);e(o)},[n,e]);return Te(je,{vertical:!0,spacing:"extraTight",children:[E(abt,{children:E("span",{children:r("pages.warehouseReceivingOrder.form.fields.items.fields.expiryDate.label")})}),E(aL,{fullWidth:!0,value:Ks(t)?void 0:Zt.fromFormat(hs(t),"yyyy-MM-dd"),onSelect:i,placeholder:r("pages.warehouseReceivingOrder.form.fields.items.fields.expiryDate.placeholder")})]})},sbt={HKD:{code:"HKD",label:"HKD",name:"Hong Kong Dollar"},USD:{code:"USD",label:"USD",name:"U.S. Dollar"},EUR:{code:"EUR",name:"Euro"},GBP:{code:"GBP",name:"British Pound Sterling"},JPY:{code:"JPY",name:"Japanese Yen"},KRW:{code:"KRW",name:"South Korean Won"},CNY:{code:"CNY",name:"Chinese Renminbi"},SGD:{code:"SGD",name:"Singapore Dollar"},THB:{code:"THB",name:"Thailand Baht"},CAD:{code:"CAD",name:"Canadian Dollar"},AUD:{code:"AUD",name:"Australian Dollar"},MOP:{code:"MOP",name:"Macau Patacas"},ARS:{code:"ARS",name:"Argentinian Peso"},BRL:{code:"BRL",name:"Brazilian Real"},CZK:{code:"CZK",name:"Czech Republic Koruny"},DKK:{code:"DKK",name:"Danish Krone"},EGP:{code:"EGP",name:"Egyptian Pound"},HUF:{code:"HUF",name:"Hungarian Forint"},ILS:{code:"ILS",name:"Israeli Shekel"},INR:{code:"INR",name:"Indian Rupee"},IDR:{code:"IDR",name:"Indonesian Rupiah"},KES:{code:"KES",name:"Kenyan Schilling"},MYR:{code:"MYR",name:"Malaysian Ringgits"},MXN:{code:"MXN",name:"New Mexican Peso"},TWD:{code:"TWD",name:"New Taiwan Dollar"},TRY:{code:"TRY",name:"New Turkish Lira"},NZD:{code:"NZD",name:"New Zealand Dollar"},NOK:{code:"NOK",name:"Norwegian Krone"},PKR:{code:"PKR",name:"Pakistan Rupee"},PHP:{code:"PHP",name:"Philippine Peso"},PLN:{code:"PLN",name:"Polish Zloty"},RUB:{code:"RUB",name:"Russian Rouble"},SAR:{code:"SAR",name:"Saudi Arabian Riyal"},ZAR:{code:"ZAR",name:"South African Rand"},SEK:{code:"SEK",name:"Swedish Krona"},CHF:{code:"CHF",name:"Swiss Francs"},AED:{code:"AED",name:"United Arab Emirates Dirham"},BBD:{code:"BBD",name:"Barbadian Dollar"},AZN:{code:"AZN",name:"Azerbaijani Manat"},BND:{code:"BND",name:"Brunei Dollar"},CLP:{code:"CLP",name:"Chilean Peso"},COP:{code:"COP",name:"Colombian Peso"},DOP:{code:"DOP",name:"Dominican Peso"},ISK:{code:"ISK",name:"Icelandic Króna"},KHR:{code:"KHR",name:"Cambodian Riel"},MUR:{code:"MUR",name:"Mauritian Rupee"},PGK:{code:"PGK",name:"Papua New Guinea Kina"},RON:{code:"RON",name:"Romanian Leu"},TTD:{code:"TTD",name:"Trinidad and Tobago Dollar"},VND:{code:"VND",name:"Vietnamese Dong"},QAR:{code:"QAR",name:"Qatari Riyal"}},lbt=Object.values(sbt),cbt=()=>({currencies:k.useMemo(()=>lbt.map(t=>({label:t.label??t.code,value:t.code})),[])}),ubt=({autoFocus:e,selectedProduct:t,error:r,label:n,onProductSelect:i})=>{const{t:a}=jt(),{userOrganization:o}=Nr(),[s,l]=k.useState([]),[c,u]=k.useState(1),[d,f]=k.useState((t==null?void 0:t.name)??(t==null?void 0:t.itemDescription)),[h,p]=k.useState((t==null?void 0:t.name)??(t==null?void 0:t.itemDescription));mle(()=>{p(d)}
574,500,[d]);const{watch:g}=Dy(),v=g("inboundHandlingMethod"),{data:m,isLoading:b}=Ey((o==null?void 0:o.id)??"",{keyword:h==null?void 0:h.trim(),types:qt(v).with(wi.product,()=>[Lc.sellable_product,Lc.packaging_material]).with(wi.carton,()=>[Lc.carton]).otherwise(()=>{}),page:c,perPage:50},{query:{enabled:!!o}}),y=k.useMemo(()=>qt(v).with(wi.product,()=>dd((m==null?void 0:m.items)??[],Ys.map(_=>({type:_.type,label:`${_.sku} - ${_.itemDescription}`,value:_.id})),Ys.groupBy(_=>_.type),_=>Array.from(_),Ys.map(([_,P])=>({title:a(`pages.warehouseReceivingOrder.form.fields.items.fields.productType.options.${fs(_)}.label`),options:P})))).with(wi.carton,()=>(m==null?void 0:m.items.map(_=>({label:`${_.sku} - ${_.itemDescription}`,value:_.id})))??[]).otherwise(()=>[]),[v,m==null?void 0:m.items,a]),w=k.useCallback(_=>{f(_),i(null)},[i]),x=k.useCallback(_=>{const P=m==null?void 0:m.items.find(F=>F.id===_[0]);P&&(l([P.id]),f(P.itemDescription),i(P))},[i,m==null?void 0:m.items]),C=k.useCallback(()=>{m&&c<Math.floor(m.meta.total/50)&&u(_=>_+1)},[c,m]);k.useEffect(()=>{t&&f(t.itemDescription)},[t]);const T=E(OS.TextField,{autoFocus:e,value:d??void 0,label:n,onChange:w,autoComplete:"off",requiredIndicator:!0,error:r});return E(OS,{options:y,selected:s,textField:T,onSelect:x,loading:b,onLoadMoreResults:C})},dbt=bt("div",{target:"euf3z3z0"})({name:"5g75tq",styles:".Polaris-Label{width:100%;}"}),fbt=({mode:e,formMethods:t,inboundHandlingMethod:r,selectedProduct:n,onSelectedProduct:i,onSubmit:a,supportsLotLevelInventoryTracking:o,hasExistingInventoryEntries:s})=>{var y;const{t:l}=jt(),{currencies:c}=cbt(),{userOrganization:u}=Nr();md(u);const{control:d,getValues:f,setValue:h,handleSubmit:p,formState:{errors:g},watch:v}=t,m=f("productId");dA(u.id,m??"",{query:{onSuccess:w=>i(w)}});const b=k.useCallback(w=>{i(w),w?h("productId",w.id,{shouldValidate:!0}):h("productId","")},[i,h]);return E(dbt,{children:E(mP,{onSubmit:p(a),implicitSubmit:!1,children:Te(si,{children:[E(si.Group,{children:E(ubt,{autoFocus:e==="add",selectedProduct:n,label:l("pages.warehouseReceivingOrder.form.fields.items.fields.name.label"),error:(y=g.productId)==null?void 0:y.message,onProductSelect:b})}),Te(si.Group,{condensed:!0,children:[E(Dr,{name:"expectedQty",control:d,render:({field:w,fieldState:{error:x}})=>E(Fl,{...w,value:w.value??void 0,type:"integer",label:l("pages.warehouseReceivingOrder.form.fields.items.fields.quantity.label"),min:1,autoComplete:"off",requiredIndicator:!0,error:!!x})}),E(Dr,{name:"unitValue",control:d,render:({field:w,fieldState:{error:x}})=>E(Fl,{...w,value:w.value??void 0,type:"two-decimal",label:l("pages.warehouseReceivingOrder.form.fields.items.fields.unitCost.label"),min:.01,autoComplete:"off",error:x==null?void 0:x.message,connectedLeft:E(Dr,{control:d,name:"currency",render:({field:C,fieldState:{error:T}})=>E(Jbe,{label:l("pages.warehouseReceivingOrder.form.fields.items.fields.currency.label"),placeholder:l("pages.warehouseReceivingOrder.form.fields.items.fields.currency.placeholder"),options:c,requiredIndicator:!0,labelHidden:!0,...C,value:C.value??void 0,error:T==null?void 0:T.message})})})})]}),o&&Te(si.Group,{condensed:!0,children:[E(obt,{onChange:w=>h("expiryDate",w),value:v("expiryDate")??void 0}),E(Dr,{name:"lotNumber",control:d,render:({field:w,fieldState:{error:x}})=>E(bi,{label:l("pages.warehouseReceivingOrder.form.fields.items.fields.lotNumber.label"),type:"text",autoComplete:"off",error:x==null?void 0:x.message,...w,value:w.value??void 0})})]}),E(si.Group,{condensed:!0,children:E(Dr,{name:"remarks",control:d,render:({field:w,fieldState:{error:x}})=>E(bi,{multiline:!0,showCharacterCount:!0,maxLength:100,label:l("pages.warehouseReceivingOrder.form.fields.items.fields.remarks.label"),placeholder:l(qt(r).with(wi.carton,()=>"pages.warehouseReceivingOrder.form.fields.items.fields.remarks.placeholderCarton").otherwise(()=>"pages.warehouseReceivingOrder.form.fields.items.fields.remarks.placeholder")),type:"text",autoComplete:"off",error:x==null?void 0:x.message,disabled:!o&&s,...w,value:w.value??void 0})})})]})})})},hbt=({mode:e,item:t,inboundHandlingMethod:r,orgWarehouseId:n,onClose:i,onSubmit:a})=>{const{t:o}=jt(),{userOrganization:s}=Nr(),{isSupportsLotLevelInventoryTracking:l}=Wy(n);md(s);const c=iL(),u=AA({defaultValues:{productId:t==null?void 0:t.productId,expectedQty:(t==null?void 0:t.expectedQty)??1,expiryDate:t==null?void 0:t.expiryDate,lotNumber:t==null?void 0:t.lotNumber,currency:t==null?void 0:t.currency,unitValue:t==null?void 0:t.unitValue},resolver:OA(c)}),{handleSubmit:d,reset:f,setValue:h}=u,[p,g]=k.useState(null),{data:v}=g8(s.id,{orgWarehouseId:n,productId:(p==null?void 0:p.id)??""},{query:{enabled:!!(p!=null&&p.id)&&!l,onSuccess:w=>{var x;h("remarks",((x=w.items[0])==null?void 0:x.remarks)??null)}}}),m=k.useMemo(()=>{var w;
574return!!((w=v==null?void 0:v.items)!=null&&w.length)},[v]),b=k.useCallback(w=>{f(),a({...w,barcode:(p==null?void 0:p.barcode)??""})},[a,f,p]),y=k.useCallback(()=>{f(),i()},[i,f]);return Te(ji,{fullScreen:!0,open:!0,titleHidden:!0,title:"",primaryAction:{content:o("common.save"),onAction:d(b)},onClose:()=>{},children:[E(_A,{title:o(`pages.warehouseReceivingOrder.form.fields.items.${e}Item.${fs(r)}.title`),onClose:y}),E(ji.Section,{children:E(fbt,{mode:e,inboundHandlingMethod:r,formMethods:u,selectedProduct:p,onSelectedProduct:g,onSubmit:b,supportsLotLevelInventoryTracking:l,hasExistingInventoryEntries:m})})]})},pbt=bt("div",{target:"euqay550"})({name:"xbaepo",styles:"padding:var(--p-space-3) 0"}),mbt=({items:e,wroFormMethods:t,shouldShowEmptyItemErrorMessage:r,onItemAdd:n,onItemsAdd:i,onItemEdit:a,onItemRemove:o})=>{const{t:s}=jt(),[l,c]=k.useState(),{value:u,setTrue:d,setFalse:f}=Ei(!1),{value:h,setTrue:p,setFalse:g}=Ei(!1),v=t.watch("orgWarehouseId"),m=!!v,{isSupportsLotLevelInventoryTracking:b}=Wy(v),y=A=>{if(!m){t.setError("orgWarehouseId",{type:"manual",message:s("pages.warehouseReceivingOrder.form.errors.warehouseRequiredBeforeAddingItems")});return}A()},w=Ks(e)?[]:[{content:s("pages.warehouseReceivingOrder.create.section.items.button.import"),onAction:()=>y(p)},{content:s("pages.warehouseReceivingOrder.create.section.items.button.addProductAction"),onAction:()=>y(d)}],x=k.useCallback(A=>{c(A),d()},[d]),C=k.useCallback(()=>{c(void 0),f()},[f]),T=k.useCallback(A=>{A.length>0&&i(A.map(M=>({productId:M.productId,expectedQty:M.expectedQty,expectedQtyPerCarton:M.expectedQtyPerCarton??null,expiryDate:M.expiryDate??null,lotNumber:M.lotNumber??null,remarks:M.remarks??null,currency:M.currency,unitValue:M.unitValue,barcode:M.barcode}))),g()},[g,i]),_=k.useCallback(A=>{l!==void 0&&(a(l,A),c(void 0),C())},[l,C,a]),P=k.useCallback(A=>{n(A),C()},[C,n]),F=k.useCallback(A=>{o(A)},[o]),I=k.useCallback(({index:A,barcode:M})=>{a(A,{...hs(e[A]),barcode:M})},[a,e]),R=t.watch("inboundHandlingMethod"),D=qt(R).with("carton",()=>RD).with("product",()=>vce).otherwise(()=>nbt);return E(Vi,{title:s("pages.warehouseReceivingOrder.create.section.items.title"),actions:w,children:Te(Vi.Section,{children:[!Ks(e)&&e.length>0&&Te(ei,{children:[E(rx,{status:"warning",children:E(Go,{i18nKey:"pages.warehouseReceivingOrder.create.section.items.warningBanner.desc",components:{strong:E(qe,{as:"span",variant:"bodyMd",fontWeight:"semibold",children:E("div",{})})}})}),E(Qr,{heightSpace:"5"})]}),E(Dr,{name:"inboundHandlingMethod",control:t.control,render:({field:A,fieldState:{error:M}})=>E(Kfe,{value:A.value,isDisabled:!Ks(e)&&e.length>0,error:M==null?void 0:M.message,onChange:A.onChange,isSupportWroCartonOrPalletIn:!1})}),R&&Te(_le,{...t,children:[E(Qr,{heightSpace:"5"}),Ks(e)?Te(pP,{image:D,heading:s(`pages.warehouseReceivingOrder.create.section.items.emptyState.${fs(R)}.title`),action:{content:s(`pages.warehouseReceivingOrder.create.section.items.emptyState.${fs(R)}.button`),onAction:()=>y(d)},secondaryAction:{content:s(`pages.warehouseReceivingOrder.create.section.items.emptyState.${fs(R)}.import`),onAction:()=>y(p)},children:[E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:s(`pages.warehouseReceivingOrder.create.section.items.emptyState.${fs(R)}.desc`)}),r&&E(su,{message:s(`pages.warehouseReceivingOrder.create.section.error.empty.${fs(R)}`),fieldID:"item"})]}):e.map((A,M)=>E(pbt,{children:E(ibt,{mode:"edit",index:M,item:A,onEdit:x,onDelete:F,onBarcodeUpdate:I,supportsLotLevelInventoryTracking:b},A.productId)})),u&&R&&E(hbt,{mode:Jl(l)?"add":"edit",item:Jl(l)?null:hs(e[l]),inboundHandlingMethod:R,orgWarehouseId:t.watch("orgWarehouseId"),onClose:C,onSubmit:Jl(l)?P:_}),h&&R&&E(Vfe,{inboundHandlingMethod:R,onClose:T})]})]})})};function aTt(e){var t;return(t=e[0])==null?void 0:t.value}function gbt(){const{userOrganization:e}=Nr(),{data:t,isLoading:r}=boe((e==null?void 0:e.id)??"",{query:{enabled:!!e}});return{warehouseOptions:k.useMemo(()=>!t||t.items.length===0?[]:t.items.map(i=>({value:i.id,label:i.address.name,address:i.address})),[t]),isLoading:r}}const vbt=e=>jP([e.addressLine1,e.addressLine2,e.city,e.state,e.postalCode,e.country]).join(", ");var ybt={name:"gm9194",styles:"background:var(--p-surface-critical-subdued);border-color:var(--p-border-critical)"},bbt={name:"1hp0zu2",styles:"color:var(--p-text-subdued)"};const Sbt=bt("div",{target:"eip7fcs1"})(".Polaris-Button__Content{",e=>!e.$hasValue&&bbt,";}.Polaris-Button{",e=>e.hasError&&ybt,";}");var wbt={name:"1w5b52x",styles:"font-weight:normal!important;color:var(--p-text-subdued)"};const xbt=bt("div",{target:"eip7fcs0"})(".Polaris-Button__Text{",({$isNoOptionSelected:e})=>e?wbt:"",";}"),Cbt=({label:e,disabled:t=!1,placeholder:r,helpText:n,error:i,required:a,options:o,sections:s,value:l,onCh
574ange:c})=>{const{value:u,toggle:d}=Ei(!1),f=k.useMemo(()=>{var p;return(p=o??(s==null?void 0:s.flatMap(g=>g.options)))==null?void 0:p.find(g=>g.value===l)},[o,s,l]),h=k.useCallback(p=>{Jl(p[0])||(c(p[0]),d())},[c,d]);return E(hi,{fullWidth:!0,active:u,activator:Te(xbt,{$isNoOptionSelected:!l,children:[Te(je,{vertical:!0,spacing:"none",children:[e&&Te(ei,{children:[typeof e=="string"?Te(qe,{as:"span",variant:"bodyMd",children:[e,a&&E(qe,{as:"span",variant:"bodyMd",color:"critical",children:" *"})]}):e,E(Qr,{heightSpace:"1"})]}),E(Sbt,{$hasValue:!!f,hasError:!!i,children:E(vr,{disabled:t,fullWidth:!0,disclosure:!0,textAlign:"left",onClick:d,children:(f==null?void 0:f.label)??r})})]}),n&&Te(ei,{children:[E(Qr,{heightSpace:"1"}),E(qe,{as:"span",variant:"bodyMd",color:"subdued",children:n})]}),i&&Te(ei,{children:[E(Qr,{heightSpace:"1"}),E(su,{message:i,fieldID:"option-list-select"})]})]}),onClose:d,children:E(Ube,{options:o,sections:s,selected:f?[f.value]:[],onChange:h})})},Ebt=({control:e})=>{const{t}=jt(),{warehouseOptions:r}=gbt();return E(Dr,{name:"orgWarehouseId",control:e,render:({field:n,fieldState:{error:i}})=>{const a=r.find(o=>o.value===n.value);return Te(ei,{children:[E(Cbt,{required:!0,label:t("pages.warehouseReceivingOrder.create.section.warehouse.selection.label"),placeholder:t("pages.warehouseReceivingOrder.create.section.warehouse.selection.placeholder"),options:r,value:n.value,onChange:n.onChange,error:i==null?void 0:i.message}),a&&Te(ei,{children:[E(Qr,{heightSpace:"5"}),Te(je,{vertical:!0,spacing:"tight",distribution:"fill",children:[E(qe,{as:"p",variant:"bodyMd",children:vbt(a.address)}),Te(qe,{as:"p",variant:"bodyMd",color:"subdued",children:[t("pages.warehouseReceivingOrder.create.section.warehouse.contactNumber.label"),": +",`${a.address.phoneCountryCode} ${a.address.phone}`]})]})]})]})}})},kbt=bt("div",{target:"e1efpy0v1"})({name:"7ppu6v",styles:"display:flex;align-items:center;*+*{margin-left:var(--p-space-1);}"}),Tbt=bt("span",{target:"e1efpy0v0"})({name:"yib5p3",styles:"color:var(--p-text-critical)"}),_bt=({onChange:e,value:t,error:r})=>{const{t:n}=jt(),{formatDate:i}=J8(),a=k.useCallback(o=>{const s=i(o);e(s)},[i,e]);return Te(je,{vertical:!0,spacing:"extraTight",children:[Te(kbt,{children:[Te("span",{children:[" ",n("pages.warehouseReceivingOrder.form.fields.expectedArrivalDate.label")]}),E(Tbt,{children:"*"})]}),E(aL,{fullWidth:!0,value:Ks(t)?void 0:Zt.fromFormat(hs(t),"yyyy-MM-dd"),onSelect:a,placeholder:n("pages.warehouseReceivingOrder.form.fields.expectedArrivalDate.placeholder")}),r&&E(su,{message:r,fieldID:"expectedArrivalDate"})]})},lS=1,Pbt=()=>{const{t:e}=jt(),t=iL().extend({barcode:Pt.string().min(1)}),r=jfe();return k.useMemo(()=>Pt.object({orgWarehouseId:Pt.string({required_error:e("form.validation.pleaseSelect",{fieldName:e("pages.warehouseReceivingOrder.create.section.warehouse.selection.label")})}).uuid(),inboundHandlingMethod:Pt.nativeEnum(wi,{required_error:e("form.validation.pleaseSelect",{fieldName:e("pages.warehouseReceivingOrder.form.fields.inboundHandlingMethod.label")})}),shipByCarrier:Pt.string({required_error:e("form.validation.required",{fieldName:e("pages.warehouseReceivingOrder.form.fields.shipByCarrier.label")})}).trim().min(1,{message:e("form.validation.required",{fieldName:e("pages.warehouseReceivingOrder.form.fields.shipByCarrier.label")})}).max(255,{message:e("form.validation.invalidMaxLength",{fieldName:e("pages.warehouseReceivingOrder.form.fields.shipByCarrier.label"),maxLength:255})}),trackingNumber:Pt.string().max(255,{message:e("form.validation.invalidMaxLength",{fieldName:e("pages.warehouseReceivingOrder.form.fields.trackingNumber.label"),maxLength:255})}).nullable().default(null).transform(n=>n===""?null:n),expectedArrivalDate:Pt.string({required_error:e("form.validation.required",{fieldName:e("pages.warehouseReceivingOrder.form.fields.expectedArrivalDate.label")})}).min(1,{message:e("form.validation.required",{fieldName:e("pages.warehouseReceivingOrder.form.fields.expectedArrivalDate.label")})}),numOfCartons:Pt.number({required_error:e("form.validation.required",{fieldName:e("pages.warehouseReceivingOrder.form.fields.numberOfCartons.label")})}).int({message:e("form.validation.mustBeInteger",{fieldName:e("pages.warehouseReceivingOrder.form.fields.numberOfCartons.label")})}).positive({message:e("form.validation.mustBePositive",{fieldName:e("pages.warehouseReceivingOrder.form.fields.numberOfCartons.label")})}).default(1),numOfPallets:Pt.number({required_error:e("form.validation.required",{fieldName:e("pages.warehouseReceivingOrder.form.fields.numberOfPallets.label")})}).int({message:e("form.validation.mustBeInteger",{fieldName:e("pages.warehouseReceivingOrder.form.fields.numberOfPallets.label")})}).min(0,{message:e("form.validation.mustBeNonNegative",{fieldName:e("pages.warehouseReceivingOrder.form.fields.numberOfPallets.label")})}).default(0),supplierName:Pt.string().max(255,{message:e("form.validation.invalidMaxLength",{fieldName:e("pages.warehouseReceivingOrder.form.fields.supplierName.label"),maxLength:255})}).nullable().default(null).transform(n=>n===""?null:n),purchaseOrderNumber:Pt.string().max(255,{message:e("form.validation.invalidMaxLength",{fieldName:e("pages.warehouseReceivingOrder.form.fields.purchaseOrderNumber.label"),maxLength:255})}).nullable().default(null).transform(n=>n===""?null:n),remarks:Pt.string().nullable().default(null).transform(n=>
574n===""?null:n),items:t.array(),cartons:r.array(),originalSupportingDocuments:Pt.array(Pt.object({id:Pt.string(),fileName:Pt.string(),fileType:Pt.string(),fileUrl:Pt.string()})).optional(),supportingDocument:Pt.instanceof(File).refine(n=>n.size<=lS*1024*1024,{message:e("form.validation.maxFileSize",{maxFileSize:`${lS}MB`})}).optional(),inventoryType:Pt.nativeEnum(Ai).optional()}).refine(n=>{const i=Array.isArray(n.items)&&n.items.length>0,a=Array.isArray(n.cartons)&&n.cartons.length>0;return i||a},{message:e("pages.warehouseReceivingOrder.form.errors.eitherItemsOrCartonsRequired"),path:["items","cartons"]}),[e,t,r])},Abt=bt("div",{target:"e1669c6l0"})({name:"5g75tq",styles:".Polaris-Label{width:100%;}"}),Obt=["pdf","docx","doc","xlsx","xls","csv","txt"].join(", "),Ibt=["application/pdf","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/msword","application/vnd.oasis.opendocument.text","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.ms-excel","text/csv","text/plain"].join(", ");function to(e,t,r,n){e.setValue(t,r,n)}const Rbt=({mode:e,wroId:t,formMethods:r,isCreatingWro:n,onSubmit:i})=>{const{t:a}=jt(),{control:o,watch:s,trigger:l,formState:{errors:c}}=r,{userOrganization:u}=Nr();md(u);const d=s("items"),f=s("cartons"),h=s("originalSupportingDocuments"),p=s("orgWarehouseId"),g=s("inboundHandlingMethod"),v=s("inventoryType"),{isSupportWroCartonOrPalletIn:m,isSupportsLotLevelInventoryTracking:b}=Wy(p),y=k.useMemo(()=>(f==null?void 0:f.reduce((j,q)=>j+q.qty,0))??0,[f]),w=k.useMemo(()=>g===wi.pallet,[g]),{data:x}=Ey(u.id),C=k.useMemo(()=>(x==null?void 0:x.items)??[],[x]),{data:T}=g8(p,{orgWarehouseId:p,productIds:C.map(j=>(j==null?void 0:j.id)??"").filter(Boolean),productId:""},{query:{enabled:!!C.length&&!b}}),_=k.useMemo(()=>{var j;return!!((j=T==null?void 0:T.items)!=null&&j.length)},[T]);k.useEffect(()=>{(m&&(g===wi.product||!g)||g===wi.pallet&&!m)&&to(r,"inboundHandlingMethod",wi.carton)},[m,r,g,v]);const P=k.useCallback(j=>{to(r,"items",[...d??[],j])},[d,r]),F=k.useCallback(j=>{to(r,"cartons",[...f??[],j])},[f,r]),I=k.useCallback(j=>{to(r,"items",j)},[r]),R=k.useCallback(j=>{to(r,"cartons",j)},[r]),D=k.useCallback((j,q)=>{const G=d.map((N,O)=>O===j?q:N);to(r,"items",pK(G))},[d,r]),A=k.useCallback((j,q)=>{const G=f.map((N,O)=>O===j?q:N);to(r,"cartons",pK(G))},[f,r]),M=k.useCallback(j=>{const q=d.filter((G,N)=>N!==j);to(r,"items",q)},[d,r]),X=k.useCallback(j=>{const q=f.filter((G,N)=>N!==j);to(r,"cartons",q)},[f,r]),Y=k.useRef(null),[se,ne]=k.useState([]),ie=k.useCallback(()=>{Y.current&&(Y.current.value="",Y.current.click())},[]),ae=k.useCallback(async j=>{var N;const q=(N=j.target.files)==null?void 0:N[0];if(!q)return;const G=[];if(q.size>lS*1024*1024&&G.push(a("pages.warehouseReceivingOrder.form.fields.packingList.error.maxFileSize",{size:`${lS}MB`})),G.length>0){ne(G);return}to(r,"originalSupportingDocuments",[],{shouldValidate:!0}),to(r,"supportingDocument",q,{shouldValidate:!0})},[r,a]);k.useEffect(()=>{p&&l("orgWarehouseId")},[p,l]);const ce=E(Dr,{name:"shipByCarrier",control:o,render:({field:j,fieldState:{error:q}})=>E(bi,{requiredIndicator:!0,label:a("pages.warehouseReceivingOrder.form.fields.shipByCarrier.label"),autoComplete:"off",error:q==null?void 0:q.message,...j,value:j.value??""})}),ke=E(Dr,{name:"trackingNumber",control:o,render:({field:j,fieldState:{error:q}})=>E(bi,{label:a("pages.warehouseReceivingOrder.form.fields.trackingNumber.label"),autoComplete:"off",error:q==null?void 0:q.message,...j,value:j.value??""})}),ge=E(Dr,{name:"supplierName",control:o,render:({field:j,fieldState:{error:q}})=>E(bi,{label:a("pages.warehouseReceivingOrder.form.fields.supplierName.label"),autoComplete:"off",error:q==null?void 0:q.message,...j,value:j.value??""})}),De=E(Dr,{name:"purchaseOrderNumber",control:o,render:({field:j,fieldState:{error:q}})=>E(bi,{label:a("pages.warehouseReceivingOrder.form.fields.purchaseOrderNumber.label"),autoComplete:"off",error:q==null?void 0:q.message,...j,value:j.value??""})}),Ne=E(Dr,{name:"remarks",control:o,render:({field:j,fieldState:{error:q}})=>E(bi,{multiline:!0,showCharacterCount:!0,maxLength:255,label:a("pages.warehouseReceivingOrder.form.fields.remarks.label"),type:"text",autoComplete:"off",error:q==null?void 0:q.message,...j,value:j.value??""})}),We=E(Dr,{name:"supportingDocument",control:o,render:({field:j})=>Te(je,{vertical:!0,spacing:"tight",children:[E(qe,{as:"p",variant:"bodyMd",children:a("pages.warehouseReceivingOrder.form.fields.packingList.label")}),E(qe,{as:"p",variant:"bodyMd",color:"subdued",children:a("pages.warehouseReceivingOrder.form.fields.packingList.desc")}),Te("div",{children:[E(qe,{as:"p",variant:"bodySm",fontWeight:"semibold",children:a("pages.warehouseReceivingOrder.form.fields.packingList.requirements")}),E(qe,{as:"p",variant:"bodySm",color:"subdued",children:a("pages.warehouseReceivingOrder.form.fields.packingList.maxFileSize",{size:`${lS}MB`})}),E(qe,{as:"p",variant:"bodySm",color:"subdued",children:a("pages.warehouseReceivingOrder.form.fields.packingList.supportedFileTypes",{types:Obt})}),E(Qr,{heightSpace:"2"}),Te(je,{alignment:"center",children:[Te(je.Item,{fill:!0,children:[E(vr,{onClick:ie,children:a("pages.warehouseReceivingOrder.form.fields.packingList.upload")}),E("input",{ref:Y,type:"file",accept:Ibt,style:{display:"none"},onChange:ae})]}),Te(je.Item,{children:[(h??[]).length>0&&(h==null?void 0:h.map(q=>E(q9,{onRemove:()=>
574to(r,"originalSupportingDocuments",[]),children:E(RS,{external:!0,removeUnderline:!0,monochrome:!0,url:q.fileUrl,children:q.fileName})}))),j.value&&E(q9,{onRemove:()=>to(r,"supportingDocument",void 0),children:j.value.name})]})]})]}),se.map((q,G)=>Te(S.Fragment,{children:[E(Qr,{heightSpace:"1"}),E(su,{message:q,fieldID:"upload"})]},G))]})}),z=k.useCallback(()=>{const[j]=Object.keys(r.formState.errors);if(j){const q=document.querySelector(`[name="${j}"]`);q&&q.scrollIntoView({behavior:"smooth",block:"center"})}},[r.formState.errors]),J=k.useCallback(()=>{if(g===wi.pallet&&(r.getValues("numOfPallets")||0)<1){r.setError("numOfPallets",{message:a("form.validation.mustBePositive",{fieldName:a("pages.warehouseReceivingOrder.form.fields.numberOfPallets.label")})});return}to(r,"inventoryType",m?v??Ai.b2c:void 0),r.trigger().then(j=>{if(!j){z();return}i()})},[g,r,v,a,m,i,z]);return E(Pv,{children:Te(Pv.Section,{children:[E(Abt,{children:Te(mP,{onSubmit:J,implicitSubmit:!1,children:[E(Vi,{title:a("pages.warehouseReceivingOrder.create.section.basicInfo.title"),sectioned:!0,children:Te(si,{children:[Te(si.Group,{children:[E(Ebt,{control:o}),E(Dr,{name:"expectedArrivalDate",control:o,render:({field:j,fieldState:{error:q}})=>E(_bt,{onChange:j.onChange,value:j.value,error:q==null?void 0:q.message})})]}),m&&E(si.Group,{children:E(Dr,{name:"inventoryType",control:o,render:({field:j})=>Te(je,{vertical:!0,spacing:"tight",children:[E(dP,{id:"inventoryType",requiredIndicator:!0,children:E(qe,{as:"span",variant:"bodyMd",children:a("pages.warehouseReceivingOrder.inventoryType.label")})}),E(gce,{name:"inventoryType",orientation:"horizontal",options:[{label:a("pages.warehouseReceivingOrder.inventoryType.options.b2c.label"),value:Ai.b2c},{label:a("pages.warehouseReceivingOrder.inventoryType.options.b2b.label"),value:Ai.b2b},{label:a("pages.warehouseReceivingOrder.inventoryType.options.packing_material.label"),value:Ai.packing_material}],selected:j.value,gap:{xl:"6px",md:"6px",sm:"6px",xs:"6px"},columnSpan:{xl:4,md:4,sm:4,xs:4},onChange:q=>{j.onChange(q),to(r,"cartons",[]),to(r,"items",[])},disabled:_})]})})})]})}),p&&(m?Te(ei,{children:[E(rbt,{shouldShowEmptyItemErrorMessage:!!c.items,cartons:f,wroFormMethods:r,onCartonAdd:F,onCartonsAdd:R,onCartonEdit:A,onCartonRemove:X}),E(Vi,{title:a("pages.warehouseReceivingOrder.create.section.receivingHandling.title"),sectioned:!0,children:Te(si,{children:[E(si.Group,{children:E(Dr,{name:"inboundHandlingMethod",control:o,render:({field:j,fieldState:{error:q}})=>E(Kfe,{value:j.value,isDisabled:!1,error:q==null?void 0:q.message,onChange:j.onChange,isSupportWroCartonOrPalletIn:!0})})}),Te(si.Group,{children:[E(Dr,{name:"numOfCartons",control:o,render:({fieldState:{error:j}})=>E(Fl,{type:"integer",label:a("pages.warehouseReceivingOrder.form.fields.numberOfCartons.label"),autoComplete:"off",error:j==null?void 0:j.message,disabled:!0,value:y,onChange:()=>{}})}),E(Dr,{name:"numOfPallets",control:o,render:({field:j,fieldState:{error:q}})=>E(Fl,{...j,type:"integer",label:a("pages.warehouseReceivingOrder.form.fields.numberOfPallets.label"),autoComplete:"off",disabled:!w,min:w?1:0,error:q==null?void 0:q.message,value:w?j.value:0,onChange:G=>{j.onChange(Number.isNaN(G)?0:+G)}})})]}),Te(si.Group,{children:[ce,ke]}),Te(si.Group,{children:[ge,De]}),We]})})]}):Te(ei,{children:[E(Vi,{title:a("pages.warehouseReceivingOrder.create.section.basicInfo.title"),sectioned:!0,children:Te(si,{children:[Te(si.Group,{children:[E(Dr,{name:"numOfCartons",control:o,render:({field:j,fieldState:{error:q}})=>E(Fl,{...j,requiredIndicator:!0,type:"integer",label:a("pages.warehouseReceivingOrder.form.fields.numberOfCartons.label"),autoComplete:"off",min:1,error:!!q,value:String(j.value),onChange:G=>{xFe(lPe(G))&&j.onChange(Number(G))}})}),E(bi,{label:a("pages.warehouseReceivingOrder.form.fields.id.label"),readOnly:!0,disabled:!0,autoComplete:"off",value:t})]}),Te(si.Group,{children:[ce,ke]}),Te(si.Group,{children:[ge,De]}),Ne,We]})}),E(mbt,{shouldShowEmptyItemErrorMessage:!!c.items,items:d,wroFormMethods:r,onItemAdd:P,onItemsAdd:I,onItemEdit:D,onItemRemove:M})]})),E(Vi,{children:E(rx,{status:"info",children:E(Go,{i18nKey:"pages.warehouseReceivingOrder.form.banner.doubleConfirmInfo",components:{b:E("b",{})}})})})]})}),E(Qbe,{primaryAction:E(vr,{primary:!0,disabled:n,loading:n,onClick:J,children:qt(e).with("add",()=>a("pages.warehouseReceivingOrder.form.addWarehouseReceivingOrder.submit")).with("edit",()=>a("pages.warehouseReceivingOrder.form.editWarehouseReceivingOrder.edit")).exhaustive()})})]})})},oL=e=>{var t,r,n;return!poe(e)||!((t=e.response)!=null&&t.data)||typeof e.response.data!="object"||!((n=(r=e.response.data)==null?void 0:r.code)!=null&&n.startsWith("ERR_PRO_API_"))?null:e.response.data},oTt=e=>{var r;const t=oL(e);return(t==null?void 0:t.code)!=="ERR_PRO_API_SHIPMENT_VALIDATION_ERROR"||!((r=t.meta)!=null&&r.validationErrors)?[]:t.meta.validationErrors.map(n=>qt(n.code).with("shipment.array_size_too_small",()=>{if(n.field.indexOf("packages")!==-1&&n.field.indexOf("items")!==-1){const i=n.field.match(/packages\.(\d+)\.items/),a=i&&i[1]?parseInt(i[1],10)+1:null;if(a)return{key:"shipment.reviewAndPayment.validation.packageMustContainItems",params:{packageNumber:a}}}return{key:"shipment.reviewAndPayment.shipmentValidationError"}}
574).with("shipment.invalid_shopify_zonos_order_tax_term",()=>({key:"shipment.reviewAndPayment.validation.invalidShopifyZonosOrderTaxTerm"})).otherwise(()=>({key:"shipment.reviewAndPayment.shipmentValidationError"})))},sTt=e=>{var r;const t=oL(e);return jP([(r=t==null?void 0:t.meta)==null?void 0:r.message,t==null?void 0:t.message,poe(e)?e.message:null,e instanceof Error?e.message:null,typeof e=="string"?e:null])[0]??null},u$=(e,t)=>qt(e).with("b2b",()=>t("pages.warehouseReceivingOrder.inventoryType.options.b2b.label")).with("b2c",()=>t("pages.warehouseReceivingOrder.inventoryType.options.b2c.label")).with("packing_material",()=>t("pages.warehouseReceivingOrder.inventoryType.options.packing_material.label")).with(Zn.nullish,()=>t("pages.warehouseReceivingOrder.inventoryType.options.unset.label")).otherwise(r=>r),Fbt=(e,t)=>qt(e.code).with("ERR_PRO_API_WAREHOUSE_RECEIVING_ORDER_ITEM_FORBIDDEN_PRODUCT_SKU",()=>{const r=e.meta,n=r==null?void 0:r.forbiddenSku;return n?t("pages.warehouseReceivingOrder.form.errors.forbiddenSku",{sku:n}):t("pages.warehouseReceivingOrder.form.errors.forbiddenProduct")}).with("ERR_PRO_API_INVENTORY_POOL_MISMATCH",()=>{const r=e.meta,n=u$(r==null?void 0:r.productPool,t),i=u$(r==null?void 0:r.warehouseReceivingOrderInventoryType,t);return r!=null&&r.sku?t("pages.warehouseReceivingOrder.form.errors.inventoryPoolMismatch",{sku:r.sku,productStorageType:n,wroStorageType:i}):t("pages.warehouseReceivingOrder.form.errors.inventoryPoolMismatchWithoutSku",{productStorageType:n,wroStorageType:i})}).with("ERR_PRO_API_WAREHOUSE_RECEIVING_ORDER_ITEM_INVALID_PRODUCT_TYPE",()=>t("pages.warehouseReceivingOrder.form.errors.invalidProductType")).with("ERR_PRO_API_WAREHOUSE_RECEIVING_ORDER_INVENTORY_TYPE_REQUIRED",()=>t("pages.warehouseReceivingOrder.form.errors.inventoryTypeRequired")).otherwise(()=>e.message||t("pages.warehouseReceivingOrder.form.errors.unknown")),Dbt=()=>{const{t:e}=jt(),t=sp(),{userOrganization:r}=Nr(),{warehouseReceivingOrderId:n}=v6();md(r),md(n);const i=Pbt(),a=AA({resolver:OA(i)}),{handleSubmit:o,reset:s}=a,[l,c]=k.useState(null),[u,d]=k.useState(null),{isSupportWroCartonOrPalletIn:f}=Wy(l==null?void 0:l.orgWarehouseId),{data:h}=Ey(r.id),{mutateAsync:p,isLoading:g}=CKe(),v=k.useCallback(y=>{var x,C,T,_;const w=h==null?void 0:h.items.find(P=>P.id===y.productId);return{...y,currency:y.currency,remarks:y.remarks??null,barcode:y.barcode??"",expectedQtyPerCarton:y.expectedQtyPerCarton??null,product:w?{id:w.id,name:w.name??"",sku:w.sku??"",type:w.type,itemDescription:w.itemDescription??"",dimension:{length:((x=w.dimension)==null?void 0:x.length)??0,width:((C=w.dimension)==null?void 0:C.width)??0,height:((T=w.dimension)==null?void 0:T.height)??0,unit:((_=w.dimension)==null?void 0:_.unit)??td.cm},cartonItemQty:w.cartonItemQty??1}:void 0}},[h==null?void 0:h.items]);k.useEffect(()=>{l&&(h!=null&&h.items)&&s({orgWarehouseId:l.orgWarehouseId,inboundHandlingMethod:l.inboundHandlingMethod,shipByCarrier:l.shipByCarrier,trackingNumber:l.trackingNumber,inventoryType:l.inventoryType,cartons:f?l.cartons.map(y=>({...y,items:y.items.map(v)})):[],items:f?[]:l.cartons.flatMap(y=>y.items).map(v),expectedArrivalDate:l.expectedArrivalDate,purchaseOrderNumber:l.purchaseOrderNumber,numOfCartons:l.numOfCartons??void 0,numOfPallets:l.numOfPallets??void 0,remarks:l.remarks,supplierName:l.supplierName,originalSupportingDocuments:l.supportingDocuments,supportingDocument:void 0})},[l,s,f,h==null?void 0:h.items,v]),SKe(r.id,n,{query:{enabled:!!n,onSuccess:c}});const m=k.useCallback(()=>{t(Re.fulfillmentInventory({tab:Um.WRO}))},[t]),b=k.useCallback(async y=>{var w;if(r!=null&&r.id)try{d(null),await p({orgId:r==null?void 0:r.id,warehouseReceivingOrderId:n,data:{orgWarehouseId:y.orgWarehouseId,inboundHandlingMethod:y.inboundHandlingMethod,inventoryType:y.inventoryType,shipByCarrier:y.shipByCarrier,trackingNumber:y.trackingNumber??void 0,cartons:f?y.cartons.filter(x=>x.items.length>0).map(x=>({...x,items:x.items.map(C=>({...C,expectedQty:C.expectedQtyPerCarton?C.expectedQtyPerCarton*x.qty:C.expectedQty??1,expectedQtyPerCarton:C.expectedQtyPerCarton,currency:C.currency}))})):[],items:f?[]:y.items.map(x=>({...x,expectedQty:x.expectedQty??1,expectedQtyPerCarton:x.expectedQtyPerCarton,currency:x.currency})),expectedArrivalDate:y.expectedArrivalDate,numOfCartons:y.numOfCartons,numOfPallets:y.numOfPallets,purchaseOrderNumber:y.purchaseOrderNumber,remarks:y.remarks,supplierName:y.supplierName,originalSupp
574ortingDocuments:((w=y.originalSupportingDocuments)==null?void 0:w.map(({id:x})=>({id:x})))??[],additionalSupportingDocuments:y.supportingDocument?[y.supportingDocument]:void 0}}),m()}catch(x){const C=oL(x);d(C||{code:"ERR_PRO_API_NOT_FOUND",message:"An unexpected error occurred",meta:{message:"An unexpected error occurred"}}),window.scrollTo({top:0,behavior:"smooth"})}},[r==null?void 0:r.id,p,n,f,m]);return Te(Eee,{children:[E(vr,{plain:!0,monochrome:!0,removeUnderline:!0,icon:E(pJe,{}),url:Re.fulfillmentInventory({tab:Um.WRO}),children:e("pages.warehouseReceivingOrder.create.back.title")}),E(Qr,{heightSpace:"2"}),E(qe,{as:"h1",variant:"headingLg",children:e("pages.warehouseReceivingOrder.editWarehouseReceivingOrder.title")}),E(Qr,{heightSpace:"2"}),u&&Te(ei,{children:[E(rx,{status:"critical",title:e("pages.warehouseReceivingOrder.form.errors.title"),children:Fbt(u,e)}),E(Qr,{heightSpace:"4"})]}),E(Rbt,{mode:"edit",wroId:n,formMethods:a,isCreatingWro:g,onSubmit:o(b)})]})},Nbt=()=>{const e=sp();return k.useEffect(()=>{e(Re.pageNotFound(),{replace:!0})},[e]),null},Tt=({title:e,children:t})=>{const{t:r}=jt();return k.useEffect(()=>{document.title=e},[e,r]),t};function St(e){const t=async()=>{try{return await e()}catch(r){throw r instanceof Error&&r.message.includes("Failed to fetch dynamically imported module")&&window.location.reload(),r}};return k.lazy(t)}const Mbt=()=>{const[e]=RP(),{isInitiated:t,userSession:r}=Nr();return t&&r?E(AP,{replace:!0,to:Zi(e.get("redirectPathname")??Re.afterLogin(),{...Object.fromEntries(e.entries()),redirectPathname:void 0})}):E(Pb,{})},Lbt=Xet,Bbt=e=>Lbt.some(t=>!!Gs({path:t,end:!0},e)),Ubt=e=>e.isError?"redirect":e.isLoading?"loading":e.isRestrictionsActive?"redirect":"allow",zbt=()=>{const{pathname:e}=ua(),{isError:t,isLoading:r,isRestrictionsActive:n}=Kx();if(!Bbt(e))return E(Pb,{});switch(Ubt({isError:t,isLoading:r,isRestrictionsActive:n})){case"loading":return E(N5,{});case"redirect":return E(AP,{replace:!0,to:Re.pageNotFound()});case"allow":return E(Pb,{});default:return E(Pb,{})}},Hbt=()=>{const{isInitiated:e,userSession:t}=Nr(),[r]=RP();return e&&!t?E(AP,{replace:!0,to:Re.login({...Object.fromEntries(r.entries()),redirectPathname:window.location.pathname!=="/"&&window.location.pathname!=="/logout"?window.location.pathname:void 0})}):E(zbt,{})},qbt=({pageName:e})=>{zt(["analytics","track-page-view",e],async()=>(await Da.trackPageView(e),null),{retry:!1,staleTime:1/0})},It=({pageName:e,children:t})=>(qbt({pageName:e}),t),ER=St(()=>st(()=>import("./index-py5XcOUu.js").then(e=>e.i),__vite__mapDeps([3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36]))),Wbt=St(()=>st(()=>import("./ActionRequiredOrders-C-n-TVFs.js"),__vite__mapDeps([37,38,39,40,41,42,43,44,14,10,11,12,13,15,16,17,5,6,7,8,9,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66]))),Vbt=St(()=>st(()=>import("./index-krRjBuB-.js"),__vite__mapDeps([67,68,52,53,55,56,57,69,6,7,70,71]))),jbt=St(()=>st(()=>import("./index-CHtYNZ59.js"),__vite__mapDeps([72,73,74,75,28,76,77,9,78,20,21,8,79,80,81,82,83,84,85,86,87,88,89,90,63,91,92,93,94,95,96,97,98,99,100]))),Gbt=St(()=>st(()=>import("./index-Dei_-cO9.js"),__vite__mapDeps([101,73,74,75,28,76,77,9,78,20,21,8,79,80,81,82,83,84,85,86,87,88,89,90,63,91,92,93,94,95,96,97,98,99,102,103,57,56,104,59,105,106,107,65,53,108,109,110,111,112,113,49,114,115,116,117,118,119,120,121,100,122,123,124,125,18,19,126,10,127,61,128,129,130,68,33,131,32,16,17,25,42,43,44,132,133,134,135,136,137,138,139,140,141,142,143,144,30,27,145,146,24,29,147,148,149,150,151,152,153,26,154]))),Kbt=St(()=>st(()=>import("./index-BEZwI3WN.js"),__vite__mapDeps([155,135,136,156,157,143,89,109,110,111,112,113,49,53,114,115,106,116,117,118,119,107,56,94,9,120,97,93,121,91,83,75,84,21,78,85,8,86,76,77,20,87,82,88,92,100,122,123,124,125,18,19,126,10,127,61,128,129,130,68,104,59,57,63,33,131,32,16,17,25,42,43,44,132,158,159,140,141]))),Zbt=St(()=>st(()=>import("./index-Dc70qS6L.js"),__vite__mapDeps([160,161]))),Ybt=St(()=>st(()=>import("./index-BhwCm-8Z.js"),__vite__mapDeps([]))),$bt=St(()=>st(()=>import("./index-Du0A7HlL.js"),__vite__mapDeps([162,163,164,75,77,9,165,110,
574161]))),Xbt=St(()=>st(()=>import("./index-C6e3kNk3.js"),__vite__mapDeps([]))),Qbt=St(()=>st(()=>import("./NotFoundPage-YhM-Iuhc.js"),__vite__mapDeps([]))),Jbt=St(()=>st(()=>import("./index-CxjhwBLg.js"),__vite__mapDeps([166,161,70,167]))),eSt=St(()=>st(()=>import("./index-BX-VdeCv.js"),__vite__mapDeps([168,163,164,75,77,9,165,110,161]))),tSt=St(()=>st(()=>import("./index-PlRG2b7f.js"),__vite__mapDeps([169,161,165]))),rSt=St(()=>st(()=>import("./index-CgwYUY8Q.js"),__vite__mapDeps([170,98]))),nSt=St(()=>st(()=>import("./index-yfB3pOcv.js"),__vite__mapDeps([171,172,9,173]))),iSt=St(()=>st(()=>import("./index-BaBfi7fr.js"),__vite__mapDeps([174,90,81,82,28,84,9,21,78,173,83,75,85,8,86,76,77,20,87,88,95,80]))),aSt=St(()=>st(()=>import("./index-Dgx1LrnW.js"),__vite__mapDeps([]))),oSt=St(()=>st(()=>import("./index-DkQzMaba.js"),__vite__mapDeps([175,80,81,82,9,83,75,84,21,78,85,8,86,76,77,20,87,88,96,79,40,41,42,43,44,45,46,176,65,90,177,178]))),sSt=St(()=>st(()=>import("./index-CZGKs3DB.js"),__vite__mapDeps([179,53,146,177,43,42,178,107,56]))),lSt=St(()=>st(()=>import("./index-yacN_OIK.js"),__vite__mapDeps([180,141,178,181,53]))),cSt=St(()=>st(()=>import("./index-Cod3t82r.js"),__vite__mapDeps([182,178]))),uSt=St(()=>st(()=>import("./index-B2foTz1Q.js"),__vite__mapDeps([183,178,27,65]))),dSt=St(()=>st(()=>import("./index-MBA6CNfm.js"),__vite__mapDeps([184,39,18,19,20,21,185,9,8,127,123,122,177,43,42,88,145,146,126,28,22,133,186,31,132,90,81,82,125,187,63,86,51,188,124,25,53,85,154,95,26,27,30,87,32,16,17,33,65,10]))),fSt=St(()=>st(()=>import("./index-B04NUpB5.js"),__vite__mapDeps([189,190,22,40,57,56,65,107,85,8,9,86,88,191,75,125,177,43,42,188,18,19,20,21]))),hSt=St(()=>st(()=>import("./index-CeY0iwX3.js"),__vite__mapDeps([192,178]))),pSt=St(()=>st(()=>import("./index-BgzNWlWe.js"),__vite__mapDeps([193,39,40,178,136]))),mSt=St(()=>st(()=>import("./index-pTo2bhiv.js"),__vite__mapDeps([194,181,178,195]))),gSt=St(()=>st(()=>import("./index-ChZyhJn2.js"),__vite__mapDeps([196,178,195,191,75,181]))),vSt=St(()=>st(()=>import("./index-DoJZicC_.js"),__vite__mapDeps([197,39,40,178,65,136]))),ySt=St(()=>st(()=>import("./index-8zbJ1VDN.js"),__vite__mapDeps([198,178,177,43,42,65]))),bSt=St(()=>st(()=>import("./index-BNp7Le9S.js"),__vite__mapDeps([199,128,129,130,115,178]))),SSt=St(()=>st(()=>import("./index-C8ulnw2A.js"),__vite__mapDeps([200,199,128,129,130,115,178]))),wSt=St(()=>st(()=>import("./index-Dryy-n_e.js"),__vite__mapDeps([201,4,38,39,40,41,42,43,44,14,10,34,11,12,13,15,16,17,156,131,33,32,202,133,117,57,56,203,9,204,61,112,135,136,48,49,205,59,62,89,63,206,118,66,207,208,209,176,65,45,8,20,21,46,18,19,210]))),xSt=St(()=>st(()=>import("./index-BwvI_p7_.js"),__vite__mapDeps([211,4,212,34,35,213,18,19,20,21,22,145,146,126,28,147,154,53,63,95,90,81,82,24,25,29,30,27,9,26,138,214,210,33,32,16,17,202,133,117,215,14,10,11,12,13,15,8,94,36]))),CSt=St(()=>st(()=>import("./index-BajrGUY6.js"),__vite__mapDeps([216,38,39,40,41,42,43,44,215,117,202,133,14,10,34,11,12,13,214,15,16,17,217,156,121,91,83,75,84,9,21,78,85,8,86,76,77,20,87,82,88,92,93,131,33,32,57,56,203,204,61,112,94,48,49,218,205,59,62,89,63,206,118,58,219,66,207,208,176,65,45,46,18,19,64]))),ESt=St(()=>st(()=>import("./index-BFZmW1pG.js"),__vite__mapDeps([220,38,39,40,41,42,43,44,215,117,202,133,14,10,34,11,12,13,214,15,16,17,217,156,121,91,83,75,84,9,21,78,85,8,86,76,77,20,87,82,88,92,93,131,33,32,57,56,203,204,61,112,94,48,49,218,205,59,62,89,63,206,118,58,219,66,207,208,176,65,45,46,18,19]))),kSt=St(()=>st(()=>import("./index-CXHKtwrO.js"),__vite__mapDeps([221,212,4,34,35,213,18,19,20,21,22,145,146,126,28,147,154,53,63,95,90,81,82,24,25,29,30,27,9,26,138,214,210,33,32,16,17,222,38,39,40,41,42,43,44,10,11,13,14,15,45,8,46,156,131,57,56,203,137,48,49,223,205,59,61,62,89,66,176,65]))),TSt=St(()=>st(()=>import("./index-DFE2GLpg.js"),__vite__mapDeps([224,38,39,40,176,41,42,43,44,212,4,34,35,15,16,17,45,8,9,20,21,46,18,19,33,135,136,59,61,62,32,209,223,156,205,89,63,206,131,57,56,203,65]))),_St=St(()=>st(()=>import("./index-D9UZP1OD.js"),__vite__mapDeps([225,226,39,40,176,41,42,43,44,34,11,12,210,33,32,16,17,45,8,9,20,21,46,18,19,135,136,209,223,205,59,61,62,89,63,131,57,56,203,65,15]))),PSt=St(()=>st(()=>import("./index-DMQ2QdTG.js"),__vite__mapDeps([227,114,115,71,117,139,134,120,97,93,140,141,106,21,205,59,61,62,32,16,17,89,63,204,112,69,130,128,129,68,138]))),ASt=St(()=>st(()=>import("./index-xujAGK4H.js"),__vite__mapDeps([228,205,59,61,62,32,16,17,89,63,222,138,69,71]))),OSt=St(()=>st(()=>import("./index-DUzljVNQ.js"),__vite__mapDeps([229,218,64]))),ISt=St(()=>st(()=>import("./index-SqBjGuV6.js"),__vite__mapDeps([230,218,64]))),RSt=St(()=>st(()=>import("./index-CDWXPOQU.js"),__vite__mapDeps([231,38,39,40,176,41,42,43,44,34,11,12,14,212,4,35,210,33,32,16,17,140,141,45,8,9,20,21,46,18,19,135,136,209,48,49,223,156,205,59,61,62,89,63,157,206,131,57,56,203,107,65,15]))),FSt=St(()=>st(()=>import("./index-D6LeneqQ.js"),__vite__mapDeps([232,39,40,176,41,42,43,44,11,12,212,4,34,35,210,33,32,16,17,45,8,9,20,21,46,18,19,159,135,136,61,62,209,223,156,157,206,158,119,117,131,57,56,203,65,15]))),DSt=St(()=>st(()=>import("./index-Bc5LC7BN.js"),__vite__mapDeps([233,234,39,40,176,4,41,42,43,44,35,97,11,235,14,15,16,17,236,110,150,85,8,9,86,126,152,127,63,237,46,203,223,66,65,238]))),NSt=St(()=>st(()=>import("./index-CituO-RP.js"),__vite__mapDeps([239,190,143,89,23
5746,110,80,81,82,9,83,75,84,21,78,85,8,86,76,77,20,87,88,240,167,95,28,145,146,126,90,63,191,43,241,127,26,27,29,30,186,65,148,150]))),MSt=St(()=>st(()=>import("./index-14MzTKuX.js"),__vite__mapDeps([242,90,81,82,190,241,127,150,9,153,187,88,122,63,86,8,51,87,32,16,17,33,243,203,142,26,27,28,24,29,30,85,145,146,126,95,80,83,75,84,21,78,76,77,20,96,79,36]))),LSt=St(()=>st(()=>import("./index-VFyQSOaK.js"),__vite__mapDeps([244,115]))),BSt=St(()=>st(()=>import("./index-uGLl_DDY.js"),__vite__mapDeps([245,130,115,114,129,4,34,246,35,247,15,16,17,248,36]))),USt=St(()=>st(()=>import("./index-BNho-CNY.js"),__vite__mapDeps([249,39,40,176,41,42,43,44,248,34,246,15,16,17,46,250,251,252]))),zSt=St(()=>st(()=>import("./index-CIaiK0Is.js"),__vite__mapDeps([253,250,248,34,246,15,16,17,254]))),HSt=St(()=>st(()=>import("./index-BqpPYo4I.js"),__vite__mapDeps([255,250,248,34,246,15,16,17,254]))),qSt=St(()=>st(()=>import("./index-tFH8EI0J.js"),__vite__mapDeps([256,39,40,176,41,42,43,44,247,34,246,15,16,17,46,250,251,254,65]))),WSt=St(()=>st(()=>import("./index-9AKmmKI3.js"),__vite__mapDeps([257,240,167,90,81,82]))),VSt=St(()=>st(()=>import("./index-y_4qsHp2.js"),__vite__mapDeps([258,259,9,84,21,78,85,8,86,108,103,57,56,63,104,59,105,106,107,65,53,87,126,116,203,145,146,28,17,15,16,153,102]))),jSt=St(()=>st(()=>import("./index-BaweWKKo.js"),__vite__mapDeps([260,119,117,65,135,136,159,107,56,9,98,116]))),GSt=St(()=>st(()=>import("./index-DjWUfFzB.js"),__vite__mapDeps([261,4,34,35,262,15,16,17,263,36]))),d$=St(()=>st(()=>import("./index-mnZ6CEn4.js"),__vite__mapDeps([264,39,40,176,41,42,43,44,262,34,15,16,17,46,18,19,20,21,208,59,57,56,63,265,135,136,61,203,9,69,65]))),KSt=St(()=>st(()=>import("./index-BY86cMrA.js"),__vite__mapDeps([266,39,40,176,41,42,43,44,263,34,15,16,17,226,46,18,19,20,21,208,59,57,56,63,265,135,136,61,203,9,69,65]))),ZSt=St(()=>st(()=>import("./index-4-S2KSiw.js"),__vite__mapDeps([267,105,268,111,112,57,56,9,78,140,141,265,135,136,61,203,69,8,97,53]))),YSt=St(()=>st(()=>import("./index-D9j0Tk5k.js"),__vite__mapDeps([269,268,111,112,57,56,9,78,140,141,265,135,136,61,203,69,8,97,53,128,129,130,115,114,95,28,80,81,82,83,75,84,21,85,86,76,77,20,87,88,90,19,22,243,98]))),$St=St(()=>st(()=>import("./index-CGOeIIIz.js"),__vite__mapDeps([270,4,34,35,128,129,130,115,68,114,53,271,14,272,273,274,36]))),XSt=St(()=>st(()=>import("./index-BLks0yPW.js"),__vite__mapDeps([275,40,41,42,43,44,272,273,14,276,176,57,56,203,9,135,136,45,8,20,21,46,18,19,277,278,252]))),QSt=St(()=>st(()=>import("./index-BRhH5ZUJ.js"),__vite__mapDeps([279,40,41,42,43,44,274,273,14,276,176,57,56,203,9,135,136,45,8,20,21,46,18,19,277,252]))),JSt=St(()=>st(()=>import("./index-Vs8vZ5rA.js"),__vite__mapDeps([280,40,41,42,43,44,271,14,276,176,57,56,203,9,135,136,45,8,20,21,46,18,19,277,278,252]))),f$=St(()=>st(()=>import("./index-Bk2Q3dE5.js"),__vite__mapDeps([281,127,85,8,9,86,152,149,150,151,282,15,16,17]))),ewt=St(()=>st(()=>import("./index-FdBruRAh.js"),__vite__mapDeps([283,110,127,151,86,282,238]))),twt=St(()=>st(()=>import("./index-DsmBQPaf.js"),__vite__mapDeps([284,164,75,77,9,165,190]))),rwt=St(()=>st(()=>import("./index-B0tXqhnO.js"),__vite__mapDeps([285,130,115,98,178]))),nwt=St(()=>st(()=>import("./index-BrmcRQ5v.js"),__vite__mapDeps([286,4,35,287,288,235,14,289,69,290,34,17,36]))),iwt=St(()=>st(()=>import("./index-8G8DonSR.js"),__vite__mapDeps([291,234,39,40,41,42,43,44,292,289,288,235,14,237,150,46,127,223,287,69,65,238]))),awt=St(()=>st(()=>import("./index-BYiDejTk.js"),__vite__mapDeps([293,294,74,75,28,76,77,9,78,20,21,8,79,80,81,82,83,84,85,86,87,88,89,63,172,94,295,92,93,97,296,98,99,100]))),owt=St(()=>st(()=>import("./index-DiOqtEgw.js"),__vite__mapDeps([297,294,74,75,28,76,77,9,78,20,21,8,79,80,81,82,83,84,85,86,87,88,89,63,172,94,295,92,93,97,296,98,298,18,19,103,57,56,104,59,105,106,107,65,53,22,47,32,16,17,33,6,7,287,132,144,23,30,27,24,29,299,110,113,49,25,300,112,117,277,278,55,218,301,68,51,100,50,52]))),swt=St(()=>st(()=>import("./index-g5CSOyVK.js"),__vite__mapDeps([302,299,110,296,287,6,113,49,53,25,7,47,32,16,17,33,300,112,117,277,278,55,104,59,57,56,63,8,9,218,301,68,23,51,132,50]))),lwt=St(()=>st(()=>import("./index-tr7axNp-.js"),__vite__mapDeps([303,234,39,40,41,42,43,44,290,34,289,292,46,304,65]))),cwt=St(()=>st(()=>import("./index-IsLwBN8a.js"),__vite__mapDeps([]))),uwt=St(()=>st(()=>import("./index-ov4O66Kj.js"),__vite__mapDeps([305,304,300,112,277,278,65]))),dwt=St(()=>st(()=>import("./index-DPsjq4M7.js"),__vite__mapDeps([306,289,234,39,40,41,42,43,44,14,307,45,8,9,20,21,18,19,308,56,135,136,60,57,65]))),fwt=St(()=>st(()=>import("./index-p_xgine5.js"),__vite__mapDeps([309,298,139,135,136,307,9,68,104,59,57,56,103,63,105,106,107,78,65,53,102,259,126,7,39,75,84,21,85,8,86,76,77,20,87]))),hwt=St(()=>st(()=>import("./index-BVlxgYf3.js"),__vite__mapDeps([310,135,136,140,141,308,307,57,56,98]))),pwt=St(()=>st(()=>import("./index-BRy1Id1p.js"),__vite__mapDeps([311,39]))),mwt=UMe(Hke),gwt=()=>{const{t:e}=jt();return mwt(gke(Te(ei,{children:[Te(lt,{path:"/",element:E(eot,{}),children:[Te(lt,{element:E(Hbt,{}),children:[E(lt,{path:Re.logout(),element:E(Xbt,{})}),E(lt,{path:Re.home(),element:E(Ybt,{})}),E(lt,{path:Re.dashboard(),element:E(It,{pageName:_t.DASHBOARD,children:E(Tt,{title:e("pageTitles.dashboard"),
574children:E(rSt,{})})})}),E(lt,{path:Re.quotation(),element:E(It,{pageName:_t.QUICK_QUOTE,children:E(Tt,{title:e("pageTitles.quickQuote"),children:E(VSt,{})})})}),E(lt,{path:Re.spaceshipAI(),element:E(Tt,{title:e("pageTitles.spaceshipAI"),children:E(pwt,{})})}),E(lt,{path:Re.shipments(),element:E(AP,{to:Re.downloadAndPrintShipmentLabels(),replace:!0})}),E(lt,{path:Re.fulfillmentOrders({tab:Sh.ALL}),element:E(It,{pageName:_t.FULFILLMENT_ORDER_LIST_ALL,children:E(Tt,{title:e("pageTitles.orders.all"),children:E(ER,{})})})}),E(lt,{path:Re.fulfillmentOrders({tab:Sh.UNFULFILLED}),element:E(It,{pageName:_t.FULFILLMENT_ORDER_LIST_UNFULFILLED,children:E(Tt,{title:e("pageTitles.orders.unfulfilled"),children:E(ER,{})})})}),E(lt,{path:Re.fulfillmentOrders({tab:Sh.ARCHIVED}),element:E(It,{pageName:_t.FULFILLMENT_ORDER_LIST_ARCHIVED,children:E(Tt,{title:e("pageTitles.orders.archived"),children:E(ER,{})})})}),E(lt,{path:Re.fulfillmentOrderBulkSubmit(),element:E(It,{pageName:_t.FULFILLMENT_ORDER_BULK_SUBMIT,children:E(Tt,{title:e("pageTitles.bulkSubmitFulfillmentOrders"),children:E(Vbt,{})})})}),E(lt,{path:Re.fulfillmentActionRequired(),element:E(It,{pageName:_t.FULFILLMENT_ORDER_LIST_ACTION_REQUIRED,children:E(Tt,{title:e("pageTitles.orders.actionRequired"),children:E(Wbt,{})})})}),Te(lt,{element:E(nwt,{}),children:[E(lt,{path:Re.fulfillmentInventory({tab:Um.INVENTORY}),element:E(It,{pageName:_t.INVENTORY_LIST_INVENTORY,children:E(Tt,{title:e("pageTitles.inventory"),children:E(iwt,{})})})}),E(lt,{path:Re.fulfillmentInventory({tab:Um.WRO}),element:E(It,{pageName:_t.INVENTORY_LIST_WAREHOUSE_RECEIVING_ORDER,children:E(Tt,{title:e("pageTitles.warehouseReceivingOrder"),children:E(lwt,{})})})})]}),E(lt,{path:Re.returnOrders(),element:E(It,{pageName:_t.RETURN_ORDERS_LIST,children:E(Tt,{title:e("pageTitles.returnOrders"),children:E(dwt,{})})})}),E(lt,{path:Re.createReturnOrder(),element:E(It,{pageName:_t.CREATE_RETURN_ORDER,children:E(Tt,{title:e("pageTitles.createReturnOrder"),children:E(fwt,{})})})}),E(lt,{path:Re.viewReturnOrder(),element:E(It,{pageName:_t.VIEW_RETURN_ORDER,children:E(Tt,{title:e("pageTitles.viewReturnOrder"),children:E(hwt,{})})})}),E(lt,{path:Re.allShipments(),element:E(It,{pageName:_t.SHIPMENT_LIST_ALL,children:E(Tt,{title:e("pageTitles.allShipments"),children:E(wSt,{})})})}),Te(lt,{element:E(xSt,{}),children:[E(lt,{path:Re.draftShipments({tab:Wv.IN_PROGRESS}),element:E(It,{pageName:_t.SHIPMENT_LIST_DRAFTS,children:E(Tt,{title:e("pageTitles.draftShipments"),children:E(CSt,{})})})}),E(lt,{path:Re.draftShipments({tab:Wv.CANCELLED}),element:E(It,{pageName:_t.SHIPMENT_LIST_DRAFTS,children:E(Tt,{title:e("pageTitles.closedDraftShipments"),children:E(ESt,{})})})})]}),E(lt,{path:Re.actionsRequiredShipments(),element:E(It,{pageName:_t.SHIPMENT_LIST_ACTIONS_REQUIRED,children:E(Tt,{title:e("pageTitles.actionRequiredShipments"),children:E(kSt,{})})})}),E(lt,{path:Re.downloadAndPrintShipmentLabels(),element:E(It,{pageName:_t.SHIPMENT_LIST_DOWNLOAD,children:E(Tt,{title:e("pageTitles.downloadAndPrint"),children:E(RSt,{})})})}),E(lt,{path:Re.cancelledShipments(),element:E(It,{pageName:_t.SHIPMENT_LIST_CANCELLED,children:E(Tt,{title:e("pageTitles.cancelledShipments"),children:E(TSt,{})})})}),E(lt,{path:Re.trackShipments(),element:E(It,{pageName:_t.SHIPMENT_LIST_TRACK,children:E(Tt,{title:e("pageTitles.trackAndTrace"),children:E(FSt,{})})})}),E(lt,{path:Re.createShipment(),element:E(It,{pageName:_t.SHIPMENT_CREATE,children:E(Tt,{title:e("pageTitles.createShipment"),children:E(jbt,{})})})}),E(lt,{path:Re.editShipment(),element:E(It,{pageName:_t.SHIPMENT_EDIT,children:E(Gbt,{})})}),E(lt,{path:Re.viewShipment(),element:E(It,{pageName:_t.SHIPMENT_VIEW_SINGLE,children:E(Kbt,{})})}),E(lt,{path:Re.createFulfillmentOrder(),element:E(It,{pageName:_t.FULFILLMENT_ORDER_CREATE,children:E(Tt,{title:e("pageTitles.orders.new"),children:E(awt,{})})})}),E(lt,{path:Re.editFulfillmentOrder(),element:E(It,{pageName:_t.FULFILLMENT_ORDER_EDIT,children:E(owt,{})})}),E(lt,{path:Re.viewFulfillmentOrder(),element:E(It,{pageName:_t.FULFILLMENT_ORDER_VIEW_SINGLE,children:E(swt,{})})}),E(lt,{path:Re.importFulfillmentOrders(),element:E(It,{pageName:_t.FULFILLMENT_ORDER_CREATE,children:E(Tt,{title:e("pageTitles.importFulfillmentOrders"),children:E(nSt,{})})})}),E(lt,{path:Re.bulkBuyShipments(),element:E(It,{pageName:_t.SHIPMENT_BULK_BUY,children:E(Tt,{title:e("pageTitles.bulkBu
574yShipments"),children:E(PSt,{})})})}),E(lt,{path:Re.bulkCancelShipments(),element:E(It,{pageName:_t.SHIPMENT_BULK_CANCEL,children:E(Tt,{title:e("pageTitles.bulkCancelShipments"),children:E(ASt,{})})})}),E(lt,{path:Re.bulkValidateAddresses(),element:E(It,{pageName:_t.SHIPMENT_BULK_VALIDATE_ADDRESSES,children:E(Tt,{title:e("pageTitles.bulkValidateAddresses"),children:E(OSt,{})})})}),E(lt,{path:Re.bulkValidateFulfillmentOrderAddresses(),element:E(It,{pageName:_t.SHIPMENT_BULK_VALIDATE_ADDRESSES,children:E(Tt,{title:e("pageTitles.bulkValidateAddresses"),children:E(ISt,{})})})}),E(lt,{path:Re.importOrders(),element:E(It,{pageName:_t.SHIPMENT_IMPORT,children:E(Tt,{title:e("pageTitles.importOrders"),children:E(iSt,{})})})}),E(lt,{path:Re.schedulePickup(),element:E(It,{pageName:_t.SHIPMENT_LIST_SCHEDULE_PICKUP,children:E(Tt,{title:e("pageTitles.schedulePickups"),children:E(_St,{})})})}),E(lt,{path:Re.createPickUp(),element:E(It,{pageName:_t.PICKUP_CREATE,children:E(Tt,{title:e("pageTitles.schedulePickup"),children:E(YSt,{})})})}),Te(lt,{element:E(GSt,{}),children:[E(lt,{path:Re.pickups(),element:E(It,{pageName:_t.PICKUP_LIST_UPCOMING,children:E(Tt,{title:e("pageTitles.pickupsUpcoming"),children:E(d$,{})})})}),E(lt,{path:Re.pickups({tab:nv.UPCOMING}),element:E(It,{pageName:_t.PICKUP_LIST_UPCOMING,children:E(Tt,{title:e("pageTitles.pickupsUpcoming"),children:E(d$,{})})})}),E(lt,{path:Re.pickups({tab:nv.HISTORY}),element:E(It,{pageName:_t.PICKUP_LIST_HISTORY,children:E(Tt,{title:e("pageTitles.pickupsHistory"),children:E(KSt,{})})})})]}),E(lt,{path:Re.pickupDetails(),element:E(It,{pageName:_t.PICKUP_VIEW_SINGLE,children:E(ZSt,{})})}),E(lt,{path:Re.connectShopifyStore(),element:E(Tt,{title:e("pageTitles.storeIntegrations"),children:E(WSt,{})})}),E(lt,{path:Re.profile(),element:E(It,{pageName:_t.MY_PROFILE,children:E(Tt,{title:e("pageTitles.profile"),children:E(twt,{})})})}),E(lt,{path:Re.settings({tab:an.SHIPPING_AUTOMATION}),element:E(It,{pageName:_t.SETTINGS_SHIPPING_RULES,children:E(Tt,{title:e("pageTitles.settingsShippingRules"),children:E(dSt,{})})})}),E(lt,{path:Re.settings({tab:an.CARRIERS}),element:E(It,{pageName:_t.SETTINGS_CARRIERS,children:E(Tt,{title:e("pageTitles.settingsCarriers"),children:E(fSt,{})})})}),Te(lt,{element:E(aSt,{}),children:[E(lt,{path:Re.settings({tab:an.ORGANIZATION}),element:E(It,{pageName:_t.SETTINGS_ORGANIZATION,children:E(Tt,{title:e("pageTitles.settingsOrganization"),children:E(hSt,{})})})}),E(lt,{path:Re.settings({tab:an.USERS}),element:E(It,{pageName:_t.SETTINGS_USERS,children:E(Tt,{title:e("pageTitles.settingsUsers"),children:E(pSt,{})})})}),E(lt,{path:Re.settings({tab:an.BRANDING}),element:E(It,{pageName:_t.SETTINGS_BRANDING,children:E(Tt,{title:e("pageTitles.settingsBranding"),children:E(mSt,{})})})}),E(lt,{path:Re.billingPaymentMethods(),element:E(It,{pageName:_t.BILLING_PAYMENT_METHODS,children:E(Tt,{title:e("pageTitles.paymentMethods"),children:E(bSt,{})})})}),E(lt,{path:Re.billingPaymentSettings(),element:E(It,{pageName:_t.BILLING_PAYMENT_SETTINGS,children:E(Tt,{title:e("pageTitles.paymentSettings"),children:E(SSt,{})})})}),E(lt,{path:Re.settings({tab:an.ADDRESSES}),element:E(It,{pageName:_t.SETTINGS_ADDRESSES,children:E(Tt,{title:e("pageTitles.settingsAddresses"),children:E(oSt,{})})})}),E(lt,{path:Re.settings({tab:an.PACKAGINGS}),element:E(It,{pageName:_t.SETTINGS_PACKAGINGS,children:E(Tt,{title:e("pageTitles.settingsBoxes"),children:E(sSt,{})})})}),E(lt,{path:Re.settings({tab:an.TAXES}),element:E(It,{pageName:_t.SETTINGS_TAXES,children:E(Tt,{title:e("pageTitles.settingsAccount"),children:E(uSt,{})})})}),E(lt,{path:Re.settings({tab:an.LABELS}),element:E(It,{pageName:_t.SETTINGS_LABELS,children:E(Tt,{title:e("pageTitles.settingsLabels"),children:E(lSt,{})})})}),E(lt,{path:Re.settings({tab:an.FULFILLMENT}),element:E(It,{pageName:_t.SETTINGS_FULFILLMENT,children:E(Tt,{title:e("pageTitles.settingsFulfillment"),children:E(cSt,{})})})}),E(lt,{path:Re.settings({tab:an.TRACKING_PAGE}),element:E(It,{pageName:_t.SETTINGS_TRACKING_PAGE,children:E(Tt,{title:e("pageTitles.settingsTrackingPage"),children:E(gSt,{})})})}),E(lt,{path:Re.settings({tab:an.API_AND_WEBHOOK}),element:E(It,{pageName:_t.SETTINGS_API_KEYS,children:E(Tt,{title:e("pageTitles.settings.apiAndWebhook"),children:E(vSt,{})})})}),E(lt,{path:Re.settings({tab:an.NOTIFICATION_CENTER}),element:E(It,{pageName:_t.SETTINGS_NOTIFICATION_CENTER,children:E(Tt,{title:e("pageTitles.settingsNotificationCenter"),children:E(ySt,{})})})})]}),E(lt,{path:Re.storeIntegrations(),element:E(It,{pageName:_t.ECOMM_INTEGRATIONS_STORES,children:E(Tt,{title:e("pageTitles.storeIntegrations"),children:E(NSt,{})})})}),E(lt,{path:Re.editStoreIntegration(),element:E(Tt,{title:e("pageTitles.editStoreIntegration"),children:E(MSt,{})})}),E(lt,{path:Re.stripeSetupIntentCallback(),element:E(LSt,{})}),Te(lt,{element:E(BSt,{}),children:[E(lt,{path:Re.billing({tab:zc.TRANSACTIONS}),element:E(It,{pageName:_t.BILLING_WALLET_TX,children:E(Tt,{title:e("pageTitles.billingTransactions"),children:E(USt,{})})})}),E(lt,{path:Re.billing({tab:zc.INVOICES}),element:E(It,{pageName:_t.BILLING_WALLET_INVOICES,children:E(Tt,{title:e("pageTitles.billingInvoices"),children:E(zSt,{})})})}),E(lt,{path:Re.billing({tab:zc.CREDIT_NOTES}),element:E(It,{pageName:_t.BILLING_WALLET_CREDIT_NOTES,children:E(Tt,{title:e("pageTitles.billingCreditNotes"),children:E(HSt,{})})})}),E(lt,{path:Re.billing({tab:zc.RECEIPTS}),element:E(It,{pageName:_t.BILLING_WALLET_RECEIPTS,children:E(Tt,{title:e("pageTitles.billingReceipts"),children:E(qSt,{})})})})]}),E(lt,{path:Re.billingPlans(),element:E(It,{pageName:_t.PRICING_PLANS,children:E(Tt,{title:e("pageTitles.plans"),children:E(rwt,{})})})}),Te(lt,{element:E($St,{}),children:[E(lt,{path:Re.billingPendingCharges({tab:pm.OUTSTANDING}),element:E(It,{pageName:_t.BILLING_PENDING_OUTSTANDING,children:E(Tt,{title:e("pageTitles.pendingChargesOutstanding"),children:E(XSt,{})})})}),E(lt,{path:Re.billingPendingCharges({tab:pm.UPCOMING}),element:E(It,{pageName:_t.BILLING_PENDING_UPCOMING,children:E(Tt,{title:e("pageTitles.pendingChargesUpcoming"),children:E(QSt,{})})})}),E(lt,{path:Re.billingPendingCharges({tab:pm.ARCHIVED}),element:E(It,{pageName:_t.BILLING_PENDING_ARCHIVED,children:E(Tt,{title:e("pageTitles.pendingChargesArchived"),children:E(JSt,{})})})})]}),E(lt,{path:Re.products(),element:E(It,{pageName:_t.ECOMM_PRODUCT_LIST,children:E(Tt,{title:e("pageTitles.products"),children:E(DSt,{})})})}),E(lt,{path:Re.createProduct(),element:E(It,{pageName:_t.PRODUCT_CREATE,children:E(Tt,{title:e("pageTitles.createProduct"),children:E(f$,{})})})}),E(lt,{path:Re.editProduct(),element:E(It,{pageName:_t.PRODUCT_EDIT,children:E(Tt,{title:e("pageTitles.editProduct"),children:E(f$,{})})})}),E(lt,{path:Re.viewProduct(),element:E(It,{pageName:_t.PRODUCT_VIEW_SINGLE,children:E(Tt,{title:e("pageTitles.viewProduct"),children:E(ewt,{})})})}),E(lt,{path:Re.createWarehouseReceivingOrder(),element:E(It,{pageName:_t.WAREHOUSE_RECEIVING_ORDER_CREATE,children:E(Tt,{title:e("pageTitles.createWarehouseReceivingOrder"),children:E(cwt,{})})})}),E(lt,{path:Re.editWarehouseReceivingOrder(),element:E(It,{pageName:_t.WAREHOUSE_RECEIVING_ORDER_EDIT,children:E(Tt,{title:e("pageTitles.editWarehouseReceivingOrder"),children:E(Dbt,{})})})}),E(lt,{path:Re.viewWarehouseReceivingOrder(),element:E(It,{pageName:_t.WAREHOUSE_RECEIVING_ORDER_VIEW_SINGLE,children:E(Tt,{title:e("pageTitles.viewWarehouseReceivingOrder"),children:E(uwt,{})})})})]}),Te(lt,{element:E(Mbt,{}),children:[E(lt,{path:Re.welcome(),element:E(Tt,{title:e("pageTitles.welcome"),children:E(tSt,{})})}),E(lt,{path:Re.login(),element:E(Tt,{title:e("pageTitles.login"),children:E($bt,{})})}),E(lt,{path:Re.signup(),element:E(Tt,{title:e("pageTitles.signup"),children:E(eSt,{})})})]}),E(lt,{path:Re.forgetPassword(),element:E(Tt,{title:e("pageTitles.forgetPassword"),children:E(Zbt,{})})}),E(lt,{path:Re.resetPassword(),element:E(Tt,{title:e("pageTitles.resetPassword"),children:E(Jbt,{})})}),E(lt,{path:Re.shipmentTracking(),element:E(HMe,{children:t=>E(Tt,{title:e("pageTitles.shipmentTracking",{ssid:t.ssidOrTrackingNumber}),children:E(jSt,{})})})}),E(lt,{path:"404",element:E(Tt,{title:e("pageTitles.notFound"),children:E(Qbt,{})})})]}),E(lt,{path:"*",element:E(Nbt,{})})]})))},vwt={color:{primary:"blue"}},ywt=new k2e({defaultOptions:{queries:{cacheTime:0,refetchOnWindowFocus:!1}}}),h$=bt("div",{target:"e1hqi0l90"})({name:"19toslv",styles:"width:100%;.Polaris-Navigation__Item{align-items:center;}"}),bwt=/^(?:[a-z][a-z\d+.-]*:|\/\/)/i,Swt=({url:e,ref:t,external:r,children:n,...i})=>r||bwt.test(e)?E(h$,{children:E("a",{...i,target:"_blank",rel:"noopener noreferrer",href:e,children:n})}):E(h$,{children:E(bx,{to:e,...i,children:n})}),wwt=()=>{const e=K4e(),t=gwt();return E(u2e,{themes:{Light:{chartContainer:{borderRadius:"0",padding:"0",minHeight:300}}},children:E(U2e,{client:ywt,children:E(Npe,{theme:vwt,children:E(qge,{i18n:e,linkComponent:Swt,children:Te(kCe,{i18n:xa,children:[E(f5,{styles:YTe(xa.language)}),E(Jke,{router:t})]})})})})})};function xwt(){RMe({dsn:"https://[email protected]/4504445434527744",integrations:[MMe({useEffect:k.useEffect,useLocation:ua,useNavigationType:jEe,createRoutesFromChildren:sT,matchRoutes:c6})],tracesSampleRate:+"0.01",environment:"production",enabled:!0,release:"9ec716b617ee374f4deb8e6729e42a5ec7e9594b"})}xwt();j4e().then(()=>
574{AR.createRoot(document.getElementById("root")).render(E(S.StrictMode,{children:E(wwt,{})}))});export{Jc as $,Vi as A,vr as B,fw as C,Zt as D,Tkt as E,ei as F,N5 as G,xle as H,YQe as I,gD as J,St as K,bx as L,ji as M,qt as N,st as O,Eee as P,yEt as Q,Nkt as R,lf as S,qe as T,gbt as U,nle as V,ree as W,lkt as X,akt as Y,Ube as Z,Zn as _,yK as a,W2t as a$,hi as a0,ac as a1,ckt as a2,zkt as a3,md as a4,OEt as a5,Ixt as a6,J8 as a7,Ks as a8,q9e as a9,su as aA,Xkt as aB,jP as aC,vtt as aD,Vkt as aE,iSe as aF,Pt as aG,uit as aH,hs as aI,IGe as aJ,dd as aK,Ys as aL,pJe as aM,Pv as aN,yle as aO,p8 as aP,Wkt as aQ,RP as aR,b2t as aS,ytt as aT,z1t as aU,Ab as aV,Ll as aW,xRe as aX,xx as aY,Y2t as aZ,V2t as a_,ad as aa,fs as ab,H9 as ac,Rm as ad,Ro as ae,pK as af,mle as ag,pEt as ah,rEt as ai,nje as aj,qEt as ak,TA as al,rx as am,Cbt as an,mP as ao,VEt as ap,jEt as aq,WEt as ar,bi as as,KEt as at,_5 as au,Qr as av,GEt as aw,Tat as ax,MEt as ay,LEt as az,hEt as b,pkt as b$,hw as b0,art as b1,Dxt as b2,Fxt as b3,oy as b4,LFe as b5,wCt as b6,xCt as b7,q9 as b8,Jl as b9,Kkt as bA,U2t as bB,H9e as bC,H1t as bD,q2t as bE,H2t as bF,pa as bG,nTt as bH,DFe as bI,iTt as bJ,Wv as bK,Pxt as bL,G9e as bM,Qbe as bN,yCt as bO,vd as bP,X2t as bQ,W9e as bR,zc as bS,gCt as bT,AP as bU,X8 as bV,RS as bW,$x as bX,sat as bY,nee as bZ,gkt as b_,Dy as ba,CF as bb,nx as bc,nL as bd,Dr as be,Ey as bf,OS as bg,cbt as bh,si as bi,Fl as bj,Jbe as bk,_A as bl,AA as bm,OA as bn,_le as bo,Nrt as bp,Frt as bq,xt as br,G1t as bs,j1t as bt,V1t as bu,W1t as bv,q1t as bw,Akt as bx,jkt as by,v6 as bz,Da as c,fkt as c$,NFe as c0,j2t as c1,G2t as c2,tit as c3,hCt as c4,$2t as c5,Mj as c6,oTt as c7,JWe as c8,Ux as c9,Gne as cA,AEt as cB,tkt as cC,Ie as cD,dP as cE,oCt as cF,sCt as cG,lCt as cH,cCt as cI,ftt as cJ,Pb as cK,dle as cL,S as cM,f2t as cN,p2t as cO,y2t as cP,h2t as cQ,v2t as cR,m2t as cS,Cet as cT,g2t as cU,rHe as cV,Wge as cW,c9 as cX,kwt as cY,vOe as cZ,c2t as c_,tTt as ca,n2t as cb,lT as cc,sit as cd,Hb as ce,DTe as cf,E6 as cg,Oxt as ch,Hat as ci,pP as cj,Z0e as ck,i2t as cl,o2t as cm,s2t as cn,TT as co,NTe as cp,vkt as cq,mkt as cr,m3 as cs,
574cEt as ct,Kx as cu,xkt as cv,vbt as cw,mJe as cx,A1t as cy,rTt as cz,vEt as d,Sve as d$,ale as d0,ikt as d1,Y8 as d2,lle as d3,lEt as d4,oEt as d5,sEt as d6,aEt as d7,iEt as d8,aL as d9,bn as dA,y5 as dB,hJ as dC,ud as dD,s0 as dE,hne as dF,SOe as dG,WP as dH,LP as dI,Bne as dJ,LE as dK,NP as dL,B6 as dM,Fo as dN,Zp as dO,A5 as dP,VP as dQ,wOe as dR,Cx as dS,Wy as dT,Lc as dU,ine as dV,Vye as dW,i1e as dX,_v as dY,Ln as dZ,Ige as d_,nEt as da,tEt as db,bkt as dc,J0e as dd,id as de,p5 as df,rl as dg,Ve as dh,Axt as di,FTe as dj,vc as dk,fc as dl,an as dm,OF as dn,bd as dp,lPe as dq,tu as dr,Ukt as ds,Kte as dt,sP as du,od as dv,Im as dw,x5 as dx,Mge as dy,Yr as dz,jt as e,dkt as e$,$ye as e0,$ge as e1,iI as e2,l1e as e3,N1e as e4,YQ as e5,lFe as e6,Ko as e7,Co as e8,ax as e9,Gge as eA,Kge as eB,D9 as eC,vCt as eD,HJe as eE,Nxt as eF,oFe as eG,V4e as eH,uy as eI,nw as eJ,WPe as eK,qne as eL,ZPe as eM,SCt as eN,sTt as eO,Z8 as eP,Skt as eQ,LJe as eR,oL as eS,$se as eT,CCt as eU,J4 as eV,hkt as eW,Ekt as eX,ukt as eY,Dkt as eZ,Lkt as e_,cP as ea,a0 as eb,Tv as ec,zk as ed,Q0e as ee,uee as ef,Xl as eg,mo as eh,YJ as ei,ZJ as ej,U1e as ek,eve as el,cJ as em,op as en,Ove as eo,Wbe as ep,NEt as eq,BEt as er,yt as es,Ye as et,$e as eu,EFe as ev,XRe as ew,Ewt as ex,d9 as ey,u9 as ez,zt as f,D2t as f$,OFe as f0,LIe as f1,Qkt as f2,Jkt as f3,eTt as f4,Ikt as f5,Lxt as f6,Jt as f7,jTe as f8,X1 as f9,E2t as fA,O2t as fB,F2t as fC,_2t as fD,B2t as fE,C2t as fF,A2t as fG,R2t as fH,T2t as fI,L2t as fJ,z2t as fK,x2t as fL,aCt as fM,rCt as fN,nCt as fO,J2t as fP,Q2t as fQ,eCt as fR,iCt as fS,tCt as fT,dCt as fU,Mxt as fV,P2t as fW,Jz as fX,K2t as fY,I2t as fZ,Ykt as f_,Fkt as fa,YOe as fb,ni as fc,zJ as fd,uCt as fe,fCt as ff,r2t as fg,goe as fh,t2t as fi,ek as fj,vK as fk,okt as fl,skt as fm,dy as fn,kCt as fo,ECt as fp,w2t as fq,wkt as fr,ykt as fs,_kt as ft,pCt as fu,mCt as fv,S2t as fw,Zkt as fx,$kt as fy,Z4 as fz,SEt as g,Rkt as g$,oqe as g0,Rxt as g1,iqe as g2,rqe as g3,WHe as g4,lqe as g5,bCt as g6,TEt as g7,Z2t as g8,k2t as g9,bRe as gA,jke as gB,_o as gC,vet as gD,Mkt as gE,Pkt as gF,TJe as gG,d2t as gH,$8 as gI,D6 as gJ,fne as gK,rne as gL,ZIe as gM,g3 as gN,_t as gO,qbt as gP,mRe as gQ,SFe as gR,u2t as gS,UPe as gT,cFe as gU,Gkt as gV,V9e as gW,gi as gX,qat as gY,Wat as gZ,Ckt as g_,aSe as ga,M2t as gb,xFe as gc,qkt as gd,Vet as ge,N2t as gf,WCt as gg,eEt as gh,Pet as gi,Q8 as gj,$Ve as gk,j9e as gl,JCt as gm,XCt as gn,QCt as go,ZCt as gp,KCt as gq,GCt as gr,YCt as gs,$Ct as gt,jCt as gu,boe as gv,Au as gw,Okt as gx,jq as gy,Hkt as gz,Qe as h,xEt as h$,woe as h0,ACt as h1,PCt as h2,nv as h3,_Ct as h4,TCt as h5,kkt as h6,FCt as h7,DCt as h8,wx as h9,htt as hA,uEt as hB,dEt as hC,Pje as hD,fEt as hE,zP as hF,Nv as hG,Jre as hH,pne as hI,xOe as hJ,jOe as hK,Tz as hL,cet as hM,Um as hN,ZEt as hO,Wet as hP,CEt as hQ,kEt as hR,aTt as hS,wEt as hT,EEt as hU,_Et as hV,DEt as hW,gce as hX,g8 as hY,mEt as hZ,gEt as h_,poe as ha,ICt as hb,Bkt as hc,OCt as hd,RCt as he,UCt as hf,zCt as hg,sVe as hh,MCt as hi,pm as hj,BCt as hk,NCt as hl,LCt as hm,uw as hn,Z1t as ho,dA as hp,HCt as hq,VCt as hr,qCt as hs,a2t as ht,l2t as hu,T5 as hv,P5 as hw,Ett as hx,Ctt as hy,Lb as hz,bEt as i,cxt as i$,PEt as i0,REt as i1,zEt as i2,UEt as i3,HEt as i4,nkt as i5,IEt as i6,wi as i7,Gq as i8,Ai as i9,O$e as iA,_8 as iB,P8 as iC,OXe as iD,zb as iE,rd as iF,Cse as iG,WYe as iH,$Ye as iI,FEt as iJ,kSe as iK,rwe as iL,twe as iM,CSe as iN,Xk as iO,Iee as iP,bxt as iQ,txt as iR,rxt as iS,LS as iT,Fee as iU,xxt as iV,wxt as iW,Dee as iX,Ixe as iY,jwt as iZ,P7 as i_,$Et as ia,Pbt as ib,YEt as ic,SKe as id,Fbt as ie,Rbt as ig,td as ih,vot as ii,ibt as ij,Phe as ik,yn as il,Yt as im,$t as io,I3 as ip,JEt as iq,ekt as ir,zo as is,NT as it,gA as iu,Ct as iv,Wm as iw,jse as ix,Kf as iy,QEt as iz,E as j,lxt as j0,Cm as j1,_wt as j2,uxt as j3,mxt as j4,pxt as j5,gxt as j6,vxt as j7,hxt as j8,fxt as j9,Wwt as jA,Hwt as jB,qwt as jC,Sxt as jD,Iwt as jE,ext as jF,Fwt as jG,zwt as jH,ixt as jI,Jwt as jJ,Rwt as jK,Lwt as jL,Mwt as jM,Bwt as jN,Uwt as jO,kxt as jP,Kwt as jQ,Dwt as jR,Nwt as jS,xb as jT,dxt as ja,Pwt as jb,Kxe as jc,LF as jd,c2e as je,Fu as jf,Gwt as jg,Zwt as jh,Ext as ji,_7 as jj,Txt as jk,Qwt as jl,Xwt as jm,nxt as jn,uxe as jo,Mxe as jp,axt as jq,Awt as jr,oxt as js,yxt as jt,Owt as ju,Qw as jv,sxt as jw,$wt as jx,Ywt as jy,Vwt as jz,Te as k,Go as l,w1e as m,je as n,bt as o,u0 as p,Ei as q,k as r,AQe as s,Mo as t,Nr as u,ua as v,sp as w,Sh as x,Gs as y,Re as z};
575function __vite__mapDeps(indexes) {
576  if (!__vite__mapDeps.viteFileDeps) {
577    __vite__mapDeps.viteFileDeps = ["assets/index-BTCkiA8e.js","assets/is-plan-event-enabled-DS1Agtkw.js","assets/index-DI4fK-80.js","assets/index-py5XcOUu.js","assets/PageAction-C8VQVYbY.js","assets/constants-CzNYKlCo.js","assets/fulfillmentOrderStatus-BobmtTUr.js","assets/fulfillmentOrderSubStatus-hgM2ZB06.js","assets/useCountryOptions-BddP1S5D.js","assets/countries-DNW89FL2.js","assets/useConnectedStoreOptions-CcIz6DBU.js","assets/useIndexTableSelectionState-D0iCGHty.js","assets/usePaginationMetadata-B6XgJZOp.js","assets/connectedStoreFilterType-qLEqpdoF.js","assets/sortOrder-CV10GBqu.js","assets/omit-CUu3x6vs.js","assets/_baseUnset-D3J9-uHi.js","assets/last-DXTTfs9a.js","assets/useOrgCarrierServiceOptions-C1MbLzCS.js","assets/carrier-services-B7suFTBO.js","assets/groupBy-2YQ_zGiF.js","assets/_createAggregator-DdmNq_Lh.js","assets/orgCarrierAccountStatus-D983TzTG.js","assets/useIsSelfArrangeRequired-Diy5lx7G.js","assets/useShipmentPurposeOptions-DRSfSNL3.js","assets/ss-care-DVsimFIe.js","assets/IossNumberDropdown-DTro63KK.js","assets/shippingConfigIossNumberDtoStatus-B0SmbTHA.js","assets/ResourceList-CvKBD3P2.js","assets/useTaxTermOptions-BqtcbBi7.js","assets/useIossEnabled-CYapogiy.js","assets/shipmentTaxTerm-BCm5RPvF.js","assets/ShipmentTagsSelect-tws6GI27.js","assets/useShipmentTagOptions-h_etUmnj.js","assets/useDateRangePicker-5scaaggI.js","assets/file-exports-BnQyhPOC.js","assets/Tabs-j8lGiWPL.js","assets/ActionRequiredOrders-C-n-TVFs.js","assets/empty-shipment-0z4UaUEC.js","assets/CustomEmptyState-CR_rqmcg.js","assets/IndexTableCell-vZwr7S9R.js","assets/TableListPaginator-CBshhhvi.js","assets/SkeletonDisplayText-BnFSbVSs.js","assets/SkeletonBodyText-uMPSDJ2o.js","assets/SkeletonThumbnail-D87kLrHr.js","assets/useCountryListFilterOptions-D2meQxPA.js","assets/TableListClearAllFiltersButton-Bl16oI9k.js","assets/useFulfillmentOrderStateBadgeProps-B5Dc0KjC.js","assets/index-Cn8lpSLq.js","assets/zonos-logo-CKwfRRSC.js","assets/ConfirmCancelFulfillmentOrderModal-CtJKDmwc.js","assets/pick-DIGQHt1o.js","assets/useFulfillmentOrderSubmitErrorMap-BXBV2vwd.js","assets/List-Ddut3USt.js","assets/CloneFulfillmentOrderModal-DJcPwxoJ.js","assets/auto-select-carrier-B3sg8yoG.js","assets/empty-CmuRKk3V.js","assets/useCarrierLogo-BBrwri0x.js","assets/TableListCell-C7dojjrT.js","assets/CustomCarrierAccount-D1FmAnPe.js","assets/Remarks-DVjZoYmY.js","assets/SsCare-CVKo-Vc6.js","assets/ShipmentTagsSection-CVy1B--l.js","assets/shipment-BFTbbL-x.js","assets/validationStatus-rgJv8UDY.js","assets/bucket-10-CyVS8twb.js","assets/RiskMinor.svg-DySg6T70.js","assets/index-krRjBuB-.js","assets/PaymentTermsAndConditions-DMRioruA.js","assets/DataTable-BJvk4CTg.js","assets/hookState-D1WDd-j3.js","assets/index-BTrzV_kV.js","assets/index-CHtYNZ59.js","assets/index-DERTmche.js","assets/useAddressInformationSchema-M_GH4SqN.js","assets/index-esm-C4bmqvkG.js","assets/index-DiyrwjHy.js","assets/CustomPhoneInput-67f5zHMH.js","assets/option-DVC9NjBR.js","assets/empty-saved-address-banner-image-GINpmc3z.js","assets/index-BMQRJKjU.js","assets/saved-addresses-CrlTrR48.js","assets/addressType-Dq-BWODb.js","assets/useSavedAddressFormSchema-Dv0yDLVw.js","assets/index-1kgCi0dE.js","assets/CountrySelect-CxMiYXtD.js","assets/TagList-H6es3gNs.js","assets/useShipmentCountrySelectProps-B1G8_IuT.js","assets/useCountryErrorMap-BK29JJaK.js","assets/merchantOfRecord-DdjkzC68.js","assets/useUserAddressBook-D_hNJ-hy.js","assets/index-CWQLDPBQ.js","assets/dedupeSuggestedAddresses-CWDjwkRB.js","assets/resolveAddressValidationMessages-J2Nq605t.js","assets/validateAddressCompleteness-CvorbnvJ.js","assets/AddressDropdown-BzWuAXSB.js","assets/EmptySavedAddressCard-BmADteB8.js","assets/Step-TmyDvYt-.js","assets/ProgressBar-B2yg2PUd.js","assets/ErrorBanner-BHRchsHL.js","assets/ShipmentMobilePageTitleSection-Bq5ppw0u.js","assets/index-Dei_-cO9.js","assets/QuotationResults-DW6422ml.js","assets/utils-C_mpn3I7.js","assets/CustomBadge-C6V2vRNm.js","assets/question-mark-BabpBKw_.js","assets/carrierServiceHandoverMethod-BLHbfA3K.js","assets/carrier-BOl6OKCc.js","assets/PackageSingle-
577Do5O74oC.js","assets/index-BY92O9Hy.js","assets/shopify-CRNgkJkj.js","assets/index-BS1FhYbF.js","assets/PaymentRow-CUpqDcaN.js","assets/index-CVWja3AQ.js","assets/useTopupAmountLimit-CNyucU7_.js","assets/useStripeElementsOptions-CDp7t7KI.js","assets/shipmentFreightType-Owh7l10u.js","assets/shipmentStatus-D7BvCoWo.js","assets/shippingChannel-GpNxDmE8.js","assets/cancelled-shiopment-CEhAs6Fi.js","assets/resolveKycCheckoutState-BJjR3LIS.js","assets/index-BkPVl8VO.js","assets/shippingRuleConditionType-Bt5fjdHH.js","assets/shippingRuleActionType-B7HqzQ-u.js","assets/useShowMoreOptions-CNaWpcTg.js","assets/org-carrier-service-groups-XmgEYYUU.js","assets/packagingType-CtI31ra9.js","assets/useHsCode-DpARyIJ6.js","assets/CardPaymentMethodItem-aSX1Cy6t.js","assets/CardBrandIcon-DQyGdb3P.js","assets/useStripeDefaultCardPaymentMethod-CmMYdsVW.js","assets/EditShipmentTagsModal-CG51WJ1V.js","assets/signatureHandlingServiceType-zD4fuV6h.js","assets/quotationSelectionStrategy-BnXm6c0u.js","assets/label-creation-failed-BBYmtXuq.js","assets/CopyToClipboardButton-BNA25li7.js","assets/index-BPH-w02y.js","assets/useCreateShipmentError-DZ-r5ShB.js","assets/reduce-DBuLrfdP.js","assets/label-created-Db9cCAew.js","assets/useDownloadShippingDocuments-BpYTAVOk.js","assets/shippingLabelSize-K15_mY2G.js","assets/IossAlertBanner-DmQANx6x.js","assets/PoweredByMerchantOfRecordLogo-Bbt3D-8H.js","assets/utils-9cNvR2X3.js","assets/index-C7WzHlWQ.js","assets/saved-packagings-lQGr45qY.js","assets/ChargeableWeightCalculationBanner-Bdhf1GGN.js","assets/useCountryOfManufactureErrorMap-DLRwZ8xu.js","assets/ZtoPostalTaxCodeSection-BguZER1c.js","assets/ChoiceList-CPFy_hOh.js","assets/zto-postal-tax-code-CN9VI7mL.js","assets/HsCodeCategoryField-DQmX036I.js","assets/PlusMinor.svg-CBsm5TN3.js","assets/InternationalShipmentPackageLimitBanner-DPSBRdO9.js","assets/index-BEZwI3WN.js","assets/CloneShipmentModal-CwmcKqnu.js","assets/RequestInTransitReturnConfirmModal-CxTVlXei.js","assets/ShipmentStatusBadge-CN2dmGc7.js","assets/shipmentDeliveryStatus-sotVH9V7.js","assets/index-Dc70qS6L.js","assets/AuthFrame-zOkB5wlH.js","assets/index-Du0A7HlL.js","assets/index-Dq55Lxou.js","assets/LoginOrSignupForm-UiW5Z6CE.js","assets/user-BdspIebo.js","assets/index-CxjhwBLg.js","assets/useInterval-6TVJWNi6.js","assets/index-BX-VdeCv.js","assets/index-PlRG2b7f.js","assets/index-CgwYUY8Q.js","assets/index-yfB3pOcv.js","assets/useIsUsOriginFulfillmentOrderEnabled-9zgBHosG.js","assets/LoadingState-C2eIUJMw.js","assets/index-BaBfi7fr.js","assets/index-DkQzMaba.js","assets/MobileIndexTableWrapper--3-rq0NV.js","assets/SkeletonListItem-D9ZRptQ9.js","assets/SettingsHeading-Cq6uGrk0.js","assets/index-CZGKs3DB.js","assets/index-yacN_OIK.js","assets/branding-config-CJmEFMqs.js","assets/index-Cod3t82r.js","assets/index-B2foTz1Q.js","assets/index-MBA6CNfm.js","assets/useShippingRuleUsage-DUPiXWdG.js","assets/shipmentPurpose-DfFbQfQi.js","assets/index-BxtxUg0l.js","assets/useAutocomplete-BnYxGXlY.js","assets/index-B04NUpB5.js","assets/TwoColumnLayout-X_thcygM.js","assets/PhoneInput-DmXYVEyI.js","assets/index-CeY0iwX3.js","assets/index-BgzNWlWe.js","assets/index-pTo2bhiv.js","assets/ImageFileUpload-DeIIyqRY.js","assets/index-ChZyhJn2.js","assets/index-DoJZicC_.js","assets/index-8zbJ1VDN.js","assets/index-BNp7Le9S.js","assets/index-C8ulnw2A.js","assets/index-Dryy-n_e.js","assets/useCanBuyShipment-8OEa-kX8.js","assets/useCountry-SoAGgjvq.js","assets/index-COgId0X3.js","assets/FeatureIndicatorsStack-CRI9DeGn.js","assets/ReturnShipmentIndicator-BaVj4bH7.js","assets/DeleteMinor.svg-BlH1hI5R.js","assets/package-Cefcpvov.js","assets/MobileCopyToClipboardButton-BkiMC8EU.js","assets/BulkEditShipmentTagsModal-DuoGkYy4.js","assets/index-BwvI_p7_.js","assets/ExportShipmentsButton-BrW4kzUL.js","assets/BulkApplyShippingRulesModal-g85Kuc5N.js","assets/types-Zeq71kJd.js","assets/ShipmentsContext-DoCtdyou.js","assets/index-BajrGUY6.js","assets/index-DN3vwc8I.js","assets/AddressIndicator-BaisvZfA.js","assets/CriticalTooltip-DjFXHfOq.js","assets/index-BFZmW1pG.js","assets/index-CXHKtwrO.js","assets/useBulkCancelShipmentPageData-DEe8vyEO.js","assets/OverflowText-B0nZatf0.js","assets/index-DFE2GLpg.js","assets/index-D9UZP1OD.js","assets/pickup-no-record-CZrAkDPk.js","assets/index-DMQ2QdTG.js","assets/index-xujAGK4H.js","assets/index-DUzljVNQ.js","assets/index-SqBjGuV6.js","assets/index-CDWXPOQU.js","assets/index-D6LeneqQ.js","assets/index-Bc5LC7BN.js","assets/empty-product-DoRqB0zX.js","assets/productGetAllSortField-DSp_blS7.js","assets/store-integrations-3e9aJoNN.js","assets/ComboboxFilterItem-D2C2eFQM.js","assets/some-msrZpF6U.js","assets/index-CituO-RP.js","assets/useShopifyStoreConnectorPreConfigStorage-bhfVOCxm.js","assets/useShopifyOrderSyncTimeRangeChoices-2a5Y_ULC.js","assets/index-14MzTKuX.js","assets/map-BFfX6MCq.js","assets/index-VFyQSOaK.js","assets/index-uGLl_DDY.js","assets/WalletPageContext-BTyAJUXJ.js","assets/ReceiptTableContext-ZX8Jd3c2.js","assets/TransactionTableContext-D7FXiEqq.js","assets/index-BNho-CNY.js","assets/walletTxCategory-D4_DltLG.js","assets/empty-billing-CIClyTzv.js","assets/ExternalSmallMinor.svg-CXBct7Kz.js","assets/index-CIaiK0Is.js","assets/SetupOrganizationDetail
577sModal-CMbu358Y.js","assets/index-BqpPYo4I.js","assets/index-tFH8EI0J.js","assets/index-9AKmmKI3.js","assets/index-y_4qsHp2.js","assets/quotation-CnaW9w2p.js","assets/index-BaweWKKo.js","assets/index-DjWUfFzB.js","assets/UpcomingTableContext-BRnq06qC.js","assets/HistoryTableContext-CgUQqqbR.js","assets/index-mnZ6CEn4.js","assets/index-yCZ4PzVE.js","assets/index-BY86cMrA.js","assets/index-4-S2KSiw.js","assets/usePickupDetailsFromApi-vPcIAydH.js","assets/index-D9j0Tk5k.js","assets/index-CGOeIIIz.js","assets/ArchivedTableContext-DkGQYzyG.js","assets/OutstandingTableContext-DFveRHlQ.js","assets/shippingBillingEntryPendingSecondChargeSortField-BKStAgx4.js","assets/UpcomingTableContext-Cq-k8l6Y.js","assets/index-BLks0yPW.js","assets/TrackingNumberCell-JjNbajiQ.js","assets/shippingBillingEntryStatus-hYY7tmAe.js","assets/shippingBillingEntryType-BYufWFD9.js","assets/index-BRhH5ZUJ.js","assets/index-Vs8vZ5rA.js","assets/index-Bk2Q3dE5.js","assets/useProductPackagingTypeOptons-DWLK-eP3.js","assets/index-FdBruRAh.js","assets/index-DsmBQPaf.js","assets/index-B0tXqhnO.js","assets/index-BrmcRQ5v.js","assets/inventory-items-B63PdlP5.js","assets/InventoryContext-B9-AxXSU.js","assets/WarehouseContext-sVOHY1uM.js","assets/WarehouseReceivingOrdersContext-C1eyzSoU.js","assets/index-8G8DonSR.js","assets/WarehouseSwitcher-B4G2Gpt8.js","assets/index-BYiDejTk.js","assets/index-UzhBBpWY.js","assets/ValidateFulfillmentOrderAddressModal-C4bTqPlw.js","assets/types-DNYOLowP.js","assets/index-DiOqtEgw.js","assets/ErrorBanner-CwbzfgqT.js","assets/index-DR78X2AJ.js","assets/BillingChargesSummary-5T3hKFa5.js","assets/unfulfilledFulfillmentOrderListItemDtoReceiverAddressValidationStatus-BHywC0QA.js","assets/index-g5CSOyVK.js","assets/index-tr7axNp-.js","assets/CancelWroConfirmModal-4rein5xL.js","assets/index-ov4O66Kj.js","assets/index-DPsjq4M7.js","assets/fulfillment-return-orders-CgCd6C7n.js","assets/fulfillmentReturnOrderStatus-cFNsmw44.js","assets/index-p_xgine5.js","assets/index-BVlxgYf3.js","assets/index-BRy1Id1p.js"]
578  }
579  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
580}
581//# debugId=25c48436-bf99-534a-9f12-74c0d1d1cf30
582//# sourceMappingURL=index-UOCn7uSZ.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.