@unlev/exeq 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-OLRWRBLO.mjs +650 -0
- package/dist/chunk-OLRWRBLO.mjs.map +1 -0
- package/dist/embed.css +1 -0
- package/dist/embed.global.js +426 -0
- package/dist/pdfFiller-Btf-SnEB.d.mts +247 -0
- package/dist/pdfFiller-Btf-SnEB.d.ts +247 -0
- package/package.json +2 -15
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
"use strict";var ExeqBundle=(()=>{var hZ=Object.create;var cx=Object.defineProperty;var pZ=Object.getOwnPropertyDescriptor;var mZ=Object.getOwnPropertyNames;var gZ=Object.getPrototypeOf,vZ=Object.prototype.hasOwnProperty;var it=(e,t)=>()=>(e&&(t=e(e=0)),t);var ln=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),mP=(e,t)=>{for(var n in t)cx(e,n,{get:t[n],enumerable:!0})},gP=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of mZ(t))!vZ.call(e,r)&&r!==n&&cx(e,r,{get:()=>t[r],enumerable:!(i=pZ(t,r))||i.enumerable});return e};var zn=(e,t,n)=>(n=e!=null?hZ(gZ(e)):{},gP(t||!e||!e.__esModule?cx(n,"default",{value:e,enumerable:!0}):n,e)),yZ=e=>gP(cx({},"__esModule",{value:!0}),e);var DP=ln(Te=>{"use strict";var ZD=Symbol.for("react.transitional.element"),bZ=Symbol.for("react.portal"),SZ=Symbol.for("react.fragment"),xZ=Symbol.for("react.strict_mode"),AZ=Symbol.for("react.profiler"),wZ=Symbol.for("react.consumer"),EZ=Symbol.for("react.context"),TZ=Symbol.for("react.forward_ref"),CZ=Symbol.for("react.suspense"),DZ=Symbol.for("react.memo"),xP=Symbol.for("react.lazy"),RZ=Symbol.for("react.activity"),vP=Symbol.iterator;function OZ(e){return e===null||typeof e!="object"?null:(e=vP&&e[vP]||e["@@iterator"],typeof e=="function"?e:null)}var AP={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},wP=Object.assign,EP={};function Kp(e,t,n){this.props=e,this.context=t,this.refs=EP,this.updater=n||AP}Kp.prototype.isReactComponent={};Kp.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Kp.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function TP(){}TP.prototype=Kp.prototype;function WD(e,t,n){this.props=e,this.context=t,this.refs=EP,this.updater=n||AP}var QD=WD.prototype=new TP;QD.constructor=WD;wP(QD,Kp.prototype);QD.isPureReactComponent=!0;var yP=Array.isArray;function KD(){}var Hn={H:null,A:null,T:null,S:null},CP=Object.prototype.hasOwnProperty;function JD(e,t,n){var i=n.ref;return{$$typeof:ZD,type:e,key:t,ref:i!==void 0?i:null,props:n}}function MZ(e,t){return JD(e.type,t,e.props)}function $D(e){return typeof e=="object"&&e!==null&&e.$$typeof===ZD}function _Z(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var bP=/\/+/g;function YD(e,t){return typeof e=="object"&&e!==null&&e.key!=null?_Z(""+e.key):t.toString(36)}function FZ(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(KD,KD):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Yp(e,t,n,i,r){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(s){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case ZD:case bZ:l=!0;break;case xP:return l=e._init,Yp(l(e._payload),t,n,i,r)}}if(l)return r=r(e),l=i===""?"."+YD(e,0):i,yP(r)?(n="",l!=null&&(n=l.replace(bP,"$&/")+"/"),Yp(r,t,n,"",function(h){return h})):r!=null&&($D(r)&&(r=MZ(r,n+(r.key==null||e&&e.key===r.key?"":(""+r.key).replace(bP,"$&/")+"/")+l)),t.push(r)),1;l=0;var c=i===""?".":i+":";if(yP(e))for(var d=0;d<e.length;d++)i=e[d],s=c+YD(i,d),l+=Yp(i,t,n,s,r);else if(d=OZ(e),typeof d=="function")for(e=d.call(e),d=0;!(i=e.next()).done;)i=i.value,s=c+YD(i,d++),l+=Yp(i,t,n,s,r);else if(s==="object"){if(typeof e.then=="function")return Yp(FZ(e),t,n,i,r);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 l}function fx(e,t,n){if(e==null)return e;var i=[],r=0;return Yp(e,i,"","",function(s){return t.call(n,s,r++)}),i}function NZ(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var SP=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},zZ={map:fx,forEach:function(e,t,n){fx(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return fx(e,function(){t++}),t},toArray:function(e){return fx(e,function(t){return t})||[]},only:function(e){if(!$D(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Te.Activity=RZ;Te.Children=zZ;Te.Component=Kp;Te.Fragment=SZ;Te.Profiler=AZ;Te.PureComponent=WD;Te.StrictMode=xZ;Te.Suspense=CZ;Te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Hn;Te.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Hn.H.useMemoCache(e)}};Te.cache=function(e){return function(){return e.apply(null,arguments)}};Te.cacheSignal=function(){return null};Te.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var i=wP({},e.props),r=e.key;if(t!=null)for(s in t.key!==void 0&&(r=""+t.key),t)!CP.call(t,s)||s==="key"||s==="__self"||s==="__source"||s==="ref"&&t.ref===void 0||(i[s]=t[s]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];i.children=l}return JD(e.type,r,i)};Te.createContext=function(e){return e={$$typeof:EZ,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:wZ,_context:e},e};Te.createElement=function(e,t,n){var i,r={},s=null;if(t!=null)for(i in t.key!==void 0&&(s=""+t.key),t)CP.call(t,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(r[i]=t[i]);var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];r.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps,l)r[i]===void 0&&(r[i]=l[i]);return JD(e,s,r)};Te.createRef=function(){return{current:null}};Te.forwardRef=function(e){return{$$typeof:TZ,render:e}};Te.isValidElement=$D;Te.lazy=function(e){return{$$typeof:xP,_payload:{_status:-1,_result:e},_init:NZ}};Te.memo=function(e,t){return{$$typeof:DZ,type:e,compare:t===void 0?null:t}};Te.startTransition=function(e){var t=Hn.T,n={};Hn.T=n;try{var i=e(),r=Hn.S;r!==null&&r(n,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then(KD,SP)}catch(s){SP(s)}finally{t!==null&&n.types!==null&&(t.types=n.types),Hn.T=t}};Te.unstable_useCacheRefresh=function(){return Hn.H.useCacheRefresh()};Te.use=function(e){return Hn.H.use(e)};Te.useActionState=function(e,t,n){return Hn.H.useActionState(e,t,n)};Te.useCallback=function(e,t){return Hn.H.useCallback(e,t)};Te.useContext=function(e){return Hn.H.useContext(e)};Te.useDebugValue=function(){};Te.useDeferredValue=function(e,t){return Hn.H.useDeferredValue(e,t)};Te.useEffect=function(e,t){return Hn.H.useEffect(e,t)};Te.useEffectEvent=function(e){return Hn.H.useEffectEvent(e)};Te.useId=function(){return Hn.H.useId()};Te.useImperativeHandle=function(e,t,n){return Hn.H.useImperativeHandle(e,t,n)};Te.useInsertionEffect=function(e,t){return Hn.H.useInsertionEffect(e,t)};Te.useLayoutEffect=function(e,t){return Hn.H.useLayoutEffect(e,t)};Te.useMemo=function(e,t){return Hn.H.useMemo(e,t)};Te.useOptimistic=function(e,t){return Hn.H.useOptimistic(e,t)};Te.useReducer=function(e,t,n){return Hn.H.useReducer(e,t,n)};Te.useRef=function(e){return Hn.H.useRef(e)};Te.useState=function(e){return Hn.H.useState(e)};Te.useSyncExternalStore=function(e,t,n){return Hn.H.useSyncExternalStore(e,t,n)};Te.useTransition=function(){return Hn.H.useTransition()};Te.version="19.2.5"});var RP=ln((be,dx)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(F,Q){Object.defineProperty(i.prototype,F,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",Q[0],Q[1])}})}function t(F){return F===null||typeof F!="object"?null:(F=In&&F[In]||F["@@iterator"],typeof F=="function"?F:null)}function n(F,Q){F=(F=F.constructor)&&(F.displayName||F.name)||"ReactClass";var mt=F+"."+Q;Et[mt]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",Q,F),Et[mt]=!0)}function i(F,Q,mt){this.props=F,this.context=Q,this.refs=Ma,this.updater=mt||oa}function r(){}function s(F,Q,mt){this.props=F,this.context=Q,this.refs=Ma,this.updater=mt||oa}function l(){}function c(F){return""+F}function d(F){try{c(F);var Q=!1}catch{Q=!0}if(Q){Q=console;var mt=Q.error,Ot=typeof Symbol=="function"&&Symbol.toStringTag&&F[Symbol.toStringTag]||F.constructor.name||"Object";return mt.call(Q,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Ot),c(F)}}function h(F){if(F==null)return null;if(typeof F=="function")return F.$$typeof===ye?null:F.displayName||F.name||null;if(typeof F=="string")return F;switch(F){case Ct:return"Fragment";case nt:return"Profiler";case Yt:return"StrictMode";case De:return"Suspense";case Mt:return"SuspenseList";case en:return"Activity"}if(typeof F=="object")switch(typeof F.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),F.$$typeof){case wt:return"Portal";case Tt:return F.displayName||"Context";case yt:return(F._context.displayName||"Context")+".Consumer";case Rt:var Q=F.render;return F=F.displayName,F||(F=Q.displayName||Q.name||"",F=F!==""?"ForwardRef("+F+")":"ForwardRef"),F;case zt:return Q=F.displayName||null,Q!==null?Q:h(F.type)||"Memo";case ce:Q=F._payload,F=F._init;try{return h(F(Q))}catch{}}return null}function p(F){if(F===Ct)return"<>";if(typeof F=="object"&&F!==null&&F.$$typeof===ce)return"<...>";try{var Q=h(F);return Q?"<"+Q+">":"<...>"}catch{return"<...>"}}function y(){var F=Ft.A;return F===null?null:F.getOwner()}function g(){return Error("react-stack-top-frame")}function b(F){if(ue.call(F,"key")){var Q=Object.getOwnPropertyDescriptor(F,"key").get;if(Q&&Q.isReactWarning)return!1}return F.key!==void 0}function S(F,Q){function mt(){we||(we=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",Q))}mt.isReactWarning=!0,Object.defineProperty(F,"key",{get:mt,configurable:!0})}function w(){var F=h(this.type);return Pn[F]||(Pn[F]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),F=this.props.ref,F!==void 0?F:null}function D(F,Q,mt,Ot,Ut,V){var st=mt.ref;return F={$$typeof:K,type:F,key:Q,props:mt,_owner:Ot},(st!==void 0?st:null)!==null?Object.defineProperty(F,"ref",{enumerable:!1,get:w}):Object.defineProperty(F,"ref",{enumerable:!1,value:null}),F._store={},Object.defineProperty(F._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(F,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(F,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ut}),Object.defineProperty(F,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:V}),Object.freeze&&(Object.freeze(F.props),Object.freeze(F)),F}function A(F,Q){return Q=D(F.type,Q,F.props,F._owner,F._debugStack,F._debugTask),F._store&&(Q._store.validated=F._store.validated),Q}function T(F){C(F)?F._store&&(F._store.validated=1):typeof F=="object"&&F!==null&&F.$$typeof===ce&&(F._payload.status==="fulfilled"?C(F._payload.value)&&F._payload.value._store&&(F._payload.value._store.validated=1):F._store&&(F._store.validated=1))}function C(F){return typeof F=="object"&&F!==null&&F.$$typeof===K}function O(F){var Q={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(mt){return Q[mt]})}function M(F,Q){return typeof F=="object"&&F!==null&&F.key!=null?(d(F.key),O(""+F.key)):Q.toString(36)}function k(F){switch(F.status){case"fulfilled":return F.value;case"rejected":throw F.reason;default:switch(typeof F.status=="string"?F.then(l,l):(F.status="pending",F.then(function(Q){F.status==="pending"&&(F.status="fulfilled",F.value=Q)},function(Q){F.status==="pending"&&(F.status="rejected",F.reason=Q)})),F.status){case"fulfilled":return F.value;case"rejected":throw F.reason}}throw F}function z(F,Q,mt,Ot,Ut){var V=typeof F;(V==="undefined"||V==="boolean")&&(F=null);var st=!1;if(F===null)st=!0;else switch(V){case"bigint":case"string":case"number":st=!0;break;case"object":switch(F.$$typeof){case K:case wt:st=!0;break;case ce:return st=F._init,z(st(F._payload),Q,mt,Ot,Ut)}}if(st){st=F,Ut=Ut(st);var lt=Ot===""?"."+M(st,0):Ot;return et(Ut)?(mt="",lt!=null&&(mt=lt.replace(sa,"$&/")+"/"),z(Ut,Q,mt,"",function(pt){return pt})):Ut!=null&&(C(Ut)&&(Ut.key!=null&&(st&&st.key===Ut.key||d(Ut.key)),mt=A(Ut,mt+(Ut.key==null||st&&st.key===Ut.key?"":(""+Ut.key).replace(sa,"$&/")+"/")+lt),Ot!==""&&st!=null&&C(st)&&st.key==null&&st._store&&!st._store.validated&&(mt._store.validated=2),Ut=mt),Q.push(Ut)),1}if(st=0,lt=Ot===""?".":Ot+":",et(F))for(var dt=0;dt<F.length;dt++)Ot=F[dt],V=lt+M(Ot,dt),st+=z(Ot,Q,mt,V,Ut);else if(dt=t(F),typeof dt=="function")for(dt===F.entries&&(Ga||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ga=!0),F=dt.call(F),dt=0;!(Ot=F.next()).done;)Ot=Ot.value,V=lt+M(Ot,dt++),st+=z(Ot,Q,mt,V,Ut);else if(V==="object"){if(typeof F.then=="function")return z(k(F),Q,mt,Ot,Ut);throw Q=String(F),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return st}function P(F,Q,mt){if(F==null)return F;var Ot=[],Ut=0;return z(F,Ot,"","",function(V){return Q.call(mt,V,Ut++)}),Ot}function U(F){if(F._status===-1){var Q=F._ioInfo;Q!=null&&(Q.start=Q.end=performance.now()),Q=F._result;var mt=Q();if(mt.then(function(Ut){if(F._status===0||F._status===-1){F._status=1,F._result=Ut;var V=F._ioInfo;V!=null&&(V.end=performance.now()),mt.status===void 0&&(mt.status="fulfilled",mt.value=Ut)}},function(Ut){if(F._status===0||F._status===-1){F._status=2,F._result=Ut;var V=F._ioInfo;V!=null&&(V.end=performance.now()),mt.status===void 0&&(mt.status="rejected",mt.reason=Ut)}}),Q=F._ioInfo,Q!=null){Q.value=mt;var Ot=mt.displayName;typeof Ot=="string"&&(Q.name=Ot)}F._status===-1&&(F._status=0,F._result=mt)}if(F._status===1)return Q=F._result,Q===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,Q),"default"in Q||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,Q),Q.default;throw F._result}function B(){var F=Ft.H;return F===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
12
|
+
3. You might have more than one copy of React in the same app
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),F}function W(){Ft.asyncTransitions--}function Y(F){if(Fs===null)try{var Q=("require"+Math.random()).slice(0,7);Fs=(dx&&dx[Q]).call(dx,"timers").setImmediate}catch{Fs=function(Ot){Ih===!1&&(Ih=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ut=new MessageChannel;Ut.port1.onmessage=Ot,Ut.port2.postMessage(void 0)}}return Fs(F)}function ot(F){return 1<F.length&&typeof AggregateError=="function"?new AggregateError(F):F[0]}function ft(F,Q){Q!==Ns-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ns=Q}function $(F,Q,mt){var Ot=Ft.actQueue;if(Ot!==null)if(Ot.length!==0)try{tt(Ot),Y(function(){return $(F,Q,mt)});return}catch(Ut){Ft.thrownErrors.push(Ut)}else Ft.actQueue=null;0<Ft.thrownErrors.length?(Ot=ot(Ft.thrownErrors),Ft.thrownErrors.length=0,mt(Ot)):Q(F)}function tt(F){if(!zl){zl=!0;var Q=0;try{for(;Q<F.length;Q++){var mt=F[Q];do{Ft.didUsePromise=!1;var Ot=mt(!1);if(Ot!==null){if(Ft.didUsePromise){F[Q]=mt,F.splice(0,Q);return}mt=Ot}else break}while(!0)}F.length=0}catch(Ut){F.splice(0,Q+1),Ft.thrownErrors.push(Ut)}finally{zl=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var K=Symbol.for("react.transitional.element"),wt=Symbol.for("react.portal"),Ct=Symbol.for("react.fragment"),Yt=Symbol.for("react.strict_mode"),nt=Symbol.for("react.profiler"),yt=Symbol.for("react.consumer"),Tt=Symbol.for("react.context"),Rt=Symbol.for("react.forward_ref"),De=Symbol.for("react.suspense"),Mt=Symbol.for("react.suspense_list"),zt=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),en=Symbol.for("react.activity"),In=Symbol.iterator,Et={},oa={isMounted:function(){return!1},enqueueForceUpdate:function(F){n(F,"forceUpdate")},enqueueReplaceState:function(F){n(F,"replaceState")},enqueueSetState:function(F){n(F,"setState")}},Hi=Object.assign,Ma={};Object.freeze(Ma),i.prototype.isReactComponent={},i.prototype.setState=function(F,Q){if(typeof F!="object"&&typeof F!="function"&&F!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,F,Q,"setState")},i.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};var ei={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(os in ei)ei.hasOwnProperty(os)&&e(os,ei[os]);r.prototype=i.prototype,ei=s.prototype=new r,ei.constructor=s,Hi(ei,i.prototype),ei.isPureReactComponent=!0;var et=Array.isArray,ye=Symbol.for("react.client.reference"),Ft={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},ue=Object.prototype.hasOwnProperty,Le=console.createTask?console.createTask:function(){return null};ei={react_stack_bottom_frame:function(F){return F()}};var we,fn,Pn={},xe=ei.react_stack_bottom_frame.bind(ei,g)(),rs=Le(p(g)),Ga=!1,sa=/\/+/g,vo=typeof reportError=="function"?reportError:function(F){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof F=="object"&&F!==null&&typeof F.message=="string"?String(F.message):String(F),error:F});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",F);return}console.error(F)},Ih=!1,Fs=null,Ns=0,Nl=!1,zl=!1,Wf=typeof queueMicrotask=="function"?function(F){queueMicrotask(function(){return queueMicrotask(F)})}:Y;ei=Object.freeze({__proto__:null,c:function(F){return B().useMemoCache(F)}});var os={map:P,forEach:function(F,Q,mt){P(F,function(){Q.apply(this,arguments)},mt)},count:function(F){var Q=0;return P(F,function(){Q++}),Q},toArray:function(F){return P(F,function(Q){return Q})||[]},only:function(F){if(!C(F))throw Error("React.Children.only expected to receive a single React element child.");return F}};be.Activity=en,be.Children=os,be.Component=i,be.Fragment=Ct,be.Profiler=nt,be.PureComponent=s,be.StrictMode=Yt,be.Suspense=De,be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ft,be.__COMPILER_RUNTIME=ei,be.act=function(F){var Q=Ft.actQueue,mt=Ns;Ns++;var Ot=Ft.actQueue=Q!==null?Q:[],Ut=!1;try{var V=F()}catch(dt){Ft.thrownErrors.push(dt)}if(0<Ft.thrownErrors.length)throw ft(Q,mt),F=ot(Ft.thrownErrors),Ft.thrownErrors.length=0,F;if(V!==null&&typeof V=="object"&&typeof V.then=="function"){var st=V;return Wf(function(){Ut||Nl||(Nl=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(dt,pt){Ut=!0,st.then(function(vt){if(ft(Q,mt),mt===0){try{tt(Ot),Y(function(){return $(vt,dt,pt)})}catch(Ae){Ft.thrownErrors.push(Ae)}if(0<Ft.thrownErrors.length){var Gt=ot(Ft.thrownErrors);Ft.thrownErrors.length=0,pt(Gt)}}else dt(vt)},function(vt){ft(Q,mt),0<Ft.thrownErrors.length&&(vt=ot(Ft.thrownErrors),Ft.thrownErrors.length=0),pt(vt)})}}}var lt=V;if(ft(Q,mt),mt===0&&(tt(Ot),Ot.length!==0&&Wf(function(){Ut||Nl||(Nl=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),Ft.actQueue=null),0<Ft.thrownErrors.length)throw F=ot(Ft.thrownErrors),Ft.thrownErrors.length=0,F;return{then:function(dt,pt){Ut=!0,mt===0?(Ft.actQueue=Ot,Y(function(){return $(lt,dt,pt)})):dt(lt)}}},be.cache=function(F){return function(){return F.apply(null,arguments)}},be.cacheSignal=function(){return null},be.captureOwnerStack=function(){var F=Ft.getCurrentStack;return F===null?null:F()},be.cloneElement=function(F,Q,mt){if(F==null)throw Error("The argument must be a React element, but you passed "+F+".");var Ot=Hi({},F.props),Ut=F.key,V=F._owner;if(Q!=null){var st;t:{if(ue.call(Q,"ref")&&(st=Object.getOwnPropertyDescriptor(Q,"ref").get)&&st.isReactWarning){st=!1;break t}st=Q.ref!==void 0}st&&(V=y()),b(Q)&&(d(Q.key),Ut=""+Q.key);for(lt in Q)!ue.call(Q,lt)||lt==="key"||lt==="__self"||lt==="__source"||lt==="ref"&&Q.ref===void 0||(Ot[lt]=Q[lt])}var lt=arguments.length-2;if(lt===1)Ot.children=mt;else if(1<lt){st=Array(lt);for(var dt=0;dt<lt;dt++)st[dt]=arguments[dt+2];Ot.children=st}for(Ot=D(F.type,Ut,Ot,V,F._debugStack,F._debugTask),Ut=2;Ut<arguments.length;Ut++)T(arguments[Ut]);return Ot},be.createContext=function(F){return F={$$typeof:Tt,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null},F.Provider=F,F.Consumer={$$typeof:yt,_context:F},F._currentRenderer=null,F._currentRenderer2=null,F},be.createElement=function(F,Q,mt){for(var Ot=2;Ot<arguments.length;Ot++)T(arguments[Ot]);Ot={};var Ut=null;if(Q!=null)for(dt in fn||!("__self"in Q)||"key"in Q||(fn=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),b(Q)&&(d(Q.key),Ut=""+Q.key),Q)ue.call(Q,dt)&&dt!=="key"&&dt!=="__self"&&dt!=="__source"&&(Ot[dt]=Q[dt]);var V=arguments.length-2;if(V===1)Ot.children=mt;else if(1<V){for(var st=Array(V),lt=0;lt<V;lt++)st[lt]=arguments[lt+2];Object.freeze&&Object.freeze(st),Ot.children=st}if(F&&F.defaultProps)for(dt in V=F.defaultProps,V)Ot[dt]===void 0&&(Ot[dt]=V[dt]);Ut&&S(Ot,typeof F=="function"?F.displayName||F.name||"Unknown":F);var dt=1e4>Ft.recentlyCreatedOwnerStacks++;return D(F,Ut,Ot,y(),dt?Error("react-stack-top-frame"):xe,dt?Le(p(F)):rs)},be.createRef=function(){var F={current:null};return Object.seal(F),F},be.forwardRef=function(F){F!=null&&F.$$typeof===zt?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof F!="function"?console.error("forwardRef requires a render function but was given %s.",F===null?"null":typeof F):F.length!==0&&F.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",F.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),F!=null&&F.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var Q={$$typeof:Rt,render:F},mt;return Object.defineProperty(Q,"displayName",{enumerable:!1,configurable:!0,get:function(){return mt},set:function(Ot){mt=Ot,F.name||F.displayName||(Object.defineProperty(F,"name",{value:Ot}),F.displayName=Ot)}}),Q},be.isValidElement=C,be.lazy=function(F){F={_status:-1,_result:F};var Q={$$typeof:ce,_payload:F,_init:U},mt={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return F._ioInfo=mt,Q._debugInfo=[{awaited:mt}],Q},be.memo=function(F,Q){F==null&&console.error("memo: The first argument must be a component. Instead received: %s",F===null?"null":typeof F),Q={$$typeof:zt,type:F,compare:Q===void 0?null:Q};var mt;return Object.defineProperty(Q,"displayName",{enumerable:!1,configurable:!0,get:function(){return mt},set:function(Ot){mt=Ot,F.name||F.displayName||(Object.defineProperty(F,"name",{value:Ot}),F.displayName=Ot)}}),Q},be.startTransition=function(F){var Q=Ft.T,mt={};mt._updatedFibers=new Set,Ft.T=mt;try{var Ot=F(),Ut=Ft.S;Ut!==null&&Ut(mt,Ot),typeof Ot=="object"&&Ot!==null&&typeof Ot.then=="function"&&(Ft.asyncTransitions++,Ot.then(W,W),Ot.then(l,vo))}catch(V){vo(V)}finally{Q===null&&mt._updatedFibers&&(F=mt._updatedFibers.size,mt._updatedFibers.clear(),10<F&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),Q!==null&&mt.types!==null&&(Q.types!==null&&Q.types!==mt.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),Q.types=mt.types),Ft.T=Q}},be.unstable_useCacheRefresh=function(){return B().useCacheRefresh()},be.use=function(F){return B().use(F)},be.useActionState=function(F,Q,mt){return B().useActionState(F,Q,mt)},be.useCallback=function(F,Q){return B().useCallback(F,Q)},be.useContext=function(F){var Q=B();return F.$$typeof===yt&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),Q.useContext(F)},be.useDebugValue=function(F,Q){return B().useDebugValue(F,Q)},be.useDeferredValue=function(F,Q){return B().useDeferredValue(F,Q)},be.useEffect=function(F,Q){return F==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),B().useEffect(F,Q)},be.useEffectEvent=function(F){return B().useEffectEvent(F)},be.useId=function(){return B().useId()},be.useImperativeHandle=function(F,Q,mt){return B().useImperativeHandle(F,Q,mt)},be.useInsertionEffect=function(F,Q){return F==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),B().useInsertionEffect(F,Q)},be.useLayoutEffect=function(F,Q){return F==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),B().useLayoutEffect(F,Q)},be.useMemo=function(F,Q){return B().useMemo(F,Q)},be.useOptimistic=function(F,Q){return B().useOptimistic(F,Q)},be.useReducer=function(F,Q,mt){return B().useReducer(F,Q,mt)},be.useRef=function(F){return B().useRef(F)},be.useState=function(F){return B().useState(F)},be.useSyncExternalStore=function(F,Q,mt){return B().useSyncExternalStore(F,Q,mt)},be.useTransition=function(){return B().useTransition()},be.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var vr=ln((jat,tR)=>{"use strict";process.env.NODE_ENV==="production"?tR.exports=DP():tR.exports=RP()});var UP=ln(Kn=>{"use strict";function aR(e,t){var n=e.length;e.push(t);t:for(;0<n;){var i=n-1>>>1,r=e[i];if(0<hx(r,t))e[i]=t,e[n]=r,n=i;else break t}}function ll(e){return e.length===0?null:e[0]}function mx(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;t:for(var i=0,r=e.length,s=r>>>1;i<s;){var l=2*(i+1)-1,c=e[l],d=l+1,h=e[d];if(0>hx(c,n))d<r&&0>hx(h,c)?(e[i]=h,e[d]=n,i=d):(e[i]=c,e[l]=n,i=l);else if(d<r&&0>hx(h,n))e[i]=h,e[d]=n,i=d;else break t}}return t}function hx(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}Kn.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(OP=performance,Kn.unstable_now=function(){return OP.now()}):(eR=Date,MP=eR.now(),Kn.unstable_now=function(){return eR.now()-MP});var OP,eR,MP,ou=[],zc=[],kZ=1,Fo=null,za=3,rR=!1,Sv=!1,xv=!1,oR=!1,NP=typeof setTimeout=="function"?setTimeout:null,zP=typeof clearTimeout=="function"?clearTimeout:null,_P=typeof setImmediate<"u"?setImmediate:null;function px(e){for(var t=ll(zc);t!==null;){if(t.callback===null)mx(zc);else if(t.startTime<=e)mx(zc),t.sortIndex=t.expirationTime,aR(ou,t);else break;t=ll(zc)}}function sR(e){if(xv=!1,px(e),!Sv)if(ll(ou)!==null)Sv=!0,Wp||(Wp=!0,Zp());else{var t=ll(zc);t!==null&&lR(sR,t.startTime-e)}}var Wp=!1,Av=-1,kP=5,LP=-1;function PP(){return oR?!0:!(Kn.unstable_now()-LP<kP)}function nR(){if(oR=!1,Wp){var e=Kn.unstable_now();LP=e;var t=!0;try{t:{Sv=!1,xv&&(xv=!1,zP(Av),Av=-1),rR=!0;var n=za;try{e:{for(px(e),Fo=ll(ou);Fo!==null&&!(Fo.expirationTime>e&&PP());){var i=Fo.callback;if(typeof i=="function"){Fo.callback=null,za=Fo.priorityLevel;var r=i(Fo.expirationTime<=e);if(e=Kn.unstable_now(),typeof r=="function"){Fo.callback=r,px(e),t=!0;break e}Fo===ll(ou)&&mx(ou),px(e)}else mx(ou);Fo=ll(ou)}if(Fo!==null)t=!0;else{var s=ll(zc);s!==null&&lR(sR,s.startTime-e),t=!1}}break t}finally{Fo=null,za=n,rR=!1}t=void 0}}finally{t?Zp():Wp=!1}}}var Zp;typeof _P=="function"?Zp=function(){_P(nR)}:typeof MessageChannel<"u"?(iR=new MessageChannel,FP=iR.port2,iR.port1.onmessage=nR,Zp=function(){FP.postMessage(null)}):Zp=function(){NP(nR,0)};var iR,FP;function lR(e,t){Av=NP(function(){e(Kn.unstable_now())},t)}Kn.unstable_IdlePriority=5;Kn.unstable_ImmediatePriority=1;Kn.unstable_LowPriority=4;Kn.unstable_NormalPriority=3;Kn.unstable_Profiling=null;Kn.unstable_UserBlockingPriority=2;Kn.unstable_cancelCallback=function(e){e.callback=null};Kn.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):kP=0<e?Math.floor(1e3/e):5};Kn.unstable_getCurrentPriorityLevel=function(){return za};Kn.unstable_next=function(e){switch(za){case 1:case 2:case 3:var t=3;break;default:t=za}var n=za;za=t;try{return e()}finally{za=n}};Kn.unstable_requestPaint=function(){oR=!0};Kn.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=za;za=e;try{return t()}finally{za=n}};Kn.unstable_scheduleCallback=function(e,t,n){var i=Kn.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?i+n:i):n=i,e){case 1:var r=-1;break;case 2:r=250;break;case 5:r=1073741823;break;case 4:r=1e4;break;default:r=5e3}return r=n+r,e={id:kZ++,callback:t,priorityLevel:e,startTime:n,expirationTime:r,sortIndex:-1},n>i?(e.sortIndex=n,aR(zc,e),ll(ou)===null&&e===ll(zc)&&(xv?(zP(Av),Av=-1):xv=!0,lR(sR,n-i))):(e.sortIndex=r,aR(ou,e),Sv||rR||(Sv=!0,Wp||(Wp=!0,Zp()))),e};Kn.unstable_shouldYield=PP;Kn.unstable_wrapCallback=function(e){var t=za;return function(){var n=za;za=t;try{return e.apply(this,arguments)}finally{za=n}}}});var BP=ln(Zn=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(){if(O=!1,P){var $=Zn.unstable_now();W=$;var tt=!0;try{t:{T=!1,C&&(C=!1,k(U),U=-1),A=!0;var K=D;try{e:{for(s($),w=n(g);w!==null&&!(w.expirationTime>$&&c());){var wt=w.callback;if(typeof wt=="function"){w.callback=null,D=w.priorityLevel;var Ct=wt(w.expirationTime<=$);if($=Zn.unstable_now(),typeof Ct=="function"){w.callback=Ct,s($),tt=!0;break e}w===n(g)&&i(g),s($)}else i(g);w=n(g)}if(w!==null)tt=!0;else{var Yt=n(b);Yt!==null&&d(l,Yt.startTime-$),tt=!1}}break t}finally{w=null,D=K,A=!1}tt=void 0}}finally{tt?Y():P=!1}}}function t($,tt){var K=$.length;$.push(tt);t:for(;0<K;){var wt=K-1>>>1,Ct=$[wt];if(0<r(Ct,tt))$[wt]=tt,$[K]=Ct,K=wt;else break t}}function n($){return $.length===0?null:$[0]}function i($){if($.length===0)return null;var tt=$[0],K=$.pop();if(K!==tt){$[0]=K;t:for(var wt=0,Ct=$.length,Yt=Ct>>>1;wt<Yt;){var nt=2*(wt+1)-1,yt=$[nt],Tt=nt+1,Rt=$[Tt];if(0>r(yt,K))Tt<Ct&&0>r(Rt,yt)?($[wt]=Rt,$[Tt]=K,wt=Tt):($[wt]=yt,$[nt]=K,wt=nt);else if(Tt<Ct&&0>r(Rt,K))$[wt]=Rt,$[Tt]=K,wt=Tt;else break t}}return tt}function r($,tt){var K=$.sortIndex-tt.sortIndex;return K!==0?K:$.id-tt.id}function s($){for(var tt=n(b);tt!==null;){if(tt.callback===null)i(b);else if(tt.startTime<=$)i(b),tt.sortIndex=tt.expirationTime,t(g,tt);else break;tt=n(b)}}function l($){if(C=!1,s($),!T)if(n(g)!==null)T=!0,P||(P=!0,Y());else{var tt=n(b);tt!==null&&d(l,tt.startTime-$)}}function c(){return O?!0:!(Zn.unstable_now()-W<B)}function d($,tt){U=M(function(){$(Zn.unstable_now())},tt)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Zn.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;Zn.unstable_now=function(){return h.now()}}else{var p=Date,y=p.now();Zn.unstable_now=function(){return p.now()-y}}var g=[],b=[],S=1,w=null,D=3,A=!1,T=!1,C=!1,O=!1,M=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null,P=!1,U=-1,B=5,W=-1;if(typeof z=="function")var Y=function(){z(e)};else if(typeof MessageChannel<"u"){var ot=new MessageChannel,ft=ot.port2;ot.port1.onmessage=e,Y=function(){ft.postMessage(null)}}else Y=function(){M(e,0)};Zn.unstable_IdlePriority=5,Zn.unstable_ImmediatePriority=1,Zn.unstable_LowPriority=4,Zn.unstable_NormalPriority=3,Zn.unstable_Profiling=null,Zn.unstable_UserBlockingPriority=2,Zn.unstable_cancelCallback=function($){$.callback=null},Zn.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<$?Math.floor(1e3/$):5},Zn.unstable_getCurrentPriorityLevel=function(){return D},Zn.unstable_next=function($){switch(D){case 1:case 2:case 3:var tt=3;break;default:tt=D}var K=D;D=tt;try{return $()}finally{D=K}},Zn.unstable_requestPaint=function(){O=!0},Zn.unstable_runWithPriority=function($,tt){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var K=D;D=$;try{return tt()}finally{D=K}},Zn.unstable_scheduleCallback=function($,tt,K){var wt=Zn.unstable_now();switch(typeof K=="object"&&K!==null?(K=K.delay,K=typeof K=="number"&&0<K?wt+K:wt):K=wt,$){case 1:var Ct=-1;break;case 2:Ct=250;break;case 5:Ct=1073741823;break;case 4:Ct=1e4;break;default:Ct=5e3}return Ct=K+Ct,$={id:S++,callback:tt,priorityLevel:$,startTime:K,expirationTime:Ct,sortIndex:-1},K>wt?($.sortIndex=K,t(b,$),n(g)===null&&$===n(b)&&(C?(k(U),U=-1):C=!0,d(l,K-wt))):($.sortIndex=Ct,t(g,$),T||A||(T=!0,P||(P=!0,Y()))),$},Zn.unstable_shouldYield=c,Zn.unstable_wrapCallback=function($){var tt=D;return function(){var K=D;D=tt;try{return $.apply(this,arguments)}finally{D=K}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var cR=ln((Gat,uR)=>{"use strict";process.env.NODE_ENV==="production"?uR.exports=UP():uR.exports=BP()});var jP=ln(er=>{"use strict";var LZ=vr();function HP(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}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."}function kc(){}var tr={d:{f:kc,r:function(){throw Error(HP(522))},D:kc,C:kc,L:kc,m:kc,X:kc,S:kc,M:kc},p:0,findDOMNode:null},PZ=Symbol.for("react.portal");function UZ(e,t,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:PZ,key:i==null?null:""+i,children:e,containerInfo:t,implementation:n}}var wv=LZ.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function gx(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}er.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=tr;er.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(HP(299));return UZ(e,t,null,n)};er.flushSync=function(e){var t=wv.T,n=tr.p;try{if(wv.T=null,tr.p=2,e)return e()}finally{wv.T=t,tr.p=n,tr.d.f()}};er.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,tr.d.C(e,t))};er.prefetchDNS=function(e){typeof e=="string"&&tr.d.D(e)};er.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var n=t.as,i=gx(n,t.crossOrigin),r=typeof t.integrity=="string"?t.integrity:void 0,s=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;n==="style"?tr.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:i,integrity:r,fetchPriority:s}):n==="script"&&tr.d.X(e,{crossOrigin:i,integrity:r,fetchPriority:s,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};er.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var n=gx(t.as,t.crossOrigin);tr.d.M(e,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&tr.d.M(e)};er.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var n=t.as,i=gx(n,t.crossOrigin);tr.d.L(e,n,{crossOrigin:i,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};er.preloadModule=function(e,t){if(typeof e=="string")if(t){var n=gx(t.as,t.crossOrigin);tr.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else tr.d.m(e)};er.requestFormReset=function(e){tr.d.r(e)};er.unstable_batchedUpdates=function(e,t){return e(t)};er.useFormState=function(e,t,n){return wv.H.useFormState(e,t,n)};er.useFormStatus=function(){return wv.H.useHostTransitionStatus()};er.version="19.2.5"});var qP=ln(nr=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(){}function t(y){return""+y}function n(y,g,b){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(S);var w=!1}catch{w=!0}return w&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&S[Symbol.toStringTag]||S.constructor.name||"Object"),t(S)),{$$typeof:h,key:S==null?null:""+S,children:y,containerInfo:g,implementation:b}}function i(y,g){if(y==="font")return"";if(typeof g=="string")return g==="use-credentials"?g:""}function r(y){return y===null?"`null`":y===void 0?"`undefined`":y===""?"an empty string":'something with type "'+typeof y+'"'}function s(y){return y===null?"`null`":y===void 0?"`undefined`":y===""?"an empty string":typeof y=="string"?JSON.stringify(y):typeof y=="number"?"`"+y+"`":'something with type "'+typeof y+'"'}function l(){var y=p.H;return y===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
14
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
15
|
+
2. You might be breaking the Rules of Hooks
|
|
16
|
+
3. You might have more than one copy of React in the same app
|
|
17
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),y}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var c=vr(),d={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},h=Symbol.for("react.portal"),p=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),nr.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=d,nr.createPortal=function(y,g){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!g||g.nodeType!==1&&g.nodeType!==9&&g.nodeType!==11)throw Error("Target container is not a DOM element.");return n(y,g,null,b)},nr.flushSync=function(y){var g=p.T,b=d.p;try{if(p.T=null,d.p=2,y)return y()}finally{p.T=g,d.p=b,d.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},nr.preconnect=function(y,g){typeof y=="string"&&y?g!=null&&typeof g!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",s(g)):g!=null&&typeof g.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",r(g.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",r(y)),typeof y=="string"&&(g?(g=g.crossOrigin,g=typeof g=="string"?g==="use-credentials"?g:"":void 0):g=null,d.d.C(y,g))},nr.prefetchDNS=function(y){if(typeof y!="string"||!y)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",r(y));else if(1<arguments.length){var g=arguments[1];typeof g=="object"&&g.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",s(g)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",s(g))}typeof y=="string"&&d.d.D(y)},nr.preinit=function(y,g){if(typeof y=="string"&&y?g==null||typeof g!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",s(g)):g.as!=="style"&&g.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',s(g.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",r(y)),typeof y=="string"&&g&&typeof g.as=="string"){var b=g.as,S=i(b,g.crossOrigin),w=typeof g.integrity=="string"?g.integrity:void 0,D=typeof g.fetchPriority=="string"?g.fetchPriority:void 0;b==="style"?d.d.S(y,typeof g.precedence=="string"?g.precedence:void 0,{crossOrigin:S,integrity:w,fetchPriority:D}):b==="script"&&d.d.X(y,{crossOrigin:S,integrity:w,fetchPriority:D,nonce:typeof g.nonce=="string"?g.nonce:void 0})}},nr.preinitModule=function(y,g){var b="";typeof y=="string"&&y||(b+=" The `href` argument encountered was "+r(y)+"."),g!==void 0&&typeof g!="object"?b+=" The `options` argument encountered was "+r(g)+".":g&&"as"in g&&g.as!=="script"&&(b+=" The `as` option encountered was "+s(g.as)+"."),b?console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",b):(b=g&&typeof g.as=="string"?g.as:"script",b)==="script"||(b=s(b),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',b,y)),typeof y=="string"&&(typeof g=="object"&&g!==null?(g.as==null||g.as==="script")&&(b=i(g.as,g.crossOrigin),d.d.M(y,{crossOrigin:b,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0})):g==null&&d.d.M(y))},nr.preload=function(y,g){var b="";if(typeof y=="string"&&y||(b+=" The `href` argument encountered was "+r(y)+"."),g==null||typeof g!="object"?b+=" The `options` argument encountered was "+r(g)+".":typeof g.as=="string"&&g.as||(b+=" The `as` option encountered was "+r(g.as)+"."),b&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',b),typeof y=="string"&&typeof g=="object"&&g!==null&&typeof g.as=="string"){b=g.as;var S=i(b,g.crossOrigin);d.d.L(y,b,{crossOrigin:S,integrity:typeof g.integrity=="string"?g.integrity:void 0,nonce:typeof g.nonce=="string"?g.nonce:void 0,type:typeof g.type=="string"?g.type:void 0,fetchPriority:typeof g.fetchPriority=="string"?g.fetchPriority:void 0,referrerPolicy:typeof g.referrerPolicy=="string"?g.referrerPolicy:void 0,imageSrcSet:typeof g.imageSrcSet=="string"?g.imageSrcSet:void 0,imageSizes:typeof g.imageSizes=="string"?g.imageSizes:void 0,media:typeof g.media=="string"?g.media:void 0})}},nr.preloadModule=function(y,g){var b="";typeof y=="string"&&y||(b+=" The `href` argument encountered was "+r(y)+"."),g!==void 0&&typeof g!="object"?b+=" The `options` argument encountered was "+r(g)+".":g&&"as"in g&&typeof g.as!="string"&&(b+=" The `as` option encountered was "+r(g.as)+"."),b&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',b),typeof y=="string"&&(g?(b=i(g.as,g.crossOrigin),d.d.m(y,{as:typeof g.as=="string"&&g.as!=="script"?g.as:void 0,crossOrigin:b,integrity:typeof g.integrity=="string"?g.integrity:void 0})):d.d.m(y))},nr.requestFormReset=function(y){d.d.r(y)},nr.unstable_batchedUpdates=function(y,g){return y(g)},nr.useFormState=function(y,g,b){return l().useFormState(y,g,b)},nr.useFormStatus=function(){return l().useHostTransitionStatus()},nr.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var vx=ln((Yat,fR)=>{"use strict";function VP(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(VP)}catch(e){console.error(e)}}}process.env.NODE_ENV==="production"?(VP(),fR.exports=jP()):fR.exports=qP()});var ej=ln(qA=>{"use strict";var Ii=cR(),mB=vr(),BZ=vx();function gt(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}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."}function gB(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function uy(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function vB(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 yB(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function GP(e){if(uy(e)!==e)throw Error(gt(188))}function HZ(e){var t=e.alternate;if(!t){if(t=uy(e),t===null)throw Error(gt(188));return t!==e?null:e}for(var n=e,i=t;;){var r=n.return;if(r===null)break;var s=r.alternate;if(s===null){if(i=r.return,i!==null){n=i;continue}break}if(r.child===s.child){for(s=r.child;s;){if(s===n)return GP(r),e;if(s===i)return GP(r),t;s=s.sibling}throw Error(gt(188))}if(n.return!==i.return)n=r,i=s;else{for(var l=!1,c=r.child;c;){if(c===n){l=!0,n=r,i=s;break}if(c===i){l=!0,i=r,n=s;break}c=c.sibling}if(!l){for(c=s.child;c;){if(c===n){l=!0,n=s,i=r;break}if(c===i){l=!0,i=s,n=r;break}c=c.sibling}if(!l)throw Error(gt(189))}}if(n.alternate!==i)throw Error(gt(190))}if(n.tag!==3)throw Error(gt(188));return n.stateNode.current===n?e:t}function bB(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=bB(e),t!==null)return t;e=e.sibling}return null}var Vn=Object.assign,jZ=Symbol.for("react.element"),yx=Symbol.for("react.transitional.element"),_v=Symbol.for("react.portal"),n0=Symbol.for("react.fragment"),SB=Symbol.for("react.strict_mode"),IR=Symbol.for("react.profiler"),xB=Symbol.for("react.consumer"),pu=Symbol.for("react.context"),HO=Symbol.for("react.forward_ref"),XR=Symbol.for("react.suspense"),YR=Symbol.for("react.suspense_list"),jO=Symbol.for("react.memo"),Lc=Symbol.for("react.lazy"),KR=Symbol.for("react.activity"),qZ=Symbol.for("react.memo_cache_sentinel"),IP=Symbol.iterator;function Ev(e){return e===null||typeof e!="object"?null:(e=IP&&e[IP]||e["@@iterator"],typeof e=="function"?e:null)}var VZ=Symbol.for("react.client.reference");function ZR(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===VZ?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case n0:return"Fragment";case IR:return"Profiler";case SB:return"StrictMode";case XR:return"Suspense";case YR:return"SuspenseList";case KR:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case _v:return"Portal";case pu:return e.displayName||"Context";case xB:return(e._context.displayName||"Context")+".Consumer";case HO:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case jO:return t=e.displayName||null,t!==null?t:ZR(e.type)||"Memo";case Lc:t=e._payload,e=e._init;try{return ZR(e(t))}catch{}}return null}var Fv=Array.isArray,he=mB.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,cn=BZ.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Hd={pending:!1,data:null,method:null,action:null},WR=[],i0=-1;function hl(e){return{current:e}}function aa(e){0>i0||(e.current=WR[i0],WR[i0]=null,i0--)}function kn(e,t){i0++,WR[i0]=e.current,e.current=t}var dl=hl(null),Zv=hl(null),Yc=hl(null),Qx=hl(null);function Jx(e,t){switch(kn(Yc,t),kn(Zv,e),kn(dl,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?JU(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=JU(t),e=j7(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}aa(dl),kn(dl,e)}function x0(){aa(dl),aa(Zv),aa(Yc)}function QR(e){e.memoizedState!==null&&kn(Qx,e);var t=dl.current,n=j7(t,e.type);t!==n&&(kn(Zv,e),kn(dl,n))}function $x(e){Zv.current===e&&(aa(dl),aa(Zv)),Qx.current===e&&(aa(Qx),oy._currentValue=Hd)}var dR,XP;function Ld(e){if(dR===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);dR=t&&t[1]||"",XP=-1<n.stack.indexOf(`
|
|
18
|
+
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
19
|
+
`+dR+e+XP}var hR=!1;function pR(e,t){if(!e||hR)return"";hR=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var y=function(){throw Error()};if(Object.defineProperty(y.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(y,[])}catch(b){var g=b}Reflect.construct(e,[],y)}else{try{y.call()}catch(b){g=b}e.call(y.prototype)}}else{try{throw Error()}catch(b){g=b}(y=e())&&typeof y.catch=="function"&&y.catch(function(){})}}catch(b){if(b&&g&&typeof b.stack=="string")return[b.stack,g.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var s=i.DetermineComponentFrameRoot(),l=s[0],c=s[1];if(l&&c){var d=l.split(`
|
|
20
|
+
`),h=c.split(`
|
|
21
|
+
`);for(r=i=0;i<d.length&&!d[i].includes("DetermineComponentFrameRoot");)i++;for(;r<h.length&&!h[r].includes("DetermineComponentFrameRoot");)r++;if(i===d.length||r===h.length)for(i=d.length-1,r=h.length-1;1<=i&&0<=r&&d[i]!==h[r];)r--;for(;1<=i&&0<=r;i--,r--)if(d[i]!==h[r]){if(i!==1||r!==1)do if(i--,r--,0>r||d[i]!==h[r]){var p=`
|
|
22
|
+
`+d[i].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),p}while(1<=i&&0<=r);break}}}finally{hR=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?Ld(n):""}function GZ(e,t){switch(e.tag){case 26:case 27:case 5:return Ld(e.type);case 16:return Ld("Lazy");case 13:return e.child!==t&&t!==null?Ld("Suspense Fallback"):Ld("Suspense");case 19:return Ld("SuspenseList");case 0:case 15:return pR(e.type,!1);case 11:return pR(e.type.render,!1);case 1:return pR(e.type,!0);case 31:return Ld("Activity");default:return""}}function YP(e){try{var t="",n=null;do t+=GZ(e,n),n=e,e=e.return;while(e);return t}catch(i){return`
|
|
23
|
+
Error generating stack: `+i.message+`
|
|
24
|
+
`+i.stack}}var JR=Object.prototype.hasOwnProperty,qO=Ii.unstable_scheduleCallback,mR=Ii.unstable_cancelCallback,IZ=Ii.unstable_shouldYield,XZ=Ii.unstable_requestPaint,no=Ii.unstable_now,YZ=Ii.unstable_getCurrentPriorityLevel,AB=Ii.unstable_ImmediatePriority,wB=Ii.unstable_UserBlockingPriority,tA=Ii.unstable_NormalPriority,KZ=Ii.unstable_LowPriority,EB=Ii.unstable_IdlePriority,ZZ=Ii.log,WZ=Ii.unstable_setDisableYieldValue,cy=null,io=null;function qc(e){if(typeof ZZ=="function"&&WZ(e),io&&typeof io.setStrictMode=="function")try{io.setStrictMode(cy,e)}catch{}}var ao=Math.clz32?Math.clz32:$Z,QZ=Math.log,JZ=Math.LN2;function $Z(e){return e>>>=0,e===0?32:31-(QZ(e)/JZ|0)|0}var bx=256,Sx=262144,xx=4194304;function Pd(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function CA(e,t,n){var i=e.pendingLanes;if(i===0)return 0;var r=0,s=e.suspendedLanes,l=e.pingedLanes;e=e.warmLanes;var c=i&134217727;return c!==0?(i=c&~s,i!==0?r=Pd(i):(l&=c,l!==0?r=Pd(l):n||(n=c&~e,n!==0&&(r=Pd(n))))):(c=i&~s,c!==0?r=Pd(c):l!==0?r=Pd(l):n||(n=i&~e,n!==0&&(r=Pd(n)))),r===0?0:t!==0&&t!==r&&(t&s)===0&&(s=r&-r,n=t&-t,s>=n||s===32&&(n&4194048)!==0)?t:r}function fy(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function tW(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function TB(){var e=xx;return xx<<=1,(xx&62914560)===0&&(xx=4194304),e}function gR(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function dy(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eW(e,t,n,i,r,s){var l=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var c=e.entanglements,d=e.expirationTimes,h=e.hiddenUpdates;for(n=l&~n;0<n;){var p=31-ao(n),y=1<<p;c[p]=0,d[p]=-1;var g=h[p];if(g!==null)for(h[p]=null,p=0;p<g.length;p++){var b=g[p];b!==null&&(b.lane&=-536870913)}n&=~y}i!==0&&CB(e,i,0),s!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=s&~(l&~t))}function CB(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-ao(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|n&261930}function DB(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-ao(n),r=1<<i;r&t|e[i]&t&&(e[i]|=t),n&=~r}}function RB(e,t){var n=t&-t;return n=(n&42)!==0?1:VO(n),(n&(e.suspendedLanes|t))!==0?0:n}function VO(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function GO(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function OB(){var e=cn.p;return e!==0?e:(e=window.event,e===void 0?32:J7(e.type))}function KP(e,t){var n=cn.p;try{return cn.p=e,t()}finally{cn.p=n}}var sf=Math.random().toString(36).slice(2),va="__reactFiber$"+sf,wr="__reactProps$"+sf,F0="__reactContainer$"+sf,$R="__reactEvents$"+sf,nW="__reactListeners$"+sf,iW="__reactHandles$"+sf,ZP="__reactResources$"+sf,hy="__reactMarker$"+sf;function IO(e){delete e[va],delete e[wr],delete e[$R],delete e[nW],delete e[iW]}function a0(e){var t=e[va];if(t)return t;for(var n=e.parentNode;n;){if(t=n[F0]||n[va]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=iB(e);e!==null;){if(n=e[va])return n;e=iB(e)}return t}e=n,n=e.parentNode}return null}function N0(e){if(e=e[va]||e[F0]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Nv(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(gt(33))}function p0(e){var t=e[ZP];return t||(t=e[ZP]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ia(e){e[hy]=!0}var MB=new Set,_B={};function Wd(e,t){A0(e,t),A0(e+"Capture",t)}function A0(e,t){for(_B[e]=t,e=0;e<t.length;e++)MB.add(t[e])}var aW=RegExp("^[: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]*$"),WP={},QP={};function rW(e){return JR.call(QP,e)?!0:JR.call(WP,e)?!1:aW.test(e)?QP[e]=!0:(WP[e]=!0,!1)}function Lx(e,t,n){if(rW(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+n)}}function Ax(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+n)}}function su(e,t,n,i){if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,""+i)}}function zo(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function FB(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function oW(e,t,n){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var r=i.get,s=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(l){n=""+l,s.call(this,l)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(l){n=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function tO(e){if(!e._valueTracker){var t=FB(e)?"checked":"value";e._valueTracker=oW(e,t,""+e[t])}}function NB(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=FB(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function eA(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}}var sW=/[\n"\\]/g;function Po(e){return e.replace(sW,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function eO(e,t,n,i,r,s,l,c){e.name="",l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"?e.type=l:e.removeAttribute("type"),t!=null?l==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+zo(t)):e.value!==""+zo(t)&&(e.value=""+zo(t)):l!=="submit"&&l!=="reset"||e.removeAttribute("value"),t!=null?nO(e,l,zo(t)):n!=null?nO(e,l,zo(n)):i!=null&&e.removeAttribute("value"),r==null&&s!=null&&(e.defaultChecked=!!s),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.name=""+zo(c):e.removeAttribute("name")}function zB(e,t,n,i,r,s,l,c){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(e.type=s),t!=null||n!=null){if(!(s!=="submit"&&s!=="reset"||t!=null)){tO(e);return}n=n!=null?""+zo(n):"",t=t!=null?""+zo(t):n,c||t===e.value||(e.value=t),e.defaultValue=t}i=i??r,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=c?e.checked:!!i,e.defaultChecked=!!i,l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"&&(e.name=l),tO(e)}function nO(e,t,n){t==="number"&&eA(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function m0(e,t,n,i){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&i&&(e[n].defaultSelected=!0)}else{for(n=""+zo(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,i&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function kB(e,t,n){if(t!=null&&(t=""+zo(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+zo(n):""}function LB(e,t,n,i){if(t==null){if(i!=null){if(n!=null)throw Error(gt(92));if(Fv(i)){if(1<i.length)throw Error(gt(93));i=i[0]}n=i}n==null&&(n=""),t=n}n=zo(t),e.defaultValue=n,i=e.textContent,i===n&&i!==""&&i!==null&&(e.value=i),tO(e)}function w0(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var lW=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function JP(e,t,n){var i=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,n):typeof n!="number"||n===0||lW.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function PB(e,t,n){if(t!=null&&typeof t!="object")throw Error(gt(62));if(e=e.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="");for(var r in t)i=t[r],t.hasOwnProperty(r)&&n[r]!==i&&JP(e,r,i)}else for(var s in t)t.hasOwnProperty(s)&&JP(e,s,t[s])}function XO(e){if(e.indexOf("-")===-1)return!1;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 uW=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),cW=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Px(e){return cW.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function mu(){}var iO=null;function YO(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var r0=null,g0=null;function $P(e){var t=N0(e);if(t&&(e=t.stateNode)){var n=e[wr]||null;t:switch(e=t.stateNode,t.type){case"input":if(eO(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+Po(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var r=i[wr]||null;if(!r)throw Error(gt(90));eO(i,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)i=n[t],i.form===e.form&&NB(i)}break t;case"textarea":kB(e,n.value,n.defaultValue);break t;case"select":t=n.value,t!=null&&m0(e,!!n.multiple,t,!1)}}}var vR=!1;function UB(e,t,n){if(vR)return e(t,n);vR=!0;try{var i=e(t);return i}finally{if(vR=!1,(r0!==null||g0!==null)&&(UA(),r0&&(t=r0,e=g0,g0=r0=null,$P(t),e)))for(t=0;t<e.length;t++)$P(e[t])}}function Wv(e,t){var n=e.stateNode;if(n===null)return null;var i=n[wr]||null;if(i===null)return null;n=i[t];t:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break t;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(gt(231,t,typeof n));return n}var Su=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),aO=!1;if(Su)try{Qp={},Object.defineProperty(Qp,"passive",{get:function(){aO=!0}}),window.addEventListener("test",Qp,Qp),window.removeEventListener("test",Qp,Qp)}catch{aO=!1}var Qp,Vc=null,KO=null,Ux=null;function BB(){if(Ux)return Ux;var e,t=KO,n=t.length,i,r="value"in Vc?Vc.value:Vc.textContent,s=r.length;for(e=0;e<n&&t[e]===r[e];e++);var l=n-e;for(i=1;i<=l&&t[n-i]===r[s-i];i++);return Ux=r.slice(e,1<i?1-i:void 0)}function Bx(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 wx(){return!0}function tU(){return!1}function Er(e){function t(n,i,r,s,l){this._reactName=n,this._targetInst=r,this.type=i,this.nativeEvent=s,this.target=l,this.currentTarget=null;for(var c in e)e.hasOwnProperty(c)&&(n=e[c],this[c]=n?n(s):s[c]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?wx:tU,this.isPropagationStopped=tU,this}return Vn(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=wx)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=wx)},persist:function(){},isPersistent:wx}),t}var Qd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},DA=Er(Qd),py=Vn({},Qd,{view:0,detail:0}),fW=Er(py),yR,bR,Tv,RA=Vn({},py,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ZO,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!==Tv&&(Tv&&e.type==="mousemove"?(yR=e.screenX-Tv.screenX,bR=e.screenY-Tv.screenY):bR=yR=0,Tv=e),yR)},movementY:function(e){return"movementY"in e?e.movementY:bR}}),eU=Er(RA),dW=Vn({},RA,{dataTransfer:0}),hW=Er(dW),pW=Vn({},py,{relatedTarget:0}),SR=Er(pW),mW=Vn({},Qd,{animationName:0,elapsedTime:0,pseudoElement:0}),gW=Er(mW),vW=Vn({},Qd,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yW=Er(vW),bW=Vn({},Qd,{data:0}),nU=Er(bW),SW={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xW={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"},AW={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function wW(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=AW[e])?!!t[e]:!1}function ZO(){return wW}var EW=Vn({},py,{key:function(e){if(e.key){var t=SW[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Bx(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?xW[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ZO,charCode:function(e){return e.type==="keypress"?Bx(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Bx(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),TW=Er(EW),CW=Vn({},RA,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),iU=Er(CW),DW=Vn({},py,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ZO}),RW=Er(DW),OW=Vn({},Qd,{propertyName:0,elapsedTime:0,pseudoElement:0}),MW=Er(OW),_W=Vn({},RA,{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}),FW=Er(_W),NW=Vn({},Qd,{newState:0,oldState:0}),zW=Er(NW),kW=[9,13,27,32],WO=Su&&"CompositionEvent"in window,Lv=null;Su&&"documentMode"in document&&(Lv=document.documentMode);var LW=Su&&"TextEvent"in window&&!Lv,HB=Su&&(!WO||Lv&&8<Lv&&11>=Lv),aU=" ",rU=!1;function jB(e,t){switch(e){case"keyup":return kW.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qB(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var o0=!1;function PW(e,t){switch(e){case"compositionend":return qB(t);case"keypress":return t.which!==32?null:(rU=!0,aU);case"textInput":return e=t.data,e===aU&&rU?null:e;default:return null}}function UW(e,t){if(o0)return e==="compositionend"||!WO&&jB(e,t)?(e=BB(),Ux=KO=Vc=null,o0=!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 HB&&t.locale!=="ko"?null:t.data;default:return null}}var BW={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 oU(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!BW[e.type]:t==="textarea"}function VB(e,t,n,i){r0?g0?g0.push(i):g0=[i]:r0=i,t=bA(t,"onChange"),0<t.length&&(n=new DA("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var Pv=null,Qv=null;function HW(e){U7(e,0)}function OA(e){var t=Nv(e);if(NB(t))return e}function sU(e,t){if(e==="change")return t}var GB=!1;Su&&(Su?(Tx="oninput"in document,Tx||(xR=document.createElement("div"),xR.setAttribute("oninput","return;"),Tx=typeof xR.oninput=="function"),Ex=Tx):Ex=!1,GB=Ex&&(!document.documentMode||9<document.documentMode));var Ex,Tx,xR;function lU(){Pv&&(Pv.detachEvent("onpropertychange",IB),Qv=Pv=null)}function IB(e){if(e.propertyName==="value"&&OA(Qv)){var t=[];VB(t,Qv,e,YO(e)),UB(HW,t)}}function jW(e,t,n){e==="focusin"?(lU(),Pv=t,Qv=n,Pv.attachEvent("onpropertychange",IB)):e==="focusout"&&lU()}function qW(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return OA(Qv)}function VW(e,t){if(e==="click")return OA(t)}function GW(e,t){if(e==="input"||e==="change")return OA(t)}function IW(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var oo=typeof Object.is=="function"?Object.is:IW;function Jv(e,t){if(oo(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var r=n[i];if(!JR.call(t,r)||!oo(e[r],t[r]))return!1}return!0}function uU(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cU(e,t){var n=uU(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=t&&i>=t)return{node:n,offset:t-e};e=i}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=uU(n)}}function XB(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?XB(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function YB(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=eA(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=eA(e.document)}return t}function QO(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")}var XW=Su&&"documentMode"in document&&11>=document.documentMode,s0=null,rO=null,Uv=null,oO=!1;function fU(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;oO||s0==null||s0!==eA(i)||(i=s0,"selectionStart"in i&&QO(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Uv&&Jv(Uv,i)||(Uv=i,i=bA(rO,"onSelect"),0<i.length&&(t=new DA("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=s0)))}function kd(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var l0={animationend:kd("Animation","AnimationEnd"),animationiteration:kd("Animation","AnimationIteration"),animationstart:kd("Animation","AnimationStart"),transitionrun:kd("Transition","TransitionRun"),transitionstart:kd("Transition","TransitionStart"),transitioncancel:kd("Transition","TransitionCancel"),transitionend:kd("Transition","TransitionEnd")},AR={},KB={};Su&&(KB=document.createElement("div").style,"AnimationEvent"in window||(delete l0.animationend.animation,delete l0.animationiteration.animation,delete l0.animationstart.animation),"TransitionEvent"in window||delete l0.transitionend.transition);function Jd(e){if(AR[e])return AR[e];if(!l0[e])return e;var t=l0[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in KB)return AR[e]=t[n];return e}var ZB=Jd("animationend"),WB=Jd("animationiteration"),QB=Jd("animationstart"),YW=Jd("transitionrun"),KW=Jd("transitionstart"),ZW=Jd("transitioncancel"),JB=Jd("transitionend"),$B=new Map,sO="abort auxClick beforeToggle 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(" ");sO.push("scrollEnd");function Ss(e,t){$B.set(e,t),Wd(t,[e])}var nA=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},No=[],u0=0,JO=0;function MA(){for(var e=u0,t=JO=u0=0;t<e;){var n=No[t];No[t++]=null;var i=No[t];No[t++]=null;var r=No[t];No[t++]=null;var s=No[t];if(No[t++]=null,i!==null&&r!==null){var l=i.pending;l===null?r.next=r:(r.next=l.next,l.next=r),i.pending=r}s!==0&&tH(n,r,s)}}function _A(e,t,n,i){No[u0++]=e,No[u0++]=t,No[u0++]=n,No[u0++]=i,JO|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function $O(e,t,n,i){return _A(e,t,n,i),iA(e)}function $d(e,t){return _A(e,null,null,t),iA(e)}function tH(e,t,n){e.lanes|=n;var i=e.alternate;i!==null&&(i.lanes|=n);for(var r=!1,s=e.return;s!==null;)s.childLanes|=n,i=s.alternate,i!==null&&(i.childLanes|=n),s.tag===22&&(e=s.stateNode,e===null||e._visibility&1||(r=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,r&&t!==null&&(r=31-ao(n),e=s.hiddenUpdates,i=e[r],i===null?e[r]=[t]:i.push(t),t.lane=n|536870912),s):null}function iA(e){if(50<Yv)throw Yv=0,RO=null,Error(gt(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var c0={};function WW(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function to(e,t,n,i){return new WW(e,t,n,i)}function tM(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vu(e,t){var n=e.alternate;return n===null?(n=to(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function eH(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Hx(e,t,n,i,r,s){var l=0;if(i=e,typeof e=="function")tM(e)&&(l=1);else if(typeof e=="string")l=$Q(e,n,dl.current)?26:e==="html"||e==="head"||e==="body"?27:5;else t:switch(e){case KR:return e=to(31,n,t,r),e.elementType=KR,e.lanes=s,e;case n0:return jd(n.children,r,s,t);case SB:l=8,r|=24;break;case IR:return e=to(12,n,t,r|2),e.elementType=IR,e.lanes=s,e;case XR:return e=to(13,n,t,r),e.elementType=XR,e.lanes=s,e;case YR:return e=to(19,n,t,r),e.elementType=YR,e.lanes=s,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case pu:l=10;break t;case xB:l=9;break t;case HO:l=11;break t;case jO:l=14;break t;case Lc:l=16,i=null;break t}l=29,n=Error(gt(130,e===null?"null":typeof e,"")),i=null}return t=to(l,n,t,r),t.elementType=e,t.type=i,t.lanes=s,t}function jd(e,t,n,i){return e=to(7,e,i,t),e.lanes=n,e}function wR(e,t,n){return e=to(6,e,null,t),e.lanes=n,e}function nH(e){var t=to(18,null,null,0);return t.stateNode=e,t}function ER(e,t,n){return t=to(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var dU=new WeakMap;function Uo(e,t){if(typeof e=="object"&&e!==null){var n=dU.get(e);return n!==void 0?n:(t={value:e,source:t,stack:YP(t)},dU.set(e,t),t)}return{value:e,source:t,stack:YP(t)}}var f0=[],d0=0,aA=null,$v=0,ko=[],Lo=0,nf=null,ul=1,cl="";function du(e,t){f0[d0++]=$v,f0[d0++]=aA,aA=e,$v=t}function iH(e,t,n){ko[Lo++]=ul,ko[Lo++]=cl,ko[Lo++]=nf,nf=e;var i=ul;e=cl;var r=32-ao(i)-1;i&=~(1<<r),n+=1;var s=32-ao(t)+r;if(30<s){var l=r-r%5;s=(i&(1<<l)-1).toString(32),i>>=l,r-=l,ul=1<<32-ao(t)+r|n<<r|i,cl=s+e}else ul=1<<s|n<<r|i,cl=e}function eM(e){e.return!==null&&(du(e,1),iH(e,1,0))}function nM(e){for(;e===aA;)aA=f0[--d0],f0[d0]=null,$v=f0[--d0],f0[d0]=null;for(;e===nf;)nf=ko[--Lo],ko[Lo]=null,cl=ko[--Lo],ko[Lo]=null,ul=ko[--Lo],ko[Lo]=null}function aH(e,t){ko[Lo++]=ul,ko[Lo++]=cl,ko[Lo++]=nf,ul=t.id,cl=t.overflow,nf=e}var ya=null,qn=null,Je=!1,Kc=null,Bo=!1,lO=Error(gt(519));function af(e){var t=Error(gt(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ty(Uo(t,e)),lO}function hU(e){var t=e.stateNode,n=e.type,i=e.memoizedProps;switch(t[va]=e,t[wr]=i,n){case"dialog":Ie("cancel",t),Ie("close",t);break;case"iframe":case"object":case"embed":Ie("load",t);break;case"video":case"audio":for(n=0;n<ay.length;n++)Ie(ay[n],t);break;case"source":Ie("error",t);break;case"img":case"image":case"link":Ie("error",t),Ie("load",t);break;case"details":Ie("toggle",t);break;case"input":Ie("invalid",t),zB(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":Ie("invalid",t);break;case"textarea":Ie("invalid",t),LB(t,i.value,i.defaultValue,i.children)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||i.suppressHydrationWarning===!0||H7(t.textContent,n)?(i.popover!=null&&(Ie("beforetoggle",t),Ie("toggle",t)),i.onScroll!=null&&Ie("scroll",t),i.onScrollEnd!=null&&Ie("scrollend",t),i.onClick!=null&&(t.onclick=mu),t=!0):t=!1,t||af(e,!0)}function pU(e){for(ya=e.return;ya;)switch(ya.tag){case 5:case 31:case 13:Bo=!1;return;case 27:case 3:Bo=!0;return;default:ya=ya.return}}function Jp(e){if(e!==ya)return!1;if(!Je)return pU(e),Je=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||NO(e.type,e.memoizedProps)),n=!n),n&&qn&&af(e),pU(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(gt(317));qn=nB(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(gt(317));qn=nB(e)}else t===27?(t=qn,lf(e.type)?(e=PO,PO=null,qn=e):qn=t):qn=ya?jo(e.stateNode.nextSibling):null;return!0}function Id(){qn=ya=null,Je=!1}function TR(){var e=Kc;return e!==null&&(xr===null?xr=e:xr.push.apply(xr,e),Kc=null),e}function ty(e){Kc===null?Kc=[e]:Kc.push(e)}var uO=hl(null),th=null,gu=null;function Uc(e,t,n){kn(uO,t._currentValue),t._currentValue=n}function yu(e){e._currentValue=uO.current,aa(uO)}function cO(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function fO(e,t,n,i){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var s=r.dependencies;if(s!==null){var l=r.child;s=s.firstContext;t:for(;s!==null;){var c=s;s=r;for(var d=0;d<t.length;d++)if(c.context===t[d]){s.lanes|=n,c=s.alternate,c!==null&&(c.lanes|=n),cO(s.return,n,e),i||(l=null);break t}s=c.next}}else if(r.tag===18){if(l=r.return,l===null)throw Error(gt(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),cO(l,n,e),l=null}else l=r.child;if(l!==null)l.return=r;else for(l=r;l!==null;){if(l===e){l=null;break}if(r=l.sibling,r!==null){r.return=l.return,l=r;break}l=l.return}r=l}}function z0(e,t,n,i){e=null;for(var r=t,s=!1;r!==null;){if(!s){if((r.flags&524288)!==0)s=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var l=r.alternate;if(l===null)throw Error(gt(387));if(l=l.memoizedProps,l!==null){var c=r.type;oo(r.pendingProps.value,l.value)||(e!==null?e.push(c):e=[c])}}else if(r===Qx.current){if(l=r.alternate,l===null)throw Error(gt(387));l.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(oy):e=[oy])}r=r.return}e!==null&&fO(t,e,n,i),t.flags|=262144}function rA(e){for(e=e.firstContext;e!==null;){if(!oo(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Xd(e){th=e,gu=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function ba(e){return rH(th,e)}function Cx(e,t){return th===null&&Xd(e),rH(e,t)}function rH(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},gu===null){if(e===null)throw Error(gt(308));gu=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else gu=gu.next=t;return n}var QW=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},JW=Ii.unstable_scheduleCallback,$W=Ii.unstable_NormalPriority,Fi={$$typeof:pu,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function iM(){return{controller:new QW,data:new Map,refCount:0}}function my(e){e.refCount--,e.refCount===0&&JW($W,function(){e.controller.abort()})}var Bv=null,dO=0,E0=0,v0=null;function tQ(e,t){if(Bv===null){var n=Bv=[];dO=0,E0=RM(),v0={status:"pending",value:void 0,then:function(i){n.push(i)}}}return dO++,t.then(mU,mU),t}function mU(){if(--dO===0&&Bv!==null){v0!==null&&(v0.status="fulfilled");var e=Bv;Bv=null,E0=0,v0=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function eQ(e,t){var n=[],i={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(i.status="rejected",i.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),i}var gU=he.S;he.S=function(e,t){b7=no(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&tQ(e,t),gU!==null&&gU(e,t)};var qd=hl(null);function aM(){var e=qd.current;return e!==null?e:On.pooledCache}function jx(e,t){t===null?kn(qd,qd.current):kn(qd,t.pool)}function oH(){var e=aM();return e===null?null:{parent:Fi._currentValue,pool:e}}var k0=Error(gt(460)),rM=Error(gt(474)),FA=Error(gt(542)),oA={then:function(){}};function vU(e){return e=e.status,e==="fulfilled"||e==="rejected"}function sH(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(mu,mu),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,bU(e),e;default:if(typeof t.status=="string")t.then(mu,mu);else{if(e=On,e!==null&&100<e.shellSuspendCounter)throw Error(gt(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=i}},function(i){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,bU(e),e}throw Vd=t,k0}}function Ud(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(Vd=n,k0):n}}var Vd=null;function yU(){if(Vd===null)throw Error(gt(459));var e=Vd;return Vd=null,e}function bU(e){if(e===k0||e===FA)throw Error(gt(483))}var y0=null,ey=0;function Dx(e){var t=ey;return ey+=1,y0===null&&(y0=[]),sH(y0,e,t)}function Cv(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Rx(e,t){throw t.$$typeof===jZ?Error(gt(525)):(e=Object.prototype.toString.call(t),Error(gt(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function lH(e){function t(A,T){if(e){var C=A.deletions;C===null?(A.deletions=[T],A.flags|=16):C.push(T)}}function n(A,T){if(!e)return null;for(;T!==null;)t(A,T),T=T.sibling;return null}function i(A){for(var T=new Map;A!==null;)A.key!==null?T.set(A.key,A):T.set(A.index,A),A=A.sibling;return T}function r(A,T){return A=vu(A,T),A.index=0,A.sibling=null,A}function s(A,T,C){return A.index=C,e?(C=A.alternate,C!==null?(C=C.index,C<T?(A.flags|=67108866,T):C):(A.flags|=67108866,T)):(A.flags|=1048576,T)}function l(A){return e&&A.alternate===null&&(A.flags|=67108866),A}function c(A,T,C,O){return T===null||T.tag!==6?(T=wR(C,A.mode,O),T.return=A,T):(T=r(T,C),T.return=A,T)}function d(A,T,C,O){var M=C.type;return M===n0?p(A,T,C.props.children,O,C.key):T!==null&&(T.elementType===M||typeof M=="object"&&M!==null&&M.$$typeof===Lc&&Ud(M)===T.type)?(T=r(T,C.props),Cv(T,C),T.return=A,T):(T=Hx(C.type,C.key,C.props,null,A.mode,O),Cv(T,C),T.return=A,T)}function h(A,T,C,O){return T===null||T.tag!==4||T.stateNode.containerInfo!==C.containerInfo||T.stateNode.implementation!==C.implementation?(T=ER(C,A.mode,O),T.return=A,T):(T=r(T,C.children||[]),T.return=A,T)}function p(A,T,C,O,M){return T===null||T.tag!==7?(T=jd(C,A.mode,O,M),T.return=A,T):(T=r(T,C),T.return=A,T)}function y(A,T,C){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=wR(""+T,A.mode,C),T.return=A,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case yx:return C=Hx(T.type,T.key,T.props,null,A.mode,C),Cv(C,T),C.return=A,C;case _v:return T=ER(T,A.mode,C),T.return=A,T;case Lc:return T=Ud(T),y(A,T,C)}if(Fv(T)||Ev(T))return T=jd(T,A.mode,C,null),T.return=A,T;if(typeof T.then=="function")return y(A,Dx(T),C);if(T.$$typeof===pu)return y(A,Cx(A,T),C);Rx(A,T)}return null}function g(A,T,C,O){var M=T!==null?T.key:null;if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return M!==null?null:c(A,T,""+C,O);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case yx:return C.key===M?d(A,T,C,O):null;case _v:return C.key===M?h(A,T,C,O):null;case Lc:return C=Ud(C),g(A,T,C,O)}if(Fv(C)||Ev(C))return M!==null?null:p(A,T,C,O,null);if(typeof C.then=="function")return g(A,T,Dx(C),O);if(C.$$typeof===pu)return g(A,T,Cx(A,C),O);Rx(A,C)}return null}function b(A,T,C,O,M){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return A=A.get(C)||null,c(T,A,""+O,M);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case yx:return A=A.get(O.key===null?C:O.key)||null,d(T,A,O,M);case _v:return A=A.get(O.key===null?C:O.key)||null,h(T,A,O,M);case Lc:return O=Ud(O),b(A,T,C,O,M)}if(Fv(O)||Ev(O))return A=A.get(C)||null,p(T,A,O,M,null);if(typeof O.then=="function")return b(A,T,C,Dx(O),M);if(O.$$typeof===pu)return b(A,T,C,Cx(T,O),M);Rx(T,O)}return null}function S(A,T,C,O){for(var M=null,k=null,z=T,P=T=0,U=null;z!==null&&P<C.length;P++){z.index>P?(U=z,z=null):U=z.sibling;var B=g(A,z,C[P],O);if(B===null){z===null&&(z=U);break}e&&z&&B.alternate===null&&t(A,z),T=s(B,T,P),k===null?M=B:k.sibling=B,k=B,z=U}if(P===C.length)return n(A,z),Je&&du(A,P),M;if(z===null){for(;P<C.length;P++)z=y(A,C[P],O),z!==null&&(T=s(z,T,P),k===null?M=z:k.sibling=z,k=z);return Je&&du(A,P),M}for(z=i(z);P<C.length;P++)U=b(z,A,P,C[P],O),U!==null&&(e&&U.alternate!==null&&z.delete(U.key===null?P:U.key),T=s(U,T,P),k===null?M=U:k.sibling=U,k=U);return e&&z.forEach(function(W){return t(A,W)}),Je&&du(A,P),M}function w(A,T,C,O){if(C==null)throw Error(gt(151));for(var M=null,k=null,z=T,P=T=0,U=null,B=C.next();z!==null&&!B.done;P++,B=C.next()){z.index>P?(U=z,z=null):U=z.sibling;var W=g(A,z,B.value,O);if(W===null){z===null&&(z=U);break}e&&z&&W.alternate===null&&t(A,z),T=s(W,T,P),k===null?M=W:k.sibling=W,k=W,z=U}if(B.done)return n(A,z),Je&&du(A,P),M;if(z===null){for(;!B.done;P++,B=C.next())B=y(A,B.value,O),B!==null&&(T=s(B,T,P),k===null?M=B:k.sibling=B,k=B);return Je&&du(A,P),M}for(z=i(z);!B.done;P++,B=C.next())B=b(z,A,P,B.value,O),B!==null&&(e&&B.alternate!==null&&z.delete(B.key===null?P:B.key),T=s(B,T,P),k===null?M=B:k.sibling=B,k=B);return e&&z.forEach(function(Y){return t(A,Y)}),Je&&du(A,P),M}function D(A,T,C,O){if(typeof C=="object"&&C!==null&&C.type===n0&&C.key===null&&(C=C.props.children),typeof C=="object"&&C!==null){switch(C.$$typeof){case yx:t:{for(var M=C.key;T!==null;){if(T.key===M){if(M=C.type,M===n0){if(T.tag===7){n(A,T.sibling),O=r(T,C.props.children),O.return=A,A=O;break t}}else if(T.elementType===M||typeof M=="object"&&M!==null&&M.$$typeof===Lc&&Ud(M)===T.type){n(A,T.sibling),O=r(T,C.props),Cv(O,C),O.return=A,A=O;break t}n(A,T);break}else t(A,T);T=T.sibling}C.type===n0?(O=jd(C.props.children,A.mode,O,C.key),O.return=A,A=O):(O=Hx(C.type,C.key,C.props,null,A.mode,O),Cv(O,C),O.return=A,A=O)}return l(A);case _v:t:{for(M=C.key;T!==null;){if(T.key===M)if(T.tag===4&&T.stateNode.containerInfo===C.containerInfo&&T.stateNode.implementation===C.implementation){n(A,T.sibling),O=r(T,C.children||[]),O.return=A,A=O;break t}else{n(A,T);break}else t(A,T);T=T.sibling}O=ER(C,A.mode,O),O.return=A,A=O}return l(A);case Lc:return C=Ud(C),D(A,T,C,O)}if(Fv(C))return S(A,T,C,O);if(Ev(C)){if(M=Ev(C),typeof M!="function")throw Error(gt(150));return C=M.call(C),w(A,T,C,O)}if(typeof C.then=="function")return D(A,T,Dx(C),O);if(C.$$typeof===pu)return D(A,T,Cx(A,C),O);Rx(A,C)}return typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint"?(C=""+C,T!==null&&T.tag===6?(n(A,T.sibling),O=r(T,C),O.return=A,A=O):(n(A,T),O=wR(C,A.mode,O),O.return=A,A=O),l(A)):n(A,T)}return function(A,T,C,O){try{ey=0;var M=D(A,T,C,O);return y0=null,M}catch(z){if(z===k0||z===FA)throw z;var k=to(29,z,null,A.mode);return k.lanes=O,k.return=A,k}}}var Yd=lH(!0),uH=lH(!1),Pc=!1;function oM(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function hO(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Zc(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Wc(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(un&2)!==0){var r=i.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),i.pending=t,t=iA(e),tH(e,null,n),t}return _A(e,i,t,n),iA(e)}function Hv(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,DB(e,n)}}function CR(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var r=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var l={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};s===null?r=s=l:s=s.next=l,n=n.next}while(n!==null);s===null?r=s=t:s=s.next=t}else r=s=t;n={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:s,shared:i.shared,callbacks:i.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var pO=!1;function jv(){if(pO){var e=v0;if(e!==null)throw e}}function qv(e,t,n,i){pO=!1;var r=e.updateQueue;Pc=!1;var s=r.firstBaseUpdate,l=r.lastBaseUpdate,c=r.shared.pending;if(c!==null){r.shared.pending=null;var d=c,h=d.next;d.next=null,l===null?s=h:l.next=h,l=d;var p=e.alternate;p!==null&&(p=p.updateQueue,c=p.lastBaseUpdate,c!==l&&(c===null?p.firstBaseUpdate=h:c.next=h,p.lastBaseUpdate=d))}if(s!==null){var y=r.baseState;l=0,p=h=d=null,c=s;do{var g=c.lane&-536870913,b=g!==c.lane;if(b?(Ke&g)===g:(i&g)===g){g!==0&&g===E0&&(pO=!0),p!==null&&(p=p.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});t:{var S=e,w=c;g=t;var D=n;switch(w.tag){case 1:if(S=w.payload,typeof S=="function"){y=S.call(D,y,g);break t}y=S;break t;case 3:S.flags=S.flags&-65537|128;case 0:if(S=w.payload,g=typeof S=="function"?S.call(D,y,g):S,g==null)break t;y=Vn({},y,g);break t;case 2:Pc=!0}}g=c.callback,g!==null&&(e.flags|=64,b&&(e.flags|=8192),b=r.callbacks,b===null?r.callbacks=[g]:b.push(g))}else b={lane:g,tag:c.tag,payload:c.payload,callback:c.callback,next:null},p===null?(h=p=b,d=y):p=p.next=b,l|=g;if(c=c.next,c===null){if(c=r.shared.pending,c===null)break;b=c,c=b.next,b.next=null,r.lastBaseUpdate=b,r.shared.pending=null}}while(!0);p===null&&(d=y),r.baseState=d,r.firstBaseUpdate=h,r.lastBaseUpdate=p,s===null&&(r.shared.lanes=0),of|=l,e.lanes=l,e.memoizedState=y}}function cH(e,t){if(typeof e!="function")throw Error(gt(191,e));e.call(t)}function fH(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)cH(n[e],t)}var T0=hl(null),sA=hl(0);function SU(e,t){e=Eu,kn(sA,e),kn(T0,t),Eu=e|t.baseLanes}function mO(){kn(sA,Eu),kn(T0,T0.current)}function sM(){Eu=sA.current,aa(T0),aa(sA)}var so=hl(null),Ho=null;function Bc(e){var t=e.alternate;kn(mi,mi.current&1),kn(so,e),Ho===null&&(t===null||T0.current!==null||t.memoizedState!==null)&&(Ho=e)}function gO(e){kn(mi,mi.current),kn(so,e),Ho===null&&(Ho=e)}function dH(e){e.tag===22?(kn(mi,mi.current),kn(so,e),Ho===null&&(Ho=e)):Hc(e)}function Hc(){kn(mi,mi.current),kn(so,so.current)}function $r(e){aa(so),Ho===e&&(Ho=null),aa(mi)}var mi=hl(0);function lA(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||kO(n)||LO(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)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 xu=0,_e=null,wn=null,Mi=null,uA=!1,b0=!1,Kd=!1,cA=0,ny=0,S0=null,nQ=0;function ui(){throw Error(gt(321))}function lM(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!oo(e[n],t[n]))return!1;return!0}function uM(e,t,n,i,r,s){return xu=s,_e=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,he.H=e===null||e.memoizedState===null?VH:SM,Kd=!1,s=n(i,r),Kd=!1,b0&&(s=pH(t,n,i,r)),hH(e),s}function hH(e){he.H=iy;var t=wn!==null&&wn.next!==null;if(xu=0,Mi=wn=_e=null,uA=!1,ny=0,S0=null,t)throw Error(gt(300));e===null||Ni||(e=e.dependencies,e!==null&&rA(e)&&(Ni=!0))}function pH(e,t,n,i){_e=e;var r=0;do{if(b0&&(S0=null),ny=0,b0=!1,25<=r)throw Error(gt(301));if(r+=1,Mi=wn=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}he.H=GH,s=t(n,i)}while(b0);return s}function iQ(){var e=he.H,t=e.useState()[0];return t=typeof t.then=="function"?gy(t):t,e=e.useState()[0],(wn!==null?wn.memoizedState:null)!==e&&(_e.flags|=1024),t}function cM(){var e=cA!==0;return cA=0,e}function fM(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function dM(e){if(uA){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}uA=!1}xu=0,Mi=wn=_e=null,b0=!1,ny=cA=0,S0=null}function ir(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Mi===null?_e.memoizedState=Mi=e:Mi=Mi.next=e,Mi}function gi(){if(wn===null){var e=_e.alternate;e=e!==null?e.memoizedState:null}else e=wn.next;var t=Mi===null?_e.memoizedState:Mi.next;if(t!==null)Mi=t,wn=e;else{if(e===null)throw _e.alternate===null?Error(gt(467)):Error(gt(310));wn=e,e={memoizedState:wn.memoizedState,baseState:wn.baseState,baseQueue:wn.baseQueue,queue:wn.queue,next:null},Mi===null?_e.memoizedState=Mi=e:Mi=Mi.next=e}return Mi}function NA(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gy(e){var t=ny;return ny+=1,S0===null&&(S0=[]),e=sH(S0,e,t),t=_e,(Mi===null?t.memoizedState:Mi.next)===null&&(t=t.alternate,he.H=t===null||t.memoizedState===null?VH:SM),e}function zA(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return gy(e);if(e.$$typeof===pu)return ba(e)}throw Error(gt(438,String(e)))}function hM(e){var t=null,n=_e.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var i=_e.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=NA(),_e.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),i=0;i<e;i++)n[i]=qZ;return t.index++,n}function Au(e,t){return typeof t=="function"?t(e):t}function qx(e){var t=gi();return pM(t,wn,e)}function pM(e,t,n){var i=e.queue;if(i===null)throw Error(gt(311));i.lastRenderedReducer=n;var r=e.baseQueue,s=i.pending;if(s!==null){if(r!==null){var l=r.next;r.next=s.next,s.next=l}t.baseQueue=r=s,i.pending=null}if(s=e.baseState,r===null)e.memoizedState=s;else{t=r.next;var c=l=null,d=null,h=t,p=!1;do{var y=h.lane&-536870913;if(y!==h.lane?(Ke&y)===y:(xu&y)===y){var g=h.revertLane;if(g===0)d!==null&&(d=d.next={lane:0,revertLane:0,gesture:null,action:h.action,hasEagerState:h.hasEagerState,eagerState:h.eagerState,next:null}),y===E0&&(p=!0);else if((xu&g)===g){h=h.next,g===E0&&(p=!0);continue}else y={lane:0,revertLane:h.revertLane,gesture:null,action:h.action,hasEagerState:h.hasEagerState,eagerState:h.eagerState,next:null},d===null?(c=d=y,l=s):d=d.next=y,_e.lanes|=g,of|=g;y=h.action,Kd&&n(s,y),s=h.hasEagerState?h.eagerState:n(s,y)}else g={lane:y,revertLane:h.revertLane,gesture:h.gesture,action:h.action,hasEagerState:h.hasEagerState,eagerState:h.eagerState,next:null},d===null?(c=d=g,l=s):d=d.next=g,_e.lanes|=y,of|=y;h=h.next}while(h!==null&&h!==t);if(d===null?l=s:d.next=c,!oo(s,e.memoizedState)&&(Ni=!0,p&&(n=v0,n!==null)))throw n;e.memoizedState=s,e.baseState=l,e.baseQueue=d,i.lastRenderedState=s}return r===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function DR(e){var t=gi(),n=t.queue;if(n===null)throw Error(gt(311));n.lastRenderedReducer=e;var i=n.dispatch,r=n.pending,s=t.memoizedState;if(r!==null){n.pending=null;var l=r=r.next;do s=e(s,l.action),l=l.next;while(l!==r);oo(s,t.memoizedState)||(Ni=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,i]}function mH(e,t,n){var i=_e,r=gi(),s=Je;if(s){if(n===void 0)throw Error(gt(407));n=n()}else n=t();var l=!oo((wn||r).memoizedState,n);if(l&&(r.memoizedState=n,Ni=!0),r=r.queue,mM(yH.bind(null,i,r,e),[e]),r.getSnapshot!==t||l||Mi!==null&&Mi.memoizedState.tag&1){if(i.flags|=2048,C0(9,{destroy:void 0},vH.bind(null,i,r,n,t),null),On===null)throw Error(gt(349));s||(xu&127)!==0||gH(i,t,n)}return n}function gH(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=_e.updateQueue,t===null?(t=NA(),_e.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function vH(e,t,n,i){t.value=n,t.getSnapshot=i,bH(t)&&SH(e)}function yH(e,t,n){return n(function(){bH(t)&&SH(e)})}function bH(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!oo(e,n)}catch{return!0}}function SH(e){var t=$d(e,2);t!==null&&Ar(t,e,2)}function vO(e){var t=ir();if(typeof e=="function"){var n=e;if(e=n(),Kd){qc(!0);try{n()}finally{qc(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Au,lastRenderedState:e},t}function xH(e,t,n,i){return e.baseState=n,pM(e,wn,typeof i=="function"?i:Au)}function aQ(e,t,n,i,r){if(LA(e))throw Error(gt(485));if(e=t.action,e!==null){var s={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(l){s.listeners.push(l)}};he.T!==null?n(!0):s.isTransition=!1,i(s),n=t.pending,n===null?(s.next=t.pending=s,AH(t,s)):(s.next=n.next,t.pending=n.next=s)}}function AH(e,t){var n=t.action,i=t.payload,r=e.state;if(t.isTransition){var s=he.T,l={};he.T=l;try{var c=n(r,i),d=he.S;d!==null&&d(l,c),xU(e,t,c)}catch(h){yO(e,t,h)}finally{s!==null&&l.types!==null&&(s.types=l.types),he.T=s}}else try{s=n(r,i),xU(e,t,s)}catch(h){yO(e,t,h)}}function xU(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){AU(e,t,i)},function(i){return yO(e,t,i)}):AU(e,t,n)}function AU(e,t,n){t.status="fulfilled",t.value=n,wH(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,AH(e,n)))}function yO(e,t,n){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=n,wH(t),t=t.next;while(t!==i)}e.action=null}function wH(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function EH(e,t){return t}function wU(e,t){if(Je){var n=On.formState;if(n!==null){t:{var i=_e;if(Je){if(qn){e:{for(var r=qn,s=Bo;r.nodeType!==8;){if(!s){r=null;break e}if(r=jo(r.nextSibling),r===null){r=null;break e}}s=r.data,r=s==="F!"||s==="F"?r:null}if(r){qn=jo(r.nextSibling),i=r.data==="F!";break t}}af(i)}i=!1}i&&(t=n[0])}}return n=ir(),n.memoizedState=n.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:EH,lastRenderedState:t},n.queue=i,n=HH.bind(null,_e,i),i.dispatch=n,i=vO(!1),s=bM.bind(null,_e,!1,i.queue),i=ir(),r={state:t,dispatch:null,action:e,pending:null},i.queue=r,n=aQ.bind(null,_e,r,s,n),r.dispatch=n,i.memoizedState=e,[t,n,!1]}function EU(e){var t=gi();return TH(t,wn,e)}function TH(e,t,n){if(t=pM(e,t,EH)[0],e=qx(Au)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=gy(t)}catch(l){throw l===k0?FA:l}else i=t;t=gi();var r=t.queue,s=r.dispatch;return n!==t.memoizedState&&(_e.flags|=2048,C0(9,{destroy:void 0},rQ.bind(null,r,n),null)),[i,s,e]}function rQ(e,t){e.action=t}function TU(e){var t=gi(),n=wn;if(n!==null)return TH(t,n,e);gi(),t=t.memoizedState,n=gi();var i=n.queue.dispatch;return n.memoizedState=e,[t,i,!1]}function C0(e,t,n,i){return e={tag:e,create:n,deps:i,inst:t,next:null},t=_e.updateQueue,t===null&&(t=NA(),_e.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e),e}function CH(){return gi().memoizedState}function Vx(e,t,n,i){var r=ir();_e.flags|=e,r.memoizedState=C0(1|t,{destroy:void 0},n,i===void 0?null:i)}function kA(e,t,n,i){var r=gi();i=i===void 0?null:i;var s=r.memoizedState.inst;wn!==null&&i!==null&&lM(i,wn.memoizedState.deps)?r.memoizedState=C0(t,s,n,i):(_e.flags|=e,r.memoizedState=C0(1|t,s,n,i))}function CU(e,t){Vx(8390656,8,e,t)}function mM(e,t){kA(2048,8,e,t)}function oQ(e){_e.flags|=4;var t=_e.updateQueue;if(t===null)t=NA(),_e.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function DH(e){var t=gi().memoizedState;return oQ({ref:t,nextImpl:e}),function(){if((un&2)!==0)throw Error(gt(440));return t.impl.apply(void 0,arguments)}}function RH(e,t){return kA(4,2,e,t)}function OH(e,t){return kA(4,4,e,t)}function MH(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function _H(e,t,n){n=n!=null?n.concat([e]):null,kA(4,4,MH.bind(null,t,e),n)}function gM(){}function FH(e,t){var n=gi();t=t===void 0?null:t;var i=n.memoizedState;return t!==null&&lM(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function NH(e,t){var n=gi();t=t===void 0?null:t;var i=n.memoizedState;if(t!==null&&lM(t,i[1]))return i[0];if(i=e(),Kd){qc(!0);try{e()}finally{qc(!1)}}return n.memoizedState=[i,t],i}function vM(e,t,n){return n===void 0||(xu&1073741824)!==0&&(Ke&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=x7(),_e.lanes|=e,of|=e,n)}function zH(e,t,n,i){return oo(n,t)?n:T0.current!==null?(e=vM(e,n,i),oo(e,t)||(Ni=!0),e):(xu&42)===0||(xu&1073741824)!==0&&(Ke&261930)===0?(Ni=!0,e.memoizedState=n):(e=x7(),_e.lanes|=e,of|=e,t)}function kH(e,t,n,i,r){var s=cn.p;cn.p=s!==0&&8>s?s:8;var l=he.T,c={};he.T=c,bM(e,!1,t,n);try{var d=r(),h=he.S;if(h!==null&&h(c,d),d!==null&&typeof d=="object"&&typeof d.then=="function"){var p=eQ(d,i);Vv(e,t,p,ro(e))}else Vv(e,t,i,ro(e))}catch(y){Vv(e,t,{then:function(){},status:"rejected",reason:y},ro())}finally{cn.p=s,l!==null&&c.types!==null&&(l.types=c.types),he.T=l}}function sQ(){}function bO(e,t,n,i){if(e.tag!==5)throw Error(gt(476));var r=LH(e).queue;kH(e,r,t,Hd,n===null?sQ:function(){return PH(e),n(i)})}function LH(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Hd,baseState:Hd,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Au,lastRenderedState:Hd},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Au,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function PH(e){var t=LH(e);t.next===null&&(t=e.alternate.memoizedState),Vv(e,t.next.queue,{},ro())}function yM(){return ba(oy)}function UH(){return gi().memoizedState}function BH(){return gi().memoizedState}function lQ(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=ro();e=Zc(n);var i=Wc(t,e,n);i!==null&&(Ar(i,t,n),Hv(i,t,n)),t={cache:iM()},e.payload=t;return}t=t.return}}function uQ(e,t,n){var i=ro();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},LA(e)?jH(t,n):(n=$O(e,t,n,i),n!==null&&(Ar(n,e,i),qH(n,t,i)))}function HH(e,t,n){var i=ro();Vv(e,t,n,i)}function Vv(e,t,n,i){var r={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(LA(e))jH(t,r);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var l=t.lastRenderedState,c=s(l,n);if(r.hasEagerState=!0,r.eagerState=c,oo(c,l))return _A(e,t,r,0),On===null&&MA(),!1}catch{}if(n=$O(e,t,r,i),n!==null)return Ar(n,e,i),qH(n,t,i),!0}return!1}function bM(e,t,n,i){if(i={lane:2,revertLane:RM(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},LA(e)){if(t)throw Error(gt(479))}else t=$O(e,n,i,2),t!==null&&Ar(t,e,2)}function LA(e){var t=e.alternate;return e===_e||t!==null&&t===_e}function jH(e,t){b0=uA=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function qH(e,t,n){if((n&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,DB(e,n)}}var iy={readContext:ba,use:zA,useCallback:ui,useContext:ui,useEffect:ui,useImperativeHandle:ui,useLayoutEffect:ui,useInsertionEffect:ui,useMemo:ui,useReducer:ui,useRef:ui,useState:ui,useDebugValue:ui,useDeferredValue:ui,useTransition:ui,useSyncExternalStore:ui,useId:ui,useHostTransitionStatus:ui,useFormState:ui,useActionState:ui,useOptimistic:ui,useMemoCache:ui,useCacheRefresh:ui};iy.useEffectEvent=ui;var VH={readContext:ba,use:zA,useCallback:function(e,t){return ir().memoizedState=[e,t===void 0?null:t],e},useContext:ba,useEffect:CU,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,Vx(4194308,4,MH.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vx(4194308,4,e,t)},useInsertionEffect:function(e,t){Vx(4,2,e,t)},useMemo:function(e,t){var n=ir();t=t===void 0?null:t;var i=e();if(Kd){qc(!0);try{e()}finally{qc(!1)}}return n.memoizedState=[i,t],i},useReducer:function(e,t,n){var i=ir();if(n!==void 0){var r=n(t);if(Kd){qc(!0);try{n(t)}finally{qc(!1)}}}else r=t;return i.memoizedState=i.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},i.queue=e,e=e.dispatch=uQ.bind(null,_e,e),[i.memoizedState,e]},useRef:function(e){var t=ir();return e={current:e},t.memoizedState=e},useState:function(e){e=vO(e);var t=e.queue,n=HH.bind(null,_e,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:gM,useDeferredValue:function(e,t){var n=ir();return vM(n,e,t)},useTransition:function(){var e=vO(!1);return e=kH.bind(null,_e,e.queue,!0,!1),ir().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=_e,r=ir();if(Je){if(n===void 0)throw Error(gt(407));n=n()}else{if(n=t(),On===null)throw Error(gt(349));(Ke&127)!==0||gH(i,t,n)}r.memoizedState=n;var s={value:n,getSnapshot:t};return r.queue=s,CU(yH.bind(null,i,s,e),[e]),i.flags|=2048,C0(9,{destroy:void 0},vH.bind(null,i,s,n,t),null),n},useId:function(){var e=ir(),t=On.identifierPrefix;if(Je){var n=cl,i=ul;n=(i&~(1<<32-ao(i)-1)).toString(32)+n,t="_"+t+"R_"+n,n=cA++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=nQ++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:yM,useFormState:wU,useActionState:wU,useOptimistic:function(e){var t=ir();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=bM.bind(null,_e,!0,n),n.dispatch=t,[e,t]},useMemoCache:hM,useCacheRefresh:function(){return ir().memoizedState=lQ.bind(null,_e)},useEffectEvent:function(e){var t=ir(),n={impl:e};return t.memoizedState=n,function(){if((un&2)!==0)throw Error(gt(440));return n.impl.apply(void 0,arguments)}}},SM={readContext:ba,use:zA,useCallback:FH,useContext:ba,useEffect:mM,useImperativeHandle:_H,useInsertionEffect:RH,useLayoutEffect:OH,useMemo:NH,useReducer:qx,useRef:CH,useState:function(){return qx(Au)},useDebugValue:gM,useDeferredValue:function(e,t){var n=gi();return zH(n,wn.memoizedState,e,t)},useTransition:function(){var e=qx(Au)[0],t=gi().memoizedState;return[typeof e=="boolean"?e:gy(e),t]},useSyncExternalStore:mH,useId:UH,useHostTransitionStatus:yM,useFormState:EU,useActionState:EU,useOptimistic:function(e,t){var n=gi();return xH(n,wn,e,t)},useMemoCache:hM,useCacheRefresh:BH};SM.useEffectEvent=DH;var GH={readContext:ba,use:zA,useCallback:FH,useContext:ba,useEffect:mM,useImperativeHandle:_H,useInsertionEffect:RH,useLayoutEffect:OH,useMemo:NH,useReducer:DR,useRef:CH,useState:function(){return DR(Au)},useDebugValue:gM,useDeferredValue:function(e,t){var n=gi();return wn===null?vM(n,e,t):zH(n,wn.memoizedState,e,t)},useTransition:function(){var e=DR(Au)[0],t=gi().memoizedState;return[typeof e=="boolean"?e:gy(e),t]},useSyncExternalStore:mH,useId:UH,useHostTransitionStatus:yM,useFormState:TU,useActionState:TU,useOptimistic:function(e,t){var n=gi();return wn!==null?xH(n,wn,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:hM,useCacheRefresh:BH};GH.useEffectEvent=DH;function RR(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:Vn({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var SO={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=ro(),r=Zc(i);r.payload=t,n!=null&&(r.callback=n),t=Wc(e,r,i),t!==null&&(Ar(t,e,i),Hv(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=ro(),r=Zc(i);r.tag=1,r.payload=t,n!=null&&(r.callback=n),t=Wc(e,r,i),t!==null&&(Ar(t,e,i),Hv(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ro(),i=Zc(n);i.tag=2,t!=null&&(i.callback=t),t=Wc(e,i,n),t!==null&&(Ar(t,e,n),Hv(t,e,n))}};function DU(e,t,n,i,r,s,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,s,l):t.prototype&&t.prototype.isPureReactComponent?!Jv(n,i)||!Jv(r,s):!0}function RU(e,t,n,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&SO.enqueueReplaceState(t,t.state,null)}function Zd(e,t){var n=t;if("ref"in t){n={};for(var i in t)i!=="ref"&&(n[i]=t[i])}if(e=e.defaultProps){n===t&&(n=Vn({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function IH(e){nA(e)}function XH(e){console.error(e)}function YH(e){nA(e)}function fA(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function OU(e,t,n){try{var i=e.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function xO(e,t,n){return n=Zc(n),n.tag=3,n.payload={element:null},n.callback=function(){fA(e,t)},n}function KH(e){return e=Zc(e),e.tag=3,e}function ZH(e,t,n,i){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var s=i.value;e.payload=function(){return r(s)},e.callback=function(){OU(t,n,i)}}var l=n.stateNode;l!==null&&typeof l.componentDidCatch=="function"&&(e.callback=function(){OU(t,n,i),typeof r!="function"&&(Qc===null?Qc=new Set([this]):Qc.add(this));var c=i.stack;this.componentDidCatch(i.value,{componentStack:c!==null?c:""})})}function cQ(e,t,n,i,r){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=n.alternate,t!==null&&z0(t,n,r,!0),n=so.current,n!==null){switch(n.tag){case 31:case 13:return Ho===null?gA():n.alternate===null&&ci===0&&(ci=3),n.flags&=-257,n.flags|=65536,n.lanes=r,i===oA?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([i]):t.add(i),BR(e,i,r)),!1;case 22:return n.flags|=65536,i===oA?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([i]):n.add(i)),BR(e,i,r)),!1}throw Error(gt(435,n.tag))}return BR(e,i,r),gA(),!1}if(Je)return t=so.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,i!==lO&&(e=Error(gt(422),{cause:i}),ty(Uo(e,n)))):(i!==lO&&(t=Error(gt(423),{cause:i}),ty(Uo(t,n))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,i=Uo(i,n),r=xO(e.stateNode,i,r),CR(e,r),ci!==4&&(ci=2)),!1;var s=Error(gt(520),{cause:i});if(s=Uo(s,n),Xv===null?Xv=[s]:Xv.push(s),ci!==4&&(ci=2),t===null)return!0;i=Uo(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=xO(n.stateNode,i,e),CR(n,e),!1;case 1:if(t=n.type,s=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(Qc===null||!Qc.has(s))))return n.flags|=65536,r&=-r,n.lanes|=r,r=KH(r),ZH(r,e,n,i),CR(n,r),!1}n=n.return}while(n!==null);return!1}var xM=Error(gt(461)),Ni=!1;function ga(e,t,n,i){t.child=e===null?uH(t,null,n,i):Yd(t,e.child,n,i)}function MU(e,t,n,i,r){n=n.render;var s=t.ref;if("ref"in i){var l={};for(var c in i)c!=="ref"&&(l[c]=i[c])}else l=i;return Xd(t),i=uM(e,t,n,l,s,r),c=cM(),e!==null&&!Ni?(fM(e,t,r),wu(e,t,r)):(Je&&c&&eM(t),t.flags|=1,ga(e,t,i,r),t.child)}function _U(e,t,n,i,r){if(e===null){var s=n.type;return typeof s=="function"&&!tM(s)&&s.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=s,WH(e,t,s,i,r)):(e=Hx(n.type,null,i,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!AM(e,r)){var l=s.memoizedProps;if(n=n.compare,n=n!==null?n:Jv,n(l,i)&&e.ref===t.ref)return wu(e,t,r)}return t.flags|=1,e=vu(s,i),e.ref=t.ref,e.return=t,t.child=e}function WH(e,t,n,i,r){if(e!==null){var s=e.memoizedProps;if(Jv(s,i)&&e.ref===t.ref)if(Ni=!1,t.pendingProps=i=s,AM(e,r))(e.flags&131072)!==0&&(Ni=!0);else return t.lanes=e.lanes,wu(e,t,r)}return AO(e,t,n,i,r)}function QH(e,t,n,i){var r=i.children,s=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(s=s!==null?s.baseLanes|n:n,e!==null){for(i=t.child=e.child,r=0;i!==null;)r=r|i.lanes|i.childLanes,i=i.sibling;i=r&~s}else i=0,t.child=null;return FU(e,t,s,n,i)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&jx(t,s!==null?s.cachePool:null),s!==null?SU(t,s):mO(),dH(t);else return i=t.lanes=536870912,FU(e,t,s!==null?s.baseLanes|n:n,n,i)}else s!==null?(jx(t,s.cachePool),SU(t,s),Hc(t),t.memoizedState=null):(e!==null&&jx(t,null),mO(),Hc(t));return ga(e,t,r,n),t.child}function zv(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function FU(e,t,n,i,r){var s=aM();return s=s===null?null:{parent:Fi._currentValue,pool:s},t.memoizedState={baseLanes:n,cachePool:s},e!==null&&jx(t,null),mO(),dH(t),e!==null&&z0(e,t,i,!0),t.childLanes=r,null}function Gx(e,t){return t=dA({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function NU(e,t,n){return Yd(t,e.child,null,n),e=Gx(t,t.pendingProps),e.flags|=2,$r(t),t.memoizedState=null,e}function fQ(e,t,n){var i=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(Je){if(i.mode==="hidden")return e=Gx(t,i),t.lanes=536870912,zv(null,e);if(gO(t),(e=qn)?(e=V7(e,Bo),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:nf!==null?{id:ul,overflow:cl}:null,retryLane:536870912,hydrationErrors:null},n=nH(e),n.return=t,t.child=n,ya=t,qn=null)):e=null,e===null)throw af(t);return t.lanes=536870912,null}return Gx(t,i)}var s=e.memoizedState;if(s!==null){var l=s.dehydrated;if(gO(t),r)if(t.flags&256)t.flags&=-257,t=NU(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(gt(558));else if(Ni||z0(e,t,n,!1),r=(n&e.childLanes)!==0,Ni||r){if(i=On,i!==null&&(l=RB(i,n),l!==0&&l!==s.retryLane))throw s.retryLane=l,$d(e,l),Ar(i,e,l),xM;gA(),t=NU(e,t,n)}else e=s.treeContext,qn=jo(l.nextSibling),ya=t,Je=!0,Kc=null,Bo=!1,e!==null&&aH(t,e),t=Gx(t,i),t.flags|=4096;return t}return e=vu(e.child,{mode:i.mode,children:i.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Ix(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(gt(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function AO(e,t,n,i,r){return Xd(t),n=uM(e,t,n,i,void 0,r),i=cM(),e!==null&&!Ni?(fM(e,t,r),wu(e,t,r)):(Je&&i&&eM(t),t.flags|=1,ga(e,t,n,r),t.child)}function zU(e,t,n,i,r,s){return Xd(t),t.updateQueue=null,n=pH(t,i,n,r),hH(e),i=cM(),e!==null&&!Ni?(fM(e,t,s),wu(e,t,s)):(Je&&i&&eM(t),t.flags|=1,ga(e,t,n,s),t.child)}function kU(e,t,n,i,r){if(Xd(t),t.stateNode===null){var s=c0,l=n.contextType;typeof l=="object"&&l!==null&&(s=ba(l)),s=new n(i,s),t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=SO,t.stateNode=s,s._reactInternals=t,s=t.stateNode,s.props=i,s.state=t.memoizedState,s.refs={},oM(t),l=n.contextType,s.context=typeof l=="object"&&l!==null?ba(l):c0,s.state=t.memoizedState,l=n.getDerivedStateFromProps,typeof l=="function"&&(RR(t,n,l,i),s.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(l=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),l!==s.state&&SO.enqueueReplaceState(s,s.state,null),qv(t,i,s,r),jv(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){s=t.stateNode;var c=t.memoizedProps,d=Zd(n,c);s.props=d;var h=s.context,p=n.contextType;l=c0,typeof p=="object"&&p!==null&&(l=ba(p));var y=n.getDerivedStateFromProps;p=typeof y=="function"||typeof s.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,p||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(c||h!==l)&&RU(t,s,i,l),Pc=!1;var g=t.memoizedState;s.state=g,qv(t,i,s,r),jv(),h=t.memoizedState,c||g!==h||Pc?(typeof y=="function"&&(RR(t,n,y,i),h=t.memoizedState),(d=Pc||DU(t,n,d,i,g,h,l))?(p||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=h),s.props=i,s.state=h,s.context=l,i=d):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{s=t.stateNode,hO(e,t),l=t.memoizedProps,p=Zd(n,l),s.props=p,y=t.pendingProps,g=s.context,h=n.contextType,d=c0,typeof h=="object"&&h!==null&&(d=ba(h)),c=n.getDerivedStateFromProps,(h=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==y||g!==d)&&RU(t,s,i,d),Pc=!1,g=t.memoizedState,s.state=g,qv(t,i,s,r),jv();var b=t.memoizedState;l!==y||g!==b||Pc||e!==null&&e.dependencies!==null&&rA(e.dependencies)?(typeof c=="function"&&(RR(t,n,c,i),b=t.memoizedState),(p=Pc||DU(t,n,p,i,g,b,d)||e!==null&&e.dependencies!==null&&rA(e.dependencies))?(h||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,b,d),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,b,d)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=b),s.props=i,s.state=b,s.context=d,i=p):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&g===e.memoizedState||(t.flags|=1024),i=!1)}return s=i,Ix(e,t),i=(t.flags&128)!==0,s||i?(s=t.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:s.render(),t.flags|=1,e!==null&&i?(t.child=Yd(t,e.child,null,r),t.child=Yd(t,null,n,r)):ga(e,t,n,r),t.memoizedState=s.state,e=t.child):e=wu(e,t,r),e}function LU(e,t,n,i){return Id(),t.flags|=256,ga(e,t,n,i),t.child}var OR={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function MR(e){return{baseLanes:e,cachePool:oH()}}function _R(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=eo),e}function JH(e,t,n){var i=t.pendingProps,r=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(mi.current&2)!==0),l&&(r=!0,t.flags&=-129),l=(t.flags&32)!==0,t.flags&=-33,e===null){if(Je){if(r?Bc(t):Hc(t),(e=qn)?(e=V7(e,Bo),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:nf!==null?{id:ul,overflow:cl}:null,retryLane:536870912,hydrationErrors:null},n=nH(e),n.return=t,t.child=n,ya=t,qn=null)):e=null,e===null)throw af(t);return LO(e)?t.lanes=32:t.lanes=536870912,null}var c=i.children;return i=i.fallback,r?(Hc(t),r=t.mode,c=dA({mode:"hidden",children:c},r),i=jd(i,r,n,null),c.return=t,i.return=t,c.sibling=i,t.child=c,i=t.child,i.memoizedState=MR(n),i.childLanes=_R(e,l,n),t.memoizedState=OR,zv(null,i)):(Bc(t),wO(t,c))}var d=e.memoizedState;if(d!==null&&(c=d.dehydrated,c!==null)){if(s)t.flags&256?(Bc(t),t.flags&=-257,t=FR(e,t,n)):t.memoizedState!==null?(Hc(t),t.child=e.child,t.flags|=128,t=null):(Hc(t),c=i.fallback,r=t.mode,i=dA({mode:"visible",children:i.children},r),c=jd(c,r,n,null),c.flags|=2,i.return=t,c.return=t,i.sibling=c,t.child=i,Yd(t,e.child,null,n),i=t.child,i.memoizedState=MR(n),i.childLanes=_R(e,l,n),t.memoizedState=OR,t=zv(null,i));else if(Bc(t),LO(c)){if(l=c.nextSibling&&c.nextSibling.dataset,l)var h=l.dgst;l=h,i=Error(gt(419)),i.stack="",i.digest=l,ty({value:i,source:null,stack:null}),t=FR(e,t,n)}else if(Ni||z0(e,t,n,!1),l=(n&e.childLanes)!==0,Ni||l){if(l=On,l!==null&&(i=RB(l,n),i!==0&&i!==d.retryLane))throw d.retryLane=i,$d(e,i),Ar(l,e,i),xM;kO(c)||gA(),t=FR(e,t,n)}else kO(c)?(t.flags|=192,t.child=e.child,t=null):(e=d.treeContext,qn=jo(c.nextSibling),ya=t,Je=!0,Kc=null,Bo=!1,e!==null&&aH(t,e),t=wO(t,i.children),t.flags|=4096);return t}return r?(Hc(t),c=i.fallback,r=t.mode,d=e.child,h=d.sibling,i=vu(d,{mode:"hidden",children:i.children}),i.subtreeFlags=d.subtreeFlags&65011712,h!==null?c=vu(h,c):(c=jd(c,r,n,null),c.flags|=2),c.return=t,i.return=t,i.sibling=c,t.child=i,zv(null,i),i=t.child,c=e.child.memoizedState,c===null?c=MR(n):(r=c.cachePool,r!==null?(d=Fi._currentValue,r=r.parent!==d?{parent:d,pool:d}:r):r=oH(),c={baseLanes:c.baseLanes|n,cachePool:r}),i.memoizedState=c,i.childLanes=_R(e,l,n),t.memoizedState=OR,zv(e.child,i)):(Bc(t),n=e.child,e=n.sibling,n=vu(n,{mode:"visible",children:i.children}),n.return=t,n.sibling=null,e!==null&&(l=t.deletions,l===null?(t.deletions=[e],t.flags|=16):l.push(e)),t.child=n,t.memoizedState=null,n)}function wO(e,t){return t=dA({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function dA(e,t){return e=to(22,e,null,t),e.lanes=0,e}function FR(e,t,n){return Yd(t,e.child,null,n),e=wO(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function PU(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),cO(e.return,t,n)}function NR(e,t,n,i,r,s){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:r,treeForkCount:s}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=i,l.tail=n,l.tailMode=r,l.treeForkCount=s)}function $H(e,t,n){var i=t.pendingProps,r=i.revealOrder,s=i.tail;i=i.children;var l=mi.current,c=(l&2)!==0;if(c?(l=l&1|2,t.flags|=128):l&=1,kn(mi,l),ga(e,t,i,n),i=Je?$v:0,!c&&e!==null&&(e.flags&128)!==0)t:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&PU(e,n,t);else if(e.tag===19)PU(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(r){case"forwards":for(n=t.child,r=null;n!==null;)e=n.alternate,e!==null&&lA(e)===null&&(r=n),n=n.sibling;n=r,n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),NR(t,!1,r,n,s,i);break;case"backwards":case"unstable_legacy-backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&lA(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}NR(t,!0,n,null,s,i);break;case"together":NR(t,!1,null,null,void 0,i);break;default:t.memoizedState=null}return t.child}function wu(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),of|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(z0(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(gt(153));if(t.child!==null){for(e=t.child,n=vu(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=vu(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function AM(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&rA(e)))}function dQ(e,t,n){switch(t.tag){case 3:Jx(t,t.stateNode.containerInfo),Uc(t,Fi,e.memoizedState.cache),Id();break;case 27:case 5:QR(t);break;case 4:Jx(t,t.stateNode.containerInfo);break;case 10:Uc(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,gO(t),null;break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(Bc(t),t.flags|=128,null):(n&t.child.childLanes)!==0?JH(e,t,n):(Bc(t),e=wu(e,t,n),e!==null?e.sibling:null);Bc(t);break;case 19:var r=(e.flags&128)!==0;if(i=(n&t.childLanes)!==0,i||(z0(e,t,n,!1),i=(n&t.childLanes)!==0),r){if(i)return $H(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),kn(mi,mi.current),i)break;return null;case 22:return t.lanes=0,QH(e,t,n,t.pendingProps);case 24:Uc(t,Fi,e.memoizedState.cache)}return wu(e,t,n)}function t7(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ni=!0;else{if(!AM(e,n)&&(t.flags&128)===0)return Ni=!1,dQ(e,t,n);Ni=(e.flags&131072)!==0}else Ni=!1,Je&&(t.flags&1048576)!==0&&iH(t,$v,t.index);switch(t.lanes=0,t.tag){case 16:t:{var i=t.pendingProps;if(e=Ud(t.elementType),t.type=e,typeof e=="function")tM(e)?(i=Zd(e,i),t.tag=1,t=kU(null,t,e,i,n)):(t.tag=0,t=AO(null,t,e,i,n));else{if(e!=null){var r=e.$$typeof;if(r===HO){t.tag=11,t=MU(null,t,e,i,n);break t}else if(r===jO){t.tag=14,t=_U(null,t,e,i,n);break t}}throw t=ZR(e)||e,Error(gt(306,t,""))}}return t;case 0:return AO(e,t,t.type,t.pendingProps,n);case 1:return i=t.type,r=Zd(i,t.pendingProps),kU(e,t,i,r,n);case 3:t:{if(Jx(t,t.stateNode.containerInfo),e===null)throw Error(gt(387));i=t.pendingProps;var s=t.memoizedState;r=s.element,hO(e,t),qv(t,i,null,n);var l=t.memoizedState;if(i=l.cache,Uc(t,Fi,i),i!==s.cache&&fO(t,[Fi],n,!0),jv(),i=l.element,s.isDehydrated)if(s={element:i,isDehydrated:!1,cache:l.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=LU(e,t,i,n);break t}else if(i!==r){r=Uo(Error(gt(424)),t),ty(r),t=LU(e,t,i,n);break t}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,qn=jo(e.firstChild),ya=t,Je=!0,Kc=null,Bo=!0,n=uH(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Id(),i===r){t=wu(e,t,n);break t}ga(e,t,i,n)}t=t.child}return t;case 26:return Ix(e,t),e===null?(n=rB(t.type,null,t.pendingProps,null))?t.memoizedState=n:Je||(n=t.type,e=t.pendingProps,i=SA(Yc.current).createElement(n),i[va]=t,i[wr]=e,Sa(i,n,e),ia(i),t.stateNode=i):t.memoizedState=rB(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return QR(t),e===null&&Je&&(i=t.stateNode=G7(t.type,t.pendingProps,Yc.current),ya=t,Bo=!0,r=qn,lf(t.type)?(PO=r,qn=jo(i.firstChild)):qn=r),ga(e,t,t.pendingProps.children,n),Ix(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Je&&((r=i=qn)&&(i=HQ(i,t.type,t.pendingProps,Bo),i!==null?(t.stateNode=i,ya=t,qn=jo(i.firstChild),Bo=!1,r=!0):r=!1),r||af(t)),QR(t),r=t.type,s=t.pendingProps,l=e!==null?e.memoizedProps:null,i=s.children,NO(r,s)?i=null:l!==null&&NO(r,l)&&(t.flags|=32),t.memoizedState!==null&&(r=uM(e,t,iQ,null,null,n),oy._currentValue=r),Ix(e,t),ga(e,t,i,n),t.child;case 6:return e===null&&Je&&((e=n=qn)&&(n=jQ(n,t.pendingProps,Bo),n!==null?(t.stateNode=n,ya=t,qn=null,e=!0):e=!1),e||af(t)),null;case 13:return JH(e,t,n);case 4:return Jx(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Yd(t,null,i,n):ga(e,t,i,n),t.child;case 11:return MU(e,t,t.type,t.pendingProps,n);case 7:return ga(e,t,t.pendingProps,n),t.child;case 8:return ga(e,t,t.pendingProps.children,n),t.child;case 12:return ga(e,t,t.pendingProps.children,n),t.child;case 10:return i=t.pendingProps,Uc(t,t.type,i.value),ga(e,t,i.children,n),t.child;case 9:return r=t.type._context,i=t.pendingProps.children,Xd(t),r=ba(r),i=i(r),t.flags|=1,ga(e,t,i,n),t.child;case 14:return _U(e,t,t.type,t.pendingProps,n);case 15:return WH(e,t,t.type,t.pendingProps,n);case 19:return $H(e,t,n);case 31:return fQ(e,t,n);case 22:return QH(e,t,n,t.pendingProps);case 24:return Xd(t),i=ba(Fi),e===null?(r=aM(),r===null&&(r=On,s=iM(),r.pooledCache=s,s.refCount++,s!==null&&(r.pooledCacheLanes|=n),r=s),t.memoizedState={parent:i,cache:r},oM(t),Uc(t,Fi,r)):((e.lanes&n)!==0&&(hO(e,t),qv(t,null,null,n),jv()),r=e.memoizedState,s=t.memoizedState,r.parent!==i?(r={parent:i,cache:i},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),Uc(t,Fi,i)):(i=s.cache,Uc(t,Fi,i),i!==r.cache&&fO(t,[Fi],n,!0))),ga(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(gt(156,t.tag))}function lu(e){e.flags|=4}function zR(e,t,n,i,r){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(E7())e.flags|=8192;else throw Vd=oA,rM}else e.flags&=-16777217}function UU(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Y7(t))if(E7())e.flags|=8192;else throw Vd=oA,rM}function Ox(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?TB():536870912,e.lanes|=t,D0|=t)}function Dv(e,t){if(!Je)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function jn(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags&65011712,i|=r.flags&65011712,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function hQ(e,t,n){var i=t.pendingProps;switch(nM(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return jn(t),null;case 1:return jn(t),null;case 3:return n=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),yu(Fi),x0(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Jp(t)?lu(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,TR())),jn(t),null;case 26:var r=t.type,s=t.memoizedState;return e===null?(lu(t),s!==null?(jn(t),UU(t,s)):(jn(t),zR(t,r,null,i,n))):s?s!==e.memoizedState?(lu(t),jn(t),UU(t,s)):(jn(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&lu(t),jn(t),zR(t,r,e,i,n)),null;case 27:if($x(t),n=Yc.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&lu(t);else{if(!i){if(t.stateNode===null)throw Error(gt(166));return jn(t),null}e=dl.current,Jp(t)?hU(t,e):(e=G7(r,i,n),t.stateNode=e,lu(t))}return jn(t),null;case 5:if($x(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&lu(t);else{if(!i){if(t.stateNode===null)throw Error(gt(166));return jn(t),null}if(s=dl.current,Jp(t))hU(t,s);else{var l=SA(Yc.current);switch(s){case 1:s=l.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:s=l.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":s=l.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":s=l.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":s=l.createElement("div"),s.innerHTML="<script></script>",s=s.removeChild(s.firstChild);break;case"select":s=typeof i.is=="string"?l.createElement("select",{is:i.is}):l.createElement("select"),i.multiple?s.multiple=!0:i.size&&(s.size=i.size);break;default:s=typeof i.is=="string"?l.createElement(r,{is:i.is}):l.createElement(r)}}s[va]=t,s[wr]=i;t:for(l=t.child;l!==null;){if(l.tag===5||l.tag===6)s.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break t;for(;l.sibling===null;){if(l.return===null||l.return===t)break t;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=s;t:switch(Sa(s,r,i),r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break t;case"img":i=!0;break t;default:i=!1}i&&lu(t)}}return jn(t),zR(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&lu(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(gt(166));if(e=Yc.current,Jp(t)){if(e=t.stateNode,n=t.memoizedProps,i=null,r=ya,r!==null)switch(r.tag){case 27:case 5:i=r.memoizedProps}e[va]=t,e=!!(e.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||H7(e.nodeValue,n)),e||af(t,!0)}else e=SA(e).createTextNode(i),e[va]=t,t.stateNode=e}return jn(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(i=Jp(t),n!==null){if(e===null){if(!i)throw Error(gt(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(gt(557));e[va]=t}else Id(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;jn(t),e=!1}else n=TR(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?($r(t),t):($r(t),null);if((t.flags&128)!==0)throw Error(gt(558))}return jn(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=Jp(t),i!==null&&i.dehydrated!==null){if(e===null){if(!r)throw Error(gt(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(gt(317));r[va]=t}else Id(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;jn(t),r=!1}else r=TR(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?($r(t),t):($r(t),null)}return $r(t),(t.flags&128)!==0?(t.lanes=n,t):(n=i!==null,e=e!==null&&e.memoizedState!==null,n&&(i=t.child,r=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(r=i.alternate.memoizedState.cachePool.pool),s=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),s!==r&&(i.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Ox(t,t.updateQueue),jn(t),null);case 4:return x0(),e===null&&OM(t.stateNode.containerInfo),jn(t),null;case 10:return yu(t.type),jn(t),null;case 19:if(aa(mi),i=t.memoizedState,i===null)return jn(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)Dv(i,!1);else{if(ci!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=lA(e),s!==null){for(t.flags|=128,Dv(i,!1),e=s.updateQueue,t.updateQueue=e,Ox(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)eH(n,e),n=n.sibling;return kn(mi,mi.current&1|2),Je&&du(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&no()>pA&&(t.flags|=128,r=!0,Dv(i,!1),t.lanes=4194304)}else{if(!r)if(e=lA(s),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,Ox(t,e),Dv(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Je)return jn(t),null}else 2*no()-i.renderingStartTime>pA&&n!==536870912&&(t.flags|=128,r=!0,Dv(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(e=i.last,e!==null?e.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(e=i.tail,i.rendering=e,i.tail=e.sibling,i.renderingStartTime=no(),e.sibling=null,n=mi.current,kn(mi,r?n&1|2:n&1),Je&&du(t,i.treeForkCount),e):(jn(t),null);case 22:case 23:return $r(t),sM(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(n&536870912)!==0&&(t.flags&128)===0&&(jn(t),t.subtreeFlags&6&&(t.flags|=8192)):jn(t),n=t.updateQueue,n!==null&&Ox(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==n&&(t.flags|=2048),e!==null&&aa(qd),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),yu(Fi),jn(t),null;case 25:return null;case 30:return null}throw Error(gt(156,t.tag))}function pQ(e,t){switch(nM(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return yu(Fi),x0(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return $x(t),null;case 31:if(t.memoizedState!==null){if($r(t),t.alternate===null)throw Error(gt(340));Id()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if($r(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(gt(340));Id()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return aa(mi),null;case 4:return x0(),null;case 10:return yu(t.type),null;case 22:case 23:return $r(t),sM(),e!==null&&aa(qd),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return yu(Fi),null;case 25:return null;default:return null}}function e7(e,t){switch(nM(t),t.tag){case 3:yu(Fi),x0();break;case 26:case 27:case 5:$x(t);break;case 4:x0();break;case 31:t.memoizedState!==null&&$r(t);break;case 13:$r(t);break;case 19:aa(mi);break;case 10:yu(t.type);break;case 22:case 23:$r(t),sM(),e!==null&&aa(qd);break;case 24:yu(Fi)}}function vy(e,t){try{var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var r=i.next;n=r;do{if((n.tag&e)===e){i=void 0;var s=n.create,l=n.inst;i=s(),l.destroy=i}n=n.next}while(n!==r)}}catch(c){vn(t,t.return,c)}}function rf(e,t,n){try{var i=t.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var s=r.next;i=s;do{if((i.tag&e)===e){var l=i.inst,c=l.destroy;if(c!==void 0){l.destroy=void 0,r=t;var d=n,h=c;try{h()}catch(p){vn(r,d,p)}}}i=i.next}while(i!==s)}}catch(p){vn(t,t.return,p)}}function n7(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{fH(t,n)}catch(i){vn(e,e.return,i)}}}function i7(e,t,n){n.props=Zd(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(i){vn(e,t,i)}}function Gv(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:i=e.stateNode;break;default:i=e.stateNode}typeof n=="function"?e.refCleanup=n(i):n.current=i}}catch(r){vn(e,t,r)}}function fl(e,t){var n=e.ref,i=e.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(r){vn(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){vn(e,t,r)}else n.current=null}function a7(e){var t=e.type,n=e.memoizedProps,i=e.stateNode;try{t:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break t;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(r){vn(e,e.return,r)}}function kR(e,t,n){try{var i=e.stateNode;zQ(i,e.type,n,t),i[wr]=t}catch(r){vn(e,e.return,r)}}function r7(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&lf(e.type)||e.tag===4}function LR(e){t:for(;;){for(;e.sibling===null;){if(e.return===null||r7(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.tag===27&&lf(e.type)||e.flags&2||e.child===null||e.tag===4)continue t;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function EO(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=mu));else if(i!==4&&(i===27&&lf(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(EO(e,t,n),e=e.sibling;e!==null;)EO(e,t,n),e=e.sibling}function hA(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(i===27&&lf(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(hA(e,t,n),e=e.sibling;e!==null;)hA(e,t,n),e=e.sibling}function o7(e){var t=e.stateNode,n=e.memoizedProps;try{for(var i=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Sa(t,i,n),t[va]=e,t[wr]=n}catch(s){vn(e,e.return,s)}}var hu=!1,_i=!1,PR=!1,BU=typeof WeakSet=="function"?WeakSet:Set,na=null;function mQ(e,t){if(e=e.containerInfo,_O=EA,e=YB(e),QO(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else t:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var r=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break t}var l=0,c=-1,d=-1,h=0,p=0,y=e,g=null;e:for(;;){for(var b;y!==n||r!==0&&y.nodeType!==3||(c=l+r),y!==s||i!==0&&y.nodeType!==3||(d=l+i),y.nodeType===3&&(l+=y.nodeValue.length),(b=y.firstChild)!==null;)g=y,y=b;for(;;){if(y===e)break e;if(g===n&&++h===r&&(c=l),g===s&&++p===i&&(d=l),(b=y.nextSibling)!==null)break;y=g,g=y.parentNode}y=b}n=c===-1||d===-1?null:{start:c,end:d}}else n=null}n=n||{start:0,end:0}}else n=null;for(FO={focusedElem:e,selectionRange:n},EA=!1,na=t;na!==null;)if(t=na,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,na=e;else for(;na!==null;){switch(t=na,s=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n<e.length;n++)r=e[n],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&s!==null){e=void 0,n=t,r=s.memoizedProps,s=s.memoizedState,i=n.stateNode;try{var S=Zd(n.type,r);e=i.getSnapshotBeforeUpdate(S,s),i.__reactInternalSnapshotBeforeUpdate=e}catch(w){vn(n,n.return,w)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)zO(e);else if(n===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":zO(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(gt(163))}if(e=t.sibling,e!==null){e.return=t.return,na=e;break}na=t.return}}function s7(e,t,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:cu(e,n),i&4&&vy(5,n);break;case 1:if(cu(e,n),i&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(l){vn(n,n.return,l)}else{var r=Zd(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(l){vn(n,n.return,l)}}i&64&&n7(n),i&512&&Gv(n,n.return);break;case 3:if(cu(e,n),i&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{fH(e,t)}catch(l){vn(n,n.return,l)}}break;case 27:t===null&&i&4&&o7(n);case 26:case 5:cu(e,n),t===null&&i&4&&a7(n),i&512&&Gv(n,n.return);break;case 12:cu(e,n);break;case 31:cu(e,n),i&4&&c7(e,n);break;case 13:cu(e,n),i&4&&f7(e,n),i&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=EQ.bind(null,n),qQ(e,n))));break;case 22:if(i=n.memoizedState!==null||hu,!i){t=t!==null&&t.memoizedState!==null||_i,r=hu;var s=_i;hu=i,(_i=t)&&!s?fu(e,n,(n.subtreeFlags&8772)!==0):cu(e,n),hu=r,_i=s}break;case 30:break;default:cu(e,n)}}function l7(e){var t=e.alternate;t!==null&&(e.alternate=null,l7(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&IO(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Wn=null,Sr=!1;function uu(e,t,n){for(n=n.child;n!==null;)u7(e,t,n),n=n.sibling}function u7(e,t,n){if(io&&typeof io.onCommitFiberUnmount=="function")try{io.onCommitFiberUnmount(cy,n)}catch{}switch(n.tag){case 26:_i||fl(n,t),uu(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:_i||fl(n,t);var i=Wn,r=Sr;lf(n.type)&&(Wn=n.stateNode,Sr=!1),uu(e,t,n),Kv(n.stateNode),Wn=i,Sr=r;break;case 5:_i||fl(n,t);case 6:if(i=Wn,r=Sr,Wn=null,uu(e,t,n),Wn=i,Sr=r,Wn!==null)if(Sr)try{(Wn.nodeType===9?Wn.body:Wn.nodeName==="HTML"?Wn.ownerDocument.body:Wn).removeChild(n.stateNode)}catch(s){vn(n,t,s)}else try{Wn.removeChild(n.stateNode)}catch(s){vn(n,t,s)}break;case 18:Wn!==null&&(Sr?(e=Wn,tB(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),_0(e)):tB(Wn,n.stateNode));break;case 4:i=Wn,r=Sr,Wn=n.stateNode.containerInfo,Sr=!0,uu(e,t,n),Wn=i,Sr=r;break;case 0:case 11:case 14:case 15:rf(2,n,t),_i||rf(4,n,t),uu(e,t,n);break;case 1:_i||(fl(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"&&i7(n,t,i)),uu(e,t,n);break;case 21:uu(e,t,n);break;case 22:_i=(i=_i)||n.memoizedState!==null,uu(e,t,n),_i=i;break;default:uu(e,t,n)}}function c7(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{_0(e)}catch(n){vn(t,t.return,n)}}}function f7(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{_0(e)}catch(n){vn(t,t.return,n)}}function gQ(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new BU),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new BU),t;default:throw Error(gt(435,e.tag))}}function Mx(e,t){var n=gQ(e);t.forEach(function(i){if(!n.has(i)){n.add(i);var r=TQ.bind(null,e,i);i.then(r,r)}})}function yr(e,t){var n=t.deletions;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i],s=e,l=t,c=l;t:for(;c!==null;){switch(c.tag){case 27:if(lf(c.type)){Wn=c.stateNode,Sr=!1;break t}break;case 5:Wn=c.stateNode,Sr=!1;break t;case 3:case 4:Wn=c.stateNode.containerInfo,Sr=!0;break t}c=c.return}if(Wn===null)throw Error(gt(160));u7(s,l,r),Wn=null,Sr=!1,s=r.alternate,s!==null&&(s.return=null),r.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)d7(t,e),t=t.sibling}var bs=null;function d7(e,t){var n=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:yr(t,e),br(e),i&4&&(rf(3,e,e.return),vy(3,e),rf(5,e,e.return));break;case 1:yr(t,e),br(e),i&512&&(_i||n===null||fl(n,n.return)),i&64&&hu&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?i:n.concat(i))));break;case 26:var r=bs;if(yr(t,e),br(e),i&512&&(_i||n===null||fl(n,n.return)),i&4){var s=n!==null?n.memoizedState:null;if(i=e.memoizedState,n===null)if(i===null)if(e.stateNode===null){t:{i=e.type,n=e.memoizedProps,r=r.ownerDocument||r;e:switch(i){case"title":s=r.getElementsByTagName("title")[0],(!s||s[hy]||s[va]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))&&(s=r.createElement(i),r.head.insertBefore(s,r.querySelector("head > title"))),Sa(s,i,n),s[va]=e,ia(s),i=s;break t;case"link":var l=sB("link","href",r).get(i+(n.href||""));if(l){for(var c=0;c<l.length;c++)if(s=l[c],s.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&s.getAttribute("rel")===(n.rel==null?null:n.rel)&&s.getAttribute("title")===(n.title==null?null:n.title)&&s.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){l.splice(c,1);break e}}s=r.createElement(i),Sa(s,i,n),r.head.appendChild(s);break;case"meta":if(l=sB("meta","content",r).get(i+(n.content||""))){for(c=0;c<l.length;c++)if(s=l[c],s.getAttribute("content")===(n.content==null?null:""+n.content)&&s.getAttribute("name")===(n.name==null?null:n.name)&&s.getAttribute("property")===(n.property==null?null:n.property)&&s.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&s.getAttribute("charset")===(n.charSet==null?null:n.charSet)){l.splice(c,1);break e}}s=r.createElement(i),Sa(s,i,n),r.head.appendChild(s);break;default:throw Error(gt(468,i))}s[va]=e,ia(s),i=s}e.stateNode=i}else lB(r,e.type,e.stateNode);else e.stateNode=oB(r,i,e.memoizedProps);else s!==i?(s===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):s.count--,i===null?lB(r,e.type,e.stateNode):oB(r,i,e.memoizedProps)):i===null&&e.stateNode!==null&&kR(e,e.memoizedProps,n.memoizedProps)}break;case 27:yr(t,e),br(e),i&512&&(_i||n===null||fl(n,n.return)),n!==null&&i&4&&kR(e,e.memoizedProps,n.memoizedProps);break;case 5:if(yr(t,e),br(e),i&512&&(_i||n===null||fl(n,n.return)),e.flags&32){r=e.stateNode;try{w0(r,"")}catch(S){vn(e,e.return,S)}}i&4&&e.stateNode!=null&&(r=e.memoizedProps,kR(e,r,n!==null?n.memoizedProps:r)),i&1024&&(PR=!0);break;case 6:if(yr(t,e),br(e),i&4){if(e.stateNode===null)throw Error(gt(162));i=e.memoizedProps,n=e.stateNode;try{n.nodeValue=i}catch(S){vn(e,e.return,S)}}break;case 3:if(Kx=null,r=bs,bs=xA(t.containerInfo),yr(t,e),bs=r,br(e),i&4&&n!==null&&n.memoizedState.isDehydrated)try{_0(t.containerInfo)}catch(S){vn(e,e.return,S)}PR&&(PR=!1,h7(e));break;case 4:i=bs,bs=xA(e.stateNode.containerInfo),yr(t,e),br(e),bs=i;break;case 12:yr(t,e),br(e);break;case 31:yr(t,e),br(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Mx(e,i)));break;case 13:yr(t,e),br(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(PA=no()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Mx(e,i)));break;case 22:r=e.memoizedState!==null;var d=n!==null&&n.memoizedState!==null,h=hu,p=_i;if(hu=h||r,_i=p||d,yr(t,e),_i=p,hu=h,br(e),i&8192)t:for(t=e.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,r&&(n===null||d||hu||_i||Bd(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){d=n=t;try{if(s=d.stateNode,r)l=s.style,typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none";else{c=d.stateNode;var y=d.memoizedProps.style,g=y!=null&&y.hasOwnProperty("display")?y.display:null;c.style.display=g==null||typeof g=="boolean"?"":(""+g).trim()}}catch(S){vn(d,d.return,S)}}}else if(t.tag===6){if(n===null){d=t;try{d.stateNode.nodeValue=r?"":d.memoizedProps}catch(S){vn(d,d.return,S)}}}else if(t.tag===18){if(n===null){d=t;try{var b=d.stateNode;r?eB(b,!0):eB(d.stateNode,!1)}catch(S){vn(d,d.return,S)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(n=i.retryQueue,n!==null&&(i.retryQueue=null,Mx(e,n))));break;case 19:yr(t,e),br(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Mx(e,i)));break;case 30:break;case 21:break;default:yr(t,e),br(e)}}function br(e){var t=e.flags;if(t&2){try{for(var n,i=e.return;i!==null;){if(r7(i)){n=i;break}i=i.return}if(n==null)throw Error(gt(160));switch(n.tag){case 27:var r=n.stateNode,s=LR(e);hA(e,s,r);break;case 5:var l=n.stateNode;n.flags&32&&(w0(l,""),n.flags&=-33);var c=LR(e);hA(e,c,l);break;case 3:case 4:var d=n.stateNode.containerInfo,h=LR(e);EO(e,h,d);break;default:throw Error(gt(161))}}catch(p){vn(e,e.return,p)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function h7(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;h7(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function cu(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)s7(e,t.alternate,t),t=t.sibling}function Bd(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:rf(4,t,t.return),Bd(t);break;case 1:fl(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount=="function"&&i7(t,t.return,n),Bd(t);break;case 27:Kv(t.stateNode);case 26:case 5:fl(t,t.return),Bd(t);break;case 22:t.memoizedState===null&&Bd(t);break;case 30:Bd(t);break;default:Bd(t)}e=e.sibling}}function fu(e,t,n){for(n=n&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var i=t.alternate,r=e,s=t,l=s.flags;switch(s.tag){case 0:case 11:case 15:fu(r,s,n),vy(4,s);break;case 1:if(fu(r,s,n),i=s,r=i.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(h){vn(i,i.return,h)}if(i=s,r=i.updateQueue,r!==null){var c=i.stateNode;try{var d=r.shared.hiddenCallbacks;if(d!==null)for(r.shared.hiddenCallbacks=null,r=0;r<d.length;r++)cH(d[r],c)}catch(h){vn(i,i.return,h)}}n&&l&64&&n7(s),Gv(s,s.return);break;case 27:o7(s);case 26:case 5:fu(r,s,n),n&&i===null&&l&4&&a7(s),Gv(s,s.return);break;case 12:fu(r,s,n);break;case 31:fu(r,s,n),n&&l&4&&c7(r,s);break;case 13:fu(r,s,n),n&&l&4&&f7(r,s);break;case 22:s.memoizedState===null&&fu(r,s,n),Gv(s,s.return);break;case 30:break;default:fu(r,s,n)}t=t.sibling}}function wM(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&my(n))}function EM(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&my(e))}function ys(e,t,n,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)p7(e,t,n,i),t=t.sibling}function p7(e,t,n,i){var r=t.flags;switch(t.tag){case 0:case 11:case 15:ys(e,t,n,i),r&2048&&vy(9,t);break;case 1:ys(e,t,n,i);break;case 3:ys(e,t,n,i),r&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&my(e)));break;case 12:if(r&2048){ys(e,t,n,i),e=t.stateNode;try{var s=t.memoizedProps,l=s.id,c=s.onPostCommit;typeof c=="function"&&c(l,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(d){vn(t,t.return,d)}}else ys(e,t,n,i);break;case 31:ys(e,t,n,i);break;case 13:ys(e,t,n,i);break;case 23:break;case 22:s=t.stateNode,l=t.alternate,t.memoizedState!==null?s._visibility&2?ys(e,t,n,i):Iv(e,t):s._visibility&2?ys(e,t,n,i):(s._visibility|=2,t0(e,t,n,i,(t.subtreeFlags&10256)!==0||!1)),r&2048&&wM(l,t);break;case 24:ys(e,t,n,i),r&2048&&EM(t.alternate,t);break;default:ys(e,t,n,i)}}function t0(e,t,n,i,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var s=e,l=t,c=n,d=i,h=l.flags;switch(l.tag){case 0:case 11:case 15:t0(s,l,c,d,r),vy(8,l);break;case 23:break;case 22:var p=l.stateNode;l.memoizedState!==null?p._visibility&2?t0(s,l,c,d,r):Iv(s,l):(p._visibility|=2,t0(s,l,c,d,r)),r&&h&2048&&wM(l.alternate,l);break;case 24:t0(s,l,c,d,r),r&&h&2048&&EM(l.alternate,l);break;default:t0(s,l,c,d,r)}t=t.sibling}}function Iv(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,i=t,r=i.flags;switch(i.tag){case 22:Iv(n,i),r&2048&&wM(i.alternate,i);break;case 24:Iv(n,i),r&2048&&EM(i.alternate,i);break;default:Iv(n,i)}t=t.sibling}}var kv=8192;function $p(e,t,n){if(e.subtreeFlags&kv)for(e=e.child;e!==null;)m7(e,t,n),e=e.sibling}function m7(e,t,n){switch(e.tag){case 26:$p(e,t,n),e.flags&kv&&e.memoizedState!==null&&tJ(n,bs,e.memoizedState,e.memoizedProps);break;case 5:$p(e,t,n);break;case 3:case 4:var i=bs;bs=xA(e.stateNode.containerInfo),$p(e,t,n),bs=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=kv,kv=16777216,$p(e,t,n),kv=i):$p(e,t,n));break;default:$p(e,t,n)}}function g7(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Rv(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];na=i,y7(i,e)}g7(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)v7(e),e=e.sibling}function v7(e){switch(e.tag){case 0:case 11:case 15:Rv(e),e.flags&2048&&rf(9,e,e.return);break;case 3:Rv(e);break;case 12:Rv(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Xx(e)):Rv(e);break;default:Rv(e)}}function Xx(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];na=i,y7(i,e)}g7(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:rf(8,t,t.return),Xx(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Xx(t));break;default:Xx(t)}e=e.sibling}}function y7(e,t){for(;na!==null;){var n=na;switch(n.tag){case 0:case 11:case 15:rf(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:my(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,na=i;else t:for(n=e;na!==null;){i=na;var r=i.sibling,s=i.return;if(l7(i),i===n){na=null;break t}if(r!==null){r.return=s,na=r;break t}na=s}}}var vQ={getCacheForType:function(e){var t=ba(Fi),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return ba(Fi).controller.signal}},yQ=typeof WeakMap=="function"?WeakMap:Map,un=0,On=null,Xe=null,Ke=0,gn=0,Jr=null,Gc=!1,L0=!1,TM=!1,Eu=0,ci=0,of=0,Gd=0,CM=0,eo=0,D0=0,Xv=null,xr=null,TO=!1,PA=0,b7=0,pA=1/0,mA=null,Qc=null,Gi=0,Jc=null,R0=null,bu=0,CO=0,DO=null,S7=null,Yv=0,RO=null;function ro(){return(un&2)!==0&&Ke!==0?Ke&-Ke:he.T!==null?RM():OB()}function x7(){if(eo===0)if((Ke&536870912)===0||Je){var e=Sx;Sx<<=1,(Sx&3932160)===0&&(Sx=262144),eo=e}else eo=536870912;return e=so.current,e!==null&&(e.flags|=32),eo}function Ar(e,t,n){(e===On&&(gn===2||gn===9)||e.cancelPendingCommit!==null)&&(O0(e,0),Ic(e,Ke,eo,!1)),dy(e,n),((un&2)===0||e!==On)&&(e===On&&((un&2)===0&&(Gd|=n),ci===4&&Ic(e,Ke,eo,!1)),pl(e))}function A7(e,t,n){if((un&6)!==0)throw Error(gt(327));var i=!n&&(t&127)===0&&(t&e.expiredLanes)===0||fy(e,t),r=i?xQ(e,t):UR(e,t,!0),s=i;do{if(r===0){L0&&!i&&Ic(e,t,0,!1);break}else{if(n=e.current.alternate,s&&!bQ(n)){r=UR(e,t,!1),s=!1;continue}if(r===2){if(s=t,e.errorRecoveryDisabledLanes&s)var l=0;else l=e.pendingLanes&-536870913,l=l!==0?l:l&536870912?536870912:0;if(l!==0){t=l;t:{var c=e;r=Xv;var d=c.current.memoizedState.isDehydrated;if(d&&(O0(c,l).flags|=256),l=UR(c,l,!1),l!==2){if(TM&&!d){c.errorRecoveryDisabledLanes|=s,Gd|=s,r=4;break t}s=xr,xr=r,s!==null&&(xr===null?xr=s:xr.push.apply(xr,s))}r=l}if(s=!1,r!==2)continue}}if(r===1){O0(e,0),Ic(e,t,0,!0);break}t:{switch(i=e,s=r,s){case 0:case 1:throw Error(gt(345));case 4:if((t&4194048)!==t)break;case 6:Ic(i,t,eo,!Gc);break t;case 2:xr=null;break;case 3:case 5:break;default:throw Error(gt(329))}if((t&62914560)===t&&(r=PA+300-no(),10<r)){if(Ic(i,t,eo,!Gc),CA(i,0,!0)!==0)break t;bu=t,i.timeoutHandle=q7(HU.bind(null,i,n,xr,mA,TO,t,eo,Gd,D0,Gc,s,"Throttled",-0,0),r);break t}HU(i,n,xr,mA,TO,t,eo,Gd,D0,Gc,s,null,-0,0)}}break}while(!0);pl(e)}function HU(e,t,n,i,r,s,l,c,d,h,p,y,g,b){if(e.timeoutHandle=-1,y=t.subtreeFlags,y&8192||(y&16785408)===16785408){y={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:mu},m7(t,s,y);var S=(s&62914560)===s?PA-no():(s&4194048)===s?b7-no():0;if(S=eJ(y,S),S!==null){bu=s,e.cancelPendingCommit=S(qU.bind(null,e,t,s,n,i,r,l,c,d,p,y,null,g,b)),Ic(e,s,l,!h);return}}qU(e,t,s,n,i,r,l,c,d)}function bQ(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var r=n[i],s=r.getSnapshot;r=r.value;try{if(!oo(s(),r))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;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 Ic(e,t,n,i){t&=~CM,t&=~Gd,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var r=t;0<r;){var s=31-ao(r),l=1<<s;i[s]=-1,r&=~l}n!==0&&CB(e,n,t)}function UA(){return(un&6)===0?(yy(0,!1),!1):!0}function DM(){if(Xe!==null){if(gn===0)var e=Xe.return;else e=Xe,gu=th=null,dM(e),y0=null,ey=0,e=Xe;for(;e!==null;)e7(e.alternate,e),e=e.return;Xe=null}}function O0(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,PQ(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),bu=0,DM(),On=e,Xe=n=vu(e.current,null),Ke=t,gn=0,Jr=null,Gc=!1,L0=fy(e,t),TM=!1,D0=eo=CM=Gd=of=ci=0,xr=Xv=null,TO=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var r=31-ao(i),s=1<<r;t|=e[r],i&=~s}return Eu=t,MA(),n}function w7(e,t){_e=null,he.H=iy,t===k0||t===FA?(t=yU(),gn=3):t===rM?(t=yU(),gn=4):gn=t===xM?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Jr=t,Xe===null&&(ci=1,fA(e,Uo(t,e.current)))}function E7(){var e=so.current;return e===null?!0:(Ke&4194048)===Ke?Ho===null:(Ke&62914560)===Ke||(Ke&536870912)!==0?e===Ho:!1}function T7(){var e=he.H;return he.H=iy,e===null?iy:e}function C7(){var e=he.A;return he.A=vQ,e}function gA(){ci=4,Gc||(Ke&4194048)!==Ke&&so.current!==null||(L0=!0),(of&134217727)===0&&(Gd&134217727)===0||On===null||Ic(On,Ke,eo,!1)}function UR(e,t,n){var i=un;un|=2;var r=T7(),s=C7();(On!==e||Ke!==t)&&(mA=null,O0(e,t)),t=!1;var l=ci;t:do try{if(gn!==0&&Xe!==null){var c=Xe,d=Jr;switch(gn){case 8:DM(),l=6;break t;case 3:case 2:case 9:case 6:so.current===null&&(t=!0);var h=gn;if(gn=0,Jr=null,h0(e,c,d,h),n&&L0){l=0;break t}break;default:h=gn,gn=0,Jr=null,h0(e,c,d,h)}}SQ(),l=ci;break}catch(p){w7(e,p)}while(!0);return t&&e.shellSuspendCounter++,gu=th=null,un=i,he.H=r,he.A=s,Xe===null&&(On=null,Ke=0,MA()),l}function SQ(){for(;Xe!==null;)D7(Xe)}function xQ(e,t){var n=un;un|=2;var i=T7(),r=C7();On!==e||Ke!==t?(mA=null,pA=no()+500,O0(e,t)):L0=fy(e,t);t:do try{if(gn!==0&&Xe!==null){t=Xe;var s=Jr;e:switch(gn){case 1:gn=0,Jr=null,h0(e,t,s,1);break;case 2:case 9:if(vU(s)){gn=0,Jr=null,jU(t);break}t=function(){gn!==2&&gn!==9||On!==e||(gn=7),pl(e)},s.then(t,t);break t;case 3:gn=7;break t;case 4:gn=5;break t;case 7:vU(s)?(gn=0,Jr=null,jU(t)):(gn=0,Jr=null,h0(e,t,s,7));break;case 5:var l=null;switch(Xe.tag){case 26:l=Xe.memoizedState;case 5:case 27:var c=Xe;if(l?Y7(l):c.stateNode.complete){gn=0,Jr=null;var d=c.sibling;if(d!==null)Xe=d;else{var h=c.return;h!==null?(Xe=h,BA(h)):Xe=null}break e}}gn=0,Jr=null,h0(e,t,s,5);break;case 6:gn=0,Jr=null,h0(e,t,s,6);break;case 8:DM(),ci=6;break t;default:throw Error(gt(462))}}AQ();break}catch(p){w7(e,p)}while(!0);return gu=th=null,he.H=i,he.A=r,un=n,Xe!==null?0:(On=null,Ke=0,MA(),ci)}function AQ(){for(;Xe!==null&&!IZ();)D7(Xe)}function D7(e){var t=t7(e.alternate,e,Eu);e.memoizedProps=e.pendingProps,t===null?BA(e):Xe=t}function jU(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=zU(n,t,t.pendingProps,t.type,void 0,Ke);break;case 11:t=zU(n,t,t.pendingProps,t.type.render,t.ref,Ke);break;case 5:dM(t);default:e7(n,t),t=Xe=eH(t,Eu),t=t7(n,t,Eu)}e.memoizedProps=e.pendingProps,t===null?BA(e):Xe=t}function h0(e,t,n,i){gu=th=null,dM(t),y0=null,ey=0;var r=t.return;try{if(cQ(e,r,t,n,Ke)){ci=1,fA(e,Uo(n,e.current)),Xe=null;return}}catch(s){if(r!==null)throw Xe=r,s;ci=1,fA(e,Uo(n,e.current)),Xe=null;return}t.flags&32768?(Je||i===1?e=!0:L0||(Ke&536870912)!==0?e=!1:(Gc=e=!0,(i===2||i===9||i===3||i===6)&&(i=so.current,i!==null&&i.tag===13&&(i.flags|=16384))),R7(t,e)):BA(t)}function BA(e){var t=e;do{if((t.flags&32768)!==0){R7(t,Gc);return}e=t.return;var n=hQ(t.alternate,t,Eu);if(n!==null){Xe=n;return}if(t=t.sibling,t!==null){Xe=t;return}Xe=t=e}while(t!==null);ci===0&&(ci=5)}function R7(e,t){do{var n=pQ(e.alternate,e);if(n!==null){n.flags&=32767,Xe=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Xe=e;return}Xe=e=n}while(e!==null);ci=6,Xe=null}function qU(e,t,n,i,r,s,l,c,d){e.cancelPendingCommit=null;do HA();while(Gi!==0);if((un&6)!==0)throw Error(gt(327));if(t!==null){if(t===e.current)throw Error(gt(177));if(s=t.lanes|t.childLanes,s|=JO,eW(e,n,s,l,c,d),e===On&&(Xe=On=null,Ke=0),R0=t,Jc=e,bu=n,CO=s,DO=r,S7=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,CQ(tA,function(){return N7(),null})):(e.callbackNode=null,e.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=he.T,he.T=null,r=cn.p,cn.p=2,l=un,un|=4;try{mQ(e,t,n)}finally{un=l,cn.p=r,he.T=i}}Gi=1,O7(),M7(),_7()}}function O7(){if(Gi===1){Gi=0;var e=Jc,t=R0,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=he.T,he.T=null;var i=cn.p;cn.p=2;var r=un;un|=4;try{d7(t,e);var s=FO,l=YB(e.containerInfo),c=s.focusedElem,d=s.selectionRange;if(l!==c&&c&&c.ownerDocument&&XB(c.ownerDocument.documentElement,c)){if(d!==null&&QO(c)){var h=d.start,p=d.end;if(p===void 0&&(p=h),"selectionStart"in c)c.selectionStart=h,c.selectionEnd=Math.min(p,c.value.length);else{var y=c.ownerDocument||document,g=y&&y.defaultView||window;if(g.getSelection){var b=g.getSelection(),S=c.textContent.length,w=Math.min(d.start,S),D=d.end===void 0?w:Math.min(d.end,S);!b.extend&&w>D&&(l=D,D=w,w=l);var A=cU(c,w),T=cU(c,D);if(A&&T&&(b.rangeCount!==1||b.anchorNode!==A.node||b.anchorOffset!==A.offset||b.focusNode!==T.node||b.focusOffset!==T.offset)){var C=y.createRange();C.setStart(A.node,A.offset),b.removeAllRanges(),w>D?(b.addRange(C),b.extend(T.node,T.offset)):(C.setEnd(T.node,T.offset),b.addRange(C))}}}}for(y=[],b=c;b=b.parentNode;)b.nodeType===1&&y.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<y.length;c++){var O=y[c];O.element.scrollLeft=O.left,O.element.scrollTop=O.top}}EA=!!_O,FO=_O=null}finally{un=r,cn.p=i,he.T=n}}e.current=t,Gi=2}}function M7(){if(Gi===2){Gi=0;var e=Jc,t=R0,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=he.T,he.T=null;var i=cn.p;cn.p=2;var r=un;un|=4;try{s7(e,t.alternate,t)}finally{un=r,cn.p=i,he.T=n}}Gi=3}}function _7(){if(Gi===4||Gi===3){Gi=0,XZ();var e=Jc,t=R0,n=bu,i=S7;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Gi=5:(Gi=0,R0=Jc=null,F7(e,e.pendingLanes));var r=e.pendingLanes;if(r===0&&(Qc=null),GO(n),t=t.stateNode,io&&typeof io.onCommitFiberRoot=="function")try{io.onCommitFiberRoot(cy,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=he.T,r=cn.p,cn.p=2,he.T=null;try{for(var s=e.onRecoverableError,l=0;l<i.length;l++){var c=i[l];s(c.value,{componentStack:c.stack})}}finally{he.T=t,cn.p=r}}(bu&3)!==0&&HA(),pl(e),r=e.pendingLanes,(n&261930)!==0&&(r&42)!==0?e===RO?Yv++:(Yv=0,RO=e):Yv=0,yy(0,!1)}}function F7(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,my(t)))}function HA(){return O7(),M7(),_7(),N7()}function N7(){if(Gi!==5)return!1;var e=Jc,t=CO;CO=0;var n=GO(bu),i=he.T,r=cn.p;try{cn.p=32>n?32:n,he.T=null,n=DO,DO=null;var s=Jc,l=bu;if(Gi=0,R0=Jc=null,bu=0,(un&6)!==0)throw Error(gt(331));var c=un;if(un|=4,v7(s.current),p7(s,s.current,l,n),un=c,yy(0,!1),io&&typeof io.onPostCommitFiberRoot=="function")try{io.onPostCommitFiberRoot(cy,s)}catch{}return!0}finally{cn.p=r,he.T=i,F7(e,t)}}function VU(e,t,n){t=Uo(n,t),t=xO(e.stateNode,t,2),e=Wc(e,t,2),e!==null&&(dy(e,2),pl(e))}function vn(e,t,n){if(e.tag===3)VU(e,e,n);else for(;t!==null;){if(t.tag===3){VU(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Qc===null||!Qc.has(i))){e=Uo(n,e),n=KH(2),i=Wc(t,n,2),i!==null&&(ZH(n,i,t,e),dy(i,2),pl(i));break}}t=t.return}}function BR(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new yQ;var r=new Set;i.set(t,r)}else r=i.get(t),r===void 0&&(r=new Set,i.set(t,r));r.has(n)||(TM=!0,r.add(n),e=wQ.bind(null,e,t,n),t.then(e,e))}function wQ(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,On===e&&(Ke&n)===n&&(ci===4||ci===3&&(Ke&62914560)===Ke&&300>no()-PA?(un&2)===0&&O0(e,0):CM|=n,D0===Ke&&(D0=0)),pl(e)}function z7(e,t){t===0&&(t=TB()),e=$d(e,t),e!==null&&(dy(e,t),pl(e))}function EQ(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),z7(e,n)}function TQ(e,t){var n=0;switch(e.tag){case 31:case 13:var i=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(gt(314))}i!==null&&i.delete(t),z7(e,n)}function CQ(e,t){return qO(e,t)}var vA=null,e0=null,OO=!1,yA=!1,HR=!1,Xc=0;function pl(e){e!==e0&&e.next===null&&(e0===null?vA=e0=e:e0=e0.next=e),yA=!0,OO||(OO=!0,RQ())}function yy(e,t){if(!HR&&yA){HR=!0;do for(var n=!1,i=vA;i!==null;){if(!t)if(e!==0){var r=i.pendingLanes;if(r===0)var s=0;else{var l=i.suspendedLanes,c=i.pingedLanes;s=(1<<31-ao(42|e)+1)-1,s&=r&~(l&~c),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(n=!0,GU(i,s))}else s=Ke,s=CA(i,i===On?s:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(s&3)===0||fy(i,s)||(n=!0,GU(i,s));i=i.next}while(n);HR=!1}}function DQ(){k7()}function k7(){yA=OO=!1;var e=0;Xc!==0&&LQ()&&(e=Xc);for(var t=no(),n=null,i=vA;i!==null;){var r=i.next,s=L7(i,t);s===0?(i.next=null,n===null?vA=r:n.next=r,r===null&&(e0=n)):(n=i,(e!==0||(s&3)!==0)&&(yA=!0)),i=r}Gi!==0&&Gi!==5||yy(e,!1),Xc!==0&&(Xc=0)}function L7(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,r=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var l=31-ao(s),c=1<<l,d=r[l];d===-1?((c&n)===0||(c&i)!==0)&&(r[l]=tW(c,t)):d<=t&&(e.expiredLanes|=c),s&=~c}if(t=On,n=Ke,n=CA(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,n===0||e===t&&(gn===2||gn===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&mR(i),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||fy(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(i!==null&&mR(i),GO(n)){case 2:case 8:n=wB;break;case 32:n=tA;break;case 268435456:n=EB;break;default:n=tA}return i=P7.bind(null,e),n=qO(n,i),e.callbackPriority=t,e.callbackNode=n,t}return i!==null&&i!==null&&mR(i),e.callbackPriority=2,e.callbackNode=null,2}function P7(e,t){if(Gi!==0&&Gi!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(HA()&&e.callbackNode!==n)return null;var i=Ke;return i=CA(e,e===On?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(A7(e,i,t),L7(e,no()),e.callbackNode!=null&&e.callbackNode===n?P7.bind(null,e):null)}function GU(e,t){if(HA())return null;A7(e,t,!0)}function RQ(){UQ(function(){(un&6)!==0?qO(AB,DQ):k7()})}function RM(){if(Xc===0){var e=E0;e===0&&(e=bx,bx<<=1,(bx&261888)===0&&(bx=256)),Xc=e}return Xc}function IU(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Px(""+e)}function XU(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function OQ(e,t,n,i,r){if(t==="submit"&&n&&n.stateNode===r){var s=IU((r[wr]||null).action),l=i.submitter;l&&(t=(t=l[wr]||null)?IU(t.formAction):l.getAttribute("formAction"),t!==null&&(s=t,l=null));var c=new DA("action","action",null,i,r);e.push({event:c,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Xc!==0){var d=l?XU(r,l):new FormData(r);bO(n,{pending:!0,data:d,method:r.method,action:s},null,d)}}else typeof s=="function"&&(c.preventDefault(),d=l?XU(r,l):new FormData(r),bO(n,{pending:!0,data:d,method:r.method,action:s},s,d))},currentTarget:r}]})}}for(_x=0;_x<sO.length;_x++)Fx=sO[_x],YU=Fx.toLowerCase(),KU=Fx[0].toUpperCase()+Fx.slice(1),Ss(YU,"on"+KU);var Fx,YU,KU,_x;Ss(ZB,"onAnimationEnd");Ss(WB,"onAnimationIteration");Ss(QB,"onAnimationStart");Ss("dblclick","onDoubleClick");Ss("focusin","onFocus");Ss("focusout","onBlur");Ss(YW,"onTransitionRun");Ss(KW,"onTransitionStart");Ss(ZW,"onTransitionCancel");Ss(JB,"onTransitionEnd");A0("onMouseEnter",["mouseout","mouseover"]);A0("onMouseLeave",["mouseout","mouseover"]);A0("onPointerEnter",["pointerout","pointerover"]);A0("onPointerLeave",["pointerout","pointerover"]);Wd("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Wd("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Wd("onBeforeInput",["compositionend","keypress","textInput","paste"]);Wd("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Wd("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Wd("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ay="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(" "),MQ=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ay));function U7(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var i=e[n],r=i.event;i=i.listeners;t:{var s=void 0;if(t)for(var l=i.length-1;0<=l;l--){var c=i[l],d=c.instance,h=c.currentTarget;if(c=c.listener,d!==s&&r.isPropagationStopped())break t;s=c,r.currentTarget=h;try{s(r)}catch(p){nA(p)}r.currentTarget=null,s=d}else for(l=0;l<i.length;l++){if(c=i[l],d=c.instance,h=c.currentTarget,c=c.listener,d!==s&&r.isPropagationStopped())break t;s=c,r.currentTarget=h;try{s(r)}catch(p){nA(p)}r.currentTarget=null,s=d}}}}function Ie(e,t){var n=t[$R];n===void 0&&(n=t[$R]=new Set);var i=e+"__bubble";n.has(i)||(B7(t,e,2,!1),n.add(i))}function jR(e,t,n){var i=0;t&&(i|=4),B7(n,e,i,t)}var Nx="_reactListening"+Math.random().toString(36).slice(2);function OM(e){if(!e[Nx]){e[Nx]=!0,MB.forEach(function(n){n!=="selectionchange"&&(MQ.has(n)||jR(n,!1,e),jR(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Nx]||(t[Nx]=!0,jR("selectionchange",!1,t))}}function B7(e,t,n,i){switch(J7(t)){case 2:var r=aJ;break;case 8:r=rJ;break;default:r=NM}n=r.bind(null,t,n,e),r=void 0,!aO||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),i?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function qR(e,t,n,i,r){var s=i;if((t&1)===0&&(t&2)===0&&i!==null)t:for(;;){if(i===null)return;var l=i.tag;if(l===3||l===4){var c=i.stateNode.containerInfo;if(c===r)break;if(l===4)for(l=i.return;l!==null;){var d=l.tag;if((d===3||d===4)&&l.stateNode.containerInfo===r)return;l=l.return}for(;c!==null;){if(l=a0(c),l===null)return;if(d=l.tag,d===5||d===6||d===26||d===27){i=s=l;continue t}c=c.parentNode}}i=i.return}UB(function(){var h=s,p=YO(n),y=[];t:{var g=$B.get(e);if(g!==void 0){var b=DA,S=e;switch(e){case"keypress":if(Bx(n)===0)break t;case"keydown":case"keyup":b=TW;break;case"focusin":S="focus",b=SR;break;case"focusout":S="blur",b=SR;break;case"beforeblur":case"afterblur":b=SR;break;case"click":if(n.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=eU;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=hW;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=RW;break;case ZB:case WB:case QB:b=gW;break;case JB:b=MW;break;case"scroll":case"scrollend":b=fW;break;case"wheel":b=FW;break;case"copy":case"cut":case"paste":b=yW;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=iU;break;case"toggle":case"beforetoggle":b=zW}var w=(t&4)!==0,D=!w&&(e==="scroll"||e==="scrollend"),A=w?g!==null?g+"Capture":null:g;w=[];for(var T=h,C;T!==null;){var O=T;if(C=O.stateNode,O=O.tag,O!==5&&O!==26&&O!==27||C===null||A===null||(O=Wv(T,A),O!=null&&w.push(ry(T,O,C))),D)break;T=T.return}0<w.length&&(g=new b(g,S,null,n,p),y.push({event:g,listeners:w}))}}if((t&7)===0){t:{if(g=e==="mouseover"||e==="pointerover",b=e==="mouseout"||e==="pointerout",g&&n!==iO&&(S=n.relatedTarget||n.fromElement)&&(a0(S)||S[F0]))break t;if((b||g)&&(g=p.window===p?p:(g=p.ownerDocument)?g.defaultView||g.parentWindow:window,b?(S=n.relatedTarget||n.toElement,b=h,S=S?a0(S):null,S!==null&&(D=uy(S),w=S.tag,S!==D||w!==5&&w!==27&&w!==6)&&(S=null)):(b=null,S=h),b!==S)){if(w=eU,O="onMouseLeave",A="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(w=iU,O="onPointerLeave",A="onPointerEnter",T="pointer"),D=b==null?g:Nv(b),C=S==null?g:Nv(S),g=new w(O,T+"leave",b,n,p),g.target=D,g.relatedTarget=C,O=null,a0(p)===h&&(w=new w(A,T+"enter",S,n,p),w.target=C,w.relatedTarget=D,O=w),D=O,b&&S)e:{for(w=_Q,A=b,T=S,C=0,O=A;O;O=w(O))C++;O=0;for(var M=T;M;M=w(M))O++;for(;0<C-O;)A=w(A),C--;for(;0<O-C;)T=w(T),O--;for(;C--;){if(A===T||T!==null&&A===T.alternate){w=A;break e}A=w(A),T=w(T)}w=null}else w=null;b!==null&&ZU(y,g,b,w,!1),S!==null&&D!==null&&ZU(y,D,S,w,!0)}}t:{if(g=h?Nv(h):window,b=g.nodeName&&g.nodeName.toLowerCase(),b==="select"||b==="input"&&g.type==="file")var k=sU;else if(oU(g))if(GB)k=GW;else{k=qW;var z=jW}else b=g.nodeName,!b||b.toLowerCase()!=="input"||g.type!=="checkbox"&&g.type!=="radio"?h&&XO(h.elementType)&&(k=sU):k=VW;if(k&&(k=k(e,h))){VB(y,k,n,p);break t}z&&z(e,g,h),e==="focusout"&&h&&g.type==="number"&&h.memoizedProps.value!=null&&nO(g,"number",g.value)}switch(z=h?Nv(h):window,e){case"focusin":(oU(z)||z.contentEditable==="true")&&(s0=z,rO=h,Uv=null);break;case"focusout":Uv=rO=s0=null;break;case"mousedown":oO=!0;break;case"contextmenu":case"mouseup":case"dragend":oO=!1,fU(y,n,p);break;case"selectionchange":if(XW)break;case"keydown":case"keyup":fU(y,n,p)}var P;if(WO)t:{switch(e){case"compositionstart":var U="onCompositionStart";break t;case"compositionend":U="onCompositionEnd";break t;case"compositionupdate":U="onCompositionUpdate";break t}U=void 0}else o0?jB(e,n)&&(U="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(U="onCompositionStart");U&&(HB&&n.locale!=="ko"&&(o0||U!=="onCompositionStart"?U==="onCompositionEnd"&&o0&&(P=BB()):(Vc=p,KO="value"in Vc?Vc.value:Vc.textContent,o0=!0)),z=bA(h,U),0<z.length&&(U=new nU(U,e,null,n,p),y.push({event:U,listeners:z}),P?U.data=P:(P=qB(n),P!==null&&(U.data=P)))),(P=LW?PW(e,n):UW(e,n))&&(U=bA(h,"onBeforeInput"),0<U.length&&(z=new nU("onBeforeInput","beforeinput",null,n,p),y.push({event:z,listeners:U}),z.data=P)),OQ(y,e,h,n,p)}U7(y,t)})}function ry(e,t,n){return{instance:e,listener:t,currentTarget:n}}function bA(e,t){for(var n=t+"Capture",i=[];e!==null;){var r=e,s=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||s===null||(r=Wv(e,n),r!=null&&i.unshift(ry(e,r,s)),r=Wv(e,t),r!=null&&i.push(ry(e,r,s))),e.tag===3)return i;e=e.return}return[]}function _Q(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function ZU(e,t,n,i,r){for(var s=t._reactName,l=[];n!==null&&n!==i;){var c=n,d=c.alternate,h=c.stateNode;if(c=c.tag,d!==null&&d===i)break;c!==5&&c!==26&&c!==27||h===null||(d=h,r?(h=Wv(n,s),h!=null&&l.unshift(ry(n,h,d))):r||(h=Wv(n,s),h!=null&&l.push(ry(n,h,d)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var FQ=/\r\n?/g,NQ=/\u0000|\uFFFD/g;function WU(e){return(typeof e=="string"?e:""+e).replace(FQ,`
|
|
25
|
+
`).replace(NQ,"")}function H7(e,t){return t=WU(t),WU(e)===t}function An(e,t,n,i,r,s){switch(n){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||w0(e,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&w0(e,""+i);break;case"className":Ax(e,"class",i);break;case"tabIndex":Ax(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Ax(e,n,i);break;case"style":PB(e,i,s);break;case"data":if(t!=="object"){Ax(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=Px(""+i),e.setAttribute(n,i);break;case"action":case"formAction":if(typeof i=="function"){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof s=="function"&&(n==="formAction"?(t!=="input"&&An(e,t,"name",r.name,r,null),An(e,t,"formEncType",r.formEncType,r,null),An(e,t,"formMethod",r.formMethod,r,null),An(e,t,"formTarget",r.formTarget,r,null)):(An(e,t,"encType",r.encType,r,null),An(e,t,"method",r.method,r,null),An(e,t,"target",r.target,r,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=Px(""+i),e.setAttribute(n,i);break;case"onClick":i!=null&&(e.onclick=mu);break;case"onScroll":i!=null&&Ie("scroll",e);break;case"onScrollEnd":i!=null&&Ie("scrollend",e);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(gt(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(gt(60));e.innerHTML=n}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}n=Px(""+i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,""+i):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":i===!0?e.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,i):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(n,i):e.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(n):e.setAttribute(n,i);break;case"popover":Ie("beforetoggle",e),Ie("toggle",e),Lx(e,"popover",i);break;case"xlinkActuate":su(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":su(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":su(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":su(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":su(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":su(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":su(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":su(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":su(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Lx(e,"is",i);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=uW.get(n)||n,Lx(e,n,i))}}function MO(e,t,n,i,r,s){switch(n){case"style":PB(e,i,s);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(gt(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(gt(60));e.innerHTML=n}}break;case"children":typeof i=="string"?w0(e,i):(typeof i=="number"||typeof i=="bigint")&&w0(e,""+i);break;case"onScroll":i!=null&&Ie("scroll",e);break;case"onScrollEnd":i!=null&&Ie("scrollend",e);break;case"onClick":i!=null&&(e.onclick=mu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!_B.hasOwnProperty(n))t:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),s=e[wr]||null,s=s!=null?s[n]:null,typeof s=="function"&&e.removeEventListener(t,s,r),typeof i=="function")){typeof s!="function"&&s!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,i,r);break t}n in e?e[n]=i:i===!0?e.setAttribute(n,""):Lx(e,n,i)}}}function Sa(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ie("error",e),Ie("load",e);var i=!1,r=!1,s;for(s in n)if(n.hasOwnProperty(s)){var l=n[s];if(l!=null)switch(s){case"src":i=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(gt(137,t));default:An(e,t,s,l,n,null)}}r&&An(e,t,"srcSet",n.srcSet,n,null),i&&An(e,t,"src",n.src,n,null);return;case"input":Ie("invalid",e);var c=s=l=r=null,d=null,h=null;for(i in n)if(n.hasOwnProperty(i)){var p=n[i];if(p!=null)switch(i){case"name":r=p;break;case"type":l=p;break;case"checked":d=p;break;case"defaultChecked":h=p;break;case"value":s=p;break;case"defaultValue":c=p;break;case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(gt(137,t));break;default:An(e,t,i,p,n,null)}}zB(e,s,c,d,h,l,r,!1);return;case"select":Ie("invalid",e),i=l=s=null;for(r in n)if(n.hasOwnProperty(r)&&(c=n[r],c!=null))switch(r){case"value":s=c;break;case"defaultValue":l=c;break;case"multiple":i=c;default:An(e,t,r,c,n,null)}t=s,n=l,e.multiple=!!i,t!=null?m0(e,!!i,t,!1):n!=null&&m0(e,!!i,n,!0);return;case"textarea":Ie("invalid",e),s=r=i=null;for(l in n)if(n.hasOwnProperty(l)&&(c=n[l],c!=null))switch(l){case"value":i=c;break;case"defaultValue":r=c;break;case"children":s=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(gt(91));break;default:An(e,t,l,c,n,null)}LB(e,i,r,s);return;case"option":for(d in n)n.hasOwnProperty(d)&&(i=n[d],i!=null)&&(d==="selected"?e.selected=i&&typeof i!="function"&&typeof i!="symbol":An(e,t,d,i,n,null));return;case"dialog":Ie("beforetoggle",e),Ie("toggle",e),Ie("cancel",e),Ie("close",e);break;case"iframe":case"object":Ie("load",e);break;case"video":case"audio":for(i=0;i<ay.length;i++)Ie(ay[i],e);break;case"image":Ie("error",e),Ie("load",e);break;case"details":Ie("toggle",e);break;case"embed":case"source":case"link":Ie("error",e),Ie("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(h in n)if(n.hasOwnProperty(h)&&(i=n[h],i!=null))switch(h){case"children":case"dangerouslySetInnerHTML":throw Error(gt(137,t));default:An(e,t,h,i,n,null)}return;default:if(XO(t)){for(p in n)n.hasOwnProperty(p)&&(i=n[p],i!==void 0&&MO(e,t,p,i,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(i=n[c],i!=null&&An(e,t,c,i,n,null))}function zQ(e,t,n,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,s=null,l=null,c=null,d=null,h=null,p=null;for(b in n){var y=n[b];if(n.hasOwnProperty(b)&&y!=null)switch(b){case"checked":break;case"value":break;case"defaultValue":d=y;default:i.hasOwnProperty(b)||An(e,t,b,null,i,y)}}for(var g in i){var b=i[g];if(y=n[g],i.hasOwnProperty(g)&&(b!=null||y!=null))switch(g){case"type":s=b;break;case"name":r=b;break;case"checked":h=b;break;case"defaultChecked":p=b;break;case"value":l=b;break;case"defaultValue":c=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(gt(137,t));break;default:b!==y&&An(e,t,g,b,i,y)}}eO(e,l,c,d,h,p,s,r);return;case"select":b=l=c=g=null;for(s in n)if(d=n[s],n.hasOwnProperty(s)&&d!=null)switch(s){case"value":break;case"multiple":b=d;default:i.hasOwnProperty(s)||An(e,t,s,null,i,d)}for(r in i)if(s=i[r],d=n[r],i.hasOwnProperty(r)&&(s!=null||d!=null))switch(r){case"value":g=s;break;case"defaultValue":c=s;break;case"multiple":l=s;default:s!==d&&An(e,t,r,s,i,d)}t=c,n=l,i=b,g!=null?m0(e,!!n,g,!1):!!i!=!!n&&(t!=null?m0(e,!!n,t,!0):m0(e,!!n,n?[]:"",!1));return;case"textarea":b=g=null;for(c in n)if(r=n[c],n.hasOwnProperty(c)&&r!=null&&!i.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:An(e,t,c,null,i,r)}for(l in i)if(r=i[l],s=n[l],i.hasOwnProperty(l)&&(r!=null||s!=null))switch(l){case"value":g=r;break;case"defaultValue":b=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(gt(91));break;default:r!==s&&An(e,t,l,r,i,s)}kB(e,g,b);return;case"option":for(var S in n)g=n[S],n.hasOwnProperty(S)&&g!=null&&!i.hasOwnProperty(S)&&(S==="selected"?e.selected=!1:An(e,t,S,null,i,g));for(d in i)g=i[d],b=n[d],i.hasOwnProperty(d)&&g!==b&&(g!=null||b!=null)&&(d==="selected"?e.selected=g&&typeof g!="function"&&typeof g!="symbol":An(e,t,d,g,i,b));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var w in n)g=n[w],n.hasOwnProperty(w)&&g!=null&&!i.hasOwnProperty(w)&&An(e,t,w,null,i,g);for(h in i)if(g=i[h],b=n[h],i.hasOwnProperty(h)&&g!==b&&(g!=null||b!=null))switch(h){case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(gt(137,t));break;default:An(e,t,h,g,i,b)}return;default:if(XO(t)){for(var D in n)g=n[D],n.hasOwnProperty(D)&&g!==void 0&&!i.hasOwnProperty(D)&&MO(e,t,D,void 0,i,g);for(p in i)g=i[p],b=n[p],!i.hasOwnProperty(p)||g===b||g===void 0&&b===void 0||MO(e,t,p,g,i,b);return}}for(var A in n)g=n[A],n.hasOwnProperty(A)&&g!=null&&!i.hasOwnProperty(A)&&An(e,t,A,null,i,g);for(y in i)g=i[y],b=n[y],!i.hasOwnProperty(y)||g===b||g==null&&b==null||An(e,t,y,g,i,b)}function QU(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function kQ(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),i=0;i<n.length;i++){var r=n[i],s=r.transferSize,l=r.initiatorType,c=r.duration;if(s&&c&&QU(l)){for(l=0,c=r.responseEnd,i+=1;i<n.length;i++){var d=n[i],h=d.startTime;if(h>c)break;var p=d.transferSize,y=d.initiatorType;p&&QU(y)&&(d=d.responseEnd,l+=p*(d<c?1:(c-h)/(d-h)))}if(--i,t+=8*(s+l)/(r.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var _O=null,FO=null;function SA(e){return e.nodeType===9?e:e.ownerDocument}function JU(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function j7(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function NO(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var VR=null;function LQ(){var e=window.event;return e&&e.type==="popstate"?e===VR?!1:(VR=e,!0):(VR=null,!1)}var q7=typeof setTimeout=="function"?setTimeout:void 0,PQ=typeof clearTimeout=="function"?clearTimeout:void 0,$U=typeof Promise=="function"?Promise:void 0,UQ=typeof queueMicrotask=="function"?queueMicrotask:typeof $U<"u"?function(e){return $U.resolve(null).then(e).catch(BQ)}:q7;function BQ(e){setTimeout(function(){throw e})}function lf(e){return e==="head"}function tB(e,t){var n=t,i=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"||n==="/&"){if(i===0){e.removeChild(r),_0(t);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")Kv(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,Kv(n);for(var s=n.firstChild;s;){var l=s.nextSibling,c=s.nodeName;s[hy]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&s.rel.toLowerCase()==="stylesheet"||n.removeChild(s),s=l}}else n==="body"&&Kv(e.ownerDocument.body);n=r}while(n);_0(t)}function eB(e,t){var n=e;e=0;do{var i=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=i}while(n)}function zO(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":zO(n),IO(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function HQ(e,t,n,i){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[hy])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var s=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=jo(e.nextSibling),e===null)break}return null}function jQ(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=jo(e.nextSibling),e===null))return null;return e}function V7(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=jo(e.nextSibling),e===null))return null;return e}function kO(e){return e.data==="$?"||e.data==="$~"}function LO(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function qQ(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var i=function(){t(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function jo(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==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var PO=null;function nB(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return jo(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function iB(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function G7(e,t,n){switch(t=SA(n),e){case"html":if(e=t.documentElement,!e)throw Error(gt(452));return e;case"head":if(e=t.head,!e)throw Error(gt(453));return e;case"body":if(e=t.body,!e)throw Error(gt(454));return e;default:throw Error(gt(451))}}function Kv(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);IO(e)}var qo=new Map,aB=new Set;function xA(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Tu=cn.d;cn.d={f:VQ,r:GQ,D:IQ,C:XQ,L:YQ,m:KQ,X:WQ,S:ZQ,M:QQ};function VQ(){var e=Tu.f(),t=UA();return e||t}function GQ(e){var t=N0(e);t!==null&&t.tag===5&&t.type==="form"?PH(t):Tu.r(e)}var P0=typeof document>"u"?null:document;function I7(e,t,n){var i=P0;if(i&&typeof t=="string"&&t){var r=Po(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),aB.has(r)||(aB.add(r),e={rel:e,crossOrigin:n,href:t},i.querySelector(r)===null&&(t=i.createElement("link"),Sa(t,"link",e),ia(t),i.head.appendChild(t)))}}function IQ(e){Tu.D(e),I7("dns-prefetch",e,null)}function XQ(e,t){Tu.C(e,t),I7("preconnect",e,t)}function YQ(e,t,n){Tu.L(e,t,n);var i=P0;if(i&&e&&t){var r='link[rel="preload"][as="'+Po(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Po(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Po(n.imageSizes)+'"]')):r+='[href="'+Po(e)+'"]';var s=r;switch(t){case"style":s=M0(e);break;case"script":s=U0(e)}qo.has(s)||(e=Vn({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),qo.set(s,e),i.querySelector(r)!==null||t==="style"&&i.querySelector(by(s))||t==="script"&&i.querySelector(Sy(s))||(t=i.createElement("link"),Sa(t,"link",e),ia(t),i.head.appendChild(t)))}}function KQ(e,t){Tu.m(e,t);var n=P0;if(n&&e){var i=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Po(i)+'"][href="'+Po(e)+'"]',s=r;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=U0(e)}if(!qo.has(s)&&(e=Vn({rel:"modulepreload",href:e},t),qo.set(s,e),n.querySelector(r)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Sy(s)))return}i=n.createElement("link"),Sa(i,"link",e),ia(i),n.head.appendChild(i)}}}function ZQ(e,t,n){Tu.S(e,t,n);var i=P0;if(i&&e){var r=p0(i).hoistableStyles,s=M0(e);t=t||"default";var l=r.get(s);if(!l){var c={loading:0,preload:null};if(l=i.querySelector(by(s)))c.loading=5;else{e=Vn({rel:"stylesheet",href:e,"data-precedence":t},n),(n=qo.get(s))&&MM(e,n);var d=l=i.createElement("link");ia(d),Sa(d,"link",e),d._p=new Promise(function(h,p){d.onload=h,d.onerror=p}),d.addEventListener("load",function(){c.loading|=1}),d.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Yx(l,t,i)}l={type:"stylesheet",instance:l,count:1,state:c},r.set(s,l)}}}function WQ(e,t){Tu.X(e,t);var n=P0;if(n&&e){var i=p0(n).hoistableScripts,r=U0(e),s=i.get(r);s||(s=n.querySelector(Sy(r)),s||(e=Vn({src:e,async:!0},t),(t=qo.get(r))&&_M(e,t),s=n.createElement("script"),ia(s),Sa(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(r,s))}}function QQ(e,t){Tu.M(e,t);var n=P0;if(n&&e){var i=p0(n).hoistableScripts,r=U0(e),s=i.get(r);s||(s=n.querySelector(Sy(r)),s||(e=Vn({src:e,async:!0,type:"module"},t),(t=qo.get(r))&&_M(e,t),s=n.createElement("script"),ia(s),Sa(s,"link",e),n.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(r,s))}}function rB(e,t,n,i){var r=(r=Yc.current)?xA(r):null;if(!r)throw Error(gt(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=M0(n.href),n=p0(r).hoistableStyles,i=n.get(t),i||(i={type:"style",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=M0(n.href);var s=p0(r).hoistableStyles,l=s.get(e);if(l||(r=r.ownerDocument||r,l={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(e,l),(s=r.querySelector(by(e)))&&!s._p&&(l.instance=s,l.state.loading=5),qo.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},qo.set(e,n),s||JQ(r,e,n,l.state))),t&&i===null)throw Error(gt(528,""));return l}if(t&&i!==null)throw Error(gt(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=U0(n),n=p0(r).hoistableScripts,i=n.get(t),i||(i={type:"script",instance:null,count:0,state:null},n.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(gt(444,e))}}function M0(e){return'href="'+Po(e)+'"'}function by(e){return'link[rel="stylesheet"]['+e+"]"}function X7(e){return Vn({},e,{"data-precedence":e.precedence,precedence:null})}function JQ(e,t,n,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),Sa(t,"link",n),ia(t),e.head.appendChild(t))}function U0(e){return'[src="'+Po(e)+'"]'}function Sy(e){return"script[async]"+e}function oB(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Po(n.href)+'"]');if(i)return t.instance=i,ia(i),i;var r=Vn({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),ia(i),Sa(i,"style",r),Yx(i,n.precedence,e),t.instance=i;case"stylesheet":r=M0(n.href);var s=e.querySelector(by(r));if(s)return t.state.loading|=4,t.instance=s,ia(s),s;i=X7(n),(r=qo.get(r))&&MM(i,r),s=(e.ownerDocument||e).createElement("link"),ia(s);var l=s;return l._p=new Promise(function(c,d){l.onload=c,l.onerror=d}),Sa(s,"link",i),t.state.loading|=4,Yx(s,n.precedence,e),t.instance=s;case"script":return s=U0(n.src),(r=e.querySelector(Sy(s)))?(t.instance=r,ia(r),r):(i=n,(r=qo.get(s))&&(i=Vn({},n),_M(i,r)),e=e.ownerDocument||e,r=e.createElement("script"),ia(r),Sa(r,"link",i),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(gt(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,Yx(i,n.precedence,e));return t.instance}function Yx(e,t,n){for(var i=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=i.length?i[i.length-1]:null,s=r,l=0;l<i.length;l++){var c=i[l];if(c.dataset.precedence===t)s=c;else if(s!==r)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function MM(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function _M(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Kx=null;function sB(e,t,n){if(Kx===null){var i=new Map,r=Kx=new Map;r.set(n,i)}else r=Kx,i=r.get(n),i||(i=new Map,r.set(n,i));if(i.has(e))return i;for(i.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var s=n[r];if(!(s[hy]||s[va]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var l=s.getAttribute(t)||"";l=e+l;var c=i.get(l);c?c.push(s):i.set(l,[s])}}return i}function lB(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function $Q(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Y7(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function tJ(e,t,n,i){if(n.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=M0(i.href),s=t.querySelector(by(r));if(s){t=s._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=AA.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=s,ia(s);return}s=t.ownerDocument||t,i=X7(i),(r=qo.get(r))&&MM(i,r),s=s.createElement("link"),ia(s);var l=s;l._p=new Promise(function(c,d){l.onload=c,l.onerror=d}),Sa(s,"link",i),n.instance=s}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=AA.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var GR=0;function eJ(e,t){return e.stylesheets&&e.count===0&&Zx(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var i=setTimeout(function(){if(e.stylesheets&&Zx(e,e.stylesheets),e.unsuspend){var s=e.unsuspend;e.unsuspend=null,s()}},6e4+t);0<e.imgBytes&&GR===0&&(GR=62500*kQ());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Zx(e,e.stylesheets),e.unsuspend)){var s=e.unsuspend;e.unsuspend=null,s()}},(e.imgBytes>GR?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(r)}}:null}function AA(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Zx(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var wA=null;function Zx(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,wA=new Map,t.forEach(nJ,e),wA=null,AA.call(e))}function nJ(e,t){if(!(t.state.loading&4)){var n=wA.get(e);if(n)var i=n.get(null);else{n=new Map,wA.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<r.length;s++){var l=r[s];(l.nodeName==="LINK"||l.getAttribute("media")!=="not all")&&(n.set(l.dataset.precedence,l),i=l)}i&&n.set(null,i)}r=t.instance,l=r.getAttribute("data-precedence"),s=n.get(l)||i,s===i&&n.set(null,r),n.set(l,r),this.count++,i=AA.bind(this),r.addEventListener("load",i),r.addEventListener("error",i),s?s.parentNode.insertBefore(r,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var oy={$$typeof:pu,Provider:null,Consumer:null,_currentValue:Hd,_currentValue2:Hd,_threadCount:0};function iJ(e,t,n,i,r,s,l,c,d){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=gR(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gR(0),this.hiddenUpdates=gR(null),this.identifierPrefix=i,this.onUncaughtError=r,this.onCaughtError=s,this.onRecoverableError=l,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=d,this.incompleteTransitions=new Map}function K7(e,t,n,i,r,s,l,c,d,h,p,y){return e=new iJ(e,t,n,l,d,h,p,y,c),t=1,s===!0&&(t|=24),s=to(3,null,null,t),e.current=s,s.stateNode=e,t=iM(),t.refCount++,e.pooledCache=t,t.refCount++,s.memoizedState={element:i,isDehydrated:n,cache:t},oM(s),e}function Z7(e){return e?(e=c0,e):c0}function W7(e,t,n,i,r,s){r=Z7(r),i.context===null?i.context=r:i.pendingContext=r,i=Zc(t),i.payload={element:n},s=s===void 0?null:s,s!==null&&(i.callback=s),n=Wc(e,i,t),n!==null&&(Ar(n,e,t),Hv(n,e,t))}function uB(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function FM(e,t){uB(e,t),(e=e.alternate)&&uB(e,t)}function Q7(e){if(e.tag===13||e.tag===31){var t=$d(e,67108864);t!==null&&Ar(t,e,67108864),FM(e,67108864)}}function cB(e){if(e.tag===13||e.tag===31){var t=ro();t=VO(t);var n=$d(e,t);n!==null&&Ar(n,e,t),FM(e,t)}}var EA=!0;function aJ(e,t,n,i){var r=he.T;he.T=null;var s=cn.p;try{cn.p=2,NM(e,t,n,i)}finally{cn.p=s,he.T=r}}function rJ(e,t,n,i){var r=he.T;he.T=null;var s=cn.p;try{cn.p=8,NM(e,t,n,i)}finally{cn.p=s,he.T=r}}function NM(e,t,n,i){if(EA){var r=UO(i);if(r===null)qR(e,t,i,TA,n),fB(e,i);else if(sJ(r,e,t,n,i))i.stopPropagation();else if(fB(e,i),t&4&&-1<oJ.indexOf(e)){for(;r!==null;){var s=N0(r);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var l=Pd(s.pendingLanes);if(l!==0){var c=s;for(c.pendingLanes|=2,c.entangledLanes|=2;l;){var d=1<<31-ao(l);c.entanglements[1]|=d,l&=~d}pl(s),(un&6)===0&&(pA=no()+500,yy(0,!1))}}break;case 31:case 13:c=$d(s,2),c!==null&&Ar(c,s,2),UA(),FM(s,2)}if(s=UO(i),s===null&&qR(e,t,i,TA,n),s===r)break;r=s}r!==null&&i.stopPropagation()}else qR(e,t,i,null,n)}}function UO(e){return e=YO(e),zM(e)}var TA=null;function zM(e){if(TA=null,e=a0(e),e!==null){var t=uy(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=vB(t),e!==null)return e;e=null}else if(n===31){if(e=yB(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return TA=e,null}function J7(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(YZ()){case AB:return 2;case wB:return 8;case tA:case KZ:return 32;case EB:return 268435456;default:return 32}default:return 32}}var BO=!1,$c=null,tf=null,ef=null,sy=new Map,ly=new Map,jc=[],oJ="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".split(" ");function fB(e,t){switch(e){case"focusin":case"focusout":$c=null;break;case"dragenter":case"dragleave":tf=null;break;case"mouseover":case"mouseout":ef=null;break;case"pointerover":case"pointerout":sy.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ly.delete(t.pointerId)}}function Ov(e,t,n,i,r,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:s,targetContainers:[r]},t!==null&&(t=N0(t),t!==null&&Q7(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function sJ(e,t,n,i,r){switch(t){case"focusin":return $c=Ov($c,e,t,n,i,r),!0;case"dragenter":return tf=Ov(tf,e,t,n,i,r),!0;case"mouseover":return ef=Ov(ef,e,t,n,i,r),!0;case"pointerover":var s=r.pointerId;return sy.set(s,Ov(sy.get(s)||null,e,t,n,i,r)),!0;case"gotpointercapture":return s=r.pointerId,ly.set(s,Ov(ly.get(s)||null,e,t,n,i,r)),!0}return!1}function $7(e){var t=a0(e.target);if(t!==null){var n=uy(t);if(n!==null){if(t=n.tag,t===13){if(t=vB(n),t!==null){e.blockedOn=t,KP(e.priority,function(){cB(n)});return}}else if(t===31){if(t=yB(n),t!==null){e.blockedOn=t,KP(e.priority,function(){cB(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Wx(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=UO(e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);iO=i,n.target.dispatchEvent(i),iO=null}else return t=N0(n),t!==null&&Q7(t),e.blockedOn=n,!1;t.shift()}return!0}function dB(e,t,n){Wx(e)&&n.delete(t)}function lJ(){BO=!1,$c!==null&&Wx($c)&&($c=null),tf!==null&&Wx(tf)&&(tf=null),ef!==null&&Wx(ef)&&(ef=null),sy.forEach(dB),ly.forEach(dB)}function zx(e,t){e.blockedOn===t&&(e.blockedOn=null,BO||(BO=!0,Ii.unstable_scheduleCallback(Ii.unstable_NormalPriority,lJ)))}var kx=null;function hB(e){kx!==e&&(kx=e,Ii.unstable_scheduleCallback(Ii.unstable_NormalPriority,function(){kx===e&&(kx=null);for(var t=0;t<e.length;t+=3){var n=e[t],i=e[t+1],r=e[t+2];if(typeof i!="function"){if(zM(i||n)===null)continue;break}var s=N0(n);s!==null&&(e.splice(t,3),t-=3,bO(s,{pending:!0,data:r,method:n.method,action:i},i,r))}}))}function _0(e){function t(d){return zx(d,e)}$c!==null&&zx($c,e),tf!==null&&zx(tf,e),ef!==null&&zx(ef,e),sy.forEach(t),ly.forEach(t);for(var n=0;n<jc.length;n++){var i=jc[n];i.blockedOn===e&&(i.blockedOn=null)}for(;0<jc.length&&(n=jc[0],n.blockedOn===null);)$7(n),n.blockedOn===null&&jc.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var r=n[i],s=n[i+1],l=r[wr]||null;if(typeof s=="function")l||hB(n);else if(l){var c=null;if(s&&s.hasAttribute("formAction")){if(r=s,l=s[wr]||null)c=l.formAction;else if(zM(r)!==null)continue}else c=l.action;typeof c=="function"?n[i+1]=c:(n.splice(i,3),i-=3),hB(n)}}}function tj(){function e(s){s.canIntercept&&s.info==="react-transition"&&s.intercept({handler:function(){return new Promise(function(l){return r=l})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),i||setTimeout(n,20)}function n(){if(!i&&!navigation.transition){var s=navigation.currentEntry;s&&s.url!=null&&navigation.navigate(s.url,{state:s.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function kM(e){this._internalRoot=e}jA.prototype.render=kM.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(gt(409));var n=t.current,i=ro();W7(n,i,e,t,null,null)};jA.prototype.unmount=kM.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;W7(e.current,2,null,e,null,null),UA(),t[F0]=null}};function jA(e){this._internalRoot=e}jA.prototype.unstable_scheduleHydration=function(e){if(e){var t=OB();e={blockedOn:null,target:e,priority:t};for(var n=0;n<jc.length&&t!==0&&t<jc[n].priority;n++);jc.splice(n,0,e),n===0&&$7(e)}};var pB=mB.version;if(pB!=="19.2.5")throw Error(gt(527,pB,"19.2.5"));cn.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(gt(188)):(e=Object.keys(e).join(","),Error(gt(268,e)));return e=HZ(t),e=e!==null?bB(e):null,e=e===null?null:e.stateNode,e};var uJ={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:he,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Mv=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Mv.isDisabled&&Mv.supportsFiber))try{cy=Mv.inject(uJ),io=Mv}catch{}var Mv;qA.createRoot=function(e,t){if(!gB(e))throw Error(gt(299));var n=!1,i="",r=IH,s=XH,l=YH;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=K7(e,1,!1,null,null,n,i,null,r,s,l,tj),e[F0]=t.current,OM(e),new kM(t)};qA.hydrateRoot=function(e,t,n){if(!gB(e))throw Error(gt(299));var i=!1,r="",s=IH,l=XH,c=YH,d=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(s=n.onUncaughtError),n.onCaughtError!==void 0&&(l=n.onCaughtError),n.onRecoverableError!==void 0&&(c=n.onRecoverableError),n.formState!==void 0&&(d=n.formState)),t=K7(e,1,!0,t,n??null,i,r,d,s,l,c,tj),t.context=Z7(null),n=t.current,i=ro(),i=VO(i),r=Zc(i),r.callback=null,Wc(n,r,i),n=i,t.current.lanes=n,dy(t,n),pl(t),e[F0]=t.current,OM(e),new jA(t)};qA.version="19.2.5"});var nj=ln(VA=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(a,o){for(a=a.memoizedState;a!==null&&0<o;)a=a.next,o--;return a}function t(a,o,u,f){if(u>=o.length)return f;var m=o[u],v=ji(a)?a.slice():Ue({},a);return v[m]=t(a[m],o,u+1,f),v}function n(a,o,u){if(o.length!==u.length)console.warn("copyWithRename() expects paths of the same length");else{for(var f=0;f<u.length-1;f++)if(o[f]!==u[f]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return i(a,o,u,0)}}function i(a,o,u,f){var m=o[f],v=ji(a)?a.slice():Ue({},a);return f+1===o.length?(v[u[f]]=v[m],ji(v)?v.splice(m,1):delete v[m]):v[m]=i(a[m],o,u,f+1),v}function r(a,o,u){var f=o[u],m=ji(a)?a.slice():Ue({},a);return u+1===o.length?(ji(m)?m.splice(f,1):delete m[f],m):(m[f]=r(a[f],o,u+1),m)}function s(){return!1}function l(){return null}function c(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function d(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function h(){}function p(){}function y(a){var o=[];return a.forEach(function(u){o.push(u)}),o.sort().join(", ")}function g(a,o,u,f){return new eX(a,o,u,f)}function b(a,o){a.context===hc&&(dC(a.current,2,o,a,null,null),ap())}function S(a,o){if(Ao!==null){var u=o.staleFamilies;o=o.updatedFamilies,mg(),xz(a.current,o,u),ap()}}function w(a){Ao=a}function D(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}function A(a){var o=a,u=a;if(a.alternate)for(;o.return;)o=o.return;else{a=o;do o=a,(o.flags&4098)!==0&&(u=o.return),a=o.return;while(a)}return o.tag===3?u:null}function T(a){if(a.tag===13){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function C(a){if(a.tag===31){var o=a.memoizedState;if(o===null&&(a=a.alternate,a!==null&&(o=a.memoizedState)),o!==null)return o.dehydrated}return null}function O(a){if(A(a)!==a)throw Error("Unable to find node on an unmounted component.")}function M(a){var o=a.alternate;if(!o){if(o=A(a),o===null)throw Error("Unable to find node on an unmounted component.");return o!==a?null:a}for(var u=a,f=o;;){var m=u.return;if(m===null)break;var v=m.alternate;if(v===null){if(f=m.return,f!==null){u=f;continue}break}if(m.child===v.child){for(v=m.child;v;){if(v===u)return O(m),a;if(v===f)return O(m),o;v=v.sibling}throw Error("Unable to find node on an unmounted component.")}if(u.return!==f.return)u=m,f=v;else{for(var x=!1,E=m.child;E;){if(E===u){x=!0,u=m,f=v;break}if(E===f){x=!0,f=m,u=v;break}E=E.sibling}if(!x){for(E=v.child;E;){if(E===u){x=!0,u=v,f=m;break}if(E===f){x=!0,f=v,u=m;break}E=E.sibling}if(!x)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(u.alternate!==f)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(u.tag!==3)throw Error("Unable to find node on an unmounted component.");return u.stateNode.current===u?a:o}function k(a){var o=a.tag;if(o===5||o===26||o===27||o===6)return a;for(a=a.child;a!==null;){if(o=k(a),o!==null)return o;a=a.sibling}return null}function z(a){return a===null||typeof a!="object"?null:(a=R4&&a[R4]||a["@@iterator"],typeof a=="function"?a:null)}function P(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===wY?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case fp:return"Fragment";case bC:return"Profiler";case aS:return"StrictMode";case xC:return"Suspense";case AC:return"SuspenseList";case wC:return"Activity"}if(typeof a=="object")switch(typeof a.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),a.$$typeof){case cp:return"Portal";case Qs:return a.displayName||"Context";case SC:return(a._context.displayName||"Context")+".Consumer";case Tg:var o=a.render;return a=a.displayName,a||(a=o.displayName||o.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case rS:return o=a.displayName||null,o!==null?o:P(a.type)||"Memo";case Gr:o=a._payload,a=a._init;try{return P(a(o))}catch{}}return null}function U(a){return typeof a.tag=="number"?B(a):typeof a.name=="string"?a.name:null}function B(a){var o=a.type;switch(a.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(o._context.displayName||"Context")+".Consumer";case 10:return o.displayName||"Context";case 18:return"DehydratedFragment";case 11:return a=o.render,a=a.displayName||a.name||"",o.displayName||(a!==""?"ForwardRef("+a+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return P(o);case 8:return o===aS?"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 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;break;case 29:if(o=a._debugInfo,o!=null){for(var u=o.length-1;0<=u;u--)if(typeof o[u].name=="string")return o[u].name}if(a.return!==null)return B(a.return)}return null}function W(a){return{current:a}}function Y(a,o){0>Vl?console.error("Unexpected pop."):(o!==TC[Vl]&&console.error("Unexpected Fiber popped."),a.current=EC[Vl],EC[Vl]=null,TC[Vl]=null,Vl--)}function ot(a,o,u){Vl++,EC[Vl]=a.current,TC[Vl]=u,a.current=o}function ft(a){return a===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),a}function $(a,o){ot(sc,o,a),ot(Cg,a,a),ot(oc,null,a);var u=o.nodeType;switch(u){case 9:case 11:u=u===9?"#document":"#fragment",o=(o=o.documentElement)&&(o=o.namespaceURI)?J8(o):iu;break;default:if(u=o.tagName,o=o.namespaceURI)o=J8(o),o=$8(o,u);else switch(u){case"svg":o=Ip;break;case"math":o=ix;break;default:o=iu}}u=u.toLowerCase(),u=XN(null,u),u={context:o,ancestorInfo:u},Y(oc,a),ot(oc,u,a)}function tt(a){Y(oc,a),Y(Cg,a),Y(sc,a)}function K(){return ft(oc.current)}function wt(a){a.memoizedState!==null&&ot(oS,a,a);var o=ft(oc.current),u=a.type,f=$8(o.context,u);u=XN(o.ancestorInfo,u),f={context:f,ancestorInfo:u},o!==f&&(ot(Cg,a,a),ot(oc,f,a))}function Ct(a){Cg.current===a&&(Y(oc,a),Y(Cg,a)),oS.current===a&&(Y(oS,a),vv._currentValue=zd)}function Yt(){}function nt(){if(Dg===0){O4=console.log,M4=console.info,_4=console.warn,F4=console.error,N4=console.group,z4=console.groupCollapsed,k4=console.groupEnd;var a={configurable:!0,enumerable:!0,value:Yt,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}Dg++}function yt(){if(Dg--,Dg===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ue({},a,{value:O4}),info:Ue({},a,{value:M4}),warn:Ue({},a,{value:_4}),error:Ue({},a,{value:F4}),group:Ue({},a,{value:N4}),groupCollapsed:Ue({},a,{value:z4}),groupEnd:Ue({},a,{value:k4})})}0>Dg&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Tt(a){var o=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,a=a.stack,Error.prepareStackTrace=o,a.startsWith(`Error: react-stack-top-frame
|
|
26
|
+
`)&&(a=a.slice(29)),o=a.indexOf(`
|
|
27
|
+
`),o!==-1&&(a=a.slice(o+1)),o=a.indexOf("react_stack_bottom_frame"),o!==-1&&(o=a.lastIndexOf(`
|
|
28
|
+
`,o)),o!==-1)a=a.slice(0,o);else return"";return a}function Rt(a){if(CC===void 0)try{throw Error()}catch(u){var o=u.stack.trim().match(/\n( *(at )?)/);CC=o&&o[1]||"",L4=-1<u.stack.indexOf(`
|
|
29
|
+
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
30
|
+
`+CC+a+L4}function De(a,o){if(!a||DC)return"";var u=RC.get(a);if(u!==void 0)return u;DC=!0,u=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var f=null;f=ut.H,ut.H=null,nt();try{var m={DetermineComponentFrameRoot:function(){try{if(o){var j=function(){throw Error()};if(Object.defineProperty(j.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(j,[])}catch(Dt){var at=Dt}Reflect.construct(a,[],j)}else{try{j.call()}catch(Dt){at=Dt}a.call(j.prototype)}}else{try{throw Error()}catch(Dt){at=Dt}(j=a())&&typeof j.catch=="function"&&j.catch(function(){})}}catch(Dt){if(Dt&&at&&typeof Dt.stack=="string")return[Dt.stack,at.stack]}return[null,null]}};m.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var v=Object.getOwnPropertyDescriptor(m.DetermineComponentFrameRoot,"name");v&&v.configurable&&Object.defineProperty(m.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var x=m.DetermineComponentFrameRoot(),E=x[0],R=x[1];if(E&&R){var _=E.split(`
|
|
31
|
+
`),X=R.split(`
|
|
32
|
+
`);for(x=v=0;v<_.length&&!_[v].includes("DetermineComponentFrameRoot");)v++;for(;x<X.length&&!X[x].includes("DetermineComponentFrameRoot");)x++;if(v===_.length||x===X.length)for(v=_.length-1,x=X.length-1;1<=v&&0<=x&&_[v]!==X[x];)x--;for(;1<=v&&0<=x;v--,x--)if(_[v]!==X[x]){if(v!==1||x!==1)do if(v--,x--,0>x||_[v]!==X[x]){var Z=`
|
|
33
|
+
`+_[v].replace(" at new "," at ");return a.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",a.displayName)),typeof a=="function"&&RC.set(a,Z),Z}while(1<=v&&0<=x);break}}}finally{DC=!1,ut.H=f,yt(),Error.prepareStackTrace=u}return _=(_=a?a.displayName||a.name:"")?Rt(_):"",typeof a=="function"&&RC.set(a,_),_}function Mt(a,o){switch(a.tag){case 26:case 27:case 5:return Rt(a.type);case 16:return Rt("Lazy");case 13:return a.child!==o&&o!==null?Rt("Suspense Fallback"):Rt("Suspense");case 19:return Rt("SuspenseList");case 0:case 15:return De(a.type,!1);case 11:return De(a.type.render,!1);case 1:return De(a.type,!0);case 31:return Rt("Activity");default:return""}}function zt(a){try{var o="",u=null;do{o+=Mt(a,u);var f=a._debugInfo;if(f)for(var m=f.length-1;0<=m;m--){var v=f[m];if(typeof v.name=="string"){var x=o;t:{var E=v.name,R=v.env,_=v.debugLocation;if(_!=null){var X=Tt(_),Z=X.lastIndexOf(`
|
|
34
|
+
`),j=Z===-1?X:X.slice(Z+1);if(j.indexOf(E)!==-1){var at=`
|
|
35
|
+
`+j;break t}}at=Rt(E+(R?" ["+R+"]":""))}o=x+at}}u=a,a=a.return}while(a);return o}catch(Dt){return`
|
|
36
|
+
Error generating stack: `+Dt.message+`
|
|
37
|
+
`+Dt.stack}}function ce(a){return(a=a?a.displayName||a.name:"")?Rt(a):""}function en(){if(Ir===null)return null;var a=Ir._debugOwner;return a!=null?U(a):null}function In(){if(Ir===null)return"";var a=Ir;try{var o="";switch(a.tag===6&&(a=a.return),a.tag){case 26:case 27:case 5:o+=Rt(a.type);break;case 13:o+=Rt("Suspense");break;case 19:o+=Rt("SuspenseList");break;case 31:o+=Rt("Activity");break;case 30:case 0:case 15:case 1:a._debugOwner||o!==""||(o+=ce(a.type));break;case 11:a._debugOwner||o!==""||(o+=ce(a.type.render))}for(;a;)if(typeof a.tag=="number"){var u=a;a=u._debugOwner;var f=u._debugStack;if(a&&f){var m=Tt(f);m!==""&&(o+=`
|
|
38
|
+
`+m)}}else if(a.debugStack!=null){var v=a.debugStack;(a=a.owner)&&v&&(o+=`
|
|
39
|
+
`+Tt(v))}else break;var x=o}catch(E){x=`
|
|
40
|
+
Error generating stack: `+E.message+`
|
|
41
|
+
`+E.stack}return x}function Et(a,o,u,f,m,v,x){var E=Ir;oa(a);try{return a!==null&&a._debugTask?a._debugTask.run(o.bind(null,u,f,m,v,x)):o(u,f,m,v,x)}finally{oa(E)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function oa(a){ut.getCurrentStack=a===null?null:In,Js=!1,Ir=a}function Hi(a){return typeof Symbol=="function"&&Symbol.toStringTag&&a[Symbol.toStringTag]||a.constructor.name||"Object"}function Ma(a){try{return ei(a),!1}catch{return!0}}function ei(a){return""+a}function et(a,o){if(Ma(a))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",o,Hi(a)),ei(a)}function ye(a,o){if(Ma(a))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",o,Hi(a)),ei(a)}function Ft(a){if(Ma(a))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Hi(a)),ei(a)}function ue(a){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var o=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(o.isDisabled)return!0;if(!o.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{hp=o.inject(a),Fa=o}catch(u){console.error("React instrumentation encountered an error: %o.",u)}return!!o.checkDCE}function Le(a){if(typeof MY=="function"&&_Y(a),Fa&&typeof Fa.setStrictMode=="function")try{Fa.setStrictMode(hp,a)}catch(o){$s||($s=!0,console.error("React instrumentation encountered an error: %o",o))}}function we(a){return a>>>=0,a===0?32:31-(FY(a)/NY|0)|0}function fn(a){var o=a&42;if(o!==0)return o;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return a&261888;case 262144:case 524288:case 1048576:case 2097152:return a&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),a}}function Pn(a,o,u){var f=a.pendingLanes;if(f===0)return 0;var m=0,v=a.suspendedLanes,x=a.pingedLanes;a=a.warmLanes;var E=f&134217727;return E!==0?(f=E&~v,f!==0?m=fn(f):(x&=E,x!==0?m=fn(x):u||(u=E&~a,u!==0&&(m=fn(u))))):(E=f&~v,E!==0?m=fn(E):x!==0?m=fn(x):u||(u=f&~a,u!==0&&(m=fn(u)))),m===0?0:o!==0&&o!==m&&(o&v)===0&&(v=m&-m,u=o&-o,v>=u||v===32&&(u&4194048)!==0)?o:m}function xe(a,o){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&o)===0}function rs(a,o){switch(a){case 1:case 2:case 4:case 8:case 64:return o+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function Ga(){var a=uS;return uS<<=1,(uS&62914560)===0&&(uS=4194304),a}function sa(a){for(var o=[],u=0;31>u;u++)o.push(a);return o}function vo(a,o){a.pendingLanes|=o,o!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function Ih(a,o,u,f,m,v){var x=a.pendingLanes;a.pendingLanes=u,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=u,a.entangledLanes&=u,a.errorRecoveryDisabledLanes&=u,a.shellSuspendCounter=0;var E=a.entanglements,R=a.expirationTimes,_=a.hiddenUpdates;for(u=x&~u;0<u;){var X=31-Xa(u),Z=1<<X;E[X]=0,R[X]=-1;var j=_[X];if(j!==null)for(_[X]=null,X=0;X<j.length;X++){var at=j[X];at!==null&&(at.lane&=-536870913)}u&=~Z}f!==0&&Fs(a,f,0),v!==0&&m===0&&a.tag!==0&&(a.suspendedLanes|=v&~(x&~o))}function Fs(a,o,u){a.pendingLanes|=o,a.suspendedLanes&=~o;var f=31-Xa(o);a.entangledLanes|=o,a.entanglements[f]=a.entanglements[f]|1073741824|u&261930}function Ns(a,o){var u=a.entangledLanes|=o;for(a=a.entanglements;u;){var f=31-Xa(u),m=1<<f;m&o|a[f]&o&&(a[f]|=o),u&=~m}}function Nl(a,o){var u=o&-o;return u=(u&42)!==0?1:zl(u),(u&(a.suspendedLanes|o))!==0?0:u}function zl(a){switch(a){case 2:a=1;break;case 8:a=4;break;case 32:a=16;break;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:a=128;break;case 268435456:a=134217728;break;default:a=0}return a}function Wf(a,o,u){if(tl)for(a=a.pendingUpdatersLaneMap;0<u;){var f=31-Xa(u),m=1<<f;a[f].add(o),u&=~m}}function os(a,o){if(tl)for(var u=a.pendingUpdatersLaneMap,f=a.memoizedUpdaters;0<o;){var m=31-Xa(o);a=1<<m,m=u[m],0<m.size&&(m.forEach(function(v){var x=v.alternate;x!==null&&f.has(x)||f.add(v)}),m.clear()),o&=~a}}function F(a){return a&=-a,Xr!==0&&Xr<a?fs!==0&&fs<a?(a&134217727)!==0?el:cS:fs:Xr}function Q(){var a=sn.p;return a!==0?a:(a=window.event,a===void 0?el:x4(a.type))}function mt(a,o){var u=sn.p;try{return sn.p=a,o()}finally{sn.p=u}}function Ot(a){delete a[pa],delete a[Ya],delete a[NC],delete a[zY],delete a[kY]}function Ut(a){var o=a[pa];if(o)return o;for(var u=a.parentNode;u;){if(o=u[uc]||u[pa]){if(u=o.alternate,o.child!==null||u!==null&&u.child!==null)for(a=s4(a);a!==null;){if(u=a[pa])return u;a=s4(a)}return o}a=u,u=a.parentNode}return null}function V(a){if(a=a[pa]||a[uc]){var o=a.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return a}return null}function st(a){var o=a.tag;if(o===5||o===26||o===27||o===6)return a.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function lt(a){var o=a[P4];return o||(o=a[P4]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function dt(a){a[Rg]=!0}function pt(a,o){vt(a,o),vt(a+"Capture",o)}function vt(a,o){dd[a]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",a),dd[a]=o;var u=a.toLowerCase();for(zC[u]=a,a==="onDoubleClick"&&(zC.ondblclick=a),a=0;a<o.length;a++)U4.add(o[a])}function Gt(a,o){LY[o.type]||o.onChange||o.onInput||o.readOnly||o.disabled||o.value==null||console.error(a==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),o.onChange||o.readOnly||o.disabled||o.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ae(a){return cs.call(H4,a)?!0:cs.call(B4,a)?!1:PY.test(a)?H4[a]=!0:(B4[a]=!0,console.error("Invalid attribute name: `%s`",a),!1)}function la(a,o,u){if(Ae(o)){if(!a.hasAttribute(o)){switch(typeof u){case"symbol":case"object":return u;case"function":return u;case"boolean":if(u===!1)return u}return u===void 0?void 0:null}return a=a.getAttribute(o),a===""&&u===!0?!0:(et(u,o),a===""+u?u:a)}}function ua(a,o,u){if(Ae(o))if(u===null)a.removeAttribute(o);else{switch(typeof u){case"undefined":case"function":case"symbol":a.removeAttribute(o);return;case"boolean":var f=o.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){a.removeAttribute(o);return}}et(u,o),a.setAttribute(o,""+u)}}function ca(a,o,u){if(u===null)a.removeAttribute(o);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(o);return}et(u,o),a.setAttribute(o,""+u)}}function Cn(a,o,u,f){if(f===null)a.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(u);return}et(f,u),a.setAttributeNS(o,u,""+f)}}function oi(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return Ft(a),a;default:return""}}function Vm(a){var o=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function dT(a,o,u){var f=Object.getOwnPropertyDescriptor(a.constructor.prototype,o);if(!a.hasOwnProperty(o)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var m=f.get,v=f.set;return Object.defineProperty(a,o,{configurable:!0,get:function(){return m.call(this)},set:function(x){Ft(x),u=""+x,v.call(this,x)}}),Object.defineProperty(a,o,{enumerable:f.enumerable}),{getValue:function(){return u},setValue:function(x){Ft(x),u=""+x},stopTracking:function(){a._valueTracker=null,delete a[o]}}}}function hT(a){if(!a._valueTracker){var o=Vm(a)?"checked":"value";a._valueTracker=dT(a,o,""+a[o])}}function NN(a){if(!a)return!1;var o=a._valueTracker;if(!o)return!0;var u=o.getValue(),f="";return a&&(f=Vm(a)?a.checked?"true":"false":a.value),a=f,a!==u?(o.setValue(a),!0):!1}function Jb(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}function yo(a){return a.replace(UY,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function zN(a,o){o.checked===void 0||o.defaultChecked===void 0||q4||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",en()||"A component",o.type),q4=!0),o.value===void 0||o.defaultValue===void 0||j4||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",en()||"A component",o.type),j4=!0)}function pT(a,o,u,f,m,v,x,E){a.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?(et(x,"type"),a.type=x):a.removeAttribute("type"),o!=null?x==="number"?(o===0&&a.value===""||a.value!=o)&&(a.value=""+oi(o)):a.value!==""+oi(o)&&(a.value=""+oi(o)):x!=="submit"&&x!=="reset"||a.removeAttribute("value"),o!=null?mT(a,x,oi(o)):u!=null?mT(a,x,oi(u)):f!=null&&a.removeAttribute("value"),m==null&&v!=null&&(a.defaultChecked=!!v),m!=null&&(a.checked=m&&typeof m!="function"&&typeof m!="symbol"),E!=null&&typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"?(et(E,"name"),a.name=""+oi(E)):a.removeAttribute("name")}function kN(a,o,u,f,m,v,x,E){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(et(v,"type"),a.type=v),o!=null||u!=null){if(!(v!=="submit"&&v!=="reset"||o!=null)){hT(a);return}u=u!=null?""+oi(u):"",o=o!=null?""+oi(o):u,E||o===a.value||(a.value=o),a.defaultValue=o}f=f??m,f=typeof f!="function"&&typeof f!="symbol"&&!!f,a.checked=E?a.checked:!!f,a.defaultChecked=!!f,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(et(x,"name"),a.name=x),hT(a)}function mT(a,o,u){o==="number"&&Jb(a.ownerDocument)===a||a.defaultValue===""+u||(a.defaultValue=""+u)}function LN(a,o){o.value==null&&(typeof o.children=="object"&&o.children!==null?yC.Children.forEach(o.children,function(u){u==null||typeof u=="string"||typeof u=="number"||typeof u=="bigint"||G4||(G4=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):o.dangerouslySetInnerHTML==null||I4||(I4=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),o.selected==null||V4||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),V4=!0)}function PN(){var a=en();return a?`
|
|
42
|
+
|
|
43
|
+
Check the render method of \``+a+"`.":""}function Xh(a,o,u,f){if(a=a.options,o){o={};for(var m=0;m<u.length;m++)o["$"+u[m]]=!0;for(u=0;u<a.length;u++)m=o.hasOwnProperty("$"+a[u].value),a[u].selected!==m&&(a[u].selected=m),m&&f&&(a[u].defaultSelected=!0)}else{for(u=""+oi(u),o=null,m=0;m<a.length;m++){if(a[m].value===u){a[m].selected=!0,f&&(a[m].defaultSelected=!0);return}o!==null||a[m].disabled||(o=a[m])}o!==null&&(o.selected=!0)}}function UN(a,o){for(a=0;a<Y4.length;a++){var u=Y4[a];if(o[u]!=null){var f=ji(o[u]);o.multiple&&!f?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",u,PN()):!o.multiple&&f&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",u,PN())}}o.value===void 0||o.defaultValue===void 0||X4||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),X4=!0)}function BN(a,o){o.value===void 0||o.defaultValue===void 0||K4||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",en()||"A component"),K4=!0),o.children!=null&&o.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function HN(a,o,u){if(o!=null&&(o=""+oi(o),o!==a.value&&(a.value=o),u==null)){a.defaultValue!==o&&(a.defaultValue=o);return}a.defaultValue=u!=null?""+oi(u):""}function jN(a,o,u,f){if(o==null){if(f!=null){if(u!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ji(f)){if(1<f.length)throw Error("<textarea> can only have at most one child.");f=f[0]}u=f}u==null&&(u=""),o=u}u=oi(o),a.defaultValue=u,f=a.textContent,f===u&&f!==""&&f!==null&&(a.value=f),hT(a)}function qN(a,o){return a.serverProps===void 0&&a.serverTail.length===0&&a.children.length===1&&3<a.distanceFromLeaf&&a.distanceFromLeaf>15-o?qN(a.children[0],o):a}function Lr(a){return" "+" ".repeat(a)}function Yh(a){return"+ "+" ".repeat(a)}function Qf(a){return"- "+" ".repeat(a)}function VN(a){switch(a.tag){case 26:case 27:case 5:return a.type;case 16:return"Lazy";case 31:return"Activity";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return a=a.type,a.displayName||a.name||null;case 11:return a=a.type.render,a.displayName||a.name||null;case 1:return a=a.type,a.displayName||a.name||null;default:return null}}function Gm(a,o){return Z4.test(a)?(a=JSON.stringify(a),a.length>o-2?8>o?'{"..."}':"{"+a.slice(0,o-7)+'..."}':"{"+a+"}"):a.length>o?5>o?'{"..."}':a.slice(0,o-3)+"...":a}function $b(a,o,u){var f=120-2*u;if(o===null)return Yh(u)+Gm(a,f)+`
|
|
44
|
+
`;if(typeof o=="string"){for(var m=0;m<o.length&&m<a.length&&o.charCodeAt(m)===a.charCodeAt(m);m++);return m>f-8&&10<m&&(a="..."+a.slice(m-8),o="..."+o.slice(m-8)),Yh(u)+Gm(a,f)+`
|
|
45
|
+
`+Qf(u)+Gm(o,f)+`
|
|
46
|
+
`}return Lr(u)+Gm(a,f)+`
|
|
47
|
+
`}function gT(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(o,u){return u})}function Im(a,o){switch(typeof a){case"string":return a=JSON.stringify(a),a.length>o?5>o?'"..."':a.slice(0,o-4)+'..."':a;case"object":if(a===null)return"null";if(ji(a))return"[...]";if(a.$$typeof===Ws)return(o=P(a.type))?"<"+o+">":"<...>";var u=gT(a);if(u==="Object"){u="",o-=2;for(var f in a)if(a.hasOwnProperty(f)){var m=JSON.stringify(f);if(m!=='"'+f+'"'&&(f=m),o-=f.length-2,m=Im(a[f],15>o?o:15),o-=m.length,0>o){u+=u===""?"...":", ...";break}u+=(u===""?"":",")+f+":"+m}return"{"+u+"}"}return u;case"function":return(o=a.displayName||a.name)?"function "+o:"function";default:return String(a)}}function Kh(a,o){return typeof a!="string"||Z4.test(a)?"{"+Im(a,o-2)+"}":a.length>o-2?5>o?'"..."':'"'+a.slice(0,o-5)+'..."':'"'+a+'"'}function vT(a,o,u){var f=120-u.length-a.length,m=[],v;for(v in o)if(o.hasOwnProperty(v)&&v!=="children"){var x=Kh(o[v],120-u.length-v.length-1);f-=v.length+x.length+2,m.push(v+"="+x)}return m.length===0?u+"<"+a+`>
|
|
48
|
+
`:0<f?u+"<"+a+" "+m.join(" ")+`>
|
|
49
|
+
`:u+"<"+a+`
|
|
50
|
+
`+u+" "+m.join(`
|
|
51
|
+
`+u+" ")+`
|
|
52
|
+
`+u+`>
|
|
53
|
+
`}function NI(a,o,u){var f="",m=Ue({},o),v;for(v in a)if(a.hasOwnProperty(v)){delete m[v];var x=120-2*u-v.length-2,E=Im(a[v],x);o.hasOwnProperty(v)?(x=Im(o[v],x),f+=Yh(u)+v+": "+E+`
|
|
54
|
+
`,f+=Qf(u)+v+": "+x+`
|
|
55
|
+
`):f+=Yh(u)+v+": "+E+`
|
|
56
|
+
`}for(var R in m)m.hasOwnProperty(R)&&(a=Im(m[R],120-2*u-R.length-2),f+=Qf(u)+R+": "+a+`
|
|
57
|
+
`);return f}function zI(a,o,u,f){var m="",v=new Map;for(_ in u)u.hasOwnProperty(_)&&v.set(_.toLowerCase(),_);if(v.size===1&&v.has("children"))m+=vT(a,o,Lr(f));else{for(var x in o)if(o.hasOwnProperty(x)&&x!=="children"){var E=120-2*(f+1)-x.length-1,R=v.get(x.toLowerCase());if(R!==void 0){v.delete(x.toLowerCase());var _=o[x];R=u[R];var X=Kh(_,E);E=Kh(R,E),typeof _=="object"&&_!==null&&typeof R=="object"&&R!==null&&gT(_)==="Object"&&gT(R)==="Object"&&(2<Object.keys(_).length||2<Object.keys(R).length||-1<X.indexOf("...")||-1<E.indexOf("..."))?m+=Lr(f+1)+x+`={{
|
|
58
|
+
`+NI(_,R,f+2)+Lr(f+1)+`}}
|
|
59
|
+
`:(m+=Yh(f+1)+x+"="+X+`
|
|
60
|
+
`,m+=Qf(f+1)+x+"="+E+`
|
|
61
|
+
`)}else m+=Lr(f+1)+x+"="+Kh(o[x],E)+`
|
|
62
|
+
`}v.forEach(function(Z){if(Z!=="children"){var j=120-2*(f+1)-Z.length-1;m+=Qf(f+1)+Z+"="+Kh(u[Z],j)+`
|
|
63
|
+
`}}),m=m===""?Lr(f)+"<"+a+`>
|
|
64
|
+
`:Lr(f)+"<"+a+`
|
|
65
|
+
`+m+Lr(f)+`>
|
|
66
|
+
`}return a=u.children,o=o.children,typeof a=="string"||typeof a=="number"||typeof a=="bigint"?(v="",(typeof o=="string"||typeof o=="number"||typeof o=="bigint")&&(v=""+o),m+=$b(v,""+a,f+1)):(typeof o=="string"||typeof o=="number"||typeof o=="bigint")&&(m=a==null?m+$b(""+o,null,f+1):m+$b(""+o,void 0,f+1)),m}function GN(a,o){var u=VN(a);if(u===null){for(u="",a=a.child;a;)u+=GN(a,o),a=a.sibling;return u}return Lr(o)+"<"+u+`>
|
|
67
|
+
`}function yT(a,o){var u=qN(a,o);if(u!==a&&(a.children.length!==1||a.children[0]!==u))return Lr(o)+`...
|
|
68
|
+
`+yT(u,o+1);u="";var f=a.fiber._debugInfo;if(f)for(var m=0;m<f.length;m++){var v=f[m].name;typeof v=="string"&&(u+=Lr(o)+"<"+v+`>
|
|
69
|
+
`,o++)}if(f="",m=a.fiber.pendingProps,a.fiber.tag===6)f=$b(m,a.serverProps,o),o++;else if(v=VN(a.fiber),v!==null)if(a.serverProps===void 0){f=o;var x=120-2*f-v.length-2,E="";for(_ in m)if(m.hasOwnProperty(_)&&_!=="children"){var R=Kh(m[_],15);if(x-=_.length+R.length+2,0>x){E+=" ...";break}E+=" "+_+"="+R}f=Lr(f)+"<"+v+E+`>
|
|
70
|
+
`,o++}else a.serverProps===null?(f=vT(v,m,Yh(o)),o++):typeof a.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(f=zI(v,m,a.serverProps,o),o++);var _="";for(m=a.fiber.child,v=0;m&&v<a.children.length;)x=a.children[v],x.fiber===m?(_+=yT(x,o),v++):_+=GN(m,o),m=m.sibling;for(m&&0<a.children.length&&(_+=Lr(o)+`...
|
|
71
|
+
`),m=a.serverTail,a.serverProps===null&&o--,a=0;a<m.length;a++)v=m[a],_=typeof v=="string"?_+(Qf(o)+Gm(v,120-2*o)+`
|
|
72
|
+
`):_+vT(v.type,v.props,Qf(o));return u+f+_}function bT(a){try{return`
|
|
73
|
+
|
|
74
|
+
`+yT(a,0)}catch{return""}}function IN(a,o,u){for(var f=o,m=null,v=0;f;)f===a&&(v=0),m={fiber:f,children:m!==null?[m]:[],serverProps:f===o?u:f===a?null:void 0,serverTail:[],distanceFromLeaf:v},v++,f=f.return;return m!==null?bT(m).replaceAll(/^[+-]/gm,">"):""}function XN(a,o){var u=Ue({},a||Q4),f={tag:o};return W4.indexOf(o)!==-1&&(u.aTagInScope=null,u.buttonTagInScope=null,u.nobrTagInScope=null),HY.indexOf(o)!==-1&&(u.pTagInButtonScope=null),BY.indexOf(o)!==-1&&o!=="address"&&o!=="div"&&o!=="p"&&(u.listItemTagAutoclosing=null,u.dlItemTagAutoclosing=null),u.current=f,o==="form"&&(u.formTag=f),o==="a"&&(u.aTagInScope=f),o==="button"&&(u.buttonTagInScope=f),o==="nobr"&&(u.nobrTagInScope=f),o==="p"&&(u.pTagInButtonScope=f),o==="li"&&(u.listItemTagAutoclosing=f),(o==="dd"||o==="dt")&&(u.dlItemTagAutoclosing=f),o==="#document"||o==="html"?u.containerTagInScope=null:u.containerTagInScope||(u.containerTagInScope=f),a!==null||o!=="#document"&&o!=="html"&&o!=="body"?u.implicitRootScope===!0&&(u.implicitRootScope=!1):u.implicitRootScope=!0,u}function YN(a,o,u){switch(o){case"select":return a==="hr"||a==="option"||a==="optgroup"||a==="script"||a==="template"||a==="#text";case"optgroup":return a==="option"||a==="#text";case"option":return a==="#text";case"tr":return a==="th"||a==="td"||a==="style"||a==="script"||a==="template";case"tbody":case"thead":case"tfoot":return a==="tr"||a==="style"||a==="script"||a==="template";case"colgroup":return a==="col"||a==="template";case"table":return a==="caption"||a==="colgroup"||a==="tbody"||a==="tfoot"||a==="thead"||a==="style"||a==="script"||a==="template";case"head":return a==="base"||a==="basefont"||a==="bgsound"||a==="link"||a==="meta"||a==="title"||a==="noscript"||a==="noframes"||a==="style"||a==="script"||a==="template";case"html":if(u)break;return a==="head"||a==="body"||a==="frameset";case"frameset":return a==="frame";case"#document":if(!u)return a==="html"}switch(a){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return o!=="h1"&&o!=="h2"&&o!=="h3"&&o!=="h4"&&o!=="h5"&&o!=="h6";case"rp":case"rt":return jY.indexOf(o)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return o==null;case"head":return u||o===null;case"html":return u&&o==="#document"||o===null;case"body":return u&&(o==="#document"||o==="html")||o===null}return!0}function kI(a,o){switch(a){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return o.pTagInButtonScope;case"form":return o.formTag||o.pTagInButtonScope;case"li":return o.listItemTagAutoclosing;case"dd":case"dt":return o.dlItemTagAutoclosing;case"button":return o.buttonTagInScope;case"a":return o.aTagInScope;case"nobr":return o.nobrTagInScope}return null}function KN(a,o){for(;a;){switch(a.tag){case 5:case 26:case 27:if(a.type===o)return a}a=a.return}return null}function ST(a,o){o=o||Q4;var u=o.current;if(o=(u=YN(a,u&&u.tag,o.implicitRootScope)?null:u)?null:kI(a,o),o=u||o,!o)return!0;var f=o.tag;if(o=String(!!u)+"|"+a+"|"+f,fS[o])return!1;fS[o]=!0;var m=(o=Ir)?KN(o.return,f):null,v=o!==null&&m!==null?IN(m,o,null):"",x="<"+a+">";return u?(u="",f==="table"&&a==="tr"&&(u+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
75
|
+
This will cause a hydration error.%s`,x,f,u,v)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
76
|
+
This will cause a hydration error.%s`,x,f,v),o&&(a=o.return,m===null||a===null||m===a&&a._debugOwner===o._debugOwner||Et(m,function(){console.error(`<%s> cannot contain a nested %s.
|
|
77
|
+
See this log for the ancestor stack trace.`,f,x)})),!1}function t1(a,o,u){if(u||YN("#text",o,!1))return!0;if(u="#text|"+o,fS[u])return!1;fS[u]=!0;var f=(u=Ir)?KN(u,o):null;return u=u!==null&&f!==null?IN(f,u,u.tag!==6?{children:null}:null):"",/\S/.test(a)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
78
|
+
This will cause a hydration error.%s`,o,u):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
79
|
+
This will cause a hydration error.%s`,o,u),!1}function Xm(a,o){if(o){var u=a.firstChild;if(u&&u===a.lastChild&&u.nodeType===3){u.nodeValue=o;return}}a.textContent=o}function LI(a){return a.replace(GY,function(o,u){return u.toUpperCase()})}function ZN(a,o,u){var f=o.indexOf("--")===0;f||(-1<o.indexOf("-")?pp.hasOwnProperty(o)&&pp[o]||(pp[o]=!0,console.error("Unsupported style property %s. Did you mean %s?",o,LI(o.replace(VY,"ms-")))):qY.test(o)?pp.hasOwnProperty(o)&&pp[o]||(pp[o]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",o,o.charAt(0).toUpperCase()+o.slice(1))):!tL.test(u)||LC.hasOwnProperty(u)&&LC[u]||(LC[u]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,o,u.replace(tL,""))),typeof u=="number"&&(isNaN(u)?eL||(eL=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",o)):isFinite(u)||nL||(nL=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",o)))),u==null||typeof u=="boolean"||u===""?f?a.setProperty(o,""):o==="float"?a.cssFloat="":a[o]="":f?a.setProperty(o,u):typeof u!="number"||u===0||iL.has(o)?o==="float"?a.cssFloat=u:(ye(u,o),a[o]=(""+u).trim()):a[o]=u+"px"}function WN(a,o,u){if(o!=null&&typeof o!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(o&&Object.freeze(o),a=a.style,u!=null){if(o){var f={};if(u){for(var m in u)if(u.hasOwnProperty(m)&&!o.hasOwnProperty(m))for(var v=kC[m]||[m],x=0;x<v.length;x++)f[v[x]]=m}for(var E in o)if(o.hasOwnProperty(E)&&(!u||u[E]!==o[E]))for(m=kC[E]||[E],v=0;v<m.length;v++)f[m[v]]=E;E={};for(var R in o)for(m=kC[R]||[R],v=0;v<m.length;v++)E[m[v]]=R;R={};for(var _ in f)if(m=f[_],(v=E[_])&&m!==v&&(x=m+","+v,!R[x])){R[x]=!0,x=console;var X=o[m];x.error.call(x,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",X==null||typeof X=="boolean"||X===""?"Removing":"Updating",m,v)}}for(var Z in u)!u.hasOwnProperty(Z)||o!=null&&o.hasOwnProperty(Z)||(Z.indexOf("--")===0?a.setProperty(Z,""):Z==="float"?a.cssFloat="":a[Z]="");for(var j in o)_=o[j],o.hasOwnProperty(j)&&u[j]!==_&&ZN(a,j,_)}else for(f in o)o.hasOwnProperty(f)&&ZN(a,f,o[f])}function Ym(a){if(a.indexOf("-")===-1)return!1;switch(a){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}}function QN(a){return IY.get(a)||a}function PI(a,o){if(cs.call(gp,o)&&gp[o])return!0;if(YY.test(o)){if(a="aria-"+o.slice(4).toLowerCase(),a=aL.hasOwnProperty(a)?a:null,a==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",o),gp[o]=!0;if(o!==a)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",o,a),gp[o]=!0}if(XY.test(o)){if(a=o.toLowerCase(),a=aL.hasOwnProperty(a)?a:null,a==null)return gp[o]=!0,!1;o!==a&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",o,a),gp[o]=!0)}return!0}function UI(a,o){var u=[],f;for(f in o)PI(a,f)||u.push(f);o=u.map(function(m){return"`"+m+"`"}).join(", "),u.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",o,a):1<u.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",o,a)}function BI(a,o,u,f){if(cs.call(Ka,o)&&Ka[o])return!0;var m=o.toLowerCase();if(m==="onfocusin"||m==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ka[o]=!0;if(typeof u=="function"&&(a==="form"&&o==="action"||a==="input"&&o==="formAction"||a==="button"&&o==="formAction"))return!0;if(f!=null){if(a=f.possibleRegistrationNames,f.registrationNameDependencies.hasOwnProperty(o))return!0;if(f=a.hasOwnProperty(m)?a[m]:null,f!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",o,f),Ka[o]=!0;if(oL.test(o))return console.error("Unknown event handler property `%s`. It will be ignored.",o),Ka[o]=!0}else if(oL.test(o))return KY.test(o)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",o),Ka[o]=!0;if(ZY.test(o)||WY.test(o))return!0;if(m==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ka[o]=!0;if(m==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ka[o]=!0;if(m==="is"&&u!==null&&u!==void 0&&typeof u!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof u),Ka[o]=!0;if(typeof u=="number"&&isNaN(u))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",o),Ka[o]=!0;if(hS.hasOwnProperty(m)){if(m=hS[m],m!==o)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",o,m),Ka[o]=!0}else if(o!==m)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",o,m),Ka[o]=!0;switch(o){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof u){case"boolean":switch(o){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return m=o.toLowerCase().slice(0,5),m==="data-"||m==="aria-"?!0:(u?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',u,o,o,u,o):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',u,o,o,u,o,o,o),Ka[o]=!0)}case"function":case"symbol":return Ka[o]=!0,!1;case"string":if(u==="false"||u==="true"){switch(o){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",u,o,u==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',o,u),Ka[o]=!0}}return!0}function HI(a,o,u){var f=[],m;for(m in o)BI(a,m,o[m],u)||f.push(m);o=f.map(function(v){return"`"+v+"`"}).join(", "),f.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",o,a):1<f.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",o,a)}function Km(a){return QY.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}function kl(){}function xT(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}function JN(a){var o=V(a);if(o&&(a=o.stateNode)){var u=a[Ya]||null;t:switch(a=o.stateNode,o.type){case"input":if(pT(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),o=u.name,u.type==="radio"&&o!=null){for(u=a;u.parentNode;)u=u.parentNode;for(et(o,"name"),u=u.querySelectorAll('input[name="'+yo(""+o)+'"][type="radio"]'),o=0;o<u.length;o++){var f=u[o];if(f!==a&&f.form===a.form){var m=f[Ya]||null;if(!m)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");pT(f,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(o=0;o<u.length;o++)f=u[o],f.form===a.form&&NN(f)}break t;case"textarea":HN(a,u.value,u.defaultValue);break t;case"select":o=u.value,o!=null&&Xh(a,!!u.multiple,o,!1)}}}function $N(a,o,u){if(PC)return a(o,u);PC=!0;try{var f=a(o);return f}finally{if(PC=!1,(vp!==null||yp!==null)&&(ap(),vp&&(o=vp,a=yp,yp=vp=null,JN(o),a)))for(o=0;o<a.length;o++)JN(a[o])}}function Zm(a,o){var u=a.stateNode;if(u===null)return null;var f=u[Ya]||null;if(f===null)return null;u=f[o];t:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(a=a.type,f=!(a==="button"||a==="input"||a==="select"||a==="textarea")),a=!f;break t;default:a=!1}if(a)return null;if(u&&typeof u!="function")throw Error("Expected `"+o+"` listener to be a function, instead got a value of `"+typeof u+"` type.");return u}function tz(){if(pS)return pS;var a,o=BC,u=o.length,f,m="value"in cc?cc.value:cc.textContent,v=m.length;for(a=0;a<u&&o[a]===m[a];a++);var x=u-a;for(f=1;f<=x&&o[u-f]===m[v-f];f++);return pS=m.slice(a,1<f?1-f:void 0)}function e1(a){var o=a.keyCode;return"charCode"in a?(a=a.charCode,a===0&&o===13&&(a=13)):a=o,a===10&&(a=13),32<=a||a===13?a:0}function n1(){return!0}function ez(){return!1}function cr(a){function o(u,f,m,v,x){this._reactName=u,this._targetInst=m,this.type=f,this.nativeEvent=v,this.target=x,this.currentTarget=null;for(var E in a)a.hasOwnProperty(E)&&(u=a[E],this[E]=u?u(v):v[E]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?n1:ez,this.isPropagationStopped=ez,this}return Ue(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=n1)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=n1)},persist:function(){},isPersistent:n1}),o}function jI(a){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(a):(a=cK[a])?!!o[a]:!1}function AT(){return jI}function nz(a,o){switch(a){case"keyup":return AK.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==cL;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function iz(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}function qI(a,o){switch(a){case"compositionend":return iz(o);case"keypress":return o.which!==dL?null:(pL=!0,hL);case"textInput":return a=o.data,a===hL&&pL?null:a;default:return null}}function VI(a,o){if(bp)return a==="compositionend"||!VC&&nz(a,o)?(a=tz(),pS=BC=cc=null,bp=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return fL&&o.locale!=="ko"?null:o.data;default:return null}}function az(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o==="input"?!!EK[a.type]:o==="textarea"}function GI(a){if(!nl)return!1;a="on"+a;var o=a in document;return o||(o=document.createElement("div"),o.setAttribute(a,"return;"),o=typeof o[a]=="function"),o}function rz(a,o,u,f){vp?yp?yp.push(f):yp=[f]:vp=f,o=K1(o,"onChange"),0<o.length&&(u=new mS("onChange","change",null,u,f),a.push({event:u,listeners:o}))}function II(a){j8(a,0)}function i1(a){var o=st(a);if(NN(o))return a}function oz(a,o){if(a==="change")return o}function sz(){zg&&(zg.detachEvent("onpropertychange",lz),kg=zg=null)}function lz(a){if(a.propertyName==="value"&&i1(kg)){var o=[];rz(o,kg,a,xT(a)),$N(II,o)}}function XI(a,o,u){a==="focusin"?(sz(),zg=o,kg=u,zg.attachEvent("onpropertychange",lz)):a==="focusout"&&sz()}function YI(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return i1(kg)}function KI(a,o){if(a==="click")return i1(o)}function ZI(a,o){if(a==="input"||a==="change")return i1(o)}function WI(a,o){return a===o&&(a!==0||1/a===1/o)||a!==a&&o!==o}function Wm(a,o){if(Za(a,o))return!0;if(typeof a!="object"||a===null||typeof o!="object"||o===null)return!1;var u=Object.keys(a),f=Object.keys(o);if(u.length!==f.length)return!1;for(f=0;f<u.length;f++){var m=u[f];if(!cs.call(o,m)||!Za(a[m],o[m]))return!1}return!0}function uz(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function cz(a,o){var u=uz(a);a=0;for(var f;u;){if(u.nodeType===3){if(f=a+u.textContent.length,a<=o&&f>=o)return{node:u,offset:o-a};a=f}t:{for(;u;){if(u.nextSibling){u=u.nextSibling;break t}u=u.parentNode}u=void 0}u=uz(u)}}function fz(a,o){return a&&o?a===o?!0:a&&a.nodeType===3?!1:o&&o.nodeType===3?fz(a,o.parentNode):"contains"in a?a.contains(o):a.compareDocumentPosition?!!(a.compareDocumentPosition(o)&16):!1:!1}function dz(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var o=Jb(a.document);o instanceof a.HTMLIFrameElement;){try{var u=typeof o.contentWindow.location.href=="string"}catch{u=!1}if(u)a=o.contentWindow;else break;o=Jb(a.document)}return o}function wT(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o&&(o==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||o==="textarea"||a.contentEditable==="true")}function hz(a,o,u){var f=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;IC||Sp==null||Sp!==Jb(f)||(f=Sp,"selectionStart"in f&&wT(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),Lg&&Wm(Lg,f)||(Lg=f,f=K1(GC,"onSelect"),0<f.length&&(o=new mS("onSelect","select",null,o,u),a.push({event:o,listeners:f}),o.target=Sp)))}function Jf(a,o){var u={};return u[a.toLowerCase()]=o.toLowerCase(),u["Webkit"+a]="webkit"+o,u["Moz"+a]="moz"+o,u}function $f(a){if(XC[a])return XC[a];if(!xp[a])return a;var o=xp[a],u;for(u in o)if(o.hasOwnProperty(u)&&u in gL)return XC[a]=o[u];return a}function ss(a,o){xL.set(a,o),pt(o,[a])}function QI(a){for(var o=vS,u=0;u<a.length;u++){var f=a[u];if(typeof f=="object"&&f!==null)if(ji(f)&&f.length===2&&typeof f[0]=="string"){if(o!==vS&&o!==QC)return ZC;o=QC}else return ZC;else{if(typeof f=="function"||typeof f=="string"&&50<f.length||o!==vS&&o!==WC)return ZC;o=WC}}return o}function ET(a,o,u,f){for(var m in a)cs.call(a,m)&&m[0]!=="_"&&zs(m,a[m],o,u,f)}function zs(a,o,u,f,m){switch(typeof o){case"object":if(o===null){o="null";break}else{if(o.$$typeof===Ws){var v=P(o.type)||"\u2026",x=o.key;o=o.props;var E=Object.keys(o),R=E.length;if(x==null&&R===0){o="<"+v+" />";break}if(3>f||R===1&&E[0]==="children"&&x==null){o="<"+v+" \u2026 />";break}u.push([m+"\xA0\xA0".repeat(f)+a,"<"+v]),x!==null&&zs("key",x,u,f+1,m),a=!1;for(var _ in o)_==="children"?o.children!=null&&(!ji(o.children)||0<o.children.length)&&(a=!0):cs.call(o,_)&&_[0]!=="_"&&zs(_,o[_],u,f+1,m);u.push(["",a?">\u2026</"+v+">":"/>"]);return}if(v=Object.prototype.toString.call(o),v=v.slice(8,v.length-1),v==="Array"){if(_=QI(o),_===WC||_===vS){o=JSON.stringify(o);break}else if(_===QC){for(u.push([m+"\xA0\xA0".repeat(f)+a,""]),a=0;a<o.length;a++)v=o[a],zs(v[0],v[1],u,f+1,m);return}}if(v==="Promise"){if(o.status==="fulfilled"){if(v=u.length,zs(a,o.value,u,f,m),u.length>v){u=u[v],u[1]="Promise<"+(u[1]||"Object")+">";return}}else if(o.status==="rejected"&&(v=u.length,zs(a,o.reason,u,f,m),u.length>v)){u=u[v],u[1]="Rejected Promise<"+u[1]+">";return}u.push(["\xA0\xA0".repeat(f)+a,"Promise"]);return}v==="Object"&&(_=Object.getPrototypeOf(o))&&typeof _.constructor=="function"&&(v=_.constructor.name),u.push([m+"\xA0\xA0".repeat(f)+a,v==="Object"?3>f?"":"\u2026":v]),3>f&&ET(o,u,f+1,m);return}case"function":o=o.name===""?"() => {}":o.name+"() {}";break;case"string":o=o===_K?"\u2026":JSON.stringify(o);break;case"undefined":o="undefined";break;case"boolean":o=o?"true":"false";break;default:o=String(o)}u.push([m+"\xA0\xA0".repeat(f)+a,o])}function pz(a,o,u,f){var m=!0;for(x in a)x in o||(u.push([yS+"\xA0\xA0".repeat(f)+x,"\u2026"]),m=!1);for(var v in o)if(v in a){var x=a[v],E=o[v];if(x!==E){if(f===0&&v==="children")m="\xA0\xA0".repeat(f)+v,u.push([yS+m,"\u2026"],[bS+m,"\u2026"]);else{if(!(3<=f)){if(typeof x=="object"&&typeof E=="object"&&x!==null&&E!==null&&x.$$typeof===E.$$typeof)if(E.$$typeof===Ws){if(x.type===E.type&&x.key===E.key){x=P(E.type)||"\u2026",m="\xA0\xA0".repeat(f)+v,x="<"+x+" \u2026 />",u.push([yS+m,x],[bS+m,x]),m=!1;continue}}else{var R=Object.prototype.toString.call(x),_=Object.prototype.toString.call(E);if(R===_&&(_==="[object Object]"||_==="[object Array]")){R=[EL+"\xA0\xA0".repeat(f)+v,_==="[object Array]"?"Array":""],u.push(R),_=u.length,pz(x,E,u,f+1)?_===u.length&&(R[1]="Referentially unequal but deeply equal objects. Consider memoization."):m=!1;continue}}else if(typeof x=="function"&&typeof E=="function"&&x.name===E.name&&x.length===E.length&&(R=Function.prototype.toString.call(x),_=Function.prototype.toString.call(E),R===_)){x=E.name===""?"() => {}":E.name+"() {}",u.push([EL+"\xA0\xA0".repeat(f)+v,x+" Referentially unequal function closure. Consider memoization."]);continue}}zs(v,x,u,f,yS),zs(v,E,u,f,bS)}m=!1}}else u.push([bS+"\xA0\xA0".repeat(f)+v,"\u2026"]),m=!1;return m}function Pr(a){He=a&63?"Blocking":a&64?"Gesture":a&4194176?"Transition":a&62914560?"Suspense":a&2080374784?"Idle":"Other"}function ks(a,o,u,f){_n&&(dc.start=o,dc.end=u,Gl.color="warning",Gl.tooltipText=f,Gl.properties=null,(a=a._debugTask)?a.run(performance.measure.bind(performance,f,dc)):performance.measure(f,dc))}function a1(a,o,u){ks(a,o,u,"Reconnect")}function r1(a,o,u,f,m){var v=B(a);if(v!==null&&_n){var x=a.alternate,E=a.actualDuration;if(x===null||x.child!==a.child)for(var R=a.child;R!==null;R=R.sibling)E-=R.actualDuration;f=.5>E?f?"tertiary-light":"primary-light":10>E?f?"tertiary":"primary":100>E?f?"tertiary-dark":"primary-dark":"error";var _=a.memoizedProps;E=a._debugTask,_!==null&&x!==null&&x.memoizedProps!==_?(R=[FK],_=pz(x.memoizedProps,_,R,0),1<R.length&&(_&&!fc&&(x.lanes&m)===0&&100<a.actualDuration?(fc=!0,R[0]=NK,Gl.color="warning",Gl.tooltipText=TL):(Gl.color=f,Gl.tooltipText=v),Gl.properties=R,dc.start=o,dc.end=u,E!=null?E.run(performance.measure.bind(performance,"\u200B"+v,dc)):performance.measure("\u200B"+v,dc))):E!=null?E.run(console.timeStamp.bind(console,v,o,u,So,void 0,f)):console.timeStamp(v,o,u,So,void 0,f)}}function TT(a,o,u,f){if(_n){var m=B(a);if(m!==null){for(var v=null,x=[],E=0;E<f.length;E++){var R=f[E];v==null&&R.source!==null&&(v=R.source._debugTask),R=R.value,x.push(["Error",typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R)])}a.key!==null&&zs("key",a.key,x,0,""),a.memoizedProps!==null&&ET(a.memoizedProps,x,0,""),v==null&&(v=a._debugTask),a={start:o,end:u,detail:{devtools:{color:"error",track:So,tooltipText:a.tag===13?"Hydration failed":"Error boundary caught an error",properties:x}}},v?v.run(performance.measure.bind(performance,"\u200B"+m,a)):performance.measure("\u200B"+m,a)}}}function Ls(a,o,u,f,m){if(m!==null){if(_n){var v=B(a);if(v!==null){f=[];for(var x=0;x<m.length;x++){var E=m[x].value;f.push(["Error",typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E)])}a.key!==null&&zs("key",a.key,f,0,""),a.memoizedProps!==null&&ET(a.memoizedProps,f,0,""),o={start:o,end:u,detail:{devtools:{color:"error",track:So,tooltipText:"A lifecycle or effect errored",properties:f}}},(a=a._debugTask)?a.run(performance.measure.bind(performance,"\u200B"+v,o)):performance.measure("\u200B"+v,o)}}}else v=B(a),v!==null&&_n&&(m=1>f?"secondary-light":100>f?"secondary":500>f?"secondary-dark":"error",(a=a._debugTask)?a.run(console.timeStamp.bind(console,v,o,u,So,void 0,m)):console.timeStamp(v,o,u,So,void 0,m))}function JI(a,o,u,f){if(_n&&!(o<=a)){var m=(u&738197653)===u?"tertiary-dark":"primary-dark";u=(u&536870912)===u?"Prepared":(u&201326741)===u?"Hydrated":"Render",f?f.run(console.timeStamp.bind(console,u,a,o,He,Be,m)):console.timeStamp(u,a,o,He,Be,m)}}function mz(a,o,u,f){!_n||o<=a||(u=(u&738197653)===u?"tertiary-dark":"primary-dark",f?f.run(console.timeStamp.bind(console,"Prewarm",a,o,He,Be,u)):console.timeStamp("Prewarm",a,o,He,Be,u))}function gz(a,o,u,f){!_n||o<=a||(u=(u&738197653)===u?"tertiary-dark":"primary-dark",f?f.run(console.timeStamp.bind(console,"Suspended",a,o,He,Be,u)):console.timeStamp("Suspended",a,o,He,Be,u))}function $I(a,o,u,f,m,v){if(_n&&!(o<=a)){u=[];for(var x=0;x<f.length;x++){var E=f[x].value;u.push(["Recoverable Error",typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E)])}a={start:a,end:o,detail:{devtools:{color:"primary-dark",track:He,trackGroup:Be,tooltipText:m?"Hydration Failed":"Recovered after Error",properties:u}}},v?v.run(performance.measure.bind(performance,"Recovered",a)):performance.measure("Recovered",a)}}function CT(a,o,u,f){!_n||o<=a||(f?f.run(console.timeStamp.bind(console,"Errored",a,o,He,Be,"error")):console.timeStamp("Errored",a,o,He,Be,"error"))}function tX(a,o,u,f){!_n||o<=a||(f?f.run(console.timeStamp.bind(console,u,a,o,He,Be,"secondary-light")):console.timeStamp(u,a,o,He,Be,"secondary-light"))}function vz(a,o,u,f,m){if(_n&&!(o<=a)){for(var v=[],x=0;x<u.length;x++){var E=u[x].value;v.push(["Error",typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E)])}a={start:a,end:o,detail:{devtools:{color:"error",track:He,trackGroup:Be,tooltipText:f?"Remaining Effects Errored":"Commit Errored",properties:v}}},m?m.run(performance.measure.bind(performance,"Errored",a)):performance.measure("Errored",a)}}function Qm(a,o,u){!_n||o<=a||(u?u.run(console.timeStamp.bind(console,"Animating",a,o,He,Be,"secondary-dark")):console.timeStamp("Animating",a,o,He,Be,"secondary-dark"))}function o1(){for(var a=Ap,o=JC=Ap=0;o<a;){var u=xo[o];xo[o++]=null;var f=xo[o];xo[o++]=null;var m=xo[o];xo[o++]=null;var v=xo[o];if(xo[o++]=null,f!==null&&m!==null){var x=f.pending;x===null?m.next=m:(m.next=x.next,x.next=m),f.pending=m}v!==0&&yz(u,m,v)}}function s1(a,o,u,f){xo[Ap++]=a,xo[Ap++]=o,xo[Ap++]=u,xo[Ap++]=f,JC|=f,a.lanes|=f,a=a.alternate,a!==null&&(a.lanes|=f)}function DT(a,o,u,f){return s1(a,o,u,f),l1(a)}function _a(a,o){return s1(a,null,null,o),l1(a)}function yz(a,o,u){a.lanes|=u;var f=a.alternate;f!==null&&(f.lanes|=u);for(var m=!1,v=a.return;v!==null;)v.childLanes|=u,f=v.alternate,f!==null&&(f.childLanes|=u),v.tag===22&&(a=v.stateNode,a===null||a._visibility&Pg||(m=!0)),a=v,v=v.return;return a.tag===3?(v=a.stateNode,m&&o!==null&&(m=31-Xa(u),a=v.hiddenUpdates,f=a[m],f===null?a[m]=[o]:f.push(o),o.lane=u|536870912),v):null}function l1(a){if(cv>KK)throw Rd=cv=0,fv=_D=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Rd>ZK&&(Rd=0,fv=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),a.alternate===null&&(a.flags&4098)!==0&&z8(a);for(var o=a,u=o.return;u!==null;)o.alternate===null&&(o.flags&4098)!==0&&z8(a),o=u,u=o.return;return o.tag===3?o.stateNode:null}function td(a){if(Ao===null)return a;var o=Ao(a);return o===void 0?a:o.current}function RT(a){if(Ao===null)return a;var o=Ao(a);return o===void 0?a!=null&&typeof a.render=="function"&&(o=td(a.render),a.render!==o)?(o={$$typeof:Tg,render:o},a.displayName!==void 0&&(o.displayName=a.displayName),o):a:o.current}function bz(a,o){if(Ao===null)return!1;var u=a.elementType;o=o.type;var f=!1,m=typeof o=="object"&&o!==null?o.$$typeof:null;switch(a.tag){case 1:typeof o=="function"&&(f=!0);break;case 0:(typeof o=="function"||m===Gr)&&(f=!0);break;case 11:(m===Tg||m===Gr)&&(f=!0);break;case 14:case 15:(m===rS||m===Gr)&&(f=!0);break;default:return!1}return!!(f&&(a=Ao(u),a!==void 0&&a===Ao(o)))}function Sz(a){Ao!==null&&typeof WeakSet=="function"&&(wp===null&&(wp=new WeakSet),wp.add(a))}function xz(a,o,u){do{var f=a,m=f.alternate,v=f.child,x=f.sibling,E=f.tag;f=f.type;var R=null;switch(E){case 0:case 15:case 1:R=f;break;case 11:R=f.render}if(Ao===null)throw Error("Expected resolveFamily to be set during hot reload.");var _=!1;if(f=!1,R!==null&&(R=Ao(R),R!==void 0&&(u.has(R)?f=!0:o.has(R)&&(E===1?f=!0:_=!0))),wp!==null&&(wp.has(a)||m!==null&&wp.has(m))&&(f=!0),f&&(a._debugNeedsRemount=!0),(f||_)&&(m=_a(a,2),m!==null&&ni(m,a,2)),v===null||f||xz(v,o,u),x===null)break;a=x}while(!0)}function eX(a,o,u,f){this.tag=a,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,CL||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function OT(a){return a=a.prototype,!(!a||!a.isReactComponent)}function Ll(a,o){var u=a.alternate;switch(u===null?(u=g(a.tag,o,a.key,a.mode),u.elementType=a.elementType,u.type=a.type,u.stateNode=a.stateNode,u._debugOwner=a._debugOwner,u._debugStack=a._debugStack,u._debugTask=a._debugTask,u._debugHookTypes=a._debugHookTypes,u.alternate=a,a.alternate=u):(u.pendingProps=o,u.type=a.type,u.flags=0,u.subtreeFlags=0,u.deletions=null,u.actualDuration=-0,u.actualStartTime=-1.1),u.flags=a.flags&65011712,u.childLanes=a.childLanes,u.lanes=a.lanes,u.child=a.child,u.memoizedProps=a.memoizedProps,u.memoizedState=a.memoizedState,u.updateQueue=a.updateQueue,o=a.dependencies,u.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext,_debugThenableState:o._debugThenableState},u.sibling=a.sibling,u.index=a.index,u.ref=a.ref,u.refCleanup=a.refCleanup,u.selfBaseDuration=a.selfBaseDuration,u.treeBaseDuration=a.treeBaseDuration,u._debugInfo=a._debugInfo,u._debugNeedsRemount=a._debugNeedsRemount,u.tag){case 0:case 15:u.type=td(a.type);break;case 1:u.type=td(a.type);break;case 11:u.type=RT(a.type)}return u}function Az(a,o){a.flags&=65011714;var u=a.alternate;return u===null?(a.childLanes=0,a.lanes=o,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null,a.selfBaseDuration=0,a.treeBaseDuration=0):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,o=u.dependencies,a.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext,_debugThenableState:o._debugThenableState},a.selfBaseDuration=u.selfBaseDuration,a.treeBaseDuration=u.treeBaseDuration),a}function MT(a,o,u,f,m,v){var x=0,E=a;if(typeof a=="function")OT(a)&&(x=1),E=td(E);else if(typeof a=="string")x=K(),x=cY(a,u,x)?26:a==="html"||a==="head"||a==="body"?27:5;else t:switch(a){case wC:return o=g(31,u,o,m),o.elementType=wC,o.lanes=v,o;case fp:return ed(u.children,m,v,o);case aS:x=8,m|=Na,m|=ds;break;case bC:return a=u,f=m,typeof a.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof a.id),o=g(12,a,o,f|Re),o.elementType=bC,o.lanes=v,o.stateNode={effectDuration:0,passiveEffectDuration:0},o;case xC:return o=g(13,u,o,m),o.elementType=xC,o.lanes=v,o;case AC:return o=g(19,u,o,m),o.elementType=AC,o.lanes=v,o;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case Qs:x=10;break t;case SC:x=9;break t;case Tg:x=11,E=RT(E);break t;case rS:x=14;break t;case Gr:x=16,E=null;break t}E="",(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(E+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),a===null?u="null":ji(a)?u="array":a!==void 0&&a.$$typeof===Ws?(u="<"+(P(a.type)||"Unknown")+" />",E=" Did you accidentally export a JSX literal instead of a component?"):u=typeof a,(x=f?U(f):null)&&(E+=`
|
|
80
|
+
|
|
81
|
+
Check the render method of \``+x+"`."),x=29,u=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(u+"."+E)),E=null}return o=g(x,u,o,m),o.elementType=a,o.type=E,o.lanes=v,o._debugOwner=f,o}function u1(a,o,u){return o=MT(a.type,a.key,a.props,a._owner,o,u),o._debugOwner=a._owner,o._debugStack=a._debugStack,o._debugTask=a._debugTask,o}function ed(a,o,u,f){return a=g(7,a,f,o),a.lanes=u,a}function _T(a,o,u){return a=g(6,a,null,o),a.lanes=u,a}function wz(a){var o=g(18,null,null,se);return o.stateNode=a,o}function FT(a,o,u){return o=g(4,a.children!==null?a.children:[],a.key,o),o.lanes=u,o.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},o}function Ur(a,o){if(typeof a=="object"&&a!==null){var u=$C.get(a);return u!==void 0?u:(o={value:a,source:o,stack:zt(o)},$C.set(a,o),o)}return{value:a,source:o,stack:zt(o)}}function Pl(a,o){Ku(),Ep[Tp++]=Ug,Ep[Tp++]=SS,SS=a,Ug=o}function Ez(a,o,u){Ku(),wo[Eo++]=Xl,wo[Eo++]=Yl,wo[Eo++]=pd,pd=a;var f=Xl;a=Yl;var m=32-Xa(f)-1;f&=~(1<<m),u+=1;var v=32-Xa(o)+m;if(30<v){var x=m-m%5;v=(f&(1<<x)-1).toString(32),f>>=x,m-=x,Xl=1<<32-Xa(o)+m|u<<m|f,Yl=v+a}else Xl=1<<v|u<<m|f,Yl=a}function NT(a){Ku(),a.return!==null&&(Pl(a,1),Ez(a,1,0))}function zT(a){for(;a===SS;)SS=Ep[--Tp],Ep[Tp]=null,Ug=Ep[--Tp],Ep[Tp]=null;for(;a===pd;)pd=wo[--Eo],wo[Eo]=null,Yl=wo[--Eo],wo[Eo]=null,Xl=wo[--Eo],wo[Eo]=null}function Tz(){return Ku(),pd!==null?{id:Xl,overflow:Yl}:null}function Cz(a,o){Ku(),wo[Eo++]=Xl,wo[Eo++]=Yl,wo[Eo++]=pd,Xl=o.id,Yl=o.overflow,pd=a}function Ku(){je||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function nd(a,o){if(a.return===null){if(Yr===null)Yr={fiber:a,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:o};else{if(Yr.fiber!==a)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Yr.distanceFromLeaf>o&&(Yr.distanceFromLeaf=o)}return Yr}var u=nd(a.return,o+1).children;return 0<u.length&&u[u.length-1].fiber===a?(u=u[u.length-1],u.distanceFromLeaf>o&&(u.distanceFromLeaf=o),u):(o={fiber:a,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:o},u.push(o),o)}function Dz(){je&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function c1(a,o){il||(a=nd(a,0),a.serverProps=null,o!==null&&(o=r4(o),a.serverTail.push(o)))}function Zu(a){var o=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,u="",f=Yr;throw f!==null&&(Yr=null,u=bT(f)),Jm(Ur(Error("Hydration failed because the server rendered "+(o?"text":"HTML")+` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
82
|
+
|
|
83
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
84
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
85
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
86
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
87
|
+
- Invalid HTML tag nesting.
|
|
88
|
+
|
|
89
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
90
|
+
|
|
91
|
+
https://react.dev/link/hydration-mismatch`+u),a)),tD}function Rz(a){var o=a.stateNode,u=a.type,f=a.memoizedProps;switch(o[pa]=a,o[Ya]=f,tC(u,f),u){case"dialog":Ve("cancel",o),Ve("close",o);break;case"iframe":case"object":case"embed":Ve("load",o);break;case"video":case"audio":for(u=0;u<dv.length;u++)Ve(dv[u],o);break;case"source":Ve("error",o);break;case"img":case"image":case"link":Ve("error",o),Ve("load",o);break;case"details":Ve("toggle",o);break;case"input":Gt("input",f),Ve("invalid",o),zN(o,f),kN(o,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0);break;case"option":LN(o,f);break;case"select":Gt("select",f),Ve("invalid",o),UN(o,f);break;case"textarea":Gt("textarea",f),Ve("invalid",o),BN(o,f),jN(o,f.value,f.defaultValue,f.children)}u=f.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||o.textContent===""+u||f.suppressHydrationWarning===!0||I8(o.textContent,u)?(f.popover!=null&&(Ve("beforetoggle",o),Ve("toggle",o)),f.onScroll!=null&&Ve("scroll",o),f.onScrollEnd!=null&&Ve("scrollend",o),f.onClick!=null&&(o.onclick=kl),o=!0):o=!1,o||Zu(a,!0)}function Oz(a){for(ma=a.return;ma;)switch(ma.tag){case 5:case 31:case 13:To=!1;return;case 27:case 3:To=!0;return;default:ma=ma.return}}function Zh(a){if(a!==ma)return!1;if(!je)return Oz(a),je=!0,!1;var o=a.tag,u;if((u=o!==3&&o!==27)&&((u=o===5)&&(u=a.type,u=!(u!=="form"&&u!=="button")||rC(a.type,a.memoizedProps)),u=!u),u&&Fn){for(u=Fn;u;){var f=nd(a,0),m=r4(u);f.serverTail.push(m),u=m.type==="Suspense"?uC(u):Vr(u.nextSibling)}Zu(a)}if(Oz(a),o===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Fn=uC(a)}else if(o===31){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Fn=uC(a)}else o===27?(o=Fn,rc(a.type)?(a=VD,VD=null,Fn=a):Fn=o):Fn=ma?Vr(a.stateNode.nextSibling):null;return!0}function id(){Fn=ma=null,il=je=!1}function kT(){var a=pc;return a!==null&&($a===null?$a=a:$a.push.apply($a,a),pc=null),a}function Jm(a){pc===null?pc=[a]:pc.push(a)}function LT(){var a=Yr;if(a!==null){Yr=null;for(var o=bT(a);0<a.children.length;)a=a.children[0];Et(a.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
92
|
+
|
|
93
|
+
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
94
|
+
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
95
|
+
- Date formatting in a user's locale which doesn't match the server.
|
|
96
|
+
- External changing data without sending a snapshot of it along with the HTML.
|
|
97
|
+
- Invalid HTML tag nesting.
|
|
98
|
+
|
|
99
|
+
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
100
|
+
|
|
101
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",o)})}}function f1(){Cp=xS=null,Dp=!1}function Wu(a,o,u){ot(eD,o._currentValue,a),o._currentValue=u,ot(nD,o._currentRenderer,a),o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==RL&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=RL}function Ul(a,o){a._currentValue=eD.current;var u=nD.current;Y(nD,o),a._currentRenderer=u,Y(eD,o)}function PT(a,o,u){for(;a!==null;){var f=a.alternate;if((a.childLanes&o)!==o?(a.childLanes|=o,f!==null&&(f.childLanes|=o)):f!==null&&(f.childLanes&o)!==o&&(f.childLanes|=o),a===u)break;a=a.return}a!==u&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function UT(a,o,u,f){var m=a.child;for(m!==null&&(m.return=a);m!==null;){var v=m.dependencies;if(v!==null){var x=m.child;v=v.firstContext;t:for(;v!==null;){var E=v;v=m;for(var R=0;R<o.length;R++)if(E.context===o[R]){v.lanes|=u,E=v.alternate,E!==null&&(E.lanes|=u),PT(v.return,u,a),f||(x=null);break t}v=E.next}}else if(m.tag===18){if(x=m.return,x===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");x.lanes|=u,v=x.alternate,v!==null&&(v.lanes|=u),PT(x,u,a),x=null}else x=m.child;if(x!==null)x.return=m;else for(x=m;x!==null;){if(x===a){x=null;break}if(m=x.sibling,m!==null){m.return=x.return,x=m;break}x=x.return}m=x}}function Wh(a,o,u,f){a=null;for(var m=o,v=!1;m!==null;){if(!v){if((m.flags&524288)!==0)v=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var x=m.alternate;if(x===null)throw Error("Should have a current fiber. This is a bug in React.");if(x=x.memoizedProps,x!==null){var E=m.type;Za(m.pendingProps.value,x.value)||(a!==null?a.push(E):a=[E])}}else if(m===oS.current){if(x=m.alternate,x===null)throw Error("Should have a current fiber. This is a bug in React.");x.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(a!==null?a.push(vv):a=[vv])}m=m.return}a!==null&&UT(o,a,u,f),o.flags|=262144}function d1(a){for(a=a.firstContext;a!==null;){if(!Za(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function ad(a){xS=a,Cp=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function Un(a){return Dp&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Mz(xS,a)}function h1(a,o){return xS===null&&ad(a),Mz(a,o)}function Mz(a,o){var u=o._currentValue;if(o={context:o,memoizedValue:u,next:null},Cp===null){if(a===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Cp=o,a.dependencies={lanes:0,firstContext:o,_debugThenableState:null},a.flags|=524288}else Cp=Cp.next=o;return u}function BT(){return{controller:new LK,data:new Map,refCount:0}}function rd(a){a.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),a.refCount++}function $m(a){a.refCount--,0>a.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),a.refCount===0&&PK(UK,function(){a.controller.abort()})}function Ps(a,o,u){(a&127)!==0?0>al&&(al=Ei(),Hg=AS(o),iD=o,u!=null&&(aD=B(u)),(Qe&(Vi|Wr))!==ea&&(ii=!0,vc=Bg),a=Sg(),o=bg(),a!==Rp||o!==jg?Rp=-1.1:o!==null&&(vc=Bg),gd=a,jg=o):(a&4194048)!==0&&0>Co&&(Co=Ei(),qg=AS(o),OL=o,u!=null&&(ML=B(u)),0>Wl)&&(a=Sg(),o=bg(),(a!==bc||o!==vd)&&(bc=-1.1),yc=a,vd=o)}function nX(a){if(0>al){al=Ei(),Hg=a._debugTask!=null?a._debugTask:null,(Qe&(Vi|Wr))!==ea&&(vc=Bg);var o=Sg(),u=bg();o!==Rp||u!==jg?Rp=-1.1:u!==null&&(vc=Bg),gd=o,jg=u}0>Co&&(Co=Ei(),qg=a._debugTask!=null?a._debugTask:null,0>Wl)&&(a=Sg(),o=bg(),(a!==bc||o!==vd)&&(bc=-1.1),yc=a,vd=o)}function Bl(){var a=md;return md=0,a}function p1(a){var o=md;return md=a,o}function tg(a){var o=md;return md+=a,o}function m1(){ne=$t=-1.1}function Br(){var a=$t;return $t=-1.1,a}function Hr(a){0<=a&&($t=a)}function Us(){var a=Xn;return Xn=-0,a}function Bs(a){0<=a&&(Xn=a)}function Hs(){var a=Bn;return Bn=null,a}function js(){var a=ii;return ii=!1,a}function HT(a){Wa=Ei(),0>a.actualStartTime&&(a.actualStartTime=Wa)}function jT(a){if(0<=Wa){var o=Ei()-Wa;a.actualDuration+=o,a.selfBaseDuration=o,Wa=-1}}function _z(a){if(0<=Wa){var o=Ei()-Wa;a.actualDuration+=o,Wa=-1}}function qs(){if(0<=Wa){var a=Ei(),o=a-Wa;Wa=-1,md+=o,Xn+=o,ne=a}}function Fz(a){Bn===null&&(Bn=[]),Bn.push(a),Zl===null&&(Zl=[]),Zl.push(a)}function Vs(){Wa=Ei(),0>$t&&($t=Wa)}function eg(a){for(var o=a.child;o;)a.actualDuration+=o.actualDuration,o=o.sibling}function iX(a,o){if(Gg===null){var u=Gg=[];oD=0,yd=W2(),Op={status:"pending",value:void 0,then:function(f){u.push(f)}}}return oD++,o.then(Nz,Nz),o}function Nz(){if(--oD===0&&(-1<Co||(Wl=-1.1),Gg!==null)){Op!==null&&(Op.status="fulfilled");var a=Gg;Gg=null,yd=0,Op=null;for(var o=0;o<a.length;o++)(0,a[o])()}}function aX(a,o){var u=[],f={status:"pending",value:null,reason:null,then:function(m){u.push(m)}};return a.then(function(){f.status="fulfilled",f.value=o;for(var m=0;m<u.length;m++)(0,u[m])(o)},function(m){for(f.status="rejected",f.reason=m,m=0;m<u.length;m++)(0,u[m])(void 0)}),f}function qT(){var a=bd.current;return a!==null?a:xn.pooledCache}function g1(a,o){o===null?ot(bd,bd.current,a):ot(bd,o.pool,a)}function zz(){var a=qT();return a===null?null:{parent:wi._currentValue,pool:a}}function kz(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Lz(a){return a=a.status,a==="fulfilled"||a==="rejected"}function Pz(a,o,u){ut.actQueue!==null&&(ut.didUsePromise=!0);var f=a.thenables;if(u=f[u],u===void 0?f.push(o):u!==o&&(a.didWarnAboutUncachedPromise||(a.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),o.then(kl,kl),o=u),o._debugInfo===void 0){a=performance.now(),f=o.displayName;var m={name:typeof f=="string"?f:"Promise",start:a,end:a,value:o};o._debugInfo=[{awaited:m}],o.status!=="fulfilled"&&o.status!=="rejected"&&(a=function(){m.end=performance.now()},o.then(a,a))}switch(o.status){case"fulfilled":return o.value;case"rejected":throw a=o.reason,Bz(a),a;default:if(typeof o.status=="string")o.then(kl,kl);else{if(a=xn,a!==null&&100<a.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");a=o,a.status="pending",a.then(function(v){if(o.status==="pending"){var x=o;x.status="fulfilled",x.value=v}},function(v){if(o.status==="pending"){var x=o;x.status="rejected",x.reason=v}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw a=o.reason,Bz(a),a}throw xd=o,Qg=!0,Mp}}function Qu(a){try{return qK(a)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(xd=o,Qg=!0,Mp):o}}function Uz(){if(xd===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=xd;return xd=null,Qg=!1,a}function Bz(a){if(a===Mp||a===MS)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function fa(a){var o=Oe;return a!=null&&(Oe=o===null?a:o.concat(a)),o}function VT(){var a=Oe;if(a!=null){for(var o=a.length-1;0<=o;o--)if(a[o].name!=null){var u=a[o].debugTask;if(u!=null)return u}}return null}function v1(a,o,u){for(var f=Object.keys(a.props),m=0;m<f.length;m++){var v=f[m];if(v!=="children"&&v!=="key"){o===null&&(o=u1(a,u.mode,0),o._debugInfo=Oe,o.return=u),Et(o,function(x){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",x)},v);break}}}function y1(a){var o=Jg;return Jg+=1,_p===null&&(_p=kz()),Pz(_p,a,o)}function ng(a,o){o=o.props.ref,a.ref=o!==void 0?o:null}function Hz(a,o){throw o.$$typeof===xY?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
102
|
+
- Multiple copies of the "react" package is used.
|
|
103
|
+
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
104
|
+
- A compiler tries to "inline" JSX instead of using the runtime.`):(a=Object.prototype.toString.call(o),Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead."))}function b1(a,o){var u=VT();u!==null?u.run(Hz.bind(null,a,o)):Hz(a,o)}function jz(a,o){var u=B(a)||"Component";WL[u]||(WL[u]=!0,o=o.displayName||o.name||"Component",a.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
105
|
+
root.render(%s)`,o,o,o):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
106
|
+
<%s>{%s}</%s>`,o,o,u,o,u))}function S1(a,o){var u=VT();u!==null?u.run(jz.bind(null,a,o)):jz(a,o)}function qz(a,o){var u=B(a)||"Component";QL[u]||(QL[u]=!0,o=String(o),a.tag===3?console.error(`Symbols are not valid as a React child.
|
|
107
|
+
root.render(%s)`,o):console.error(`Symbols are not valid as a React child.
|
|
108
|
+
<%s>%s</%s>`,u,o,u))}function x1(a,o){var u=VT();u!==null?u.run(qz.bind(null,a,o)):qz(a,o)}function Vz(a){function o(H,q){if(a){var G=H.deletions;G===null?(H.deletions=[q],H.flags|=16):G.push(q)}}function u(H,q){if(!a)return null;for(;q!==null;)o(H,q),q=q.sibling;return null}function f(H){for(var q=new Map;H!==null;)H.key!==null?q.set(H.key,H):q.set(H.index,H),H=H.sibling;return q}function m(H,q){return H=Ll(H,q),H.index=0,H.sibling=null,H}function v(H,q,G){return H.index=G,a?(G=H.alternate,G!==null?(G=G.index,G<q?(H.flags|=67108866,q):G):(H.flags|=67108866,q)):(H.flags|=1048576,q)}function x(H){return a&&H.alternate===null&&(H.flags|=67108866),H}function E(H,q,G,ht){return q===null||q.tag!==6?(q=_T(G,H.mode,ht),q.return=H,q._debugOwner=H,q._debugTask=H._debugTask,q._debugInfo=Oe,q):(q=m(q,G),q.return=H,q._debugInfo=Oe,q)}function R(H,q,G,ht){var _t=G.type;return _t===fp?(q=X(H,q,G.props.children,ht,G.key),v1(G,q,H),q):q!==null&&(q.elementType===_t||bz(q,G)||typeof _t=="object"&&_t!==null&&_t.$$typeof===Gr&&Qu(_t)===q.type)?(q=m(q,G.props),ng(q,G),q.return=H,q._debugOwner=G._owner,q._debugInfo=Oe,q):(q=u1(G,H.mode,ht),ng(q,G),q.return=H,q._debugInfo=Oe,q)}function _(H,q,G,ht){return q===null||q.tag!==4||q.stateNode.containerInfo!==G.containerInfo||q.stateNode.implementation!==G.implementation?(q=FT(G,H.mode,ht),q.return=H,q._debugInfo=Oe,q):(q=m(q,G.children||[]),q.return=H,q._debugInfo=Oe,q)}function X(H,q,G,ht,_t){return q===null||q.tag!==7?(q=ed(G,H.mode,ht,_t),q.return=H,q._debugOwner=H,q._debugTask=H._debugTask,q._debugInfo=Oe,q):(q=m(q,G),q.return=H,q._debugInfo=Oe,q)}function Z(H,q,G){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return q=_T(""+q,H.mode,G),q.return=H,q._debugOwner=H,q._debugTask=H._debugTask,q._debugInfo=Oe,q;if(typeof q=="object"&&q!==null){switch(q.$$typeof){case Ws:return G=u1(q,H.mode,G),ng(G,q),G.return=H,H=fa(q._debugInfo),G._debugInfo=Oe,Oe=H,G;case cp:return q=FT(q,H.mode,G),q.return=H,q._debugInfo=Oe,q;case Gr:var ht=fa(q._debugInfo);return q=Qu(q),H=Z(H,q,G),Oe=ht,H}if(ji(q)||z(q))return G=ed(q,H.mode,G,null),G.return=H,G._debugOwner=H,G._debugTask=H._debugTask,H=fa(q._debugInfo),G._debugInfo=Oe,Oe=H,G;if(typeof q.then=="function")return ht=fa(q._debugInfo),H=Z(H,y1(q),G),Oe=ht,H;if(q.$$typeof===Qs)return Z(H,h1(H,q),G);b1(H,q)}return typeof q=="function"&&S1(H,q),typeof q=="symbol"&&x1(H,q),null}function j(H,q,G,ht){var _t=q!==null?q.key:null;if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return _t!==null?null:E(H,q,""+G,ht);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case Ws:return G.key===_t?(_t=fa(G._debugInfo),H=R(H,q,G,ht),Oe=_t,H):null;case cp:return G.key===_t?_(H,q,G,ht):null;case Gr:return _t=fa(G._debugInfo),G=Qu(G),H=j(H,q,G,ht),Oe=_t,H}if(ji(G)||z(G))return _t!==null?null:(_t=fa(G._debugInfo),H=X(H,q,G,ht,null),Oe=_t,H);if(typeof G.then=="function")return _t=fa(G._debugInfo),H=j(H,q,y1(G),ht),Oe=_t,H;if(G.$$typeof===Qs)return j(H,q,h1(H,G),ht);b1(H,G)}return typeof G=="function"&&S1(H,G),typeof G=="symbol"&&x1(H,G),null}function at(H,q,G,ht,_t){if(typeof ht=="string"&&ht!==""||typeof ht=="number"||typeof ht=="bigint")return H=H.get(G)||null,E(q,H,""+ht,_t);if(typeof ht=="object"&&ht!==null){switch(ht.$$typeof){case Ws:return G=H.get(ht.key===null?G:ht.key)||null,H=fa(ht._debugInfo),q=R(q,G,ht,_t),Oe=H,q;case cp:return H=H.get(ht.key===null?G:ht.key)||null,_(q,H,ht,_t);case Gr:var de=fa(ht._debugInfo);return ht=Qu(ht),q=at(H,q,G,ht,_t),Oe=de,q}if(ji(ht)||z(ht))return G=H.get(G)||null,H=fa(ht._debugInfo),q=X(q,G,ht,_t,null),Oe=H,q;if(typeof ht.then=="function")return de=fa(ht._debugInfo),q=at(H,q,G,y1(ht),_t),Oe=de,q;if(ht.$$typeof===Qs)return at(H,q,G,h1(q,ht),_t);b1(q,ht)}return typeof ht=="function"&&S1(q,ht),typeof ht=="symbol"&&x1(q,ht),null}function Dt(H,q,G,ht){if(typeof G!="object"||G===null)return ht;switch(G.$$typeof){case Ws:case cp:p(H,q,G);var _t=G.key;if(typeof _t!="string")break;if(ht===null){ht=new Set,ht.add(_t);break}if(!ht.has(_t)){ht.add(_t);break}Et(q,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.",_t)});break;case Gr:G=Qu(G),Dt(H,q,G,ht)}return ht}function Nt(H,q,G,ht){for(var _t=null,de=null,Jt=null,jt=q,Ee=q=0,Nn=null;jt!==null&&Ee<G.length;Ee++){jt.index>Ee?(Nn=jt,jt=null):Nn=jt.sibling;var pi=j(H,jt,G[Ee],ht);if(pi===null){jt===null&&(jt=Nn);break}_t=Dt(H,pi,G[Ee],_t),a&&jt&&pi.alternate===null&&o(H,jt),q=v(pi,q,Ee),Jt===null?de=pi:Jt.sibling=pi,Jt=pi,jt=Nn}if(Ee===G.length)return u(H,jt),je&&Pl(H,Ee),de;if(jt===null){for(;Ee<G.length;Ee++)jt=Z(H,G[Ee],ht),jt!==null&&(_t=Dt(H,jt,G[Ee],_t),q=v(jt,q,Ee),Jt===null?de=jt:Jt.sibling=jt,Jt=jt);return je&&Pl(H,Ee),de}for(jt=f(jt);Ee<G.length;Ee++)Nn=at(jt,H,Ee,G[Ee],ht),Nn!==null&&(_t=Dt(H,Nn,G[Ee],_t),a&&Nn.alternate!==null&&jt.delete(Nn.key===null?Ee:Nn.key),q=v(Nn,q,Ee),Jt===null?de=Nn:Jt.sibling=Nn,Jt=Nn);return a&&jt.forEach(function(ru){return o(H,ru)}),je&&Pl(H,Ee),de}function Rn(H,q,G,ht){if(G==null)throw Error("An iterable object provided no iterator.");for(var _t=null,de=null,Jt=q,jt=q=0,Ee=null,Nn=null,pi=G.next();Jt!==null&&!pi.done;jt++,pi=G.next()){Jt.index>jt?(Ee=Jt,Jt=null):Ee=Jt.sibling;var ru=j(H,Jt,pi.value,ht);if(ru===null){Jt===null&&(Jt=Ee);break}Nn=Dt(H,ru,pi.value,Nn),a&&Jt&&ru.alternate===null&&o(H,Jt),q=v(ru,q,jt),de===null?_t=ru:de.sibling=ru,de=ru,Jt=Ee}if(pi.done)return u(H,Jt),je&&Pl(H,jt),_t;if(Jt===null){for(;!pi.done;jt++,pi=G.next())Jt=Z(H,pi.value,ht),Jt!==null&&(Nn=Dt(H,Jt,pi.value,Nn),q=v(Jt,q,jt),de===null?_t=Jt:de.sibling=Jt,de=Jt);return je&&Pl(H,jt),_t}for(Jt=f(Jt);!pi.done;jt++,pi=G.next())Ee=at(Jt,H,jt,pi.value,ht),Ee!==null&&(Nn=Dt(H,Ee,pi.value,Nn),a&&Ee.alternate!==null&&Jt.delete(Ee.key===null?jt:Ee.key),q=v(Ee,q,jt),de===null?_t=Ee:de.sibling=Ee,de=Ee);return a&&Jt.forEach(function(dZ){return o(H,dZ)}),je&&Pl(H,jt),_t}function Ge(H,q,G,ht){if(typeof G=="object"&&G!==null&&G.type===fp&&G.key===null&&(v1(G,null,H),G=G.props.children),typeof G=="object"&&G!==null){switch(G.$$typeof){case Ws:var _t=fa(G._debugInfo);t:{for(var de=G.key;q!==null;){if(q.key===de){if(de=G.type,de===fp){if(q.tag===7){u(H,q.sibling),ht=m(q,G.props.children),ht.return=H,ht._debugOwner=G._owner,ht._debugInfo=Oe,v1(G,ht,H),H=ht;break t}}else if(q.elementType===de||bz(q,G)||typeof de=="object"&&de!==null&&de.$$typeof===Gr&&Qu(de)===q.type){u(H,q.sibling),ht=m(q,G.props),ng(ht,G),ht.return=H,ht._debugOwner=G._owner,ht._debugInfo=Oe,H=ht;break t}u(H,q);break}else o(H,q);q=q.sibling}G.type===fp?(ht=ed(G.props.children,H.mode,ht,G.key),ht.return=H,ht._debugOwner=H,ht._debugTask=H._debugTask,ht._debugInfo=Oe,v1(G,ht,H),H=ht):(ht=u1(G,H.mode,ht),ng(ht,G),ht.return=H,ht._debugInfo=Oe,H=ht)}return H=x(H),Oe=_t,H;case cp:t:{for(_t=G,G=_t.key;q!==null;){if(q.key===G)if(q.tag===4&&q.stateNode.containerInfo===_t.containerInfo&&q.stateNode.implementation===_t.implementation){u(H,q.sibling),ht=m(q,_t.children||[]),ht.return=H,H=ht;break t}else{u(H,q);break}else o(H,q);q=q.sibling}ht=FT(_t,H.mode,ht),ht.return=H,H=ht}return x(H);case Gr:return _t=fa(G._debugInfo),G=Qu(G),H=Ge(H,q,G,ht),Oe=_t,H}if(ji(G))return _t=fa(G._debugInfo),H=Nt(H,q,G,ht),Oe=_t,H;if(z(G)){if(_t=fa(G._debugInfo),de=z(G),typeof de!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Jt=de.call(G);return Jt===G?(H.tag!==0||Object.prototype.toString.call(H.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Jt)!=="[object Generator]")&&(KL||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),KL=!0):G.entries!==de||cD||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),cD=!0),H=Rn(H,q,Jt,ht),Oe=_t,H}if(typeof G.then=="function")return _t=fa(G._debugInfo),H=Ge(H,q,y1(G),ht),Oe=_t,H;if(G.$$typeof===Qs)return Ge(H,q,h1(H,G),ht);b1(H,G)}return typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint"?(_t=""+G,q!==null&&q.tag===6?(u(H,q.sibling),ht=m(q,_t),ht.return=H,H=ht):(u(H,q),ht=_T(_t,H.mode,ht),ht.return=H,ht._debugOwner=H,ht._debugTask=H._debugTask,ht._debugInfo=Oe,H=ht),x(H)):(typeof G=="function"&&S1(H,G),typeof G=="symbol"&&x1(H,G),u(H,q))}return function(H,q,G,ht){var _t=Oe;Oe=null;try{Jg=0;var de=Ge(H,q,G,ht);return _p=null,de}catch(Nn){if(Nn===Mp||Nn===MS)throw Nn;var Jt=g(29,Nn,null,H.mode);Jt.lanes=ht,Jt.return=H;var jt=Jt._debugInfo=Oe;if(Jt._debugOwner=H._debugOwner,Jt._debugTask=H._debugTask,jt!=null){for(var Ee=jt.length-1;0<=Ee;Ee--)if(typeof jt[Ee].stack=="string"){Jt._debugOwner=jt[Ee],Jt._debugTask=jt[Ee].debugTask;break}}return Jt}finally{Oe=_t}}}function Gz(a,o){var u=ji(a);return a=!u&&typeof z(a)=="function",u||a?(u=u?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",u,o,u),!1):!0}function GT(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function IT(a,o){a=a.updateQueue,o.updateQueue===a&&(o.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Ju(a){return{lane:a,tag:$L,payload:null,callback:null,next:null}}function $u(a,o,u){var f=a.updateQueue;if(f===null)return null;if(f=f.shared,dD===f&&!n6){var m=B(a);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
109
|
+
|
|
110
|
+
Please update the following component: %s`,m),n6=!0}return(Qe&Vi)!==ea?(m=f.pending,m===null?o.next=o:(o.next=m.next,m.next=o),f.pending=o,o=l1(a),yz(a,null,u),o):(s1(a,f,o,u),l1(a))}function ig(a,o,u){if(o=o.updateQueue,o!==null&&(o=o.shared,(u&4194048)!==0)){var f=o.lanes;f&=a.pendingLanes,u|=f,o.lanes=u,Ns(a,u)}}function A1(a,o){var u=a.updateQueue,f=a.alternate;if(f!==null&&(f=f.updateQueue,u===f)){var m=null,v=null;if(u=u.firstBaseUpdate,u!==null){do{var x={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};v===null?m=v=x:v=v.next=x,u=u.next}while(u!==null);v===null?m=v=o:v=v.next=o}else m=v=o;u={baseState:f.baseState,firstBaseUpdate:m,lastBaseUpdate:v,shared:f.shared,callbacks:f.callbacks},a.updateQueue=u;return}a=u.lastBaseUpdate,a===null?u.firstBaseUpdate=o:a.next=o,u.lastBaseUpdate=o}function ag(){if(hD){var a=Op;if(a!==null)throw a}}function rg(a,o,u,f){hD=!1;var m=a.updateQueue;Sc=!1,dD=m.shared;var v=m.firstBaseUpdate,x=m.lastBaseUpdate,E=m.shared.pending;if(E!==null){m.shared.pending=null;var R=E,_=R.next;R.next=null,x===null?v=_:x.next=_,x=R;var X=a.alternate;X!==null&&(X=X.updateQueue,E=X.lastBaseUpdate,E!==x&&(E===null?X.firstBaseUpdate=_:E.next=_,X.lastBaseUpdate=R))}if(v!==null){var Z=m.baseState;x=0,X=_=R=null,E=v;do{var j=E.lane&-536870913,at=j!==E.lane;if(at?(Me&j)===j:(f&j)===j){j!==0&&j===yd&&(hD=!0),X!==null&&(X=X.next={lane:0,tag:E.tag,payload:E.payload,callback:null,next:null});t:{j=a;var Dt=E,Nt=o,Rn=u;switch(Dt.tag){case t6:if(Dt=Dt.payload,typeof Dt=="function"){Dp=!0;var Ge=Dt.call(Rn,Z,Nt);if(j.mode&Na){Le(!0);try{Dt.call(Rn,Z,Nt)}finally{Le(!1)}}Dp=!1,Z=Ge;break t}Z=Dt;break t;case fD:j.flags=j.flags&-65537|128;case $L:if(Ge=Dt.payload,typeof Ge=="function"){if(Dp=!0,Dt=Ge.call(Rn,Z,Nt),j.mode&Na){Le(!0);try{Ge.call(Rn,Z,Nt)}finally{Le(!1)}}Dp=!1}else Dt=Ge;if(Dt==null)break t;Z=Ue({},Z,Dt);break t;case e6:Sc=!0}}j=E.callback,j!==null&&(a.flags|=64,at&&(a.flags|=8192),at=m.callbacks,at===null?m.callbacks=[j]:at.push(j))}else at={lane:j,tag:E.tag,payload:E.payload,callback:E.callback,next:null},X===null?(_=X=at,R=Z):X=X.next=at,x|=j;if(E=E.next,E===null){if(E=m.shared.pending,E===null)break;at=E,E=at.next,at.next=null,m.lastBaseUpdate=at,m.shared.pending=null}}while(!0);X===null&&(R=Z),m.baseState=R,m.firstBaseUpdate=_,m.lastBaseUpdate=X,v===null&&(m.shared.lanes=0),wc|=x,a.lanes=x,a.memoizedState=Z}dD=null}function Iz(a,o){if(typeof a!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+a);a.call(o)}function rX(a,o){var u=a.shared.hiddenCallbacks;if(u!==null)for(a.shared.hiddenCallbacks=null,a=0;a<u.length;a++)Iz(u[a],o)}function Xz(a,o){var u=a.callbacks;if(u!==null)for(a.callbacks=null,a=0;a<u.length;a++)Iz(u[a],o)}function Yz(a,o){var u=sl;ot(FS,u,a),ot(Fp,o,a),sl=u|o.baseLanes}function XT(a){ot(FS,sl,a),ot(Fp,Fp.current,a)}function YT(a){sl=FS.current,Y(Fp,a),Y(FS,a)}function tc(a){var o=a.alternate;ot(hi,hi.current&Np,a),ot(Kr,a,a),Do===null&&(o===null||Fp.current!==null||o.memoizedState!==null)&&(Do=a)}function KT(a){ot(hi,hi.current,a),ot(Kr,a,a),Do===null&&(Do=a)}function Kz(a){a.tag===22?(ot(hi,hi.current,a),ot(Kr,a,a),Do===null&&(Do=a)):ec(a)}function ec(a){ot(hi,hi.current,a),ot(Kr,Kr.current,a)}function jr(a){Y(Kr,a),Do===a&&(Do=null),Y(hi,a)}function w1(a){for(var o=a;o!==null;){if(o.tag===13){var u=o.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||sC(u)||lC(u)))return o}else if(o.tag===19&&(o.memoizedProps.revealOrder==="forwards"||o.memoizedProps.revealOrder==="backwards"||o.memoizedProps.revealOrder==="unstable_legacy-backwards"||o.memoizedProps.revealOrder==="together")){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}function Pe(){var a=rt;Oo===null?Oo=[a]:Oo.push(a)}function xt(){var a=rt;if(Oo!==null&&(tu++,Oo[tu]!==a)){var o=B(fe);if(!i6.has(o)&&(i6.add(o),Oo!==null)){for(var u="",f=0;f<=tu;f++){var m=Oo[f],v=f===tu?a:m;for(m=f+1+". "+m;30>m.length;)m+=" ";m+=v+`
|
|
111
|
+
`,u+=m}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
112
|
+
|
|
113
|
+
Previous render Next render
|
|
114
|
+
------------------------------------------------------
|
|
115
|
+
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
116
|
+
`,o,u)}}}function Qh(a){a==null||ji(a)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",rt,typeof a)}function E1(){var a=B(fe);r6.has(a)||(r6.add(a),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",a))}function si(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
117
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
118
|
+
2. You might be breaking the Rules of Hooks
|
|
119
|
+
3. You might have more than one copy of React in the same app
|
|
120
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function ZT(a,o){if(ev)return!1;if(o===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",rt),!1;a.length!==o.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
121
|
+
|
|
122
|
+
Previous: %s
|
|
123
|
+
Incoming: %s`,rt,"["+o.join(", ")+"]","["+a.join(", ")+"]");for(var u=0;u<o.length&&u<a.length;u++)if(!Za(a[u],o[u]))return!1;return!0}function WT(a,o,u,f,m,v){Jl=v,fe=o,Oo=a!==null?a._debugHookTypes:null,tu=-1,ev=a!==null&&a.type!==o.type,(Object.prototype.toString.call(u)==="[object AsyncFunction]"||Object.prototype.toString.call(u)==="[object AsyncGeneratorFunction]")&&(v=B(fe),pD.has(v)||(pD.add(v),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",v===null?"An unknown Component":"<"+v+">"))),o.memoizedState=null,o.updateQueue=null,o.lanes=0,ut.H=a!==null&&a.memoizedState!==null?gD:Oo!==null?o6:mD,wd=v=(o.mode&Na)!==se;var x=sD(u,f,m);if(wd=!1,kp&&(x=QT(o,u,f,m)),v){Le(!0);try{x=QT(o,u,f,m)}finally{Le(!1)}}return Zz(a,o),x}function Zz(a,o){o._debugHookTypes=Oo,o.dependencies===null?$l!==null&&(o.dependencies={lanes:0,firstContext:null,_debugThenableState:$l}):o.dependencies._debugThenableState=$l,ut.H=nv;var u=Sn!==null&&Sn.next!==null;if(Jl=0,Oo=rt=Ti=Sn=fe=null,tu=-1,a!==null&&(a.flags&65011712)!==(o.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),zS=!1,tv=0,$l=null,u)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");a===null||Ci||(a=a.dependencies,a!==null&&d1(a)&&(Ci=!0)),Qg?(Qg=!1,a=!0):a=!1,a&&(o=B(o)||"Unknown",a6.has(o)||pD.has(o)||(a6.add(o),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function QT(a,o,u,f){fe=a;var m=0;do{if(kp&&($l=null),tv=0,kp=!1,m>=GK)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(m+=1,ev=!1,Ti=Sn=null,a.updateQueue!=null){var v=a.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}tu=-1,ut.H=s6,v=sD(o,u,f)}while(kp);return v}function oX(){var a=ut.H,o=a.useState()[0];return o=typeof o.then=="function"?og(o):o,a=a.useState()[0],(Sn!==null?Sn.memoizedState:null)!==a&&(fe.flags|=1024),o}function JT(){var a=kS!==0;return kS=0,a}function $T(a,o,u){o.updateQueue=a.updateQueue,o.flags=(o.mode&ds)!==se?o.flags&-402655237:o.flags&-2053,a.lanes&=~u}function t2(a){if(zS){for(a=a.memoizedState;a!==null;){var o=a.queue;o!==null&&(o.pending=null),a=a.next}zS=!1}Jl=0,Oo=Ti=Sn=fe=null,tu=-1,rt=null,kp=!1,tv=kS=0,$l=null}function Ia(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ti===null?fe.memoizedState=Ti=a:Ti=Ti.next=a,Ti}function dn(){if(Sn===null){var a=fe.alternate;a=a!==null?a.memoizedState:null}else a=Sn.next;var o=Ti===null?fe.memoizedState:Ti.next;if(o!==null)Ti=o,Sn=a;else{if(a===null)throw fe.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Sn=a,a={memoizedState:Sn.memoizedState,baseState:Sn.baseState,baseQueue:Sn.baseQueue,queue:Sn.queue,next:null},Ti===null?fe.memoizedState=Ti=a:Ti=Ti.next=a}return Ti}function T1(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function og(a){var o=tv;return tv+=1,$l===null&&($l=kz()),a=Pz($l,a,o),o=fe,(Ti===null?o.memoizedState:Ti.next)===null&&(o=o.alternate,ut.H=o!==null&&o.memoizedState!==null?gD:mD),a}function nc(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return og(a);if(a.$$typeof===Qs)return Un(a)}throw Error("An unsupported type was passed to use(): "+String(a))}function od(a){var o=null,u=fe.updateQueue;if(u!==null&&(o=u.memoCache),o==null){var f=fe.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(o={data:f.data.map(function(m){return m.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),u===null&&(u=T1(),fe.updateQueue=u),u.memoCache=o,u=o.data[o.index],u===void 0||ev)for(u=o.data[o.index]=Array(a),f=0;f<a;f++)u[f]=AY;else u.length!==a&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",u.length,a);return o.index++,u}function ls(a,o){return typeof o=="function"?o(a):o}function e2(a,o,u){var f=Ia();if(u!==void 0){var m=u(o);if(wd){Le(!0);try{u(o)}finally{Le(!1)}}}else m=o;return f.memoizedState=f.baseState=m,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:m},f.queue=a,a=a.dispatch=fX.bind(null,fe,a),[f.memoizedState,a]}function Jh(a){var o=dn();return n2(o,Sn,a)}function n2(a,o,u){var f=a.queue;if(f===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");f.lastRenderedReducer=u;var m=a.baseQueue,v=f.pending;if(v!==null){if(m!==null){var x=m.next;m.next=v.next,v.next=x}o.baseQueue!==m&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),o.baseQueue=m=v,f.pending=null}if(v=a.baseState,m===null)a.memoizedState=v;else{o=m.next;var E=x=null,R=null,_=o,X=!1;do{var Z=_.lane&-536870913;if(Z!==_.lane?(Me&Z)===Z:(Jl&Z)===Z){var j=_.revertLane;if(j===0)R!==null&&(R=R.next={lane:0,revertLane:0,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null}),Z===yd&&(X=!0);else if((Jl&j)===j){_=_.next,j===yd&&(X=!0);continue}else Z={lane:0,revertLane:_.revertLane,gesture:null,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},R===null?(E=R=Z,x=v):R=R.next=Z,fe.lanes|=j,wc|=j;Z=_.action,wd&&u(v,Z),v=_.hasEagerState?_.eagerState:u(v,Z)}else j={lane:Z,revertLane:_.revertLane,gesture:_.gesture,action:_.action,hasEagerState:_.hasEagerState,eagerState:_.eagerState,next:null},R===null?(E=R=j,x=v):R=R.next=j,fe.lanes|=Z,wc|=Z;_=_.next}while(_!==null&&_!==o);if(R===null?x=v:R.next=E,!Za(v,a.memoizedState)&&(Ci=!0,X&&(u=Op,u!==null)))throw u;a.memoizedState=v,a.baseState=x,a.baseQueue=R,f.lastRenderedState=v}return m===null&&(f.lanes=0),[a.memoizedState,f.dispatch]}function sg(a){var o=dn(),u=o.queue;if(u===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");u.lastRenderedReducer=a;var f=u.dispatch,m=u.pending,v=o.memoizedState;if(m!==null){u.pending=null;var x=m=m.next;do v=a(v,x.action),x=x.next;while(x!==m);Za(v,o.memoizedState)||(Ci=!0),o.memoizedState=v,o.baseQueue===null&&(o.baseState=v),u.lastRenderedState=v}return[v,f]}function i2(a,o,u){var f=fe,m=Ia();if(je){if(u===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var v=u();zp||v===u()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),zp=!0)}else{if(v=o(),zp||(u=o(),Za(v,u)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),zp=!0)),xn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Me&127)!==0||Wz(f,o,v)}return m.memoizedState=v,u={value:v,getSnapshot:o},m.queue=u,O1(Jz.bind(null,f,u,a),[a]),f.flags|=2048,tp(Ro|Ja,{destroy:void 0},Qz.bind(null,f,u,v,o),null),v}function C1(a,o,u){var f=fe,m=dn(),v=je;if(v){if(u===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");u=u()}else if(u=o(),!zp){var x=o();Za(u,x)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),zp=!0)}(x=!Za((Sn||m).memoizedState,u))&&(m.memoizedState=u,Ci=!0),m=m.queue;var E=Jz.bind(null,f,m,a);if(fr(2048,Ja,E,[a]),m.getSnapshot!==o||x||Ti!==null&&Ti.memoizedState.tag&Ro){if(f.flags|=2048,tp(Ro|Ja,{destroy:void 0},Qz.bind(null,f,m,u,o),null),xn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");v||(Jl&127)!==0||Wz(f,o,u)}return u}function Wz(a,o,u){a.flags|=16384,a={getSnapshot:o,value:u},o=fe.updateQueue,o===null?(o=T1(),fe.updateQueue=o,o.stores=[a]):(u=o.stores,u===null?o.stores=[a]:u.push(a))}function Qz(a,o,u,f){o.value=u,o.getSnapshot=f,$z(o)&&tk(a)}function Jz(a,o,u){return u(function(){$z(o)&&(Ps(2,"updateSyncExternalStore()",a),tk(a))})}function $z(a){var o=a.getSnapshot;a=a.value;try{var u=o();return!Za(a,u)}catch{return!0}}function tk(a){var o=_a(a,2);o!==null&&ni(o,a,2)}function a2(a){var o=Ia();if(typeof a=="function"){var u=a;if(a=u(),wd){Le(!0);try{u()}finally{Le(!1)}}}return o.memoizedState=o.baseState=a,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ls,lastRenderedState:a},o}function r2(a){a=a2(a);var o=a.queue,u=bk.bind(null,fe,o);return o.dispatch=u,[a.memoizedState,u]}function o2(a){var o=Ia();o.memoizedState=o.baseState=a;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=u,o=S2.bind(null,fe,!0,u),u.dispatch=o,[a,o]}function ek(a,o){var u=dn();return nk(u,Sn,a,o)}function nk(a,o,u,f){return a.baseState=u,n2(a,Sn,typeof f=="function"?f:ls)}function ik(a,o){var u=dn();return Sn!==null?nk(u,Sn,a,o):(u.baseState=a,[a,u.queue.dispatch])}function sX(a,o,u,f,m){if(k1(a))throw Error("Cannot update form state while rendering.");if(a=o.action,a!==null){var v={payload:m,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(x){v.listeners.push(x)}};ut.T!==null?u(!0):v.isTransition=!1,f(v),u=o.pending,u===null?(v.next=o.pending=v,ak(o,v)):(v.next=u.next,o.pending=u.next=v)}}function ak(a,o){var u=o.action,f=o.payload,m=a.state;if(o.isTransition){var v=ut.T,x={};x._updatedFibers=new Set,ut.T=x;try{var E=u(m,f),R=ut.S;R!==null&&R(x,E),rk(a,o,E)}catch(_){s2(a,o,_)}finally{v!==null&&x.types!==null&&(v.types!==null&&v.types!==x.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),v.types=x.types),ut.T=v,v===null&&x._updatedFibers&&(a=x._updatedFibers.size,x._updatedFibers.clear(),10<a&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{x=u(m,f),rk(a,o,x)}catch(_){s2(a,o,_)}}function rk(a,o,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?(ut.asyncTransitions++,u.then(z1,z1),u.then(function(f){ok(a,o,f)},function(f){return s2(a,o,f)}),o.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):ok(a,o,u)}function ok(a,o,u){o.status="fulfilled",o.value=u,sk(o),a.state=u,o=a.pending,o!==null&&(u=o.next,u===o?a.pending=null:(u=u.next,o.next=u,ak(a,u)))}function s2(a,o,u){var f=a.pending;if(a.pending=null,f!==null){f=f.next;do o.status="rejected",o.reason=u,sk(o),o=o.next;while(o!==f)}a.action=null}function sk(a){a=a.listeners;for(var o=0;o<a.length;o++)(0,a[o])()}function lk(a,o){return o}function $h(a,o){if(je){var u=xn.formState;if(u!==null){t:{var f=fe;if(je){if(Fn){e:{for(var m=Fn,v=To;m.nodeType!==8;){if(!v){m=null;break e}if(m=Vr(m.nextSibling),m===null){m=null;break e}}v=m.data,m=v===BD||v===X6?m:null}if(m){Fn=Vr(m.nextSibling),f=m.data===BD;break t}}Zu(f)}f=!1}f&&(o=u[0])}}return u=Ia(),u.memoizedState=u.baseState=o,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:lk,lastRenderedState:o},u.queue=f,u=bk.bind(null,fe,f),f.dispatch=u,f=a2(!1),v=S2.bind(null,fe,!1,f.queue),f=Ia(),m={state:o,dispatch:null,action:a,pending:null},f.queue=m,u=sX.bind(null,fe,m,v,u),m.dispatch=u,f.memoizedState=a,[o,u,!1]}function D1(a){var o=dn();return uk(o,Sn,a)}function uk(a,o,u){if(o=n2(a,o,lk)[0],a=Jh(ls)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var f=og(o)}catch(x){throw x===Mp?MS:x}else f=o;o=dn();var m=o.queue,v=m.dispatch;return u!==o.memoizedState&&(fe.flags|=2048,tp(Ro|Ja,{destroy:void 0},lX.bind(null,m,u),null)),[f,v,a]}function lX(a,o){a.action=o}function R1(a){var o=dn(),u=Sn;if(u!==null)return uk(o,u,a);dn(),o=o.memoizedState,u=dn();var f=u.queue.dispatch;return u.memoizedState=a,[o,f,!1]}function tp(a,o,u,f){return a={tag:a,create:u,deps:f,inst:o,next:null},o=fe.updateQueue,o===null&&(o=T1(),fe.updateQueue=o),u=o.lastEffect,u===null?o.lastEffect=a.next=a:(f=u.next,u.next=a,a.next=f,o.lastEffect=a),a}function l2(a){var o=Ia();return a={current:a},o.memoizedState=a}function sd(a,o,u,f){var m=Ia();fe.flags|=a,m.memoizedState=tp(Ro|o,{destroy:void 0},u,f===void 0?null:f)}function fr(a,o,u,f){var m=dn();f=f===void 0?null:f;var v=m.memoizedState.inst;Sn!==null&&f!==null&&ZT(f,Sn.memoizedState.deps)?m.memoizedState=tp(o,v,u,f):(fe.flags|=a,m.memoizedState=tp(Ro|o,v,u,f))}function O1(a,o){(fe.mode&ds)!==se?sd(276826112,Ja,a,o):sd(8390656,Ja,a,o)}function uX(a){fe.flags|=4;var o=fe.updateQueue;if(o===null)o=T1(),fe.updateQueue=o,o.events=[a];else{var u=o.events;u===null?o.events=[a]:u.push(a)}}function u2(a){var o=Ia(),u={impl:a};return o.memoizedState=u,function(){if((Qe&Vi)!==ea)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return u.impl.apply(void 0,arguments)}}function M1(a){var o=dn().memoizedState;return uX({ref:o,nextImpl:a}),function(){if((Qe&Vi)!==ea)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return o.impl.apply(void 0,arguments)}}function c2(a,o){var u=4194308;return(fe.mode&ds)!==se&&(u|=134217728),sd(u,Zr,a,o)}function ck(a,o){if(typeof o=="function"){a=a();var u=o(a);return function(){typeof u=="function"?u():o(null)}}if(o!=null)return o.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}"),a=a(),o.current=a,function(){o.current=null}}function f2(a,o,u){typeof o!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",o!==null?typeof o:"null"),u=u!=null?u.concat([a]):null;var f=4194308;(fe.mode&ds)!==se&&(f|=134217728),sd(f,Zr,ck.bind(null,o,a),u)}function _1(a,o,u){typeof o!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",o!==null?typeof o:"null"),u=u!=null?u.concat([a]):null,fr(4,Zr,ck.bind(null,o,a),u)}function d2(a,o){return Ia().memoizedState=[a,o===void 0?null:o],a}function F1(a,o){var u=dn();o=o===void 0?null:o;var f=u.memoizedState;return o!==null&&ZT(o,f[1])?f[0]:(u.memoizedState=[a,o],a)}function h2(a,o){var u=Ia();o=o===void 0?null:o;var f=a();if(wd){Le(!0);try{a()}finally{Le(!1)}}return u.memoizedState=[f,o],f}function N1(a,o){var u=dn();o=o===void 0?null:o;var f=u.memoizedState;if(o!==null&&ZT(o,f[1]))return f[0];if(f=a(),wd){Le(!0);try{a()}finally{Le(!1)}}return u.memoizedState=[f,o],f}function p2(a,o){var u=Ia();return m2(u,a,o)}function fk(a,o){var u=dn();return hk(u,Sn.memoizedState,a,o)}function dk(a,o){var u=dn();return Sn===null?m2(u,a,o):hk(u,Sn.memoizedState,a,o)}function m2(a,o,u){return u===void 0||(Jl&1073741824)!==0&&(Me&261930)===0?a.memoizedState=o:(a.memoizedState=u,a=p8(),fe.lanes|=a,wc|=a,u)}function hk(a,o,u,f){return Za(u,o)?u:Fp.current!==null?(a=m2(a,u,f),Za(a,o)||(Ci=!0),a):(Jl&42)===0||(Jl&1073741824)!==0&&(Me&261930)===0?(Ci=!0,a.memoizedState=u):(a=p8(),fe.lanes|=a,wc|=a,o)}function z1(){ut.asyncTransitions--}function pk(a,o,u,f,m){var v=sn.p;sn.p=v!==0&&v<fs?v:fs;var x=ut.T,E={};E._updatedFibers=new Set,ut.T=E,S2(a,!1,o,u);try{var R=m(),_=ut.S;if(_!==null&&_(E,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){ut.asyncTransitions++,R.then(z1,z1);var X=aX(R,f);lg(a,o,X,qr(a))}else lg(a,o,f,qr(a))}catch(Z){lg(a,o,{then:function(){},status:"rejected",reason:Z},qr(a))}finally{sn.p=v,x!==null&&E.types!==null&&(x.types!==null&&x.types!==E.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),x.types=E.types),ut.T=x,x===null&&E._updatedFibers&&(a=E._updatedFibers.size,E._updatedFibers.clear(),10<a&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function g2(a,o,u,f){if(a.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var m=mk(a).queue;nX(a),pk(a,m,o,zd,u===null?h:function(){return gk(a),u(f)})}function mk(a){var o=a.memoizedState;if(o!==null)return o;o={memoizedState:zd,baseState:zd,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ls,lastRenderedState:zd},next:null};var u={};return o.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ls,lastRenderedState:u},next:null},a.memoizedState=o,a=a.alternate,a!==null&&(a.memoizedState=o),o}function gk(a){ut.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var o=mk(a);o.next===null&&(o=a.alternate.memoizedState),lg(a,o.next.queue,{},qr(a))}function v2(){var a=a2(!1);return a=pk.bind(null,fe,a.queue,!0,!1),Ia().memoizedState=a,[!1,a]}function vk(){var a=Jh(ls)[0],o=dn().memoizedState;return[typeof a=="boolean"?a:og(a),o]}function yk(){var a=sg(ls)[0],o=dn().memoizedState;return[typeof a=="boolean"?a:og(a),o]}function ld(){return Un(vv)}function y2(){var a=Ia(),o=xn.identifierPrefix;if(je){var u=Yl,f=Xl;u=(f&~(1<<32-Xa(f)-1)).toString(32)+u,o="_"+o+"R_"+u,u=kS++,0<u&&(o+="H"+u.toString(32)),o+="_"}else u=VK++,o="_"+o+"r_"+u.toString(32)+"_";return a.memoizedState=o}function b2(){return Ia().memoizedState=cX.bind(null,fe)}function cX(a,o){for(var u=a.return;u!==null;){switch(u.tag){case 24:case 3:var f=qr(u),m=Ju(f),v=$u(u,m,f);v!==null&&(Ps(f,"refresh()",a),ni(v,u,f),ig(v,u,f)),a=BT(),o!=null&&v!==null&&console.error("The seed argument is not enabled outside experimental channels."),m.payload={cache:a};return}u=u.return}}function fX(a,o,u){var f=arguments;typeof f[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),f=qr(a);var m={lane:f,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};k1(a)?Sk(o,m):(m=DT(a,o,m,f),m!==null&&(Ps(f,"dispatch()",a),ni(m,a,f),xk(m,o,f)))}function bk(a,o,u){var f=arguments;typeof f[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),f=qr(a),lg(a,o,u,f)&&Ps(f,"setState()",a)}function lg(a,o,u,f){var m={lane:f,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(k1(a))Sk(o,m);else{var v=a.alternate;if(a.lanes===0&&(v===null||v.lanes===0)&&(v=o.lastRenderedReducer,v!==null)){var x=ut.H;ut.H=ps;try{var E=o.lastRenderedState,R=v(E,u);if(m.hasEagerState=!0,m.eagerState=R,Za(R,E))return s1(a,o,m,0),xn===null&&o1(),!1}catch{}finally{ut.H=x}}if(u=DT(a,o,m,f),u!==null)return ni(u,a,f),xk(u,o,f),!0}return!1}function S2(a,o,u,f){if(ut.T===null&&yd===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),f={lane:2,revertLane:W2(),gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},k1(a)){if(o)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else o=DT(a,u,f,2),o!==null&&(Ps(2,"setOptimistic()",a),ni(o,a,2))}function k1(a){var o=a.alternate;return a===fe||o!==null&&o===fe}function Sk(a,o){kp=zS=!0;var u=a.pending;u===null?o.next=o:(o.next=u.next,u.next=o),a.pending=o}function xk(a,o,u){if((u&4194048)!==0){var f=o.lanes;f&=a.pendingLanes,u|=f,o.lanes=u,Ns(a,u)}}function x2(a){if(a!==null&&typeof a!="function"){var o=String(a);y6.has(o)||(y6.add(o),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",a))}}function A2(a,o,u,f){var m=a.memoizedState,v=u(f,m);if(a.mode&Na){Le(!0);try{v=u(f,m)}finally{Le(!1)}}v===void 0&&(o=P(o)||"Component",p6.has(o)||(p6.add(o),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",o))),m=v==null?m:Ue({},m,v),a.memoizedState=m,a.lanes===0&&(a.updateQueue.baseState=m)}function Ak(a,o,u,f,m,v,x){var E=a.stateNode;if(typeof E.shouldComponentUpdate=="function"){if(u=E.shouldComponentUpdate(f,v,x),a.mode&Na){Le(!0);try{u=E.shouldComponentUpdate(f,v,x)}finally{Le(!1)}}return u===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",P(o)||"Component"),u}return o.prototype&&o.prototype.isPureReactComponent?!Wm(u,f)||!Wm(m,v):!0}function wk(a,o,u,f){var m=o.state;typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(u,f),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(u,f),o.state!==m&&(a=B(a)||"Component",u6.has(a)||(u6.add(a),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",a)),vD.enqueueReplaceState(o,o.state,null))}function ud(a,o){var u=o;if("ref"in o){u={};for(var f in o)f!=="ref"&&(u[f]=o[f])}if(a=a.defaultProps){u===o&&(u=Ue({},u));for(var m in a)u[m]===void 0&&(u[m]=a[m])}return u}function Ek(a){KC(a),console.warn(`%s
|
|
124
|
+
|
|
125
|
+
%s
|
|
126
|
+
`,Lp?"An error occurred in the <"+Lp+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
127
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function Tk(a){var o=Lp?"The above error occurred in the <"+Lp+"> component.":"The above error occurred in one of your React components.",u="React will try to recreate this component tree from scratch using the error boundary you provided, "+((yD||"Anonymous")+".");if(typeof a=="object"&&a!==null&&typeof a.environmentName=="string"){var f=a.environmentName;a=[`%o
|
|
128
|
+
|
|
129
|
+
%s
|
|
130
|
+
|
|
131
|
+
%s
|
|
132
|
+
`,a,o,u].slice(0),typeof a[0]=="string"?a.splice(0,1,tP+" "+a[0],eP,ox+f+ox,nP):a.splice(0,0,tP,eP,ox+f+ox,nP),a.unshift(console),f=cZ.apply(console.error,a),f()}else console.error(`%o
|
|
133
|
+
|
|
134
|
+
%s
|
|
135
|
+
|
|
136
|
+
%s
|
|
137
|
+
`,a,o,u)}function Ck(a){KC(a)}function L1(a,o){try{Lp=o.source?B(o.source):null,yD=null;var u=o.value;if(ut.actQueue!==null)ut.thrownErrors.push(u);else{var f=a.onUncaughtError;f(u,{componentStack:o.stack})}}catch(m){setTimeout(function(){throw m})}}function Dk(a,o,u){try{Lp=u.source?B(u.source):null,yD=B(o);var f=a.onCaughtError;f(u.value,{componentStack:u.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function w2(a,o,u){return u=Ju(u),u.tag=fD,u.payload={element:null},u.callback=function(){Et(o.source,L1,a,o)},u}function E2(a){return a=Ju(a),a.tag=fD,a}function T2(a,o,u,f){var m=u.type.getDerivedStateFromError;if(typeof m=="function"){var v=f.value;a.payload=function(){return m(v)},a.callback=function(){Sz(u),Et(f.source,Dk,o,u,f)}}var x=u.stateNode;x!==null&&typeof x.componentDidCatch=="function"&&(a.callback=function(){Sz(u),Et(f.source,Dk,o,u,f),typeof m!="function"&&(Tc===null?Tc=new Set([this]):Tc.add(this)),BK(this,f),typeof m=="function"||(u.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",B(u)||"Unknown")})}function dX(a,o,u,f,m){if(u.flags|=32768,tl&&gg(a,m),f!==null&&typeof f=="object"&&typeof f.then=="function"){if(o=u.alternate,o!==null&&Wh(o,u,m,!0),je&&(il=!0),u=Kr.current,u!==null){switch(u.tag){case 31:case 13:return Do===null?I1():u.alternate===null&&Yn===nu&&(Yn=US),u.flags&=-257,u.flags|=65536,u.lanes=m,f===_S?u.flags|=16384:(o=u.updateQueue,o===null?u.updateQueue=new Set([f]):o.add(f),X2(a,f,m)),!1;case 22:return u.flags|=65536,f===_S?u.flags|=16384:(o=u.updateQueue,o===null?(o={transitions:null,markerInstances:null,retryQueue:new Set([f])},u.updateQueue=o):(u=o.retryQueue,u===null?o.retryQueue=new Set([f]):u.add(f)),X2(a,f,m)),!1}throw Error("Unexpected Suspense handler tag ("+u.tag+"). This is a bug in React.")}return X2(a,f,m),I1(),!1}if(je)return il=!0,o=Kr.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=m,f!==tD&&Jm(Ur(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:f}),u))):(f!==tD&&Jm(Ur(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:f}),u)),a=a.current.alternate,a.flags|=65536,m&=-m,a.lanes|=m,f=Ur(f,u),m=w2(a.stateNode,f,m),A1(a,m),Yn!==xc&&(Yn=Ed)),!1;var v=Ur(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:f}),u);if(lv===null?lv=[v]:lv.push(v),Yn!==xc&&(Yn=Ed),o===null)return!0;f=Ur(f,u),u=o;do{switch(u.tag){case 3:return u.flags|=65536,a=m&-m,u.lanes|=a,a=w2(u.stateNode,f,a),A1(u,a),!1;case 1:if(o=u.type,v=u.stateNode,(u.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Tc===null||!Tc.has(v))))return u.flags|=65536,m&=-m,u.lanes|=m,m=E2(m),T2(m,a,u,f),A1(u,m),!1}u=u.return}while(u!==null);return!1}function da(a,o,u,f){o.child=a===null?JL(o,null,u,f):Ad(o,a.child,u,f)}function Rk(a,o,u,f,m){u=u.render;var v=o.ref;if("ref"in f){var x={};for(var E in f)E!=="ref"&&(x[E]=f[E])}else x=f;return ad(o),f=WT(a,o,u,x,v,m),E=JT(),a!==null&&!Ci?($T(a,o,m),Hl(a,o,m)):(je&&E&&NT(o),o.flags|=1,da(a,o,f,m),o.child)}function Ok(a,o,u,f,m){if(a===null){var v=u.type;return typeof v=="function"&&!OT(v)&&v.defaultProps===void 0&&u.compare===null?(u=td(v),o.tag=15,o.type=u,D2(o,v),Mk(a,o,u,f,m)):(a=MT(u.type,null,f,o,o.mode,m),a.ref=o.ref,a.return=o,o.child=a)}if(v=a.child,!N2(a,m)){var x=v.memoizedProps;if(u=u.compare,u=u!==null?u:Wm,u(x,f)&&a.ref===o.ref)return Hl(a,o,m)}return o.flags|=1,a=Ll(v,f),a.ref=o.ref,a.return=o,o.child=a}function Mk(a,o,u,f,m){if(a!==null){var v=a.memoizedProps;if(Wm(v,f)&&a.ref===o.ref&&o.type===a.type)if(Ci=!1,o.pendingProps=f=v,N2(a,m))(a.flags&131072)!==0&&(Ci=!0);else return o.lanes=a.lanes,Hl(a,o,m)}return C2(a,o,u,f,m)}function _k(a,o,u,f){var m=f.children,v=a!==null?a.memoizedState:null;if(a===null&&o.stateNode===null&&(o.stateNode={_visibility:Pg,_pendingMarkers:null,_retryCache:null,_transitions:null}),f.mode==="hidden"){if((o.flags&128)!==0){if(v=v!==null?v.baseLanes|u:u,a!==null){for(f=o.child=a.child,m=0;f!==null;)m=m|f.lanes|f.childLanes,f=f.sibling;f=m&~v}else f=0,o.child=null;return Fk(a,o,v,u,f)}if((u&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},a!==null&&g1(o,v!==null?v.cachePool:null),v!==null?Yz(o,v):XT(o),Kz(o);else return f=o.lanes=536870912,Fk(a,o,v!==null?v.baseLanes|u:u,u,f)}else v!==null?(g1(o,v.cachePool),Yz(o,v),ec(o),o.memoizedState=null):(a!==null&&g1(o,null),XT(o),ec(o));return da(a,o,m,u),o.child}function ug(a,o){return a!==null&&a.tag===22||o.stateNode!==null||(o.stateNode={_visibility:Pg,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function Fk(a,o,u,f,m){var v=qT();return v=v===null?null:{parent:wi._currentValue,pool:v},o.memoizedState={baseLanes:u,cachePool:v},a!==null&&g1(o,null),XT(o),Kz(o),a!==null&&Wh(a,o,f,!0),o.childLanes=m,null}function P1(a,o){var u=o.hidden;return u!==void 0&&console.error(`<Activity> doesn't accept a hidden prop. Use mode="hidden" instead.
|
|
138
|
+
- <Activity %s>
|
|
139
|
+
+ <Activity %s>`,u===!0?"hidden":u===!1?"hidden={false}":"hidden={...}",u?'mode="hidden"':'mode="visible"'),o=B1({mode:o.mode,children:o.children},a.mode),o.ref=a.ref,a.child=o,o.return=a,o}function Nk(a,o,u){return Ad(o,a.child,null,u),a=P1(o,o.pendingProps),a.flags|=2,jr(o),o.memoizedState=null,a}function hX(a,o,u){var f=o.pendingProps,m=(o.flags&128)!==0;if(o.flags&=-129,a===null){if(je){if(f.mode==="hidden")return a=P1(o,f),o.lanes=536870912,ug(null,a);if(KT(o),(a=Fn)?(u=a4(a,To),u=u!==null&&u.data===Md?u:null,u!==null&&(f={dehydrated:u,treeContext:Tz(),retryLane:536870912,hydrationErrors:null},o.memoizedState=f,f=wz(u),f.return=o,o.child=f,ma=o,Fn=null)):u=null,u===null)throw c1(o,a),Zu(o);return o.lanes=536870912,null}return P1(o,f)}var v=a.memoizedState;if(v!==null){var x=v.dehydrated;if(KT(o),m)if(o.flags&256)o.flags&=-257,o=Nk(a,o,u);else if(o.memoizedState!==null)o.child=a.child,o.flags|=128,o=null;else throw Error("Client rendering an Activity suspended it again. This is a bug in React.");else if(Dz(),(u&536870912)!==0&&G1(o),Ci||Wh(a,o,u,!1),m=(u&a.childLanes)!==0,Ci||m){if(f=xn,f!==null&&(x=Nl(f,u),x!==0&&x!==v.retryLane))throw v.retryLane=x,_a(a,x),ni(f,a,x),bD;I1(),o=Nk(a,o,u)}else a=v.treeContext,Fn=Vr(x.nextSibling),ma=o,je=!0,pc=null,il=!1,Yr=null,To=!1,a!==null&&Cz(o,a),o=P1(o,f),o.flags|=4096;return o}return v=a.child,f={mode:f.mode,children:f.children},(u&536870912)!==0&&(u&a.lanes)!==0&&G1(o),a=Ll(v,f),a.ref=o.ref,o.child=a,a.return=o,a}function U1(a,o){var u=o.ref;if(u===null)a!==null&&a.ref!==null&&(o.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(a===null||a.ref!==u)&&(o.flags|=4194816)}}function C2(a,o,u,f,m){if(u.prototype&&typeof u.prototype.render=="function"){var v=P(u)||"Unknown";b6[v]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",v,v),b6[v]=!0)}return o.mode&Na&&hs.recordLegacyContextWarning(o,null),a===null&&(D2(o,o.type),u.contextTypes&&(v=P(u)||"Unknown",x6[v]||(x6[v]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",v)))),ad(o),u=WT(a,o,u,f,void 0,m),f=JT(),a!==null&&!Ci?($T(a,o,m),Hl(a,o,m)):(je&&f&&NT(o),o.flags|=1,da(a,o,u,m),o.child)}function zk(a,o,u,f,m,v){return ad(o),tu=-1,ev=a!==null&&a.type!==o.type,o.updateQueue=null,u=QT(o,f,u,m),Zz(a,o),f=JT(),a!==null&&!Ci?($T(a,o,v),Hl(a,o,v)):(je&&f&&NT(o),o.flags|=1,da(a,o,u,v),o.child)}function kk(a,o,u,f,m){switch(l(o)){case!1:var v=o.stateNode,x=new o.type(o.memoizedProps,v.context).state;v.updater.enqueueSetState(v,x,null);break;case!0:o.flags|=128,o.flags|=65536,v=Error("Simulated error coming from DevTools");var E=m&-m;if(o.lanes|=E,x=xn,x===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");E=E2(E),T2(E,x,o,Ur(v,o)),A1(o,E)}if(ad(o),o.stateNode===null){if(x=hc,v=u.contextType,"contextType"in u&&v!==null&&(v===void 0||v.$$typeof!==Qs)&&!v6.has(u)&&(v6.add(u),E=v===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof v!="object"?" However, it is set to a "+typeof v+".":v.$$typeof===SC?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(v).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",P(u)||"Component",E)),typeof v=="object"&&v!==null&&(x=Un(v)),v=new u(f,x),o.mode&Na){Le(!0);try{v=new u(f,x)}finally{Le(!1)}}if(x=o.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=vD,o.stateNode=v,v._reactInternals=o,v._reactInternalInstance=l6,typeof u.getDerivedStateFromProps=="function"&&x===null&&(x=P(u)||"Component",c6.has(x)||(c6.add(x),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",x,v.state===null?"null":"undefined",x))),typeof u.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"){var R=E=x=null;if(typeof v.componentWillMount=="function"&&v.componentWillMount.__suppressDeprecationWarning!==!0?x="componentWillMount":typeof v.UNSAFE_componentWillMount=="function"&&(x="UNSAFE_componentWillMount"),typeof v.componentWillReceiveProps=="function"&&v.componentWillReceiveProps.__suppressDeprecationWarning!==!0?E="componentWillReceiveProps":typeof v.UNSAFE_componentWillReceiveProps=="function"&&(E="UNSAFE_componentWillReceiveProps"),typeof v.componentWillUpdate=="function"&&v.componentWillUpdate.__suppressDeprecationWarning!==!0?R="componentWillUpdate":typeof v.UNSAFE_componentWillUpdate=="function"&&(R="UNSAFE_componentWillUpdate"),x!==null||E!==null||R!==null){v=P(u)||"Component";var _=typeof u.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";d6.has(v)||(d6.add(v),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
140
|
+
|
|
141
|
+
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
142
|
+
|
|
143
|
+
The above lifecycles should be removed. Learn more about this warning here:
|
|
144
|
+
https://react.dev/link/unsafe-component-lifecycles`,v,_,x!==null?`
|
|
145
|
+
`+x:"",E!==null?`
|
|
146
|
+
`+E:"",R!==null?`
|
|
147
|
+
`+R:""))}}v=o.stateNode,x=P(u)||"Component",v.render||(u.prototype&&typeof u.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",x):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",x)),!v.getInitialState||v.getInitialState.isReactClassApproved||v.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",x),v.getDefaultProps&&!v.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",x),v.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",x),u.childContextTypes&&!g6.has(u)&&(g6.add(u),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",x)),u.contextTypes&&!m6.has(u)&&(m6.add(u),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",x)),typeof v.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",x),u.prototype&&u.prototype.isPureReactComponent&&typeof v.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",P(u)||"A pure component"),typeof v.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",x),typeof v.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",x),typeof v.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",x),typeof v.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",x),E=v.props!==f,v.props!==void 0&&E&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",x),v.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",x,x),typeof v.getSnapshotBeforeUpdate!="function"||typeof v.componentDidUpdate=="function"||f6.has(u)||(f6.add(u),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",P(u))),typeof v.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",x),typeof v.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",x),typeof u.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",x),(E=v.state)&&(typeof E!="object"||ji(E))&&console.error("%s.state: must be set to an object or null",x),typeof v.getChildContext=="function"&&typeof u.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",x),v=o.stateNode,v.props=f,v.state=o.memoizedState,v.refs={},GT(o),x=u.contextType,v.context=typeof x=="object"&&x!==null?Un(x):hc,v.state===f&&(x=P(u)||"Component",h6.has(x)||(h6.add(x),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",x))),o.mode&Na&&hs.recordLegacyContextWarning(o,v),hs.recordUnsafeLifecycleWarnings(o,v),v.state=o.memoizedState,x=u.getDerivedStateFromProps,typeof x=="function"&&(A2(o,u,x,f),v.state=o.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(x=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),x!==v.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",B(o)||"Component"),vD.enqueueReplaceState(v,v.state,null)),rg(o,f,v,m),ag(),v.state=o.memoizedState),typeof v.componentDidMount=="function"&&(o.flags|=4194308),(o.mode&ds)!==se&&(o.flags|=134217728),v=!0}else if(a===null){v=o.stateNode;var X=o.memoizedProps;E=ud(u,X),v.props=E;var Z=v.context;R=u.contextType,x=hc,typeof R=="object"&&R!==null&&(x=Un(R)),_=u.getDerivedStateFromProps,R=typeof _=="function"||typeof v.getSnapshotBeforeUpdate=="function",X=o.pendingProps!==X,R||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(X||Z!==x)&&wk(o,v,f,x),Sc=!1;var j=o.memoizedState;v.state=j,rg(o,f,v,m),ag(),Z=o.memoizedState,X||j!==Z||Sc?(typeof _=="function"&&(A2(o,u,_,f),Z=o.memoizedState),(E=Sc||Ak(o,u,E,f,j,Z,x))?(R||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(o.flags|=4194308),(o.mode&ds)!==se&&(o.flags|=134217728)):(typeof v.componentDidMount=="function"&&(o.flags|=4194308),(o.mode&ds)!==se&&(o.flags|=134217728),o.memoizedProps=f,o.memoizedState=Z),v.props=f,v.state=Z,v.context=x,v=E):(typeof v.componentDidMount=="function"&&(o.flags|=4194308),(o.mode&ds)!==se&&(o.flags|=134217728),v=!1)}else{v=o.stateNode,IT(a,o),x=o.memoizedProps,R=ud(u,x),v.props=R,_=o.pendingProps,j=v.context,Z=u.contextType,E=hc,typeof Z=="object"&&Z!==null&&(E=Un(Z)),X=u.getDerivedStateFromProps,(Z=typeof X=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(x!==_||j!==E)&&wk(o,v,f,E),Sc=!1,j=o.memoizedState,v.state=j,rg(o,f,v,m),ag();var at=o.memoizedState;x!==_||j!==at||Sc||a!==null&&a.dependencies!==null&&d1(a.dependencies)?(typeof X=="function"&&(A2(o,u,X,f),at=o.memoizedState),(R=Sc||Ak(o,u,R,f,j,at,E)||a!==null&&a.dependencies!==null&&d1(a.dependencies))?(Z||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(f,at,E),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(f,at,E)),typeof v.componentDidUpdate=="function"&&(o.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof v.componentDidUpdate!="function"||x===a.memoizedProps&&j===a.memoizedState||(o.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||x===a.memoizedProps&&j===a.memoizedState||(o.flags|=1024),o.memoizedProps=f,o.memoizedState=at),v.props=f,v.state=at,v.context=E,v=R):(typeof v.componentDidUpdate!="function"||x===a.memoizedProps&&j===a.memoizedState||(o.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||x===a.memoizedProps&&j===a.memoizedState||(o.flags|=1024),v=!1)}if(E=v,U1(a,o),x=(o.flags&128)!==0,E||x){if(E=o.stateNode,oa(o),x&&typeof u.getDerivedStateFromError!="function")u=null,Wa=-1;else if(u=UL(E),o.mode&Na){Le(!0);try{UL(E)}finally{Le(!1)}}o.flags|=1,a!==null&&x?(o.child=Ad(o,a.child,null,m),o.child=Ad(o,null,u,m)):da(a,o,u,m),o.memoizedState=E.state,a=o.child}else a=Hl(a,o,m);return m=o.stateNode,v&&m.props!==f&&(Pp||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",B(o)||"a component"),Pp=!0),a}function Lk(a,o,u,f){return id(),o.flags|=256,da(a,o,u,f),o.child}function D2(a,o){o&&o.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
148
|
+
%s.childContextTypes = ...`,o.displayName||o.name||"Component"),typeof o.getDerivedStateFromProps=="function"&&(a=P(o)||"Unknown",A6[a]||(console.error("%s: Function components do not support getDerivedStateFromProps.",a),A6[a]=!0)),typeof o.contextType=="object"&&o.contextType!==null&&(o=P(o)||"Unknown",S6[o]||(console.error("%s: Function components do not support contextType.",o),S6[o]=!0))}function R2(a){return{baseLanes:a,cachePool:zz()}}function O2(a,o,u){return a=a!==null?a.childLanes&~u:0,o&&(a|=gr),a}function Pk(a,o,u){var f,m=o.pendingProps;s(o)&&(o.flags|=128);var v=!1,x=(o.flags&128)!==0;if((f=x)||(f=a!==null&&a.memoizedState===null?!1:(hi.current&$g)!==0),f&&(v=!0,o.flags&=-129),f=(o.flags&32)!==0,o.flags&=-33,a===null){if(je){if(v?tc(o):ec(o),(a=Fn)?(u=a4(a,To),u=u!==null&&u.data!==Md?u:null,u!==null&&(f={dehydrated:u,treeContext:Tz(),retryLane:536870912,hydrationErrors:null},o.memoizedState=f,f=wz(u),f.return=o,o.child=f,ma=o,Fn=null)):u=null,u===null)throw c1(o,a),Zu(o);return lC(u)?o.lanes=32:o.lanes=536870912,null}var E=m.children;if(m=m.fallback,v){ec(o);var R=o.mode;return E=B1({mode:"hidden",children:E},R),m=ed(m,R,u,null),E.return=o,m.return=o,E.sibling=m,o.child=E,m=o.child,m.memoizedState=R2(u),m.childLanes=O2(a,f,u),o.memoizedState=SD,ug(null,m)}return tc(o),M2(o,E)}var _=a.memoizedState;if(_!==null){var X=_.dehydrated;if(X!==null){if(x)o.flags&256?(tc(o),o.flags&=-257,o=_2(a,o,u)):o.memoizedState!==null?(ec(o),o.child=a.child,o.flags|=128,o=null):(ec(o),E=m.fallback,R=o.mode,m=B1({mode:"visible",children:m.children},R),E=ed(E,R,u,null),E.flags|=2,m.return=o,E.return=o,m.sibling=E,o.child=m,Ad(o,a.child,null,u),m=o.child,m.memoizedState=R2(u),m.childLanes=O2(a,f,u),o.memoizedState=SD,o=ug(null,m));else if(tc(o),Dz(),(u&536870912)!==0&&G1(o),lC(X)){if(f=X.nextSibling&&X.nextSibling.dataset,f){E=f.dgst;var Z=f.msg;R=f.stck;var j=f.cstck}v=Z,f=E,m=R,X=j,E=v,R=X,E=Error(E||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),E.stack=m||"",E.digest=f,f=R===void 0?null:R,m={value:E,source:null,stack:f},typeof f=="string"&&$C.set(E,m),Jm(m),o=_2(a,o,u)}else if(Ci||Wh(a,o,u,!1),f=(u&a.childLanes)!==0,Ci||f){if(f=xn,f!==null&&(m=Nl(f,u),m!==0&&m!==_.retryLane))throw _.retryLane=m,_a(a,m),ni(f,a,m),bD;sC(X)||I1(),o=_2(a,o,u)}else sC(X)?(o.flags|=192,o.child=a.child,o=null):(a=_.treeContext,Fn=Vr(X.nextSibling),ma=o,je=!0,pc=null,il=!1,Yr=null,To=!1,a!==null&&Cz(o,a),o=M2(o,m.children),o.flags|=4096);return o}}return v?(ec(o),E=m.fallback,R=o.mode,j=a.child,X=j.sibling,m=Ll(j,{mode:"hidden",children:m.children}),m.subtreeFlags=j.subtreeFlags&65011712,X!==null?E=Ll(X,E):(E=ed(E,R,u,null),E.flags|=2),E.return=o,m.return=o,m.sibling=E,o.child=m,ug(null,m),m=o.child,E=a.child.memoizedState,E===null?E=R2(u):(R=E.cachePool,R!==null?(j=wi._currentValue,R=R.parent!==j?{parent:j,pool:j}:R):R=zz(),E={baseLanes:E.baseLanes|u,cachePool:R}),m.memoizedState=E,m.childLanes=O2(a,f,u),o.memoizedState=SD,ug(a.child,m)):(_!==null&&(u&62914560)===u&&(u&a.lanes)!==0&&G1(o),tc(o),u=a.child,a=u.sibling,u=Ll(u,{mode:"visible",children:m.children}),u.return=o,u.sibling=null,a!==null&&(f=o.deletions,f===null?(o.deletions=[a],o.flags|=16):f.push(a)),o.child=u,o.memoizedState=null,u)}function M2(a,o){return o=B1({mode:"visible",children:o},a.mode),o.return=a,a.child=o}function B1(a,o){return a=g(22,a,null,o),a.lanes=0,a}function _2(a,o,u){return Ad(o,a.child,null,u),a=M2(o,o.pendingProps.children),a.flags|=2,o.memoizedState=null,a}function Uk(a,o,u){a.lanes|=o;var f=a.alternate;f!==null&&(f.lanes|=o),PT(a.return,o,u)}function F2(a,o,u,f,m,v){var x=a.memoizedState;x===null?a.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:f,tail:u,tailMode:m,treeForkCount:v}:(x.isBackwards=o,x.rendering=null,x.renderingStartTime=0,x.last=f,x.tail=u,x.tailMode=m,x.treeForkCount=v)}function Bk(a,o,u){var f=o.pendingProps,m=f.revealOrder,v=f.tail,x=f.children,E=hi.current;if((f=(E&$g)!==0)?(E=E&Np|$g,o.flags|=128):E&=Np,ot(hi,E,o),E=m??"null",m!=="forwards"&&m!=="unstable_legacy-backwards"&&m!=="together"&&m!=="independent"&&!w6[E])if(w6[E]=!0,m==null)console.error('The default for the <SuspenseList revealOrder="..."> prop is changing. To be future compatible you must explictly specify either "independent" (the current default), "together", "forwards" or "legacy_unstable-backwards".');else if(m==="backwards")console.error('The rendering order of <SuspenseList revealOrder="backwards"> is changing. To be future compatible you must specify revealOrder="legacy_unstable-backwards" instead.');else if(typeof m=="string")switch(m.toLowerCase()){case"together":case"forwards":case"backwards":case"independent":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',m,m.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',m,m.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',m)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',m);E=v??"null",PS[E]||(v==null?(m==="forwards"||m==="backwards"||m==="unstable_legacy-backwards")&&(PS[E]=!0,console.error('The default for the <SuspenseList tail="..."> prop is changing. To be future compatible you must explictly specify either "visible" (the current default), "collapsed" or "hidden".')):v!=="visible"&&v!=="collapsed"&&v!=="hidden"?(PS[E]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',v)):m!=="forwards"&&m!=="backwards"&&m!=="unstable_legacy-backwards"&&(PS[E]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',v)));t:if((m==="forwards"||m==="backwards"||m==="unstable_legacy-backwards")&&x!==void 0&&x!==null&&x!==!1)if(ji(x)){for(E=0;E<x.length;E++)if(!Gz(x[E],E))break t}else if(E=z(x),typeof E=="function"){if(E=E.call(x))for(var R=E.next(),_=0;!R.done;R=E.next()){if(!Gz(R.value,_))break t;_++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',m);if(da(a,o,x,u),je?(Ku(),x=Ug):x=0,!f&&a!==null&&(a.flags&128)!==0)t:for(a=o.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&Uk(a,u,o);else if(a.tag===19)Uk(a,u,o);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===o)break t;for(;a.sibling===null;){if(a.return===null||a.return===o)break t;a=a.return}a.sibling.return=a.return,a=a.sibling}switch(m){case"forwards":for(u=o.child,m=null;u!==null;)a=u.alternate,a!==null&&w1(a)===null&&(m=u),u=u.sibling;u=m,u===null?(m=o.child,o.child=null):(m=u.sibling,u.sibling=null),F2(o,!1,m,u,v,x);break;case"backwards":case"unstable_legacy-backwards":for(u=null,m=o.child,o.child=null;m!==null;){if(a=m.alternate,a!==null&&w1(a)===null){o.child=m;break}a=m.sibling,m.sibling=u,u=m,m=a}F2(o,!0,u,null,v,x);break;case"together":F2(o,!1,null,null,void 0,x);break;default:o.memoizedState=null}return o.child}function Hl(a,o,u){if(a!==null&&(o.dependencies=a.dependencies),Wa=-1,wc|=o.lanes,(u&o.childLanes)===0)if(a!==null){if(Wh(a,o,u,!1),(u&o.childLanes)===0)return null}else return null;if(a!==null&&o.child!==a.child)throw Error("Resuming work not yet implemented.");if(o.child!==null){for(a=o.child,u=Ll(a,a.pendingProps),o.child=u,u.return=o;a.sibling!==null;)a=a.sibling,u=u.sibling=Ll(a,a.pendingProps),u.return=o;u.sibling=null}return o.child}function N2(a,o){return(a.lanes&o)!==0?!0:(a=a.dependencies,!!(a!==null&&d1(a)))}function pX(a,o,u){switch(o.tag){case 3:$(o,o.stateNode.containerInfo),Wu(o,wi,a.memoizedState.cache),id();break;case 27:case 5:wt(o);break;case 4:$(o,o.stateNode.containerInfo);break;case 10:Wu(o,o.type,o.memoizedProps.value);break;case 12:(u&o.childLanes)!==0&&(o.flags|=4),o.flags|=2048;var f=o.stateNode;f.effectDuration=-0,f.passiveEffectDuration=-0;break;case 31:if(o.memoizedState!==null)return o.flags|=128,KT(o),null;break;case 13:if(f=o.memoizedState,f!==null)return f.dehydrated!==null?(tc(o),o.flags|=128,null):(u&o.child.childLanes)!==0?Pk(a,o,u):(tc(o),a=Hl(a,o,u),a!==null?a.sibling:null);tc(o);break;case 19:var m=(a.flags&128)!==0;if(f=(u&o.childLanes)!==0,f||(Wh(a,o,u,!1),f=(u&o.childLanes)!==0),m){if(f)return Bk(a,o,u);o.flags|=128}if(m=o.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),ot(hi,hi.current,o),f)break;return null;case 22:return o.lanes=0,_k(a,o,u,o.pendingProps);case 24:Wu(o,wi,a.memoizedState.cache)}return Hl(a,o,u)}function z2(a,o,u){if(o._debugNeedsRemount&&a!==null){u=MT(o.type,o.key,o.pendingProps,o._debugOwner||null,o.mode,o.lanes),u._debugStack=o._debugStack,u._debugTask=o._debugTask;var f=o.return;if(f===null)throw Error("Cannot swap the root fiber.");if(a.alternate=null,o.alternate=null,u.index=o.index,u.sibling=o.sibling,u.return=o.return,u.ref=o.ref,u._debugInfo=o._debugInfo,o===f.child)f.child=u;else{var m=f.child;if(m===null)throw Error("Expected parent to have a child.");for(;m.sibling!==o;)if(m=m.sibling,m===null)throw Error("Expected to find the previous sibling.");m.sibling=u}return o=f.deletions,o===null?(f.deletions=[a],f.flags|=16):o.push(a),u.flags|=2,u}if(a!==null)if(a.memoizedProps!==o.pendingProps||o.type!==a.type)Ci=!0;else{if(!N2(a,u)&&(o.flags&128)===0)return Ci=!1,pX(a,o,u);Ci=(a.flags&131072)!==0}else Ci=!1,(f=je)&&(Ku(),f=(o.flags&1048576)!==0),f&&(f=o.index,Ku(),Ez(o,Ug,f));switch(o.lanes=0,o.tag){case 16:t:if(f=o.pendingProps,a=Qu(o.elementType),o.type=a,typeof a=="function")OT(a)?(f=ud(a,f),o.tag=1,o.type=a=td(a),o=kk(null,o,a,f,u)):(o.tag=0,D2(o,a),o.type=a=td(a),o=C2(null,o,a,f,u));else{if(a!=null){if(m=a.$$typeof,m===Tg){o.tag=11,o.type=a=RT(a),o=Rk(null,o,a,f,u);break t}else if(m===rS){o.tag=14,o=Ok(null,o,a,f,u);break t}}throw o="",a!==null&&typeof a=="object"&&a.$$typeof===Gr&&(o=" Did you wrap a component in React.lazy() more than once?"),u=P(a)||a,Error("Element type is invalid. Received a promise that resolves to: "+u+". Lazy element type must resolve to a class or function."+o)}return o;case 0:return C2(a,o,o.type,o.pendingProps,u);case 1:return f=o.type,m=ud(f,o.pendingProps),kk(a,o,f,m,u);case 3:t:{if($(o,o.stateNode.containerInfo),a===null)throw Error("Should have a current fiber. This is a bug in React.");f=o.pendingProps;var v=o.memoizedState;m=v.element,IT(a,o),rg(o,f,null,u);var x=o.memoizedState;if(f=x.cache,Wu(o,wi,f),f!==v.cache&&UT(o,[wi],u,!0),ag(),f=x.element,v.isDehydrated)if(v={element:f,isDehydrated:!1,cache:x.cache},o.updateQueue.baseState=v,o.memoizedState=v,o.flags&256){o=Lk(a,o,f,u);break t}else if(f!==m){m=Ur(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),o),Jm(m),o=Lk(a,o,f,u);break t}else for(a=o.stateNode.containerInfo,a.nodeType===9?a=a.body:a=a.nodeName==="HTML"?a.ownerDocument.body:a,Fn=Vr(a.firstChild),ma=o,je=!0,pc=null,il=!1,Yr=null,To=!0,u=JL(o,null,f,u),o.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(id(),f===m){o=Hl(a,o,u);break t}da(a,o,f,u)}o=o.child}return o;case 26:return U1(a,o),a===null?(u=c4(o.type,null,o.pendingProps,null))?o.memoizedState=u:je||(u=o.type,a=o.pendingProps,f=ft(sc.current),f=Z1(f).createElement(u),f[pa]=o,f[Ya]=a,ha(f,u,a),dt(f),o.stateNode=f):o.memoizedState=c4(o.type,a.memoizedProps,o.pendingProps,a.memoizedState),null;case 27:return wt(o),a===null&&je&&(f=ft(sc.current),m=K(),f=o.stateNode=l4(o.type,o.pendingProps,f,m,!1),il||(m=W8(f,o.type,o.pendingProps,m),m!==null&&(nd(o,0).serverProps=m)),ma=o,To=!0,m=Fn,rc(o.type)?(VD=m,Fn=Vr(f.firstChild)):Fn=m),da(a,o,o.pendingProps.children,u),U1(a,o),a===null&&(o.flags|=4194304),o.child;case 5:return a===null&&je&&(v=K(),f=ST(o.type,v.ancestorInfo),m=Fn,(x=!m)||(x=nY(m,o.type,o.pendingProps,To),x!==null?(o.stateNode=x,il||(v=W8(x,o.type,o.pendingProps,v),v!==null&&(nd(o,0).serverProps=v)),ma=o,Fn=Vr(x.firstChild),To=!1,v=!0):v=!1,x=!v),x&&(f&&c1(o,m),Zu(o))),wt(o),m=o.type,v=o.pendingProps,x=a!==null?a.memoizedProps:null,f=v.children,rC(m,v)?f=null:x!==null&&rC(m,x)&&(o.flags|=32),o.memoizedState!==null&&(m=WT(a,o,oX,null,null,u),vv._currentValue=m),U1(a,o),da(a,o,f,u),o.child;case 6:return a===null&&je&&(u=o.pendingProps,a=K(),f=a.ancestorInfo.current,u=f!=null?t1(u,f.tag,a.ancestorInfo.implicitRootScope):!0,a=Fn,(f=!a)||(f=iY(a,o.pendingProps,To),f!==null?(o.stateNode=f,ma=o,Fn=null,f=!0):f=!1,f=!f),f&&(u&&c1(o,a),Zu(o))),null;case 13:return Pk(a,o,u);case 4:return $(o,o.stateNode.containerInfo),f=o.pendingProps,a===null?o.child=Ad(o,null,f,u):da(a,o,f,u),o.child;case 11:return Rk(a,o,o.type,o.pendingProps,u);case 7:return da(a,o,o.pendingProps,u),o.child;case 8:return da(a,o,o.pendingProps.children,u),o.child;case 12:return o.flags|=4,o.flags|=2048,f=o.stateNode,f.effectDuration=-0,f.passiveEffectDuration=-0,da(a,o,o.pendingProps.children,u),o.child;case 10:return f=o.type,m=o.pendingProps,v=m.value,"value"in m||E6||(E6=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Wu(o,f,v),da(a,o,m.children,u),o.child;case 9:return m=o.type._context,f=o.pendingProps.children,typeof f!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),ad(o),m=Un(m),f=sD(f,m,void 0),o.flags|=1,da(a,o,f,u),o.child;case 14:return Ok(a,o,o.type,o.pendingProps,u);case 15:return Mk(a,o,o.type,o.pendingProps,u);case 19:return Bk(a,o,u);case 31:return hX(a,o,u);case 22:return _k(a,o,u,o.pendingProps);case 24:return ad(o),f=Un(wi),a===null?(m=qT(),m===null&&(m=xn,v=BT(),m.pooledCache=v,rd(v),v!==null&&(m.pooledCacheLanes|=u),m=v),o.memoizedState={parent:f,cache:m},GT(o),Wu(o,wi,m)):((a.lanes&u)!==0&&(IT(a,o),rg(o,null,null,u),ag()),m=a.memoizedState,v=o.memoizedState,m.parent!==f?(m={parent:f,cache:f},o.memoizedState=m,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=m),Wu(o,wi,f)):(f=v.cache,Wu(o,wi,f),f!==m.cache&&UT(o,[wi],u,!0))),da(a,o,o.pendingProps.children,u),o.child;case 29:throw o.pendingProps}throw Error("Unknown unit of work tag ("+o.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function jl(a){a.flags|=4}function k2(a,o,u,f,m){if((o=(a.mode&kK)!==se)&&(o=!1),o){if(a.flags|=16777216,(m&335544128)===m)if(a.stateNode.complete)a.flags|=8192;else if(y8())a.flags|=8192;else throw xd=_S,uD}else a.flags&=-16777217}function Hk(a,o){if(o.type!=="stylesheet"||(o.state.loading&Mo)!==Nd)a.flags&=-16777217;else if(a.flags|=16777216,!m4(o))if(y8())a.flags|=8192;else throw xd=_S,uD}function H1(a,o){o!==null&&(a.flags|=4),a.flags&16384&&(o=a.tag!==22?Ga():536870912,a.lanes|=o,Dd|=o)}function cg(a,o){if(!je)switch(a.tailMode){case"hidden":o=a.tail;for(var u=null;o!==null;)o.alternate!==null&&(u=o),o=o.sibling;u===null?a.tail=null:u.sibling=null;break;case"collapsed":u=a.tail;for(var f=null;u!==null;)u.alternate!==null&&(f=u),u=u.sibling;f===null?o||a.tail===null?a.tail=null:a.tail.sibling=null:f.sibling=null}}function Dn(a){var o=a.alternate!==null&&a.alternate.child===a.child,u=0,f=0;if(o)if((a.mode&Re)!==se){for(var m=a.selfBaseDuration,v=a.child;v!==null;)u|=v.lanes|v.childLanes,f|=v.subtreeFlags&65011712,f|=v.flags&65011712,m+=v.treeBaseDuration,v=v.sibling;a.treeBaseDuration=m}else for(m=a.child;m!==null;)u|=m.lanes|m.childLanes,f|=m.subtreeFlags&65011712,f|=m.flags&65011712,m.return=a,m=m.sibling;else if((a.mode&Re)!==se){m=a.actualDuration,v=a.selfBaseDuration;for(var x=a.child;x!==null;)u|=x.lanes|x.childLanes,f|=x.subtreeFlags,f|=x.flags,m+=x.actualDuration,v+=x.treeBaseDuration,x=x.sibling;a.actualDuration=m,a.treeBaseDuration=v}else for(m=a.child;m!==null;)u|=m.lanes|m.childLanes,f|=m.subtreeFlags,f|=m.flags,m.return=a,m=m.sibling;return a.subtreeFlags|=f,a.childLanes=u,o}function mX(a,o,u){var f=o.pendingProps;switch(zT(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Dn(o),null;case 1:return Dn(o),null;case 3:return u=o.stateNode,f=null,a!==null&&(f=a.memoizedState.cache),o.memoizedState.cache!==f&&(o.flags|=2048),Ul(wi,o),tt(o),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(a===null||a.child===null)&&(Zh(o)?(LT(),jl(o)):a===null||a.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,kT())),Dn(o),null;case 26:var m=o.type,v=o.memoizedState;return a===null?(jl(o),v!==null?(Dn(o),Hk(o,v)):(Dn(o),k2(o,m,null,f,u))):v?v!==a.memoizedState?(jl(o),Dn(o),Hk(o,v)):(Dn(o),o.flags&=-16777217):(a=a.memoizedProps,a!==f&&jl(o),Dn(o),k2(o,m,a,f,u)),null;case 27:if(Ct(o),u=ft(sc.current),m=o.type,a!==null&&o.stateNode!=null)a.memoizedProps!==f&&jl(o);else{if(!f){if(o.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Dn(o),null}a=K(),Zh(o)?Rz(o,a):(a=l4(m,f,u,a,!0),o.stateNode=a,jl(o))}return Dn(o),null;case 5:if(Ct(o),m=o.type,a!==null&&o.stateNode!=null)a.memoizedProps!==f&&jl(o);else{if(!f){if(o.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Dn(o),null}var x=K();if(Zh(o))Rz(o,x);else{switch(v=ft(sc.current),ST(m,x.ancestorInfo),x=x.context,v=Z1(v),x){case Ip:v=v.createElementNS(mp,m);break;case ix:v=v.createElementNS(dS,m);break;default:switch(m){case"svg":v=v.createElementNS(mp,m);break;case"math":v=v.createElementNS(dS,m);break;case"script":v=v.createElement("div"),v.innerHTML="<script></script>",v=v.removeChild(v.firstChild);break;case"select":v=typeof f.is=="string"?v.createElement("select",{is:f.is}):v.createElement("select"),f.multiple?v.multiple=!0:f.size&&(v.size=f.size);break;default:v=typeof f.is=="string"?v.createElement(m,{is:f.is}):v.createElement(m),m.indexOf("-")===-1&&(m!==m.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",m),Object.prototype.toString.call(v)!=="[object HTMLUnknownElement]"||cs.call(K6,m)||(K6[m]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",m)))}}v[pa]=o,v[Ya]=f;t:for(x=o.child;x!==null;){if(x.tag===5||x.tag===6)v.appendChild(x.stateNode);else if(x.tag!==4&&x.tag!==27&&x.child!==null){x.child.return=x,x=x.child;continue}if(x===o)break t;for(;x.sibling===null;){if(x.return===null||x.return===o)break t;x=x.return}x.sibling.return=x.return,x=x.sibling}o.stateNode=v;t:switch(ha(v,m,f),m){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break t;case"img":f=!0;break t;default:f=!1}f&&jl(o)}}return Dn(o),k2(o,o.type,a===null?null:a.memoizedProps,o.pendingProps,u),null;case 6:if(a&&o.stateNode!=null)a.memoizedProps!==f&&jl(o);else{if(typeof f!="string"&&o.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(a=ft(sc.current),u=K(),Zh(o)){if(a=o.stateNode,u=o.memoizedProps,m=!il,f=null,v=ma,v!==null)switch(v.tag){case 3:m&&(m=o4(a,u,f),m!==null&&(nd(o,0).serverProps=m));break;case 27:case 5:f=v.memoizedProps,m&&(m=o4(a,u,f),m!==null&&(nd(o,0).serverProps=m))}a[pa]=o,a=!!(a.nodeValue===u||f!==null&&f.suppressHydrationWarning===!0||I8(a.nodeValue,u)),a||Zu(o,!0)}else m=u.ancestorInfo.current,m!=null&&t1(f,m.tag,u.ancestorInfo.implicitRootScope),a=Z1(a).createTextNode(f),a[pa]=o,o.stateNode=a}return Dn(o),null;case 31:if(u=o.memoizedState,a===null||a.memoizedState!==null){if(f=Zh(o),u!==null){if(a===null){if(!f)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(a=o.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error("Expected to have a hydrated activity instance. This error is likely caused by a bug in React. Please file an issue.");a[pa]=o,Dn(o),(o.mode&Re)!==se&&u!==null&&(a=o.child,a!==null&&(o.treeBaseDuration-=a.treeBaseDuration))}else LT(),id(),(o.flags&128)===0&&(u=o.memoizedState=null),o.flags|=4,Dn(o),(o.mode&Re)!==se&&u!==null&&(a=o.child,a!==null&&(o.treeBaseDuration-=a.treeBaseDuration));a=!1}else u=kT(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=u),a=!0;if(!a)return o.flags&256?(jr(o),o):(jr(o),null);if((o.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return Dn(o),null;case 13:if(f=o.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(m=f,v=Zh(o),m!==null&&m.dehydrated!==null){if(a===null){if(!v)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(v=o.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");v[pa]=o,Dn(o),(o.mode&Re)!==se&&m!==null&&(m=o.child,m!==null&&(o.treeBaseDuration-=m.treeBaseDuration))}else LT(),id(),(o.flags&128)===0&&(m=o.memoizedState=null),o.flags|=4,Dn(o),(o.mode&Re)!==se&&m!==null&&(m=o.child,m!==null&&(o.treeBaseDuration-=m.treeBaseDuration));m=!1}else m=kT(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=m),m=!0;if(!m)return o.flags&256?(jr(o),o):(jr(o),null)}return jr(o),(o.flags&128)!==0?(o.lanes=u,(o.mode&Re)!==se&&eg(o),o):(u=f!==null,a=a!==null&&a.memoizedState!==null,u&&(f=o.child,m=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(m=f.alternate.memoizedState.cachePool.pool),v=null,f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(v=f.memoizedState.cachePool.pool),v!==m&&(f.flags|=2048)),u!==a&&u&&(o.child.flags|=8192),H1(o,o.updateQueue),Dn(o),(o.mode&Re)!==se&&u&&(a=o.child,a!==null&&(o.treeBaseDuration-=a.treeBaseDuration)),null);case 4:return tt(o),a===null&&J2(o.stateNode.containerInfo),Dn(o),null;case 10:return Ul(o.type,o),Dn(o),null;case 19:if(Y(hi,o),f=o.memoizedState,f===null)return Dn(o),null;if(m=(o.flags&128)!==0,v=f.rendering,v===null)if(m)cg(f,!1);else{if(Yn!==nu||a!==null&&(a.flags&128)!==0)for(a=o.child;a!==null;){if(v=w1(a),v!==null){for(o.flags|=128,cg(f,!1),a=v.updateQueue,o.updateQueue=a,H1(o,a),o.subtreeFlags=0,a=u,u=o.child;u!==null;)Az(u,a),u=u.sibling;return ot(hi,hi.current&Np|$g,o),je&&Pl(o,f.treeForkCount),o.child}a=a.sibling}f.tail!==null&&Ji()>GS&&(o.flags|=128,m=!0,cg(f,!1),o.lanes=4194304)}else{if(!m)if(a=w1(v),a!==null){if(o.flags|=128,m=!0,a=a.updateQueue,o.updateQueue=a,H1(o,a),cg(f,!0),f.tail===null&&f.tailMode==="hidden"&&!v.alternate&&!je)return Dn(o),null}else 2*Ji()-f.renderingStartTime>GS&&u!==536870912&&(o.flags|=128,m=!0,cg(f,!1),o.lanes=4194304);f.isBackwards?(v.sibling=o.child,o.child=v):(a=f.last,a!==null?a.sibling=v:o.child=v,f.last=v)}return f.tail!==null?(a=f.tail,f.rendering=a,f.tail=a.sibling,f.renderingStartTime=Ji(),a.sibling=null,u=hi.current,u=m?u&Np|$g:u&Np,ot(hi,u,o),je&&Pl(o,f.treeForkCount),a):(Dn(o),null);case 22:case 23:return jr(o),YT(o),f=o.memoizedState!==null,a!==null?a.memoizedState!==null!==f&&(o.flags|=8192):f&&(o.flags|=8192),f?(u&536870912)!==0&&(o.flags&128)===0&&(Dn(o),o.subtreeFlags&6&&(o.flags|=8192)):Dn(o),u=o.updateQueue,u!==null&&H1(o,u.retryQueue),u=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),f=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(f=o.memoizedState.cachePool.pool),f!==u&&(o.flags|=2048),a!==null&&Y(bd,o),null;case 24:return u=null,a!==null&&(u=a.memoizedState.cache),o.memoizedState.cache!==u&&(o.flags|=2048),Ul(wi,o),Dn(o),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+o.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function gX(a,o){switch(zT(o),o.tag){case 1:return a=o.flags,a&65536?(o.flags=a&-65537|128,(o.mode&Re)!==se&&eg(o),o):null;case 3:return Ul(wi,o),tt(o),a=o.flags,(a&65536)!==0&&(a&128)===0?(o.flags=a&-65537|128,o):null;case 26:case 27:case 5:return Ct(o),null;case 31:if(o.memoizedState!==null){if(jr(o),o.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");id()}return a=o.flags,a&65536?(o.flags=a&-65537|128,(o.mode&Re)!==se&&eg(o),o):null;case 13:if(jr(o),a=o.memoizedState,a!==null&&a.dehydrated!==null){if(o.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");id()}return a=o.flags,a&65536?(o.flags=a&-65537|128,(o.mode&Re)!==se&&eg(o),o):null;case 19:return Y(hi,o),null;case 4:return tt(o),null;case 10:return Ul(o.type,o),null;case 22:case 23:return jr(o),YT(o),a!==null&&Y(bd,o),a=o.flags,a&65536?(o.flags=a&-65537|128,(o.mode&Re)!==se&&eg(o),o):null;case 24:return Ul(wi,o),null;case 25:return null;default:return null}}function jk(a,o){switch(zT(o),o.tag){case 3:Ul(wi,o),tt(o);break;case 26:case 27:case 5:Ct(o);break;case 4:tt(o);break;case 31:o.memoizedState!==null&&jr(o);break;case 13:jr(o);break;case 19:Y(hi,o);break;case 10:Ul(o.type,o);break;case 22:case 23:jr(o),YT(o),a!==null&&Y(bd,o);break;case 24:Ul(wi,o)}}function Gs(a){return(a.mode&Re)!==se}function qk(a,o){Gs(a)?(Vs(),fg(o,a),qs()):fg(o,a)}function L2(a,o,u){Gs(a)?(Vs(),ep(u,a,o),qs()):ep(u,a,o)}function fg(a,o){try{var u=o.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var m=f.next;u=m;do{if((u.tag&a)===a&&(f=void 0,(a&Qa)!==NS&&(qp=!0),f=Et(o,HK,u),(a&Qa)!==NS&&(qp=!1),f!==void 0&&typeof f!="function")){var v=void 0;v=(u.tag&Zr)!==0?"useLayoutEffect":(u.tag&Qa)!==0?"useInsertionEffect":"useEffect";var x=void 0;x=f===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof f.then=="function"?`
|
|
149
|
+
|
|
150
|
+
It looks like you wrote `+v+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
151
|
+
|
|
152
|
+
`+v+`(() => {
|
|
153
|
+
async function fetchData() {
|
|
154
|
+
// You can await here
|
|
155
|
+
const response = await MyAPI.getData(someId);
|
|
156
|
+
// ...
|
|
157
|
+
}
|
|
158
|
+
fetchData();
|
|
159
|
+
}, [someId]); // Or [] if effect doesn't need props or state
|
|
160
|
+
|
|
161
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+f,Et(o,function(E,R){console.error("%s must not return anything besides a function, which is used for clean-up.%s",E,R)},v,x)}u=u.next}while(u!==m)}}catch(E){on(o,o.return,E)}}function ep(a,o,u){try{var f=o.updateQueue,m=f!==null?f.lastEffect:null;if(m!==null){var v=m.next;f=v;do{if((f.tag&a)===a){var x=f.inst,E=x.destroy;E!==void 0&&(x.destroy=void 0,(a&Qa)!==NS&&(qp=!0),m=o,Et(m,jK,m,u,E),(a&Qa)!==NS&&(qp=!1))}f=f.next}while(f!==v)}}catch(R){on(o,o.return,R)}}function Vk(a,o){Gs(a)?(Vs(),fg(o,a),qs()):fg(o,a)}function P2(a,o,u){Gs(a)?(Vs(),ep(u,a,o),qs()):ep(u,a,o)}function Gk(a){var o=a.updateQueue;if(o!==null){var u=a.stateNode;a.type.defaultProps||"ref"in a.memoizedProps||Pp||(u.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",B(a)||"instance"),u.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",B(a)||"instance"));try{Et(a,Xz,o,u)}catch(f){on(a,a.return,f)}}}function vX(a,o,u){return a.getSnapshotBeforeUpdate(o,u)}function yX(a,o){var u=o.memoizedProps,f=o.memoizedState;o=a.stateNode,a.type.defaultProps||"ref"in a.memoizedProps||Pp||(o.props!==a.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",B(a)||"instance"),o.state!==a.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",B(a)||"instance"));try{var m=ud(a.type,u),v=Et(a,vX,o,m,f);u=T6,v!==void 0||u.has(a.type)||(u.add(a.type),Et(a,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",B(a))})),o.__reactInternalSnapshotBeforeUpdate=v}catch(x){on(a,a.return,x)}}function Ik(a,o,u){u.props=ud(a.type,a.memoizedProps),u.state=a.memoizedState,Gs(a)?(Vs(),Et(a,GL,a,o,u),qs()):Et(a,GL,a,o,u)}function bX(a){var o=a.ref;if(o!==null){switch(a.tag){case 26:case 27:case 5:var u=a.stateNode;break;case 30:u=a.stateNode;break;default:u=a.stateNode}if(typeof o=="function")if(Gs(a))try{Vs(),a.refCleanup=o(u)}finally{qs()}else a.refCleanup=o(u);else typeof o=="string"?console.error("String refs are no longer supported."):o.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",B(a)),o.current=u}}function dg(a,o){try{Et(a,bX,a)}catch(u){on(a,o,u)}}function Is(a,o){var u=a.ref,f=a.refCleanup;if(u!==null)if(typeof f=="function")try{if(Gs(a))try{Vs(),Et(a,f)}finally{qs(a)}else Et(a,f)}catch(m){on(a,o,m)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof u=="function")try{if(Gs(a))try{Vs(),Et(a,u,null)}finally{qs(a)}else Et(a,u,null)}catch(m){on(a,o,m)}else u.current=null}function Xk(a,o,u,f){var m=a.memoizedProps,v=m.id,x=m.onCommit;m=m.onRender,o=o===null?"mount":"update",DS&&(o="nested-update"),typeof m=="function"&&m(v,o,a.actualDuration,a.treeBaseDuration,a.actualStartTime,u),typeof x=="function"&&x(v,o,f,u)}function SX(a,o,u,f){var m=a.memoizedProps;a=m.id,m=m.onPostCommit,o=o===null?"mount":"update",DS&&(o="nested-update"),typeof m=="function"&&m(a,o,f,u)}function Yk(a){var o=a.type,u=a.memoizedProps,f=a.stateNode;try{Et(a,GX,f,o,u,a)}catch(m){on(a,a.return,m)}}function U2(a,o,u){try{Et(a,XX,a.stateNode,a.type,u,o,a)}catch(f){on(a,a.return,f)}}function Kk(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&rc(a.type)||a.tag===4}function B2(a){t:for(;;){for(;a.sibling===null;){if(a.return===null||Kk(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==18;){if(a.tag===27&&rc(a.type)||a.flags&2||a.child===null||a.tag===4)continue t;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function H2(a,o,u){var f=a.tag;if(f===5||f===6)a=a.stateNode,o?(e4(u),(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(a,o)):(e4(u),o=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,o.appendChild(a),u=u._reactRootContainer,u!=null||o.onclick!==null||(o.onclick=kl));else if(f!==4&&(f===27&&rc(a.type)&&(u=a.stateNode,o=null),a=a.child,a!==null))for(H2(a,o,u),a=a.sibling;a!==null;)H2(a,o,u),a=a.sibling}function j1(a,o,u){var f=a.tag;if(f===5||f===6)a=a.stateNode,o?u.insertBefore(a,o):u.appendChild(a);else if(f!==4&&(f===27&&rc(a.type)&&(u=a.stateNode),a=a.child,a!==null))for(j1(a,o,u),a=a.sibling;a!==null;)j1(a,o,u),a=a.sibling}function xX(a){for(var o,u=a.return;u!==null;){if(Kk(u)){o=u;break}u=u.return}if(o==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(o.tag){case 27:o=o.stateNode,u=B2(a),j1(a,u,o);break;case 5:u=o.stateNode,o.flags&32&&(t4(u),o.flags&=-33),o=B2(a),j1(a,o,u);break;case 3:case 4:o=o.stateNode.containerInfo,u=B2(a),H2(a,u,o);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Zk(a){var o=a.stateNode,u=a.memoizedProps;try{Et(a,lY,a.type,u,o,a)}catch(f){on(a,a.return,f)}}function Wk(a,o){return o.tag===31?(o=o.memoizedState,a.memoizedState!==null&&o===null):o.tag===13?(a=a.memoizedState,o=o.memoizedState,a!==null&&a.dehydrated!==null&&(o===null||o.dehydrated===null)):o.tag===3?a.memoizedState.isDehydrated&&(o.flags&256)===0:!1}function AX(a,o){if(a=a.containerInfo,HD=sx,a=dz(a),wT(a)){if("selectionStart"in a)var u={start:a.selectionStart,end:a.selectionEnd};else t:{u=(u=a.ownerDocument)&&u.defaultView||window;var f=u.getSelection&&u.getSelection();if(f&&f.rangeCount!==0){u=f.anchorNode;var m=f.anchorOffset,v=f.focusNode;f=f.focusOffset;try{u.nodeType,v.nodeType}catch{u=null;break t}var x=0,E=-1,R=-1,_=0,X=0,Z=a,j=null;e:for(;;){for(var at;Z!==u||m!==0&&Z.nodeType!==3||(E=x+m),Z!==v||f!==0&&Z.nodeType!==3||(R=x+f),Z.nodeType===3&&(x+=Z.nodeValue.length),(at=Z.firstChild)!==null;)j=Z,Z=at;for(;;){if(Z===a)break e;if(j===u&&++_===m&&(E=x),j===v&&++X===f&&(R=x),(at=Z.nextSibling)!==null)break;Z=j,j=Z.parentNode}Z=at}u=E===-1||R===-1?null:{start:E,end:R}}else u=null}u=u||{start:0,end:0}}else u=null;for(jD={focusedElem:a,selectionRange:u},sx=!1,ta=o;ta!==null;)if(o=ta,a=o.child,(o.subtreeFlags&1028)!==0&&a!==null)a.return=o,ta=a;else for(;ta!==null;){switch(a=o=ta,u=a.alternate,m=a.flags,a.tag){case 0:if((m&4)!==0&&(a=a.updateQueue,a=a!==null?a.events:null,a!==null))for(u=0;u<a.length;u++)m=a[u],m.ref.impl=m.nextImpl;break;case 11:case 15:break;case 1:(m&1024)!==0&&u!==null&&yX(a,u);break;case 3:if((m&1024)!==0){if(a=a.stateNode.containerInfo,u=a.nodeType,u===9)oC(a);else if(u===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":oC(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((m&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(a=o.sibling,a!==null){a.return=o.return,ta=a;break}ta=o.return}}function Qk(a,o,u){var f=Br(),m=Us(),v=Hs(),x=js(),E=u.flags;switch(u.tag){case 0:case 11:case 15:Xs(a,u),E&4&&qk(u,Zr|Ro);break;case 1:if(Xs(a,u),E&4)if(a=u.stateNode,o===null)u.type.defaultProps||"ref"in u.memoizedProps||Pp||(a.props!==u.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",B(u)||"instance"),a.state!==u.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",B(u)||"instance")),Gs(u)?(Vs(),Et(u,lD,u,a),qs()):Et(u,lD,u,a);else{var R=ud(u.type,o.memoizedProps);o=o.memoizedState,u.type.defaultProps||"ref"in u.memoizedProps||Pp||(a.props!==u.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",B(u)||"instance"),a.state!==u.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",B(u)||"instance")),Gs(u)?(Vs(),Et(u,jL,u,a,R,o,a.__reactInternalSnapshotBeforeUpdate),qs()):Et(u,jL,u,a,R,o,a.__reactInternalSnapshotBeforeUpdate)}E&64&&Gk(u),E&512&&dg(u,u.return);break;case 3:if(o=Bl(),Xs(a,u),E&64&&(E=u.updateQueue,E!==null)){if(R=null,u.child!==null)switch(u.child.tag){case 27:case 5:R=u.child.stateNode;break;case 1:R=u.child.stateNode}try{Et(u,Xz,E,R)}catch(X){on(u,u.return,X)}}a.effectDuration+=p1(o);break;case 27:o===null&&E&4&&Zk(u);case 26:case 5:if(Xs(a,u),o===null){if(E&4)Yk(u);else if(E&64){a=u.type,o=u.memoizedProps,R=u.stateNode;try{Et(u,IX,R,a,o,u)}catch(X){on(u,u.return,X)}}}E&512&&dg(u,u.return);break;case 12:if(E&4){E=Bl(),Xs(a,u),a=u.stateNode,a.effectDuration+=tg(E);try{Et(u,Xk,u,o,mc,a.effectDuration)}catch(X){on(u,u.return,X)}}else Xs(a,u);break;case 31:Xs(a,u),E&4&&t8(a,u);break;case 13:Xs(a,u),E&4&&e8(a,u),E&64&&(a=u.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(E=_X.bind(null,u),aY(a,E))));break;case 22:if(E=u.memoizedState!==null||eu,!E){o=o!==null&&o.memoizedState!==null||Di,R=eu;var _=Di;eu=E,(Di=o)&&!_?(Ys(a,u,(u.subtreeFlags&8772)!==0),(u.mode&Re)!==se&&0<=$t&&0<=ne&&.05<ne-$t&&a1(u,$t,ne)):Xs(a,u),eu=R,Di=_}break;case 30:break;default:Xs(a,u)}(u.mode&Re)!==se&&0<=$t&&0<=ne&&((ii||.05<Xn)&&Ls(u,$t,ne,Xn,Bn),u.alternate===null&&u.return!==null&&u.return.alternate!==null&&.05<ne-$t&&(Wk(u.return.alternate,u.return)||ks(u,$t,ne,"Mount"))),Hr(f),Bs(m),Bn=v,ii=x}function Jk(a){var o=a.alternate;o!==null&&(a.alternate=null,Jk(o)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(o=a.stateNode,o!==null&&Ot(o)),a.stateNode=null,a._debugOwner=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}function ql(a,o,u){for(u=u.child;u!==null;)$k(a,o,u),u=u.sibling}function $k(a,o,u){if(Fa&&typeof Fa.onCommitFiberUnmount=="function")try{Fa.onCommitFiberUnmount(hp,u)}catch(_){$s||($s=!0,console.error("React instrumentation encountered an error: %o",_))}var f=Br(),m=Us(),v=Hs(),x=js();switch(u.tag){case 26:Di||Is(u,o),ql(a,o,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(a=u.stateNode,a.parentNode.removeChild(a));break;case 27:Di||Is(u,o);var E=Ri,R=pr;rc(u.type)&&(Ri=u.stateNode,pr=!1),ql(a,o,u),Et(u,xg,u.stateNode),Ri=E,pr=R;break;case 5:Di||Is(u,o);case 6:if(E=Ri,R=pr,Ri=null,ql(a,o,u),Ri=E,pr=R,Ri!==null)if(pr)try{Et(u,ZX,Ri,u.stateNode)}catch(_){on(u,o,_)}else try{Et(u,KX,Ri,u.stateNode)}catch(_){on(u,o,_)}break;case 18:Ri!==null&&(pr?(a=Ri,n4(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,u.stateNode),up(a)):n4(Ri,u.stateNode));break;case 4:E=Ri,R=pr,Ri=u.stateNode.containerInfo,pr=!0,ql(a,o,u),Ri=E,pr=R;break;case 0:case 11:case 14:case 15:ep(Qa,u,o),Di||L2(u,o,Zr),ql(a,o,u);break;case 1:Di||(Is(u,o),E=u.stateNode,typeof E.componentWillUnmount=="function"&&Ik(u,o,E)),ql(a,o,u);break;case 21:ql(a,o,u);break;case 22:Di=(E=Di)||u.memoizedState!==null,ql(a,o,u),Di=E;break;default:ql(a,o,u)}(u.mode&Re)!==se&&0<=$t&&0<=ne&&(ii||.05<Xn)&&Ls(u,$t,ne,Xn,Bn),Hr(f),Bs(m),Bn=v,ii=x}function t8(a,o){if(o.memoizedState===null&&(a=o.alternate,a!==null&&(a=a.memoizedState,a!==null))){a=a.dehydrated;try{Et(o,oY,a)}catch(u){on(o,o.return,u)}}}function e8(a,o){if(o.memoizedState===null&&(a=o.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{Et(o,sY,a)}catch(u){on(o,o.return,u)}}function wX(a){switch(a.tag){case 31:case 13:case 19:var o=a.stateNode;return o===null&&(o=a.stateNode=new C6),o;case 22:return a=a.stateNode,o=a._retryCache,o===null&&(o=a._retryCache=new C6),o;default:throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}}function q1(a,o){var u=wX(a);o.forEach(function(f){if(!u.has(f)){if(u.add(f),tl)if(Up!==null&&Bp!==null)gg(Bp,Up);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var m=FX.bind(null,a,f);f.then(m,m)}})}function dr(a,o){var u=o.deletions;if(u!==null)for(var f=0;f<u.length;f++){var m=a,v=o,x=u[f],E=Br(),R=v;t:for(;R!==null;){switch(R.tag){case 27:if(rc(R.type)){Ri=R.stateNode,pr=!1;break t}break;case 5:Ri=R.stateNode,pr=!1;break t;case 3:case 4:Ri=R.stateNode.containerInfo,pr=!0;break t}R=R.return}if(Ri===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");$k(m,v,x),Ri=null,pr=!1,(x.mode&Re)!==se&&0<=$t&&0<=ne&&.05<ne-$t&&ks(x,$t,ne,"Unmount"),Hr(E),m=x,v=m.alternate,v!==null&&(v.return=null),m.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)n8(o,a),o=o.sibling}function n8(a,o){var u=Br(),f=Us(),m=Hs(),v=js(),x=a.alternate,E=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:dr(o,a),hr(a),E&4&&(ep(Qa|Ro,a,a.return),fg(Qa|Ro,a),L2(a,a.return,Zr|Ro));break;case 1:if(dr(o,a),hr(a),E&512&&(Di||x===null||Is(x,x.return)),E&64&&eu&&(E=a.updateQueue,E!==null&&(x=E.callbacks,x!==null))){var R=E.shared.hiddenCallbacks;E.shared.hiddenCallbacks=R===null?x:R.concat(x)}break;case 26:if(R=ms,dr(o,a),hr(a),E&512&&(Di||x===null||Is(x,x.return)),E&4){var _=x!==null?x.memoizedState:null;if(E=a.memoizedState,x===null)if(E===null)if(a.stateNode===null){t:{E=a.type,x=a.memoizedProps,R=R.ownerDocument||R;e:switch(E){case"title":_=R.getElementsByTagName("title")[0],(!_||_[Rg]||_[pa]||_.namespaceURI===mp||_.hasAttribute("itemprop"))&&(_=R.createElement(E),R.head.insertBefore(_,R.querySelector("head > title"))),ha(_,E,x),_[pa]=a,dt(_),E=_;break t;case"link":var X=h4("link","href",R).get(E+(x.href||""));if(X){for(var Z=0;Z<X.length;Z++)if(_=X[Z],_.getAttribute("href")===(x.href==null||x.href===""?null:x.href)&&_.getAttribute("rel")===(x.rel==null?null:x.rel)&&_.getAttribute("title")===(x.title==null?null:x.title)&&_.getAttribute("crossorigin")===(x.crossOrigin==null?null:x.crossOrigin)){X.splice(Z,1);break e}}_=R.createElement(E),ha(_,E,x),R.head.appendChild(_);break;case"meta":if(X=h4("meta","content",R).get(E+(x.content||""))){for(Z=0;Z<X.length;Z++)if(_=X[Z],et(x.content,"content"),_.getAttribute("content")===(x.content==null?null:""+x.content)&&_.getAttribute("name")===(x.name==null?null:x.name)&&_.getAttribute("property")===(x.property==null?null:x.property)&&_.getAttribute("http-equiv")===(x.httpEquiv==null?null:x.httpEquiv)&&_.getAttribute("charset")===(x.charSet==null?null:x.charSet)){X.splice(Z,1);break e}}_=R.createElement(E),ha(_,E,x),R.head.appendChild(_);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+E+'". This is a bug in React.')}_[pa]=a,dt(_),E=_}a.stateNode=E}else p4(R,a.type,a.stateNode);else a.stateNode=d4(R,E,a.memoizedProps);else _!==E?(_===null?x.stateNode!==null&&(x=x.stateNode,x.parentNode.removeChild(x)):_.count--,E===null?p4(R,a.type,a.stateNode):d4(R,E,a.memoizedProps)):E===null&&a.stateNode!==null&&U2(a,a.memoizedProps,x.memoizedProps)}break;case 27:dr(o,a),hr(a),E&512&&(Di||x===null||Is(x,x.return)),x!==null&&E&4&&U2(a,a.memoizedProps,x.memoizedProps);break;case 5:if(dr(o,a),hr(a),E&512&&(Di||x===null||Is(x,x.return)),a.flags&32){R=a.stateNode;try{Et(a,t4,R)}catch(Nt){on(a,a.return,Nt)}}E&4&&a.stateNode!=null&&(R=a.memoizedProps,U2(a,R,x!==null?x.memoizedProps:R)),E&1024&&(xD=!0,a.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(dr(o,a),hr(a),E&4){if(a.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");E=a.memoizedProps,x=x!==null?x.memoizedProps:E,R=a.stateNode;try{Et(a,YX,R,x,E)}catch(Nt){on(a,a.return,Nt)}}break;case 3:if(R=Bl(),ax=null,_=ms,ms=W1(o.containerInfo),dr(o,a),ms=_,hr(a),E&4&&x!==null&&x.memoizedState.isDehydrated)try{Et(a,rY,o.containerInfo)}catch(Nt){on(a,a.return,Nt)}xD&&(xD=!1,i8(a)),o.effectDuration+=p1(R);break;case 4:E=ms,ms=W1(a.stateNode.containerInfo),dr(o,a),hr(a),ms=E;break;case 12:E=Bl(),dr(o,a),hr(a),a.stateNode.effectDuration+=tg(E);break;case 31:dr(o,a),hr(a),E&4&&(E=a.updateQueue,E!==null&&(a.updateQueue=null,q1(a,E)));break;case 13:dr(o,a),hr(a),a.child.flags&8192&&a.memoizedState!==null!=(x!==null&&x.memoizedState!==null)&&(VS=Ji()),E&4&&(E=a.updateQueue,E!==null&&(a.updateQueue=null,q1(a,E)));break;case 22:R=a.memoizedState!==null;var j=x!==null&&x.memoizedState!==null,at=eu,Dt=Di;if(eu=at||R,Di=Dt||j,dr(o,a),Di=Dt,eu=at,j&&!R&&!at&&!Dt&&(a.mode&Re)!==se&&0<=$t&&0<=ne&&.05<ne-$t&&a1(a,$t,ne),hr(a),E&8192)t:for(o=a.stateNode,o._visibility=R?o._visibility&~Pg:o._visibility|Pg,!R||x===null||j||eu||Di||(cd(a),(a.mode&Re)!==se&&0<=$t&&0<=ne&&.05<ne-$t&&ks(a,$t,ne,"Disconnect")),x=null,o=a;;){if(o.tag===5||o.tag===26){if(x===null){j=x=o;try{_=j.stateNode,R?Et(j,QX,_):Et(j,tY,j.stateNode,j.memoizedProps)}catch(Nt){on(j,j.return,Nt)}}}else if(o.tag===6){if(x===null){j=o;try{X=j.stateNode,R?Et(j,JX,X):Et(j,eY,X,j.memoizedProps)}catch(Nt){on(j,j.return,Nt)}}}else if(o.tag===18){if(x===null){j=o;try{Z=j.stateNode,R?Et(j,WX,Z):Et(j,$X,j.stateNode)}catch(Nt){on(j,j.return,Nt)}}}else if((o.tag!==22&&o.tag!==23||o.memoizedState===null||o===a)&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===a)break t;for(;o.sibling===null;){if(o.return===null||o.return===a)break t;x===o&&(x=null),o=o.return}x===o&&(x=null),o.sibling.return=o.return,o=o.sibling}E&4&&(E=a.updateQueue,E!==null&&(x=E.retryQueue,x!==null&&(E.retryQueue=null,q1(a,x))));break;case 19:dr(o,a),hr(a),E&4&&(E=a.updateQueue,E!==null&&(a.updateQueue=null,q1(a,E)));break;case 30:break;case 21:break;default:dr(o,a),hr(a)}(a.mode&Re)!==se&&0<=$t&&0<=ne&&((ii||.05<Xn)&&Ls(a,$t,ne,Xn,Bn),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<ne-$t&&(Wk(a.return.alternate,a.return)||ks(a,$t,ne,"Mount"))),Hr(u),Bs(f),Bn=m,ii=v}function hr(a){var o=a.flags;if(o&2){try{Et(a,xX,a)}catch(u){on(a,a.return,u)}a.flags&=-3}o&4096&&(a.flags&=-4097)}function i8(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var o=a;i8(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),a=a.sibling}}function Xs(a,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)Qk(a,o.alternate,o),o=o.sibling}function a8(a){var o=Br(),u=Us(),f=Hs(),m=js();switch(a.tag){case 0:case 11:case 14:case 15:L2(a,a.return,Zr),cd(a);break;case 1:Is(a,a.return);var v=a.stateNode;typeof v.componentWillUnmount=="function"&&Ik(a,a.return,v),cd(a);break;case 27:Et(a,xg,a.stateNode);case 26:case 5:Is(a,a.return),cd(a);break;case 22:a.memoizedState===null&&cd(a);break;case 30:cd(a);break;default:cd(a)}(a.mode&Re)!==se&&0<=$t&&0<=ne&&(ii||.05<Xn)&&Ls(a,$t,ne,Xn,Bn),Hr(o),Bs(u),Bn=f,ii=m}function cd(a){for(a=a.child;a!==null;)a8(a),a=a.sibling}function r8(a,o,u,f){var m=Br(),v=Us(),x=Hs(),E=js(),R=u.flags;switch(u.tag){case 0:case 11:case 15:Ys(a,u,f),qk(u,Zr);break;case 1:if(Ys(a,u,f),o=u.stateNode,typeof o.componentDidMount=="function"&&Et(u,lD,u,o),o=u.updateQueue,o!==null){a=u.stateNode;try{Et(u,rX,o,a)}catch(_){on(u,u.return,_)}}f&&R&64&&Gk(u),dg(u,u.return);break;case 27:Zk(u);case 26:case 5:Ys(a,u,f),f&&o===null&&R&4&&Yk(u),dg(u,u.return);break;case 12:if(f&&R&4){R=Bl(),Ys(a,u,f),f=u.stateNode,f.effectDuration+=tg(R);try{Et(u,Xk,u,o,mc,f.effectDuration)}catch(_){on(u,u.return,_)}}else Ys(a,u,f);break;case 31:Ys(a,u,f),f&&R&4&&t8(a,u);break;case 13:Ys(a,u,f),f&&R&4&&e8(a,u);break;case 22:u.memoizedState===null&&Ys(a,u,f),dg(u,u.return);break;case 30:break;default:Ys(a,u,f)}(u.mode&Re)!==se&&0<=$t&&0<=ne&&(ii||.05<Xn)&&Ls(u,$t,ne,Xn,Bn),Hr(m),Bs(v),Bn=x,ii=E}function Ys(a,o,u){for(u=u&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;)r8(a,o.alternate,o,u),o=o.sibling}function j2(a,o){var u=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),a=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(a=o.memoizedState.cachePool.pool),a!==u&&(a!=null&&rd(a),u!=null&&$m(u))}function q2(a,o){a=null,o.alternate!==null&&(a=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==a&&(rd(o),a!=null&&$m(a))}function us(a,o,u,f,m){if(o.subtreeFlags&10256||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child))for(o=o.child;o!==null;){var v=o.sibling;o8(a,o,u,f,v!==null?v.actualStartTime:m),o=v}}function o8(a,o,u,f,m){var v=Br(),x=Us(),E=Hs(),R=js(),_=fc,X=o.flags;switch(o.tag){case 0:case 11:case 15:(o.mode&Re)!==se&&0<o.actualStartTime&&(o.flags&1)!==0&&r1(o,o.actualStartTime,m,qi,u),us(a,o,u,f,m),X&2048&&Vk(o,Ja|Ro);break;case 1:(o.mode&Re)!==se&&0<o.actualStartTime&&((o.flags&128)!==0?TT(o,o.actualStartTime,m,[]):(o.flags&1)!==0&&r1(o,o.actualStartTime,m,qi,u)),us(a,o,u,f,m);break;case 3:var Z=Bl(),j=qi;qi=o.alternate!==null&&o.alternate.memoizedState.isDehydrated&&(o.flags&256)===0,us(a,o,u,f,m),qi=j,X&2048&&(u=null,o.alternate!==null&&(u=o.alternate.memoizedState.cache),f=o.memoizedState.cache,f!==u&&(rd(f),u!=null&&$m(u))),a.passiveEffectDuration+=p1(Z);break;case 12:if(X&2048){X=Bl(),us(a,o,u,f,m),a=o.stateNode,a.passiveEffectDuration+=tg(X);try{Et(o,SX,o,o.alternate,mc,a.passiveEffectDuration)}catch(at){on(o,o.return,at)}}else us(a,o,u,f,m);break;case 31:X=qi,Z=o.alternate!==null?o.alternate.memoizedState:null,j=o.memoizedState,Z!==null&&j===null?(j=o.deletions,j!==null&&0<j.length&&j[0].tag===18?(qi=!1,Z=Z.hydrationErrors,Z!==null&&TT(o,o.actualStartTime,m,Z)):qi=!0):qi=!1,us(a,o,u,f,m),qi=X;break;case 13:X=qi,Z=o.alternate!==null?o.alternate.memoizedState:null,j=o.memoizedState,Z===null||Z.dehydrated===null||j!==null&&j.dehydrated!==null?qi=!1:(j=o.deletions,j!==null&&0<j.length&&j[0].tag===18?(qi=!1,Z=Z.hydrationErrors,Z!==null&&TT(o,o.actualStartTime,m,Z)):qi=!0),us(a,o,u,f,m),qi=X;break;case 23:break;case 22:j=o.stateNode,Z=o.alternate,o.memoizedState!==null?j._visibility&Il?us(a,o,u,f,m):hg(a,o,u,f,m):j._visibility&Il?us(a,o,u,f,m):(j._visibility|=Il,np(a,o,u,f,(o.subtreeFlags&10256)!==0||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child),m),(o.mode&Re)===se||qi||(a=o.actualStartTime,0<=a&&.05<m-a&&a1(o,a,m),0<=$t&&0<=ne&&.05<ne-$t&&a1(o,$t,ne))),X&2048&&j2(Z,o);break;case 24:us(a,o,u,f,m),X&2048&&q2(o.alternate,o);break;default:us(a,o,u,f,m)}(o.mode&Re)!==se&&((a=!qi&&o.alternate===null&&o.return!==null&&o.return.alternate!==null)&&(u=o.actualStartTime,0<=u&&.05<m-u&&ks(o,u,m,"Mount")),0<=$t&&0<=ne&&((ii||.05<Xn)&&Ls(o,$t,ne,Xn,Bn),a&&.05<ne-$t&&ks(o,$t,ne,"Mount"))),Hr(v),Bs(x),Bn=E,ii=R,fc=_}function np(a,o,u,f,m,v){for(m=m&&((o.subtreeFlags&10256)!==0||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child)),o=o.child;o!==null;){var x=o.sibling;s8(a,o,u,f,m,x!==null?x.actualStartTime:v),o=x}}function s8(a,o,u,f,m,v){var x=Br(),E=Us(),R=Hs(),_=js(),X=fc;m&&(o.mode&Re)!==se&&0<o.actualStartTime&&(o.flags&1)!==0&&r1(o,o.actualStartTime,v,qi,u);var Z=o.flags;switch(o.tag){case 0:case 11:case 15:np(a,o,u,f,m,v),Vk(o,Ja);break;case 23:break;case 22:var j=o.stateNode;o.memoizedState!==null?j._visibility&Il?np(a,o,u,f,m,v):hg(a,o,u,f,v):(j._visibility|=Il,np(a,o,u,f,m,v)),m&&Z&2048&&j2(o.alternate,o);break;case 24:np(a,o,u,f,m,v),m&&Z&2048&&q2(o.alternate,o);break;default:np(a,o,u,f,m,v)}(o.mode&Re)!==se&&0<=$t&&0<=ne&&(ii||.05<Xn)&&Ls(o,$t,ne,Xn,Bn),Hr(x),Bs(E),Bn=R,ii=_,fc=X}function hg(a,o,u,f,m){if(o.subtreeFlags&10256||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child))for(var v=o.child;v!==null;){o=v.sibling;var x=a,E=u,R=f,_=o!==null?o.actualStartTime:m,X=fc;(v.mode&Re)!==se&&0<v.actualStartTime&&(v.flags&1)!==0&&r1(v,v.actualStartTime,_,qi,E);var Z=v.flags;switch(v.tag){case 22:hg(x,v,E,R,_),Z&2048&&j2(v.alternate,v);break;case 24:hg(x,v,E,R,_),Z&2048&&q2(v.alternate,v);break;default:hg(x,v,E,R,_)}fc=X,v=o}}function ip(a,o,u){if(a.subtreeFlags&iv)for(a=a.child;a!==null;)l8(a,o,u),a=a.sibling}function l8(a,o,u){switch(a.tag){case 26:ip(a,o,u),a.flags&iv&&a.memoizedState!==null&&fY(u,ms,a.memoizedState,a.memoizedProps);break;case 5:ip(a,o,u);break;case 3:case 4:var f=ms;ms=W1(a.stateNode.containerInfo),ip(a,o,u),ms=f;break;case 22:a.memoizedState===null&&(f=a.alternate,f!==null&&f.memoizedState!==null?(f=iv,iv=16777216,ip(a,o,u),iv=f):ip(a,o,u));break;default:ip(a,o,u)}}function u8(a){var o=a.alternate;if(o!==null&&(a=o.child,a!==null)){o.child=null;do o=a.sibling,a.sibling=null,a=o;while(a!==null)}}function pg(a){var o=a.deletions;if((a.flags&16)!==0){if(o!==null)for(var u=0;u<o.length;u++){var f=o[u],m=Br();ta=f,d8(f,a),(f.mode&Re)!==se&&0<=$t&&0<=ne&&.05<ne-$t&&ks(f,$t,ne,"Unmount"),Hr(m)}u8(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)c8(a),a=a.sibling}function c8(a){var o=Br(),u=Us(),f=Hs(),m=js();switch(a.tag){case 0:case 11:case 15:pg(a),a.flags&2048&&P2(a,a.return,Ja|Ro);break;case 3:var v=Bl();pg(a),a.stateNode.passiveEffectDuration+=p1(v);break;case 12:v=Bl(),pg(a),a.stateNode.passiveEffectDuration+=tg(v);break;case 22:v=a.stateNode,a.memoizedState!==null&&v._visibility&Il&&(a.return===null||a.return.tag!==13)?(v._visibility&=~Il,V1(a),(a.mode&Re)!==se&&0<=$t&&0<=ne&&.05<ne-$t&&ks(a,$t,ne,"Disconnect")):pg(a);break;default:pg(a)}(a.mode&Re)!==se&&0<=$t&&0<=ne&&(ii||.05<Xn)&&Ls(a,$t,ne,Xn,Bn),Hr(o),Bs(u),ii=m,Bn=f}function V1(a){var o=a.deletions;if((a.flags&16)!==0){if(o!==null)for(var u=0;u<o.length;u++){var f=o[u],m=Br();ta=f,d8(f,a),(f.mode&Re)!==se&&0<=$t&&0<=ne&&.05<ne-$t&&ks(f,$t,ne,"Unmount"),Hr(m)}u8(a)}for(a=a.child;a!==null;)f8(a),a=a.sibling}function f8(a){var o=Br(),u=Us(),f=Hs(),m=js();switch(a.tag){case 0:case 11:case 15:P2(a,a.return,Ja),V1(a);break;case 22:var v=a.stateNode;v._visibility&Il&&(v._visibility&=~Il,V1(a));break;default:V1(a)}(a.mode&Re)!==se&&0<=$t&&0<=ne&&(ii||.05<Xn)&&Ls(a,$t,ne,Xn,Bn),Hr(o),Bs(u),ii=m,Bn=f}function d8(a,o){for(;ta!==null;){var u=ta,f=u,m=o,v=Br(),x=Us(),E=Hs(),R=js();switch(f.tag){case 0:case 11:case 15:P2(f,m,Ja);break;case 23:case 22:f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(m=f.memoizedState.cachePool.pool,m!=null&&rd(m));break;case 24:$m(f.memoizedState.cache)}if((f.mode&Re)!==se&&0<=$t&&0<=ne&&(ii||.05<Xn)&&Ls(f,$t,ne,Xn,Bn),Hr(v),Bs(x),ii=R,Bn=E,f=u.child,f!==null)f.return=u,ta=f;else t:for(u=a;ta!==null;){if(f=ta,v=f.sibling,x=f.return,Jk(f),f===u){ta=null;break t}if(v!==null){v.return=x,ta=v;break t}ta=x}}}function EX(){XK.forEach(function(a){return a()})}function h8(){var a=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return a||ut.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),a}function qr(a){if((Qe&Vi)!==ea&&Me!==0)return Me&-Me;var o=ut.T;return o!==null?(o._updatedFibers||(o._updatedFibers=new Set),o._updatedFibers.add(a),W2()):Q()}function p8(){if(gr===0)if((Me&536870912)===0||je){var a=lS;lS<<=1,(lS&3932160)===0&&(lS=262144),gr=a}else gr=536870912;return a=Kr.current,a!==null&&(a.flags|=32),gr}function ni(a,o,u){if(qp&&console.error("useInsertionEffect must not schedule updates."),FD&&(YS=!0),(a===xn&&(hn===Td||hn===Cd)||a.cancelPendingCommit!==null)&&(rp(a,0),ic(a,Me,gr,!1)),vo(a,u),(Qe&Vi)!==ea&&a===xn){if(Js)switch(o.tag){case 0:case 11:case 15:a=Ne&&B(Ne)||"Unknown",j6.has(a)||(j6.add(a),o=B(o)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",o,a,a));break;case 1:H6||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),H6=!0)}}else tl&&Wf(a,o,u),zX(o),a===xn&&((Qe&Vi)===ea&&(Ec|=u),Yn===xc&&ic(a,Me,gr,!1)),Ks(a)}function m8(a,o,u){if((Qe&(Vi|Wr))!==ea)throw Error("Should not already be working.");if(Me!==0&&Ne!==null){var f=Ne,m=Ji();switch(NL){case ov:case Td:var v=Vg;_n&&((f=f._debugTask)?f.run(console.timeStamp.bind(console,"Suspended",v,m,So,void 0,"primary-light")):console.timeStamp("Suspended",v,m,So,void 0,"primary-light"));break;case Cd:v=Vg,_n&&((f=f._debugTask)?f.run(console.timeStamp.bind(console,"Action",v,m,So,void 0,"primary-light")):console.timeStamp("Action",v,m,So,void 0,"primary-light"));break;default:_n&&(f=m-Vg,3>f||console.timeStamp("Blocked",Vg,m,So,void 0,5>f?"primary-light":10>f?"primary":100>f?"primary-dark":"error"))}}v=(u=!u&&(o&127)===0&&(o&a.expiredLanes)===0||xe(a,o))?CX(a,o):G2(a,o,!0);var x=u;do{if(v===nu){Hp&&!u&&ic(a,o,0,!1),o=hn,Vg=Ei(),NL=o;break}else{if(f=Ji(),m=a.current.alternate,x&&!TX(m)){Pr(o),m=$i,v=f,!_n||v<=m||(li?li.run(console.timeStamp.bind(console,"Teared Render",m,v,He,Be,"error")):console.timeStamp("Teared Render",m,v,He,Be,"error")),fd(o,f),v=G2(a,o,!1),x=!1;continue}if(v===Ed){if(x=o,a.errorRecoveryDisabledLanes&x)var E=0;else E=a.pendingLanes&-536870913,E=E!==0?E:E&536870912?536870912:0;if(E!==0){Pr(o),CT($i,f,o,li),fd(o,f),o=E;t:{f=a,v=x,x=lv;var R=f.current.memoizedState.isDehydrated;if(R&&(rp(f,E).flags|=256),E=G2(f,E,!1),E!==Ed){if(ED&&!R){f.errorRecoveryDisabledLanes|=v,Ec|=v,v=xc;break t}f=$a,$a=x,f!==null&&($a===null?$a=f:$a.push.apply($a,f))}v=E}if(x=!1,v!==Ed)continue;f=Ji()}}if(v===rv){Pr(o),CT($i,f,o,li),fd(o,f),rp(a,0),ic(a,o,0,!0);break}t:{switch(u=a,v){case nu:case rv:throw Error("Root did not complete. This is a bug in React.");case xc:if((o&4194048)!==o)break;case BS:Pr(o),mz($i,f,o,li),fd(o,f),m=o,(m&127)!==0?ES=f:(m&4194048)!==0&&(TS=f),ic(u,o,gr,!Ac);break t;case Ed:$a=null;break;case US:case D6:break;default:throw Error("Unknown root exit status.")}if(ut.actQueue!==null)I2(u,m,o,$a,uv,qS,gr,Ec,Dd,v,null,null,$i,f);else{if((o&62914560)===o&&(x=VS+M6-Ji(),10<x)){if(ic(u,o,gr,!Ac),Pn(u,0,!0)!==0)break t;gs=o,u.timeoutHandle=Z6(g8.bind(null,u,m,$a,uv,qS,o,gr,Ec,Dd,Ac,v,"Throttled",$i,f),x);break t}g8(u,m,$a,uv,qS,o,gr,Ec,Dd,Ac,v,null,$i,f)}}}break}while(!0);Ks(a)}function g8(a,o,u,f,m,v,x,E,R,_,X,Z,j,at){a.timeoutHandle=Fd;var Dt=o.subtreeFlags,Nt=null;if((Dt&8192||(Dt&16785408)===16785408)&&(Nt={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:kl},l8(o,v,Nt),Dt=(v&62914560)===v?VS-Ji():(v&4194048)===v?O6-Ji():0,Dt=dY(Nt,Dt),Dt!==null)){gs=v,a.cancelPendingCommit=Dt(I2.bind(null,a,o,v,u,f,m,x,E,R,X,Nt,Nt.waitingForViewTransition?"Waiting for the previous Animation":0<Nt.count?0<Nt.imgCount?"Suspended on CSS and Images":"Suspended on CSS":Nt.imgCount===1?"Suspended on an Image":0<Nt.imgCount?"Suspended on Images":null,j,at)),ic(a,v,x,!_);return}I2(a,o,v,u,f,m,x,E,R,X,Nt,Z,j,at)}function TX(a){for(var o=a;;){var u=o.tag;if((u===0||u===11||u===15)&&o.flags&16384&&(u=o.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var f=0;f<u.length;f++){var m=u[f],v=m.getSnapshot;m=m.value;try{if(!Za(v(),m))return!1}catch{return!1}}if(u=o.child,o.subtreeFlags&16384&&u!==null)u.return=o,o=u;else{if(o===a)break;for(;o.sibling===null;){if(o.return===null||o.return===a)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function ic(a,o,u,f){o&=~TD,o&=~Ec,a.suspendedLanes|=o,a.pingedLanes&=~o,f&&(a.warmLanes|=o),f=a.expirationTimes;for(var m=o;0<m;){var v=31-Xa(m),x=1<<v;f[v]=-1,m&=~x}u!==0&&Fs(a,u,o)}function ap(){return(Qe&(Vi|Wr))===ea?(vg(0,!1),!1):!0}function V2(){if(Ne!==null){if(hn===mr)var a=Ne.return;else a=Ne,f1(),t2(a),_p=null,Jg=0,a=Ne;for(;a!==null;)jk(a.alternate,a),a=a.return;Ne=null}}function fd(a,o){(a&127)!==0&&(gc=o),(a&4194048)!==0&&(rl=o),(a&62914560)!==0&&(_L=o),(a&2080374784)!==0&&(FL=o)}function rp(a,o){_n&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",Be,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",Be,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",Be,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",Be,"primary-light"));var u=$i;if($i=Ei(),Me!==0&&0<u){if(Pr(Me),Yn===US||Yn===xc)mz(u,$i,o,li);else{var f=$i,m=li;if(_n&&!(f<=u)){var v=(o&738197653)===o?"tertiary-dark":"primary-dark",x=(o&536870912)===o?"Prewarm":(o&201326741)===o?"Interrupted Hydration":"Interrupted Render";m?m.run(console.timeStamp.bind(console,x,u,f,He,Be,v)):console.timeStamp(x,u,f,He,Be,v)}}fd(Me,$i)}if(u=li,li=null,(o&127)!==0){li=Hg,m=0<=al&&al<gc?gc:al,f=0<=gd&&gd<gc?gc:gd,v=0<=f?f:0<=m?m:$i,0<=ES?(Pr(2),gz(ES,v,o,u)):(CS&127)!==0&&(Pr(2),Qm(gc,v,Ql)),u=m;var E=f,R=jg,_=0<Rp,X=vc===Bg,Z=vc===wS;if(m=$i,f=Hg,v=iD,x=aD,_n){if(He="Blocking",0<u?u>m&&(u=m):u=m,0<E?E>u&&(E=u):E=u,R!==null&&u>E){var j=_?"secondary-light":"warning";f?f.run(console.timeStamp.bind(console,_?"Consecutive":"Event: "+R,E,u,He,Be,j)):console.timeStamp(_?"Consecutive":"Event: "+R,E,u,He,Be,j)}m>u&&(E=X?"error":(o&738197653)===o?"tertiary-light":"primary-light",X=Z?"Promise Resolved":X?"Cascading Update":5<m-u?"Update Blocked":"Update",Z=[],x!=null&&Z.push(["Component name",x]),v!=null&&Z.push(["Method name",v]),u={start:u,end:m,detail:{devtools:{properties:Z,track:He,trackGroup:Be,color:E}}},f?f.run(performance.measure.bind(performance,X,u)):performance.measure(X,u))}al=-1.1,vc=0,aD=iD=null,ES=-1.1,Rp=gd,gd=-1.1,gc=Ei()}if((o&4194048)!==0&&(li=qg,m=0<=Wl&&Wl<rl?rl:Wl,u=0<=Co&&Co<rl?rl:Co,f=0<=yc&&yc<rl?rl:yc,v=0<=f?f:0<=u?u:$i,0<=TS?(Pr(256),gz(TS,v,o,li)):(CS&4194048)!==0&&(Pr(256),Qm(rl,v,Ql)),Z=f,E=vd,R=0<bc,_=rD===wS,v=$i,f=qg,x=OL,X=ML,_n&&(He="Transition",0<u?u>v&&(u=v):u=v,0<m?m>u&&(m=u):m=u,0<Z?Z>m&&(Z=m):Z=m,m>Z&&E!==null&&(j=R?"secondary-light":"warning",f?f.run(console.timeStamp.bind(console,R?"Consecutive":"Event: "+E,Z,m,He,Be,j)):console.timeStamp(R?"Consecutive":"Event: "+E,Z,m,He,Be,j)),u>m&&(f?f.run(console.timeStamp.bind(console,"Action",m,u,He,Be,"primary-dark")):console.timeStamp("Action",m,u,He,Be,"primary-dark")),v>u&&(m=_?"Promise Resolved":5<v-u?"Update Blocked":"Update",Z=[],X!=null&&Z.push(["Component name",X]),x!=null&&Z.push(["Method name",x]),u={start:u,end:v,detail:{devtools:{properties:Z,track:He,trackGroup:Be,color:"primary-light"}}},f?f.run(performance.measure.bind(performance,m,u)):performance.measure(m,u))),Co=Wl=-1.1,rD=0,TS=-1.1,bc=yc,yc=-1.1,rl=Ei()),(o&62914560)!==0&&(CS&62914560)!==0&&(Pr(4194304),Qm(_L,$i,Ql)),(o&2080374784)!==0&&(CS&2080374784)!==0&&(Pr(268435456),Qm(FL,$i,Ql)),u=a.timeoutHandle,u!==Fd&&(a.timeoutHandle=Fd,rZ(u)),u=a.cancelPendingCommit,u!==null&&(a.cancelPendingCommit=null,u()),gs=0,V2(),xn=a,Ne=u=Ll(a.current,null),Me=o,hn=mr,Qr=null,Ac=!1,Hp=xe(a,o),ED=!1,Yn=nu,Dd=gr=TD=Ec=wc=0,$a=lv=null,qS=!1,(o&8)!==0&&(o|=o&32),f=a.entangledLanes,f!==0)for(a=a.entanglements,f&=o;0<f;)m=31-Xa(f),v=1<<m,o|=a[m],f&=~v;return sl=o,o1(),a=wL(),1e3<a-AL&&(ut.recentlyCreatedOwnerStacks=0,AL=a),hs.discardPendingWarnings(),u}function v8(a,o){fe=null,ut.H=nv,ut.getCurrentStack=null,Js=!1,Ir=null,o===Mp||o===MS?(o=Uz(),hn=ov):o===uD?(o=Uz(),hn=R6):hn=o===bD?wD:o!==null&&typeof o=="object"&&typeof o.then=="function"?sv:HS,Qr=o;var u=Ne;u===null?(Yn=rv,L1(a,Ur(o,a.current))):u.mode&Re&&jT(u)}function y8(){var a=Kr.current;return a===null?!0:(Me&4194048)===Me?Do===null:(Me&62914560)===Me||(Me&536870912)!==0?a===Do:!1}function b8(){var a=ut.H;return ut.H=nv,a===null?nv:a}function S8(){var a=ut.A;return ut.A=IK,a}function G1(a){li===null&&(li=a._debugTask==null?null:a._debugTask)}function I1(){Yn=xc,Ac||(Me&4194048)!==Me&&Kr.current!==null||(Hp=!0),(wc&134217727)===0&&(Ec&134217727)===0||xn===null||ic(xn,Me,gr,!1)}function G2(a,o,u){var f=Qe;Qe|=Vi;var m=b8(),v=S8();if(xn!==a||Me!==o){if(tl){var x=a.memoizedUpdaters;0<x.size&&(gg(a,Me),x.clear()),os(a,o)}uv=null,rp(a,o)}o=!1,x=Yn;t:do try{if(hn!==mr&&Ne!==null){var E=Ne,R=Qr;switch(hn){case wD:V2(),x=BS;break t;case ov:case Td:case Cd:case sv:Kr.current===null&&(o=!0);var _=hn;if(hn=mr,Qr=null,op(a,E,R,_),u&&Hp){x=nu;break t}break;default:_=hn,hn=mr,Qr=null,op(a,E,R,_)}}x8(),x=Yn;break}catch(X){v8(a,X)}while(!0);return o&&a.shellSuspendCounter++,f1(),Qe=f,ut.H=m,ut.A=v,Ne===null&&(xn=null,Me=0,o1()),x}function x8(){for(;Ne!==null;)A8(Ne)}function CX(a,o){var u=Qe;Qe|=Vi;var f=b8(),m=S8();if(xn!==a||Me!==o){if(tl){var v=a.memoizedUpdaters;0<v.size&&(gg(a,Me),v.clear()),os(a,o)}uv=null,GS=Ji()+_6,rp(a,o)}else Hp=xe(a,o);t:do try{if(hn!==mr&&Ne!==null)e:switch(o=Ne,v=Qr,hn){case HS:hn=mr,Qr=null,op(a,o,v,HS);break;case Td:case Cd:if(Lz(v)){hn=mr,Qr=null,w8(o);break}o=function(){hn!==Td&&hn!==Cd||xn!==a||(hn=jS),Ks(a)},v.then(o,o);break t;case ov:hn=jS;break t;case R6:hn=AD;break t;case jS:Lz(v)?(hn=mr,Qr=null,w8(o)):(hn=mr,Qr=null,op(a,o,v,jS));break;case AD:var x=null;switch(Ne.tag){case 26:x=Ne.memoizedState;case 5:case 27:var E=Ne;if(x?m4(x):E.stateNode.complete){hn=mr,Qr=null;var R=E.sibling;if(R!==null)Ne=R;else{var _=E.return;_!==null?(Ne=_,X1(_)):Ne=null}break e}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}hn=mr,Qr=null,op(a,o,v,AD);break;case sv:hn=mr,Qr=null,op(a,o,v,sv);break;case wD:V2(),Yn=BS;break t;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}ut.actQueue!==null?x8():DX();break}catch(X){v8(a,X)}while(!0);return f1(),ut.H=f,ut.A=m,Qe=u,Ne!==null?nu:(xn=null,Me=0,o1(),Yn)}function DX(){for(;Ne!==null&&!CY();)A8(Ne)}function A8(a){var o=a.alternate;(a.mode&Re)!==se?(HT(a),o=Et(a,z2,o,a,sl),jT(a)):o=Et(a,z2,o,a,sl),a.memoizedProps=a.pendingProps,o===null?X1(a):Ne=o}function w8(a){var o=Et(a,RX,a);a.memoizedProps=a.pendingProps,o===null?X1(a):Ne=o}function RX(a){var o=a.alternate,u=(a.mode&Re)!==se;switch(u&&HT(a),a.tag){case 15:case 0:o=zk(o,a,a.pendingProps,a.type,void 0,Me);break;case 11:o=zk(o,a,a.pendingProps,a.type.render,a.ref,Me);break;case 5:t2(a);default:jk(o,a),a=Ne=Az(a,sl),o=z2(o,a,sl)}return u&&jT(a),o}function op(a,o,u,f){f1(),t2(o),_p=null,Jg=0;var m=o.return;try{if(dX(a,m,o,u,Me)){Yn=rv,L1(a,Ur(u,a.current)),Ne=null;return}}catch(v){if(m!==null)throw Ne=m,v;Yn=rv,L1(a,Ur(u,a.current)),Ne=null;return}o.flags&32768?(je||f===HS?a=!0:Hp||(Me&536870912)!==0?a=!1:(Ac=a=!0,(f===Td||f===Cd||f===ov||f===sv)&&(f=Kr.current,f!==null&&f.tag===13&&(f.flags|=16384))),E8(o,a)):X1(o)}function X1(a){var o=a;do{if((o.flags&32768)!==0){E8(o,Ac);return}var u=o.alternate;if(a=o.return,HT(o),u=Et(o,mX,u,o,sl),(o.mode&Re)!==se&&_z(o),u!==null){Ne=u;return}if(o=o.sibling,o!==null){Ne=o;return}Ne=o=a}while(o!==null);Yn===nu&&(Yn=D6)}function E8(a,o){do{var u=gX(a.alternate,a);if(u!==null){u.flags&=32767,Ne=u;return}if((a.mode&Re)!==se){_z(a),u=a.actualDuration;for(var f=a.child;f!==null;)u+=f.actualDuration,f=f.sibling;a.actualDuration=u}if(u=a.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!o&&(a=a.sibling,a!==null)){Ne=a;return}Ne=a=u}while(a!==null);Yn=BS,Ne=null}function I2(a,o,u,f,m,v,x,E,R,_,X,Z,j,at){a.cancelPendingCommit=null;do mg();while(Oi!==Cc);if(hs.flushLegacyContextWarning(),hs.flushPendingUnsafeLifecycleWarnings(),(Qe&(Vi|Wr))!==ea)throw Error("Should not already be working.");if(Pr(u),_===Ed?CT(j,at,u,li):f!==null?$I(j,at,u,f,o!==null&&o.alternate!==null&&o.alternate.memoizedState.isDehydrated&&(o.flags&256)!==0,li):JI(j,at,u,li),o!==null){if(u===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),o===a.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(v=o.lanes|o.childLanes,v|=JC,Ih(a,u,v,x,E,R),a===xn&&(Ne=xn=null,Me=0),jp=o,Dc=a,gs=u,RD=v,MD=m,P6=f,OD=at,U6=Z,vs=IS,B6=null,o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,NX(dp,function(){return mv=window.event,vs===IS&&(vs=DD),O8(),null})):(a.callbackNode=null,a.callbackPriority=0),Zl=null,mc=Ei(),Z!==null&&tX(at,mc,Z,li),f=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||f){f=ut.T,ut.T=null,m=sn.p,sn.p=Xr,x=Qe,Qe|=Wr;try{AX(a,o,u)}finally{Qe=x,sn.p=m,ut.T=f}}Oi=N6,T8(),C8(),D8()}}function T8(){if(Oi===N6){Oi=Cc;var a=Dc,o=jp,u=gs,f=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||f){f=ut.T,ut.T=null;var m=sn.p;sn.p=Xr;var v=Qe;Qe|=Wr;try{Up=u,Bp=a,m1(),n8(o,a),Bp=Up=null,u=jD;var x=dz(a.containerInfo),E=u.focusedElem,R=u.selectionRange;if(x!==E&&E&&E.ownerDocument&&fz(E.ownerDocument.documentElement,E)){if(R!==null&&wT(E)){var _=R.start,X=R.end;if(X===void 0&&(X=_),"selectionStart"in E)E.selectionStart=_,E.selectionEnd=Math.min(X,E.value.length);else{var Z=E.ownerDocument||document,j=Z&&Z.defaultView||window;if(j.getSelection){var at=j.getSelection(),Dt=E.textContent.length,Nt=Math.min(R.start,Dt),Rn=R.end===void 0?Nt:Math.min(R.end,Dt);!at.extend&&Nt>Rn&&(x=Rn,Rn=Nt,Nt=x);var Ge=cz(E,Nt),H=cz(E,Rn);if(Ge&&H&&(at.rangeCount!==1||at.anchorNode!==Ge.node||at.anchorOffset!==Ge.offset||at.focusNode!==H.node||at.focusOffset!==H.offset)){var q=Z.createRange();q.setStart(Ge.node,Ge.offset),at.removeAllRanges(),Nt>Rn?(at.addRange(q),at.extend(H.node,H.offset)):(q.setEnd(H.node,H.offset),at.addRange(q))}}}}for(Z=[],at=E;at=at.parentNode;)at.nodeType===1&&Z.push({element:at,left:at.scrollLeft,top:at.scrollTop});for(typeof E.focus=="function"&&E.focus(),E=0;E<Z.length;E++){var G=Z[E];G.element.scrollLeft=G.left,G.element.scrollTop=G.top}}sx=!!HD,jD=HD=null}finally{Qe=v,sn.p=m,ut.T=f}}a.current=o,Oi=z6}}function C8(){if(Oi===z6){Oi=Cc;var a=B6;if(a!==null){mc=Ei();var o=Kl,u=mc;!_n||u<=o||(Ql?Ql.run(console.timeStamp.bind(console,a,o,u,He,Be,"secondary-light")):console.timeStamp(a,o,u,He,Be,"secondary-light"))}a=Dc,o=jp,u=gs;var f=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||f){f=ut.T,ut.T=null;var m=sn.p;sn.p=Xr;var v=Qe;Qe|=Wr;try{Up=u,Bp=a,m1(),Qk(a,o.alternate,o),Bp=Up=null}finally{Qe=v,sn.p=m,ut.T=f}}a=OD,o=U6,Kl=Ei(),a=o===null?a:mc,o=Kl,u=vs===CD,f=li,Zl!==null?vz(a,o,Zl,!1,f):!_n||o<=a||(f?f.run(console.timeStamp.bind(console,u?"Commit Interrupted View Transition":"Commit",a,o,He,Be,u?"error":"secondary-dark")):console.timeStamp(u?"Commit Interrupted View Transition":"Commit",a,o,He,Be,u?"error":"secondary-dark")),Oi=k6}}function D8(){if(Oi===L6||Oi===k6){if(Oi===L6){var a=Kl;Kl=Ei();var o=Kl,u=vs===CD;!_n||o<=a||(Ql?Ql.run(console.timeStamp.bind(console,u?"Interrupted View Transition":"Starting Animation",a,o,He,Be,u?"error":"secondary-light")):console.timeStamp(u?"Interrupted View Transition":"Starting Animation",a,o,He,Be,u?" error":"secondary-light")),vs!==CD&&(vs=F6)}Oi=Cc,DY(),a=Dc;var f=jp;o=gs,u=P6;var m=f.actualDuration!==0||(f.subtreeFlags&10256)!==0||(f.flags&10256)!==0;m?Oi=XS:(Oi=Cc,jp=Dc=null,R8(a,a.pendingLanes),Rd=0,fv=null);var v=a.pendingLanes;if(v===0&&(Tc=null),m||N8(a),v=F(o),f=f.stateNode,Fa&&typeof Fa.onCommitFiberRoot=="function")try{var x=(f.current.flags&128)===128;switch(v){case Xr:var E=MC;break;case fs:E=_C;break;case el:E=dp;break;case cS:E=FC;break;default:E=dp}Fa.onCommitFiberRoot(hp,f,E,x)}catch(Z){$s||($s=!0,console.error("React instrumentation encountered an error: %o",Z))}if(tl&&a.memoizedUpdaters.clear(),EX(),u!==null){x=ut.T,E=sn.p,sn.p=Xr,ut.T=null;try{var R=a.onRecoverableError;for(f=0;f<u.length;f++){var _=u[f],X=OX(_.stack);Et(_.source,R,_.value,X)}}finally{ut.T=x,sn.p=E}}(gs&3)!==0&&mg(),Ks(a),v=a.pendingLanes,(o&261930)!==0&&(v&42)!==0?(RS=!0,a===_D?cv++:(cv=0,_D=a)):cv=0,m||fd(o,Kl),vg(0,!1)}}function OX(a){return a={componentStack:a},Object.defineProperty(a,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),a}function R8(a,o){(a.pooledCacheLanes&=o)===0&&(o=a.pooledCache,o!=null&&(a.pooledCache=null,$m(o)))}function mg(){return T8(),C8(),D8(),O8()}function O8(){if(Oi!==XS)return!1;var a=Dc,o=RD;RD=0;var u=F(gs),f=el===0||el>u?el:u;u=ut.T;var m=sn.p;try{sn.p=f,ut.T=null;var v=MD;MD=null,f=Dc;var x=gs;if(Oi=Cc,jp=Dc=null,gs=0,(Qe&(Vi|Wr))!==ea)throw Error("Cannot flush passive effects while already rendering.");Pr(x),FD=!0,YS=!1;var E=0;if(Zl=null,E=Ji(),vs===F6)Qm(Kl,E,Ql);else{var R=Kl,_=E,X=vs===DD;!_n||_<=R||(li?li.run(console.timeStamp.bind(console,X?"Waiting for Paint":"Waiting",R,_,He,Be,"secondary-light")):console.timeStamp(X?"Waiting for Paint":"Waiting",R,_,He,Be,"secondary-light"))}R=Qe,Qe|=Wr;var Z=f.current;m1(),c8(Z);var j=f.current;Z=OD,m1(),o8(f,j,x,v,Z),N8(f),Qe=R;var at=Ji();if(j=E,Z=li,Zl!==null?vz(j,at,Zl,!0,Z):!_n||at<=j||(Z?Z.run(console.timeStamp.bind(console,"Remaining Effects",j,at,He,Be,"secondary-dark")):console.timeStamp("Remaining Effects",j,at,He,Be,"secondary-dark")),fd(x,at),vg(0,!1),YS?f===fv?Rd++:(Rd=0,fv=f):Rd=0,YS=FD=!1,Fa&&typeof Fa.onPostCommitFiberRoot=="function")try{Fa.onPostCommitFiberRoot(hp,f)}catch(Nt){$s||($s=!0,console.error("React instrumentation encountered an error: %o",Nt))}var Dt=f.current.stateNode;return Dt.effectDuration=0,Dt.passiveEffectDuration=0,!0}finally{sn.p=m,ut.T=u,R8(a,o)}}function M8(a,o,u){o=Ur(u,o),Fz(o),o=w2(a.stateNode,o,2),a=$u(a,o,2),a!==null&&(vo(a,2),Ks(a))}function on(a,o,u){if(qp=!1,a.tag===3)M8(a,a,u);else{for(;o!==null;){if(o.tag===3){M8(o,a,u);return}if(o.tag===1){var f=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(Tc===null||!Tc.has(f))){a=Ur(u,a),Fz(a),u=E2(2),f=$u(o,u,2),f!==null&&(T2(u,f,o,a),vo(f,2),Ks(f));return}}o=o.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
162
|
+
|
|
163
|
+
Error message:
|
|
164
|
+
|
|
165
|
+
%s`,u)}}function X2(a,o,u){var f=a.pingCache;if(f===null){f=a.pingCache=new YK;var m=new Set;f.set(o,m)}else m=f.get(o),m===void 0&&(m=new Set,f.set(o,m));m.has(u)||(ED=!0,m.add(u),f=MX.bind(null,a,o,u),tl&&gg(a,u),o.then(f,f))}function MX(a,o,u){var f=a.pingCache;f!==null&&f.delete(o),a.pingedLanes|=a.suspendedLanes&u,a.warmLanes&=~u,(u&127)!==0?0>al&&(gc=al=Ei(),Hg=AS("Promise Resolved"),vc=wS):(u&4194048)!==0&&0>Co&&(rl=Co=Ei(),qg=AS("Promise Resolved"),rD=wS),h8()&&ut.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
166
|
+
|
|
167
|
+
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
168
|
+
|
|
169
|
+
act(() => {
|
|
170
|
+
/* finish loading suspended data */
|
|
171
|
+
});
|
|
172
|
+
/* assert on the output */
|
|
173
|
+
|
|
174
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),xn===a&&(Me&u)===u&&(Yn===xc||Yn===US&&(Me&62914560)===Me&&Ji()-VS<M6?(Qe&Vi)===ea&&rp(a,0):TD|=u,Dd===Me&&(Dd=0)),Ks(a)}function _8(a,o){o===0&&(o=Ga()),a=_a(a,o),a!==null&&(vo(a,o),Ks(a))}function _X(a){var o=a.memoizedState,u=0;o!==null&&(u=o.retryLane),_8(a,u)}function FX(a,o){var u=0;switch(a.tag){case 31:case 13:var f=a.stateNode,m=a.memoizedState;m!==null&&(u=m.retryLane);break;case 19:f=a.stateNode;break;case 22:f=a.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}f!==null&&f.delete(o),_8(a,u)}function Y2(a,o,u){if((o.subtreeFlags&67117056)!==0)for(o=o.child;o!==null;){var f=a,m=o,v=m.type===aS;v=u||v,m.tag!==22?m.flags&67108864?v&&Et(m,F8,f,m):Y2(f,m,v):m.memoizedState===null&&(v&&m.flags&8192?Et(m,F8,f,m):m.subtreeFlags&67108864&&Et(m,Y2,f,m,v)),o=o.sibling}}function F8(a,o){Le(!0);try{a8(o),f8(o),r8(a,o.alternate,o,!1),s8(a,o,0,null,!1,0)}finally{Le(!1)}}function N8(a){var o=!0;a.current.mode&(Na|ds)||(o=!1),Y2(a,a.current,o)}function z8(a){if((Qe&Vi)===ea){var o=a.tag;if(o===3||o===1||o===0||o===11||o===14||o===15){if(o=B(a)||"ReactComponent",KS!==null){if(KS.has(o))return;KS.add(o)}else KS=new Set([o]);Et(a,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously tries to update the component. Move this work to useEffect instead.")})}}}function gg(a,o){tl&&a.memoizedUpdaters.forEach(function(u){Wf(a,u,o)})}function NX(a,o){var u=ut.actQueue;return u!==null?(u.push(o),WK):OC(a,o)}function zX(a){h8()&&ut.actQueue===null&&Et(a,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
175
|
+
|
|
176
|
+
When testing, code that causes React state updates should be wrapped into act(...):
|
|
177
|
+
|
|
178
|
+
act(() => {
|
|
179
|
+
/* fire events that update state */
|
|
180
|
+
});
|
|
181
|
+
/* assert on the output */
|
|
182
|
+
|
|
183
|
+
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,B(a))})}function Ks(a){a!==Vp&&a.next===null&&(Vp===null?ZS=Vp=a:Vp=Vp.next=a),WS=!0,ut.actQueue!==null?zD||(zD=!0,U8()):ND||(ND=!0,U8())}function vg(a,o){if(!kD&&WS){kD=!0;do for(var u=!1,f=ZS;f!==null;){if(!o)if(a!==0){var m=f.pendingLanes;if(m===0)var v=0;else{var x=f.suspendedLanes,E=f.pingedLanes;v=(1<<31-Xa(42|a)+1)-1,v&=m&~(x&~E),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(u=!0,P8(f,v))}else v=Me,v=Pn(f,f===xn?v:0,f.cancelPendingCommit!==null||f.timeoutHandle!==Fd),(v&3)===0||xe(f,v)||(u=!0,P8(f,v));f=f.next}while(u);kD=!1}}function kX(){mv=window.event,K2()}function K2(){WS=zD=ND=!1;var a=0;Rc!==0&&qX()&&(a=Rc);for(var o=Ji(),u=null,f=ZS;f!==null;){var m=f.next,v=k8(f,o);v===0?(f.next=null,u===null?ZS=m:u.next=m,m===null&&(Vp=u)):(u=f,(a!==0||(v&3)!==0)&&(WS=!0)),f=m}Oi!==Cc&&Oi!==XS||vg(a,!1),Rc!==0&&(Rc=0)}function k8(a,o){for(var u=a.suspendedLanes,f=a.pingedLanes,m=a.expirationTimes,v=a.pendingLanes&-62914561;0<v;){var x=31-Xa(v),E=1<<x,R=m[x];R===-1?((E&u)===0||(E&f)!==0)&&(m[x]=rs(E,o)):R<=o&&(a.expiredLanes|=E),v&=~E}if(o=xn,u=Me,u=Pn(a,a===o?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==Fd),f=a.callbackNode,u===0||a===o&&(hn===Td||hn===Cd)||a.cancelPendingCommit!==null)return f!==null&&Z2(f),a.callbackNode=null,a.callbackPriority=0;if((u&3)===0||xe(a,u)){if(o=u&-u,o!==a.callbackPriority||ut.actQueue!==null&&f!==LD)Z2(f);else return o;switch(F(u)){case Xr:case fs:u=_C;break;case el:u=dp;break;case cS:u=FC;break;default:u=dp}return f=L8.bind(null,a),ut.actQueue!==null?(ut.actQueue.push(f),u=LD):u=OC(u,f),a.callbackPriority=o,a.callbackNode=u,o}return f!==null&&Z2(f),a.callbackPriority=2,a.callbackNode=null,2}function L8(a,o){if(RS=DS=!1,mv=window.event,Oi!==Cc&&Oi!==XS)return a.callbackNode=null,a.callbackPriority=0,null;var u=a.callbackNode;if(vs===IS&&(vs=DD),mg()&&a.callbackNode!==u)return null;var f=Me;return f=Pn(a,a===xn?f:0,a.cancelPendingCommit!==null||a.timeoutHandle!==Fd),f===0?null:(m8(a,f,o),k8(a,Ji()),a.callbackNode!=null&&a.callbackNode===u?L8.bind(null,a):null)}function P8(a,o){if(mg())return null;DS=RS,RS=!1,m8(a,o,!0)}function Z2(a){a!==LD&&a!==null&&TY(a)}function U8(){ut.actQueue!==null&&ut.actQueue.push(function(){return K2(),null}),oZ(function(){(Qe&(Vi|Wr))!==ea?OC(MC,kX):K2()})}function W2(){if(Rc===0){var a=yd;a===0&&(a=sS,sS<<=1,(sS&261888)===0&&(sS=256)),Rc=a}return Rc}function B8(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:(et(a,"action"),Km(""+a))}function H8(a,o){var u=o.ownerDocument.createElement("input");return u.name=o.name,u.value=o.value,a.id&&u.setAttribute("form",a.id),o.parentNode.insertBefore(u,o),a=new FormData(a),u.parentNode.removeChild(u),a}function LX(a,o,u,f,m){if(o==="submit"&&u&&u.stateNode===m){var v=B8((m[Ya]||null).action),x=f.submitter;x&&(o=(o=x[Ya]||null)?B8(o.formAction):x.getAttribute("formAction"),o!==null&&(v=o,x=null));var E=new mS("action","action",null,f,m);a.push({event:E,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(Rc!==0){var R=x?H8(m,x):new FormData(m),_={pending:!0,data:R,method:m.method,action:v};Object.freeze(_),g2(u,_,null,R)}}else typeof v=="function"&&(E.preventDefault(),R=x?H8(m,x):new FormData(m),_={pending:!0,data:R,method:m.method,action:v},Object.freeze(_),g2(u,_,v,R))},currentTarget:m}]})}}function Y1(a,o,u){a.currentTarget=u;try{o(a)}catch(f){KC(f)}a.currentTarget=null}function j8(a,o){o=(o&4)!==0;for(var u=0;u<a.length;u++){var f=a[u];t:{var m=void 0,v=f.event;if(f=f.listeners,o)for(var x=f.length-1;0<=x;x--){var E=f[x],R=E.instance,_=E.currentTarget;if(E=E.listener,R!==m&&v.isPropagationStopped())break t;R!==null?Et(R,Y1,v,E,_):Y1(v,E,_),m=R}else for(x=0;x<f.length;x++){if(E=f[x],R=E.instance,_=E.currentTarget,E=E.listener,R!==m&&v.isPropagationStopped())break t;R!==null?Et(R,Y1,v,E,_):Y1(v,E,_),m=R}}}}function Ve(a,o){PD.has(a)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',a);var u=o[NC];u===void 0&&(u=o[NC]=new Set);var f=a+"__bubble";u.has(f)||(q8(o,a,2,!1),u.add(f))}function Q2(a,o,u){PD.has(a)&&!o&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',a);var f=0;o&&(f|=4),q8(u,a,f,o)}function J2(a){if(!a[QS]){a[QS]=!0,U4.forEach(function(u){u!=="selectionchange"&&(PD.has(u)||Q2(u,!1,a),Q2(u,!0,a))});var o=a.nodeType===9?a:a.ownerDocument;o===null||o[QS]||(o[QS]=!0,Q2("selectionchange",!1,o))}}function q8(a,o,u,f){switch(x4(o)){case Xr:var m=gY;break;case fs:m=vY;break;default:m=pC}u=m.bind(null,o,u,a),m=void 0,!UC||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(m=!0),f?m!==void 0?a.addEventListener(o,u,{capture:!0,passive:m}):a.addEventListener(o,u,!0):m!==void 0?a.addEventListener(o,u,{passive:m}):a.addEventListener(o,u,!1)}function $2(a,o,u,f,m){var v=f;if((o&1)===0&&(o&2)===0&&f!==null)t:for(;;){if(f===null)return;var x=f.tag;if(x===3||x===4){var E=f.stateNode.containerInfo;if(E===m)break;if(x===4)for(x=f.return;x!==null;){var R=x.tag;if((R===3||R===4)&&x.stateNode.containerInfo===m)return;x=x.return}for(;E!==null;){if(x=Ut(E),x===null)return;if(R=x.tag,R===5||R===6||R===26||R===27){f=v=x;continue t}E=E.parentNode}}f=f.return}$N(function(){var _=v,X=xT(u),Z=[];t:{var j=xL.get(a);if(j!==void 0){var at=mS,Dt=a;switch(a){case"keypress":if(e1(u)===0)break t;case"keydown":case"keyup":at=dK;break;case"focusin":Dt="focus",at=qC;break;case"focusout":Dt="blur",at=qC;break;case"beforeblur":case"afterblur":at=qC;break;case"click":if(u.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":at=sL;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":at=tK;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":at=mK;break;case vL:case yL:case bL:at=iK;break;case SL:at=vK;break;case"scroll":case"scrollend":at=JY;break;case"wheel":at=bK;break;case"copy":case"cut":case"paste":at=rK;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":at=uL;break;case"toggle":case"beforetoggle":at=xK}var Nt=(o&4)!==0,Rn=!Nt&&(a==="scroll"||a==="scrollend"),Ge=Nt?j!==null?j+"Capture":null:j;Nt=[];for(var H=_,q;H!==null;){var G=H;if(q=G.stateNode,G=G.tag,G!==5&&G!==26&&G!==27||q===null||Ge===null||(G=Zm(H,Ge),G!=null&&Nt.push(yg(H,G,q))),Rn)break;H=H.return}0<Nt.length&&(j=new at(j,Dt,null,u,X),Z.push({event:j,listeners:Nt}))}}if((o&7)===0){t:{if(j=a==="mouseover"||a==="pointerover",at=a==="mouseout"||a==="pointerout",j&&u!==Og&&(Dt=u.relatedTarget||u.fromElement)&&(Ut(Dt)||Dt[uc]))break t;if((at||j)&&(j=X.window===X?X:(j=X.ownerDocument)?j.defaultView||j.parentWindow:window,at?(Dt=u.relatedTarget||u.toElement,at=_,Dt=Dt?Ut(Dt):null,Dt!==null&&(Rn=A(Dt),Nt=Dt.tag,Dt!==Rn||Nt!==5&&Nt!==27&&Nt!==6)&&(Dt=null)):(at=null,Dt=_),at!==Dt)){if(Nt=sL,G="onMouseLeave",Ge="onMouseEnter",H="mouse",(a==="pointerout"||a==="pointerover")&&(Nt=uL,G="onPointerLeave",Ge="onPointerEnter",H="pointer"),Rn=at==null?j:st(at),q=Dt==null?j:st(Dt),j=new Nt(G,H+"leave",at,u,X),j.target=Rn,j.relatedTarget=q,G=null,Ut(X)===_&&(Nt=new Nt(Ge,H+"enter",Dt,u,X),Nt.target=q,Nt.relatedTarget=Rn,G=Nt),Rn=G,at&&Dt)e:{for(Nt=PX,Ge=at,H=Dt,q=0,G=Ge;G;G=Nt(G))q++;G=0;for(var ht=H;ht;ht=Nt(ht))G++;for(;0<q-G;)Ge=Nt(Ge),q--;for(;0<G-q;)H=Nt(H),G--;for(;q--;){if(Ge===H||H!==null&&Ge===H.alternate){Nt=Ge;break e}Ge=Nt(Ge),H=Nt(H)}Nt=null}else Nt=null;at!==null&&V8(Z,j,at,Nt,!1),Dt!==null&&Rn!==null&&V8(Z,Rn,Dt,Nt,!0)}}t:{if(j=_?st(_):window,at=j.nodeName&&j.nodeName.toLowerCase(),at==="select"||at==="input"&&j.type==="file")var _t=oz;else if(az(j))if(mL)_t=ZI;else{_t=YI;var de=XI}else at=j.nodeName,!at||at.toLowerCase()!=="input"||j.type!=="checkbox"&&j.type!=="radio"?_&&Ym(_.elementType)&&(_t=oz):_t=KI;if(_t&&(_t=_t(a,_))){rz(Z,_t,u,X);break t}de&&de(a,j,_),a==="focusout"&&_&&j.type==="number"&&_.memoizedProps.value!=null&&mT(j,"number",j.value)}switch(de=_?st(_):window,a){case"focusin":(az(de)||de.contentEditable==="true")&&(Sp=de,GC=_,Lg=null);break;case"focusout":Lg=GC=Sp=null;break;case"mousedown":IC=!0;break;case"contextmenu":case"mouseup":case"dragend":IC=!1,hz(Z,u,X);break;case"selectionchange":if(TK)break;case"keydown":case"keyup":hz(Z,u,X)}var Jt;if(VC)t:{switch(a){case"compositionstart":var jt="onCompositionStart";break t;case"compositionend":jt="onCompositionEnd";break t;case"compositionupdate":jt="onCompositionUpdate";break t}jt=void 0}else bp?nz(a,u)&&(jt="onCompositionEnd"):a==="keydown"&&u.keyCode===cL&&(jt="onCompositionStart");jt&&(fL&&u.locale!=="ko"&&(bp||jt!=="onCompositionStart"?jt==="onCompositionEnd"&&bp&&(Jt=tz()):(cc=X,BC="value"in cc?cc.value:cc.textContent,bp=!0)),de=K1(_,jt),0<de.length&&(jt=new lL(jt,a,null,u,X),Z.push({event:jt,listeners:de}),Jt?jt.data=Jt:(Jt=iz(u),Jt!==null&&(jt.data=Jt)))),(Jt=wK?qI(a,u):VI(a,u))&&(jt=K1(_,"onBeforeInput"),0<jt.length&&(de=new sK("onBeforeInput","beforeinput",null,u,X),Z.push({event:de,listeners:jt}),de.data=Jt)),LX(Z,a,_,u,X)}j8(Z,o)})}function yg(a,o,u){return{instance:a,listener:o,currentTarget:u}}function K1(a,o){for(var u=o+"Capture",f=[];a!==null;){var m=a,v=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||v===null||(m=Zm(a,u),m!=null&&f.unshift(yg(a,m,v)),m=Zm(a,o),m!=null&&f.push(yg(a,m,v))),a.tag===3)return f;a=a.return}return[]}function PX(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function V8(a,o,u,f,m){for(var v=o._reactName,x=[];u!==null&&u!==f;){var E=u,R=E.alternate,_=E.stateNode;if(E=E.tag,R!==null&&R===f)break;E!==5&&E!==26&&E!==27||_===null||(R=_,m?(_=Zm(u,v),_!=null&&x.unshift(yg(u,_,R))):m||(_=Zm(u,v),_!=null&&x.push(yg(u,_,R)))),u=u.return}x.length!==0&&a.push({event:o,listeners:x})}function tC(a,o){UI(a,o),a!=="input"&&a!=="textarea"&&a!=="select"||o==null||o.value!==null||rL||(rL=!0,a==="select"&&o.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",a):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",a));var u={registrationNameDependencies:dd,possibleRegistrationNames:zC};Ym(a)||typeof o.is=="string"||HI(a,o,u),o.contentEditable&&!o.suppressContentEditableWarning&&o.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function Qi(a,o,u,f){o!==u&&(u=ac(u),ac(o)!==u&&(f[a]=o))}function UX(a,o,u){o.forEach(function(f){u[X8(f)]=f==="style"?nC(a):a.getAttribute(f)})}function Zs(a,o){o===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",a,a,a):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",a,typeof o)}function G8(a,o){return a=a.namespaceURI===dS||a.namespaceURI===mp?a.ownerDocument.createElementNS(a.namespaceURI,a.tagName):a.ownerDocument.createElement(a.tagName),a.innerHTML=o,a.innerHTML}function ac(a){return Ma(a)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Hi(a)),ei(a)),(typeof a=="string"?a:""+a).replace(QK,`
|
|
184
|
+
`).replace(JK,"")}function I8(a,o){return o=ac(o),ac(a)===o}function bn(a,o,u,f,m,v){switch(u){case"children":typeof f=="string"?(t1(f,o,!1),o==="body"||o==="textarea"&&f===""||Xm(a,f)):(typeof f=="number"||typeof f=="bigint")&&(t1(""+f,o,!1),o!=="body"&&Xm(a,""+f));break;case"className":ca(a,"class",f);break;case"tabIndex":ca(a,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":ca(a,u,f);break;case"style":WN(a,f,v);break;case"data":if(o!=="object"){ca(a,"data",f);break}case"src":case"href":if(f===""&&(o!=="a"||u!=="href")){console.error(u==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',u,u),a.removeAttribute(u);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){a.removeAttribute(u);break}et(f,u),f=Km(""+f),a.setAttribute(u,f);break;case"action":case"formAction":if(f!=null&&(o==="form"?u==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof f=="function"&&(m.encType==null&&m.method==null||tx||(tx=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),m.target==null||$S||($S=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):o==="input"||o==="button"?u==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):o!=="input"||m.type==="submit"||m.type==="image"||JS?o!=="button"||m.type==null||m.type==="submit"||JS?typeof f=="function"&&(m.name==null||G6||(G6=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),m.formEncType==null&&m.formMethod==null||tx||(tx=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),m.formTarget==null||$S||($S=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(JS=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(JS=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(u==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof f=="function"){a.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof v=="function"&&(u==="formAction"?(o!=="input"&&bn(a,o,"name",m.name,m,null),bn(a,o,"formEncType",m.formEncType,m,null),bn(a,o,"formMethod",m.formMethod,m,null),bn(a,o,"formTarget",m.formTarget,m,null)):(bn(a,o,"encType",m.encType,m,null),bn(a,o,"method",m.method,m,null),bn(a,o,"target",m.target,m,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){a.removeAttribute(u);break}et(f,u),f=Km(""+f),a.setAttribute(u,f);break;case"onClick":f!=null&&(typeof f!="function"&&Zs(u,f),a.onclick=kl);break;case"onScroll":f!=null&&(typeof f!="function"&&Zs(u,f),Ve("scroll",a));break;case"onScrollEnd":f!=null&&(typeof f!="function"&&Zs(u,f),Ve("scrollend",a));break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(u=f.__html,u!=null){if(m.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");a.innerHTML=u}}break;case"multiple":a.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":a.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){a.removeAttribute("xlink:href");break}et(f,u),u=Km(""+f),a.setAttributeNS(Od,"xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?(et(f,u),a.setAttribute(u,""+f)):a.removeAttribute(u);break;case"inert":f!==""||ex[u]||(ex[u]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",u));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":f&&typeof f!="function"&&typeof f!="symbol"?a.setAttribute(u,""):a.removeAttribute(u);break;case"capture":case"download":f===!0?a.setAttribute(u,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?(et(f,u),a.setAttribute(u,f)):a.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?(et(f,u),a.setAttribute(u,f)):a.removeAttribute(u);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?a.removeAttribute(u):(et(f,u),a.setAttribute(u,f));break;case"popover":Ve("beforetoggle",a),Ve("toggle",a),ua(a,"popover",f);break;case"xlinkActuate":Cn(a,Od,"xlink:actuate",f);break;case"xlinkArcrole":Cn(a,Od,"xlink:arcrole",f);break;case"xlinkRole":Cn(a,Od,"xlink:role",f);break;case"xlinkShow":Cn(a,Od,"xlink:show",f);break;case"xlinkTitle":Cn(a,Od,"xlink:title",f);break;case"xlinkType":Cn(a,Od,"xlink:type",f);break;case"xmlBase":Cn(a,UD,"xml:base",f);break;case"xmlLang":Cn(a,UD,"xml:lang",f);break;case"xmlSpace":Cn(a,UD,"xml:space",f);break;case"is":v!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),ua(a,"is",f);break;case"innerText":case"textContent":break;case"popoverTarget":I6||f==null||typeof f!="object"||(I6=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",f));default:!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N"?(u=QN(u),ua(a,u,f)):dd.hasOwnProperty(u)&&f!=null&&typeof f!="function"&&Zs(u,f)}}function eC(a,o,u,f,m,v){switch(u){case"style":WN(a,f,v);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(u=f.__html,u!=null){if(m.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");a.innerHTML=u}}break;case"children":typeof f=="string"?Xm(a,f):(typeof f=="number"||typeof f=="bigint")&&Xm(a,""+f);break;case"onScroll":f!=null&&(typeof f!="function"&&Zs(u,f),Ve("scroll",a));break;case"onScrollEnd":f!=null&&(typeof f!="function"&&Zs(u,f),Ve("scrollend",a));break;case"onClick":f!=null&&(typeof f!="function"&&Zs(u,f),a.onclick=kl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(dd.hasOwnProperty(u))f!=null&&typeof f!="function"&&Zs(u,f);else t:{if(u[0]==="o"&&u[1]==="n"&&(m=u.endsWith("Capture"),o=u.slice(2,m?u.length-7:void 0),v=a[Ya]||null,v=v!=null?v[u]:null,typeof v=="function"&&a.removeEventListener(o,v,m),typeof f=="function")){typeof v!="function"&&v!==null&&(u in a?a[u]=null:a.hasAttribute(u)&&a.removeAttribute(u)),a.addEventListener(o,f,m);break t}u in a?a[u]=f:f===!0?a.setAttribute(u,""):ua(a,u,f)}}}function ha(a,o,u){switch(tC(o,u),o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ve("error",a),Ve("load",a);var f=!1,m=!1,v;for(v in u)if(u.hasOwnProperty(v)){var x=u[v];if(x!=null)switch(v){case"src":f=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:bn(a,o,v,x,u,null)}}m&&bn(a,o,"srcSet",u.srcSet,u,null),f&&bn(a,o,"src",u.src,u,null);return;case"input":Gt("input",u),Ve("invalid",a);var E=v=x=m=null,R=null,_=null;for(f in u)if(u.hasOwnProperty(f)){var X=u[f];if(X!=null)switch(f){case"name":m=X;break;case"type":x=X;break;case"checked":R=X;break;case"defaultChecked":_=X;break;case"value":v=X;break;case"defaultValue":E=X;break;case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(o+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:bn(a,o,f,X,u,null)}}zN(a,u),kN(a,v,E,R,_,x,m,!1);return;case"select":Gt("select",u),Ve("invalid",a),f=x=v=null;for(m in u)if(u.hasOwnProperty(m)&&(E=u[m],E!=null))switch(m){case"value":v=E;break;case"defaultValue":x=E;break;case"multiple":f=E;default:bn(a,o,m,E,u,null)}UN(a,u),o=v,u=x,a.multiple=!!f,o!=null?Xh(a,!!f,o,!1):u!=null&&Xh(a,!!f,u,!0);return;case"textarea":Gt("textarea",u),Ve("invalid",a),v=m=f=null;for(x in u)if(u.hasOwnProperty(x)&&(E=u[x],E!=null))switch(x){case"value":f=E;break;case"defaultValue":m=E;break;case"children":v=E;break;case"dangerouslySetInnerHTML":if(E!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:bn(a,o,x,E,u,null)}BN(a,u),jN(a,f,m,v);return;case"option":LN(a,u);for(R in u)u.hasOwnProperty(R)&&(f=u[R],f!=null)&&(R==="selected"?a.selected=f&&typeof f!="function"&&typeof f!="symbol":bn(a,o,R,f,u,null));return;case"dialog":Ve("beforetoggle",a),Ve("toggle",a),Ve("cancel",a),Ve("close",a);break;case"iframe":case"object":Ve("load",a);break;case"video":case"audio":for(f=0;f<dv.length;f++)Ve(dv[f],a);break;case"image":Ve("error",a),Ve("load",a);break;case"details":Ve("toggle",a);break;case"embed":case"source":case"link":Ve("error",a),Ve("load",a);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(_ in u)if(u.hasOwnProperty(_)&&(f=u[_],f!=null))switch(_){case"children":case"dangerouslySetInnerHTML":throw Error(o+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:bn(a,o,_,f,u,null)}return;default:if(Ym(o)){for(X in u)u.hasOwnProperty(X)&&(f=u[X],f!==void 0&&eC(a,o,X,f,u,void 0));return}}for(E in u)u.hasOwnProperty(E)&&(f=u[E],f!=null&&bn(a,o,E,f,u,null))}function BX(a,o,u,f){switch(tC(o,f),o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,v=null,x=null,E=null,R=null,_=null,X=null;for(at in u){var Z=u[at];if(u.hasOwnProperty(at)&&Z!=null)switch(at){case"checked":break;case"value":break;case"defaultValue":R=Z;default:f.hasOwnProperty(at)||bn(a,o,at,null,f,Z)}}for(var j in f){var at=f[j];if(Z=u[j],f.hasOwnProperty(j)&&(at!=null||Z!=null))switch(j){case"type":v=at;break;case"name":m=at;break;case"checked":_=at;break;case"defaultChecked":X=at;break;case"value":x=at;break;case"defaultValue":E=at;break;case"children":case"dangerouslySetInnerHTML":if(at!=null)throw Error(o+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:at!==Z&&bn(a,o,j,at,f,Z)}}o=u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null,f=f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null,o||!f||V6||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),V6=!0),!o||f||q6||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),q6=!0),pT(a,x,E,R,_,X,v,m);return;case"select":at=x=E=j=null;for(v in u)if(R=u[v],u.hasOwnProperty(v)&&R!=null)switch(v){case"value":break;case"multiple":at=R;default:f.hasOwnProperty(v)||bn(a,o,v,null,f,R)}for(m in f)if(v=f[m],R=u[m],f.hasOwnProperty(m)&&(v!=null||R!=null))switch(m){case"value":j=v;break;case"defaultValue":E=v;break;case"multiple":x=v;default:v!==R&&bn(a,o,m,v,f,R)}f=E,o=x,u=at,j!=null?Xh(a,!!o,j,!1):!!u!=!!o&&(f!=null?Xh(a,!!o,f,!0):Xh(a,!!o,o?[]:"",!1));return;case"textarea":at=j=null;for(E in u)if(m=u[E],u.hasOwnProperty(E)&&m!=null&&!f.hasOwnProperty(E))switch(E){case"value":break;case"children":break;default:bn(a,o,E,null,f,m)}for(x in f)if(m=f[x],v=u[x],f.hasOwnProperty(x)&&(m!=null||v!=null))switch(x){case"value":j=m;break;case"defaultValue":at=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:m!==v&&bn(a,o,x,m,f,v)}HN(a,j,at);return;case"option":for(var Dt in u)j=u[Dt],u.hasOwnProperty(Dt)&&j!=null&&!f.hasOwnProperty(Dt)&&(Dt==="selected"?a.selected=!1:bn(a,o,Dt,null,f,j));for(R in f)j=f[R],at=u[R],f.hasOwnProperty(R)&&j!==at&&(j!=null||at!=null)&&(R==="selected"?a.selected=j&&typeof j!="function"&&typeof j!="symbol":bn(a,o,R,j,f,at));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Nt in u)j=u[Nt],u.hasOwnProperty(Nt)&&j!=null&&!f.hasOwnProperty(Nt)&&bn(a,o,Nt,null,f,j);for(_ in f)if(j=f[_],at=u[_],f.hasOwnProperty(_)&&j!==at&&(j!=null||at!=null))switch(_){case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(o+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:bn(a,o,_,j,f,at)}return;default:if(Ym(o)){for(var Rn in u)j=u[Rn],u.hasOwnProperty(Rn)&&j!==void 0&&!f.hasOwnProperty(Rn)&&eC(a,o,Rn,void 0,f,j);for(X in f)j=f[X],at=u[X],!f.hasOwnProperty(X)||j===at||j===void 0&&at===void 0||eC(a,o,X,j,f,at);return}}for(var Ge in u)j=u[Ge],u.hasOwnProperty(Ge)&&j!=null&&!f.hasOwnProperty(Ge)&&bn(a,o,Ge,null,f,j);for(Z in f)j=f[Z],at=u[Z],!f.hasOwnProperty(Z)||j===at||j==null&&at==null||bn(a,o,Z,j,f,at)}function X8(a){switch(a){case"class":return"className";case"for":return"htmlFor";default:return a}}function nC(a){var o={};a=a.style;for(var u=0;u<a.length;u++){var f=a[u];o[f]=a.getPropertyValue(f)}return o}function Y8(a,o,u){if(o!=null&&typeof o!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var f,m=f="",v;for(v in o)if(o.hasOwnProperty(v)){var x=o[v];x!=null&&typeof x!="boolean"&&x!==""&&(v.indexOf("--")===0?(ye(x,v),f+=m+v+":"+(""+x).trim()):typeof x!="number"||x===0||iL.has(v)?(ye(x,v),f+=m+v.replace(J4,"-$1").toLowerCase().replace($4,"-ms-")+":"+(""+x).trim()):f+=m+v.replace(J4,"-$1").toLowerCase().replace($4,"-ms-")+":"+x+"px",m=";")}f=f||null,o=a.getAttribute("style"),o!==f&&(f=ac(f),ac(o)!==f&&(u.style=nC(a)))}}function bo(a,o,u,f,m,v){if(m.delete(u),a=a.getAttribute(u),a===null)switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":return}else if(f!=null)switch(typeof f){case"function":case"symbol":case"boolean":break;default:if(et(f,o),a===""+f)return}Qi(o,a,f,v)}function K8(a,o,u,f,m,v){if(m.delete(u),a=a.getAttribute(u),a===null){switch(typeof f){case"function":case"symbol":return}if(!f)return}else switch(typeof f){case"function":case"symbol":break;default:if(f)return}Qi(o,a,f,v)}function iC(a,o,u,f,m,v){if(m.delete(u),a=a.getAttribute(u),a===null)switch(typeof f){case"undefined":case"function":case"symbol":return}else if(f!=null)switch(typeof f){case"function":case"symbol":break;default:if(et(f,u),a===""+f)return}Qi(o,a,f,v)}function Z8(a,o,u,f,m,v){if(m.delete(u),a=a.getAttribute(u),a===null)switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(f))return}else if(f!=null)switch(typeof f){case"function":case"symbol":case"boolean":break;default:if(!isNaN(f)&&(et(f,o),a===""+f))return}Qi(o,a,f,v)}function aC(a,o,u,f,m,v){if(m.delete(u),a=a.getAttribute(u),a===null)switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":return}else if(f!=null)switch(typeof f){case"function":case"symbol":case"boolean":break;default:if(et(f,o),u=Km(""+f),a===u)return}Qi(o,a,f,v)}function W8(a,o,u,f){for(var m={},v=new Set,x=a.attributes,E=0;E<x.length;E++)switch(x[E].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:v.add(x[E].name)}if(Ym(o)){for(var R in u)if(u.hasOwnProperty(R)){var _=u[R];if(_!=null){if(dd.hasOwnProperty(R))typeof _!="function"&&Zs(R,_);else if(u.suppressHydrationWarning!==!0)switch(R){case"children":typeof _!="string"&&typeof _!="number"||Qi("children",a.textContent,_,m);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":x=a.innerHTML,_=_?_.__html:void 0,_!=null&&(_=G8(a,_),Qi(R,x,_,m));continue;case"style":v.delete(R),Y8(a,_,m);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":v.delete(R.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",R);continue;case"className":v.delete("class"),x=la(a,"class",_),Qi("className",x,_,m);continue;default:f.context===iu&&o!=="svg"&&o!=="math"?v.delete(R.toLowerCase()):v.delete(R),x=la(a,R,_),Qi(R,x,_,m)}}}}else for(_ in u)if(u.hasOwnProperty(_)&&(R=u[_],R!=null)){if(dd.hasOwnProperty(_))typeof R!="function"&&Zs(_,R);else if(u.suppressHydrationWarning!==!0)switch(_){case"children":typeof R!="string"&&typeof R!="number"||Qi("children",a.textContent,R,m);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":x=a.innerHTML,R=R?R.__html:void 0,R!=null&&(R=G8(a,R),x!==R&&(m[_]={__html:x}));continue;case"className":bo(a,_,"class",R,v,m);continue;case"tabIndex":bo(a,_,"tabindex",R,v,m);continue;case"style":v.delete(_),Y8(a,R,m);continue;case"multiple":v.delete(_),Qi(_,a.multiple,R,m);continue;case"muted":v.delete(_),Qi(_,a.muted,R,m);continue;case"autoFocus":v.delete("autofocus"),Qi(_,a.autofocus,R,m);continue;case"data":if(o!=="object"){v.delete(_),x=a.getAttribute("data"),Qi(_,x,R,m);continue}case"src":case"href":if(!(R!==""||o==="a"&&_==="href"||o==="object"&&_==="data")){console.error(_==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',_,_);continue}aC(a,_,_,R,v,m);continue;case"action":case"formAction":if(x=a.getAttribute(_),typeof R=="function"){v.delete(_.toLowerCase()),_==="formAction"?(v.delete("name"),v.delete("formenctype"),v.delete("formmethod"),v.delete("formtarget")):(v.delete("enctype"),v.delete("method"),v.delete("target"));continue}else if(x===$K){v.delete(_.toLowerCase()),Qi(_,"function",R,m);continue}aC(a,_,_.toLowerCase(),R,v,m);continue;case"xlinkHref":aC(a,_,"xlink:href",R,v,m);continue;case"contentEditable":iC(a,_,"contenteditable",R,v,m);continue;case"spellCheck":iC(a,_,"spellcheck",R,v,m);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":iC(a,_,_,R,v,m);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":K8(a,_,_.toLowerCase(),R,v,m);continue;case"capture":case"download":t:{E=a;var X=x=_,Z=m;if(v.delete(X),E=E.getAttribute(X),E===null)switch(typeof R){case"undefined":case"function":case"symbol":break t;default:if(R===!1)break t}else if(R!=null)switch(typeof R){case"function":case"symbol":break;case"boolean":if(R===!0&&E==="")break t;break;default:if(et(R,x),E===""+R)break t}Qi(x,E,R,Z)}continue;case"cols":case"rows":case"size":case"span":t:{if(E=a,X=x=_,Z=m,v.delete(X),E=E.getAttribute(X),E===null)switch(typeof R){case"undefined":case"function":case"symbol":case"boolean":break t;default:if(isNaN(R)||1>R)break t}else if(R!=null)switch(typeof R){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(R)||1>R)&&(et(R,x),E===""+R))break t}Qi(x,E,R,Z)}continue;case"rowSpan":Z8(a,_,"rowspan",R,v,m);continue;case"start":Z8(a,_,_,R,v,m);continue;case"xHeight":bo(a,_,"x-height",R,v,m);continue;case"xlinkActuate":bo(a,_,"xlink:actuate",R,v,m);continue;case"xlinkArcrole":bo(a,_,"xlink:arcrole",R,v,m);continue;case"xlinkRole":bo(a,_,"xlink:role",R,v,m);continue;case"xlinkShow":bo(a,_,"xlink:show",R,v,m);continue;case"xlinkTitle":bo(a,_,"xlink:title",R,v,m);continue;case"xlinkType":bo(a,_,"xlink:type",R,v,m);continue;case"xmlBase":bo(a,_,"xml:base",R,v,m);continue;case"xmlLang":bo(a,_,"xml:lang",R,v,m);continue;case"xmlSpace":bo(a,_,"xml:space",R,v,m);continue;case"inert":R!==""||ex[_]||(ex[_]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",_)),K8(a,_,_,R,v,m);continue;default:if(!(2<_.length)||_[0]!=="o"&&_[0]!=="O"||_[1]!=="n"&&_[1]!=="N"){E=QN(_),x=!1,f.context===iu&&o!=="svg"&&o!=="math"?v.delete(E.toLowerCase()):(X=_.toLowerCase(),X=hS.hasOwnProperty(X)&&hS[X]||null,X!==null&&X!==_&&(x=!0,v.delete(X)),v.delete(E));t:if(X=a,Z=E,E=R,Ae(Z))if(X.hasAttribute(Z))X=X.getAttribute(Z),et(E,Z),E=X===""+E?E:X;else{switch(typeof E){case"function":case"symbol":break t;case"boolean":if(X=Z.toLowerCase().slice(0,5),X!=="data-"&&X!=="aria-")break t}E=E===void 0?void 0:null}else E=void 0;x||Qi(_,E,R,m)}}}return 0<v.size&&u.suppressHydrationWarning!==!0&&UX(a,v,m),Object.keys(m).length===0?null:m}function HX(a,o){switch(a.length){case 0:return"";case 1:return a[0];case 2:return a[0]+" "+o+" "+a[1];default:return a.slice(0,-1).join(", ")+", "+o+" "+a[a.length-1]}}function Q8(a){switch(a){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function jX(){if(typeof performance.getEntriesByType=="function"){for(var a=0,o=0,u=performance.getEntriesByType("resource"),f=0;f<u.length;f++){var m=u[f],v=m.transferSize,x=m.initiatorType,E=m.duration;if(v&&E&&Q8(x)){for(x=0,E=m.responseEnd,f+=1;f<u.length;f++){var R=u[f],_=R.startTime;if(_>E)break;var X=R.transferSize,Z=R.initiatorType;X&&Q8(Z)&&(R=R.responseEnd,x+=X*(R<E?1:(E-_)/(R-_)))}if(--f,o+=8*(v+x)/(m.duration/1e3),a++,10<a)break}}if(0<a)return o/a/1e6}return navigator.connection&&(a=navigator.connection.downlink,typeof a=="number")?a:5}function Z1(a){return a.nodeType===9?a:a.ownerDocument}function J8(a){switch(a){case mp:return Ip;case dS:return ix;default:return iu}}function $8(a,o){if(a===iu)switch(o){case"svg":return Ip;case"math":return ix;default:return iu}return a===Ip&&o==="foreignObject"?iu:a}function rC(a,o){return a==="textarea"||a==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.children=="bigint"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}function qX(){var a=window.event;return a&&a.type==="popstate"?a===qD?!1:(qD=a,!0):(qD=null,!1)}function bg(){var a=window.event;return a&&a!==mv?a.type:null}function Sg(){var a=window.event;return a&&a!==mv?a.timeStamp:-1.1}function VX(a){setTimeout(function(){throw a})}function GX(a,o,u){switch(o){case"button":case"input":case"select":case"textarea":u.autoFocus&&a.focus();break;case"img":u.src?a.src=u.src:u.srcSet&&(a.srcset=u.srcSet)}}function IX(){}function XX(a,o,u,f){BX(a,o,u,f),a[Ya]=f}function t4(a){Xm(a,"")}function YX(a,o,u){a.nodeValue=u}function e4(a){if(!a.__reactWarnedAboutChildrenConflict){var o=a[Ya]||null;if(o!==null){var u=V(a);u!==null&&(typeof o.children=="string"||typeof o.children=="number"?(a.__reactWarnedAboutChildrenConflict=!0,Et(u,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})):o.dangerouslySetInnerHTML!=null&&(a.__reactWarnedAboutChildrenConflict=!0,Et(u,function(){console.error('Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.')})))}}}function rc(a){return a==="head"}function KX(a,o){a.removeChild(o)}function ZX(a,o){(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).removeChild(o)}function n4(a,o){var u=o,f=0;do{var m=u.nextSibling;if(a.removeChild(u),m&&m.nodeType===8)if(u=m.data,u===pv||u===nx){if(f===0){a.removeChild(m),up(o);return}f--}else if(u===hv||u===Oc||u===_d||u===Gp||u===Md)f++;else if(u===eZ)xg(a.ownerDocument.documentElement);else if(u===iZ){u=a.ownerDocument.head,xg(u);for(var v=u.firstChild;v;){var x=v.nextSibling,E=v.nodeName;v[Rg]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&v.rel.toLowerCase()==="stylesheet"||u.removeChild(v),v=x}}else u===nZ&&xg(a.ownerDocument.body);u=m}while(u);up(o)}function i4(a,o){var u=a;a=0;do{var f=u.nextSibling;if(u.nodeType===1?o?(u._stashedDisplay=u.style.display,u.style.display="none"):(u.style.display=u._stashedDisplay||"",u.getAttribute("style")===""&&u.removeAttribute("style")):u.nodeType===3&&(o?(u._stashedText=u.nodeValue,u.nodeValue=""):u.nodeValue=u._stashedText||""),f&&f.nodeType===8)if(u=f.data,u===pv){if(a===0)break;a--}else u!==hv&&u!==Oc&&u!==_d&&u!==Gp||a++;u=f}while(u)}function WX(a){i4(a,!0)}function QX(a){a=a.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"}function JX(a){a.nodeValue=""}function $X(a){i4(a,!1)}function tY(a,o){o=o[aZ],o=o!=null&&o.hasOwnProperty("display")?o.display:null,a.style.display=o==null||typeof o=="boolean"?"":(""+o).trim()}function eY(a,o){a.nodeValue=o}function oC(a){var o=a.firstChild;for(o&&o.nodeType===10&&(o=o.nextSibling);o;){var u=o;switch(o=o.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":oC(u),Ot(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}a.removeChild(u)}}function nY(a,o,u,f){for(;a.nodeType===1;){var m=u;if(a.nodeName.toLowerCase()!==o.toLowerCase()){if(!f&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(f){if(!a[Rg])switch(o){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(v=a.getAttribute("rel"),v==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(v!==m.rel||a.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||a.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||a.getAttribute("title")!==(m.title==null?null:m.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(v=a.getAttribute("src"),(v!==(m.src==null?null:m.src)||a.getAttribute("type")!==(m.type==null?null:m.type)||a.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&v&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(o==="input"&&a.type==="hidden"){et(m.name,"name");var v=m.name==null?null:""+m.name;if(m.type==="hidden"&&a.getAttribute("name")===v)return a}else return a;if(a=Vr(a.nextSibling),a===null)break}return null}function iY(a,o,u){if(o==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!u||(a=Vr(a.nextSibling),a===null))return null;return a}function a4(a,o){for(;a.nodeType!==8;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!o||(a=Vr(a.nextSibling),a===null))return null;return a}function sC(a){return a.data===Oc||a.data===_d}function lC(a){return a.data===Gp||a.data===Oc&&a.ownerDocument.readyState!==Y6}function aY(a,o){var u=a.ownerDocument;if(a.data===_d)a._reactRetry=o;else if(a.data!==Oc||u.readyState!==Y6)o();else{var f=function(){o(),u.removeEventListener("DOMContentLoaded",f)};u.addEventListener("DOMContentLoaded",f),a._reactRetry=f}}function Vr(a){for(;a!=null;a=a.nextSibling){var o=a.nodeType;if(o===1||o===3)break;if(o===8){if(o=a.data,o===hv||o===Gp||o===Oc||o===_d||o===Md||o===BD||o===X6)break;if(o===pv||o===nx)return null}}return a}function r4(a){if(a.nodeType===1){for(var o=a.nodeName.toLowerCase(),u={},f=a.attributes,m=0;m<f.length;m++){var v=f[m];u[X8(v.name)]=v.name.toLowerCase()==="style"?nC(a):v.value}return{type:o,props:u}}return a.nodeType===8?a.data===Md?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:a.nodeValue}function o4(a,o,u){return u===null||u[tZ]!==!0?(a.nodeValue===o?a=null:(o=ac(o),a=ac(a.nodeValue)===o?null:a.nodeValue),a):null}function uC(a){a=a.nextSibling;for(var o=0;a;){if(a.nodeType===8){var u=a.data;if(u===pv||u===nx){if(o===0)return Vr(a.nextSibling);o--}else u!==hv&&u!==Gp&&u!==Oc&&u!==_d&&u!==Md||o++}a=a.nextSibling}return null}function s4(a){a=a.previousSibling;for(var o=0;a;){if(a.nodeType===8){var u=a.data;if(u===hv||u===Gp||u===Oc||u===_d||u===Md){if(o===0)return a;o--}else u!==pv&&u!==nx||o++}a=a.previousSibling}return null}function rY(a){up(a)}function oY(a){up(a)}function sY(a){up(a)}function l4(a,o,u,f,m){switch(m&&ST(a,f.ancestorInfo),o=Z1(u),a){case"html":if(a=o.documentElement,!a)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return a;case"head":if(a=o.head,!a)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return a;case"body":if(a=o.body,!a)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return a;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function lY(a,o,u,f){if(!u[uc]&&V(u)){var m=u.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",m,m,m)}switch(a){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(m=u.attributes;m.length;)u.removeAttributeNode(m[0]);ha(u,a,o),u[pa]=f,u[Ya]=o}function xg(a){for(var o=a.attributes;o.length;)a.removeAttributeNode(o[0]);Ot(a)}function W1(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}function u4(a,o,u){var f=Xp;if(f&&typeof o=="string"&&o){var m=yo(o);m='link[rel="'+a+'"][href="'+m+'"]',typeof u=="string"&&(m+='[crossorigin="'+u+'"]'),$6.has(m)||($6.add(m),a={rel:a,crossOrigin:u,href:o},f.querySelector(m)===null&&(o=f.createElement("link"),ha(o,"link",a),dt(o),f.head.appendChild(o)))}}function c4(a,o,u,f){var m=(m=sc.current)?W1(m):null;if(!m)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(a){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(u=sp(u.href),o=lt(m).hoistableStyles,f=o.get(u),f||(f={type:"style",instance:null,count:0,state:null},o.set(u,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){a=sp(u.href);var v=lt(m).hoistableStyles,x=v.get(a);if(!x&&(m=m.ownerDocument||m,x={type:"stylesheet",instance:null,count:0,state:{loading:Nd,preload:null}},v.set(a,x),(v=m.querySelector(Ag(a)))&&!v._p&&(x.instance=v,x.state.loading=gv|Mo),!_o.has(a))){var E={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy};_o.set(a,E),v||uY(m,a,E,x.state)}if(o&&f===null)throw u=`
|
|
185
|
+
|
|
186
|
+
- `+Q1(o)+`
|
|
187
|
+
+ `+Q1(u),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+u);return x}if(o&&f!==null)throw u=`
|
|
188
|
+
|
|
189
|
+
- `+Q1(o)+`
|
|
190
|
+
+ `+Q1(u),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+u);return null;case"script":return o=u.async,u=u.src,typeof u=="string"&&o&&typeof o!="function"&&typeof o!="symbol"?(u=lp(u),o=lt(m).hoistableScripts,f=o.get(u),f||(f={type:"script",instance:null,count:0,state:null},o.set(u,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+a+'". this is a bug in React.')}}function Q1(a){var o=0,u="<link";return typeof a.rel=="string"?(o++,u+=' rel="'+a.rel+'"'):cs.call(a,"rel")&&(o++,u+=' rel="'+(a.rel===null?"null":"invalid type "+typeof a.rel)+'"'),typeof a.href=="string"?(o++,u+=' href="'+a.href+'"'):cs.call(a,"href")&&(o++,u+=' href="'+(a.href===null?"null":"invalid type "+typeof a.href)+'"'),typeof a.precedence=="string"?(o++,u+=' precedence="'+a.precedence+'"'):cs.call(a,"precedence")&&(o++,u+=" precedence={"+(a.precedence===null?"null":"invalid type "+typeof a.precedence)+"}"),Object.getOwnPropertyNames(a).length>o&&(u+=" ..."),u+" />"}function sp(a){return'href="'+yo(a)+'"'}function Ag(a){return'link[rel="stylesheet"]['+a+"]"}function f4(a){return Ue({},a,{"data-precedence":a.precedence,precedence:null})}function uY(a,o,u,f){a.querySelector('link[rel="preload"][as="style"]['+o+"]")?f.loading=gv:(o=a.createElement("link"),f.preload=o,o.addEventListener("load",function(){return f.loading|=gv}),o.addEventListener("error",function(){return f.loading|=Q6}),ha(o,"link",u),dt(o),a.head.appendChild(o))}function lp(a){return'[src="'+yo(a)+'"]'}function wg(a){return"script[async]"+a}function d4(a,o,u){if(o.count++,o.instance===null)switch(o.type){case"style":var f=a.querySelector('style[data-href~="'+yo(u.href)+'"]');if(f)return o.instance=f,dt(f),f;var m=Ue({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return f=(a.ownerDocument||a).createElement("style"),dt(f),ha(f,"style",m),J1(f,u.precedence,a),o.instance=f;case"stylesheet":m=sp(u.href);var v=a.querySelector(Ag(m));if(v)return o.state.loading|=Mo,o.instance=v,dt(v),v;f=f4(u),(m=_o.get(m))&&cC(f,m),v=(a.ownerDocument||a).createElement("link"),dt(v);var x=v;return x._p=new Promise(function(E,R){x.onload=E,x.onerror=R}),ha(v,"link",f),o.state.loading|=Mo,J1(v,u.precedence,a),o.instance=v;case"script":return v=lp(u.src),(m=a.querySelector(wg(v)))?(o.instance=m,dt(m),m):(f=u,(m=_o.get(v))&&(f=Ue({},u),fC(f,m)),a=a.ownerDocument||a,m=a.createElement("script"),dt(m),ha(m,"link",f),a.head.appendChild(m),o.instance=m);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+o.type+'". this is a bug in React.')}else o.type==="stylesheet"&&(o.state.loading&Mo)===Nd&&(f=o.instance,o.state.loading|=Mo,J1(f,u.precedence,a));return o.instance}function J1(a,o,u){for(var f=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=f.length?f[f.length-1]:null,v=m,x=0;x<f.length;x++){var E=f[x];if(E.dataset.precedence===o)v=E;else if(v!==m)break}v?v.parentNode.insertBefore(a,v.nextSibling):(o=u.nodeType===9?u.head:u,o.insertBefore(a,o.firstChild))}function cC(a,o){a.crossOrigin==null&&(a.crossOrigin=o.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=o.referrerPolicy),a.title==null&&(a.title=o.title)}function fC(a,o){a.crossOrigin==null&&(a.crossOrigin=o.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=o.referrerPolicy),a.integrity==null&&(a.integrity=o.integrity)}function h4(a,o,u){if(ax===null){var f=new Map,m=ax=new Map;m.set(u,f)}else m=ax,f=m.get(u),f||(f=new Map,m.set(u,f));if(f.has(a))return f;for(f.set(a,null),u=u.getElementsByTagName(a),m=0;m<u.length;m++){var v=u[m];if(!(v[Rg]||v[pa]||a==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!==mp){var x=v.getAttribute(o)||"";x=a+x;var E=f.get(x);E?E.push(v):f.set(x,[v])}}return f}function p4(a,o,u){a=a.ownerDocument||a,a.head.insertBefore(u,o==="title"?a.querySelector("head > title"):null)}function cY(a,o,u){var f=!u.ancestorInfo.containerTagInScope;if(u.context===Ip||o.itemProp!=null)return!f||o.itemProp==null||a!=="meta"&&a!=="title"&&a!=="style"&&a!=="link"&&a!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",a,a),!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof o.precedence!="string"||typeof o.href!="string"||o.href===""){f&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof o.rel!="string"||typeof o.href!="string"||o.href===""||o.onLoad||o.onError){if(o.rel==="stylesheet"&&typeof o.precedence=="string"){a=o.href;var m=o.onError,v=o.disabled;u=[],o.onLoad&&u.push("`onLoad`"),m&&u.push("`onError`"),v!=null&&u.push("`disabled`"),m=HX(u,"and"),m+=u.length===1?" prop":" props",v=u.length===1?"an "+m:"the "+m,u.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',a,v,m)}f&&(typeof o.rel!="string"||typeof o.href!="string"||o.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(o.onError||o.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}return o.rel==="stylesheet"?(a=o.precedence,o=o.disabled,typeof a!="string"&&f&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof a=="string"&&o==null):!0;case"script":if(a=o.async&&typeof o.async!="function"&&typeof o.async!="symbol",!a||o.onLoad||o.onError||!o.src||typeof o.src!="string"){f&&(a?o.onLoad||o.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":f&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",a)}return!1}function m4(a){return!(a.type==="stylesheet"&&(a.state.loading&J6)===Nd)}function fY(a,o,u,f){if(u.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&(u.state.loading&Mo)===Nd){if(u.instance===null){var m=sp(f.href),v=o.querySelector(Ag(m));if(v){o=v._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(a.count++,a=$1.bind(a),o.then(a,a)),u.state.loading|=Mo,u.instance=v,dt(v);return}v=o.ownerDocument||o,f=f4(f),(m=_o.get(m))&&cC(f,m),v=v.createElement("link"),dt(v);var x=v;x._p=new Promise(function(E,R){x.onload=E,x.onerror=R}),ha(v,"link",f),u.instance=v}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(u,o),(o=u.state.preload)&&(u.state.loading&J6)===Nd&&(a.count++,u=$1.bind(a),o.addEventListener("load",u),o.addEventListener("error",u))}}function dY(a,o){return a.stylesheets&&a.count===0&&tS(a,a.stylesheets),0<a.count||0<a.imgCount?function(u){var f=setTimeout(function(){if(a.stylesheets&&tS(a,a.stylesheets),a.unsuspend){var v=a.unsuspend;a.unsuspend=null,v()}},sZ+o);0<a.imgBytes&&GD===0&&(GD=125*jX()*uZ);var m=setTimeout(function(){if(a.waitingForImages=!1,a.count===0&&(a.stylesheets&&tS(a,a.stylesheets),a.unsuspend)){var v=a.unsuspend;a.unsuspend=null,v()}},(a.imgBytes>GD?50:lZ)+o);return a.unsuspend=u,function(){a.unsuspend=null,clearTimeout(f),clearTimeout(m)}}:null}function $1(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)tS(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}function tS(a,o){a.stylesheets=null,a.unsuspend!==null&&(a.count++,rx=new Map,o.forEach(hY,a),rx=null,$1.call(a))}function hY(a,o){if(!(o.state.loading&Mo)){var u=rx.get(a);if(u)var f=u.get(ID);else{u=new Map,rx.set(a,u);for(var m=a.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<m.length;v++){var x=m[v];(x.nodeName==="LINK"||x.getAttribute("media")!=="not all")&&(u.set(x.dataset.precedence,x),f=x)}f&&u.set(ID,f)}m=o.instance,x=m.getAttribute("data-precedence"),v=u.get(x)||f,v===f&&u.set(ID,m),u.set(x,m),this.count++,f=$1.bind(this),m.addEventListener("load",f),m.addEventListener("error",f),v?v.parentNode.insertBefore(m,v.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(m,a.firstChild)),o.state.loading|=Mo}}function pY(a,o,u,f,m,v,x,E,R){for(this.tag=1,this.containerInfo=a,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Fd,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=sa(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sa(0),this.hiddenUpdates=sa(null),this.identifierPrefix=f,this.onUncaughtError=m,this.onCaughtError=v,this.onRecoverableError=x,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=R,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,a=this.pendingUpdatersLaneMap=[],o=0;31>o;o++)a.push(new Set);this._debugRootType=u?"hydrateRoot()":"createRoot()"}function g4(a,o,u,f,m,v,x,E,R,_,X,Z){return a=new pY(a,o,u,x,R,_,X,Z,E),o=zK,v===!0&&(o|=Na|ds),o|=Re,v=g(3,null,null,o),a.current=v,v.stateNode=a,o=BT(),rd(o),a.pooledCache=o,rd(o),v.memoizedState={element:f,isDehydrated:u,cache:o},GT(v),a}function v4(a){return a?(a=hc,a):hc}function dC(a,o,u,f,m,v){if(Fa&&typeof Fa.onScheduleFiberRoot=="function")try{Fa.onScheduleFiberRoot(hp,f,u)}catch(x){$s||($s=!0,console.error("React instrumentation encountered an error: %o",x))}m=v4(m),f.context===null?f.context=m:f.pendingContext=m,Js&&Ir!==null&&!iP&&(iP=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
191
|
+
|
|
192
|
+
Check the render method of %s.`,B(Ir)||"Unknown")),f=Ju(o),f.payload={element:u},v=v===void 0?null:v,v!==null&&(typeof v!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",v),f.callback=v),u=$u(a,f,o),u!==null&&(Ps(o,"root.render()",null),ni(u,a,o),ig(u,a,o))}function y4(a,o){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var u=a.retryLane;a.retryLane=u!==0&&u<o?u:o}}function hC(a,o){y4(a,o),(a=a.alternate)&&y4(a,o)}function b4(a){if(a.tag===13||a.tag===31){var o=_a(a,67108864);o!==null&&ni(o,a,67108864),hC(a,67108864)}}function S4(a){if(a.tag===13||a.tag===31){var o=qr(a);o=zl(o);var u=_a(a,o);u!==null&&ni(u,a,o),hC(a,o)}}function mY(){return Ir}function gY(a,o,u,f){var m=ut.T;ut.T=null;var v=sn.p;try{sn.p=Xr,pC(a,o,u,f)}finally{sn.p=v,ut.T=m}}function vY(a,o,u,f){var m=ut.T;ut.T=null;var v=sn.p;try{sn.p=fs,pC(a,o,u,f)}finally{sn.p=v,ut.T=m}}function pC(a,o,u,f){if(sx){var m=mC(f);if(m===null)$2(a,o,f,lx,u),A4(a,f);else if(yY(m,a,o,u,f))f.stopPropagation();else if(A4(a,f),o&4&&-1<fZ.indexOf(a)){for(;m!==null;){var v=V(m);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var x=fn(v.pendingLanes);if(x!==0){var E=v;for(E.pendingLanes|=2,E.entangledLanes|=2;x;){var R=1<<31-Xa(x);E.entanglements[1]|=R,x&=~R}Ks(v),(Qe&(Vi|Wr))===ea&&(GS=Ji()+_6,vg(0,!1))}}break;case 31:case 13:E=_a(v,2),E!==null&&ni(E,v,2),ap(),hC(v,2)}if(v=mC(f),v===null&&$2(a,o,f,lx,u),v===m)break;m=v}m!==null&&f.stopPropagation()}else $2(a,o,f,null,u)}}function mC(a){return a=xT(a),gC(a)}function gC(a){if(lx=null,a=Ut(a),a!==null){var o=A(a);if(o===null)a=null;else{var u=o.tag;if(u===13){if(a=T(o),a!==null)return a;a=null}else if(u===31){if(a=C(o),a!==null)return a;a=null}else if(u===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null)}}return lx=a,null}function x4(a){switch(a){case"beforetoggle":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"toggle":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 Xr;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return fs;case"message":switch(RY()){case MC:return Xr;case _C:return fs;case dp:case OY:return el;case FC:return cS;default:return el}default:return el}}function A4(a,o){switch(a){case"focusin":case"focusout":Mc=null;break;case"dragenter":case"dragleave":_c=null;break;case"mouseover":case"mouseout":Fc=null;break;case"pointerover":case"pointerout":yv.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":bv.delete(o.pointerId)}}function Eg(a,o,u,f,m,v){return a===null||a.nativeEvent!==v?(a={blockedOn:o,domEventName:u,eventSystemFlags:f,nativeEvent:v,targetContainers:[m]},o!==null&&(o=V(o),o!==null&&b4(o)),a):(a.eventSystemFlags|=f,o=a.targetContainers,m!==null&&o.indexOf(m)===-1&&o.push(m),a)}function yY(a,o,u,f,m){switch(o){case"focusin":return Mc=Eg(Mc,a,o,u,f,m),!0;case"dragenter":return _c=Eg(_c,a,o,u,f,m),!0;case"mouseover":return Fc=Eg(Fc,a,o,u,f,m),!0;case"pointerover":var v=m.pointerId;return yv.set(v,Eg(yv.get(v)||null,a,o,u,f,m)),!0;case"gotpointercapture":return v=m.pointerId,bv.set(v,Eg(bv.get(v)||null,a,o,u,f,m)),!0}return!1}function w4(a){var o=Ut(a.target);if(o!==null){var u=A(o);if(u!==null){if(o=u.tag,o===13){if(o=T(u),o!==null){a.blockedOn=o,mt(a.priority,function(){S4(u)});return}}else if(o===31){if(o=C(u),o!==null){a.blockedOn=o,mt(a.priority,function(){S4(u)});return}}else if(o===3&&u.stateNode.current.memoizedState.isDehydrated){a.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}a.blockedOn=null}function eS(a){if(a.blockedOn!==null)return!1;for(var o=a.targetContainers;0<o.length;){var u=mC(a.nativeEvent);if(u===null){u=a.nativeEvent;var f=new u.constructor(u.type,u),m=f;Og!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),Og=m,u.target.dispatchEvent(f),Og===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),Og=null}else return o=V(u),o!==null&&b4(o),a.blockedOn=u,!1;o.shift()}return!0}function E4(a,o,u){eS(a)&&u.delete(o)}function bY(){XD=!1,Mc!==null&&eS(Mc)&&(Mc=null),_c!==null&&eS(_c)&&(_c=null),Fc!==null&&eS(Fc)&&(Fc=null),yv.forEach(E4),bv.forEach(E4)}function nS(a,o){a.blockedOn===o&&(a.blockedOn=null,XD||(XD=!0,Ai.unstable_scheduleCallback(Ai.unstable_NormalPriority,bY)))}function T4(a){ux!==a&&(ux=a,Ai.unstable_scheduleCallback(Ai.unstable_NormalPriority,function(){ux===a&&(ux=null);for(var o=0;o<a.length;o+=3){var u=a[o],f=a[o+1],m=a[o+2];if(typeof f!="function"){if(gC(f||u)===null)continue;break}var v=V(u);v!==null&&(a.splice(o,3),o-=3,u={pending:!0,data:m,method:u.method,action:f},Object.freeze(u),g2(v,u,f,m))}}))}function up(a){function o(R){return nS(R,a)}Mc!==null&&nS(Mc,a),_c!==null&&nS(_c,a),Fc!==null&&nS(Fc,a),yv.forEach(o),bv.forEach(o);for(var u=0;u<Nc.length;u++){var f=Nc[u];f.blockedOn===a&&(f.blockedOn=null)}for(;0<Nc.length&&(u=Nc[0],u.blockedOn===null);)w4(u),u.blockedOn===null&&Nc.shift();if(u=(a.ownerDocument||a).$$reactFormReplay,u!=null)for(f=0;f<u.length;f+=3){var m=u[f],v=u[f+1],x=m[Ya]||null;if(typeof v=="function")x||T4(u);else if(x){var E=null;if(v&&v.hasAttribute("formAction")){if(m=v,x=v[Ya]||null)E=x.formAction;else if(gC(m)!==null)continue}else E=x.action;typeof E=="function"?u[f+1]=E:(u.splice(f,3),f-=3),T4(u)}}}function C4(){function a(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:function(){return new Promise(function(x){return m=x})},focusReset:"manual",scroll:"manual"})}function o(){m!==null&&(m(),m=null),f||setTimeout(u,20)}function u(){if(!f&&!navigation.transition){var v=navigation.currentEntry;v&&v.url!=null&&navigation.navigate(v.url,{state:v.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var f=!1,m=null;return navigation.addEventListener("navigate",a),navigation.addEventListener("navigatesuccess",o),navigation.addEventListener("navigateerror",o),setTimeout(u,100),function(){f=!0,navigation.removeEventListener("navigate",a),navigation.removeEventListener("navigatesuccess",o),navigation.removeEventListener("navigateerror",o),m!==null&&(m(),m=null)}}}function vC(a){this._internalRoot=a}function iS(a){this._internalRoot=a}function D4(a){a[uc]&&(a._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var Ai=cR(),yC=vr(),SY=vx(),Ue=Object.assign,xY=Symbol.for("react.element"),Ws=Symbol.for("react.transitional.element"),cp=Symbol.for("react.portal"),fp=Symbol.for("react.fragment"),aS=Symbol.for("react.strict_mode"),bC=Symbol.for("react.profiler"),SC=Symbol.for("react.consumer"),Qs=Symbol.for("react.context"),Tg=Symbol.for("react.forward_ref"),xC=Symbol.for("react.suspense"),AC=Symbol.for("react.suspense_list"),rS=Symbol.for("react.memo"),Gr=Symbol.for("react.lazy"),wC=Symbol.for("react.activity"),AY=Symbol.for("react.memo_cache_sentinel"),R4=Symbol.iterator,wY=Symbol.for("react.client.reference"),ji=Array.isArray,ut=yC.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,sn=SY.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,EY=Object.freeze({pending:!1,data:null,method:null,action:null}),EC=[],TC=[],Vl=-1,oc=W(null),Cg=W(null),sc=W(null),oS=W(null),Dg=0,O4,M4,_4,F4,N4,z4,k4;Yt.__reactDisabledLog=!0;var CC,L4,DC=!1,RC=new(typeof WeakMap=="function"?WeakMap:Map),Ir=null,Js=!1,cs=Object.prototype.hasOwnProperty,OC=Ai.unstable_scheduleCallback,TY=Ai.unstable_cancelCallback,CY=Ai.unstable_shouldYield,DY=Ai.unstable_requestPaint,Ji=Ai.unstable_now,RY=Ai.unstable_getCurrentPriorityLevel,MC=Ai.unstable_ImmediatePriority,_C=Ai.unstable_UserBlockingPriority,dp=Ai.unstable_NormalPriority,OY=Ai.unstable_LowPriority,FC=Ai.unstable_IdlePriority,MY=Ai.log,_Y=Ai.unstable_setDisableYieldValue,hp=null,Fa=null,$s=!1,tl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Xa=Math.clz32?Math.clz32:we,FY=Math.log,NY=Math.LN2,sS=256,lS=262144,uS=4194304,Xr=2,fs=8,el=32,cS=268435456,lc=Math.random().toString(36).slice(2),pa="__reactFiber$"+lc,Ya="__reactProps$"+lc,uc="__reactContainer$"+lc,NC="__reactEvents$"+lc,zY="__reactListeners$"+lc,kY="__reactHandles$"+lc,P4="__reactResources$"+lc,Rg="__reactMarker$"+lc,U4=new Set,dd={},zC={},LY={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},PY=RegExp("^[: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]*$"),B4={},H4={},UY=/[\n"\\]/g,j4=!1,q4=!1,V4=!1,G4=!1,I4=!1,X4=!1,Y4=["value","defaultValue"],K4=!1,Z4=/["'&<>\n\t]|^\s|\s$/,BY="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),W4="applet caption html table td th marquee object template foreignObject desc title".split(" "),HY=W4.concat(["button"]),jY="dd dt li option optgroup p rp rt".split(" "),Q4={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},fS={},kC={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},J4=/([A-Z])/g,$4=/^ms-/,qY=/^(?:webkit|moz|o)[A-Z]/,VY=/^-ms-/,GY=/-(.)/g,tL=/;\s*$/,pp={},LC={},eL=!1,nL=!1,iL=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),dS="http://www.w3.org/1998/Math/MathML",mp="http://www.w3.org/2000/svg",IY=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),hS={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},aL={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0,"aria-braillelabel":0,"aria-brailleroledescription":0,"aria-colindextext":0,"aria-rowindextext":0},gp={},XY=RegExp("^(aria)-[: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]*$"),YY=RegExp("^(aria)[A-Z][: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]*$"),rL=!1,Ka={},oL=/^on./,KY=/^on[^A-Z]/,ZY=RegExp("^(aria)-[: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]*$"),WY=RegExp("^(aria)[A-Z][: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]*$"),QY=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Og=null,vp=null,yp=null,PC=!1,nl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),UC=!1;if(nl)try{var Mg={};Object.defineProperty(Mg,"passive",{get:function(){UC=!0}}),window.addEventListener("test",Mg,Mg),window.removeEventListener("test",Mg,Mg)}catch{UC=!1}var cc=null,BC=null,pS=null,hd={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mS=cr(hd),_g=Ue({},hd,{view:0,detail:0}),JY=cr(_g),HC,jC,Fg,gS=Ue({},_g,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:AT,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return"movementX"in a?a.movementX:(a!==Fg&&(Fg&&a.type==="mousemove"?(HC=a.screenX-Fg.screenX,jC=a.screenY-Fg.screenY):jC=HC=0,Fg=a),HC)},movementY:function(a){return"movementY"in a?a.movementY:jC}}),sL=cr(gS),$Y=Ue({},gS,{dataTransfer:0}),tK=cr($Y),eK=Ue({},_g,{relatedTarget:0}),qC=cr(eK),nK=Ue({},hd,{animationName:0,elapsedTime:0,pseudoElement:0}),iK=cr(nK),aK=Ue({},hd,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),rK=cr(aK),oK=Ue({},hd,{data:0}),lL=cr(oK),sK=lL,lK={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uK={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"},cK={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},fK=Ue({},_g,{key:function(a){if(a.key){var o=lK[a.key]||a.key;if(o!=="Unidentified")return o}return a.type==="keypress"?(a=e1(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?uK[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:AT,charCode:function(a){return a.type==="keypress"?e1(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?e1(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),dK=cr(fK),hK=Ue({},gS,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),uL=cr(hK),pK=Ue({},_g,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:AT}),mK=cr(pK),gK=Ue({},hd,{propertyName:0,elapsedTime:0,pseudoElement:0}),vK=cr(gK),yK=Ue({},gS,{deltaX:function(a){return"deltaX"in a?a.deltaX:"wheelDeltaX"in a?-a.wheelDeltaX:0},deltaY:function(a){return"deltaY"in a?a.deltaY:"wheelDeltaY"in a?-a.wheelDeltaY:"wheelDelta"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),bK=cr(yK),SK=Ue({},hd,{newState:0,oldState:0}),xK=cr(SK),AK=[9,13,27,32],cL=229,VC=nl&&"CompositionEvent"in window,Ng=null;nl&&"documentMode"in document&&(Ng=document.documentMode);var wK=nl&&"TextEvent"in window&&!Ng,fL=nl&&(!VC||Ng&&8<Ng&&11>=Ng),dL=32,hL=String.fromCharCode(dL),pL=!1,bp=!1,EK={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},zg=null,kg=null,mL=!1;nl&&(mL=GI("input")&&(!document.documentMode||9<document.documentMode));var Za=typeof Object.is=="function"?Object.is:WI,TK=nl&&"documentMode"in document&&11>=document.documentMode,Sp=null,GC=null,Lg=null,IC=!1,xp={animationend:Jf("Animation","AnimationEnd"),animationiteration:Jf("Animation","AnimationIteration"),animationstart:Jf("Animation","AnimationStart"),transitionrun:Jf("Transition","TransitionRun"),transitionstart:Jf("Transition","TransitionStart"),transitioncancel:Jf("Transition","TransitionCancel"),transitionend:Jf("Transition","TransitionEnd")},XC={},gL={};nl&&(gL=document.createElement("div").style,"AnimationEvent"in window||(delete xp.animationend.animation,delete xp.animationiteration.animation,delete xp.animationstart.animation),"TransitionEvent"in window||delete xp.transitionend.transition);var vL=$f("animationend"),yL=$f("animationiteration"),bL=$f("animationstart"),CK=$f("transitionrun"),DK=$f("transitionstart"),RK=$f("transitioncancel"),SL=$f("transitionend"),xL=new Map,YC="abort auxClick beforeToggle 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(" ");YC.push("scrollEnd");var AL=0;if(typeof performance=="object"&&typeof performance.now=="function")var OK=performance,wL=function(){return OK.now()};else{var MK=Date;wL=function(){return MK.now()}}var KC=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var o=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(o))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)},_K="This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.",vS=0,ZC=1,WC=2,QC=3,yS="\u2013\xA0",bS="+\xA0",EL="\u2007\xA0",_n=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",So="Components \u269B",Be="Scheduler \u269B",He="Blocking",fc=!1,Gl={color:"primary",properties:null,tooltipText:"",track:So},dc={start:-0,end:-0,detail:{devtools:Gl}},FK=["Changed Props",""],TL="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",NK=["Changed Props",TL],Pg=1,Il=2,xo=[],Ap=0,JC=0,hc={};Object.freeze(hc);var Ao=null,wp=null,se=0,zK=1,Re=2,Na=8,ds=16,kK=32,CL=!1;try{var DL=Object.preventExtensions({})}catch{CL=!0}var $C=new WeakMap,Ep=[],Tp=0,SS=null,Ug=0,wo=[],Eo=0,pd=null,Xl=1,Yl="",ma=null,Fn=null,je=!1,il=!1,Yr=null,pc=null,To=!1,tD=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),eD=W(null),nD=W(null),RL={},xS=null,Cp=null,Dp=!1,LK=typeof AbortController<"u"?AbortController:function(){var a=[],o=this.signal={aborted:!1,addEventListener:function(u,f){a.push(f)}};this.abort=function(){o.aborted=!0,a.forEach(function(u){return u()})}},PK=Ai.unstable_scheduleCallback,UK=Ai.unstable_NormalPriority,wi={$$typeof:Qs,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Ei=Ai.unstable_now,AS=console.createTask?console.createTask:function(){return null},Bg=1,wS=2,$i=-0,mc=-0,Kl=-0,Zl=null,Wa=-1.1,md=-0,Xn=-0,$t=-1.1,ne=-1.1,Bn=null,ii=!1,gc=-0,al=-1.1,Hg=null,vc=0,iD=null,aD=null,gd=-1.1,jg=null,Rp=-1.1,ES=-1.1,rl=-0,Wl=-1.1,Co=-1.1,rD=0,qg=null,OL=null,ML=null,yc=-1.1,vd=null,bc=-1.1,TS=-1.1,_L=-0,FL=-0,CS=0,Ql=null,NL=0,Vg=-1.1,DS=!1,RS=!1,Gg=null,oD=0,yd=0,Op=null,zL=ut.S;ut.S=function(a,o){if(O6=Ji(),typeof o=="object"&&o!==null&&typeof o.then=="function"){if(0>Wl&&0>Co){Wl=Ei();var u=Sg(),f=bg();(u!==bc||f!==vd)&&(bc=-1.1),yc=u,vd=f}iX(a,o)}zL!==null&&zL(a,o)};var bd=W(null),hs={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Ig=[],Xg=[],Yg=[],Kg=[],Zg=[],Wg=[],Sd=new Set;hs.recordUnsafeLifecycleWarnings=function(a,o){Sd.has(a.type)||(typeof o.componentWillMount=="function"&&o.componentWillMount.__suppressDeprecationWarning!==!0&&Ig.push(a),a.mode&Na&&typeof o.UNSAFE_componentWillMount=="function"&&Xg.push(a),typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Yg.push(a),a.mode&Na&&typeof o.UNSAFE_componentWillReceiveProps=="function"&&Kg.push(a),typeof o.componentWillUpdate=="function"&&o.componentWillUpdate.__suppressDeprecationWarning!==!0&&Zg.push(a),a.mode&Na&&typeof o.UNSAFE_componentWillUpdate=="function"&&Wg.push(a))},hs.flushPendingUnsafeLifecycleWarnings=function(){var a=new Set;0<Ig.length&&(Ig.forEach(function(E){a.add(B(E)||"Component"),Sd.add(E.type)}),Ig=[]);var o=new Set;0<Xg.length&&(Xg.forEach(function(E){o.add(B(E)||"Component"),Sd.add(E.type)}),Xg=[]);var u=new Set;0<Yg.length&&(Yg.forEach(function(E){u.add(B(E)||"Component"),Sd.add(E.type)}),Yg=[]);var f=new Set;0<Kg.length&&(Kg.forEach(function(E){f.add(B(E)||"Component"),Sd.add(E.type)}),Kg=[]);var m=new Set;0<Zg.length&&(Zg.forEach(function(E){m.add(B(E)||"Component"),Sd.add(E.type)}),Zg=[]);var v=new Set;if(0<Wg.length&&(Wg.forEach(function(E){v.add(B(E)||"Component"),Sd.add(E.type)}),Wg=[]),0<o.size){var x=y(o);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
193
|
+
|
|
194
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
195
|
+
|
|
196
|
+
Please update the following components: %s`,x)}0<f.size&&(x=y(f),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
197
|
+
|
|
198
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
199
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
200
|
+
|
|
201
|
+
Please update the following components: %s`,x)),0<v.size&&(x=y(v),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
202
|
+
|
|
203
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
204
|
+
|
|
205
|
+
Please update the following components: %s`,x)),0<a.size&&(x=y(a),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
206
|
+
|
|
207
|
+
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
208
|
+
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
209
|
+
|
|
210
|
+
Please update the following components: %s`,x)),0<u.size&&(x=y(u),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
211
|
+
|
|
212
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
213
|
+
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
214
|
+
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
215
|
+
|
|
216
|
+
Please update the following components: %s`,x)),0<m.size&&(x=y(m),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
217
|
+
|
|
218
|
+
* Move data fetching code or side effects to componentDidUpdate.
|
|
219
|
+
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
220
|
+
|
|
221
|
+
Please update the following components: %s`,x))};var OS=new Map,kL=new Set;hs.recordLegacyContextWarning=function(a,o){for(var u=null,f=a;f!==null;)f.mode&Na&&(u=f),f=f.return;u===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!kL.has(a.type)&&(f=OS.get(u),a.type.contextTypes!=null||a.type.childContextTypes!=null||o!==null&&typeof o.getChildContext=="function")&&(f===void 0&&(f=[],OS.set(u,f)),f.push(a))},hs.flushLegacyContextWarning=function(){OS.forEach(function(a){if(a.length!==0){var o=a[0],u=new Set;a.forEach(function(m){u.add(B(m)||"Component"),kL.add(m.type)});var f=y(u);Et(o,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
222
|
+
|
|
223
|
+
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
224
|
+
|
|
225
|
+
Please update the following components: %s
|
|
226
|
+
|
|
227
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,f)})}})},hs.discardPendingWarnings=function(){Ig=[],Xg=[],Yg=[],Kg=[],Zg=[],Wg=[],OS=new Map};var LL={react_stack_bottom_frame:function(a,o,u){var f=Js;Js=!0;try{return a(o,u)}finally{Js=f}}},sD=LL.react_stack_bottom_frame.bind(LL),PL={react_stack_bottom_frame:function(a){var o=Js;Js=!0;try{return a.render()}finally{Js=o}}},UL=PL.react_stack_bottom_frame.bind(PL),BL={react_stack_bottom_frame:function(a,o){try{o.componentDidMount()}catch(u){on(a,a.return,u)}}},lD=BL.react_stack_bottom_frame.bind(BL),HL={react_stack_bottom_frame:function(a,o,u,f,m){try{o.componentDidUpdate(u,f,m)}catch(v){on(a,a.return,v)}}},jL=HL.react_stack_bottom_frame.bind(HL),qL={react_stack_bottom_frame:function(a,o){var u=o.stack;a.componentDidCatch(o.value,{componentStack:u!==null?u:""})}},BK=qL.react_stack_bottom_frame.bind(qL),VL={react_stack_bottom_frame:function(a,o,u){try{u.componentWillUnmount()}catch(f){on(a,o,f)}}},GL=VL.react_stack_bottom_frame.bind(VL),IL={react_stack_bottom_frame:function(a){var o=a.create;return a=a.inst,o=o(),a.destroy=o}},HK=IL.react_stack_bottom_frame.bind(IL),XL={react_stack_bottom_frame:function(a,o,u){try{u()}catch(f){on(a,o,f)}}},jK=XL.react_stack_bottom_frame.bind(XL),YL={react_stack_bottom_frame:function(a){var o=a._init;return o(a._payload)}},qK=YL.react_stack_bottom_frame.bind(YL),Mp=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),uD=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),MS=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),_S={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},xd=null,Qg=!1,_p=null,Jg=0,Oe=null,cD,KL=cD=!1,ZL={},WL={},QL={};p=function(a,o,u){if(u!==null&&typeof u=="object"&&u._store&&(!u._store.validated&&u.key==null||u._store.validated===2)){if(typeof u._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");u._store.validated=1;var f=B(a),m=f||"null";if(!ZL[m]){ZL[m]=!0,u=u._owner,a=a._debugOwner;var v="";a&&typeof a.tag=="number"&&(m=B(a))&&(v=`
|
|
228
|
+
|
|
229
|
+
Check the render method of \``+m+"`."),v||f&&(v=`
|
|
230
|
+
|
|
231
|
+
Check the top-level render call using <`+f+">.");var x="";u!=null&&a!==u&&(f=null,typeof u.tag=="number"?f=B(u):typeof u.name=="string"&&(f=u.name),f&&(x=" It was passed a child from "+f+".")),Et(o,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',v,x)})}}};var Ad=Vz(!0),JL=Vz(!1),$L=0,t6=1,e6=2,fD=3,Sc=!1,n6=!1,dD=null,hD=!1,Fp=W(null),FS=W(0),Kr=W(null),Do=null,Np=1,$g=2,hi=W(0),NS=0,Ro=1,Qa=2,Zr=4,Ja=8,zp,i6=new Set,a6=new Set,pD=new Set,r6=new Set,Jl=0,fe=null,Sn=null,Ti=null,zS=!1,kp=!1,wd=!1,kS=0,tv=0,$l=null,VK=0,GK=25,rt=null,Oo=null,tu=-1,ev=!1,nv={readContext:Un,use:nc,useCallback:si,useContext:si,useEffect:si,useImperativeHandle:si,useLayoutEffect:si,useInsertionEffect:si,useMemo:si,useReducer:si,useRef:si,useState:si,useDebugValue:si,useDeferredValue:si,useTransition:si,useSyncExternalStore:si,useId:si,useHostTransitionStatus:si,useFormState:si,useActionState:si,useOptimistic:si,useMemoCache:si,useCacheRefresh:si};nv.useEffectEvent=si;var mD=null,o6=null,gD=null,s6=null,ol=null,ps=null,LS=null;mD={readContext:function(a){return Un(a)},use:nc,useCallback:function(a,o){return rt="useCallback",Pe(),Qh(o),d2(a,o)},useContext:function(a){return rt="useContext",Pe(),Un(a)},useEffect:function(a,o){return rt="useEffect",Pe(),Qh(o),O1(a,o)},useImperativeHandle:function(a,o,u){return rt="useImperativeHandle",Pe(),Qh(u),f2(a,o,u)},useInsertionEffect:function(a,o){rt="useInsertionEffect",Pe(),Qh(o),sd(4,Qa,a,o)},useLayoutEffect:function(a,o){return rt="useLayoutEffect",Pe(),Qh(o),c2(a,o)},useMemo:function(a,o){rt="useMemo",Pe(),Qh(o);var u=ut.H;ut.H=ol;try{return h2(a,o)}finally{ut.H=u}},useReducer:function(a,o,u){rt="useReducer",Pe();var f=ut.H;ut.H=ol;try{return e2(a,o,u)}finally{ut.H=f}},useRef:function(a){return rt="useRef",Pe(),l2(a)},useState:function(a){rt="useState",Pe();var o=ut.H;ut.H=ol;try{return r2(a)}finally{ut.H=o}},useDebugValue:function(){rt="useDebugValue",Pe()},useDeferredValue:function(a,o){return rt="useDeferredValue",Pe(),p2(a,o)},useTransition:function(){return rt="useTransition",Pe(),v2()},useSyncExternalStore:function(a,o,u){return rt="useSyncExternalStore",Pe(),i2(a,o,u)},useId:function(){return rt="useId",Pe(),y2()},useFormState:function(a,o){return rt="useFormState",Pe(),E1(),$h(a,o)},useActionState:function(a,o){return rt="useActionState",Pe(),$h(a,o)},useOptimistic:function(a){return rt="useOptimistic",Pe(),o2(a)},useHostTransitionStatus:ld,useMemoCache:od,useCacheRefresh:function(){return rt="useCacheRefresh",Pe(),b2()},useEffectEvent:function(a){return rt="useEffectEvent",Pe(),u2(a)}},o6={readContext:function(a){return Un(a)},use:nc,useCallback:function(a,o){return rt="useCallback",xt(),d2(a,o)},useContext:function(a){return rt="useContext",xt(),Un(a)},useEffect:function(a,o){return rt="useEffect",xt(),O1(a,o)},useImperativeHandle:function(a,o,u){return rt="useImperativeHandle",xt(),f2(a,o,u)},useInsertionEffect:function(a,o){rt="useInsertionEffect",xt(),sd(4,Qa,a,o)},useLayoutEffect:function(a,o){return rt="useLayoutEffect",xt(),c2(a,o)},useMemo:function(a,o){rt="useMemo",xt();var u=ut.H;ut.H=ol;try{return h2(a,o)}finally{ut.H=u}},useReducer:function(a,o,u){rt="useReducer",xt();var f=ut.H;ut.H=ol;try{return e2(a,o,u)}finally{ut.H=f}},useRef:function(a){return rt="useRef",xt(),l2(a)},useState:function(a){rt="useState",xt();var o=ut.H;ut.H=ol;try{return r2(a)}finally{ut.H=o}},useDebugValue:function(){rt="useDebugValue",xt()},useDeferredValue:function(a,o){return rt="useDeferredValue",xt(),p2(a,o)},useTransition:function(){return rt="useTransition",xt(),v2()},useSyncExternalStore:function(a,o,u){return rt="useSyncExternalStore",xt(),i2(a,o,u)},useId:function(){return rt="useId",xt(),y2()},useActionState:function(a,o){return rt="useActionState",xt(),$h(a,o)},useFormState:function(a,o){return rt="useFormState",xt(),E1(),$h(a,o)},useOptimistic:function(a){return rt="useOptimistic",xt(),o2(a)},useHostTransitionStatus:ld,useMemoCache:od,useCacheRefresh:function(){return rt="useCacheRefresh",xt(),b2()},useEffectEvent:function(a){return rt="useEffectEvent",xt(),u2(a)}},gD={readContext:function(a){return Un(a)},use:nc,useCallback:function(a,o){return rt="useCallback",xt(),F1(a,o)},useContext:function(a){return rt="useContext",xt(),Un(a)},useEffect:function(a,o){rt="useEffect",xt(),fr(2048,Ja,a,o)},useImperativeHandle:function(a,o,u){return rt="useImperativeHandle",xt(),_1(a,o,u)},useInsertionEffect:function(a,o){return rt="useInsertionEffect",xt(),fr(4,Qa,a,o)},useLayoutEffect:function(a,o){return rt="useLayoutEffect",xt(),fr(4,Zr,a,o)},useMemo:function(a,o){rt="useMemo",xt();var u=ut.H;ut.H=ps;try{return N1(a,o)}finally{ut.H=u}},useReducer:function(a,o,u){rt="useReducer",xt();var f=ut.H;ut.H=ps;try{return Jh(a,o,u)}finally{ut.H=f}},useRef:function(){return rt="useRef",xt(),dn().memoizedState},useState:function(){rt="useState",xt();var a=ut.H;ut.H=ps;try{return Jh(ls)}finally{ut.H=a}},useDebugValue:function(){rt="useDebugValue",xt()},useDeferredValue:function(a,o){return rt="useDeferredValue",xt(),fk(a,o)},useTransition:function(){return rt="useTransition",xt(),vk()},useSyncExternalStore:function(a,o,u){return rt="useSyncExternalStore",xt(),C1(a,o,u)},useId:function(){return rt="useId",xt(),dn().memoizedState},useFormState:function(a){return rt="useFormState",xt(),E1(),D1(a)},useActionState:function(a){return rt="useActionState",xt(),D1(a)},useOptimistic:function(a,o){return rt="useOptimistic",xt(),ek(a,o)},useHostTransitionStatus:ld,useMemoCache:od,useCacheRefresh:function(){return rt="useCacheRefresh",xt(),dn().memoizedState},useEffectEvent:function(a){return rt="useEffectEvent",xt(),M1(a)}},s6={readContext:function(a){return Un(a)},use:nc,useCallback:function(a,o){return rt="useCallback",xt(),F1(a,o)},useContext:function(a){return rt="useContext",xt(),Un(a)},useEffect:function(a,o){rt="useEffect",xt(),fr(2048,Ja,a,o)},useImperativeHandle:function(a,o,u){return rt="useImperativeHandle",xt(),_1(a,o,u)},useInsertionEffect:function(a,o){return rt="useInsertionEffect",xt(),fr(4,Qa,a,o)},useLayoutEffect:function(a,o){return rt="useLayoutEffect",xt(),fr(4,Zr,a,o)},useMemo:function(a,o){rt="useMemo",xt();var u=ut.H;ut.H=LS;try{return N1(a,o)}finally{ut.H=u}},useReducer:function(a,o,u){rt="useReducer",xt();var f=ut.H;ut.H=LS;try{return sg(a,o,u)}finally{ut.H=f}},useRef:function(){return rt="useRef",xt(),dn().memoizedState},useState:function(){rt="useState",xt();var a=ut.H;ut.H=LS;try{return sg(ls)}finally{ut.H=a}},useDebugValue:function(){rt="useDebugValue",xt()},useDeferredValue:function(a,o){return rt="useDeferredValue",xt(),dk(a,o)},useTransition:function(){return rt="useTransition",xt(),yk()},useSyncExternalStore:function(a,o,u){return rt="useSyncExternalStore",xt(),C1(a,o,u)},useId:function(){return rt="useId",xt(),dn().memoizedState},useFormState:function(a){return rt="useFormState",xt(),E1(),R1(a)},useActionState:function(a){return rt="useActionState",xt(),R1(a)},useOptimistic:function(a,o){return rt="useOptimistic",xt(),ik(a,o)},useHostTransitionStatus:ld,useMemoCache:od,useCacheRefresh:function(){return rt="useCacheRefresh",xt(),dn().memoizedState},useEffectEvent:function(a){return rt="useEffectEvent",xt(),M1(a)}},ol={readContext:function(a){return d(),Un(a)},use:function(a){return c(),nc(a)},useCallback:function(a,o){return rt="useCallback",c(),Pe(),d2(a,o)},useContext:function(a){return rt="useContext",c(),Pe(),Un(a)},useEffect:function(a,o){return rt="useEffect",c(),Pe(),O1(a,o)},useImperativeHandle:function(a,o,u){return rt="useImperativeHandle",c(),Pe(),f2(a,o,u)},useInsertionEffect:function(a,o){rt="useInsertionEffect",c(),Pe(),sd(4,Qa,a,o)},useLayoutEffect:function(a,o){return rt="useLayoutEffect",c(),Pe(),c2(a,o)},useMemo:function(a,o){rt="useMemo",c(),Pe();var u=ut.H;ut.H=ol;try{return h2(a,o)}finally{ut.H=u}},useReducer:function(a,o,u){rt="useReducer",c(),Pe();var f=ut.H;ut.H=ol;try{return e2(a,o,u)}finally{ut.H=f}},useRef:function(a){return rt="useRef",c(),Pe(),l2(a)},useState:function(a){rt="useState",c(),Pe();var o=ut.H;ut.H=ol;try{return r2(a)}finally{ut.H=o}},useDebugValue:function(){rt="useDebugValue",c(),Pe()},useDeferredValue:function(a,o){return rt="useDeferredValue",c(),Pe(),p2(a,o)},useTransition:function(){return rt="useTransition",c(),Pe(),v2()},useSyncExternalStore:function(a,o,u){return rt="useSyncExternalStore",c(),Pe(),i2(a,o,u)},useId:function(){return rt="useId",c(),Pe(),y2()},useFormState:function(a,o){return rt="useFormState",c(),Pe(),$h(a,o)},useActionState:function(a,o){return rt="useActionState",c(),Pe(),$h(a,o)},useOptimistic:function(a){return rt="useOptimistic",c(),Pe(),o2(a)},useMemoCache:function(a){return c(),od(a)},useHostTransitionStatus:ld,useCacheRefresh:function(){return rt="useCacheRefresh",Pe(),b2()},useEffectEvent:function(a){return rt="useEffectEvent",c(),Pe(),u2(a)}},ps={readContext:function(a){return d(),Un(a)},use:function(a){return c(),nc(a)},useCallback:function(a,o){return rt="useCallback",c(),xt(),F1(a,o)},useContext:function(a){return rt="useContext",c(),xt(),Un(a)},useEffect:function(a,o){rt="useEffect",c(),xt(),fr(2048,Ja,a,o)},useImperativeHandle:function(a,o,u){return rt="useImperativeHandle",c(),xt(),_1(a,o,u)},useInsertionEffect:function(a,o){return rt="useInsertionEffect",c(),xt(),fr(4,Qa,a,o)},useLayoutEffect:function(a,o){return rt="useLayoutEffect",c(),xt(),fr(4,Zr,a,o)},useMemo:function(a,o){rt="useMemo",c(),xt();var u=ut.H;ut.H=ps;try{return N1(a,o)}finally{ut.H=u}},useReducer:function(a,o,u){rt="useReducer",c(),xt();var f=ut.H;ut.H=ps;try{return Jh(a,o,u)}finally{ut.H=f}},useRef:function(){return rt="useRef",c(),xt(),dn().memoizedState},useState:function(){rt="useState",c(),xt();var a=ut.H;ut.H=ps;try{return Jh(ls)}finally{ut.H=a}},useDebugValue:function(){rt="useDebugValue",c(),xt()},useDeferredValue:function(a,o){return rt="useDeferredValue",c(),xt(),fk(a,o)},useTransition:function(){return rt="useTransition",c(),xt(),vk()},useSyncExternalStore:function(a,o,u){return rt="useSyncExternalStore",c(),xt(),C1(a,o,u)},useId:function(){return rt="useId",c(),xt(),dn().memoizedState},useFormState:function(a){return rt="useFormState",c(),xt(),D1(a)},useActionState:function(a){return rt="useActionState",c(),xt(),D1(a)},useOptimistic:function(a,o){return rt="useOptimistic",c(),xt(),ek(a,o)},useMemoCache:function(a){return c(),od(a)},useHostTransitionStatus:ld,useCacheRefresh:function(){return rt="useCacheRefresh",xt(),dn().memoizedState},useEffectEvent:function(a){return rt="useEffectEvent",c(),xt(),M1(a)}},LS={readContext:function(a){return d(),Un(a)},use:function(a){return c(),nc(a)},useCallback:function(a,o){return rt="useCallback",c(),xt(),F1(a,o)},useContext:function(a){return rt="useContext",c(),xt(),Un(a)},useEffect:function(a,o){rt="useEffect",c(),xt(),fr(2048,Ja,a,o)},useImperativeHandle:function(a,o,u){return rt="useImperativeHandle",c(),xt(),_1(a,o,u)},useInsertionEffect:function(a,o){return rt="useInsertionEffect",c(),xt(),fr(4,Qa,a,o)},useLayoutEffect:function(a,o){return rt="useLayoutEffect",c(),xt(),fr(4,Zr,a,o)},useMemo:function(a,o){rt="useMemo",c(),xt();var u=ut.H;ut.H=ps;try{return N1(a,o)}finally{ut.H=u}},useReducer:function(a,o,u){rt="useReducer",c(),xt();var f=ut.H;ut.H=ps;try{return sg(a,o,u)}finally{ut.H=f}},useRef:function(){return rt="useRef",c(),xt(),dn().memoizedState},useState:function(){rt="useState",c(),xt();var a=ut.H;ut.H=ps;try{return sg(ls)}finally{ut.H=a}},useDebugValue:function(){rt="useDebugValue",c(),xt()},useDeferredValue:function(a,o){return rt="useDeferredValue",c(),xt(),dk(a,o)},useTransition:function(){return rt="useTransition",c(),xt(),yk()},useSyncExternalStore:function(a,o,u){return rt="useSyncExternalStore",c(),xt(),C1(a,o,u)},useId:function(){return rt="useId",c(),xt(),dn().memoizedState},useFormState:function(a){return rt="useFormState",c(),xt(),R1(a)},useActionState:function(a){return rt="useActionState",c(),xt(),R1(a)},useOptimistic:function(a,o){return rt="useOptimistic",c(),xt(),ik(a,o)},useMemoCache:function(a){return c(),od(a)},useHostTransitionStatus:ld,useCacheRefresh:function(){return rt="useCacheRefresh",xt(),dn().memoizedState},useEffectEvent:function(a){return rt="useEffectEvent",c(),xt(),M1(a)}};var l6={},u6=new Set,c6=new Set,f6=new Set,d6=new Set,h6=new Set,p6=new Set,m6=new Set,g6=new Set,v6=new Set,y6=new Set;Object.freeze(l6);var vD={enqueueSetState:function(a,o,u){a=a._reactInternals;var f=qr(a),m=Ju(f);m.payload=o,u!=null&&(x2(u),m.callback=u),o=$u(a,m,f),o!==null&&(Ps(f,"this.setState()",a),ni(o,a,f),ig(o,a,f))},enqueueReplaceState:function(a,o,u){a=a._reactInternals;var f=qr(a),m=Ju(f);m.tag=t6,m.payload=o,u!=null&&(x2(u),m.callback=u),o=$u(a,m,f),o!==null&&(Ps(f,"this.replaceState()",a),ni(o,a,f),ig(o,a,f))},enqueueForceUpdate:function(a,o){a=a._reactInternals;var u=qr(a),f=Ju(u);f.tag=e6,o!=null&&(x2(o),f.callback=o),o=$u(a,f,u),o!==null&&(Ps(u,"this.forceUpdate()",a),ni(o,a,u),ig(o,a,u))}},Lp=null,yD=null,bD=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Ci=!1,b6={},S6={},x6={},A6={},Pp=!1,w6={},PS={},SD={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},E6=!1,T6=null;T6=new Set;var eu=!1,Di=!1,xD=!1,C6=typeof WeakSet=="function"?WeakSet:Set,ta=null,Up=null,Bp=null,Ri=null,pr=!1,ms=null,qi=!1,iv=8192,IK={getCacheForType:function(a){var o=Un(wi),u=o.data.get(a);return u===void 0&&(u=a(),o.data.set(a,u)),u},cacheSignal:function(){return Un(wi).controller.signal},getOwner:function(){return Ir}};if(typeof Symbol=="function"&&Symbol.for){var av=Symbol.for;av("selector.component"),av("selector.has_pseudo_class"),av("selector.role"),av("selector.test_id"),av("selector.text")}var XK=[],YK=typeof WeakMap=="function"?WeakMap:Map,ea=0,Vi=2,Wr=4,nu=0,rv=1,Ed=2,US=3,xc=4,BS=6,D6=5,Qe=ea,xn=null,Ne=null,Me=0,mr=0,HS=1,Td=2,ov=3,R6=4,AD=5,sv=6,jS=7,wD=8,Cd=9,hn=mr,Qr=null,Ac=!1,Hp=!1,ED=!1,sl=0,Yn=nu,wc=0,Ec=0,TD=0,gr=0,Dd=0,lv=null,$a=null,qS=!1,VS=0,O6=0,M6=300,GS=1/0,_6=500,uv=null,li=null,Tc=null,IS=0,CD=1,DD=2,F6=3,Cc=0,N6=1,z6=2,k6=3,L6=4,XS=5,Oi=0,Dc=null,jp=null,gs=0,RD=0,OD=-0,MD=null,P6=null,U6=null,vs=IS,B6=null,KK=50,cv=0,_D=null,FD=!1,YS=!1,ZK=50,Rd=0,fv=null,qp=!1,KS=null,H6=!1,j6=new Set,WK={},ZS=null,Vp=null,ND=!1,zD=!1,WS=!1,kD=!1,Rc=0,LD={};(function(){for(var a=0;a<YC.length;a++){var o=YC[a],u=o.toLowerCase();o=o[0].toUpperCase()+o.slice(1),ss(u,"on"+o)}ss(vL,"onAnimationEnd"),ss(yL,"onAnimationIteration"),ss(bL,"onAnimationStart"),ss("dblclick","onDoubleClick"),ss("focusin","onFocus"),ss("focusout","onBlur"),ss(CK,"onTransitionRun"),ss(DK,"onTransitionStart"),ss(RK,"onTransitionCancel"),ss(SL,"onTransitionEnd")})(),vt("onMouseEnter",["mouseout","mouseover"]),vt("onMouseLeave",["mouseout","mouseover"]),vt("onPointerEnter",["pointerout","pointerover"]),vt("onPointerLeave",["pointerout","pointerover"]),pt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),pt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),pt("onBeforeInput",["compositionend","keypress","textInput","paste"]),pt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),pt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),pt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var dv="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(" "),PD=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(dv)),QS="_reactListening"+Math.random().toString(36).slice(2),q6=!1,V6=!1,JS=!1,G6=!1,$S=!1,tx=!1,I6=!1,ex={},QK=/\r\n?/g,JK=/\u0000|\uFFFD/g,Od="http://www.w3.org/1999/xlink",UD="http://www.w3.org/XML/1998/namespace",$K="javascript:throw new Error('React form unexpectedly submitted.')",tZ="suppressHydrationWarning",Md="&",nx="/&",hv="$",pv="/$",Oc="$?",_d="$~",Gp="$!",eZ="html",nZ="body",iZ="head",BD="F!",X6="F",Y6="loading",aZ="style",iu=0,Ip=1,ix=2,HD=null,jD=null,K6={dialog:!0,webview:!0},qD=null,mv=void 0,Z6=typeof setTimeout=="function"?setTimeout:void 0,rZ=typeof clearTimeout=="function"?clearTimeout:void 0,Fd=-1,W6=typeof Promise=="function"?Promise:void 0,oZ=typeof queueMicrotask=="function"?queueMicrotask:typeof W6<"u"?function(a){return W6.resolve(null).then(a).catch(VX)}:Z6,VD=null,Nd=0,gv=1,Q6=2,J6=3,Mo=4,_o=new Map,$6=new Set,au=sn.d;sn.d={f:function(){var a=au.f(),o=ap();return a||o},r:function(a){var o=V(a);o!==null&&o.tag===5&&o.type==="form"?gk(o):au.r(a)},D:function(a){au.D(a),u4("dns-prefetch",a,null)},C:function(a,o){au.C(a,o),u4("preconnect",a,o)},L:function(a,o,u){au.L(a,o,u);var f=Xp;if(f&&a&&o){var m='link[rel="preload"][as="'+yo(o)+'"]';o==="image"&&u&&u.imageSrcSet?(m+='[imagesrcset="'+yo(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(m+='[imagesizes="'+yo(u.imageSizes)+'"]')):m+='[href="'+yo(a)+'"]';var v=m;switch(o){case"style":v=sp(a);break;case"script":v=lp(a)}_o.has(v)||(a=Ue({rel:"preload",href:o==="image"&&u&&u.imageSrcSet?void 0:a,as:o},u),_o.set(v,a),f.querySelector(m)!==null||o==="style"&&f.querySelector(Ag(v))||o==="script"&&f.querySelector(wg(v))||(o=f.createElement("link"),ha(o,"link",a),dt(o),f.head.appendChild(o)))}},m:function(a,o){au.m(a,o);var u=Xp;if(u&&a){var f=o&&typeof o.as=="string"?o.as:"script",m='link[rel="modulepreload"][as="'+yo(f)+'"][href="'+yo(a)+'"]',v=m;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=lp(a)}if(!_o.has(v)&&(a=Ue({rel:"modulepreload",href:a},o),_o.set(v,a),u.querySelector(m)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(wg(v)))return}f=u.createElement("link"),ha(f,"link",a),dt(f),u.head.appendChild(f)}}},X:function(a,o){au.X(a,o);var u=Xp;if(u&&a){var f=lt(u).hoistableScripts,m=lp(a),v=f.get(m);v||(v=u.querySelector(wg(m)),v||(a=Ue({src:a,async:!0},o),(o=_o.get(m))&&fC(a,o),v=u.createElement("script"),dt(v),ha(v,"link",a),u.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},f.set(m,v))}},S:function(a,o,u){au.S(a,o,u);var f=Xp;if(f&&a){var m=lt(f).hoistableStyles,v=sp(a);o=o||"default";var x=m.get(v);if(!x){var E={loading:Nd,preload:null};if(x=f.querySelector(Ag(v)))E.loading=gv|Mo;else{a=Ue({rel:"stylesheet",href:a,"data-precedence":o},u),(u=_o.get(v))&&cC(a,u);var R=x=f.createElement("link");dt(R),ha(R,"link",a),R._p=new Promise(function(_,X){R.onload=_,R.onerror=X}),R.addEventListener("load",function(){E.loading|=gv}),R.addEventListener("error",function(){E.loading|=Q6}),E.loading|=Mo,J1(x,o,f)}x={type:"stylesheet",instance:x,count:1,state:E},m.set(v,x)}}},M:function(a,o){au.M(a,o);var u=Xp;if(u&&a){var f=lt(u).hoistableScripts,m=lp(a),v=f.get(m);v||(v=u.querySelector(wg(m)),v||(a=Ue({src:a,async:!0,type:"module"},o),(o=_o.get(m))&&fC(a,o),v=u.createElement("script"),dt(v),ha(v,"link",a),u.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},f.set(m,v))}}};var Xp=typeof document>"u"?null:document,ax=null,sZ=6e4,lZ=800,uZ=500,GD=0,ID=null,rx=null,zd=EY,vv={$$typeof:Qs,Provider:null,Consumer:null,_currentValue:zd,_currentValue2:zd,_threadCount:0},tP="%c%s%c",eP="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",nP="",ox=" ",cZ=Function.prototype.bind,iP=!1,aP=null,rP=null,oP=null,sP=null,lP=null,uP=null,cP=null,fP=null,dP=null,hP=null;aP=function(a,o,u,f){o=e(a,o),o!==null&&(u=t(o.memoizedState,u,0,f),o.memoizedState=u,o.baseState=u,a.memoizedProps=Ue({},a.memoizedProps),u=_a(a,2),u!==null&&ni(u,a,2))},rP=function(a,o,u){o=e(a,o),o!==null&&(u=r(o.memoizedState,u,0),o.memoizedState=u,o.baseState=u,a.memoizedProps=Ue({},a.memoizedProps),u=_a(a,2),u!==null&&ni(u,a,2))},oP=function(a,o,u,f){o=e(a,o),o!==null&&(u=n(o.memoizedState,u,f),o.memoizedState=u,o.baseState=u,a.memoizedProps=Ue({},a.memoizedProps),u=_a(a,2),u!==null&&ni(u,a,2))},sP=function(a,o,u){a.pendingProps=t(a.memoizedProps,o,0,u),a.alternate&&(a.alternate.pendingProps=a.pendingProps),o=_a(a,2),o!==null&&ni(o,a,2)},lP=function(a,o){a.pendingProps=r(a.memoizedProps,o,0),a.alternate&&(a.alternate.pendingProps=a.pendingProps),o=_a(a,2),o!==null&&ni(o,a,2)},uP=function(a,o,u){a.pendingProps=n(a.memoizedProps,o,u),a.alternate&&(a.alternate.pendingProps=a.pendingProps),o=_a(a,2),o!==null&&ni(o,a,2)},cP=function(a){var o=_a(a,2);o!==null&&ni(o,a,2)},fP=function(a){var o=Ga(),u=_a(a,o);u!==null&&ni(u,a,o)},dP=function(a){l=a},hP=function(a){s=a};var sx=!0,lx=null,XD=!1,Mc=null,_c=null,Fc=null,yv=new Map,bv=new Map,Nc=[],fZ="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".split(" "),ux=null;if(iS.prototype.render=vC.prototype.render=function(a){var o=this._internalRoot;if(o===null)throw Error("Cannot update an unmounted root.");var u=arguments;typeof u[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):D(u[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof u[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),u=a;var f=o.current,m=qr(f);dC(f,m,u,o,null,null)},iS.prototype.unmount=vC.prototype.unmount=function(){var a=arguments;if(typeof a[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),a=this._internalRoot,a!==null){this._internalRoot=null;var o=a.containerInfo;(Qe&(Vi|Wr))!==ea&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),dC(a.current,2,null,a,null,null),ap(),o[uc]=null}},iS.prototype.unstable_scheduleHydration=function(a){if(a){var o=Q();a={blockedOn:null,target:a,priority:o};for(var u=0;u<Nc.length&&o!==0&&o<Nc[u].priority;u++);Nc.splice(u,0,a),u===0&&w4(a)}},(function(){var a=yC.version;if(a!=="19.2.5")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
232
|
+
- react: `+(a+`
|
|
233
|
+
- react-dom: 19.2.5
|
|
234
|
+
Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),sn.findDOMNode=function(a){var o=a._reactInternals;if(o===void 0)throw typeof a.render=="function"?Error("Unable to find node on an unmounted component."):(a=Object.keys(a).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+a));return a=M(o),a=a!==null?k(a):null,a=a===null?null:a.stateNode,a},!(function(){var a={bundleType:1,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:ut,reconcilerVersion:"19.2.5"};return a.overrideHookState=aP,a.overrideHookStateDeletePath=rP,a.overrideHookStateRenamePath=oP,a.overrideProps=sP,a.overridePropsDeletePath=lP,a.overridePropsRenamePath=uP,a.scheduleUpdate=cP,a.scheduleRetry=fP,a.setErrorHandler=dP,a.setSuspenseHandler=hP,a.scheduleRefresh=S,a.scheduleRoot=b,a.setRefreshHandler=w,a.getCurrentFiber=mY,ue(a)})()&&nl&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var pP=window.location.protocol;/^(https?|file):$/.test(pP)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(pP==="file:"?`
|
|
235
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}VA.createRoot=function(a,o){if(!D(a))throw Error("Target container is not a DOM element.");D4(a);var u=!1,f="",m=Ek,v=Tk,x=Ck;return o!=null&&(o.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof o=="object"&&o!==null&&o.$$typeof===Ws&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
236
|
+
|
|
237
|
+
let root = createRoot(domContainer);
|
|
238
|
+
root.render(<App />);`),o.unstable_strictMode===!0&&(u=!0),o.identifierPrefix!==void 0&&(f=o.identifierPrefix),o.onUncaughtError!==void 0&&(m=o.onUncaughtError),o.onCaughtError!==void 0&&(v=o.onCaughtError),o.onRecoverableError!==void 0&&(x=o.onRecoverableError)),o=g4(a,1,!1,null,null,u,f,null,m,v,x,C4),a[uc]=o.current,J2(a),new vC(o)},VA.hydrateRoot=function(a,o,u){if(!D(a))throw Error("Target container is not a DOM element.");D4(a),o===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var f=!1,m="",v=Ek,x=Tk,E=Ck,R=null;return u!=null&&(u.unstable_strictMode===!0&&(f=!0),u.identifierPrefix!==void 0&&(m=u.identifierPrefix),u.onUncaughtError!==void 0&&(v=u.onUncaughtError),u.onCaughtError!==void 0&&(x=u.onCaughtError),u.onRecoverableError!==void 0&&(E=u.onRecoverableError),u.formState!==void 0&&(R=u.formState)),o=g4(a,1,!0,o,u??null,f,m,R,v,x,E,C4),o.context=v4(null),u=o.current,f=qr(u),f=zl(f),m=Ju(f),m.callback=null,$u(u,m,f),Ps(f,"hydrateRoot()",null),u=f,o.current.lanes=u,vo(o,u),Ks(o),a[uc]=o.current,J2(a),new iS(o)},VA.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var aj=ln((Wat,LM)=>{"use strict";function ij(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ij)}catch(e){console.error(e)}}}process.env.NODE_ENV==="production"?(ij(),LM.exports=ej()):LM.exports=nj()});var kj=ln(Bw=>{"use strict";var f$=Symbol.for("react.transitional.element"),d$=Symbol.for("react.fragment");function zj(e,t,n){var i=null;if(n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),"key"in t){n={};for(var r in t)r!=="key"&&(n[r]=t[r])}else n=t;return t=n.ref,{$$typeof:f$,type:e,key:i,ref:t!==void 0?t:null,props:n}}Bw.Fragment=d$;Bw.jsx=zj;Bw.jsxs=zj});var Lj=ln(Hw=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(nt){if(nt==null)return null;if(typeof nt=="function")return nt.$$typeof===W?null:nt.displayName||nt.name||null;if(typeof nt=="string")return nt;switch(nt){case D:return"Fragment";case T:return"Profiler";case A:return"StrictMode";case k:return"Suspense";case z:return"SuspenseList";case B:return"Activity"}if(typeof nt=="object")switch(typeof nt.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),nt.$$typeof){case w:return"Portal";case O:return nt.displayName||"Context";case C:return(nt._context.displayName||"Context")+".Consumer";case M:var yt=nt.render;return nt=nt.displayName,nt||(nt=yt.displayName||yt.name||"",nt=nt!==""?"ForwardRef("+nt+")":"ForwardRef"),nt;case P:return yt=nt.displayName||null,yt!==null?yt:e(nt.type)||"Memo";case U:yt=nt._payload,nt=nt._init;try{return e(nt(yt))}catch{}}return null}function t(nt){return""+nt}function n(nt){try{t(nt);var yt=!1}catch{yt=!0}if(yt){yt=console;var Tt=yt.error,Rt=typeof Symbol=="function"&&Symbol.toStringTag&&nt[Symbol.toStringTag]||nt.constructor.name||"Object";return Tt.call(yt,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Rt),t(nt)}}function i(nt){if(nt===D)return"<>";if(typeof nt=="object"&&nt!==null&&nt.$$typeof===U)return"<...>";try{var yt=e(nt);return yt?"<"+yt+">":"<...>"}catch{return"<...>"}}function r(){var nt=Y.A;return nt===null?null:nt.getOwner()}function s(){return Error("react-stack-top-frame")}function l(nt){if(ot.call(nt,"key")){var yt=Object.getOwnPropertyDescriptor(nt,"key").get;if(yt&&yt.isReactWarning)return!1}return nt.key!==void 0}function c(nt,yt){function Tt(){tt||(tt=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",yt))}Tt.isReactWarning=!0,Object.defineProperty(nt,"key",{get:Tt,configurable:!0})}function d(){var nt=e(this.type);return K[nt]||(K[nt]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),nt=this.props.ref,nt!==void 0?nt:null}function h(nt,yt,Tt,Rt,De,Mt){var zt=Tt.ref;return nt={$$typeof:S,type:nt,key:yt,props:Tt,_owner:Rt},(zt!==void 0?zt:null)!==null?Object.defineProperty(nt,"ref",{enumerable:!1,get:d}):Object.defineProperty(nt,"ref",{enumerable:!1,value:null}),nt._store={},Object.defineProperty(nt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(nt,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(nt,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:De}),Object.defineProperty(nt,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Mt}),Object.freeze&&(Object.freeze(nt.props),Object.freeze(nt)),nt}function p(nt,yt,Tt,Rt,De,Mt){var zt=yt.children;if(zt!==void 0)if(Rt)if(ft(zt)){for(Rt=0;Rt<zt.length;Rt++)y(zt[Rt]);Object.freeze&&Object.freeze(zt)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else y(zt);if(ot.call(yt,"key")){zt=e(nt);var ce=Object.keys(yt).filter(function(In){return In!=="key"});Rt=0<ce.length?"{key: someKey, "+ce.join(": ..., ")+": ...}":"{key: someKey}",Yt[zt+Rt]||(ce=0<ce.length?"{"+ce.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
239
|
+
let props = %s;
|
|
240
|
+
<%s {...props} />
|
|
241
|
+
React keys must be passed directly to JSX without using spread:
|
|
242
|
+
let props = %s;
|
|
243
|
+
<%s key={someKey} {...props} />`,Rt,zt,ce,zt),Yt[zt+Rt]=!0)}if(zt=null,Tt!==void 0&&(n(Tt),zt=""+Tt),l(yt)&&(n(yt.key),zt=""+yt.key),"key"in yt){Tt={};for(var en in yt)en!=="key"&&(Tt[en]=yt[en])}else Tt=yt;return zt&&c(Tt,typeof nt=="function"?nt.displayName||nt.name||"Unknown":nt),h(nt,zt,Tt,r(),De,Mt)}function y(nt){g(nt)?nt._store&&(nt._store.validated=1):typeof nt=="object"&&nt!==null&&nt.$$typeof===U&&(nt._payload.status==="fulfilled"?g(nt._payload.value)&&nt._payload.value._store&&(nt._payload.value._store.validated=1):nt._store&&(nt._store.validated=1))}function g(nt){return typeof nt=="object"&&nt!==null&&nt.$$typeof===S}var b=vr(),S=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),C=Symbol.for("react.consumer"),O=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),B=Symbol.for("react.activity"),W=Symbol.for("react.client.reference"),Y=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ot=Object.prototype.hasOwnProperty,ft=Array.isArray,$=console.createTask?console.createTask:function(){return null};b={react_stack_bottom_frame:function(nt){return nt()}};var tt,K={},wt=b.react_stack_bottom_frame.bind(b,s)(),Ct=$(i(s)),Yt={};Hw.Fragment=D,Hw.jsx=function(nt,yt,Tt){var Rt=1e4>Y.recentlyCreatedOwnerStacks++;return p(nt,yt,Tt,!1,Rt?Error("react-stack-top-frame"):wt,Rt?$(i(nt)):Ct)},Hw.jsxs=function(nt,yt,Tt){var Rt=1e4>Y.recentlyCreatedOwnerStacks++;return p(nt,yt,Tt,!0,Rt?Error("react-stack-top-frame"):wt,Rt?$(i(nt)):Ct)}})()});var co=ln((Grt,vF)=>{"use strict";process.env.NODE_ENV==="production"?vF.exports=kj():vF.exports=Lj()});function ct(e,t){EF(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}function l9(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n}function It(e,t,n,i){function r(s){return s instanceof n?s:new n(function(l){l(s)})}return new(n||(n=Promise))(function(s,l){function c(p){try{h(i.next(p))}catch(y){l(y)}}function d(p){try{h(i.throw(p))}catch(y){l(y)}}function h(p){p.done?s(p.value):r(p.value).then(c,d)}h((i=i.apply(e,t||[])).next())})}function Xt(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},i,r,s,l;return l={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function c(h){return function(p){return d([h,p])}}function d(h){if(i)throw new TypeError("Generator is already executing.");for(;n;)try{if(i=1,r&&(s=h[0]&2?r.return:h[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,h[1])).done)return s;switch(r=0,s&&(h=[h[0]&2,s.value]),h[0]){case 0:case 1:s=h;break;case 4:return n.label++,{value:h[1],done:!1};case 5:n.label++,r=h[1],h=[0];continue;case 7:h=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(h[0]===6||h[0]===2)){n=0;continue}if(h[0]===3&&(!s||h[1]>s[0]&&h[1]<s[3])){n.label=h[1];break}if(h[0]===6&&n.label<s[1]){n.label=s[1],s=h;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(h);break}s[2]&&n.ops.pop(),n.trys.pop();continue}h=t.call(e,n)}catch(p){h=[6,p],r=0}finally{i=s=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}}function Fe(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var i=Array(e),r=0,t=0;t<n;t++)for(var s=arguments[t],l=0,c=s.length;l<c;l++,r++)i[r]=s[l];return i}var EF,ae,kt=it(()=>{"use strict";EF=function(e,t){return EF=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var r in i)i.hasOwnProperty(r)&&(n[r]=i[r])},EF(e,t)};ae=function(){return ae=Object.assign||function(t){for(var n,i=1,r=arguments.length;i<r;i++){n=arguments[i];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},ae.apply(this,arguments)}});var V0,Gy,Vy,CF,TF,_$,DF,RF=it(()=>{"use strict";V0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Gy=new Uint8Array(256);for(Vy=0;Vy<V0.length;Vy++)Gy[V0.charCodeAt(Vy)]=Vy;CF=function(e){for(var t="",n=e.length,i=0;i<n;i+=3)t+=V0[e[i]>>2],t+=V0[(e[i]&3)<<4|e[i+1]>>4],t+=V0[(e[i+1]&15)<<2|e[i+2]>>6],t+=V0[e[i+2]&63];return n%3===2?t=t.substring(0,t.length-1)+"=":n%3===1&&(t=t.substring(0,t.length-2)+"=="),t},TF=function(e){var t=e.length*.75,n=e.length,i,r=0,s,l,c,d;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var h=new Uint8Array(t);for(i=0;i<n;i+=4)s=Gy[e.charCodeAt(i)],l=Gy[e.charCodeAt(i+1)],c=Gy[e.charCodeAt(i+2)],d=Gy[e.charCodeAt(i+3)],h[r++]=s<<2|l>>4,h[r++]=(l&15)<<4|c>>2,h[r++]=(c&3)<<6|d&63;return h},_$=/^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i,DF=function(e){var t=e.trim(),n=t.substring(0,100),i=n.match(_$);if(!i)return TF(t);var r=i[0],s=t.substring(r.length);return TF(s)}});var re,OF,bl,Sl,Or,MF,Mr,yn,F$,u9,vf,c9,N$,_F,Iy,Gw,Iw,FF,z$,NF,k$,Xy,G0,Yy=it(()=>{"use strict";re=function(e){return e.charCodeAt(0)},OF=function(e){return e.codePointAt(0)},bl=function(e,t){return Mr(e.toString(16),t,"0").toUpperCase()},Sl=function(e){return bl(e,2)},Or=function(e){return String.fromCharCode(e)},MF=function(e){return Or(parseInt(e,16))},Mr=function(e,t,n){for(var i="",r=0,s=t-e.length;r<s;r++)i+=n;return i+e},yn=function(e,t,n){for(var i=e.length,r=0;r<i;r++)t[n++]=e.charCodeAt(r);return i},F$=function(e,t){return t===void 0&&(t=4),e+"-"+Math.floor(Math.random()*Math.pow(10,t))},u9=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},vf=function(e){return e.replace(/\t|\u0085|\u2028|\u2029/g," ").replace(/[\b\v]/g,"")},c9=["\\n","\\f","\\r","\\u000B"],N$=[`
|
|
244
|
+
`,"\f","\r","\v"],_F=function(e){return/^[\n\f\r\u000B]$/.test(e)},Iy=function(e){return e.split(/[\n\f\r\u000B]/)},Gw=function(e){return e.replace(/[\n\f\r\u000B]/g," ")},Iw=function(e,t){var n=e.charCodeAt(t),i,r=t+1,s=1;return n>=55296&&n<=56319&&e.length>r&&(i=e.charCodeAt(r),i>=56320&&i<=57343&&(s=2)),[e.slice(t,t+s),s]},FF=function(e){for(var t=[],n=0,i=e.length;n<i;){var r=Iw(e,n),s=r[0],l=r[1];t.push(s),n+=l}return t},z$=function(e){for(var t=c9.join("|"),n=["$"],i=0,r=e.length;i<r;i++){var s=e[i];if(_F(s))throw new TypeError("`wordBreak` must not include "+t);n.push(s===""?".":u9(s))}var l=n.join("|");return new RegExp("("+t+")|((.*?)("+l+"))","gm")},NF=function(e,t,n,i){for(var r=z$(t),s=vf(e).match(r),l="",c=0,d=[],h=function(){l!==""&&d.push(l),l="",c=0},p=0,y=s.length;p<y;p++){var g=s[p];if(_F(g))h();else{var b=i(g);c+b>n&&h(),l+=g,c+=b}}return h(),d},k$=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,Xy=function(e){var t=e.match(k$);if(t){var n=t[1],i=t[2],r=i===void 0?"01":i,s=t[3],l=s===void 0?"01":s,c=t[4],d=c===void 0?"00":c,h=t[5],p=h===void 0?"00":h,y=t[6],g=y===void 0?"00":y,b=t[7],S=b===void 0?"Z":b,w=t[8],D=w===void 0?"00":w,A=t[9],T=A===void 0?"00":A,C=S==="Z"?"Z":""+S+D+":"+T,O=new Date(n+"-"+r+"-"+l+"T"+d+":"+p+":"+g+C);return O}},G0=function(e,t){for(var n,i=0,r;i<e.length;){var s=e.substring(i).match(t);if(!s)return{match:r,pos:i};r=s,i+=((n=s.index)!==null&&n!==void 0?n:0)+s[0].length}return{match:r,pos:i}}});var ch,Ky,zF,kF,Zy,LF,PF,yf,UF,BF,HF,jF,fh,f9=it(()=>{"use strict";RF();Yy();ch=function(e){return e[e.length-1]},Ky=function(e){if(e instanceof Uint8Array)return e;for(var t=e.length,n=new Uint8Array(t),i=0;i<t;i++)n[i]=e.charCodeAt(i);return n},zF=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e.length,i=[],r=0;r<n;r++){var s=e[r];i[r]=s instanceof Uint8Array?s:Ky(s)}for(var l=0,r=0;r<n;r++)l+=e[r].length;for(var c=new Uint8Array(l),d=0,h=0;h<n;h++)for(var p=i[h],y=0,g=p.length;y<g;y++)c[d++]=p[y];return c},kF=function(e){for(var t=0,n=0,i=e.length;n<i;n++)t+=e[n].length;for(var r=new Uint8Array(t),s=0,n=0,i=e.length;n<i;n++){var l=e[n];r.set(l,s),s+=l.length}return r},Zy=function(e){for(var t="",n=0,i=e.length;n<i;n++)t+=Or(e[n]);return t},LF=function(e,t){return e.id-t.id},PF=function(e,t){for(var n=[],i=0,r=e.length;i<r;i++){var s=e[i],l=e[i-1];(i===0||t(s)!==t(l))&&n.push(s)}return n},yf=function(e){for(var t=e.length,n=0,i=Math.floor(t/2);n<i;n++){var r=n,s=t-n-1,l=e[n];e[r]=e[s],e[s]=l}return e},UF=function(e){for(var t=0,n=0,i=e.length;n<i;n++)t+=e[n];return t},BF=function(e,t){for(var n=new Array(t-e),i=0,r=n.length;i<r;i++)n[i]=e+i;return n},HF=function(e,t){for(var n=new Array(t.length),i=0,r=t.length;i<r;i++)n[i]=e[t[i]];return n},jF=function(e){return e instanceof Uint8Array||e instanceof ArrayBuffer||typeof e=="string"},fh=function(e){if(typeof e=="string")return DF(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`")}});var Ts,d9=it(()=>{"use strict";Ts=function(){return new Promise(function(e){setTimeout(function(){return e()},0)})}});var L$,qF,VF,GF,Xw,Yw,bf,Wy,Qy,P$,h9,p9,U$,m9,g9,Jy,IF=it(()=>{"use strict";Yy();L$=function(e,t){t===void 0&&(t=!0);var n=[];t&&n.push(239,187,191);for(var i=0,r=e.length;i<r;){var s=e.codePointAt(i);if(s<128){var l=s&127;n.push(l),i+=1}else if(s<2048){var l=s>>6&31|192,c=s&63|128;n.push(l,c),i+=1}else if(s<65536){var l=s>>12&15|224,c=s>>6&63|128,d=s&63|128;n.push(l,c,d),i+=1}else if(s<1114112){var l=s>>18&7|240,c=s>>12&63|128,d=s>>6&63|128,h=s>>0&63|128;n.push(l,c,d,h),i+=2}else throw new Error("Invalid code point: 0x"+Sl(s))}return new Uint8Array(n)},qF=function(e,t){t===void 0&&(t=!0);var n=[];t&&n.push(65279);for(var i=0,r=e.length;i<r;){var s=e.codePointAt(i);if(s<65536)n.push(s),i+=1;else if(s<1114112)n.push(Xw(s),Yw(s)),i+=2;else throw new Error("Invalid code point: 0x"+Sl(s))}return new Uint16Array(n)},VF=function(e){return e>=0&&e<=65535},GF=function(e){return e>=65536&&e<=1114111},Xw=function(e){return Math.floor((e-65536)/1024)+55296},Yw=function(e){return(e-65536)%1024+56320};(function(e){e.BigEndian="BigEndian",e.LittleEndian="LittleEndian"})(bf||(bf={}));Wy="\uFFFD".codePointAt(0),Qy=function(e,t){if(t===void 0&&(t=!0),e.length<=1)return String.fromCodePoint(Wy);for(var n=t?U$(e):bf.BigEndian,i=t?2:0,r=[];e.length-i>=2;){var s=p9(e[i++],e[i++],n);if(P$(s))if(e.length-i<2)r.push(Wy);else{var l=p9(e[i++],e[i++],n);h9(l)?r.push(s,l):r.push(Wy)}else h9(s)?(i+=2,r.push(Wy)):r.push(s)}return i<e.length&&r.push(Wy),String.fromCodePoint.apply(String,r)},P$=function(e){return e>=55296&&e<=56319},h9=function(e){return e>=56320&&e<=57343},p9=function(e,t,n){if(n===bf.LittleEndian)return t<<8|e;if(n===bf.BigEndian)return e<<8|t;throw new Error("Invalid byteOrder: "+n)},U$=function(e){return m9(e)?bf.BigEndian:g9(e)?bf.LittleEndian:bf.BigEndian},m9=function(e){return e[0]===254&&e[1]===255},g9=function(e){return e[0]===255&&e[1]===254},Jy=function(e){return m9(e)||g9(e)}});var XF,I0,Sf,v9=it(()=>{"use strict";XF=function(e){var t=String(e);if(Math.abs(e)<1){var n=parseInt(e.toString().split("e-")[1]);if(n){var i=e<0;i&&(e*=-1),e*=Math.pow(10,n-1),t="0."+new Array(n).join("0")+e.toString().substring(2),i&&(t="-"+t)}}else{var n=parseInt(e.toString().split("+")[1]);n>20&&(n-=20,e/=Math.pow(10,n),t=e.toString()+new Array(n+1).join("0"))}return t},I0=function(e){return Math.ceil(e.toString(2).length/8)},Sf=function(e){for(var t=new Uint8Array(I0(e)),n=1;n<=t.length;n++)t[n-1]=e>>(t.length-n)*8;return t}});var xf,y9=it(()=>{"use strict";xf=function(e){throw new Error(e)}});var Ru=ln(rr=>{"use strict";var B$=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function H$(e,t){return Object.prototype.hasOwnProperty.call(e,t)}rr.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(var i in n)H$(n,i)&&(e[i]=n[i])}}return e};rr.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var j$={arraySet:function(e,t,n,i,r){if(t.subarray&&e.subarray){e.set(t.subarray(n,n+i),r);return}for(var s=0;s<i;s++)e[r+s]=t[n+s]},flattenChunks:function(e){var t,n,i,r,s,l;for(i=0,t=0,n=e.length;t<n;t++)i+=e[t].length;for(l=new Uint8Array(i),r=0,t=0,n=e.length;t<n;t++)s=e[t],l.set(s,r),r+=s.length;return l}},q$={arraySet:function(e,t,n,i,r){for(var s=0;s<i;s++)e[r+s]=t[n+s]},flattenChunks:function(e){return[].concat.apply([],e)}};rr.setTyped=function(e){e?(rr.Buf8=Uint8Array,rr.Buf16=Uint16Array,rr.Buf32=Int32Array,rr.assign(rr,j$)):(rr.Buf8=Array,rr.Buf16=Array,rr.Buf32=Array,rr.assign(rr,q$))};rr.setTyped(B$)});var j9=ln(K0=>{"use strict";var V$=Ru(),G$=4,b9=0,S9=1,I$=2;function Y0(e){for(var t=e.length;--t>=0;)e[t]=0}var X$=0,C9=1,Y$=2,K$=3,Z$=258,$F=29,ab=256,tb=ab+1+$F,X0=30,t3=19,D9=2*tb+1,dh=15,YF=16,W$=7,e3=256,R9=16,O9=17,M9=18,QF=[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],Kw=[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],Q$=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],_9=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],J$=512,Ou=new Array((tb+2)*2);Y0(Ou);var $y=new Array(X0*2);Y0($y);var eb=new Array(J$);Y0(eb);var nb=new Array(Z$-K$+1);Y0(nb);var n3=new Array($F);Y0(n3);var Zw=new Array(X0);Y0(Zw);function KF(e,t,n,i,r){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=i,this.max_length=r,this.has_stree=e&&e.length}var F9,N9,z9;function ZF(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function k9(e){return e<256?eb[e]:eb[256+(e>>>7)]}function ib(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function _r(e,t,n){e.bi_valid>YF-n?(e.bi_buf|=t<<e.bi_valid&65535,ib(e,e.bi_buf),e.bi_buf=t>>YF-e.bi_valid,e.bi_valid+=n-YF):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function xl(e,t,n){_r(e,n[t*2],n[t*2+1])}function L9(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function $$(e){e.bi_valid===16?(ib(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 ttt(e,t){var n=t.dyn_tree,i=t.max_code,r=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.extra_bits,c=t.stat_desc.extra_base,d=t.stat_desc.max_length,h,p,y,g,b,S,w=0;for(g=0;g<=dh;g++)e.bl_count[g]=0;for(n[e.heap[e.heap_max]*2+1]=0,h=e.heap_max+1;h<D9;h++)p=e.heap[h],g=n[n[p*2+1]*2+1]+1,g>d&&(g=d,w++),n[p*2+1]=g,!(p>i)&&(e.bl_count[g]++,b=0,p>=c&&(b=l[p-c]),S=n[p*2],e.opt_len+=S*(g+b),s&&(e.static_len+=S*(r[p*2+1]+b)));if(w!==0){do{for(g=d-1;e.bl_count[g]===0;)g--;e.bl_count[g]--,e.bl_count[g+1]+=2,e.bl_count[d]--,w-=2}while(w>0);for(g=d;g!==0;g--)for(p=e.bl_count[g];p!==0;)y=e.heap[--h],!(y>i)&&(n[y*2+1]!==g&&(e.opt_len+=(g-n[y*2+1])*n[y*2],n[y*2+1]=g),p--)}}function P9(e,t,n){var i=new Array(dh+1),r=0,s,l;for(s=1;s<=dh;s++)i[s]=r=r+n[s-1]<<1;for(l=0;l<=t;l++){var c=e[l*2+1];c!==0&&(e[l*2]=L9(i[c]++,c))}}function ett(){var e,t,n,i,r,s=new Array(dh+1);for(n=0,i=0;i<$F-1;i++)for(n3[i]=n,e=0;e<1<<QF[i];e++)nb[n++]=i;for(nb[n-1]=i,r=0,i=0;i<16;i++)for(Zw[i]=r,e=0;e<1<<Kw[i];e++)eb[r++]=i;for(r>>=7;i<X0;i++)for(Zw[i]=r<<7,e=0;e<1<<Kw[i]-7;e++)eb[256+r++]=i;for(t=0;t<=dh;t++)s[t]=0;for(e=0;e<=143;)Ou[e*2+1]=8,e++,s[8]++;for(;e<=255;)Ou[e*2+1]=9,e++,s[9]++;for(;e<=279;)Ou[e*2+1]=7,e++,s[7]++;for(;e<=287;)Ou[e*2+1]=8,e++,s[8]++;for(P9(Ou,tb+1,s),e=0;e<X0;e++)$y[e*2+1]=5,$y[e*2]=L9(e,5);F9=new KF(Ou,QF,ab+1,tb,dh),N9=new KF($y,Kw,0,X0,dh),z9=new KF(new Array(0),Q$,0,t3,W$)}function U9(e){var t;for(t=0;t<tb;t++)e.dyn_ltree[t*2]=0;for(t=0;t<X0;t++)e.dyn_dtree[t*2]=0;for(t=0;t<t3;t++)e.bl_tree[t*2]=0;e.dyn_ltree[e3*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function B9(e){e.bi_valid>8?ib(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 ntt(e,t,n,i){B9(e),i&&(ib(e,n),ib(e,~n)),V$.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function x9(e,t,n,i){var r=t*2,s=n*2;return e[r]<e[s]||e[r]===e[s]&&i[t]<=i[n]}function WF(e,t,n){for(var i=e.heap[n],r=n<<1;r<=e.heap_len&&(r<e.heap_len&&x9(t,e.heap[r+1],e.heap[r],e.depth)&&r++,!x9(t,i,e.heap[r],e.depth));)e.heap[n]=e.heap[r],n=r,r<<=1;e.heap[n]=i}function A9(e,t,n){var i,r,s=0,l,c;if(e.last_lit!==0)do i=e.pending_buf[e.d_buf+s*2]<<8|e.pending_buf[e.d_buf+s*2+1],r=e.pending_buf[e.l_buf+s],s++,i===0?xl(e,r,t):(l=nb[r],xl(e,l+ab+1,t),c=QF[l],c!==0&&(r-=n3[l],_r(e,r,c)),i--,l=k9(i),xl(e,l,n),c=Kw[l],c!==0&&(i-=Zw[l],_r(e,i,c)));while(s<e.last_lit);xl(e,e3,t)}function JF(e,t){var n=t.dyn_tree,i=t.stat_desc.static_tree,r=t.stat_desc.has_stree,s=t.stat_desc.elems,l,c,d=-1,h;for(e.heap_len=0,e.heap_max=D9,l=0;l<s;l++)n[l*2]!==0?(e.heap[++e.heap_len]=d=l,e.depth[l]=0):n[l*2+1]=0;for(;e.heap_len<2;)h=e.heap[++e.heap_len]=d<2?++d:0,n[h*2]=1,e.depth[h]=0,e.opt_len--,r&&(e.static_len-=i[h*2+1]);for(t.max_code=d,l=e.heap_len>>1;l>=1;l--)WF(e,n,l);h=s;do l=e.heap[1],e.heap[1]=e.heap[e.heap_len--],WF(e,n,1),c=e.heap[1],e.heap[--e.heap_max]=l,e.heap[--e.heap_max]=c,n[h*2]=n[l*2]+n[c*2],e.depth[h]=(e.depth[l]>=e.depth[c]?e.depth[l]:e.depth[c])+1,n[l*2+1]=n[c*2+1]=h,e.heap[1]=h++,WF(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],ttt(e,t),P9(n,d,e.bl_count)}function w9(e,t,n){var i,r=-1,s,l=t[1],c=0,d=7,h=4;for(l===0&&(d=138,h=3),t[(n+1)*2+1]=65535,i=0;i<=n;i++)s=l,l=t[(i+1)*2+1],!(++c<d&&s===l)&&(c<h?e.bl_tree[s*2]+=c:s!==0?(s!==r&&e.bl_tree[s*2]++,e.bl_tree[R9*2]++):c<=10?e.bl_tree[O9*2]++:e.bl_tree[M9*2]++,c=0,r=s,l===0?(d=138,h=3):s===l?(d=6,h=3):(d=7,h=4))}function E9(e,t,n){var i,r=-1,s,l=t[1],c=0,d=7,h=4;for(l===0&&(d=138,h=3),i=0;i<=n;i++)if(s=l,l=t[(i+1)*2+1],!(++c<d&&s===l)){if(c<h)do xl(e,s,e.bl_tree);while(--c!==0);else s!==0?(s!==r&&(xl(e,s,e.bl_tree),c--),xl(e,R9,e.bl_tree),_r(e,c-3,2)):c<=10?(xl(e,O9,e.bl_tree),_r(e,c-3,3)):(xl(e,M9,e.bl_tree),_r(e,c-11,7));c=0,r=s,l===0?(d=138,h=3):s===l?(d=6,h=3):(d=7,h=4)}}function itt(e){var t;for(w9(e,e.dyn_ltree,e.l_desc.max_code),w9(e,e.dyn_dtree,e.d_desc.max_code),JF(e,e.bl_desc),t=t3-1;t>=3&&e.bl_tree[_9[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function att(e,t,n,i){var r;for(_r(e,t-257,5),_r(e,n-1,5),_r(e,i-4,4),r=0;r<i;r++)_r(e,e.bl_tree[_9[r]*2+1],3);E9(e,e.dyn_ltree,t-1),E9(e,e.dyn_dtree,n-1)}function rtt(e){var t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return b9;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return S9;for(n=32;n<ab;n++)if(e.dyn_ltree[n*2]!==0)return S9;return b9}var T9=!1;function ott(e){T9||(ett(),T9=!0),e.l_desc=new ZF(e.dyn_ltree,F9),e.d_desc=new ZF(e.dyn_dtree,N9),e.bl_desc=new ZF(e.bl_tree,z9),e.bi_buf=0,e.bi_valid=0,U9(e)}function H9(e,t,n,i){_r(e,(X$<<1)+(i?1:0),3),ntt(e,t,n,!0)}function stt(e){_r(e,C9<<1,3),xl(e,e3,Ou),$$(e)}function ltt(e,t,n,i){var r,s,l=0;e.level>0?(e.strm.data_type===I$&&(e.strm.data_type=rtt(e)),JF(e,e.l_desc),JF(e,e.d_desc),l=itt(e),r=e.opt_len+3+7>>>3,s=e.static_len+3+7>>>3,s<=r&&(r=s)):r=s=n+5,n+4<=r&&t!==-1?H9(e,t,n,i):e.strategy===G$||s===r?(_r(e,(C9<<1)+(i?1:0),3),A9(e,Ou,$y)):(_r(e,(Y$<<1)+(i?1:0),3),att(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),A9(e,e.dyn_ltree,e.dyn_dtree)),U9(e),i&&B9(e)}function utt(e,t,n){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]=n&255,e.last_lit++,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(nb[n]+ab+1)*2]++,e.dyn_dtree[k9(t)*2]++),e.last_lit===e.lit_bufsize-1}K0._tr_init=ott;K0._tr_stored_block=H9;K0._tr_flush_block=ltt;K0._tr_tally=utt;K0._tr_align=stt});var i3=ln((Tot,q9)=>{"use strict";function ctt(e,t,n,i){for(var r=e&65535|0,s=e>>>16&65535|0,l=0;n!==0;){l=n>2e3?2e3:n,n-=l;do r=r+t[i++]|0,s=s+r|0;while(--l);r%=65521,s%=65521}return r|s<<16|0}q9.exports=ctt});var a3=ln((Cot,V9)=>{"use strict";function ftt(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var dtt=ftt();function htt(e,t,n,i){var r=dtt,s=i+n;e^=-1;for(var l=i;l<s;l++)e=e>>>8^r[(e^t[l])&255];return e^-1}V9.exports=htt});var Ww=ln((Dot,G9)=>{"use strict";G9.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"}});var $9=ln(El=>{"use strict";var or=Ru(),Io=j9(),K9=i3(),Af=a3(),ptt=Ww(),gh=0,mtt=1,gtt=3,Df=4,I9=5,wl=0,X9=1,Xo=-2,vtt=-3,r3=-5,ytt=-1,btt=1,Qw=2,Stt=3,xtt=4,Att=0,wtt=2,eE=8,Ett=9,Ttt=15,Ctt=8,Dtt=29,Rtt=256,s3=Rtt+1+Dtt,Ott=30,Mtt=19,_tt=2*s3+1,Ftt=15,tn=3,Tf=258,Cs=Tf+tn+1,Ntt=32,nE=42,l3=69,Jw=73,$w=91,tE=103,hh=113,ob=666,Yi=1,sb=2,ph=3,Q0=4,ztt=3;function Cf(e,t){return e.msg=ptt[t],t}function Y9(e){return(e<<1)-(e>4?9:0)}function Ef(e){for(var t=e.length;--t>=0;)e[t]=0}function wf(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(or.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))}function Ea(e,t){Io._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,wf(e.strm)}function rn(e,t){e.pending_buf[e.pending++]=t}function rb(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function ktt(e,t,n,i){var r=e.avail_in;return r>i&&(r=i),r===0?0:(e.avail_in-=r,or.arraySet(t,e.input,e.next_in,r,n),e.state.wrap===1?e.adler=K9(e.adler,t,r,n):e.state.wrap===2&&(e.adler=Af(e.adler,t,r,n)),e.next_in+=r,e.total_in+=r,r)}function Z9(e,t){var n=e.max_chain_length,i=e.strstart,r,s,l=e.prev_length,c=e.nice_match,d=e.strstart>e.w_size-Cs?e.strstart-(e.w_size-Cs):0,h=e.window,p=e.w_mask,y=e.prev,g=e.strstart+Tf,b=h[i+l-1],S=h[i+l];e.prev_length>=e.good_match&&(n>>=2),c>e.lookahead&&(c=e.lookahead);do if(r=t,!(h[r+l]!==S||h[r+l-1]!==b||h[r]!==h[i]||h[++r]!==h[i+1])){i+=2,r++;do;while(h[++i]===h[++r]&&h[++i]===h[++r]&&h[++i]===h[++r]&&h[++i]===h[++r]&&h[++i]===h[++r]&&h[++i]===h[++r]&&h[++i]===h[++r]&&h[++i]===h[++r]&&i<g);if(s=Tf-(g-i),i=g-Tf,s>l){if(e.match_start=t,l=s,s>=c)break;b=h[i+l-1],S=h[i+l]}}while((t=y[t&p])>d&&--n!==0);return l<=e.lookahead?l:e.lookahead}function mh(e){var t=e.w_size,n,i,r,s,l;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Cs)){or.arraySet(e.window,e.window,t,t,0),e.match_start-=t,e.strstart-=t,e.block_start-=t,i=e.hash_size,n=i;do r=e.head[--n],e.head[n]=r>=t?r-t:0;while(--i);i=t,n=i;do r=e.prev[--n],e.prev[n]=r>=t?r-t:0;while(--i);s+=t}if(e.strm.avail_in===0)break;if(i=ktt(e.strm,e.window,e.strstart+e.lookahead,s),e.lookahead+=i,e.lookahead+e.insert>=tn)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+tn-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<tn)););}while(e.lookahead<Cs&&e.strm.avail_in!==0)}function Ltt(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(mh(e),e.lookahead===0&&t===gh)return Yi;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((e.strstart===0||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,Ea(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-Cs&&(Ea(e,!1),e.strm.avail_out===0))return Yi}return e.insert=0,t===Df?(Ea(e,!0),e.strm.avail_out===0?ph:Q0):(e.strstart>e.block_start&&(Ea(e,!1),e.strm.avail_out===0),Yi)}function o3(e,t){for(var n,i;;){if(e.lookahead<Cs){if(mh(e),e.lookahead<Cs&&t===gh)return Yi;if(e.lookahead===0)break}if(n=0,e.lookahead>=tn&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+tn-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-Cs&&(e.match_length=Z9(e,n)),e.match_length>=tn)if(i=Io._tr_tally(e,e.strstart-e.match_start,e.match_length-tn),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=tn){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+tn-1])&e.hash_mask,n=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 i=Io._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(Ea(e,!1),e.strm.avail_out===0))return Yi}return e.insert=e.strstart<tn-1?e.strstart:tn-1,t===Df?(Ea(e,!0),e.strm.avail_out===0?ph:Q0):e.last_lit&&(Ea(e,!1),e.strm.avail_out===0)?Yi:sb}function Z0(e,t){for(var n,i,r;;){if(e.lookahead<Cs){if(mh(e),e.lookahead<Cs&&t===gh)return Yi;if(e.lookahead===0)break}if(n=0,e.lookahead>=tn&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+tn-1])&e.hash_mask,n=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=tn-1,n!==0&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-Cs&&(e.match_length=Z9(e,n),e.match_length<=5&&(e.strategy===btt||e.match_length===tn&&e.strstart-e.match_start>4096)&&(e.match_length=tn-1)),e.prev_length>=tn&&e.match_length<=e.prev_length){r=e.strstart+e.lookahead-tn,i=Io._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-tn),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=r&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+tn-1])&e.hash_mask,n=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=tn-1,e.strstart++,i&&(Ea(e,!1),e.strm.avail_out===0))return Yi}else if(e.match_available){if(i=Io._tr_tally(e,0,e.window[e.strstart-1]),i&&Ea(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Yi}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(i=Io._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<tn-1?e.strstart:tn-1,t===Df?(Ea(e,!0),e.strm.avail_out===0?ph:Q0):e.last_lit&&(Ea(e,!1),e.strm.avail_out===0)?Yi:sb}function Ptt(e,t){for(var n,i,r,s,l=e.window;;){if(e.lookahead<=Tf){if(mh(e),e.lookahead<=Tf&&t===gh)return Yi;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=tn&&e.strstart>0&&(r=e.strstart-1,i=l[r],i===l[++r]&&i===l[++r]&&i===l[++r])){s=e.strstart+Tf;do;while(i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&i===l[++r]&&r<s);e.match_length=Tf-(s-r),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=tn?(n=Io._tr_tally(e,1,e.match_length-tn),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Io._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Ea(e,!1),e.strm.avail_out===0))return Yi}return e.insert=0,t===Df?(Ea(e,!0),e.strm.avail_out===0?ph:Q0):e.last_lit&&(Ea(e,!1),e.strm.avail_out===0)?Yi:sb}function Utt(e,t){for(var n;;){if(e.lookahead===0&&(mh(e),e.lookahead===0)){if(t===gh)return Yi;break}if(e.match_length=0,n=Io._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Ea(e,!1),e.strm.avail_out===0))return Yi}return e.insert=0,t===Df?(Ea(e,!0),e.strm.avail_out===0?ph:Q0):e.last_lit&&(Ea(e,!1),e.strm.avail_out===0)?Yi:sb}function Al(e,t,n,i,r){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=i,this.func=r}var W0;W0=[new Al(0,0,0,0,Ltt),new Al(4,4,8,4,o3),new Al(4,5,16,8,o3),new Al(4,6,32,32,o3),new Al(4,4,16,16,Z0),new Al(8,16,32,32,Z0),new Al(8,16,128,128,Z0),new Al(8,32,128,256,Z0),new Al(32,128,258,1024,Z0),new Al(32,258,258,4096,Z0)];function Btt(e){e.window_size=2*e.w_size,Ef(e.head),e.max_lazy_match=W0[e.level].max_lazy,e.good_match=W0[e.level].good_length,e.nice_match=W0[e.level].nice_length,e.max_chain_length=W0[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=tn-1,e.match_available=0,e.ins_h=0}function Htt(){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=eE,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 or.Buf16(_tt*2),this.dyn_dtree=new or.Buf16((2*Ott+1)*2),this.bl_tree=new or.Buf16((2*Mtt+1)*2),Ef(this.dyn_ltree),Ef(this.dyn_dtree),Ef(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new or.Buf16(Ftt+1),this.heap=new or.Buf16(2*s3+1),Ef(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new or.Buf16(2*s3+1),Ef(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 W9(e){var t;return!e||!e.state?Cf(e,Xo):(e.total_in=e.total_out=0,e.data_type=wtt,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?nE:hh,e.adler=t.wrap===2?0:1,t.last_flush=gh,Io._tr_init(t),wl)}function Q9(e){var t=W9(e);return t===wl&&Btt(e.state),t}function jtt(e,t){return!e||!e.state||e.state.wrap!==2?Xo:(e.state.gzhead=t,wl)}function J9(e,t,n,i,r,s){if(!e)return Xo;var l=1;if(t===ytt&&(t=6),i<0?(l=0,i=-i):i>15&&(l=2,i-=16),r<1||r>Ett||n!==eE||i<8||i>15||t<0||t>9||s<0||s>xtt)return Cf(e,Xo);i===8&&(i=9);var c=new Htt;return e.state=c,c.strm=e,c.wrap=l,c.gzhead=null,c.w_bits=i,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=r+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+tn-1)/tn),c.window=new or.Buf8(c.w_size*2),c.head=new or.Buf16(c.hash_size),c.prev=new or.Buf16(c.w_size),c.lit_bufsize=1<<r+6,c.pending_buf_size=c.lit_bufsize*4,c.pending_buf=new or.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=s,c.method=n,Q9(e)}function qtt(e,t){return J9(e,t,eE,Ttt,Ctt,Att)}function Vtt(e,t){var n,i,r,s;if(!e||!e.state||t>I9||t<0)return e?Cf(e,Xo):Xo;if(i=e.state,!e.output||!e.input&&e.avail_in!==0||i.status===ob&&t!==Df)return Cf(e,e.avail_out===0?r3:Xo);if(i.strm=e,n=i.last_flush,i.last_flush=t,i.status===nE)if(i.wrap===2)e.adler=0,rn(i,31),rn(i,139),rn(i,8),i.gzhead?(rn(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),rn(i,i.gzhead.time&255),rn(i,i.gzhead.time>>8&255),rn(i,i.gzhead.time>>16&255),rn(i,i.gzhead.time>>24&255),rn(i,i.level===9?2:i.strategy>=Qw||i.level<2?4:0),rn(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(rn(i,i.gzhead.extra.length&255),rn(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=Af(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=l3):(rn(i,0),rn(i,0),rn(i,0),rn(i,0),rn(i,0),rn(i,i.level===9?2:i.strategy>=Qw||i.level<2?4:0),rn(i,ztt),i.status=hh);else{var l=eE+(i.w_bits-8<<4)<<8,c=-1;i.strategy>=Qw||i.level<2?c=0:i.level<6?c=1:i.level===6?c=2:c=3,l|=c<<6,i.strstart!==0&&(l|=Ntt),l+=31-l%31,i.status=hh,rb(i,l),i.strstart!==0&&(rb(i,e.adler>>>16),rb(i,e.adler&65535)),e.adler=1}if(i.status===l3)if(i.gzhead.extra){for(r=i.pending;i.gzindex<(i.gzhead.extra.length&65535)&&!(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Af(e.adler,i.pending_buf,i.pending-r,r)),wf(e),r=i.pending,i.pending===i.pending_buf_size));)rn(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>r&&(e.adler=Af(e.adler,i.pending_buf,i.pending-r,r)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=Jw)}else i.status=Jw;if(i.status===Jw)if(i.gzhead.name){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Af(e.adler,i.pending_buf,i.pending-r,r)),wf(e),r=i.pending,i.pending===i.pending_buf_size)){s=1;break}i.gzindex<i.gzhead.name.length?s=i.gzhead.name.charCodeAt(i.gzindex++)&255:s=0,rn(i,s)}while(s!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Af(e.adler,i.pending_buf,i.pending-r,r)),s===0&&(i.gzindex=0,i.status=$w)}else i.status=$w;if(i.status===$w)if(i.gzhead.comment){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(e.adler=Af(e.adler,i.pending_buf,i.pending-r,r)),wf(e),r=i.pending,i.pending===i.pending_buf_size)){s=1;break}i.gzindex<i.gzhead.comment.length?s=i.gzhead.comment.charCodeAt(i.gzindex++)&255:s=0,rn(i,s)}while(s!==0);i.gzhead.hcrc&&i.pending>r&&(e.adler=Af(e.adler,i.pending_buf,i.pending-r,r)),s===0&&(i.status=tE)}else i.status=tE;if(i.status===tE&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&wf(e),i.pending+2<=i.pending_buf_size&&(rn(i,e.adler&255),rn(i,e.adler>>8&255),e.adler=0,i.status=hh)):i.status=hh),i.pending!==0){if(wf(e),e.avail_out===0)return i.last_flush=-1,wl}else if(e.avail_in===0&&Y9(t)<=Y9(n)&&t!==Df)return Cf(e,r3);if(i.status===ob&&e.avail_in!==0)return Cf(e,r3);if(e.avail_in!==0||i.lookahead!==0||t!==gh&&i.status!==ob){var d=i.strategy===Qw?Utt(i,t):i.strategy===Stt?Ptt(i,t):W0[i.level].func(i,t);if((d===ph||d===Q0)&&(i.status=ob),d===Yi||d===ph)return e.avail_out===0&&(i.last_flush=-1),wl;if(d===sb&&(t===mtt?Io._tr_align(i):t!==I9&&(Io._tr_stored_block(i,0,0,!1),t===gtt&&(Ef(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),wf(e),e.avail_out===0))return i.last_flush=-1,wl}return t!==Df?wl:i.wrap<=0?X9:(i.wrap===2?(rn(i,e.adler&255),rn(i,e.adler>>8&255),rn(i,e.adler>>16&255),rn(i,e.adler>>24&255),rn(i,e.total_in&255),rn(i,e.total_in>>8&255),rn(i,e.total_in>>16&255),rn(i,e.total_in>>24&255)):(rb(i,e.adler>>>16),rb(i,e.adler&65535)),wf(e),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?wl:X9)}function Gtt(e){var t;return!e||!e.state?Xo:(t=e.state.status,t!==nE&&t!==l3&&t!==Jw&&t!==$w&&t!==tE&&t!==hh&&t!==ob?Cf(e,Xo):(e.state=null,t===hh?Cf(e,vtt):wl))}function Itt(e,t){var n=t.length,i,r,s,l,c,d,h,p;if(!e||!e.state||(i=e.state,l=i.wrap,l===2||l===1&&i.status!==nE||i.lookahead))return Xo;for(l===1&&(e.adler=K9(e.adler,t,n,0)),i.wrap=0,n>=i.w_size&&(l===0&&(Ef(i.head),i.strstart=0,i.block_start=0,i.insert=0),p=new or.Buf8(i.w_size),or.arraySet(p,t,n-i.w_size,i.w_size,0),t=p,n=i.w_size),c=e.avail_in,d=e.next_in,h=e.input,e.avail_in=n,e.next_in=0,e.input=t,mh(i);i.lookahead>=tn;){r=i.strstart,s=i.lookahead-(tn-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[r+tn-1])&i.hash_mask,i.prev[r&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=r,r++;while(--s);i.strstart=r,i.lookahead=tn-1,mh(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=tn-1,i.match_available=0,e.next_in=d,e.input=h,e.avail_in=c,i.wrap=l,wl}El.deflateInit=qtt;El.deflateInit2=J9;El.deflateReset=Q9;El.deflateResetKeep=W9;El.deflateSetHeader=jtt;El.deflate=Vtt;El.deflateEnd=Gtt;El.deflateSetDictionary=Itt;El.deflateInfo="pako deflate (from Nodeca project)"});var u3=ln(J0=>{"use strict";var iE=Ru(),tq=!0,eq=!0;try{String.fromCharCode.apply(null,[0])}catch{tq=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{eq=!1}var lb=new iE.Buf8(256);for(Mu=0;Mu<256;Mu++)lb[Mu]=Mu>=252?6:Mu>=248?5:Mu>=240?4:Mu>=224?3:Mu>=192?2:1;var Mu;lb[254]=lb[254]=1;J0.string2buf=function(e){var t,n,i,r,s,l=e.length,c=0;for(r=0;r<l;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<l&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),c+=n<128?1:n<2048?2:n<65536?3:4;for(t=new iE.Buf8(c),s=0,r=0;s<c;r++)n=e.charCodeAt(r),(n&64512)===55296&&r+1<l&&(i=e.charCodeAt(r+1),(i&64512)===56320&&(n=65536+(n-55296<<10)+(i-56320),r++)),n<128?t[s++]=n:n<2048?(t[s++]=192|n>>>6,t[s++]=128|n&63):n<65536?(t[s++]=224|n>>>12,t[s++]=128|n>>>6&63,t[s++]=128|n&63):(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63,t[s++]=128|n>>>6&63,t[s++]=128|n&63);return t};function nq(e,t){if(t<65534&&(e.subarray&&eq||!e.subarray&&tq))return String.fromCharCode.apply(null,iE.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}J0.buf2binstring=function(e){return nq(e,e.length)};J0.binstring2buf=function(e){for(var t=new iE.Buf8(e.length),n=0,i=t.length;n<i;n++)t[n]=e.charCodeAt(n);return t};J0.buf2string=function(e,t){var n,i,r,s,l=t||e.length,c=new Array(l*2);for(i=0,n=0;n<l;){if(r=e[n++],r<128){c[i++]=r;continue}if(s=lb[r],s>4){c[i++]=65533,n+=s-1;continue}for(r&=s===2?31:s===3?15:7;s>1&&n<l;)r=r<<6|e[n++]&63,s--;if(s>1){c[i++]=65533;continue}r<65536?c[i++]=r:(r-=65536,c[i++]=55296|r>>10&1023,c[i++]=56320|r&1023)}return nq(c,i)};J0.utf8border=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+lb[e[n]]>t?n:t}});var c3=ln((Mot,iq)=>{"use strict";function Xtt(){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}iq.exports=Xtt});var sq=ln(fb=>{"use strict";var ub=$9(),cb=Ru(),d3=u3(),h3=Ww(),Ytt=c3(),oq=Object.prototype.toString,Ktt=0,f3=4,$0=0,aq=1,rq=2,Ztt=-1,Wtt=0,Qtt=8;function vh(e){if(!(this instanceof vh))return new vh(e);this.options=cb.assign({level:Ztt,method:Qtt,chunkSize:16384,windowBits:15,memLevel:8,strategy:Wtt,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 Ytt,this.strm.avail_out=0;var n=ub.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==$0)throw new Error(h3[n]);if(t.header&&ub.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=d3.string2buf(t.dictionary):oq.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,n=ub.deflateSetDictionary(this.strm,i),n!==$0)throw new Error(h3[n]);this._dict_set=!0}}vh.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r,s;if(this.ended)return!1;s=t===~~t?t:t===!0?f3:Ktt,typeof e=="string"?n.input=d3.string2buf(e):oq.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new cb.Buf8(i),n.next_out=0,n.avail_out=i),r=ub.deflate(n,s),r!==aq&&r!==$0)return this.onEnd(r),this.ended=!0,!1;(n.avail_out===0||n.avail_in===0&&(s===f3||s===rq))&&(this.options.to==="string"?this.onData(d3.buf2binstring(cb.shrinkBuf(n.output,n.next_out))):this.onData(cb.shrinkBuf(n.output,n.next_out)))}while((n.avail_in>0||n.avail_out===0)&&r!==aq);return s===f3?(r=ub.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===$0):(s===rq&&(this.onEnd($0),n.avail_out=0),!0)};vh.prototype.onData=function(e){this.chunks.push(e)};vh.prototype.onEnd=function(e){e===$0&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=cb.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function p3(e,t){var n=new vh(t);if(n.push(e,!0),n.err)throw n.msg||h3[n.err];return n.result}function Jtt(e,t){return t=t||{},t.raw=!0,p3(e,t)}function $tt(e,t){return t=t||{},t.gzip=!0,p3(e,t)}fb.Deflate=vh;fb.deflate=p3;fb.deflateRaw=Jtt;fb.gzip=$tt});var uq=ln((Fot,lq)=>{"use strict";var aE=30,tet=12;lq.exports=function(t,n){var i,r,s,l,c,d,h,p,y,g,b,S,w,D,A,T,C,O,M,k,z,P,U,B,W;i=t.state,r=t.next_in,B=t.input,s=r+(t.avail_in-5),l=t.next_out,W=t.output,c=l-(n-t.avail_out),d=l+(t.avail_out-257),h=i.dmax,p=i.wsize,y=i.whave,g=i.wnext,b=i.window,S=i.hold,w=i.bits,D=i.lencode,A=i.distcode,T=(1<<i.lenbits)-1,C=(1<<i.distbits)-1;t:do{w<15&&(S+=B[r++]<<w,w+=8,S+=B[r++]<<w,w+=8),O=D[S&T];e:for(;;){if(M=O>>>24,S>>>=M,w-=M,M=O>>>16&255,M===0)W[l++]=O&65535;else if(M&16){k=O&65535,M&=15,M&&(w<M&&(S+=B[r++]<<w,w+=8),k+=S&(1<<M)-1,S>>>=M,w-=M),w<15&&(S+=B[r++]<<w,w+=8,S+=B[r++]<<w,w+=8),O=A[S&C];n:for(;;){if(M=O>>>24,S>>>=M,w-=M,M=O>>>16&255,M&16){if(z=O&65535,M&=15,w<M&&(S+=B[r++]<<w,w+=8,w<M&&(S+=B[r++]<<w,w+=8)),z+=S&(1<<M)-1,z>h){t.msg="invalid distance too far back",i.mode=aE;break t}if(S>>>=M,w-=M,M=l-c,z>M){if(M=z-M,M>y&&i.sane){t.msg="invalid distance too far back",i.mode=aE;break t}if(P=0,U=b,g===0){if(P+=p-M,M<k){k-=M;do W[l++]=b[P++];while(--M);P=l-z,U=W}}else if(g<M){if(P+=p+g-M,M-=g,M<k){k-=M;do W[l++]=b[P++];while(--M);if(P=0,g<k){M=g,k-=M;do W[l++]=b[P++];while(--M);P=l-z,U=W}}}else if(P+=g-M,M<k){k-=M;do W[l++]=b[P++];while(--M);P=l-z,U=W}for(;k>2;)W[l++]=U[P++],W[l++]=U[P++],W[l++]=U[P++],k-=3;k&&(W[l++]=U[P++],k>1&&(W[l++]=U[P++]))}else{P=l-z;do W[l++]=W[P++],W[l++]=W[P++],W[l++]=W[P++],k-=3;while(k>2);k&&(W[l++]=W[P++],k>1&&(W[l++]=W[P++]))}}else if((M&64)===0){O=A[(O&65535)+(S&(1<<M)-1)];continue n}else{t.msg="invalid distance code",i.mode=aE;break t}break}}else if((M&64)===0){O=D[(O&65535)+(S&(1<<M)-1)];continue e}else if(M&32){i.mode=tet;break t}else{t.msg="invalid literal/length code",i.mode=aE;break t}break}}while(r<s&&l<d);k=w>>3,r-=k,w-=k<<3,S&=(1<<w)-1,t.next_in=r,t.next_out=l,t.avail_in=r<s?5+(s-r):5-(r-s),t.avail_out=l<d?257+(d-l):257-(l-d),i.hold=S,i.bits=w}});var gq=ln((Not,mq)=>{"use strict";var cq=Ru(),tm=15,fq=852,dq=592,hq=0,m3=1,pq=2,eet=[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],net=[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],iet=[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],aet=[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];mq.exports=function(t,n,i,r,s,l,c,d){var h=d.bits,p=0,y=0,g=0,b=0,S=0,w=0,D=0,A=0,T=0,C=0,O,M,k,z,P,U=null,B=0,W,Y=new cq.Buf16(tm+1),ot=new cq.Buf16(tm+1),ft=null,$=0,tt,K,wt;for(p=0;p<=tm;p++)Y[p]=0;for(y=0;y<r;y++)Y[n[i+y]]++;for(S=h,b=tm;b>=1&&Y[b]===0;b--);if(S>b&&(S=b),b===0)return s[l++]=1<<24|64<<16|0,s[l++]=1<<24|64<<16|0,d.bits=1,0;for(g=1;g<b&&Y[g]===0;g++);for(S<g&&(S=g),A=1,p=1;p<=tm;p++)if(A<<=1,A-=Y[p],A<0)return-1;if(A>0&&(t===hq||b!==1))return-1;for(ot[1]=0,p=1;p<tm;p++)ot[p+1]=ot[p]+Y[p];for(y=0;y<r;y++)n[i+y]!==0&&(c[ot[n[i+y]]++]=y);if(t===hq?(U=ft=c,W=19):t===m3?(U=eet,B-=257,ft=net,$-=257,W=256):(U=iet,ft=aet,W=-1),C=0,y=0,p=g,P=l,w=S,D=0,k=-1,T=1<<S,z=T-1,t===m3&&T>fq||t===pq&&T>dq)return 1;for(;;){tt=p-D,c[y]<W?(K=0,wt=c[y]):c[y]>W?(K=ft[$+c[y]],wt=U[B+c[y]]):(K=96,wt=0),O=1<<p-D,M=1<<w,g=M;do M-=O,s[P+(C>>D)+M]=tt<<24|K<<16|wt|0;while(M!==0);for(O=1<<p-1;C&O;)O>>=1;if(O!==0?(C&=O-1,C+=O):C=0,y++,--Y[p]===0){if(p===b)break;p=n[i+c[y]]}if(p>S&&(C&z)!==k){for(D===0&&(D=S),P+=g,w=p-D,A=1<<w;w+D<b&&(A-=Y[w+D],!(A<=0));)w++,A<<=1;if(T+=1<<w,t===m3&&T>fq||t===pq&&T>dq)return 1;k=C&z,s[k]=S<<24|w<<16|P-l|0}}return C!==0&&(s[P+C]=p-D<<24|64<<16|0),d.bits=S,0}});var Qq=ln(Ds=>{"use strict";var fo=Ru(),x3=i3(),Tl=a3(),ret=uq(),db=gq(),oet=0,qq=1,Vq=2,vq=4,set=5,rE=6,yh=0,uet=1,cet=2,Yo=-2,Gq=-3,A3=-4,fet=-5,yq=8,Iq=1,bq=2,Sq=3,xq=4,Aq=5,wq=6,Eq=7,Tq=8,Cq=9,Dq=10,lE=11,_u=12,g3=13,Rq=14,v3=15,Oq=16,Mq=17,_q=18,Fq=19,oE=20,sE=21,Nq=22,zq=23,kq=24,Lq=25,Pq=26,y3=27,Uq=28,Bq=29,Jn=30,w3=31,det=32,het=852,pet=592,met=15,get=met;function Hq(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function vet(){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 fo.Buf16(320),this.work=new fo.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function Xq(e){var t;return!e||!e.state?Yo:(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=Iq,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new fo.Buf32(het),t.distcode=t.distdyn=new fo.Buf32(pet),t.sane=1,t.back=-1,yh)}function Yq(e){var t;return!e||!e.state?Yo:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,Xq(e))}function Kq(e,t){var n,i;return!e||!e.state||(i=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?Yo:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=n,i.wbits=t,Yq(e))}function Zq(e,t){var n,i;return e?(i=new vet,e.state=i,i.window=null,n=Kq(e,t),n!==yh&&(e.state=null),n):Yo}function yet(e){return Zq(e,get)}var jq=!0,b3,S3;function bet(e){if(jq){var t;for(b3=new fo.Buf32(512),S3=new fo.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(db(qq,e.lens,0,288,b3,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;db(Vq,e.lens,0,32,S3,0,e.work,{bits:5}),jq=!1}e.lencode=b3,e.lenbits=9,e.distcode=S3,e.distbits=5}function Wq(e,t,n,i){var r,s=e.state;return s.window===null&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new fo.Buf8(s.wsize)),i>=s.wsize?(fo.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(r=s.wsize-s.wnext,r>i&&(r=i),fo.arraySet(s.window,t,n-i,r,s.wnext),i-=r,i?(fo.arraySet(s.window,t,n-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=r,s.wnext===s.wsize&&(s.wnext=0),s.whave<s.wsize&&(s.whave+=r))),0}function xet(e,t){var n,i,r,s,l,c,d,h,p,y,g,b,S,w,D=0,A,T,C,O,M,k,z,P,U=new fo.Buf8(4),B,W,Y=[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 Yo;n=e.state,n.mode===_u&&(n.mode=g3),l=e.next_out,r=e.output,d=e.avail_out,s=e.next_in,i=e.input,c=e.avail_in,h=n.hold,p=n.bits,y=c,g=d,P=yh;t:for(;;)switch(n.mode){case Iq:if(n.wrap===0){n.mode=g3;break}for(;p<16;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}if(n.wrap&2&&h===35615){n.check=0,U[0]=h&255,U[1]=h>>>8&255,n.check=Tl(n.check,U,2,0),h=0,p=0,n.mode=bq;break}if(n.flags=0,n.head&&(n.head.done=!1),!(n.wrap&1)||(((h&255)<<8)+(h>>8))%31){e.msg="incorrect header check",n.mode=Jn;break}if((h&15)!==yq){e.msg="unknown compression method",n.mode=Jn;break}if(h>>>=4,p-=4,z=(h&15)+8,n.wbits===0)n.wbits=z;else if(z>n.wbits){e.msg="invalid window size",n.mode=Jn;break}n.dmax=1<<z,e.adler=n.check=1,n.mode=h&512?Dq:_u,h=0,p=0;break;case bq:for(;p<16;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}if(n.flags=h,(n.flags&255)!==yq){e.msg="unknown compression method",n.mode=Jn;break}if(n.flags&57344){e.msg="unknown header flags set",n.mode=Jn;break}n.head&&(n.head.text=h>>8&1),n.flags&512&&(U[0]=h&255,U[1]=h>>>8&255,n.check=Tl(n.check,U,2,0)),h=0,p=0,n.mode=Sq;case Sq:for(;p<32;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}n.head&&(n.head.time=h),n.flags&512&&(U[0]=h&255,U[1]=h>>>8&255,U[2]=h>>>16&255,U[3]=h>>>24&255,n.check=Tl(n.check,U,4,0)),h=0,p=0,n.mode=xq;case xq:for(;p<16;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}n.head&&(n.head.xflags=h&255,n.head.os=h>>8),n.flags&512&&(U[0]=h&255,U[1]=h>>>8&255,n.check=Tl(n.check,U,2,0)),h=0,p=0,n.mode=Aq;case Aq:if(n.flags&1024){for(;p<16;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}n.length=h,n.head&&(n.head.extra_len=h),n.flags&512&&(U[0]=h&255,U[1]=h>>>8&255,n.check=Tl(n.check,U,2,0)),h=0,p=0}else n.head&&(n.head.extra=null);n.mode=wq;case wq:if(n.flags&1024&&(b=n.length,b>c&&(b=c),b&&(n.head&&(z=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),fo.arraySet(n.head.extra,i,s,b,z)),n.flags&512&&(n.check=Tl(n.check,i,b,s)),c-=b,s+=b,n.length-=b),n.length))break t;n.length=0,n.mode=Eq;case Eq:if(n.flags&2048){if(c===0)break t;b=0;do z=i[s+b++],n.head&&z&&n.length<65536&&(n.head.name+=String.fromCharCode(z));while(z&&b<c);if(n.flags&512&&(n.check=Tl(n.check,i,b,s)),c-=b,s+=b,z)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=Tq;case Tq:if(n.flags&4096){if(c===0)break t;b=0;do z=i[s+b++],n.head&&z&&n.length<65536&&(n.head.comment+=String.fromCharCode(z));while(z&&b<c);if(n.flags&512&&(n.check=Tl(n.check,i,b,s)),c-=b,s+=b,z)break t}else n.head&&(n.head.comment=null);n.mode=Cq;case Cq:if(n.flags&512){for(;p<16;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}if(h!==(n.check&65535)){e.msg="header crc mismatch",n.mode=Jn;break}h=0,p=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=_u;break;case Dq:for(;p<32;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}e.adler=n.check=Hq(h),h=0,p=0,n.mode=lE;case lE:if(n.havedict===0)return e.next_out=l,e.avail_out=d,e.next_in=s,e.avail_in=c,n.hold=h,n.bits=p,cet;e.adler=n.check=1,n.mode=_u;case _u:if(t===set||t===rE)break t;case g3:if(n.last){h>>>=p&7,p-=p&7,n.mode=y3;break}for(;p<3;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}switch(n.last=h&1,h>>>=1,p-=1,h&3){case 0:n.mode=Rq;break;case 1:if(bet(n),n.mode=oE,t===rE){h>>>=2,p-=2;break t}break;case 2:n.mode=Mq;break;case 3:e.msg="invalid block type",n.mode=Jn}h>>>=2,p-=2;break;case Rq:for(h>>>=p&7,p-=p&7;p<32;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}if((h&65535)!==(h>>>16^65535)){e.msg="invalid stored block lengths",n.mode=Jn;break}if(n.length=h&65535,h=0,p=0,n.mode=v3,t===rE)break t;case v3:n.mode=Oq;case Oq:if(b=n.length,b){if(b>c&&(b=c),b>d&&(b=d),b===0)break t;fo.arraySet(r,i,s,b,l),c-=b,s+=b,d-=b,l+=b,n.length-=b;break}n.mode=_u;break;case Mq:for(;p<14;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}if(n.nlen=(h&31)+257,h>>>=5,p-=5,n.ndist=(h&31)+1,h>>>=5,p-=5,n.ncode=(h&15)+4,h>>>=4,p-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Jn;break}n.have=0,n.mode=_q;case _q:for(;n.have<n.ncode;){for(;p<3;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}n.lens[Y[n.have++]]=h&7,h>>>=3,p-=3}for(;n.have<19;)n.lens[Y[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,B={bits:n.lenbits},P=db(oet,n.lens,0,19,n.lencode,0,n.work,B),n.lenbits=B.bits,P){e.msg="invalid code lengths set",n.mode=Jn;break}n.have=0,n.mode=Fq;case Fq:for(;n.have<n.nlen+n.ndist;){for(;D=n.lencode[h&(1<<n.lenbits)-1],A=D>>>24,T=D>>>16&255,C=D&65535,!(A<=p);){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}if(C<16)h>>>=A,p-=A,n.lens[n.have++]=C;else{if(C===16){for(W=A+2;p<W;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}if(h>>>=A,p-=A,n.have===0){e.msg="invalid bit length repeat",n.mode=Jn;break}z=n.lens[n.have-1],b=3+(h&3),h>>>=2,p-=2}else if(C===17){for(W=A+3;p<W;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}h>>>=A,p-=A,z=0,b=3+(h&7),h>>>=3,p-=3}else{for(W=A+7;p<W;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}h>>>=A,p-=A,z=0,b=11+(h&127),h>>>=7,p-=7}if(n.have+b>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Jn;break}for(;b--;)n.lens[n.have++]=z}}if(n.mode===Jn)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Jn;break}if(n.lenbits=9,B={bits:n.lenbits},P=db(qq,n.lens,0,n.nlen,n.lencode,0,n.work,B),n.lenbits=B.bits,P){e.msg="invalid literal/lengths set",n.mode=Jn;break}if(n.distbits=6,n.distcode=n.distdyn,B={bits:n.distbits},P=db(Vq,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,B),n.distbits=B.bits,P){e.msg="invalid distances set",n.mode=Jn;break}if(n.mode=oE,t===rE)break t;case oE:n.mode=sE;case sE:if(c>=6&&d>=258){e.next_out=l,e.avail_out=d,e.next_in=s,e.avail_in=c,n.hold=h,n.bits=p,ret(e,g),l=e.next_out,r=e.output,d=e.avail_out,s=e.next_in,i=e.input,c=e.avail_in,h=n.hold,p=n.bits,n.mode===_u&&(n.back=-1);break}for(n.back=0;D=n.lencode[h&(1<<n.lenbits)-1],A=D>>>24,T=D>>>16&255,C=D&65535,!(A<=p);){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}if(T&&(T&240)===0){for(O=A,M=T,k=C;D=n.lencode[k+((h&(1<<O+M)-1)>>O)],A=D>>>24,T=D>>>16&255,C=D&65535,!(O+A<=p);){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}h>>>=O,p-=O,n.back+=O}if(h>>>=A,p-=A,n.back+=A,n.length=C,T===0){n.mode=Pq;break}if(T&32){n.back=-1,n.mode=_u;break}if(T&64){e.msg="invalid literal/length code",n.mode=Jn;break}n.extra=T&15,n.mode=Nq;case Nq:if(n.extra){for(W=n.extra;p<W;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}n.length+=h&(1<<n.extra)-1,h>>>=n.extra,p-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=zq;case zq:for(;D=n.distcode[h&(1<<n.distbits)-1],A=D>>>24,T=D>>>16&255,C=D&65535,!(A<=p);){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}if((T&240)===0){for(O=A,M=T,k=C;D=n.distcode[k+((h&(1<<O+M)-1)>>O)],A=D>>>24,T=D>>>16&255,C=D&65535,!(O+A<=p);){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}h>>>=O,p-=O,n.back+=O}if(h>>>=A,p-=A,n.back+=A,T&64){e.msg="invalid distance code",n.mode=Jn;break}n.offset=C,n.extra=T&15,n.mode=kq;case kq:if(n.extra){for(W=n.extra;p<W;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}n.offset+=h&(1<<n.extra)-1,h>>>=n.extra,p-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Jn;break}n.mode=Lq;case Lq:if(d===0)break t;if(b=g-d,n.offset>b){if(b=n.offset-b,b>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Jn;break}b>n.wnext?(b-=n.wnext,S=n.wsize-b):S=n.wnext-b,b>n.length&&(b=n.length),w=n.window}else w=r,S=l-n.offset,b=n.length;b>d&&(b=d),d-=b,n.length-=b;do r[l++]=w[S++];while(--b);n.length===0&&(n.mode=sE);break;case Pq:if(d===0)break t;r[l++]=n.length,d--,n.mode=sE;break;case y3:if(n.wrap){for(;p<32;){if(c===0)break t;c--,h|=i[s++]<<p,p+=8}if(g-=d,e.total_out+=g,n.total+=g,g&&(e.adler=n.check=n.flags?Tl(n.check,r,g,l-g):x3(n.check,r,g,l-g)),g=d,(n.flags?h:Hq(h))!==n.check){e.msg="incorrect data check",n.mode=Jn;break}h=0,p=0}n.mode=Uq;case Uq:if(n.wrap&&n.flags){for(;p<32;){if(c===0)break t;c--,h+=i[s++]<<p,p+=8}if(h!==(n.total&4294967295)){e.msg="incorrect length check",n.mode=Jn;break}h=0,p=0}n.mode=Bq;case Bq:P=uet;break t;case Jn:P=Gq;break t;case w3:return A3;case det:default:return Yo}return e.next_out=l,e.avail_out=d,e.next_in=s,e.avail_in=c,n.hold=h,n.bits=p,(n.wsize||g!==e.avail_out&&n.mode<Jn&&(n.mode<y3||t!==vq))&&Wq(e,e.output,e.next_out,g-e.avail_out)?(n.mode=w3,A3):(y-=e.avail_in,g-=e.avail_out,e.total_in+=y,e.total_out+=g,n.total+=g,n.wrap&&g&&(e.adler=n.check=n.flags?Tl(n.check,r,g,e.next_out-g):x3(n.check,r,g,e.next_out-g)),e.data_type=n.bits+(n.last?64:0)+(n.mode===_u?128:0)+(n.mode===oE||n.mode===v3?256:0),(y===0&&g===0||t===vq)&&P===yh&&(P=fet),P)}function Aet(e){if(!e||!e.state)return Yo;var t=e.state;return t.window&&(t.window=null),e.state=null,yh}function wet(e,t){var n;return!e||!e.state||(n=e.state,(n.wrap&2)===0)?Yo:(n.head=t,t.done=!1,yh)}function Eet(e,t){var n=t.length,i,r,s;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==lE)?Yo:i.mode===lE&&(r=1,r=x3(r,t,n,0),r!==i.check)?Gq:(s=Wq(e,t,n,n),s?(i.mode=w3,A3):(i.havedict=1,yh))}Ds.inflateReset=Yq;Ds.inflateReset2=Kq;Ds.inflateResetKeep=Xq;Ds.inflateInit=yet;Ds.inflateInit2=Zq;Ds.inflate=xet;Ds.inflateEnd=Aet;Ds.inflateGetHeader=wet;Ds.inflateSetDictionary=Eet;Ds.inflateInfo="pako inflate (from Nodeca project)"});var E3=ln((kot,Jq)=>{"use strict";Jq.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}});var tV=ln((Lot,$q)=>{"use strict";function Tet(){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}$q.exports=Tet});var nV=ln(pb=>{"use strict";var em=Qq(),hb=Ru(),uE=u3(),yi=E3(),T3=Ww(),Cet=c3(),Det=tV(),eV=Object.prototype.toString;function bh(e){if(!(this instanceof bh))return new bh(e);this.options=hb.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)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Cet,this.strm.avail_out=0;var n=em.inflateInit2(this.strm,t.windowBits);if(n!==yi.Z_OK)throw new Error(T3[n]);if(this.header=new Det,em.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=uE.string2buf(t.dictionary):eV.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=em.inflateSetDictionary(this.strm,t.dictionary),n!==yi.Z_OK)))throw new Error(T3[n])}bh.prototype.push=function(e,t){var n=this.strm,i=this.options.chunkSize,r=this.options.dictionary,s,l,c,d,h,p=!1;if(this.ended)return!1;l=t===~~t?t:t===!0?yi.Z_FINISH:yi.Z_NO_FLUSH,typeof e=="string"?n.input=uE.binstring2buf(e):eV.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;do{if(n.avail_out===0&&(n.output=new hb.Buf8(i),n.next_out=0,n.avail_out=i),s=em.inflate(n,yi.Z_NO_FLUSH),s===yi.Z_NEED_DICT&&r&&(s=em.inflateSetDictionary(this.strm,r)),s===yi.Z_BUF_ERROR&&p===!0&&(s=yi.Z_OK,p=!1),s!==yi.Z_STREAM_END&&s!==yi.Z_OK)return this.onEnd(s),this.ended=!0,!1;n.next_out&&(n.avail_out===0||s===yi.Z_STREAM_END||n.avail_in===0&&(l===yi.Z_FINISH||l===yi.Z_SYNC_FLUSH))&&(this.options.to==="string"?(c=uE.utf8border(n.output,n.next_out),d=n.next_out-c,h=uE.buf2string(n.output,c),n.next_out=d,n.avail_out=i-d,d&&hb.arraySet(n.output,n.output,c,d,0),this.onData(h)):this.onData(hb.shrinkBuf(n.output,n.next_out))),n.avail_in===0&&n.avail_out===0&&(p=!0)}while((n.avail_in>0||n.avail_out===0)&&s!==yi.Z_STREAM_END);return s===yi.Z_STREAM_END&&(l=yi.Z_FINISH),l===yi.Z_FINISH?(s=em.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===yi.Z_OK):(l===yi.Z_SYNC_FLUSH&&(this.onEnd(yi.Z_OK),n.avail_out=0),!0)};bh.prototype.onData=function(e){this.chunks.push(e)};bh.prototype.onEnd=function(e){e===yi.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=hb.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function C3(e,t){var n=new bh(t);if(n.push(e,!0),n.err)throw n.msg||T3[n.err];return n.result}function Ret(e,t){return t=t||{},t.raw=!0,C3(e,t)}pb.Inflate=bh;pb.inflate=C3;pb.inflateRaw=Ret;pb.ungzip=C3});var mb=ln((Uot,aV)=>{"use strict";var Oet=Ru().assign,Met=sq(),_et=nV(),Fet=E3(),iV={};Oet(iV,Met,_et,Fet);aV.exports=iV});var oV,rV,vb,gb,Net,zet,cE,sV,D3=it(()=>{"use strict";oV=zn(mb()),rV="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vb=new Uint8Array(256);for(gb=0;gb<rV.length;gb++)vb[rV.charCodeAt(gb)]=gb;Net=function(e){var t=e.length*.75,n=e.length,i,r=0,s,l,c,d;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);var h=new Uint8Array(t);for(i=0;i<n;i+=4)s=vb[e.charCodeAt(i)],l=vb[e.charCodeAt(i+1)],c=vb[e.charCodeAt(i+2)],d=vb[e.charCodeAt(i+3)],h[r++]=s<<2|l>>4,h[r++]=(l&15)<<4|c>>2,h[r++]=(c&3)<<6|d&63;return h},zet=function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},cE=function(e){return zet(oV.default.inflate(Net(e)))},sV=function(e,t,n){for(var i="",r=0,s=t-e.length;r<s;r++)i+=n;return i+e}});var uV,lV=it(()=>{uV="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+NbMnlToZFAVEFkQ3iABW2uGH3CUK1ojUTgMWEbjfaWeUp5G6N5aCwRw5vddkOM98EVqRlPrBJ2E8OPZHSM6prJkrtnVrqNIWbtOjQrg8o7Z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1sTPJpQJHJigw0QrGERqD9YhyTOgONQDUyuF1zaxuokc/BW2ztXCMrGZ9WMW1oQZHIXWNBkSCfRZEL5BMUiZw6CzVSFCfUSGZFNjIldoKDkonTKQiJIGzWmFd3BizJJ9SINoLDriOfUCOZS+zg+KGD1qGiLNMLxtJD1/ns00ON6EzyUCM6vbxhoBKaqbG3DFQCNiL1iHccBPV0DHhQH/JW8EW90dkyFKGywCJU0WkVSvSGeiSUODWFFD0HYdPQVoiRgfPMA+/nnRgiAyNYSjpWNQcNSMrtFCUH4ZIRpSCWocFCSuhCEY6hoUClc0WC52BJlCYYLQdhN+hygRRRlo5BKRRLS6oihSqh+ZzzRGG1Mo4Iz1LoP0qsxDGFzk0JE42ji0jCPejomJKCuwil4m5CiRMEUMVSzVLDUstSx1Juc0oVWMpqY295qVltmtWmWW2a1aZZbZrVplltmtWmWW2G1WZYbYbVZlhthtVmWG2G1WZYbYbVZlhtltVmWW2W1WZZbZbVZlltltVmWW2W1QYjQCh7E2aAQHeGhCFgPoNoy8KNb2wxBhmGKBxoUZXlLGsLI6AsftEDHV0wIURVbANLcTKlGGBIKPOAxCmhePCKUwFzAmpDFRQvjA9R06Hq8TONvshgKDCuRAZTXigUxjxNFfKRo3CLhnIJBMFRvMZpqpNBMlQJzGT5WFQMVQI/AikPMIhEU1aDjqJvQwmjSHB05cC9jbYwc5UtAHNLhDw41ha+lEqF4JaH3gmB61SYcqInxTDmQK8v08vjqv4zDf1N0w3Lf4A8/vwPpfK11w=="});var Zet,Sh,LV,PV,UV=it(()=>{"use strict";D3();lV();cV();dV();pV();gV();yV();SV();AV();EV();CV();RV();MV();FV();zV();Zet={Courier:mV,"Courier-Bold":uV,"Courier-Oblique":hV,"Courier-BoldOblique":fV,Helvetica:wV,"Helvetica-Bold":vV,"Helvetica-Oblique":xV,"Helvetica-BoldOblique":bV,"Times-Roman":_V,"Times-Bold":TV,"Times-Italic":OV,"Times-BoldItalic":DV,Symbol:NV,ZapfDingbats:kV};(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"})(Sh||(Sh={}));LV={},PV=(function(){function e(){var t=this;this.getWidthOfGlyph=function(n){return t.CharWidths[n]},this.getXAxisKerningForPair=function(n,i){return(t.KernPairXAmounts[n]||{})[i]}}return e.load=function(t){var n=LV[t];if(n)return n;var i=cE(Zet[t]),r=Object.assign(new e,JSON.parse(i));return r.CharWidths=r.CharMetrics.reduce(function(s,l){return s[l.N]=l.WX,s},{}),r.KernPairXAmounts=r.KernPairs.reduce(function(s,l){var c=l[0],d=l[1],h=l[2];return s[c]||(s[c]={}),s[c][d]=h,s},{}),LV[t]=r,r},e})()});var HV,BV=it(()=>{HV="eJztWsuy48iN/Ret74KZfHtX47meqfGjPHaXx4/wgpJ4JbooUU1JVXXb0f9u4JwESF13R7TD29koIpFi8gCJBHDA/Pvm+nraTuPmZ3/f5HHzs7/k8WlzvXS7fvPXp02eqyR/2vRfd2N3gqhUUfm0Od9P236+DoczxLWK66fNpZ93/fkGWaOy5mnTnUR67c57lRaZSItM/tnN/XnsX/DfIqg0JOk8HI4UK4BCAFzG+xWCQgXF02Y3nU4dJJVKKrx5mPgKBVMImOvYXY+QKJRCoHzXzxMErQrap810hqaloioF1e0L5kvFUwqe23Hu+Q+1TinWeZnuMwSKrRRsL8Nn/kOxlYLtOnzFWE1Viqmu/eceVioVaylYe1OwVKilQD0PCYgiLRtVcJz4kEItW13mNLi0UsCVAB77KyxTKeJKEPff3rsREkVcCeLD3He3HqArBV0J6G/v/fU2cK1WH23l0e3c7T71N9uUVv/c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/h2NQxdQQ3bn/dpCxrGrqCW7U8rKZl/mfi0Xytk3Am66ZhYbg4y+KAVslDwbXdNL2d5qU5hnYBlTZaa6hs2t1qWdaeeTptcLco+hl5R7w4H5uOGcQbtEkpT18GusOI2xT9dYcVJf7zCSjmbD+Iud2s1NPRb9E+0UICmizb8ZK/+5JOLOulSqwaw5VJr2vB8dSFn89fvv/8H0oq1dA=="});var Qet,R3,O3,yb,jV=it(()=>{"use strict";D3();BV();Qet=cE(HV),R3=JSON.parse(Qet),O3=(function(){function e(t,n){var i=this;this.canEncodeUnicodeCodePoint=function(r){return r in i.unicodeMappings},this.encodeUnicodeCodePoint=function(r){var s=i.unicodeMappings[r];if(!s){var l=String.fromCharCode(r),c="0x"+sV(r.toString(16),4,"0"),d=i.name+' cannot encode "'+l+'" ('+c+")";throw new Error(d)}return{code:s[0],name:s[1]}},this.name=t,this.supportedCodePoints=Object.keys(n).map(Number).sort(function(r,s){return r-s}),this.unicodeMappings=n}return e})(),yb={Symbol:new O3("Symbol",R3.symbol),ZapfDingbats:new O3("ZapfDingbats",R3.zapfdingbats),WinAnsi:new O3("WinAnsi",R3.win1252)}});var M3=it(()=>{"use strict";UV();jV()});var nm,qV,fE,im,_3=it(()=>{"use strict";M3();nm=function(e){return Object.keys(e).map(function(t){return e[t]})},qV=nm(Sh),fE=function(e){return qV.includes(e)},im=function(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}});var Li,GV,VV,IV,Ko,sr,F3,XV,YV,KV,J,bt,bb,Ta,Fr,Sb,N3,Fu,ZV=it(()=>{"use strict";_3();Li=function(e){return"`"+e+"`"},GV=function(e){return"'"+e+"'"},VV=function(e){var t=typeof e;return t==="string"?GV(e):t==="undefined"?Li(e):e},IV=function(e,t,n){for(var i=new Array(n.length),r=0,s=n.length;r<s;r++){var l=n[r];i[r]=VV(l)}var c=i.join(" or ");return Li(t)+" must be one of "+c+", but was actually "+VV(e)},Ko=function(e,t,n){Array.isArray(n)||(n=nm(n));for(var i=0,r=n.length;i<r;i++)if(e===n[i])return;throw new TypeError(IV(e,t,n))},sr=function(e,t,n){Array.isArray(n)||(n=nm(n)),Ko(e,t,n.concat(void 0))},F3=function(e,t,n){Array.isArray(n)||(n=nm(n));for(var i=0,r=e.length;i<r;i++)Ko(e[i],t,n)},XV=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)},YV=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]},KV=function(e,t,n){for(var i=new Array(n.length),r=0,s=n.length;r<s;r++){var l=n[r];l==="null"&&(i[r]=Li("null")),l==="undefined"&&(i[r]=Li("undefined")),l==="string"?i[r]=Li("string"):l==="number"?i[r]=Li("number"):l==="boolean"?i[r]=Li("boolean"):l==="symbol"?i[r]=Li("symbol"):l==="bigint"?i[r]=Li("bigint"):l===Array?i[r]=Li("Array"):l===Uint8Array?i[r]=Li("Uint8Array"):l===ArrayBuffer?i[r]=Li("ArrayBuffer"):i[r]=Li(l[1])}var c=i.join(" or ");return Li(t)+" must be of type "+c+", but was actually of type "+Li(XV(e))},J=function(e,t,n){for(var i=0,r=n.length;i<r;i++)if(YV(e,n[i]))return;throw new TypeError(KV(e,t,n))},bt=function(e,t,n){J(e,t,n.concat("undefined"))},bb=function(e,t,n){for(var i=0,r=e.length;i<r;i++)J(e[i],t,n)},Ta=function(e,t,n,i){if(J(e,t,["number"]),J(n,"min",["number"]),J(i,"max",["number"]),i=Math.max(n,i),e<n||e>i)throw new Error(Li(t)+" must be at least "+n+" and at most "+i+", but was actually "+e)},Fr=function(e,t,n,i){J(e,t,["number","undefined"]),typeof e=="number"&&Ta(e,t,n,i)},Sb=function(e,t,n){if(J(e,t,["number"]),e%n!==0)throw new Error(Li(t)+" must be a multiple of "+n+", but was actually "+e)},N3=function(e,t){if(!Number.isInteger(e))throw new Error(Li(t)+" must be an integer, but was actually "+e)},Fu=function(e,t){if(![1,0].includes(Math.sign(e)))throw new Error(Li(t)+" must be a positive number or 0, but was actually "+e)}});var ve,xb,Ab,WV=it(()=>{"use strict";Yy();ve=new Uint16Array(256);for(xb=0;xb<256;xb++)ve[xb]=xb;ve[22]=re("");ve[24]=re("\u02D8");ve[25]=re("\u02C7");ve[26]=re("\u02C6");ve[27]=re("\u02D9");ve[28]=re("\u02DD");ve[29]=re("\u02DB");ve[30]=re("\u02DA");ve[31]=re("\u02DC");ve[127]=re("\uFFFD");ve[128]=re("\u2022");ve[129]=re("\u2020");ve[130]=re("\u2021");ve[131]=re("\u2026");ve[132]=re("\u2014");ve[133]=re("\u2013");ve[134]=re("\u0192");ve[135]=re("\u2044");ve[136]=re("\u2039");ve[137]=re("\u203A");ve[138]=re("\u2212");ve[139]=re("\u2030");ve[140]=re("\u201E");ve[141]=re("\u201C");ve[142]=re("\u201D");ve[143]=re("\u2018");ve[144]=re("\u2019");ve[145]=re("\u201A");ve[146]=re("\u2122");ve[147]=re("\uFB01");ve[148]=re("\uFB02");ve[149]=re("\u0141");ve[150]=re("\u0152");ve[151]=re("\u0160");ve[152]=re("\u0178");ve[153]=re("\u017D");ve[154]=re("\u0131");ve[155]=re("\u0142");ve[156]=re("\u0153");ve[157]=re("\u0161");ve[158]=re("\u017E");ve[159]=re("\uFFFD");ve[160]=re("\u20AC");ve[173]=re("\uFFFD");Ab=function(e){for(var t=new Array(e.length),n=0,i=e.length;n<i;n++)t[n]=ve[e[n]];return String.fromCodePoint.apply(String,t)}});var Jet,Ca,QV=it(()=>{"use strict";Jet=(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})(),Ca=Jet});var pe=it(()=>{"use strict";f9();d9();Yy();IF();v9();y9();RF();_3();ZV();WV();QV()});var ra,xh,Rf,z3,Ah,$et,k3,L3,P3,U3,wb,dE,hE,wh,Eh,B3,H3,j3,pE,Nu,q3,V3,G3,I3,X3,Y3,K3,Z3,En=it(()=>{"use strict";kt();pe();ra=(function(e){ct(t,e);function t(n,i){var r=this,s="Method "+n+"."+i+"() not implemented";return r=e.call(this,s)||this,r}return t})(Error),xh=(function(e){ct(t,e);function t(n){var i=this,r="Cannot construct "+n+" - it has a private constructor";return i=e.call(this,r)||this,i}return t})(Error),Rf=(function(e){ct(t,e);function t(n,i){var r=this,s=function(d){var h,p;return(h=d?.name)!==null&&h!==void 0?h:(p=d?.constructor)===null||p===void 0?void 0:p.name},l=Array.isArray(n)?n.map(s):[s(n)],c="Expected instance of "+l.join(" or ")+", "+("but got instance of "+(i&&s(i)));return r=e.call(this,c)||this,r}return t})(Error),z3=(function(e){ct(t,e);function t(n){var i=this,r=n+" stream encoding not supported";return i=e.call(this,r)||this,i}return t})(Error),Ah=(function(e){ct(t,e);function t(n,i){var r=this,s="Cannot call "+n+"."+i+"() more than once";return r=e.call(this,s)||this,r}return t})(Error),$et=(function(e){ct(t,e);function t(n){var i=this,r="Missing catalog (ref="+n+")";return i=e.call(this,r)||this,i}return t})(Error),k3=(function(e){ct(t,e);function t(){var n=this,i="Can't embed page with missing Contents";return n=e.call(this,i)||this,n}return t})(Error),L3=(function(e){ct(t,e);function t(n){var i,r,s,l=this,c=(s=(r=(i=n?.contructor)===null||i===void 0?void 0:i.name)!==null&&r!==void 0?r:n?.name)!==null&&s!==void 0?s:n,d="Unrecognized stream type: "+c;return l=e.call(this,d)||this,l}return t})(Error),P3=(function(e){ct(t,e);function t(){var n=this,i="Found mismatched contexts while embedding pages. All pages in the array passed to `PDFDocument.embedPages()` must be from the same document.";return n=e.call(this,i)||this,n}return t})(Error),U3=(function(e){ct(t,e);function t(n){var i=this,r="Attempted to convert PDFArray with "+n+" elements to rectangle, but must have exactly 4 elements.";return i=e.call(this,r)||this,i}return t})(Error),wb=(function(e){ct(t,e);function t(n){var i=this,r='Attempted to convert "'+n+'" to a date, but it does not match the PDF date string format.';return i=e.call(this,r)||this,i}return t})(Error),dE=(function(e){ct(t,e);function t(n,i){var r=this,s="Invalid targetIndex specified: targetIndex="+n+" must be less than Count="+i;return r=e.call(this,s)||this,r}return t})(Error),hE=(function(e){ct(t,e);function t(n,i){var r=this,s="Failed to "+i+" at targetIndex="+n+" due to corrupt page tree: It is likely that one or more 'Count' entries are invalid";return r=e.call(this,s)||this,r}return t})(Error),wh=(function(e){ct(t,e);function t(n,i,r){var s=this,l="index should be at least "+i+" and at most "+r+", but was actually "+n;return s=e.call(this,l)||this,s}return t})(Error),Eh=(function(e){ct(t,e);function t(){var n=this,i="Attempted to set invalid field value";return n=e.call(this,i)||this,n}return t})(Error),B3=(function(e){ct(t,e);function t(){var n=this,i="Attempted to select multiple values for single-select field";return n=e.call(this,i)||this,n}return t})(Error),H3=(function(e){ct(t,e);function t(n){var i=this,r="No /DA (default appearance) entry found for field: "+n;return i=e.call(this,r)||this,i}return t})(Error),j3=(function(e){ct(t,e);function t(n){var i=this,r="No Tf operator found for DA of field: "+n;return i=e.call(this,r)||this,i}return t})(Error),pE=(function(e){ct(t,e);function t(n,i){var r=this,s="Failed to parse number "+("(line:"+n.line+" col:"+n.column+" offset="+n.offset+'): "'+i+'"');return r=e.call(this,s)||this,r}return t})(Error),Nu=(function(e){ct(t,e);function t(n,i){var r=this,s="Failed to parse PDF document "+("(line:"+n.line+" col:"+n.column+" offset="+n.offset+"): "+i);return r=e.call(this,s)||this,r}return t})(Error),q3=(function(e){ct(t,e);function t(n,i,r){var s=this,l="Expected next byte to be "+i+" but it was actually "+r;return s=e.call(this,n,l)||this,s}return t})(Nu),V3=(function(e){ct(t,e);function t(n,i){var r=this,s="Failed to parse PDF object starting with the following byte: "+i;return r=e.call(this,n,s)||this,r}return t})(Nu),G3=(function(e){ct(t,e);function t(n){var i=this,r="Failed to parse invalid PDF object";return i=e.call(this,n,r)||this,i}return t})(Nu),I3=(function(e){ct(t,e);function t(n){var i=this,r="Failed to parse PDF stream";return i=e.call(this,n,r)||this,i}return t})(Nu),X3=(function(e){ct(t,e);function t(n){var i=this,r="Failed to parse PDF literal string due to unbalanced parenthesis";return i=e.call(this,n,r)||this,i}return t})(Nu),Y3=(function(e){ct(t,e);function t(n){var i=this,r="Parser stalled";return i=e.call(this,n,r)||this,i}return t})(Nu),K3=(function(e){ct(t,e);function t(n){var i=this,r="No PDF header found";return i=e.call(this,n,r)||this,i}return t})(Nu),Z3=(function(e){ct(t,e);function t(n,i){var r=this,s="Did not find expected keyword '"+Zy(i)+"'";return r=e.call(this,n,s)||this,r}return t})(Nu)});var W3,L,Tn=it(()=>{"use strict";(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"})(W3||(W3={}));L=W3});var tnt,Cl,am=it(()=>{"use strict";Tn();pe();tnt=(function(){function e(t,n){this.major=String(t),this.minor=String(n)}return e.prototype.toString=function(){var t=Or(129);return"%PDF-"+this.major+"."+this.minor+`
|
|
245
|
+
%`+t+t+t+t},e.prototype.sizeInBytes=function(){return 12+this.major.length+this.minor.length},e.prototype.copyBytesInto=function(t,n){var i=n;return t[n++]=L.Percent,t[n++]=L.P,t[n++]=L.D,t[n++]=L.F,t[n++]=L.Dash,n+=yn(this.major,t,n),t[n++]=L.Period,n+=yn(this.minor,t,n),t[n++]=L.Newline,t[n++]=L.Percent,t[n++]=129,t[n++]=129,t[n++]=129,t[n++]=129,n-i},e.forVersion=function(t,n){return new e(t,n)},e})(),Cl=tnt});var ent,pn,lr=it(()=>{"use strict";En();ent=(function(){function e(){}return e.prototype.clone=function(t){throw new ra(this.constructor.name,"clone")},e.prototype.toString=function(){throw new ra(this.constructor.name,"toString")},e.prototype.sizeInBytes=function(){throw new ra(this.constructor.name,"sizeInBytes")},e.prototype.copyBytesInto=function(t,n){throw new ra(this.constructor.name,"copyBytesInto")},e})(),pn=ent});var nnt,Pt,bi=it(()=>{"use strict";kt();pe();lr();nnt=(function(e){ct(t,e);function t(n){var i=e.call(this)||this;return i.numberValue=n,i.stringValue=XF(n),i}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(n,i){return i+=yn(this.stringValue,n,i),this.stringValue.length},t.of=function(n){return new t(n)},t})(pn),Pt=nnt});var int,ee,Da=it(()=>{"use strict";kt();bi();lr();Tn();En();int=(function(e){ct(t,e);function t(n){var i=e.call(this)||this;return i.array=[],i.context=n,i}return t.prototype.size=function(){return this.array.length},t.prototype.push=function(n){this.array.push(n)},t.prototype.insert=function(n,i){this.array.splice(n,0,i)},t.prototype.indexOf=function(n){var i=this.array.indexOf(n);return i===-1?void 0:i},t.prototype.remove=function(n){this.array.splice(n,1)},t.prototype.set=function(n,i){this.array[n]=i},t.prototype.get=function(n){return this.array[n]},t.prototype.lookupMaybe=function(n){for(var i,r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];return(i=this.context).lookupMaybe.apply(i,Fe([this.get(n)],r))},t.prototype.lookup=function(n){for(var i,r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];return(i=this.context).lookup.apply(i,Fe([this.get(n)],r))},t.prototype.asRectangle=function(){if(this.size()!==4)throw new U3(this.size());var n=this.lookup(0,Pt).asNumber(),i=this.lookup(1,Pt).asNumber(),r=this.lookup(2,Pt).asNumber(),s=this.lookup(3,Pt).asNumber(),l=n,c=i,d=r-n,h=s-i;return{x:l,y:c,width:d,height:h}},t.prototype.asArray=function(){return this.array.slice()},t.prototype.clone=function(n){for(var i=t.withContext(n||this.context),r=0,s=this.size();r<s;r++)i.push(this.array[r]);return i},t.prototype.toString=function(){for(var n="[ ",i=0,r=this.size();i<r;i++)n+=this.get(i).toString(),n+=" ";return n+="]",n},t.prototype.sizeInBytes=function(){for(var n=3,i=0,r=this.size();i<r;i++)n+=this.get(i).sizeInBytes()+1;return n},t.prototype.copyBytesInto=function(n,i){var r=i;n[i++]=L.LeftSquareBracket,n[i++]=L.Space;for(var s=0,l=this.size();s<l;s++)i+=this.get(s).copyBytesInto(n,i),n[i++]=L.Space;return n[i++]=L.RightSquareBracket,i-r},t.prototype.scalePDFNumbers=function(n,i){for(var r=0,s=this.size();r<s;r++){var l=this.lookup(r);if(l instanceof Pt){var c=r%2===0?n:i;this.set(r,Pt.of(l.asNumber()*c))}}},t.withContext=function(n){return new t(n)},t})(pn),ee=int});var Q3,ant,Dl,Eb=it(()=>{"use strict";kt();En();lr();Tn();Q3={},ant=(function(e){ct(t,e);function t(n,i){var r=this;if(n!==Q3)throw new xh("PDFBool");return r=e.call(this)||this,r.value=i,r}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(n,i){return this.value?(n[i++]=L.t,n[i++]=L.r,n[i++]=L.u,n[i++]=L.e,4):(n[i++]=L.f,n[i++]=L.a,n[i++]=L.l,n[i++]=L.s,n[i++]=L.e,5)},t.True=new t(Q3,!0),t.False=new t(Q3,!1),t})(pn),Dl=ant});var Nr,J3=it(()=>{"use strict";Tn();Nr=new Uint8Array(256);Nr[L.LeftParen]=1;Nr[L.RightParen]=1;Nr[L.LessThan]=1;Nr[L.GreaterThan]=1;Nr[L.LeftSquareBracket]=1;Nr[L.RightSquareBracket]=1;Nr[L.LeftCurly]=1;Nr[L.RightCurly]=1;Nr[L.ForwardSlash]=1;Nr[L.Percent]=1});var Zo,mE=it(()=>{"use strict";Tn();Zo=new Uint8Array(256);Zo[L.Null]=1;Zo[L.Tab]=1;Zo[L.Newline]=1;Zo[L.FormFeed]=1;Zo[L.CarriageReturn]=1;Zo[L.Space]=1});var gE,rm,JV,$V=it(()=>{"use strict";Tn();J3();mE();gE=new Uint8Array(256);for(rm=0,JV=256;rm<JV;rm++)gE[rm]=Zo[rm]||Nr[rm]?1:0;gE[L.Hash]=1});var rnt,ont,tG,eG,snt,N,nn=it(()=>{"use strict";kt();En();lr();Tn();$V();pe();rnt=function(e){return e.replace(/#([\dABCDEF]{2})/g,function(t,n){return MF(n)})},ont=function(e){return e>=L.ExclamationPoint&&e<=L.Tilde&&!gE[e]},tG={},eG=new Map,snt=(function(e){ct(t,e);function t(n,i){var r=this;if(n!==tG)throw new xh("PDFName");r=e.call(this)||this;for(var s="/",l=0,c=i.length;l<c;l++){var d=i[l],h=re(d);s+=ont(h)?d:"#"+Sl(h)}return r.encodedName=s,r}return t.prototype.asBytes=function(){for(var n=[],i="",r=!1,s=function(y){y!==void 0&&n.push(y),r=!1},l=1,c=this.encodedName.length;l<c;l++){var d=this.encodedName[l],h=re(d),p=this.encodedName[l+1];r?h>=L.Zero&&h<=L.Nine||h>=L.a&&h<=L.f||h>=L.A&&h<=L.F?(i+=d,(i.length===2||!(p>="0"&&p<="9"||p>="a"&&p<="f"||p>="A"&&p<="F"))&&(s(parseInt(i,16)),i="")):s(h):h===L.Hash?r=!0:s(h)}return new Uint8Array(n)},t.prototype.decodeText=function(){var n=this.asBytes();return String.fromCharCode.apply(String,Array.from(n))},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(n,i){return i+=yn(this.encodedName,n,i),this.encodedName.length},t.of=function(n){var i=rnt(n),r=eG.get(i);return r||(r=new t(tG,i),eG.set(i,r)),r},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})(pn),N=snt});var lnt,Ki,Tb=it(()=>{"use strict";kt();lr();Tn();lnt=(function(e){ct(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(n,i){return n[i++]=L.n,n[i++]=L.u,n[i++]=L.l,n[i++]=L.l,4},t})(pn),Ki=new lnt});var unt,Ht,Ba=it(()=>{"use strict";kt();nn();Tb();lr();Tn();unt=(function(e){ct(t,e);function t(n,i){var r=e.call(this)||this;return r.dict=n,r.context=i,r}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(n,i){this.dict.set(n,i)},t.prototype.get=function(n,i){i===void 0&&(i=!1);var r=this.dict.get(n);if(!(r===Ki&&!i))return r},t.prototype.has=function(n){var i=this.dict.get(n);return i!==void 0&&i!==Ki},t.prototype.lookupMaybe=function(n){for(var i,r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var l=r.includes(Ki),c=(i=this.context).lookupMaybe.apply(i,Fe([this.get(n,l)],r));if(!(c===Ki&&!l))return c},t.prototype.lookup=function(n){for(var i,r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var l=r.includes(Ki),c=(i=this.context).lookup.apply(i,Fe([this.get(n,l)],r));if(!(c===Ki&&!l))return c},t.prototype.delete=function(n){return this.dict.delete(n)},t.prototype.asMap=function(){return new Map(this.dict)},t.prototype.uniqueKey=function(n){n===void 0&&(n="");for(var i=this.keys(),r=N.of(this.context.addRandomSuffix(n,10));i.includes(r);)r=N.of(this.context.addRandomSuffix(n,10));return r},t.prototype.clone=function(n){for(var i=t.withContext(n||this.context),r=this.entries(),s=0,l=r.length;s<l;s++){var c=r[s],d=c[0],h=c[1];i.set(d,h)}return i},t.prototype.toString=function(){for(var n=`<<
|
|
246
|
+
`,i=this.entries(),r=0,s=i.length;r<s;r++){var l=i[r],c=l[0],d=l[1];n+=c.toString()+" "+d.toString()+`
|
|
247
|
+
`}return n+=">>",n},t.prototype.sizeInBytes=function(){for(var n=5,i=this.entries(),r=0,s=i.length;r<s;r++){var l=i[r],c=l[0],d=l[1];n+=c.sizeInBytes()+d.sizeInBytes()+2}return n},t.prototype.copyBytesInto=function(n,i){var r=i;n[i++]=L.LessThan,n[i++]=L.LessThan,n[i++]=L.Newline;for(var s=this.entries(),l=0,c=s.length;l<c;l++){var d=s[l],h=d[0],p=d[1];i+=h.copyBytesInto(n,i),n[i++]=L.Space,i+=p.copyBytesInto(n,i),n[i++]=L.Newline}return n[i++]=L.GreaterThan,n[i++]=L.GreaterThan,i-r},t.withContext=function(n){return new t(new Map,n)},t.fromMapWithContext=function(n,i){return new t(n,i)},t})(pn),Ht=unt});var cnt,Ln,zu=it(()=>{"use strict";kt();En();nn();bi();lr();Tn();cnt=(function(e){ct(t,e);function t(n){var i=e.call(this)||this;return i.dict=n,i}return t.prototype.clone=function(n){throw new ra(this.constructor.name,"clone")},t.prototype.getContentsString=function(){throw new ra(this.constructor.name,"getContentsString")},t.prototype.getContents=function(){throw new ra(this.constructor.name,"getContents")},t.prototype.getContentsSize=function(){throw new ra(this.constructor.name,"getContentsSize")},t.prototype.updateDict=function(){var n=this.getContentsSize();this.dict.set(N.Length,Pt.of(n))},t.prototype.sizeInBytes=function(){return this.updateDict(),this.dict.sizeInBytes()+this.getContentsSize()+18},t.prototype.toString=function(){this.updateDict();var n=this.dict.toString();return n+=`
|
|
248
|
+
stream
|
|
249
|
+
`,n+=this.getContentsString(),n+=`
|
|
250
|
+
endstream`,n},t.prototype.copyBytesInto=function(n,i){this.updateDict();var r=i;i+=this.dict.copyBytesInto(n,i),n[i++]=L.Newline,n[i++]=L.s,n[i++]=L.t,n[i++]=L.r,n[i++]=L.e,n[i++]=L.a,n[i++]=L.m,n[i++]=L.Newline;for(var s=this.getContents(),l=0,c=s.length;l<c;l++)n[i++]=s[l];return n[i++]=L.Newline,n[i++]=L.e,n[i++]=L.n,n[i++]=L.d,n[i++]=L.s,n[i++]=L.t,n[i++]=L.r,n[i++]=L.e,n[i++]=L.a,n[i++]=L.m,i-r},t})(pn),Ln=cnt});var fnt,Rs,om=it(()=>{"use strict";kt();zu();pe();fnt=(function(e){ct(t,e);function t(n,i){var r=e.call(this,n)||this;return r.contents=i,r}return t.prototype.asUint8Array=function(){return this.contents.slice()},t.prototype.clone=function(n){return t.of(this.dict.clone(n),this.contents.slice())},t.prototype.getContentsString=function(){return Zy(this.contents)},t.prototype.getContents=function(){return this.contents},t.prototype.getContentsSize=function(){return this.contents.length},t.of=function(n,i){return new t(n,i)},t})(Ln),Rs=fnt});var nG,iG,dnt,ie,ur=it(()=>{"use strict";kt();En();lr();pe();nG={},iG=new Map,dnt=(function(e){ct(t,e);function t(n,i,r){var s=this;if(n!==nG)throw new xh("PDFRef");return s=e.call(this)||this,s.objectNumber=i,s.generationNumber=r,s.tag=i+" "+r+" R",s}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(n,i){return i+=yn(this.tag,n,i),this.tag.length},t.of=function(n,i){i===void 0&&(i=0);var r=n+" "+i+" R",s=iG.get(r);return s||(s=new t(nG,n,i),iG.set(r,s)),s},t})(pn),ie=dnt});var hnt,le,$3=it(()=>{"use strict";lr();Tn();pe();hnt=(function(){function e(t,n){this.name=t,this.args=n||[]}return e.prototype.clone=function(t){for(var n=new Array(this.args.length),i=0,r=n.length;i<r;i++){var s=this.args[i];n[i]=s instanceof pn?s.clone(t):s}return e.of(this.name,n)},e.prototype.toString=function(){for(var t="",n=0,i=this.args.length;n<i;n++)t+=String(this.args[n])+" ";return t+=this.name,t},e.prototype.sizeInBytes=function(){for(var t=0,n=0,i=this.args.length;n<i;n++){var r=this.args[n];t+=(r instanceof pn?r.sizeInBytes():r.length)+1}return t+=this.name.length,t},e.prototype.copyBytesInto=function(t,n){for(var i=n,r=0,s=this.args.length;r<s;r++){var l=this.args[r];l instanceof pn?n+=l.copyBytesInto(t,n):n+=yn(l,t,n),t[n++]=L.Space}return n+=yn(this.name,t,n),n-i},e.of=function(t,n){return new e(t,n)},e})(),le=hnt});var t5,me,e5=it(()=>{"use strict";(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"})(t5||(t5={}));me=t5});var aG,pnt,Of,Cb=it(()=>{"use strict";kt();aG=zn(mb());En();nn();zu();pe();pnt=(function(e){ct(t,e);function t(n,i){var r=e.call(this,n)||this;return r.computeContents=function(){var s=r.getUnencodedContents();return r.encode?aG.default.deflate(s):s},r.encode=i,i&&n.set(N.of("Filter"),N.of("FlateDecode")),r.contentsCache=Ca.populatedBy(r.computeContents),r}return t.prototype.getContents=function(){return this.contentsCache.access()},t.prototype.getContentsSize=function(){return this.contentsCache.access().length},t.prototype.getUnencodedContents=function(){throw new ra(this.constructor.name,"getUnencodedContents")},t})(Ln),Of=pnt});var mnt,Rl,vE=it(()=>{"use strict";kt();Cb();Tn();mnt=(function(e){ct(t,e);function t(n,i,r){r===void 0&&(r=!0);var s=e.call(this,n,r)||this;return s.operators=i,s}return t.prototype.push=function(){for(var n,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];(n=this.operators).push.apply(n,i)},t.prototype.clone=function(n){for(var i=new Array(this.operators.length),r=0,s=this.operators.length;r<s;r++)i[r]=this.operators[r].clone(n);var l=this,c=l.dict,d=l.encode;return t.of(c.clone(n),i,d)},t.prototype.getContentsString=function(){for(var n="",i=0,r=this.operators.length;i<r;i++)n+=this.operators[i]+`
|
|
251
|
+
`;return n},t.prototype.getUnencodedContents=function(){for(var n=new Uint8Array(this.getUnencodedContentsSize()),i=0,r=0,s=this.operators.length;r<s;r++)i+=this.operators[r].copyBytesInto(n,i),n[i++]=L.Newline;return n},t.prototype.getUnencodedContentsSize=function(){for(var n=0,i=0,r=this.operators.length;i<r;i++)n+=this.operators[i].sizeInBytes()+1;return n},t.of=function(n,i,r){return r===void 0&&(r=!0),new t(n,i,r)},t})(Of),Rl=mnt});var rG,oG=it(()=>{"use strict";rG=(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})()});var sG,gnt,vnt,Th,n5=it(()=>{"use strict";kt();sG=zn(mb());am();En();Da();Eb();Ba();nn();Tb();bi();lr();om();ur();$3();e5();vE();pe();oG();gnt=function(e,t){var n=e[0],i=t[0];return n.objectNumber-i.objectNumber},vnt=(function(){function e(){this.largestObjectNumber=0,this.header=Cl.forVersion(1,7),this.trailerInfo={},this.indirectObjects=new Map,this.rng=rG.withSeed(1)}return e.prototype.assign=function(t,n){this.indirectObjects.set(t,n),t.objectNumber>this.largestObjectNumber&&(this.largestObjectNumber=t.objectNumber)},e.prototype.nextRef=function(){return this.largestObjectNumber+=1,ie.of(this.largestObjectNumber)},e.prototype.register=function(t){var n=this.nextRef();return this.assign(n,t),n},e.prototype.delete=function(t){return this.indirectObjects.delete(t)},e.prototype.lookupMaybe=function(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r=n.includes(Ki),s=t instanceof ie?this.indirectObjects.get(t):t;if(!(!s||s===Ki&&!r)){for(var l=0,c=n.length;l<c;l++){var d=n[l];if(d===Ki){if(s===Ki)return s}else if(s instanceof d)return s}throw new Rf(n,s)}},e.prototype.lookup=function(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];var r=t instanceof ie?this.indirectObjects.get(t):t;if(n.length===0)return r;for(var s=0,l=n.length;s<l;s++){var c=n[s];if(c===Ki){if(r===Ki)return r}else if(r instanceof c)return r}throw new Rf(n,r)},e.prototype.getObjectRef=function(t){for(var n=Array.from(this.indirectObjects.entries()),i=0,r=n.length;i<r;i++){var s=n[i],l=s[0],c=s[1];if(c===t)return l}},e.prototype.enumerateIndirectObjects=function(){return Array.from(this.indirectObjects.entries()).sort(gnt)},e.prototype.obj=function(t){if(t instanceof pn)return t;if(t==null)return Ki;if(typeof t=="string")return N.of(t);if(typeof t=="number")return Pt.of(t);if(typeof t=="boolean")return t?Dl.True:Dl.False;if(Array.isArray(t)){for(var n=ee.withContext(this),i=0,r=t.length;i<r;i++)n.push(this.obj(t[i]));return n}else{for(var s=Ht.withContext(this),l=Object.keys(t),i=0,r=l.length;i<r;i++){var c=l[i],d=t[c];d!==void 0&&s.set(N.of(c),this.obj(d))}return s}},e.prototype.stream=function(t,n){return n===void 0&&(n={}),Rs.of(this.obj(n),Ky(t))},e.prototype.flateStream=function(t,n){return n===void 0&&(n={}),this.stream(sG.default.deflate(Ky(t)),ae(ae({},n),{Filter:"FlateDecode"}))},e.prototype.contentStream=function(t,n){return n===void 0&&(n={}),Rl.of(this.obj(n),t)},e.prototype.formXObject=function(t,n){return n===void 0&&(n={}),this.contentStream(t,ae(ae({BBox:this.obj([0,0,0,0]),Matrix:this.obj([1,0,0,1,0,0])},n),{Type:"XObject",Subtype:"Form"}))},e.prototype.getPushGraphicsStateContentStream=function(){if(this.pushGraphicsStateContentStreamRef)return this.pushGraphicsStateContentStreamRef;var t=this.obj({}),n=le.of(me.PushGraphicsState),i=Rl.of(t,[n]);return this.pushGraphicsStateContentStreamRef=this.register(i),this.pushGraphicsStateContentStreamRef},e.prototype.getPopGraphicsStateContentStream=function(){if(this.popGraphicsStateContentStreamRef)return this.popGraphicsStateContentStreamRef;var t=this.obj({}),n=le.of(me.PopGraphicsState),i=Rl.of(t,[n]);return this.popGraphicsStateContentStreamRef=this.register(i),this.popGraphicsStateContentStreamRef},e.prototype.addRandomSuffix=function(t,n){return n===void 0&&(n=4),t+"-"+Math.floor(this.rng.nextInt()*Math.pow(10,n))},e.create=function(){return new e},e})(),Th=vnt});var ynt,Ha,Db=it(()=>{"use strict";kt();Da();Ba();nn();bi();zu();ynt=(function(e){ct(t,e);function t(n,i,r){r===void 0&&(r=!0);var s=e.call(this,n,i)||this;return s.normalized=!1,s.autoNormalizeCTM=r,s}return t.prototype.clone=function(n){for(var i=t.fromMapWithContext(new Map,n||this.context,this.autoNormalizeCTM),r=this.entries(),s=0,l=r.length;s<l;s++){var c=r[s],d=c[0],h=c[1];i.set(d,h)}return i},t.prototype.Parent=function(){return this.lookupMaybe(N.Parent,Ht)},t.prototype.Contents=function(){return this.lookup(N.of("Contents"))},t.prototype.Annots=function(){return this.lookupMaybe(N.Annots,ee)},t.prototype.BleedBox=function(){return this.lookupMaybe(N.BleedBox,ee)},t.prototype.TrimBox=function(){return this.lookupMaybe(N.TrimBox,ee)},t.prototype.ArtBox=function(){return this.lookupMaybe(N.ArtBox,ee)},t.prototype.Resources=function(){var n=this.getInheritableAttribute(N.Resources);return this.context.lookupMaybe(n,Ht)},t.prototype.MediaBox=function(){var n=this.getInheritableAttribute(N.MediaBox);return this.context.lookup(n,ee)},t.prototype.CropBox=function(){var n=this.getInheritableAttribute(N.CropBox);return this.context.lookupMaybe(n,ee)},t.prototype.Rotate=function(){var n=this.getInheritableAttribute(N.Rotate);return this.context.lookupMaybe(n,Pt)},t.prototype.getInheritableAttribute=function(n){var i;return this.ascend(function(r){i||(i=r.get(n))}),i},t.prototype.setParent=function(n){this.set(N.Parent,n)},t.prototype.addContentStream=function(n){var i=this.normalizedEntries().Contents||this.context.obj([]);this.set(N.Contents,i),i.push(n)},t.prototype.wrapContentStreams=function(n,i){var r=this.Contents();return r instanceof ee?(r.insert(0,n),r.push(i),!0):!1},t.prototype.addAnnot=function(n){var i=this.normalizedEntries().Annots;i.push(n)},t.prototype.removeAnnot=function(n){var i=this.normalizedEntries().Annots,r=i.indexOf(n);r!==void 0&&i.remove(r)},t.prototype.setFontDictionary=function(n,i){var r=this.normalizedEntries().Font;r.set(n,i)},t.prototype.newFontDictionaryKey=function(n){var i=this.normalizedEntries().Font;return i.uniqueKey(n)},t.prototype.newFontDictionary=function(n,i){var r=this.newFontDictionaryKey(n);return this.setFontDictionary(r,i),r},t.prototype.setXObject=function(n,i){var r=this.normalizedEntries().XObject;r.set(n,i)},t.prototype.newXObjectKey=function(n){var i=this.normalizedEntries().XObject;return i.uniqueKey(n)},t.prototype.newXObject=function(n,i){var r=this.newXObjectKey(n);return this.setXObject(r,i),r},t.prototype.setExtGState=function(n,i){var r=this.normalizedEntries().ExtGState;r.set(n,i)},t.prototype.newExtGStateKey=function(n){var i=this.normalizedEntries().ExtGState;return i.uniqueKey(n)},t.prototype.newExtGState=function(n,i){var r=this.newExtGStateKey(n);return this.setExtGState(r,i),r},t.prototype.ascend=function(n){n(this);var i=this.Parent();i&&i.ascend(n)},t.prototype.normalize=function(){if(!this.normalized){var n=this.context,i=this.get(N.Contents),r=this.context.lookup(i);r instanceof Ln&&this.set(N.Contents,n.obj([i])),this.autoNormalizeCTM&&this.wrapContentStreams(this.context.getPushGraphicsStateContentStream(),this.context.getPopGraphicsStateContentStream());var s=this.getInheritableAttribute(N.Resources),l=n.lookupMaybe(s,Ht)||n.obj({});this.set(N.Resources,l);var c=l.lookupMaybe(N.Font,Ht)||n.obj({});l.set(N.Font,c);var d=l.lookupMaybe(N.XObject,Ht)||n.obj({});l.set(N.XObject,d);var h=l.lookupMaybe(N.ExtGState,Ht)||n.obj({});l.set(N.ExtGState,h);var p=this.Annots()||n.obj([]);this.set(N.Annots,p),this.normalized=!0}},t.prototype.normalizedEntries=function(){this.normalize();var n=this.Annots(),i=this.Resources(),r=this.Contents();return{Annots:n,Resources:i,Contents:r,Font:i.lookup(N.Font,Ht),XObject:i.lookup(N.XObject,Ht),ExtGState:i.lookup(N.ExtGState,Ht)}},t.InheritableEntries=["Resources","MediaBox","CropBox","Rotate"],t.withContextAndParent=function(n,i){var r=new Map;return r.set(N.Type,N.Page),r.set(N.Parent,i),r.set(N.Resources,n.obj({})),r.set(N.MediaBox,n.obj([0,0,612,792])),new t(r,n,!1)},t.fromMapWithContext=function(n,i,r){return r===void 0&&(r=!0),new t(n,i,r)},t})(Ht),Ha=ynt});var bnt,Rb,lG=it(()=>{"use strict";Da();Ba();nn();ur();zu();Db();bnt=(function(){function e(t,n){var i=this;this.traversedObjects=new Map,this.copy=function(r){return r instanceof Ha?i.copyPDFPage(r):r instanceof Ht?i.copyPDFDict(r):r instanceof ee?i.copyPDFArray(r):r instanceof Ln?i.copyPDFStream(r):r instanceof ie?i.copyPDFIndirectObject(r):r.clone()},this.copyPDFPage=function(r){for(var s=r.clone(),l=Ha.InheritableEntries,c=0,d=l.length;c<d;c++){var h=N.of(l[c]),p=s.getInheritableAttribute(h);!s.get(h)&&p&&s.set(h,p)}return s.delete(N.of("Parent")),i.copyPDFDict(s)},this.copyPDFDict=function(r){if(i.traversedObjects.has(r))return i.traversedObjects.get(r);var s=r.clone(i.dest);i.traversedObjects.set(r,s);for(var l=r.entries(),c=0,d=l.length;c<d;c++){var h=l[c],p=h[0],y=h[1];s.set(p,i.copy(y))}return s},this.copyPDFArray=function(r){if(i.traversedObjects.has(r))return i.traversedObjects.get(r);var s=r.clone(i.dest);i.traversedObjects.set(r,s);for(var l=0,c=r.size();l<c;l++){var d=r.get(l);s.set(l,i.copy(d))}return s},this.copyPDFStream=function(r){if(i.traversedObjects.has(r))return i.traversedObjects.get(r);var s=r.clone(i.dest);i.traversedObjects.set(r,s);for(var l=r.dict.entries(),c=0,d=l.length;c<d;c++){var h=l[c],p=h[0],y=h[1];s.dict.set(p,i.copy(y))}return s},this.copyPDFIndirectObject=function(r){var s=i.traversedObjects.has(r);if(!s){var l=i.dest.nextRef();i.traversedObjects.set(r,l);var c=i.src.lookup(r);if(c){var d=i.copy(c);i.dest.assign(l,d)}}return i.traversedObjects.get(r)},this.src=t,this.dest=n}return e.for=function(t,n){return new e(t,n)},e})(),Rb=bnt});var Snt,sm,yE=it(()=>{"use strict";ur();Tn();pe();Snt=(function(){function e(t){this.subsections=t?[[t]]:[],this.chunkIdx=0,this.chunkLength=t?1:0}return e.prototype.addEntry=function(t,n){this.append({ref:t,offset:n,deleted:!1})},e.prototype.addDeletedEntry=function(t,n){this.append({ref:t,offset:n,deleted:!0})},e.prototype.toString=function(){for(var t=`xref
|
|
252
|
+
`,n=0,i=this.subsections.length;n<i;n++){var r=this.subsections[n];t+=r[0].ref.objectNumber+" "+r.length+`
|
|
253
|
+
`;for(var s=0,l=r.length;s<l;s++){var c=r[s];t+=Mr(String(c.offset),10,"0"),t+=" ",t+=Mr(String(c.ref.generationNumber),5,"0"),t+=" ",t+=c.deleted?"f":"n",t+=`
|
|
254
|
+
`}}return t},e.prototype.sizeInBytes=function(){for(var t=5,n=0,i=this.subsections.length;n<i;n++){var r=this.subsections[n],s=r.length,l=r[0];t+=2,t+=String(l.ref.objectNumber).length,t+=String(s).length,t+=20*s}return t},e.prototype.copyBytesInto=function(t,n){var i=n;return t[n++]=L.x,t[n++]=L.r,t[n++]=L.e,t[n++]=L.f,t[n++]=L.Newline,n+=this.copySubsectionsIntoBuffer(this.subsections,t,n),n-i},e.prototype.copySubsectionsIntoBuffer=function(t,n,i){for(var r=i,s=t.length,l=0;l<s;l++){var c=this.subsections[l],d=String(c[0].ref.objectNumber);i+=yn(d,n,i),n[i++]=L.Space;var h=String(c.length);i+=yn(h,n,i),n[i++]=L.Newline,i+=this.copyEntriesIntoBuffer(c,n,i)}return i-r},e.prototype.copyEntriesIntoBuffer=function(t,n,i){for(var r=t.length,s=0;s<r;s++){var l=t[s],c=Mr(String(l.offset),10,"0");i+=yn(c,n,i),n[i++]=L.Space;var d=Mr(String(l.ref.generationNumber),5,"0");i+=yn(d,n,i),n[i++]=L.Space,n[i++]=l.deleted?L.f:L.n,n[i++]=L.Space,n[i++]=L.Newline}return 20*r},e.prototype.append=function(t){if(this.chunkLength===0){this.subsections.push([t]),this.chunkIdx=0,this.chunkLength=1;return}var n=this.subsections[this.chunkIdx],i=n[this.chunkLength-1];t.ref.objectNumber-i.ref.objectNumber>1?(this.subsections.push([t]),this.chunkIdx+=1,this.chunkLength=1):(n.push(t),this.chunkLength+=1)},e.create=function(){return new e({ref:ie.of(0,65535),offset:0,deleted:!0})},e.createEmpty=function(){return new e},e})(),sm=Snt});var xnt,Mf,Ob=it(()=>{"use strict";Tn();pe();xnt=(function(){function e(t){this.lastXRefOffset=String(t)}return e.prototype.toString=function(){return`startxref
|
|
255
|
+
`+this.lastXRefOffset+`
|
|
256
|
+
%%EOF`},e.prototype.sizeInBytes=function(){return 16+this.lastXRefOffset.length},e.prototype.copyBytesInto=function(t,n){var i=n;return t[n++]=L.s,t[n++]=L.t,t[n++]=L.a,t[n++]=L.r,t[n++]=L.t,t[n++]=L.x,t[n++]=L.r,t[n++]=L.e,t[n++]=L.f,t[n++]=L.Newline,n+=yn(this.lastXRefOffset,t,n),t[n++]=L.Newline,t[n++]=L.Percent,t[n++]=L.Percent,t[n++]=L.E,t[n++]=L.O,t[n++]=L.F,n-i},e.forLastCrossRefSectionOffset=function(t){return new e(t)},e})(),Mf=xnt});var Ant,bE,i5=it(()=>{"use strict";Tn();Ant=(function(){function e(t){this.dict=t}return e.prototype.toString=function(){return`trailer
|
|
257
|
+
`+this.dict.toString()},e.prototype.sizeInBytes=function(){return 8+this.dict.sizeInBytes()},e.prototype.copyBytesInto=function(t,n){var i=n;return t[n++]=L.t,t[n++]=L.r,t[n++]=L.a,t[n++]=L.i,t[n++]=L.l,t[n++]=L.e,t[n++]=L.r,t[n++]=L.Newline,n+=this.dict.copyBytesInto(t,n),n-i},e.of=function(t){return new e(t)},e})(),bE=Ant});var wnt,lm,SE=it(()=>{"use strict";kt();nn();bi();Cb();Tn();pe();wnt=(function(e){ct(t,e);function t(n,i,r){r===void 0&&(r=!0);var s=e.call(this,n.obj({}),r)||this;return s.objects=i,s.offsets=s.computeObjectOffsets(),s.offsetsString=s.computeOffsetsString(),s.dict.set(N.of("Type"),N.of("ObjStm")),s.dict.set(N.of("N"),Pt.of(s.objects.length)),s.dict.set(N.of("First"),Pt.of(s.offsetsString.length)),s}return t.prototype.getObjectsCount=function(){return this.objects.length},t.prototype.clone=function(n){return t.withContextAndObjects(n||this.dict.context,this.objects.slice(),this.encode)},t.prototype.getContentsString=function(){for(var n=this.offsetsString,i=0,r=this.objects.length;i<r;i++){var s=this.objects[i],l=s[1];n+=l+`
|
|
258
|
+
`}return n},t.prototype.getUnencodedContents=function(){for(var n=new Uint8Array(this.getUnencodedContentsSize()),i=yn(this.offsetsString,n,0),r=0,s=this.objects.length;r<s;r++){var l=this.objects[r],c=l[1];i+=c.copyBytesInto(n,i),n[i++]=L.Newline}return n},t.prototype.getUnencodedContentsSize=function(){return this.offsetsString.length+ch(this.offsets)[1]+ch(this.objects)[1].sizeInBytes()+1},t.prototype.computeOffsetsString=function(){for(var n="",i=0,r=this.offsets.length;i<r;i++){var s=this.offsets[i],l=s[0],c=s[1];n+=l+" "+c+" "}return n},t.prototype.computeObjectOffsets=function(){for(var n=0,i=new Array(this.objects.length),r=0,s=this.objects.length;r<s;r++){var l=this.objects[r],c=l[0],d=l[1];i[r]=[c.objectNumber,n],n+=d.sizeInBytes()+1}return i},t.withContextAndObjects=function(n,i,r){return r===void 0&&(r=!0),new t(n,i,r)},t})(Of),lm=wnt});var Ent,um,a5=it(()=>{"use strict";kt();yE();am();Ob();i5();SE();Tn();pe();Ent=(function(){function e(t,n){var i=this;this.parsedObjects=0,this.shouldWaitForTick=function(r){return i.parsedObjects+=r,i.parsedObjects%i.objectsPerTick===0},this.context=t,this.objectsPerTick=n}return e.prototype.serializeToBuffer=function(){return It(this,void 0,void 0,function(){var t,n,i,r,s,l,c,d,h,p,y,g,b,S,w,D,A;return Xt(this,function(T){switch(T.label){case 0:return[4,this.computeBufferSize()];case 1:t=T.sent(),n=t.size,i=t.header,r=t.indirectObjects,s=t.xref,l=t.trailerDict,c=t.trailer,d=0,h=new Uint8Array(n),d+=i.copyBytesInto(h,d),h[d++]=L.Newline,h[d++]=L.Newline,p=0,y=r.length,T.label=2;case 2:return p<y?(g=r[p],b=g[0],S=g[1],w=String(b.objectNumber),d+=yn(w,h,d),h[d++]=L.Space,D=String(b.generationNumber),d+=yn(D,h,d),h[d++]=L.Space,h[d++]=L.o,h[d++]=L.b,h[d++]=L.j,h[d++]=L.Newline,d+=S.copyBytesInto(h,d),h[d++]=L.Newline,h[d++]=L.e,h[d++]=L.n,h[d++]=L.d,h[d++]=L.o,h[d++]=L.b,h[d++]=L.j,h[d++]=L.Newline,h[d++]=L.Newline,A=S instanceof lm?S.getObjectsCount():1,this.shouldWaitForTick(A)?[4,Ts()]:[3,4]):[3,5];case 3:T.sent(),T.label=4;case 4:return p++,[3,2];case 5:return s&&(d+=s.copyBytesInto(h,d),h[d++]=L.Newline),l&&(d+=l.copyBytesInto(h,d),h[d++]=L.Newline,h[d++]=L.Newline),d+=c.copyBytesInto(h,d),[2,h]}})})},e.prototype.computeIndirectObjectSize=function(t){var n=t[0],i=t[1],r=n.sizeInBytes()+3,s=i.sizeInBytes()+9;return r+s},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 It(this,void 0,void 0,function(){var t,n,i,r,s,l,c,d,h,p,y;return Xt(this,function(g){switch(g.label){case 0:t=Cl.forVersion(1,7),n=t.sizeInBytes()+2,i=sm.create(),r=this.context.enumerateIndirectObjects(),s=0,l=r.length,g.label=1;case 1:return s<l?(c=r[s],d=c[0],i.addEntry(d,n),n+=this.computeIndirectObjectSize(c),this.shouldWaitForTick(1)?[4,Ts()]:[3,3]):[3,4];case 2:g.sent(),g.label=3;case 3:return s++,[3,1];case 4:return h=n,n+=i.sizeInBytes()+1,p=bE.of(this.createTrailerDict()),n+=p.sizeInBytes()+2,y=Mf.forLastCrossRefSectionOffset(h),n+=y.sizeInBytes(),[2,{size:n,header:t,indirectObjects:r,xref:i,trailerDict:p,trailer:y}]}})})},e.forContext=function(t,n){return new e(t,n)},e})(),um=Ent});var Tnt,cm,xE=it(()=>{"use strict";kt();lr();Tnt=(function(e){ct(t,e);function t(n){var i=e.call(this)||this;return i.data=n,i}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(n,i){for(var r=this.data.length,s=0;s<r;s++)n[i++]=this.data[s];return r},t.of=function(n){return new t(n)},t})(pn),cm=Tnt});var _f,Cnt,AE,r5=it(()=>{"use strict";kt();nn();ur();Cb();pe();(function(e){e[e.Deleted=0]="Deleted",e[e.Uncompressed=1]="Uncompressed",e[e.Compressed=2]="Compressed"})(_f||(_f={}));Cnt=(function(e){ct(t,e);function t(n,i,r){r===void 0&&(r=!0);var s=e.call(this,n,r)||this;return s.computeIndex=function(){for(var l=[],c=0,d=0,h=s.entries.length;d<h;d++){var p=s.entries[d],y=s.entries[d-1];d===0?l.push(p.ref.objectNumber):p.ref.objectNumber-y.ref.objectNumber>1&&(l.push(c),l.push(p.ref.objectNumber),c=0),c+=1}return l.push(c),l},s.computeEntryTuples=function(){for(var l=new Array(s.entries.length),c=0,d=s.entries.length;c<d;c++){var h=s.entries[c];if(h.type===_f.Deleted){var p=h.type,y=h.nextFreeObjectNumber,g=h.ref;l[c]=[p,y,g.generationNumber]}if(h.type===_f.Uncompressed){var p=h.type,b=h.offset,g=h.ref;l[c]=[p,b,g.generationNumber]}if(h.type===_f.Compressed){var p=h.type,S=h.objectStreamRef,w=h.index;l[c]=[p,S.objectNumber,w]}}return l},s.computeMaxEntryByteWidths=function(){for(var l=s.entryTuplesCache.access(),c=[0,0,0],d=0,h=l.length;d<h;d++){var p=l[d],y=p[0],g=p[1],b=p[2],S=I0(y),w=I0(g),D=I0(b);S>c[0]&&(c[0]=S),w>c[1]&&(c[1]=w),D>c[2]&&(c[2]=D)}return c},s.entries=i||[],s.entryTuplesCache=Ca.populatedBy(s.computeEntryTuples),s.maxByteWidthsCache=Ca.populatedBy(s.computeMaxEntryByteWidths),s.indexCache=Ca.populatedBy(s.computeIndex),n.set(N.of("Type"),N.of("XRef")),s}return t.prototype.addDeletedEntry=function(n,i){var r=_f.Deleted;this.entries.push({type:r,ref:n,nextFreeObjectNumber:i}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.addUncompressedEntry=function(n,i){var r=_f.Uncompressed;this.entries.push({type:r,ref:n,offset:i}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.addCompressedEntry=function(n,i,r){var s=_f.Compressed;this.entries.push({type:s,ref:n,objectStreamRef:i,index:r}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.clone=function(n){var i=this,r=i.dict,s=i.entries,l=i.encode;return t.of(r.clone(n),s.slice(),l)},t.prototype.getContentsString=function(){for(var n=this.entryTuplesCache.access(),i=this.maxByteWidthsCache.access(),r="",s=0,l=n.length;s<l;s++){for(var c=n[s],d=c[0],h=c[1],p=c[2],y=yf(Sf(d)),g=yf(Sf(h)),b=yf(Sf(p)),S=i[0]-1;S>=0;S--)r+=(y[S]||0).toString(2);for(var S=i[1]-1;S>=0;S--)r+=(g[S]||0).toString(2);for(var S=i[2]-1;S>=0;S--)r+=(b[S]||0).toString(2)}return r},t.prototype.getUnencodedContents=function(){for(var n=this.entryTuplesCache.access(),i=this.maxByteWidthsCache.access(),r=new Uint8Array(this.getUnencodedContentsSize()),s=0,l=0,c=n.length;l<c;l++){for(var d=n[l],h=d[0],p=d[1],y=d[2],g=yf(Sf(h)),b=yf(Sf(p)),S=yf(Sf(y)),w=i[0]-1;w>=0;w--)r[s++]=g[w]||0;for(var w=i[1]-1;w>=0;w--)r[s++]=b[w]||0;for(var w=i[2]-1;w>=0;w--)r[s++]=S[w]||0}return r},t.prototype.getUnencodedContentsSize=function(){var n=this.maxByteWidthsCache.access(),i=UF(n);return i*this.entries.length},t.prototype.updateDict=function(){e.prototype.updateDict.call(this);var n=this.maxByteWidthsCache.access(),i=this.indexCache.access(),r=this.dict.context;this.dict.set(N.of("W"),r.obj(n)),this.dict.set(N.of("Index"),r.obj(i))},t.create=function(n,i){i===void 0&&(i=!0);var r=new t(n,[],i);return r.addDeletedEntry(ie.of(0,65535),0),r},t.of=function(n,i,r){return r===void 0&&(r=!0),new t(n,i,r)},t})(Of),AE=Cnt});var Dnt,wE,uG=it(()=>{"use strict";kt();am();Ob();xE();nn();bi();ur();zu();r5();SE();a5();pe();Dnt=(function(e){ct(t,e);function t(n,i,r,s){var l=e.call(this,n,i)||this;return l.encodeStreams=r,l.objectsPerStream=s,l}return t.prototype.computeBufferSize=function(){return It(this,void 0,void 0,function(){var n,i,r,s,l,c,d,h,S,w,p,A,y,g,D,b,S,w,D,A,T,C,O,M;return Xt(this,function(k){switch(k.label){case 0:n=this.context.largestObjectNumber+1,i=Cl.forVersion(1,7),r=i.sizeInBytes()+2,s=AE.create(this.createTrailerDict(),this.encodeStreams),l=[],c=[],d=[],h=this.context.enumerateIndirectObjects(),S=0,w=h.length,k.label=1;case 1:return S<w?(p=h[S],A=p[0],y=p[1],g=A===this.context.trailerInfo.Encrypt||y instanceof Ln||y instanceof cm||A.generationNumber!==0,g?(l.push(p),s.addUncompressedEntry(A,r),r+=this.computeIndirectObjectSize(p),this.shouldWaitForTick(1)?[4,Ts()]:[3,3]):[3,4]):[3,6];case 2:k.sent(),k.label=3;case 3:return[3,5];case 4:D=ch(c),b=ch(d),(!D||D.length%this.objectsPerStream===0)&&(D=[],c.push(D),b=ie.of(n++),d.push(b)),s.addCompressedEntry(A,b,D.length),D.push(p),k.label=5;case 5:return S++,[3,1];case 6:S=0,w=c.length,k.label=7;case 7:return S<w?(D=c[S],A=d[S],T=lm.withContextAndObjects(this.context,D,this.encodeStreams),s.addUncompressedEntry(A,r),r+=this.computeIndirectObjectSize([A,T]),l.push([A,T]),this.shouldWaitForTick(D.length)?[4,Ts()]:[3,9]):[3,10];case 8:k.sent(),k.label=9;case 9:return S++,[3,7];case 10:return C=ie.of(n++),s.dict.set(N.of("Size"),Pt.of(n)),s.addUncompressedEntry(C,r),O=r,r+=this.computeIndirectObjectSize([C,s]),l.push([C,s]),M=Mf.forLastCrossRefSectionOffset(O),r+=M.sizeInBytes(),[2,{size:r,header:i,indirectObjects:l,trailer:M}]}})})},t.forContext=function(n,i,r,s){return r===void 0&&(r=!0),s===void 0&&(s=50),new t(n,i,r,s)},t})(um),wE=Dnt});var Rnt,Lt,zr=it(()=>{"use strict";kt();lr();Tn();pe();En();Rnt=(function(e){ct(t,e);function t(n){var i=e.call(this)||this;return i.value=n,i}return t.prototype.asBytes=function(){for(var n=this.value+(this.value.length%2===1?"0":""),i=n.length,r=new Uint8Array(n.length/2),s=0,l=0;s<i;){var c=parseInt(n.substring(s,s+2),16);r[l]=c,s+=2,l+=1}return r},t.prototype.decodeText=function(){var n=this.asBytes();return Jy(n)?Qy(n):Ab(n)},t.prototype.decodeDate=function(){var n=this.decodeText(),i=Xy(n);if(!i)throw new wb(n);return i},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(n,i){return n[i++]=L.LessThan,i+=yn(this.value,n,i),n[i++]=L.GreaterThan,this.value.length+2},t.of=function(n){return new t(n)},t.fromText=function(n){for(var i=qF(n),r="",s=0,l=i.length;s<l;s++)r+=bl(i[s],4);return new t(r)},t})(pn),Lt=Rnt});var Ont,Ff,cG=it(()=>{"use strict";M3();zr();pe();Ont=(function(){function e(t,n){this.encoding=t===Sh.ZapfDingbats?yb.ZapfDingbats:t===Sh.Symbol?yb.Symbol:yb.WinAnsi,this.font=PV.load(t),this.fontName=this.font.FontName,this.customName=n}return e.prototype.encodeText=function(t){for(var n=this.encodeTextAsGlyphs(t),i=new Array(n.length),r=0,s=n.length;r<s;r++)i[r]=Sl(n[r].code);return Lt.of(i.join(""))},e.prototype.widthOfTextAtSize=function(t,n){for(var i=this.encodeTextAsGlyphs(t),r=0,s=0,l=i.length;s<l;s++){var c=i[s].name,d=(i[s+1]||{}).name,h=this.font.getXAxisKerningForPair(c,d)||0;r+=this.widthOfGlyph(c)+h}var p=n/1e3;return r*p},e.prototype.heightOfFontAtSize=function(t,n){n===void 0&&(n={});var i=n.descender,r=i===void 0?!0:i,s=this.font,l=s.Ascender,c=s.Descender,d=s.FontBBox,h=l||d[3],p=c||d[1],y=h-p;return r||(y+=c||0),y/1e3*t},e.prototype.sizeOfFontAtHeight=function(t){var n=this.font,i=n.Ascender,r=n.Descender,s=n.FontBBox,l=i||s[3],c=r||s[1];return 1e3*t/(l-c)},e.prototype.embedIntoContext=function(t,n){var i=t.obj({Type:"Font",Subtype:"Type1",BaseFont:this.customName||this.fontName,Encoding:this.encoding===yb.WinAnsi?"WinAnsiEncoding":void 0});return n?(t.assign(n,i),n):t.register(i)},e.prototype.widthOfGlyph=function(t){return this.font.getWidthOfGlyph(t)||250},e.prototype.encodeTextAsGlyphs=function(t){for(var n=Array.from(t),i=new Array(n.length),r=0,s=n.length;r<s;r++){var l=OF(n[r]);i[r]=this.encoding.encodeUnicodeCodePoint(l)}return i},e.for=function(t,n){return new e(t,n)},e})(),Ff=Ont});var dG,Mnt,fG,EE,_nt,hG=it(()=>{"use strict";pe();IF();dG=function(e,t){for(var n=new Array(e.length),i=0,r=e.length;i<r;i++){var s=e[i],l=fG(EE(t(s))),c=fG.apply(void 0,s.codePoints.map(_nt));n[i]=[l,c]}return Mnt(n)},Mnt=function(e){return`/CIDInit /ProcSet findresource begin
|
|
259
|
+
12 dict begin
|
|
260
|
+
begincmap
|
|
261
|
+
/CIDSystemInfo <<
|
|
262
|
+
/Registry (Adobe)
|
|
263
|
+
/Ordering (UCS)
|
|
264
|
+
/Supplement 0
|
|
265
|
+
>> def
|
|
266
|
+
/CMapName /Adobe-Identity-UCS def
|
|
267
|
+
/CMapType 2 def
|
|
268
|
+
1 begincodespacerange
|
|
269
|
+
<0000><ffff>
|
|
270
|
+
endcodespacerange
|
|
271
|
+
`+e.length+` beginbfchar
|
|
272
|
+
`+e.map(function(t){var n=t[0],i=t[1];return n+" "+i}).join(`
|
|
273
|
+
`)+`
|
|
274
|
+
endbfchar
|
|
275
|
+
endcmap
|
|
276
|
+
CMapName currentdict /CMap defineresource pop
|
|
277
|
+
end
|
|
278
|
+
end`},fG=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"<"+e.join("")+">"},EE=function(e){return bl(e,4)},_nt=function(e){if(VF(e))return EE(e);if(GF(e)){var t=Xw(e),n=Yw(e);return""+EE(t)+EE(n)}var i=Sl(e),r="0x"+i+" is not a valid UTF-8 or UTF-16 codepoint.";throw new Error(r)}});var Fnt,pG,mG=it(()=>{"use strict";Fnt=function(e){var t=0,n=function(i){t|=1<<i-1};return e.fixedPitch&&n(1),e.serif&&n(2),e.symbolic&&n(3),e.script&&n(4),e.nonsymbolic&&n(6),e.italic&&n(7),e.allCap&&n(17),e.smallCap&&n(18),e.forceBold&&n(19),t},pG=function(e){var t=e["OS/2"]?e["OS/2"].sFamilyClass:0,n=Fnt({fixedPitch:e.post.isFixedPitch,serif:1<=t&&t<=7,symbolic:!0,script:t===10,italic:e.head.macStyle.italic});return n}});var Nnt,Ce,Os=it(()=>{"use strict";kt();lr();Tn();pe();En();Nnt=(function(e){ct(t,e);function t(n){var i=e.call(this)||this;return i.value=n,i}return t.prototype.asBytes=function(){for(var n=[],i="",r=!1,s=function(y){y!==void 0&&n.push(y),r=!1},l=0,c=this.value.length;l<c;l++){var d=this.value[l],h=re(d),p=this.value[l+1];r?h===L.Newline||h===L.CarriageReturn?s():h===L.n?s(L.Newline):h===L.r?s(L.CarriageReturn):h===L.t?s(L.Tab):h===L.b?s(L.Backspace):h===L.f?s(L.FormFeed):h===L.LeftParen?s(L.LeftParen):h===L.RightParen?s(L.RightParen):h===L.Backspace?s(L.BackSlash):h>=L.Zero&&h<=L.Seven?(i+=d,(i.length===3||!(p>="0"&&p<="7"))&&(s(parseInt(i,8)),i="")):s(h):h===L.BackSlash?r=!0:s(h)}return new Uint8Array(n)},t.prototype.decodeText=function(){var n=this.asBytes();return Jy(n)?Qy(n):Ab(n)},t.prototype.decodeDate=function(){var n=this.decodeText(),i=Xy(n);if(!i)throw new wb(n);return i},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(n,i){return n[i++]=L.LeftParen,i+=yn(this.value,n,i),n[i++]=L.RightParen,this.value.length+2},t.of=function(n){return new t(n)},t.fromDate=function(n){var i=Mr(String(n.getUTCFullYear()),4,"0"),r=Mr(String(n.getUTCMonth()+1),2,"0"),s=Mr(String(n.getUTCDate()),2,"0"),l=Mr(String(n.getUTCHours()),2,"0"),c=Mr(String(n.getUTCMinutes()),2,"0"),d=Mr(String(n.getUTCSeconds()),2,"0");return new t("D:"+i+r+s+l+c+d+"Z")},t})(pn),Ce=Nnt});var znt,Nf,o5=it(()=>{"use strict";kt();hG();mG();zr();Os();pe();znt=(function(){function e(t,n,i,r){var s=this;this.allGlyphsInFontSortedById=function(){for(var l=new Array(s.font.characterSet.length),c=0,d=l.length;c<d;c++){var h=s.font.characterSet[c];l[c]=s.font.glyphForCodePoint(h)}return PF(l.sort(LF),function(p){return p.id})},this.font=t,this.scale=1e3/this.font.unitsPerEm,this.fontData=n,this.fontName=this.font.postscriptName||"Font",this.customName=i,this.fontFeatures=r,this.baseFontName="",this.glyphCache=Ca.populatedBy(this.allGlyphsInFontSortedById)}return e.for=function(t,n,i,r){return It(this,void 0,void 0,function(){var s;return Xt(this,function(l){switch(l.label){case 0:return[4,t.create(n)];case 1:return s=l.sent(),[2,new e(s,n,i,r)]}})})},e.prototype.encodeText=function(t){for(var n=this.font.layout(t,this.fontFeatures).glyphs,i=new Array(n.length),r=0,s=n.length;r<s;r++)i[r]=bl(n[r].id,4);return Lt.of(i.join(""))},e.prototype.widthOfTextAtSize=function(t,n){for(var i=this.font.layout(t,this.fontFeatures).glyphs,r=0,s=0,l=i.length;s<l;s++)r+=i[s].advanceWidth*this.scale;var c=n/1e3;return r*c},e.prototype.heightOfFontAtSize=function(t,n){n===void 0&&(n={});var i=n.descender,r=i===void 0?!0:i,s=this.font,l=s.ascent,c=s.descent,d=s.bbox,h=(l||d.maxY)*this.scale,p=(c||d.minY)*this.scale,y=h-p;return r||(y-=Math.abs(c)||0),y/1e3*t},e.prototype.sizeOfFontAtHeight=function(t){var n=this.font,i=n.ascent,r=n.descent,s=n.bbox,l=(i||s.maxY)*this.scale,c=(r||s.minY)*this.scale;return 1e3*t/(l-c)},e.prototype.embedIntoContext=function(t,n){return this.baseFontName=this.customName||t.addRandomSuffix(this.fontName),this.embedFontDict(t,n)},e.prototype.embedFontDict=function(t,n){return It(this,void 0,void 0,function(){var i,r,s;return Xt(this,function(l){switch(l.label){case 0:return[4,this.embedCIDFontDict(t)];case 1:return i=l.sent(),r=this.embedUnicodeCmap(t),s=t.obj({Type:"Font",Subtype:"Type0",BaseFont:this.baseFontName,Encoding:"Identity-H",DescendantFonts:[i],ToUnicode:r}),n?(t.assign(n,s),[2,n]):[2,t.register(s)]}})})},e.prototype.isCFF=function(){return this.font.cff},e.prototype.embedCIDFontDict=function(t){return It(this,void 0,void 0,function(){var n,i;return Xt(this,function(r){switch(r.label){case 0:return[4,this.embedFontDescriptor(t)];case 1:return n=r.sent(),i=t.obj({Type:"Font",Subtype:this.isCFF()?"CIDFontType0":"CIDFontType2",CIDToGIDMap:"Identity",BaseFont:this.baseFontName,CIDSystemInfo:{Registry:Ce.of("Adobe"),Ordering:Ce.of("Identity"),Supplement:0},FontDescriptor:n,W:this.computeWidths()}),[2,t.register(i)]}})})},e.prototype.embedFontDescriptor=function(t){return It(this,void 0,void 0,function(){var n,i,r,s,l,c,d,h,p,y,g,b,S,w,D;return Xt(this,function(A){switch(A.label){case 0:return[4,this.embedFontStream(t)];case 1:return n=A.sent(),i=this.scale,r=this.font,s=r.italicAngle,l=r.ascent,c=r.descent,d=r.capHeight,h=r.xHeight,p=this.font.bbox,y=p.minX,g=p.minY,b=p.maxX,S=p.maxY,w=t.obj((D={Type:"FontDescriptor",FontName:this.baseFontName,Flags:pG(this.font),FontBBox:[y*i,g*i,b*i,S*i],ItalicAngle:s,Ascent:l*i,Descent:c*i,CapHeight:(d||l)*i,XHeight:(h||0)*i,StemV:0},D[this.isCFF()?"FontFile3":"FontFile2"]=n,D)),[2,t.register(w)]}})})},e.prototype.serializeFont=function(){return It(this,void 0,void 0,function(){return Xt(this,function(t){return[2,this.fontData]})})},e.prototype.embedFontStream=function(t){return It(this,void 0,void 0,function(){var n,i,r;return Xt(this,function(s){switch(s.label){case 0:return r=(i=t).flateStream,[4,this.serializeFont()];case 1:return n=r.apply(i,[s.sent(),{Subtype:this.isCFF()?"CIDFontType0C":void 0}]),[2,t.register(n)]}})})},e.prototype.embedUnicodeCmap=function(t){var n=dG(this.glyphCache.access(),this.glyphId.bind(this)),i=t.flateStream(n);return t.register(i)},e.prototype.glyphId=function(t){return t?t.id:-1},e.prototype.computeWidths=function(){for(var t=this.glyphCache.access(),n=[],i=[],r=0,s=t.length;r<s;r++){var l=t[r],c=t[r-1],d=this.glyphId(l),h=this.glyphId(c);r===0?n.push(d):d-h!==1&&(n.push(i),n.push(d),i=[]),i.push(l.advanceWidth*this.scale)}return n.push(i),n},e})(),Nf=znt});var knt,TE,gG=it(()=>{"use strict";kt();o5();zr();pe();knt=(function(e){ct(t,e);function t(n,i,r,s){var l=e.call(this,n,i,r,s)||this;return l.subset=l.font.createSubset(),l.glyphs=[],l.glyphCache=Ca.populatedBy(function(){return l.glyphs}),l.glyphIdMap=new Map,l}return t.for=function(n,i,r,s){return It(this,void 0,void 0,function(){var l;return Xt(this,function(c){switch(c.label){case 0:return[4,n.create(i)];case 1:return l=c.sent(),[2,new t(l,i,r,s)]}})})},t.prototype.encodeText=function(n){for(var i=this.font.layout(n,this.fontFeatures).glyphs,r=new Array(i.length),s=0,l=i.length;s<l;s++){var c=i[s],d=this.subset.includeGlyph(c);this.glyphs[d-1]=c,this.glyphIdMap.set(c.id,d),r[s]=bl(d,4)}return this.glyphCache.invalidate(),Lt.of(r.join(""))},t.prototype.isCFF=function(){return this.subset.cff},t.prototype.glyphId=function(n){return n?this.glyphIdMap.get(n.id):-1},t.prototype.serializeFont=function(){var n=this;return new Promise(function(i,r){var s=[];n.subset.encodeStream().on("data",function(l){return s.push(l)}).on("end",function(){return i(kF(s))}).on("error",function(l){return r(l)})})},t})(Nf),TE=knt});var fm,Lnt,CE,s5=it(()=>{"use strict";kt();Os();zr();(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"})(fm||(fm={}));Lnt=(function(){function e(t,n,i){i===void 0&&(i={}),this.fileData=t,this.fileName=n,this.options=i}return e.for=function(t,n,i){return i===void 0&&(i={}),new e(t,n,i)},e.prototype.embedIntoContext=function(t,n){return It(this,void 0,void 0,function(){var i,r,s,l,c,d,h,p,y;return Xt(this,function(g){return i=this.options,r=i.mimeType,s=i.description,l=i.creationDate,c=i.modificationDate,d=i.afRelationship,h=t.flateStream(this.fileData,{Type:"EmbeddedFile",Subtype:r??void 0,Params:{Size:this.fileData.length,CreationDate:l?Ce.fromDate(l):void 0,ModDate:c?Ce.fromDate(c):void 0}}),p=t.register(h),y=t.obj({Type:"Filespec",F:Ce.of(this.fileName),UF:Lt.fromText(this.fileName),EF:{F:p},Desc:s?Lt.fromText(s):void 0,AFRelationship:d??void 0}),n?(t.assign(n,y),[2,n]):[2,t.register(y)]})})},e})(),CE=Lnt});var vG,dm,Pnt,Unt,hm,yG=it(()=>{"use strict";kt();vG=[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487];(function(e){e.DeviceGray="DeviceGray",e.DeviceRGB="DeviceRGB",e.DeviceCMYK="DeviceCMYK"})(dm||(dm={}));Pnt={1:dm.DeviceGray,3:dm.DeviceRGB,4:dm.DeviceCMYK},Unt=(function(){function e(t,n,i,r,s){this.imageData=t,this.bitsPerComponent=n,this.width=i,this.height=r,this.colorSpace=s}return e.for=function(t){return It(this,void 0,void 0,function(){var n,i,r,s,l,c,d,h,p,y;return Xt(this,function(g){if(n=new DataView(t.buffer),i=n.getUint16(0),i!==65496)throw new Error("SOI not found in JPEG");for(r=2;r<n.byteLength&&(s=n.getUint16(r),r+=2,!vG.includes(s));)r+=n.getUint16(r);if(!vG.includes(s))throw new Error("Invalid JPEG");if(r+=2,l=n.getUint8(r++),c=n.getUint16(r),r+=2,d=n.getUint16(r),r+=2,h=n.getUint8(r++),p=Pnt[h],!p)throw new Error("Unknown JPEG channel.");return y=p,[2,new e(t,l,d,c,y)]})})},e.prototype.embedIntoContext=function(t,n){return It(this,void 0,void 0,function(){var i;return Xt(this,function(r){return i=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===dm.DeviceCMYK?[1,0,1,0,1,0,1,0]:void 0}),n?(t.assign(n,i),[2,n]):[2,t.register(i)]})})},e})(),hm=Unt});var bG,St,l5,SG=it(()=>{"use strict";bG=zn(mb()),St={};St.toRGBA8=function(e){var t=e.width,n=e.height;if(e.tabs.acTL==null)return[St.toRGBA8.decodeImage(e.data,t,n,e).buffer];var i=[];e.frames[0].data==null&&(e.frames[0].data=e.data);for(var r=t*n*4,s=new Uint8Array(r),l=new Uint8Array(r),c=new Uint8Array(r),d=0;d<e.frames.length;d++){var h=e.frames[d],p=h.rect.x,y=h.rect.y,g=h.rect.width,b=h.rect.height,S=St.toRGBA8.decodeImage(h.data,g,b,e);if(d!=0)for(var w=0;w<r;w++)c[w]=s[w];if(h.blend==0?St._copyTile(S,g,b,s,t,n,p,y,0):h.blend==1&&St._copyTile(S,g,b,s,t,n,p,y,1),i.push(s.buffer.slice(0)),h.dispose!=0){if(h.dispose==1)St._copyTile(l,g,b,s,t,n,p,y,0);else if(h.dispose==2)for(var w=0;w<r;w++)s[w]=c[w]}}return i};St.toRGBA8.decodeImage=function(e,t,n,i){var r=t*n,s=St.decode._getBPP(i),l=Math.ceil(t*s/8),c=new Uint8Array(r*4),d=new Uint32Array(c.buffer),h=i.ctype,p=i.depth,y=St._bin.readUshort,g=Date.now();if(h==6){var b=r<<2;if(p==8)for(var S=0;S<b;S+=4)c[S]=e[S],c[S+1]=e[S+1],c[S+2]=e[S+2],c[S+3]=e[S+3];if(p==16)for(var S=0;S<b;S++)c[S]=e[S<<1]}else if(h==2){var w=i.tabs.tRNS;if(w==null){if(p==8)for(var S=0;S<r;S++){var D=S*3;d[S]=255<<24|e[D+2]<<16|e[D+1]<<8|e[D]}if(p==16)for(var S=0;S<r;S++){var D=S*6;d[S]=255<<24|e[D+4]<<16|e[D+2]<<8|e[D]}}else{var A=w[0],T=w[1],C=w[2];if(p==8)for(var S=0;S<r;S++){var O=S<<2,D=S*3;d[S]=255<<24|e[D+2]<<16|e[D+1]<<8|e[D],e[D]==A&&e[D+1]==T&&e[D+2]==C&&(c[O+3]=0)}if(p==16)for(var S=0;S<r;S++){var O=S<<2,D=S*6;d[S]=255<<24|e[D+4]<<16|e[D+2]<<8|e[D],y(e,D)==A&&y(e,D+2)==T&&y(e,D+4)==C&&(c[O+3]=0)}}}else if(h==3){var M=i.tabs.PLTE,k=i.tabs.tRNS,z=k?k.length:0;if(p==1)for(var P=0;P<n;P++)for(var U=P*l,B=P*t,S=0;S<t;S++){var O=B+S<<2,W=e[U+(S>>3)]>>7-((S&7)<<0)&1,Y=3*W;c[O]=M[Y],c[O+1]=M[Y+1],c[O+2]=M[Y+2],c[O+3]=W<z?k[W]:255}if(p==2)for(var P=0;P<n;P++)for(var U=P*l,B=P*t,S=0;S<t;S++){var O=B+S<<2,W=e[U+(S>>2)]>>6-((S&3)<<1)&3,Y=3*W;c[O]=M[Y],c[O+1]=M[Y+1],c[O+2]=M[Y+2],c[O+3]=W<z?k[W]:255}if(p==4)for(var P=0;P<n;P++)for(var U=P*l,B=P*t,S=0;S<t;S++){var O=B+S<<2,W=e[U+(S>>1)]>>4-((S&1)<<2)&15,Y=3*W;c[O]=M[Y],c[O+1]=M[Y+1],c[O+2]=M[Y+2],c[O+3]=W<z?k[W]:255}if(p==8)for(var S=0;S<r;S++){var O=S<<2,W=e[S],Y=3*W;c[O]=M[Y],c[O+1]=M[Y+1],c[O+2]=M[Y+2],c[O+3]=W<z?k[W]:255}}else if(h==4){if(p==8)for(var S=0;S<r;S++){var O=S<<2,ot=S<<1,ft=e[ot];c[O]=ft,c[O+1]=ft,c[O+2]=ft,c[O+3]=e[ot+1]}if(p==16)for(var S=0;S<r;S++){var O=S<<2,ot=S<<2,ft=e[ot];c[O]=ft,c[O+1]=ft,c[O+2]=ft,c[O+3]=e[ot+2]}}else if(h==0)for(var A=i.tabs.tRNS?i.tabs.tRNS:-1,P=0;P<n;P++){var $=P*l,tt=P*t;if(p==1)for(var K=0;K<t;K++){var ft=255*(e[$+(K>>>3)]>>>7-(K&7)&1),wt=ft==A*255?0:255;d[tt+K]=wt<<24|ft<<16|ft<<8|ft}else if(p==2)for(var K=0;K<t;K++){var ft=85*(e[$+(K>>>2)]>>>6-((K&3)<<1)&3),wt=ft==A*85?0:255;d[tt+K]=wt<<24|ft<<16|ft<<8|ft}else if(p==4)for(var K=0;K<t;K++){var ft=17*(e[$+(K>>>1)]>>>4-((K&1)<<2)&15),wt=ft==A*17?0:255;d[tt+K]=wt<<24|ft<<16|ft<<8|ft}else if(p==8)for(var K=0;K<t;K++){var ft=e[$+K],wt=ft==A?0:255;d[tt+K]=wt<<24|ft<<16|ft<<8|ft}else if(p==16)for(var K=0;K<t;K++){var ft=e[$+(K<<1)],wt=y(e,$+(K<<S))==A?0:255;d[tt+K]=wt<<24|ft<<16|ft<<8|ft}}return c};St.decode=function(e){for(var t=new Uint8Array(e),n=8,i=St._bin,r=i.readUshort,s=i.readUint,l={tabs:{},frames:[]},c=new Uint8Array(t.length),d=0,h,p=0,y=[137,80,78,71,13,10,26,10],g=0;g<8;g++)if(t[g]!=y[g])throw"The input is not a PNG file!";for(;n<t.length;){var b=i.readUint(t,n);n+=4;var S=i.readASCII(t,n,4);if(n+=4,S=="IHDR")St.decode._IHDR(t,n,l);else if(S=="IDAT"){for(var g=0;g<b;g++)c[d+g]=t[n+g];d+=b}else if(S=="acTL")l.tabs[S]={num_frames:s(t,n),num_plays:s(t,n+4)},h=new Uint8Array(t.length);else if(S=="fcTL"){if(p!=0){var w=l.frames[l.frames.length-1];w.data=St.decode._decompress(l,h.slice(0,p),w.rect.width,w.rect.height),p=0}var D={x:s(t,n+12),y:s(t,n+16),width:s(t,n+4),height:s(t,n+8)},A=r(t,n+22);A=r(t,n+20)/(A==0?100:A);var T={rect:D,delay:Math.round(A*1e3),dispose:t[n+24],blend:t[n+25]};l.frames.push(T)}else if(S=="fdAT"){for(var g=0;g<b-4;g++)h[p+g]=t[n+g+4];p+=b-4}else if(S=="pHYs")l.tabs[S]=[i.readUint(t,n),i.readUint(t,n+4),t[n+8]];else if(S=="cHRM"){l.tabs[S]=[];for(var g=0;g<8;g++)l.tabs[S].push(i.readUint(t,n+g*4))}else if(S=="tEXt"){l.tabs[S]==null&&(l.tabs[S]={});var C=i.nextZero(t,n),O=i.readASCII(t,n,C-n),M=i.readASCII(t,C+1,n+b-C-1);l.tabs[S][O]=M}else if(S=="iTXt"){l.tabs[S]==null&&(l.tabs[S]={});var C=0,k=n;C=i.nextZero(t,k);var O=i.readASCII(t,k,C-k);k=C+1;var z=t[k],P=t[k+1];k+=2,C=i.nextZero(t,k);var U=i.readASCII(t,k,C-k);k=C+1,C=i.nextZero(t,k);var B=i.readUTF8(t,k,C-k);k=C+1;var M=i.readUTF8(t,k,b-(k-n));l.tabs[S][O]=M}else if(S=="PLTE")l.tabs[S]=i.readBytes(t,n,b);else if(S=="hIST"){var W=l.tabs.PLTE.length/3;l.tabs[S]=[];for(var g=0;g<W;g++)l.tabs[S].push(r(t,n+g*2))}else if(S=="tRNS")l.ctype==3?l.tabs[S]=i.readBytes(t,n,b):l.ctype==0?l.tabs[S]=r(t,n):l.ctype==2&&(l.tabs[S]=[r(t,n),r(t,n+2),r(t,n+4)]);else if(S=="gAMA")l.tabs[S]=i.readUint(t,n)/1e5;else if(S=="sRGB")l.tabs[S]=t[n];else if(S=="bKGD")l.ctype==0||l.ctype==4?l.tabs[S]=[r(t,n)]:l.ctype==2||l.ctype==6?l.tabs[S]=[r(t,n),r(t,n+2),r(t,n+4)]:l.ctype==3&&(l.tabs[S]=t[n]);else if(S=="IEND")break;n+=b;var Y=i.readUint(t,n);n+=4}if(p!=0){var w=l.frames[l.frames.length-1];w.data=St.decode._decompress(l,h.slice(0,p),w.rect.width,w.rect.height),p=0}return l.data=St.decode._decompress(l,c,l.width,l.height),delete l.compress,delete l.interlace,delete l.filter,l};St.decode._decompress=function(e,t,n,i){var c=Date.now(),r=St.decode._getBPP(e),s=Math.ceil(n*r/8),l=new Uint8Array((s+1+e.interlace)*i);t=St.decode._inflate(t,l);var c=Date.now();return e.interlace==0?t=St.decode._filterZero(t,e,0,n,i):e.interlace==1&&(t=St.decode._readInterlace(t,e)),t};St.decode._inflate=function(e,t){var n=St.inflateRaw(new Uint8Array(e.buffer,2,e.length-6),t);return n};St.inflateRaw=(function(){var e={};return e.H={},e.H.N=function(t,n){var i=Uint8Array,r=0,s=0,l=0,c=0,d=0,h=0,p=0,y=0,g=0,b,S;if(t[0]==3&&t[1]==0)return n||new i(0);var w=e.H,D=w.b,A=w.e,T=w.R,C=w.n,O=w.A,M=w.Z,k=w.m,z=n==null;for(z&&(n=new i(t.length>>>2<<3));r==0;){if(r=D(t,g,1),s=D(t,g+1,2),g+=3,s==0){(g&7)!=0&&(g+=8-(g&7));var P=(g>>>3)+4,U=t[P-4]|t[P-3]<<8;z&&(n=e.H.W(n,y+U)),n.set(new i(t.buffer,t.byteOffset+P,U),y),g=P+U<<3,y+=U;continue}if(z&&(n=e.H.W(n,y+(1<<17))),s==1&&(b=k.J,S=k.h,h=511,p=31),s==2){l=A(t,g,5)+257,c=A(t,g+5,5)+1,d=A(t,g+10,4)+4,g+=14;for(var B=g,W=1,Y=0;Y<38;Y+=2)k.Q[Y]=0,k.Q[Y+1]=0;for(var Y=0;Y<d;Y++){var ot=A(t,g+Y*3,3);k.Q[(k.X[Y]<<1)+1]=ot,ot>W&&(W=ot)}g+=3*d,C(k.Q,W),O(k.Q,W,k.u),b=k.w,S=k.d,g=T(k.u,(1<<W)-1,l+c,t,g,k.v);var ft=w.V(k.v,0,l,k.C);h=(1<<ft)-1;var $=w.V(k.v,l,c,k.D);p=(1<<$)-1,C(k.C,ft),O(k.C,ft,b),C(k.D,$),O(k.D,$,S)}for(;;){var tt=b[M(t,g)&h];g+=tt&15;var K=tt>>>4;if(!(K>>>8))n[y++]=K;else{if(K==256)break;var wt=y+K-254;if(K>264){var Ct=k.q[K-257];wt=y+(Ct>>>3)+A(t,g,Ct&7),g+=Ct&7}var Yt=S[M(t,g)&p];g+=Yt&15;var nt=Yt>>>4,yt=k.c[nt],Tt=(yt>>>4)+D(t,g,yt&15);for(g+=yt&15;y<wt;)n[y]=n[y++-Tt],n[y]=n[y++-Tt],n[y]=n[y++-Tt],n[y]=n[y++-Tt];y=wt}}}return n.length==y?n:n.slice(0,y)},e.H.W=function(t,n){var i=t.length;if(n<=i)return t;var r=new Uint8Array(i<<1);return r.set(t,0),r},e.H.R=function(t,n,i,r,s,l){for(var c=e.H.e,d=e.H.Z,h=0;h<i;){var p=t[d(r,s)&n];s+=p&15;var y=p>>>4;if(y<=15)l[h]=y,h++;else{var g=0,b=0;y==16?(b=3+c(r,s,2),s+=2,g=l[h-1]):y==17?(b=3+c(r,s,3),s+=3):y==18&&(b=11+c(r,s,7),s+=7);for(var S=h+b;h<S;)l[h]=g,h++}}return s},e.H.V=function(t,n,i,r){for(var s=0,l=0,c=r.length>>>1;l<i;){var d=t[l+n];r[l<<1]=0,r[(l<<1)+1]=d,d>s&&(s=d),l++}for(;l<c;)r[l<<1]=0,r[(l<<1)+1]=0,l++;return s},e.H.n=function(t,n){for(var i=e.H.m,r=t.length,s,l,c,d,h,p=i.j,d=0;d<=n;d++)p[d]=0;for(d=1;d<r;d+=2)p[t[d]]++;var y=i.K;for(s=0,p[0]=0,l=1;l<=n;l++)s=s+p[l-1]<<1,y[l]=s;for(c=0;c<r;c+=2)h=t[c+1],h!=0&&(t[c]=y[h],y[h]++)},e.H.A=function(t,n,i){for(var r=t.length,s=e.H.m,l=s.r,c=0;c<r;c+=2)if(t[c+1]!=0)for(var d=c>>1,h=t[c+1],p=d<<4|h,y=n-h,g=t[c]<<y,b=g+(1<<y);g!=b;){var S=l[g]>>>15-n;i[S]=p,g++}},e.H.l=function(t,n){for(var i=e.H.m.r,r=15-n,s=0;s<t.length;s+=2){var l=t[s]<<n-t[s+1];t[s]=i[l]>>>r}},e.H.M=function(t,n,i){i=i<<(n&7);var r=n>>>3;t[r]|=i,t[r+1]|=i>>>8},e.H.I=function(t,n,i){i=i<<(n&7);var r=n>>>3;t[r]|=i,t[r+1]|=i>>>8,t[r+2]|=i>>>16},e.H.e=function(t,n,i){return(t[n>>>3]|t[(n>>>3)+1]<<8)>>>(n&7)&(1<<i)-1},e.H.b=function(t,n,i){return(t[n>>>3]|t[(n>>>3)+1]<<8|t[(n>>>3)+2]<<16)>>>(n&7)&(1<<i)-1},e.H.Z=function(t,n){return(t[n>>>3]|t[(n>>>3)+1]<<8|t[(n>>>3)+2]<<16)>>>(n&7)},e.H.i=function(t,n){return(t[n>>>3]|t[(n>>>3)+1]<<8|t[(n>>>3)+2]<<16|t[(n>>>3)+3]<<24)>>>(n&7)},e.H.m=(function(){var t=Uint16Array,n=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 n(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 n(286),Y:new n(30),a:new n(19),t:new n(15e3),k:new t(65536),g:new t(32768)}})(),(function(){for(var t=e.H.m,n=32768,i=0;i<n;i++){var r=i;r=(r&2863311530)>>>1|(r&1431655765)<<1,r=(r&3435973836)>>>2|(r&858993459)<<2,r=(r&4042322160)>>>4|(r&252645135)<<4,r=(r&4278255360)>>>8|(r&16711935)<<8,t.r[i]=(r>>>16|r<<16)>>>17}function s(l,c,d){for(;c--!=0;)l.push(0,d)}for(var i=0;i<32;i++)t.q[i]=t.S[i]<<3|t.T[i],t.c[i]=t.p[i]<<4|t.z[i];s(t._,144,8),s(t._,112,9),s(t._,24,7),s(t._,8,8),e.H.n(t._,9),e.H.A(t._,9,t.J),e.H.l(t._,9),s(t.$,32,5),e.H.n(t.$,5),e.H.A(t.$,5,t.h),e.H.l(t.$,5),s(t.Q,19,0),s(t.C,286,0),s(t.D,30,0),s(t.v,320,0)})(),e.H.N})();St.decode._readInterlace=function(e,t){for(var n=t.width,i=t.height,r=St.decode._getBPP(t),s=r>>3,l=Math.ceil(n*r/8),c=new Uint8Array(i*l),d=0,h=[0,0,4,0,2,0,1],p=[0,4,0,2,0,1,0],y=[8,8,8,4,4,2,2],g=[8,8,4,4,2,2,1],b=0;b<7;){for(var S=y[b],w=g[b],D=0,A=0,T=h[b];T<i;)T+=S,A++;for(var C=p[b];C<n;)C+=w,D++;var O=Math.ceil(D*r/8);St.decode._filterZero(e,t,d,D,A);for(var M=0,k=h[b];k<i;){for(var z=p[b],P=d+M*O<<3;z<n;){if(r==1){var U=e[P>>3];U=U>>7-(P&7)&1,c[k*l+(z>>3)]|=U<<7-((z&7)<<0)}if(r==2){var U=e[P>>3];U=U>>6-(P&7)&3,c[k*l+(z>>2)]|=U<<6-((z&3)<<1)}if(r==4){var U=e[P>>3];U=U>>4-(P&7)&15,c[k*l+(z>>1)]|=U<<4-((z&1)<<2)}if(r>=8)for(var B=k*l+z*s,W=0;W<s;W++)c[B+W]=e[(P>>3)+W];P+=r,z+=w}M++,k+=S}D*A!=0&&(d+=A*(1+O)),b=b+1}return c};St.decode._getBPP=function(e){var t=[1,null,3,1,2,null,4][e.ctype];return t*e.depth};St.decode._filterZero=function(e,t,n,i,r){var s=St.decode._getBPP(t),l=Math.ceil(i*s/8),c=St.decode._paeth;s=Math.ceil(s/8);var d=0,h=1,p=e[n],y=0;if(p>1&&(e[n]=[0,0,1][p-2]),p==3)for(y=s;y<l;y++)e[y+1]=e[y+1]+(e[y+1-s]>>>1)&255;for(var g=0;g<r;g++)if(d=n+g*l,h=d+g+1,p=e[h-1],y=0,p==0)for(;y<l;y++)e[d+y]=e[h+y];else if(p==1){for(;y<s;y++)e[d+y]=e[h+y];for(;y<l;y++)e[d+y]=e[h+y]+e[d+y-s]}else if(p==2)for(;y<l;y++)e[d+y]=e[h+y]+e[d+y-l];else if(p==3){for(;y<s;y++)e[d+y]=e[h+y]+(e[d+y-l]>>>1);for(;y<l;y++)e[d+y]=e[h+y]+(e[d+y-l]+e[d+y-s]>>>1)}else{for(;y<s;y++)e[d+y]=e[h+y]+c(0,e[d+y-l],0);for(;y<l;y++)e[d+y]=e[h+y]+c(e[d+y-s],e[d+y-l],e[d+y-s-l])}return e};St.decode._paeth=function(e,t,n){var i=e+t-n,r=i-e,s=i-t,l=i-n;return r*r<=s*s&&r*r<=l*l?e:s*s<=l*l?t:n};St.decode._IHDR=function(e,t,n){var i=St._bin;n.width=i.readUint(e,t),t+=4,n.height=i.readUint(e,t),t+=4,n.depth=e[t],t++,n.ctype=e[t],t++,n.compress=e[t],t++,n.filter=e[t],t++,n.interlace=e[t],t++};St._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,n){e[t]=n>>8&255,e[t+1]=n&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,n){e[t]=n>>24&255,e[t+1]=n>>16&255,e[t+2]=n>>8&255,e[t+3]=n&255},readASCII:function(e,t,n){for(var i="",r=0;r<n;r++)i+=String.fromCharCode(e[t+r]);return i},writeASCII:function(e,t,n){for(var i=0;i<n.length;i++)e[t+i]=n.charCodeAt(i)},readBytes:function(e,t,n){for(var i=[],r=0;r<n;r++)i.push(e[t+r]);return i},pad:function(e){return e.length<2?"0"+e:e},readUTF8:function(e,t,n){for(var i="",r,s=0;s<n;s++)i+="%"+St._bin.pad(e[t+s].toString(16));try{r=decodeURIComponent(i)}catch{return St._bin.readASCII(e,t,n)}return r}};St._copyTile=function(e,t,n,i,r,s,l,c,d){for(var h=Math.min(t,r),p=Math.min(n,s),y=0,g=0,b=0;b<p;b++)for(var S=0;S<h;S++)if(l>=0&&c>=0?(y=b*t+S<<2,g=(c+b)*r+l+S<<2):(y=(-c+b)*t-l+S<<2,g=b*r+S<<2),d==0)i[g]=e[y],i[g+1]=e[y+1],i[g+2]=e[y+2],i[g+3]=e[y+3];else if(d==1){var w=e[y+3]*.00392156862745098,D=e[y]*w,A=e[y+1]*w,T=e[y+2]*w,C=i[g+3]*(1/255),O=i[g]*C,M=i[g+1]*C,k=i[g+2]*C,z=1-w,P=w+C*z,U=P==0?0:1/P;i[g+3]=255*P,i[g+0]=(D+O*z)*U,i[g+1]=(A+M*z)*U,i[g+2]=(T+k*z)*U}else if(d==2){var w=e[y+3],D=e[y],A=e[y+1],T=e[y+2],C=i[g+3],O=i[g],M=i[g+1],k=i[g+2];w==C&&D==O&&A==M&&T==k?(i[g]=0,i[g+1]=0,i[g+2]=0,i[g+3]=0):(i[g]=D,i[g+1]=A,i[g+2]=T,i[g+3]=w)}else if(d==3){var w=e[y+3],D=e[y],A=e[y+1],T=e[y+2],C=i[g+3],O=i[g],M=i[g+1],k=i[g+2];if(w==C&&D==O&&A==M&&T==k)continue;if(w<220&&C>20)return!1}return!0};St.encode=function(e,t,n,i,r,s,l){i==null&&(i=0),l==null&&(l=!1);var c=St.encode.compress(e,t,n,i,[!1,!1,!1,0,l]);return St.encode.compressPNG(c,-1),St.encode._main(c,t,n,r,s)};St.encodeLL=function(e,t,n,i,r,s,l,c){for(var d={ctype:0+(i==1?0:2)+(r==0?0:4),depth:s,frames:[]},h=Date.now(),p=(i+r)*s,y=p*t,g=0;g<e.length;g++)d.frames.push({rect:{x:0,y:0,width:t,height:n},img:new Uint8Array(e[g]),blend:0,dispose:1,bpp:Math.ceil(p/8),bpl:Math.ceil(y/8)});St.encode.compressPNG(d,0,!0);var b=St.encode._main(d,t,n,l,c);return b};St.encode._main=function(e,t,n,i,r){r==null&&(r={});var s=St.crc.crc,l=St._bin.writeUint,c=St._bin.writeUshort,d=St._bin.writeASCII,h=8,p=e.frames.length>1,y=!1,g=33+(p?20:0);if(r.sRGB!=null&&(g+=13),r.pHYs!=null&&(g+=21),e.ctype==3){for(var b=e.plte.length,S=0;S<b;S++)e.plte[S]>>>24!=255&&(y=!0);g+=8+b*3+4+(y?8+b*1+4:0)}for(var w=0;w<e.frames.length;w++){var D=e.frames[w];p&&(g+=38),g+=D.cimg.length+12,w!=0&&(g+=4)}g+=12;for(var A=new Uint8Array(g),T=[137,80,78,71,13,10,26,10],S=0;S<8;S++)A[S]=T[S];if(l(A,h,13),h+=4,d(A,h,"IHDR"),h+=4,l(A,h,t),h+=4,l(A,h,n),h+=4,A[h]=e.depth,h++,A[h]=e.ctype,h++,A[h]=0,h++,A[h]=0,h++,A[h]=0,h++,l(A,h,s(A,h-17,17)),h+=4,r.sRGB!=null&&(l(A,h,1),h+=4,d(A,h,"sRGB"),h+=4,A[h]=r.sRGB,h++,l(A,h,s(A,h-5,5)),h+=4),r.pHYs!=null&&(l(A,h,9),h+=4,d(A,h,"pHYs"),h+=4,l(A,h,r.pHYs[0]),h+=4,l(A,h,r.pHYs[1]),h+=4,A[h]=r.pHYs[2],h++,l(A,h,s(A,h-13,13)),h+=4),p&&(l(A,h,8),h+=4,d(A,h,"acTL"),h+=4,l(A,h,e.frames.length),h+=4,l(A,h,r.loop!=null?r.loop:0),h+=4,l(A,h,s(A,h-12,12)),h+=4),e.ctype==3){var b=e.plte.length;l(A,h,b*3),h+=4,d(A,h,"PLTE"),h+=4;for(var S=0;S<b;S++){var C=S*3,O=e.plte[S],M=O&255,k=O>>>8&255,z=O>>>16&255;A[h+C+0]=M,A[h+C+1]=k,A[h+C+2]=z}if(h+=b*3,l(A,h,s(A,h-b*3-4,b*3+4)),h+=4,y){l(A,h,b),h+=4,d(A,h,"tRNS"),h+=4;for(var S=0;S<b;S++)A[h+S]=e.plte[S]>>>24&255;h+=b,l(A,h,s(A,h-b-4,b+4)),h+=4}}for(var P=0,w=0;w<e.frames.length;w++){var D=e.frames[w];p&&(l(A,h,26),h+=4,d(A,h,"fcTL"),h+=4,l(A,h,P++),h+=4,l(A,h,D.rect.width),h+=4,l(A,h,D.rect.height),h+=4,l(A,h,D.rect.x),h+=4,l(A,h,D.rect.y),h+=4,c(A,h,i[w]),h+=2,c(A,h,1e3),h+=2,A[h]=D.dispose,h++,A[h]=D.blend,h++,l(A,h,s(A,h-30,30)),h+=4);var U=D.cimg,b=U.length;l(A,h,b+(w==0?0:4)),h+=4;var B=h;d(A,h,w==0?"IDAT":"fdAT"),h+=4,w!=0&&(l(A,h,P++),h+=4),A.set(U,h),h+=b,l(A,h,s(A,B,h-B)),h+=4}return l(A,h,0),h+=4,d(A,h,"IEND"),h+=4,l(A,h,s(A,h-4,4)),h+=4,A.buffer};St.encode.compressPNG=function(e,t,n){for(var i=0;i<e.frames.length;i++){var r=e.frames[i],s=r.rect.width,l=r.rect.height,c=new Uint8Array(l*r.bpl+l);r.cimg=St.encode._filterZero(r.img,l,r.bpp,r.bpl,c,t,n)}};St.encode.compress=function(e,t,n,i,r){for(var s=r[0],l=r[1],c=r[2],d=r[3],h=r[4],p=6,y=8,g=255,b=0;b<e.length;b++)for(var S=new Uint8Array(e[b]),w=S.length,D=0;D<w;D+=4)g&=S[D+3];var A=g!=255,T=St.encode.framize(e,t,n,s,l,c),C={},O=[],M=[];if(i!=0){for(var k=[],D=0;D<T.length;D++)k.push(T[D].img.buffer);for(var z=St.encode.concatRGBA(k),P=St.quantize(z,i),U=0,B=new Uint8Array(P.abuf),D=0;D<T.length;D++){var W=T[D].img,Y=W.length;M.push(new Uint8Array(P.inds.buffer,U>>2,Y>>2));for(var b=0;b<Y;b+=4)W[b]=B[U+b],W[b+1]=B[U+b+1],W[b+2]=B[U+b+2],W[b+3]=B[U+b+3];U+=Y}for(var D=0;D<P.plte.length;D++)O.push(P.plte[D].est.rgba)}else for(var b=0;b<T.length;b++){var ot=T[b],ft=new Uint32Array(ot.img.buffer),$=ot.rect.width,w=ft.length,tt=new Uint8Array(w);M.push(tt);for(var D=0;D<w;D++){var K=ft[D];if(D!=0&&K==ft[D-1])tt[D]=tt[D-1];else if(D>$&&K==ft[D-$])tt[D]=tt[D-$];else{var wt=C[K];if(wt==null&&(C[K]=wt=O.length,O.push(K),O.length>=300))break;tt[D]=wt}}}var Ct=O.length;Ct<=256&&h==!1&&(Ct<=2?y=1:Ct<=4?y=2:Ct<=16?y=4:y=8,y=Math.max(y,d));for(var b=0;b<T.length;b++){var ot=T[b],Yt=ot.rect.x,nt=ot.rect.y,$=ot.rect.width,yt=ot.rect.height,Tt=ot.img,Rt=new Uint32Array(Tt.buffer),De=4*$,Mt=4;if(Ct<=256&&h==!1){De=Math.ceil(y*$/8);for(var zt=new Uint8Array(De*yt),ce=M[b],en=0;en<yt;en++){var D=en*De,In=en*$;if(y==8)for(var Et=0;Et<$;Et++)zt[D+Et]=ce[In+Et];else if(y==4)for(var Et=0;Et<$;Et++)zt[D+(Et>>1)]|=ce[In+Et]<<4-(Et&1)*4;else if(y==2)for(var Et=0;Et<$;Et++)zt[D+(Et>>2)]|=ce[In+Et]<<6-(Et&3)*2;else if(y==1)for(var Et=0;Et<$;Et++)zt[D+(Et>>3)]|=ce[In+Et]<<7-(Et&7)*1}Tt=zt,p=3,Mt=1}else if(A==!1&&T.length==1){for(var zt=new Uint8Array($*yt*3),oa=$*yt,D=0;D<oa;D++){var W=D*3,Hi=D*4;zt[W]=Tt[Hi],zt[W+1]=Tt[Hi+1],zt[W+2]=Tt[Hi+2]}Tt=zt,p=2,Mt=3,De=3*$}ot.img=Tt,ot.bpl=De,ot.bpp=Mt}return{ctype:p,depth:y,plte:O,frames:T}};St.encode.framize=function(e,t,n,i,r,s){for(var l=[],c=0;c<e.length;c++){var d=new Uint8Array(e[c]),h=new Uint32Array(d.buffer),p,y=0,g=0,b=t,S=n,w=i?1:0;if(c!=0){for(var D=s||i||c==1||l[c-2].dispose!=0?1:2,A=0,T=1e9,C=0;C<D;C++){for(var ot=new Uint8Array(e[c-1-C]),O=new Uint32Array(e[c-1-C]),M=t,k=n,z=-1,P=-1,U=0;U<n;U++)for(var B=0;B<t;B++){var W=U*t+B;h[W]!=O[W]&&(B<M&&(M=B),B>z&&(z=B),U<k&&(k=U),U>P&&(P=U))}z==-1&&(M=k=z=P=0),r&&((M&1)==1&&M--,(k&1)==1&&k--);var Y=(z-M+1)*(P-k+1);Y<T&&(T=Y,A=C,y=M,g=k,b=z-M+1,S=P-k+1)}var ot=new Uint8Array(e[c-1-A]);A==1&&(l[c-1].dispose=2),p=new Uint8Array(b*S*4),St._copyTile(ot,t,n,p,b,S,-y,-g,0),w=St._copyTile(d,t,n,p,b,S,-y,-g,3)?1:0,w==1?St.encode._prepareDiff(d,t,n,p,{x:y,y:g,width:b,height:S}):St._copyTile(d,t,n,p,b,S,-y,-g,0)}else p=d.slice(0);l.push({rect:{x:y,y:g,width:b,height:S},img:p,blend:w,dispose:0})}if(i)for(var c=0;c<l.length;c++){var ft=l[c];if(ft.blend!=1){var $=ft.rect,tt=l[c-1].rect,K=Math.min($.x,tt.x),wt=Math.min($.y,tt.y),Ct=Math.max($.x+$.width,tt.x+tt.width),Yt=Math.max($.y+$.height,tt.y+tt.height),nt={x:K,y:wt,width:Ct-K,height:Yt-wt};l[c-1].dispose=1,c-1!=0&&St.encode._updateFrame(e,t,n,l,c-1,nt,r),St.encode._updateFrame(e,t,n,l,c,nt,r)}}var yt=0;if(e.length!=1)for(var W=0;W<l.length;W++){var ft=l[W];yt+=ft.rect.width*ft.rect.height}return l};St.encode._updateFrame=function(e,t,n,i,r,s,l){for(var c=Uint8Array,d=Uint32Array,h=new c(e[r-1]),p=new d(e[r-1]),y=r+1<e.length?new c(e[r+1]):null,g=new c(e[r]),b=new d(g.buffer),S=t,w=n,D=-1,A=-1,T=0;T<s.height;T++)for(var C=0;C<s.width;C++){var O=s.x+C,M=s.y+T,k=M*t+O,z=b[k];z==0||i[r-1].dispose==0&&p[k]==z&&(y==null||y[k*4+3]!=0)||(O<S&&(S=O),O>D&&(D=O),M<w&&(w=M),M>A&&(A=M))}D==-1&&(S=w=D=A=0),l&&((S&1)==1&&S--,(w&1)==1&&w--),s={x:S,y:w,width:D-S+1,height:A-w+1};var P=i[r];P.rect=s,P.blend=1,P.img=new Uint8Array(s.width*s.height*4),i[r-1].dispose==0?(St._copyTile(h,t,n,P.img,s.width,s.height,-s.x,-s.y,0),St.encode._prepareDiff(g,t,n,P.img,s)):St._copyTile(g,t,n,P.img,s.width,s.height,-s.x,-s.y,0)};St.encode._prepareDiff=function(e,t,n,i,r){St._copyTile(e,t,n,i,r.width,r.height,-r.x,-r.y,2)};St.encode._filterZero=function(e,t,n,i,r,s,l){var c=[],d=[0,1,2,3,4];s!=-1?d=[s]:(t*i>5e5||n==1)&&(d=[0]);var h;l&&(h={level:0});for(var p=l&&UZIP!=null?UZIP:bG.default,y=0;y<d.length;y++){for(var g=0;g<t;g++)St.encode._filterLine(r,e,g,i,n,d[y]);c.push(p.deflate(r,h))}for(var b,S=1e9,y=0;y<c.length;y++)c[y].length<S&&(b=y,S=c[y].length);return c[b]};St.encode._filterLine=function(e,t,n,i,r,s){var l=n*i,c=l+n,d=St.decode._paeth;if(e[c]=s,c++,s==0)if(i<500)for(var h=0;h<i;h++)e[c+h]=t[l+h];else e.set(new Uint8Array(t.buffer,l,i),c);else if(s==1){for(var h=0;h<r;h++)e[c+h]=t[l+h];for(var h=r;h<i;h++)e[c+h]=t[l+h]-t[l+h-r]+256&255}else if(n==0){for(var h=0;h<r;h++)e[c+h]=t[l+h];if(s==2)for(var h=r;h<i;h++)e[c+h]=t[l+h];if(s==3)for(var h=r;h<i;h++)e[c+h]=t[l+h]-(t[l+h-r]>>1)+256&255;if(s==4)for(var h=r;h<i;h++)e[c+h]=t[l+h]-d(t[l+h-r],0,0)+256&255}else{if(s==2)for(var h=0;h<i;h++)e[c+h]=t[l+h]+256-t[l+h-i]&255;if(s==3){for(var h=0;h<r;h++)e[c+h]=t[l+h]+256-(t[l+h-i]>>1)&255;for(var h=r;h<i;h++)e[c+h]=t[l+h]+256-(t[l+h-i]+t[l+h-r]>>1)&255}if(s==4){for(var h=0;h<r;h++)e[c+h]=t[l+h]+256-d(0,t[l+h-i],0)&255;for(var h=r;h<i;h++)e[c+h]=t[l+h]+256-d(t[l+h-r],t[l+h-i],t[l+h-r-i])&255}}};St.crc={table:(function(){for(var e=new Uint32Array(256),t=0;t<256;t++){for(var n=t,i=0;i<8;i++)n&1?n=3988292384^n>>>1:n=n>>>1;e[t]=n}return e})(),update:function(e,t,n,i){for(var r=0;r<i;r++)e=St.crc.table[(e^t[n+r])&255]^e>>>8;return e},crc:function(e,t,n){return St.crc.update(4294967295,e,t,n)^4294967295}};St.quantize=function(e,t){for(var n=new Uint8Array(e),i=n.slice(0),r=new Uint32Array(i.buffer),s=St.quantize.getKDtree(i,t),l=s[0],c=s[1],d=St.quantize.planeDst,h=n,p=r,y=h.length,g=new Uint8Array(n.length>>2),b=0;b<y;b+=4){var S=h[b]*.00392156862745098,w=h[b+1]*(1/255),D=h[b+2]*(1/255),A=h[b+3]*(1/255),T=St.quantize.getNearest(l,S,w,D,A);g[b>>2]=T.ind,p[b>>2]=T.est.rgba}return{abuf:i.buffer,inds:g,plte:c}};St.quantize.getKDtree=function(e,t,n){n==null&&(n=1e-4);var i=new Uint32Array(e.buffer),r={i0:0,i1:e.length,bst:null,est:null,tdst:0,left:null,right:null};r.bst=St.quantize.stats(e,r.i0,r.i1),r.est=St.quantize.estats(r.bst);for(var s=[r];s.length<t;){for(var l=0,c=0,d=0;d<s.length;d++)s[d].est.L>l&&(l=s[d].est.L,c=d);if(l<n)break;var h=s[c],p=St.quantize.splitPixels(e,i,h.i0,h.i1,h.est.e,h.est.eMq255),y=h.i0>=p||h.i1<=p;if(y){h.est.L=0;continue}var g={i0:h.i0,i1:p,bst:null,est:null,tdst:0,left:null,right:null};g.bst=St.quantize.stats(e,g.i0,g.i1),g.est=St.quantize.estats(g.bst);var b={i0:p,i1:h.i1,bst:null,est:null,tdst:0,left:null,right:null};b.bst={R:[],m:[],N:h.bst.N-g.bst.N};for(var d=0;d<16;d++)b.bst.R[d]=h.bst.R[d]-g.bst.R[d];for(var d=0;d<4;d++)b.bst.m[d]=h.bst.m[d]-g.bst.m[d];b.est=St.quantize.estats(b.bst),h.left=g,h.right=b,s[c]=g,s.push(b)}s.sort(function(S,w){return w.bst.N-S.bst.N});for(var d=0;d<s.length;d++)s[d].ind=d;return[r,s]};St.quantize.getNearest=function(e,t,n,i,r){if(e.left==null)return e.tdst=St.quantize.dist(e.est.q,t,n,i,r),e;var s=St.quantize.planeDst(e.est,t,n,i,r),l=e.left,c=e.right;s>0&&(l=e.right,c=e.left);var d=St.quantize.getNearest(l,t,n,i,r);if(d.tdst<=s*s)return d;var h=St.quantize.getNearest(c,t,n,i,r);return h.tdst<d.tdst?h:d};St.quantize.planeDst=function(e,t,n,i,r){var s=e.e;return s[0]*t+s[1]*n+s[2]*i+s[3]*r-e.eMq};St.quantize.dist=function(e,t,n,i,r){var s=t-e[0],l=n-e[1],c=i-e[2],d=r-e[3];return s*s+l*l+c*c+d*d};St.quantize.splitPixels=function(e,t,n,i,r,s){var l=St.quantize.vecDot;i-=4;for(var c=0;n<i;){for(;l(e,n,r)<=s;)n+=4;for(;l(e,i,r)>s;)i-=4;if(n>=i)break;var d=t[n>>2];t[n>>2]=t[i>>2],t[i>>2]=d,n+=4,i-=4}for(;l(e,n,r)>s;)n-=4;return n+4};St.quantize.vecDot=function(e,t,n){return e[t]*n[0]+e[t+1]*n[1]+e[t+2]*n[2]+e[t+3]*n[3]};St.quantize.stats=function(e,t,n){for(var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],r=[0,0,0,0],s=n-t>>2,l=t;l<n;l+=4){var c=e[l]*.00392156862745098,d=e[l+1]*(1/255),h=e[l+2]*(1/255),p=e[l+3]*(1/255);r[0]+=c,r[1]+=d,r[2]+=h,r[3]+=p,i[0]+=c*c,i[1]+=c*d,i[2]+=c*h,i[3]+=c*p,i[5]+=d*d,i[6]+=d*h,i[7]+=d*p,i[10]+=h*h,i[11]+=h*p,i[15]+=p*p}return i[4]=i[1],i[8]=i[2],i[9]=i[6],i[12]=i[3],i[13]=i[7],i[14]=i[11],{R:i,m:r,N:s}};St.quantize.estats=function(e){var t=e.R,n=e.m,i=e.N,r=n[0],s=n[1],l=n[2],c=n[3],d=i==0?0:1/i,h=[t[0]-r*r*d,t[1]-r*s*d,t[2]-r*l*d,t[3]-r*c*d,t[4]-s*r*d,t[5]-s*s*d,t[6]-s*l*d,t[7]-s*c*d,t[8]-l*r*d,t[9]-l*s*d,t[10]-l*l*d,t[11]-l*c*d,t[12]-c*r*d,t[13]-c*s*d,t[14]-c*l*d,t[15]-c*c*d],p=h,y=St.M4,g=[.5,.5,.5,.5],b=0,S=0;if(i!=0)for(var w=0;w<10&&(g=y.multVec(p,g),S=Math.sqrt(y.dot(g,g)),g=y.sml(1/S,g),!(Math.abs(S-b)<1e-9));w++)b=S;var D=[r*d,s*d,l*d,c*d],A=y.dot(y.sml(255,D),g);return{Cov:h,q:D,e:g,L:b,eMq255:A,eMq:y.dot(g,D),rgba:(Math.round(255*D[3])<<24|Math.round(255*D[2])<<16|Math.round(255*D[1])<<8|Math.round(255*D[0])<<0)>>>0}};St.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]]}};St.encode.concatRGBA=function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n].byteLength;for(var i=new Uint8Array(t),r=0,n=0;n<e.length;n++){for(var s=new Uint8Array(e[n]),l=s.length,c=0;c<l;c+=4){var d=s[c],h=s[c+1],p=s[c+2],y=s[c+3];y==0&&(d=h=p=0),i[r+c]=d,i[r+c+1]=h,i[r+c+2]=p,i[r+c+3]=y}r+=l}return i.buffer};l5=St});var Bnt,Hnt,Ch,xG,AG=it(()=>{"use strict";SG();Bnt=function(e){if(e===0)return Ch.Greyscale;if(e===2)return Ch.Truecolour;if(e===3)return Ch.IndexedColour;if(e===4)return Ch.GreyscaleWithAlpha;if(e===6)return Ch.TruecolourWithAlpha;throw new Error("Unknown color type: "+e)},Hnt=function(e){for(var t=Math.floor(e.length/4),n=new Uint8Array(t*3),i=new Uint8Array(t*1),r=0,s=0,l=0;r<e.length;)n[s++]=e[r++],n[s++]=e[r++],n[s++]=e[r++],i[l++]=e[r++];return{rgbChannel:n,alphaChannel:i}};(function(e){e.Greyscale="Greyscale",e.Truecolour="Truecolour",e.IndexedColour="IndexedColour",e.GreyscaleWithAlpha="GreyscaleWithAlpha",e.TruecolourWithAlpha="TruecolourWithAlpha"})(Ch||(Ch={}));xG=(function(){function e(t){var n=l5.decode(t),i=l5.toRGBA8(n);if(i.length>1)throw new Error("Animated PNGs are not supported");var r=new Uint8Array(i[0]),s=Hnt(r),l=s.rgbChannel,c=s.alphaChannel;this.rgbChannel=l;var d=c.some(function(h){return h<255});d&&(this.alphaChannel=c),this.type=Bnt(n.ctype),this.width=n.width,this.height=n.height,this.bitsPerComponent=8}return e.load=function(t){return new e(t)},e})()});var jnt,pm,wG=it(()=>{"use strict";kt();AG();jnt=(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 It(this,void 0,void 0,function(){var n;return Xt(this,function(i){return n=xG.load(t),[2,new e(n)]})})},e.prototype.embedIntoContext=function(t,n){return It(this,void 0,void 0,function(){var i,r;return Xt(this,function(s){return i=this.embedAlphaChannel(t),r=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:i}),n?(t.assign(n,r),[2,n]):[2,t.register(r)]})})},e.prototype.embedAlphaChannel=function(t){if(this.image.alphaChannel){var n=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(n)}},e})(),pm=jnt});var qnt,DE,u5=it(()=>{"use strict";qnt=(function(){function e(t,n,i){this.bytes=t,this.start=n||0,this.pos=this.start,this.end=n&&i?n+i: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(),n=this.getByte();return t===-1||n===-1?-1:(t<<8)+n},e.prototype.getInt32=function(){var t=this.getByte(),n=this.getByte(),i=this.getByte(),r=this.getByte();return(t<<24)+(n<<16)+(i<<8)+r},e.prototype.getBytes=function(t,n){n===void 0&&(n=!1);var i=this.bytes,r=this.pos,s=this.end;if(t){var c=r+t;c>s&&(c=s),this.pos=c;var l=i.subarray(r,c);return n?new Uint8ClampedArray(l):l}else{var l=i.subarray(r,s);return n?new Uint8ClampedArray(l):l}},e.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},e.prototype.peekBytes=function(t,n){n===void 0&&(n=!1);var i=this.getBytes(t,n);return this.pos-=i.length,i},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,n){return new e(this.bytes,t,n)},e.prototype.decode=function(){return this.bytes},e})(),DE=qnt});var Vnt,Gnt,Ol,mm=it(()=>{"use strict";En();u5();Vnt=new Uint8Array(0),Gnt=(function(){function e(t){if(this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=Vnt,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(),n=this.getByte();return t===-1||n===-1?-1:(t<<8)+n},e.prototype.getInt32=function(){var t=this.getByte(),n=this.getByte(),i=this.getByte(),r=this.getByte();return(t<<24)+(n<<16)+(i<<8)+r},e.prototype.getBytes=function(t,n){n===void 0&&(n=!1);var i,r=this.pos;if(t){for(this.ensureBuffer(r+t),i=r+t;!this.eof&&this.bufferLength<i;)this.readBlock();var s=this.bufferLength;i>s&&(i=s)}else{for(;!this.eof;)this.readBlock();i=this.bufferLength}this.pos=i;var l=this.buffer.subarray(r,i);return n&&!(l instanceof Uint8ClampedArray)?new Uint8ClampedArray(l):l},e.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},e.prototype.peekBytes=function(t,n){n===void 0&&(n=!1);var i=this.getBytes(t,n);return this.pos-=i.length,i},e.prototype.skip=function(t){t||(t=1),this.pos+=t},e.prototype.reset=function(){this.pos=0},e.prototype.makeSubStream=function(t,n){for(var i=t+n;this.bufferLength<=i&&!this.eof;)this.readBlock();return new DE(this.buffer,t,n)},e.prototype.decode=function(){for(;!this.eof;)this.readBlock();return this.buffer.subarray(0,this.bufferLength)},e.prototype.readBlock=function(){throw new ra(this.constructor.name,"readBlock")},e.prototype.ensureBuffer=function(t){var n=this.buffer;if(t<=n.byteLength)return n;for(var i=this.minBufferLength;i<t;)i*=2;var r=new Uint8Array(i);return r.set(n),this.buffer=r},e})(),Ol=Gnt});var EG,Int,TG,CG=it(()=>{"use strict";kt();mm();EG=function(e){return e===32||e===9||e===13||e===10},Int=(function(e){ct(t,e);function t(n,i){var r=e.call(this,i)||this;return r.stream=n,r.input=new Uint8Array(5),i&&(i=.8*i),r}return t.prototype.readBlock=function(){for(var n=126,i=122,r=-1,s=this.stream,l=s.getByte();EG(l);)l=s.getByte();if(l===r||l===n){this.eof=!0;return}var c=this.bufferLength,d,h;if(l===i){for(d=this.ensureBuffer(c+4),h=0;h<4;++h)d[c+h]=0;this.bufferLength+=4}else{var p=this.input;for(p[0]=l,h=1;h<5;++h){for(l=s.getByte();EG(l);)l=s.getByte();if(p[h]=l,l===r||l===n)break}if(d=this.ensureBuffer(c+h-1),this.bufferLength+=h-1,h<5){for(;h<5;++h)p[h]=117;this.eof=!0}var y=0;for(h=0;h<5;++h)y=y*85+(p[h]-33);for(h=3;h>=0;--h)d[c+h]=y&255,y>>=8}},t})(Ol),TG=Int});var Xnt,DG,RG=it(()=>{"use strict";kt();mm();Xnt=(function(e){ct(t,e);function t(n,i){var r=e.call(this,i)||this;return r.stream=n,r.firstDigit=-1,i&&(i=.5*i),r}return t.prototype.readBlock=function(){var n=8e3,i=this.stream.getBytes(n);if(!i.length){this.eof=!0;return}for(var r=i.length+1>>1,s=this.ensureBuffer(this.bufferLength+r),l=this.bufferLength,c=this.firstDigit,d=0,h=i.length;d<h;d++){var p=i[d],y=void 0;if(p>=48&&p<=57)y=p&15;else if(p>=65&&p<=70||p>=97&&p<=102)y=(p&15)+9;else if(p===62){this.eof=!0;break}else continue;c<0?c=y:(s[l++]=c<<4|y,c=-1)}c>=0&&this.eof&&(s[l++]=c<<4,c=-1),this.firstDigit=c,this.bufferLength=l},t})(Ol),DG=Xnt});var OG,Ynt,Knt,Znt,Wnt,Qnt,MG,_G=it(()=>{"use strict";kt();mm();OG=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ynt=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]),Knt=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]),Znt=[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],Wnt=[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],Qnt=(function(e){ct(t,e);function t(n,i){var r=e.call(this,i)||this;r.stream=n;var s=n.getByte(),l=n.getByte();if(s===-1||l===-1)throw new Error("Invalid header in flate stream: "+s+", "+l);if((s&15)!==8)throw new Error("Unknown compression method in flate stream: "+s+", "+l);if(((s<<8)+l)%31!==0)throw new Error("Bad FCHECK in flate stream: "+s+", "+l);if(l&32)throw new Error("FDICT bit set in flate stream: "+s+", "+l);return r.codeSize=0,r.codeBuf=0,r}return t.prototype.readBlock=function(){var n,i,r=this.stream,s=this.getBits(3);if(s&1&&(this.eof=!0),s>>=1,s===0){var l=void 0;if((l=r.getByte())===-1)throw new Error("Bad block header in flate stream");var c=l;if((l=r.getByte())===-1)throw new Error("Bad block header in flate stream");if(c|=l<<8,(l=r.getByte())===-1)throw new Error("Bad block header in flate stream");var d=l;if((l=r.getByte())===-1)throw new Error("Bad block header in flate stream");if(d|=l<<8,d!==(~c&65535)&&(c!==0||d!==0))throw new Error("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var h=this.bufferLength;n=this.ensureBuffer(h+c);var p=h+c;if(this.bufferLength=p,c===0)r.peekByte()===-1&&(this.eof=!0);else for(var y=h;y<p;++y){if((l=r.getByte())===-1){this.eof=!0;break}n[y]=l}return}var g,b;if(s===1)g=Znt,b=Wnt;else if(s===2){var S=this.getBits(5)+257,w=this.getBits(5)+1,D=this.getBits(4)+4,A=new Uint8Array(OG.length),T=void 0;for(T=0;T<D;++T)A[OG[T]]=this.getBits(3);var C=this.generateHuffmanTable(A);i=0,T=0;for(var O=S+w,M=new Uint8Array(O),k=void 0,z=void 0,P=void 0;T<O;){var U=this.getCode(C);if(U===16)k=2,z=3,P=i;else if(U===17)k=3,z=3,P=i=0;else if(U===18)k=7,z=11,P=i=0;else{M[T++]=i=U;continue}for(var B=this.getBits(k)+z;B-- >0;)M[T++]=P}g=this.generateHuffmanTable(M.subarray(0,S)),b=this.generateHuffmanTable(M.subarray(S,O))}else throw new Error("Unknown block type in flate stream");n=this.buffer;for(var W=n?n.length:0,Y=this.bufferLength;;){var ot=this.getCode(g);if(ot<256){Y+1>=W&&(n=this.ensureBuffer(Y+1),W=n.length),n[Y++]=ot;continue}if(ot===256){this.bufferLength=Y;return}ot-=257,ot=Ynt[ot];var ft=ot>>16;ft>0&&(ft=this.getBits(ft)),i=(ot&65535)+ft,ot=this.getCode(b),ot=Knt[ot],ft=ot>>16,ft>0&&(ft=this.getBits(ft));var $=(ot&65535)+ft;Y+i>=W&&(n=this.ensureBuffer(Y+i),W=n.length);for(var tt=0;tt<i;++tt,++Y)n[Y]=n[Y-$]}},t.prototype.getBits=function(n){for(var i=this.stream,r=this.codeSize,s=this.codeBuf,l;r<n;){if((l=i.getByte())===-1)throw new Error("Bad encoding in flate stream");s|=l<<r,r+=8}return l=s&(1<<n)-1,this.codeBuf=s>>n,this.codeSize=r-=n,l},t.prototype.getCode=function(n){for(var i=this.stream,r=n[0],s=n[1],l=this.codeSize,c=this.codeBuf,d;l<s&&(d=i.getByte())!==-1;)c|=d<<l,l+=8;var h=r[c&(1<<s)-1];typeof r=="number"&&console.log("FLATE:",h);var p=h>>16,y=h&65535;if(p<1||l<p)throw new Error("Bad encoding in flate stream");return this.codeBuf=c>>p,this.codeSize=l-p,y},t.prototype.generateHuffmanTable=function(n){var i=n.length,r=0,s;for(s=0;s<i;++s)n[s]>r&&(r=n[s]);for(var l=1<<r,c=new Int32Array(l),d=1,h=0,p=2;d<=r;++d,h<<=1,p<<=1)for(var y=0;y<i;++y)if(n[y]===d){var g=0,b=h;for(s=0;s<d;++s)g=g<<1|b&1,b>>=1;for(s=g;s<l;s+=p)c[s]=d<<16|y;++h}return[c,r]},t})(Ol),MG=Qnt});var Jnt,FG,NG=it(()=>{"use strict";kt();mm();Jnt=(function(e){ct(t,e);function t(n,i,r){var s=e.call(this,i)||this;s.stream=n,s.cachedData=0,s.bitsCached=0;for(var l=4096,c={earlyChange:r,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(l),dictionaryLengths:new Uint16Array(l),dictionaryPrevCodes:new Uint16Array(l),currentSequence:new Uint8Array(l),currentSequenceLength:0},d=0;d<256;++d)c.dictionaryValues[d]=d,c.dictionaryLengths[d]=1;return s.lzwState=c,s}return t.prototype.readBlock=function(){var n=512,i=n*2,r=n,s,l,c,d=this.lzwState;if(d){var h=d.earlyChange,p=d.nextCode,y=d.dictionaryValues,g=d.dictionaryLengths,b=d.dictionaryPrevCodes,S=d.codeLength,w=d.prevCode,D=d.currentSequence,A=d.currentSequenceLength,T=0,C=this.bufferLength,O=this.ensureBuffer(this.bufferLength+i);for(s=0;s<n;s++){var M=this.readBits(S),k=A>0;if(!M||M<256)D[0]=M,A=1;else if(M>=258)if(M<p)for(A=g[M],l=A-1,c=M;l>=0;l--)D[l]=y[c],c=b[c];else D[A++]=D[0];else if(M===256){S=9,p=258,A=0;continue}else{this.eof=!0,delete this.lzwState;break}if(k&&(b[p]=w,g[p]=g[w]+1,y[p]=D[0],p++,S=p+h&p+h-1?S:Math.min(Math.log(p+h)/.6931471805599453+1,12)|0),w=M,T+=A,i<T){do i+=r;while(i<T);O=this.ensureBuffer(this.bufferLength+i)}for(l=0;l<A;l++)O[C++]=D[l]}d.nextCode=p,d.codeLength=S,d.prevCode=w,d.currentSequenceLength=A,this.bufferLength=C}},t.prototype.readBits=function(n){for(var i=this.bitsCached,r=this.cachedData;i<n;){var s=this.stream.getByte();if(s===-1)return this.eof=!0,null;r=r<<8|s,i+=8}return this.bitsCached=i-=n,this.cachedData=r,r>>>i&(1<<n)-1},t})(Ol),FG=Jnt});var $nt,zG,kG=it(()=>{"use strict";kt();mm();$nt=(function(e){ct(t,e);function t(n,i){var r=e.call(this,i)||this;return r.stream=n,r}return t.prototype.readBlock=function(){var n=this.stream.getBytes(2);if(!n||n.length<2||n[0]===128){this.eof=!0;return}var i,r=this.bufferLength,s=n[0];if(s<128){if(i=this.ensureBuffer(r+s+1),i[r++]=n[1],s>0){var l=this.stream.getBytes(s);i.set(l,r),r+=s}}else{s=257-s;var c=n[1];i=this.ensureBuffer(r+s+1);for(var d=0;d<s;d++)i[r++]=c}this.bufferLength=r},t})(Ol),zG=$nt});var LG,gm,RE=it(()=>{"use strict";En();Da();Ba();nn();bi();CG();RG();_G();NG();kG();u5();LG=function(e,t,n){if(t===N.of("FlateDecode"))return new MG(e);if(t===N.of("LZWDecode")){var i=1;if(n instanceof Ht){var r=n.lookup(N.of("EarlyChange"));r instanceof Pt&&(i=r.asNumber())}return new FG(e,void 0,i)}if(t===N.of("ASCII85Decode"))return new TG(e);if(t===N.of("ASCIIHexDecode"))return new DG(e);if(t===N.of("RunLengthDecode"))return new zG(e);throw new z3(t.asString())},gm=function(e){var t=e.dict,n=e.contents,i=new DE(n),r=t.lookup(N.of("Filter")),s=t.lookup(N.of("DecodeParms"));if(r instanceof N)i=LG(i,r,s);else if(r instanceof ee)for(var l=0,c=r.size();l<c;l++)i=LG(i,r.lookup(l,N),s&&s.lookupMaybe(l,Ht));else if(r)throw new Rf([N,ee],r);return i}});var tit,eit,nit,vm,PG=it(()=>{"use strict";kt();En();bi();om();zu();RE();vE();Tn();pe();tit=function(e){var t=e.MediaBox(),n=t.lookup(2,Pt).asNumber()-t.lookup(0,Pt).asNumber(),i=t.lookup(3,Pt).asNumber()-t.lookup(1,Pt).asNumber();return{left:0,bottom:0,right:n,top:i}},eit=function(e){return[1,0,0,1,-e.left,-e.bottom]},nit=(function(){function e(t,n,i){this.page=t;var r=n??tit(t);this.width=r.right-r.left,this.height=r.top-r.bottom,this.boundingBox=r,this.transformationMatrix=i??eit(r)}return e.for=function(t,n,i){return It(this,void 0,void 0,function(){return Xt(this,function(r){return[2,new e(t,n,i)]})})},e.prototype.embedIntoContext=function(t,n){return It(this,void 0,void 0,function(){var i,r,s,l,c,d,h,p,y,g;return Xt(this,function(b){if(i=this.page.normalizedEntries(),r=i.Contents,s=i.Resources,!r)throw new k3;return l=this.decodeContents(r),c=this.boundingBox,d=c.left,h=c.bottom,p=c.right,y=c.top,g=t.flateStream(l,{Type:"XObject",Subtype:"Form",FormType:1,BBox:[d,h,p,y],Matrix:this.transformationMatrix,Resources:s}),n?(t.assign(n,g),[2,n]):[2,t.register(g)]})})},e.prototype.decodeContents=function(t){for(var n=Uint8Array.of(L.Newline),i=[],r=0,s=t.size();r<s;r++){var l=t.lookup(r,Ln),c=void 0;if(l instanceof Rs)c=gm(l).decode();else if(l instanceof Rl)c=l.getUnencodedContents();else throw new L3(l);i.push(c,n)}return zF.apply(void 0,i)},e})(),vm=nit});var OE,Dh,Rh,Oh,ym,iit,Mb,c5=it(()=>{"use strict";Da();Eb();nn();bi();pe();OE=function(e,t){if(e!==void 0)return t[e]};(function(e){e.UseNone="UseNone",e.UseOutlines="UseOutlines",e.UseThumbs="UseThumbs",e.UseOC="UseOC"})(Dh||(Dh={}));(function(e){e.L2R="L2R",e.R2L="R2L"})(Rh||(Rh={}));(function(e){e.None="None",e.AppDefault="AppDefault"})(Oh||(Oh={}));(function(e){e.Simplex="Simplex",e.DuplexFlipShortEdge="DuplexFlipShortEdge",e.DuplexFlipLongEdge="DuplexFlipLongEdge"})(ym||(ym={}));iit=(function(){function e(t){this.dict=t}return e.prototype.lookupBool=function(t){var n=this.dict.lookup(N.of(t));if(n instanceof Dl)return n},e.prototype.lookupName=function(t){var n=this.dict.lookup(N.of(t));if(n instanceof N)return n},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(N.of("PrintPageRange"));if(t instanceof ee)return t},e.prototype.NumCopies=function(){var t=this.dict.lookup(N.of("NumCopies"));if(t instanceof Pt)return t},e.prototype.getHideToolbar=function(){var t,n;return(n=(t=this.HideToolbar())===null||t===void 0?void 0:t.asBoolean())!==null&&n!==void 0?n:!1},e.prototype.getHideMenubar=function(){var t,n;return(n=(t=this.HideMenubar())===null||t===void 0?void 0:t.asBoolean())!==null&&n!==void 0?n:!1},e.prototype.getHideWindowUI=function(){var t,n;return(n=(t=this.HideWindowUI())===null||t===void 0?void 0:t.asBoolean())!==null&&n!==void 0?n:!1},e.prototype.getFitWindow=function(){var t,n;return(n=(t=this.FitWindow())===null||t===void 0?void 0:t.asBoolean())!==null&&n!==void 0?n:!1},e.prototype.getCenterWindow=function(){var t,n;return(n=(t=this.CenterWindow())===null||t===void 0?void 0:t.asBoolean())!==null&&n!==void 0?n:!1},e.prototype.getDisplayDocTitle=function(){var t,n;return(n=(t=this.DisplayDocTitle())===null||t===void 0?void 0:t.asBoolean())!==null&&n!==void 0?n:!1},e.prototype.getNonFullScreenPageMode=function(){var t,n,i=(t=this.NonFullScreenPageMode())===null||t===void 0?void 0:t.decodeText();return(n=OE(i,Dh))!==null&&n!==void 0?n:Dh.UseNone},e.prototype.getReadingDirection=function(){var t,n,i=(t=this.Direction())===null||t===void 0?void 0:t.decodeText();return(n=OE(i,Rh))!==null&&n!==void 0?n:Rh.L2R},e.prototype.getPrintScaling=function(){var t,n,i=(t=this.PrintScaling())===null||t===void 0?void 0:t.decodeText();return(n=OE(i,Oh))!==null&&n!==void 0?n:Oh.AppDefault},e.prototype.getDuplex=function(){var t,n=(t=this.Duplex())===null||t===void 0?void 0:t.decodeText();return OE(n,ym)},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 n=[],i=0;i<t.size();i+=2){var r=t.lookup(i,Pt).asNumber(),s=t.lookup(i+1,Pt).asNumber();n.push({start:r,end:s})}return n},e.prototype.getNumCopies=function(){var t,n;return(n=(t=this.NumCopies())===null||t===void 0?void 0:t.asNumber())!==null&&n!==void 0?n:1},e.prototype.setHideToolbar=function(t){var n=this.dict.context.obj(t);this.dict.set(N.of("HideToolbar"),n)},e.prototype.setHideMenubar=function(t){var n=this.dict.context.obj(t);this.dict.set(N.of("HideMenubar"),n)},e.prototype.setHideWindowUI=function(t){var n=this.dict.context.obj(t);this.dict.set(N.of("HideWindowUI"),n)},e.prototype.setFitWindow=function(t){var n=this.dict.context.obj(t);this.dict.set(N.of("FitWindow"),n)},e.prototype.setCenterWindow=function(t){var n=this.dict.context.obj(t);this.dict.set(N.of("CenterWindow"),n)},e.prototype.setDisplayDocTitle=function(t){var n=this.dict.context.obj(t);this.dict.set(N.of("DisplayDocTitle"),n)},e.prototype.setNonFullScreenPageMode=function(t){Ko(t,"nonFullScreenPageMode",Dh);var n=N.of(t);this.dict.set(N.of("NonFullScreenPageMode"),n)},e.prototype.setReadingDirection=function(t){Ko(t,"readingDirection",Rh);var n=N.of(t);this.dict.set(N.of("Direction"),n)},e.prototype.setPrintScaling=function(t){Ko(t,"printScaling",Oh);var n=N.of(t);this.dict.set(N.of("PrintScaling"),n)},e.prototype.setDuplex=function(t){Ko(t,"duplex",ym);var n=N.of(t);this.dict.set(N.of("Duplex"),n)},e.prototype.setPickTrayByPDFSize=function(t){var n=this.dict.context.obj(t);this.dict.set(N.of("PickTrayByPDFSize"),n)},e.prototype.setPrintPageRange=function(t){Array.isArray(t)||(t=[t]);for(var n=[],i=0,r=t.length;i<r;i++)n.push(t[i].start),n.push(t[i].end);bb(n,"printPageRange",["number"]);var s=this.dict.context.obj(n);this.dict.set(N.of("PrintPageRange"),s)},e.prototype.setNumCopies=function(t){Ta(t,"numCopies",1,Number.MAX_VALUE),N3(t,"numCopies");var n=this.dict.context.obj(t);this.dict.set(N.of("NumCopies"),n)},e.fromDict=function(t){return new e(t)},e.create=function(t){var n=t.obj({});return new e(n)},e})(),Mb=iit});var ait,rit,bm,ME=it(()=>{"use strict";Ba();Os();zr();nn();bi();Da();ur();pe();En();ait=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+Tf/,rit=(function(){function e(t,n){this.dict=t,this.ref=n}return e.prototype.T=function(){return this.dict.lookupMaybe(N.of("T"),Ce,Lt)},e.prototype.Ff=function(){var t=this.getInheritableAttribute(N.of("Ff"));return this.dict.context.lookupMaybe(t,Pt)},e.prototype.V=function(){var t=this.getInheritableAttribute(N.of("V"));return this.dict.context.lookup(t)},e.prototype.Kids=function(){return this.dict.lookupMaybe(N.of("Kids"),ee)},e.prototype.DA=function(){var t=this.dict.lookup(N.of("DA"));if(t instanceof Ce||t instanceof Lt)return t},e.prototype.setKids=function(t){this.dict.set(N.of("Kids"),this.dict.context.obj(t))},e.prototype.getParent=function(){var t=this.dict.get(N.of("Parent"));if(t instanceof ie){var n=this.dict.lookup(N.of("Parent"),Ht);return new e(n,t)}},e.prototype.setParent=function(t){t?this.dict.set(N.of("Parent"),t):this.dict.delete(N.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(N.of("T"),Lt.fromText(t)):this.dict.delete(N.of("T"))},e.prototype.setDefaultAppearance=function(t){this.dict.set(N.of("DA"),Ce.of(t))},e.prototype.getDefaultAppearance=function(){var t=this.DA();return t instanceof Lt?t.decodeText():t?.asString()},e.prototype.setFontSize=function(t){var n,i=(n=this.getFullyQualifiedName())!==null&&n!==void 0?n:"",r=this.getDefaultAppearance();if(!r)throw new H3(i);var s=G0(r,ait);if(!s.match)throw new j3(i);var l=r.slice(0,s.pos-s.match[0].length),c=s.pos<=r.length?r.slice(s.pos):"",d=s.match[1],h=l+" /"+d+" "+t+" Tf "+c;this.setDefaultAppearance(h)},e.prototype.getFlags=function(){var t,n;return(n=(t=this.Ff())===null||t===void 0?void 0:t.asNumber())!==null&&n!==void 0?n:0},e.prototype.setFlags=function(t){this.dict.set(N.of("Ff"),Pt.of(t))},e.prototype.hasFlag=function(t){var n=this.getFlags();return(n&t)!==0},e.prototype.setFlag=function(t){var n=this.getFlags();this.setFlags(n|t)},e.prototype.clearFlag=function(t){var n=this.getFlags();this.setFlags(n&~t)},e.prototype.setFlagTo=function(t,n){n?this.setFlag(t):this.clearFlag(t)},e.prototype.getInheritableAttribute=function(t){var n;return this.ascend(function(i){n||(n=i.dict.get(t))}),n},e.prototype.ascend=function(t){t(this);var n=this.getParent();n&&n.ascend(t)},e})(),bm=rit});var oit,_E,UG=it(()=>{"use strict";nn();bi();oit=(function(){function e(t){this.dict=t}return e.prototype.W=function(){var t=this.dict.lookup(N.of("W"));if(t instanceof Pt)return t},e.prototype.getWidth=function(){var t,n;return(n=(t=this.W())===null||t===void 0?void 0:t.asNumber())!==null&&n!==void 0?n:1},e.prototype.setWidth=function(t){var n=this.dict.context.obj(t);this.dict.set(N.of("W"),n)},e.fromDict=function(t){return new e(t)},e})(),_E=oit});var sit,FE,f5=it(()=>{"use strict";Ba();nn();zu();Da();ur();bi();sit=(function(){function e(t){this.dict=t}return e.prototype.Rect=function(){return this.dict.lookup(N.of("Rect"),ee)},e.prototype.AP=function(){return this.dict.lookupMaybe(N.of("AP"),Ht)},e.prototype.F=function(){var t=this.dict.lookup(N.of("F"));return this.dict.context.lookupMaybe(t,Pt)},e.prototype.getRectangle=function(){var t,n=this.Rect();return(t=n?.asRectangle())!==null&&t!==void 0?t:{x:0,y:0,width:0,height:0}},e.prototype.setRectangle=function(t){var n=t.x,i=t.y,r=t.width,s=t.height,l=this.dict.context.obj([n,i,n+r,i+s]);this.dict.set(N.of("Rect"),l)},e.prototype.getAppearanceState=function(){var t=this.dict.lookup(N.of("AS"));if(t instanceof N)return t},e.prototype.setAppearanceState=function(t){this.dict.set(N.of("AS"),t)},e.prototype.setAppearances=function(t){this.dict.set(N.of("AP"),t)},e.prototype.ensureAP=function(){var t=this.AP();return t||(t=this.dict.context.obj({}),this.dict.set(N.of("AP"),t)),t},e.prototype.getNormalAppearance=function(){var t=this.ensureAP(),n=t.get(N.of("N"));if(n instanceof ie||n instanceof Ht)return n;throw new Error("Unexpected N type: "+n?.constructor.name)},e.prototype.setNormalAppearance=function(t){var n=this.ensureAP();n.set(N.of("N"),t)},e.prototype.setRolloverAppearance=function(t){var n=this.ensureAP();n.set(N.of("R"),t)},e.prototype.setDownAppearance=function(t){var n=this.ensureAP();n.set(N.of("D"),t)},e.prototype.removeRolloverAppearance=function(){var t=this.AP();t?.delete(N.of("R"))},e.prototype.removeDownAppearance=function(){var t=this.AP();t?.delete(N.of("D"))},e.prototype.getAppearances=function(){var t=this.AP();if(t){var n=t.lookup(N.of("N"),Ht,Ln),i=t.lookupMaybe(N.of("R"),Ht,Ln),r=t.lookupMaybe(N.of("D"),Ht,Ln);return{normal:n,rollover:i,down:r}}},e.prototype.getFlags=function(){var t,n;return(n=(t=this.F())===null||t===void 0?void 0:t.asNumber())!==null&&n!==void 0?n:0},e.prototype.setFlags=function(t){this.dict.set(N.of("F"),Pt.of(t))},e.prototype.hasFlag=function(t){var n=this.getFlags();return(n&t)!==0},e.prototype.setFlag=function(t){var n=this.getFlags();this.setFlags(n|t)},e.prototype.clearFlag=function(t){var n=this.getFlags();this.setFlags(n&~t)},e.prototype.setFlagTo=function(t,n){n?this.setFlag(t):this.clearFlag(t)},e.fromDict=function(t){return new e(t)},e})(),FE=sit});var lit,Sm,d5=it(()=>{"use strict";nn();bi();Da();zr();Os();lit=(function(){function e(t){this.dict=t}return e.prototype.R=function(){var t=this.dict.lookup(N.of("R"));if(t instanceof Pt)return t},e.prototype.BC=function(){var t=this.dict.lookup(N.of("BC"));if(t instanceof ee)return t},e.prototype.BG=function(){var t=this.dict.lookup(N.of("BG"));if(t instanceof ee)return t},e.prototype.CA=function(){var t=this.dict.lookup(N.of("CA"));if(t instanceof Lt||t instanceof Ce)return t},e.prototype.RC=function(){var t=this.dict.lookup(N.of("RC"));if(t instanceof Lt||t instanceof Ce)return t},e.prototype.AC=function(){var t=this.dict.lookup(N.of("AC"));if(t instanceof Lt||t instanceof Ce)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 n=[],i=0,r=t?.size();i<r;i++){var s=t.get(i);s instanceof Pt&&n.push(s.asNumber())}return n}},e.prototype.getBackgroundColor=function(){var t=this.BG();if(t){for(var n=[],i=0,r=t?.size();i<r;i++){var s=t.get(i);s instanceof Pt&&n.push(s.asNumber())}return n}},e.prototype.getCaptions=function(){var t=this.CA(),n=this.RC(),i=this.AC();return{normal:t?.decodeText(),rollover:n?.decodeText(),down:i?.decodeText()}},e.prototype.setRotation=function(t){var n=this.dict.context.obj(t);this.dict.set(N.of("R"),n)},e.prototype.setBorderColor=function(t){var n=this.dict.context.obj(t);this.dict.set(N.of("BC"),n)},e.prototype.setBackgroundColor=function(t){var n=this.dict.context.obj(t);this.dict.set(N.of("BG"),n)},e.prototype.setCaptions=function(t){var n=Lt.fromText(t.normal);if(this.dict.set(N.of("CA"),n),t.rollover){var i=Lt.fromText(t.rollover);this.dict.set(N.of("RC"),i)}else this.dict.delete(N.of("RC"));if(t.down){var r=Lt.fromText(t.down);this.dict.set(N.of("AC"),r)}else this.dict.delete(N.of("AC"))},e.fromDict=function(t){return new e(t)},e})(),Sm=lit});var uit,Mh,h5=it(()=>{"use strict";kt();Ba();nn();ur();Os();zr();UG();f5();d5();uit=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.MK=function(){var n=this.dict.lookup(N.of("MK"));if(n instanceof Ht)return n},t.prototype.BS=function(){var n=this.dict.lookup(N.of("BS"));if(n instanceof Ht)return n},t.prototype.DA=function(){var n=this.dict.lookup(N.of("DA"));if(n instanceof Ce||n instanceof Lt)return n},t.prototype.P=function(){var n=this.dict.get(N.of("P"));if(n instanceof ie)return n},t.prototype.setP=function(n){this.dict.set(N.of("P"),n)},t.prototype.setDefaultAppearance=function(n){this.dict.set(N.of("DA"),Ce.of(n))},t.prototype.getDefaultAppearance=function(){var n=this.DA();return n instanceof Lt?n.decodeText():n?.asString()},t.prototype.getAppearanceCharacteristics=function(){var n=this.MK();if(n)return Sm.fromDict(n)},t.prototype.getOrCreateAppearanceCharacteristics=function(){var n=this.MK();if(n)return Sm.fromDict(n);var i=Sm.fromDict(this.dict.context.obj({}));return this.dict.set(N.of("MK"),i.dict),i},t.prototype.getBorderStyle=function(){var n=this.BS();if(n)return _E.fromDict(n)},t.prototype.getOrCreateBorderStyle=function(){var n=this.BS();if(n)return _E.fromDict(n);var i=_E.fromDict(this.dict.context.obj({}));return this.dict.set(N.of("BS"),i.dict),i},t.prototype.getOnValue=function(){var n,i=(n=this.getAppearances())===null||n===void 0?void 0:n.normal;if(i instanceof Ht)for(var r=i.keys(),s=0,l=r.length;s<l;s++){var c=r[s];if(c!==N.of("Off"))return c}},t.fromDict=function(n){return new t(n)},t.create=function(n,i){var r=n.obj({Type:"Annot",Subtype:"Widget",Rect:[0,0,0,0],Parent:i});return new t(r)},t})(FE),Mh=uit});var cit,kr,_h=it(()=>{"use strict";kt();Ba();nn();ME();h5();En();cit=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.FT=function(){var n=this.getInheritableAttribute(N.of("FT"));return this.dict.context.lookup(n,N)},t.prototype.getWidgets=function(){var n=this.Kids();if(!n)return[Mh.fromDict(this.dict)];for(var i=new Array(n.size()),r=0,s=n.size();r<s;r++){var l=n.lookup(r,Ht);i[r]=Mh.fromDict(l)}return i},t.prototype.addWidget=function(n){var i=this.normalizedEntries().Kids;i.push(n)},t.prototype.removeWidget=function(n){var i=this.Kids();if(i){if(n<0||n>i.size())throw new wh(n,0,i.size());i.remove(n)}else{if(n!==0)throw new wh(n,0,0);this.setKids([])}},t.prototype.normalizedEntries=function(){var n=this.Kids();return n||(n=this.dict.context.obj([this.ref]),this.dict.set(N.of("Kids"),n)),{Kids:n}},t.fromDict=function(n,i){return new t(n,i)},t})(bm),kr=cit});var fit,zf,_b=it(()=>{"use strict";kt();Os();zr();Da();nn();_h();En();fit=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.Opt=function(){return this.dict.lookupMaybe(N.of("Opt"),Ce,Lt,ee)},t.prototype.setOpt=function(n){this.dict.set(N.of("Opt"),this.dict.context.obj(n))},t.prototype.getExportValues=function(){var n=this.Opt();if(n){if(n instanceof Ce||n instanceof Lt)return[n];for(var i=[],r=0,s=n.size();r<s;r++){var l=n.lookup(r);(l instanceof Ce||l instanceof Lt)&&i.push(l)}return i}},t.prototype.removeExportValue=function(n){var i=this.Opt();if(i)if(i instanceof Ce||i instanceof Lt){if(n!==0)throw new wh(n,0,0);this.setOpt([])}else{if(n<0||n>i.size())throw new wh(n,0,i.size());i.remove(n)}},t.prototype.normalizeExportValues=function(){for(var n,i,r,s,l=(n=this.getExportValues())!==null&&n!==void 0?n:[],c=[],d=this.getWidgets(),h=0,p=d.length;h<p;h++){var y=d[h],g=(i=l[h])!==null&&i!==void 0?i:Lt.fromText((s=(r=y.getOnValue())===null||r===void 0?void 0:r.decodeText())!==null&&s!==void 0?s:"");c.push(g)}this.setOpt(c)},t.prototype.addOpt=function(n,i){var r;this.normalizeExportValues();var s=n.decodeText(),l;if(i)for(var c=(r=this.getExportValues())!==null&&r!==void 0?r:[],d=0,h=c.length;d<h;d++){var p=c[d];p.decodeText()===s&&(l=d)}var y=this.Opt();return y.push(n),l??y.size()-1},t.prototype.addWidgetWithOpt=function(n,i,r){var s=this.addOpt(i,r),l=N.of(String(s));return this.addWidget(n),l},t})(kr),zf=fit});var dit,ku,p5=it(()=>{"use strict";kt();nn();_b();En();dit=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.setValue=function(n){var i,r=(i=this.getOnValue())!==null&&i!==void 0?i:N.of("Yes");if(n!==r&&n!==N.of("Off"))throw new Eh;this.dict.set(N.of("V"),n);for(var s=this.getWidgets(),l=0,c=s.length;l<c;l++){var d=s[l],h=d.getOnValue()===n?n:N.of("Off");d.setAppearanceState(h)}},t.prototype.getValue=function(){var n=this.V();return n instanceof N?n:N.of("Off")},t.prototype.getOnValue=function(){var n=this.getWidgets()[0];return n?.getOnValue()},t.fromDict=function(n,i){return new t(n,i)},t.create=function(n){var i=n.obj({FT:"Btn",Kids:[]}),r=n.register(i);return new t(i,r)},t})(zf),ku=dit});var Pi,ho,Ra,Gn,Ye,Fh=it(()=>{"use strict";Pi=function(e){return 1<<e};(function(e){e[e.ReadOnly=Pi(0)]="ReadOnly",e[e.Required=Pi(1)]="Required",e[e.NoExport=Pi(2)]="NoExport"})(ho||(ho={}));(function(e){e[e.NoToggleToOff=Pi(14)]="NoToggleToOff",e[e.Radio=Pi(15)]="Radio",e[e.PushButton=Pi(16)]="PushButton",e[e.RadiosInUnison=Pi(25)]="RadiosInUnison"})(Ra||(Ra={}));(function(e){e[e.Multiline=Pi(12)]="Multiline",e[e.Password=Pi(13)]="Password",e[e.FileSelect=Pi(20)]="FileSelect",e[e.DoNotSpellCheck=Pi(22)]="DoNotSpellCheck",e[e.DoNotScroll=Pi(23)]="DoNotScroll",e[e.Comb=Pi(24)]="Comb",e[e.RichText=Pi(25)]="RichText"})(Gn||(Gn={}));(function(e){e[e.Combo=Pi(17)]="Combo",e[e.Edit=Pi(18)]="Edit",e[e.Sort=Pi(19)]="Sort",e[e.MultiSelect=Pi(21)]="MultiSelect",e[e.DoNotSpellCheck=Pi(22)]="DoNotSpellCheck",e[e.CommitOnSelChange=Pi(26)]="CommitOnSelChange"})(Ye||(Ye={}))});var hit,xm,NE=it(()=>{"use strict";kt();_h();zr();Os();Da();nn();Fh();En();hit=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.setValues=function(n){if(this.hasFlag(Ye.Combo)&&!this.hasFlag(Ye.Edit)&&!this.valuesAreValid(n))throw new Eh;if(n.length===0&&this.dict.delete(N.of("V")),n.length===1&&this.dict.set(N.of("V"),n[0]),n.length>1){if(!this.hasFlag(Ye.MultiSelect))throw new B3;this.dict.set(N.of("V"),this.dict.context.obj(n))}this.updateSelectedIndices(n)},t.prototype.valuesAreValid=function(n){for(var i=this.getOptions(),r=function(d,h){var p=n[d].decodeText();if(!i.find(function(y){return p===(y.display||y.value).decodeText()}))return{value:!1}},s=0,l=n.length;s<l;s++){var c=r(s,l);if(typeof c=="object")return c.value}return!0},t.prototype.updateSelectedIndices=function(n){if(n.length>1){for(var i=new Array(n.length),r=this.getOptions(),s=function(d,h){var p=n[d].decodeText();i[d]=r.findIndex(function(y){return p===(y.display||y.value).decodeText()})},l=0,c=n.length;l<c;l++)s(l,c);this.dict.set(N.of("I"),this.dict.context.obj(i.sort()))}else this.dict.delete(N.of("I"))},t.prototype.getValues=function(){var n=this.V();if(n instanceof Ce||n instanceof Lt)return[n];if(n instanceof ee){for(var i=[],r=0,s=n.size();r<s;r++){var l=n.lookup(r);(l instanceof Ce||l instanceof Lt)&&i.push(l)}return i}return[]},t.prototype.Opt=function(){return this.dict.lookupMaybe(N.of("Opt"),Ce,Lt,ee)},t.prototype.setOptions=function(n){for(var i=new Array(n.length),r=0,s=n.length;r<s;r++){var l=n[r],c=l.value,d=l.display;i[r]=this.dict.context.obj([c,d||c])}this.dict.set(N.of("Opt"),this.dict.context.obj(i))},t.prototype.getOptions=function(){var n=this.Opt();if(n instanceof Ce||n instanceof Lt)return[{value:n,display:n}];if(n instanceof ee){for(var i=[],r=0,s=n.size();r<s;r++){var l=n.lookup(r);if((l instanceof Ce||l instanceof Lt)&&i.push({value:l,display:l}),l instanceof ee&&l.size()>0){var c=l.lookup(0,Ce,Lt),d=l.lookupMaybe(1,Ce,Lt);i.push({value:c,display:d||c})}}return i}return[]},t})(kr),xm=hit});var pit,Lu,m5=it(()=>{"use strict";kt();NE();Fh();pit=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.fromDict=function(n,i){return new t(n,i)},t.create=function(n){var i=n.obj({FT:"Ch",Ff:Ye.Combo,Kids:[]}),r=n.register(i);return new t(i,r)},t})(xm),Lu=pit});var mit,Pu,zE=it(()=>{"use strict";kt();nn();ME();mit=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.addField=function(n){var i=this.normalizedEntries().Kids;i?.push(n)},t.prototype.normalizedEntries=function(){var n=this.Kids();return n||(n=this.dict.context.obj([]),this.dict.set(N.of("Kids"),n)),{Kids:n}},t.fromDict=function(n,i){return new t(n,i)},t.create=function(n){var i=n.obj({}),r=n.register(i);return new t(i,r)},t})(bm),Pu=mit});var git,kf,g5=it(()=>{"use strict";kt();_h();git=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.fromDict=function(n,i){return new t(n,i)},t})(kr),kf=git});var vit,Uu,v5=it(()=>{"use strict";kt();bi();Os();zr();nn();_h();vit=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.MaxLen=function(){var n=this.dict.lookup(N.of("MaxLen"));if(n instanceof Pt)return n},t.prototype.Q=function(){var n=this.dict.lookup(N.of("Q"));if(n instanceof Pt)return n},t.prototype.setMaxLength=function(n){this.dict.set(N.of("MaxLen"),Pt.of(n))},t.prototype.removeMaxLength=function(){this.dict.delete(N.of("MaxLen"))},t.prototype.getMaxLength=function(){var n;return(n=this.MaxLen())===null||n===void 0?void 0:n.asNumber()},t.prototype.setQuadding=function(n){this.dict.set(N.of("Q"),Pt.of(n))},t.prototype.getQuadding=function(){var n;return(n=this.Q())===null||n===void 0?void 0:n.asNumber()},t.prototype.setValue=function(n){this.dict.set(N.of("V"),n)},t.prototype.removeValue=function(){this.dict.delete(N.of("V"))},t.prototype.getValue=function(){var n=this.V();if(n instanceof Ce||n instanceof Lt)return n},t.fromDict=function(n,i){return new t(n,i)},t.create=function(n){var i=n.obj({FT:"Tx",Kids:[]}),r=n.register(i);return new t(i,r)},t})(kr),Uu=vit});var yit,Bu,y5=it(()=>{"use strict";kt();_b();Fh();yit=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.fromDict=function(n,i){return new t(n,i)},t.create=function(n){var i=n.obj({FT:"Btn",Ff:Ra.PushButton,Kids:[]}),r=n.register(i);return new t(i,r)},t})(zf),Bu=yit});var bit,Hu,b5=it(()=>{"use strict";kt();nn();_b();Fh();En();bit=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.setValue=function(n){var i=this.getOnValues();if(!i.includes(n)&&n!==N.of("Off"))throw new Eh;this.dict.set(N.of("V"),n);for(var r=this.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s],d=c.getOnValue()===n?n:N.of("Off");c.setAppearanceState(d)}},t.prototype.getValue=function(){var n=this.V();return n instanceof N?n:N.of("Off")},t.prototype.getOnValues=function(){for(var n=this.getWidgets(),i=[],r=0,s=n.length;r<s;r++){var l=n[r].getOnValue();l&&i.push(l)}return i},t.fromDict=function(n,i){return new t(n,i)},t.create=function(n){var i=n.obj({FT:"Btn",Ff:Ra.Radio,Kids:[]}),r=n.register(i);return new t(i,r)},t})(zf),Hu=bit});var Sit,ju,S5=it(()=>{"use strict";kt();NE();Sit=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.fromDict=function(n,i){return new t(n,i)},t.create=function(n){var i=n.obj({FT:"Ch",Kids:[]}),r=n.register(i);return new t(i,r)},t})(xm),ju=Sit});var Am,kE,xit,Ait,wit,Eit,x5,A5,BG,w5=it(()=>{"use strict";bi();Ba();nn();Da();ur();_h();zE();g5();v5();y5();b5();p5();m5();S5();Fh();Am=function(e){if(!e)return[];for(var t=[],n=0,i=e.size();n<i;n++){var r=e.get(n),s=e.lookup(n);r instanceof ie&&s instanceof Ht&&t.push([kE(s,r),r])}return t},kE=function(e,t){var n=xit(e);return n?Pu.fromDict(e,t):Ait(e,t)},xit=function(e){var t=e.lookup(N.of("Kids"));if(t instanceof ee)for(var n=0,i=t.size();n<i;n++){var r=t.lookup(n),s=r instanceof Ht&&r.has(N.of("T"));if(s)return!0}return!1},Ait=function(e,t){var n=A5(e,N.of("FT")),i=e.context.lookup(n,N);return i===N.of("Btn")?wit(e,t):i===N.of("Ch")?Eit(e,t):i===N.of("Tx")?Uu.fromDict(e,t):i===N.of("Sig")?kf.fromDict(e,t):kr.fromDict(e,t)},wit=function(e,t){var n,i=A5(e,N.of("Ff")),r=e.context.lookupMaybe(i,Pt),s=(n=r?.asNumber())!==null&&n!==void 0?n:0;return x5(s,Ra.PushButton)?Bu.fromDict(e,t):x5(s,Ra.Radio)?Hu.fromDict(e,t):ku.fromDict(e,t)},Eit=function(e,t){var n,i=A5(e,N.of("Ff")),r=e.context.lookupMaybe(i,Pt),s=(n=r?.asNumber())!==null&&n!==void 0?n:0;return x5(s,Ye.Combo)?Lu.fromDict(e,t):ju.fromDict(e,t)},x5=function(e,t){return(e&t)!==0},A5=function(e,t){var n;return BG(e,function(i){n||(n=i.get(t))}),n},BG=function(e,t){t(e);var n=e.lookupMaybe(N.of("Parent"),Ht);n&&BG(n,t)}});var Tit,Lf,HG=it(()=>{"use strict";Ba();Da();nn();zE();w5();Tit=(function(){function e(t){this.dict=t}return e.prototype.Fields=function(){var t=this.dict.lookup(N.of("Fields"));if(t instanceof ee)return t},e.prototype.getFields=function(){for(var t=this.normalizedEntries().Fields,n=new Array(t.size()),i=0,r=t.size();i<r;i++){var s=t.get(i),l=t.lookup(i,Ht);n[i]=[kE(l,s),s]}return n},e.prototype.getAllFields=function(){var t=[],n=function(i){if(i)for(var r=0,s=i.length;r<s;r++){var l=i[r];t.push(l);var c=l[0];c instanceof Pu&&n(Am(c.Kids()))}};return n(this.getFields()),t},e.prototype.addField=function(t){var n=this.normalizedEntries().Fields;n?.push(t)},e.prototype.removeField=function(t){var n=t.getParent(),i=n===void 0?this.normalizedEntries().Fields:n.Kids(),r=i?.indexOf(t.ref);if(i===void 0||r===void 0)throw new Error("Tried to remove inexistent field "+t.getFullyQualifiedName());i.remove(r),n!==void 0&&i.size()===0&&this.removeField(n)},e.prototype.normalizedEntries=function(){var t=this.Fields();return t||(t=this.dict.context.obj([]),this.dict.set(N.of("Fields"),t)),{Fields:t}},e.fromDict=function(t){return new e(t)},e.create=function(t){var n=t.obj({Fields:[]});return new e(n)},e})(),Lf=Tit});var E5=it(()=>{"use strict";_b();p5();NE();m5();ME();HG();S5();zE();y5();b5();g5();_h();v5();Fh();w5()});var Cit,wm,T5=it(()=>{"use strict";kt();Ba();nn();E5();c5();Cit=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.Pages=function(){return this.lookup(N.of("Pages"),Ht)},t.prototype.AcroForm=function(){return this.lookupMaybe(N.of("AcroForm"),Ht)},t.prototype.getAcroForm=function(){var n=this.AcroForm();if(n)return Lf.fromDict(n)},t.prototype.getOrCreateAcroForm=function(){var n=this.getAcroForm();if(!n){n=Lf.create(this.context);var i=this.context.register(n.dict);this.set(N.of("AcroForm"),i)}return n},t.prototype.ViewerPreferences=function(){return this.lookupMaybe(N.of("ViewerPreferences"),Ht)},t.prototype.getViewerPreferences=function(){var n=this.ViewerPreferences();if(n)return Mb.fromDict(n)},t.prototype.getOrCreateViewerPreferences=function(){var n=this.getViewerPreferences();if(!n){n=Mb.create(this.context);var i=this.context.register(n.dict);this.set(N.of("ViewerPreferences"),i)}return n},t.prototype.insertLeafNode=function(n,i){var r=this.get(N.of("Pages")),s=this.Pages().insertLeafNode(n,i);return s||r},t.prototype.removeLeafNode=function(n){this.Pages().removeLeafNode(n)},t.withContextAndPages=function(n,i){var r=new Map;return r.set(N.of("Type"),N.of("Catalog")),r.set(N.of("Pages"),i),new t(r,n)},t.fromMapWithContext=function(n,i){return new t(n,i)},t})(Ht),wm=Cit});var Dit,Em,C5=it(()=>{"use strict";kt();Da();Ba();nn();bi();Db();En();Dit=(function(e){ct(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.Parent=function(){return this.lookup(N.of("Parent"))},t.prototype.Kids=function(){return this.lookup(N.of("Kids"),ee)},t.prototype.Count=function(){return this.lookup(N.of("Count"),Pt)},t.prototype.pushTreeNode=function(n){var i=this.Kids();i.push(n)},t.prototype.pushLeafNode=function(n){var i=this.Kids();this.insertLeafKid(i.size(),n)},t.prototype.insertLeafNode=function(n,i){var r=this.Kids(),s=this.Count().asNumber();if(i>s)throw new dE(i,s);for(var l=i,c=0,d=r.size();c<d;c++){if(l===0){this.insertLeafKid(c,n);return}var h=r.get(c),p=this.context.lookup(h);if(p instanceof t){if(p.Count().asNumber()>l)return p.insertLeafNode(n,l)||h;l-=p.Count().asNumber()}p instanceof Ha&&(l-=1)}if(l===0){this.insertLeafKid(r.size(),n);return}throw new hE(i,"insertLeafNode")},t.prototype.removeLeafNode=function(n,i){i===void 0&&(i=!0);var r=this.Kids(),s=this.Count().asNumber();if(n>=s)throw new dE(n,s);for(var l=n,c=0,d=r.size();c<d;c++){var h=r.get(c),p=this.context.lookup(h);if(p instanceof t)if(p.Count().asNumber()>l){p.removeLeafNode(l,i),i&&p.Kids().size()===0&&r.remove(c);return}else l-=p.Count().asNumber();if(p instanceof Ha)if(l===0){this.removeKid(c);return}else l-=1}throw new hE(n,"removeLeafNode")},t.prototype.ascend=function(n){n(this);var i=this.Parent();i&&i.ascend(n)},t.prototype.traverse=function(n){for(var i=this.Kids(),r=0,s=i.size();r<s;r++){var l=i.get(r),c=this.context.lookup(l);c instanceof t&&c.traverse(n),n(c,l)}},t.prototype.insertLeafKid=function(n,i){var r=this.Kids();this.ascend(function(s){var l=s.Count().asNumber()+1;s.set(N.of("Count"),Pt.of(l))}),r.insert(n,i)},t.prototype.removeKid=function(n){var i=this.Kids(),r=i.lookup(n);r instanceof Ha&&this.ascend(function(s){var l=s.Count().asNumber()-1;s.set(N.of("Count"),Pt.of(l))}),i.remove(n)},t.withContext=function(n,i){var r=new Map;return r.set(N.of("Type"),N.of("Pages")),r.set(N.of("Kids"),n.obj([])),r.set(N.of("Count"),n.obj(0)),i&&r.set(N.of("Parent"),i),new t(r,n)},t.fromMapWithContext=function(n,i){return new t(n,i)},t})(Ht),Em=Dit});var Zi,LE,Fb,Tm,jG,PE=it(()=>{"use strict";Tn();Zi=new Uint8Array(256);Zi[L.Zero]=1;Zi[L.One]=1;Zi[L.Two]=1;Zi[L.Three]=1;Zi[L.Four]=1;Zi[L.Five]=1;Zi[L.Six]=1;Zi[L.Seven]=1;Zi[L.Eight]=1;Zi[L.Nine]=1;LE=new Uint8Array(256);LE[L.Period]=1;LE[L.Plus]=1;LE[L.Minus]=1;Fb=new Uint8Array(256);for(Tm=0,jG=256;Tm<jG;Tm++)Fb[Tm]=Zi[Tm]||LE[Tm]?1:0});var qG,VG,Rit,GG,IG=it(()=>{"use strict";En();Tn();PE();mE();pe();qG=L.Newline,VG=L.CarriageReturn,Rit=(function(){function e(t,n){n===void 0&&(n=!1),this.bytes=t,this.capNumbers=n}return e.prototype.parseRawInt=function(){for(var t="";!this.bytes.done();){var n=this.bytes.peek();if(!Zi[n])break;t+=Or(this.bytes.next())}var i=Number(t);if(!t||!isFinite(i))throw new pE(this.bytes.position(),t);return i},e.prototype.parseRawNumber=function(){for(var t="";!this.bytes.done();){var n=this.bytes.peek();if(!Fb[n]||(t+=Or(this.bytes.next()),n===L.Period))break}for(;!this.bytes.done();){var n=this.bytes.peek();if(!Zi[n])break;t+=Or(this.bytes.next())}var i=Number(t);if(!t||!isFinite(i))throw new pE(this.bytes.position(),t);if(i>Number.MAX_SAFE_INTEGER)if(this.capNumbers){var r="Parsed number that is too large for some PDF readers: "+t+", using Number.MAX_SAFE_INTEGER instead.";return console.warn(r),Number.MAX_SAFE_INTEGER}else{var r="Parsed number that is too large for some PDF readers: "+t+", not capping.";console.warn(r)}return i},e.prototype.skipWhitespace=function(){for(;!this.bytes.done()&&Zo[this.bytes.peek()];)this.bytes.next()},e.prototype.skipLine=function(){for(;!this.bytes.done();){var t=this.bytes.peek();if(t===qG||t===VG)return;this.bytes.next()}},e.prototype.skipComment=function(){if(this.bytes.peek()!==L.Percent)return!1;for(;!this.bytes.done();){var t=this.bytes.peek();if(t===qG||t===VG)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 n=this.bytes.offset(),i=0,r=t.length;i<r;i++)if(this.bytes.done()||this.bytes.next()!==t[i])return this.bytes.moveTo(n),!1;return!0},e})(),GG=Rit});var Oit,Pf,Nb=it(()=>{"use strict";En();RE();Tn();Oit=(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===L.Newline?(this.line+=1,this.column=0):this.column+=1,t},e.prototype.assertNext=function(t){if(this.peek()!==t)throw new q3(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,n){return this.bytes.slice(t,n)},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(gm(t).decode())},e})(),Pf=Oit});var Mit,zb,kb,Lb,UE,mn,D5=it(()=>{"use strict";kt();Tn();Mit=L.Space,zb=L.CarriageReturn,kb=L.Newline,Lb=[L.s,L.t,L.r,L.e,L.a,L.m],UE=[L.e,L.n,L.d,L.s,L.t,L.r,L.e,L.a,L.m],mn={header:[L.Percent,L.P,L.D,L.F,L.Dash],eof:[L.Percent,L.Percent,L.E,L.O,L.F],obj:[L.o,L.b,L.j],endobj:[L.e,L.n,L.d,L.o,L.b,L.j],xref:[L.x,L.r,L.e,L.f],trailer:[L.t,L.r,L.a,L.i,L.l,L.e,L.r],startxref:[L.s,L.t,L.a,L.r,L.t,L.x,L.r,L.e,L.f],true:[L.t,L.r,L.u,L.e],false:[L.f,L.a,L.l,L.s,L.e],null:[L.n,L.u,L.l,L.l],stream:Lb,streamEOF1:Fe(Lb,[Mit,zb,kb]),streamEOF2:Fe(Lb,[zb,kb]),streamEOF3:Fe(Lb,[zb]),streamEOF4:Fe(Lb,[kb]),endstream:UE,EOF1endstream:Fe([zb,kb],UE),EOF2endstream:Fe([zb],UE),EOF3endstream:Fe([kb],UE)}});var _it,Cm,BE=it(()=>{"use strict";kt();En();Da();Eb();Ba();zr();nn();Tb();bi();om();ur();Os();IG();Nb();T5();Db();C5();Tn();J3();D5();PE();mE();pe();_it=(function(e){ct(t,e);function t(n,i,r){r===void 0&&(r=!1);var s=e.call(this,n,r)||this;return s.context=i,s}return t.prototype.parseObject=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(mn.true))return Dl.True;if(this.matchKeyword(mn.false))return Dl.False;if(this.matchKeyword(mn.null))return Ki;var n=this.bytes.peek();if(n===L.LessThan&&this.bytes.peekAhead(1)===L.LessThan)return this.parseDictOrStream();if(n===L.LessThan)return this.parseHexString();if(n===L.LeftParen)return this.parseString();if(n===L.ForwardSlash)return this.parseName();if(n===L.LeftSquareBracket)return this.parseArray();if(Fb[n])return this.parseNumberOrRef();throw new V3(this.bytes.position(),n)},t.prototype.parseNumberOrRef=function(){var n=this.parseRawNumber();this.skipWhitespaceAndComments();var i=this.bytes.offset();if(Zi[this.bytes.peek()]){var r=this.parseRawNumber();if(this.skipWhitespaceAndComments(),this.bytes.peek()===L.R)return this.bytes.assertNext(L.R),ie.of(n,r)}return this.bytes.moveTo(i),Pt.of(n)},t.prototype.parseHexString=function(){var n="";for(this.bytes.assertNext(L.LessThan);!this.bytes.done()&&this.bytes.peek()!==L.GreaterThan;)n+=Or(this.bytes.next());return this.bytes.assertNext(L.GreaterThan),Lt.of(n)},t.prototype.parseString=function(){for(var n=0,i=!1,r="";!this.bytes.done();){var s=this.bytes.next();if(r+=Or(s),i||(s===L.LeftParen&&(n+=1),s===L.RightParen&&(n-=1)),s===L.BackSlash?i=!i:i&&(i=!1),n===0)return Ce.of(r.substring(1,r.length-1))}throw new X3(this.bytes.position())},t.prototype.parseName=function(){this.bytes.assertNext(L.ForwardSlash);for(var n="";!this.bytes.done();){var i=this.bytes.peek();if(Zo[i]||Nr[i])break;n+=Or(i),this.bytes.next()}return N.of(n)},t.prototype.parseArray=function(){this.bytes.assertNext(L.LeftSquareBracket),this.skipWhitespaceAndComments();for(var n=ee.withContext(this.context);this.bytes.peek()!==L.RightSquareBracket;){var i=this.parseObject();n.push(i),this.skipWhitespaceAndComments()}return this.bytes.assertNext(L.RightSquareBracket),n},t.prototype.parseDict=function(){this.bytes.assertNext(L.LessThan),this.bytes.assertNext(L.LessThan),this.skipWhitespaceAndComments();for(var n=new Map;!this.bytes.done()&&this.bytes.peek()!==L.GreaterThan&&this.bytes.peekAhead(1)!==L.GreaterThan;){var i=this.parseName(),r=this.parseObject();n.set(i,r),this.skipWhitespaceAndComments()}this.skipWhitespaceAndComments(),this.bytes.assertNext(L.GreaterThan),this.bytes.assertNext(L.GreaterThan);var s=n.get(N.of("Type"));return s===N.of("Catalog")?wm.fromMapWithContext(n,this.context):s===N.of("Pages")?Em.fromMapWithContext(n,this.context):s===N.of("Page")?Ha.fromMapWithContext(n,this.context):Ht.fromMapWithContext(n,this.context)},t.prototype.parseDictOrStream=function(){var n=this.bytes.position(),i=this.parseDict();if(this.skipWhitespaceAndComments(),!this.matchKeyword(mn.streamEOF1)&&!this.matchKeyword(mn.streamEOF2)&&!this.matchKeyword(mn.streamEOF3)&&!this.matchKeyword(mn.streamEOF4)&&!this.matchKeyword(mn.stream))return i;var r=this.bytes.offset(),s,l=i.get(N.of("Length"));l instanceof Pt?(s=r+l.asNumber(),this.bytes.moveTo(s),this.skipWhitespaceAndComments(),this.matchKeyword(mn.endstream)||(this.bytes.moveTo(r),s=this.findEndOfStreamFallback(n))):s=this.findEndOfStreamFallback(n);var c=this.bytes.slice(r,s);return Rs.of(i,c)},t.prototype.findEndOfStreamFallback=function(n){for(var i=1,r=this.bytes.offset();!this.bytes.done()&&(r=this.bytes.offset(),this.matchKeyword(mn.stream)?i+=1:this.matchKeyword(mn.EOF1endstream)||this.matchKeyword(mn.EOF2endstream)||this.matchKeyword(mn.EOF3endstream)||this.matchKeyword(mn.endstream)?i-=1:this.bytes.next(),i!==0););if(i!==0)throw new I3(n);return r},t.forBytes=function(n,i,r){return new t(Pf.of(n),i,r)},t.forByteStream=function(n,i,r){return r===void 0&&(r=!1),new t(n,i,r)},t})(GG),Cm=_it});var Fit,HE,R5=it(()=>{"use strict";kt();En();nn();bi();ur();Nb();BE();pe();Fit=(function(e){ct(t,e);function t(n,i){var r=e.call(this,Pf.fromPDFRawStream(n),n.dict.context)||this,s=n.dict;return r.alreadyParsed=!1,r.shouldWaitForTick=i||(function(){return!1}),r.firstOffset=s.lookup(N.of("First"),Pt).asNumber(),r.objectCount=s.lookup(N.of("N"),Pt).asNumber(),r}return t.prototype.parseIntoContext=function(){return It(this,void 0,void 0,function(){var n,i,r,s,l,c,d,h;return Xt(this,function(p){switch(p.label){case 0:if(this.alreadyParsed)throw new Ah("PDFObjectStreamParser","parseIntoContext");this.alreadyParsed=!0,n=this.parseOffsetsAndObjectNumbers(),i=0,r=n.length,p.label=1;case 1:return i<r?(s=n[i],l=s.objectNumber,c=s.offset,this.bytes.moveTo(this.firstOffset+c),d=this.parseObject(),h=ie.of(l,0),this.context.assign(h,d),this.shouldWaitForTick()?[4,Ts()]:[3,3]):[3,4];case 2:p.sent(),p.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},t.prototype.parseOffsetsAndObjectNumbers=function(){for(var n=[],i=0,r=this.objectCount;i<r;i++){this.skipWhitespaceAndComments();var s=this.parseRawInt();this.skipWhitespaceAndComments();var l=this.parseRawInt();n.push({objectNumber:s,offset:l})}return n},t.forStream=function(n,i){return new t(n,i)},t})(Cm),HE=Fit});var Nit,jE,O5=it(()=>{"use strict";En();Da();nn();bi();ur();Nb();Nit=(function(){function e(t){this.alreadyParsed=!1,this.dict=t.dict,this.bytes=Pf.fromPDFRawStream(t),this.context=this.dict.context;var n=this.dict.lookup(N.of("Size"),Pt),i=this.dict.lookup(N.of("Index"));if(i instanceof ee){this.subsections=[];for(var r=0,s=i.size();r<s;r+=2){var l=i.lookup(r+0,Pt).asNumber(),c=i.lookup(r+1,Pt).asNumber();this.subsections.push({firstObjectNumber:l,length:c})}}else this.subsections=[{firstObjectNumber:0,length:n.asNumber()}];var d=this.dict.lookup(N.of("W"),ee);this.byteWidths=[-1,-1,-1];for(var r=0,s=d.size();r<s;r++)this.byteWidths[r]=d.lookup(r,Pt).asNumber()}return e.prototype.parseIntoContext=function(){if(this.alreadyParsed)throw new Ah("PDFXRefStreamParser","parseIntoContext");this.alreadyParsed=!0,this.context.trailerInfo={Root:this.dict.get(N.of("Root")),Encrypt:this.dict.get(N.of("Encrypt")),Info:this.dict.get(N.of("Info")),ID:this.dict.get(N.of("ID"))};var t=this.parseEntries();return t},e.prototype.parseEntries=function(){for(var t=[],n=this.byteWidths,i=n[0],r=n[1],s=n[2],l=0,c=this.subsections.length;l<c;l++)for(var d=this.subsections[l],h=d.firstObjectNumber,p=d.length,y=0;y<p;y++){for(var g=0,b=0,S=i;b<S;b++)g=g<<8|this.bytes.next();for(var w=0,b=0,S=r;b<S;b++)w=w<<8|this.bytes.next();for(var D=0,b=0,S=s;b<S;b++)D=D<<8|this.bytes.next();i===0&&(g=1);var A=h+y,T={ref:ie.of(A,D),offset:w,deleted:g===0,inObjectStream:g===2};t.push(T)}return t},e.forStream=function(t){return new e(t)},e})(),jE=Nit});var zit,qE,XG=it(()=>{"use strict";kt();yE();am();Ob();En();Ba();xE();nn();om();ur();Nb();BE();R5();O5();n5();Tn();D5();PE();pe();zit=(function(e){ct(t,e);function t(n,i,r,s){i===void 0&&(i=1/0),r===void 0&&(r=!1),s===void 0&&(s=!1);var l=e.call(this,Pf.of(n),Th.create(),s)||this;return l.alreadyParsed=!1,l.parsedObjects=0,l.shouldWaitForTick=function(){return l.parsedObjects+=1,l.parsedObjects%l.objectsPerTick===0},l.objectsPerTick=i,l.throwOnInvalidObject=r,l}return t.prototype.parseDocument=function(){return It(this,void 0,void 0,function(){var n,i;return Xt(this,function(r){switch(r.label){case 0:if(this.alreadyParsed)throw new Ah("PDFParser","parseDocument");this.alreadyParsed=!0,this.context.header=this.parseHeader(),r.label=1;case 1:return this.bytes.done()?[3,3]:[4,this.parseDocumentSection()];case 2:if(r.sent(),i=this.bytes.offset(),i===n)throw new Y3(this.bytes.position());return n=i,[3,1];case 3:return this.maybeRecoverRoot(),this.context.lookup(ie.of(0))&&(console.warn("Removing parsed object: 0 0 R"),this.context.delete(ie.of(0))),[2,this.context]}})})},t.prototype.maybeRecoverRoot=function(){var n=function(p){return p instanceof Ht&&p.lookup(N.of("Type"))===N.of("Catalog")},i=this.context.lookup(this.context.trailerInfo.Root);if(!n(i))for(var r=this.context.enumerateIndirectObjects(),s=0,l=r.length;s<l;s++){var c=r[s],d=c[0],h=c[1];n(h)&&(this.context.trailerInfo.Root=d)}},t.prototype.parseHeader=function(){for(;!this.bytes.done();){if(this.matchKeyword(mn.header)){var n=this.parseRawInt();this.bytes.assertNext(L.Period);var i=this.parseRawInt(),r=Cl.forVersion(n,i);return this.skipBinaryHeaderComment(),r}this.bytes.next()}throw new K3(this.bytes.position())},t.prototype.parseIndirectObjectHeader=function(){this.skipWhitespaceAndComments();var n=this.parseRawInt();this.skipWhitespaceAndComments();var i=this.parseRawInt();if(this.skipWhitespaceAndComments(),!this.matchKeyword(mn.obj))throw new Z3(this.bytes.position(),mn.obj);return ie.of(n,i)},t.prototype.matchIndirectObjectHeader=function(){var n=this.bytes.offset();try{return this.parseIndirectObjectHeader(),!0}catch{return this.bytes.moveTo(n),!1}},t.prototype.parseIndirectObject=function(){return It(this,void 0,void 0,function(){var n,i;return Xt(this,function(r){switch(r.label){case 0:return n=this.parseIndirectObjectHeader(),this.skipWhitespaceAndComments(),i=this.parseObject(),this.skipWhitespaceAndComments(),this.matchKeyword(mn.endobj),i instanceof Rs&&i.dict.lookup(N.of("Type"))===N.of("ObjStm")?[4,HE.forStream(i,this.shouldWaitForTick).parseIntoContext()]:[3,2];case 1:return r.sent(),[3,3];case 2:i instanceof Rs&&i.dict.lookup(N.of("Type"))===N.of("XRef")?jE.forStream(i).parseIntoContext():this.context.assign(n,i),r.label=3;case 3:return[2,n]}})})},t.prototype.tryToParseInvalidIndirectObject=function(){var n=this.bytes.position(),i="Trying to parse invalid object: "+JSON.stringify(n)+")";if(this.throwOnInvalidObject)throw new Error(i);console.warn(i);var r=this.parseIndirectObjectHeader();console.warn("Invalid object ref: "+r),this.skipWhitespaceAndComments();for(var s=this.bytes.offset(),l=!0;!this.bytes.done()&&(this.matchKeyword(mn.endobj)&&(l=!1),!!l);)this.bytes.next();if(l)throw new G3(n);var c=this.bytes.offset()-mn.endobj.length,d=cm.of(this.bytes.slice(s,c));return this.context.assign(r,d),r},t.prototype.parseIndirectObjects=function(){return It(this,void 0,void 0,function(){var n,i;return Xt(this,function(r){switch(r.label){case 0:this.skipWhitespaceAndComments(),r.label=1;case 1:if(!(!this.bytes.done()&&Zi[this.bytes.peek()]))return[3,8];n=this.bytes.offset(),r.label=2;case 2:return r.trys.push([2,4,,5]),[4,this.parseIndirectObject()];case 3:return r.sent(),[3,5];case 4:return i=r.sent(),this.bytes.moveTo(n),this.tryToParseInvalidIndirectObject(),[3,5];case 5:return this.skipWhitespaceAndComments(),this.skipJibberish(),this.shouldWaitForTick()?[4,Ts()]:[3,7];case 6:r.sent(),r.label=7;case 7:return[3,1];case 8:return[2]}})})},t.prototype.maybeParseCrossRefSection=function(){if(this.skipWhitespaceAndComments(),!!this.matchKeyword(mn.xref)){this.skipWhitespaceAndComments();for(var n=-1,i=sm.createEmpty();!this.bytes.done()&&Zi[this.bytes.peek()];){var r=this.parseRawInt();this.skipWhitespaceAndComments();var s=this.parseRawInt();this.skipWhitespaceAndComments();var l=this.bytes.peek();if(l===L.n||l===L.f){var c=ie.of(n,s);this.bytes.next()===L.n?i.addEntry(c,r):i.addDeletedEntry(c,r),n+=1}else n=r;this.skipWhitespaceAndComments()}return i}},t.prototype.maybeParseTrailerDict=function(){if(this.skipWhitespaceAndComments(),!!this.matchKeyword(mn.trailer)){this.skipWhitespaceAndComments();var n=this.parseDict(),i=this.context;i.trailerInfo={Root:n.get(N.of("Root"))||i.trailerInfo.Root,Encrypt:n.get(N.of("Encrypt"))||i.trailerInfo.Encrypt,Info:n.get(N.of("Info"))||i.trailerInfo.Info,ID:n.get(N.of("ID"))||i.trailerInfo.ID}}},t.prototype.maybeParseTrailer=function(){if(this.skipWhitespaceAndComments(),!!this.matchKeyword(mn.startxref)){this.skipWhitespaceAndComments();var n=this.parseRawInt();return this.skipWhitespace(),this.matchKeyword(mn.eof),this.skipWhitespaceAndComments(),this.matchKeyword(mn.eof),this.skipWhitespaceAndComments(),Mf.forLastCrossRefSectionOffset(n)}},t.prototype.parseDocumentSection=function(){return It(this,void 0,void 0,function(){return Xt(this,function(n){switch(n.label){case 0:return[4,this.parseIndirectObjects()];case 1:return n.sent(),this.maybeParseCrossRefSection(),this.maybeParseTrailerDict(),this.maybeParseTrailer(),this.skipJibberish(),[2]}})})},t.prototype.skipJibberish=function(){for(this.skipWhitespaceAndComments();!this.bytes.done();){var n=this.bytes.offset(),i=this.bytes.peek(),r=i>=L.Space&&i<=L.Tilde;if(r&&(this.matchKeyword(mn.xref)||this.matchKeyword(mn.trailer)||this.matchKeyword(mn.startxref)||this.matchIndirectObjectHeader())){this.bytes.moveTo(n);break}this.bytes.next()}},t.prototype.skipBinaryHeaderComment=function(){this.skipWhitespaceAndComments();try{var n=this.bytes.offset();this.parseIndirectObjectHeader(),this.bytes.moveTo(n)}catch{this.bytes.next(),this.skipWhitespaceAndComments()}},t.forBytesWithOptions=function(n,i,r,s){return new t(n,i,r,s)},t})(Cm),qE=zit});var Ml,Nh,YG=it(()=>{"use strict";Ml=function(e){return 1<<e};(function(e){e[e.Invisible=Ml(0)]="Invisible",e[e.Hidden=Ml(1)]="Hidden",e[e.Print=Ml(2)]="Print",e[e.NoZoom=Ml(3)]="NoZoom",e[e.NoRotate=Ml(4)]="NoRotate",e[e.NoView=Ml(5)]="NoView",e[e.ReadOnly=Ml(6)]="ReadOnly",e[e.Locked=Ml(7)]="Locked",e[e.ToggleNoView=Ml(8)]="ToggleNoView",e[e.LockedContents=Ml(9)]="LockedContents"})(Nh||(Nh={}))});var KG=it(()=>{"use strict";f5();h5();d5();YG()});var Ui=it(()=>{"use strict";En();Tn();n5();lG();a5();uG();am();Ob();i5();yE();cG();o5();gG();s5();yG();wG();PG();c5();lr();Eb();bi();Os();zr();nn();Tb();Da();Ba();ur();xE();zu();om();T5();vE();r5();SE();C5();Db();Cb();$3();e5();BE();R5();XG();O5();RE();KG();E5()});var Dm,qt,oe,VE=it(()=>{"use strict";Ui();Dm=function(e){return e instanceof N?e:N.of(e)},qt=function(e){return e instanceof Pt?e:Pt.of(e)},oe=function(e){return e instanceof Pt?e.asNumber():e}});var zh,kit,Zt,ZG,WG,qu,QG,fi,Pb,Wo,_l,M5,po=it(()=>{"use strict";pe();(function(e){e.Degrees="degrees",e.Radians="radians"})(zh||(zh={}));kit=function(e){return J(e,"radianAngle",["number"]),{type:zh.Radians,angle:e}},Zt=function(e){return J(e,"degreeAngle",["number"]),{type:zh.Degrees,angle:e}},ZG=zh.Radians,WG=zh.Degrees,qu=function(e){return e*Math.PI/180},QG=function(e){return e*180/Math.PI},fi=function(e){return e.type===ZG?e.angle:e.type===WG?qu(e.angle):xf("Invalid rotation: "+JSON.stringify(e))},Pb=function(e){return e.type===ZG?QG(e.angle):e.type===WG?e.angle:xf("Invalid rotation: "+JSON.stringify(e))},Wo=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},_l=function(e,t){t===void 0&&(t=0);var n=Wo(t);return n===90||n===270?{width:e.height,height:e.width}:{width:e.width,height:e.height}},M5=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=0);var i=e.x,r=e.y,s=e.width,l=e.height,c=Wo(n),d=t/2;return c===0?{x:i-d,y:r-d,width:s,height:l}:c===90?{x:i-l+d,y:r-d,width:l,height:s}:c===180?{x:i-s+d,y:r-l+d,width:s,height:l}:c===270?{x:i-d,y:r-s+d,width:l,height:s}:{x:i-d,y:r-d,width:s,height:l}}});var YE,Lit,GE,IE,XE,Ub,ja,Bf,Hf,Rm,Om,Pit,kh,Uit,Uf,Mm,_5,Bit,Fl,$n,ti,Lh,qa,_m,Ms,mo,Si,JG,Hit,Ph,Bb,Hb,KE,N5,jit,jb,qb,Vb,Uh,qit,Vit,Git,z5,Iit,F5,Xit,$G,Fm,Yit,Nm,k5,L5,P5,U5,B5,H5,ZE,WE,jf=it(()=>{"use strict";VE();po();Ui();YE=function(){return le.of(me.ClipNonZero)},Lit=function(){return le.of(me.ClipEvenOdd)},GE=Math.cos,IE=Math.sin,XE=Math.tan,Ub=function(e,t,n,i,r,s){return le.of(me.ConcatTransformationMatrix,[qt(e),qt(t),qt(n),qt(i),qt(r),qt(s)])},ja=function(e,t){return Ub(1,0,0,1,e,t)},Bf=function(e,t){return Ub(e,0,0,t,0,0)},Hf=function(e){return Ub(GE(oe(e)),IE(oe(e)),-IE(oe(e)),GE(oe(e)),0,0)},Rm=function(e){return Hf(qu(oe(e)))},Om=function(e,t){return Ub(1,XE(oe(e)),XE(oe(t)),1,0,0)},Pit=function(e,t){return Om(qu(oe(e)),qu(oe(t)))},kh=function(e,t){return le.of(me.SetLineDashPattern,["["+e.map(qt).join(" ")+"]",qt(t)])},Uit=function(){return kh([],0)};(function(e){e[e.Butt=0]="Butt",e[e.Round=1]="Round",e[e.Projecting=2]="Projecting"})(Uf||(Uf={}));Mm=function(e){return le.of(me.SetLineCapStyle,[qt(e)])};(function(e){e[e.Miter=0]="Miter",e[e.Round=1]="Round",e[e.Bevel=2]="Bevel"})(_5||(_5={}));Bit=function(e){return le.of(me.SetLineJoinStyle,[qt(e)])},Fl=function(e){return le.of(me.SetGraphicsStateParams,[Dm(e)])},$n=function(){return le.of(me.PushGraphicsState)},ti=function(){return le.of(me.PopGraphicsState)},Lh=function(e){return le.of(me.SetLineWidth,[qt(e)])},qa=function(e,t,n,i,r,s){return le.of(me.AppendBezierCurve,[qt(e),qt(t),qt(n),qt(i),qt(r),qt(s)])},_m=function(e,t,n,i){return le.of(me.CurveToReplicateInitialPoint,[qt(e),qt(t),qt(n),qt(i)])},Ms=function(){return le.of(me.ClosePath)},mo=function(e,t){return le.of(me.MoveTo,[qt(e),qt(t)])},Si=function(e,t){return le.of(me.LineTo,[qt(e),qt(t)])},JG=function(e,t,n,i){return le.of(me.AppendRectangle,[qt(e),qt(t),qt(n),qt(i)])},Hit=function(e,t,n){return JG(e,t,n,n)},Ph=function(){return le.of(me.StrokePath)},Bb=function(){return le.of(me.FillNonZero)},Hb=function(){return le.of(me.FillNonZeroAndStroke)},KE=function(){return le.of(me.EndPath)},N5=function(){return le.of(me.NextLine)},jit=function(e,t){return le.of(me.MoveText,[qt(e),qt(t)])},jb=function(e){return le.of(me.ShowText,[e])},qb=function(){return le.of(me.BeginText)},Vb=function(){return le.of(me.EndText)},Uh=function(e,t){return le.of(me.SetFontAndSize,[Dm(e),qt(t)])},qit=function(e){return le.of(me.SetCharacterSpacing,[qt(e)])},Vit=function(e){return le.of(me.SetWordSpacing,[qt(e)])},Git=function(e){return le.of(me.SetTextHorizontalScaling,[qt(e)])},z5=function(e){return le.of(me.SetTextLineHeight,[qt(e)])},Iit=function(e){return le.of(me.SetTextRise,[qt(e)])};(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"})(F5||(F5={}));Xit=function(e){return le.of(me.SetTextRenderingMode,[qt(e)])},$G=function(e,t,n,i,r,s){return le.of(me.SetTextMatrix,[qt(e),qt(t),qt(n),qt(i),qt(r),qt(s)])},Fm=function(e,t,n,i,r){return $G(GE(oe(e)),IE(oe(e))+XE(oe(t)),-IE(oe(e))+XE(oe(n)),GE(oe(e)),i,r)},Yit=function(e,t,n,i,r){return Fm(qu(oe(e)),qu(oe(t)),qu(oe(n)),i,r)},Nm=function(e){return le.of(me.DrawObject,[Dm(e)])},k5=function(e){return le.of(me.NonStrokingColorGray,[qt(e)])},L5=function(e){return le.of(me.StrokingColorGray,[qt(e)])},P5=function(e,t,n){return le.of(me.NonStrokingColorRgb,[qt(e),qt(t),qt(n)])},U5=function(e,t,n){return le.of(me.StrokingColorRgb,[qt(e),qt(t),qt(n)])},B5=function(e,t,n,i){return le.of(me.NonStrokingColorCmyk,[qt(e),qt(t),qt(n),qt(i)])},H5=function(e,t,n,i){return le.of(me.StrokingColorCmyk,[qt(e),qt(t),qt(n),qt(i)])},ZE=function(e){return le.of(me.BeginMarkedContent,[Dm(e)])},WE=function(){return le.of(me.EndMarkedContent)}});var Vu,QE,Se,JE,j5,q5,V5,Qo,Bh,Oa,$E,Jo=it(()=>{"use strict";jf();pe();(function(e){e.Grayscale="Grayscale",e.RGB="RGB",e.CMYK="CMYK"})(Vu||(Vu={}));QE=function(e){return Ta(e,"gray",0,1),{type:Vu.Grayscale,gray:e}},Se=function(e,t,n){return Ta(e,"red",0,1),Ta(t,"green",0,1),Ta(n,"blue",0,1),{type:Vu.RGB,red:e,green:t,blue:n}},JE=function(e,t,n,i){return Ta(e,"cyan",0,1),Ta(t,"magenta",0,1),Ta(n,"yellow",0,1),Ta(i,"key",0,1),{type:Vu.CMYK,cyan:e,magenta:t,yellow:n,key:i}},j5=Vu.Grayscale,q5=Vu.RGB,V5=Vu.CMYK,Qo=function(e){return e.type===j5?k5(e.gray):e.type===q5?P5(e.red,e.green,e.blue):e.type===V5?B5(e.cyan,e.magenta,e.yellow,e.key):xf("Invalid color: "+JSON.stringify(e))},Bh=function(e){return e.type===j5?L5(e.gray):e.type===q5?U5(e.red,e.green,e.blue):e.type===V5?H5(e.cyan,e.magenta,e.yellow,e.key):xf("Invalid color: "+JSON.stringify(e))},Oa=function(e,t){return t===void 0&&(t=1),e?.length===1?QE(e[0]*t):e?.length===3?Se(e[0]*t,e[1]*t,e[2]*t):e?.length===4?JE(e[0]*t,e[1]*t,e[2]*t,e[3]*t):void 0},$E=function(e){return e.type===j5?[e.gray]:e.type===q5?[e.red,e.green,e.blue]:e.type===V5?[e.cyan,e.magenta,e.yellow,e.key]:xf("Invalid color: "+JSON.stringify(e))}});var Wt,Qt,Ze,We,Gb,Ib,tI,Kit,Zit,eI,nI,Wit,Qit,iI,aI=it(()=>{"use strict";jf();Wt=0,Qt=0,Ze=0,We=0,Gb=0,Ib=0,tI=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]]),Kit=function(e){for(var t,n=[],i=[],r="",s=!1,l=0,c=0,d=e;c<d.length;c++){var h=d[c];if(tI.has(h))l=tI.get(h),t&&(r.length>0&&(i[i.length]=+r),n[n.length]={cmd:t,args:i},i=[],r="",s=!1),t=h;else if([" ",","].includes(h)||h==="-"&&r.length>0&&r[r.length-1]!=="e"||h==="."&&s){if(r.length===0)continue;i.length===l?(n[n.length]={cmd:t,args:i},i=[+r],t==="M"&&(t="L"),t==="m"&&(t="l")):i[i.length]=+r,s=h===".",r=["-","."].includes(h)?h:""}else r+=h,h==="."&&(s=!0)}return r.length>0&&(i.length===l?(n[n.length]={cmd:t,args:i},i=[+r],t==="M"&&(t="L"),t==="m"&&(t="l")):i[i.length]=+r),n[n.length]={cmd:t,args:i},n},Zit=function(e){Wt=Qt=Ze=We=Gb=Ib=0;for(var t=[],n=0;n<e.length;n++){var i=e[n];if(i.cmd&&typeof eI[i.cmd]=="function"){var r=eI[i.cmd](i.args);Array.isArray(r)?t=t.concat(r):t.push(r)}}return t},eI={M:function(e){return Wt=e[0],Qt=e[1],Ze=We=null,Gb=Wt,Ib=Qt,mo(Wt,Qt)},m:function(e){return Wt+=e[0],Qt+=e[1],Ze=We=null,Gb=Wt,Ib=Qt,mo(Wt,Qt)},C:function(e){return Wt=e[4],Qt=e[5],Ze=e[2],We=e[3],qa(e[0],e[1],e[2],e[3],e[4],e[5])},c:function(e){var t=qa(e[0]+Wt,e[1]+Qt,e[2]+Wt,e[3]+Qt,e[4]+Wt,e[5]+Qt);return Ze=Wt+e[2],We=Qt+e[3],Wt+=e[4],Qt+=e[5],t},S:function(e){(Ze===null||We===null)&&(Ze=Wt,We=Qt);var t=qa(Wt-(Ze-Wt),Qt-(We-Qt),e[0],e[1],e[2],e[3]);return Ze=e[0],We=e[1],Wt=e[2],Qt=e[3],t},s:function(e){(Ze===null||We===null)&&(Ze=Wt,We=Qt);var t=qa(Wt-(Ze-Wt),Qt-(We-Qt),Wt+e[0],Qt+e[1],Wt+e[2],Qt+e[3]);return Ze=Wt+e[0],We=Qt+e[1],Wt+=e[2],Qt+=e[3],t},Q:function(e){return Ze=e[0],We=e[1],Wt=e[2],Qt=e[3],_m(e[0],e[1],Wt,Qt)},q:function(e){var t=_m(e[0]+Wt,e[1]+Qt,e[2]+Wt,e[3]+Qt);return Ze=Wt+e[0],We=Qt+e[1],Wt+=e[2],Qt+=e[3],t},T:function(e){Ze===null||We===null?(Ze=Wt,We=Qt):(Ze=Wt-(Ze-Wt),We=Qt-(We-Qt));var t=_m(Ze,We,e[0],e[1]);return Ze=Wt-(Ze-Wt),We=Qt-(We-Qt),Wt=e[0],Qt=e[1],t},t:function(e){Ze===null||We===null?(Ze=Wt,We=Qt):(Ze=Wt-(Ze-Wt),We=Qt-(We-Qt));var t=_m(Ze,We,Wt+e[0],Qt+e[1]);return Wt+=e[0],Qt+=e[1],t},A:function(e){var t=nI(Wt,Qt,e);return Wt=e[5],Qt=e[6],t},a:function(e){e[5]+=Wt,e[6]+=Qt;var t=nI(Wt,Qt,e);return Wt=e[5],Qt=e[6],t},L:function(e){return Wt=e[0],Qt=e[1],Ze=We=null,Si(Wt,Qt)},l:function(e){return Wt+=e[0],Qt+=e[1],Ze=We=null,Si(Wt,Qt)},H:function(e){return Wt=e[0],Ze=We=null,Si(Wt,Qt)},h:function(e){return Wt+=e[0],Ze=We=null,Si(Wt,Qt)},V:function(e){return Qt=e[0],Ze=We=null,Si(Wt,Qt)},v:function(e){return Qt+=e[0],Ze=We=null,Si(Wt,Qt)},Z:function(){var e=Ms();return Wt=Gb,Qt=Ib,e},z:function(){var e=Ms();return Wt=Gb,Qt=Ib,e}},nI=function(e,t,n){for(var i=n[0],r=n[1],s=n[2],l=n[3],c=n[4],d=n[5],h=n[6],p=Wit(d,h,i,r,l,c,s,e,t),y=[],g=0,b=p;g<b.length;g++){var S=b[g],w=Qit.apply(void 0,S);y.push(qa.apply(void 0,w))}return y},Wit=function(e,t,n,i,r,s,l,c,d){var h=l*(Math.PI/180),p=Math.sin(h),y=Math.cos(h);n=Math.abs(n),i=Math.abs(i),Ze=y*(c-e)*.5+p*(d-t)*.5,We=y*(d-t)*.5-p*(c-e)*.5;var g=Ze*Ze/(n*n)+We*We/(i*i);g>1&&(g=Math.sqrt(g),n*=g,i*=g);var b=y/n,S=p/n,w=-p/i,D=y/i,A=b*c+S*d,T=w*c+D*d,C=b*e+S*t,O=w*e+D*t,M=(C-A)*(C-A)+(O-T)*(O-T),k=1/M-.25;k<0&&(k=0);var z=Math.sqrt(k);s===r&&(z=-z);var P=.5*(A+C)-z*(O-T),U=.5*(T+O)+z*(C-A),B=Math.atan2(T-U,A-P),W=Math.atan2(O-U,C-P),Y=W-B;Y<0&&s===1?Y+=2*Math.PI:Y>0&&s===0&&(Y-=2*Math.PI);for(var ot=Math.ceil(Math.abs(Y/(Math.PI*.5+.001))),ft=[],$=0;$<ot;$++){var tt=B+$*Y/ot,K=B+($+1)*Y/ot;ft[$]=[P,U,tt,K,n,i,p,y]}return ft},Qit=function(e,t,n,i,r,s,l,c){var d=c*r,h=-l*s,p=l*r,y=c*s,g=.5*(i-n),b=8/3*Math.sin(g*.5)*Math.sin(g*.5)/Math.sin(g),S=e+Math.cos(n)-b*Math.sin(n),w=t+Math.sin(n)+b*Math.cos(n),D=e+Math.cos(i),A=t+Math.sin(i),T=D+b*Math.sin(i),C=A-b*Math.cos(i),O=[d*S+h*w,p*S+y*w,d*T+h*C,p*T+y*C,d*D+h*A,p*D+y*A];return O},iI=function(e){return Zit(Kit(e))}});var Jit,G5,Yb,I5,X5,qf,tT,rI,$it,Xb,Y5,oI,$o,zm,km,eT,nT,iT,K5,Lm=it(()=>{"use strict";kt();Jo();jf();po();aI();VE();Jit=function(e,t){return[$n(),t.graphicsState&&Fl(t.graphicsState),qb(),Qo(t.color),Uh(t.font,t.size),Fm(fi(t.rotate),fi(t.xSkew),fi(t.ySkew),t.x,t.y),jb(e),Vb(),ti()].filter(Boolean)},G5=function(e,t){for(var n=[$n(),t.graphicsState&&Fl(t.graphicsState),qb(),Qo(t.color),Uh(t.font,t.size),z5(t.lineHeight),Fm(fi(t.rotate),fi(t.xSkew),fi(t.ySkew),t.x,t.y)].filter(Boolean),i=0,r=e.length;i<r;i++)n.push(jb(e[i]),N5());return n.push(Vb(),ti()),n},Yb=function(e,t){return[$n(),t.graphicsState&&Fl(t.graphicsState),ja(t.x,t.y),Hf(fi(t.rotate)),Bf(t.width,t.height),Om(fi(t.xSkew),fi(t.ySkew)),Nm(e),ti()].filter(Boolean)},I5=function(e,t){return[$n(),t.graphicsState&&Fl(t.graphicsState),ja(t.x,t.y),Hf(fi(t.rotate)),Bf(t.xScale,t.yScale),Om(fi(t.xSkew),fi(t.ySkew)),Nm(e),ti()].filter(Boolean)},X5=function(e){var t,n;return[$n(),e.graphicsState&&Fl(e.graphicsState),e.color&&Bh(e.color),Lh(e.thickness),kh((t=e.dashArray)!==null&&t!==void 0?t:[],(n=e.dashPhase)!==null&&n!==void 0?n:0),mo(e.start.x,e.start.y),e.lineCap&&Mm(e.lineCap),mo(e.start.x,e.start.y),Si(e.end.x,e.end.y),Ph(),ti()].filter(Boolean)},qf=function(e){var t,n;return[$n(),e.graphicsState&&Fl(e.graphicsState),e.color&&Qo(e.color),e.borderColor&&Bh(e.borderColor),Lh(e.borderWidth),e.borderLineCap&&Mm(e.borderLineCap),kh((t=e.borderDashArray)!==null&&t!==void 0?t:[],(n=e.borderDashPhase)!==null&&n!==void 0?n:0),ja(e.x,e.y),Hf(fi(e.rotate)),Om(fi(e.xSkew),fi(e.ySkew)),mo(0,0),Si(0,e.height),Si(e.width,e.height),Si(e.width,0),Ms(),e.color&&e.borderWidth?Hb():e.color?Bb():e.borderColor?Ph():Ms(),ti()].filter(Boolean)},tT=4*((Math.sqrt(2)-1)/3),rI=function(e){var t=oe(e.x),n=oe(e.y),i=oe(e.xScale),r=oe(e.yScale);t-=i,n-=r;var s=i*tT,l=r*tT,c=t+i*2,d=n+r*2,h=t+i,p=n+r;return[$n(),mo(t,p),qa(t,p-l,h-s,n,h,n),qa(h+s,n,c,p-l,c,p),qa(c,p+l,h+s,d,h,d),qa(h-s,d,t,p+l,t,p),ti()]},$it=function(e){var t=oe(e.x),n=oe(e.y),i=oe(e.xScale),r=oe(e.yScale),s=-i,l=-r,c=i*tT,d=r*tT,h=s+i*2,p=l+r*2,y=s+i,g=l+r;return[ja(t,n),Hf(fi(e.rotate)),mo(s,g),qa(s,g-d,y-c,l,y,l),qa(y+c,l,h,g-d,h,g),qa(h,g+d,y+c,p,y,p),qa(y-c,p,s,g+d,s,g)]},Xb=function(e){var t,n,i;return Fe([$n(),e.graphicsState&&Fl(e.graphicsState),e.color&&Qo(e.color),e.borderColor&&Bh(e.borderColor),Lh(e.borderWidth),e.borderLineCap&&Mm(e.borderLineCap),kh((t=e.borderDashArray)!==null&&t!==void 0?t:[],(n=e.borderDashPhase)!==null&&n!==void 0?n:0)],e.rotate===void 0?rI({x:e.x,y:e.y,xScale:e.xScale,yScale:e.yScale}):$it({x:e.x,y:e.y,xScale:e.xScale,yScale:e.yScale,rotate:(i=e.rotate)!==null&&i!==void 0?i:Zt(0)}),[e.color&&e.borderWidth?Hb():e.color?Bb():e.borderColor?Ph():Ms(),ti()]).filter(Boolean)},Y5=function(e,t){var n,i,r;return Fe([$n(),t.graphicsState&&Fl(t.graphicsState),ja(t.x,t.y),Hf(fi((n=t.rotate)!==null&&n!==void 0?n:Zt(0))),t.scale?Bf(t.scale,-t.scale):Bf(1,-1),t.color&&Qo(t.color),t.borderColor&&Bh(t.borderColor),t.borderWidth&&Lh(t.borderWidth),t.borderLineCap&&Mm(t.borderLineCap),kh((i=t.borderDashArray)!==null&&i!==void 0?i:[],(r=t.borderDashPhase)!==null&&r!==void 0?r:0)],iI(e),[t.color&&t.borderWidth?Hb():t.color?Bb():t.borderColor?Ph():Ms(),ti()]).filter(Boolean)},oI=function(e){var t=oe(e.size),n=-1+.75,i=-1+.51,r=1-.525,s=1-.31,l=-1+.325,c=-((l-n)*(s-n))/(r-i)+i;return[$n(),e.color&&Bh(e.color),Lh(e.thickness),ja(e.x,e.y),mo(l*t,c*t),Si(n*t,i*t),Si(s*t,r*t),Ph(),ti()].filter(Boolean)},$o=function(e){return e.rotation===0?[ja(0,0),Rm(0)]:e.rotation===90?[ja(e.width,0),Rm(90)]:e.rotation===180?[ja(e.width,e.height),Rm(180)]:e.rotation===270?[ja(0,e.height),Rm(270)]:[]},zm=function(e){var t=qf({x:e.x,y:e.y,width:e.width,height:e.height,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:Zt(0),xSkew:Zt(0),ySkew:Zt(0)});if(!e.filled)return t;var n=oe(e.width),i=oe(e.height),r=Math.min(n,i)/2,s=oI({x:n/2,y:i/2,size:r,thickness:e.thickness,color:e.markColor});return Fe([$n()],t,s,[ti()])},km=function(e){var t=oe(e.width),n=oe(e.height),i=Math.min(t,n)/2,r=Xb({x:e.x,y:e.y,xScale:i,yScale:i,color:e.color,borderColor:e.borderColor,borderWidth:e.borderWidth});if(!e.filled)return r;var s=Xb({x:e.x,y:e.y,xScale:i*.45,yScale:i*.45,color:e.dotColor,borderColor:void 0,borderWidth:0});return Fe([$n()],r,s,[ti()])},eT=function(e){var t=oe(e.x),n=oe(e.y),i=oe(e.width),r=oe(e.height),s=qf({x:t,y:n,width:i,height:r,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:Zt(0),xSkew:Zt(0),ySkew:Zt(0)}),l=nT(e.textLines,{color:e.textColor,font:e.font,size:e.fontSize,rotate:Zt(0),xSkew:Zt(0),ySkew:Zt(0)});return Fe([$n()],s,l,[ti()])},nT=function(e,t){for(var n=[qb(),Qo(t.color),Uh(t.font,t.size)],i=0,r=e.length;i<r;i++){var s=e[i],l=s.encoded,c=s.x,d=s.y;n.push(Fm(fi(t.rotate),fi(t.xSkew),fi(t.ySkew),c,d),jb(l))}return n.push(Vb()),n},iT=function(e){var t=oe(e.x),n=oe(e.y),i=oe(e.width),r=oe(e.height),s=oe(e.borderWidth),l=oe(e.padding),c=t+s/2+l,d=n+s/2+l,h=i-(s/2+l)*2,p=r-(s/2+l)*2,y=[mo(c,d),Si(c,d+p),Si(c+h,d+p),Si(c+h,d),Ms(),YE(),KE()],g=qf({x:t,y:n,width:i,height:r,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:Zt(0),xSkew:Zt(0),ySkew:Zt(0)}),b=nT(e.textLines,{color:e.textColor,font:e.font,size:e.fontSize,rotate:Zt(0),xSkew:Zt(0),ySkew:Zt(0)}),S=Fe([ZE("Tx"),$n()],b,[ti(),WE()]);return Fe([$n()],g,y,S,[ti()])},K5=function(e){for(var t=oe(e.x),n=oe(e.y),i=oe(e.width),r=oe(e.height),s=oe(e.lineHeight),l=oe(e.borderWidth),c=oe(e.padding),d=t+l/2+c,h=n+l/2+c,p=i-(l/2+c)*2,y=r-(l/2+c)*2,g=[mo(d,h),Si(d,h+y),Si(d+p,h+y),Si(d+p,h),Ms(),YE(),KE()],b=qf({x:t,y:n,width:i,height:r,borderWidth:e.borderWidth,color:e.color,borderColor:e.borderColor,rotate:Zt(0),xSkew:Zt(0),ySkew:Zt(0)}),S=[],w=0,D=e.selectedLines.length;w<D;w++){var A=e.textLines[e.selectedLines[w]];S.push.apply(S,qf({x:A.x-c,y:A.y-(s-A.height)/2,width:i-l,height:A.height+(s-A.height)/2,borderWidth:0,color:e.selectedColor,borderColor:void 0,rotate:Zt(0),xSkew:Zt(0),ySkew:Zt(0)}))}var T=nT(e.textLines,{color:e.textColor,font:e.font,size:e.fontSize,rotate:Zt(0),xSkew:Zt(0),ySkew:Zt(0)}),C=Fe([ZE("Tx"),$n()],T,[ti(),WE()]);return Fe([$n()],b,S,g,C,[ti()])}});var Z5,W5,Q5,J5,$5,Gu,tat,aT,tN,eat,eN,nN,iN,aN,Pm=it(()=>{"use strict";kt();Z5=(function(e){ct(t,e);function t(){var n=this,i="Input document to `PDFDocument.load` is encrypted. You can use `PDFDocument.load(..., { ignoreEncryption: true })` if you wish to load the document anyways.";return n=e.call(this,i)||this,n}return t})(Error),W5=(function(e){ct(t,e);function t(){var n=this,i="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 n=e.call(this,i)||this,n}return t})(Error),Q5=(function(e){ct(t,e);function t(){var n=this,i="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 n=e.call(this,i)||this,n}return t})(Error),J5=(function(e){ct(t,e);function t(){var n=this,i="PDFDocument has no pages so `PDFDocument.removePage` cannot be called";return n=e.call(this,i)||this,n}return t})(Error),$5=(function(e){ct(t,e);function t(n){var i=this,r='PDFDocument has no form field with the name "'+n+'"';return i=e.call(this,r)||this,i}return t})(Error),Gu=(function(e){ct(t,e);function t(n,i,r){var s,l,c=this,d=i?.name,h=(l=(s=r?.constructor)===null||s===void 0?void 0:s.name)!==null&&l!==void 0?l:r,p='Expected field "'+n+'" to be of type '+d+", "+("but it is actually of type "+h);return c=e.call(this,p)||this,c}return t})(Error),tat=(function(e){ct(t,e);function t(n){var i=this,r='Failed to select check box due to missing onValue: "'+n+'"';return i=e.call(this,r)||this,i}return t})(Error),aT=(function(e){ct(t,e);function t(n){var i=this,r='A field already exists with the specified name: "'+n+'"';return i=e.call(this,r)||this,i}return t})(Error),tN=(function(e){ct(t,e);function t(n){var i=this,r='Field name contains invalid component: "'+n+'"';return i=e.call(this,r)||this,i}return t})(Error),eat=(function(e){ct(t,e);function t(n){var i=this,r='A non-terminal field already exists with the specified name: "'+n+'"';return i=e.call(this,r)||this,i}return t})(Error),eN=(function(e){ct(t,e);function t(n){var i=this,r="Reading rich text fields is not supported: Attempted to read rich text field: "+n;return i=e.call(this,r)||this,i}return t})(Error),nN=(function(e){ct(t,e);function t(n,i){var r=this,s="Failed to layout combed text as lineLength="+n+" is greater than cellCount="+i;return r=e.call(this,s)||this,r}return t})(Error),iN=(function(e){ct(t,e);function t(n,i,r){var s=this,l="Attempted to set text with length="+n+" for TextField with maxLength="+i+" and name="+r;return s=e.call(this,l)||this,s}return t})(Error),aN=(function(e){ct(t,e);function t(n,i,r){var s=this,l="Attempted to set maxLength="+i+", which is less than "+n+", the length of this field's current value (name="+r+")";return s=e.call(this,l)||this,s}return t})(Error)});var ri,Kb=it(()=>{"use strict";(function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"})(ri||(ri={}))});var sI,lI,uI,nat,iat,aat,rT,rN,Um,oN=it(()=>{"use strict";Pm();Kb();pe();sI=4,lI=500,uI=function(e,t,n,i){i===void 0&&(i=!1);for(var r=sI;r<lI;){for(var s=0,l=0,c=e.length;l<c;l++){s+=1;for(var d=e[l],h=d.split(" "),p=n.width,y=0,g=h.length;y<g;y++){var b=y===g-1,S=b?h[y]:h[y]+" ",w=t.widthOfTextAtSize(S,r);p-=w,p<=0&&(s+=1,p=n.width-w)}}if(!i&&s>e.length)return r-1;var D=t.heightAtSize(r),A=D+D*.2,T=A*s;if(T>Math.abs(n.height))return r-1;r+=1}return r},nat=function(e,t,n,i){for(var r=n.width/i,s=n.height,l=sI,c=FF(e);l<lI;){for(var d=0,h=c.length;d<h;d++){var p=c[d],y=t.widthOfTextAtSize(p,l)>r*.75;if(y)return l-1}var g=t.heightAtSize(l,{descender:!1});if(g>s)return l-1;l+=1}return l},iat=function(e){for(var t=e.length;t>0;t--)if(/\s/.test(e[t]))return t},aat=function(e,t,n,i){for(var r,s=e.length;s>0;){var l=e.substring(0,s),c=n.encodeText(l),d=n.widthOfTextAtSize(l,i);if(d<t){var h=e.substring(s)||void 0;return{line:l,encoded:c,width:d,remainder:h}}s=(r=iat(l))!==null&&r!==void 0?r:0}return{line:e,encoded:n.encodeText(e),width:n.widthOfTextAtSize(e,i),remainder:void 0}},rT=function(e,t){var n=t.alignment,i=t.fontSize,r=t.font,s=t.bounds,l=Iy(vf(e));(i===void 0||i===0)&&(i=uI(l,r,s,!0));for(var c=r.heightAtSize(i),d=c+c*.2,h=[],p=s.x,y=s.y,g=s.x+s.width,b=s.y+s.height,S=s.y+s.height,w=0,D=l.length;w<D;w++)for(var A=l[w];A!==void 0;){var T=aat(A,s.width,r,i),C=T.line,O=T.encoded,M=T.width,k=T.remainder,z=n===ri.Left?s.x:n===ri.Center?s.x+s.width/2-M/2:n===ri.Right?s.x+s.width-M:s.x;S-=d,z<p&&(p=z),S<y&&(y=S),z+M>g&&(g=z+M),S+c>b&&(b=S+c),h.push({text:C,encoded:O,width:M,height:c,x:z,y:S}),A=k?.trim()}return{fontSize:i,lineHeight:d,lines:h,bounds:{x:p,y,width:g-p,height:b-y}}},rN=function(e,t){var n=t.fontSize,i=t.font,r=t.bounds,s=t.cellCount,l=Gw(vf(e));if(l.length>s)throw new nN(l.length,s);(n===void 0||n===0)&&(n=nat(l,i,r,s));for(var c=r.width/s,d=i.heightAtSize(n,{descender:!1}),h=r.y+(r.height/2-d/2),p=[],y=r.x,g=r.y,b=r.x+r.width,S=r.y+r.height,w=0,D=0;w<s;){var A=Iw(l,D),T=A[0],C=A[1],O=i.encodeText(T),M=i.widthOfTextAtSize(T,n),k=r.x+(c*w+c/2),z=k-M/2;z<y&&(y=z),h<g&&(g=h),z+M>b&&(b=z+M),h+d>S&&(S=h+d),p.push({text:l,encoded:O,width:M,height:d,x:z,y:h}),w+=1,D+=C}return{fontSize:n,cells:p,bounds:{x:y,y:g,width:b-y,height:S-g}}},Um=function(e,t){var n=t.alignment,i=t.fontSize,r=t.font,s=t.bounds,l=Gw(vf(e));(i===void 0||i===0)&&(i=uI([l],r,s));var c=r.encodeText(l),d=r.widthOfTextAtSize(l,i),h=r.heightAtSize(i,{descender:!1}),p=n===ri.Left?s.x:n===ri.Center?s.x+s.width/2-d/2:n===ri.Right?s.x+s.width-d:s.x,y=s.y+(s.height/2-h/2);return{fontSize:i,line:{text:l,encoded:c,width:d,height:h,x:p,y},bounds:{x:p,y,width:d,height:h}}}});var go,rat,Vf,oat,ts,es,sN,lN,uN,cN,fN,dN,Gf=it(()=>{"use strict";kt();Lm();Jo();po();oN();Kb();jf();pe();go=function(e){return"normal"in e?e:{normal:e}},rat=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]+(\d*\.\d+|\d+)[\0\t\n\f\r\ ]+Tf/,Vf=function(e){var t,n,i=(t=e.getDefaultAppearance())!==null&&t!==void 0?t:"",r=(n=G0(i,rat).match)!==null&&n!==void 0?n:[],s=Number(r[2]);return isFinite(s)?s:void 0},oat=/(\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)/,ts=function(e){var t,n=(t=e.getDefaultAppearance())!==null&&t!==void 0?t:"",i=G0(n,oat).match,r=i??[],s=r[1],l=r[2],c=r[3],d=r[4],h=r[5];if(h==="g"&&s)return QE(Number(s));if(h==="rg"&&s&&l&&c)return Se(Number(s),Number(l),Number(c));if(h==="k"&&s&&l&&c&&d)return JE(Number(s),Number(l),Number(c),Number(d))},es=function(e,t,n,i){var r;i===void 0&&(i=0);var s=[Qo(t).toString(),Uh((r=n?.name)!==null&&r!==void 0?r:"dummy__noop",i).toString()].join(`
|
|
279
|
+
`);e.setDefaultAppearance(s)},sN=function(e,t){var n,i,r,s=ts(t),l=ts(e.acroField),c=t.getRectangle(),d=t.getAppearanceCharacteristics(),h=t.getBorderStyle(),p=(n=h?.getWidth())!==null&&n!==void 0?n:0,y=Wo(d?.getRotation()),g=_l(c,y),b=g.width,S=g.height,w=$o(ae(ae({},c),{rotation:y})),D=Se(0,0,0),A=(i=Oa(d?.getBorderColor()))!==null&&i!==void 0?i:D,T=Oa(d?.getBackgroundColor()),C=Oa(d?.getBackgroundColor(),.8),O=(r=s??l)!==null&&r!==void 0?r:D;es(s?t:e.acroField,O);var M={x:0+p/2,y:0+p/2,width:b-p,height:S-p,thickness:1.5,borderWidth:p,borderColor:A,markColor:O};return{normal:{on:Fe(w,zm(ae(ae({},M),{color:T,filled:!0}))),off:Fe(w,zm(ae(ae({},M),{color:T,filled:!1})))},down:{on:Fe(w,zm(ae(ae({},M),{color:C,filled:!0}))),off:Fe(w,zm(ae(ae({},M),{color:C,filled:!1})))}}},lN=function(e,t){var n,i,r,s=ts(t),l=ts(e.acroField),c=t.getRectangle(),d=t.getAppearanceCharacteristics(),h=t.getBorderStyle(),p=(n=h?.getWidth())!==null&&n!==void 0?n:0,y=Wo(d?.getRotation()),g=_l(c,y),b=g.width,S=g.height,w=$o(ae(ae({},c),{rotation:y})),D=Se(0,0,0),A=(i=Oa(d?.getBorderColor()))!==null&&i!==void 0?i:D,T=Oa(d?.getBackgroundColor()),C=Oa(d?.getBackgroundColor(),.8),O=(r=s??l)!==null&&r!==void 0?r:D;es(s?t:e.acroField,O);var M={x:b/2,y:S/2,width:b-p,height:S-p,borderWidth:p,borderColor:A,dotColor:O};return{normal:{on:Fe(w,km(ae(ae({},M),{color:T,filled:!0}))),off:Fe(w,km(ae(ae({},M),{color:T,filled:!1})))},down:{on:Fe(w,km(ae(ae({},M),{color:C,filled:!0}))),off:Fe(w,km(ae(ae({},M),{color:C,filled:!1})))}}},uN=function(e,t,n){var i,r,s,l,c,d=ts(t),h=ts(e.acroField),p=Vf(t),y=Vf(e.acroField),g=t.getRectangle(),b=t.getAppearanceCharacteristics(),S=t.getBorderStyle(),w=b?.getCaptions(),D=(i=w?.normal)!==null&&i!==void 0?i:"",A=(s=(r=w?.down)!==null&&r!==void 0?r:D)!==null&&s!==void 0?s:"",T=(l=S?.getWidth())!==null&&l!==void 0?l:0,C=Wo(b?.getRotation()),O=_l(g,C),M=O.width,k=O.height,z=$o(ae(ae({},g),{rotation:C})),P=Se(0,0,0),U=Oa(b?.getBorderColor()),B=Oa(b?.getBackgroundColor()),W=Oa(b?.getBackgroundColor(),.8),Y={x:T,y:T,width:M-T*2,height:k-T*2},ot=Um(D,{alignment:ri.Center,fontSize:p??y,font:n,bounds:Y}),ft=Um(A,{alignment:ri.Center,fontSize:p??y,font:n,bounds:Y}),$=Math.min(ot.fontSize,ft.fontSize),tt=(c=d??h)!==null&&c!==void 0?c:P;es(d||p!==void 0?t:e.acroField,tt,n,$);var K={x:0+T/2,y:0+T/2,width:M-T,height:k-T,borderWidth:T,borderColor:U,textColor:tt,font:n.name,fontSize:$};return{normal:Fe(z,eT(ae(ae({},K),{color:B,textLines:[ot.line]}))),down:Fe(z,eT(ae(ae({},K),{color:W,textLines:[ft.line]})))}},cN=function(e,t,n){var i,r,s,l,c=ts(t),d=ts(e.acroField),h=Vf(t),p=Vf(e.acroField),y=t.getRectangle(),g=t.getAppearanceCharacteristics(),b=t.getBorderStyle(),S=(i=e.getText())!==null&&i!==void 0?i:"",w=(r=b?.getWidth())!==null&&r!==void 0?r:0,D=Wo(g?.getRotation()),A=_l(y,D),T=A.width,C=A.height,O=$o(ae(ae({},y),{rotation:D})),M=Se(0,0,0),k=Oa(g?.getBorderColor()),z=Oa(g?.getBackgroundColor()),P,U,B=e.isCombed()?0:1,W={x:w+B,y:w+B,width:T-(w+B)*2,height:C-(w+B)*2};if(e.isMultiline()){var Y=rT(S,{alignment:e.getAlignment(),fontSize:h??p,font:n,bounds:W});P=Y.lines,U=Y.fontSize}else if(e.isCombed()){var Y=rN(S,{fontSize:h??p,font:n,bounds:W,cellCount:(s=e.getMaxLength())!==null&&s!==void 0?s:0});P=Y.cells,U=Y.fontSize}else{var Y=Um(S,{alignment:e.getAlignment(),fontSize:h??p,font:n,bounds:W});P=[Y.line],U=Y.fontSize}var ot=(l=c??d)!==null&&l!==void 0?l:M;es(c||h!==void 0?t:e.acroField,ot,n,U);var ft={x:0+w/2,y:0+w/2,width:T-w,height:C-w,borderWidth:w??0,borderColor:k,textColor:ot,font:n.name,fontSize:U,color:z,textLines:P,padding:B};return Fe(O,iT(ft))},fN=function(e,t,n){var i,r,s,l=ts(t),c=ts(e.acroField),d=Vf(t),h=Vf(e.acroField),p=t.getRectangle(),y=t.getAppearanceCharacteristics(),g=t.getBorderStyle(),b=(i=e.getSelected()[0])!==null&&i!==void 0?i:"",S=(r=g?.getWidth())!==null&&r!==void 0?r:0,w=Wo(y?.getRotation()),D=_l(p,w),A=D.width,T=D.height,C=$o(ae(ae({},p),{rotation:w})),O=Se(0,0,0),M=Oa(y?.getBorderColor()),k=Oa(y?.getBackgroundColor()),z=1,P={x:S+z,y:S+z,width:A-(S+z)*2,height:T-(S+z)*2},U=Um(b,{alignment:ri.Left,fontSize:d??h,font:n,bounds:P}),B=U.line,W=U.fontSize,Y=(s=l??c)!==null&&s!==void 0?s:O;es(l||d!==void 0?t:e.acroField,Y,n,W);var ot={x:0+S/2,y:0+S/2,width:A-S,height:T-S,borderWidth:S??0,borderColor:M,textColor:Y,font:n.name,fontSize:W,color:k,textLines:[B],padding:z};return Fe(C,iT(ot))},dN=function(e,t,n){var i,r,s=ts(t),l=ts(e.acroField),c=Vf(t),d=Vf(e.acroField),h=t.getRectangle(),p=t.getAppearanceCharacteristics(),y=t.getBorderStyle(),g=(i=y?.getWidth())!==null&&i!==void 0?i:0,b=Wo(p?.getRotation()),S=_l(h,b),w=S.width,D=S.height,A=$o(ae(ae({},h),{rotation:b})),T=Se(0,0,0),C=Oa(p?.getBorderColor()),O=Oa(p?.getBackgroundColor()),M=e.getOptions(),k=e.getSelected();e.isSorted()&&M.sort();for(var z="",P=0,U=M.length;P<U;P++)z+=M[P],P<U-1&&(z+=`
|
|
280
|
+
`);for(var B=1,W={x:g+B,y:g+B,width:w-(g+B)*2,height:D-(g+B)*2},Y=rT(z,{alignment:ri.Left,fontSize:c??d,font:n,bounds:W}),ot=Y.lines,ft=Y.fontSize,$=Y.lineHeight,tt=[],P=0,U=ot.length;P<U;P++){var K=ot[P];k.includes(K.text)&&tt.push(P)}var wt=Se(153/255,193/255,218/255),Ct=(r=s??l)!==null&&r!==void 0?r:T;return es(s||c!==void 0?t:e.acroField,Ct,n,ft),Fe(A,K5({x:0+g/2,y:0+g/2,width:w-g,height:D-g,borderWidth:g??0,borderColor:C,textColor:Ct,font:n.name,fontSize:ft,color:O,textLines:ot,lineHeight:$,selectedColor:wt,selectedLines:tt,padding:B}))}});var sat,Bm,oT=it(()=>{"use strict";kt();If();Ui();pe();sat=(function(){function e(t,n,i){this.alreadyEmbedded=!1,J(t,"ref",[[ie,"PDFRef"]]),J(n,"doc",[[Wi,"PDFDocument"]]),J(i,"embedder",[[vm,"PDFPageEmbedder"]]),this.ref=t,this.doc=n,this.width=i.width,this.height=i.height,this.embedder=i}return e.prototype.scale=function(t){return J(t,"factor",["number"]),{width:this.width*t,height:this.height*t}},e.prototype.size=function(){return this.scale(1)},e.prototype.embed=function(){return It(this,void 0,void 0,function(){return Xt(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,n,i){return new e(t,n,i)},e})(),Bm=sat});var lat,di,Iu=it(()=>{"use strict";kt();If();Ui();pe();lat=(function(){function e(t,n,i){this.modified=!0,J(t,"ref",[[ie,"PDFRef"]]),J(n,"doc",[[Wi,"PDFDocument"]]),J(i,"embedder",[[Nf,"CustomFontEmbedder"],[Ff,"StandardFontEmbedder"]]),this.ref=t,this.doc=n,this.name=i.fontName,this.embedder=i}return e.prototype.encodeText=function(t){return J(t,"text",["string"]),this.modified=!0,this.embedder.encodeText(t)},e.prototype.widthOfTextAtSize=function(t,n){return J(t,"text",["string"]),J(n,"size",["number"]),this.embedder.widthOfTextAtSize(t,n)},e.prototype.heightAtSize=function(t,n){var i;return J(t,"size",["number"]),bt(n?.descender,"options.descender",["boolean"]),this.embedder.heightOfFontAtSize(t,{descender:(i=n?.descender)!==null&&i!==void 0?i:!0})},e.prototype.sizeAtHeight=function(t){return J(t,"height",["number"]),this.embedder.sizeOfFontAtHeight(t)},e.prototype.getCharacterSet=function(){return this.embedder instanceof Ff?this.embedder.encoding.supportedCodePoints:this.embedder.font.characterSet},e.prototype.embed=function(){return It(this,void 0,void 0,function(){return Xt(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,n,i){return new e(t,n,i)},e})(),di=lat});var uat,Hh,sT=it(()=>{"use strict";kt();If();Ui();pe();uat=(function(){function e(t,n,i){J(t,"ref",[[ie,"PDFRef"]]),J(n,"doc",[[Wi,"PDFDocument"]]),J(i,"embedder",[[hm,"JpegEmbedder"],[pm,"PngEmbedder"]]),this.ref=t,this.doc=n,this.width=i.width,this.height=i.height,this.embedder=i}return e.prototype.scale=function(t){return J(t,"factor",["number"]),{width:this.width*t,height:this.height*t}},e.prototype.scaleToFit=function(t,n){J(t,"width",["number"]),J(n,"height",["number"]);var i=t/this.width,r=n/this.height,s=Math.min(i,r);return this.scale(s)},e.prototype.size=function(){return this.scale(1)},e.prototype.embed=function(){return It(this,void 0,void 0,function(){var t,n,i;return Xt(this,function(r){switch(r.label){case 0:return this.embedder?(this.embedTask||(t=this,n=t.doc,i=t.ref,this.embedTask=this.embedder.embedIntoContext(n.context,i)),[4,this.embedTask]):[2];case 1:return r.sent(),this.embedder=void 0,[2]}})})},e.of=function(t,n,i){return new e(t,n,i)},e})(),Hh=uat});var ns,lT=it(()=>{"use strict";(function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"})(ns||(ns={}))});var hN=it(()=>{"use strict";lT()});var is,cat,Va,Xu=it(()=>{"use strict";kt();If();Jo();po();Ui();pe();hN();Lm();is=function(e){bt(e?.x,"options.x",["number"]),bt(e?.y,"options.y",["number"]),bt(e?.width,"options.width",["number"]),bt(e?.height,"options.height",["number"]),bt(e?.textColor,"options.textColor",[[Object,"Color"]]),bt(e?.backgroundColor,"options.backgroundColor",[[Object,"Color"]]),bt(e?.borderColor,"options.borderColor",[[Object,"Color"]]),bt(e?.borderWidth,"options.borderWidth",["number"]),bt(e?.rotate,"options.rotate",[[Object,"Rotation"]])},cat=(function(){function e(t,n,i){J(t,"acroField",[[kr,"PDFAcroTerminal"]]),J(n,"ref",[[ie,"PDFRef"]]),J(i,"doc",[[Wi,"PDFDocument"]]),this.acroField=t,this.ref=n,this.doc=i}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(ho.ReadOnly)},e.prototype.enableReadOnly=function(){this.acroField.setFlagTo(ho.ReadOnly,!0)},e.prototype.disableReadOnly=function(){this.acroField.setFlagTo(ho.ReadOnly,!1)},e.prototype.isRequired=function(){return this.acroField.hasFlag(ho.Required)},e.prototype.enableRequired=function(){this.acroField.setFlagTo(ho.Required,!0)},e.prototype.disableRequired=function(){this.acroField.setFlagTo(ho.Required,!1)},e.prototype.isExported=function(){return!this.acroField.hasFlag(ho.NoExport)},e.prototype.enableExporting=function(){this.acroField.setFlagTo(ho.NoExport,!1)},e.prototype.disableExporting=function(){this.acroField.setFlagTo(ho.NoExport,!0)},e.prototype.needsAppearancesUpdate=function(){throw new ra(this.constructor.name,"needsAppearancesUpdate")},e.prototype.defaultUpdateAppearances=function(t){throw new ra(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 n,i=t.textColor,r=t.backgroundColor,s=t.borderColor,l=t.borderWidth,c=Pb(t.rotate),d=t.caption,h=t.x,p=t.y,y=t.width+l,g=t.height+l,b=!!t.hidden,S=t.page;Sb(c,"degreesAngle",90);var w=Mh.create(this.doc.context,this.ref),D=M5({x:h,y:p,width:y,height:g},l,c);w.setRectangle(D),S&&w.setP(S);var A=w.getOrCreateAppearanceCharacteristics();r&&A.setBackgroundColor($E(r)),A.setRotation(c),d&&A.setCaptions({normal:d}),s&&A.setBorderColor($E(s));var T=w.getOrCreateBorderStyle();if(l!==void 0&&T.setWidth(l),w.setFlagTo(Nh.Print,!0),w.setFlagTo(Nh.Hidden,b),w.setFlagTo(Nh.Invisible,!1),i){var C=(n=this.acroField.getDefaultAppearance())!==null&&n!==void 0?n:"",O=C+`
|
|
281
|
+
`+Qo(i).toString();this.acroField.setDefaultAppearance(O)}return w},e.prototype.updateWidgetAppearanceWithFont=function(t,n,i){var r=i.normal,s=i.rollover,l=i.down;this.updateWidgetAppearances(t,{normal:this.createAppearanceStream(t,r,n),rollover:s&&this.createAppearanceStream(t,s,n),down:l&&this.createAppearanceStream(t,l,n)})},e.prototype.updateOnOffWidgetAppearance=function(t,n,i){var r=i.normal,s=i.rollover,l=i.down;this.updateWidgetAppearances(t,{normal:this.createAppearanceDict(t,r,n),rollover:s&&this.createAppearanceDict(t,s,n),down:l&&this.createAppearanceDict(t,l,n)})},e.prototype.updateWidgetAppearances=function(t,n){var i=n.normal,r=n.rollover,s=n.down;t.setNormalAppearance(i),r?t.setRolloverAppearance(r):t.removeRolloverAppearance(),s?t.setDownAppearance(s):t.removeDownAppearance()},e.prototype.createAppearanceStream=function(t,n,i){var r,s=this.acroField.dict.context,l=t.getRectangle(),c=l.width,d=l.height,h=i&&{Font:(r={},r[i.name]=i.ref,r)},p=s.formXObject(n,{Resources:h,BBox:s.obj([0,0,c,d]),Matrix:s.obj([1,0,0,1,0,0])}),y=s.register(p);return y},e.prototype.createImageAppearanceStream=function(t,n,i){var r,s,l=this.acroField.dict.context,c=t.getRectangle(),d=t.getAppearanceCharacteristics(),h=t.getBorderStyle(),p=(s=h?.getWidth())!==null&&s!==void 0?s:0,y=Wo(d?.getRotation()),g=$o(ae(ae({},c),{rotation:y})),b=_l(c,y),S=n.scaleToFit(b.width-p*2,b.height-p*2),w={x:p,y:p,width:S.width,height:S.height,rotate:Zt(0),xSkew:Zt(0),ySkew:Zt(0)};i===ns.Center?(w.x+=(b.width-p*2)/2-S.width/2,w.y+=(b.height-p*2)/2-S.height/2):i===ns.Right&&(w.x=b.width-p-S.width,w.y=b.height-p-S.height);var D=this.doc.context.addRandomSuffix("Image",10),A=Fe(g,Yb(D,w)),T={XObject:(r={},r[D]=n.ref,r)},C=l.formXObject(A,{Resources:T,BBox:l.obj([0,0,c.width,c.height]),Matrix:l.obj([1,0,0,1,0,0])});return l.register(C)},e.prototype.createAppearanceDict=function(t,n,i){var r=this.acroField.dict.context,s=this.createAppearanceStream(t,n.on),l=this.createAppearanceStream(t,n.off),c=r.obj({});return c.set(i,s),c.set(N.of("Off"),l),c},e})(),Va=cat});var fat,Xf,pN=it(()=>{"use strict";kt();Yu();Gf();Jo();po();Xu();Ui();pe();fat=(function(e){ct(t,e);function t(n,i,r){var s=e.call(this,n,i,r)||this;return J(n,"acroCheckBox",[[ku,"PDFAcroCheckBox"]]),s.acroField=n,s}return t.prototype.check=function(){var n,i=(n=this.acroField.getOnValue())!==null&&n!==void 0?n:N.of("Yes");this.markAsDirty(),this.acroField.setValue(i)},t.prototype.uncheck=function(){this.markAsDirty(),this.acroField.setValue(N.of("Off"))},t.prototype.isChecked=function(){var n=this.acroField.getOnValue();return!!n&&n===this.acroField.getValue()},t.prototype.addToPage=function(n,i){var r,s,l,c,d,h;J(n,"page",[[xi,"PDFPage"]]),is(i),i||(i={}),"textColor"in i||(i.textColor=Se(0,0,0)),"backgroundColor"in i||(i.backgroundColor=Se(1,1,1)),"borderColor"in i||(i.borderColor=Se(0,0,0)),"borderWidth"in i||(i.borderWidth=1);var p=this.createWidget({x:(r=i.x)!==null&&r!==void 0?r:0,y:(s=i.y)!==null&&s!==void 0?s:0,width:(l=i.width)!==null&&l!==void 0?l:50,height:(c=i.height)!==null&&c!==void 0?c:50,textColor:i.textColor,backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:(d=i.borderWidth)!==null&&d!==void 0?d:0,rotate:(h=i.rotate)!==null&&h!==void 0?h:Zt(0),hidden:i.hidden,page:n.ref}),y=this.doc.context.register(p.dict);this.acroField.addWidget(y),p.setAppearanceState(N.of("Off")),this.updateWidgetAppearance(p,N.of("Yes")),n.node.addAnnot(y)},t.prototype.needsAppearancesUpdate=function(){for(var n,i=this.acroField.getWidgets(),r=0,s=i.length;r<s;r++){var l=i[r],c=l.getAppearanceState(),d=(n=l.getAppearances())===null||n===void 0?void 0:n.normal;if(!(d instanceof Ht)||c&&!d.has(c))return!0}return!1},t.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},t.prototype.updateAppearances=function(n){var i;bt(n,"provider",[Function]);for(var r=this.acroField.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s],d=(i=c.getOnValue())!==null&&i!==void 0?i:N.of("Yes");d&&this.updateWidgetAppearance(c,d,n)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(n,i,r){var s=r??sN,l=go(s(this,n));this.updateOnOffWidgetAppearance(n,i,l)},t.of=function(n,i,r){return new t(n,i,r)},t})(Va),Xf=fat});var dat,jh,mN=it(()=>{"use strict";kt();Yu();Iu();Xu();Gf();Jo();po();Ui();pe();dat=(function(e){ct(t,e);function t(n,i,r){var s=e.call(this,n,i,r)||this;return J(n,"acroComboBox",[[Lu,"PDFAcroComboBox"]]),s.acroField=n,s}return t.prototype.getOptions=function(){for(var n=this.acroField.getOptions(),i=new Array(n.length),r=0,s=i.length;r<s;r++){var l=n[r],c=l.display,d=l.value;i[r]=(c??d).decodeText()}return i},t.prototype.getSelected=function(){for(var n=this.acroField.getValues(),i=new Array(n.length),r=0,s=n.length;r<s;r++)i[r]=n[r].decodeText();return i},t.prototype.setOptions=function(n){J(n,"options",[Array]);for(var i=new Array(n.length),r=0,s=n.length;r<s;r++)i[r]={value:Lt.fromText(n[r])};this.acroField.setOptions(i)},t.prototype.addOptions=function(n){J(n,"options",["string",Array]);for(var i=Array.isArray(n)?n:[n],r=this.acroField.getOptions(),s=new Array(i.length),l=0,c=i.length;l<c;l++)s[l]={value:Lt.fromText(i[l])};this.acroField.setOptions(r.concat(s))},t.prototype.select=function(n,i){i===void 0&&(i=!1),J(n,"options",["string",Array]),J(i,"merge",["boolean"]);var r=Array.isArray(n)?n:[n],s=this.getOptions(),l=r.find(function(y){return!s.includes(y)});l&&this.enableEditing(),this.markAsDirty(),(r.length>1||r.length===1&&i)&&this.enableMultiselect();for(var c=new Array(r.length),d=0,h=r.length;d<h;d++)c[d]=Lt.fromText(r[d]);if(i){var p=this.acroField.getValues();this.acroField.setValues(p.concat(c))}else this.acroField.setValues(c)},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},t.prototype.setFontSize=function(n){Fu(n,"fontSize"),this.acroField.setFontSize(n),this.markAsDirty()},t.prototype.isEditable=function(){return this.acroField.hasFlag(Ye.Edit)},t.prototype.enableEditing=function(){this.acroField.setFlagTo(Ye.Edit,!0)},t.prototype.disableEditing=function(){this.acroField.setFlagTo(Ye.Edit,!1)},t.prototype.isSorted=function(){return this.acroField.hasFlag(Ye.Sort)},t.prototype.enableSorting=function(){this.acroField.setFlagTo(Ye.Sort,!0)},t.prototype.disableSorting=function(){this.acroField.setFlagTo(Ye.Sort,!1)},t.prototype.isMultiselect=function(){return this.acroField.hasFlag(Ye.MultiSelect)},t.prototype.enableMultiselect=function(){this.acroField.setFlagTo(Ye.MultiSelect,!0)},t.prototype.disableMultiselect=function(){this.acroField.setFlagTo(Ye.MultiSelect,!1)},t.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(Ye.DoNotSpellCheck)},t.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(Ye.DoNotSpellCheck,!1)},t.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(Ye.DoNotSpellCheck,!0)},t.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(Ye.CommitOnSelChange)},t.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(Ye.CommitOnSelChange,!0)},t.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(Ye.CommitOnSelChange,!1)},t.prototype.addToPage=function(n,i){var r,s,l,c,d,h,p;J(n,"page",[[xi,"PDFPage"]]),is(i),i||(i={}),"textColor"in i||(i.textColor=Se(0,0,0)),"backgroundColor"in i||(i.backgroundColor=Se(1,1,1)),"borderColor"in i||(i.borderColor=Se(0,0,0)),"borderWidth"in i||(i.borderWidth=1);var y=this.createWidget({x:(r=i.x)!==null&&r!==void 0?r:0,y:(s=i.y)!==null&&s!==void 0?s:0,width:(l=i.width)!==null&&l!==void 0?l:200,height:(c=i.height)!==null&&c!==void 0?c:50,textColor:i.textColor,backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:(d=i.borderWidth)!==null&&d!==void 0?d:0,rotate:(h=i.rotate)!==null&&h!==void 0?h:Zt(0),hidden:i.hidden,page:n.ref}),g=this.doc.context.register(y.dict);this.acroField.addWidget(g);var b=(p=i.font)!==null&&p!==void 0?p:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(y,b),n.node.addAnnot(g)},t.prototype.needsAppearancesUpdate=function(){var n;if(this.isDirty())return!0;for(var i=this.acroField.getWidgets(),r=0,s=i.length;r<s;r++){var l=i[r],c=((n=l.getAppearances())===null||n===void 0?void 0:n.normal)instanceof Ln;if(!c)return!0}return!1},t.prototype.defaultUpdateAppearances=function(n){J(n,"font",[[di,"PDFFont"]]),this.updateAppearances(n)},t.prototype.updateAppearances=function(n,i){J(n,"font",[[di,"PDFFont"]]),bt(i,"provider",[Function]);for(var r=this.acroField.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s];this.updateWidgetAppearance(c,n,i)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(n,i,r){var s=r??fN,l=go(s(this,n,i));this.updateWidgetAppearanceWithFont(n,i,l)},t.of=function(n,i,r){return new t(n,i,r)},t})(Va),jh=dat});var hat,qh,gN=it(()=>{"use strict";kt();Yu();Iu();Xu();Gf();Jo();po();Ui();pe();hat=(function(e){ct(t,e);function t(n,i,r){var s=e.call(this,n,i,r)||this;return J(n,"acroListBox",[[ju,"PDFAcroListBox"]]),s.acroField=n,s}return t.prototype.getOptions=function(){for(var n=this.acroField.getOptions(),i=new Array(n.length),r=0,s=i.length;r<s;r++){var l=n[r],c=l.display,d=l.value;i[r]=(c??d).decodeText()}return i},t.prototype.getSelected=function(){for(var n=this.acroField.getValues(),i=new Array(n.length),r=0,s=n.length;r<s;r++)i[r]=n[r].decodeText();return i},t.prototype.setOptions=function(n){J(n,"options",[Array]),this.markAsDirty();for(var i=new Array(n.length),r=0,s=n.length;r<s;r++)i[r]={value:Lt.fromText(n[r])};this.acroField.setOptions(i)},t.prototype.addOptions=function(n){J(n,"options",["string",Array]),this.markAsDirty();for(var i=Array.isArray(n)?n:[n],r=this.acroField.getOptions(),s=new Array(i.length),l=0,c=i.length;l<c;l++)s[l]={value:Lt.fromText(i[l])};this.acroField.setOptions(r.concat(s))},t.prototype.select=function(n,i){i===void 0&&(i=!1),J(n,"options",["string",Array]),J(i,"merge",["boolean"]);var r=Array.isArray(n)?n:[n],s=this.getOptions();F3(r,"option",s),this.markAsDirty(),(r.length>1||r.length===1&&i)&&this.enableMultiselect();for(var l=new Array(r.length),c=0,d=r.length;c<d;c++)l[c]=Lt.fromText(r[c]);if(i){var h=this.acroField.getValues();this.acroField.setValues(h.concat(l))}else this.acroField.setValues(l)},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},t.prototype.setFontSize=function(n){Fu(n,"fontSize"),this.acroField.setFontSize(n),this.markAsDirty()},t.prototype.isSorted=function(){return this.acroField.hasFlag(Ye.Sort)},t.prototype.enableSorting=function(){this.acroField.setFlagTo(Ye.Sort,!0)},t.prototype.disableSorting=function(){this.acroField.setFlagTo(Ye.Sort,!1)},t.prototype.isMultiselect=function(){return this.acroField.hasFlag(Ye.MultiSelect)},t.prototype.enableMultiselect=function(){this.acroField.setFlagTo(Ye.MultiSelect,!0)},t.prototype.disableMultiselect=function(){this.acroField.setFlagTo(Ye.MultiSelect,!1)},t.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(Ye.CommitOnSelChange)},t.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(Ye.CommitOnSelChange,!0)},t.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(Ye.CommitOnSelChange,!1)},t.prototype.addToPage=function(n,i){var r,s,l,c,d,h,p;J(n,"page",[[xi,"PDFPage"]]),is(i),i||(i={}),"textColor"in i||(i.textColor=Se(0,0,0)),"backgroundColor"in i||(i.backgroundColor=Se(1,1,1)),"borderColor"in i||(i.borderColor=Se(0,0,0)),"borderWidth"in i||(i.borderWidth=1);var y=this.createWidget({x:(r=i.x)!==null&&r!==void 0?r:0,y:(s=i.y)!==null&&s!==void 0?s:0,width:(l=i.width)!==null&&l!==void 0?l:200,height:(c=i.height)!==null&&c!==void 0?c:100,textColor:i.textColor,backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:(d=i.borderWidth)!==null&&d!==void 0?d:0,rotate:(h=i.rotate)!==null&&h!==void 0?h:Zt(0),hidden:i.hidden,page:n.ref}),g=this.doc.context.register(y.dict);this.acroField.addWidget(g);var b=(p=i.font)!==null&&p!==void 0?p:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(y,b),n.node.addAnnot(g)},t.prototype.needsAppearancesUpdate=function(){var n;if(this.isDirty())return!0;for(var i=this.acroField.getWidgets(),r=0,s=i.length;r<s;r++){var l=i[r],c=((n=l.getAppearances())===null||n===void 0?void 0:n.normal)instanceof Ln;if(!c)return!0}return!1},t.prototype.defaultUpdateAppearances=function(n){J(n,"font",[[di,"PDFFont"]]),this.updateAppearances(n)},t.prototype.updateAppearances=function(n,i){J(n,"font",[[di,"PDFFont"]]),bt(i,"provider",[Function]);for(var r=this.acroField.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s];this.updateWidgetAppearance(c,n,i)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(n,i,r){var s=r??dN,l=go(s(this,n,i));this.updateWidgetAppearanceWithFont(n,i,l)},t.of=function(n,i,r){return new t(n,i,r)},t})(Va),qh=hat});var pat,Yf,vN=it(()=>{"use strict";kt();Yu();Xu();Gf();Jo();po();Ui();pe();pat=(function(e){ct(t,e);function t(n,i,r){var s=e.call(this,n,i,r)||this;return J(n,"acroRadioButton",[[Hu,"PDFAcroRadioButton"]]),s.acroField=n,s}return t.prototype.getOptions=function(){var n=this.acroField.getExportValues();if(n){for(var i=new Array(n.length),r=0,s=n.length;r<s;r++)i[r]=n[r].decodeText();return i}for(var l=this.acroField.getOnValues(),c=new Array(l.length),r=0,s=c.length;r<s;r++)c[r]=l[r].decodeText();return c},t.prototype.getSelected=function(){var n=this.acroField.getValue();if(n!==N.of("Off")){var i=this.acroField.getExportValues();if(i){for(var r=this.acroField.getOnValues(),s=0,l=r.length;s<l;s++)if(r[s]===n)return i[s].decodeText()}return n.decodeText()}},t.prototype.select=function(n){J(n,"option",["string"]);var i=this.getOptions();Ko(n,"option",i),this.markAsDirty();var r=this.acroField.getOnValues(),s=this.acroField.getExportValues();if(s)for(var l=0,c=s.length;l<c;l++)s[l].decodeText()===n&&this.acroField.setValue(r[l]);else for(var l=0,c=r.length;l<c;l++){var d=r[l];d.decodeText()===n&&this.acroField.setValue(d)}},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValue(N.of("Off"))},t.prototype.isOffToggleable=function(){return!this.acroField.hasFlag(Ra.NoToggleToOff)},t.prototype.enableOffToggling=function(){this.acroField.setFlagTo(Ra.NoToggleToOff,!1)},t.prototype.disableOffToggling=function(){this.acroField.setFlagTo(Ra.NoToggleToOff,!0)},t.prototype.isMutuallyExclusive=function(){return!this.acroField.hasFlag(Ra.RadiosInUnison)},t.prototype.enableMutualExclusion=function(){this.acroField.setFlagTo(Ra.RadiosInUnison,!1)},t.prototype.disableMutualExclusion=function(){this.acroField.setFlagTo(Ra.RadiosInUnison,!0)},t.prototype.addOptionToPage=function(n,i,r){var s,l,c,d,h,p,y,g,b;J(n,"option",["string"]),J(i,"page",[[xi,"PDFPage"]]),is(r);var S=this.createWidget({x:(s=r?.x)!==null&&s!==void 0?s:0,y:(l=r?.y)!==null&&l!==void 0?l:0,width:(c=r?.width)!==null&&c!==void 0?c:50,height:(d=r?.height)!==null&&d!==void 0?d:50,textColor:(h=r?.textColor)!==null&&h!==void 0?h:Se(0,0,0),backgroundColor:(p=r?.backgroundColor)!==null&&p!==void 0?p:Se(1,1,1),borderColor:(y=r?.borderColor)!==null&&y!==void 0?y:Se(0,0,0),borderWidth:(g=r?.borderWidth)!==null&&g!==void 0?g:1,rotate:(b=r?.rotate)!==null&&b!==void 0?b:Zt(0),hidden:r?.hidden,page:i.ref}),w=this.doc.context.register(S.dict),D=this.acroField.addWidgetWithOpt(w,Lt.fromText(n),!this.isMutuallyExclusive());S.setAppearanceState(N.of("Off")),this.updateWidgetAppearance(S,D),i.node.addAnnot(w)},t.prototype.needsAppearancesUpdate=function(){for(var n,i=this.acroField.getWidgets(),r=0,s=i.length;r<s;r++){var l=i[r],c=l.getAppearanceState(),d=(n=l.getAppearances())===null||n===void 0?void 0:n.normal;if(!(d instanceof Ht)||c&&!d.has(c))return!0}return!1},t.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},t.prototype.updateAppearances=function(n){bt(n,"provider",[Function]);for(var i=this.acroField.getWidgets(),r=0,s=i.length;r<s;r++){var l=i[r],c=l.getOnValue();c&&this.updateWidgetAppearance(l,c,n)}},t.prototype.updateWidgetAppearance=function(n,i,r){var s=r??lN,l=go(s(this,n));this.updateOnOffWidgetAppearance(n,i,l)},t.of=function(n,i,r){return new t(n,i,r)},t})(Va),Yf=pat});var mat,Hm,yN=it(()=>{"use strict";kt();Xu();Ui();pe();mat=(function(e){ct(t,e);function t(n,i,r){var s=e.call(this,n,i,r)||this;return J(n,"acroSignature",[[kf,"PDFAcroSignature"]]),s.acroField=n,s}return t.prototype.needsAppearancesUpdate=function(){return!1},t.of=function(n,i,r){return new t(n,i,r)},t})(Va),Hm=mat});var gat,Vh,bN=it(()=>{"use strict";kt();Yu();Iu();Xu();Gf();Jo();po();Pm();lT();Kb();Ui();pe();gat=(function(e){ct(t,e);function t(n,i,r){var s=e.call(this,n,i,r)||this;return J(n,"acroText",[[Uu,"PDFAcroText"]]),s.acroField=n,s}return t.prototype.getText=function(){var n=this.acroField.getValue();if(!n&&this.isRichFormatted())throw new eN(this.getName());return n?.decodeText()},t.prototype.setText=function(n){bt(n,"text",["string"]);var i=this.getMaxLength();if(i!==void 0&&n&&n.length>i)throw new iN(n.length,i,this.getName());this.markAsDirty(),this.disableRichFormatting(),n?this.acroField.setValue(Lt.fromText(n)):this.acroField.removeValue()},t.prototype.getAlignment=function(){var n=this.acroField.getQuadding();return n===0?ri.Left:n===1?ri.Center:n===2?ri.Right:ri.Left},t.prototype.setAlignment=function(n){Ko(n,"alignment",ri),this.markAsDirty(),this.acroField.setQuadding(n)},t.prototype.getMaxLength=function(){return this.acroField.getMaxLength()},t.prototype.setMaxLength=function(n){if(Fr(n,"maxLength",0,Number.MAX_SAFE_INTEGER),this.markAsDirty(),n===void 0)this.acroField.removeMaxLength();else{var i=this.getText();if(i&&i.length>n)throw new aN(i.length,n,this.getName());this.acroField.setMaxLength(n)}},t.prototype.removeMaxLength=function(){this.markAsDirty(),this.acroField.removeMaxLength()},t.prototype.setImage=function(n){for(var i=this.getAlignment(),r=i===ri.Center?ns.Center:i===ri.Right?ns.Right:ns.Left,s=this.acroField.getWidgets(),l=0,c=s.length;l<c;l++){var d=s[l],h=this.createImageAppearanceStream(d,n,r);this.updateWidgetAppearances(d,{normal:h})}this.markAsClean()},t.prototype.setFontSize=function(n){Fu(n,"fontSize"),this.acroField.setFontSize(n),this.markAsDirty()},t.prototype.isMultiline=function(){return this.acroField.hasFlag(Gn.Multiline)},t.prototype.enableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(Gn.Multiline,!0)},t.prototype.disableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(Gn.Multiline,!1)},t.prototype.isPassword=function(){return this.acroField.hasFlag(Gn.Password)},t.prototype.enablePassword=function(){this.acroField.setFlagTo(Gn.Password,!0)},t.prototype.disablePassword=function(){this.acroField.setFlagTo(Gn.Password,!1)},t.prototype.isFileSelector=function(){return this.acroField.hasFlag(Gn.FileSelect)},t.prototype.enableFileSelection=function(){this.acroField.setFlagTo(Gn.FileSelect,!0)},t.prototype.disableFileSelection=function(){this.acroField.setFlagTo(Gn.FileSelect,!1)},t.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(Gn.DoNotSpellCheck)},t.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(Gn.DoNotSpellCheck,!1)},t.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(Gn.DoNotSpellCheck,!0)},t.prototype.isScrollable=function(){return!this.acroField.hasFlag(Gn.DoNotScroll)},t.prototype.enableScrolling=function(){this.acroField.setFlagTo(Gn.DoNotScroll,!1)},t.prototype.disableScrolling=function(){this.acroField.setFlagTo(Gn.DoNotScroll,!0)},t.prototype.isCombed=function(){return this.acroField.hasFlag(Gn.Comb)&&!this.isMultiline()&&!this.isPassword()&&!this.isFileSelector()&&this.getMaxLength()!==void 0},t.prototype.enableCombing=function(){if(this.getMaxLength()===void 0){var n="PDFTextFields must have a max length in order to be combed";console.warn(n)}this.markAsDirty(),this.disableMultiline(),this.disablePassword(),this.disableFileSelection(),this.acroField.setFlagTo(Gn.Comb,!0)},t.prototype.disableCombing=function(){this.markAsDirty(),this.acroField.setFlagTo(Gn.Comb,!1)},t.prototype.isRichFormatted=function(){return this.acroField.hasFlag(Gn.RichText)},t.prototype.enableRichFormatting=function(){this.acroField.setFlagTo(Gn.RichText,!0)},t.prototype.disableRichFormatting=function(){this.acroField.setFlagTo(Gn.RichText,!1)},t.prototype.addToPage=function(n,i){var r,s,l,c,d,h,p;J(n,"page",[[xi,"PDFPage"]]),is(i),i||(i={}),"textColor"in i||(i.textColor=Se(0,0,0)),"backgroundColor"in i||(i.backgroundColor=Se(1,1,1)),"borderColor"in i||(i.borderColor=Se(0,0,0)),"borderWidth"in i||(i.borderWidth=1);var y=this.createWidget({x:(r=i.x)!==null&&r!==void 0?r:0,y:(s=i.y)!==null&&s!==void 0?s:0,width:(l=i.width)!==null&&l!==void 0?l:200,height:(c=i.height)!==null&&c!==void 0?c:50,textColor:i.textColor,backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:(d=i.borderWidth)!==null&&d!==void 0?d:0,rotate:(h=i.rotate)!==null&&h!==void 0?h:Zt(0),hidden:i.hidden,page:n.ref}),g=this.doc.context.register(y.dict);this.acroField.addWidget(g);var b=(p=i.font)!==null&&p!==void 0?p:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(y,b),n.node.addAnnot(g)},t.prototype.needsAppearancesUpdate=function(){var n;if(this.isDirty())return!0;for(var i=this.acroField.getWidgets(),r=0,s=i.length;r<s;r++){var l=i[r],c=((n=l.getAppearances())===null||n===void 0?void 0:n.normal)instanceof Ln;if(!c)return!0}return!1},t.prototype.defaultUpdateAppearances=function(n){J(n,"font",[[di,"PDFFont"]]),this.updateAppearances(n)},t.prototype.updateAppearances=function(n,i){J(n,"font",[[di,"PDFFont"]]),bt(i,"provider",[Function]);for(var r=this.acroField.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s];this.updateWidgetAppearance(c,n,i)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(n,i,r){var s=r??cN,l=go(s(this,n,i));this.updateWidgetAppearanceWithFont(n,i,l)},t.of=function(n,i,r){return new t(n,i,r)},t})(Va),Vh=gat});var Bi,uT=it(()=>{"use strict";(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"})(Bi||(Bi={}))});var vat,cT,yat,jm,qm,SN=it(()=>{"use strict";kt();If();xN();pN();mN();gN();vN();yN();bN();Pm();Iu();uT();Lm();jf();Ui();pe();vat=(function(){function e(t,n){var i=this;this.embedDefaultFont=function(){return i.doc.embedStandardFont(Bi.Helvetica)},J(t,"acroForm",[[Lf,"PDFAcroForm"]]),J(n,"doc",[[Wi,"PDFDocument"]]),this.acroForm=t,this.doc=n,this.dirtyFields=new Set,this.defaultFontCache=Ca.populatedBy(this.embedDefaultFont)}return e.prototype.hasXFA=function(){return this.acroForm.dict.has(N.of("XFA"))},e.prototype.deleteXFA=function(){this.acroForm.dict.delete(N.of("XFA"))},e.prototype.getFields=function(){for(var t=this.acroForm.getAllFields(),n=[],i=0,r=t.length;i<r;i++){var s=t[i],l=s[0],c=s[1],d=yat(l,c,this.doc);d&&n.push(d)}return n},e.prototype.getFieldMaybe=function(t){J(t,"name",["string"]);for(var n=this.getFields(),i=0,r=n.length;i<r;i++){var s=n[i];if(s.getName()===t)return s}},e.prototype.getField=function(t){J(t,"name",["string"]);var n=this.getFieldMaybe(t);if(n)return n;throw new $5(t)},e.prototype.getButton=function(t){J(t,"name",["string"]);var n=this.getField(t);if(n instanceof Gh)return n;throw new Gu(t,Gh,n)},e.prototype.getCheckBox=function(t){J(t,"name",["string"]);var n=this.getField(t);if(n instanceof Xf)return n;throw new Gu(t,Xf,n)},e.prototype.getDropdown=function(t){J(t,"name",["string"]);var n=this.getField(t);if(n instanceof jh)return n;throw new Gu(t,jh,n)},e.prototype.getOptionList=function(t){J(t,"name",["string"]);var n=this.getField(t);if(n instanceof qh)return n;throw new Gu(t,qh,n)},e.prototype.getRadioGroup=function(t){J(t,"name",["string"]);var n=this.getField(t);if(n instanceof Yf)return n;throw new Gu(t,Yf,n)},e.prototype.getSignature=function(t){J(t,"name",["string"]);var n=this.getField(t);if(n instanceof Hm)return n;throw new Gu(t,Hm,n)},e.prototype.getTextField=function(t){J(t,"name",["string"]);var n=this.getField(t);if(n instanceof Vh)return n;throw new Gu(t,Vh,n)},e.prototype.createButton=function(t){J(t,"name",["string"]);var n=jm(t),i=this.findOrCreateNonTerminals(n.nonTerminal),r=Bu.create(this.doc.context);return r.setPartialName(n.terminal),qm(i,[r,r.ref],n.terminal),Gh.of(r,r.ref,this.doc)},e.prototype.createCheckBox=function(t){J(t,"name",["string"]);var n=jm(t),i=this.findOrCreateNonTerminals(n.nonTerminal),r=ku.create(this.doc.context);return r.setPartialName(n.terminal),qm(i,[r,r.ref],n.terminal),Xf.of(r,r.ref,this.doc)},e.prototype.createDropdown=function(t){J(t,"name",["string"]);var n=jm(t),i=this.findOrCreateNonTerminals(n.nonTerminal),r=Lu.create(this.doc.context);return r.setPartialName(n.terminal),qm(i,[r,r.ref],n.terminal),jh.of(r,r.ref,this.doc)},e.prototype.createOptionList=function(t){J(t,"name",["string"]);var n=jm(t),i=this.findOrCreateNonTerminals(n.nonTerminal),r=ju.create(this.doc.context);return r.setPartialName(n.terminal),qm(i,[r,r.ref],n.terminal),qh.of(r,r.ref,this.doc)},e.prototype.createRadioGroup=function(t){J(t,"name",["string"]);var n=jm(t),i=this.findOrCreateNonTerminals(n.nonTerminal),r=Hu.create(this.doc.context);return r.setPartialName(n.terminal),qm(i,[r,r.ref],n.terminal),Yf.of(r,r.ref,this.doc)},e.prototype.createTextField=function(t){J(t,"name",["string"]);var n=jm(t),i=this.findOrCreateNonTerminals(n.nonTerminal),r=Uu.create(this.doc.context);return r.setPartialName(n.terminal),qm(i,[r,r.ref],n.terminal),Vh.of(r,r.ref,this.doc)},e.prototype.flatten=function(t){t===void 0&&(t={updateFieldAppearances:!0}),t.updateFieldAppearances&&this.updateFieldAppearances();for(var n=this.getFields(),i=0,r=n.length;i<r;i++){for(var s=n[i],l=s.acroField.getWidgets(),c=0,d=l.length;c<d;c++){var h=l[c],p=this.findWidgetPage(h),y=this.findWidgetAppearanceRef(s,h),g=p.node.newXObject("FlatWidget",y),b=h.getRectangle(),S=Fe([$n(),ja(b.x,b.y)],$o(ae(ae({},b),{rotation:0})),[Nm(g),ti()]).filter(Boolean);p.pushOperators.apply(p,S)}this.removeField(s)}},e.prototype.removeField=function(t){for(var n=t.acroField.getWidgets(),i=new Set,r=0,s=n.length;r<s;r++){var l=n[r],c=this.findWidgetAppearanceRef(t,l),d=this.findWidgetPage(l);i.add(d),d.node.removeAnnot(c)}i.forEach(function(b){return b.node.removeAnnot(t.ref)}),this.acroForm.removeField(t.acroField);for(var h=t.acroField.normalizedEntries().Kids,p=h.size(),y=0;y<p;y++){var g=h.get(y);g instanceof ie&&this.doc.context.delete(g)}this.doc.context.delete(t.ref)},e.prototype.updateFieldAppearances=function(t){bt(t,"font",[[di,"PDFFont"]]),t=t??this.getDefaultFont();for(var n=this.getFields(),i=0,r=n.length;i<r;i++){var s=n[i];s.needsAppearancesUpdate()&&s.defaultUpdateAppearances(t)}},e.prototype.markFieldAsDirty=function(t){bt(t,"fieldRef",[[ie,"PDFRef"]]),this.dirtyFields.add(t)},e.prototype.markFieldAsClean=function(t){bt(t,"fieldRef",[[ie,"PDFRef"]]),this.dirtyFields.delete(t)},e.prototype.fieldIsDirty=function(t){return bt(t,"fieldRef",[[ie,"PDFRef"]]),this.dirtyFields.has(t)},e.prototype.getDefaultFont=function(){return this.defaultFontCache.access()},e.prototype.findWidgetPage=function(t){var n=t.P(),i=this.doc.getPages().find(function(s){return s.ref===n});if(i===void 0){var r=this.doc.context.getObjectRef(t.dict);if(r===void 0)throw new Error("Could not find PDFRef for PDFObject");if(i=this.doc.findPageForAnnotationRef(r),i===void 0)throw new Error("Could not find page for PDFRef "+r)}return i},e.prototype.findWidgetAppearanceRef=function(t,n){var i,r=n.getNormalAppearance();if(r instanceof Ht&&(t instanceof Xf||t instanceof Yf)){var s=t.acroField.getValue(),l=(i=r.get(s))!==null&&i!==void 0?i:r.get(N.of("Off"));l instanceof ie&&(r=l)}if(!(r instanceof ie)){var c=t.getName();throw new Error("Failed to extract appearance ref for: "+c)}return r},e.prototype.findOrCreateNonTerminals=function(t){for(var n=[this.acroForm],i=0,r=t.length;i<r;i++){var s=t[i];if(!s)throw new tN(s);var l=n[0],c=n[1],d=this.findNonTerminal(s,l);if(d)n=d;else{var h=Pu.create(this.doc.context);h.setPartialName(s),h.setParent(c);var p=this.doc.context.register(h.dict);l.addField(p),n=[h,p]}}return n},e.prototype.findNonTerminal=function(t,n){for(var i=n instanceof Lf?this.acroForm.getFields():Am(n.Kids()),r=0,s=i.length;r<s;r++){var l=i[r],c=l[0],d=l[1];if(c.getPartialName()===t){if(c instanceof Pu)return[c,d];throw new aT(t)}}},e.of=function(t,n){return new e(t,n)},e})(),cT=vat,yat=function(e,t,n){if(e instanceof Bu)return Gh.of(e,t,n);if(e instanceof ku)return Xf.of(e,t,n);if(e instanceof Lu)return jh.of(e,t,n);if(e instanceof ju)return qh.of(e,t,n);if(e instanceof Uu)return Vh.of(e,t,n);if(e instanceof Hu)return Yf.of(e,t,n);if(e instanceof kf)return Hm.of(e,t,n)},jm=function(e){if(e.length===0)throw new Error("PDF field names must not be empty strings");for(var t=e.split("."),n=0,i=t.length;n<i;n++)if(t[n]==="")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]}},qm=function(e,t,n){for(var i=e[0],r=e[1],s=t[0],l=t[1],c=i.normalizedEntries(),d=Am("Kids"in c?c.Kids:c.Fields),h=0,p=d.length;h<p;h++)if(d[h][0].getPartialName()===n)throw new aT(n);i.addField(l),s.setParent(r)}});var AN,wN=it(()=>{"use strict";AN={"4A0":[4767.87,6740.79],"2A0":[3370.39,4767.87],A0:[2383.94,3370.39],A1:[1683.78,2383.94],A2:[1190.55,1683.78],A3:[841.89,1190.55],A4:[595.28,841.89],A5:[419.53,595.28],A6:[297.64,419.53],A7:[209.76,297.64],A8:[147.4,209.76],A9:[104.88,147.4],A10:[73.7,104.88],B0:[2834.65,4008.19],B1:[2004.09,2834.65],B2:[1417.32,2004.09],B3:[1000.63,1417.32],B4:[708.66,1000.63],B5:[498.9,708.66],B6:[354.33,498.9],B7:[249.45,354.33],B8:[175.75,249.45],B9:[124.72,175.75],B10:[87.87,124.72],C0:[2599.37,3676.54],C1:[1836.85,2599.37],C2:[1298.27,1836.85],C3:[918.43,1298.27],C4:[649.13,918.43],C5:[459.21,649.13],C6:[323.15,459.21],C7:[229.61,323.15],C8:[161.57,229.61],C9:[113.39,161.57],C10:[79.37,113.39],RA0:[2437.8,3458.27],RA1:[1729.13,2437.8],RA2:[1218.9,1729.13],RA3:[864.57,1218.9],RA4:[609.45,864.57],SRA0:[2551.18,3628.35],SRA1:[1814.17,2551.18],SRA2:[1275.59,1814.17],SRA3:[907.09,1275.59],SRA4:[637.8,907.09],Executive:[521.86,756],Folio:[612,936],Legal:[612,1008],Letter:[612,792],Tabloid:[792,1224]}});var Zb,EN=it(()=>{"use strict";(function(e){e[e.Fastest=1/0]="Fastest",e[e.Fast=1500]="Fast",e[e.Medium=500]="Medium",e[e.Slow=100]="Slow"})(Zb||(Zb={}))});var bat,cI,fI=it(()=>{"use strict";kt();Ui();bat=(function(){function e(t,n,i){this.alreadyEmbedded=!1,this.ref=t,this.doc=n,this.embedder=i}return e.prototype.embed=function(){return It(this,void 0,void 0,function(){var t,n,i,r,s;return Xt(this,function(l){switch(l.label){case 0:return this.alreadyEmbedded?[3,2]:[4,this.embedder.embedIntoContext(this.doc.context,this.ref)];case 1:t=l.sent(),this.doc.catalog.has(N.of("Names"))||this.doc.catalog.set(N.of("Names"),this.doc.context.obj({})),n=this.doc.catalog.lookup(N.of("Names"),Ht),n.has(N.of("EmbeddedFiles"))||n.set(N.of("EmbeddedFiles"),this.doc.context.obj({})),i=n.lookup(N.of("EmbeddedFiles"),Ht),i.has(N.of("Names"))||i.set(N.of("Names"),this.doc.context.obj([])),r=i.lookup(N.of("Names"),ee),r.push(Lt.fromText(this.embedder.fileName)),r.push(t),this.doc.catalog.has(N.of("AF"))||this.doc.catalog.set(N.of("AF"),this.doc.context.obj([])),s=this.doc.catalog.lookup(N.of("AF"),ee),s.push(t),this.alreadyEmbedded=!0,l.label=2;case 2:return[2]}})})},e.of=function(t,n,i){return new e(t,n,i)},e})(),cI=bat});var Sat,fT,TN=it(()=>{"use strict";kt();Ui();Sat=(function(){function e(t,n,i){this.alreadyEmbedded=!1,this.ref=t,this.doc=n,this.embedder=i}return e.prototype.embed=function(){return It(this,void 0,void 0,function(){var t,n,i,r,s,l,c;return Xt(this,function(d){switch(d.label){case 0:return this.alreadyEmbedded?[3,2]:(t=this.doc,n=t.catalog,i=t.context,[4,this.embedder.embedIntoContext(this.doc.context,this.ref)]);case 1:r=d.sent(),n.has(N.of("Names"))||n.set(N.of("Names"),i.obj({})),s=n.lookup(N.of("Names"),Ht),s.has(N.of("JavaScript"))||s.set(N.of("JavaScript"),i.obj({})),l=s.lookup(N.of("JavaScript"),Ht),l.has(N.of("Names"))||l.set(N.of("Names"),i.obj([])),c=l.lookup(N.of("Names"),ee),c.push(Lt.fromText(this.embedder.scriptName)),c.push(r),this.alreadyEmbedded=!0,d.label=2;case 2:return[2]}})})},e.of=function(t,n,i){return new e(t,n,i)},e})(),fT=Sat});var xat,dI,hI=it(()=>{"use strict";kt();zr();xat=(function(){function e(t,n){this.script=t,this.scriptName=n}return e.for=function(t,n){return new e(t,n)},e.prototype.embedIntoContext=function(t,n){return It(this,void 0,void 0,function(){var i;return Xt(this,function(r){return i=t.obj({Type:"Action",S:"JavaScript",JS:Lt.fromText(this.script)}),n?(t.assign(n,i),[2,n]):[2,t.register(i)]})})},e})(),dI=xat});function Kf(e){if(!(e instanceof Lt)&&!(e instanceof Ce))throw new Rf([Lt,Ce],e)}var Aat,Wi,If=it(()=>{"use strict";kt();Pm();oT();Iu();sT();Yu();SN();wN();Ui();EN();pe();s5();fI();TN();hI();Aat=(function(){function e(t,n,i){var r=this;if(this.defaultWordBreaks=[" "],this.computePages=function(){var s=[];return r.catalog.Pages().traverse(function(l,c){if(l instanceof Ha){var d=r.pageMap.get(l);d||(d=xi.of(l,c,r),r.pageMap.set(l,d)),s.push(d)}}),s},this.getOrCreateForm=function(){var s=r.catalog.getOrCreateAcroForm();return cT.of(s,r)},J(t,"context",[[Th,"PDFContext"]]),J(n,"ignoreEncryption",["boolean"]),this.context=t,this.catalog=t.lookup(t.trailerInfo.Root),this.isEncrypted=!!t.lookup(t.trailerInfo.Encrypt),this.pageCache=Ca.populatedBy(this.computePages),this.pageMap=new Map,this.formCache=Ca.populatedBy(this.getOrCreateForm),this.fonts=[],this.images=[],this.embeddedPages=[],this.embeddedFiles=[],this.javaScripts=[],!n&&this.isEncrypted)throw new Z5;i&&this.updateInfoDict()}return e.load=function(t,n){return n===void 0&&(n={}),It(this,void 0,void 0,function(){var i,r,s,l,c,d,h,p,y,g,b,S;return Xt(this,function(w){switch(w.label){case 0:return i=n.ignoreEncryption,r=i===void 0?!1:i,s=n.parseSpeed,l=s===void 0?Zb.Slow:s,c=n.throwOnInvalidObject,d=c===void 0?!1:c,h=n.updateMetadata,p=h===void 0?!0:h,y=n.capNumbers,g=y===void 0?!1:y,J(t,"pdf",["string",Uint8Array,ArrayBuffer]),J(r,"ignoreEncryption",["boolean"]),J(l,"parseSpeed",["number"]),J(d,"throwOnInvalidObject",["boolean"]),b=fh(t),[4,qE.forBytesWithOptions(b,l,d,g).parseDocument()];case 1:return S=w.sent(),[2,new e(S,r,p)]}})})},e.create=function(t){return t===void 0&&(t={}),It(this,void 0,void 0,function(){var n,i,r,s,l,c;return Xt(this,function(d){return n=t.updateMetadata,i=n===void 0?!0:n,r=Th.create(),s=Em.withContext(r),l=r.register(s),c=wm.withContextAndPages(r,l),r.trailerInfo.Root=r.register(c),[2,new e(r,!1,i)]})})},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(N.Title);if(t)return Kf(t),t.decodeText()},e.prototype.getAuthor=function(){var t=this.getInfoDict().lookup(N.Author);if(t)return Kf(t),t.decodeText()},e.prototype.getSubject=function(){var t=this.getInfoDict().lookup(N.Subject);if(t)return Kf(t),t.decodeText()},e.prototype.getKeywords=function(){var t=this.getInfoDict().lookup(N.Keywords);if(t)return Kf(t),t.decodeText()},e.prototype.getCreator=function(){var t=this.getInfoDict().lookup(N.Creator);if(t)return Kf(t),t.decodeText()},e.prototype.getProducer=function(){var t=this.getInfoDict().lookup(N.Producer);if(t)return Kf(t),t.decodeText()},e.prototype.getCreationDate=function(){var t=this.getInfoDict().lookup(N.CreationDate);if(t)return Kf(t),t.decodeDate()},e.prototype.getModificationDate=function(){var t=this.getInfoDict().lookup(N.ModDate);if(t)return Kf(t),t.decodeDate()},e.prototype.setTitle=function(t,n){J(t,"title",["string"]);var i=N.of("Title");if(this.getInfoDict().set(i,Lt.fromText(t)),n?.showInWindowTitleBar){var r=this.catalog.getOrCreateViewerPreferences();r.setDisplayDocTitle(!0)}},e.prototype.setAuthor=function(t){J(t,"author",["string"]);var n=N.of("Author");this.getInfoDict().set(n,Lt.fromText(t))},e.prototype.setSubject=function(t){J(t,"author",["string"]);var n=N.of("Subject");this.getInfoDict().set(n,Lt.fromText(t))},e.prototype.setKeywords=function(t){J(t,"keywords",[Array]);var n=N.of("Keywords");this.getInfoDict().set(n,Lt.fromText(t.join(" ")))},e.prototype.setCreator=function(t){J(t,"creator",["string"]);var n=N.of("Creator");this.getInfoDict().set(n,Lt.fromText(t))},e.prototype.setProducer=function(t){J(t,"creator",["string"]);var n=N.of("Producer");this.getInfoDict().set(n,Lt.fromText(t))},e.prototype.setLanguage=function(t){J(t,"language",["string"]);var n=N.of("Lang");this.catalog.set(n,Ce.of(t))},e.prototype.setCreationDate=function(t){J(t,"creationDate",[[Date,"Date"]]);var n=N.of("CreationDate");this.getInfoDict().set(n,Ce.fromDate(t))},e.prototype.setModificationDate=function(t){J(t,"modificationDate",[[Date,"Date"]]);var n=N.of("ModDate");this.getInfoDict().set(n,Ce.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 n=this.getPages();return Ta(t,"index",0,n.length-1),n[t]},e.prototype.getPageIndices=function(){return BF(0,this.getPageCount())},e.prototype.removePage=function(t){var n=this.getPageCount();if(this.pageCount===0)throw new J5;Ta(t,"index",0,n-1),this.catalog.removeLeafNode(t),this.pageCount=n-1},e.prototype.addPage=function(t){return J(t,"page",["undefined",[xi,"PDFPage"],Array]),this.insertPage(this.getPageCount(),t)},e.prototype.insertPage=function(t,n){var i=this.getPageCount();if(Ta(t,"index",0,i),J(n,"page",["undefined",[xi,"PDFPage"],Array]),!n||Array.isArray(n)){var r=Array.isArray(n)?n:AN.A4;n=xi.create(this),n.setSize.apply(n,r)}else if(n.doc!==this)throw new Q5;var s=this.catalog.insertLeafNode(n.ref,t);return n.node.setParent(s),this.pageMap.set(n.node,n),this.pageCache.invalidate(),this.pageCount=i+1,n},e.prototype.copyPages=function(t,n){return It(this,void 0,void 0,function(){var i,r,s,l,c,d,h,p;return Xt(this,function(y){switch(y.label){case 0:return J(t,"srcDoc",[[e,"PDFDocument"]]),J(n,"indices",[Array]),[4,t.flush()];case 1:for(y.sent(),i=Rb.for(t.context,this.context),r=t.getPages(),s=new Array(n.length),l=0,c=n.length;l<c;l++)d=r[n[l]],h=i.copy(d.node),p=this.context.register(h),s[l]=xi.of(h,p,this);return[2,s]}})})},e.prototype.copy=function(){return It(this,void 0,void 0,function(){var t,n,i,r;return Xt(this,function(s){switch(s.label){case 0:return[4,e.create()];case 1:return t=s.sent(),[4,t.copyPages(this,this.getPageIndices())];case 2:for(n=s.sent(),i=0,r=n.length;i<r;i++)t.addPage(n[i]);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,n){J(t,"name",["string"]),J(n,"script",["string"]);var i=dI.for(n,t),r=this.context.nextRef(),s=fT.of(r,this,i);this.javaScripts.push(s)},e.prototype.attach=function(t,n,i){return i===void 0&&(i={}),It(this,void 0,void 0,function(){var r,s,l,c;return Xt(this,function(d){return J(t,"attachment",["string",Uint8Array,ArrayBuffer]),J(n,"name",["string"]),bt(i.mimeType,"mimeType",["string"]),bt(i.description,"description",["string"]),bt(i.creationDate,"options.creationDate",[Date]),bt(i.modificationDate,"options.modificationDate",[Date]),sr(i.afRelationship,"options.afRelationship",fm),r=fh(t),s=CE.for(r,n,i),l=this.context.nextRef(),c=cI.of(l,this,s),this.embeddedFiles.push(c),[2]})})},e.prototype.embedFont=function(t,n){return n===void 0&&(n={}),It(this,void 0,void 0,function(){var i,r,s,l,c,d,h,p,y,g;return Xt(this,function(b){switch(b.label){case 0:return i=n.subset,r=i===void 0?!1:i,s=n.customName,l=n.features,J(t,"font",["string",Uint8Array,ArrayBuffer]),J(r,"subset",["boolean"]),fE(t)?(c=Ff.for(t,s),[3,7]):[3,1];case 1:return jF(t)?(d=fh(t),h=this.assertFontkit(),r?[4,TE.for(h,d,s,l)]:[3,3]):[3,6];case 2:return p=b.sent(),[3,5];case 3:return[4,Nf.for(h,d,s,l)];case 4:p=b.sent(),b.label=5;case 5:return c=p,[3,7];case 6:throw new TypeError("`font` must be one of `StandardFonts | string | Uint8Array | ArrayBuffer`");case 7:return y=this.context.nextRef(),g=di.of(y,this,c),this.fonts.push(g),[2,g]}})})},e.prototype.embedStandardFont=function(t,n){if(J(t,"font",["string"]),!fE(t))throw new TypeError("`font` must be one of type `StandardFonts`");var i=Ff.for(t,n),r=this.context.nextRef(),s=di.of(r,this,i);return this.fonts.push(s),s},e.prototype.embedJpg=function(t){return It(this,void 0,void 0,function(){var n,i,r,s;return Xt(this,function(l){switch(l.label){case 0:return J(t,"jpg",["string",Uint8Array,ArrayBuffer]),n=fh(t),[4,hm.for(n)];case 1:return i=l.sent(),r=this.context.nextRef(),s=Hh.of(r,this,i),this.images.push(s),[2,s]}})})},e.prototype.embedPng=function(t){return It(this,void 0,void 0,function(){var n,i,r,s;return Xt(this,function(l){switch(l.label){case 0:return J(t,"png",["string",Uint8Array,ArrayBuffer]),n=fh(t),[4,pm.for(n)];case 1:return i=l.sent(),r=this.context.nextRef(),s=Hh.of(r,this,i),this.images.push(s),[2,s]}})})},e.prototype.embedPdf=function(t,n){return n===void 0&&(n=[0]),It(this,void 0,void 0,function(){var i,r,s;return Xt(this,function(l){switch(l.label){case 0:return J(t,"pdf",["string",Uint8Array,ArrayBuffer,[e,"PDFDocument"]]),J(n,"indices",[Array]),t instanceof e?(r=t,[3,3]):[3,1];case 1:return[4,e.load(t)];case 2:r=l.sent(),l.label=3;case 3:return i=r,s=HF(i.getPages(),n),[2,this.embedPages(s)]}})})},e.prototype.embedPage=function(t,n,i){return It(this,void 0,void 0,function(){var r;return Xt(this,function(s){switch(s.label){case 0:return J(t,"page",[[xi,"PDFPage"]]),[4,this.embedPages([t],[n],[i])];case 1:return r=s.sent()[0],[2,r]}})})},e.prototype.embedPages=function(t,n,i){return n===void 0&&(n=[]),i===void 0&&(i=[]),It(this,void 0,void 0,function(){var h,p,r,s,l,c,d,h,p,y,g,b,S,w,D;return Xt(this,function(A){switch(A.label){case 0:if(t.length===0)return[2,[]];for(h=0,p=t.length-1;h<p;h++)if(r=t[h],s=t[h+1],r.node.context!==s.node.context)throw new P3;l=t[0].node.context,c=l===this.context?function(T){return T}:Rb.for(l,this.context).copy,d=new Array(t.length),h=0,p=t.length,A.label=1;case 1:return h<p?(y=c(t[h].node),g=n[h],b=i[h],[4,vm.for(y,g,b)]):[3,4];case 2:S=A.sent(),w=this.context.nextRef(),d[h]=Bm.of(w,this,S),A.label=3;case 3:return h++,[3,1];case 4:return(D=this.embeddedPages).push.apply(D,d),[2,d]}})})},e.prototype.flush=function(){return It(this,void 0,void 0,function(){return Xt(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={}),It(this,void 0,void 0,function(){var n,i,r,s,l,c,d,h,p,y;return Xt(this,function(g){switch(g.label){case 0:return n=t.useObjectStreams,i=n===void 0?!0:n,r=t.addDefaultPage,s=r===void 0?!0:r,l=t.objectsPerTick,c=l===void 0?50:l,d=t.updateFieldAppearances,h=d===void 0?!0:d,J(i,"useObjectStreams",["boolean"]),J(s,"addDefaultPage",["boolean"]),J(c,"objectsPerTick",["number"]),J(h,"updateFieldAppearances",["boolean"]),s&&this.getPageCount()===0&&this.addPage(),h&&(p=this.formCache.getValue(),p&&p.updateFieldAppearances()),[4,this.flush()];case 1:return g.sent(),y=i?wE:um,[2,y.forContext(this.context,c).serializeToBuffer()]}})})},e.prototype.saveAsBase64=function(t){return t===void 0&&(t={}),It(this,void 0,void 0,function(){var n,i,r,s,l;return Xt(this,function(c){switch(c.label){case 0:return n=t.dataUri,i=n===void 0?!1:n,r=l9(t,["dataUri"]),J(i,"dataUri",["boolean"]),[4,this.save(r)];case 1:return s=c.sent(),l=CF(s),[2,i?"data:application/pdf;base64,"+l:l]}})})},e.prototype.findPageForAnnotationRef=function(t){for(var n=this.getPages(),i=0,r=n.length;i<r;i++){var s=n[i],l=s.node.Annots();if(l?.indexOf(t)!==void 0)return s}},e.prototype.embedAll=function(t){return It(this,void 0,void 0,function(){var n,i;return Xt(this,function(r){switch(r.label){case 0:n=0,i=t.length,r.label=1;case 1:return n<i?[4,t[n].embed()]:[3,4];case 2:r.sent(),r.label=3;case 3:return n++,[3,1];case 4:return[2]}})})},e.prototype.updateInfoDict=function(){var t="pdf-lib (https://github.com/Hopding/pdf-lib)",n=new Date,i=this.getInfoDict();this.setProducer(t),this.setModificationDate(n),i.get(N.of("Creator"))||this.setCreator(t),i.get(N.of("CreationDate"))||this.setCreationDate(n)},e.prototype.getInfoDict=function(){var t=this.context.lookup(this.context.trailerInfo.Info);if(t instanceof Ht)return t;var n=this.context.obj({});return this.context.trailerInfo.Info=this.context.register(n),n},e.prototype.assertFontkit=function(){if(!this.fontkit)throw new W5;return this.fontkit},e})(),Wi=Aat});var _s,CN=it(()=>{"use strict";(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"})(_s||(_s={}))});var wat,xi,Yu=it(()=>{"use strict";kt();Jo();Lm();jf();If();oT();Iu();sT();CN();po();uT();Ui();pe();wat=(function(){function e(t,n,i){this.fontSize=24,this.fontColor=Se(0,0,0),this.lineHeight=24,this.x=0,this.y=0,J(t,"leafNode",[[Ha,"PDFPageLeaf"]]),J(n,"ref",[[ie,"PDFRef"]]),J(i,"doc",[[Wi,"PDFDocument"]]),this.node=t,this.ref=n,this.doc=i}return e.prototype.setRotation=function(t){var n=Pb(t);Sb(n,"degreesAngle",90),this.node.set(N.of("Rotate"),this.doc.context.obj(n))},e.prototype.getRotation=function(){var t=this.node.Rotate();return Zt(t?t.asNumber():0)},e.prototype.setSize=function(t,n){J(t,"width",["number"]),J(n,"height",["number"]);var i=this.getMediaBox();this.setMediaBox(i.x,i.y,t,n);var r=this.getCropBox(),s=this.getBleedBox(),l=this.getTrimBox(),c=this.getArtBox(),d=this.node.CropBox(),h=this.node.BleedBox(),p=this.node.TrimBox(),y=this.node.ArtBox();d&&im(r,i)&&this.setCropBox(i.x,i.y,t,n),h&&im(s,i)&&this.setBleedBox(i.x,i.y,t,n),p&&im(l,i)&&this.setTrimBox(i.x,i.y,t,n),y&&im(c,i)&&this.setArtBox(i.x,i.y,t,n)},e.prototype.setWidth=function(t){J(t,"width",["number"]),this.setSize(t,this.getSize().height)},e.prototype.setHeight=function(t){J(t,"height",["number"]),this.setSize(this.getSize().width,t)},e.prototype.setMediaBox=function(t,n,i,r){J(t,"x",["number"]),J(n,"y",["number"]),J(i,"width",["number"]),J(r,"height",["number"]);var s=this.doc.context.obj([t,n,t+i,n+r]);this.node.set(N.MediaBox,s)},e.prototype.setCropBox=function(t,n,i,r){J(t,"x",["number"]),J(n,"y",["number"]),J(i,"width",["number"]),J(r,"height",["number"]);var s=this.doc.context.obj([t,n,t+i,n+r]);this.node.set(N.CropBox,s)},e.prototype.setBleedBox=function(t,n,i,r){J(t,"x",["number"]),J(n,"y",["number"]),J(i,"width",["number"]),J(r,"height",["number"]);var s=this.doc.context.obj([t,n,t+i,n+r]);this.node.set(N.BleedBox,s)},e.prototype.setTrimBox=function(t,n,i,r){J(t,"x",["number"]),J(n,"y",["number"]),J(i,"width",["number"]),J(r,"height",["number"]);var s=this.doc.context.obj([t,n,t+i,n+r]);this.node.set(N.TrimBox,s)},e.prototype.setArtBox=function(t,n,i,r){J(t,"x",["number"]),J(n,"y",["number"]),J(i,"width",["number"]),J(r,"height",["number"]);var s=this.doc.context.obj([t,n,t+i,n+r]);this.node.set(N.ArtBox,s)},e.prototype.getSize=function(){var t=this.getMediaBox(),n=t.width,i=t.height;return{width:n,height:i}},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,n=this.node.CropBox();return(t=n?.asRectangle())!==null&&t!==void 0?t:this.getMediaBox()},e.prototype.getBleedBox=function(){var t,n=this.node.BleedBox();return(t=n?.asRectangle())!==null&&t!==void 0?t:this.getCropBox()},e.prototype.getTrimBox=function(){var t,n=this.node.TrimBox();return(t=n?.asRectangle())!==null&&t!==void 0?t:this.getCropBox()},e.prototype.getArtBox=function(){var t,n=this.node.ArtBox();return(t=n?.asRectangle())!==null&&t!==void 0?t:this.getCropBox()},e.prototype.translateContent=function(t,n){J(t,"x",["number"]),J(n,"y",["number"]),this.node.normalize(),this.getContentStream();var i=this.createContentStream($n(),ja(t,n)),r=this.doc.context.register(i),s=this.createContentStream(ti()),l=this.doc.context.register(s);this.node.wrapContentStreams(r,l)},e.prototype.scale=function(t,n){J(t,"x",["number"]),J(n,"y",["number"]),this.setSize(this.getWidth()*t,this.getHeight()*n),this.scaleContent(t,n),this.scaleAnnotations(t,n)},e.prototype.scaleContent=function(t,n){J(t,"x",["number"]),J(n,"y",["number"]),this.node.normalize(),this.getContentStream();var i=this.createContentStream($n(),Bf(t,n)),r=this.doc.context.register(i),s=this.createContentStream(ti()),l=this.doc.context.register(s);this.node.wrapContentStreams(r,l)},e.prototype.scaleAnnotations=function(t,n){J(t,"x",["number"]),J(n,"y",["number"]);var i=this.node.Annots();if(i)for(var r=0;r<i.size();r++){var s=i.lookup(r);s instanceof Ht&&this.scaleAnnot(s,t,n)}},e.prototype.resetPosition=function(){this.getContentStream(!1),this.x=0,this.y=0},e.prototype.setFont=function(t){J(t,"font",[[di,"PDFFont"]]),this.font=t,this.fontKey=this.node.newFontDictionary(this.font.name,this.font.ref)},e.prototype.setFontSize=function(t){J(t,"fontSize",["number"]),this.fontSize=t},e.prototype.setFontColor=function(t){J(t,"fontColor",[[Object,"Color"]]),this.fontColor=t},e.prototype.setLineHeight=function(t){J(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,n){J(t,"x",["number"]),J(n,"y",["number"]),this.x=t,this.y=n},e.prototype.moveDown=function(t){J(t,"yDecrease",["number"]),this.y-=t},e.prototype.moveUp=function(t){J(t,"yIncrease",["number"]),this.y+=t},e.prototype.moveLeft=function(t){J(t,"xDecrease",["number"]),this.x-=t},e.prototype.moveRight=function(t){J(t,"xIncrease",["number"]),this.x+=t},e.prototype.pushOperators=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];bb(t,"operator",[[le,"PDFOperator"]]);var i=this.getContentStream();i.push.apply(i,t)},e.prototype.drawText=function(t,n){var i,r,s,l,c,d,h;n===void 0&&(n={}),J(t,"text",["string"]),bt(n.color,"options.color",[[Object,"Color"]]),Fr(n.opacity,"opacity.opacity",0,1),bt(n.font,"options.font",[[di,"PDFFont"]]),bt(n.size,"options.size",["number"]),bt(n.rotate,"options.rotate",[[Object,"Rotation"]]),bt(n.xSkew,"options.xSkew",[[Object,"Rotation"]]),bt(n.ySkew,"options.ySkew",[[Object,"Rotation"]]),bt(n.x,"options.x",["number"]),bt(n.y,"options.y",["number"]),bt(n.lineHeight,"options.lineHeight",["number"]),bt(n.maxWidth,"options.maxWidth",["number"]),bt(n.wordBreaks,"options.wordBreaks",[Array]),sr(n.blendMode,"options.blendMode",_s);for(var p=this.setOrEmbedFont(n.font),y=p.oldFont,g=p.newFont,b=p.newFontKey,S=n.size||this.fontSize,w=n.wordBreaks||this.doc.defaultWordBreaks,D=function(z){return g.widthOfTextAtSize(z,S)},A=n.maxWidth===void 0?Iy(vf(t)):NF(t,w,n.maxWidth,D),T=new Array(A.length),C=0,O=A.length;C<O;C++)T[C]=g.encodeText(A[C]);var M=this.maybeEmbedGraphicsState({opacity:n.opacity,blendMode:n.blendMode}),k=this.getContentStream();k.push.apply(k,G5(T,{color:(i=n.color)!==null&&i!==void 0?i:this.fontColor,font:b,size:S,rotate:(r=n.rotate)!==null&&r!==void 0?r:Zt(0),xSkew:(s=n.xSkew)!==null&&s!==void 0?s:Zt(0),ySkew:(l=n.ySkew)!==null&&l!==void 0?l:Zt(0),x:(c=n.x)!==null&&c!==void 0?c:this.x,y:(d=n.y)!==null&&d!==void 0?d:this.y,lineHeight:(h=n.lineHeight)!==null&&h!==void 0?h:this.lineHeight,graphicsState:M})),n.font&&(y?this.setFont(y):this.resetFont())},e.prototype.drawImage=function(t,n){var i,r,s,l,c,d,h;n===void 0&&(n={}),J(t,"image",[[Hh,"PDFImage"]]),bt(n.x,"options.x",["number"]),bt(n.y,"options.y",["number"]),bt(n.width,"options.width",["number"]),bt(n.height,"options.height",["number"]),bt(n.rotate,"options.rotate",[[Object,"Rotation"]]),bt(n.xSkew,"options.xSkew",[[Object,"Rotation"]]),bt(n.ySkew,"options.ySkew",[[Object,"Rotation"]]),Fr(n.opacity,"opacity.opacity",0,1),sr(n.blendMode,"options.blendMode",_s);var p=this.node.newXObject("Image",t.ref),y=this.maybeEmbedGraphicsState({opacity:n.opacity,blendMode:n.blendMode}),g=this.getContentStream();g.push.apply(g,Yb(p,{x:(i=n.x)!==null&&i!==void 0?i:this.x,y:(r=n.y)!==null&&r!==void 0?r:this.y,width:(s=n.width)!==null&&s!==void 0?s:t.size().width,height:(l=n.height)!==null&&l!==void 0?l:t.size().height,rotate:(c=n.rotate)!==null&&c!==void 0?c:Zt(0),xSkew:(d=n.xSkew)!==null&&d!==void 0?d:Zt(0),ySkew:(h=n.ySkew)!==null&&h!==void 0?h:Zt(0),graphicsState:y}))},e.prototype.drawPage=function(t,n){var i,r,s,l,c;n===void 0&&(n={}),J(t,"embeddedPage",[[Bm,"PDFEmbeddedPage"]]),bt(n.x,"options.x",["number"]),bt(n.y,"options.y",["number"]),bt(n.xScale,"options.xScale",["number"]),bt(n.yScale,"options.yScale",["number"]),bt(n.width,"options.width",["number"]),bt(n.height,"options.height",["number"]),bt(n.rotate,"options.rotate",[[Object,"Rotation"]]),bt(n.xSkew,"options.xSkew",[[Object,"Rotation"]]),bt(n.ySkew,"options.ySkew",[[Object,"Rotation"]]),Fr(n.opacity,"opacity.opacity",0,1),sr(n.blendMode,"options.blendMode",_s);var d=this.node.newXObject("EmbeddedPdfPage",t.ref),h=this.maybeEmbedGraphicsState({opacity:n.opacity,blendMode:n.blendMode}),p=n.width!==void 0?n.width/t.width:n.xScale!==void 0?n.xScale:1,y=n.height!==void 0?n.height/t.height:n.yScale!==void 0?n.yScale:1,g=this.getContentStream();g.push.apply(g,I5(d,{x:(i=n.x)!==null&&i!==void 0?i:this.x,y:(r=n.y)!==null&&r!==void 0?r:this.y,xScale:p,yScale:y,rotate:(s=n.rotate)!==null&&s!==void 0?s:Zt(0),xSkew:(l=n.xSkew)!==null&&l!==void 0?l:Zt(0),ySkew:(c=n.ySkew)!==null&&c!==void 0?c:Zt(0),graphicsState:h}))},e.prototype.drawSvgPath=function(t,n){var i,r,s,l,c,d,h,p,y;n===void 0&&(n={}),J(t,"path",["string"]),bt(n.x,"options.x",["number"]),bt(n.y,"options.y",["number"]),bt(n.scale,"options.scale",["number"]),bt(n.rotate,"options.rotate",[[Object,"Rotation"]]),bt(n.borderWidth,"options.borderWidth",["number"]),bt(n.color,"options.color",[[Object,"Color"]]),Fr(n.opacity,"opacity.opacity",0,1),bt(n.borderColor,"options.borderColor",[[Object,"Color"]]),bt(n.borderDashArray,"options.borderDashArray",[Array]),bt(n.borderDashPhase,"options.borderDashPhase",["number"]),sr(n.borderLineCap,"options.borderLineCap",Uf),Fr(n.borderOpacity,"options.borderOpacity",0,1),sr(n.blendMode,"options.blendMode",_s);var g=this.maybeEmbedGraphicsState({opacity:n.opacity,borderOpacity:n.borderOpacity,blendMode:n.blendMode});!("color"in n)&&!("borderColor"in n)&&(n.borderColor=Se(0,0,0));var b=this.getContentStream();b.push.apply(b,Y5(t,{x:(i=n.x)!==null&&i!==void 0?i:this.x,y:(r=n.y)!==null&&r!==void 0?r:this.y,scale:n.scale,rotate:(s=n.rotate)!==null&&s!==void 0?s:Zt(0),color:(l=n.color)!==null&&l!==void 0?l:void 0,borderColor:(c=n.borderColor)!==null&&c!==void 0?c:void 0,borderWidth:(d=n.borderWidth)!==null&&d!==void 0?d:0,borderDashArray:(h=n.borderDashArray)!==null&&h!==void 0?h:void 0,borderDashPhase:(p=n.borderDashPhase)!==null&&p!==void 0?p:void 0,borderLineCap:(y=n.borderLineCap)!==null&&y!==void 0?y:void 0,graphicsState:g}))},e.prototype.drawLine=function(t){var n,i,r,s,l;J(t.start,"options.start",[[Object,"{ x: number, y: number }"]]),J(t.end,"options.end",[[Object,"{ x: number, y: number }"]]),J(t.start.x,"options.start.x",["number"]),J(t.start.y,"options.start.y",["number"]),J(t.end.x,"options.end.x",["number"]),J(t.end.y,"options.end.y",["number"]),bt(t.thickness,"options.thickness",["number"]),bt(t.color,"options.color",[[Object,"Color"]]),bt(t.dashArray,"options.dashArray",[Array]),bt(t.dashPhase,"options.dashPhase",["number"]),sr(t.lineCap,"options.lineCap",Uf),Fr(t.opacity,"opacity.opacity",0,1),sr(t.blendMode,"options.blendMode",_s);var c=this.maybeEmbedGraphicsState({borderOpacity:t.opacity,blendMode:t.blendMode});"color"in t||(t.color=Se(0,0,0));var d=this.getContentStream();d.push.apply(d,X5({start:t.start,end:t.end,thickness:(n=t.thickness)!==null&&n!==void 0?n:1,color:(i=t.color)!==null&&i!==void 0?i:void 0,dashArray:(r=t.dashArray)!==null&&r!==void 0?r:void 0,dashPhase:(s=t.dashPhase)!==null&&s!==void 0?s:void 0,lineCap:(l=t.lineCap)!==null&&l!==void 0?l:void 0,graphicsState:c}))},e.prototype.drawRectangle=function(t){var n,i,r,s,l,c,d,h,p,y,g,b,S;t===void 0&&(t={}),bt(t.x,"options.x",["number"]),bt(t.y,"options.y",["number"]),bt(t.width,"options.width",["number"]),bt(t.height,"options.height",["number"]),bt(t.rotate,"options.rotate",[[Object,"Rotation"]]),bt(t.xSkew,"options.xSkew",[[Object,"Rotation"]]),bt(t.ySkew,"options.ySkew",[[Object,"Rotation"]]),bt(t.borderWidth,"options.borderWidth",["number"]),bt(t.color,"options.color",[[Object,"Color"]]),Fr(t.opacity,"opacity.opacity",0,1),bt(t.borderColor,"options.borderColor",[[Object,"Color"]]),bt(t.borderDashArray,"options.borderDashArray",[Array]),bt(t.borderDashPhase,"options.borderDashPhase",["number"]),sr(t.borderLineCap,"options.borderLineCap",Uf),Fr(t.borderOpacity,"options.borderOpacity",0,1),sr(t.blendMode,"options.blendMode",_s);var w=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});!("color"in t)&&!("borderColor"in t)&&(t.color=Se(0,0,0));var D=this.getContentStream();D.push.apply(D,qf({x:(n=t.x)!==null&&n!==void 0?n:this.x,y:(i=t.y)!==null&&i!==void 0?i:this.y,width:(r=t.width)!==null&&r!==void 0?r:150,height:(s=t.height)!==null&&s!==void 0?s:100,rotate:(l=t.rotate)!==null&&l!==void 0?l:Zt(0),xSkew:(c=t.xSkew)!==null&&c!==void 0?c:Zt(0),ySkew:(d=t.ySkew)!==null&&d!==void 0?d:Zt(0),borderWidth:(h=t.borderWidth)!==null&&h!==void 0?h:0,color:(p=t.color)!==null&&p!==void 0?p:void 0,borderColor:(y=t.borderColor)!==null&&y!==void 0?y:void 0,borderDashArray:(g=t.borderDashArray)!==null&&g!==void 0?g:void 0,borderDashPhase:(b=t.borderDashPhase)!==null&&b!==void 0?b:void 0,graphicsState:w,borderLineCap:(S=t.borderLineCap)!==null&&S!==void 0?S:void 0}))},e.prototype.drawSquare=function(t){t===void 0&&(t={});var n=t.size;bt(n,"size",["number"]),this.drawRectangle(ae(ae({},t),{width:n,height:n}))},e.prototype.drawEllipse=function(t){var n,i,r,s,l,c,d,h,p,y,g;t===void 0&&(t={}),bt(t.x,"options.x",["number"]),bt(t.y,"options.y",["number"]),bt(t.xScale,"options.xScale",["number"]),bt(t.yScale,"options.yScale",["number"]),bt(t.rotate,"options.rotate",[[Object,"Rotation"]]),bt(t.color,"options.color",[[Object,"Color"]]),Fr(t.opacity,"opacity.opacity",0,1),bt(t.borderColor,"options.borderColor",[[Object,"Color"]]),Fr(t.borderOpacity,"options.borderOpacity",0,1),bt(t.borderWidth,"options.borderWidth",["number"]),bt(t.borderDashArray,"options.borderDashArray",[Array]),bt(t.borderDashPhase,"options.borderDashPhase",["number"]),sr(t.borderLineCap,"options.borderLineCap",Uf),sr(t.blendMode,"options.blendMode",_s);var b=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});!("color"in t)&&!("borderColor"in t)&&(t.color=Se(0,0,0));var S=this.getContentStream();S.push.apply(S,Xb({x:(n=t.x)!==null&&n!==void 0?n:this.x,y:(i=t.y)!==null&&i!==void 0?i:this.y,xScale:(r=t.xScale)!==null&&r!==void 0?r:100,yScale:(s=t.yScale)!==null&&s!==void 0?s:100,rotate:(l=t.rotate)!==null&&l!==void 0?l:void 0,color:(c=t.color)!==null&&c!==void 0?c:void 0,borderColor:(d=t.borderColor)!==null&&d!==void 0?d:void 0,borderWidth:(h=t.borderWidth)!==null&&h!==void 0?h:0,borderDashArray:(p=t.borderDashArray)!==null&&p!==void 0?p:void 0,borderDashPhase:(y=t.borderDashPhase)!==null&&y!==void 0?y:void 0,borderLineCap:(g=t.borderLineCap)!==null&&g!==void 0?g:void 0,graphicsState:b}))},e.prototype.drawCircle=function(t){t===void 0&&(t={});var n=t.size,i=n===void 0?100:n;bt(i,"size",["number"]),this.drawEllipse(ae(ae({},t),{xScale:i,yScale:i}))},e.prototype.setOrEmbedFont=function(t){var n=this.font,i=this.fontKey;t?this.setFont(t):this.getFont();var r=this.font,s=this.fontKey;return{oldFont:n,oldFontKey:i,newFont:r,newFontKey:s}},e.prototype.getFont=function(){if(!this.font||!this.fontKey){var t=this.doc.embedStandardFont(Bi.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=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=this.doc.context.obj({}),r=Rl.of(i,t);return r},e.prototype.maybeEmbedGraphicsState=function(t){var n=t.opacity,i=t.borderOpacity,r=t.blendMode;if(!(n===void 0&&i===void 0&&r===void 0)){var s=this.doc.context.obj({Type:"ExtGState",ca:n,CA:i,BM:r}),l=this.node.newExtGState("GS",s);return l}},e.prototype.scaleAnnot=function(t,n,i){for(var r=["RD","CL","Vertices","QuadPoints","L","Rect"],s=0,l=r.length;s<l;s++){var c=t.lookup(N.of(r[s]));c instanceof ee&&c.scalePDFNumbers(n,i)}var d=t.lookup(N.of("InkList"));if(d instanceof ee)for(var s=0,l=d.size();s<l;s++){var h=d.lookup(s);h instanceof ee&&h.scalePDFNumbers(n,i)}},e.of=function(t,n,i){return new e(t,n,i)},e.create=function(t){J(t,"doc",[[Wi,"PDFDocument"]]);var n=ie.of(-1),i=Ha.withContextAndParent(t.context,n),r=t.context.register(i);return new e(i,r,t)},e})(),xi=wat});var Eat,Gh,xN=it(()=>{"use strict";kt();Yu();Iu();lT();Gf();Xu();Jo();po();Ui();pe();Eat=(function(e){ct(t,e);function t(n,i,r){var s=e.call(this,n,i,r)||this;return J(n,"acroButton",[[Bu,"PDFAcroPushButton"]]),s.acroField=n,s}return t.prototype.setImage=function(n,i){i===void 0&&(i=ns.Center);for(var r=this.acroField.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s],d=this.createImageAppearanceStream(c,n,i);this.updateWidgetAppearances(c,{normal:d})}this.markAsClean()},t.prototype.setFontSize=function(n){Fu(n,"fontSize"),this.acroField.setFontSize(n),this.markAsDirty()},t.prototype.addToPage=function(n,i,r){var s,l,c,d,h,p,y,g,b,S,w;bt(n,"text",["string"]),bt(i,"page",[[xi,"PDFPage"]]),is(r);var D=this.createWidget({x:((s=r?.x)!==null&&s!==void 0?s:0)-((l=r?.borderWidth)!==null&&l!==void 0?l:0)/2,y:((c=r?.y)!==null&&c!==void 0?c:0)-((d=r?.borderWidth)!==null&&d!==void 0?d:0)/2,width:(h=r?.width)!==null&&h!==void 0?h:100,height:(p=r?.height)!==null&&p!==void 0?p:50,textColor:(y=r?.textColor)!==null&&y!==void 0?y:Se(0,0,0),backgroundColor:(g=r?.backgroundColor)!==null&&g!==void 0?g:Se(.75,.75,.75),borderColor:r?.borderColor,borderWidth:(b=r?.borderWidth)!==null&&b!==void 0?b:0,rotate:(S=r?.rotate)!==null&&S!==void 0?S:Zt(0),caption:n,hidden:r?.hidden,page:i.ref}),A=this.doc.context.register(D.dict);this.acroField.addWidget(A);var T=(w=r?.font)!==null&&w!==void 0?w:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(D,T),i.node.addAnnot(A)},t.prototype.needsAppearancesUpdate=function(){var n;if(this.isDirty())return!0;for(var i=this.acroField.getWidgets(),r=0,s=i.length;r<s;r++){var l=i[r],c=((n=l.getAppearances())===null||n===void 0?void 0:n.normal)instanceof Ln;if(!c)return!0}return!1},t.prototype.defaultUpdateAppearances=function(n){J(n,"font",[[di,"PDFFont"]]),this.updateAppearances(n)},t.prototype.updateAppearances=function(n,i){J(n,"font",[[di,"PDFFont"]]),bt(i,"provider",[Function]);for(var r=this.acroField.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s];this.updateWidgetAppearance(c,n,i)}},t.prototype.updateWidgetAppearance=function(n,i,r){var s=r??uN,l=go(s(this,n,i));this.updateWidgetAppearanceWithFont(n,i,l)},t.of=function(n,i,r){return new t(n,i,r)},t})(Va),Gh=Eat});var pI=it(()=>{"use strict";Gf();xN();pN();mN();Xu();SN();gN();vN();yN();bN()});var mI=it(()=>{"use strict";Kb();oN()});var gI=it(()=>{"use strict";pI();mI();Jo();Pm();hN();VE();Lm();jf();po();wN();CN();EN();uT();If();Iu();sT();Yu();oT();TN()});var vI=it(()=>{"use strict"});var yI={};mP(yI,{AFRelationship:()=>fm,AcroButtonFlags:()=>Ra,AcroChoiceFlags:()=>Ye,AcroFieldFlags:()=>ho,AcroTextFlags:()=>Gn,AnnotationFlags:()=>Nh,AppearanceCharacteristics:()=>Sm,BlendMode:()=>_s,Cache:()=>Ca,CharCodes:()=>L,ColorTypes:()=>Vu,CombedTextLayoutError:()=>nN,CorruptPageTreeError:()=>hE,CustomFontEmbedder:()=>Nf,CustomFontSubsetEmbedder:()=>TE,Duplex:()=>ym,EncryptedPDFError:()=>Z5,ExceededMaxLengthError:()=>iN,FieldAlreadyExistsError:()=>aT,FieldExistsAsNonTerminalError:()=>eat,FileEmbedder:()=>CE,FontkitNotRegisteredError:()=>W5,ForeignPageError:()=>Q5,ImageAlignment:()=>ns,IndexOutOfBoundsError:()=>wh,InvalidAcroFieldValueError:()=>Eh,InvalidFieldNamePartError:()=>tN,InvalidMaxLengthError:()=>aN,InvalidPDFDateStringError:()=>wb,InvalidTargetIndexError:()=>dE,JpegEmbedder:()=>hm,LineCapStyle:()=>Uf,LineJoinStyle:()=>_5,MethodNotImplementedError:()=>ra,MissingCatalogError:()=>$et,MissingDAEntryError:()=>H3,MissingKeywordError:()=>Z3,MissingOnValueCheckError:()=>tat,MissingPDFHeaderError:()=>K3,MissingPageContentsEmbeddingError:()=>k3,MissingTfOperatorError:()=>j3,MultiSelectValueError:()=>B3,NextByteAssertionError:()=>q3,NoSuchFieldError:()=>$5,NonFullScreenPageMode:()=>Dh,NumberParsingError:()=>pE,PDFAcroButton:()=>zf,PDFAcroCheckBox:()=>ku,PDFAcroChoice:()=>xm,PDFAcroComboBox:()=>Lu,PDFAcroField:()=>bm,PDFAcroForm:()=>Lf,PDFAcroListBox:()=>ju,PDFAcroNonTerminal:()=>Pu,PDFAcroPushButton:()=>Bu,PDFAcroRadioButton:()=>Hu,PDFAcroSignature:()=>kf,PDFAcroTerminal:()=>kr,PDFAcroText:()=>Uu,PDFAnnotation:()=>FE,PDFArray:()=>ee,PDFArrayIsNotRectangleError:()=>U3,PDFBool:()=>Dl,PDFButton:()=>Gh,PDFCatalog:()=>wm,PDFCheckBox:()=>Xf,PDFContentStream:()=>Rl,PDFContext:()=>Th,PDFCrossRefSection:()=>sm,PDFCrossRefStream:()=>AE,PDFDict:()=>Ht,PDFDocument:()=>Wi,PDFDropdown:()=>jh,PDFEmbeddedPage:()=>Bm,PDFField:()=>Va,PDFFlateStream:()=>Of,PDFFont:()=>di,PDFForm:()=>cT,PDFHeader:()=>Cl,PDFHexString:()=>Lt,PDFImage:()=>Hh,PDFInvalidObject:()=>cm,PDFInvalidObjectParsingError:()=>G3,PDFJavaScript:()=>fT,PDFName:()=>N,PDFNull:()=>Ki,PDFNumber:()=>Pt,PDFObject:()=>pn,PDFObjectCopier:()=>Rb,PDFObjectParser:()=>Cm,PDFObjectParsingError:()=>V3,PDFObjectStream:()=>lm,PDFObjectStreamParser:()=>HE,PDFOperator:()=>le,PDFOperatorNames:()=>me,PDFOptionList:()=>qh,PDFPage:()=>xi,PDFPageEmbedder:()=>vm,PDFPageLeaf:()=>Ha,PDFPageTree:()=>Em,PDFParser:()=>qE,PDFParsingError:()=>Nu,PDFRadioGroup:()=>Yf,PDFRawStream:()=>Rs,PDFRef:()=>ie,PDFSignature:()=>Hm,PDFStream:()=>Ln,PDFStreamParsingError:()=>I3,PDFStreamWriter:()=>wE,PDFString:()=>Ce,PDFTextField:()=>Vh,PDFTrailer:()=>Mf,PDFTrailerDict:()=>bE,PDFWidgetAnnotation:()=>Mh,PDFWriter:()=>um,PDFXRefStreamParser:()=>jE,PageEmbeddingMismatchedContextError:()=>P3,PageSizes:()=>AN,ParseSpeeds:()=>Zb,PngEmbedder:()=>pm,PrintScaling:()=>Oh,PrivateConstructorError:()=>xh,ReadingDirection:()=>Rh,RemovePageFromEmptyDocumentError:()=>J5,ReparseError:()=>Ah,RichTextFieldReadError:()=>eN,RotationTypes:()=>zh,StalledParserError:()=>Y3,StandardFontEmbedder:()=>Ff,StandardFontValues:()=>qV,StandardFonts:()=>Bi,TextAlignment:()=>ri,TextRenderingMode:()=>F5,UnbalancedParenthesisError:()=>X3,UnexpectedFieldTypeError:()=>Gu,UnexpectedObjectTypeError:()=>Rf,UnrecognizedStreamTypeError:()=>L3,UnsupportedEncodingError:()=>z3,ViewerPreferences:()=>Mb,addRandomSuffix:()=>F$,adjustDimsForRotation:()=>_l,appendBezierCurve:()=>qa,appendQuadraticCurve:()=>_m,arrayAsString:()=>Zy,asNumber:()=>oe,asPDFName:()=>Dm,asPDFNumber:()=>qt,assertEachIs:()=>bb,assertInteger:()=>N3,assertIs:()=>J,assertIsOneOf:()=>Ko,assertIsOneOfOrUndefined:()=>sr,assertIsSubset:()=>F3,assertMultiple:()=>Sb,assertOrUndefined:()=>bt,assertPositive:()=>Fu,assertRange:()=>Ta,assertRangeOrUndefined:()=>Fr,backtick:()=>Li,beginMarkedContent:()=>ZE,beginText:()=>qb,breakTextIntoLines:()=>NF,byAscendingId:()=>LF,bytesFor:()=>Sf,canBeConvertedToUint8Array:()=>jF,charAtIndex:()=>Iw,charFromCode:()=>Or,charFromHexCode:()=>MF,charSplit:()=>FF,cleanText:()=>vf,clip:()=>YE,clipEvenOdd:()=>Lit,closePath:()=>Ms,cmyk:()=>JE,colorToComponents:()=>$E,componentsToColor:()=>Oa,concatTransformationMatrix:()=>Ub,copyStringIntoBuffer:()=>yn,createPDFAcroField:()=>kE,createPDFAcroFields:()=>Am,createTypeErrorMsg:()=>KV,createValueErrorMsg:()=>IV,decodeFromBase64:()=>TF,decodeFromBase64DataUri:()=>DF,decodePDFRawStream:()=>gm,defaultButtonAppearanceProvider:()=>uN,defaultCheckBoxAppearanceProvider:()=>sN,defaultDropdownAppearanceProvider:()=>fN,defaultOptionListAppearanceProvider:()=>dN,defaultRadioGroupAppearanceProvider:()=>lN,defaultTextFieldAppearanceProvider:()=>cN,degrees:()=>Zt,degreesToRadians:()=>qu,drawButton:()=>eT,drawCheckBox:()=>zm,drawCheckMark:()=>oI,drawEllipse:()=>Xb,drawEllipsePath:()=>rI,drawImage:()=>Yb,drawLine:()=>X5,drawLinesOfText:()=>G5,drawObject:()=>Nm,drawOptionList:()=>K5,drawPage:()=>I5,drawRadioButton:()=>km,drawRectangle:()=>qf,drawSvgPath:()=>Y5,drawText:()=>Jit,drawTextField:()=>iT,drawTextLines:()=>nT,encodeToBase64:()=>CF,endMarkedContent:()=>WE,endPath:()=>KE,endText:()=>Vb,error:()=>xf,escapeRegExp:()=>u9,escapedNewlineChars:()=>c9,fill:()=>Bb,fillAndStroke:()=>Hb,findLastMatch:()=>G0,getType:()=>XV,grayscale:()=>QE,hasSurrogates:()=>GF,hasUtf16BOM:()=>Jy,highSurrogate:()=>Xw,isNewlineChar:()=>_F,isStandardFont:()=>fE,isType:()=>YV,isWithinBMP:()=>VF,last:()=>ch,layoutCombedText:()=>rN,layoutMultilineText:()=>rT,layoutSinglelineText:()=>Um,lineSplit:()=>Iy,lineTo:()=>Si,lowSurrogate:()=>Yw,mergeIntoTypedArray:()=>zF,mergeLines:()=>Gw,mergeUint8Arrays:()=>kF,moveText:()=>jit,moveTo:()=>mo,newlineChars:()=>N$,nextLine:()=>N5,normalizeAppearance:()=>go,numberToString:()=>XF,padStart:()=>Mr,parseDate:()=>Xy,pdfDocEncodingDecode:()=>Ab,pluckIndices:()=>HF,popGraphicsState:()=>ti,pushGraphicsState:()=>$n,radians:()=>kit,radiansToDegrees:()=>QG,range:()=>BF,rectangle:()=>JG,rectanglesAreEqual:()=>im,reduceRotation:()=>Wo,restoreDashPattern:()=>Uit,reverseArray:()=>yf,rgb:()=>Se,rotateAndSkewTextDegreesAndTranslate:()=>Yit,rotateAndSkewTextRadiansAndTranslate:()=>Fm,rotateDegrees:()=>Rm,rotateInPlace:()=>$o,rotateRadians:()=>Hf,rotateRectangle:()=>M5,scale:()=>Bf,setCharacterSpacing:()=>qit,setCharacterSqueeze:()=>Git,setDashPattern:()=>kh,setFillingCmykColor:()=>B5,setFillingColor:()=>Qo,setFillingGrayscaleColor:()=>k5,setFillingRgbColor:()=>P5,setFontAndSize:()=>Uh,setGraphicsState:()=>Fl,setLineCap:()=>Mm,setLineHeight:()=>z5,setLineJoin:()=>Bit,setLineWidth:()=>Lh,setStrokingCmykColor:()=>H5,setStrokingColor:()=>Bh,setStrokingGrayscaleColor:()=>L5,setStrokingRgbColor:()=>U5,setTextMatrix:()=>$G,setTextRenderingMode:()=>Xit,setTextRise:()=>Iit,setWordSpacing:()=>Vit,showText:()=>jb,singleQuote:()=>GV,sizeInBytes:()=>I0,skewDegrees:()=>Pit,skewRadians:()=>Om,sortedUniq:()=>PF,square:()=>Hit,stroke:()=>Ph,sum:()=>UF,toCharCode:()=>re,toCodePoint:()=>OF,toDegrees:()=>Pb,toHexString:()=>Sl,toHexStringOfMinLength:()=>bl,toRadians:()=>fi,toUint8Array:()=>fh,translate:()=>ja,typedArrayFor:()=>Ky,utf16Decode:()=>Qy,utf16Encode:()=>qF,utf8Encode:()=>L$,values:()=>nm,waitForTick:()=>Ts});var DN=it(()=>{"use strict";gI();Ui();vI();pe()});var Uat={};mP(Uat,{default:()=>Pat});var _N=zn(vr()),FN=zn(aj());var te=zn(vr()),o9=zn(vx());function PM(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}var rj=["Sender","Signer 1"],cJ={Sender:"#6366f1","Signer 1":"#22c55e","Signer 2":"#f59e0b","Signer 3":"#ef4444","Signer 4":"#06b6d4","Signer 5":"#d946ef"};function xs(e){return cJ[e]||"#888888"}function ka(e){return e.type==="blackout"||e.type==="whiteout"}function As(e){return e.type==="signature"||e.type==="initials"}function oj(e){return e.type==="text"||e.type==="dropdown"||e.type==="signed-date"}var fJ={Courier:'"Courier New", Courier, monospace',TimesRoman:'"Times New Roman", Times, serif',Helvetica:"Helvetica, Arial, sans-serif"};function dJ(e){return e?fJ[e]:void 0}function GA(e){let t=[];e.underline&&t.push("underline"),e.strikethrough&&t.push("line-through");let n=e.align??"left";return{fontFamily:dJ(e.fontFamily),fontWeight:e.bold?"bold":void 0,fontStyle:e.italic?"italic":void 0,textDecorationLine:t.length?t.join(" "):void 0,textAlign:e.align,paddingLeft:n==="right"?"0px":"2px",paddingRight:n==="left"?"0px":"2px"}}function IA(e){return[...e].sort((t,n)=>t.page!==n.page?t.page-n.page:Math.abs(t.y-n.y)>2?t.y-n.y:t.x-n.x)}function sj(e){let t={};return e.forEach(n=>{ka(n)||(t[n.label]=n.value||"")}),t}var UM=[{value:"Helvetica",label:"Helvetica"},{value:"Courier",label:"Courier New"},{value:"TimesRoman",label:"Times New Roman"}],hJ={text:{width:20,height:3,fontSize:12,placeholder:"Enter text",textSubtype:"freeform"},dropdown:{width:20,height:3,fontSize:12,placeholder:"Select..."},signature:{width:20,height:6,fontSize:12,placeholder:"Sign here"},"signed-date":{width:15,height:3,fontSize:12,placeholder:"Date"},checkbox:{width:2.5,height:2.5,fontSize:12,placeholder:""},initials:{width:8,height:5,fontSize:12,placeholder:"Initials"},blackout:{width:20,height:3,fontSize:12,placeholder:""},whiteout:{width:20,height:3,fontSize:12,placeholder:""}},pJ={text:"Text Field",dropdown:"Dropdown",signature:"Signature","signed-date":"Signed Date",checkbox:"Checkbox",initials:"Initials",blackout:"Blackout",whiteout:"Whiteout"};function XA(e,t){let n=e.toLowerCase();if(!t.some(r=>r.toLowerCase()===n))return e;let i=2;for(;t.some(r=>r.toLowerCase()===`${n} ${i}`);)i++;return`${e} ${i}`}function BM(e,t,n,i,r,s){let l=hJ[e],c=pJ[e],d=s?.map(h=>h.label)??[];return{id:PM(),type:e,label:XA(c,d),placeholder:l.placeholder||"",required:!(e==="checkbox"||e==="blackout"||e==="whiteout"),assignee:t,page:n,x:i,y:r,width:l.width||20,height:l.height||3,fontSize:l.fontSize||12,value:"",...e==="text"?{textSubtype:l.textSubtype}:{}}}var c$={},Cy={};Cy.d=(e,t)=>{for(var n in t)Cy.o(t,n)&&!Cy.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})};Cy.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var ge=globalThis.pdfjsLib={};Cy.d(ge,{AbortException:()=>vl,AnnotationEditorLayer:()=>fF,AnnotationEditorParamsType:()=>$e,AnnotationEditorType:()=>ze,AnnotationEditorUIManager:()=>oh,AnnotationLayer:()=>eF,AnnotationMode:()=>uf,ColorPicker:()=>Dw,DOMSVGFactory:()=>Ly,DrawLayer:()=>dF,FeatureTest:()=>xa,GlobalWorkerOptions:()=>nh,ImageKind:()=>JA,InvalidPDFException:()=>Ry,MissingPDFException:()=>ih,OPS:()=>ws,OutputScale:()=>_y,PDFDataRangeTransport:()=>mw,PDFDateString:()=>ew,PDFWorker:()=>j0,PasswordResponses:()=>bJ,PermissionFlag:()=>yJ,PixelsPerInch:()=>ff,RenderingCancelledException:()=>My,TextLayer:()=>zy,TouchManager:()=>aw,UnexpectedResponseException:()=>q0,Util:()=>Kt,VerbosityLevel:()=>Mw,XfaLayer:()=>yw,build:()=>s$,createValidAbsoluteUrl:()=>wJ,fetchData:()=>zw,getDocument:()=>i$,getFilenameFromUrl:()=>_J,getPdfFilenameFromUrl:()=>FJ,getXfaPageViewport:()=>NJ,isDataScheme:()=>kw,isPdfFile:()=>mF,noContextMenu:()=>Es,normalizeUnicode:()=>RJ,setLayerDimensions:()=>ah,shadow:()=>qe,stopEvent:()=>uo,version:()=>o$});var Ua=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser"),Aj=[1,0,0,1,0,0],IM=[.001,0,0,.001,0,0],mJ=1e7,QA=1.35,gJ=.35,Jat=gJ/QA,lo={ANY:1,DISPLAY:2,PRINT:4,SAVE:8,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,IS_EDITING:128,OPLIST:256},uf={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},vJ="pdfjs_internal_editor_",ze={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15},$e={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,HIGHLIGHT_COLOR:31,HIGHLIGHT_DEFAULT_COLOR:32,HIGHLIGHT_THICKNESS:33,HIGHLIGHT_FREE:34,HIGHLIGHT_SHOW_ALL:35,DRAW_STEP:41},yJ={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},La={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},JA={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},Xi={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};var xy={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};var Mw={ERRORS:0,WARNINGS:1,INFOS:5},ws={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91,setStrokeTransparent:92,setFillTransparent:93},bJ={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},_w=Mw.WARNINGS;function SJ(e){Number.isInteger(e)&&(_w=e)}function xJ(){return _w}function Fw(e){_w>=Mw.INFOS&&console.log(`Info: ${e}`)}function ke(e){_w>=Mw.WARNINGS&&console.log(`Warning: ${e}`)}function Mn(e){throw new Error(e)}function ki(e,t){e||Mn(t)}function AJ(e){switch(e?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function wJ(e,t=null,n=null){if(!e)return null;try{if(n&&typeof e=="string"&&(n.addDefaultProtocol&&e.startsWith("www.")&&e.match(/\./g)?.length>=2&&(e=`http://${e}`),n.tryConvertEncoding))try{e=DJ(e)}catch{}let i=t?new URL(e,t):new URL(e);if(AJ(i))return i}catch{}return null}function qe(e,t,n,i=!1){return Object.defineProperty(e,t,{value:n,enumerable:!i,configurable:!0,writable:!1}),n}var df=(function(){function t(n,i){this.message=n,this.name=i}return t.prototype=new Error,t.constructor=t,t})(),$A=class extends df{constructor(t,n){super(t,"PasswordException"),this.code=n}},Dy=class extends df{constructor(t,n){super(t,"UnknownErrorException"),this.details=n}},Ry=class extends df{constructor(t){super(t,"InvalidPDFException")}},ih=class extends df{constructor(t){super(t,"MissingPDFException")}},q0=class extends df{constructor(t,n){super(t,"UnexpectedResponseException"),this.status=n}},XM=class extends df{constructor(t){super(t,"FormatError")}},vl=class extends df{constructor(t){super(t,"AbortException")}};function wj(e){(typeof e!="object"||e?.length===void 0)&&Mn("Invalid argument for bytesToString");let t=e.length,n=8192;if(t<n)return String.fromCharCode.apply(null,e);let i=[];for(let r=0;r<t;r+=n){let s=Math.min(r+n,t),l=e.subarray(r,s);i.push(String.fromCharCode.apply(null,l))}return i.join("")}function Nw(e){typeof e!="string"&&Mn("Invalid argument for stringToBytes");let t=e.length,n=new Uint8Array(t);for(let i=0;i<t;++i)n[i]=e.charCodeAt(i)&255;return n}function EJ(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,e&255)}function hF(e){let t=Object.create(null);for(let[n,i]of e)t[n]=i;return t}function TJ(){let e=new Uint8Array(4);return e[0]=1,new Uint32Array(e.buffer,0,1)[0]===1}function CJ(){try{return new Function(""),!0}catch{return!1}}var xa=class{static get isLittleEndian(){return qe(this,"isLittleEndian",TJ())}static get isEvalSupported(){return qe(this,"isEvalSupported",CJ())}static get isOffscreenCanvasSupported(){return qe(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}static get isImageDecoderSupported(){return qe(this,"isImageDecoderSupported",typeof ImageDecoder<"u")}static get platform(){return typeof navigator<"u"&&typeof navigator?.platform=="string"?qe(this,"platform",{isMac:navigator.platform.includes("Mac"),isWindows:navigator.platform.includes("Win"),isFirefox:typeof navigator?.userAgent=="string"&&navigator.userAgent.includes("Firefox")}):qe(this,"platform",{isMac:!1,isWindows:!1,isFirefox:!1})}static get isCSSRoundSupported(){return qe(this,"isCSSRoundSupported",globalThis.CSS?.supports?.("width: round(1.5px, 1px)"))}},HM=Array.from(Array(256).keys(),e=>e.toString(16).padStart(2,"0")),Kt=class{static makeHexColor(t,n,i){return`#${HM[t]}${HM[n]}${HM[i]}`}static scaleMinMax(t,n){let i;t[0]?(t[0]<0&&(i=n[0],n[0]=n[2],n[2]=i),n[0]*=t[0],n[2]*=t[0],t[3]<0&&(i=n[1],n[1]=n[3],n[3]=i),n[1]*=t[3],n[3]*=t[3]):(i=n[0],n[0]=n[1],n[1]=i,i=n[2],n[2]=n[3],n[3]=i,t[1]<0&&(i=n[1],n[1]=n[3],n[3]=i),n[1]*=t[1],n[3]*=t[1],t[2]<0&&(i=n[0],n[0]=n[2],n[2]=i),n[0]*=t[2],n[2]*=t[2]),n[0]+=t[4],n[1]+=t[5],n[2]+=t[4],n[3]+=t[5]}static transform(t,n){return[t[0]*n[0]+t[2]*n[1],t[1]*n[0]+t[3]*n[1],t[0]*n[2]+t[2]*n[3],t[1]*n[2]+t[3]*n[3],t[0]*n[4]+t[2]*n[5]+t[4],t[1]*n[4]+t[3]*n[5]+t[5]]}static applyTransform(t,n){let i=t[0]*n[0]+t[1]*n[2]+n[4],r=t[0]*n[1]+t[1]*n[3]+n[5];return[i,r]}static applyInverseTransform(t,n){let i=n[0]*n[3]-n[1]*n[2],r=(t[0]*n[3]-t[1]*n[2]+n[2]*n[5]-n[4]*n[3])/i,s=(-t[0]*n[1]+t[1]*n[0]+n[4]*n[1]-n[5]*n[0])/i;return[r,s]}static getAxialAlignedBoundingBox(t,n){let i=this.applyTransform(t,n),r=this.applyTransform(t.slice(2,4),n),s=this.applyTransform([t[0],t[3]],n),l=this.applyTransform([t[2],t[1]],n);return[Math.min(i[0],r[0],s[0],l[0]),Math.min(i[1],r[1],s[1],l[1]),Math.max(i[0],r[0],s[0],l[0]),Math.max(i[1],r[1],s[1],l[1])]}static inverseTransform(t){let n=t[0]*t[3]-t[1]*t[2];return[t[3]/n,-t[1]/n,-t[2]/n,t[0]/n,(t[2]*t[5]-t[4]*t[3])/n,(t[4]*t[1]-t[5]*t[0])/n]}static singularValueDecompose2dScale(t){let n=[t[0],t[2],t[1],t[3]],i=t[0]*n[0]+t[1]*n[2],r=t[0]*n[1]+t[1]*n[3],s=t[2]*n[0]+t[3]*n[2],l=t[2]*n[1]+t[3]*n[3],c=(i+l)/2,d=Math.sqrt((i+l)**2-4*(i*l-s*r))/2,h=c+d||1,p=c-d||1;return[Math.sqrt(h),Math.sqrt(p)]}static normalizeRect(t){let n=t.slice(0);return t[0]>t[2]&&(n[0]=t[2],n[2]=t[0]),t[1]>t[3]&&(n[1]=t[3],n[3]=t[1]),n}static intersect(t,n){let i=Math.max(Math.min(t[0],t[2]),Math.min(n[0],n[2])),r=Math.min(Math.max(t[0],t[2]),Math.max(n[0],n[2]));if(i>r)return null;let s=Math.max(Math.min(t[1],t[3]),Math.min(n[1],n[3])),l=Math.min(Math.max(t[1],t[3]),Math.max(n[1],n[3]));return s>l?null:[i,s,r,l]}static#t(t,n,i,r,s,l,c,d,h,p){if(h<=0||h>=1)return;let y=1-h,g=h*h,b=g*h,S=y*(y*(y*t+3*h*n)+3*g*i)+b*r,w=y*(y*(y*s+3*h*l)+3*g*c)+b*d;p[0]=Math.min(p[0],S),p[1]=Math.min(p[1],w),p[2]=Math.max(p[2],S),p[3]=Math.max(p[3],w)}static#e(t,n,i,r,s,l,c,d,h,p,y,g){if(Math.abs(h)<1e-12){Math.abs(p)>=1e-12&&this.#t(t,n,i,r,s,l,c,d,-y/p,g);return}let b=p**2-4*y*h;if(b<0)return;let S=Math.sqrt(b),w=2*h;this.#t(t,n,i,r,s,l,c,d,(-p+S)/w,g),this.#t(t,n,i,r,s,l,c,d,(-p-S)/w,g)}static bezierBoundingBox(t,n,i,r,s,l,c,d,h){return h?(h[0]=Math.min(h[0],t,c),h[1]=Math.min(h[1],n,d),h[2]=Math.max(h[2],t,c),h[3]=Math.max(h[3],n,d)):h=[Math.min(t,c),Math.min(n,d),Math.max(t,c),Math.max(n,d)],this.#e(t,i,s,c,n,r,l,d,3*(-t+3*(i-s)+c),6*(t-2*i+s),3*(i-t),h),this.#e(t,i,s,c,n,r,l,d,3*(-n+3*(r-l)+d),6*(n-2*r+l),3*(r-n),h),h}};function DJ(e){return decodeURIComponent(escape(e))}var jM=null,lj=null;function RJ(e){return jM||(jM=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,lj=new Map([["\uFB05","\u017Ft"]])),e.replaceAll(jM,(t,n,i)=>n?n.normalize("NFKC"):lj.get(i))}function OJ(){if(typeof crypto.randomUUID=="function")return crypto.randomUUID();let e=new Uint8Array(32);return crypto.getRandomValues(e),wj(e)}var pF="pdfjs_internal_id_";function MJ(e){return Uint8Array.prototype.toBase64?e.toBase64():btoa(wj(e))}typeof Promise.try!="function"&&(Promise.try=function(e,...t){return new Promise(n=>{n(e(...t))})});var Cu="http://www.w3.org/2000/svg",ff=class{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF};async function zw(e,t="text"){if(Ty(e,document.baseURI)){let n=await fetch(e);if(!n.ok)throw new Error(n.statusText);switch(t){case"arraybuffer":return n.arrayBuffer();case"blob":return n.blob();case"json":return n.json()}return n.text()}return new Promise((n,i)=>{let r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType=t,r.onreadystatechange=()=>{if(r.readyState===XMLHttpRequest.DONE){if(r.status===200||r.status===0){switch(t){case"arraybuffer":case"blob":case"json":n(r.response);return}n(r.responseText);return}i(new Error(r.statusText))}},r.send(null)})}var Oy=class e{constructor({viewBox:t,userUnit:n,scale:i,rotation:r,offsetX:s=0,offsetY:l=0,dontFlip:c=!1}){this.viewBox=t,this.userUnit=n,this.scale=i,this.rotation=r,this.offsetX=s,this.offsetY=l,i*=n;let d=(t[2]+t[0])/2,h=(t[3]+t[1])/2,p,y,g,b;switch(r%=360,r<0&&(r+=360),r){case 180:p=-1,y=0,g=0,b=1;break;case 90:p=0,y=1,g=1,b=0;break;case 270:p=0,y=-1,g=-1,b=0;break;case 0:p=1,y=0,g=0,b=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}c&&(g=-g,b=-b);let S,w,D,A;p===0?(S=Math.abs(h-t[1])*i+s,w=Math.abs(d-t[0])*i+l,D=(t[3]-t[1])*i,A=(t[2]-t[0])*i):(S=Math.abs(d-t[0])*i+s,w=Math.abs(h-t[1])*i+l,D=(t[2]-t[0])*i,A=(t[3]-t[1])*i),this.transform=[p*i,y*i,g*i,b*i,S-p*i*d-g*i*h,w-y*i*d-b*i*h],this.width=D,this.height=A}get rawDims(){let{userUnit:t,viewBox:n}=this,i=n.map(r=>r*t);return qe(this,"rawDims",{pageWidth:i[2]-i[0],pageHeight:i[3]-i[1],pageX:i[0],pageY:i[1]})}clone({scale:t=this.scale,rotation:n=this.rotation,offsetX:i=this.offsetX,offsetY:r=this.offsetY,dontFlip:s=!1}={}){return new e({viewBox:this.viewBox.slice(),userUnit:this.userUnit,scale:t,rotation:n,offsetX:i,offsetY:r,dontFlip:s})}convertToViewportPoint(t,n){return Kt.applyTransform([t,n],this.transform)}convertToViewportRectangle(t){let n=Kt.applyTransform([t[0],t[1]],this.transform),i=Kt.applyTransform([t[2],t[3]],this.transform);return[n[0],n[1],i[0],i[1]]}convertToPdfPoint(t,n){return Kt.applyInverseTransform([t,n],this.transform)}},My=class extends df{constructor(t,n=0){super(t,"RenderingCancelledException"),this.extraDelay=n}};function kw(e){let t=e.length,n=0;for(;n<t&&e[n].trim()==="";)n++;return e.substring(n,n+5).toLowerCase()==="data:"}function mF(e){return typeof e=="string"&&/\.pdf$/i.test(e)}function _J(e){return[e]=e.split(/[#?]/,1),e.substring(e.lastIndexOf("/")+1)}function FJ(e,t="document.pdf"){if(typeof e!="string")return t;if(kw(e))return ke('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),t;let n=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,i=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,r=n.exec(e),s=i.exec(r[1])||i.exec(r[2])||i.exec(r[3]);if(s&&(s=s[0],s.includes("%")))try{s=i.exec(decodeURIComponent(s))[0]}catch{}return s||t}var tw=class{started=Object.create(null);times=[];time(t){t in this.started&&ke(`Timer is already running for ${t}`),this.started[t]=Date.now()}timeEnd(t){t in this.started||ke(`Timer has not been started for ${t}`),this.times.push({name:t,start:this.started[t],end:Date.now()}),delete this.started[t]}toString(){let t=[],n=0;for(let{name:i}of this.times)n=Math.max(i.length,n);for(let{name:i,start:r,end:s}of this.times)t.push(`${i.padEnd(n)} ${s-r}ms
|
|
282
|
+
`);return t.join("")}};function Ty(e,t){try{let{protocol:n}=t?new URL(e,t):new URL(e);return n==="http:"||n==="https:"}catch{return!1}}function Es(e){e.preventDefault()}function uo(e){e.preventDefault(),e.stopPropagation()}var ew=class{static#t;static toDateObject(t){if(!t||typeof t!="string")return null;this.#t||=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?");let n=this.#t.exec(t);if(!n)return null;let i=parseInt(n[1],10),r=parseInt(n[2],10);r=r>=1&&r<=12?r-1:0;let s=parseInt(n[3],10);s=s>=1&&s<=31?s:1;let l=parseInt(n[4],10);l=l>=0&&l<=23?l:0;let c=parseInt(n[5],10);c=c>=0&&c<=59?c:0;let d=parseInt(n[6],10);d=d>=0&&d<=59?d:0;let h=n[7]||"Z",p=parseInt(n[8],10);p=p>=0&&p<=23?p:0;let y=parseInt(n[9],10)||0;return y=y>=0&&y<=59?y:0,h==="-"?(l+=p,c+=y):h==="+"&&(l-=p,c-=y),new Date(Date.UTC(i,r,s,l,c,d))}};function NJ(e,{scale:t=1,rotation:n=0}){let{width:i,height:r}=e.attributes.style,s=[0,0,parseInt(i),parseInt(r)];return new Oy({viewBox:s,userUnit:1,scale:t,rotation:n})}function gF(e){if(e.startsWith("#")){let t=parseInt(e.slice(1),16);return[(t&16711680)>>16,(t&65280)>>8,t&255]}return e.startsWith("rgb(")?e.slice(4,-1).split(",").map(t=>parseInt(t)):e.startsWith("rgba(")?e.slice(5,-1).split(",").map(t=>parseInt(t)).slice(0,3):(ke(`Not a valid color format: "${e}"`),[0,0,0])}function zJ(e){let t=document.createElement("span");t.style.visibility="hidden",document.body.append(t);for(let n of e.keys()){t.style.color=n;let i=window.getComputedStyle(t).color;e.set(n,gF(i))}t.remove()}function Qn(e){let{a:t,b:n,c:i,d:r,e:s,f:l}=e.getTransform();return[t,n,i,r,s,l]}function ml(e){let{a:t,b:n,c:i,d:r,e:s,f:l}=e.getTransform().invertSelf();return[t,n,i,r,s,l]}function ah(e,t,n=!1,i=!0){if(t instanceof Oy){let{pageWidth:r,pageHeight:s}=t.rawDims,{style:l}=e,c=xa.isCSSRoundSupported,d=`var(--scale-factor) * ${r}px`,h=`var(--scale-factor) * ${s}px`,p=c?`round(down, ${d}, var(--scale-round-x, 1px))`:`calc(${d})`,y=c?`round(down, ${h}, var(--scale-round-y, 1px))`:`calc(${h})`;!n||t.rotation%180===0?(l.width=p,l.height=y):(l.width=y,l.height=p)}i&&e.setAttribute("data-main-rotation",t.rotation)}var _y=class{constructor(){let t=window.devicePixelRatio||1;this.sx=t,this.sy=t}get scaled(){return this.sx!==1||this.sy!==1}get symmetric(){return this.sx===this.sy}},YM=class e{#t=null;#e=null;#n;#i=null;#r=null;static#a=null;constructor(t){this.#n=t,e.#a||=Object.freeze({freetext:"pdfjs-editor-remove-freetext-button",highlight:"pdfjs-editor-remove-highlight-button",ink:"pdfjs-editor-remove-ink-button",stamp:"pdfjs-editor-remove-stamp-button"})}render(){let t=this.#t=document.createElement("div");t.classList.add("editToolbar","hidden"),t.setAttribute("role","toolbar");let n=this.#n._uiManager._signal;t.addEventListener("contextmenu",Es,{signal:n}),t.addEventListener("pointerdown",e.#l,{signal:n});let i=this.#i=document.createElement("div");i.className="buttons",t.append(i);let r=this.#n.toolbarPosition;if(r){let{style:s}=t,l=this.#n._uiManager.direction==="ltr"?1-r[0]:r[0];s.insetInlineEnd=`${100*l}%`,s.top=`calc(${100*r[1]}% + var(--editor-toolbar-vert-offset))`}return this.#d(),t}get div(){return this.#t}static#l(t){t.stopPropagation()}#s(t){this.#n._focusEventsAllowed=!1,uo(t)}#c(t){this.#n._focusEventsAllowed=!0,uo(t)}#u(t){let n=this.#n._uiManager._signal;t.addEventListener("focusin",this.#s.bind(this),{capture:!0,signal:n}),t.addEventListener("focusout",this.#c.bind(this),{capture:!0,signal:n}),t.addEventListener("contextmenu",Es,{signal:n})}hide(){this.#t.classList.add("hidden"),this.#e?.hideDropdown()}show(){this.#t.classList.remove("hidden"),this.#r?.shown()}#d(){let{editorType:t,_uiManager:n}=this.#n,i=document.createElement("button");i.className="delete",i.tabIndex=0,i.setAttribute("data-l10n-id",e.#a[t]),this.#u(i),i.addEventListener("click",r=>{n.delete()},{signal:n._signal}),this.#i.append(i)}get#f(){let t=document.createElement("div");return t.className="divider",t}async addAltText(t){let n=await t.render();this.#u(n),this.#i.prepend(n,this.#f),this.#r=t}addColorPicker(t){this.#e=t;let n=t.renderButton();this.#u(n),this.#i.prepend(n,this.#f)}remove(){this.#t.remove(),this.#e?.destroy(),this.#e=null}},KM=class{#t=null;#e=null;#n;constructor(t){this.#n=t}#i(){let t=this.#e=document.createElement("div");t.className="editToolbar",t.setAttribute("role","toolbar"),t.addEventListener("contextmenu",Es,{signal:this.#n._signal});let n=this.#t=document.createElement("div");return n.className="buttons",t.append(n),this.#a(),t}#r(t,n){let i=0,r=0;for(let s of t){let l=s.y+s.height;if(l<i)continue;let c=s.x+(n?s.width:0);if(l>i){r=c,i=l;continue}n?c>r&&(r=c):c<r&&(r=c)}return[n?1-r:r,i]}show(t,n,i){let[r,s]=this.#r(n,i),{style:l}=this.#e||=this.#i();t.append(this.#e),l.insetInlineEnd=`${100*r}%`,l.top=`calc(${100*s}% + var(--editor-toolbar-vert-offset))`}hide(){this.#e.remove()}#a(){let t=document.createElement("button");t.className="highlightButton",t.tabIndex=0,t.setAttribute("data-l10n-id","pdfjs-highlight-floating-button1");let n=document.createElement("span");t.append(n),n.className="visuallyHidden",n.setAttribute("data-l10n-id","pdfjs-highlight-floating-button-label");let i=this.#n._signal;t.addEventListener("contextmenu",Es,{signal:i}),t.addEventListener("click",()=>{this.#n.highlightSelection("floating_button")},{signal:i}),this.#t.append(t)}};function nw(e,t,n){for(let i of n)t.addEventListener(i,e[i].bind(e))}var ZM=class{#t=0;get id(){return`${vJ}${this.#t++}`}},WM=class e{#t=OJ();#e=0;#n=null;static get _isSVGFittingCanvas(){let t='data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 1 1" width="1" height="1" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" style="fill:red;"/></svg>',i=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),r=new Image;r.src=t;let s=r.decode().then(()=>(i.drawImage(r,0,0,1,1,0,0,1,3),new Uint32Array(i.getImageData(0,0,1,1).data.buffer)[0]===0));return qe(this,"_isSVGFittingCanvas",s)}async#i(t,n){this.#n||=new Map;let i=this.#n.get(t);if(i===null)return null;if(i?.bitmap)return i.refCounter+=1,i;try{i||={bitmap:null,id:`image_${this.#t}_${this.#e++}`,refCounter:0,isSvg:!1};let r;if(typeof n=="string"?(i.url=n,r=await zw(n,"blob")):n instanceof File?r=i.file=n:n instanceof Blob&&(r=n),r.type==="image/svg+xml"){let s=e._isSVGFittingCanvas,l=new FileReader,c=new Image,d=new Promise((h,p)=>{c.onload=()=>{i.bitmap=c,i.isSvg=!0,h()},l.onload=async()=>{let y=i.svgUrl=l.result;c.src=await s?`${y}#svgView(preserveAspectRatio(none))`:y},c.onerror=l.onerror=p});l.readAsDataURL(r),await d}else i.bitmap=await createImageBitmap(r);i.refCounter=1}catch(r){ke(r),i=null}return this.#n.set(t,i),i&&this.#n.set(i.id,i),i}async getFromFile(t){let{lastModified:n,name:i,size:r,type:s}=t;return this.#i(`${n}_${i}_${r}_${s}`,t)}async getFromUrl(t){return this.#i(t,t)}async getFromBlob(t,n){let i=await n;return this.#i(t,i)}async getFromId(t){this.#n||=new Map;let n=this.#n.get(t);if(!n)return null;if(n.bitmap)return n.refCounter+=1,n;if(n.file)return this.getFromFile(n.file);if(n.blobPromise){let{blobPromise:i}=n;return delete n.blobPromise,this.getFromBlob(n.id,i)}return this.getFromUrl(n.url)}getFromCanvas(t,n){this.#n||=new Map;let i=this.#n.get(t);if(i?.bitmap)return i.refCounter+=1,i;let r=new OffscreenCanvas(n.width,n.height);return r.getContext("2d").drawImage(n,0,0),i={bitmap:r.transferToImageBitmap(),id:`image_${this.#t}_${this.#e++}`,refCounter:1,isSvg:!1},this.#n.set(t,i),this.#n.set(i.id,i),i}getSvgUrl(t){let n=this.#n.get(t);return n?.isSvg?n.svgUrl:null}deleteId(t){this.#n||=new Map;let n=this.#n.get(t);if(!n||(n.refCounter-=1,n.refCounter!==0))return;let{bitmap:i}=n;if(!n.url&&!n.file){let r=new OffscreenCanvas(i.width,i.height);r.getContext("bitmaprenderer").transferFromImageBitmap(i),n.blobPromise=r.convertToBlob()}i.close?.(),n.bitmap=null}isValidId(t){return t.startsWith(`image_${this.#t}_`)}},QM=class{#t=[];#e=!1;#n;#i=-1;constructor(t=128){this.#n=t}add({cmd:t,undo:n,post:i,mustExec:r,type:s=NaN,overwriteIfSameType:l=!1,keepUndo:c=!1}){if(r&&t(),this.#e)return;let d={cmd:t,undo:n,post:i,type:s};if(this.#i===-1){this.#t.length>0&&(this.#t.length=0),this.#i=0,this.#t.push(d);return}if(l&&this.#t[this.#i].type===s){c&&(d.undo=this.#t[this.#i].undo),this.#t[this.#i]=d;return}let h=this.#i+1;h===this.#n?this.#t.splice(0,1):(this.#i=h,h<this.#t.length&&this.#t.splice(h)),this.#t.push(d)}undo(){if(this.#i===-1)return;this.#e=!0;let{undo:t,post:n}=this.#t[this.#i];t(),n?.(),this.#e=!1,this.#i-=1}redo(){if(this.#i<this.#t.length-1){this.#i+=1,this.#e=!0;let{cmd:t,post:n}=this.#t[this.#i];t(),n?.(),this.#e=!1}}hasSomethingToUndo(){return this.#i!==-1}hasSomethingToRedo(){return this.#i<this.#t.length-1}cleanType(t){if(this.#i!==-1){for(let n=this.#i;n>=0;n--)if(this.#t[n].type!==t){this.#t.splice(n+1,this.#i-n),this.#i=n;return}this.#t.length=0,this.#i=-1}}destroy(){this.#t=null}},rh=class{constructor(t){this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;let{isMac:n}=xa.platform;for(let[i,r,s={}]of t)for(let l of i){let c=l.startsWith("mac+");n&&c?(this.callbacks.set(l.slice(4),{callback:r,options:s}),this.allKeys.add(l.split("+").at(-1))):!n&&!c&&(this.callbacks.set(l,{callback:r,options:s}),this.allKeys.add(l.split("+").at(-1)))}}#t(t){t.altKey&&this.buffer.push("alt"),t.ctrlKey&&this.buffer.push("ctrl"),t.metaKey&&this.buffer.push("meta"),t.shiftKey&&this.buffer.push("shift"),this.buffer.push(t.key);let n=this.buffer.join("+");return this.buffer.length=0,n}exec(t,n){if(!this.allKeys.has(n.key))return;let i=this.callbacks.get(this.#t(n));if(!i)return;let{callback:r,options:{bubbles:s=!1,args:l=[],checker:c=null}}=i;c&&!c(t,n)||(r.bind(t,...l,n)(),s||uo(n))}},JM=class e{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){let t=new Map([["CanvasText",null],["Canvas",null]]);return zJ(t),qe(this,"_colors",t)}convert(t){let n=gF(t);if(!window.matchMedia("(forced-colors: active)").matches)return n;for(let[i,r]of this._colors)if(r.every((s,l)=>s===n[l]))return e._colorsMapping.get(i);return n}getHexCode(t){let n=this._colors.get(t);return n?Kt.makeHexColor(...n):t}},oh=class e{#t=new AbortController;#e=null;#n=new Map;#i=new Map;#r=null;#a=null;#l=null;#s=new QM;#c=null;#u=null;#d=0;#f=new Set;#h=null;#o=null;#p=new Set;_editorUndoBar=null;#g=!1;#m=!1;#v=!1;#S=null;#y=null;#x=null;#w=null;#T=!1;#D=null;#O=new ZM;#A=!1;#R=!1;#C=null;#_=null;#z=null;#L=null;#E=ze.NONE;#b=new Set;#N=null;#j=null;#q=null;#V={isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1};#P=[0,0];#k=null;#U=null;#G=null;#F=null;static TRANSLATE_SMALL=1;static TRANSLATE_BIG=10;static get _keyboardManager(){let t=e.prototype,n=l=>l.#U.contains(document.activeElement)&&document.activeElement.tagName!=="BUTTON"&&l.hasSomethingToControl(),i=(l,{target:c})=>{if(c instanceof HTMLInputElement){let{type:d}=c;return d!=="text"&&d!=="number"}return!0},r=this.TRANSLATE_SMALL,s=this.TRANSLATE_BIG;return qe(this,"_keyboardManager",new rh([[["ctrl+a","mac+meta+a"],t.selectAll,{checker:i}],[["ctrl+z","mac+meta+z"],t.undo,{checker:i}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],t.redo,{checker:i}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],t.delete,{checker:i}],[["Enter","mac+Enter"],t.addNewEditorFromKeyboard,{checker:(l,{target:c})=>!(c instanceof HTMLButtonElement)&&l.#U.contains(c)&&!l.isEnterHandled}],[[" ","mac+ "],t.addNewEditorFromKeyboard,{checker:(l,{target:c})=>!(c instanceof HTMLButtonElement)&&l.#U.contains(document.activeElement)}],[["Escape","mac+Escape"],t.unselectAll],[["ArrowLeft","mac+ArrowLeft"],t.translateSelectedEditors,{args:[-r,0],checker:n}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t.translateSelectedEditors,{args:[-s,0],checker:n}],[["ArrowRight","mac+ArrowRight"],t.translateSelectedEditors,{args:[r,0],checker:n}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t.translateSelectedEditors,{args:[s,0],checker:n}],[["ArrowUp","mac+ArrowUp"],t.translateSelectedEditors,{args:[0,-r],checker:n}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t.translateSelectedEditors,{args:[0,-s],checker:n}],[["ArrowDown","mac+ArrowDown"],t.translateSelectedEditors,{args:[0,r],checker:n}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t.translateSelectedEditors,{args:[0,s],checker:n}]]))}constructor(t,n,i,r,s,l,c,d,h,p,y,g,b){let S=this._signal=this.#t.signal;this.#U=t,this.#G=n,this.#r=i,this._eventBus=r,r._on("editingaction",this.onEditingAction.bind(this),{signal:S}),r._on("pagechanging",this.onPageChanging.bind(this),{signal:S}),r._on("scalechanging",this.onScaleChanging.bind(this),{signal:S}),r._on("rotationchanging",this.onRotationChanging.bind(this),{signal:S}),r._on("setpreference",this.onSetPreference.bind(this),{signal:S}),r._on("switchannotationeditorparams",w=>this.updateParams(w.type,w.value),{signal:S}),this.#et(),this.#rt(),this.#K(),this.#a=s.annotationStorage,this.#S=s.filterFactory,this.#j=l,this.#w=c||null,this.#g=d,this.#m=h,this.#v=p,this.#L=y||null,this.viewParameters={realScale:ff.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1,this._editorUndoBar=g||null,this._supportsPinchToZoom=b!==!1}destroy(){this.#F?.resolve(),this.#F=null,this.#t?.abort(),this.#t=null,this._signal=null;for(let t of this.#i.values())t.destroy();this.#i.clear(),this.#n.clear(),this.#p.clear(),this.#e=null,this.#b.clear(),this.#s.destroy(),this.#r?.destroy(),this.#D?.hide(),this.#D=null,this.#y&&(clearTimeout(this.#y),this.#y=null),this.#k&&(clearTimeout(this.#k),this.#k=null),this._editorUndoBar?.destroy()}combinedSignal(t){return AbortSignal.any([this._signal,t.signal])}get mlManager(){return this.#L}get useNewAltTextFlow(){return this.#m}get useNewAltTextWhenAddingImage(){return this.#v}get hcmFilter(){return qe(this,"hcmFilter",this.#j?this.#S.addHCMFilter(this.#j.foreground,this.#j.background):"none")}get direction(){return qe(this,"direction",getComputedStyle(this.#U).direction)}get highlightColors(){return qe(this,"highlightColors",this.#w?new Map(this.#w.split(",").map(t=>t.split("=").map(n=>n.trim()))):null)}get highlightColorNames(){return qe(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,t=>t.reverse())):null)}setCurrentDrawingSession(t){t?(this.unselectAll(),this.disableUserSelect(!0)):this.disableUserSelect(!1),this.#u=t}setMainHighlightColorPicker(t){this.#z=t}editAltText(t,n=!1){this.#r?.editAltText(this,t,n)}switchToMode(t,n){this._eventBus.on("annotationeditormodechanged",n,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:t})}setPreference(t,n){this._eventBus.dispatch("setpreference",{source:this,name:t,value:n})}onSetPreference({name:t,value:n}){t==="enableNewAltTextWhenAddingImage"&&(this.#v=n)}onPageChanging({pageNumber:t}){this.#d=t-1}focusMainContainer(){this.#U.focus()}findParent(t,n){for(let i of this.#i.values()){let{x:r,y:s,width:l,height:c}=i.div.getBoundingClientRect();if(t>=r&&t<=r+l&&n>=s&&n<=s+c)return i}return null}disableUserSelect(t=!1){this.#G.classList.toggle("noUserSelect",t)}addShouldRescale(t){this.#p.add(t)}removeShouldRescale(t){this.#p.delete(t)}onScaleChanging({scale:t}){this.commitOrRemove(),this.viewParameters.realScale=t*ff.PDF_TO_CSS_UNITS;for(let n of this.#p)n.onScaleChanging();this.#u?.onScaleChanging()}onRotationChanging({pagesRotation:t}){this.commitOrRemove(),this.viewParameters.rotation=t}#B({anchorNode:t}){return t.nodeType===Node.TEXT_NODE?t.parentElement:t}#Y(t){let{currentLayer:n}=this;if(n.hasTextLayer(t))return n;for(let i of this.#i.values())if(i.hasTextLayer(t))return i;return null}highlightSelection(t=""){let n=document.getSelection();if(!n||n.isCollapsed)return;let{anchorNode:i,anchorOffset:r,focusNode:s,focusOffset:l}=n,c=n.toString(),h=this.#B(n).closest(".textLayer"),p=this.getSelectionBoxes(h);if(!p)return;n.empty();let y=this.#Y(h),g=this.#E===ze.NONE,b=()=>{y?.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:t,boxes:p,anchorNode:i,anchorOffset:r,focusNode:s,focusOffset:l,text:c}),g&&this.showAllEditors("highlight",!0,!0)};if(g){this.switchToMode(ze.HIGHLIGHT,b);return}b()}#$(){let t=document.getSelection();if(!t||t.isCollapsed)return;let i=this.#B(t).closest(".textLayer"),r=this.getSelectionBoxes(i);r&&(this.#D||=new KM(this),this.#D.show(i,r,this.direction==="ltr"))}addToAnnotationStorage(t){!t.isEmpty()&&this.#a&&!this.#a.has(t.id)&&this.#a.setValue(t.id,t)}#tt(){let t=document.getSelection();if(!t||t.isCollapsed){this.#N&&(this.#D?.hide(),this.#N=null,this.#M({hasSelectedText:!1}));return}let{anchorNode:n}=t;if(n===this.#N)return;let r=this.#B(t).closest(".textLayer");if(!r){this.#N&&(this.#D?.hide(),this.#N=null,this.#M({hasSelectedText:!1}));return}if(this.#D?.hide(),this.#N=n,this.#M({hasSelectedText:!0}),!(this.#E!==ze.HIGHLIGHT&&this.#E!==ze.NONE)&&(this.#E===ze.HIGHLIGHT&&this.showAllEditors("highlight",!0,!0),this.#T=this.isShiftKeyDown,!this.isShiftKeyDown)){let s=this.#E===ze.HIGHLIGHT?this.#Y(r):null;s?.toggleDrawing();let l=new AbortController,c=this.combinedSignal(l),d=h=>{h.type==="pointerup"&&h.button!==0||(l.abort(),s?.toggleDrawing(!0),h.type==="pointerup"&&this.#X("main_toolbar"))};window.addEventListener("pointerup",d,{signal:c}),window.addEventListener("blur",d,{signal:c})}}#X(t=""){this.#E===ze.HIGHLIGHT?this.highlightSelection(t):this.#g&&this.#$()}#et(){document.addEventListener("selectionchange",this.#tt.bind(this),{signal:this._signal})}#nt(){if(this.#x)return;this.#x=new AbortController;let t=this.combinedSignal(this.#x);window.addEventListener("focus",this.focus.bind(this),{signal:t}),window.addEventListener("blur",this.blur.bind(this),{signal:t})}#it(){this.#x?.abort(),this.#x=null}blur(){if(this.isShiftKeyDown=!1,this.#T&&(this.#T=!1,this.#X("main_toolbar")),!this.hasSelection)return;let{activeElement:t}=document;for(let n of this.#b)if(n.div.contains(t)){this.#_=[n,t],n._focusEventsAllowed=!1;break}}focus(){if(!this.#_)return;let[t,n]=this.#_;this.#_=null,n.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:this._signal}),n.focus()}#K(){if(this.#C)return;this.#C=new AbortController;let t=this.combinedSignal(this.#C);window.addEventListener("keydown",this.keydown.bind(this),{signal:t}),window.addEventListener("keyup",this.keyup.bind(this),{signal:t})}#at(){this.#C?.abort(),this.#C=null}#Z(){if(this.#c)return;this.#c=new AbortController;let t=this.combinedSignal(this.#c);document.addEventListener("copy",this.copy.bind(this),{signal:t}),document.addEventListener("cut",this.cut.bind(this),{signal:t}),document.addEventListener("paste",this.paste.bind(this),{signal:t})}#W(){this.#c?.abort(),this.#c=null}#rt(){let t=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:t}),document.addEventListener("drop",this.drop.bind(this),{signal:t})}addEditListeners(){this.#K(),this.#Z()}removeEditListeners(){this.#at(),this.#W()}dragOver(t){for(let{type:n}of t.dataTransfer.items)for(let i of this.#o)if(i.isHandlingMimeForPasting(n)){t.dataTransfer.dropEffect="copy",t.preventDefault();return}}drop(t){for(let n of t.dataTransfer.items)for(let i of this.#o)if(i.isHandlingMimeForPasting(n.type)){i.paste(n,this.currentLayer),t.preventDefault();return}}copy(t){if(t.preventDefault(),this.#e?.commitOrRemove(),!this.hasSelection)return;let n=[];for(let i of this.#b){let r=i.serialize(!0);r&&n.push(r)}n.length!==0&&t.clipboardData.setData("application/pdfjs",JSON.stringify(n))}cut(t){this.copy(t),this.delete()}async paste(t){t.preventDefault();let{clipboardData:n}=t;for(let s of n.items)for(let l of this.#o)if(l.isHandlingMimeForPasting(s.type)){l.paste(s,this.currentLayer);return}let i=n.getData("application/pdfjs");if(!i)return;try{i=JSON.parse(i)}catch(s){ke(`paste: "${s.message}".`);return}if(!Array.isArray(i))return;this.unselectAll();let r=this.currentLayer;try{let s=[];for(let d of i){let h=await r.deserialize(d);if(!h)return;s.push(h)}let l=()=>{for(let d of s)this.#Q(d);this.#J(s)},c=()=>{for(let d of s)d.remove()};this.addCommands({cmd:l,undo:c,mustExec:!0})}catch(s){ke(`paste: "${s.message}".`)}}keydown(t){!this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!0),this.#E!==ze.NONE&&!this.isEditorHandlingKeyboard&&e._keyboardManager.exec(this,t)}keyup(t){this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!1,this.#T&&(this.#T=!1,this.#X("main_toolbar")))}onEditingAction({name:t}){switch(t){case"undo":case"redo":case"delete":case"selectAll":this[t]();break;case"highlightSelection":this.highlightSelection("context_menu");break}}#M(t){Object.entries(t).some(([i,r])=>this.#V[i]!==r)&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(this.#V,t)}),this.#E===ze.HIGHLIGHT&&t.hasSelectedEditor===!1&&this.#H([[$e.HIGHLIGHT_FREE,!0]]))}#H(t){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:t})}setEditingState(t){t?(this.#nt(),this.#Z(),this.#M({isEditing:this.#E!==ze.NONE,isEmpty:this.#I(),hasSomethingToUndo:this.#s.hasSomethingToUndo(),hasSomethingToRedo:this.#s.hasSomethingToRedo(),hasSelectedEditor:!1})):(this.#it(),this.#W(),this.#M({isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(t){if(!this.#o){this.#o=t;for(let n of this.#o)this.#H(n.defaultPropertiesToUpdate)}}getId(){return this.#O.id}get currentLayer(){return this.#i.get(this.#d)}getLayer(t){return this.#i.get(t)}get currentPageIndex(){return this.#d}addLayer(t){this.#i.set(t.pageIndex,t),this.#A?t.enable():t.disable()}removeLayer(t){this.#i.delete(t.pageIndex)}async updateMode(t,n=null,i=!1){if(this.#E!==t&&!(this.#F&&(await this.#F.promise,!this.#F))){if(this.#F=Promise.withResolvers(),this.#E=t,t===ze.NONE){this.setEditingState(!1),this.#st(),this._editorUndoBar?.hide(),this.#F.resolve();return}this.setEditingState(!0),await this.#ot(),this.unselectAll();for(let r of this.#i.values())r.updateMode(t);if(!n){i&&this.addNewEditorFromKeyboard(),this.#F.resolve();return}for(let r of this.#n.values())r.annotationElementId===n?(this.setSelected(r),r.enterInEditMode()):r.unselect();this.#F.resolve()}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(t){t!==this.#E&&this._eventBus.dispatch("switchannotationeditormode",{source:this,mode:t})}updateParams(t,n){if(this.#o){switch(t){case $e.CREATE:this.currentLayer.addNewEditor();return;case $e.HIGHLIGHT_DEFAULT_COLOR:this.#z?.updateColor(n);break;case $e.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(this.#q||=new Map).set(t,n),this.showAllEditors("highlight",n);break}for(let i of this.#b)i.updateParams(t,n);for(let i of this.#o)i.updateDefaultParams(t,n)}}showAllEditors(t,n,i=!1){for(let s of this.#n.values())s.editorType===t&&s.show(n);(this.#q?.get($e.HIGHLIGHT_SHOW_ALL)??!0)!==n&&this.#H([[$e.HIGHLIGHT_SHOW_ALL,n]])}enableWaiting(t=!1){if(this.#R!==t){this.#R=t;for(let n of this.#i.values())t?n.disableClick():n.enableClick(),n.div.classList.toggle("waiting",t)}}async#ot(){if(!this.#A){this.#A=!0;let t=[];for(let n of this.#i.values())t.push(n.enable());await Promise.all(t);for(let n of this.#n.values())n.enable()}}#st(){if(this.unselectAll(),this.#A){this.#A=!1;for(let t of this.#i.values())t.disable();for(let t of this.#n.values())t.disable()}}getEditors(t){let n=[];for(let i of this.#n.values())i.pageIndex===t&&n.push(i);return n}getEditor(t){return this.#n.get(t)}addEditor(t){this.#n.set(t.id,t)}removeEditor(t){t.div.contains(document.activeElement)&&(this.#y&&clearTimeout(this.#y),this.#y=setTimeout(()=>{this.focusMainContainer(),this.#y=null},0)),this.#n.delete(t.id),this.unselect(t),(!t.annotationElementId||!this.#f.has(t.annotationElementId))&&this.#a?.remove(t.id)}addDeletedAnnotationElement(t){this.#f.add(t.annotationElementId),this.addChangedExistingAnnotation(t),t.deleted=!0}isDeletedAnnotationElement(t){return this.#f.has(t)}removeDeletedAnnotationElement(t){this.#f.delete(t.annotationElementId),this.removeChangedExistingAnnotation(t),t.deleted=!1}#Q(t){let n=this.#i.get(t.pageIndex);n?n.addOrRebuild(t):(this.addEditor(t),this.addToAnnotationStorage(t))}setActiveEditor(t){this.#e!==t&&(this.#e=t,t&&this.#H(t.propertiesToUpdate))}get#lt(){let t=null;for(t of this.#b);return t}updateUI(t){this.#lt===t&&this.#H(t.propertiesToUpdate)}updateUIForDefaultProperties(t){this.#H(t.defaultPropertiesToUpdate)}toggleSelected(t){if(this.#b.has(t)){this.#b.delete(t),t.unselect(),this.#M({hasSelectedEditor:this.hasSelection});return}this.#b.add(t),t.select(),this.#H(t.propertiesToUpdate),this.#M({hasSelectedEditor:!0})}setSelected(t){this.#u?.commitOrRemove();for(let n of this.#b)n!==t&&n.unselect();this.#b.clear(),this.#b.add(t),t.select(),this.#H(t.propertiesToUpdate),this.#M({hasSelectedEditor:!0})}isSelected(t){return this.#b.has(t)}get firstSelectedEditor(){return this.#b.values().next().value}unselect(t){t.unselect(),this.#b.delete(t),this.#M({hasSelectedEditor:this.hasSelection})}get hasSelection(){return this.#b.size!==0}get isEnterHandled(){return this.#b.size===1&&this.firstSelectedEditor.isEnterHandled}undo(){this.#s.undo(),this.#M({hasSomethingToUndo:this.#s.hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:this.#I()}),this._editorUndoBar?.hide()}redo(){this.#s.redo(),this.#M({hasSomethingToUndo:!0,hasSomethingToRedo:this.#s.hasSomethingToRedo(),isEmpty:this.#I()})}addCommands(t){this.#s.add(t),this.#M({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#I()})}cleanUndoStack(t){this.#s.cleanType(t)}#I(){if(this.#n.size===0)return!0;if(this.#n.size===1)for(let t of this.#n.values())return t.isEmpty();return!1}delete(){this.commitOrRemove();let t=this.currentLayer?.endDrawingSession(!0);if(!this.hasSelection&&!t)return;let n=t?[t]:[...this.#b],i=()=>{this._editorUndoBar?.show(r,n.length===1?n[0].editorType:n.length);for(let s of n)s.remove()},r=()=>{for(let s of n)this.#Q(s)};this.addCommands({cmd:i,undo:r,mustExec:!0})}commitOrRemove(){this.#e?.commitOrRemove()}hasSomethingToControl(){return this.#e||this.hasSelection}#J(t){for(let n of this.#b)n.unselect();this.#b.clear();for(let n of t)n.isEmpty()||(this.#b.add(n),n.select());this.#M({hasSelectedEditor:this.hasSelection})}selectAll(){for(let t of this.#b)t.commit();this.#J(this.#n.values())}unselectAll(){if(!(this.#e&&(this.#e.commitOrRemove(),this.#E!==ze.NONE))&&!this.#u?.commitOrRemove()&&this.hasSelection){for(let t of this.#b)t.unselect();this.#b.clear(),this.#M({hasSelectedEditor:!1})}}translateSelectedEditors(t,n,i=!1){if(i||this.commitOrRemove(),!this.hasSelection)return;this.#P[0]+=t,this.#P[1]+=n;let[r,s]=this.#P,l=[...this.#b],c=1e3;this.#k&&clearTimeout(this.#k),this.#k=setTimeout(()=>{this.#k=null,this.#P[0]=this.#P[1]=0,this.addCommands({cmd:()=>{for(let d of l)this.#n.has(d.id)&&d.translateInPage(r,s)},undo:()=>{for(let d of l)this.#n.has(d.id)&&d.translateInPage(-r,-s)},mustExec:!1})},c);for(let d of l)d.translateInPage(t,n)}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),this.#h=new Map;for(let t of this.#b)this.#h.set(t,{savedX:t.x,savedY:t.y,savedPageIndex:t.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!this.#h)return!1;this.disableUserSelect(!1);let t=this.#h;this.#h=null;let n=!1;for(let[{x:r,y:s,pageIndex:l},c]of t)c.newX=r,c.newY=s,c.newPageIndex=l,n||=r!==c.savedX||s!==c.savedY||l!==c.savedPageIndex;if(!n)return!1;let i=(r,s,l,c)=>{if(this.#n.has(r.id)){let d=this.#i.get(c);d?r._setParentAndPosition(d,s,l):(r.pageIndex=c,r.x=s,r.y=l)}};return this.addCommands({cmd:()=>{for(let[r,{newX:s,newY:l,newPageIndex:c}]of t)i(r,s,l,c)},undo:()=>{for(let[r,{savedX:s,savedY:l,savedPageIndex:c}]of t)i(r,s,l,c)},mustExec:!0}),!0}dragSelectedEditors(t,n){if(this.#h)for(let i of this.#h.keys())i.drag(t,n)}rebuild(t){if(t.parent===null){let n=this.getLayer(t.pageIndex);n?(n.changeParent(t),n.addOrRebuild(t)):(this.addEditor(t),this.addToAnnotationStorage(t),t.rebuild())}else t.parent.addOrRebuild(t)}get isEditorHandlingKeyboard(){return this.getActive()?.shouldGetKeyboardEvents()||this.#b.size===1&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(t){return this.#e===t}getActive(){return this.#e}getMode(){return this.#E}get imageManager(){return qe(this,"imageManager",new WM)}getSelectionBoxes(t){if(!t)return null;let n=document.getSelection();for(let h=0,p=n.rangeCount;h<p;h++)if(!t.contains(n.getRangeAt(h).commonAncestorContainer))return null;let{x:i,y:r,width:s,height:l}=t.getBoundingClientRect(),c;switch(t.getAttribute("data-main-rotation")){case"90":c=(h,p,y,g)=>({x:(p-r)/l,y:1-(h+y-i)/s,width:g/l,height:y/s});break;case"180":c=(h,p,y,g)=>({x:1-(h+y-i)/s,y:1-(p+g-r)/l,width:y/s,height:g/l});break;case"270":c=(h,p,y,g)=>({x:1-(p+g-r)/l,y:(h-i)/s,width:g/l,height:y/s});break;default:c=(h,p,y,g)=>({x:(h-i)/s,y:(p-r)/l,width:y/s,height:g/l});break}let d=[];for(let h=0,p=n.rangeCount;h<p;h++){let y=n.getRangeAt(h);if(!y.collapsed)for(let{x:g,y:b,width:S,height:w}of y.getClientRects())S===0||w===0||d.push(c(g,b,S,w))}return d.length===0?null:d}addChangedExistingAnnotation({annotationElementId:t,id:n}){(this.#l||=new Map).set(t,n)}removeChangedExistingAnnotation({annotationElementId:t}){this.#l?.delete(t)}renderAnnotationElement(t){let n=this.#l?.get(t.data.id);if(!n)return;let i=this.#a.getRawValue(n);i&&(this.#E===ze.NONE&&!i.hasBeenModified||i.renderAnnotationElement(t))}},iw=class e{#t=null;#e=!1;#n=null;#i=null;#r=null;#a=null;#l=!1;#s=null;#c=null;#u=null;#d=null;#f=!1;static#h=null;static _l10n=null;constructor(t){this.#c=t,this.#f=t._uiManager.useNewAltTextFlow,e.#h||=Object.freeze({added:"pdfjs-editor-new-alt-text-added-button","added-label":"pdfjs-editor-new-alt-text-added-button-label",missing:"pdfjs-editor-new-alt-text-missing-button","missing-label":"pdfjs-editor-new-alt-text-missing-button-label",review:"pdfjs-editor-new-alt-text-to-review-button","review-label":"pdfjs-editor-new-alt-text-to-review-button-label"})}static initialize(t){e._l10n??=t}async render(){let t=this.#n=document.createElement("button");t.className="altText",t.tabIndex="0";let n=this.#i=document.createElement("span");t.append(n),this.#f?(t.classList.add("new"),t.setAttribute("data-l10n-id",e.#h.missing),n.setAttribute("data-l10n-id",e.#h["missing-label"])):(t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button"),n.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button-label"));let i=this.#c._uiManager._signal;t.addEventListener("contextmenu",Es,{signal:i}),t.addEventListener("pointerdown",s=>s.stopPropagation(),{signal:i});let r=s=>{s.preventDefault(),this.#c._uiManager.editAltText(this.#c),this.#f&&this.#c._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_clicked",data:{label:this.#o}})};return t.addEventListener("click",r,{capture:!0,signal:i}),t.addEventListener("keydown",s=>{s.target===t&&s.key==="Enter"&&(this.#l=!0,r(s))},{signal:i}),await this.#p(),t}get#o(){return this.#t&&"added"||this.#t===null&&this.guessedText&&"review"||"missing"}finish(){this.#n&&(this.#n.focus({focusVisible:this.#l}),this.#l=!1)}isEmpty(){return this.#f?this.#t===null:!this.#t&&!this.#e}hasData(){return this.#f?this.#t!==null||!!this.#u:this.isEmpty()}get guessedText(){return this.#u}async setGuessedText(t){this.#t===null&&(this.#u=t,this.#d=await e._l10n.get("pdfjs-editor-new-alt-text-generated-alt-text-with-disclaimer",{generatedAltText:t}),this.#p())}toggleAltTextBadge(t=!1){if(!this.#f||this.#t){this.#s?.remove(),this.#s=null;return}if(!this.#s){let n=this.#s=document.createElement("div");n.className="noAltTextBadge",this.#c.div.append(n)}this.#s.classList.toggle("hidden",!t)}serialize(t){let n=this.#t;return!t&&this.#u===n&&(n=this.#d),{altText:n,decorative:this.#e,guessedText:this.#u,textWithDisclaimer:this.#d}}get data(){return{altText:this.#t,decorative:this.#e}}set data({altText:t,decorative:n,guessedText:i,textWithDisclaimer:r,cancel:s=!1}){i&&(this.#u=i,this.#d=r),!(this.#t===t&&this.#e===n)&&(s||(this.#t=t,this.#e=n),this.#p())}toggle(t=!1){this.#n&&(!t&&this.#a&&(clearTimeout(this.#a),this.#a=null),this.#n.disabled=!t)}shown(){this.#c._reportTelemetry({action:"pdfjs.image.alt_text.image_status_label_displayed",data:{label:this.#o}})}destroy(){this.#n?.remove(),this.#n=null,this.#i=null,this.#r=null,this.#s?.remove(),this.#s=null}async#p(){let t=this.#n;if(!t)return;if(this.#f){if(t.classList.toggle("done",!!this.#t),t.setAttribute("data-l10n-id",e.#h[this.#o]),this.#i?.setAttribute("data-l10n-id",e.#h[`${this.#o}-label`]),!this.#t){this.#r?.remove();return}}else{if(!this.#t&&!this.#e){t.classList.remove("done"),this.#r?.remove();return}t.classList.add("done"),t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-edit-button")}let n=this.#r;if(!n){this.#r=n=document.createElement("span"),n.className="tooltip",n.setAttribute("role","tooltip"),n.id=`alt-text-tooltip-${this.#c.id}`;let r=100,s=this.#c._uiManager._signal;s.addEventListener("abort",()=>{clearTimeout(this.#a),this.#a=null},{once:!0}),t.addEventListener("mouseenter",()=>{this.#a=setTimeout(()=>{this.#a=null,this.#r.classList.add("show"),this.#c._reportTelemetry({action:"alt_text_tooltip"})},r)},{signal:s}),t.addEventListener("mouseleave",()=>{this.#a&&(clearTimeout(this.#a),this.#a=null),this.#r?.classList.remove("show")},{signal:s})}this.#e?n.setAttribute("data-l10n-id","pdfjs-editor-alt-text-decorative-tooltip"):(n.removeAttribute("data-l10n-id"),n.textContent=this.#t),n.parentNode||t.append(n),this.#c.getImageForAltText()?.setAttribute("aria-describedby",n.id)}},aw=class e{#t;#e=!1;#n=null;#i;#r;#a;#l;#s;#c=null;#u;#d=null;constructor({container:t,isPinchingDisabled:n=null,isPinchingStopped:i=null,onPinchStart:r=null,onPinching:s=null,onPinchEnd:l=null,signal:c}){this.#t=t,this.#n=i,this.#i=n,this.#r=r,this.#a=s,this.#l=l,this.#u=new AbortController,this.#s=AbortSignal.any([c,this.#u.signal]),t.addEventListener("touchstart",this.#f.bind(this),{passive:!1,signal:this.#s})}get MIN_TOUCH_DISTANCE_TO_PINCH(){return qe(this,"MIN_TOUCH_DISTANCE_TO_PINCH",35/(window.devicePixelRatio||1))}#f(t){if(this.#i?.()||t.touches.length<2)return;if(!this.#d){this.#d=new AbortController;let r=AbortSignal.any([this.#s,this.#d.signal]),s=this.#t,l={signal:r,passive:!1};s.addEventListener("touchmove",this.#h.bind(this),l),s.addEventListener("touchend",this.#o.bind(this),l),s.addEventListener("touchcancel",this.#o.bind(this),l),this.#r?.()}if(uo(t),t.touches.length!==2||this.#n?.()){this.#c=null;return}let[n,i]=t.touches;n.identifier>i.identifier&&([n,i]=[i,n]),this.#c={touch0X:n.screenX,touch0Y:n.screenY,touch1X:i.screenX,touch1Y:i.screenY}}#h(t){if(!this.#c||t.touches.length!==2)return;let[n,i]=t.touches;n.identifier>i.identifier&&([n,i]=[i,n]);let{screenX:r,screenY:s}=n,{screenX:l,screenY:c}=i,d=this.#c,{touch0X:h,touch0Y:p,touch1X:y,touch1Y:g}=d,b=y-h,S=g-p,w=l-r,D=c-s,A=Math.hypot(w,D)||1,T=Math.hypot(b,S)||1;if(!this.#e&&Math.abs(T-A)<=e.MIN_TOUCH_DISTANCE_TO_PINCH)return;if(d.touch0X=r,d.touch0Y=s,d.touch1X=l,d.touch1Y=c,t.preventDefault(),!this.#e){this.#e=!0;return}let C=[(r+l)/2,(s+c)/2];this.#a?.(C,T,A)}#o(t){this.#d.abort(),this.#d=null,this.#l?.(),this.#c&&(t.preventDefault(),this.#c=null,this.#e=!1)}destroy(){this.#u?.abort(),this.#u=null}},ai=class e{#t=null;#e=null;#n=null;#i=!1;#r=null;#a="";#l=!1;#s=null;#c=null;#u=null;#d=null;#f="";#h=!1;#o=null;#p=!1;#g=!1;#m=!1;#v=null;#S=0;#y=0;#x=null;#w=null;_editToolbar=null;_initialOptions=Object.create(null);_initialData=null;_isVisible=!0;_uiManager=null;_focusEventsAllowed=!0;static _l10n=null;static _l10nResizer=null;#T=!1;#D=e._zIndex++;static _borderLineWidth=-1;static _colorManager=new JM;static _zIndex=1;static _telemetryTimeout=1e3;static get _resizerKeyboardManager(){let t=e.prototype._resizeWithKeyboard,n=oh.TRANSLATE_SMALL,i=oh.TRANSLATE_BIG;return qe(this,"_resizerKeyboardManager",new rh([[["ArrowLeft","mac+ArrowLeft"],t,{args:[-n,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t,{args:[-i,0]}],[["ArrowRight","mac+ArrowRight"],t,{args:[n,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t,{args:[i,0]}],[["ArrowUp","mac+ArrowUp"],t,{args:[0,-n]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t,{args:[0,-i]}],[["ArrowDown","mac+ArrowDown"],t,{args:[0,n]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t,{args:[0,i]}],[["Escape","mac+Escape"],e.prototype._stopResizingWithKeyboard]]))}constructor(t){this.parent=t.parent,this.id=t.id,this.width=this.height=null,this.pageIndex=t.parent.pageIndex,this.name=t.name,this.div=null,this._uiManager=t.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=t.isCentered,this._structTreeParentId=null;let{rotation:n,rawDims:{pageWidth:i,pageHeight:r,pageX:s,pageY:l}}=this.parent.viewport;this.rotation=n,this.pageRotation=(360+n-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[i,r],this.pageTranslation=[s,l];let[c,d]=this.parentDimensions;this.x=t.x/c,this.y=t.y/d,this.isAttachedToDOM=!1,this.deleted=!1}get editorType(){return Object.getPrototypeOf(this).constructor._type}static get isDrawer(){return!1}static get _defaultLineColor(){return qe(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(t){let n=new $M({id:t.parent.getNextId(),parent:t.parent,uiManager:t._uiManager});n.annotationElementId=t.annotationElementId,n.deleted=!0,n._uiManager.addToAnnotationStorage(n)}static initialize(t,n){if(e._l10n??=t,e._l10nResizer||=Object.freeze({topLeft:"pdfjs-editor-resizer-top-left",topMiddle:"pdfjs-editor-resizer-top-middle",topRight:"pdfjs-editor-resizer-top-right",middleRight:"pdfjs-editor-resizer-middle-right",bottomRight:"pdfjs-editor-resizer-bottom-right",bottomMiddle:"pdfjs-editor-resizer-bottom-middle",bottomLeft:"pdfjs-editor-resizer-bottom-left",middleLeft:"pdfjs-editor-resizer-middle-left"}),e._borderLineWidth!==-1)return;let i=getComputedStyle(document.documentElement);e._borderLineWidth=parseFloat(i.getPropertyValue("--outline-width"))||0}static updateDefaultParams(t,n){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(t){return!1}static paste(t,n){Mn("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return this.#T}set _isDraggable(t){this.#T=t,this.div?.classList.toggle("draggable",t)}get isEnterHandled(){return!0}center(){let[t,n]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*n/(t*2),this.y+=this.width*t/(n*2);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*n/(t*2),this.y-=this.width*t/(n*2);break;default:this.x-=this.width/2,this.y-=this.height/2;break}this.fixAndSetPosition()}addCommands(t){this._uiManager.addCommands(t)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#D}setParent(t){t!==null?(this.pageIndex=t.pageIndex,this.pageDimensions=t.pageDimensions):this.#B(),this.parent=t}focusin(t){this._focusEventsAllowed&&(this.#h?this.#h=!1:this.parent.setSelected(this))}focusout(t){!this._focusEventsAllowed||!this.isAttachedToDOM||t.relatedTarget?.closest(`#${this.id}`)||(t.preventDefault(),this.parent?.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(t,n,i,r){let[s,l]=this.parentDimensions;[i,r]=this.screenToPageTranslation(i,r),this.x=(t+i)/s,this.y=(n+r)/l,this.fixAndSetPosition()}#O([t,n],i,r){[i,r]=this.screenToPageTranslation(i,r),this.x+=i/t,this.y+=r/n,this._onTranslating(this.x,this.y),this.fixAndSetPosition()}translate(t,n){this.#O(this.parentDimensions,t,n)}translateInPage(t,n){this.#o||=[this.x,this.y,this.width,this.height],this.#O(this.pageDimensions,t,n),this.div.scrollIntoView({block:"nearest"})}drag(t,n){this.#o||=[this.x,this.y,this.width,this.height];let{div:i,parentDimensions:[r,s]}=this;if(this.x+=t/r,this.y+=n/s,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){let{x:y,y:g}=this.div.getBoundingClientRect();this.parent.findNewParent(this,y,g)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:l,y:c}=this,[d,h]=this.getBaseTranslation();l+=d,c+=h;let{style:p}=i;p.left=`${(100*l).toFixed(2)}%`,p.top=`${(100*c).toFixed(2)}%`,this._onTranslating(l,c),i.scrollIntoView({block:"nearest"})}_onTranslating(t,n){}_onTranslated(t,n){}get _hasBeenMoved(){return!!this.#o&&(this.#o[0]!==this.x||this.#o[1]!==this.y)}get _hasBeenResized(){return!!this.#o&&(this.#o[2]!==this.width||this.#o[3]!==this.height)}getBaseTranslation(){let[t,n]=this.parentDimensions,{_borderLineWidth:i}=e,r=i/t,s=i/n;switch(this.rotation){case 90:return[-r,s];case 180:return[r,s];case 270:return[r,-s];default:return[-r,-s]}}get _mustFixPosition(){return!0}fixAndSetPosition(t=this.rotation){let{div:{style:n},pageDimensions:[i,r]}=this,{x:s,y:l,width:c,height:d}=this;if(c*=i,d*=r,s*=i,l*=r,this._mustFixPosition)switch(t){case 0:s=Math.max(0,Math.min(i-c,s)),l=Math.max(0,Math.min(r-d,l));break;case 90:s=Math.max(0,Math.min(i-d,s)),l=Math.min(r,Math.max(c,l));break;case 180:s=Math.min(i,Math.max(c,s)),l=Math.min(r,Math.max(d,l));break;case 270:s=Math.min(i,Math.max(d,s)),l=Math.max(0,Math.min(r-c,l));break}this.x=s/=i,this.y=l/=r;let[h,p]=this.getBaseTranslation();s+=h,l+=p,n.left=`${(100*s).toFixed(2)}%`,n.top=`${(100*l).toFixed(2)}%`,this.moveInDOM()}static#A(t,n,i){switch(i){case 90:return[n,-t];case 180:return[-t,-n];case 270:return[-n,t];default:return[t,n]}}screenToPageTranslation(t,n){return e.#A(t,n,this.parentRotation)}pageTranslationToScreen(t,n){return e.#A(t,n,360-this.parentRotation)}#R(t){switch(t){case 90:{let[n,i]=this.pageDimensions;return[0,-n/i,i/n,0]}case 180:return[-1,0,0,-1];case 270:{let[n,i]=this.pageDimensions;return[0,n/i,-i/n,0]}default:return[1,0,0,1]}}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){let{parentScale:t,pageDimensions:[n,i]}=this;return[n*t,i*t]}setDims(t,n){let[i,r]=this.parentDimensions,{style:s}=this.div;s.width=`${(100*t/i).toFixed(2)}%`,this.#l||(s.height=`${(100*n/r).toFixed(2)}%`)}fixDims(){let{style:t}=this.div,{height:n,width:i}=t,r=i.endsWith("%"),s=!this.#l&&n.endsWith("%");if(r&&s)return;let[l,c]=this.parentDimensions;r||(t.width=`${(100*parseFloat(i)/l).toFixed(2)}%`),!this.#l&&!s&&(t.height=`${(100*parseFloat(n)/c).toFixed(2)}%`)}getInitialTranslation(){return[0,0]}#C(){if(this.#s)return;this.#s=document.createElement("div"),this.#s.classList.add("resizers");let t=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],n=this._uiManager._signal;for(let i of t){let r=document.createElement("div");this.#s.append(r),r.classList.add("resizer",i),r.setAttribute("data-resizer-name",i),r.addEventListener("pointerdown",this.#_.bind(this,i),{signal:n}),r.addEventListener("contextmenu",Es,{signal:n}),r.tabIndex=-1}this.div.prepend(this.#s)}#_(t,n){n.preventDefault();let{isMac:i}=xa.platform;if(n.button!==0||n.ctrlKey&&i)return;this.#n?.toggle(!1);let r=this._isDraggable;this._isDraggable=!1,this.#c=[n.screenX,n.screenY];let s=new AbortController,l=this._uiManager.combinedSignal(s);this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",this.#E.bind(this,t),{passive:!0,capture:!0,signal:l}),window.addEventListener("touchmove",uo,{passive:!1,signal:l}),window.addEventListener("contextmenu",Es,{signal:l}),this.#u={savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height};let c=this.parent.div.style.cursor,d=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(n.target).cursor;let h=()=>{s.abort(),this.parent.togglePointerEvents(!0),this.#n?.toggle(!0),this._isDraggable=r,this.parent.div.style.cursor=c,this.div.style.cursor=d,this.#L()};window.addEventListener("pointerup",h,{signal:l}),window.addEventListener("blur",h,{signal:l})}#z(t,n,i,r){this.width=i,this.height=r,this.x=t,this.y=n;let[s,l]=this.parentDimensions;this.setDims(s*i,l*r),this.fixAndSetPosition(),this._onResized()}_onResized(){}#L(){if(!this.#u)return;let{savedX:t,savedY:n,savedWidth:i,savedHeight:r}=this.#u;this.#u=null;let s=this.x,l=this.y,c=this.width,d=this.height;s===t&&l===n&&c===i&&d===r||this.addCommands({cmd:this.#z.bind(this,s,l,c,d),undo:this.#z.bind(this,t,n,i,r),mustExec:!0})}static _round(t){return Math.round(t*1e4)/1e4}#E(t,n){let[i,r]=this.parentDimensions,s=this.x,l=this.y,c=this.width,d=this.height,h=e.MIN_SIZE/i,p=e.MIN_SIZE/r,y=this.#R(this.rotation),g=(tt,K)=>[y[0]*tt+y[2]*K,y[1]*tt+y[3]*K],b=this.#R(360-this.rotation),S=(tt,K)=>[b[0]*tt+b[2]*K,b[1]*tt+b[3]*K],w,D,A=!1,T=!1;switch(t){case"topLeft":A=!0,w=(tt,K)=>[0,0],D=(tt,K)=>[tt,K];break;case"topMiddle":w=(tt,K)=>[tt/2,0],D=(tt,K)=>[tt/2,K];break;case"topRight":A=!0,w=(tt,K)=>[tt,0],D=(tt,K)=>[0,K];break;case"middleRight":T=!0,w=(tt,K)=>[tt,K/2],D=(tt,K)=>[0,K/2];break;case"bottomRight":A=!0,w=(tt,K)=>[tt,K],D=(tt,K)=>[0,0];break;case"bottomMiddle":w=(tt,K)=>[tt/2,K],D=(tt,K)=>[tt/2,0];break;case"bottomLeft":A=!0,w=(tt,K)=>[0,K],D=(tt,K)=>[tt,0];break;case"middleLeft":T=!0,w=(tt,K)=>[0,K/2],D=(tt,K)=>[tt,K/2];break}let C=w(c,d),O=D(c,d),M=g(...O),k=e._round(s+M[0]),z=e._round(l+M[1]),P=1,U=1,B,W;if(n.fromKeyboard)({deltaX:B,deltaY:W}=n);else{let{screenX:tt,screenY:K}=n,[wt,Ct]=this.#c;[B,W]=this.screenToPageTranslation(tt-wt,K-Ct),this.#c[0]=tt,this.#c[1]=K}if([B,W]=S(B/i,W/r),A){let tt=Math.hypot(c,d);P=U=Math.max(Math.min(Math.hypot(O[0]-C[0]-B,O[1]-C[1]-W)/tt,1/c,1/d),h/c,p/d)}else T?P=Math.max(h,Math.min(1,Math.abs(O[0]-C[0]-B)))/c:U=Math.max(p,Math.min(1,Math.abs(O[1]-C[1]-W)))/d;let Y=e._round(c*P),ot=e._round(d*U);M=g(...D(Y,ot));let ft=k-M[0],$=z-M[1];this.#o||=[this.x,this.y,this.width,this.height],this.width=Y,this.height=ot,this.x=ft,this.y=$,this.setDims(i*Y,r*ot),this.fixAndSetPosition(),this._onResizing()}_onResizing(){}altTextFinish(){this.#n?.finish()}async addEditToolbar(){return this._editToolbar||this.#g?this._editToolbar:(this._editToolbar=new YM(this),this.div.append(this._editToolbar.render()),this.#n&&await this._editToolbar.addAltText(this.#n),this._editToolbar)}removeEditToolbar(){this._editToolbar&&(this._editToolbar.remove(),this._editToolbar=null,this.#n?.destroy())}addContainer(t){let n=this._editToolbar?.div;n?n.before(t):this.div.append(t)}getClientDimensions(){return this.div.getBoundingClientRect()}async addAltTextButton(){this.#n||(iw.initialize(e._l10n),this.#n=new iw(this),this.#t&&(this.#n.data=this.#t,this.#t=null),await this.addEditToolbar())}get altTextData(){return this.#n?.data}set altTextData(t){this.#n&&(this.#n.data=t)}get guessedAltText(){return this.#n?.guessedText}async setGuessedAltText(t){await this.#n?.setGuessedText(t)}serializeAltText(t){return this.#n?.serialize(t)}hasAltText(){return!!this.#n&&!this.#n.isEmpty()}hasAltTextData(){return this.#n?.hasData()??!1}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.tabIndex=this.#i?-1:0,this._isVisible||this.div.classList.add("hidden"),this.setInForeground(),this.#P();let[t,n]=this.parentDimensions;this.parentRotation%180!==0&&(this.div.style.maxWidth=`${(100*n/t).toFixed(2)}%`,this.div.style.maxHeight=`${(100*t/n).toFixed(2)}%`);let[i,r]=this.getInitialTranslation();return this.translate(i,r),nw(this,this.div,["pointerdown"]),this.isResizable&&this._uiManager._supportsPinchToZoom&&(this.#w||=new aw({container:this.div,isPinchingDisabled:()=>!this.isSelected,onPinchStart:this.#b.bind(this),onPinching:this.#N.bind(this),onPinchEnd:this.#j.bind(this),signal:this._uiManager._signal})),this._uiManager._editorUndoBar?.hide(),this.div}#b(){this.#u={savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height},this.#n?.toggle(!1),this.parent.togglePointerEvents(!1)}#N(t,n,i){let s=.7*(i/n)+1-.7;if(s===1)return;let l=this.#R(this.rotation),c=(k,z)=>[l[0]*k+l[2]*z,l[1]*k+l[3]*z],[d,h]=this.parentDimensions,p=this.x,y=this.y,g=this.width,b=this.height,S=e.MIN_SIZE/d,w=e.MIN_SIZE/h;s=Math.max(Math.min(s,1/g,1/b),S/g,w/b);let D=e._round(g*s),A=e._round(b*s);if(D===g&&A===b)return;this.#o||=[p,y,g,b];let T=c(g/2,b/2),C=e._round(p+T[0]),O=e._round(y+T[1]),M=c(D/2,A/2);this.x=C-M[0],this.y=O-M[1],this.width=D,this.height=A,this.setDims(d*D,h*A),this.fixAndSetPosition(),this._onResizing()}#j(){this.#n?.toggle(!0),this.parent.togglePointerEvents(!0),this.#L()}pointerdown(t){let{isMac:n}=xa.platform;if(t.button!==0||t.ctrlKey&&n){t.preventDefault();return}if(this.#h=!0,this._isDraggable){this.#V(t);return}this.#q(t)}get isSelected(){return this._uiManager.isSelected(this)}#q(t){let{isMac:n}=xa.platform;t.ctrlKey&&!n||t.shiftKey||t.metaKey&&n?this.parent.toggleSelected(this):this.parent.setSelected(this)}#V(t){let{isSelected:n}=this;this._uiManager.setUpDragSession();let i=!1,r=new AbortController,s=this._uiManager.combinedSignal(r),l={capture:!0,passive:!1,signal:s},c=h=>{r.abort(),this.#r=null,this.#h=!1,this._uiManager.endDragSession()||this.#q(h),i&&this._onStopDragging()};n&&(this.#S=t.clientX,this.#y=t.clientY,this.#r=t.pointerId,this.#a=t.pointerType,window.addEventListener("pointermove",h=>{i||(i=!0,this._onStartDragging());let{clientX:p,clientY:y,pointerId:g}=h;if(g!==this.#r){uo(h);return}let[b,S]=this.screenToPageTranslation(p-this.#S,y-this.#y);this.#S=p,this.#y=y,this._uiManager.dragSelectedEditors(b,S)},l),window.addEventListener("touchmove",uo,l),window.addEventListener("pointerdown",h=>{h.pointerType===this.#a&&(this.#w||h.isPrimary)&&c(h),uo(h)},l));let d=h=>{if(!this.#r||this.#r===h.pointerId){c(h);return}uo(h)};window.addEventListener("pointerup",d,{signal:s}),window.addEventListener("blur",d,{signal:s})}_onStartDragging(){}_onStopDragging(){}moveInDOM(){this.#v&&clearTimeout(this.#v),this.#v=setTimeout(()=>{this.#v=null,this.parent?.moveEditorInDOM(this)},0)}_setParentAndPosition(t,n,i){t.changeParent(this),this.x=n,this.y=i,this.fixAndSetPosition(),this._onTranslated()}getRect(t,n,i=this.rotation){let r=this.parentScale,[s,l]=this.pageDimensions,[c,d]=this.pageTranslation,h=t/r,p=n/r,y=this.x*s,g=this.y*l,b=this.width*s,S=this.height*l;switch(i){case 0:return[y+h+c,l-g-p-S+d,y+h+b+c,l-g-p+d];case 90:return[y+p+c,l-g+h+d,y+p+S+c,l-g+h+b+d];case 180:return[y-h-b+c,l-g+p+d,y-h+c,l-g+p+S+d];case 270:return[y-p-S+c,l-g-h-b+d,y-p+c,l-g-h+d];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(t,n){let[i,r,s,l]=t,c=s-i,d=l-r;switch(this.rotation){case 0:return[i,n-l,c,d];case 90:return[i,n-r,d,c];case 180:return[s,n-r,c,d];case 270:return[s,n-l,d,c];default:throw new Error("Invalid rotation")}}onceAdded(t){}isEmpty(){return!1}enableEditMode(){this.#g=!0}disableEditMode(){this.#g=!1}isInEditMode(){return this.#g}shouldGetKeyboardEvents(){return this.#m}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}get isOnScreen(){let{top:t,left:n,bottom:i,right:r}=this.getClientDimensions(),{innerHeight:s,innerWidth:l}=window;return n<l&&r>0&&t<s&&i>0}#P(){if(this.#d||!this.div)return;this.#d=new AbortController;let t=this._uiManager.combinedSignal(this.#d);this.div.addEventListener("focusin",this.focusin.bind(this),{signal:t}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:t})}rebuild(){this.#P()}rotate(t){}resize(){}serializeDeleted(){return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:this._initialData?.popupRef||""}}serialize(t=!1,n=null){Mn("An editor must be serializable")}static async deserialize(t,n,i){let r=new this.prototype.constructor({parent:n,id:n.getNextId(),uiManager:i});r.rotation=t.rotation,r.#t=t.accessibilityData;let[s,l]=r.pageDimensions,[c,d,h,p]=r.getRectInCurrentCoords(t.rect,l);return r.x=c/s,r.y=d/l,r.width=h/s,r.height=p/l,r}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||this.serialize()!==null)}remove(){if(this.#d?.abort(),this.#d=null,this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),this.#v&&(clearTimeout(this.#v),this.#v=null),this.#B(),this.removeEditToolbar(),this.#x){for(let t of this.#x.values())clearTimeout(t);this.#x=null}this.parent=null,this.#w?.destroy(),this.#w=null}get isResizable(){return!1}makeResizable(){this.isResizable&&(this.#C(),this.#s.classList.remove("hidden"),nw(this,this.div,["keydown"]))}get toolbarPosition(){return null}keydown(t){if(!this.isResizable||t.target!==this.div||t.key!=="Enter")return;this._uiManager.setSelected(this),this.#u={savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height};let n=this.#s.children;if(!this.#e){this.#e=Array.from(n);let l=this.#k.bind(this),c=this.#U.bind(this),d=this._uiManager._signal;for(let h of this.#e){let p=h.getAttribute("data-resizer-name");h.setAttribute("role","spinbutton"),h.addEventListener("keydown",l,{signal:d}),h.addEventListener("blur",c,{signal:d}),h.addEventListener("focus",this.#G.bind(this,p),{signal:d}),h.setAttribute("data-l10n-id",e._l10nResizer[p])}}let i=this.#e[0],r=0;for(let l of n){if(l===i)break;r++}let s=(360-this.rotation+this.parentRotation)%360/90*(this.#e.length/4);if(s!==r){if(s<r)for(let c=0;c<r-s;c++)this.#s.append(this.#s.firstChild);else if(s>r)for(let c=0;c<s-r;c++)this.#s.firstChild.before(this.#s.lastChild);let l=0;for(let c of n){let h=this.#e[l++].getAttribute("data-resizer-name");c.setAttribute("data-l10n-id",e._l10nResizer[h])}}this.#F(0),this.#m=!0,this.#s.firstChild.focus({focusVisible:!0}),t.preventDefault(),t.stopImmediatePropagation()}#k(t){e._resizerKeyboardManager.exec(this,t)}#U(t){this.#m&&t.relatedTarget?.parentNode!==this.#s&&this.#B()}#G(t){this.#f=this.#m?t:""}#F(t){if(this.#e)for(let n of this.#e)n.tabIndex=t}_resizeWithKeyboard(t,n){this.#m&&this.#E(this.#f,{deltaX:t,deltaY:n,fromKeyboard:!0})}#B(){this.#m=!1,this.#F(-1),this.#L()}_stopResizingWithKeyboard(){this.#B(),this.div.focus()}select(){if(this.makeResizable(),this.div?.classList.add("selectedEditor"),!this._editToolbar){this.addEditToolbar().then(()=>{this.div?.classList.contains("selectedEditor")&&this._editToolbar?.show()});return}this._editToolbar?.show(),this.#n?.toggleAltTextBadge(!1)}unselect(){this.#s?.classList.add("hidden"),this.div?.classList.remove("selectedEditor"),this.div?.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),this._editToolbar?.hide(),this.#n?.toggleAltTextBadge(!0)}updateParams(t,n){}disableEditing(){}enableEditing(){}enterInEditMode(){}getImageForAltText(){return null}get contentDiv(){return this.div}get isEditing(){return this.#p}set isEditing(t){this.#p=t,this.parent&&(t?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}setAspectRatio(t,n){this.#l=!0;let i=t/n,{style:r}=this.div;r.aspectRatio=i,r.height="auto"}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(t,n=!1){if(n){this.#x||=new Map;let{action:i}=t,r=this.#x.get(i);r&&clearTimeout(r),r=setTimeout(()=>{this._reportTelemetry(t),this.#x.delete(i),this.#x.size===0&&(this.#x=null)},e._telemetryTimeout),this.#x.set(i,r);return}t.type||=this.editorType,this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:t}})}show(t=this._isVisible){this.div.classList.toggle("hidden",!t),this._isVisible=t}enable(){this.div&&(this.div.tabIndex=0),this.#i=!1}disable(){this.div&&(this.div.tabIndex=-1),this.#i=!0}renderAnnotationElement(t){let n=t.container.querySelector(".annotationContent");if(!n)n=document.createElement("div"),n.classList.add("annotationContent",this.editorType),t.container.prepend(n);else if(n.nodeName==="CANVAS"){let i=n;n=document.createElement("div"),n.classList.add("annotationContent",this.editorType),i.before(n)}return n}resetAnnotationElement(t){let{firstChild:n}=t.container;n?.nodeName==="DIV"&&n.classList.contains("annotationContent")&&n.remove()}},$M=class extends ai{constructor(t){super(t),this.annotationElementId=t.annotationElementId,this.deleted=!0}serialize(){return this.serializeDeleted()}},uj=3285377520,Vo=4294901760,gl=65535,rw=class{constructor(t){this.h1=t?t&4294967295:uj,this.h2=t?t&4294967295:uj}update(t){let n,i;if(typeof t=="string"){n=new Uint8Array(t.length*2),i=0;for(let w=0,D=t.length;w<D;w++){let A=t.charCodeAt(w);A<=255?n[i++]=A:(n[i++]=A>>>8,n[i++]=A&255)}}else if(ArrayBuffer.isView(t))n=t.slice(),i=n.byteLength;else throw new Error("Invalid data format, must be a string or TypedArray.");let r=i>>2,s=i-r*4,l=new Uint32Array(n.buffer,0,r),c=0,d=0,h=this.h1,p=this.h2,y=3432918353,g=461845907,b=y&gl,S=g≷for(let w=0;w<r;w++)w&1?(c=l[w],c=c*y&Vo|c*b&gl,c=c<<15|c>>>17,c=c*g&Vo|c*S&gl,h^=c,h=h<<13|h>>>19,h=h*5+3864292196):(d=l[w],d=d*y&Vo|d*b&gl,d=d<<15|d>>>17,d=d*g&Vo|d*S&gl,p^=d,p=p<<13|p>>>19,p=p*5+3864292196);switch(c=0,s){case 3:c^=n[r*4+2]<<16;case 2:c^=n[r*4+1]<<8;case 1:c^=n[r*4],c=c*y&Vo|c*b&gl,c=c<<15|c>>>17,c=c*g&Vo|c*S&gl,r&1?h^=c:p^=c}this.h1=h,this.h2=p}hexdigest(){let t=this.h1,n=this.h2;return t^=n>>>1,t=t*3981806797&Vo|t*36045&gl,n=n*4283543511&Vo|((n<<16|t>>>16)*2950163797&Vo)>>>16,t^=n>>>1,t=t*444984403&Vo|t*60499&gl,n=n*3301882366&Vo|((n<<16|t>>>16)*3120437893&Vo)>>>16,t^=n>>>1,(t>>>0).toString(16).padStart(8,"0")+(n>>>0).toString(16).padStart(8,"0")}},t_=Object.freeze({map:null,hash:"",transfer:void 0}),Fy=class{#t=!1;#e=null;#n=new Map;constructor(){this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(t,n){let i=this.#n.get(t);return i===void 0?n:Object.assign(n,i)}getRawValue(t){return this.#n.get(t)}remove(t){if(this.#n.delete(t),this.#n.size===0&&this.resetModified(),typeof this.onAnnotationEditor=="function"){for(let n of this.#n.values())if(n instanceof ai)return;this.onAnnotationEditor(null)}}setValue(t,n){let i=this.#n.get(t),r=!1;if(i!==void 0)for(let[s,l]of Object.entries(n))i[s]!==l&&(r=!0,i[s]=l);else r=!0,this.#n.set(t,n);r&&this.#i(),n instanceof ai&&typeof this.onAnnotationEditor=="function"&&this.onAnnotationEditor(n.constructor._type)}has(t){return this.#n.has(t)}getAll(){return this.#n.size>0?hF(this.#n):null}setAll(t){for(let[n,i]of Object.entries(t))this.setValue(n,i)}get size(){return this.#n.size}#i(){this.#t||(this.#t=!0,typeof this.onSetModified=="function"&&this.onSetModified())}resetModified(){this.#t&&(this.#t=!1,typeof this.onResetModified=="function"&&this.onResetModified())}get print(){return new ow(this)}get serializable(){if(this.#n.size===0)return t_;let t=new Map,n=new rw,i=[],r=Object.create(null),s=!1;for(let[l,c]of this.#n){let d=c instanceof ai?c.serialize(!1,r):c;d&&(t.set(l,d),n.update(`${l}:${JSON.stringify(d)}`),s||=!!d.bitmap)}if(s)for(let l of t.values())l.bitmap&&i.push(l.bitmap);return t.size>0?{map:t,hash:n.hexdigest(),transfer:i}:t_}get editorStats(){let t=null,n=new Map;for(let i of this.#n.values()){if(!(i instanceof ai))continue;let r=i.telemetryFinalData;if(!r)continue;let{type:s}=r;n.has(s)||n.set(s,Object.getPrototypeOf(i).constructor),t||=Object.create(null);let l=t[s]||=new Map;for(let[c,d]of Object.entries(r)){if(c==="type")continue;let h=l.get(c);h||(h=new Map,l.set(c,h));let p=h.get(d)??0;h.set(d,p+1)}}for(let[i,r]of n)t[i]=r.computeTelemetryFinalData(t[i]);return t}resetModifiedIds(){this.#e=null}get modifiedIds(){if(this.#e)return this.#e;let t=[];for(let n of this.#n.values())!(n instanceof ai)||!n.annotationElementId||!n.serialize()||t.push(n.annotationElementId);return this.#e={ids:new Set(t),hash:t.join(",")}}},ow=class extends Fy{#t;constructor(t){super();let{map:n,hash:i,transfer:r}=t.serializable,s=structuredClone(n,r?{transfer:r}:null);this.#t={map:s,hash:i,transfer:r}}get print(){Mn("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#t}get modifiedIds(){return qe(this,"modifiedIds",{ids:new Set,hash:""})}},e_=class{#t=new Set;constructor({ownerDocument:t=globalThis.document,styleElement:n=null}){this._document=t,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(t){this.nativeFontFaces.add(t),this._document.fonts.add(t)}removeNativeFontFace(t){this.nativeFontFaces.delete(t),this._document.fonts.delete(t)}insertRule(t){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));let n=this.styleElement.sheet;n.insertRule(t,n.cssRules.length)}clear(){for(let t of this.nativeFontFaces)this._document.fonts.delete(t);this.nativeFontFaces.clear(),this.#t.clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async loadSystemFont({systemFontInfo:t,_inspectFont:n}){if(!(!t||this.#t.has(t.loadedName))){if(ki(!this.disableFontFace,"loadSystemFont shouldn't be called when `disableFontFace` is set."),this.isFontLoadingAPISupported){let{loadedName:i,src:r,style:s}=t,l=new FontFace(i,r,s);this.addNativeFontFace(l);try{await l.load(),this.#t.add(i),n?.(t)}catch{ke(`Cannot load system font: ${t.baseFontName}, installing it could help to improve PDF rendering.`),this.removeNativeFontFace(l)}return}Mn("Not implemented: loadSystemFont without the Font Loading API.")}}async bind(t){if(t.attached||t.missingFile&&!t.systemFontInfo)return;if(t.attached=!0,t.systemFontInfo){await this.loadSystemFont(t);return}if(this.isFontLoadingAPISupported){let i=t.createNativeFontFace();if(i){this.addNativeFontFace(i);try{await i.loaded}catch(r){throw ke(`Failed to load font '${i.family}': '${r}'.`),t.disableFontFace=!0,r}}return}let n=t.createFontFaceRule();if(n){if(this.insertRule(n),this.isSyncFontLoadingSupported)return;await new Promise(i=>{let r=this._queueLoadingCallback(i);this._prepareFontLoadEvent(t,r)})}}get isFontLoadingAPISupported(){let t=!!this._document?.fonts;return qe(this,"isFontLoadingAPISupported",t)}get isSyncFontLoadingSupported(){let t=!1;return(Ua||typeof navigator<"u"&&typeof navigator?.userAgent=="string"&&/Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent))&&(t=!0),qe(this,"isSyncFontLoadingSupported",t)}_queueLoadingCallback(t){function n(){for(ki(!r.done,"completeRequest() cannot be called twice."),r.done=!0;i.length>0&&i[0].done;){let s=i.shift();setTimeout(s.callback,0)}}let{loadingRequests:i}=this,r={done:!1,complete:n,callback:t};return i.push(r),r}get _loadTestFont(){let t=atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgA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hYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==");return qe(this,"_loadTestFont",t)}_prepareFontLoadEvent(t,n){function i(O,M){return O.charCodeAt(M)<<24|O.charCodeAt(M+1)<<16|O.charCodeAt(M+2)<<8|O.charCodeAt(M+3)&255}function r(O,M,k,z){let P=O.substring(0,M),U=O.substring(M+k);return P+z+U}let s,l,c=this._document.createElement("canvas");c.width=1,c.height=1;let d=c.getContext("2d"),h=0;function p(O,M){if(++h>30){ke("Load test font never loaded."),M();return}if(d.font="30px "+O,d.fillText(".",0,20),d.getImageData(0,0,1,1).data[3]>0){M();return}setTimeout(p.bind(null,O,M))}let y=`lt${Date.now()}${this.loadTestFontId++}`,g=this._loadTestFont;g=r(g,976,y.length,y);let S=16,w=1482184792,D=i(g,S);for(s=0,l=y.length-3;s<l;s+=4)D=D-w+i(y,s)|0;s<y.length&&(D=D-w+i(y+"XXX",s)|0),g=r(g,S,4,EJ(D));let A=`url(data:font/opentype;base64,${btoa(g)});`,T=`@font-face {font-family:"${y}";src:${A}}`;this.insertRule(T);let C=this._document.createElement("div");C.style.visibility="hidden",C.style.width=C.style.height="10px",C.style.position="absolute",C.style.top=C.style.left="0px";for(let O of[t.loadedName,y]){let M=this._document.createElement("span");M.textContent="Hi",M.style.fontFamily=O,C.append(M)}this._document.body.append(C),p(y,()=>{C.remove(),n.complete()})}},n_=class{constructor(t,{disableFontFace:n=!1,fontExtraProperties:i=!1,inspectFont:r=null}){this.compiledGlyphs=Object.create(null);for(let s in t)this[s]=t[s];this.disableFontFace=n===!0,this.fontExtraProperties=i===!0,this._inspectFont=r}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let t;if(!this.cssFontInfo)t=new FontFace(this.loadedName,this.data,{});else{let n={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(n.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace(this.cssFontInfo.fontFamily,this.data,n)}return this._inspectFont?.(this),t}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;let t=`url(data:${this.mimetype};base64,${MJ(this.data)});`,n;if(!this.cssFontInfo)n=`@font-face {font-family:"${this.loadedName}";src:${t}}`;else{let i=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(i+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),n=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${i}src:${t}}`}return this._inspectFont?.(this,t),n}getPathGenerator(t,n){if(this.compiledGlyphs[n]!==void 0)return this.compiledGlyphs[n];let i=this.loadedName+"_path_"+n,r;try{r=t.get(i)}catch(l){ke(`getPathGenerator - ignoring character: "${l}".`)}let s=new Path2D(r||"");return this.fontExtraProperties||t.delete(i),this.compiledGlyphs[n]=s}},YA={DATA:1,ERROR:2},zi={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function cj(){}function Cr(e){if(e instanceof vl||e instanceof Ry||e instanceof ih||e instanceof $A||e instanceof q0||e instanceof Dy)return e;switch(e instanceof Error||typeof e=="object"&&e!==null||Mn('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new vl(e.message);case"InvalidPDFException":return new Ry(e.message);case"MissingPDFException":return new ih(e.message);case"PasswordException":return new $A(e.message,e.code);case"UnexpectedResponseException":return new q0(e.message,e.status);case"UnknownErrorException":return new Dy(e.message,e.details)}return new Dy(e.message,e.toString())}var eh=class{#t=new AbortController;constructor(t,n,i){this.sourceName=t,this.targetName=n,this.comObj=i,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),i.addEventListener("message",this.#e.bind(this),{signal:this.#t.signal})}#e({data:t}){if(t.targetName!==this.sourceName)return;if(t.stream){this.#i(t);return}if(t.callback){let i=t.callbackId,r=this.callbackCapabilities[i];if(!r)throw new Error(`Cannot resolve callback ${i}`);if(delete this.callbackCapabilities[i],t.callback===YA.DATA)r.resolve(t.data);else if(t.callback===YA.ERROR)r.reject(Cr(t.reason));else throw new Error("Unexpected callback case");return}let n=this.actionHandler[t.action];if(!n)throw new Error(`Unknown action from worker: ${t.action}`);if(t.callbackId){let i=this.sourceName,r=t.sourceName,s=this.comObj;Promise.try(n,t.data).then(function(l){s.postMessage({sourceName:i,targetName:r,callback:YA.DATA,callbackId:t.callbackId,data:l})},function(l){s.postMessage({sourceName:i,targetName:r,callback:YA.ERROR,callbackId:t.callbackId,reason:Cr(l)})});return}if(t.streamId){this.#n(t);return}n(t.data)}on(t,n){let i=this.actionHandler;if(i[t])throw new Error(`There is already an actionName called "${t}"`);i[t]=n}send(t,n,i){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:n},i)}sendWithPromise(t,n,i){let r=this.callbackId++,s=Promise.withResolvers();this.callbackCapabilities[r]=s;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:r,data:n},i)}catch(l){s.reject(l)}return s.promise}sendWithStream(t,n,i,r){let s=this.streamId++,l=this.sourceName,c=this.targetName,d=this.comObj;return new ReadableStream({start:h=>{let p=Promise.withResolvers();return this.streamControllers[s]={controller:h,startCall:p,pullCall:null,cancelCall:null,isClosed:!1},d.postMessage({sourceName:l,targetName:c,action:t,streamId:s,data:n,desiredSize:h.desiredSize},r),p.promise},pull:h=>{let p=Promise.withResolvers();return this.streamControllers[s].pullCall=p,d.postMessage({sourceName:l,targetName:c,stream:zi.PULL,streamId:s,desiredSize:h.desiredSize}),p.promise},cancel:h=>{ki(h instanceof Error,"cancel must have a valid reason");let p=Promise.withResolvers();return this.streamControllers[s].cancelCall=p,this.streamControllers[s].isClosed=!0,d.postMessage({sourceName:l,targetName:c,stream:zi.CANCEL,streamId:s,reason:Cr(h)}),p.promise}},i)}#n(t){let n=t.streamId,i=this.sourceName,r=t.sourceName,s=this.comObj,l=this,c=this.actionHandler[t.action],d={enqueue(h,p=1,y){if(this.isCancelled)return;let g=this.desiredSize;this.desiredSize-=p,g>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),s.postMessage({sourceName:i,targetName:r,stream:zi.ENQUEUE,streamId:n,chunk:h},y)},close(){this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:r,stream:zi.CLOSE,streamId:n}),delete l.streamSinks[n])},error(h){ki(h instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:r,stream:zi.ERROR,streamId:n,reason:Cr(h)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};d.sinkCapability.resolve(),d.ready=d.sinkCapability.promise,this.streamSinks[n]=d,Promise.try(c,t.data,d).then(function(){s.postMessage({sourceName:i,targetName:r,stream:zi.START_COMPLETE,streamId:n,success:!0})},function(h){s.postMessage({sourceName:i,targetName:r,stream:zi.START_COMPLETE,streamId:n,reason:Cr(h)})})}#i(t){let n=t.streamId,i=this.sourceName,r=t.sourceName,s=this.comObj,l=this.streamControllers[n],c=this.streamSinks[n];switch(t.stream){case zi.START_COMPLETE:t.success?l.startCall.resolve():l.startCall.reject(Cr(t.reason));break;case zi.PULL_COMPLETE:t.success?l.pullCall.resolve():l.pullCall.reject(Cr(t.reason));break;case zi.PULL:if(!c){s.postMessage({sourceName:i,targetName:r,stream:zi.PULL_COMPLETE,streamId:n,success:!0});break}c.desiredSize<=0&&t.desiredSize>0&&c.sinkCapability.resolve(),c.desiredSize=t.desiredSize,Promise.try(c.onPull||cj).then(function(){s.postMessage({sourceName:i,targetName:r,stream:zi.PULL_COMPLETE,streamId:n,success:!0})},function(h){s.postMessage({sourceName:i,targetName:r,stream:zi.PULL_COMPLETE,streamId:n,reason:Cr(h)})});break;case zi.ENQUEUE:if(ki(l,"enqueue should have stream controller"),l.isClosed)break;l.controller.enqueue(t.chunk);break;case zi.CLOSE:if(ki(l,"close should have stream controller"),l.isClosed)break;l.isClosed=!0,l.controller.close(),this.#r(l,n);break;case zi.ERROR:ki(l,"error should have stream controller"),l.controller.error(Cr(t.reason)),this.#r(l,n);break;case zi.CANCEL_COMPLETE:t.success?l.cancelCall.resolve():l.cancelCall.reject(Cr(t.reason)),this.#r(l,n);break;case zi.CANCEL:if(!c)break;let d=Cr(t.reason);Promise.try(c.onCancel||cj,d).then(function(){s.postMessage({sourceName:i,targetName:r,stream:zi.CANCEL_COMPLETE,streamId:n,success:!0})},function(h){s.postMessage({sourceName:i,targetName:r,stream:zi.CANCEL_COMPLETE,streamId:n,reason:Cr(h)})}),c.sinkCapability.reject(d),c.isCancelled=!0,delete this.streamSinks[n];break;default:throw new Error("Unexpected stream case")}}async#r(t,n){await Promise.allSettled([t.startCall?.promise,t.pullCall?.promise,t.cancelCall?.promise]),delete this.streamControllers[n]}destroy(){this.#t?.abort(),this.#t=null}},sw=class{#t=!1;constructor({enableHWA:t=!1}){this.#t=t}create(t,n){if(t<=0||n<=0)throw new Error("Invalid canvas size");let i=this._createCanvas(t,n);return{canvas:i,context:i.getContext("2d",{willReadFrequently:!this.#t})}}reset(t,n,i){if(!t.canvas)throw new Error("Canvas is not specified");if(n<=0||i<=0)throw new Error("Invalid canvas size");t.canvas.width=n,t.canvas.height=i}destroy(t){if(!t.canvas)throw new Error("Canvas is not specified");t.canvas.width=0,t.canvas.height=0,t.canvas=null,t.context=null}_createCanvas(t,n){Mn("Abstract method `_createCanvas` called.")}},i_=class extends sw{constructor({ownerDocument:t=globalThis.document,enableHWA:n=!1}){super({enableHWA:n}),this._document=t}_createCanvas(t,n){let i=this._document.createElement("canvas");return i.width=t,i.height=n,i}},lw=class{constructor({baseUrl:t=null,isCompressed:n=!0}){this.baseUrl=t,this.isCompressed=n}async fetch({name:t}){if(!this.baseUrl)throw new Error("Ensure that the `cMapUrl` and `cMapPacked` API parameters are provided.");if(!t)throw new Error("CMap name must be specified.");let n=this.baseUrl+t+(this.isCompressed?".bcmap":"");return this._fetch(n).then(i=>({cMapData:i,isCompressed:this.isCompressed})).catch(i=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${n}`)})}async _fetch(t){Mn("Abstract method `_fetch` called.")}},uw=class extends lw{async _fetch(t){let n=await zw(t,this.isCompressed?"arraybuffer":"text");return n instanceof ArrayBuffer?new Uint8Array(n):Nw(n)}},cw=class{addFilter(t){return"none"}addHCMFilter(t,n){return"none"}addAlphaFilter(t){return"none"}addLuminosityFilter(t){return"none"}addHighlightHCMFilter(t,n,i,r,s){return"none"}destroy(t=!1){}},a_=class extends cw{#t;#e;#n;#i;#r;#a;#l=0;constructor({docId:t,ownerDocument:n=globalThis.document}){super(),this.#i=t,this.#r=n}get#s(){return this.#e||=new Map}get#c(){return this.#a||=new Map}get#u(){if(!this.#n){let t=this.#r.createElement("div"),{style:n}=t;n.visibility="hidden",n.contain="strict",n.width=n.height=0,n.position="absolute",n.top=n.left=0,n.zIndex=-1;let i=this.#r.createElementNS(Cu,"svg");i.setAttribute("width",0),i.setAttribute("height",0),this.#n=this.#r.createElementNS(Cu,"defs"),t.append(i),i.append(this.#n),this.#r.body.append(t)}return this.#n}#d(t){if(t.length===1){let d=t[0],h=new Array(256);for(let y=0;y<256;y++)h[y]=d[y]/255;let p=h.join(",");return[p,p,p]}let[n,i,r]=t,s=new Array(256),l=new Array(256),c=new Array(256);for(let d=0;d<256;d++)s[d]=n[d]/255,l[d]=i[d]/255,c[d]=r[d]/255;return[s.join(","),l.join(","),c.join(",")]}#f(t){if(this.#t===void 0){this.#t="";let n=this.#r.URL;n!==this.#r.baseURI&&(kw(n)?ke('#createUrl: ignore "data:"-URL for performance reasons.'):this.#t=n.split("#",1)[0])}return`url(${this.#t}#${t})`}addFilter(t){if(!t)return"none";let n=this.#s.get(t);if(n)return n;let[i,r,s]=this.#d(t),l=t.length===1?i:`${i}${r}${s}`;if(n=this.#s.get(l),n)return this.#s.set(t,n),n;let c=`g_${this.#i}_transfer_map_${this.#l++}`,d=this.#f(c);this.#s.set(t,d),this.#s.set(l,d);let h=this.#p(c);return this.#m(i,r,s,h),d}addHCMFilter(t,n){let i=`${t}-${n}`,r="base",s=this.#c.get(r);if(s?.key===i||(s?(s.filter?.remove(),s.key=i,s.url="none",s.filter=null):(s={key:i,url:"none",filter:null},this.#c.set(r,s)),!t||!n))return s.url;let l=this.#S(t);t=Kt.makeHexColor(...l);let c=this.#S(n);if(n=Kt.makeHexColor(...c),this.#u.style.color="",t==="#000000"&&n==="#ffffff"||t===n)return s.url;let d=new Array(256);for(let b=0;b<=255;b++){let S=b/255;d[b]=S<=.03928?S/12.92:((S+.055)/1.055)**2.4}let h=d.join(","),p=`g_${this.#i}_hcm_filter`,y=s.filter=this.#p(p);this.#m(h,h,h,y),this.#o(y);let g=(b,S)=>{let w=l[b]/255,D=c[b]/255,A=new Array(S+1);for(let T=0;T<=S;T++)A[T]=w+T/S*(D-w);return A.join(",")};return this.#m(g(0,5),g(1,5),g(2,5),y),s.url=this.#f(p),s.url}addAlphaFilter(t){let n=this.#s.get(t);if(n)return n;let[i]=this.#d([t]),r=`alpha_${i}`;if(n=this.#s.get(r),n)return this.#s.set(t,n),n;let s=`g_${this.#i}_alpha_map_${this.#l++}`,l=this.#f(s);this.#s.set(t,l),this.#s.set(r,l);let c=this.#p(s);return this.#v(i,c),l}addLuminosityFilter(t){let n=this.#s.get(t||"luminosity");if(n)return n;let i,r;if(t?([i]=this.#d([t]),r=`luminosity_${i}`):r="luminosity",n=this.#s.get(r),n)return this.#s.set(t,n),n;let s=`g_${this.#i}_luminosity_map_${this.#l++}`,l=this.#f(s);this.#s.set(t,l),this.#s.set(r,l);let c=this.#p(s);return this.#h(c),t&&this.#v(i,c),l}addHighlightHCMFilter(t,n,i,r,s){let l=`${n}-${i}-${r}-${s}`,c=this.#c.get(t);if(c?.key===l||(c?(c.filter?.remove(),c.key=l,c.url="none",c.filter=null):(c={key:l,url:"none",filter:null},this.#c.set(t,c)),!n||!i))return c.url;let[d,h]=[n,i].map(this.#S.bind(this)),p=Math.round(.2126*d[0]+.7152*d[1]+.0722*d[2]),y=Math.round(.2126*h[0]+.7152*h[1]+.0722*h[2]),[g,b]=[r,s].map(this.#S.bind(this));y<p&&([p,y,g,b]=[y,p,b,g]),this.#u.style.color="";let S=(A,T,C)=>{let O=new Array(256),M=(y-p)/C,k=A/255,z=(T-A)/(255*C),P=0;for(let U=0;U<=C;U++){let B=Math.round(p+U*M),W=k+U*z;for(let Y=P;Y<=B;Y++)O[Y]=W;P=B+1}for(let U=P;U<256;U++)O[U]=O[P-1];return O.join(",")},w=`g_${this.#i}_hcm_${t}_filter`,D=c.filter=this.#p(w);return this.#o(D),this.#m(S(g[0],b[0],5),S(g[1],b[1],5),S(g[2],b[2],5),D),c.url=this.#f(w),c.url}destroy(t=!1){t&&this.#a?.size||(this.#n?.parentNode.parentNode.remove(),this.#n=null,this.#e?.clear(),this.#e=null,this.#a?.clear(),this.#a=null,this.#l=0)}#h(t){let n=this.#r.createElementNS(Cu,"feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0"),t.append(n)}#o(t){let n=this.#r.createElementNS(Cu,"feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),t.append(n)}#p(t){let n=this.#r.createElementNS(Cu,"filter");return n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("id",t),this.#u.append(n),n}#g(t,n,i){let r=this.#r.createElementNS(Cu,n);r.setAttribute("type","discrete"),r.setAttribute("tableValues",i),t.append(r)}#m(t,n,i,r){let s=this.#r.createElementNS(Cu,"feComponentTransfer");r.append(s),this.#g(s,"feFuncR",t),this.#g(s,"feFuncG",n),this.#g(s,"feFuncB",i)}#v(t,n){let i=this.#r.createElementNS(Cu,"feComponentTransfer");n.append(i),this.#g(i,"feFuncA",t)}#S(t){return this.#u.style.color=t,gF(getComputedStyle(this.#u).getPropertyValue("color"))}},fw=class{constructor({baseUrl:t=null}){this.baseUrl=t}async fetch({filename:t}){if(!this.baseUrl)throw new Error("Ensure that the `standardFontDataUrl` API parameter is provided.");if(!t)throw new Error("Font filename must be specified.");let n=`${this.baseUrl}${t}`;return this._fetch(n).catch(i=>{throw new Error(`Unable to load font data at: ${n}`)})}async _fetch(t){Mn("Abstract method `_fetch` called.")}},dw=class extends fw{async _fetch(t){let n=await zw(t,"arraybuffer");return new Uint8Array(n)}};Ua&&ke("Please use the `legacy` build in Node.js environments.");async function Ej(e){let n=await process.getBuiltinModule("fs").promises.readFile(e);return new Uint8Array(n)}var r_=class extends cw{},o_=class extends sw{_createCanvas(t,n){return process.getBuiltinModule("module").createRequire(c$.url)("@napi-rs/canvas").createCanvas(t,n)}},s_=class extends lw{async _fetch(t){return Ej(t)}},l_=class extends fw{async _fetch(t){return Ej(t)}},Pa={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function u_(e,t){if(!t)return;let n=t[2]-t[0],i=t[3]-t[1],r=new Path2D;r.rect(t[0],t[1],n,i),e.clip(r)}var Ny=class{getPattern(){Mn("Abstract method `getPattern` called.")}},c_=class extends Ny{constructor(t){super(),this._type=t[1],this._bbox=t[2],this._colorStops=t[3],this._p0=t[4],this._p1=t[5],this._r0=t[6],this._r1=t[7],this.matrix=null}_createGradient(t){let n;this._type==="axial"?n=t.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):this._type==="radial"&&(n=t.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(let i of this._colorStops)n.addColorStop(i[0],i[1]);return n}getPattern(t,n,i,r){let s;if(r===Pa.STROKE||r===Pa.FILL){let l=n.current.getClippedPathBoundingBox(r,Qn(t))||[0,0,0,0],c=Math.ceil(l[2]-l[0])||1,d=Math.ceil(l[3]-l[1])||1,h=n.cachedCanvases.getCanvas("pattern",c,d),p=h.context;p.clearRect(0,0,p.canvas.width,p.canvas.height),p.beginPath(),p.rect(0,0,p.canvas.width,p.canvas.height),p.translate(-l[0],-l[1]),i=Kt.transform(i,[1,0,0,1,l[0],l[1]]),p.transform(...n.baseTransform),this.matrix&&p.transform(...this.matrix),u_(p,this._bbox),p.fillStyle=this._createGradient(p),p.fill(),s=t.createPattern(h.canvas,"no-repeat");let y=new DOMMatrix(i);s.setTransform(y)}else u_(t,this._bbox),s=this._createGradient(t);return s}};function qM(e,t,n,i,r,s,l,c){let d=t.coords,h=t.colors,p=e.data,y=e.width*4,g;d[n+1]>d[i+1]&&(g=n,n=i,i=g,g=s,s=l,l=g),d[i+1]>d[r+1]&&(g=i,i=r,r=g,g=l,l=c,c=g),d[n+1]>d[i+1]&&(g=n,n=i,i=g,g=s,s=l,l=g);let b=(d[n]+t.offsetX)*t.scaleX,S=(d[n+1]+t.offsetY)*t.scaleY,w=(d[i]+t.offsetX)*t.scaleX,D=(d[i+1]+t.offsetY)*t.scaleY,A=(d[r]+t.offsetX)*t.scaleX,T=(d[r+1]+t.offsetY)*t.scaleY;if(S>=T)return;let C=h[s],O=h[s+1],M=h[s+2],k=h[l],z=h[l+1],P=h[l+2],U=h[c],B=h[c+1],W=h[c+2],Y=Math.round(S),ot=Math.round(T),ft,$,tt,K,wt,Ct,Yt,nt;for(let yt=Y;yt<=ot;yt++){if(yt<D){let zt=yt<S?0:(S-yt)/(S-D);ft=b-(b-w)*zt,$=C-(C-k)*zt,tt=O-(O-z)*zt,K=M-(M-P)*zt}else{let zt;yt>T?zt=1:D===T?zt=0:zt=(D-yt)/(D-T),ft=w-(w-A)*zt,$=k-(k-U)*zt,tt=z-(z-B)*zt,K=P-(P-W)*zt}let Tt;yt<S?Tt=0:yt>T?Tt=1:Tt=(S-yt)/(S-T),wt=b-(b-A)*Tt,Ct=C-(C-U)*Tt,Yt=O-(O-B)*Tt,nt=M-(M-W)*Tt;let Rt=Math.round(Math.min(ft,wt)),De=Math.round(Math.max(ft,wt)),Mt=y*yt+Rt*4;for(let zt=Rt;zt<=De;zt++)Tt=(ft-zt)/(ft-wt),Tt<0?Tt=0:Tt>1&&(Tt=1),p[Mt++]=$-($-Ct)*Tt|0,p[Mt++]=tt-(tt-Yt)*Tt|0,p[Mt++]=K-(K-nt)*Tt|0,p[Mt++]=255}}function kJ(e,t,n){let i=t.coords,r=t.colors,s,l;switch(t.type){case"lattice":let c=t.verticesPerRow,d=Math.floor(i.length/c)-1,h=c-1;for(s=0;s<d;s++){let p=s*c;for(let y=0;y<h;y++,p++)qM(e,n,i[p],i[p+1],i[p+c],r[p],r[p+1],r[p+c]),qM(e,n,i[p+c+1],i[p+1],i[p+c],r[p+c+1],r[p+1],r[p+c])}break;case"triangles":for(s=0,l=i.length;s<l;s+=3)qM(e,n,i[s],i[s+1],i[s+2],r[s],r[s+1],r[s+2]);break;default:throw new Error("illegal figure")}}var f_=class extends Ny{constructor(t){super(),this._coords=t[2],this._colors=t[3],this._figures=t[4],this._bounds=t[5],this._bbox=t[7],this._background=t[8],this.matrix=null}_createMeshCanvas(t,n,i){let c=Math.floor(this._bounds[0]),d=Math.floor(this._bounds[1]),h=Math.ceil(this._bounds[2])-c,p=Math.ceil(this._bounds[3])-d,y=Math.min(Math.ceil(Math.abs(h*t[0]*1.1)),3e3),g=Math.min(Math.ceil(Math.abs(p*t[1]*1.1)),3e3),b=h/y,S=p/g,w={coords:this._coords,colors:this._colors,offsetX:-c,offsetY:-d,scaleX:1/b,scaleY:1/S},D=y+4,A=g+4,T=i.getCanvas("mesh",D,A),C=T.context,O=C.createImageData(y,g);if(n){let k=O.data;for(let z=0,P=k.length;z<P;z+=4)k[z]=n[0],k[z+1]=n[1],k[z+2]=n[2],k[z+3]=255}for(let k of this._figures)kJ(O,k,w);return C.putImageData(O,2,2),{canvas:T.canvas,offsetX:c-2*b,offsetY:d-2*S,scaleX:b,scaleY:S}}getPattern(t,n,i,r){u_(t,this._bbox);let s;if(r===Pa.SHADING)s=Kt.singularValueDecompose2dScale(Qn(t));else if(s=Kt.singularValueDecompose2dScale(n.baseTransform),this.matrix){let c=Kt.singularValueDecompose2dScale(this.matrix);s=[s[0]*c[0],s[1]*c[1]]}let l=this._createMeshCanvas(s,r===Pa.SHADING?null:this._background,n.cachedCanvases);return r!==Pa.SHADING&&(t.setTransform(...n.baseTransform),this.matrix&&t.transform(...this.matrix)),t.translate(l.offsetX,l.offsetY),t.scale(l.scaleX,l.scaleY),t.createPattern(l.canvas,"no-repeat")}},d_=class extends Ny{getPattern(){return"hotpink"}};function LJ(e){switch(e[0]){case"RadialAxial":return new c_(e);case"Mesh":return new f_(e);case"Dummy":return new d_}throw new Error(`Unknown IR type: ${e[0]}`)}var fj={COLORED:1,UNCOLORED:2},h_=class e{static MAX_PATTERN_SIZE=3e3;constructor(t,n,i,r,s){this.operatorList=t[2],this.matrix=t[3],this.bbox=t[4],this.xstep=t[5],this.ystep=t[6],this.paintType=t[7],this.tilingType=t[8],this.color=n,this.ctx=i,this.canvasGraphicsFactory=r,this.baseTransform=s}createPatternCanvas(t){let{bbox:n,operatorList:i,paintType:r,tilingType:s,color:l,canvasGraphicsFactory:c}=this,{xstep:d,ystep:h}=this;d=Math.abs(d),h=Math.abs(h),Fw("TilingType: "+s);let p=n[0],y=n[1],g=n[2],b=n[3],S=g-p,w=b-y,D=Kt.singularValueDecompose2dScale(this.matrix),A=Kt.singularValueDecompose2dScale(this.baseTransform),T=D[0]*A[0],C=D[1]*A[1],O=S,M=w,k=!1,z=!1,P=Math.ceil(d*T),U=Math.ceil(h*C),B=Math.ceil(S*T),W=Math.ceil(w*C);P>=B?O=d:k=!0,U>=W?M=h:z=!0;let Y=this.getSizeAndScale(O,this.ctx.canvas.width,T),ot=this.getSizeAndScale(M,this.ctx.canvas.height,C),ft=t.cachedCanvases.getCanvas("pattern",Y.size,ot.size),$=ft.context,tt=c.createCanvasGraphics($);if(tt.groupLevel=t.groupLevel,this.setFillAndStrokeStyleToContext(tt,r,l),$.translate(-Y.scale*p,-ot.scale*y),tt.transform(Y.scale,0,0,ot.scale,0,0),$.save(),this.clipBbox(tt,p,y,g,b),tt.baseTransform=Qn(tt.ctx),tt.executeOperatorList(i),tt.endDrawing(),$.restore(),k||z){let K=ft.canvas;k&&(O=d),z&&(M=h);let wt=this.getSizeAndScale(O,this.ctx.canvas.width,T),Ct=this.getSizeAndScale(M,this.ctx.canvas.height,C),Yt=wt.size,nt=Ct.size,yt=t.cachedCanvases.getCanvas("pattern-workaround",Yt,nt),Tt=yt.context,Rt=k?Math.floor(S/d):0,De=z?Math.floor(w/h):0;for(let Mt=0;Mt<=Rt;Mt++)for(let zt=0;zt<=De;zt++)Tt.drawImage(K,Yt*Mt,nt*zt,Yt,nt,0,0,Yt,nt);return{canvas:yt.canvas,scaleX:wt.scale,scaleY:Ct.scale,offsetX:p,offsetY:y}}return{canvas:ft.canvas,scaleX:Y.scale,scaleY:ot.scale,offsetX:p,offsetY:y}}getSizeAndScale(t,n,i){let r=Math.max(e.MAX_PATTERN_SIZE,n),s=Math.ceil(t*i);return s>=r?s=r:i=s/t,{scale:i,size:s}}clipBbox(t,n,i,r,s){let l=r-n,c=s-i;t.ctx.rect(n,i,l,c),t.current.updateRectMinMax(Qn(t.ctx),[n,i,r,s]),t.clip(),t.endPath()}setFillAndStrokeStyleToContext(t,n,i){let r=t.ctx,s=t.current;switch(n){case fj.COLORED:let l=this.ctx;r.fillStyle=l.fillStyle,r.strokeStyle=l.strokeStyle,s.fillColor=l.fillStyle,s.strokeColor=l.strokeStyle;break;case fj.UNCOLORED:let c=Kt.makeHexColor(i[0],i[1],i[2]);r.fillStyle=c,r.strokeStyle=c,s.fillColor=c,s.strokeColor=c;break;default:throw new XM(`Unsupported paint type: ${n}`)}}getPattern(t,n,i,r){let s=i;r!==Pa.SHADING&&(s=Kt.transform(s,n.baseTransform),this.matrix&&(s=Kt.transform(s,this.matrix)));let l=this.createPatternCanvas(n),c=new DOMMatrix(s);c=c.translate(l.offsetX,l.offsetY),c=c.scale(1/l.scaleX,1/l.scaleY);let d=t.createPattern(l.canvas,"repeat");return d.setTransform(c),d}};function PJ({src:e,srcPos:t=0,dest:n,width:i,height:r,nonBlackColor:s=4294967295,inverseDecode:l=!1}){let c=xa.isLittleEndian?4278190080:255,[d,h]=l?[s,c]:[c,s],p=i>>3,y=i&7,g=e.length;n=new Uint32Array(n.buffer);let b=0;for(let S=0;S<r;S++){for(let D=t+p;t<D;t++){let A=t<g?e[t]:255;n[b++]=A&128?h:d,n[b++]=A&64?h:d,n[b++]=A&32?h:d,n[b++]=A&16?h:d,n[b++]=A&8?h:d,n[b++]=A&4?h:d,n[b++]=A&2?h:d,n[b++]=A&1?h:d}if(y===0)continue;let w=t<g?e[t++]:255;for(let D=0;D<y;D++)n[b++]=w&1<<7-D?h:d}return{srcPos:t,destPos:b}}var dj=16,hj=100,UJ=15,pj=10,mj=1e3,Dr=16;function BJ(e,t){if(e._removeMirroring)throw new Error("Context is already forwarding operations.");e.__originalSave=e.save,e.__originalRestore=e.restore,e.__originalRotate=e.rotate,e.__originalScale=e.scale,e.__originalTranslate=e.translate,e.__originalTransform=e.transform,e.__originalSetTransform=e.setTransform,e.__originalResetTransform=e.resetTransform,e.__originalClip=e.clip,e.__originalMoveTo=e.moveTo,e.__originalLineTo=e.lineTo,e.__originalBezierCurveTo=e.bezierCurveTo,e.__originalRect=e.rect,e.__originalClosePath=e.closePath,e.__originalBeginPath=e.beginPath,e._removeMirroring=()=>{e.save=e.__originalSave,e.restore=e.__originalRestore,e.rotate=e.__originalRotate,e.scale=e.__originalScale,e.translate=e.__originalTranslate,e.transform=e.__originalTransform,e.setTransform=e.__originalSetTransform,e.resetTransform=e.__originalResetTransform,e.clip=e.__originalClip,e.moveTo=e.__originalMoveTo,e.lineTo=e.__originalLineTo,e.bezierCurveTo=e.__originalBezierCurveTo,e.rect=e.__originalRect,e.closePath=e.__originalClosePath,e.beginPath=e.__originalBeginPath,delete e._removeMirroring},e.save=function(){t.save(),this.__originalSave()},e.restore=function(){t.restore(),this.__originalRestore()},e.translate=function(i,r){t.translate(i,r),this.__originalTranslate(i,r)},e.scale=function(i,r){t.scale(i,r),this.__originalScale(i,r)},e.transform=function(i,r,s,l,c,d){t.transform(i,r,s,l,c,d),this.__originalTransform(i,r,s,l,c,d)},e.setTransform=function(i,r,s,l,c,d){t.setTransform(i,r,s,l,c,d),this.__originalSetTransform(i,r,s,l,c,d)},e.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},e.rotate=function(i){t.rotate(i),this.__originalRotate(i)},e.clip=function(i){t.clip(i),this.__originalClip(i)},e.moveTo=function(n,i){t.moveTo(n,i),this.__originalMoveTo(n,i)},e.lineTo=function(n,i){t.lineTo(n,i),this.__originalLineTo(n,i)},e.bezierCurveTo=function(n,i,r,s,l,c){t.bezierCurveTo(n,i,r,s,l,c),this.__originalBezierCurveTo(n,i,r,s,l,c)},e.rect=function(n,i,r,s){t.rect(n,i,r,s),this.__originalRect(n,i,r,s)},e.closePath=function(){t.closePath(),this.__originalClosePath()},e.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}var p_=class{constructor(t){this.canvasFactory=t,this.cache=Object.create(null)}getCanvas(t,n,i){let r;return this.cache[t]!==void 0?(r=this.cache[t],this.canvasFactory.reset(r,n,i)):(r=this.canvasFactory.create(n,i),this.cache[t]=r),r}delete(t){delete this.cache[t]}clear(){for(let t in this.cache){let n=this.cache[t];this.canvasFactory.destroy(n),delete this.cache[t]}}};function KA(e,t,n,i,r,s,l,c,d,h){let[p,y,g,b,S,w]=Qn(e);if(y===0&&g===0){let T=l*p+S,C=Math.round(T),O=c*b+w,M=Math.round(O),k=(l+d)*p+S,z=Math.abs(Math.round(k)-C)||1,P=(c+h)*b+w,U=Math.abs(Math.round(P)-M)||1;return e.setTransform(Math.sign(p),0,0,Math.sign(b),C,M),e.drawImage(t,n,i,r,s,0,0,z,U),e.setTransform(p,y,g,b,S,w),[z,U]}if(p===0&&b===0){let T=c*g+S,C=Math.round(T),O=l*y+w,M=Math.round(O),k=(c+h)*g+S,z=Math.abs(Math.round(k)-C)||1,P=(l+d)*y+w,U=Math.abs(Math.round(P)-M)||1;return e.setTransform(0,Math.sign(y),Math.sign(g),0,C,M),e.drawImage(t,n,i,r,s,0,0,U,z),e.setTransform(p,y,g,b,S,w),[U,z]}e.drawImage(t,n,i,r,s,l,c,d,h);let D=Math.hypot(p,y),A=Math.hypot(g,b);return[D*d,A*h]}function HJ(e){let{width:t,height:n}=e;if(t>mj||n>mj)return null;let i=1e3,r=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),s=t+1,l=new Uint8Array(s*(n+1)),c,d,h,p=t+7&-8,y=new Uint8Array(p*n),g=0;for(let A of e.data){let T=128;for(;T>0;)y[g++]=A&T?0:255,T>>=1}let b=0;for(g=0,y[g]!==0&&(l[0]=1,++b),d=1;d<t;d++)y[g]!==y[g+1]&&(l[d]=y[g]?2:1,++b),g++;for(y[g]!==0&&(l[d]=2,++b),c=1;c<n;c++){g=c*p,h=c*s,y[g-p]!==y[g]&&(l[h]=y[g]?1:8,++b);let A=(y[g]?4:0)+(y[g-p]?8:0);for(d=1;d<t;d++)A=(A>>2)+(y[g+1]?4:0)+(y[g-p+1]?8:0),r[A]&&(l[h+d]=r[A],++b),g++;if(y[g-p]!==y[g]&&(l[h+d]=y[g]?2:4,++b),b>i)return null}for(g=p*(n-1),h=c*s,y[g]!==0&&(l[h]=8,++b),d=1;d<t;d++)y[g]!==y[g+1]&&(l[h+d]=y[g]?4:8,++b),g++;if(y[g]!==0&&(l[h+d]=4,++b),b>i)return null;let S=new Int32Array([0,s,-1,0,-s,0,0,0,1]),w=new Path2D;for(c=0;b&&c<=n;c++){let A=c*s,T=A+t;for(;A<T&&!l[A];)A++;if(A===T)continue;w.moveTo(A%s,c);let C=A,O=l[A];do{let M=S[O];do A+=M;while(!l[A]);let k=l[A];k!==5&&k!==10?(O=k,l[A]=0):(O=k&51*O>>4,l[A]&=O>>2|O<<2),w.lineTo(A%s,A/s|0),l[A]||--b}while(C!==A);--c}return y=null,l=null,function(A){A.save(),A.scale(1/t,-1/n),A.translate(0,-n),A.fill(w),A.beginPath(),A.restore()}}var hw=class{constructor(t,n){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=Aj,this.textMatrixScale=1,this.fontMatrix=IM,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=La.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.patternStroke=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps="none",this.startNewPathAndClipBox([0,0,t,n])}clone(){let t=Object.create(this);return t.clipBox=this.clipBox.slice(),t}setCurrentPoint(t,n){this.x=t,this.y=n}updatePathMinMax(t,n,i){[n,i]=Kt.applyTransform([n,i],t),this.minX=Math.min(this.minX,n),this.minY=Math.min(this.minY,i),this.maxX=Math.max(this.maxX,n),this.maxY=Math.max(this.maxY,i)}updateRectMinMax(t,n){let i=Kt.applyTransform(n,t),r=Kt.applyTransform(n.slice(2),t),s=Kt.applyTransform([n[0],n[3]],t),l=Kt.applyTransform([n[2],n[1]],t);this.minX=Math.min(this.minX,i[0],r[0],s[0],l[0]),this.minY=Math.min(this.minY,i[1],r[1],s[1],l[1]),this.maxX=Math.max(this.maxX,i[0],r[0],s[0],l[0]),this.maxY=Math.max(this.maxY,i[1],r[1],s[1],l[1])}updateScalingPathMinMax(t,n){Kt.scaleMinMax(t,n),this.minX=Math.min(this.minX,n[0]),this.minY=Math.min(this.minY,n[1]),this.maxX=Math.max(this.maxX,n[2]),this.maxY=Math.max(this.maxY,n[3])}updateCurvePathMinMax(t,n,i,r,s,l,c,d,h,p){let y=Kt.bezierBoundingBox(n,i,r,s,l,c,d,h,p);p||this.updateRectMinMax(t,y)}getPathBoundingBox(t=Pa.FILL,n=null){let i=[this.minX,this.minY,this.maxX,this.maxY];if(t===Pa.STROKE){n||Mn("Stroke bounding box must include transform.");let r=Kt.singularValueDecompose2dScale(n),s=r[0]*this.lineWidth/2,l=r[1]*this.lineWidth/2;i[0]-=s,i[1]-=l,i[2]+=s,i[3]+=l}return i}updateClipFromPath(){let t=Kt.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(t||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(t){this.clipBox=t,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(t=Pa.FILL,n=null){return Kt.intersect(this.clipBox,this.getPathBoundingBox(t,n))}};function gj(e,t){if(t instanceof ImageData){e.putImageData(t,0,0);return}let n=t.height,i=t.width,r=n%Dr,s=(n-r)/Dr,l=r===0?s:s+1,c=e.createImageData(i,Dr),d=0,h,p=t.data,y=c.data,g,b,S,w;if(t.kind===JA.GRAYSCALE_1BPP){let D=p.byteLength,A=new Uint32Array(y.buffer,0,y.byteLength>>2),T=A.length,C=i+7>>3,O=4294967295,M=xa.isLittleEndian?4278190080:255;for(g=0;g<l;g++){for(S=g<s?Dr:r,h=0,b=0;b<S;b++){let k=D-d,z=0,P=k>C?i:k*8-7,U=P&-8,B=0,W=0;for(;z<U;z+=8)W=p[d++],A[h++]=W&128?O:M,A[h++]=W&64?O:M,A[h++]=W&32?O:M,A[h++]=W&16?O:M,A[h++]=W&8?O:M,A[h++]=W&4?O:M,A[h++]=W&2?O:M,A[h++]=W&1?O:M;for(;z<P;z++)B===0&&(W=p[d++],B=128),A[h++]=W&B?O:M,B>>=1}for(;h<T;)A[h++]=0;e.putImageData(c,0,g*Dr)}}else if(t.kind===JA.RGBA_32BPP){for(b=0,w=i*Dr*4,g=0;g<s;g++)y.set(p.subarray(d,d+w)),d+=w,e.putImageData(c,0,b),b+=Dr;g<l&&(w=i*r*4,y.set(p.subarray(d,d+w)),e.putImageData(c,0,b))}else if(t.kind===JA.RGB_24BPP)for(S=Dr,w=i*S,g=0;g<l;g++){for(g>=s&&(S=r,w=i*S),h=0,b=w;b--;)y[h++]=p[d++],y[h++]=p[d++],y[h++]=p[d++],y[h++]=255;e.putImageData(c,0,g*Dr)}else throw new Error(`bad image kind: ${t.kind}`)}function vj(e,t){if(t.bitmap){e.drawImage(t.bitmap,0,0);return}let n=t.height,i=t.width,r=n%Dr,s=(n-r)/Dr,l=r===0?s:s+1,c=e.createImageData(i,Dr),d=0,h=t.data,p=c.data;for(let y=0;y<l;y++){let g=y<s?Dr:r;({srcPos:d}=PJ({src:h,srcPos:d,dest:p,width:i,height:g,nonBlackColor:0})),e.putImageData(c,0,y*Dr)}}function Ay(e,t){let n=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font","filter"];for(let i of n)e[i]!==void 0&&(t[i]=e[i]);e.setLineDash!==void 0&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function ZA(e){if(e.strokeStyle=e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",e.setLineDash!==void 0&&(e.setLineDash([]),e.lineDashOffset=0),!Ua){let{filter:t}=e;t!=="none"&&t!==""&&(e.filter="none")}}function yj(e,t){if(t)return!0;let n=Kt.singularValueDecompose2dScale(e);n[0]=Math.fround(n[0]),n[1]=Math.fround(n[1]);let i=Math.fround((globalThis.devicePixelRatio||1)*ff.PDF_TO_CSS_UNITS);return n[0]<=i&&n[1]<=i}var jJ=["butt","round","square"],qJ=["miter","round","bevel"],VJ={},bj={},H0=class e{constructor(t,n,i,r,s,{optionalContentConfig:l,markedContentStack:c=null},d,h){this.ctx=t,this.current=new hw(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=n,this.objs=i,this.canvasFactory=r,this.filterFactory=s,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=c||[],this.optionalContentConfig=l,this.cachedCanvases=new p_(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=d,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.pageColors=h,this._cachedScaleForStroking=[-1,0],this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(t,n=null){return typeof t=="string"?t.startsWith("g_")?this.commonObjs.get(t):this.objs.get(t):n}beginDrawing({transform:t,viewport:n,transparency:i=!1,background:r=null}){let s=this.ctx.canvas.width,l=this.ctx.canvas.height,c=this.ctx.fillStyle;if(this.ctx.fillStyle=r||"#ffffff",this.ctx.fillRect(0,0,s,l),this.ctx.fillStyle=c,i){let d=this.cachedCanvases.getCanvas("transparent",s,l);this.compositeCtx=this.ctx,this.transparentCanvas=d.canvas,this.ctx=d.context,this.ctx.save(),this.ctx.transform(...Qn(this.compositeCtx))}this.ctx.save(),ZA(this.ctx),t&&(this.ctx.transform(...t),this.outputScaleX=t[0],this.outputScaleY=t[0]),this.ctx.transform(...n.transform),this.viewportScale=n.scale,this.baseTransform=Qn(this.ctx)}executeOperatorList(t,n,i,r){let s=t.argsArray,l=t.fnArray,c=n||0,d=s.length;if(d===c)return c;let h=d-c>pj&&typeof i=="function",p=h?Date.now()+UJ:0,y=0,g=this.commonObjs,b=this.objs,S;for(;;){if(r!==void 0&&c===r.nextBreakPoint)return r.breakIt(c,i),c;if(S=l[c],S!==ws.dependency)this[S].apply(this,s[c]);else for(let w of s[c]){let D=w.startsWith("g_")?g:b;if(!D.has(w))return D.get(w,i),c}if(c++,c===d)return c;if(h&&++y>pj){if(Date.now()>p)return i(),c;y=0}}}#t(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.current.activeSMask=null,this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}endDrawing(){this.#t(),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(let t of this._cachedBitmapsMap.values()){for(let n of t.values())typeof HTMLCanvasElement<"u"&&n instanceof HTMLCanvasElement&&(n.width=n.height=0);t.clear()}this._cachedBitmapsMap.clear(),this.#e()}#e(){if(this.pageColors){let t=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if(t!=="none"){let n=this.ctx.filter;this.ctx.filter=t,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=n}}}_scaleImage(t,n){let i=t.width??t.displayWidth,r=t.height??t.displayHeight,s=Math.max(Math.hypot(n[0],n[1]),1),l=Math.max(Math.hypot(n[2],n[3]),1),c=i,d=r,h="prescale1",p,y;for(;s>2&&c>1||l>2&&d>1;){let g=c,b=d;s>2&&c>1&&(g=c>=16384?Math.floor(c/2)-1||1:Math.ceil(c/2),s/=c/g),l>2&&d>1&&(b=d>=16384?Math.floor(d/2)-1||1:Math.ceil(d)/2,l/=d/b),p=this.cachedCanvases.getCanvas(h,g,b),y=p.context,y.clearRect(0,0,g,b),y.drawImage(t,0,0,c,d,0,0,g,b),t=p.canvas,c=g,d=b,h=h==="prescale1"?"prescale2":"prescale1"}return{img:t,paintWidth:c,paintHeight:d}}_createMaskCanvas(t){let n=this.ctx,{width:i,height:r}=t,s=this.current.fillColor,l=this.current.patternFill,c=Qn(n),d,h,p,y;if((t.bitmap||t.data)&&t.count>1){let P=t.bitmap||t.data.buffer;h=JSON.stringify(l?c:[c.slice(0,4),s]),d=this._cachedBitmapsMap.get(P),d||(d=new Map,this._cachedBitmapsMap.set(P,d));let U=d.get(h);if(U&&!l){let B=Math.round(Math.min(c[0],c[2])+c[4]),W=Math.round(Math.min(c[1],c[3])+c[5]);return{canvas:U,offsetX:B,offsetY:W}}p=U}p||(y=this.cachedCanvases.getCanvas("maskCanvas",i,r),vj(y.context,t));let g=Kt.transform(c,[1/i,0,0,-1/r,0,0]);g=Kt.transform(g,[1,0,0,1,0,-r]);let[b,S,w,D]=Kt.getAxialAlignedBoundingBox([0,0,i,r],g),A=Math.round(w-b)||1,T=Math.round(D-S)||1,C=this.cachedCanvases.getCanvas("fillCanvas",A,T),O=C.context,M=b,k=S;O.translate(-M,-k),O.transform(...g),p||(p=this._scaleImage(y.canvas,ml(O)),p=p.img,d&&l&&d.set(h,p)),O.imageSmoothingEnabled=yj(Qn(O),t.interpolate),KA(O,p,0,0,p.width,p.height,0,0,i,r),O.globalCompositeOperation="source-in";let z=Kt.transform(ml(O),[1,0,0,1,-M,-k]);return O.fillStyle=l?s.getPattern(n,this,z,Pa.FILL):s,O.fillRect(0,0,i,r),d&&!l&&(this.cachedCanvases.delete("fillCanvas"),d.set(h,C.canvas)),{canvas:C.canvas,offsetX:Math.round(M),offsetY:Math.round(k)}}setLineWidth(t){t!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=t,this.ctx.lineWidth=t}setLineCap(t){this.ctx.lineCap=jJ[t]}setLineJoin(t){this.ctx.lineJoin=qJ[t]}setMiterLimit(t){this.ctx.miterLimit=t}setDash(t,n){let i=this.ctx;i.setLineDash!==void 0&&(i.setLineDash(t),i.lineDashOffset=n)}setRenderingIntent(t){}setFlatness(t){}setGState(t){for(let[n,i]of t)switch(n){case"LW":this.setLineWidth(i);break;case"LC":this.setLineCap(i);break;case"LJ":this.setLineJoin(i);break;case"ML":this.setMiterLimit(i);break;case"D":this.setDash(i[0],i[1]);break;case"RI":this.setRenderingIntent(i);break;case"FL":this.setFlatness(i);break;case"Font":this.setFont(i[0],i[1]);break;case"CA":this.current.strokeAlpha=i;break;case"ca":this.current.fillAlpha=i,this.ctx.globalAlpha=i;break;case"BM":this.ctx.globalCompositeOperation=i;break;case"SMask":this.current.activeSMask=i?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(i);break}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){let t=this.inSMaskMode;this.current.activeSMask&&!t?this.beginSMaskMode():!this.current.activeSMask&&t&&this.endSMaskMode()}beginSMaskMode(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");let t=this.ctx.canvas.width,n=this.ctx.canvas.height,i="smaskGroupAt"+this.groupLevel,r=this.cachedCanvases.getCanvas(i,t,n);this.suspendedCtx=this.ctx,this.ctx=r.context;let s=this.ctx;s.setTransform(...Qn(this.suspendedCtx)),Ay(this.suspendedCtx,s),BJ(s,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),Ay(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(t){if(!this.current.activeSMask)return;t?(t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.ceil(t[2]),t[3]=Math.ceil(t[3])):t=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];let n=this.current.activeSMask,i=this.suspendedCtx;this.composeSMask(i,n,this.ctx,t),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}composeSMask(t,n,i,r){let s=r[0],l=r[1],c=r[2]-s,d=r[3]-l;c===0||d===0||(this.genericComposeSMask(n.context,i,c,d,n.subtype,n.backdrop,n.transferMap,s,l,n.offsetX,n.offsetY),t.save(),t.globalAlpha=1,t.globalCompositeOperation="source-over",t.setTransform(1,0,0,1,0,0),t.drawImage(i.canvas,0,0),t.restore())}genericComposeSMask(t,n,i,r,s,l,c,d,h,p,y){let g=t.canvas,b=d-p,S=h-y;if(l){let D=Kt.makeHexColor(...l);if(b<0||S<0||b+i>g.width||S+r>g.height){let A=this.cachedCanvases.getCanvas("maskExtension",i,r),T=A.context;T.drawImage(g,-b,-S),T.globalCompositeOperation="destination-atop",T.fillStyle=D,T.fillRect(0,0,i,r),T.globalCompositeOperation="source-over",g=A.canvas,b=S=0}else{t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0);let A=new Path2D;A.rect(b,S,i,r),t.clip(A),t.globalCompositeOperation="destination-atop",t.fillStyle=D,t.fillRect(b,S,i,r),t.restore()}}n.save(),n.globalAlpha=1,n.setTransform(1,0,0,1,0,0),s==="Alpha"&&c?n.filter=this.filterFactory.addAlphaFilter(c):s==="Luminosity"&&(n.filter=this.filterFactory.addLuminosityFilter(c));let w=new Path2D;w.rect(d,h,i,r),n.clip(w),n.globalCompositeOperation="destination-in",n.drawImage(g,b,S,i,r,d,h,i,r),n.restore()}save(){this.inSMaskMode?(Ay(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();let t=this.current;this.stateStack.push(t),this.current=t.clone()}restore(){this.stateStack.length===0&&this.inSMaskMode&&this.endSMaskMode(),this.stateStack.length!==0&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),Ay(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}transform(t,n,i,r,s,l){this.ctx.transform(t,n,i,r,s,l),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(t,n,i){let r=this.ctx,s=this.current,l=s.x,c=s.y,d,h,p=Qn(r),y=p[0]===0&&p[3]===0||p[1]===0&&p[2]===0,g=y?i.slice(0):null;for(let b=0,S=0,w=t.length;b<w;b++)switch(t[b]|0){case ws.rectangle:l=n[S++],c=n[S++];let D=n[S++],A=n[S++],T=l+D,C=c+A;r.moveTo(l,c),D===0||A===0?r.lineTo(T,C):(r.lineTo(T,c),r.lineTo(T,C),r.lineTo(l,C)),y||s.updateRectMinMax(p,[l,c,T,C]),r.closePath();break;case ws.moveTo:l=n[S++],c=n[S++],r.moveTo(l,c),y||s.updatePathMinMax(p,l,c);break;case ws.lineTo:l=n[S++],c=n[S++],r.lineTo(l,c),y||s.updatePathMinMax(p,l,c);break;case ws.curveTo:d=l,h=c,l=n[S+4],c=n[S+5],r.bezierCurveTo(n[S],n[S+1],n[S+2],n[S+3],l,c),s.updateCurvePathMinMax(p,d,h,n[S],n[S+1],n[S+2],n[S+3],l,c,g),S+=6;break;case ws.curveTo2:d=l,h=c,r.bezierCurveTo(l,c,n[S],n[S+1],n[S+2],n[S+3]),s.updateCurvePathMinMax(p,d,h,l,c,n[S],n[S+1],n[S+2],n[S+3],g),l=n[S+2],c=n[S+3],S+=4;break;case ws.curveTo3:d=l,h=c,l=n[S+2],c=n[S+3],r.bezierCurveTo(n[S],n[S+1],l,c,l,c),s.updateCurvePathMinMax(p,d,h,n[S],n[S+1],l,c,l,c,g),S+=4;break;case ws.closePath:r.closePath();break}y&&s.updateScalingPathMinMax(p,g),s.setCurrentPoint(l,c)}closePath(){this.ctx.closePath()}stroke(t=!0){let n=this.ctx,i=this.current.strokeColor;n.globalAlpha=this.current.strokeAlpha,this.contentVisible&&(typeof i=="object"&&i?.getPattern?(n.save(),n.strokeStyle=i.getPattern(n,this,ml(n),Pa.STROKE),this.rescaleAndStroke(!1),n.restore()):this.rescaleAndStroke(!0)),t&&this.consumePath(this.current.getClippedPathBoundingBox()),n.globalAlpha=this.current.fillAlpha}closeStroke(){this.closePath(),this.stroke()}fill(t=!0){let n=this.ctx,i=this.current.fillColor,r=this.current.patternFill,s=!1;r&&(n.save(),n.fillStyle=i.getPattern(n,this,ml(n),Pa.FILL),s=!0);let l=this.current.getClippedPathBoundingBox();this.contentVisible&&l!==null&&(this.pendingEOFill?(n.fill("evenodd"),this.pendingEOFill=!1):n.fill()),s&&n.restore(),t&&this.consumePath(l)}eoFill(){this.pendingEOFill=!0,this.fill()}fillStroke(){this.fill(!1),this.stroke(!1),this.consumePath()}eoFillStroke(){this.pendingEOFill=!0,this.fillStroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}endPath(){this.consumePath()}clip(){this.pendingClip=VJ}eoClip(){this.pendingClip=bj}beginText(){this.current.textMatrix=Aj,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}endText(){let t=this.pendingTextPaths,n=this.ctx;if(t===void 0){n.beginPath();return}let i=new Path2D,r=n.getTransform().invertSelf();for(let{transform:s,x:l,y:c,fontSize:d,path:h}of t)i.addPath(h,new DOMMatrix(s).preMultiplySelf(r).translate(l,c).scale(d,-d));n.clip(i),n.beginPath(),delete this.pendingTextPaths}setCharSpacing(t){this.current.charSpacing=t}setWordSpacing(t){this.current.wordSpacing=t}setHScale(t){this.current.textHScale=t/100}setLeading(t){this.current.leading=-t}setFont(t,n){let i=this.commonObjs.get(t),r=this.current;if(!i)throw new Error(`Can't find font for ${t}`);if(r.fontMatrix=i.fontMatrix||IM,(r.fontMatrix[0]===0||r.fontMatrix[3]===0)&&ke("Invalid font matrix for font "+t),n<0?(n=-n,r.fontDirection=-1):r.fontDirection=1,this.current.font=i,this.current.fontSize=n,i.isType3Font)return;let s=i.loadedName||"sans-serif",l=i.systemFontInfo?.css||`"${s}", ${i.fallbackName}`,c="normal";i.black?c="900":i.bold&&(c="bold");let d=i.italic?"italic":"normal",h=n;n<dj?h=dj:n>hj&&(h=hj),this.current.fontSizeScale=n/h,this.ctx.font=`${d} ${c} ${h}px ${l}`}setTextRenderingMode(t){this.current.textRenderingMode=t}setTextRise(t){this.current.textRise=t}moveText(t,n){this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=n}setLeadingMoveText(t,n){this.setLeading(-n),this.moveText(t,n)}setTextMatrix(t,n,i,r,s,l){this.current.textMatrix=[t,n,i,r,s,l],this.current.textMatrixScale=Math.hypot(t,n),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}#n(t,n,i){let r=new Path2D;return r.addPath(t,new DOMMatrix(i).invertSelf().multiplySelf(n)),r}paintChar(t,n,i,r,s){let l=this.ctx,c=this.current,d=c.font,h=c.textRenderingMode,p=c.fontSize/c.fontSizeScale,y=h&La.FILL_STROKE_MASK,g=!!(h&La.ADD_TO_PATH_FLAG),b=c.patternFill&&!d.missingFile,S=c.patternStroke&&!d.missingFile,w;if((d.disableFontFace||g||b||S)&&(w=d.getPathGenerator(this.commonObjs,t)),d.disableFontFace||b||S){if(l.save(),l.translate(n,i),l.scale(p,-p),y===La.FILL||y===La.FILL_STROKE)if(r){let D=l.getTransform();l.setTransform(...r),l.fill(this.#n(w,D,r))}else l.fill(w);if(y===La.STROKE||y===La.FILL_STROKE)if(s){let D=l.getTransform();l.setTransform(...s),l.stroke(this.#n(w,D,s))}else l.lineWidth/=p,l.stroke(w);l.restore()}else(y===La.FILL||y===La.FILL_STROKE)&&l.fillText(t,n,i),(y===La.STROKE||y===La.FILL_STROKE)&&l.strokeText(t,n,i);g&&(this.pendingTextPaths||=[]).push({transform:Qn(l),x:n,y:i,fontSize:p,path:w})}get isFontSubpixelAAEnabled(){let{context:t}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);t.scale(1.5,1),t.fillText("I",0,10);let n=t.getImageData(0,0,10,10).data,i=!1;for(let r=3;r<n.length;r+=4)if(n[r]>0&&n[r]<255){i=!0;break}return qe(this,"isFontSubpixelAAEnabled",i)}showText(t){let n=this.current,i=n.font;if(i.isType3Font)return this.showType3Text(t);let r=n.fontSize;if(r===0)return;let s=this.ctx,l=n.fontSizeScale,c=n.charSpacing,d=n.wordSpacing,h=n.fontDirection,p=n.textHScale*h,y=t.length,g=i.vertical,b=g?1:-1,S=i.defaultVMetrics,w=r*n.fontMatrix[0],D=n.textRenderingMode===La.FILL&&!i.disableFontFace&&!n.patternFill;s.save(),s.transform(...n.textMatrix),s.translate(n.x,n.y+n.textRise),h>0?s.scale(p,-1):s.scale(p,1);let A,T;if(n.patternFill){s.save();let z=n.fillColor.getPattern(s,this,ml(s),Pa.FILL);A=Qn(s),s.restore(),s.fillStyle=z}if(n.patternStroke){s.save();let z=n.strokeColor.getPattern(s,this,ml(s),Pa.STROKE);T=Qn(s),s.restore(),s.strokeStyle=z}let C=n.lineWidth,O=n.textMatrixScale;if(O===0||C===0){let z=n.textRenderingMode&La.FILL_STROKE_MASK;(z===La.STROKE||z===La.FILL_STROKE)&&(C=this.getSinglePixelWidth())}else C/=O;if(l!==1&&(s.scale(l,l),C/=l),s.lineWidth=C,i.isInvalidPDFjsFont){let z=[],P=0;for(let U of t)z.push(U.unicode),P+=U.width;s.fillText(z.join(""),0,0),n.x+=P*w*p,s.restore(),this.compose();return}let M=0,k;for(k=0;k<y;++k){let z=t[k];if(typeof z=="number"){M+=b*z*r/1e3;continue}let P=!1,U=(z.isSpace?d:0)+c,B=z.fontChar,W=z.accent,Y,ot,ft=z.width;if(g){let tt=z.vmetric||S,K=-(z.vmetric?tt[1]:ft*.5)*w,wt=tt[2]*w;ft=tt?-tt[0]:ft,Y=K/l,ot=(M+wt)/l}else Y=M/l,ot=0;if(i.remeasure&&ft>0){let tt=s.measureText(B).width*1e3/r*l;if(ft<tt&&this.isFontSubpixelAAEnabled){let K=ft/tt;P=!0,s.save(),s.scale(K,1),Y/=K}else ft!==tt&&(Y+=(ft-tt)/2e3*r/l)}if(this.contentVisible&&(z.isInFont||i.missingFile)){if(D&&!W)s.fillText(B,Y,ot);else if(this.paintChar(B,Y,ot,A,T),W){let tt=Y+r*W.offset.x/l,K=ot-r*W.offset.y/l;this.paintChar(W.fontChar,tt,K,A,T)}}let $=g?ft*w-U*h:ft*w+U*h;M+=$,P&&s.restore()}g?n.y-=M:n.x+=M*p,s.restore(),this.compose()}showType3Text(t){let n=this.ctx,i=this.current,r=i.font,s=i.fontSize,l=i.fontDirection,c=r.vertical?1:-1,d=i.charSpacing,h=i.wordSpacing,p=i.textHScale*l,y=i.fontMatrix||IM,g=t.length,b=i.textRenderingMode===La.INVISIBLE,S,w,D,A;if(!(b||s===0)){for(this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null,n.save(),n.transform(...i.textMatrix),n.translate(i.x,i.y),n.scale(p,l),S=0;S<g;++S){if(w=t[S],typeof w=="number"){A=c*w*s/1e3,this.ctx.translate(A,0),i.x+=A*p;continue}let T=(w.isSpace?h:0)+d,C=r.charProcOperatorList[w.operatorListId];if(!C){ke(`Type3 character "${w.operatorListId}" is not available.`);continue}this.contentVisible&&(this.processingType3=w,this.save(),n.scale(s,s),n.transform(...y),this.executeOperatorList(C),this.restore()),D=Kt.applyTransform([w.width,0],y)[0]*s+T,n.translate(D,0),i.x+=D*p}n.restore(),this.processingType3=null}}setCharWidth(t,n){}setCharWidthAndBounds(t,n,i,r,s,l){this.ctx.rect(i,r,s-i,l-r),this.ctx.clip(),this.endPath()}getColorN_Pattern(t){let n;if(t[0]==="TilingPattern"){let i=t[1],r=this.baseTransform||Qn(this.ctx),s={createCanvasGraphics:l=>new e(l,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack})};n=new h_(t,i,this.ctx,s,r)}else n=this._getPattern(t[1],t[2]);return n}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments),this.current.patternStroke=!0}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(t,n,i){this.ctx.strokeStyle=this.current.strokeColor=Kt.makeHexColor(t,n,i),this.current.patternStroke=!1}setStrokeTransparent(){this.ctx.strokeStyle=this.current.strokeColor="transparent",this.current.patternStroke=!1}setFillRGBColor(t,n,i){this.ctx.fillStyle=this.current.fillColor=Kt.makeHexColor(t,n,i),this.current.patternFill=!1}setFillTransparent(){this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}_getPattern(t,n=null){let i;return this.cachedPatterns.has(t)?i=this.cachedPatterns.get(t):(i=LJ(this.getObject(t)),this.cachedPatterns.set(t,i)),n&&(i.matrix=n),i}shadingFill(t){if(!this.contentVisible)return;let n=this.ctx;this.save();let i=this._getPattern(t);n.fillStyle=i.getPattern(n,this,ml(n),Pa.SHADING);let r=ml(n);if(r){let{width:s,height:l}=n.canvas,[c,d,h,p]=Kt.getAxialAlignedBoundingBox([0,0,s,l],r);this.ctx.fillRect(c,d,h-c,p-d)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){Mn("Should not call beginInlineImage")}beginImageData(){Mn("Should not call beginImageData")}paintFormXObjectBegin(t,n){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),t&&this.transform(...t),this.baseTransform=Qn(this.ctx),n)){let i=n[2]-n[0],r=n[3]-n[1];this.ctx.rect(n[0],n[1],i,r),this.current.updateRectMinMax(Qn(this.ctx),n),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(t){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);let n=this.ctx;t.isolated||Fw("TODO: Support non-isolated groups."),t.knockout&&ke("Knockout groups not supported.");let i=Qn(n);if(t.matrix&&n.transform(...t.matrix),!t.bbox)throw new Error("Bounding box is required.");let r=Kt.getAxialAlignedBoundingBox(t.bbox,Qn(n)),s=[0,0,n.canvas.width,n.canvas.height];r=Kt.intersect(r,s)||[0,0,0,0];let l=Math.floor(r[0]),c=Math.floor(r[1]),d=Math.max(Math.ceil(r[2])-l,1),h=Math.max(Math.ceil(r[3])-c,1);this.current.startNewPathAndClipBox([0,0,d,h]);let p="groupAt"+this.groupLevel;t.smask&&(p+="_smask_"+this.smaskCounter++%2);let y=this.cachedCanvases.getCanvas(p,d,h),g=y.context;g.translate(-l,-c),g.transform(...i),t.smask?this.smaskStack.push({canvas:y.canvas,context:g,offsetX:l,offsetY:c,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null,startTransformInverse:null}):(n.setTransform(1,0,0,1,0,0),n.translate(l,c),n.save()),Ay(n,g),this.ctx=g,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(n),this.groupLevel++}endGroup(t){if(!this.contentVisible)return;this.groupLevel--;let n=this.ctx,i=this.groupStack.pop();if(this.ctx=i,this.ctx.imageSmoothingEnabled=!1,t.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();let r=Qn(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...r);let s=Kt.getAxialAlignedBoundingBox([0,0,n.canvas.width,n.canvas.height],r);this.ctx.drawImage(n.canvas,0,0),this.ctx.restore(),this.compose(s)}}beginAnnotation(t,n,i,r,s){if(this.#t(),ZA(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),n){let l=n[2]-n[0],c=n[3]-n[1];if(s&&this.annotationCanvasMap){i=i.slice(),i[4]-=n[0],i[5]-=n[1],n=n.slice(),n[0]=n[1]=0,n[2]=l,n[3]=c;let[d,h]=Kt.singularValueDecompose2dScale(Qn(this.ctx)),{viewportScale:p}=this,y=Math.ceil(l*this.outputScaleX*p),g=Math.ceil(c*this.outputScaleY*p);this.annotationCanvas=this.canvasFactory.create(y,g);let{canvas:b,context:S}=this.annotationCanvas;this.annotationCanvasMap.set(t,b),this.annotationCanvas.savedCtx=this.ctx,this.ctx=S,this.ctx.save(),this.ctx.setTransform(d,0,0,-h,0,c*h),ZA(this.ctx)}else ZA(this.ctx),this.endPath(),this.ctx.rect(n[0],n[1],l,c),this.ctx.clip(),this.ctx.beginPath()}this.current=new hw(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...i),this.transform(...r)}endAnnotation(){this.annotationCanvas&&(this.ctx.restore(),this.#e(),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(t){if(!this.contentVisible)return;let n=t.count;t=this.getObject(t.data,t),t.count=n;let i=this.ctx,r=this.processingType3;if(r&&(r.compiled===void 0&&(r.compiled=HJ(t)),r.compiled)){r.compiled(i);return}let s=this._createMaskCanvas(t),l=s.canvas;i.save(),i.setTransform(1,0,0,1,0,0),i.drawImage(l,s.offsetX,s.offsetY),i.restore(),this.compose()}paintImageMaskXObjectRepeat(t,n,i=0,r=0,s,l){if(!this.contentVisible)return;t=this.getObject(t.data,t);let c=this.ctx;c.save();let d=Qn(c);c.transform(n,i,r,s,0,0);let h=this._createMaskCanvas(t);c.setTransform(1,0,0,1,h.offsetX-d[4],h.offsetY-d[5]);for(let p=0,y=l.length;p<y;p+=2){let g=Kt.transform(d,[n,i,r,s,l[p],l[p+1]]),[b,S]=Kt.applyTransform([0,0],g);c.drawImage(h.canvas,b,S)}c.restore(),this.compose()}paintImageMaskXObjectGroup(t){if(!this.contentVisible)return;let n=this.ctx,i=this.current.fillColor,r=this.current.patternFill;for(let s of t){let{data:l,width:c,height:d,transform:h}=s,p=this.cachedCanvases.getCanvas("maskCanvas",c,d),y=p.context;y.save();let g=this.getObject(l,s);vj(y,g),y.globalCompositeOperation="source-in",y.fillStyle=r?i.getPattern(y,this,ml(n),Pa.FILL):i,y.fillRect(0,0,c,d),y.restore(),n.save(),n.transform(...h),n.scale(1,-1),KA(n,p.canvas,0,0,c,d,0,-1,1,1),n.restore()}this.compose()}paintImageXObject(t){if(!this.contentVisible)return;let n=this.getObject(t);if(!n){ke("Dependent image isn't ready yet");return}this.paintInlineImageXObject(n)}paintImageXObjectRepeat(t,n,i,r){if(!this.contentVisible)return;let s=this.getObject(t);if(!s){ke("Dependent image isn't ready yet");return}let l=s.width,c=s.height,d=[];for(let h=0,p=r.length;h<p;h+=2)d.push({transform:[n,0,0,i,r[h],r[h+1]],x:0,y:0,w:l,h:c});this.paintInlineImageXObjectGroup(s,d)}applyTransferMapsToCanvas(t){return this.current.transferMaps!=="none"&&(t.filter=this.current.transferMaps,t.drawImage(t.canvas,0,0),t.filter="none"),t.canvas}applyTransferMapsToBitmap(t){if(this.current.transferMaps==="none")return t.bitmap;let{bitmap:n,width:i,height:r}=t,s=this.cachedCanvases.getCanvas("inlineImage",i,r),l=s.context;return l.filter=this.current.transferMaps,l.drawImage(n,0,0),l.filter="none",s.canvas}paintInlineImageXObject(t){if(!this.contentVisible)return;let n=t.width,i=t.height,r=this.ctx;if(this.save(),!Ua){let{filter:c}=r;c!=="none"&&c!==""&&(r.filter="none")}r.scale(1/n,-1/i);let s;if(t.bitmap)s=this.applyTransferMapsToBitmap(t);else if(typeof HTMLElement=="function"&&t instanceof HTMLElement||!t.data)s=t;else{let d=this.cachedCanvases.getCanvas("inlineImage",n,i).context;gj(d,t),s=this.applyTransferMapsToCanvas(d)}let l=this._scaleImage(s,ml(r));r.imageSmoothingEnabled=yj(Qn(r),t.interpolate),KA(r,l.img,0,0,l.paintWidth,l.paintHeight,0,-i,n,i),this.compose(),this.restore()}paintInlineImageXObjectGroup(t,n){if(!this.contentVisible)return;let i=this.ctx,r;if(t.bitmap)r=t.bitmap;else{let s=t.width,l=t.height,d=this.cachedCanvases.getCanvas("inlineImage",s,l).context;gj(d,t),r=this.applyTransferMapsToCanvas(d)}for(let s of n)i.save(),i.transform(...s.transform),i.scale(1,-1),KA(i,r,s.x,s.y,s.w,s.h,0,-1,1,1),i.restore();this.compose()}paintSolidColorImageMask(){this.contentVisible&&(this.ctx.fillRect(0,0,1,1),this.compose())}markPoint(t){}markPointProps(t,n){}beginMarkedContent(t){this.markedContentStack.push({visible:!0})}beginMarkedContentProps(t,n){t==="OC"?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(n)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}endMarkedContent(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}beginCompat(){}endCompat(){}consumePath(t){let n=this.current.isEmptyClip();this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(t);let i=this.ctx;this.pendingClip&&(n||(this.pendingClip===bj?i.clip("evenodd"):i.clip()),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),i.beginPath()}getSinglePixelWidth(){if(!this._cachedGetSinglePixelWidth){let t=Qn(this.ctx);if(t[1]===0&&t[2]===0)this._cachedGetSinglePixelWidth=1/Math.min(Math.abs(t[0]),Math.abs(t[3]));else{let n=Math.abs(t[0]*t[3]-t[2]*t[1]),i=Math.hypot(t[0],t[2]),r=Math.hypot(t[1],t[3]);this._cachedGetSinglePixelWidth=Math.max(i,r)/n}}return this._cachedGetSinglePixelWidth}getScaleForStroking(){if(this._cachedScaleForStroking[0]===-1){let{lineWidth:t}=this.current,{a:n,b:i,c:r,d:s}=this.ctx.getTransform(),l,c;if(i===0&&r===0){let d=Math.abs(n),h=Math.abs(s);if(d===h)if(t===0)l=c=1/d;else{let p=d*t;l=c=p<1?1/p:1}else if(t===0)l=1/d,c=1/h;else{let p=d*t,y=h*t;l=p<1?1/p:1,c=y<1?1/y:1}}else{let d=Math.abs(n*s-i*r),h=Math.hypot(n,i),p=Math.hypot(r,s);if(t===0)l=p/d,c=h/d;else{let y=t*d;l=p>y?p/y:1,c=h>y?h/y:1}}this._cachedScaleForStroking[0]=l,this._cachedScaleForStroking[1]=c}return this._cachedScaleForStroking}rescaleAndStroke(t){let{ctx:n}=this,{lineWidth:i}=this.current,[r,s]=this.getScaleForStroking();if(n.lineWidth=i||1,r===1&&s===1){n.stroke();return}let l=n.getLineDash();if(t&&n.save(),n.scale(r,s),l.length>0){let c=Math.max(r,s);n.setLineDash(l.map(d=>d/c)),n.lineDashOffset/=c}n.stroke(),t&&n.restore()}isContentVisible(){for(let t=this.markedContentStack.length-1;t>=0;t--)if(!this.markedContentStack[t].visible)return!1;return!0}};for(let e in ws)H0.prototype[e]!==void 0&&(H0.prototype[ws[e]]=H0.prototype[e]);var nh=class{static#t=null;static#e="";static get workerPort(){return this.#t}static set workerPort(t){if(!(typeof Worker<"u"&&t instanceof Worker)&&t!==null)throw new Error("Invalid `workerPort` type.");this.#t=t}static get workerSrc(){return this.#e}static set workerSrc(t){if(typeof t!="string")throw new Error("Invalid `workerSrc` type.");this.#e=t}},m_=class{#t;#e;constructor({parsedData:t,rawData:n}){this.#t=t,this.#e=n}getRaw(){return this.#e}get(t){return this.#t.get(t)??null}getAll(){return hF(this.#t)}has(t){return this.#t.has(t)}},B0=Symbol("INTERNAL"),g_=class{#t=!1;#e=!1;#n=!1;#i=!0;constructor(t,{name:n,intent:i,usage:r,rbGroups:s}){this.#t=!!(t&lo.DISPLAY),this.#e=!!(t&lo.PRINT),this.name=n,this.intent=i,this.usage=r,this.rbGroups=s}get visible(){if(this.#n)return this.#i;if(!this.#i)return!1;let{print:t,view:n}=this.usage;return this.#t?n?.viewState!=="OFF":this.#e?t?.printState!=="OFF":!0}_setVisible(t,n,i=!1){t!==B0&&Mn("Internal method `_setVisible` called."),this.#n=i,this.#i=n}},v_=class{#t=null;#e=new Map;#n=null;#i=null;constructor(t,n=lo.DISPLAY){if(this.renderingIntent=n,this.name=null,this.creator=null,t!==null){this.name=t.name,this.creator=t.creator,this.#i=t.order;for(let i of t.groups)this.#e.set(i.id,new g_(n,i));if(t.baseState==="OFF")for(let i of this.#e.values())i._setVisible(B0,!1);for(let i of t.on)this.#e.get(i)._setVisible(B0,!0);for(let i of t.off)this.#e.get(i)._setVisible(B0,!1);this.#n=this.getHash()}}#r(t){let n=t.length;if(n<2)return!0;let i=t[0];for(let r=1;r<n;r++){let s=t[r],l;if(Array.isArray(s))l=this.#r(s);else if(this.#e.has(s))l=this.#e.get(s).visible;else return ke(`Optional content group not found: ${s}`),!0;switch(i){case"And":if(!l)return!1;break;case"Or":if(l)return!0;break;case"Not":return!l;default:return!0}}return i==="And"}isVisible(t){if(this.#e.size===0)return!0;if(!t)return Fw("Optional content group not defined."),!0;if(t.type==="OCG")return this.#e.has(t.id)?this.#e.get(t.id).visible:(ke(`Optional content group not found: ${t.id}`),!0);if(t.type==="OCMD"){if(t.expression)return this.#r(t.expression);if(!t.policy||t.policy==="AnyOn"){for(let n of t.ids){if(!this.#e.has(n))return ke(`Optional content group not found: ${n}`),!0;if(this.#e.get(n).visible)return!0}return!1}else if(t.policy==="AllOn"){for(let n of t.ids){if(!this.#e.has(n))return ke(`Optional content group not found: ${n}`),!0;if(!this.#e.get(n).visible)return!1}return!0}else if(t.policy==="AnyOff"){for(let n of t.ids){if(!this.#e.has(n))return ke(`Optional content group not found: ${n}`),!0;if(!this.#e.get(n).visible)return!0}return!1}else if(t.policy==="AllOff"){for(let n of t.ids){if(!this.#e.has(n))return ke(`Optional content group not found: ${n}`),!0;if(this.#e.get(n).visible)return!1}return!0}return ke(`Unknown optional content policy ${t.policy}.`),!0}return ke(`Unknown group type ${t.type}.`),!0}setVisibility(t,n=!0,i=!0){let r=this.#e.get(t);if(!r){ke(`Optional content group not found: ${t}`);return}if(i&&n&&r.rbGroups.length)for(let s of r.rbGroups)for(let l of s)l!==t&&this.#e.get(l)?._setVisible(B0,!1,!0);r._setVisible(B0,!!n,!0),this.#t=null}setOCGState({state:t,preserveRB:n}){let i;for(let r of t){switch(r){case"ON":case"OFF":case"Toggle":i=r;continue}let s=this.#e.get(r);if(s)switch(i){case"ON":this.setVisibility(r,!0,n);break;case"OFF":this.setVisibility(r,!1,n);break;case"Toggle":this.setVisibility(r,!s.visible,n);break}}this.#t=null}get hasInitialVisibility(){return this.#n===null||this.getHash()===this.#n}getOrder(){return this.#e.size?this.#i?this.#i.slice():[...this.#e.keys()]:null}getGroups(){return this.#e.size>0?hF(this.#e):null}getGroup(t){return this.#e.get(t)||null}getHash(){if(this.#t!==null)return this.#t;let t=new rw;for(let[n,i]of this.#e)t.update(`${n}:${i.visible}`);return this.#t=t.hexdigest()}},y_=class{constructor(t,{disableRange:n=!1,disableStream:i=!1}){ki(t,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.');let{length:r,initialData:s,progressiveDone:l,contentDispositionFilename:c}=t;if(this._queuedChunks=[],this._progressiveDone=l,this._contentDispositionFilename=c,s?.length>0){let d=s instanceof Uint8Array&&s.byteLength===s.buffer.byteLength?s.buffer:new Uint8Array(s).buffer;this._queuedChunks.push(d)}this._pdfDataRangeTransport=t,this._isStreamingSupported=!i,this._isRangeSupported=!n,this._contentLength=r,this._fullRequestReader=null,this._rangeReaders=[],t.addRangeListener((d,h)=>{this._onReceiveData({begin:d,chunk:h})}),t.addProgressListener((d,h)=>{this._onProgress({loaded:d,total:h})}),t.addProgressiveReadListener(d=>{this._onReceiveData({chunk:d})}),t.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),t.transportReady()}_onReceiveData({begin:t,chunk:n}){let i=n instanceof Uint8Array&&n.byteLength===n.buffer.byteLength?n.buffer:new Uint8Array(n).buffer;if(t===void 0)this._fullRequestReader?this._fullRequestReader._enqueue(i):this._queuedChunks.push(i);else{let r=this._rangeReaders.some(function(s){return s._begin!==t?!1:(s._enqueue(i),!0)});ki(r,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(t){t.total===void 0?this._rangeReaders[0]?.onProgress?.({loaded:t.loaded}):this._fullRequestReader?.onProgress?.({loaded:t.loaded,total:t.total})}_onProgressiveDone(){this._fullRequestReader?.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(t){let n=this._rangeReaders.indexOf(t);n>=0&&this._rangeReaders.splice(n,1)}getFullReader(){ki(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");let t=this._queuedChunks;return this._queuedChunks=null,new b_(this,t,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(t,n){if(n<=this._progressiveDataLength)return null;let i=new S_(this,t,n);return this._pdfDataRangeTransport.requestDataRange(t,n),this._rangeReaders.push(i),i}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(let n of this._rangeReaders.slice(0))n.cancel(t);this._pdfDataRangeTransport.abort()}},b_=class{constructor(t,n,i=!1,r=null){this._stream=t,this._done=i||!1,this._filename=mF(r)?r:null,this._queuedChunks=n||[],this._loaded=0;for(let s of this._queuedChunks)this._loaded+=s.byteLength;this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}_enqueue(t){this._done||(this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunks.push(t),this._loaded+=t.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};let t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(let n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}},S_=class{constructor(t,n,i){this._stream=t,this._begin=n,this._end=i,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(t){if(!this._done){if(this._requests.length===0)this._queuedChunk=t;else{this._requests.shift().resolve({value:t,done:!1});for(let i of this._requests)i.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){let n=this._queuedChunk;return this._queuedChunk=null,{value:n,done:!1}}if(this._done)return{value:void 0,done:!0};let t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(let n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}};function GJ(e){let t=!0,n=i("filename\\*","i").exec(e);if(n){n=n[1];let p=c(n);return p=unescape(p),p=d(p),p=h(p),s(p)}if(n=l(e),n){let p=h(n);return s(p)}if(n=i("filename","i").exec(e),n){n=n[1];let p=c(n);return p=h(p),s(p)}function i(p,y){return new RegExp("(?:^|;)\\s*"+p+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',y)}function r(p,y){if(p){if(!/^[\x00-\xFF]+$/.test(y))return y;try{let g=new TextDecoder(p,{fatal:!0}),b=Nw(y);y=g.decode(b),t=!1}catch{}}return y}function s(p){return t&&/[\x80-\xff]/.test(p)&&(p=r("utf-8",p),t&&(p=r("iso-8859-1",p))),p}function l(p){let y=[],g,b=i("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;(g=b.exec(p))!==null;){let[,w,D,A]=g;if(w=parseInt(w,10),w in y){if(w===0)break;continue}y[w]=[D,A]}let S=[];for(let w=0;w<y.length&&w in y;++w){let[D,A]=y[w];A=c(A),D&&(A=unescape(A),w===0&&(A=d(A))),S.push(A)}return S.join("")}function c(p){if(p.startsWith('"')){let y=p.slice(1).split('\\"');for(let g=0;g<y.length;++g){let b=y[g].indexOf('"');b!==-1&&(y[g]=y[g].slice(0,b),y.length=g+1),y[g]=y[g].replaceAll(/\\(.)/g,"$1")}p=y.join('"')}return p}function d(p){let y=p.indexOf("'");if(y===-1)return p;let g=p.slice(0,y),S=p.slice(y+1).replace(/^[^']*'/,"");return r(g,S)}function h(p){return!p.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(p)?p:p.replaceAll(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,function(y,g,b,S){if(b==="q"||b==="Q")return S=S.replaceAll("_"," "),S=S.replaceAll(/=([0-9a-fA-F]{2})/g,function(w,D){return String.fromCharCode(parseInt(D,16))}),r(g,S);try{S=atob(S)}catch{}return r(g,S)})}return""}function Tj(e,t){let n=new Headers;if(!e||!t||typeof t!="object")return n;for(let i in t){let r=t[i];r!==void 0&&n.append(i,r)}return n}function Lw(e){try{return new URL(e).origin}catch{}return null}function Cj({responseHeaders:e,isHttp:t,rangeChunkSize:n,disableRange:i}){let r={allowRangeRequests:!1,suggestedLength:void 0},s=parseInt(e.get("Content-Length"),10);return!Number.isInteger(s)||(r.suggestedLength=s,s<=2*n)||i||!t||e.get("Accept-Ranges")!=="bytes"||(e.get("Content-Encoding")||"identity")!=="identity"||(r.allowRangeRequests=!0),r}function Dj(e){let t=e.get("Content-Disposition");if(t){let n=GJ(t);if(n.includes("%"))try{n=decodeURIComponent(n)}catch{}if(mF(n))return n}return null}function Pw(e,t){return e===404||e===0&&t.startsWith("file:")?new ih('Missing PDF "'+t+'".'):new q0(`Unexpected server response (${e}) while retrieving PDF "${t}".`,e)}function Rj(e){return e===200||e===206}function Oj(e,t,n){return{method:"GET",headers:e,signal:n.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function Mj(e){return e instanceof Uint8Array?e.buffer:e instanceof ArrayBuffer?e:(ke(`getArrayBuffer - unexpected data format: ${e}`),new Uint8Array(e).buffer)}var pw=class{_responseOrigin=null;constructor(t){this.source=t,this.isHttp=/^https?:/i.test(t.url),this.headers=Tj(this.isHttp,t.httpHeaders),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return ki(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new x_(this),this._fullRequestReader}getRangeReader(t,n){if(n<=this._progressiveDataLength)return null;let i=new A_(this,t,n);return this._rangeRequestReaders.push(i),i}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(let n of this._rangeRequestReaders.slice(0))n.cancel(t)}},x_=class{constructor(t){this._stream=t,this._reader=null,this._loaded=0,this._filename=null;let n=t.source;this._withCredentials=n.withCredentials||!1,this._contentLength=n.length,this._headersCapability=Promise.withResolvers(),this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange;let i=new Headers(t.headers),r=n.url;fetch(r,Oj(i,this._withCredentials,this._abortController)).then(s=>{if(t._responseOrigin=Lw(s.url),!Rj(s.status))throw Pw(s.status,r);this._reader=s.body.getReader(),this._headersCapability.resolve();let l=s.headers,{allowRangeRequests:c,suggestedLength:d}=Cj({responseHeaders:l,isHttp:t.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=c,this._contentLength=d||this._contentLength,this._filename=Dj(l),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new vl("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._headersCapability.promise;let{value:t,done:n}=await this._reader.read();return n?{value:t,done:n}:(this._loaded+=t.byteLength,this.onProgress?.({loaded:this._loaded,total:this._contentLength}),{value:Mj(t),done:!1})}cancel(t){this._reader?.cancel(t),this._abortController.abort()}},A_=class{constructor(t,n,i){this._stream=t,this._reader=null,this._loaded=0;let r=t.source;this._withCredentials=r.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!r.disableStream,this._abortController=new AbortController;let s=new Headers(t.headers);s.append("Range",`bytes=${n}-${i-1}`);let l=r.url;fetch(l,Oj(s,this._withCredentials,this._abortController)).then(c=>{let d=Lw(c.url);if(d!==t._responseOrigin)throw new Error(`Expected range response-origin "${d}" to match "${t._responseOrigin}".`);if(!Rj(c.status))throw Pw(c.status,l);this._readCapability.resolve(),this._reader=c.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._readCapability.promise;let{value:t,done:n}=await this._reader.read();return n?{value:t,done:n}:(this._loaded+=t.byteLength,this.onProgress?.({loaded:this._loaded}),{value:Mj(t),done:!1})}cancel(t){this._reader?.cancel(t),this._abortController.abort()}},VM=200,GM=206;function IJ(e){let t=e.response;return typeof t!="string"?t:Nw(t).buffer}var w_=class{_responseOrigin=null;constructor({url:t,httpHeaders:n,withCredentials:i}){this.url=t,this.isHttp=/^https?:/i.test(t),this.headers=Tj(this.isHttp,n),this.withCredentials=i||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}request(t){let n=new XMLHttpRequest,i=this.currXhrId++,r=this.pendingRequests[i]={xhr:n};n.open("GET",this.url),n.withCredentials=this.withCredentials;for(let[s,l]of this.headers)n.setRequestHeader(s,l);return this.isHttp&&"begin"in t&&"end"in t?(n.setRequestHeader("Range",`bytes=${t.begin}-${t.end-1}`),r.expectedStatus=GM):r.expectedStatus=VM,n.responseType="arraybuffer",ki(t.onError,"Expected `onError` callback to be provided."),n.onerror=()=>{t.onError(n.status)},n.onreadystatechange=this.onStateChange.bind(this,i),n.onprogress=this.onProgress.bind(this,i),r.onHeadersReceived=t.onHeadersReceived,r.onDone=t.onDone,r.onError=t.onError,r.onProgress=t.onProgress,n.send(null),i}onProgress(t,n){let i=this.pendingRequests[t];i&&i.onProgress?.(n)}onStateChange(t,n){let i=this.pendingRequests[t];if(!i)return;let r=i.xhr;if(r.readyState>=2&&i.onHeadersReceived&&(i.onHeadersReceived(),delete i.onHeadersReceived),r.readyState!==4||!(t in this.pendingRequests))return;if(delete this.pendingRequests[t],r.status===0&&this.isHttp){i.onError(r.status);return}let s=r.status||VM;if(!(s===VM&&i.expectedStatus===GM)&&s!==i.expectedStatus){i.onError(r.status);return}let c=IJ(r);if(s===GM){let d=r.getResponseHeader("Content-Range"),h=/bytes (\d+)-(\d+)\/(\d+)/.exec(d);h?i.onDone({begin:parseInt(h[1],10),chunk:c}):(ke('Missing or invalid "Content-Range" header.'),i.onError(0))}else c?i.onDone({begin:0,chunk:c}):i.onError(r.status)}getRequestXhr(t){return this.pendingRequests[t].xhr}isPendingRequest(t){return t in this.pendingRequests}abortRequest(t){let n=this.pendingRequests[t].xhr;delete this.pendingRequests[t],n.abort()}},E_=class{constructor(t){this._source=t,this._manager=new w_(t),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(t){let n=this._rangeRequestReaders.indexOf(t);n>=0&&this._rangeRequestReaders.splice(n,1)}getFullReader(){return ki(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new T_(this._manager,this._source),this._fullRequestReader}getRangeReader(t,n){let i=new C_(this._manager,t,n);return i.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(i),i}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(let n of this._rangeRequestReaders.slice(0))n.cancel(t)}},T_=class{constructor(t,n){this._manager=t,this._url=n.url,this._fullRequestId=t.request({onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._headersCapability=Promise.withResolvers(),this._disableRange=n.disableRange||!1,this._contentLength=n.length,this._rangeChunkSize=n.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){let t=this._fullRequestId,n=this._manager.getRequestXhr(t);this._manager._responseOrigin=Lw(n.responseURL);let i=n.getAllResponseHeaders(),r=new Headers(i?i.trimStart().replace(/[^\S ]+$/,"").split(/[\r\n]+/).map(c=>{let[d,...h]=c.split(": ");return[d,h.join(": ")]}):[]),{allowRangeRequests:s,suggestedLength:l}=Cj({responseHeaders:r,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});s&&(this._isRangeSupported=!0),this._contentLength=l||this._contentLength,this._filename=Dj(r),this._isRangeSupported&&this._manager.abortRequest(t),this._headersCapability.resolve()}_onDone(t){if(t&&(this._requests.length>0?this._requests.shift().resolve({value:t.chunk,done:!1}):this._cachedChunks.push(t.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(let n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(t){this._storedError=Pw(t,this._url),this._headersCapability.reject(this._storedError);for(let n of this._requests)n.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(t){this.onProgress?.({loaded:t.loaded,total:t.lengthComputable?t.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersCapability.promise}async read(){if(await this._headersCapability.promise,this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};let t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0,this._headersCapability.reject(t);for(let n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},C_=class{constructor(t,n,i){this._manager=t,this._url=t.url,this._requestId=t.request({begin:n,end:i,onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)}),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_onHeadersReceived(){let t=Lw(this._manager.getRequestXhr(this._requestId)?.responseURL);t!==this._manager._responseOrigin&&(this._storedError=new Error(`Expected range response-origin "${t}" to match "${this._manager._responseOrigin}".`),this._onError(0))}_close(){this.onClosed?.(this)}_onDone(t){let n=t.chunk;this._requests.length>0?this._requests.shift().resolve({value:n,done:!1}):this._queuedChunk=n,this._done=!0;for(let i of this._requests)i.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(t){this._storedError??=Pw(t,this._url);for(let n of this._requests)n.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(t){this.isStreamingSupported||this.onProgress?.({loaded:t.loaded})}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(this._queuedChunk!==null){let n=this._queuedChunk;return this._queuedChunk=null,{value:n,done:!1}}if(this._done)return{value:void 0,done:!0};let t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(let n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},XJ=/^[a-z][a-z0-9\-+.]+:/i;function YJ(e){if(XJ.test(e))return new URL(e);let t=process.getBuiltinModule("url");return new URL(t.pathToFileURL(e))}var D_=class{constructor(t){this.source=t,this.url=YJ(t.url),ki(this.url.protocol==="file:","PDFNodeStream only supports file:// URLs."),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return ki(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=new R_(this),this._fullRequestReader}getRangeReader(t,n){if(n<=this._progressiveDataLength)return null;let i=new O_(this,t,n);return this._rangeRequestReaders.push(i),i}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(let n of this._rangeRequestReaders.slice(0))n.cancel(t)}},R_=class{constructor(t){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;let n=t.source;this._contentLength=n.length,this._loaded=0,this._filename=null,this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers();let i=process.getBuiltinModule("fs");i.promises.lstat(this._url).then(r=>{this._contentLength=r.size,this._setReadableStream(i.createReadStream(this._url)),this._headersCapability.resolve()},r=>{r.code==="ENOENT"&&(r=new ih(`Missing PDF "${this._url}".`)),this._storedError=r,this._headersCapability.reject(r)})}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;let t=this._readableStream.read();return t===null?(this._readCapability=Promise.withResolvers(),this.read()):(this._loaded+=t.length,this.onProgress?.({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){if(!this._readableStream){this._error(t);return}this._readableStream.destroy(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",n=>{this._error(n)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new vl("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}},O_=class{constructor(t,n,i){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers();let r=t.source;this._isStreamingSupported=!r.disableStream;let s=process.getBuiltinModule("fs");this._setReadableStream(s.createReadStream(this._url,{start:n,end:i-1}))}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;let t=this._readableStream.read();return t===null?(this._readCapability=Promise.withResolvers(),this.read()):(this._loaded+=t.length,this.onProgress?.({loaded:this._loaded}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){if(!this._readableStream){this._error(t);return}this._readableStream.destroy(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",n=>{this._error(n)}),this._storedError&&this._readableStream.destroy(this._storedError)}},KJ=1e5,Tr=30,ZJ=.8,zy=class e{#t=Promise.withResolvers();#e=null;#n=!1;#i=!!globalThis.FontInspector?.enabled;#r=null;#a=null;#l=0;#s=0;#c=null;#u=null;#d=0;#f=0;#h=Object.create(null);#o=[];#p=null;#g=[];#m=new WeakMap;#v=null;static#S=new Map;static#y=new Map;static#x=new WeakMap;static#w=null;static#T=new Set;constructor({textContentSource:t,container:n,viewport:i}){if(t instanceof ReadableStream)this.#p=t;else if(typeof t=="object")this.#p=new ReadableStream({start(d){d.enqueue(t),d.close()}});else throw new Error('No "textContentSource" parameter specified.');this.#e=this.#u=n,this.#f=i.scale*(globalThis.devicePixelRatio||1),this.#d=i.rotation,this.#a={div:null,properties:null,ctx:null};let{pageWidth:r,pageHeight:s,pageX:l,pageY:c}=i.rawDims;this.#v=[1,0,0,-1,-l,c+s],this.#s=r,this.#l=s,e.#_(),ah(n,i),this.#t.promise.finally(()=>{e.#T.delete(this),this.#a=null,this.#h=null}).catch(()=>{})}static get fontFamilyMap(){let{isWindows:t,isFirefox:n}=xa.platform;return qe(this,"fontFamilyMap",new Map([["sans-serif",`${t&&n?"Calibri, ":""}sans-serif`],["monospace",`${t&&n?"Lucida Console, ":""}monospace`]]))}render(){let t=()=>{this.#c.read().then(({value:n,done:i})=>{if(i){this.#t.resolve();return}this.#r??=n.lang,Object.assign(this.#h,n.styles),this.#D(n.items),t()},this.#t.reject)};return this.#c=this.#p.getReader(),e.#T.add(this),t(),this.#t.promise}update({viewport:t,onBefore:n=null}){let i=t.scale*(globalThis.devicePixelRatio||1),r=t.rotation;if(r!==this.#d&&(n?.(),this.#d=r,ah(this.#u,{rotation:r})),i!==this.#f){n?.(),this.#f=i;let s={div:null,properties:null,ctx:e.#R(this.#r)};for(let l of this.#g)s.properties=this.#m.get(l),s.div=l,this.#A(s)}}cancel(){let t=new vl("TextLayer task cancelled.");this.#c?.cancel(t).catch(()=>{}),this.#c=null,this.#t.reject(t)}get textDivs(){return this.#g}get textContentItemsStr(){return this.#o}#D(t){if(this.#n)return;this.#a.ctx??=e.#R(this.#r);let n=this.#g,i=this.#o;for(let r of t){if(n.length>KJ){ke("Ignoring additional textDivs for performance reasons."),this.#n=!0;return}if(r.str===void 0){if(r.type==="beginMarkedContentProps"||r.type==="beginMarkedContent"){let s=this.#e;this.#e=document.createElement("span"),this.#e.classList.add("markedContent"),r.id!==null&&this.#e.setAttribute("id",`${r.id}`),s.append(this.#e)}else r.type==="endMarkedContent"&&(this.#e=this.#e.parentNode);continue}i.push(r.str),this.#O(r)}}#O(t){let n=document.createElement("span"),i={angle:0,canvasWidth:0,hasText:t.str!=="",hasEOL:t.hasEOL,fontSize:0};this.#g.push(n);let r=Kt.transform(this.#v,t.transform),s=Math.atan2(r[1],r[0]),l=this.#h[t.fontName];l.vertical&&(s+=Math.PI/2);let c=this.#i&&l.fontSubstitution||l.fontFamily;c=e.fontFamilyMap.get(c)||c;let d=Math.hypot(r[2],r[3]),h=d*e.#z(c,this.#r),p,y;s===0?(p=r[4],y=r[5]-h):(p=r[4]+h*Math.sin(s),y=r[5]-h*Math.cos(s));let g="calc(var(--scale-factor)*",b=n.style;this.#e===this.#u?(b.left=`${(100*p/this.#s).toFixed(2)}%`,b.top=`${(100*y/this.#l).toFixed(2)}%`):(b.left=`${g}${p.toFixed(2)}px)`,b.top=`${g}${y.toFixed(2)}px)`),b.fontSize=`${g}${(e.#w*d).toFixed(2)}px)`,b.fontFamily=c,i.fontSize=d,n.setAttribute("role","presentation"),n.textContent=t.str,n.dir=t.dir,this.#i&&(n.dataset.fontName=l.fontSubstitutionLoadedName||t.fontName),s!==0&&(i.angle=s*(180/Math.PI));let S=!1;if(t.str.length>1)S=!0;else if(t.str!==" "&&t.transform[0]!==t.transform[3]){let w=Math.abs(t.transform[0]),D=Math.abs(t.transform[3]);w!==D&&Math.max(w,D)/Math.min(w,D)>1.5&&(S=!0)}if(S&&(i.canvasWidth=l.vertical?t.height:t.width),this.#m.set(n,i),this.#a.div=n,this.#a.properties=i,this.#A(this.#a),i.hasText&&this.#e.append(n),i.hasEOL){let w=document.createElement("br");w.setAttribute("role","presentation"),this.#e.append(w)}}#A(t){let{div:n,properties:i,ctx:r}=t,{style:s}=n,l="";if(e.#w>1&&(l=`scale(${1/e.#w})`),i.canvasWidth!==0&&i.hasText){let{fontFamily:c}=s,{canvasWidth:d,fontSize:h}=i;e.#C(r,h*this.#f,c);let{width:p}=r.measureText(n.textContent);p>0&&(l=`scaleX(${d*this.#f/p}) ${l}`)}i.angle!==0&&(l=`rotate(${i.angle}deg) ${l}`),l.length>0&&(s.transform=l)}static cleanup(){if(!(this.#T.size>0)){this.#S.clear();for(let{canvas:t}of this.#y.values())t.remove();this.#y.clear()}}static#R(t=null){let n=this.#y.get(t||="");if(!n){let i=document.createElement("canvas");i.className="hiddenCanvasElement",i.lang=t,document.body.append(i),n=i.getContext("2d",{alpha:!1,willReadFrequently:!0}),this.#y.set(t,n),this.#x.set(n,{size:0,family:""})}return n}static#C(t,n,i){let r=this.#x.get(t);n===r.size&&i===r.family||(t.font=`${n}px ${i}`,r.size=n,r.family=i)}static#_(){if(this.#w!==null)return;let t=document.createElement("div");t.style.opacity=0,t.style.lineHeight=1,t.style.fontSize="1px",t.style.position="absolute",t.textContent="X",document.body.append(t),this.#w=t.getBoundingClientRect().height,t.remove()}static#z(t,n){let i=this.#S.get(t);if(i)return i;let r=this.#R(n);r.canvas.width=r.canvas.height=Tr,this.#C(r,Tr,t);let s=r.measureText(""),l=s.fontBoundingBoxAscent,c=Math.abs(s.fontBoundingBoxDescent);if(l){let p=l/(l+c);return this.#S.set(t,p),r.canvas.width=r.canvas.height=0,p}r.strokeStyle="red",r.clearRect(0,0,Tr,Tr),r.strokeText("g",0,0);let d=r.getImageData(0,0,Tr,Tr).data;c=0;for(let p=d.length-1-3;p>=0;p-=4)if(d[p]>0){c=Math.ceil(p/4/Tr);break}r.clearRect(0,0,Tr,Tr),r.strokeText("A",0,Tr),d=r.getImageData(0,0,Tr,Tr).data,l=0;for(let p=0,y=d.length;p<y;p+=4)if(d[p]>0){l=Tr-Math.floor(p/4/Tr);break}r.canvas.width=r.canvas.height=0;let h=l?l/(l+c):ZJ;return this.#S.set(t,h),h}},ky=class e{static textContent(t){let n=[],i={items:n,styles:Object.create(null)};function r(s){if(!s)return;let l=null,c=s.name;if(c==="#text")l=s.value;else if(e.shouldBuildText(c))s?.attributes?.textContent?l=s.attributes.textContent:s.value&&(l=s.value);else return;if(l!==null&&n.push({str:l}),!!s.children)for(let d of s.children)r(d)}return r(t),i}static shouldBuildText(t){return!(t==="textarea"||t==="input"||t==="option"||t==="select")}},WJ=65536,QJ=100,JJ=5e3,$J=Ua?o_:i_,t$=Ua?s_:uw,e$=Ua?r_:a_,n$=Ua?l_:dw;function i$(e={}){typeof e=="string"||e instanceof URL?e={url:e}:(e instanceof ArrayBuffer||ArrayBuffer.isView(e))&&(e={data:e});let t=new M_,{docId:n}=t,i=e.url?a$(e.url):null,r=e.data?r$(e.data):null,s=e.httpHeaders||null,l=e.withCredentials===!0,c=e.password??null,d=e.range instanceof mw?e.range:null,h=Number.isInteger(e.rangeChunkSize)&&e.rangeChunkSize>0?e.rangeChunkSize:WJ,p=e.worker instanceof j0?e.worker:null,y=e.verbosity,g=typeof e.docBaseUrl=="string"&&!kw(e.docBaseUrl)?e.docBaseUrl:null,b=typeof e.cMapUrl=="string"?e.cMapUrl:null,S=e.cMapPacked!==!1,w=e.CMapReaderFactory||t$,D=typeof e.standardFontDataUrl=="string"?e.standardFontDataUrl:null,A=e.StandardFontDataFactory||n$,T=e.stopAtErrors!==!0,C=Number.isInteger(e.maxImageSize)&&e.maxImageSize>-1?e.maxImageSize:-1,O=e.isEvalSupported!==!1,M=typeof e.isOffscreenCanvasSupported=="boolean"?e.isOffscreenCanvasSupported:!Ua,k=typeof e.isImageDecoderSupported=="boolean"?e.isImageDecoderSupported:!Ua&&(xa.platform.isFirefox||!globalThis.chrome),z=Number.isInteger(e.canvasMaxAreaInBytes)?e.canvasMaxAreaInBytes:-1,P=typeof e.disableFontFace=="boolean"?e.disableFontFace:Ua,U=e.fontExtraProperties===!0,B=e.enableXfa===!0,W=e.ownerDocument||globalThis.document,Y=e.disableRange===!0,ot=e.disableStream===!0,ft=e.disableAutoFetch===!0,$=e.pdfBug===!0,tt=e.CanvasFactory||$J,K=e.FilterFactory||e$,wt=e.enableHWA===!0,Ct=d?d.length:e.length??NaN,Yt=typeof e.useSystemFonts=="boolean"?e.useSystemFonts:!Ua&&!P,nt=typeof e.useWorkerFetch=="boolean"?e.useWorkerFetch:w===uw&&A===dw&&b&&D&&Ty(b,document.baseURI)&&Ty(D,document.baseURI),yt=null;SJ(y);let Tt={canvasFactory:new tt({ownerDocument:W,enableHWA:wt}),filterFactory:new K({docId:n,ownerDocument:W}),cMapReaderFactory:nt?null:new w({baseUrl:b,isCompressed:S}),standardFontDataFactory:nt?null:new A({baseUrl:D})};if(!p){let Mt={verbosity:y,port:nh.workerPort};p=Mt.port?j0.fromPort(Mt):new j0(Mt),t._worker=p}let Rt={docId:n,apiVersion:"4.10.38",data:r,password:c,disableAutoFetch:ft,rangeChunkSize:h,length:Ct,docBaseUrl:g,enableXfa:B,evaluatorOptions:{maxImageSize:C,disableFontFace:P,ignoreErrors:T,isEvalSupported:O,isOffscreenCanvasSupported:M,isImageDecoderSupported:k,canvasMaxAreaInBytes:z,fontExtraProperties:U,useSystemFonts:Yt,cMapUrl:nt?b:null,standardFontDataUrl:nt?D:null}},De={disableFontFace:P,fontExtraProperties:U,ownerDocument:W,pdfBug:$,styleElement:yt,loadingParams:{disableAutoFetch:ft,enableXfa:B}};return p.promise.then(function(){if(t.destroyed)throw new Error("Loading aborted");if(p.destroyed)throw new Error("Worker was destroyed");let Mt=p.messageHandler.sendWithPromise("GetDocRequest",Rt,r?[r.buffer]:null),zt;if(d)zt=new y_(d,{disableRange:Y,disableStream:ot});else if(!r){if(!i)throw new Error("getDocument - no `url` parameter provided.");let ce;if(Ua)if(Ty(i)){if(typeof fetch>"u"||typeof Response>"u"||!("body"in Response.prototype))throw new Error("getDocument - the Fetch API was disabled in Node.js, see `--no-experimental-fetch`.");ce=pw}else ce=D_;else ce=Ty(i)?pw:E_;zt=new ce({url:i,length:Ct,httpHeaders:s,withCredentials:l,rangeChunkSize:h,disableRange:Y,disableStream:ot})}return Mt.then(ce=>{if(t.destroyed)throw new Error("Loading aborted");if(p.destroyed)throw new Error("Worker was destroyed");let en=new eh(n,ce,p.port),In=new z_(en,t,zt,De,Tt);t._transport=In,en.send("Ready",null)})}).catch(t._capability.reject),t}function a$(e){if(e instanceof URL)return e.href;try{return new URL(e,window.location).href}catch{if(Ua&&typeof e=="string")return e}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}function r$(e){if(Ua&&typeof Buffer<"u"&&e instanceof Buffer)throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`.");if(e instanceof Uint8Array&&e.byteLength===e.buffer.byteLength)return e;if(typeof e=="string")return Nw(e);if(e instanceof ArrayBuffer||ArrayBuffer.isView(e)||typeof e=="object"&&!isNaN(e?.length))return new Uint8Array(e);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}function Sj(e){return typeof e=="object"&&Number.isInteger(e?.num)&&e.num>=0&&Number.isInteger(e?.gen)&&e.gen>=0}var M_=class e{static#t=0;constructor(){this._capability=Promise.withResolvers(),this._transport=null,this._worker=null,this.docId=`d${e.#t++}`,this.destroyed=!1,this.onPassword=null,this.onProgress=null}get promise(){return this._capability.promise}async destroy(){this.destroyed=!0;try{this._worker?.port&&(this._worker._pendingDestroy=!0),await this._transport?.destroy()}catch(t){throw this._worker?.port&&delete this._worker._pendingDestroy,t}this._transport=null,this._worker?.destroy(),this._worker=null}},mw=class{constructor(t,n,i=!1,r=null){this.length=t,this.initialData=n,this.progressiveDone=i,this.contentDispositionFilename=r,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=Promise.withResolvers()}addRangeListener(t){this._rangeListeners.push(t)}addProgressListener(t){this._progressListeners.push(t)}addProgressiveReadListener(t){this._progressiveReadListeners.push(t)}addProgressiveDoneListener(t){this._progressiveDoneListeners.push(t)}onDataRange(t,n){for(let i of this._rangeListeners)i(t,n)}onDataProgress(t,n){this._readyCapability.promise.then(()=>{for(let i of this._progressListeners)i(t,n)})}onDataProgressiveRead(t){this._readyCapability.promise.then(()=>{for(let n of this._progressiveReadListeners)n(t)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(let t of this._progressiveDoneListeners)t()})}transportReady(){this._readyCapability.resolve()}requestDataRange(t,n){Mn("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}},__=class{constructor(t,n){this._pdfInfo=t,this._transport=n}get annotationStorage(){return this._transport.annotationStorage}get canvasFactory(){return this._transport.canvasFactory}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return qe(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(t){return this._transport.getPage(t)}getPageIndex(t){return this._transport.getPageIndex(t)}getDestinations(){return this._transport.getDestinations()}getDestination(t){return this._transport.getDestination(t)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:t="display"}={}){let{renderingIntent:n}=this._transport.getRenderingIntent(t);return this._transport.getOptionalContentConfig(n)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(t=!1){return this._transport.startCleanup(t||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}cachedPageNumber(t){return this._transport.cachedPageNumber(t)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}},F_=class{#t=null;#e=!1;constructor(t,n,i,r=!1){this._pageIndex=t,this._pageInfo=n,this._transport=i,this._stats=r?new tw:null,this._pdfBug=r,this.commonObjs=i.commonObjs,this.objs=new gw,this._maybeCleanupAfterRender=!1,this._intentStates=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:t,rotation:n=this.rotate,offsetX:i=0,offsetY:r=0,dontFlip:s=!1}={}){return new Oy({viewBox:this.view,userUnit:this.userUnit,scale:t,rotation:n,offsetX:i,offsetY:r,dontFlip:s})}getAnnotations({intent:t="display"}={}){let{renderingIntent:n}=this._transport.getRenderingIntent(t);return this._transport.getAnnotations(this._pageIndex,n)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return qe(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){return this._transport._htmlForXfa?.children[this._pageIndex]||null}render({canvasContext:t,viewport:n,intent:i="display",annotationMode:r=uf.ENABLE,transform:s=null,background:l=null,optionalContentConfigPromise:c=null,annotationCanvasMap:d=null,pageColors:h=null,printAnnotationStorage:p=null,isEditing:y=!1}){this._stats?.time("Overall");let g=this._transport.getRenderingIntent(i,r,p,y),{renderingIntent:b,cacheKey:S}=g;this.#e=!1,this.#i(),c||=this._transport.getOptionalContentConfig(b);let w=this._intentStates.get(S);w||(w=Object.create(null),this._intentStates.set(S,w)),w.streamReaderCancelTimeout&&(clearTimeout(w.streamReaderCancelTimeout),w.streamReaderCancelTimeout=null);let D=!!(b&lo.PRINT);w.displayReadyCapability||(w.displayReadyCapability=Promise.withResolvers(),w.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(g));let A=O=>{w.renderTasks.delete(T),(this._maybeCleanupAfterRender||D)&&(this.#e=!0),this.#n(!D),O?(T.capability.reject(O),this._abortOperatorList({intentState:w,reason:O instanceof Error?O:new Error(O)})):T.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),globalThis.Stats?.enabled&&globalThis.Stats.add(this.pageNumber,this._stats))},T=new L_({callback:A,params:{canvasContext:t,viewport:n,transform:s,background:l},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:d,operatorList:w.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!D,pdfBug:this._pdfBug,pageColors:h});(w.renderTasks||=new Set).add(T);let C=T.task;return Promise.all([w.displayReadyCapability.promise,c]).then(([O,M])=>{if(this.destroyed){A();return}if(this._stats?.time("Rendering"),!(M.renderingIntent&b))throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");T.initializeGraphics({transparency:O,optionalContentConfig:M}),T.operatorListChanged()}).catch(A),C}getOperatorList({intent:t="display",annotationMode:n=uf.ENABLE,printAnnotationStorage:i=null,isEditing:r=!1}={}){function s(){c.operatorList.lastChunk&&(c.opListReadCapability.resolve(c.operatorList),c.renderTasks.delete(d))}let l=this._transport.getRenderingIntent(t,n,i,r,!0),c=this._intentStates.get(l.cacheKey);c||(c=Object.create(null),this._intentStates.set(l.cacheKey,c));let d;return c.opListReadCapability||(d=Object.create(null),d.operatorListChanged=s,c.opListReadCapability=Promise.withResolvers(),(c.renderTasks||=new Set).add(d),c.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(l)),c.opListReadCapability.promise}streamTextContent({includeMarkedContent:t=!1,disableNormalization:n=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:t===!0,disableNormalization:n===!0},{highWaterMark:100,size(r){return r.items.length}})}getTextContent(t={}){if(this._transport._htmlForXfa)return this.getXfa().then(i=>ky.textContent(i));let n=this.streamTextContent(t);return new Promise(function(i,r){function s(){l.read().then(function({value:d,done:h}){if(h){i(c);return}c.lang??=d.lang,Object.assign(c.styles,d.styles),c.items.push(...d.items),s()},r)}let l=n.getReader(),c={items:[],styles:Object.create(null),lang:null};s()})}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;let t=[];for(let n of this._intentStates.values())if(this._abortOperatorList({intentState:n,reason:new Error("Page was destroyed."),force:!0}),!n.opListReadCapability)for(let i of n.renderTasks)t.push(i.completed),i.cancel();return this.objs.clear(),this.#e=!1,this.#i(),Promise.all(t)}cleanup(t=!1){this.#e=!0;let n=this.#n(!1);return t&&n&&(this._stats&&=new tw),n}#n(t=!1){if(this.#i(),!this.#e||this.destroyed)return!1;if(t)return this.#t=setTimeout(()=>{this.#t=null,this.#n(!1)},JJ),!1;for(let{renderTasks:n,operatorList:i}of this._intentStates.values())if(n.size>0||!i.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),this.#e=!1,!0}#i(){this.#t&&(clearTimeout(this.#t),this.#t=null)}_startRenderPage(t,n){let i=this._intentStates.get(n);i&&(this._stats?.timeEnd("Page Request"),i.displayReadyCapability?.resolve(t))}_renderPageChunk(t,n){for(let i=0,r=t.length;i<r;i++)n.operatorList.fnArray.push(t.fnArray[i]),n.operatorList.argsArray.push(t.argsArray[i]);n.operatorList.lastChunk=t.lastChunk,n.operatorList.separateAnnots=t.separateAnnots;for(let i of n.renderTasks)i.operatorListChanged();t.lastChunk&&this.#n(!0)}_pumpOperatorList({renderingIntent:t,cacheKey:n,annotationStorageSerializable:i,modifiedIds:r}){let{map:s,transfer:l}=i,d=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:t,cacheKey:n,annotationStorage:s,modifiedIds:r},l).getReader(),h=this._intentStates.get(n);h.streamReader=d;let p=()=>{d.read().then(({value:y,done:g})=>{if(g){h.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(y,h),p())},y=>{if(h.streamReader=null,!this._transport.destroyed){if(h.operatorList){h.operatorList.lastChunk=!0;for(let g of h.renderTasks)g.operatorListChanged();this.#n(!0)}if(h.displayReadyCapability)h.displayReadyCapability.reject(y);else if(h.opListReadCapability)h.opListReadCapability.reject(y);else throw y}})};p()}_abortOperatorList({intentState:t,reason:n,force:i=!1}){if(t.streamReader){if(t.streamReaderCancelTimeout&&(clearTimeout(t.streamReaderCancelTimeout),t.streamReaderCancelTimeout=null),!i){if(t.renderTasks.size>0)return;if(n instanceof My){let r=QJ;n.extraDelay>0&&n.extraDelay<1e3&&(r+=n.extraDelay),t.streamReaderCancelTimeout=setTimeout(()=>{t.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:t,reason:n,force:!0})},r);return}}if(t.streamReader.cancel(new vl(n.message)).catch(()=>{}),t.streamReader=null,!this._transport.destroyed){for(let[r,s]of this._intentStates)if(s===t){this._intentStates.delete(r);break}this.cleanup()}}}get stats(){return this._stats}},N_=class{#t=new Map;#e=Promise.resolve();postMessage(t,n){let i={data:structuredClone(t,n?{transfer:n}:null)};this.#e.then(()=>{for(let[r]of this.#t)r.call(this,i)})}addEventListener(t,n,i=null){let r=null;if(i?.signal instanceof AbortSignal){let{signal:s}=i;if(s.aborted){ke("LoopbackPort - cannot use an `aborted` signal.");return}let l=()=>this.removeEventListener(t,n);r=()=>s.removeEventListener("abort",l),s.addEventListener("abort",l)}this.#t.set(n,r)}removeEventListener(t,n){this.#t.get(n)?.(),this.#t.delete(n)}terminate(){for(let[,t]of this.#t)t?.();this.#t.clear()}},j0=class e{static#t=0;static#e=!1;static#n;static{Ua&&(this.#e=!0,nh.workerSrc||="./pdf.worker.mjs"),this._isSameOrigin=(t,n)=>{let i;try{if(i=new URL(t),!i.origin||i.origin==="null")return!1}catch{return!1}let r=new URL(n,i);return i.origin===r.origin},this._createCDNWrapper=t=>{let n=`await import("${t}");`;return URL.createObjectURL(new Blob([n],{type:"text/javascript"}))}}constructor({name:t=null,port:n=null,verbosity:i=xJ()}={}){if(this.name=t,this.destroyed=!1,this.verbosity=i,this._readyCapability=Promise.withResolvers(),this._port=null,this._webWorker=null,this._messageHandler=null,n){if(e.#n?.has(n))throw new Error("Cannot use more than one PDFWorker per port.");(e.#n||=new WeakMap).set(n,this),this._initializeFromPort(n);return}this._initialize()}get promise(){return this._readyCapability.promise}#i(){this._readyCapability.resolve(),this._messageHandler.send("configure",{verbosity:this.verbosity})}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(t){this._port=t,this._messageHandler=new eh("main","worker",t),this._messageHandler.on("ready",function(){}),this.#i()}_initialize(){if(e.#e||e.#r){this._setupFakeWorker();return}let{workerSrc:t}=e;try{e._isSameOrigin(window.location.href,t)||(t=e._createCDNWrapper(new URL(t,window.location).href));let n=new Worker(t,{type:"module"}),i=new eh("main","worker",n),r=()=>{s.abort(),i.destroy(),n.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},s=new AbortController;n.addEventListener("error",()=>{this._webWorker||r()},{signal:s.signal}),i.on("test",c=>{if(s.abort(),this.destroyed||!c){r();return}this._messageHandler=i,this._port=n,this._webWorker=n,this.#i()}),i.on("ready",c=>{if(s.abort(),this.destroyed){r();return}try{l()}catch{this._setupFakeWorker()}});let l=()=>{let c=new Uint8Array;i.send("test",c,[c.buffer])};l();return}catch{Fw("The worker has been disabled.")}this._setupFakeWorker()}_setupFakeWorker(){e.#e||(ke("Setting up fake worker."),e.#e=!0),e._setupFakeWorkerGlobal.then(t=>{if(this.destroyed){this._readyCapability.reject(new Error("Worker was destroyed"));return}let n=new N_;this._port=n;let i=`fake${e.#t++}`,r=new eh(i+"_worker",i,n);t.setup(r,n),this._messageHandler=new eh(i,i+"_worker",n),this.#i()}).catch(t=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${t.message}".`))})}destroy(){this.destroyed=!0,this._webWorker?.terminate(),this._webWorker=null,e.#n?.delete(this._port),this._port=null,this._messageHandler?.destroy(),this._messageHandler=null}static fromPort(t){if(!t?.port)throw new Error("PDFWorker.fromPort - invalid method signature.");let n=this.#n?.get(t.port);if(n){if(n._pendingDestroy)throw new Error("PDFWorker.fromPort - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return n}return new e(t)}static get workerSrc(){if(nh.workerSrc)return nh.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get#r(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){return qe(this,"_setupFakeWorkerGlobal",(async()=>this.#r?this.#r:(await import(this.workerSrc)).WorkerMessageHandler)())}},z_=class{#t=new Map;#e=new Map;#n=new Map;#i=new Map;#r=null;constructor(t,n,i,r,s){this.messageHandler=t,this.loadingTask=n,this.commonObjs=new gw,this.fontLoader=new e_({ownerDocument:r.ownerDocument,styleElement:r.styleElement}),this.loadingParams=r.loadingParams,this._params=r,this.canvasFactory=s.canvasFactory,this.filterFactory=s.filterFactory,this.cMapReaderFactory=s.cMapReaderFactory,this.standardFontDataFactory=s.standardFontDataFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=i,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.setupMessageHandler()}#a(t,n=null){let i=this.#t.get(t);if(i)return i;let r=this.messageHandler.sendWithPromise(t,n);return this.#t.set(t,r),r}get annotationStorage(){return qe(this,"annotationStorage",new Fy)}getRenderingIntent(t,n=uf.ENABLE,i=null,r=!1,s=!1){let l=lo.DISPLAY,c=t_;switch(t){case"any":l=lo.ANY;break;case"display":break;case"print":l=lo.PRINT;break;default:ke(`getRenderingIntent - invalid intent: ${t}`)}let d=l&lo.PRINT&&i instanceof ow?i:this.annotationStorage;switch(n){case uf.DISABLE:l+=lo.ANNOTATIONS_DISABLE;break;case uf.ENABLE:break;case uf.ENABLE_FORMS:l+=lo.ANNOTATIONS_FORMS;break;case uf.ENABLE_STORAGE:l+=lo.ANNOTATIONS_STORAGE,c=d.serializable;break;default:ke(`getRenderingIntent - invalid annotationMode: ${n}`)}r&&(l+=lo.IS_EDITING),s&&(l+=lo.OPLIST);let{ids:h,hash:p}=d.modifiedIds,y=[l,c.hash,p];return{renderingIntent:l,cacheKey:y.join("_"),annotationStorageSerializable:c,modifiedIds:h}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),this.#r?.reject(new Error("Worker was destroyed during onPassword callback"));let t=[];for(let i of this.#e.values())t.push(i._destroy());this.#e.clear(),this.#n.clear(),this.#i.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();let n=this.messageHandler.sendWithPromise("Terminate",null);return t.push(n),Promise.all(t).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#t.clear(),this.filterFactory.destroy(),zy.cleanup(),this._networkStream?.cancelAllRequests(new vl("Worker was terminated.")),this.messageHandler?.destroy(),this.messageHandler=null,this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){let{messageHandler:t,loadingTask:n}=this;t.on("GetReader",(i,r)=>{ki(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=s=>{this._lastProgress={loaded:s.loaded,total:s.total}},r.onPull=()=>{this._fullReader.read().then(function({value:s,done:l}){if(l){r.close();return}ki(s instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),r.enqueue(new Uint8Array(s),1,[s])}).catch(s=>{r.error(s)})},r.onCancel=s=>{this._fullReader.cancel(s),r.ready.catch(l=>{if(!this.destroyed)throw l})}}),t.on("ReaderHeadersReady",async i=>{await this._fullReader.headersReady;let{isStreamingSupported:r,isRangeSupported:s,contentLength:l}=this._fullReader;return(!r||!s)&&(this._lastProgress&&n.onProgress?.(this._lastProgress),this._fullReader.onProgress=c=>{n.onProgress?.({loaded:c.loaded,total:c.total})}),{isStreamingSupported:r,isRangeSupported:s,contentLength:l}}),t.on("GetRangeReader",(i,r)=>{ki(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");let s=this._networkStream.getRangeReader(i.begin,i.end);if(!s){r.close();return}r.onPull=()=>{s.read().then(function({value:l,done:c}){if(c){r.close();return}ki(l instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),r.enqueue(new Uint8Array(l),1,[l])}).catch(l=>{r.error(l)})},r.onCancel=l=>{s.cancel(l),r.ready.catch(c=>{if(!this.destroyed)throw c})}}),t.on("GetDoc",({pdfInfo:i})=>{this._numPages=i.numPages,this._htmlForXfa=i.htmlForXfa,delete i.htmlForXfa,n._capability.resolve(new __(i,this))}),t.on("DocException",i=>{n._capability.reject(Cr(i))}),t.on("PasswordRequest",i=>{this.#r=Promise.withResolvers();try{if(!n.onPassword)throw Cr(i);let r=s=>{s instanceof Error?this.#r.reject(s):this.#r.resolve({password:s})};n.onPassword(r,i.code)}catch(r){this.#r.reject(r)}return this.#r.promise}),t.on("DataLoaded",i=>{n.onProgress?.({loaded:i.length,total:i.length}),this.downloadInfoCapability.resolve(i)}),t.on("StartRenderPage",i=>{if(this.destroyed)return;this.#e.get(i.pageIndex)._startRenderPage(i.transparency,i.cacheKey)}),t.on("commonobj",([i,r,s])=>{if(this.destroyed||this.commonObjs.has(i))return null;switch(r){case"Font":let{disableFontFace:l,fontExtraProperties:c,pdfBug:d}=this._params;if("error"in s){let g=s.error;ke(`Error during font loading: ${g}`),this.commonObjs.resolve(i,g);break}let h=d&&globalThis.FontInspector?.enabled?(g,b)=>globalThis.FontInspector.fontAdded(g,b):null,p=new n_(s,{disableFontFace:l,fontExtraProperties:c,inspectFont:h});this.fontLoader.bind(p).catch(()=>t.sendWithPromise("FontFallback",{id:i})).finally(()=>{!c&&p.data&&(p.data=null),this.commonObjs.resolve(i,p)});break;case"CopyLocalImage":let{imageRef:y}=s;ki(y,"The imageRef must be defined.");for(let g of this.#e.values())for(let[,b]of g.objs)if(b?.ref===y)return b.dataLen?(this.commonObjs.resolve(i,structuredClone(b)),b.dataLen):null;break;case"FontPath":case"Image":case"Pattern":this.commonObjs.resolve(i,s);break;default:throw new Error(`Got unknown common object type ${r}`)}return null}),t.on("obj",([i,r,s,l])=>{if(this.destroyed)return;let c=this.#e.get(r);if(!c.objs.has(i)){if(c._intentStates.size===0){l?.bitmap?.close();return}switch(s){case"Image":c.objs.resolve(i,l),l?.dataLen>mJ&&(c._maybeCleanupAfterRender=!0);break;case"Pattern":c.objs.resolve(i,l);break;default:throw new Error(`Got unknown object type ${s}`)}}}),t.on("DocProgress",i=>{this.destroyed||n.onProgress?.({loaded:i.loaded,total:i.total})}),t.on("FetchBuiltInCMap",async i=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.cMapReaderFactory)throw new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter.");return this.cMapReaderFactory.fetch(i)}),t.on("FetchStandardFontData",async i=>{if(this.destroyed)throw new Error("Worker was destroyed.");if(!this.standardFontDataFactory)throw new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.");return this.standardFontDataFactory.fetch(i)})}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){this.annotationStorage.size<=0&&ke("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");let{map:t,transfer:n}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:t,filename:this._fullReader?.filename??null},n).finally(()=>{this.annotationStorage.resetModified()})}getPage(t){if(!Number.isInteger(t)||t<=0||t>this._numPages)return Promise.reject(new Error("Invalid page request."));let n=t-1,i=this.#n.get(n);if(i)return i;let r=this.messageHandler.sendWithPromise("GetPage",{pageIndex:n}).then(s=>{if(this.destroyed)throw new Error("Transport destroyed");s.refStr&&this.#i.set(s.refStr,t);let l=new F_(n,s,this,this._params.pdfBug);return this.#e.set(n,l),l});return this.#n.set(n,r),r}getPageIndex(t){return Sj(t)?this.messageHandler.sendWithPromise("GetPageIndex",{num:t.num,gen:t.gen}):Promise.reject(new Error("Invalid pageIndex request."))}getAnnotations(t,n){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:t,intent:n})}getFieldObjects(){return this.#a("GetFieldObjects")}hasJSActions(){return this.#a("HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(t){return typeof t!="string"?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:t})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getDocJSActions(){return this.#a("GetDocJSActions")}getPageJSActions(t){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:t})}getStructTree(t){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:t})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(t){return this.#a("GetOptionalContentConfig").then(n=>new v_(n,t))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){let t="GetMetadata",n=this.#t.get(t);if(n)return n;let i=this.messageHandler.sendWithPromise(t,null).then(r=>({info:r[0],metadata:r[1]?new m_(r[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null}));return this.#t.set(t,i),i}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(t=!1){if(!this.destroyed){await this.messageHandler.sendWithPromise("Cleanup",null);for(let n of this.#e.values())if(!n.cleanup())throw new Error(`startCleanup: Page ${n.pageNumber} is currently rendering.`);this.commonObjs.clear(),t||this.fontLoader.clear(),this.#t.clear(),this.filterFactory.destroy(!0),zy.cleanup()}}cachedPageNumber(t){if(!Sj(t))return null;let n=t.gen===0?`${t.num}R`:`${t.num}R${t.gen}`;return this.#i.get(n)??null}},wy=Symbol("INITIAL_DATA"),gw=class{#t=Object.create(null);#e(t){return this.#t[t]||={...Promise.withResolvers(),data:wy}}get(t,n=null){if(n){let r=this.#e(t);return r.promise.then(()=>n(r.data)),null}let i=this.#t[t];if(!i||i.data===wy)throw new Error(`Requesting object that isn't resolved yet ${t}.`);return i.data}has(t){let n=this.#t[t];return!!n&&n.data!==wy}delete(t){let n=this.#t[t];return!n||n.data===wy?!1:(delete this.#t[t],!0)}resolve(t,n=null){let i=this.#e(t);i.data=n,i.resolve()}clear(){for(let t in this.#t){let{data:n}=this.#t[t];n?.bitmap?.close()}this.#t=Object.create(null)}*[Symbol.iterator](){for(let t in this.#t){let{data:n}=this.#t[t];n!==wy&&(yield[t,n])}}},k_=class{#t=null;constructor(t){this.#t=t,this.onContinue=null}get promise(){return this.#t.capability.promise}cancel(t=0){this.#t.cancel(null,t)}get separateAnnots(){let{separateAnnots:t}=this.#t.operatorList;if(!t)return!1;let{annotationCanvasMap:n}=this.#t;return t.form||t.canvas&&n?.size>0}},L_=class e{#t=null;static#e=new WeakSet;constructor({callback:t,params:n,objs:i,commonObjs:r,annotationCanvasMap:s,operatorList:l,pageIndex:c,canvasFactory:d,filterFactory:h,useRequestAnimationFrame:p=!1,pdfBug:y=!1,pageColors:g=null}){this.callback=t,this.params=n,this.objs=i,this.commonObjs=r,this.annotationCanvasMap=s,this.operatorListIdx=null,this.operatorList=l,this._pageIndex=c,this.canvasFactory=d,this.filterFactory=h,this._pdfBug=y,this.pageColors=g,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=p===!0&&typeof window<"u",this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new k_(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=n.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:t=!1,optionalContentConfig:n}){if(this.cancelled)return;if(this._canvas){if(e.#e.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");e.#e.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());let{canvasContext:i,viewport:r,transform:s,background:l}=this.params;this.gfx=new H0(i,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:n},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:s,viewport:r,transparency:t,background:l}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback?.()}cancel(t=null,n=0){this.running=!1,this.cancelled=!0,this.gfx?.endDrawing(),this.#t&&(window.cancelAnimationFrame(this.#t),this.#t=null),e.#e.delete(this._canvas),this.callback(t||new My(`Rendering cancelled, page ${this._pageIndex+1}`,n))}operatorListChanged(){if(!this.graphicsReady){this.graphicsReadyCallback||=this._continueBound;return}this.stepper?.updateOperatorList(this.operatorList),!this.running&&this._continue()}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?this.#t=window.requestAnimationFrame(()=>{this.#t=null,this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),e.#e.delete(this._canvas),this.callback())))}},o$="4.10.38",s$="f9bea397f";function xj(e){return Math.floor(Math.max(0,Math.min(1,e))*255).toString(16).padStart(2,"0")}function Ey(e){return Math.max(0,Math.min(255,255*e))}var vw=class{static CMYK_G([t,n,i,r]){return["G",1-Math.min(1,.3*t+.59*i+.11*n+r)]}static G_CMYK([t]){return["CMYK",0,0,0,1-t]}static G_RGB([t]){return["RGB",t,t,t]}static G_rgb([t]){return t=Ey(t),[t,t,t]}static G_HTML([t]){let n=xj(t);return`#${n}${n}${n}`}static RGB_G([t,n,i]){return["G",.3*t+.59*n+.11*i]}static RGB_rgb(t){return t.map(Ey)}static RGB_HTML(t){return`#${t.map(xj).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([t,n,i,r]){return["RGB",1-Math.min(1,t+r),1-Math.min(1,i+r),1-Math.min(1,n+r)]}static CMYK_rgb([t,n,i,r]){return[Ey(1-Math.min(1,t+r)),Ey(1-Math.min(1,i+r)),Ey(1-Math.min(1,n+r))]}static CMYK_HTML(t){let n=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(n)}static RGB_CMYK([t,n,i]){let r=1-t,s=1-n,l=1-i,c=Math.min(r,s,l);return["CMYK",r,s,l,c]}},P_=class{create(t,n,i=!1){if(t<=0||n<=0)throw new Error("Invalid SVG dimensions");let r=this._createSVG("svg:svg");return r.setAttribute("version","1.1"),i||(r.setAttribute("width",`${t}px`),r.setAttribute("height",`${n}px`)),r.setAttribute("preserveAspectRatio","none"),r.setAttribute("viewBox",`0 0 ${t} ${n}`),r}createElement(t){if(typeof t!="string")throw new Error("Invalid SVG element type");return this._createSVG(t)}_createSVG(t){Mn("Abstract method `_createSVG` called.")}},Ly=class extends P_{_createSVG(t){return document.createElementNS(Cu,t)}},yw=class{static setupStorage(t,n,i,r,s){let l=r.getValue(n,{value:null});switch(i.name){case"textarea":if(l.value!==null&&(t.textContent=l.value),s==="print")break;t.addEventListener("input",c=>{r.setValue(n,{value:c.target.value})});break;case"input":if(i.attributes.type==="radio"||i.attributes.type==="checkbox"){if(l.value===i.attributes.xfaOn?t.setAttribute("checked",!0):l.value===i.attributes.xfaOff&&t.removeAttribute("checked"),s==="print")break;t.addEventListener("change",c=>{r.setValue(n,{value:c.target.checked?c.target.getAttribute("xfaOn"):c.target.getAttribute("xfaOff")})})}else{if(l.value!==null&&t.setAttribute("value",l.value),s==="print")break;t.addEventListener("input",c=>{r.setValue(n,{value:c.target.value})})}break;case"select":if(l.value!==null){t.setAttribute("value",l.value);for(let c of i.children)c.attributes.value===l.value?c.attributes.selected=!0:c.attributes.hasOwnProperty("selected")&&delete c.attributes.selected}t.addEventListener("input",c=>{let d=c.target.options,h=d.selectedIndex===-1?"":d[d.selectedIndex].value;r.setValue(n,{value:h})});break}}static setAttributes({html:t,element:n,storage:i=null,intent:r,linkService:s}){let{attributes:l}=n,c=t instanceof HTMLAnchorElement;l.type==="radio"&&(l.name=`${l.name}-${r}`);for(let[d,h]of Object.entries(l))if(h!=null)switch(d){case"class":h.length&&t.setAttribute(d,h.join(" "));break;case"dataId":break;case"id":t.setAttribute("data-element-id",h);break;case"style":Object.assign(t.style,h);break;case"textContent":t.textContent=h;break;default:(!c||d!=="href"&&d!=="newWindow")&&t.setAttribute(d,h)}c&&s.addLinkAttributes(t,l.href,l.newWindow),i&&l.dataId&&this.setupStorage(t,l.dataId,n,i)}static render(t){let n=t.annotationStorage,i=t.linkService,r=t.xfaHtml,s=t.intent||"display",l=document.createElement(r.name);r.attributes&&this.setAttributes({html:l,element:r,intent:s,linkService:i});let c=s!=="richText",d=t.div;if(d.append(l),t.viewport){let y=`matrix(${t.viewport.transform.join(",")})`;d.style.transform=y}c&&d.setAttribute("class","xfaLayer xfaFont");let h=[];if(r.children.length===0){if(r.value){let y=document.createTextNode(r.value);l.append(y),c&&ky.shouldBuildText(r.name)&&h.push(y)}return{textDivs:h}}let p=[[r,-1,l]];for(;p.length>0;){let[y,g,b]=p.at(-1);if(g+1===y.children.length){p.pop();continue}let S=y.children[++p.at(-1)[1]];if(S===null)continue;let{name:w}=S;if(w==="#text"){let A=document.createTextNode(S.value);h.push(A),b.append(A);continue}let D=S?.attributes?.xmlns?document.createElementNS(S.attributes.xmlns,w):document.createElement(w);if(b.append(D),S.attributes&&this.setAttributes({html:D,element:S,storage:n,intent:s,linkService:i}),S.children?.length>0)p.push([S,-1,D]);else if(S.value){let A=document.createTextNode(S.value);c&&ky.shouldBuildText(w)&&h.push(A),D.append(A)}}for(let y of d.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))y.setAttribute("readOnly",!0);return{textDivs:h}}static update(t){let n=`matrix(${t.viewport.transform.join(",")})`;t.div.style.transform=n,t.div.hidden=!1}},jy=1e3,l$=9,sh=new WeakSet;function cf(e){return{width:e[2]-e[0],height:e[3]-e[1]}}var U_=class{static create(t){switch(t.data.annotationType){case Xi.LINK:return new bw(t);case Xi.TEXT:return new B_(t);case Xi.WIDGET:switch(t.data.fieldType){case"Tx":return new H_(t);case"Btn":return t.data.radioButton?new Sw(t):t.data.checkBox?new q_(t):new V_(t);case"Ch":return new G_(t);case"Sig":return new j_(t)}return new Du(t);case Xi.POPUP:return new Py(t);case Xi.FREETEXT:return new xw(t);case Xi.LINE:return new X_(t);case Xi.SQUARE:return new Y_(t);case Xi.CIRCLE:return new K_(t);case Xi.POLYLINE:return new Aw(t);case Xi.CARET:return new W_(t);case Xi.INK:return new Uy(t);case Xi.POLYGON:return new Z_(t);case Xi.HIGHLIGHT:return new ww(t);case Xi.UNDERLINE:return new Q_(t);case Xi.SQUIGGLY:return new J_(t);case Xi.STRIKEOUT:return new $_(t);case Xi.STAMP:return new Ew(t);case Xi.FILEATTACHMENT:return new tF(t);default:return new vi(t)}}},vi=class e{#t=null;#e=!1;#n=null;constructor(t,{isRenderable:n=!1,ignoreBorder:i=!1,createQuadrilaterals:r=!1}={}){this.isRenderable=n,this.data=t.data,this.layer=t.layer,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderForms=t.renderForms,this.svgFactory=t.svgFactory,this.annotationStorage=t.annotationStorage,this.enableScripting=t.enableScripting,this.hasJSActions=t.hasJSActions,this._fieldObjects=t.fieldObjects,this.parent=t.parent,n&&(this.container=this._createContainer(i)),r&&this._createQuadrilaterals()}static _hasPopupData({titleObj:t,contentsObj:n,richText:i}){return!!(t?.str||n?.str||i?.str)}get _isEditable(){return this.data.isEditable}get hasPopupData(){return e._hasPopupData(this.data)}updateEdited(t){if(!this.container)return;this.#t||={rect:this.data.rect.slice(0)};let{rect:n}=t;n&&this.#i(n),this.#n?.popup.updateEdited(t)}resetEdited(){this.#t&&(this.#i(this.#t.rect),this.#n?.popup.resetEdited(),this.#t=null)}#i(t){let{container:{style:n},data:{rect:i,rotation:r},parent:{viewport:{rawDims:{pageWidth:s,pageHeight:l,pageX:c,pageY:d}}}}=this;i?.splice(0,4,...t);let{width:h,height:p}=cf(t);n.left=`${100*(t[0]-c)/s}%`,n.top=`${100*(l-t[3]+d)/l}%`,r===0?(n.width=`${100*h/s}%`,n.height=`${100*p/l}%`):this.setRotation(r)}_createContainer(t){let{data:n,parent:{page:i,viewport:r}}=this,s=document.createElement("section");s.setAttribute("data-annotation-id",n.id),this instanceof Du||(s.tabIndex=jy);let{style:l}=s;if(l.zIndex=this.parent.zIndex++,n.alternativeText&&(s.title=n.alternativeText),n.noRotate&&s.classList.add("norotate"),!n.rect||this instanceof Py){let{rotation:w}=n;return!n.hasOwnCanvas&&w!==0&&this.setRotation(w,s),s}let{width:c,height:d}=cf(n.rect);if(!t&&n.borderStyle.width>0){l.borderWidth=`${n.borderStyle.width}px`;let w=n.borderStyle.horizontalCornerRadius,D=n.borderStyle.verticalCornerRadius;if(w>0||D>0){let T=`calc(${w}px * var(--scale-factor)) / calc(${D}px * var(--scale-factor))`;l.borderRadius=T}else if(this instanceof Sw){let T=`calc(${c}px * var(--scale-factor)) / calc(${d}px * var(--scale-factor))`;l.borderRadius=T}switch(n.borderStyle.style){case xy.SOLID:l.borderStyle="solid";break;case xy.DASHED:l.borderStyle="dashed";break;case xy.BEVELED:ke("Unimplemented border style: beveled");break;case xy.INSET:ke("Unimplemented border style: inset");break;case xy.UNDERLINE:l.borderBottomStyle="solid";break;default:break}let A=n.borderColor||null;A?(this.#e=!0,l.borderColor=Kt.makeHexColor(A[0]|0,A[1]|0,A[2]|0)):l.borderWidth=0}let h=Kt.normalizeRect([n.rect[0],i.view[3]-n.rect[1]+i.view[1],n.rect[2],i.view[3]-n.rect[3]+i.view[1]]),{pageWidth:p,pageHeight:y,pageX:g,pageY:b}=r.rawDims;l.left=`${100*(h[0]-g)/p}%`,l.top=`${100*(h[1]-b)/y}%`;let{rotation:S}=n;return n.hasOwnCanvas||S===0?(l.width=`${100*c/p}%`,l.height=`${100*d/y}%`):this.setRotation(S,s),s}setRotation(t,n=this.container){if(!this.data.rect)return;let{pageWidth:i,pageHeight:r}=this.parent.viewport.rawDims,{width:s,height:l}=cf(this.data.rect),c,d;t%180===0?(c=100*s/i,d=100*l/r):(c=100*l/i,d=100*s/r),n.style.width=`${c}%`,n.style.height=`${d}%`,n.setAttribute("data-main-rotation",(360-t)%360)}get _commonActions(){let t=(n,i,r)=>{let s=r.detail[n],l=s[0],c=s.slice(1);r.target.style[i]=vw[`${l}_HTML`](c),this.annotationStorage.setValue(this.data.id,{[i]:vw[`${l}_rgb`](c)})};return qe(this,"_commonActions",{display:n=>{let{display:i}=n.detail,r=i%2===1;this.container.style.visibility=r?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:r,noPrint:i===1||i===2})},print:n=>{this.annotationStorage.setValue(this.data.id,{noPrint:!n.detail.print})},hidden:n=>{let{hidden:i}=n.detail;this.container.style.visibility=i?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:i,noView:i})},focus:n=>{setTimeout(()=>n.target.focus({preventScroll:!1}),0)},userName:n=>{n.target.title=n.detail.userName},readonly:n=>{n.target.disabled=n.detail.readonly},required:n=>{this._setRequired(n.target,n.detail.required)},bgColor:n=>{t("bgColor","backgroundColor",n)},fillColor:n=>{t("fillColor","backgroundColor",n)},fgColor:n=>{t("fgColor","color",n)},textColor:n=>{t("textColor","color",n)},borderColor:n=>{t("borderColor","borderColor",n)},strokeColor:n=>{t("strokeColor","borderColor",n)},rotation:n=>{let i=n.detail.rotation;this.setRotation(i),this.annotationStorage.setValue(this.data.id,{rotation:i})}})}_dispatchEventFromSandbox(t,n){let i=this._commonActions;for(let r of Object.keys(n.detail))(t[r]||i[r])?.(n)}_setDefaultPropertiesFromJS(t){if(!this.enableScripting)return;let n=this.annotationStorage.getRawValue(this.data.id);if(!n)return;let i=this._commonActions;for(let[r,s]of Object.entries(n)){let l=i[r];if(l){let c={detail:{[r]:s},target:t};l(c),delete n[r]}}}_createQuadrilaterals(){if(!this.container)return;let{quadPoints:t}=this.data;if(!t)return;let[n,i,r,s]=this.data.rect.map(w=>Math.fround(w));if(t.length===8){let[w,D,A,T]=t.subarray(2,6);if(r===w&&s===D&&n===A&&i===T)return}let{style:l}=this.container,c;if(this.#e){let{borderColor:w,borderWidth:D}=l;l.borderWidth=0,c=["url('data:image/svg+xml;utf8,",'<svg xmlns="http://www.w3.org/2000/svg"',' preserveAspectRatio="none" viewBox="0 0 1 1">',`<g fill="transparent" stroke="${w}" stroke-width="${D}">`],this.container.classList.add("hasBorder")}let d=r-n,h=s-i,{svgFactory:p}=this,y=p.createElement("svg");y.classList.add("quadrilateralsContainer"),y.setAttribute("width",0),y.setAttribute("height",0);let g=p.createElement("defs");y.append(g);let b=p.createElement("clipPath"),S=`clippath_${this.data.id}`;b.setAttribute("id",S),b.setAttribute("clipPathUnits","objectBoundingBox"),g.append(b);for(let w=2,D=t.length;w<D;w+=8){let A=t[w],T=t[w+1],C=t[w+2],O=t[w+3],M=p.createElement("rect"),k=(C-n)/d,z=(s-T)/h,P=(A-C)/d,U=(T-O)/h;M.setAttribute("x",k),M.setAttribute("y",z),M.setAttribute("width",P),M.setAttribute("height",U),b.append(M),c?.push(`<rect vector-effect="non-scaling-stroke" x="${k}" y="${z}" width="${P}" height="${U}"/>`)}this.#e&&(c.push("</g></svg>')"),l.backgroundImage=c.join("")),this.container.append(y),this.container.style.clipPath=`url(#${S})`}_createPopup(){let{data:t}=this,n=this.#n=new Py({data:{color:t.color,titleObj:t.titleObj,modificationDate:t.modificationDate,contentsObj:t.contentsObj,richText:t.richText,parentRect:t.rect,borderStyle:0,id:`popup_${t.id}`,rotation:t.rotation},parent:this.parent,elements:[this]});this.parent.div.append(n.render())}render(){Mn("Abstract method `AnnotationElement.render` called")}_getElementsByName(t,n=null){let i=[];if(this._fieldObjects){let r=this._fieldObjects[t];if(r)for(let{page:s,id:l,exportValues:c}of r){if(s===-1||l===n)continue;let d=typeof c=="string"?c:null,h=document.querySelector(`[data-element-id="${l}"]`);if(h&&!sh.has(h)){ke(`_getElementsByName - element not allowed: ${l}`);continue}i.push({id:l,exportValue:d,domElement:h})}return i}for(let r of document.getElementsByName(t)){let{exportValue:s}=r,l=r.getAttribute("data-element-id");l!==n&&sh.has(r)&&i.push({id:l,exportValue:s,domElement:r})}return i}show(){this.container&&(this.container.hidden=!1),this.popup?.maybeShow()}hide(){this.container&&(this.container.hidden=!0),this.popup?.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){let t=this.getElementsToTriggerPopup();if(Array.isArray(t))for(let n of t)n.classList.add("highlightArea");else t.classList.add("highlightArea")}_editOnDoubleClick(){if(!this._isEditable)return;let{annotationEditorType:t,data:{id:n}}=this;this.container.addEventListener("dblclick",()=>{this.linkService.eventBus?.dispatch("switchannotationeditormode",{source:this,mode:t,editId:n})})}},bw=class extends vi{constructor(t,n=null){super(t,{isRenderable:!0,ignoreBorder:!!n?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=t.data.isTooltipOnly}render(){let{data:t,linkService:n}=this,i=document.createElement("a");i.setAttribute("data-element-id",t.id);let r=!1;return t.url?(n.addLinkAttributes(i,t.url,t.newWindow),r=!0):t.action?(this._bindNamedAction(i,t.action),r=!0):t.attachment?(this.#e(i,t.attachment,t.attachmentDest),r=!0):t.setOCGState?(this.#n(i,t.setOCGState),r=!0):t.dest?(this._bindLink(i,t.dest),r=!0):(t.actions&&(t.actions.Action||t.actions["Mouse Up"]||t.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(i,t),r=!0),t.resetForm?(this._bindResetFormAction(i,t.resetForm),r=!0):this.isTooltipOnly&&!r&&(this._bindLink(i,""),r=!0)),this.container.classList.add("linkAnnotation"),r&&this.container.append(i),this.container}#t(){this.container.setAttribute("data-internal-link","")}_bindLink(t,n){t.href=this.linkService.getDestinationHash(n),t.onclick=()=>(n&&this.linkService.goToDestination(n),!1),(n||n==="")&&this.#t()}_bindNamedAction(t,n){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeNamedAction(n),!1),this.#t()}#e(t,n,i=null){t.href=this.linkService.getAnchorUrl(""),n.description&&(t.title=n.description),t.onclick=()=>(this.downloadManager?.openOrDownloadData(n.content,n.filename,i),!1),this.#t()}#n(t,n){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeSetOCGState(n),!1),this.#t()}_bindJSAction(t,n){t.href=this.linkService.getAnchorUrl("");let i=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(let r of Object.keys(n.actions)){let s=i.get(r);s&&(t[s]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n.id,name:r}}),!1))}t.onclick||(t.onclick=()=>!1),this.#t()}_bindResetFormAction(t,n){let i=t.onclick;if(i||(t.href=this.linkService.getAnchorUrl("")),this.#t(),!this._fieldObjects){ke('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),i||(t.onclick=()=>!1);return}t.onclick=()=>{i?.();let{fields:r,refs:s,include:l}=n,c=[];if(r.length!==0||s.length!==0){let p=new Set(s);for(let y of r){let g=this._fieldObjects[y]||[];for(let{id:b}of g)p.add(b)}for(let y of Object.values(this._fieldObjects))for(let g of y)p.has(g.id)===l&&c.push(g)}else for(let p of Object.values(this._fieldObjects))c.push(...p);let d=this.annotationStorage,h=[];for(let p of c){let{id:y}=p;switch(h.push(y),p.type){case"text":{let b=p.defaultValue||"";d.setValue(y,{value:b});break}case"checkbox":case"radiobutton":{let b=p.defaultValue===p.exportValues;d.setValue(y,{value:b});break}case"combobox":case"listbox":{let b=p.defaultValue||"";d.setValue(y,{value:b});break}default:continue}let g=document.querySelector(`[data-element-id="${y}"]`);if(g){if(!sh.has(g)){ke(`_bindResetFormAction - element not allowed: ${y}`);continue}}else continue;g.dispatchEvent(new Event("resetform"))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:h,name:"ResetForm"}}),!1}}},B_=class extends vi{constructor(t){super(t,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");let t=document.createElement("img");return t.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",t.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),t.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(t),this.container}},Du=class extends vi{render(){return this.container}showElementAndHideCanvas(t){this.data.hasOwnCanvas&&(t.previousSibling?.nodeName==="CANVAS"&&(t.previousSibling.hidden=!0),t.hidden=!1)}_getKeyModifier(t){return xa.platform.isMac?t.metaKey:t.ctrlKey}_setEventListener(t,n,i,r,s){i.includes("mouse")?t.addEventListener(i,l=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:r,value:s(l),shift:l.shiftKey,modifier:this._getKeyModifier(l)}})}):t.addEventListener(i,l=>{if(i==="blur"){if(!n.focused||!l.relatedTarget)return;n.focused=!1}else if(i==="focus"){if(n.focused)return;n.focused=!0}s&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:r,value:s(l)}})})}_setEventListeners(t,n,i,r){for(let[s,l]of i)(l==="Action"||this.data.actions?.[l])&&((l==="Focus"||l==="Blur")&&(n||={focused:!1}),this._setEventListener(t,n,s,l,r),l==="Focus"&&!this.data.actions?.Blur?this._setEventListener(t,n,"blur","Blur",null):l==="Blur"&&!this.data.actions?.Focus&&this._setEventListener(t,n,"focus","Focus",null))}_setBackgroundColor(t){let n=this.data.backgroundColor||null;t.style.backgroundColor=n===null?"transparent":Kt.makeHexColor(n[0],n[1],n[2])}_setTextStyle(t){let n=["left","center","right"],{fontColor:i}=this.data.defaultAppearanceData,r=this.data.defaultAppearanceData.fontSize||l$,s=t.style,l,c=2,d=h=>Math.round(10*h)/10;if(this.data.multiLine){let h=Math.abs(this.data.rect[3]-this.data.rect[1]-c),p=Math.round(h/(QA*r))||1,y=h/p;l=Math.min(r,d(y/QA))}else{let h=Math.abs(this.data.rect[3]-this.data.rect[1]-c);l=Math.min(r,d(h/QA))}s.fontSize=`calc(${l}px * var(--scale-factor))`,s.color=Kt.makeHexColor(i[0],i[1],i[2]),this.data.textAlignment!==null&&(s.textAlign=n[this.data.textAlignment])}_setRequired(t,n){n?t.setAttribute("required",!0):t.removeAttribute("required"),t.setAttribute("aria-required",n)}},H_=class extends Du{constructor(t){let n=t.renderForms||t.data.hasOwnCanvas||!t.data.hasAppearance&&!!t.data.fieldValue;super(t,{isRenderable:n})}setPropertyOnSiblings(t,n,i,r){let s=this.annotationStorage;for(let l of this._getElementsByName(t.name,t.id))l.domElement&&(l.domElement[n]=i),s.setValue(l.id,{[r]:i})}render(){let t=this.annotationStorage,n=this.data.id;this.container.classList.add("textWidgetAnnotation");let i=null;if(this.renderForms){let r=t.getValue(n,{value:this.data.fieldValue}),s=r.value||"",l=t.getValue(n,{charLimit:this.data.maxLen}).charLimit;l&&s.length>l&&(s=s.slice(0,l));let c=r.formattedValue||this.data.textContent?.join(`
|
|
283
|
+
`)||null;c&&this.data.comb&&(c=c.replaceAll(/\s+/g,""));let d={userValue:s,formattedValue:c,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(i=document.createElement("textarea"),i.textContent=c??s,this.data.doNotScroll&&(i.style.overflowY="hidden")):(i=document.createElement("input"),i.type="text",i.setAttribute("value",c??s),this.data.doNotScroll&&(i.style.overflowX="hidden")),this.data.hasOwnCanvas&&(i.hidden=!0),sh.add(i),i.setAttribute("data-element-id",n),i.disabled=this.data.readOnly,i.name=this.data.fieldName,i.tabIndex=jy,this._setRequired(i,this.data.required),l&&(i.maxLength=l),i.addEventListener("input",p=>{t.setValue(n,{value:p.target.value}),this.setPropertyOnSiblings(i,"value",p.target.value,"value"),d.formattedValue=null}),i.addEventListener("resetform",p=>{let y=this.data.defaultFieldValue??"";i.value=d.userValue=y,d.formattedValue=null});let h=p=>{let{formattedValue:y}=d;y!=null&&(p.target.value=y),p.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){i.addEventListener("focus",y=>{if(d.focused)return;let{target:g}=y;d.userValue&&(g.value=d.userValue),d.lastCommittedValue=g.value,d.commitKey=1,this.data.actions?.Focus||(d.focused=!0)}),i.addEventListener("updatefromsandbox",y=>{this.showElementAndHideCanvas(y.target);let g={value(b){d.userValue=b.detail.value??"",t.setValue(n,{value:d.userValue.toString()}),b.target.value=d.userValue},formattedValue(b){let{formattedValue:S}=b.detail;d.formattedValue=S,S!=null&&b.target!==document.activeElement&&(b.target.value=S),t.setValue(n,{formattedValue:S})},selRange(b){b.target.setSelectionRange(...b.detail.selRange)},charLimit:b=>{let{charLimit:S}=b.detail,{target:w}=b;if(S===0){w.removeAttribute("maxLength");return}w.setAttribute("maxLength",S);let D=d.userValue;!D||D.length<=S||(D=D.slice(0,S),w.value=d.userValue=D,t.setValue(n,{value:D}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:D,willCommit:!0,commitKey:1,selStart:w.selectionStart,selEnd:w.selectionEnd}}))}};this._dispatchEventFromSandbox(g,y)}),i.addEventListener("keydown",y=>{d.commitKey=1;let g=-1;if(y.key==="Escape"?g=0:y.key==="Enter"&&!this.data.multiLine?g=2:y.key==="Tab"&&(d.commitKey=3),g===-1)return;let{value:b}=y.target;d.lastCommittedValue!==b&&(d.lastCommittedValue=b,d.userValue=b,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:b,willCommit:!0,commitKey:g,selStart:y.target.selectionStart,selEnd:y.target.selectionEnd}}))});let p=h;h=null,i.addEventListener("blur",y=>{if(!d.focused||!y.relatedTarget)return;this.data.actions?.Blur||(d.focused=!1);let{value:g}=y.target;d.userValue=g,d.lastCommittedValue!==g&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:g,willCommit:!0,commitKey:d.commitKey,selStart:y.target.selectionStart,selEnd:y.target.selectionEnd}}),p(y)}),this.data.actions?.Keystroke&&i.addEventListener("beforeinput",y=>{d.lastCommittedValue=null;let{data:g,target:b}=y,{value:S,selectionStart:w,selectionEnd:D}=b,A=w,T=D;switch(y.inputType){case"deleteWordBackward":{let C=S.substring(0,w).match(/\w*[^\w]*$/);C&&(A-=C[0].length);break}case"deleteWordForward":{let C=S.substring(w).match(/^[^\w]*\w*/);C&&(T+=C[0].length);break}case"deleteContentBackward":w===D&&(A-=1);break;case"deleteContentForward":w===D&&(T+=1);break}y.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:S,change:g||"",willCommit:!1,selStart:A,selEnd:T}})}),this._setEventListeners(i,d,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],y=>y.target.value)}if(h&&i.addEventListener("blur",h),this.data.comb){let y=(this.data.rect[2]-this.data.rect[0])/l;i.classList.add("comb"),i.style.letterSpacing=`calc(${y}px * var(--scale-factor) - 1ch)`}}else i=document.createElement("div"),i.textContent=this.data.fieldValue,i.style.verticalAlign="middle",i.style.display="table-cell",this.data.hasOwnCanvas&&(i.hidden=!0);return this._setTextStyle(i),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}},j_=class extends Du{constructor(t){super(t,{isRenderable:!!t.data.hasOwnCanvas})}},q_=class extends Du{constructor(t){super(t,{isRenderable:t.renderForms})}render(){let t=this.annotationStorage,n=this.data,i=n.id,r=t.getValue(i,{value:n.exportValue===n.fieldValue}).value;typeof r=="string"&&(r=r!=="Off",t.setValue(i,{value:r})),this.container.classList.add("buttonWidgetAnnotation","checkBox");let s=document.createElement("input");return sh.add(s),s.setAttribute("data-element-id",i),s.disabled=n.readOnly,this._setRequired(s,this.data.required),s.type="checkbox",s.name=n.fieldName,r&&s.setAttribute("checked",!0),s.setAttribute("exportValue",n.exportValue),s.tabIndex=jy,s.addEventListener("change",l=>{let{name:c,checked:d}=l.target;for(let h of this._getElementsByName(c,i)){let p=d&&h.exportValue===n.exportValue;h.domElement&&(h.domElement.checked=p),t.setValue(h.id,{value:p})}t.setValue(i,{value:d})}),s.addEventListener("resetform",l=>{let c=n.defaultFieldValue||"Off";l.target.checked=c===n.exportValue}),this.enableScripting&&this.hasJSActions&&(s.addEventListener("updatefromsandbox",l=>{let c={value(d){d.target.checked=d.detail.value!=="Off",t.setValue(i,{value:d.target.checked})}};this._dispatchEventFromSandbox(c,l)}),this._setEventListeners(s,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],l=>l.target.checked)),this._setBackgroundColor(s),this._setDefaultPropertiesFromJS(s),this.container.append(s),this.container}},Sw=class extends Du{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");let t=this.annotationStorage,n=this.data,i=n.id,r=t.getValue(i,{value:n.fieldValue===n.buttonValue}).value;if(typeof r=="string"&&(r=r!==n.buttonValue,t.setValue(i,{value:r})),r)for(let l of this._getElementsByName(n.fieldName,i))t.setValue(l.id,{value:!1});let s=document.createElement("input");if(sh.add(s),s.setAttribute("data-element-id",i),s.disabled=n.readOnly,this._setRequired(s,this.data.required),s.type="radio",s.name=n.fieldName,r&&s.setAttribute("checked",!0),s.tabIndex=jy,s.addEventListener("change",l=>{let{name:c,checked:d}=l.target;for(let h of this._getElementsByName(c,i))t.setValue(h.id,{value:!1});t.setValue(i,{value:d})}),s.addEventListener("resetform",l=>{let c=n.defaultFieldValue;l.target.checked=c!=null&&c===n.buttonValue}),this.enableScripting&&this.hasJSActions){let l=n.buttonValue;s.addEventListener("updatefromsandbox",c=>{let d={value:h=>{let p=l===h.detail.value;for(let y of this._getElementsByName(h.target.name)){let g=p&&y.id===i;y.domElement&&(y.domElement.checked=g),t.setValue(y.id,{value:g})}}};this._dispatchEventFromSandbox(d,c)}),this._setEventListeners(s,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],c=>c.target.checked)}return this._setBackgroundColor(s),this._setDefaultPropertiesFromJS(s),this.container.append(s),this.container}},V_=class extends bw{constructor(t){super(t,{ignoreBorder:t.data.hasAppearance})}render(){let t=super.render();t.classList.add("buttonWidgetAnnotation","pushButton");let n=t.lastChild;return this.enableScripting&&this.hasJSActions&&n&&(this._setDefaultPropertiesFromJS(n),n.addEventListener("updatefromsandbox",i=>{this._dispatchEventFromSandbox({},i)})),t}},G_=class extends Du{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");let t=this.annotationStorage,n=this.data.id,i=t.getValue(n,{value:this.data.fieldValue}),r=document.createElement("select");sh.add(r),r.setAttribute("data-element-id",n),r.disabled=this.data.readOnly,this._setRequired(r,this.data.required),r.name=this.data.fieldName,r.tabIndex=jy;let s=this.data.combo&&this.data.options.length>0;this.data.combo||(r.size=this.data.options.length,this.data.multiSelect&&(r.multiple=!0)),r.addEventListener("resetform",p=>{let y=this.data.defaultFieldValue;for(let g of r.options)g.selected=g.value===y});for(let p of this.data.options){let y=document.createElement("option");y.textContent=p.displayValue,y.value=p.exportValue,i.value.includes(p.exportValue)&&(y.setAttribute("selected",!0),s=!1),r.append(y)}let l=null;if(s){let p=document.createElement("option");p.value=" ",p.setAttribute("hidden",!0),p.setAttribute("selected",!0),r.prepend(p),l=()=>{p.remove(),r.removeEventListener("input",l),l=null},r.addEventListener("input",l)}let c=p=>{let y=p?"value":"textContent",{options:g,multiple:b}=r;return b?Array.prototype.filter.call(g,S=>S.selected).map(S=>S[y]):g.selectedIndex===-1?null:g[g.selectedIndex][y]},d=c(!1),h=p=>{let y=p.target.options;return Array.prototype.map.call(y,g=>({displayValue:g.textContent,exportValue:g.value}))};return this.enableScripting&&this.hasJSActions?(r.addEventListener("updatefromsandbox",p=>{let y={value(g){l?.();let b=g.detail.value,S=new Set(Array.isArray(b)?b:[b]);for(let w of r.options)w.selected=S.has(w.value);t.setValue(n,{value:c(!0)}),d=c(!1)},multipleSelection(g){r.multiple=!0},remove(g){let b=r.options,S=g.detail.remove;b[S].selected=!1,r.remove(S),b.length>0&&Array.prototype.findIndex.call(b,D=>D.selected)===-1&&(b[0].selected=!0),t.setValue(n,{value:c(!0),items:h(g)}),d=c(!1)},clear(g){for(;r.length!==0;)r.remove(0);t.setValue(n,{value:null,items:[]}),d=c(!1)},insert(g){let{index:b,displayValue:S,exportValue:w}=g.detail.insert,D=r.children[b],A=document.createElement("option");A.textContent=S,A.value=w,D?D.before(A):r.append(A),t.setValue(n,{value:c(!0),items:h(g)}),d=c(!1)},items(g){let{items:b}=g.detail;for(;r.length!==0;)r.remove(0);for(let S of b){let{displayValue:w,exportValue:D}=S,A=document.createElement("option");A.textContent=w,A.value=D,r.append(A)}r.options.length>0&&(r.options[0].selected=!0),t.setValue(n,{value:c(!0),items:h(g)}),d=c(!1)},indices(g){let b=new Set(g.detail.indices);for(let S of g.target.options)S.selected=b.has(S.index);t.setValue(n,{value:c(!0)}),d=c(!1)},editable(g){g.target.disabled=!g.detail.editable}};this._dispatchEventFromSandbox(y,p)}),r.addEventListener("input",p=>{let y=c(!0),g=c(!1);t.setValue(n,{value:y}),p.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:n,name:"Keystroke",value:d,change:g,changeEx:y,willCommit:!1,commitKey:1,keyDown:!1}})}),this._setEventListeners(r,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],p=>p.target.value)):r.addEventListener("input",function(p){t.setValue(n,{value:c(!0)})}),this.data.combo&&this._setTextStyle(r),this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}},Py=class extends vi{constructor(t){let{data:n,elements:i}=t;super(t,{isRenderable:vi._hasPopupData(n)}),this.elements=i,this.popup=null}render(){this.container.classList.add("popupAnnotation");let t=this.popup=new I_({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open}),n=[];for(let i of this.elements)i.popup=t,i.container.ariaHasPopup="dialog",n.push(i.data.id),i.addHighlightArea();return this.container.setAttribute("aria-controls",n.map(i=>`${pF}${i}`).join(",")),this.container}},I_=class{#t=this.#D.bind(this);#e=this.#C.bind(this);#n=this.#R.bind(this);#i=this.#A.bind(this);#r=null;#a=null;#l=null;#s=null;#c=null;#u=null;#d=null;#f=!1;#h=null;#o=null;#p=null;#g=null;#m=null;#v=null;#S=!1;constructor({container:t,color:n,elements:i,titleObj:r,modificationDate:s,contentsObj:l,richText:c,parent:d,rect:h,parentRect:p,open:y}){this.#a=t,this.#m=r,this.#l=l,this.#g=c,this.#u=d,this.#r=n,this.#p=h,this.#d=p,this.#c=i,this.#s=ew.toDateObject(s),this.trigger=i.flatMap(g=>g.getElementsToTriggerPopup());for(let g of this.trigger)g.addEventListener("click",this.#i),g.addEventListener("mouseenter",this.#n),g.addEventListener("mouseleave",this.#e),g.classList.add("popupTriggerArea");for(let g of i)g.container?.addEventListener("keydown",this.#t);this.#a.hidden=!0,y&&this.#A()}render(){if(this.#h)return;let t=this.#h=document.createElement("div");if(t.className="popup",this.#r){let s=t.style.outlineColor=Kt.makeHexColor(...this.#r);CSS.supports("background-color","color-mix(in srgb, red 30%, white)")?t.style.backgroundColor=`color-mix(in srgb, ${s} 30%, white)`:t.style.backgroundColor=Kt.makeHexColor(...this.#r.map(c=>Math.floor(.7*(255-c)+c)))}let n=document.createElement("span");n.className="header";let i=document.createElement("h1");if(n.append(i),{dir:i.dir,str:i.textContent}=this.#m,t.append(n),this.#s){let s=document.createElement("span");s.classList.add("popupDate"),s.setAttribute("data-l10n-id","pdfjs-annotation-date-time-string"),s.setAttribute("data-l10n-args",JSON.stringify({dateObj:this.#s.valueOf()})),n.append(s)}let r=this.#y;if(r)yw.render({xfaHtml:r,intent:"richText",div:t}),t.lastChild.classList.add("richText","popupContent");else{let s=this._formatContents(this.#l);t.append(s)}this.#a.append(t)}get#y(){let t=this.#g,n=this.#l;return t?.str&&(!n?.str||n.str===t.str)&&this.#g.html||null}get#x(){return this.#y?.attributes?.style?.fontSize||0}get#w(){return this.#y?.attributes?.style?.color||null}#T(t){let n=[],i={str:t,html:{name:"div",attributes:{dir:"auto"},children:[{name:"p",children:n}]}},r={style:{color:this.#w,fontSize:this.#x?`calc(${this.#x}px * var(--scale-factor))`:""}};for(let s of t.split(`
|
|
284
|
+
`))n.push({name:"span",value:s,attributes:r});return i}_formatContents({str:t,dir:n}){let i=document.createElement("p");i.classList.add("popupContent"),i.dir=n;let r=t.split(/(?:\r\n?|\n)/);for(let s=0,l=r.length;s<l;++s){let c=r[s];i.append(document.createTextNode(c)),s<l-1&&i.append(document.createElement("br"))}return i}#D(t){t.altKey||t.shiftKey||t.ctrlKey||t.metaKey||(t.key==="Enter"||t.key==="Escape"&&this.#f)&&this.#A()}updateEdited({rect:t,popupContent:n}){this.#v||={contentsObj:this.#l,richText:this.#g},t&&(this.#o=null),n&&(this.#g=this.#T(n),this.#l=null),this.#h?.remove(),this.#h=null}resetEdited(){this.#v&&({contentsObj:this.#l,richText:this.#g}=this.#v,this.#v=null,this.#h?.remove(),this.#h=null,this.#o=null)}#O(){if(this.#o!==null)return;let{page:{view:t},viewport:{rawDims:{pageWidth:n,pageHeight:i,pageX:r,pageY:s}}}=this.#u,l=!!this.#d,c=l?this.#d:this.#p;for(let S of this.#c)if(!c||Kt.intersect(S.data.rect,c)!==null){c=S.data.rect,l=!0;break}let d=Kt.normalizeRect([c[0],t[3]-c[1]+t[1],c[2],t[3]-c[3]+t[1]]),p=l?c[2]-c[0]+5:0,y=d[0]+p,g=d[1];this.#o=[100*(y-r)/n,100*(g-s)/i];let{style:b}=this.#a;b.left=`${this.#o[0]}%`,b.top=`${this.#o[1]}%`}#A(){this.#f=!this.#f,this.#f?(this.#R(),this.#a.addEventListener("click",this.#i),this.#a.addEventListener("keydown",this.#t)):(this.#C(),this.#a.removeEventListener("click",this.#i),this.#a.removeEventListener("keydown",this.#t))}#R(){this.#h||this.render(),this.isVisible?this.#f&&this.#a.classList.add("focused"):(this.#O(),this.#a.hidden=!1,this.#a.style.zIndex=parseInt(this.#a.style.zIndex)+1e3)}#C(){this.#a.classList.remove("focused"),!(this.#f||!this.isVisible)&&(this.#a.hidden=!0,this.#a.style.zIndex=parseInt(this.#a.style.zIndex)-1e3)}forceHide(){this.#S=this.isVisible,this.#S&&(this.#a.hidden=!0)}maybeShow(){this.#S&&(this.#h||this.#R(),this.#S=!1,this.#a.hidden=!1)}get isVisible(){return this.#a.hidden===!1}},xw=class extends vi{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.textContent=t.data.textContent,this.textPosition=t.data.textPosition,this.annotationEditorType=ze.FREETEXT}render(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){let t=document.createElement("div");t.classList.add("annotationTextContent"),t.setAttribute("role","comment");for(let n of this.textContent){let i=document.createElement("span");i.textContent=n,t.append(i)}this.container.append(t)}return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}},X_=class extends vi{#t=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("lineAnnotation");let t=this.data,{width:n,height:i}=cf(t.rect),r=this.svgFactory.create(n,i,!0),s=this.#t=this.svgFactory.createElement("svg:line");return s.setAttribute("x1",t.rect[2]-t.lineCoordinates[0]),s.setAttribute("y1",t.rect[3]-t.lineCoordinates[1]),s.setAttribute("x2",t.rect[2]-t.lineCoordinates[2]),s.setAttribute("y2",t.rect[3]-t.lineCoordinates[3]),s.setAttribute("stroke-width",t.borderStyle.width||1),s.setAttribute("stroke","transparent"),s.setAttribute("fill","transparent"),r.append(s),this.container.append(r),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#t}addHighlightArea(){this.container.classList.add("highlightArea")}},Y_=class extends vi{#t=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("squareAnnotation");let t=this.data,{width:n,height:i}=cf(t.rect),r=this.svgFactory.create(n,i,!0),s=t.borderStyle.width,l=this.#t=this.svgFactory.createElement("svg:rect");return l.setAttribute("x",s/2),l.setAttribute("y",s/2),l.setAttribute("width",n-s),l.setAttribute("height",i-s),l.setAttribute("stroke-width",s||1),l.setAttribute("stroke","transparent"),l.setAttribute("fill","transparent"),r.append(l),this.container.append(r),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#t}addHighlightArea(){this.container.classList.add("highlightArea")}},K_=class extends vi{#t=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("circleAnnotation");let t=this.data,{width:n,height:i}=cf(t.rect),r=this.svgFactory.create(n,i,!0),s=t.borderStyle.width,l=this.#t=this.svgFactory.createElement("svg:ellipse");return l.setAttribute("cx",n/2),l.setAttribute("cy",i/2),l.setAttribute("rx",n/2-s/2),l.setAttribute("ry",i/2-s/2),l.setAttribute("stroke-width",s||1),l.setAttribute("stroke","transparent"),l.setAttribute("fill","transparent"),r.append(l),this.container.append(r),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#t}addHighlightArea(){this.container.classList.add("highlightArea")}},Aw=class extends vi{#t=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.classList.add(this.containerClassName);let{data:{rect:t,vertices:n,borderStyle:i,popupRef:r}}=this;if(!n)return this.container;let{width:s,height:l}=cf(t),c=this.svgFactory.create(s,l,!0),d=[];for(let p=0,y=n.length;p<y;p+=2){let g=n[p]-t[0],b=t[3]-n[p+1];d.push(`${g},${b}`)}d=d.join(" ");let h=this.#t=this.svgFactory.createElement(this.svgElementName);return h.setAttribute("points",d),h.setAttribute("stroke-width",i.width||1),h.setAttribute("stroke","transparent"),h.setAttribute("fill","transparent"),c.append(h),this.container.append(c),!r&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#t}addHighlightArea(){this.container.classList.add("highlightArea")}},Z_=class extends Aw{constructor(t){super(t),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}},W_=class extends vi{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){return this.container.classList.add("caretAnnotation"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container}},Uy=class extends vi{#t=null;#e=[];constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline",this.annotationEditorType=this.data.it==="InkHighlight"?ze.HIGHLIGHT:ze.INK}#n(t,n){switch(t){case 90:return{transform:`rotate(90) translate(${-n[0]},${n[1]}) scale(1,-1)`,width:n[3]-n[1],height:n[2]-n[0]};case 180:return{transform:`rotate(180) translate(${-n[2]},${n[1]}) scale(1,-1)`,width:n[2]-n[0],height:n[3]-n[1]};case 270:return{transform:`rotate(270) translate(${-n[2]},${n[3]}) scale(1,-1)`,width:n[3]-n[1],height:n[2]-n[0]};default:return{transform:`translate(${-n[0]},${n[3]}) scale(1,-1)`,width:n[2]-n[0],height:n[3]-n[1]}}}render(){this.container.classList.add(this.containerClassName);let{data:{rect:t,rotation:n,inkLists:i,borderStyle:r,popupRef:s}}=this,{transform:l,width:c,height:d}=this.#n(n,t),h=this.svgFactory.create(c,d,!0),p=this.#t=this.svgFactory.createElement("svg:g");h.append(p),p.setAttribute("stroke-width",r.width||1),p.setAttribute("stroke-linecap","round"),p.setAttribute("stroke-linejoin","round"),p.setAttribute("stroke-miterlimit",10),p.setAttribute("stroke","transparent"),p.setAttribute("fill","transparent"),p.setAttribute("transform",l);for(let y=0,g=i.length;y<g;y++){let b=this.svgFactory.createElement(this.svgElementName);this.#e.push(b),b.setAttribute("points",i[y].join(",")),p.append(b)}return!s&&this.hasPopupData&&this._createPopup(),this.container.append(h),this._editOnDoubleClick(),this.container}updateEdited(t){super.updateEdited(t);let{thickness:n,points:i,rect:r}=t,s=this.#t;if(n>=0&&s.setAttribute("stroke-width",n||1),i)for(let l=0,c=this.#e.length;l<c;l++)this.#e[l].setAttribute("points",i[l].join(","));if(r){let{transform:l,width:c,height:d}=this.#n(this.data.rotation,r);s.parentElement.setAttribute("viewBox",`0 0 ${c} ${d}`),s.setAttribute("transform",l)}}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}},ww=class extends vi{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}),this.annotationEditorType=ze.HIGHLIGHT}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("highlightAnnotation"),this._editOnDoubleClick(),this.container}},Q_=class extends vi{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("underlineAnnotation"),this.container}},J_=class extends vi{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("squigglyAnnotation"),this.container}},$_=class extends vi{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("strikeoutAnnotation"),this.container}},Ew=class extends vi{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.annotationEditorType=ze.STAMP}render(){return this.container.classList.add("stampAnnotation"),this.container.setAttribute("role","img"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}},tF=class extends vi{#t=null;constructor(t){super(t,{isRenderable:!0});let{file:n}=this.data;this.filename=n.filename,this.content=n.content,this.linkService.eventBus?.dispatch("fileattachmentannotation",{source:this,...n})}render(){this.container.classList.add("fileAttachmentAnnotation");let{container:t,data:n}=this,i;n.hasAppearance||n.fillAlpha===0?i=document.createElement("div"):(i=document.createElement("img"),i.src=`${this.imageResourcesPath}annotation-${/paperclip/i.test(n.name)?"paperclip":"pushpin"}.svg`,n.fillAlpha&&n.fillAlpha<1&&(i.style=`filter: opacity(${Math.round(n.fillAlpha*100)}%);`)),i.addEventListener("dblclick",this.#e.bind(this)),this.#t=i;let{isMac:r}=xa.platform;return t.addEventListener("keydown",s=>{s.key==="Enter"&&(r?s.metaKey:s.ctrlKey)&&this.#e()}),!n.popupRef&&this.hasPopupData?this._createPopup():i.classList.add("popupTriggerArea"),t.append(i),t}getElementsToTriggerPopup(){return this.#t}addHighlightArea(){this.container.classList.add("highlightArea")}#e(){this.downloadManager?.openOrDownloadData(this.content,this.filename)}},eF=class{#t=null;#e=null;#n=new Map;#i=null;constructor({div:t,accessibilityManager:n,annotationCanvasMap:i,annotationEditorUIManager:r,page:s,viewport:l,structTreeLayer:c}){this.div=t,this.#t=n,this.#e=i,this.#i=c||null,this.page=s,this.viewport=l,this.zIndex=0,this._annotationEditorUIManager=r}hasEditableAnnotations(){return this.#n.size>0}async#r(t,n){let i=t.firstChild||t,r=i.id=`${pF}${n}`,s=await this.#i?.getAriaAttributes(r);if(s)for(let[l,c]of s)i.setAttribute(l,c);this.div.append(t),this.#t?.moveElementInDOM(this.div,t,i,!1)}async render(t){let{annotations:n}=t,i=this.div;ah(i,this.viewport);let r=new Map,s={data:null,layer:i,linkService:t.linkService,downloadManager:t.downloadManager,imageResourcesPath:t.imageResourcesPath||"",renderForms:t.renderForms!==!1,svgFactory:new Ly,annotationStorage:t.annotationStorage||new Fy,enableScripting:t.enableScripting===!0,hasJSActions:t.hasJSActions,fieldObjects:t.fieldObjects,parent:this,elements:null};for(let l of n){if(l.noHTML)continue;let c=l.annotationType===Xi.POPUP;if(c){let p=r.get(l.id);if(!p)continue;s.elements=p}else{let{width:p,height:y}=cf(l.rect);if(p<=0||y<=0)continue}s.data=l;let d=U_.create(s);if(!d.isRenderable)continue;if(!c&&l.popupRef){let p=r.get(l.popupRef);p?p.push(d):r.set(l.popupRef,[d])}let h=d.render();l.hidden&&(h.style.visibility="hidden"),await this.#r(h,l.id),d._isEditable&&(this.#n.set(d.data.id,d),this._annotationEditorUIManager?.renderAnnotationElement(d))}this.#a()}update({viewport:t}){let n=this.div;this.viewport=t,ah(n,{rotation:t.rotation}),this.#a(),n.hidden=!1}#a(){if(!this.#e)return;let t=this.div;for(let[n,i]of this.#e){let r=t.querySelector(`[data-annotation-id="${n}"]`);if(!r)continue;i.className="annotationContent";let{firstChild:s}=r;s?s.nodeName==="CANVAS"?s.replaceWith(i):s.classList.contains("annotationContent")?s.after(i):s.before(i):r.append(i)}this.#e.clear()}getEditableAnnotations(){return Array.from(this.#n.values())}getEditableAnnotation(t){return this.#n.get(t)}},WA=/\r\n?|\n/g,nF=class e extends ai{#t;#e="";#n=`${this.id}-editor`;#i=null;#r;static _freeTextDefaultContent="";static _internalPadding=0;static _defaultColor=null;static _defaultFontSize=10;static get _keyboardManager(){let t=e.prototype,n=s=>s.isEmpty(),i=oh.TRANSLATE_SMALL,r=oh.TRANSLATE_BIG;return qe(this,"_keyboardManager",new rh([[["ctrl+s","mac+meta+s","ctrl+p","mac+meta+p"],t.commitOrRemove,{bubbles:!0}],[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],t.commitOrRemove],[["ArrowLeft","mac+ArrowLeft"],t._translateEmpty,{args:[-i,0],checker:n}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t._translateEmpty,{args:[-r,0],checker:n}],[["ArrowRight","mac+ArrowRight"],t._translateEmpty,{args:[i,0],checker:n}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t._translateEmpty,{args:[r,0],checker:n}],[["ArrowUp","mac+ArrowUp"],t._translateEmpty,{args:[0,-i],checker:n}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t._translateEmpty,{args:[0,-r],checker:n}],[["ArrowDown","mac+ArrowDown"],t._translateEmpty,{args:[0,i],checker:n}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t._translateEmpty,{args:[0,r],checker:n}]]))}static _type="freetext";static _editorType=ze.FREETEXT;constructor(t){super({...t,name:"freeTextEditor"}),this.#t=t.color||e._defaultColor||ai._defaultLineColor,this.#r=t.fontSize||e._defaultFontSize}static initialize(t,n){ai.initialize(t,n);let i=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(i.getPropertyValue("--freetext-padding"))}static updateDefaultParams(t,n){switch(t){case $e.FREETEXT_SIZE:e._defaultFontSize=n;break;case $e.FREETEXT_COLOR:e._defaultColor=n;break}}updateParams(t,n){switch(t){case $e.FREETEXT_SIZE:this.#a(n);break;case $e.FREETEXT_COLOR:this.#l(n);break}}static get defaultPropertiesToUpdate(){return[[$e.FREETEXT_SIZE,e._defaultFontSize],[$e.FREETEXT_COLOR,e._defaultColor||ai._defaultLineColor]]}get propertiesToUpdate(){return[[$e.FREETEXT_SIZE,this.#r],[$e.FREETEXT_COLOR,this.#t]]}#a(t){let n=r=>{this.editorDiv.style.fontSize=`calc(${r}px * var(--scale-factor))`,this.translate(0,-(r-this.#r)*this.parentScale),this.#r=r,this.#c()},i=this.#r;this.addCommands({cmd:n.bind(this,t),undo:n.bind(this,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:$e.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}#l(t){let n=r=>{this.#t=this.editorDiv.style.color=r},i=this.#t;this.addCommands({cmd:n.bind(this,t),undo:n.bind(this,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:$e.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}_translateEmpty(t,n){this._uiManager.translateSelectedEditors(t,n,!0)}getInitialTranslation(){let t=this.parentScale;return[-e._internalPadding*t,-(e._internalPadding+this.#r)*t]}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){if(this.isInEditMode())return;this.parent.setEditingState(!1),this.parent.updateToolbar(ze.FREETEXT),super.enableEditMode(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant"),this.#i=new AbortController;let t=this._uiManager.combinedSignal(this.#i);this.editorDiv.addEventListener("keydown",this.editorDivKeydown.bind(this),{signal:t}),this.editorDiv.addEventListener("focus",this.editorDivFocus.bind(this),{signal:t}),this.editorDiv.addEventListener("blur",this.editorDivBlur.bind(this),{signal:t}),this.editorDiv.addEventListener("input",this.editorDivInput.bind(this),{signal:t}),this.editorDiv.addEventListener("paste",this.editorDivPaste.bind(this),{signal:t})}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",this.#n),this._isDraggable=!0,this.#i?.abort(),this.#i=null,this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"))}focusin(t){this._focusEventsAllowed&&(super.focusin(t),t.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(t){this.width||(this.enableEditMode(),t&&this.editorDiv.focus(),this._initialOptions?.isCentered&&this.center(),this._initialOptions=null)}isEmpty(){return!this.editorDiv||this.editorDiv.innerText.trim()===""}remove(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freetextEditing")),super.remove()}#s(){let t=[];this.editorDiv.normalize();let n=null;for(let i of this.editorDiv.childNodes)n?.nodeType===Node.TEXT_NODE&&i.nodeName==="BR"||(t.push(e.#u(i)),n=i);return t.join(`
|
|
285
|
+
`)}#c(){let[t,n]=this.parentDimensions,i;if(this.isAttachedToDOM)i=this.div.getBoundingClientRect();else{let{currentLayer:r,div:s}=this,l=s.style.display,c=s.classList.contains("hidden");s.classList.remove("hidden"),s.style.display="hidden",r.div.append(this.div),i=s.getBoundingClientRect(),s.remove(),s.style.display=l,s.classList.toggle("hidden",c)}this.rotation%180===this.parentRotation%180?(this.width=i.width/t,this.height=i.height/n):(this.width=i.height/t,this.height=i.width/n),this.fixAndSetPosition()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();let t=this.#e,n=this.#e=this.#s().trimEnd();if(t===n)return;let i=r=>{if(this.#e=r,!r){this.remove();return}this.#d(),this._uiManager.rebuild(this),this.#c()};this.addCommands({cmd:()=>{i(n)},undo:()=>{i(t)},mustExec:!1}),this.#c()}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}dblclick(t){this.enterInEditMode()}keydown(t){t.target===this.div&&t.key==="Enter"&&(this.enterInEditMode(),t.preventDefault())}editorDivKeydown(t){e._keyboardManager.exec(this,t)}editorDivFocus(t){this.isEditing=!0}editorDivBlur(t){this.isEditing=!1}editorDivInput(t){this.parent.div.classList.toggle("freetextEditing",this.isEmpty())}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}render(){if(this.div)return this.div;let t,n;this.width&&(t=this.x,n=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",this.#n),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text2"),this.editorDiv.setAttribute("data-l10n-attrs","default-content"),this.enableEditing(),this.editorDiv.contentEditable=!0;let{style:i}=this.editorDiv;if(i.fontSize=`calc(${this.#r}px * var(--scale-factor))`,i.color=this.#t,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),nw(this,this.div,["dblclick","keydown"]),this.width){let[r,s]=this.parentDimensions;if(this.annotationElementId){let{position:l}=this._initialData,[c,d]=this.getInitialTranslation();[c,d]=this.pageTranslationToScreen(c,d);let[h,p]=this.pageDimensions,[y,g]=this.pageTranslation,b,S;switch(this.rotation){case 0:b=t+(l[0]-y)/h,S=n+this.height-(l[1]-g)/p;break;case 90:b=t+(l[0]-y)/h,S=n-(l[1]-g)/p,[c,d]=[d,-c];break;case 180:b=t-this.width+(l[0]-y)/h,S=n-(l[1]-g)/p,[c,d]=[-c,-d];break;case 270:b=t+(l[0]-y-this.height*p)/h,S=n+(l[1]-g-this.width*h)/p,[c,d]=[-d,c];break}this.setAt(b*r,S*s,c,d)}else this.setAt(t*r,n*s,this.width*r,this.height*s);this.#d(),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}static#u(t){return(t.nodeType===Node.TEXT_NODE?t.nodeValue:t.innerText).replaceAll(WA,"")}editorDivPaste(t){let n=t.clipboardData||window.clipboardData,{types:i}=n;if(i.length===1&&i[0]==="text/plain")return;t.preventDefault();let r=e.#h(n.getData("text")||"").replaceAll(WA,`
|
|
286
|
+
`);if(!r)return;let s=window.getSelection();if(!s.rangeCount)return;this.editorDiv.normalize(),s.deleteFromDocument();let l=s.getRangeAt(0);if(!r.includes(`
|
|
287
|
+
`)){l.insertNode(document.createTextNode(r)),this.editorDiv.normalize(),s.collapseToStart();return}let{startContainer:c,startOffset:d}=l,h=[],p=[];if(c.nodeType===Node.TEXT_NODE){let b=c.parentElement;if(p.push(c.nodeValue.slice(d).replaceAll(WA,"")),b!==this.editorDiv){let S=h;for(let w of this.editorDiv.childNodes){if(w===b){S=p;continue}S.push(e.#u(w))}}h.push(c.nodeValue.slice(0,d).replaceAll(WA,""))}else if(c===this.editorDiv){let b=h,S=0;for(let w of this.editorDiv.childNodes)S++===d&&(b=p),b.push(e.#u(w))}this.#e=`${h.join(`
|
|
288
|
+
`)}${r}${p.join(`
|
|
289
|
+
`)}`,this.#d();let y=new Range,g=h.reduce((b,S)=>b+S.length,0);for(let{firstChild:b}of this.editorDiv.childNodes)if(b.nodeType===Node.TEXT_NODE){let S=b.nodeValue.length;if(g<=S){y.setStart(b,g),y.setEnd(b,g);break}g-=S}s.removeAllRanges(),s.addRange(y)}#d(){if(this.editorDiv.replaceChildren(),!!this.#e)for(let t of this.#e.split(`
|
|
290
|
+
`)){let n=document.createElement("div");n.append(t?document.createTextNode(t):document.createElement("br")),this.editorDiv.append(n)}}#f(){return this.#e.replaceAll("\xA0"," ")}static#h(t){return t.replaceAll(" ","\xA0")}get contentDiv(){return this.editorDiv}static async deserialize(t,n,i){let r=null;if(t instanceof xw){let{data:{defaultAppearanceData:{fontSize:l,fontColor:c},rect:d,rotation:h,id:p,popupRef:y},textContent:g,textPosition:b,parent:{page:{pageNumber:S}}}=t;if(!g||g.length===0)return null;r=t={annotationType:ze.FREETEXT,color:Array.from(c),fontSize:l,value:g.join(`
|
|
291
|
+
`),position:b,pageIndex:S-1,rect:d.slice(0),rotation:h,id:p,deleted:!1,popupRef:y}}let s=await super.deserialize(t,n,i);return s.#r=t.fontSize,s.#t=Kt.makeHexColor(...t.color),s.#e=e.#h(t.value),s.annotationElementId=t.id||null,s._initialData=r,s}serialize(t=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();let n=e._internalPadding*this.parentScale,i=this.getRect(n,n),r=ai._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:this.#t),s={annotationType:ze.FREETEXT,color:r,fontSize:this.#r,value:this.#f(),pageIndex:this.pageIndex,rect:i,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return t?s:this.annotationElementId&&!this.#o(s)?null:(s.id=this.annotationElementId,s)}#o(t){let{value:n,fontSize:i,color:r,pageIndex:s}=this._initialData;return this._hasBeenMoved||t.value!==n||t.fontSize!==i||t.color.some((l,c)=>l!==r[c])||t.pageIndex!==s}renderAnnotationElement(t){let n=super.renderAnnotationElement(t);if(this.deleted)return n;let{style:i}=n;i.fontSize=`calc(${this.#r}px * var(--scale-factor))`,i.color=this.#t,n.replaceChildren();for(let s of this.#e.split(`
|
|
292
|
+
`)){let l=document.createElement("div");l.append(s?document.createTextNode(s):document.createElement("br")),n.append(l)}let r=e._internalPadding*this.parentScale;return t.updateEdited({rect:this.getRect(r,r),popupContent:this.#e}),n}resetAnnotationElement(t){super.resetAnnotationElement(t),t.resetEdited()}},Bt=class{static PRECISION=1e-4;toSVGPath(){Mn("Abstract method `toSVGPath` must be implemented.")}get box(){Mn("Abstract getter `box` must be implemented.")}serialize(t,n){Mn("Abstract method `serialize` must be implemented.")}static _rescale(t,n,i,r,s,l){l||=new Float32Array(t.length);for(let c=0,d=t.length;c<d;c+=2)l[c]=n+t[c]*r,l[c+1]=i+t[c+1]*s;return l}static _rescaleAndSwap(t,n,i,r,s,l){l||=new Float32Array(t.length);for(let c=0,d=t.length;c<d;c+=2)l[c]=n+t[c+1]*r,l[c+1]=i+t[c]*s;return l}static _translate(t,n,i,r){r||=new Float32Array(t.length);for(let s=0,l=t.length;s<l;s+=2)r[s]=n+t[s],r[s+1]=i+t[s+1];return r}static svgRound(t){return Math.round(t*1e4)}static _normalizePoint(t,n,i,r,s){switch(s){case 90:return[1-n/i,t/r];case 180:return[1-t/i,1-n/r];case 270:return[n/i,1-t/r];default:return[t/i,n/r]}}static _normalizePagePoint(t,n,i){switch(i){case 90:return[1-n,t];case 180:return[1-t,1-n];case 270:return[n,1-t];default:return[t,n]}}static createBezierPoints(t,n,i,r,s,l){return[(t+5*i)/6,(n+5*r)/6,(5*i+s)/6,(5*r+l)/6,(i+s)/2,(r+l)/2]}},Tw=class e{#t;#e=[];#n;#i;#r=[];#a=new Float32Array(18);#l;#s;#c;#u;#d;#f;#h=[];static#o=8;static#p=2;static#g=e.#o+e.#p;constructor({x:t,y:n},i,r,s,l,c=0){this.#t=i,this.#f=s*r,this.#i=l,this.#a.set([NaN,NaN,NaN,NaN,t,n],6),this.#n=c,this.#u=e.#o*r,this.#c=e.#g*r,this.#d=r,this.#h.push(t,n)}isEmpty(){return isNaN(this.#a[8])}#m(){let t=this.#a.subarray(4,6),n=this.#a.subarray(16,18),[i,r,s,l]=this.#t;return[(this.#l+(t[0]-n[0])/2-i)/s,(this.#s+(t[1]-n[1])/2-r)/l,(this.#l+(n[0]-t[0])/2-i)/s,(this.#s+(n[1]-t[1])/2-r)/l]}add({x:t,y:n}){this.#l=t,this.#s=n;let[i,r,s,l]=this.#t,[c,d,h,p]=this.#a.subarray(8,12),y=t-h,g=n-p,b=Math.hypot(y,g);if(b<this.#c)return!1;let S=b-this.#u,w=S/b,D=w*y,A=w*g,T=c,C=d;c=h,d=p,h+=D,p+=A,this.#h?.push(t,n);let O=-A/S,M=D/S,k=O*this.#f,z=M*this.#f;return this.#a.set(this.#a.subarray(2,8),0),this.#a.set([h+k,p+z],4),this.#a.set(this.#a.subarray(14,18),12),this.#a.set([h-k,p-z],16),isNaN(this.#a[6])?(this.#r.length===0&&(this.#a.set([c+k,d+z],2),this.#r.push(NaN,NaN,NaN,NaN,(c+k-i)/s,(d+z-r)/l),this.#a.set([c-k,d-z],14),this.#e.push(NaN,NaN,NaN,NaN,(c-k-i)/s,(d-z-r)/l)),this.#a.set([T,C,c,d,h,p],6),!this.isEmpty()):(this.#a.set([T,C,c,d,h,p],6),Math.abs(Math.atan2(C-d,T-c)-Math.atan2(A,D))<Math.PI/2?([c,d,h,p]=this.#a.subarray(2,6),this.#r.push(NaN,NaN,NaN,NaN,((c+h)/2-i)/s,((d+p)/2-r)/l),[c,d,T,C]=this.#a.subarray(14,18),this.#e.push(NaN,NaN,NaN,NaN,((T+c)/2-i)/s,((C+d)/2-r)/l),!0):([T,C,c,d,h,p]=this.#a.subarray(0,6),this.#r.push(((T+5*c)/6-i)/s,((C+5*d)/6-r)/l,((5*c+h)/6-i)/s,((5*d+p)/6-r)/l,((c+h)/2-i)/s,((d+p)/2-r)/l),[h,p,c,d,T,C]=this.#a.subarray(12,18),this.#e.push(((T+5*c)/6-i)/s,((C+5*d)/6-r)/l,((5*c+h)/6-i)/s,((5*d+p)/6-r)/l,((c+h)/2-i)/s,((d+p)/2-r)/l),!0))}toSVGPath(){if(this.isEmpty())return"";let t=this.#r,n=this.#e;if(isNaN(this.#a[6])&&!this.isEmpty())return this.#v();let i=[];i.push(`M${t[4]} ${t[5]}`);for(let r=6;r<t.length;r+=6)isNaN(t[r])?i.push(`L${t[r+4]} ${t[r+5]}`):i.push(`C${t[r]} ${t[r+1]} ${t[r+2]} ${t[r+3]} ${t[r+4]} ${t[r+5]}`);this.#y(i);for(let r=n.length-6;r>=6;r-=6)isNaN(n[r])?i.push(`L${n[r+4]} ${n[r+5]}`):i.push(`C${n[r]} ${n[r+1]} ${n[r+2]} ${n[r+3]} ${n[r+4]} ${n[r+5]}`);return this.#S(i),i.join(" ")}#v(){let[t,n,i,r]=this.#t,[s,l,c,d]=this.#m();return`M${(this.#a[2]-t)/i} ${(this.#a[3]-n)/r} L${(this.#a[4]-t)/i} ${(this.#a[5]-n)/r} L${s} ${l} L${c} ${d} L${(this.#a[16]-t)/i} ${(this.#a[17]-n)/r} L${(this.#a[14]-t)/i} ${(this.#a[15]-n)/r} Z`}#S(t){let n=this.#e;t.push(`L${n[4]} ${n[5]} Z`)}#y(t){let[n,i,r,s]=this.#t,l=this.#a.subarray(4,6),c=this.#a.subarray(16,18),[d,h,p,y]=this.#m();t.push(`L${(l[0]-n)/r} ${(l[1]-i)/s} L${d} ${h} L${p} ${y} L${(c[0]-n)/r} ${(c[1]-i)/s}`)}newFreeDrawOutline(t,n,i,r,s,l){return new Cw(t,n,i,r,s,l)}getOutlines(){let t=this.#r,n=this.#e,i=this.#a,[r,s,l,c]=this.#t,d=new Float32Array((this.#h?.length??0)+2);for(let y=0,g=d.length-2;y<g;y+=2)d[y]=(this.#h[y]-r)/l,d[y+1]=(this.#h[y+1]-s)/c;if(d[d.length-2]=(this.#l-r)/l,d[d.length-1]=(this.#s-s)/c,isNaN(i[6])&&!this.isEmpty())return this.#x(d);let h=new Float32Array(this.#r.length+24+this.#e.length),p=t.length;for(let y=0;y<p;y+=2){if(isNaN(t[y])){h[y]=h[y+1]=NaN;continue}h[y]=t[y],h[y+1]=t[y+1]}p=this.#T(h,p);for(let y=n.length-6;y>=6;y-=6)for(let g=0;g<6;g+=2){if(isNaN(n[y+g])){h[p]=h[p+1]=NaN,p+=2;continue}h[p]=n[y+g],h[p+1]=n[y+g+1],p+=2}return this.#w(h,p),this.newFreeDrawOutline(h,d,this.#t,this.#d,this.#n,this.#i)}#x(t){let n=this.#a,[i,r,s,l]=this.#t,[c,d,h,p]=this.#m(),y=new Float32Array(36);return y.set([NaN,NaN,NaN,NaN,(n[2]-i)/s,(n[3]-r)/l,NaN,NaN,NaN,NaN,(n[4]-i)/s,(n[5]-r)/l,NaN,NaN,NaN,NaN,c,d,NaN,NaN,NaN,NaN,h,p,NaN,NaN,NaN,NaN,(n[16]-i)/s,(n[17]-r)/l,NaN,NaN,NaN,NaN,(n[14]-i)/s,(n[15]-r)/l],0),this.newFreeDrawOutline(y,t,this.#t,this.#d,this.#n,this.#i)}#w(t,n){let i=this.#e;return t.set([NaN,NaN,NaN,NaN,i[4],i[5]],n),n+=6}#T(t,n){let i=this.#a.subarray(4,6),r=this.#a.subarray(16,18),[s,l,c,d]=this.#t,[h,p,y,g]=this.#m();return t.set([NaN,NaN,NaN,NaN,(i[0]-s)/c,(i[1]-l)/d,NaN,NaN,NaN,NaN,h,p,NaN,NaN,NaN,NaN,y,g,NaN,NaN,NaN,NaN,(r[0]-s)/c,(r[1]-l)/d],n),n+=24}},Cw=class extends Bt{#t;#e=new Float32Array(4);#n;#i;#r;#a;#l;constructor(t,n,i,r,s,l){super(),this.#l=t,this.#r=n,this.#t=i,this.#a=r,this.#n=s,this.#i=l,this.lastPoint=[NaN,NaN],this.#s(l);let[c,d,h,p]=this.#e;for(let y=0,g=t.length;y<g;y+=2)t[y]=(t[y]-c)/h,t[y+1]=(t[y+1]-d)/p;for(let y=0,g=n.length;y<g;y+=2)n[y]=(n[y]-c)/h,n[y+1]=(n[y+1]-d)/p}toSVGPath(){let t=[`M${this.#l[4]} ${this.#l[5]}`];for(let n=6,i=this.#l.length;n<i;n+=6){if(isNaN(this.#l[n])){t.push(`L${this.#l[n+4]} ${this.#l[n+5]}`);continue}t.push(`C${this.#l[n]} ${this.#l[n+1]} ${this.#l[n+2]} ${this.#l[n+3]} ${this.#l[n+4]} ${this.#l[n+5]}`)}return t.push("Z"),t.join(" ")}serialize([t,n,i,r],s){let l=i-t,c=r-n,d,h;switch(s){case 0:d=Bt._rescale(this.#l,t,r,l,-c),h=Bt._rescale(this.#r,t,r,l,-c);break;case 90:d=Bt._rescaleAndSwap(this.#l,t,n,l,c),h=Bt._rescaleAndSwap(this.#r,t,n,l,c);break;case 180:d=Bt._rescale(this.#l,i,n,-l,c),h=Bt._rescale(this.#r,i,n,-l,c);break;case 270:d=Bt._rescaleAndSwap(this.#l,i,r,-l,-c),h=Bt._rescaleAndSwap(this.#r,i,r,-l,-c);break}return{outline:Array.from(d),points:[Array.from(h)]}}#s(t){let n=this.#l,i=n[4],r=n[5],s=i,l=r,c=i,d=r,h=i,p=r,y=t?Math.max:Math.min;for(let b=6,S=n.length;b<S;b+=6){if(isNaN(n[b]))s=Math.min(s,n[b+4]),l=Math.min(l,n[b+5]),c=Math.max(c,n[b+4]),d=Math.max(d,n[b+5]),p<n[b+5]?(h=n[b+4],p=n[b+5]):p===n[b+5]&&(h=y(h,n[b+4]));else{let w=Kt.bezierBoundingBox(i,r,...n.slice(b,b+6));s=Math.min(s,w[0]),l=Math.min(l,w[1]),c=Math.max(c,w[2]),d=Math.max(d,w[3]),p<w[3]?(h=w[2],p=w[3]):p===w[3]&&(h=y(h,w[2]))}i=n[b+4],r=n[b+5]}let g=this.#e;g[0]=s-this.#n,g[1]=l-this.#n,g[2]=c-s+2*this.#n,g[3]=d-l+2*this.#n,this.lastPoint=[h,p]}get box(){return this.#e}newOutliner(t,n,i,r,s,l=0){return new Tw(t,n,i,r,s,l)}getNewOutline(t,n){let[i,r,s,l]=this.#e,[c,d,h,p]=this.#t,y=s*h,g=l*p,b=i*h+c,S=r*p+d,w=this.newOutliner({x:this.#r[0]*y+b,y:this.#r[1]*g+S},this.#t,this.#a,t,this.#i,n??this.#n);for(let D=2;D<this.#r.length;D+=2)w.add({x:this.#r[D]*y+b,y:this.#r[D+1]*g+S});return w.getOutlines()}},By=class{#t;#e;#n=[];#i=[];constructor(t,n=0,i=0,r=!0){let s=1/0,l=-1/0,c=1/0,d=-1/0,p=10**-4;for(let{x:A,y:T,width:C,height:O}of t){let M=Math.floor((A-n)/p)*p,k=Math.ceil((A+C+n)/p)*p,z=Math.floor((T-n)/p)*p,P=Math.ceil((T+O+n)/p)*p,U=[M,z,P,!0],B=[k,z,P,!1];this.#n.push(U,B),s=Math.min(s,M),l=Math.max(l,k),c=Math.min(c,z),d=Math.max(d,P)}let y=l-s+2*i,g=d-c+2*i,b=s-i,S=c-i,w=this.#n.at(r?-1:-2),D=[w[0],w[2]];for(let A of this.#n){let[T,C,O]=A;A[0]=(T-b)/y,A[1]=(C-S)/g,A[2]=(O-S)/g}this.#t=new Float32Array([b,S,y,g]),this.#e=D}getOutlines(){this.#n.sort((n,i)=>n[0]-i[0]||n[1]-i[1]||n[2]-i[2]);let t=[];for(let n of this.#n)n[3]?(t.push(...this.#c(n)),this.#l(n)):(this.#s(n),t.push(...this.#c(n)));return this.#r(t)}#r(t){let n=[],i=new Set;for(let l of t){let[c,d,h]=l;n.push([c,d,l],[c,h,l])}n.sort((l,c)=>l[1]-c[1]||l[0]-c[0]);for(let l=0,c=n.length;l<c;l+=2){let d=n[l][2],h=n[l+1][2];d.push(h),h.push(d),i.add(d),i.add(h)}let r=[],s;for(;i.size>0;){let l=i.values().next().value,[c,d,h,p,y]=l;i.delete(l);let g=c,b=d;for(s=[c,h],r.push(s);;){let S;if(i.has(p))S=p;else if(i.has(y))S=y;else break;i.delete(S),[c,d,h,p,y]=S,g!==c&&(s.push(g,b,c,b===d?d:h),g=c),b=b===d?h:d}s.push(g,b)}return new iF(r,this.#t,this.#e)}#a(t){let n=this.#i,i=0,r=n.length-1;for(;i<=r;){let s=i+r>>1,l=n[s][0];if(l===t)return s;l<t?i=s+1:r=s-1}return r+1}#l([,t,n]){let i=this.#a(t);this.#i.splice(i,0,[t,n])}#s([,t,n]){let i=this.#a(t);for(let r=i;r<this.#i.length;r++){let[s,l]=this.#i[r];if(s!==t)break;if(s===t&&l===n){this.#i.splice(r,1);return}}for(let r=i-1;r>=0;r--){let[s,l]=this.#i[r];if(s!==t)break;if(s===t&&l===n){this.#i.splice(r,1);return}}}#c(t){let[n,i,r]=t,s=[[n,i,r]],l=this.#a(r);for(let c=0;c<l;c++){let[d,h]=this.#i[c];for(let p=0,y=s.length;p<y;p++){let[,g,b]=s[p];if(!(h<=g||b<=d)){if(g>=d){if(b>h)s[p][1]=h;else{if(y===1)return[];s.splice(p,1),p--,y--}continue}s[p][2]=d,b>h&&s.push([n,h,b])}}}return s}},iF=class extends Bt{#t;#e;constructor(t,n,i){super(),this.#e=t,this.#t=n,this.lastPoint=i}toSVGPath(){let t=[];for(let n of this.#e){let[i,r]=n;t.push(`M${i} ${r}`);for(let s=2;s<n.length;s+=2){let l=n[s],c=n[s+1];l===i?(t.push(`V${c}`),r=c):c===r&&(t.push(`H${l}`),i=l)}t.push("Z")}return t.join(" ")}serialize([t,n,i,r],s){let l=[],c=i-t,d=r-n;for(let h of this.#e){let p=new Array(h.length);for(let y=0;y<h.length;y+=2)p[y]=t+h[y]*c,p[y+1]=r-h[y+1]*d;l.push(p)}return l}get box(){return this.#t}get classNamesForOutlining(){return["highlightOutline"]}},Hy=class extends Tw{newFreeDrawOutline(t,n,i,r,s,l){return new aF(t,n,i,r,s,l)}},aF=class extends Cw{newOutliner(t,n,i,r,s,l=0){return new Hy(t,n,i,r,s,l)}},Dw=class e{#t=null;#e=null;#n;#i=null;#r=!1;#a=!1;#l=null;#s;#c=null;#u=null;#d;static#f=null;static get _keyboardManager(){return qe(this,"_keyboardManager",new rh([[["Escape","mac+Escape"],e.prototype._hideDropdownFromKeyboard],[[" ","mac+ "],e.prototype._colorSelectFromKeyboard],[["ArrowDown","ArrowRight","mac+ArrowDown","mac+ArrowRight"],e.prototype._moveToNext],[["ArrowUp","ArrowLeft","mac+ArrowUp","mac+ArrowLeft"],e.prototype._moveToPrevious],[["Home","mac+Home"],e.prototype._moveToBeginning],[["End","mac+End"],e.prototype._moveToEnd]]))}constructor({editor:t=null,uiManager:n=null}){t?(this.#a=!1,this.#d=$e.HIGHLIGHT_COLOR,this.#l=t):(this.#a=!0,this.#d=$e.HIGHLIGHT_DEFAULT_COLOR),this.#u=t?._uiManager||n,this.#s=this.#u._eventBus,this.#n=t?.color||this.#u?.highlightColors.values().next().value||"#FFFF98",e.#f||=Object.freeze({blue:"pdfjs-editor-colorpicker-blue",green:"pdfjs-editor-colorpicker-green",pink:"pdfjs-editor-colorpicker-pink",red:"pdfjs-editor-colorpicker-red",yellow:"pdfjs-editor-colorpicker-yellow"})}renderButton(){let t=this.#t=document.createElement("button");t.className="colorPicker",t.tabIndex="0",t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-button"),t.setAttribute("aria-haspopup",!0);let n=this.#u._signal;t.addEventListener("click",this.#g.bind(this),{signal:n}),t.addEventListener("keydown",this.#p.bind(this),{signal:n});let i=this.#e=document.createElement("span");return i.className="swatch",i.setAttribute("aria-hidden",!0),i.style.backgroundColor=this.#n,t.append(i),t}renderMainDropdown(){let t=this.#i=this.#h();return t.setAttribute("aria-orientation","horizontal"),t.setAttribute("aria-labelledby","highlightColorPickerLabel"),t}#h(){let t=document.createElement("div"),n=this.#u._signal;t.addEventListener("contextmenu",Es,{signal:n}),t.className="dropdown",t.role="listbox",t.setAttribute("aria-multiselectable",!1),t.setAttribute("aria-orientation","vertical"),t.setAttribute("data-l10n-id","pdfjs-editor-colorpicker-dropdown");for(let[i,r]of this.#u.highlightColors){let s=document.createElement("button");s.tabIndex="0",s.role="option",s.setAttribute("data-color",r),s.title=i,s.setAttribute("data-l10n-id",e.#f[i]);let l=document.createElement("span");s.append(l),l.className="swatch",l.style.backgroundColor=r,s.setAttribute("aria-selected",r===this.#n),s.addEventListener("click",this.#o.bind(this,r),{signal:n}),t.append(s)}return t.addEventListener("keydown",this.#p.bind(this),{signal:n}),t}#o(t,n){n.stopPropagation(),this.#s.dispatch("switchannotationeditorparams",{source:this,type:this.#d,value:t})}_colorSelectFromKeyboard(t){if(t.target===this.#t){this.#g(t);return}let n=t.target.getAttribute("data-color");n&&this.#o(n,t)}_moveToNext(t){if(!this.#v){this.#g(t);return}if(t.target===this.#t){this.#i.firstChild?.focus();return}t.target.nextSibling?.focus()}_moveToPrevious(t){if(t.target===this.#i?.firstChild||t.target===this.#t){this.#v&&this._hideDropdownFromKeyboard();return}this.#v||this.#g(t),t.target.previousSibling?.focus()}_moveToBeginning(t){if(!this.#v){this.#g(t);return}this.#i.firstChild?.focus()}_moveToEnd(t){if(!this.#v){this.#g(t);return}this.#i.lastChild?.focus()}#p(t){e._keyboardManager.exec(this,t)}#g(t){if(this.#v){this.hideDropdown();return}if(this.#r=t.detail===0,this.#c||(this.#c=new AbortController,window.addEventListener("pointerdown",this.#m.bind(this),{signal:this.#u.combinedSignal(this.#c)})),this.#i){this.#i.classList.remove("hidden");return}let n=this.#i=this.#h();this.#t.append(n)}#m(t){this.#i?.contains(t.target)||this.hideDropdown()}hideDropdown(){this.#i?.classList.add("hidden"),this.#c?.abort(),this.#c=null}get#v(){return this.#i&&!this.#i.classList.contains("hidden")}_hideDropdownFromKeyboard(){if(!this.#a){if(!this.#v){this.#l?.unselect();return}this.hideDropdown(),this.#t.focus({preventScroll:!0,focusVisible:this.#r})}}updateColor(t){if(this.#e&&(this.#e.style.backgroundColor=t),!this.#i)return;let n=this.#u.highlightColors.values();for(let i of this.#i.children)i.setAttribute("aria-selected",n.next().value===t)}destroy(){this.#t?.remove(),this.#t=null,this.#e=null,this.#i?.remove(),this.#i=null}},Rw=class e extends ai{#t=null;#e=0;#n;#i=null;#r=null;#a=null;#l=null;#s=0;#c=null;#u=null;#d=null;#f=!1;#h=null;#o;#p=null;#g="";#m;#v="";static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=12;static _type="highlight";static _editorType=ze.HIGHLIGHT;static _freeHighlightId=-1;static _freeHighlight=null;static _freeHighlightClipId="";static get _keyboardManager(){let t=e.prototype;return qe(this,"_keyboardManager",new rh([[["ArrowLeft","mac+ArrowLeft"],t._moveCaret,{args:[0]}],[["ArrowRight","mac+ArrowRight"],t._moveCaret,{args:[1]}],[["ArrowUp","mac+ArrowUp"],t._moveCaret,{args:[2]}],[["ArrowDown","mac+ArrowDown"],t._moveCaret,{args:[3]}]]))}constructor(t){super({...t,name:"highlightEditor"}),this.color=t.color||e._defaultColor,this.#m=t.thickness||e._defaultThickness,this.#o=t.opacity||e._defaultOpacity,this.#n=t.boxes||null,this.#v=t.methodOfCreation||"",this.#g=t.text||"",this._isDraggable=!1,t.highlightId>-1?(this.#f=!0,this.#y(t),this.#O()):this.#n&&(this.#t=t.anchorNode,this.#e=t.anchorOffset,this.#l=t.focusNode,this.#s=t.focusOffset,this.#S(),this.#O(),this.rotate(this.rotation))}get telemetryInitialData(){return{action:"added",type:this.#f?"free_highlight":"highlight",color:this._uiManager.highlightColorNames.get(this.color),thickness:this.#m,methodOfCreation:this.#v}}get telemetryFinalData(){return{type:"highlight",color:this._uiManager.highlightColorNames.get(this.color)}}static computeTelemetryFinalData(t){return{numberOfColors:t.get("color").size}}#S(){let t=new By(this.#n,.001);this.#u=t.getOutlines(),[this.x,this.y,this.width,this.height]=this.#u.box;let n=new By(this.#n,.0025,.001,this._uiManager.direction==="ltr");this.#a=n.getOutlines();let{lastPoint:i}=this.#a;this.#h=[(i[0]-this.x)/this.width,(i[1]-this.y)/this.height]}#y({highlightOutlines:t,highlightId:n,clipPathId:i}){this.#u=t;let r=1.5;if(this.#a=t.getNewOutline(this.#m/2+r,.0025),n>=0)this.#d=n,this.#i=i,this.parent.drawLayer.finalizeDraw(n,{bbox:t.box,path:{d:t.toSVGPath()}}),this.#p=this.parent.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:!0},bbox:this.#a.box,path:{d:this.#a.toSVGPath()}},!0);else if(this.parent){let p=this.parent.viewport.rotation;this.parent.drawLayer.updateProperties(this.#d,{bbox:e.#A(this.#u.box,(p-this.rotation+360)%360),path:{d:t.toSVGPath()}}),this.parent.drawLayer.updateProperties(this.#p,{bbox:e.#A(this.#a.box,p),path:{d:this.#a.toSVGPath()}})}let[s,l,c,d]=t.box;switch(this.rotation){case 0:this.x=s,this.y=l,this.width=c,this.height=d;break;case 90:{let[p,y]=this.parentDimensions;this.x=l,this.y=1-s,this.width=c*y/p,this.height=d*p/y;break}case 180:this.x=1-s,this.y=1-l,this.width=c,this.height=d;break;case 270:{let[p,y]=this.parentDimensions;this.x=1-l,this.y=s,this.width=c*y/p,this.height=d*p/y;break}}let{lastPoint:h}=this.#a;this.#h=[(h[0]-s)/c,(h[1]-l)/d]}static initialize(t,n){ai.initialize(t,n),e._defaultColor||=n.highlightColors?.values().next().value||"#fff066"}static updateDefaultParams(t,n){switch(t){case $e.HIGHLIGHT_DEFAULT_COLOR:e._defaultColor=n;break;case $e.HIGHLIGHT_THICKNESS:e._defaultThickness=n;break}}translateInPage(t,n){}get toolbarPosition(){return this.#h}updateParams(t,n){switch(t){case $e.HIGHLIGHT_COLOR:this.#x(n);break;case $e.HIGHLIGHT_THICKNESS:this.#w(n);break}}static get defaultPropertiesToUpdate(){return[[$e.HIGHLIGHT_DEFAULT_COLOR,e._defaultColor],[$e.HIGHLIGHT_THICKNESS,e._defaultThickness]]}get propertiesToUpdate(){return[[$e.HIGHLIGHT_COLOR,this.color||e._defaultColor],[$e.HIGHLIGHT_THICKNESS,this.#m||e._defaultThickness],[$e.HIGHLIGHT_FREE,this.#f]]}#x(t){let n=(s,l)=>{this.color=s,this.#o=l,this.parent?.drawLayer.updateProperties(this.#d,{root:{fill:s,"fill-opacity":l}}),this.#r?.updateColor(s)},i=this.color,r=this.#o;this.addCommands({cmd:n.bind(this,t,e._defaultOpacity),undo:n.bind(this,i,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:$e.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.highlightColorNames.get(t)},!0)}#w(t){let n=this.#m,i=r=>{this.#m=r,this.#T(r)};this.addCommands({cmd:i.bind(this,t),undo:i.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:$e.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"thickness_changed",thickness:t},!0)}async addEditToolbar(){let t=await super.addEditToolbar();return t?(this._uiManager.highlightColors&&(this.#r=new Dw({editor:this}),t.addColorPicker(this.#r)),t):null}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}fixAndSetPosition(){return super.fixAndSetPosition(this.#_())}getBaseTranslation(){return[0,0]}getRect(t,n){return super.getRect(t,n,this.#_())}onceAdded(t){this.annotationElementId||this.parent.addUndoableEditor(this),t&&this.div.focus()}remove(){this.#D(),this._reportTelemetry({action:"deleted"}),super.remove()}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(this.#O(),this.isAttachedToDOM||this.parent.add(this)))}setParent(t){let n=!1;this.parent&&!t?this.#D():t&&(this.#O(t),n=!this.parent&&this.div?.classList.contains("selectedEditor")),super.setParent(t),this.show(this._isVisible),n&&this.select()}#T(t){if(!this.#f)return;this.#y({highlightOutlines:this.#u.getNewOutline(t/2)}),this.fixAndSetPosition();let[n,i]=this.parentDimensions;this.setDims(this.width*n,this.height*i)}#D(){this.#d===null||!this.parent||(this.parent.drawLayer.remove(this.#d),this.#d=null,this.parent.drawLayer.remove(this.#p),this.#p=null)}#O(t=this.parent){this.#d===null&&({id:this.#d,clipPathId:this.#i}=t.drawLayer.draw({bbox:this.#u.box,root:{viewBox:"0 0 1 1",fill:this.color,"fill-opacity":this.#o},rootClass:{highlight:!0,free:this.#f},path:{d:this.#u.toSVGPath()}},!1,!0),this.#p=t.drawLayer.drawOutline({rootClass:{highlightOutline:!0,free:this.#f},bbox:this.#a.box,path:{d:this.#a.toSVGPath()}},this.#f),this.#c&&(this.#c.style.clipPath=this.#i))}static#A([t,n,i,r],s){switch(s){case 90:return[1-n-r,t,r,i];case 180:return[1-t-i,1-n-r,i,r];case 270:return[n,1-t-i,r,i]}return[t,n,i,r]}rotate(t){let{drawLayer:n}=this.parent,i;this.#f?(t=(t-this.rotation+360)%360,i=e.#A(this.#u.box,t)):i=e.#A([this.x,this.y,this.width,this.height],t),n.updateProperties(this.#d,{bbox:i,root:{"data-main-rotation":t}}),n.updateProperties(this.#p,{bbox:e.#A(this.#a.box,t),root:{"data-main-rotation":t}})}render(){if(this.div)return this.div;let t=super.render();this.#g&&(t.setAttribute("aria-label",this.#g),t.setAttribute("role","mark")),this.#f?t.classList.add("free"):this.div.addEventListener("keydown",this.#R.bind(this),{signal:this._uiManager._signal});let n=this.#c=document.createElement("div");t.append(n),n.setAttribute("aria-hidden","true"),n.className="internal",n.style.clipPath=this.#i;let[i,r]=this.parentDimensions;return this.setDims(this.width*i,this.height*r),nw(this,this.#c,["pointerover","pointerleave"]),this.enableEditing(),t}pointerover(){this.isSelected||this.parent?.drawLayer.updateProperties(this.#p,{rootClass:{hovered:!0}})}pointerleave(){this.isSelected||this.parent?.drawLayer.updateProperties(this.#p,{rootClass:{hovered:!1}})}#R(t){e._keyboardManager.exec(this,t)}_moveCaret(t){switch(this.parent.unselect(this),t){case 0:case 2:this.#C(!0);break;case 1:case 3:this.#C(!1);break}}#C(t){if(!this.#t)return;let n=window.getSelection();t?n.setPosition(this.#t,this.#e):n.setPosition(this.#l,this.#s)}select(){super.select(),this.#p&&this.parent?.drawLayer.updateProperties(this.#p,{rootClass:{hovered:!1,selected:!0}})}unselect(){super.unselect(),this.#p&&(this.parent?.drawLayer.updateProperties(this.#p,{rootClass:{selected:!1}}),this.#f||this.#C(!1))}get _mustFixPosition(){return!this.#f}show(t=this._isVisible){super.show(t),this.parent&&(this.parent.drawLayer.updateProperties(this.#d,{rootClass:{hidden:!t}}),this.parent.drawLayer.updateProperties(this.#p,{rootClass:{hidden:!t}}))}#_(){return this.#f?this.rotation:0}#z(){if(this.#f)return null;let[t,n]=this.pageDimensions,[i,r]=this.pageTranslation,s=this.#n,l=new Float32Array(s.length*8),c=0;for(let{x:d,y:h,width:p,height:y}of s){let g=d*t+i,b=(1-h)*n+r;l[c]=l[c+4]=g,l[c+1]=l[c+3]=b,l[c+2]=l[c+6]=g+p*t,l[c+5]=l[c+7]=b-y*n,c+=8}return l}#L(t){return this.#u.serialize(t,this.#_())}static startHighlighting(t,n,{target:i,x:r,y:s}){let{x:l,y:c,width:d,height:h}=i.getBoundingClientRect(),p=new AbortController,y=t.combinedSignal(p),g=b=>{p.abort(),this.#b(t,b)};window.addEventListener("blur",g,{signal:y}),window.addEventListener("pointerup",g,{signal:y}),window.addEventListener("pointerdown",uo,{capture:!0,passive:!1,signal:y}),window.addEventListener("contextmenu",Es,{signal:y}),i.addEventListener("pointermove",this.#E.bind(this,t),{signal:y}),this._freeHighlight=new Hy({x:r,y:s},[l,c,d,h],t.scale,this._defaultThickness/2,n,.001),{id:this._freeHighlightId,clipPathId:this._freeHighlightClipId}=t.drawLayer.draw({bbox:[0,0,1,1],root:{viewBox:"0 0 1 1",fill:this._defaultColor,"fill-opacity":this._defaultOpacity},rootClass:{highlight:!0,free:!0},path:{d:this._freeHighlight.toSVGPath()}},!0,!0)}static#E(t,n){this._freeHighlight.add(n)&&t.drawLayer.updateProperties(this._freeHighlightId,{path:{d:this._freeHighlight.toSVGPath()}})}static#b(t,n){this._freeHighlight.isEmpty()?t.drawLayer.remove(this._freeHighlightId):t.createAndAddNewEditor(n,!1,{highlightId:this._freeHighlightId,highlightOutlines:this._freeHighlight.getOutlines(),clipPathId:this._freeHighlightClipId,methodOfCreation:"main_toolbar"}),this._freeHighlightId=-1,this._freeHighlight=null,this._freeHighlightClipId=""}static async deserialize(t,n,i){let r=null;if(t instanceof ww){let{data:{quadPoints:S,rect:w,rotation:D,id:A,color:T,opacity:C,popupRef:O},parent:{page:{pageNumber:M}}}=t;r=t={annotationType:ze.HIGHLIGHT,color:Array.from(T),opacity:C,quadPoints:S,boxes:null,pageIndex:M-1,rect:w.slice(0),rotation:D,id:A,deleted:!1,popupRef:O}}else if(t instanceof Uy){let{data:{inkLists:S,rect:w,rotation:D,id:A,color:T,borderStyle:{rawWidth:C},popupRef:O},parent:{page:{pageNumber:M}}}=t;r=t={annotationType:ze.HIGHLIGHT,color:Array.from(T),thickness:C,inkLists:S,boxes:null,pageIndex:M-1,rect:w.slice(0),rotation:D,id:A,deleted:!1,popupRef:O}}let{color:s,quadPoints:l,inkLists:c,opacity:d}=t,h=await super.deserialize(t,n,i);h.color=Kt.makeHexColor(...s),h.#o=d||1,c&&(h.#m=t.thickness),h.annotationElementId=t.id||null,h._initialData=r;let[p,y]=h.pageDimensions,[g,b]=h.pageTranslation;if(l){let S=h.#n=[];for(let w=0;w<l.length;w+=8)S.push({x:(l[w]-g)/p,y:1-(l[w+1]-b)/y,width:(l[w+2]-l[w])/p,height:(l[w+1]-l[w+5])/y});h.#S(),h.#O(),h.rotate(h.rotation)}else if(c){h.#f=!0;let S=c[0],w={x:S[0]-g,y:y-(S[1]-b)},D=new Hy(w,[0,0,p,y],1,h.#m/2,!0,.001);for(let C=0,O=S.length;C<O;C+=2)w.x=S[C]-g,w.y=y-(S[C+1]-b),D.add(w);let{id:A,clipPathId:T}=n.drawLayer.draw({bbox:[0,0,1,1],root:{viewBox:"0 0 1 1",fill:h.color,"fill-opacity":h._defaultOpacity},rootClass:{highlight:!0,free:!0},path:{d:D.toSVGPath()}},!0,!0);h.#y({highlightOutlines:D.getOutlines(),highlightId:A,clipPathId:T}),h.#O()}return h}serialize(t=!1){if(this.isEmpty()||t)return null;if(this.deleted)return this.serializeDeleted();let n=this.getRect(0,0),i=ai._colorManager.convert(this.color),r={annotationType:ze.HIGHLIGHT,color:i,opacity:this.#o,thickness:this.#m,quadPoints:this.#z(),outlines:this.#L(n),pageIndex:this.pageIndex,rect:n,rotation:this.#_(),structTreeParentId:this._structTreeParentId};return this.annotationElementId&&!this.#N(r)?null:(r.id=this.annotationElementId,r)}#N(t){let{color:n}=this._initialData;return t.color.some((i,r)=>i!==n[r])}renderAnnotationElement(t){return t.updateEdited({rect:this.getRect(0,0)}),null}static canCreateNewEmptyEditor(){return!1}},rF=class{#t=Object.create(null);updateProperty(t,n){this[t]=n,this.updateSVGProperty(t,n)}updateProperties(t){if(t)for(let[n,i]of Object.entries(t))this.updateProperty(n,i)}updateSVGProperty(t,n){this.#t[t]=n}toSVGProperties(){let t=this.#t;return this.#t=Object.create(null),{root:t}}reset(){this.#t=Object.create(null)}updateAll(t=this){this.updateProperties(t)}clone(){Mn("Not implemented")}},oF=class e extends ai{#t=null;#e;_drawId=null;static _currentDrawId=-1;static _currentParent=null;static#n=null;static#i=null;static#r=null;static#a=NaN;static#l=null;static#s=null;static#c=NaN;static _INNER_MARGIN=3;constructor(t){super(t),this.#e=t.mustBeCommitted||!1,t.drawOutlines&&(this.#u(t),this.#h())}#u({drawOutlines:t,drawId:n,drawingOptions:i}){this.#t=t,this._drawingOptions||=i,n>=0?(this._drawId=n,this.parent.drawLayer.finalizeDraw(n,t.defaultProperties)):this._drawId=this.#d(t,this.parent),this.#g(t.box)}#d(t,n){let{id:i}=n.drawLayer.draw(e._mergeSVGProperties(this._drawingOptions.toSVGProperties(),t.defaultSVGProperties),!1,!1);return i}static _mergeSVGProperties(t,n){let i=new Set(Object.keys(t));for(let[r,s]of Object.entries(n))i.has(r)?Object.assign(t[r],s):t[r]=s;return t}static getDefaultDrawingOptions(t){Mn("Not implemented")}static get typesMap(){Mn("Not implemented")}static get isDrawer(){return!0}static get supportMultipleDrawings(){return!1}static updateDefaultParams(t,n){let i=this.typesMap.get(t);i&&this._defaultDrawingOptions.updateProperty(i,n),this._currentParent&&(e.#n.updateProperty(i,n),this._currentParent.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}updateParams(t,n){let i=this.constructor.typesMap.get(t);i&&this._updateProperty(t,i,n)}static get defaultPropertiesToUpdate(){let t=[],n=this._defaultDrawingOptions;for(let[i,r]of this.typesMap)t.push([i,n[r]]);return t}get propertiesToUpdate(){let t=[],{_drawingOptions:n}=this;for(let[i,r]of this.constructor.typesMap)t.push([i,n[r]]);return t}_updateProperty(t,n,i){let r=this._drawingOptions,s=r[n],l=c=>{r.updateProperty(n,c);let d=this.#t.updateProperty(n,c);d&&this.#g(d),this.parent?.drawLayer.updateProperties(this._drawId,r.toSVGProperties())};this.addCommands({cmd:l.bind(this,i),undo:l.bind(this,s),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:t,overwriteIfSameType:!0,keepUndo:!0})}_onResizing(){this.parent?.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties(this.#t.getPathResizingSVGProperties(this.#p()),{bbox:this.#m()}))}_onResized(){this.parent?.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties(this.#t.getPathResizedSVGProperties(this.#p()),{bbox:this.#m()}))}_onTranslating(t,n){this.parent?.drawLayer.updateProperties(this._drawId,{bbox:this.#m(t,n)})}_onTranslated(){this.parent?.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties(this.#t.getPathTranslatedSVGProperties(this.#p(),this.parentDimensions),{bbox:this.#m()}))}_onStartDragging(){this.parent?.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!0}})}_onStopDragging(){this.parent?.drawLayer.updateProperties(this._drawId,{rootClass:{moving:!1}})}commit(){super.commit(),this.disableEditMode(),this.disableEditing()}disableEditing(){super.disableEditing(),this.div.classList.toggle("disabled",!0)}enableEditing(){super.enableEditing(),this.div.classList.toggle("disabled",!1)}getBaseTranslation(){return[0,0]}get isResizable(){return!0}onceAdded(t){this.annotationElementId||this.parent.addUndoableEditor(this),this._isDraggable=!0,this.#e&&(this.#e=!1,this.commit(),this.parent.setSelected(this),t&&this.isOnScreen&&this.div.focus())}remove(){this.#f(),super.remove()}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(this.#h(),this.#g(this.#t.box),this.isAttachedToDOM||this.parent.add(this)))}setParent(t){let n=!1;this.parent&&!t?(this._uiManager.removeShouldRescale(this),this.#f()):t&&(this._uiManager.addShouldRescale(this),this.#h(t),n=!this.parent&&this.div?.classList.contains("selectedEditor")),super.setParent(t),n&&this.select()}#f(){this._drawId===null||!this.parent||(this.parent.drawLayer.remove(this._drawId),this._drawId=null,this._drawingOptions.reset())}#h(t=this.parent){if(!(this._drawId!==null&&this.parent===t)){if(this._drawId!==null){this.parent.drawLayer.updateParent(this._drawId,t.drawLayer);return}this._drawingOptions.updateAll(),this._drawId=this.#d(this.#t,t)}}#o([t,n,i,r]){let{parentDimensions:[s,l],rotation:c}=this;switch(c){case 90:return[n,1-t,i*(l/s),r*(s/l)];case 180:return[1-t,1-n,i,r];case 270:return[1-n,t,i*(l/s),r*(s/l)];default:return[t,n,i,r]}}#p(){let{x:t,y:n,width:i,height:r,parentDimensions:[s,l],rotation:c}=this;switch(c){case 90:return[1-n,t,i*(s/l),r*(l/s)];case 180:return[1-t,1-n,i,r];case 270:return[n,1-t,i*(s/l),r*(l/s)];default:return[t,n,i,r]}}#g(t){if([this.x,this.y,this.width,this.height]=this.#o(t),this.div){this.fixAndSetPosition();let[n,i]=this.parentDimensions;this.setDims(this.width*n,this.height*i)}this._onResized()}#m(){let{x:t,y:n,width:i,height:r,rotation:s,parentRotation:l,parentDimensions:[c,d]}=this;switch((s*4+l)/90){case 1:return[1-n-r,t,r,i];case 2:return[1-t-i,1-n-r,i,r];case 3:return[n,1-t-i,r,i];case 4:return[t,n-i*(c/d),r*(d/c),i*(c/d)];case 5:return[1-n,t,i*(c/d),r*(d/c)];case 6:return[1-t-r*(d/c),1-n,r*(d/c),i*(c/d)];case 7:return[n-i*(c/d),1-t-r*(d/c),i*(c/d),r*(d/c)];case 8:return[t-i,n-r,i,r];case 9:return[1-n,t-i,r,i];case 10:return[1-t,1-n,i,r];case 11:return[n-r,1-t,r,i];case 12:return[t-r*(d/c),n,r*(d/c),i*(c/d)];case 13:return[1-n-i*(c/d),t-r*(d/c),i*(c/d),r*(d/c)];case 14:return[1-t,1-n-i*(c/d),r*(d/c),i*(c/d)];case 15:return[n,1-t,i*(c/d),r*(d/c)];default:return[t,n,i,r]}}rotate(){this.parent&&this.parent.drawLayer.updateProperties(this._drawId,e._mergeSVGProperties({bbox:this.#m()},this.#t.updateRotation((this.parentRotation-this.rotation+360)%360)))}onScaleChanging(){this.parent&&this.#g(this.#t.updateParentDimensions(this.parentDimensions,this.parent.scale))}static onScaleChangingWhenDrawing(){}render(){if(this.div)return this.div;let t=super.render();t.classList.add("draw");let n=document.createElement("div");t.append(n),n.setAttribute("aria-hidden","true"),n.className="internal";let[i,r]=this.parentDimensions;return this.setDims(this.width*i,this.height*r),this._uiManager.addShouldRescale(this),this.disableEditing(),t}static createDrawerInstance(t,n,i,r,s){Mn("Not implemented")}static startDrawing(t,n,i,r){let{target:s,offsetX:l,offsetY:c,pointerId:d,pointerType:h}=r;if(e.#l&&e.#l!==h)return;let{viewport:{rotation:p}}=t,{width:y,height:g}=s.getBoundingClientRect(),b=e.#i=new AbortController,S=t.combinedSignal(b);if(e.#a||=d,e.#l??=h,window.addEventListener("pointerup",w=>{e.#a===w.pointerId?this._endDraw(w):e.#s?.delete(w.pointerId)},{signal:S}),window.addEventListener("pointercancel",w=>{e.#a===w.pointerId?this._currentParent.endDrawingSession():e.#s?.delete(w.pointerId)},{signal:S}),window.addEventListener("pointerdown",w=>{e.#l===w.pointerType&&((e.#s||=new Set).add(w.pointerId),e.#n.isCancellable()&&(e.#n.removeLastElement(),e.#n.isEmpty()?this._currentParent.endDrawingSession(!0):this._endDraw(null)))},{capture:!0,passive:!1,signal:S}),window.addEventListener("contextmenu",Es,{signal:S}),s.addEventListener("pointermove",this._drawMove.bind(this),{signal:S}),s.addEventListener("touchmove",w=>{w.timeStamp===e.#c&&uo(w)},{signal:S}),t.toggleDrawing(),n._editorUndoBar?.hide(),e.#n){t.drawLayer.updateProperties(this._currentDrawId,e.#n.startNew(l,c,y,g,p));return}n.updateUIForDefaultProperties(this),e.#n=this.createDrawerInstance(l,c,y,g,p),e.#r=this.getDefaultDrawingOptions(),this._currentParent=t,{id:this._currentDrawId}=t.drawLayer.draw(this._mergeSVGProperties(e.#r.toSVGProperties(),e.#n.defaultSVGProperties),!0,!1)}static _drawMove(t){if(e.#c=-1,!e.#n)return;let{offsetX:n,offsetY:i,pointerId:r}=t;if(e.#a===r){if(e.#s?.size>=1){this._endDraw(t);return}this._currentParent.drawLayer.updateProperties(this._currentDrawId,e.#n.add(n,i)),e.#c=t.timeStamp,uo(t)}}static _cleanup(t){t&&(this._currentDrawId=-1,this._currentParent=null,e.#n=null,e.#r=null,e.#l=null,e.#c=NaN),e.#i&&(e.#i.abort(),e.#i=null,e.#a=NaN,e.#s=null)}static _endDraw(t){let n=this._currentParent;if(n){if(n.toggleDrawing(!0),this._cleanup(!1),t&&n.drawLayer.updateProperties(this._currentDrawId,e.#n.end(t.offsetX,t.offsetY)),this.supportMultipleDrawings){let i=e.#n,r=this._currentDrawId,s=i.getLastElement();n.addCommands({cmd:()=>{n.drawLayer.updateProperties(r,i.setLastElement(s))},undo:()=>{n.drawLayer.updateProperties(r,i.removeLastElement())},mustExec:!1,type:$e.DRAW_STEP});return}this.endDrawing(!1)}}static endDrawing(t){let n=this._currentParent;if(!n)return null;if(n.toggleDrawing(!0),n.cleanUndoStack($e.DRAW_STEP),!e.#n.isEmpty()){let{pageDimensions:[i,r],scale:s}=n,l=n.createAndAddNewEditor({offsetX:0,offsetY:0},!1,{drawId:this._currentDrawId,drawOutlines:e.#n.getOutlines(i*s,r*s,s,this._INNER_MARGIN),drawingOptions:e.#r,mustBeCommitted:!t});return this._cleanup(!0),l}return n.drawLayer.remove(this._currentDrawId),this._cleanup(!0),null}createDrawingOptions(t){}static deserializeDraw(t,n,i,r,s,l){Mn("Not implemented")}static async deserialize(t,n,i){let{rawDims:{pageWidth:r,pageHeight:s,pageX:l,pageY:c}}=n.viewport,d=this.deserializeDraw(l,c,r,s,this._INNER_MARGIN,t),h=await super.deserialize(t,n,i);return h.createDrawingOptions(t),h.#u({drawOutlines:d}),h.#h(),h.onScaleChanging(),h.rotate(),h}serializeDraw(t){let[n,i]=this.pageTranslation,[r,s]=this.pageDimensions;return this.#t.serialize([n,i,r,s],t)}renderAnnotationElement(t){return t.updateEdited({rect:this.getRect(0,0)}),null}static canCreateNewEmptyEditor(){return!1}},sF=class{#t=new Float64Array(6);#e;#n;#i;#r;#a;#l="";#s=0;#c=new Ow;#u;#d;constructor(t,n,i,r,s,l){this.#u=i,this.#d=r,this.#i=s,this.#r=l,[t,n]=this.#f(t,n);let c=this.#e=[NaN,NaN,NaN,NaN,t,n];this.#a=[t,n],this.#n=[{line:c,points:this.#a}],this.#t.set(c,0)}updateProperty(t,n){t==="stroke-width"&&(this.#r=n)}#f(t,n){return Bt._normalizePoint(t,n,this.#u,this.#d,this.#i)}isEmpty(){return!this.#n||this.#n.length===0}isCancellable(){return this.#a.length<=10}add(t,n){[t,n]=this.#f(t,n);let[i,r,s,l]=this.#t.subarray(2,6),c=t-s,d=n-l;return Math.hypot(this.#u*c,this.#d*d)<=2?null:(this.#a.push(t,n),isNaN(i)?(this.#t.set([s,l,t,n],2),this.#e.push(NaN,NaN,NaN,NaN,t,n),{path:{d:this.toSVGPath()}}):(isNaN(this.#t[0])&&this.#e.splice(6,6),this.#t.set([i,r,s,l,t,n],0),this.#e.push(...Bt.createBezierPoints(i,r,s,l,t,n)),{path:{d:this.toSVGPath()}}))}end(t,n){let i=this.add(t,n);return i||(this.#a.length===2?{path:{d:this.toSVGPath()}}:null)}startNew(t,n,i,r,s){this.#u=i,this.#d=r,this.#i=s,[t,n]=this.#f(t,n);let l=this.#e=[NaN,NaN,NaN,NaN,t,n];this.#a=[t,n];let c=this.#n.at(-1);return c&&(c.line=new Float32Array(c.line),c.points=new Float32Array(c.points)),this.#n.push({line:l,points:this.#a}),this.#t.set(l,0),this.#s=0,this.toSVGPath(),null}getLastElement(){return this.#n.at(-1)}setLastElement(t){return this.#n?(this.#n.push(t),this.#e=t.line,this.#a=t.points,this.#s=0,{path:{d:this.toSVGPath()}}):this.#c.setLastElement(t)}removeLastElement(){if(!this.#n)return this.#c.removeLastElement();this.#n.pop(),this.#l="";for(let t=0,n=this.#n.length;t<n;t++){let{line:i,points:r}=this.#n[t];this.#e=i,this.#a=r,this.#s=0,this.toSVGPath()}return{path:{d:this.#l}}}toSVGPath(){let t=Bt.svgRound(this.#e[4]),n=Bt.svgRound(this.#e[5]);if(this.#a.length===2)return this.#l=`${this.#l} M ${t} ${n} Z`,this.#l;if(this.#a.length<=6){let r=this.#l.lastIndexOf("M");this.#l=`${this.#l.slice(0,r)} M ${t} ${n}`,this.#s=6}if(this.#a.length===4){let r=Bt.svgRound(this.#e[10]),s=Bt.svgRound(this.#e[11]);return this.#l=`${this.#l} L ${r} ${s}`,this.#s=12,this.#l}let i=[];this.#s===0&&(i.push(`M ${t} ${n}`),this.#s=6);for(let r=this.#s,s=this.#e.length;r<s;r+=6){let[l,c,d,h,p,y]=this.#e.slice(r,r+6).map(Bt.svgRound);i.push(`C${l} ${c} ${d} ${h} ${p} ${y}`)}return this.#l+=i.join(" "),this.#s=this.#e.length,this.#l}getOutlines(t,n,i,r){let s=this.#n.at(-1);return s.line=new Float32Array(s.line),s.points=new Float32Array(s.points),this.#c.build(this.#n,t,n,i,this.#i,this.#r,r),this.#t=null,this.#e=null,this.#n=null,this.#l=null,this.#c}get defaultSVGProperties(){return{root:{viewBox:"0 0 10000 10000"},rootClass:{draw:!0},bbox:[0,0,1,1]}}},Ow=class e extends Bt{#t;#e=0;#n;#i;#r;#a;#l;#s;#c;build(t,n,i,r,s,l,c){this.#r=n,this.#a=i,this.#l=r,this.#s=s,this.#c=l,this.#n=c??0,this.#i=t,this.#f()}setLastElement(t){return this.#i.push(t),{path:{d:this.toSVGPath()}}}removeLastElement(){return this.#i.pop(),{path:{d:this.toSVGPath()}}}toSVGPath(){let t=[];for(let{line:n}of this.#i){if(t.push(`M${Bt.svgRound(n[4])} ${Bt.svgRound(n[5])}`),n.length===6){t.push("Z");continue}if(n.length===12){t.push(`L${Bt.svgRound(n[10])} ${Bt.svgRound(n[11])}`);continue}for(let i=6,r=n.length;i<r;i+=6){let[s,l,c,d,h,p]=n.subarray(i,i+6).map(Bt.svgRound);t.push(`C${s} ${l} ${c} ${d} ${h} ${p}`)}}return t.join("")}serialize([t,n,i,r],s){let l=[],c=[],[d,h,p,y]=this.#d(),g,b,S,w,D,A,T,C,O;switch(this.#s){case 0:O=Bt._rescale,g=t,b=n+r,S=i,w=-r,D=t+d*i,A=n+(1-h-y)*r,T=t+(d+p)*i,C=n+(1-h)*r;break;case 90:O=Bt._rescaleAndSwap,g=t,b=n,S=i,w=r,D=t+h*i,A=n+d*r,T=t+(h+y)*i,C=n+(d+p)*r;break;case 180:O=Bt._rescale,g=t+i,b=n,S=-i,w=r,D=t+(1-d-p)*i,A=n+h*r,T=t+(1-d)*i,C=n+(h+y)*r;break;case 270:O=Bt._rescaleAndSwap,g=t+i,b=n+r,S=-i,w=-r,D=t+(1-h-y)*i,A=n+(1-d-p)*r,T=t+(1-h)*i,C=n+(1-d)*r;break}for(let{line:M,points:k}of this.#i)l.push(O(M,g,b,S,w,s?new Array(M.length):null)),c.push(O(k,g,b,S,w,s?new Array(k.length):null));return{lines:l,points:c,rect:[D,A,T,C]}}static deserialize(t,n,i,r,s,{paths:{lines:l,points:c},rotation:d,thickness:h}){let p=[],y,g,b,S,w;switch(d){case 0:w=Bt._rescale,y=-t/i,g=n/r+1,b=1/i,S=-1/r;break;case 90:w=Bt._rescaleAndSwap,y=-n/r,g=-t/i,b=1/r,S=1/i;break;case 180:w=Bt._rescale,y=t/i+1,g=-n/r,b=-1/i,S=1/r;break;case 270:w=Bt._rescaleAndSwap,y=n/r+1,g=t/i+1,b=-1/r,S=-1/i;break}if(!l){l=[];for(let A of c){let T=A.length;if(T===2){l.push(new Float32Array([NaN,NaN,NaN,NaN,A[0],A[1]]));continue}if(T===4){l.push(new Float32Array([NaN,NaN,NaN,NaN,A[0],A[1],NaN,NaN,NaN,NaN,A[2],A[3]]));continue}let C=new Float32Array(3*(T-2));l.push(C);let[O,M,k,z]=A.subarray(0,4);C.set([NaN,NaN,NaN,NaN,O,M],0);for(let P=4;P<T;P+=2){let U=A[P],B=A[P+1];C.set(Bt.createBezierPoints(O,M,k,z,U,B),(P-2)*3),[O,M,k,z]=[k,z,U,B]}}}for(let A=0,T=l.length;A<T;A++)p.push({line:w(l[A].map(C=>C??NaN),y,g,b,S),points:w(c[A].map(C=>C??NaN),y,g,b,S)});let D=new e;return D.build(p,i,r,1,d,h,s),D}#u(t=this.#c){let n=this.#n+t/2*this.#l;return this.#s%180===0?[n/this.#r,n/this.#a]:[n/this.#a,n/this.#r]}#d(){let[t,n,i,r]=this.#t,[s,l]=this.#u(0);return[t+s,n+l,i-2*s,r-2*l]}#f(){let t=this.#t=new Float32Array([1/0,1/0,-1/0,-1/0]);for(let{line:r}of this.#i){if(r.length<=12){for(let c=4,d=r.length;c<d;c+=6){let[h,p]=r.subarray(c,c+2);t[0]=Math.min(t[0],h),t[1]=Math.min(t[1],p),t[2]=Math.max(t[2],h),t[3]=Math.max(t[3],p)}continue}let s=r[4],l=r[5];for(let c=6,d=r.length;c<d;c+=6){let[h,p,y,g,b,S]=r.subarray(c,c+6);Kt.bezierBoundingBox(s,l,h,p,y,g,b,S,t),s=b,l=S}}let[n,i]=this.#u();t[0]=Math.min(1,Math.max(0,t[0]-n)),t[1]=Math.min(1,Math.max(0,t[1]-i)),t[2]=Math.min(1,Math.max(0,t[2]+n)),t[3]=Math.min(1,Math.max(0,t[3]+i)),t[2]-=t[0],t[3]-=t[1]}get box(){return this.#t}updateProperty(t,n){return t==="stroke-width"?this.#h(n):null}#h(t){let[n,i]=this.#u();this.#c=t;let[r,s]=this.#u(),[l,c]=[r-n,s-i],d=this.#t;return d[0]-=l,d[1]-=c,d[2]+=2*l,d[3]+=2*c,d}updateParentDimensions([t,n],i){let[r,s]=this.#u();this.#r=t,this.#a=n,this.#l=i;let[l,c]=this.#u(),d=l-r,h=c-s,p=this.#t;return p[0]-=d,p[1]-=h,p[2]+=2*d,p[3]+=2*h,p}updateRotation(t){return this.#e=t,{path:{transform:this.rotationTransform}}}get viewBox(){return this.#t.map(Bt.svgRound).join(" ")}get defaultProperties(){let[t,n]=this.#t;return{root:{viewBox:this.viewBox},path:{"transform-origin":`${Bt.svgRound(t)} ${Bt.svgRound(n)}`}}}get rotationTransform(){let[,,t,n]=this.#t,i=0,r=0,s=0,l=0,c=0,d=0;switch(this.#e){case 90:r=n/t,s=-t/n,c=t;break;case 180:i=-1,l=-1,c=t,d=n;break;case 270:r=-n/t,s=t/n,d=n;break;default:return""}return`matrix(${i} ${r} ${s} ${l} ${Bt.svgRound(c)} ${Bt.svgRound(d)})`}getPathResizingSVGProperties([t,n,i,r]){let[s,l]=this.#u(),[c,d,h,p]=this.#t;if(Math.abs(h-s)<=Bt.PRECISION||Math.abs(p-l)<=Bt.PRECISION){let w=t+i/2-(c+h/2),D=n+r/2-(d+p/2);return{path:{"transform-origin":`${Bt.svgRound(t)} ${Bt.svgRound(n)}`,transform:`${this.rotationTransform} translate(${w} ${D})`}}}let y=(i-2*s)/(h-2*s),g=(r-2*l)/(p-2*l),b=h/i,S=p/r;return{path:{"transform-origin":`${Bt.svgRound(c)} ${Bt.svgRound(d)}`,transform:`${this.rotationTransform} scale(${b} ${S}) translate(${Bt.svgRound(s)} ${Bt.svgRound(l)}) scale(${y} ${g}) translate(${Bt.svgRound(-s)} ${Bt.svgRound(-l)})`}}}getPathResizedSVGProperties([t,n,i,r]){let[s,l]=this.#u(),c=this.#t,[d,h,p,y]=c;if(c[0]=t,c[1]=n,c[2]=i,c[3]=r,Math.abs(p-s)<=Bt.PRECISION||Math.abs(y-l)<=Bt.PRECISION){let D=t+i/2-(d+p/2),A=n+r/2-(h+y/2);for(let{line:T,points:C}of this.#i)Bt._translate(T,D,A,T),Bt._translate(C,D,A,C);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${Bt.svgRound(t)} ${Bt.svgRound(n)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}let g=(i-2*s)/(p-2*s),b=(r-2*l)/(y-2*l),S=-g*(d+s)+t+s,w=-b*(h+l)+n+l;if(g!==1||b!==1||S!==0||w!==0)for(let{line:D,points:A}of this.#i)Bt._rescale(D,S,w,g,b,D),Bt._rescale(A,S,w,g,b,A);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${Bt.svgRound(t)} ${Bt.svgRound(n)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}getPathTranslatedSVGProperties([t,n],i){let[r,s]=i,l=this.#t,c=t-l[0],d=n-l[1];if(this.#r===r&&this.#a===s)for(let{line:h,points:p}of this.#i)Bt._translate(h,c,d,h),Bt._translate(p,c,d,p);else{let h=this.#r/r,p=this.#a/s;this.#r=r,this.#a=s;for(let{line:y,points:g}of this.#i)Bt._rescale(y,c,d,h,p,y),Bt._rescale(g,c,d,h,p,g);l[2]*=h,l[3]*=p}return l[0]=t,l[1]=n,{root:{viewBox:this.viewBox},path:{d:this.toSVGPath(),"transform-origin":`${Bt.svgRound(t)} ${Bt.svgRound(n)}`}}}get defaultSVGProperties(){let t=this.#t;return{root:{viewBox:this.viewBox},rootClass:{draw:!0},path:{d:this.toSVGPath(),"transform-origin":`${Bt.svgRound(t[0])} ${Bt.svgRound(t[1])}`,transform:this.rotationTransform||null},bbox:t}}},lF=class e extends rF{#t;constructor(t){super(),this.#t=t,super.updateProperties({fill:"none",stroke:ai._defaultLineColor,"stroke-opacity":1,"stroke-width":1,"stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":10})}updateSVGProperty(t,n){t==="stroke-width"&&(n??=this["stroke-width"],n*=this.#t.realScale),super.updateSVGProperty(t,n)}clone(){let t=new e(this.#t);return t.updateAll(this),t}},uF=class e extends oF{static _type="ink";static _editorType=ze.INK;static _defaultDrawingOptions=null;constructor(t){super({...t,name:"inkEditor"}),this._willKeepAspectRatio=!0}static initialize(t,n){ai.initialize(t,n),this._defaultDrawingOptions=new lF(n.viewParameters)}static getDefaultDrawingOptions(t){let n=this._defaultDrawingOptions.clone();return n.updateProperties(t),n}static get supportMultipleDrawings(){return!0}static get typesMap(){return qe(this,"typesMap",new Map([[$e.INK_THICKNESS,"stroke-width"],[$e.INK_COLOR,"stroke"],[$e.INK_OPACITY,"stroke-opacity"]]))}static createDrawerInstance(t,n,i,r,s){return new sF(t,n,i,r,s,this._defaultDrawingOptions["stroke-width"])}static deserializeDraw(t,n,i,r,s,l){return Ow.deserialize(t,n,i,r,s,l)}static async deserialize(t,n,i){let r=null;if(t instanceof Uy){let{data:{inkLists:l,rect:c,rotation:d,id:h,color:p,opacity:y,borderStyle:{rawWidth:g},popupRef:b},parent:{page:{pageNumber:S}}}=t;r=t={annotationType:ze.INK,color:Array.from(p),thickness:g,opacity:y,paths:{points:l},boxes:null,pageIndex:S-1,rect:c.slice(0),rotation:d,id:h,deleted:!1,popupRef:b}}let s=await super.deserialize(t,n,i);return s.annotationElementId=t.id||null,s._initialData=r,s}onScaleChanging(){if(!this.parent)return;super.onScaleChanging();let{_drawId:t,_drawingOptions:n,parent:i}=this;n.updateSVGProperty("stroke-width"),i.drawLayer.updateProperties(t,n.toSVGProperties())}static onScaleChangingWhenDrawing(){let t=this._currentParent;t&&(super.onScaleChangingWhenDrawing(),this._defaultDrawingOptions.updateSVGProperty("stroke-width"),t.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}createDrawingOptions({color:t,thickness:n,opacity:i}){this._drawingOptions=e.getDefaultDrawingOptions({stroke:Kt.makeHexColor(...t),"stroke-width":n,"stroke-opacity":i})}serialize(t=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();let{lines:n,points:i,rect:r}=this.serializeDraw(t),{_drawingOptions:{stroke:s,"stroke-opacity":l,"stroke-width":c}}=this,d={annotationType:ze.INK,color:ai._colorManager.convert(s),opacity:l,thickness:c,paths:{lines:n,points:i},pageIndex:this.pageIndex,rect:r,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return t?d:this.annotationElementId&&!this.#t(d)?null:(d.id=this.annotationElementId,d)}#t(t){let{color:n,thickness:i,opacity:r,pageIndex:s}=this._initialData;return this._hasBeenMoved||this._hasBeenResized||t.color.some((l,c)=>l!==n[c])||t.thickness!==i||t.opacity!==r||t.pageIndex!==s}renderAnnotationElement(t){let{points:n,rect:i}=this.serializeDraw(!1);return t.updateEdited({rect:i,thickness:this._drawingOptions["stroke-width"],points:n}),null}},cF=class e extends ai{#t=null;#e=null;#n=null;#i=null;#r=null;#a="";#l=null;#s=null;#c=!1;#u=!1;static _type="stamp";static _editorType=ze.STAMP;constructor(t){super({...t,name:"stampEditor"}),this.#i=t.bitmapUrl,this.#r=t.bitmapFile}static initialize(t,n){ai.initialize(t,n)}static get supportedTypes(){return qe(this,"supportedTypes",["apng","avif","bmp","gif","jpeg","png","svg+xml","webp","x-icon"].map(n=>`image/${n}`))}static get supportedTypesStr(){return qe(this,"supportedTypesStr",this.supportedTypes.join(","))}static isHandlingMimeForPasting(t){return this.supportedTypes.includes(t)}static paste(t,n){n.pasteEditor(ze.STAMP,{bitmapFile:t.getAsFile()})}altTextFinish(){this._uiManager.useNewAltTextFlow&&(this.div.hidden=!1),super.altTextFinish()}get telemetryFinalData(){return{type:"stamp",hasAltText:!!this.altTextData?.altText}}static computeTelemetryFinalData(t){let n=t.get("hasAltText");return{hasAltText:n.get(!0)??0,hasNoAltText:n.get(!1)??0}}#d(t,n=!1){if(!t){this.remove();return}this.#t=t.bitmap,n||(this.#e=t.id,this.#c=t.isSvg),t.file&&(this.#a=t.file.name),this.#o()}#f(){if(this.#n=null,this._uiManager.enableWaiting(!1),!!this.#l){if(this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&this.#t){this._editToolbar.hide(),this._uiManager.editAltText(this,!0);return}if(!this._uiManager.useNewAltTextWhenAddingImage&&this._uiManager.useNewAltTextFlow&&this.#t){this._reportTelemetry({action:"pdfjs.image.image_added",data:{alt_text_modal:!1,alt_text_type:"empty"}});try{this.mlGuessAltText()}catch{}}this.div.focus()}}async mlGuessAltText(t=null,n=!0){if(this.hasAltTextData())return null;let{mlManager:i}=this._uiManager;if(!i)throw new Error("No ML.");if(!await i.isEnabledFor("altText"))throw new Error("ML isn't enabled for alt text.");let{data:r,width:s,height:l}=t||this.copyCanvas(null,null,!0).imageData,c=await i.guess({name:"altText",request:{data:r,width:s,height:l,channels:r.length/(s*l)}});if(!c)throw new Error("No response from the AI service.");if(c.error)throw new Error("Error from the AI service.");if(c.cancel)return null;if(!c.output)throw new Error("No valid response from the AI service.");let d=c.output;return await this.setGuessedAltText(d),n&&!this.hasAltTextData()&&(this.altTextData={alt:d,decorative:!1}),d}#h(){if(this.#e){this._uiManager.enableWaiting(!0),this._uiManager.imageManager.getFromId(this.#e).then(i=>this.#d(i,!0)).finally(()=>this.#f());return}if(this.#i){let i=this.#i;this.#i=null,this._uiManager.enableWaiting(!0),this.#n=this._uiManager.imageManager.getFromUrl(i).then(r=>this.#d(r)).finally(()=>this.#f());return}if(this.#r){let i=this.#r;this.#r=null,this._uiManager.enableWaiting(!0),this.#n=this._uiManager.imageManager.getFromFile(i).then(r=>this.#d(r)).finally(()=>this.#f());return}let t=document.createElement("input");t.type="file",t.accept=e.supportedTypesStr;let n=this._uiManager._signal;this.#n=new Promise(i=>{t.addEventListener("change",async()=>{if(!t.files||t.files.length===0)this.remove();else{this._uiManager.enableWaiting(!0);let r=await this._uiManager.imageManager.getFromFile(t.files[0]);this._reportTelemetry({action:"pdfjs.image.image_selected",data:{alt_text_modal:this._uiManager.useNewAltTextFlow}}),this.#d(r)}i()},{signal:n}),t.addEventListener("cancel",()=>{this.remove(),i()},{signal:n})}).finally(()=>this.#f()),t.click()}remove(){this.#e&&(this.#t=null,this._uiManager.imageManager.deleteId(this.#e),this.#l?.remove(),this.#l=null,this.#s&&(clearTimeout(this.#s),this.#s=null)),super.remove()}rebuild(){if(!this.parent){this.#e&&this.#h();return}super.rebuild(),this.div!==null&&(this.#e&&this.#l===null&&this.#h(),this.isAttachedToDOM||this.parent.add(this))}onceAdded(t){this._isDraggable=!0,t&&this.div.focus()}isEmpty(){return!(this.#n||this.#t||this.#i||this.#r||this.#e)}get isResizable(){return!0}render(){if(this.div)return this.div;let t,n;if(this.width&&(t=this.x,n=this.y),super.render(),this.div.hidden=!0,this.div.setAttribute("role","figure"),this.addAltTextButton(),this.#t?this.#o():this.#h(),this.width&&!this.annotationElementId){let[i,r]=this.parentDimensions;this.setAt(t*i,n*r,this.width*i,this.height*r)}return this._uiManager.addShouldRescale(this),this.div}_onResized(){this.onScaleChanging()}onScaleChanging(){if(!this.parent)return;this.#s!==null&&clearTimeout(this.#s);let t=200;this.#s=setTimeout(()=>{this.#s=null,this.#g()},t)}#o(){let{div:t}=this,{width:n,height:i}=this.#t,[r,s]=this.pageDimensions,l=.75;if(this.width)n=this.width*r,i=this.height*s;else if(n>l*r||i>l*s){let p=Math.min(l*r/n,l*s/i);n*=p,i*=p}let[c,d]=this.parentDimensions;this.setDims(n*c/r,i*d/s),this._uiManager.enableWaiting(!1);let h=this.#l=document.createElement("canvas");h.setAttribute("role","img"),this.addContainer(h),this.width=n/r,this.height=i/s,this._initialOptions?.isCentered?this.center():this.fixAndSetPosition(),this._initialOptions=null,(!this._uiManager.useNewAltTextWhenAddingImage||!this._uiManager.useNewAltTextFlow||this.annotationElementId)&&(t.hidden=!1),this.#g(),this.#u||(this.parent.addUndoableEditor(this),this.#u=!0),this._reportTelemetry({action:"inserted_image"}),this.#a&&h.setAttribute("aria-label",this.#a)}copyCanvas(t,n,i=!1){t||(t=224);let{width:r,height:s}=this.#t,l=new _y,c=this.#t,d=r,h=s,p=null;if(n){if(r>n||s>n){let k=Math.min(n/r,n/s);d=Math.floor(r*k),h=Math.floor(s*k)}p=document.createElement("canvas");let g=p.width=Math.ceil(d*l.sx),b=p.height=Math.ceil(h*l.sy);this.#c||(c=this.#p(g,b));let S=p.getContext("2d");S.filter=this._uiManager.hcmFilter;let w="white",D="#cfcfd8";this._uiManager.hcmFilter!=="none"?D="black":window.matchMedia?.("(prefers-color-scheme: dark)").matches&&(w="#8f8f9d",D="#42414d");let A=15,T=A*l.sx,C=A*l.sy,O=new OffscreenCanvas(T*2,C*2),M=O.getContext("2d");M.fillStyle=w,M.fillRect(0,0,T*2,C*2),M.fillStyle=D,M.fillRect(0,0,T,C),M.fillRect(T,C,T,C),S.fillStyle=S.createPattern(O,"repeat"),S.fillRect(0,0,g,b),S.drawImage(c,0,0,c.width,c.height,0,0,g,b)}let y=null;if(i){let g,b;if(l.symmetric&&c.width<t&&c.height<t)g=c.width,b=c.height;else if(c=this.#t,r>t||s>t){let D=Math.min(t/r,t/s);g=Math.floor(r*D),b=Math.floor(s*D),this.#c||(c=this.#p(g,b))}let w=new OffscreenCanvas(g,b).getContext("2d",{willReadFrequently:!0});w.drawImage(c,0,0,c.width,c.height,0,0,g,b),y={width:g,height:b,data:w.getImageData(0,0,g,b).data}}return{canvas:p,width:d,height:h,imageData:y}}#p(t,n){let{width:i,height:r}=this.#t,s=i,l=r,c=this.#t;for(;s>2*t||l>2*n;){let d=s,h=l;s>2*t&&(s=s>=16384?Math.floor(s/2)-1:Math.ceil(s/2)),l>2*n&&(l=l>=16384?Math.floor(l/2)-1:Math.ceil(l/2));let p=new OffscreenCanvas(s,l);p.getContext("2d").drawImage(c,0,0,d,h,0,0,s,l),c=p.transferToImageBitmap()}return c}#g(){let[t,n]=this.parentDimensions,{width:i,height:r}=this,s=new _y,l=Math.ceil(i*t*s.sx),c=Math.ceil(r*n*s.sy),d=this.#l;if(!d||d.width===l&&d.height===c)return;d.width=l,d.height=c;let h=this.#c?this.#t:this.#p(l,c),p=d.getContext("2d");p.filter=this._uiManager.hcmFilter,p.drawImage(h,0,0,h.width,h.height,0,0,l,c)}getImageForAltText(){return this.#l}#m(t){if(t){if(this.#c){let r=this._uiManager.imageManager.getSvgUrl(this.#e);if(r)return r}let n=document.createElement("canvas");return{width:n.width,height:n.height}=this.#t,n.getContext("2d").drawImage(this.#t,0,0),n.toDataURL()}if(this.#c){let[n,i]=this.pageDimensions,r=Math.round(this.width*n*ff.PDF_TO_CSS_UNITS),s=Math.round(this.height*i*ff.PDF_TO_CSS_UNITS),l=new OffscreenCanvas(r,s);return l.getContext("2d").drawImage(this.#t,0,0,this.#t.width,this.#t.height,0,0,r,s),l.transferToImageBitmap()}return structuredClone(this.#t)}static async deserialize(t,n,i){let r=null;if(t instanceof Ew){let{data:{rect:S,rotation:w,id:D,structParent:A,popupRef:T},container:C,parent:{page:{pageNumber:O}}}=t,M=C.querySelector("canvas"),k=i.imageManager.getFromCanvas(C.id,M);M.remove();let z=(await n._structTree.getAriaAttributes(`${pF}${D}`))?.get("aria-label")||"";r=t={annotationType:ze.STAMP,bitmapId:k.id,bitmap:k.bitmap,pageIndex:O-1,rect:S.slice(0),rotation:w,id:D,deleted:!1,accessibilityData:{decorative:!1,altText:z},isSvg:!1,structParent:A,popupRef:T}}let s=await super.deserialize(t,n,i),{rect:l,bitmap:c,bitmapUrl:d,bitmapId:h,isSvg:p,accessibilityData:y}=t;h&&i.imageManager.isValidId(h)?(s.#e=h,c&&(s.#t=c)):s.#i=d,s.#c=p;let[g,b]=s.pageDimensions;return s.width=(l[2]-l[0])/g,s.height=(l[3]-l[1])/b,s.annotationElementId=t.id||null,y&&(s.altTextData=y),s._initialData=r,s.#u=!!r,s}serialize(t=!1,n=null){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();let i={annotationType:ze.STAMP,bitmapId:this.#e,pageIndex:this.pageIndex,rect:this.getRect(0,0),rotation:this.rotation,isSvg:this.#c,structTreeParentId:this._structTreeParentId};if(t)return i.bitmapUrl=this.#m(!0),i.accessibilityData=this.serializeAltText(!0),i;let{decorative:r,altText:s}=this.serializeAltText(!1);if(!r&&s&&(i.accessibilityData={type:"Figure",alt:s}),this.annotationElementId){let c=this.#v(i);if(c.isSame)return null;c.isSameAltText?delete i.accessibilityData:i.accessibilityData.structParent=this._initialData.structParent??-1}if(i.id=this.annotationElementId,n===null)return i;n.stamps||=new Map;let l=this.#c?(i.rect[2]-i.rect[0])*(i.rect[3]-i.rect[1]):null;if(!n.stamps.has(this.#e))n.stamps.set(this.#e,{area:l,serialized:i}),i.bitmap=this.#m(!1);else if(this.#c){let c=n.stamps.get(this.#e);l>c.area&&(c.area=l,c.serialized.bitmap.close(),c.serialized.bitmap=this.#m(!1))}return i}#v(t){let{pageIndex:n,accessibilityData:{altText:i}}=this._initialData,r=t.pageIndex===n,s=(t.accessibilityData?.alt||"")===i;return{isSame:!this._hasBeenMoved&&!this._hasBeenResized&&r&&s,isSameAltText:s}}renderAnnotationElement(t){return t.updateEdited({rect:this.getRect(0,0)}),null}},fF=class e{#t;#e=!1;#n=null;#i=null;#r=null;#a=new Map;#l=!1;#s=!1;#c=!1;#u=null;#d=null;#f=null;#h=null;#o;static _initialized=!1;static#p=new Map([nF,uF,cF,Rw].map(t=>[t._editorType,t]));constructor({uiManager:t,pageIndex:n,div:i,structTreeLayer:r,accessibilityManager:s,annotationLayer:l,drawLayer:c,textLayer:d,viewport:h,l10n:p}){let y=[...e.#p.values()];if(!e._initialized){e._initialized=!0;for(let g of y)g.initialize(p,t)}t.registerEditorTypes(y),this.#o=t,this.pageIndex=n,this.div=i,this.#t=s,this.#n=l,this.viewport=h,this.#f=d,this.drawLayer=c,this._structTree=r,this.#o.addLayer(this)}get isEmpty(){return this.#a.size===0}get isInvisible(){return this.isEmpty&&this.#o.getMode()===ze.NONE}updateToolbar(t){this.#o.updateToolbar(t)}updateMode(t=this.#o.getMode()){switch(this.#y(),t){case ze.NONE:this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),this.disableClick();return;case ze.INK:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick();break;case ze.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);let{classList:n}=this.div;for(let i of e.#p.values())n.toggle(`${i._type}Editing`,t===i._editorType);this.div.hidden=!1}hasTextLayer(t){return t===this.#f?.div}setEditingState(t){this.#o.setEditingState(t)}addCommands(t){this.#o.addCommands(t)}cleanUndoStack(t){this.#o.cleanUndoStack(t)}toggleDrawing(t=!1){this.div.classList.toggle("drawing",!t)}togglePointerEvents(t=!1){this.div.classList.toggle("disabled",!t)}toggleAnnotationLayerPointerEvents(t=!1){this.#n?.div.classList.toggle("disabled",!t)}async enable(){this.#c=!0,this.div.tabIndex=0,this.togglePointerEvents(!0);let t=new Set;for(let i of this.#a.values())i.enableEditing(),i.show(!0),i.annotationElementId&&(this.#o.removeChangedExistingAnnotation(i),t.add(i.annotationElementId));if(!this.#n){this.#c=!1;return}let n=this.#n.getEditableAnnotations();for(let i of n){if(i.hide(),this.#o.isDeletedAnnotationElement(i.data.id)||t.has(i.data.id))continue;let r=await this.deserialize(i);r&&(this.addOrRebuild(r),r.enableEditing())}this.#c=!1}disable(){this.#s=!0,this.div.tabIndex=-1,this.togglePointerEvents(!1);let t=new Map,n=new Map;for(let r of this.#a.values())if(r.disableEditing(),!!r.annotationElementId){if(r.serialize()!==null){t.set(r.annotationElementId,r);continue}else n.set(r.annotationElementId,r);this.getEditableAnnotation(r.annotationElementId)?.show(),r.remove()}if(this.#n){let r=this.#n.getEditableAnnotations();for(let s of r){let{id:l}=s.data;if(this.#o.isDeletedAnnotationElement(l))continue;let c=n.get(l);if(c){c.resetAnnotationElement(s),c.show(!1),s.show();continue}c=t.get(l),c&&(this.#o.addChangedExistingAnnotation(c),c.renderAnnotationElement(s)&&c.show(!1)),s.show()}}this.#y(),this.isEmpty&&(this.div.hidden=!0);let{classList:i}=this.div;for(let r of e.#p.values())i.remove(`${r._type}Editing`);this.disableTextSelection(),this.toggleAnnotationLayerPointerEvents(!0),this.#s=!1}getEditableAnnotation(t){return this.#n?.getEditableAnnotation(t)||null}setActiveEditor(t){this.#o.getActive()!==t&&this.#o.setActiveEditor(t)}enableTextSelection(){if(this.div.tabIndex=-1,this.#f?.div&&!this.#h){this.#h=new AbortController;let t=this.#o.combinedSignal(this.#h);this.#f.div.addEventListener("pointerdown",this.#g.bind(this),{signal:t}),this.#f.div.classList.add("highlighting")}}disableTextSelection(){this.div.tabIndex=0,this.#f?.div&&this.#h&&(this.#h.abort(),this.#h=null,this.#f.div.classList.remove("highlighting"))}#g(t){this.#o.unselectAll();let{target:n}=t;if(n===this.#f.div||(n.getAttribute("role")==="img"||n.classList.contains("endOfContent"))&&this.#f.div.contains(n)){let{isMac:i}=xa.platform;if(t.button!==0||t.ctrlKey&&i)return;this.#o.showAllEditors("highlight",!0,!0),this.#f.div.classList.add("free"),this.toggleDrawing(),Rw.startHighlighting(this,this.#o.direction==="ltr",{target:this.#f.div,x:t.x,y:t.y}),this.#f.div.addEventListener("pointerup",()=>{this.#f.div.classList.remove("free"),this.toggleDrawing(!0)},{once:!0,signal:this.#o._signal}),t.preventDefault()}}enableClick(){if(this.#i)return;this.#i=new AbortController;let t=this.#o.combinedSignal(this.#i);this.div.addEventListener("pointerdown",this.pointerdown.bind(this),{signal:t});let n=this.pointerup.bind(this);this.div.addEventListener("pointerup",n,{signal:t}),this.div.addEventListener("pointercancel",n,{signal:t})}disableClick(){this.#i?.abort(),this.#i=null}attach(t){this.#a.set(t.id,t);let{annotationElementId:n}=t;n&&this.#o.isDeletedAnnotationElement(n)&&this.#o.removeDeletedAnnotationElement(t)}detach(t){this.#a.delete(t.id),this.#t?.removePointerInTextLayer(t.contentDiv),!this.#s&&t.annotationElementId&&this.#o.addDeletedAnnotationElement(t)}remove(t){this.detach(t),this.#o.removeEditor(t),t.div.remove(),t.isAttachedToDOM=!1}changeParent(t){t.parent!==this&&(t.parent&&t.annotationElementId&&(this.#o.addDeletedAnnotationElement(t.annotationElementId),ai.deleteAnnotationElement(t),t.annotationElementId=null),this.attach(t),t.parent?.detach(t),t.setParent(this),t.div&&t.isAttachedToDOM&&(t.div.remove(),this.div.append(t.div)))}add(t){if(!(t.parent===this&&t.isAttachedToDOM)){if(this.changeParent(t),this.#o.addEditor(t),this.attach(t),!t.isAttachedToDOM){let n=t.render();this.div.append(n),t.isAttachedToDOM=!0}t.fixAndSetPosition(),t.onceAdded(!this.#c),this.#o.addToAnnotationStorage(t),t._reportTelemetry(t.telemetryInitialData)}}moveEditorInDOM(t){if(!t.isAttachedToDOM)return;let{activeElement:n}=document;t.div.contains(n)&&!this.#r&&(t._focusEventsAllowed=!1,this.#r=setTimeout(()=>{this.#r=null,t.div.contains(document.activeElement)?t._focusEventsAllowed=!0:(t.div.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:this.#o._signal}),n.focus())},0)),t._structTreeParentId=this.#t?.moveElementInDOM(this.div,t.div,t.contentDiv,!0)}addOrRebuild(t){t.needsToBeRebuilt()?(t.parent||=this,t.rebuild(),t.show()):this.add(t)}addUndoableEditor(t){let n=()=>t._uiManager.rebuild(t),i=()=>{t.remove()};this.addCommands({cmd:n,undo:i,mustExec:!1})}getNextId(){return this.#o.getId()}get#m(){return e.#p.get(this.#o.getMode())}combinedSignal(t){return this.#o.combinedSignal(t)}#v(t){let n=this.#m;return n?new n.prototype.constructor(t):null}canCreateNewEmptyEditor(){return this.#m?.canCreateNewEmptyEditor()}pasteEditor(t,n){this.#o.updateToolbar(t),this.#o.updateMode(t);let{offsetX:i,offsetY:r}=this.#S(),s=this.getNextId(),l=this.#v({parent:this,id:s,x:i,y:r,uiManager:this.#o,isCentered:!0,...n});l&&this.add(l)}async deserialize(t){return await e.#p.get(t.annotationType??t.annotationEditorType)?.deserialize(t,this,this.#o)||null}createAndAddNewEditor(t,n,i={}){let r=this.getNextId(),s=this.#v({parent:this,id:r,x:t.offsetX,y:t.offsetY,uiManager:this.#o,isCentered:n,...i});return s&&this.add(s),s}#S(){let{x:t,y:n,width:i,height:r}=this.div.getBoundingClientRect(),s=Math.max(0,t),l=Math.max(0,n),c=Math.min(window.innerWidth,t+i),d=Math.min(window.innerHeight,n+r),h=(s+c)/2-t,p=(l+d)/2-n,[y,g]=this.viewport.rotation%180===0?[h,p]:[p,h];return{offsetX:y,offsetY:g}}addNewEditor(){this.createAndAddNewEditor(this.#S(),!0)}setSelected(t){this.#o.setSelected(t)}toggleSelected(t){this.#o.toggleSelected(t)}unselect(t){this.#o.unselect(t)}pointerup(t){let{isMac:n}=xa.platform;if(!(t.button!==0||t.ctrlKey&&n)&&t.target===this.div&&this.#l&&(this.#l=!1,!(this.#m?.isDrawer&&this.#m.supportMultipleDrawings))){if(!this.#e){this.#e=!0;return}if(this.#o.getMode()===ze.STAMP){this.#o.unselectAll();return}this.createAndAddNewEditor(t,!1)}}pointerdown(t){if(this.#o.getMode()===ze.HIGHLIGHT&&this.enableTextSelection(),this.#l){this.#l=!1;return}let{isMac:n}=xa.platform;if(t.button!==0||t.ctrlKey&&n||t.target!==this.div)return;if(this.#l=!0,this.#m?.isDrawer){this.startDrawingSession(t);return}let i=this.#o.getActive();this.#e=!i||i.isEmpty()}startDrawingSession(t){if(this.div.focus(),this.#u){this.#m.startDrawing(this,this.#o,!1,t);return}this.#o.setCurrentDrawingSession(this),this.#u=new AbortController;let n=this.#o.combinedSignal(this.#u);this.div.addEventListener("blur",({relatedTarget:i})=>{i&&!this.div.contains(i)&&(this.#d=null,this.commitOrRemove())},{signal:n}),this.#m.startDrawing(this,this.#o,!1,t)}pause(t){if(t){let{activeElement:n}=document;this.div.contains(n)&&(this.#d=n);return}this.#d&&setTimeout(()=>{this.#d?.focus(),this.#d=null},0)}endDrawingSession(t=!1){return this.#u?(this.#o.setCurrentDrawingSession(null),this.#u.abort(),this.#u=null,this.#d=null,this.#m.endDrawing(t)):null}findNewParent(t,n,i){let r=this.#o.findParent(n,i);return r===null||r===this?!1:(r.changeParent(t),!0)}commitOrRemove(){return this.#u?(this.endDrawingSession(),!0):!1}onScaleChanging(){this.#u&&this.#m.onScaleChangingWhenDrawing(this)}destroy(){this.commitOrRemove(),this.#o.getActive()?.parent===this&&(this.#o.commitOrRemove(),this.#o.setActiveEditor(null)),this.#r&&(clearTimeout(this.#r),this.#r=null);for(let t of this.#a.values())this.#t?.removePointerInTextLayer(t.contentDiv),t.setParent(null),t.isAttachedToDOM=!1,t.div.remove();this.div=null,this.#a.clear(),this.#o.removeLayer(this)}#y(){for(let t of this.#a.values())t.isEmpty()&&t.remove()}render({viewport:t}){this.viewport=t,ah(this.div,t);for(let n of this.#o.getEditors(this.pageIndex))this.add(n),n.rebuild();this.updateMode()}update({viewport:t}){this.#o.commitOrRemove(),this.#y();let n=this.viewport.rotation,i=t.rotation;if(this.viewport=t,ah(this.div,{rotation:i}),n!==i)for(let r of this.#a.values())r.rotate(i)}get pageDimensions(){let{pageWidth:t,pageHeight:n}=this.viewport.rawDims;return[t,n]}get scale(){return this.#o.viewParameters.realScale}},dF=class e{#t=null;#e=0;#n=new Map;#i=new Map;constructor({pageIndex:t}){this.pageIndex=t}setParent(t){if(!this.#t){this.#t=t;return}if(this.#t!==t){if(this.#n.size>0)for(let n of this.#n.values())n.remove(),t.append(n);this.#t=t}}static get _svgFactory(){return qe(this,"_svgFactory",new Ly)}static#r(t,[n,i,r,s]){let{style:l}=t;l.top=`${100*i}%`,l.left=`${100*n}%`,l.width=`${100*r}%`,l.height=`${100*s}%`}#a(){let t=e._svgFactory.create(1,1,!0);return this.#t.append(t),t.setAttribute("aria-hidden",!0),t}#l(t,n){let i=e._svgFactory.createElement("clipPath");t.append(i);let r=`clip_${n}`;i.setAttribute("id",r),i.setAttribute("clipPathUnits","objectBoundingBox");let s=e._svgFactory.createElement("use");return i.append(s),s.setAttribute("href",`#${n}`),s.classList.add("clip"),r}#s(t,n){for(let[i,r]of Object.entries(n))r===null?t.removeAttribute(i):t.setAttribute(i,r)}draw(t,n=!1,i=!1){let r=this.#e++,s=this.#a(),l=e._svgFactory.createElement("defs");s.append(l);let c=e._svgFactory.createElement("path");l.append(c);let d=`path_p${this.pageIndex}_${r}`;c.setAttribute("id",d),c.setAttribute("vector-effect","non-scaling-stroke"),n&&this.#i.set(r,c);let h=i?this.#l(l,d):null,p=e._svgFactory.createElement("use");return s.append(p),p.setAttribute("href",`#${d}`),this.updateProperties(s,t),this.#n.set(r,s),{id:r,clipPathId:`url(#${h})`}}drawOutline(t,n){let i=this.#e++,r=this.#a(),s=e._svgFactory.createElement("defs");r.append(s);let l=e._svgFactory.createElement("path");s.append(l);let c=`path_p${this.pageIndex}_${i}`;l.setAttribute("id",c),l.setAttribute("vector-effect","non-scaling-stroke");let d;if(n){let y=e._svgFactory.createElement("mask");s.append(y),d=`mask_p${this.pageIndex}_${i}`,y.setAttribute("id",d),y.setAttribute("maskUnits","objectBoundingBox");let g=e._svgFactory.createElement("rect");y.append(g),g.setAttribute("width","1"),g.setAttribute("height","1"),g.setAttribute("fill","white");let b=e._svgFactory.createElement("use");y.append(b),b.setAttribute("href",`#${c}`),b.setAttribute("stroke","none"),b.setAttribute("fill","black"),b.setAttribute("fill-rule","nonzero"),b.classList.add("mask")}let h=e._svgFactory.createElement("use");r.append(h),h.setAttribute("href",`#${c}`),d&&h.setAttribute("mask",`url(#${d})`);let p=h.cloneNode();return r.append(p),h.classList.add("mainOutline"),p.classList.add("secondaryOutline"),this.updateProperties(r,t),this.#n.set(i,r),i}finalizeDraw(t,n){this.#i.delete(t),this.updateProperties(t,n)}updateProperties(t,n){if(!n)return;let{root:i,bbox:r,rootClass:s,path:l}=n,c=typeof t=="number"?this.#n.get(t):t;if(c){if(i&&this.#s(c,i),r&&e.#r(c,r),s){let{classList:d}=c;for(let[h,p]of Object.entries(s))d.toggle(h,p)}if(l){let h=c.firstChild.firstChild;this.#s(h,l)}}}updateParent(t,n){if(n===this)return;let i=this.#n.get(t);i&&(n.#t.append(i),this.#n.delete(t),n.#n.set(t,i))}remove(t){this.#i.delete(t),this.#t!==null&&(this.#n.get(t).remove(),this.#n.delete(t))}destroy(){this.#t=null;for(let t of this.#n.values())t.remove();this.#n.clear(),this.#i.clear()}};globalThis.pdfjsTestingUtils={HighlightOutliner:By};var $at=ge.AbortException,trt=ge.AnnotationEditorLayer,ert=ge.AnnotationEditorParamsType,nrt=ge.AnnotationEditorType,irt=ge.AnnotationEditorUIManager,art=ge.AnnotationLayer,rrt=ge.AnnotationMode,ort=ge.ColorPicker,srt=ge.DOMSVGFactory,lrt=ge.DrawLayer,urt=ge.FeatureTest,_j=ge.GlobalWorkerOptions,crt=ge.ImageKind,frt=ge.InvalidPDFException,drt=ge.MissingPDFException,hrt=ge.OPS,prt=ge.OutputScale,mrt=ge.PDFDataRangeTransport,grt=ge.PDFDateString,vrt=ge.PDFWorker,yrt=ge.PasswordResponses,brt=ge.PermissionFlag,Srt=ge.PixelsPerInch,xrt=ge.RenderingCancelledException,Art=ge.TextLayer,wrt=ge.TouchManager,Ert=ge.UnexpectedResponseException,Trt=ge.Util,Crt=ge.VerbosityLevel,Drt=ge.XfaLayer,Rrt=ge.build,Ort=ge.createValidAbsoluteUrl,Mrt=ge.fetchData,Fj=ge.getDocument,_rt=ge.getFilenameFromUrl,Frt=ge.getPdfFilenameFromUrl,Nrt=ge.getXfaPageViewport,zrt=ge.isDataScheme,krt=ge.isPdfFile,Lrt=ge.noContextMenu,Prt=ge.normalizeUnicode,Urt=ge.setLayerDimensions,Brt=ge.shadow,Hrt=ge.stopEvent,Nj=ge.version;typeof window<"u"&&(_j.workerSrc=`https://cdnjs.cloudflare.com/ajax/libs/pdf.js/${Nj}/pdf.worker.min.mjs`);async function Uw(e,t=2){let i=await Fj(typeof e=="string"?{url:e}:{data:e}).promise,r=[];for(let s=1;s<=i.numPages;s++){let l=await i.getPage(s),c=l.getViewport({scale:t}),d=document.createElement("canvas");d.width=c.width,d.height=c.height;let h=d.getContext("2d");await l.render({canvasContext:h,viewport:c}).promise;let p=l.getViewport({scale:1});r.push({pageNumber:s,dataUrl:d.toDataURL("image/png"),width:c.width,height:c.height,pdfWidth:p.width,pdfHeight:p.height})}return r}var Aa=zn(vr());var Rr=zn(co());function jw({pages:e,fields:t,selectedFieldIds:n,onSelectField:i,onFieldMove:r,onFieldResize:s,onPageClick:l,onDropField:c,onGroupMove:d,onMoveStart:h,onMoveEnd:p,mode:y,currentSigner:g,renderFieldContent:b,zoom:S=1,onMarqueeSelect:w}){let D=(0,Aa.useRef)(null),[A,T]=(0,Aa.useState)([]),[C,O]=(0,Aa.useState)(null),M=(0,Aa.useRef)(null),k=(0,Aa.useCallback)((U,B)=>{if(U.target.closest(".field-overlay")||y!=="designer")return;U.preventDefault();let Y=U.currentTarget.getBoundingClientRect(),ot=(U.clientX-Y.left)/Y.width*100,ft=(U.clientY-Y.top)/Y.height*100;M.current={startX:ot,startY:ft,page:B,didDrag:!1};let $=K=>{if(!M.current)return;let wt=(K.clientX-Y.left)/Y.width*100,Ct=(K.clientY-Y.top)/Y.height*100,Yt=Math.abs(wt-M.current.startX),nt=Math.abs(Ct-M.current.startY);(Yt>1||nt>1)&&(M.current.didDrag=!0,O({page:B,x1:Math.min(M.current.startX,wt),y1:Math.min(M.current.startY,Ct),x2:Math.max(M.current.startX,wt),y2:Math.max(M.current.startY,Ct)}))},tt=K=>{if(window.removeEventListener("mousemove",$),window.removeEventListener("mouseup",tt),M.current?.didDrag&&w){let wt=Math.min(M.current.startX,(K.clientX-Y.left)/Y.width*100),Ct=Math.min(M.current.startY,(K.clientY-Y.top)/Y.height*100),Yt=Math.max(M.current.startX,(K.clientX-Y.left)/Y.width*100),nt=Math.max(M.current.startY,(K.clientY-Y.top)/Y.height*100),Tt=t.filter(Rt=>Rt.page===B).filter(Rt=>Rt.x<Yt&&Rt.x+Rt.width>wt&&Rt.y<nt&&Rt.y+Rt.height>Ct).map(Rt=>Rt.id);w(Tt)}else M.current?.didDrag||(l?l(B,ot,ft):i(null));M.current=null,O(null)};window.addEventListener("mousemove",$),window.addEventListener("mouseup",tt)},[y,t,l,i,w]),z=(0,Aa.useCallback)(U=>{U.dataTransfer.types.includes("application/exeq-field-type")&&(U.preventDefault(),U.dataTransfer.dropEffect="copy")},[]),P=(0,Aa.useCallback)((U,B)=>{let W=U.dataTransfer.getData("application/exeq-field-type");if(!W||!c)return;U.preventDefault();let Y=U.currentTarget.getBoundingClientRect(),ot=(U.clientX-Y.left)/Y.width*100,ft=(U.clientY-Y.top)/Y.height*100;c(B,ot,ft,W)},[c]);return(0,Rr.jsx)("div",{className:"pdf-viewer-zoom-wrapper",ref:D,style:S!==1?{width:`${S*100}%`,minHeight:"min-content"}:void 0,children:(0,Rr.jsx)("div",{className:"pdf-viewer",style:S!==1?{transform:`scale(${S})`,transformOrigin:"top left",width:`${100/S}%`}:void 0,children:e.map((U,B)=>{let W=t.filter(Y=>Y.page===B);return(0,Rr.jsxs)("div",{className:"pdf-page",style:{width:`${U.pdfWidth||612}pt`,maxWidth:"100%",aspectRatio:`${U.width} / ${U.height}`},onMouseDown:Y=>k(Y,B),onDragOver:z,onDrop:Y=>P(Y,B),"data-page":B,children:[(0,Rr.jsx)("img",{src:U.dataUrl,alt:`Page ${B+1}`,className:"pdf-page-image",draggable:!1}),W.map(Y=>(0,Rr.jsx)(h$,{field:Y,isSelected:n.has(Y.id),isMultiSelected:n.size>1&&n.has(Y.id),onSelect:ot=>i(Y.id,ot),onMove:r,onResize:s,onGroupMove:n.size>1&&n.has(Y.id)?d:void 0,onMoveStart:h,onMoveEnd:p,otherFields:y==="designer"?W.filter(ot=>ot.id!==Y.id&&!n.has(ot.id)):void 0,setGuides:y==="designer"?T:void 0,pageIndex:B,selectedIds:n,mode:y,currentSigner:g,pageWidthPt:U.pdfWidth,pageHeightPt:U.pdfHeight,renderContent:b},Y.id)),A.filter(Y=>Y.page===B).map((Y,ot)=>Y.x!==void 0?(0,Rr.jsx)("div",{className:"snap-guide snap-guide-v",style:{left:`${Y.x}%`}},`gx${ot}`):(0,Rr.jsx)("div",{className:"snap-guide snap-guide-h",style:{top:`${Y.y}%`}},`gy${ot}`)),C&&C.page===B&&(0,Rr.jsx)("div",{className:"marquee-rect",style:{left:`${C.x1}%`,top:`${C.y1}%`,width:`${C.x2-C.x1}%`,height:`${C.y2-C.y1}%`}})]},B)})})})}var Pj=1.2;function Uj(e,t,n){let i=e.x,r=e.y,s=e.width,l=e.height,c=i+s/2,d=r+l/2,h=null,p=null;for(let S of t){let w=S.x,D=S.y,A=S.width,T=S.height,C=w+A/2,O=D+T/2,M=[[i,w,w],[i+s,w+A,w+A],[c,C,C],[i,w+A,w+A],[i+s,w,w]];for(let[z,P,U]of M){let B=Math.abs(z-P);B<Pj&&(!h||B<h.dist)&&(h={offset:P-z,guideX:U,dist:B})}let k=[[r,D,D],[r+l,D+T,D+T],[d,O,O],[r,D+T,D+T],[r+l,D,D]];for(let[z,P,U]of k){let B=Math.abs(z-P);B<Pj&&(!p||B<p.dist)&&(p={offset:P-z,guideY:U,dist:B})}}let y=h?i+h.offset:i,g=p?r+p.offset:r,b=[];return h&&b.push({page:n,x:h.guideX}),p&&b.push({page:n,y:p.guideY}),{x:Math.max(0,Math.min(100-s,y)),y:Math.max(0,Math.min(100-l,g)),guides:b}}function h$({field:e,isSelected:t,isMultiSelected:n,onSelect:i,onMove:r,onResize:s,onGroupMove:l,onMoveStart:c,onMoveEnd:d,otherFields:h,setGuides:p,pageIndex:y,selectedIds:g,mode:b,currentSigner:S,pageWidthPt:w,pageHeightPt:D,renderContent:A}){let T=(0,Aa.useRef)(null),C=(0,Aa.useRef)(null),O=(0,Aa.useRef)({x:e.x,y:e.y}),M=(0,Aa.useRef)(!1),k=(0,Aa.useRef)(null),z=ka(e),P=b==="designer"||b==="signer"&&e.assignee===S,U=b==="signer"&&!z&&e.assignee!==S,B=b==="signer"&&P&&!z&&(e.type==="checkbox"||e.formula?!0:!!e.value),W=U?"#cccccc":B?"#22c55e":xs(e.assignee),Y=!P&&!!e.value,ot=(0,Aa.useCallback)($=>{if(b!=="designer"||!r||($.preventDefault(),$.stopPropagation(),g.has(e.id)&&g.size>1||i($),e.locked))return;c?.();let K=T.current?.closest(".pdf-page");if(!K)return;M.current=!1,C.current={startX:$.clientX,startY:$.clientY,fieldX:e.x,fieldY:e.y};let wt=Yt=>{if(!C.current)return;M.current=!0;let nt=K.getBoundingClientRect(),yt=(Yt.clientX-C.current.startX)/nt.width*100,Tt=(Yt.clientY-C.current.startY)/nt.height*100;if(n&&l)l(Array.from(g),yt,Tt),C.current.startX=Yt.clientX,C.current.startY=Yt.clientY;else{let Rt=Math.max(0,Math.min(100-e.width,C.current.fieldX+yt)),De=Math.max(0,Math.min(100-e.height,C.current.fieldY+Tt));if(O.current={x:Rt,y:De},r(e.id,e.page,Rt,De),Yt.shiftKey&&h&&p&&y!==void 0){let{guides:Mt}=Uj({x:Rt,y:De,width:e.width,height:e.height},h,y);p(Mt)}else p?.([])}},Ct=Yt=>{if(Yt.shiftKey&&M.current&&h&&r&&y!==void 0&&!n){let nt=O.current,yt=Uj({x:nt.x,y:nt.y,width:e.width,height:e.height},h,y);(yt.x!==nt.x||yt.y!==nt.y)&&r(e.id,e.page,yt.x,yt.y)}C.current=null,window.removeEventListener("mousemove",wt),window.removeEventListener("mouseup",Ct),p?.([]),d?.()};window.addEventListener("mousemove",wt),window.addEventListener("mouseup",Ct)},[e,b,r,i,n,l,c,d,g,h,p,y]),ft=(0,Aa.useCallback)($=>{if(b!=="designer"||!s||e.locked)return;$.preventDefault(),$.stopPropagation(),c?.();let tt=T.current?.closest(".pdf-page");if(!tt)return;k.current={startX:$.clientX,startY:$.clientY,fieldW:e.width,fieldH:e.height};let K=Ct=>{if(!k.current)return;let Yt=tt.getBoundingClientRect(),nt=(Ct.clientX-k.current.startX)/Yt.width*100,yt=(Ct.clientY-k.current.startY)/Yt.height*100,Tt=Math.max(2,Math.min(100-e.x,k.current.fieldW+nt)),Rt=Math.max(1.5,Math.min(100-e.y,k.current.fieldH+yt));s(e.id,Tt,Rt)},wt=()=>{k.current=null,window.removeEventListener("mousemove",K),window.removeEventListener("mouseup",wt),d?.()};window.addEventListener("mousemove",K),window.addEventListener("mouseup",wt)},[e,b,s,c,d]);return(0,Rr.jsxs)("div",{ref:T,className:`field-overlay ${t?"selected":""} ${P?"editable":"readonly"} ${Y?"prefilled":""} ${z?"redact":""} ${U?"inactive-signer":""} ${e.locked?"locked":""}`,style:{left:`${e.x}%`,top:`${e.y}%`,width:`${e.width}%`,height:`${e.height}%`,borderColor:z?e.type==="blackout"?"#666":"#bbb":W,borderStyle:z?"dashed":"solid",backgroundColor:z?e.type==="blackout"?"#000000":"#ffffff":U?"#f5f5f5":t?`${W}22`:`${W}11`,cursor:b==="designer"?e.locked?"not-allowed":"move":"default",pointerEvents:b==="signer"&&(z||U)?"none":void 0},onClick:$=>{$.stopPropagation(),M.current||i($)},onMouseDown:ot,children:[b==="designer"&&!z&&(0,Rr.jsx)("div",{className:"field-overlay-label",style:{backgroundColor:W},children:e.label}),A?A(e,w,D):(0,Rr.jsx)("div",{className:"field-overlay-placeholder",children:e.value||e.placeholder}),b==="designer"&&t&&!e.locked&&(0,Rr.jsx)("div",{className:"field-resize-handle",onMouseDown:ft})]})}var Bj=zn(vr());var I=zn(co()),Hj=[{value:"#000000",label:"Black"},{value:"#1a56db",label:"Blue"}];function jj({field:e,signerRoles:t,onUpdate:n,onDelete:i,prefillContent:r,pageSize:s}){let l=xs(e.assignee),c=ka(e),d=oj(e),h=d||As(e),[p,y]=(0,Bj.useState)("");return(0,I.jsxs)("div",{className:"field-property-panel",children:[(0,I.jsxs)("div",{className:"panel-header",children:[(0,I.jsx)("input",{className:"panel-header-label",style:{color:l},value:e.label,onChange:g=>n(e.id,{label:g.target.value})}),(0,I.jsxs)("div",{className:"panel-header-actions",children:[(0,I.jsx)("button",{onClick:()=>n(e.id,{locked:!e.locked}),className:`panel-icon-btn ${e.locked?"active":""}`,title:e.locked?"Unlock":"Lock",children:(0,I.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"currentColor",children:e.locked?(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("rect",{x:"2",y:"6",width:"10",height:"7",rx:"1.5"}),(0,I.jsx)("path",{d:"M4.5 6V4.5a2.5 2.5 0 015 0V6",fill:"none",stroke:"currentColor",strokeWidth:"1.5"})]}):(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("rect",{x:"2",y:"6",width:"10",height:"7",rx:"1.5"}),(0,I.jsx)("path",{d:"M4.5 6V4.5a2.5 2.5 0 015 0",fill:"none",stroke:"currentColor",strokeWidth:"1.5"})]})})}),(0,I.jsx)("button",{onClick:()=>i(e.id),className:"panel-icon-btn panel-icon-btn-danger",title:"Delete",children:(0,I.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"currentColor",children:(0,I.jsx)("path",{d:"M5 1h4v1H5V1zM2 3v1h1v8.5A1.5 1.5 0 004.5 14h5a1.5 1.5 0 001.5-1.5V4h1V3H2zm2 1h6v8.5a.5.5 0 01-.5.5h-5a.5.5 0 01-.5-.5V4z"})})})]})]}),!c&&(0,I.jsxs)("div",{className:"panel-section",children:[(0,I.jsx)("div",{className:"panel-section-heading",children:"Assigned To"}),(0,I.jsx)("select",{className:"panel-assignee-select",value:e.assignee,onChange:g=>n(e.id,{assignee:g.target.value}),style:{borderColor:l,color:l},children:t.map(g=>(0,I.jsx)("option",{value:g,style:{color:xs(g)},children:g},g))})]}),(0,I.jsxs)("div",{className:"panel-section",children:[(0,I.jsx)("div",{className:"panel-section-heading",children:"Content"}),!c&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Field Type"}),(0,I.jsxs)("select",{value:e.type,onChange:g=>n(e.id,{type:g.target.value}),children:[(0,I.jsx)("option",{value:"text",children:"Text"}),(0,I.jsx)("option",{value:"dropdown",children:"Dropdown"}),(0,I.jsx)("option",{value:"signature",children:"Signature"}),(0,I.jsx)("option",{value:"signed-date",children:"Signed Date"}),(0,I.jsx)("option",{value:"checkbox",children:"Checkbox"}),(0,I.jsx)("option",{value:"initials",children:"Initials"})]})]}),e.type==="text"&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Text Type"}),(0,I.jsxs)("select",{value:e.textSubtype||"freeform",onChange:g=>n(e.id,{textSubtype:g.target.value}),children:[(0,I.jsx)("option",{value:"freeform",children:"Freeform"}),(0,I.jsx)("option",{value:"number",children:"Number"}),(0,I.jsx)("option",{value:"date",children:"Date"}),(0,I.jsx)("option",{value:"email",children:"Email"}),(0,I.jsx)("option",{value:"phone",children:"Phone"})]})]}),!c&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Placeholder"}),(0,I.jsx)("input",{type:"text",value:e.placeholder,onChange:g=>n(e.id,{placeholder:g.target.value})})]}),!c&&e.type!=="checkbox"&&(0,I.jsx)("div",{className:"panel-field",children:(0,I.jsxs)("label",{className:"panel-checkbox-label",children:[(0,I.jsx)("input",{type:"checkbox",checked:e.required,onChange:g=>n(e.id,{required:g.target.checked})}),"Required"]})}),d&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Formula"}),(0,I.jsx)("input",{type:"text",value:e.formula||"",onChange:g=>n(e.id,{formula:g.target.value||void 0}),placeholder:"e.g. {{Date Field | month}}"}),e.formula&&(0,I.jsx)("span",{className:"panel-hint",children:"Auto-computed. Signer cannot edit."})]}),e.type==="text"&&(0,I.jsxs)("div",{className:"panel-field-row",children:[(0,I.jsxs)("div",{className:"panel-field panel-field-half",children:[(0,I.jsx)("label",{children:"Min Chars"}),(0,I.jsx)("input",{type:"number",min:"0",max:"9999",value:e.minLength||0,onChange:g=>n(e.id,{minLength:Number(g.target.value)})})]}),(0,I.jsxs)("div",{className:"panel-field panel-field-half",children:[(0,I.jsx)("label",{children:"Max Chars"}),(0,I.jsx)("input",{type:"number",min:"0",max:"9999",value:e.maxLength||0,onChange:g=>n(e.id,{maxLength:Number(g.target.value)})})]})]}),d&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsxs)("label",{className:"panel-checkbox-label",children:[(0,I.jsx)("input",{type:"checkbox",checked:e.autoShrink||!1,onChange:g=>n(e.id,{autoShrink:g.target.checked})}),"Auto-shrink to fit"]}),e.autoShrink&&(0,I.jsx)("span",{className:"panel-hint",children:"Font size reduces to fit text within the field width"})]}),(e.type==="text"||e.type==="dropdown")&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:e.type==="dropdown"?"Options":"Predefined Options"}),(0,I.jsxs)("div",{className:"panel-options-list",children:[(e.options||[]).map((g,b)=>(0,I.jsxs)("div",{className:"panel-option-item",children:[(0,I.jsx)("span",{children:g}),(0,I.jsx)("button",{className:"panel-option-remove",onClick:()=>{let S=(e.options||[]).filter((w,D)=>D!==b);n(e.id,{options:S.length>0?S:void 0})},children:"\xD7"})]},b)),(0,I.jsxs)("div",{className:"panel-option-add",children:[(0,I.jsx)("input",{type:"text",value:p,onChange:g=>y(g.target.value),onKeyDown:g=>{g.key==="Enter"&&p.trim()&&(n(e.id,{options:[...e.options||[],p.trim()]}),y(""))},placeholder:"Add option..."}),(0,I.jsx)("button",{onClick:()=>{p.trim()&&(n(e.id,{options:[...e.options||[],p.trim()]}),y(""))},children:"+"})]})]}),e.type==="dropdown"&&(e.options?.length??0)===0&&(0,I.jsx)("span",{className:"panel-hint",style:{color:"#c44"},children:"Add at least one option"}),e.type==="text"&&(e.options?.length??0)>0&&(0,I.jsx)("span",{className:"panel-hint",children:"Signer will choose from these options via dropdown"})]}),r]}),(d||h)&&(0,I.jsxs)("div",{className:"panel-section",children:[(0,I.jsx)("div",{className:"panel-section-heading",children:"Style"}),d&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Font"}),(0,I.jsx)("select",{value:e.fontFamily||"Helvetica",onChange:g=>n(e.id,{fontFamily:g.target.value}),children:UM.map(g=>(0,I.jsx)("option",{value:g.value,children:g.label},g.value))})]}),d&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Font Size (pt)"}),(0,I.jsx)("input",{type:"number",min:"6",max:"72",value:e.fontSize,onChange:g=>n(e.id,{fontSize:Number(g.target.value)})})]}),d&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Formatting"}),(0,I.jsxs)("div",{className:"text-format-buttons",children:[(0,I.jsx)("button",{type:"button",className:`text-format-btn ${e.bold?"active":""}`,style:{fontWeight:"bold"},title:"Bold",onClick:()=>n(e.id,{bold:!e.bold}),children:"B"}),(0,I.jsx)("button",{type:"button",className:`text-format-btn ${e.italic?"active":""}`,style:{fontStyle:"italic"},title:"Italic",onClick:()=>n(e.id,{italic:!e.italic}),children:"I"}),(0,I.jsx)("button",{type:"button",className:`text-format-btn ${e.underline?"active":""}`,style:{textDecorationLine:"underline"},title:"Underline",onClick:()=>n(e.id,{underline:!e.underline}),children:"U"}),(0,I.jsx)("button",{type:"button",className:`text-format-btn ${e.strikethrough?"active":""}`,style:{textDecorationLine:"line-through"},title:"Strikethrough",onClick:()=>n(e.id,{strikethrough:!e.strikethrough}),children:"S"})]})]}),d&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Alignment"}),(0,I.jsx)("div",{className:"text-format-buttons",children:[["left","Left","\u2AF7"],["center","Center","\u2261"],["right","Right","\u2AF8"]].map(([g,b,S])=>{let w=(e.align||"left")===g;return(0,I.jsx)("button",{type:"button",className:`text-format-btn ${w?"active":""}`,title:`Align ${b}`,onClick:()=>n(e.id,{align:g==="left"?void 0:g}),children:S},g)})})]}),d&&(0,I.jsxs)("div",{className:"panel-field-row",children:[(0,I.jsxs)("div",{className:"panel-field panel-field-half",children:[(0,I.jsx)("label",{children:"Letter Spacing"}),(0,I.jsx)("input",{type:"number",min:"0",max:"20",step:"0.5",value:e.letterSpacing||0,onChange:g=>n(e.id,{letterSpacing:Number(g.target.value)})})]}),(0,I.jsxs)("div",{className:"panel-field panel-field-half",children:[(0,I.jsx)("label",{children:"Line Height"}),(0,I.jsx)("input",{type:"number",min:"0.8",max:"3",step:"0.1",value:e.lineHeight||1.2,onChange:g=>n(e.id,{lineHeight:Number(g.target.value)})})]})]}),h&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Ink Color"}),(0,I.jsx)("div",{className:"ink-color-picker",children:Hj.map(g=>(0,I.jsx)("button",{className:`ink-color-swatch ${(e.inkColor||"#000000")===g.value?"active":""}`,style:{backgroundColor:g.value},onClick:()=>n(e.id,{inkColor:g.value}),title:g.label},g.value))})]})]}),(0,I.jsxs)("div",{className:"panel-section",children:[(0,I.jsx)("div",{className:"panel-section-heading",children:"Position & Size"}),(()=>{let g=s?.width||612,b=s?.height||792,S=(D,A)=>Math.round(D/100*A*10)/10,w=(D,A)=>D/A*100;return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsxs)("div",{className:"panel-field-row",children:[(0,I.jsxs)("div",{className:"panel-field panel-field-half",children:[(0,I.jsx)("label",{children:"X (pt)"}),(0,I.jsx)("input",{type:"number",min:"0",step:"0.5",value:S(e.x,g),onChange:D=>n(e.id,{x:w(Number(D.target.value),g)})})]}),(0,I.jsxs)("div",{className:"panel-field panel-field-half",children:[(0,I.jsx)("label",{children:"Y (pt)"}),(0,I.jsx)("input",{type:"number",min:"0",step:"0.5",value:S(e.y,b),onChange:D=>n(e.id,{y:w(Number(D.target.value),b)})})]})]}),(0,I.jsxs)("div",{className:"panel-field-row",children:[(0,I.jsxs)("div",{className:"panel-field panel-field-half",children:[(0,I.jsx)("label",{children:"Width (pt)"}),(0,I.jsx)("input",{type:"number",min:"1",step:"0.5",value:S(e.width,g),onChange:D=>n(e.id,{width:w(Number(D.target.value),g)})})]}),(0,I.jsxs)("div",{className:"panel-field panel-field-half",children:[(0,I.jsx)("label",{children:"Height (pt)"}),(0,I.jsx)("input",{type:"number",min:"1",step:"0.5",value:S(e.height,b),onChange:D=>n(e.id,{height:w(Number(D.target.value),b)})})]})]}),(0,I.jsxs)("div",{className:"panel-hint",children:[g," \xD7 ",b," pt \xB7 Page ",e.page+1," \xB7 ",e.id.slice(0,8)]})]})})()]})]})}function lh(e){if(e.length!==0)return e.every(t=>t===e[0])?e[0]:void 0}function qj({fields:e,signerRoles:t,onUpdate:n,onAlign:i,onDelete:r}){let s=e.length,l=e.some(C=>C.type==="text"||C.type==="dropdown"||C.type==="signed-date"),c=e.every(C=>C.type!=="blackout"&&C.type!=="whiteout"),d=lh(e.map(C=>C.assignee)),h=lh(e.map(C=>C.required)),p=lh(e.map(C=>C.fontSize)),y=lh(e.map(C=>C.fontFamily||"Helvetica")),g=lh(e.map(C=>C.inkColor||"#000000")),b=lh(e.map(C=>C.letterSpacing||0)),S=lh(e.map(C=>C.lineHeight||1.2)),w=e.every(C=>C.bold),D=e.every(C=>C.italic),A=e.every(C=>C.underline),T=e.every(C=>C.strikethrough);return(0,I.jsxs)("div",{className:"field-property-panel",children:[(0,I.jsxs)("div",{className:"panel-header",children:[(0,I.jsxs)("h3",{children:[s," fields selected"]}),(0,I.jsx)("button",{onClick:r,className:"panel-delete-btn",children:"Delete All"})]}),(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Align"}),(0,I.jsxs)("div",{className:"align-buttons",children:[(0,I.jsx)("button",{onClick:()=>i("left"),title:"Align left edges",children:(0,I.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",children:[(0,I.jsx)("rect",{x:"1",y:"0",width:"1.5",height:"14",fill:"currentColor"}),(0,I.jsx)("rect",{x:"4",y:"2",width:"8",height:"3",fill:"currentColor",opacity:"0.5"}),(0,I.jsx)("rect",{x:"4",y:"7",width:"5",height:"3",fill:"currentColor",opacity:"0.5"})]})}),(0,I.jsx)("button",{onClick:()=>i("center-h"),title:"Align centers horizontally",children:(0,I.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",children:[(0,I.jsx)("rect",{x:"6.25",y:"0",width:"1.5",height:"14",fill:"currentColor"}),(0,I.jsx)("rect",{x:"2",y:"2",width:"10",height:"3",fill:"currentColor",opacity:"0.5"}),(0,I.jsx)("rect",{x:"3.5",y:"7",width:"7",height:"3",fill:"currentColor",opacity:"0.5"})]})}),(0,I.jsx)("button",{onClick:()=>i("right"),title:"Align right edges",children:(0,I.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",children:[(0,I.jsx)("rect",{x:"11.5",y:"0",width:"1.5",height:"14",fill:"currentColor"}),(0,I.jsx)("rect",{x:"2",y:"2",width:"8",height:"3",fill:"currentColor",opacity:"0.5"}),(0,I.jsx)("rect",{x:"5",y:"7",width:"5",height:"3",fill:"currentColor",opacity:"0.5"})]})}),(0,I.jsx)("button",{onClick:()=>i("top"),title:"Align top edges",children:(0,I.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",children:[(0,I.jsx)("rect",{x:"0",y:"1",width:"14",height:"1.5",fill:"currentColor"}),(0,I.jsx)("rect",{x:"2",y:"4",width:"3",height:"8",fill:"currentColor",opacity:"0.5"}),(0,I.jsx)("rect",{x:"7",y:"4",width:"3",height:"5",fill:"currentColor",opacity:"0.5"})]})}),(0,I.jsx)("button",{onClick:()=>i("center-v"),title:"Align centers vertically",children:(0,I.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",children:[(0,I.jsx)("rect",{x:"0",y:"6.25",width:"14",height:"1.5",fill:"currentColor"}),(0,I.jsx)("rect",{x:"2",y:"1",width:"3",height:"12",fill:"currentColor",opacity:"0.5"}),(0,I.jsx)("rect",{x:"7",y:"3",width:"3",height:"8",fill:"currentColor",opacity:"0.5"})]})}),(0,I.jsx)("button",{onClick:()=>i("bottom"),title:"Align bottom edges",children:(0,I.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",children:[(0,I.jsx)("rect",{x:"0",y:"11.5",width:"14",height:"1.5",fill:"currentColor"}),(0,I.jsx)("rect",{x:"2",y:"2",width:"3",height:"8",fill:"currentColor",opacity:"0.5"}),(0,I.jsx)("rect",{x:"7",y:"5",width:"3",height:"5",fill:"currentColor",opacity:"0.5"})]})})]}),s>2&&(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("label",{style:{marginTop:"0.4rem"},children:"Distribute"}),(0,I.jsxs)("div",{className:"align-buttons",children:[(0,I.jsx)("button",{onClick:()=>i("distribute-h"),title:"Distribute horizontally",children:(0,I.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",children:[(0,I.jsx)("rect",{x:"0",y:"0",width:"1.5",height:"14",fill:"currentColor"}),(0,I.jsx)("rect",{x:"12.5",y:"0",width:"1.5",height:"14",fill:"currentColor"}),(0,I.jsx)("rect",{x:"5",y:"3",width:"4",height:"8",fill:"currentColor",opacity:"0.5"})]})}),(0,I.jsx)("button",{onClick:()=>i("distribute-v"),title:"Distribute vertically",children:(0,I.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",children:[(0,I.jsx)("rect",{x:"0",y:"0",width:"14",height:"1.5",fill:"currentColor"}),(0,I.jsx)("rect",{x:"0",y:"12.5",width:"14",height:"1.5",fill:"currentColor"}),(0,I.jsx)("rect",{x:"3",y:"5",width:"8",height:"4",fill:"currentColor",opacity:"0.5"})]})})]})]})]}),c&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Assigned To"}),(0,I.jsxs)("select",{value:d||"",onChange:C=>n({assignee:C.target.value}),children:[!d&&(0,I.jsx)("option",{value:"",disabled:!0,children:"Mixed"}),t.map(C=>(0,I.jsx)("option",{value:C,style:{color:xs(C)},children:C},C))]})]}),c&&(0,I.jsx)("div",{className:"panel-field",children:(0,I.jsxs)("label",{className:"panel-checkbox-label",children:[(0,I.jsx)("input",{type:"checkbox",checked:h??!1,ref:C=>{C&&(C.indeterminate=h===void 0)},onChange:C=>n({required:C.target.checked})}),"Required"]})}),l&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Font"}),(0,I.jsxs)("select",{value:y||"",onChange:C=>n({fontFamily:C.target.value}),children:[!y&&(0,I.jsx)("option",{value:"",disabled:!0,children:"Mixed"}),UM.map(C=>(0,I.jsx)("option",{value:C.value,children:C.label},C.value))]})]}),l&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Font Size (pt)"}),(0,I.jsx)("input",{type:"number",min:"6",max:"72",value:p??"",placeholder:"Mixed",onChange:C=>n({fontSize:Number(C.target.value)})})]}),l&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Formatting"}),(0,I.jsxs)("div",{className:"text-format-buttons",children:[(0,I.jsx)("button",{type:"button",className:`text-format-btn ${w?"active":""}`,style:{fontWeight:"bold"},title:"Bold",onClick:()=>n({bold:!w}),children:"B"}),(0,I.jsx)("button",{type:"button",className:`text-format-btn ${D?"active":""}`,style:{fontStyle:"italic"},title:"Italic",onClick:()=>n({italic:!D}),children:"I"}),(0,I.jsx)("button",{type:"button",className:`text-format-btn ${A?"active":""}`,style:{textDecorationLine:"underline"},title:"Underline",onClick:()=>n({underline:!A}),children:"U"}),(0,I.jsx)("button",{type:"button",className:`text-format-btn ${T?"active":""}`,style:{textDecorationLine:"line-through"},title:"Strikethrough",onClick:()=>n({strikethrough:!T}),children:"S"})]})]}),l&&(0,I.jsxs)("div",{className:"panel-field-row",children:[(0,I.jsxs)("div",{className:"panel-field panel-field-half",children:[(0,I.jsx)("label",{children:"Letter Spacing"}),(0,I.jsx)("input",{type:"number",min:"0",max:"20",step:"0.5",value:b??"",placeholder:"Mixed",onChange:C=>n({letterSpacing:Number(C.target.value)})})]}),(0,I.jsxs)("div",{className:"panel-field panel-field-half",children:[(0,I.jsx)("label",{children:"Line Height"}),(0,I.jsx)("input",{type:"number",min:"0.8",max:"3",step:"0.1",value:S??"",placeholder:"Mixed",onChange:C=>n({lineHeight:Number(C.target.value)})})]})]}),c&&(0,I.jsxs)("div",{className:"panel-field",children:[(0,I.jsx)("label",{children:"Ink Color"}),(0,I.jsx)("div",{className:"ink-color-picker",children:Hj.map(C=>(0,I.jsx)("button",{className:`ink-color-swatch ${g===C.value?"active":""}`,style:{backgroundColor:C.value},onClick:()=>n({inkColor:C.value}),title:C.label},C.value))})]})]})}var ar=zn(vr());var{PI:p$}=Math,qy=p$+1e-4,Vj=.5,Gj=[1,1];function Ij(e,t,n,i=r=>r){return e*i(.5-t*(.5-n))}var{min:yF}=Math;function t9(e,t,n){let i=yF(1,t/n);return yF(1,e+(yF(1,1-i)-e)*(i*.275))}function m$(e){return[-e[0],-e[1]]}function yl(e,t){return[e[0]+t[0],e[1]+t[1]]}function Xj(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function gf(e,t){return[e[0]-t[0],e[1]-t[1]]}function xF(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function mf(e,t){return[e[0]*t,e[1]*t]}function bF(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function g$(e,t){return[e[0]/t,e[1]/t]}function e9(e){return[e[1],-e[0]]}function SF(e,t){let n=t[0];return e[0]=t[1],e[1]=-n,e}function Yj(e,t){return e[0]*t[0]+e[1]*t[1]}function v$(e,t){return e[0]===t[0]&&e[1]===t[1]}function y$(e){return Math.hypot(e[0],e[1])}function Kj(e,t){let n=e[0]-t[0],i=e[1]-t[1];return n*n+i*i}function n9(e){return g$(e,y$(e))}function b$(e,t){return Math.hypot(e[1]-t[1],e[0]-t[0])}function AF(e,t,n){let i=Math.sin(n),r=Math.cos(n),s=e[0]-t[0],l=e[1]-t[1],c=s*r-l*i,d=s*i+l*r;return[c+t[0],d+t[1]]}function Zj(e,t,n,i){let r=Math.sin(i),s=Math.cos(i),l=t[0]-n[0],c=t[1]-n[1],d=l*s-c*r,h=l*r+c*s;return e[0]=d+n[0],e[1]=h+n[1],e}function Wj(e,t,n){return yl(e,mf(gf(t,e),n))}function S$(e,t,n,i){let r=n[0]-t[0],s=n[1]-t[1];return e[0]=t[0]+r*i,e[1]=t[1]+s*i,e}function i9(e,t,n){return yl(e,mf(t,n))}var wa=[0,0],hf=[0,0],pf=[0,0];function x$(e,t){let n=i9(e,n9(e9(gf(e,yl(e,[1,1])))),-t),i=[],r=1/13;for(let s=r;s<=1;s+=r)i.push(AF(n,e,qy*2*s));return i}function A$(e,t,n){let i=[],r=1/n;for(let s=r;s<=1;s+=r)i.push(AF(t,e,qy*s));return i}function w$(e,t,n){let i=gf(t,n),r=mf(i,.5),s=mf(i,.51);return[gf(e,r),gf(e,s),yl(e,s),yl(e,r)]}function E$(e,t,n,i){let r=[],s=i9(e,t,n),l=1/i;for(let c=l;c<1;c+=l)r.push(AF(s,e,qy*3*c));return r}function T$(e,t,n){return[yl(e,mf(t,n)),yl(e,mf(t,n*.99)),gf(e,mf(t,n*.99)),gf(e,mf(t,n))]}function Qj(e,t,n){return e===!1||e===void 0?0:e===!0?Math.max(t,n):e}function C$(e,t,n){return e.slice(0,10).reduce((i,r)=>{let s=r.pressure;return t&&(s=t9(i,r.distance,n)),(i+s)/2},e[0].pressure)}function D$(e,t={}){let{size:n=16,smoothing:i=.5,thinning:r=.5,simulatePressure:s=!0,easing:l=K=>K,start:c={},end:d={},last:h=!1}=t,{cap:p=!0,easing:y=K=>K*(2-K)}=c,{cap:g=!0,easing:b=K=>--K*K*K+1}=d;if(e.length===0||n<=0)return[];let S=e[e.length-1].runningLength,w=Qj(c.taper,n,S),D=Qj(d.taper,n,S),A=(n*i)**2,T=[],C=[],O=C$(e,s,n),M=Ij(n,r,e[e.length-1].pressure,l),k,z=e[0].vector,P=e[0].point,U=P,B=P,W=U,Y=!1;for(let K=0;K<e.length;K++){let{pressure:wt}=e[K],{point:Ct,vector:Yt,distance:nt,runningLength:yt}=e[K],Tt=K===e.length-1;if(!Tt&&S-yt<3)continue;r?(s&&(wt=t9(O,nt,n)),M=Ij(n,r,wt,l)):M=n/2,k===void 0&&(k=M);let Rt=yt<w?y(yt/w):1,De=S-yt<D?b((S-yt)/D):1;M=Math.max(.01,M*Math.min(Rt,De));let Mt=(Tt?e[K]:e[K+1]).vector,zt=Tt?1:Yj(Yt,Mt),ce=Yj(Yt,z)<0&&!Y,en=zt!==null&&zt<0;if(ce||en){SF(wa,z),bF(wa,wa,M);for(let In=0;In<=1;In+=.07692307692307693)xF(hf,Ct,wa),Zj(hf,hf,Ct,qy*In),B=[hf[0],hf[1]],T.push(B),Xj(pf,Ct,wa),Zj(pf,pf,Ct,qy*-In),W=[pf[0],pf[1]],C.push(W);P=B,U=W,en&&(Y=!0);continue}if(Y=!1,Tt){SF(wa,Yt),bF(wa,wa,M),T.push(gf(Ct,wa)),C.push(yl(Ct,wa));continue}S$(wa,Mt,Yt,zt),SF(wa,wa),bF(wa,wa,M),xF(hf,Ct,wa),B=[hf[0],hf[1]],(K<=1||Kj(P,B)>A)&&(T.push(B),P=B),Xj(pf,Ct,wa),W=[pf[0],pf[1]],(K<=1||Kj(U,W)>A)&&(C.push(W),U=W),O=wt,z=Yt}let ot=[e[0].point[0],e[0].point[1]],ft=e.length>1?[e[e.length-1].point[0],e[e.length-1].point[1]]:yl(e[0].point,[1,1]),$=[],tt=[];if(e.length===1){if(!(w||D)||h)return x$(ot,k||M)}else{w||D&&e.length===1||(p?$.push(...A$(ot,C[0],13)):$.push(...w$(ot,T[0],C[0])));let K=e9(m$(e[e.length-1].vector));D||w&&e.length===1?tt.push(ft):g?tt.push(...E$(ft,K,M,29)):tt.push(...T$(ft,K,M))}return T.concat(tt,C.reverse(),$)}var Jj=[0,0];function $j(e){return e!=null&&e>=0}function R$(e,t={}){let{streamline:n=.5,size:i=16,last:r=!1}=t;if(e.length===0)return[];let s=.15+(1-n)*.85,l=Array.isArray(e[0])?e:e.map(({x:g,y:b,pressure:S=Vj})=>[g,b,S]);if(l.length===2){let g=l[1];l=l.slice(0,-1);for(let b=1;b<5;b++)l.push(Wj(l[0],g,b/4))}l.length===1&&(l=[...l,[...yl(l[0],Gj),...l[0].slice(2)]]);let c=[{point:[l[0][0],l[0][1]],pressure:$j(l[0][2])?l[0][2]:.25,vector:[...Gj],distance:0,runningLength:0}],d=!1,h=0,p=c[0],y=l.length-1;for(let g=1;g<l.length;g++){let b=r&&g===y?[l[g][0],l[g][1]]:Wj(p.point,l[g],s);if(v$(p.point,b))continue;let S=b$(b,p.point);if(h+=S,g<y&&!d){if(h<i)continue;d=!0}xF(Jj,p.point,b),p={point:b,pressure:$j(l[g][2])?l[g][2]:Vj,vector:n9(Jj),distance:S,runningLength:h},c.push(p)}return c[0].vector=c[1]?.vector||[0,0],c}function a9(e,t={}){return D$(R$(e,t),t)}var uh=zn(co());function O$(e){if(!e.length)return"";let t=e.reduce((n,[i,r],s,l)=>{let[c,d]=l[(s+1)%l.length];return n.push(i,r,(i+c)/2,(r+d)/2),n},["M",...e[0],"Q"]);return t.push("Z"),t.join(" ")}function qw({width:e=400,height:t=150,onSign:n,initialValue:i,className:r,inkColor:s="#000000"}){let l=(0,ar.useRef)(null),[c,d]=(0,ar.useState)([]),[h,p]=(0,ar.useState)(null),[y,g]=(0,ar.useState)(!i);(0,ar.useEffect)(()=>{if(i&&l.current){let T=l.current.getContext("2d"),C=new Image;C.onload=()=>{T.clearRect(0,0,e,t),T.drawImage(C,0,0,e,t)},C.src=i}},[i,e,t]),(0,ar.useEffect)(()=>{let T=l.current;if(!T)return;let C=T.getContext("2d");C.clearRect(0,0,e,t);let O=h?[...c,h]:c;for(let M of O){let k=a9(M,{size:3,thinning:.5,smoothing:.5,streamline:.5}),z=O$(k),P=new Path2D(z);C.fillStyle=s,C.fill(P)}},[c,h,e,t]);let b=(0,ar.useCallback)(T=>{let C=l.current,O=C.getBoundingClientRect(),M=getComputedStyle(C),k=parseFloat(M.borderLeftWidth)||0,z=parseFloat(M.borderTopWidth)||0,P=parseFloat(M.borderRightWidth)||0,U=parseFloat(M.borderBottomWidth)||0,B=O.width-k-P,W=O.height-z-U,Y=C.width/B,ot=C.height/W;return[(T.clientX-O.left-k)*Y,(T.clientY-O.top-z)*ot,T.pressure]},[]),S=(0,ar.useCallback)(T=>{T.preventDefault(),T.target.setPointerCapture(T.pointerId),p([b(T)])},[b]),w=(0,ar.useCallback)(T=>{h&&(T.preventDefault(),p([...h,b(T)]))},[h,b]),D=(0,ar.useCallback)(()=>{h&&(d(T=>[...T,h]),p(null),g(!1),requestAnimationFrame(()=>{l.current&&n(l.current.toDataURL("image/png"))}))},[h,n]),A=(0,ar.useCallback)(()=>{d([]),p(null),g(!0);let T=l.current;T&&(T.getContext("2d").clearRect(0,0,e,t),n(""))},[e,t,n]);return(0,uh.jsxs)("div",{className:`signature-canvas-wrapper ${r||""}`,children:[(0,uh.jsx)("canvas",{ref:l,width:e,height:t,className:"signature-canvas",onPointerDown:S,onPointerMove:w,onPointerUp:D,style:{touchAction:"none"}}),(0,uh.jsxs)("div",{className:"signature-canvas-actions",children:[!y&&(0,uh.jsx)("button",{type:"button",onClick:A,className:"signature-clear-btn",children:"Clear"}),y&&(0,uh.jsx)("span",{className:"signature-hint",children:"Draw your signature above"})]})]})}var M$=new Set(["exeq_live_2024",process.env.NEXT_PUBLIC_EXEQ_API_KEY].filter(Boolean));function Vw(e){return e?M$.has(e):!1}var Go=zn(vr());function r9(e,t=50){let[n,i]=(0,Go.useState)({past:[],present:e,future:[]}),r=(0,Go.useRef)(!1),s=(0,Go.useRef)(null),l=(0,Go.useCallback)(g=>{i(b=>{let S=typeof g=="function"?g(b.present):g;return S===b.present?b:r.current?{...b,present:S}:{past:[...b.past.slice(-t),b.present],present:S,future:[]}})},[t]),c=(0,Go.useCallback)(g=>{i(b=>{let S=typeof g=="function"?g(b.present):g;return S===b.present?b:{...b,present:S}})},[]),d=(0,Go.useCallback)(()=>{r.current=!0,i(g=>(s.current=g.present,g))},[]),h=(0,Go.useCallback)(()=>{r.current=!1,i(g=>{let b=s.current;return s.current=null,!b||b===g.present?g:{past:[...g.past.slice(-t),b],present:g.present,future:[]}})},[t]),p=(0,Go.useCallback)(()=>{i(g=>{if(g.past.length===0)return g;let b=g.past[g.past.length-1];return{past:g.past.slice(0,-1),present:b,future:[g.present,...g.future]}})},[]),y=(0,Go.useCallback)(()=>{i(g=>{if(g.future.length===0)return g;let b=g.future[0];return{past:[...g.past,g.present],present:b,future:g.future.slice(1)}})},[]);return{state:n.present,set:l,setWithoutHistory:c,beginBatch:d,commitBatch:h,undo:p,redo:y,canUndo:n.past.length>0,canRedo:n.future.length>0}}var At=zn(co()),wF=[{type:"text",label:"Text",icon:"T"},{type:"dropdown",label:"Dropdown",icon:"\u25BE"},{type:"signature",label:"Signature",icon:"\u270D"},{type:"signed-date",label:"Date",icon:"\u{1F4C5}"},{type:"checkbox",label:"Checkbox",icon:"\u2611"},{type:"initials",label:"Initials",icon:"IN"},{type:"blackout",label:"Blackout",icon:"\u25A0",group:"redact"},{type:"whiteout",label:"Whiteout",icon:"\u25A1",group:"redact"}];function s9({apiKey:e,initialPdfUrl:t,initialTemplate:n,onSave:i,onChange:r,hideHeader:s,headerPortalRef:l}={}){if(!Vw(e))return(0,At.jsx)("div",{className:"designer-layout",children:(0,At.jsxs)("div",{className:"empty-state",children:[(0,At.jsx)("h2",{children:"Invalid API Key"}),(0,At.jsxs)("p",{children:["A valid API key is required to use Exeq. Visit ",(0,At.jsx)("a",{href:"https://exeq.org",children:"exeq.org"})," to get one."]})]})});let[c,d]=(0,te.useState)([]),{state:h,set:p,setWithoutHistory:y,beginBatch:g,commitBatch:b,undo:S,redo:w,canUndo:D,canRedo:A}=r9(n?.fields??[]),[T,C]=(0,te.useState)(new Set),[O,M]=(0,te.useState)(n?.signerRoles??[...rj]),[k,z]=(0,te.useState)("Sender"),[P,U]=(0,te.useState)("text"),[B,W]=(0,te.useState)(!1),[Y,ot]=(0,te.useState)(null),[ft,$]=(0,te.useState)("properties"),[tt,K]=(0,te.useState)(!1),[wt,Ct]=(0,te.useState)(""),[Yt,nt]=(0,te.useState)(null),[yt,Tt]=(0,te.useState)(380),[Rt,De]=(0,te.useState)(1),[Mt,zt]=(0,te.useState)(!1),ce=(0,te.useRef)(null),en=(0,te.useRef)(null),[In,Et]=(0,te.useState)([]),oa=(0,te.useRef)(null),Hi=(0,te.useRef)(!1),Ma=(0,te.useRef)({}),ei=(0,te.useRef)(!1);(0,te.useEffect)(()=>{if(!r)return;if(!ei.current){ei.current=!0;return}r({fields:h,signerRoles:O,pdfUrl:typeof Y=="string"?Y:""})},[h,O,Y,r]),(0,te.useEffect)(()=>{let V=t||n?.pdfUrl;if(V){et(V);return}let lt=new URLSearchParams(window.location.search).get("pdf");lt&&et(lt);let dt=pt=>{pt.data?.type==="load-pdf"&&pt.data.url&&et(pt.data.url),pt.data?.type==="load-template"&&(pt.data.fields&&p(pt.data.fields),pt.data.signerRoles&&M(pt.data.signerRoles),pt.data.pdfUrl&&et(pt.data.pdfUrl))};return window.addEventListener("message",dt),()=>window.removeEventListener("message",dt)},[t,n]);let et=(0,te.useCallback)(async V=>{W(!0);try{let st=await Uw(V);d(st),ot(V)}catch(st){console.error("Failed to load PDF:",st)}finally{W(!1)}},[]),ye=(0,te.useCallback)(V=>{let st=V.target.files?.[0];if(!st)return;let lt=new FileReader;lt.onload=()=>{lt.result&&et(lt.result)},lt.readAsArrayBuffer(st)},[et]),Ft=(0,te.useCallback)((V,st,lt)=>{let dt=en.current,pt=dt?.scrollTop??0,vt=BM(P,k,V,st,lt,h),Gt=Ma.current[P],Ae=Gt?{...vt,...Gt}:vt;p(la=>[...la,Ae]),C(new Set([Ae.id])),requestAnimationFrame(()=>{dt&&(dt.scrollTop=pt)}),$("properties")},[P,k,h]),ue=(0,te.useCallback)((V,st,lt,dt)=>{y(pt=>pt.map(vt=>vt.id!==V||vt.locked?vt:{...vt,page:st,x:lt,y:dt}))},[y]),Le=(0,te.useCallback)((V,st,lt)=>{y(dt=>{let pt=dt.find(vt=>vt.id===V);if(pt){let vt=Ma.current[pt.type]||{};Ma.current[pt.type]={...vt,width:st,height:lt,fontSize:pt.fontSize}}return dt.map(vt=>vt.id===V?{...vt,width:st,height:lt}:vt)})},[y]),we=(0,te.useCallback)((V,st)=>{p(lt=>{if(st.label!==void 0){let vt=lt.filter(Gt=>Gt.id!==V).map(Gt=>Gt.label);st.label=XA(st.label,vt)}let dt=lt.map(vt=>vt.id===V?{...vt,...st}:vt),pt=lt.find(vt=>vt.id===V);if(pt&&(st.fontSize!==void 0||st.width!==void 0||st.height!==void 0||st.inkColor!==void 0)){let vt={...pt,...st};Ma.current[pt.type]={width:vt.width,height:vt.height,fontSize:vt.fontSize,inkColor:vt.inkColor}}return dt})},[]),fn=(0,te.useCallback)(V=>{p(st=>st.map(lt=>T.has(lt.id)?{...lt,...V}:lt))},[T]),Pn=(0,te.useCallback)(V=>{p(st=>{let lt=st.filter(pt=>T.has(pt.id));if(lt.length<2)return st;let dt={};if(V==="left"){let pt=Math.min(...lt.map(vt=>vt.x));lt.forEach(vt=>{dt[vt.id]={x:pt}})}else if(V==="right"){let pt=Math.max(...lt.map(vt=>vt.x+vt.width));lt.forEach(vt=>{dt[vt.id]={x:pt-vt.width}})}else if(V==="top"){let pt=Math.min(...lt.map(vt=>vt.y));lt.forEach(vt=>{dt[vt.id]={y:pt}})}else if(V==="bottom"){let pt=Math.max(...lt.map(vt=>vt.y+vt.height));lt.forEach(vt=>{dt[vt.id]={y:pt-vt.height}})}else if(V==="center-h"){let pt=lt.map(Gt=>Gt.x+Gt.width/2),vt=pt.reduce((Gt,Ae)=>Gt+Ae,0)/pt.length;lt.forEach(Gt=>{dt[Gt.id]={x:vt-Gt.width/2}})}else if(V==="center-v"){let pt=lt.map(Gt=>Gt.y+Gt.height/2),vt=pt.reduce((Gt,Ae)=>Gt+Ae,0)/pt.length;lt.forEach(Gt=>{dt[Gt.id]={y:vt-Gt.height/2}})}else if(V==="distribute-h"){let pt=[...lt].sort((Cn,oi)=>Cn.x-oi.x),vt=pt[0],Gt=pt[pt.length-1],Ae=Gt.x+Gt.width-vt.x,la=pt.reduce((Cn,oi)=>Cn+oi.width,0),ua=(Ae-la)/(pt.length-1),ca=vt.x;pt.forEach(Cn=>{dt[Cn.id]={x:ca},ca+=Cn.width+ua})}else if(V==="distribute-v"){let pt=[...lt].sort((Cn,oi)=>Cn.y-oi.y),vt=pt[0],Gt=pt[pt.length-1],Ae=Gt.y+Gt.height-vt.y,la=pt.reduce((Cn,oi)=>Cn+oi.height,0),ua=(Ae-la)/(pt.length-1),ca=vt.y;pt.forEach(Cn=>{dt[Cn.id]={y:ca},ca+=Cn.height+ua})}return st.map(pt=>dt[pt.id]?{...pt,...dt[pt.id]}:pt)})},[T]),xe=(0,te.useCallback)(V=>{h.find(lt=>lt.id===V)?.locked||(p(lt=>lt.filter(dt=>dt.id!==V)),C(lt=>{let dt=new Set(lt);return dt.delete(V),dt}))},[]),rs=(0,te.useCallback)((V,st)=>{if(!V){C(new Set);return}if(st&&(st.metaKey||st.ctrlKey))C(lt=>{let dt=new Set(lt);return dt.has(V)?dt.delete(V):dt.add(V),dt});else if(st&&st.shiftKey&&T.size>0){let lt=Array.from(T).pop(),dt=Q.map(Gt=>Gt.id),pt=dt.indexOf(lt),vt=dt.indexOf(V);if(pt>=0&&vt>=0){let Gt=Math.min(pt,vt),Ae=Math.max(pt,vt),la=dt.slice(Gt,Ae+1);C(ua=>{let ca=new Set(ua);return la.forEach(Cn=>ca.add(Cn)),ca})}else C(new Set([V]))}else C(new Set([V]));$("properties")},[T]),Ga=(0,te.useCallback)((V,st,lt)=>{y(dt=>dt.map(pt=>{if(!V.includes(pt.id)||pt.locked)return pt;let vt=Math.max(0,Math.min(100-pt.width,pt.x+st)),Gt=Math.max(0,Math.min(100-pt.height,pt.y+lt));return{...pt,x:vt,y:Gt}}))},[y]),sa=(0,te.useCallback)(()=>{let V=wt.trim();V&&!O.includes(V)&&M(st=>[...st,V]),Ct(""),K(!1)},[wt,O]),vo=(0,te.useCallback)(V=>{M(st=>st.filter(lt=>lt!==V)),p(st=>st.map(lt=>lt.assignee===V?{...lt,assignee:O[0]}:lt)),k===V&&z(O[0])},[O,k]),Ih=(0,te.useCallback)(()=>{let V={fields:h,signerRoles:O,pdfUrl:typeof Y=="string"?Y:""};if(i)i(V);else{let st=JSON.stringify(V,null,2),lt=new Blob([st],{type:"application/json"}),dt=URL.createObjectURL(lt),pt=document.createElement("a");pt.href=dt,pt.download="template.json",pt.click(),URL.revokeObjectURL(dt)}window.parent?.postMessage({type:"template-saved",template:V},"*")},[h,O,Y,i]),Fs=(0,te.useCallback)((V,st)=>{nt(st),V.dataTransfer.setData("application/exeq-field-type",st),V.dataTransfer.effectAllowed="copy";let lt=document.createElement("div");lt.className="palette-drag-ghost",lt.textContent=wF.find(dt=>dt.type===st)?.label||st,lt.style.cssText=`
|
|
293
|
+
position: fixed; top: -200px; left: -200px;
|
|
294
|
+
padding: 6px 16px; background: ${xs(k)};
|
|
295
|
+
color: #fff; border-radius: 4px; font-size: 12px;
|
|
296
|
+
font-family: system-ui; pointer-events: none; white-space: nowrap;
|
|
297
|
+
`,document.body.appendChild(lt),V.dataTransfer.setDragImage(lt,40,16),oa.current=lt},[k]),Ns=(0,te.useCallback)(()=>{nt(null),oa.current&&(document.body.removeChild(oa.current),oa.current=null)},[]),Nl=(0,te.useCallback)((V,st,lt,dt)=>{let pt=BM(dt,k,V,st,lt,h),vt=Ma.current[dt],Gt=vt?{...pt,...vt}:pt;p(Ae=>[...Ae,Gt]),C(new Set([Gt.id])),$("properties")},[k,h]);(0,te.useEffect)(()=>{let V=st=>{if(st.key!=="Delete"&&st.key!=="Backspace"||T.size===0)return;let lt=(document.activeElement?.tagName||"").toLowerCase();lt==="input"||lt==="textarea"||lt==="select"||document.activeElement?.isContentEditable||(st.preventDefault(),p(dt=>dt.filter(pt=>!T.has(pt.id)||pt.locked)),C(dt=>{let pt=new Set;return h.forEach(vt=>{T.has(vt.id)&&vt.locked&&pt.add(vt.id)}),pt}))};return window.addEventListener("keydown",V),()=>window.removeEventListener("keydown",V)},[T,h]),(0,te.useEffect)(()=>{let V=st=>{let lt=(document.activeElement?.tagName||"").toLowerCase();if(lt==="input"||lt==="textarea"||lt==="select"||document.activeElement?.isContentEditable)return;let dt=st.metaKey||st.ctrlKey;if(dt&&st.key==="a"){st.preventDefault(),C(new Set(h.map(pt=>pt.id)));return}if(dt&&st.key==="z"&&!st.shiftKey){st.preventDefault(),S();return}if(dt&&(st.key==="y"||st.key==="z"&&st.shiftKey)){st.preventDefault(),w();return}if(dt&&st.key==="c"&&T.size>0){let pt=h.filter(vt=>T.has(vt.id));pt.length>0&&(st.preventDefault(),Et(pt))}if(dt&&st.key==="v"&&In.length>0){st.preventDefault();let pt=h.map(Ae=>Ae.label),vt=new Set,Gt=In.map(Ae=>{let la=XA(Ae.label,pt);pt.push(la);let ua=PM();return vt.add(ua),{...Ae,id:ua,label:la,x:Ae.x+2,y:Ae.y+2,value:""}});p(Ae=>[...Ae,...Gt]),C(vt),$("properties")}};return window.addEventListener("keydown",V),()=>window.removeEventListener("keydown",V)},[T,h,In]),(0,te.useEffect)(()=>{let V=lt=>{let dt=lt.metaKey||lt.ctrlKey;if(dt&&(lt.key==="="||lt.key==="+")&&(lt.preventDefault(),De(pt=>Math.min(3,pt+.25))),dt&<.key==="-"&&(lt.preventDefault(),De(pt=>Math.max(.75,pt-.25))),dt&<.key==="0"&&(lt.preventDefault(),De(1)),lt.key===" "){let pt=(document.activeElement?.tagName||"").toLowerCase();if(pt==="input"||pt==="textarea"||pt==="select")return;lt.preventDefault(),lt.stopPropagation(),zt(!0)}},st=lt=>{lt.key===" "&&(lt.preventDefault(),zt(!1),ce.current=null)};return window.addEventListener("keydown",V,{capture:!0}),window.addEventListener("keyup",st,{capture:!0}),()=>{window.removeEventListener("keydown",V,{capture:!0}),window.removeEventListener("keyup",st,{capture:!0})}},[]),(0,te.useEffect)(()=>{let V=en.current;if(!V)return;let st=lt=>{if(lt.ctrlKey||lt.metaKey){lt.preventDefault();let dt=lt.deltaY>0?-.1:.1;De(pt=>Math.max(.75,Math.min(3,pt+dt)))}};return V.addEventListener("wheel",st,{passive:!1}),()=>V.removeEventListener("wheel",st)},[c.length]);let zl=(0,te.useCallback)(V=>{!Mt||!en.current||(V.preventDefault(),ce.current={startX:V.clientX,startY:V.clientY,scrollLeft:en.current.scrollLeft,scrollTop:en.current.scrollTop})},[Mt]),Wf=(0,te.useCallback)(V=>{!ce.current||!en.current||(en.current.scrollLeft=ce.current.scrollLeft-(V.clientX-ce.current.startX),en.current.scrollTop=ce.current.scrollTop-(V.clientY-ce.current.startY))},[]),os=(0,te.useCallback)(()=>{ce.current=null},[]),F=(0,te.useCallback)(V=>{V.preventDefault(),Hi.current=!0;let st=V.clientX,lt=yt,dt=vt=>{if(!Hi.current)return;let Gt=st-vt.clientX;Tt(Math.max(280,Math.min(600,lt+Gt)))},pt=()=>{Hi.current=!1,window.removeEventListener("mousemove",dt),window.removeEventListener("mouseup",pt)};window.addEventListener("mousemove",dt),window.addEventListener("mouseup",pt)},[yt]),Q=IA(h),mt=T.size===1&&h.find(V=>V.id===Array.from(T)[0])||null,Ot=(0,te.useCallback)(V=>{if(ka(V))return null;if(As(V)&&V.value)return(0,At.jsx)("img",{src:V.value,alt:V.label,className:"field-signature-preview"});let st=V.inkColor||"#000000";return(0,At.jsx)("div",{className:"field-overlay-placeholder",style:{color:V.value?st:void 0,fontSize:`${V.fontSize}pt`,letterSpacing:V.letterSpacing?`${V.letterSpacing}pt`:void 0,lineHeight:V.lineHeight?`${V.lineHeight}`:void 0,...GA(V)},children:V.value||V.placeholder})},[h]),Ut=c.length>0?(0,At.jsxs)(At.Fragment,{children:[(0,At.jsxs)("label",{className:"header-btn header-btn-outline",children:["Change PDF",(0,At.jsx)("input",{type:"file",accept:".pdf",onChange:ye,hidden:!0})]}),(0,At.jsx)("button",{onClick:Ih,className:"header-btn header-btn-primary",children:"Export Template"})]}):null;return(0,At.jsxs)("div",{className:"designer-layout",children:[l?.current&&Ut&&(0,o9.createPortal)(Ut,l.current),(0,At.jsxs)("div",{className:"designer-body",children:[c.length>0&&(0,At.jsxs)("div",{className:"designer-palette",children:[(0,At.jsx)("div",{className:"palette-heading",children:"New Field Role"}),(0,At.jsxs)("div",{className:"palette-role-section",children:[(0,At.jsx)("select",{className:"palette-role-select",value:k,onChange:V=>z(V.target.value),style:{borderColor:xs(k),color:xs(k)},children:O.map(V=>(0,At.jsx)("option",{value:V,children:V},V))}),tt?(0,At.jsxs)("div",{className:"palette-role-add-inline",children:[(0,At.jsx)("input",{type:"text",value:wt,onChange:V=>Ct(V.target.value),onKeyDown:V=>V.key==="Enter"&&sa(),placeholder:"Role name",autoFocus:!0}),(0,At.jsx)("button",{onClick:sa,children:"Add"}),(0,At.jsx)("button",{onClick:()=>{K(!1),Ct("")},children:"Cancel"})]}):(0,At.jsx)("button",{className:"palette-role-add-link",onClick:()=>K(!0),children:"+ Add Role"})]}),(0,At.jsx)("div",{className:"palette-divider"}),(0,At.jsx)("div",{className:"palette-heading",children:"Fields"}),wF.filter(V=>!V.group).map(({type:V,label:st,icon:lt})=>(0,At.jsxs)("div",{className:`palette-item ${P===V?"active":""}`,draggable:!0,onClick:()=>U(V),onDragStart:dt=>Fs(dt,V),onDragEnd:Ns,children:[(0,At.jsx)("span",{className:"palette-item-icon",children:lt}),(0,At.jsx)("span",{className:"palette-item-label",children:st})]},V)),(0,At.jsx)("div",{className:"palette-divider"}),(0,At.jsx)("div",{className:"palette-heading",children:"Redact"}),wF.filter(V=>V.group==="redact").map(({type:V,label:st,icon:lt})=>(0,At.jsxs)("div",{className:`palette-item ${P===V?"active":""}`,draggable:!0,onClick:()=>U(V),onDragStart:dt=>Fs(dt,V),onDragEnd:Ns,children:[(0,At.jsx)("span",{className:"palette-item-icon",children:lt}),(0,At.jsx)("span",{className:"palette-item-label",children:st})]},V))]}),(0,At.jsxs)("div",{className:`designer-pdf-area ${Mt?"panning":""}`,ref:en,onMouseDown:Mt?zl:void 0,onMouseMove:Mt?Wf:void 0,onMouseUp:Mt?os:void 0,onMouseLeave:Mt?os:void 0,children:[B&&(0,At.jsx)("div",{className:"loading-indicator",children:"Loading PDF..."}),!c.length&&!B&&(0,At.jsxs)("div",{className:"empty-state",children:[(0,At.jsx)("h2",{children:"Open a PDF to get started"}),(0,At.jsx)("p",{children:"Select a PDF from your device to begin. Your file stays on your computer \u2014 nothing is uploaded."}),(0,At.jsxs)("label",{className:"upload-btn upload-btn-large",children:["Select PDF",(0,At.jsx)("input",{type:"file",accept:".pdf",onChange:ye,hidden:!0})]})]}),c.length>0&&(0,At.jsx)(jw,{pages:c,fields:h,selectedFieldIds:T,onSelectField:rs,onFieldMove:ue,onFieldResize:Le,onGroupMove:Ga,onMoveStart:g,onMoveEnd:b,onPageClick:Ft,onDropField:Nl,onMarqueeSelect:V=>C(new Set(V)),mode:"designer",renderFieldContent:Ot,zoom:Rt})]}),c.length>0&&(0,At.jsxs)(At.Fragment,{children:[(0,At.jsx)("div",{className:"panel-resize-handle",onMouseDown:F}),(0,At.jsxs)("div",{className:"designer-panel",style:{width:yt},children:[!s&&!l&&Ut&&(0,At.jsx)("div",{className:"designer-panel-actions",children:Ut}),(0,At.jsxs)("div",{className:"designer-panel-header",children:[(0,At.jsxs)("div",{className:"signer-role-indicator",children:[(0,At.jsx)("span",{className:"signer-role-indicator-label",children:"Editing as"}),(0,At.jsx)("strong",{children:k})]}),(0,At.jsxs)("div",{className:"zoom-slider",children:[(0,At.jsx)("button",{onClick:()=>De(V=>Math.max(.75,V-.25)),disabled:Rt<=.75,children:"\u2212"}),(0,At.jsx)("input",{type:"range",min:"75",max:"300",step:"25",value:Math.round(Rt*100),onChange:V=>De(Number(V.target.value)/100)}),(0,At.jsx)("button",{onClick:()=>De(V=>Math.min(3,V+.25)),disabled:Rt>=3,children:"+"}),(0,At.jsx)("div",{className:"zoom-dropdown-wrapper",children:(0,At.jsxs)("select",{className:"zoom-dropdown",value:Math.round(Rt*100),onChange:V=>De(Number(V.target.value)/100),children:[(0,At.jsx)("option",{value:"75",children:"75%"}),(0,At.jsx)("option",{value:"100",children:"100%"}),(0,At.jsx)("option",{value:"125",children:"125%"}),(0,At.jsx)("option",{value:"150",children:"150%"}),(0,At.jsx)("option",{value:"200",children:"200%"}),(0,At.jsx)("option",{value:"250",children:"250%"}),(0,At.jsx)("option",{value:"300",children:"300%"}),![75,100,125,150,200,250,300].includes(Math.round(Rt*100))&&(0,At.jsxs)("option",{value:Math.round(Rt*100),children:[Math.round(Rt*100),"%"]})]})})]})]}),(0,At.jsxs)("div",{className:"panel-tabs",children:[(0,At.jsx)("button",{className:`panel-tab ${ft==="properties"?"active":""}`,onClick:()=>$("properties"),children:"Properties"}),(0,At.jsxs)("button",{className:`panel-tab ${ft==="fields"?"active":""}`,onClick:()=>$("fields"),children:["All Fields",h.length>0?` (${h.length})`:""]})]}),(0,At.jsxs)("div",{className:"panel-tab-content",children:[ft==="properties"&&(0,At.jsx)(At.Fragment,{children:T.size>1?(0,At.jsx)(qj,{fields:h.filter(V=>T.has(V.id)),signerRoles:O,onUpdate:fn,onAlign:Pn,onDelete:()=>{p(V=>V.filter(st=>!T.has(st.id)||st.locked)),C(V=>{let st=new Set;return h.forEach(lt=>{V.has(lt.id)&<.locked&&st.add(lt.id)}),st})}}):mt?(0,At.jsx)(At.Fragment,{children:(0,At.jsx)(jj,{field:mt,signerRoles:O,onUpdate:we,onDelete:xe,pageSize:c[mt.page]?{width:c[mt.page].pdfWidth,height:c[mt.page].pdfHeight}:void 0,prefillContent:ka(mt)?void 0:(0,At.jsxs)("div",{className:"prefill-section",children:[(0,At.jsx)("label",{children:"Pre-fill Value"}),As(mt)?(0,At.jsx)(qw,{width:yt-40,height:mt.type==="initials"?100:150,onSign:V=>we(mt.id,{value:V}),initialValue:mt.value,inkColor:mt.inkColor}):mt.type==="checkbox"?(0,At.jsxs)("label",{className:"panel-checkbox-label",children:[(0,At.jsx)("input",{type:"checkbox",checked:mt.value==="true",onChange:V=>we(mt.id,{value:V.target.checked?"true":""})}),"Checked"]}):(0,At.jsx)("input",{type:mt.textSubtype==="email"?"email":mt.textSubtype==="number"?"number":mt.textSubtype==="phone"?"tel":mt.textSubtype==="date"?"date":"text",value:mt.value,onChange:V=>we(mt.id,{value:V.target.value}),placeholder:`Pre-fill ${mt.label}`,className:"prefill-input",style:{color:mt.inkColor||"#000000"}})]})})}):(0,At.jsx)("div",{className:"panel-empty",children:"Click on the PDF to place a field, or select an existing field to edit its properties."})}),ft==="fields"&&(0,At.jsx)(At.Fragment,{children:h.length===0?(0,At.jsx)("div",{className:"panel-empty",children:"No fields yet. Drag a field from the left palette onto the PDF, or click on the PDF to place one."}):(0,At.jsx)("div",{className:"field-list",children:Q.map((V,st)=>{let lt=T.has(V.id),dt=lt&&T.size===1,pt=V.type==="text"||V.type==="dropdown"||V.type==="signed-date";return(0,At.jsxs)("div",{className:`field-list-item ${lt?"active":""}`,onClick:vt=>{if(vt.target.tagName!=="INPUT")if(vt.metaKey||vt.ctrlKey)C(Gt=>{let Ae=new Set(Gt);return Ae.has(V.id)?Ae.delete(V.id):Ae.add(V.id),Ae});else if(vt.shiftKey&&T.size>0){let Gt=Q.map(ca=>ca.id),Ae=Array.from(T).pop(),la=Gt.indexOf(Ae),ua=Gt.indexOf(V.id);if(la>=0&&ua>=0){let ca=Math.min(la,ua),Cn=Math.max(la,ua);C(oi=>{let Vm=new Set(oi);return Gt.slice(ca,Cn+1).forEach(dT=>Vm.add(dT)),Vm})}}else C(new Set([V.id]))},children:[(0,At.jsx)("span",{className:"field-list-dot",style:{backgroundColor:xs(V.assignee)}}),(0,At.jsx)("span",{className:"field-list-name",children:V.label}),V.locked&&(0,At.jsx)("span",{className:"field-list-lock",title:"Locked",children:"\u{1F512}"}),(0,At.jsxs)("span",{className:"field-list-page",children:["p",V.page+1]}),V.required&&(0,At.jsx)("span",{className:"field-list-required",children:"*"}),dt&&pt&&(0,At.jsx)("input",{className:"field-list-input",type:"text",value:V.value,placeholder:V.placeholder,maxLength:V.maxLength||void 0,autoFocus:!0,onChange:vt=>we(V.id,{value:vt.target.value}),onKeyDown:vt=>{if(vt.key==="Tab"){vt.preventDefault();let Gt=vt.shiftKey?-1:1,Ae=st+Gt;Ae>=0&&Ae<Q.length&&C(new Set([Q[Ae].id]))}},onClick:vt=>vt.stopPropagation()}),dt&&V.type==="checkbox"&&(0,At.jsx)("label",{className:"field-list-checkbox",onClick:vt=>vt.stopPropagation(),children:(0,At.jsx)("input",{type:"checkbox",checked:V.value==="true",onChange:vt=>we(V.id,{value:vt.target.checked?"true":""}),onKeyDown:vt=>{if(vt.key==="Tab"){vt.preventDefault();let Gt=vt.shiftKey?-1:1,Ae=st+Gt;Ae>=0&&Ae<Q.length&&C(new Set([Q[Ae].id]))}}})})]},V.id)})})})]}),(0,At.jsxs)("div",{className:"powered-by",children:["Powered by ",(0,At.jsx)("a",{href:"https://exeq.org",target:"_blank",rel:"noopener noreferrer",children:"Exeq.org"})]})]})]})]})]})}var an=zn(vr());DN();function Zf(e){let t=e.trim();if(!t)return null;if(/^\d+(\.\d+)?$/.test(t)){let r=parseFloat(t);if(r>59){let s=new Date(Math.round((r-25569)*864e5));if(!isNaN(s.getTime()))return new Date(s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate())}}let n=t.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(n)return new Date(+n[1],+n[2]-1,+n[3]);let i=new Date(t);return isNaN(i.getTime())?null:i}var Tat={month:e=>{let t=Zf(e);return t?String(t.getMonth()+1):""},month2:e=>{let t=Zf(e);return t?String(t.getMonth()+1).padStart(2,"0"):""},monthname:e=>{let t=Zf(e);return t?t.toLocaleString("en",{month:"long"}):""},monthshort:e=>{let t=Zf(e);return t?t.toLocaleString("en",{month:"short"}):""},day:e=>{let t=Zf(e);return t?String(t.getDate()):""},day2:e=>{let t=Zf(e);return t?String(t.getDate()).padStart(2,"0"):""},year:e=>{let t=Zf(e);return t?String(t.getFullYear()):""},year2:e=>{let t=Zf(e);return t?String(t.getFullYear()).slice(-2):""},upper:e=>e.toUpperCase(),lower:e=>e.toLowerCase(),trim:e=>e.trim(),first:e=>e.split(/\s+/)[0]||"",last:e=>{let t=e.split(/\s+/);return t[t.length-1]||""},initials:e=>e.split(/\s+/).map(t=>t[0]||"").join("").toUpperCase(),firstName:e=>{let t=e.indexOf(",");if(t>=0)return e.slice(t+1).trim();let n=e.trim().split(/\s+/).filter(Boolean);return n.length>1?n.slice(0,-1).join(" "):n[0]||""},lastName:e=>{let t=e.indexOf(",");if(t>=0)return e.slice(0,t).trim();let n=e.trim().split(/\s+/).filter(Boolean);return n.length>1?n[n.length-1]:n[0]||""},last4:e=>e.slice(-4),last2:e=>e.slice(-2),first4:e=>e.slice(0,4),first2:e=>e.slice(0,2),digits:e=>e.replace(/\D/g,""),number:e=>{let t=parseFloat(e);return isNaN(t)?"":String(t)},currency:e=>{let t=parseFloat(e.replace(/[^0-9.-]/g,""));return isNaN(t)?"":`$${t.toFixed(2)}`}},Cat=/\{\{(.+?)\}\}/g,Dat=/^(.+?)\s*\|\s*(.+)$/;function Rat(){let e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`}function Oat(e,t,n,i){let r={...Tat,...n};return e.replace(Cat,(s,l)=>{let c=l.match(Dat),d=(c?c[1]:l).trim(),h=c?c[2].trim():null,p=d.toLowerCase(),y=t.find(S=>S.label.toLowerCase()===p)||t.find(S=>S.id===d),g;if(y&&y.value&&(g=y.value),g===void 0&&i){let S=Object.keys(i).find(w=>w.toLowerCase()===p);S!==void 0&&(g=i[S]||"")}if(g===void 0&&y&&(g=y.value||""),g===void 0&&(p==="today"||p==="now")&&(g=Rat()),g===void 0)return"";if(!h)return g;let b=r[h];if(!b)return g;try{return b(g)}catch{return g}})}function Wb(e,t,n){return e.map(i=>{if(!i.formula)return i;let r=Oat(i.formula,e,t,n);return r!==i.value?{...i,value:r}:i})}function bI(e){let t=e.autoShrink?Math.min(e.fontSize,e.fieldHeightPt*.7):e.fontSize;if(e.autoShrink&&e.value)for(;t>4&&!(e.measure(e.value,t)<=e.fieldWidthPt-4);)t-=.5;return t}var SI={Helvetica:[Bi.Helvetica,Bi.HelveticaBold,Bi.HelveticaOblique,Bi.HelveticaBoldOblique],Courier:[Bi.Courier,Bi.CourierBold,Bi.CourierOblique,Bi.CourierBoldOblique],TimesRoman:[Bi.TimesRoman,Bi.TimesRomanBold,Bi.TimesRomanItalic,Bi.TimesRomanBoldItalic]};function Mat(e,t,n){let i=SI[e]||SI.Helvetica,r=(t?1:0)+(n?2:0);return i[r]}function xI(e,t,n){return`${e}|${t?"b":""}|${n?"i":""}`}var RN=[612,792];function _at(e,t,n=RN){if(t.xOffset===0&&t.yOffset===0&&t.xScale===1&&t.yScale===1)return e;let i=t.xOffset/n[0]*100,r=t.yOffset/n[1]*100;return e.map(s=>({...s,x:s.x*t.xScale+i,y:s.y*t.yScale+r,width:s.width*t.xScale,height:s.height*t.yScale}))}function Fat(e){let t=parseInt(e.slice(1,3),16)/255,n=parseInt(e.slice(3,5),16)/255,i=parseInt(e.slice(5,7),16)/255;return Se(t,n,i)}async function Nat(e,t,n,i){for(let r of t){let s=e[r.page];if(!s)continue;let l=s.getWidth(),c=s.getHeight(),d=r.x/100*l,h=c-r.y/100*c-r.height/100*c,p=r.width/100*l,y=r.height/100*c;if(ka(r)){s.drawRectangle({x:d,y:h,width:p,height:y,color:r.type==="blackout"?Se(0,0,0):Se(1,1,1)});continue}if(!r.value)continue;let g=r.inkColor?Fat(r.inkColor):Se(0,0,0);if(r.type==="checkbox"){if(r.value==="true"){let b=Math.min(p,y)*.2,S=Math.min(p,y)*.08;s.drawLine({start:{x:d+b,y:h+b},end:{x:d+p-b,y:h+y-b},thickness:S,color:g}),s.drawLine({start:{x:d+p-b,y:h+b},end:{x:d+b,y:h+y-b},thickness:S,color:g})}}else if(As(r)){if(r.value.startsWith("data:image/png")){let b=await i(r.value);s.drawImage(b,{x:d,y:h,width:p,height:y})}}else{let b=await n(r.fontFamily||"Helvetica",r.bold,r.italic),S=r.letterSpacing||0,w=(M,k)=>b.widthOfTextAtSize(M,k)+S*(M.length-1),D=bI({value:r.value,fontSize:r.fontSize,autoShrink:r.autoShrink,fieldWidthPt:p,fieldHeightPt:y,measure:w}),A=w(r.value,D),T=2,C=r.align==="center"?d+Math.max(T,(p-A)/2):r.align==="right"?d+Math.max(T,p-A-T):d+T,O=h+y*.3;if(S>0){let M=C;for(let k of r.value)s.drawText(k,{x:M,y:O,size:D,font:b,color:g}),M+=b.widthOfTextAtSize(k,D)+S}else s.drawText(r.value,{x:C,y:O,size:D,font:b,color:g});if(r.underline||r.strikethrough){let M=w(r.value,D),k=Math.max(.5,D*.06);if(r.underline){let z=O-D*.12;s.drawLine({start:{x:C,y:z},end:{x:C+M,y:z},thickness:k,color:g})}if(r.strikethrough){let z=O+D*.3;s.drawLine({start:{x:C,y:z},end:{x:C+M,y:z},thickness:k,color:g})}}}}}async function ON(e,t){let n=await kat({pageSize:e.pageSize,metadata:t?.metadata});return await n.addRecord(e),n.save()}function zat(e,t){t&&(t.title!==void 0&&e.setTitle(t.title),t.author!==void 0&&e.setAuthor(t.author),t.subject!==void 0&&e.setSubject(t.subject),t.creator!==void 0&&e.setCreator(t.creator),t.producer!==void 0&&e.setProducer(t.producer),t.creationDate!==void 0&&e.setCreationDate(t.creationDate),t.modificationDate!==void 0&&e.setModificationDate(t.modificationDate))}async function kat(e={}){let t=await Wi.create(),n=new Map,i=new Map,r=new Map;async function s(h,p,y){let g=xI(h,p,y),b=n.get(g);return b||(b=await t.embedFont(Mat(h,p,y)),n.set(g,b)),b}async function l(h){let p=new Map;for(let y of h)p.set(xI(y.fontFamily||"Helvetica",y.bold,y.italic),y);for(let y of p.values())await s(y.fontFamily||"Helvetica",y.bold,y.italic)}async function c(h){if(typeof h=="string"){let y=i.get(h);if(!y){let b=await(await fetch(h)).arrayBuffer(),S=await Wi.load(b);y=await Promise.all(S.getPages().map(w=>t.embedPage(w))),i.set(h,y)}return y}let p=await Wi.load(h);return Promise.all(p.getPages().map(y=>t.embedPage(y)))}async function d(h){let p=r.get(h);if(!p){let y=h.split(",")[1]??"",g=Uint8Array.from(atob(y),b=>b.charCodeAt(0));p=await t.embedPng(g),r.set(h,p)}return p}return{doc:t,async addRecord(h){let p=h.pageSize??e.pageSize,y=h.resolveFormulas?Wb(h.fields,h.customTransforms,h.formulaValues):h.fields;h.calibration&&(y=_at(y,h.calibration,p??RN)),await l(y);let g=[],b;h.pdfSource!==null?(g=await c(h.pdfSource),b=g.length):b=h.pageCount??1;let S=[];for(let w=0;w<b;w++){let D=p||(g[w]?[g[w].width,g[w].height]:RN),A=t.addPage(D);S.push(A),g[w]&&A.drawPage(g[w],{x:0,y:0,width:D[0],height:D[1]})}await Nat(S,y,s,d)},async save(){return zat(t,e.metadata),t.save()}}}function AI(e,t){let n=new Blob([e.slice().buffer],{type:"application/pdf"}),i=URL.createObjectURL(n),r=document.createElement("a");r.href=i,r.download=t,r.click(),URL.revokeObjectURL(i)}async function wI(e,t,n){let i=new Blob([e.slice().buffer],{type:"application/pdf"}),r=new FormData;r.append("file",i,n),await fetch(t,{method:"POST",body:r})}var TI=zn(vr()),as=zn(co());function EI(e){return!e.required||e.type==="checkbox"?!0:!!e.value}function CI({fields:e,currentFieldId:t,onNavigate:n,allRequiredFilled:i,onComplete:r,completeLabel:s="Complete"}){let[l,c]=(0,TI.useState)(!1),d=e.findIndex(D=>D.id===t),h=d>0,p=d<e.length-1,y=()=>{h&&n(e[d-1].id)},g=()=>{p&&n(e[d+1].id)},b=e.filter(EI).length,S=e.filter(D=>!EI(D)),w=!p&&i;return(0,as.jsxs)("div",{className:"field-navigator",children:[(0,as.jsxs)("div",{className:`field-navigator-progress ${S.length>0?"clickable":""}`,onClick:()=>S.length>0&&c(!l),children:[b," of ",e.length," fields completed",S.length>0&&(0,as.jsx)("span",{className:"field-navigator-toggle",children:l?"\u25B2":"\u25BC"})]}),l&&S.length>0&&(0,as.jsx)("div",{className:"incomplete-fields-list",children:S.map(D=>(0,as.jsx)("button",{className:"incomplete-field-item",onClick:()=>{n(D.id),c(!1)},children:D.label},D.id))}),(0,as.jsxs)("div",{className:"field-navigator-controls",children:[(0,as.jsx)("button",{onClick:y,disabled:!h,className:"nav-btn",children:"Prev"}),(0,as.jsx)("span",{className:"field-navigator-position",children:d>=0?`${d+1} / ${e.length}`:"-"}),w?(0,as.jsx)("button",{onClick:r,className:"nav-btn nav-btn-complete",children:s}):(0,as.jsx)("button",{onClick:g,disabled:!p,className:"nav-btn",children:"Next"})]})]})}var Vt=zn(co()),DI=typeof window<"u"?an.useLayoutEffect:an.useEffect,Qb=null;function RI(e,t,n,i,r){if(!r||typeof document>"u"){e.style.fontSize=`${n}pt`;return}Qb||(Qb=document.createElement("canvas").getContext("2d"));let s=getComputedStyle(t),l=(parseFloat(s.paddingLeft)||0)+(parseFloat(s.paddingRight)||0),c=t.clientWidth-l-1;if(!i||!Qb||c<=0){e.style.fontSize=`${n}pt`;return}let d=getComputedStyle(e),h=96/72,p=Math.max(1,n);for(;p>2&&(Qb.font=`${d.fontStyle} ${d.fontWeight} ${p*h}px ${d.fontFamily}`,!(Qb.measureText(i).width<=c));)p-=.5;e.style.fontSize=`${p}pt`}function Lat({maxPt:e,shrink:t,...n}){let i=(0,an.useRef)(null);return DI(()=>{let r=i.current;r&&RI(r,r,e,String(r.value??""),t)}),(0,Vt.jsx)("input",{ref:i,...n})}function MN({maxPt:e,shrink:t,className:n,style:i,children:r}){let s=(0,an.useRef)(null);return DI(()=>{let l=s.current,c=l?.parentElement;l&&c&&RI(l,c,e,l.textContent??"",t)}),(0,Vt.jsx)("div",{ref:s,className:n,style:i,children:r})}function OI({apiKey:e,initialPdfUrl:t,initialTemplate:n,initialSigner:i,callbackUrl:r,onComplete:s,initialValues:l,submitLabel:c,signerOrder:d,transforms:h,onChange:p,onSignerComplete:y,includeAuditTrail:g,exportFormat:b,onExport:S}={}){if(!Vw(e))return(0,Vt.jsx)("div",{className:"signer-layout",children:(0,Vt.jsxs)("div",{className:"empty-state",children:[(0,Vt.jsx)("h2",{children:"Invalid API Key"}),(0,Vt.jsxs)("p",{children:["A valid API key is required to use Exeq. Visit ",(0,Vt.jsx)("a",{href:"https://exeq.org",children:"exeq.org"})," to get one."]})]})});let[w,D]=(0,an.useState)([]),[A,T]=(0,an.useState)([]),[C,O]=(0,an.useState)(null),[M,k]=(0,an.useState)([]),[z,P]=(0,an.useState)(()=>{if(i&&d){let et=d.indexOf(i);return et>=0?et:0}return 0}),U=(0,an.useRef)(!1),B=(0,an.useRef)([]),[W,Y]=(0,an.useState)(!1),[ot,ft]=(0,an.useState)(!1),[$,tt]=(0,an.useState)(null),[K,wt]=(0,an.useState)(r||""),Ct=(0,an.useRef)(null),Yt=d||(M.length>0?[...M.filter(et=>et!=="Sender"),...M.filter(et=>et==="Sender")]:[i||"Signer 1"]),nt=Yt[z]||Yt[0]||"Signer 1",yt=z>=Yt.length-1,Tt=Yt.length>1;(0,an.useEffect)(()=>{if(A.length===0||!Tt)return;let et=A.filter(Ft=>Ft.assignee===nt&&!ka(Ft));et.length>0&&et.every(Ft=>!Ft.required||Ft.type==="checkbox"?!0:!!Ft.value)&&!yt&&(P(Ft=>Ft+1),O(null))},[z,A,nt,yt,Tt]),(0,an.useEffect)(()=>{if(n){let we=n.fields;n.signerRoles&&k(n.signerRoles),l&&(we=we.map(fn=>{let Pn=Object.entries(l).find(([Ga])=>Ga.toLowerCase()===fn.label.toLowerCase()),xe=l[fn.id],rs=Pn?.[1]??xe;return rs!==void 0?{...fn,value:rs}:fn})),U.current?T(fn=>{let Pn=new Map(fn.filter(xe=>xe.value).map(xe=>[xe.id,xe.value]));return we.map(xe=>Pn.has(xe.id)?{...xe,value:Pn.get(xe.id)}:xe)}):(T(we),U.current=!0),t&&Rt(t);return}let et=new URLSearchParams(window.location.search),ye=et.get("pdf"),Ft=et.get("fields"),ue=et.get("callbackUrl");ue&&wt(ue),ye&&Rt(ye),Ft&&fetch(Ft).then(we=>we.json()).then(we=>{we.signerRoles&&k(we.signerRoles),U.current?T(fn=>{let Pn=new Map(fn.filter(xe=>xe.value).map(xe=>[xe.id,xe.value]));return we.fields.map(xe=>Pn.has(xe.id)?{...xe,value:Pn.get(xe.id)}:xe)}):(T(we.fields),U.current=!0)}).catch(we=>console.error("Failed to load fields:",we));let Le=we=>{if(we.data?.type==="load-signing"){if(we.data.fields&&(U.current?T(fn=>{let Pn=new Map(fn.filter(xe=>xe.value).map(xe=>[xe.id,xe.value]));return we.data.fields.map(xe=>Pn.has(xe.id)?{...xe,value:Pn.get(xe.id)}:xe)}):(T(we.data.fields),U.current=!0)),we.data.pdfUrl&&Rt(we.data.pdfUrl),we.data.signer){let fn=Yt.indexOf(we.data.signer);fn>=0&&P(fn)}we.data.callbackUrl&&wt(we.data.callbackUrl)}};return window.addEventListener("message",Le),()=>window.removeEventListener("message",Le)},[n,t]);let Rt=(0,an.useCallback)(async et=>{Y(!0);try{let ye=await Uw(et);D(ye),tt(et)}catch(ye){console.error("Failed to load PDF:",ye)}finally{Y(!1)}},[]),De=IA(A.filter(et=>et.assignee===nt&&!ka(et)&&!et.formula)),Mt=A.find(et=>et.id===C)||null,zt=Mt?Mt.assignee===nt&&!ka(Mt)&&!Mt.formula:!1,ce=(0,an.useCallback)((et,ye)=>{T(Ft=>Ft.map(ue=>ue.id===et?{...ue,value:ye}:ue))},[]),en=(0,an.useCallback)((et,ye)=>{T(Ft=>Ft.map(ue=>ue.id===et?{...ue,...ye}:ue))},[]),In=A.map(et=>`${et.id}:${et.value}`).join("|");(0,an.useEffect)(()=>{if(!p)return;let et={};A.forEach(ye=>{ka(ye)||(et[ye.label]=ye.value||"")}),p(et)},[In]);let Et=(0,an.useCallback)(et=>{O(et);let ye=A.find(Ft=>Ft.id===et);if(ye&&Ct.current){let Ft=Ct.current.querySelector(`[data-page="${ye.page}"]`);Ft&&Ft.scrollIntoView({behavior:"smooth",block:"center"})}},[A]),oa=De.every(et=>!et.required||et.type==="checkbox"?!0:!(!et.value||et.minLength&&et.value.length<et.minLength)),Hi=(0,an.useCallback)(()=>sj(A),[A]),Ma=(0,an.useCallback)(async()=>{if(oa){if(B.current.push({signer:nt,completedAt:new Date().toISOString()}),y&&y(nt,Hi()),!yt){P(ye=>ye+1),O(null);let et=Ct.current?.querySelector(".signer-pdf-area");et&&et.scrollTo({top:0,behavior:"smooth"});return}if($){ft(!0);try{let et=Wb(A,h,l),ye;if(g){let{PDFDocument:ue,StandardFonts:Le,rgb:we}=await Promise.resolve().then(()=>(DN(),yI)),fn=await ON({pdfSource:$,fields:et}),Pn=await ue.load(fn),xe=await Pn.embedFont(Le.Helvetica),rs=await Pn.embedFont(Le.HelveticaBold),Ga=Pn.addPage([612,792]),sa=742;Ga.drawText("Signing Audit Trail",{x:50,y:sa,size:18,font:rs,color:we(0,0,0)}),sa-=30,Ga.drawText(`Document completed: ${new Date().toLocaleString()}`,{x:50,y:sa,size:10,font:xe,color:we(.4,.4,.4)}),sa-=30;for(let vo of B.current)Ga.drawText(`${vo.signer}`,{x:50,y:sa,size:12,font:rs,color:we(0,0,0)}),Ga.drawText(`Completed: ${new Date(vo.completedAt).toLocaleString()}`,{x:200,y:sa,size:10,font:xe,color:we(.3,.3,.3)}),sa-=22;ye=await Pn.save()}else ye=await ON({pdfSource:$,fields:et});let Ft=new Blob([ye.slice().buffer],{type:"application/pdf"});if(S&&b){let ue=Hi();if(b==="json")S(JSON.stringify(ue,null,2),"json");else{let Le=Object.keys(ue),we=Le.map(fn=>`"${(ue[fn]||"").replace(/"/g,'""')}"`);S(`${Le.join(",")}
|
|
298
|
+
${we.join(",")}`,"csv")}}K&&await wI(ye,K,"signed-document.pdf"),s&&s(Ft),!K&&!s&&AI(ye,"signed-document.pdf"),window.parent?.postMessage({type:"signing-complete"},"*")}catch(et){console.error("Failed to generate PDF:",et)}finally{ft(!1)}}}},[$,A,K,oa,s,yt,nt,y,g,b,S,Hi,h,l]),ei=(0,an.useCallback)(et=>{if(ka(et))return null;let ye={letterSpacing:et.letterSpacing?`${et.letterSpacing}pt`:void 0,lineHeight:et.lineHeight?`${et.lineHeight}`:void 0,...GA(et)};return et.formula?(0,Vt.jsx)(MN,{maxPt:et.fontSize,shrink:!!et.autoShrink,className:"field-overlay-value formula",style:ye,children:et.value||""}):et.assignee===nt?As(et)?et.value?(0,Vt.jsx)("div",{className:"field-signature-filled",onClick:()=>ce(et.id,""),children:(0,Vt.jsx)("img",{src:et.value,alt:et.label,className:"field-signature-preview"})}):(0,Vt.jsx)("div",{className:"field-overlay-placeholder editable",children:et.placeholder}):et.type==="checkbox"?(0,Vt.jsx)("div",{className:"field-checkbox-display editable",onClick:ue=>{ue.stopPropagation(),ce(et.id,et.value==="true"?"":"true")},children:et.value==="true"?"\u2713":""}):et.type==="signed-date"?(0,Vt.jsx)(MN,{maxPt:et.fontSize,shrink:!!et.autoShrink,className:"field-overlay-value",style:ye,children:et.value||new Date().toLocaleDateString()}):et.type==="dropdown"||et.options&&et.options.length>0?(0,Vt.jsxs)("select",{className:"field-inline-input",value:et.value,onChange:ue=>ce(et.id,ue.target.value),onFocus:()=>O(et.id),onClick:ue=>ue.stopPropagation(),style:{fontSize:`${et.fontSize}pt`,...ye},children:[(0,Vt.jsx)("option",{value:"",children:et.placeholder||"Select..."}),(et.options||[]).map(ue=>(0,Vt.jsx)("option",{value:ue,children:ue},ue))]}):(0,Vt.jsx)(Lat,{maxPt:et.fontSize,shrink:!!et.autoShrink,type:et.textSubtype==="email"?"email":et.textSubtype==="number"?"number":et.textSubtype==="phone"?"tel":et.textSubtype==="date"?"date":"text",className:"field-inline-input",value:et.value,placeholder:et.placeholder,maxLength:et.maxLength||void 0,onChange:ue=>ce(et.id,ue.target.value),onFocus:()=>O(et.id),onClick:ue=>ue.stopPropagation(),style:ye}):As(et)?et.value?(0,Vt.jsx)("img",{src:et.value,alt:et.label,className:"field-signature-preview"}):(0,Vt.jsx)("div",{className:"field-overlay-placeholder readonly",children:et.placeholder}):et.type==="checkbox"?(0,Vt.jsx)("div",{className:"field-checkbox-display readonly",children:et.value==="true"?"\u2713":""}):(0,Vt.jsx)(MN,{maxPt:et.fontSize,shrink:!!et.autoShrink,className:"field-overlay-placeholder readonly",style:ye,children:et.value||et.placeholder})},[nt,ce,O]);return(0,an.useEffect)(()=>{let et=new Date().toLocaleDateString();A.some(Ft=>Ft.assignee===nt&&Ft.type==="signed-date"&&!Ft.value)&&T(Ft=>Ft.map(ue=>ue.assignee===nt&&ue.type==="signed-date"&&!ue.value?{...ue,value:et}:ue))},[nt,A.filter(et=>et.type==="signature"&&et.value).length]),(0,an.useEffect)(()=>{if(!A.some(ue=>ue.formula))return;let ye=Wb(A,h,l);ye.some((ue,Le)=>ue.value!==A[Le].value)&&T(ye)},[A,h,l]),(0,Vt.jsxs)("div",{className:"signer-layout",ref:Ct,children:[W&&(0,Vt.jsx)("div",{className:"loading-indicator",children:"Loading document..."}),(0,Vt.jsxs)("div",{className:"signer-content",children:[(0,Vt.jsx)("div",{className:"signer-pdf-area",children:w.length>0&&(0,Vt.jsx)(jw,{pages:w,fields:A,selectedFieldIds:new Set(C?[C]:[]),onSelectField:et=>O(et),mode:"signer",currentSigner:nt,renderFieldContent:ei})}),(0,Vt.jsxs)("div",{className:"signer-panel",children:[(0,Vt.jsxs)("div",{className:"signer-panel-header",children:[(0,Vt.jsxs)("div",{className:"signer-role-indicator",children:[(0,Vt.jsx)("span",{className:"signer-role-indicator-label",children:"Signing as"}),(0,Vt.jsx)("strong",{children:nt})]}),Tt&&(0,Vt.jsxs)("div",{className:"signer-step-badge",children:["Step ",z+1," of ",Yt.length]})]}),(0,Vt.jsxs)("div",{className:"signer-panel-body",children:[Mt&&zt&&(0,Vt.jsxs)("div",{className:"signer-field-input",children:[(0,Vt.jsx)("h3",{children:Mt.label}),Mt.required&&(0,Vt.jsx)("span",{className:"required-badge",children:"Required"}),As(Mt)&&(0,Vt.jsx)(qw,{width:280,height:Mt.type==="initials"?80:120,onSign:et=>ce(Mt.id,et),initialValue:Mt.value}),(Mt.type==="text"||Mt.type==="dropdown")&&(0,Vt.jsxs)(Vt.Fragment,{children:[Mt.type==="dropdown"||Mt.options&&Mt.options.length>0?(0,Vt.jsxs)("select",{value:Mt.value,onChange:et=>ce(Mt.id,et.target.value),className:"signer-text-input",children:[(0,Vt.jsx)("option",{value:"",children:Mt.placeholder||"Select..."}),(Mt.options||[]).map(et=>(0,Vt.jsx)("option",{value:et,children:et},et))]}):(0,Vt.jsx)("input",{type:Mt.textSubtype==="email"?"email":Mt.textSubtype==="number"?"number":Mt.textSubtype==="phone"?"tel":Mt.textSubtype==="date"?"date":"text",value:Mt.value,onChange:et=>ce(Mt.id,et.target.value),placeholder:Mt.placeholder,maxLength:Mt.maxLength||void 0,className:"signer-text-input"}),(0,Vt.jsxs)("div",{className:"signer-font-size",children:[(0,Vt.jsx)("label",{children:"Font Size"}),(0,Vt.jsx)("input",{type:"number",min:"6",max:"72",value:Mt.fontSize,onChange:et=>en(Mt.id,{fontSize:Number(et.target.value)})}),(0,Vt.jsx)("span",{children:"pt"})]})]}),Mt.type==="checkbox"&&(0,Vt.jsxs)("label",{className:"signer-checkbox-label",children:[(0,Vt.jsx)("input",{type:"checkbox",checked:Mt.value==="true",onChange:et=>ce(Mt.id,et.target.checked?"true":"")}),Mt.placeholder||"Check this box"]}),Mt.type==="signed-date"&&(0,Vt.jsx)("div",{className:"signer-date-display",children:Mt.value||"Will auto-fill when you sign"})]}),Mt&&!zt&&(0,Vt.jsxs)("div",{className:"signer-field-readonly",children:[(0,Vt.jsx)("h3",{children:Mt.label}),(0,Vt.jsx)("p",{children:"This field belongs to another signer."})]}),!Mt&&De.length>0&&(0,Vt.jsx)("div",{className:"panel-empty",children:"Select a field to fill it in, or use the navigation below."})]}),(0,Vt.jsxs)("div",{className:"signer-panel-footer",children:[(0,Vt.jsx)(CI,{fields:De,currentFieldId:C,onNavigate:Et,allRequiredFilled:oa,onComplete:Ma,completeLabel:yt?c||"Complete":`Next: ${Yt[z+1]}`}),ot&&(0,Vt.jsx)("div",{className:"loading-indicator",children:"Generating PDF..."}),(0,Vt.jsxs)("div",{className:"powered-by",children:["Powered by ",(0,Vt.jsx)("a",{href:"https://exeq.org",target:"_blank",rel:"noopener noreferrer",children:"Exeq.org"})]})]})]})]})]})}function MI(e){if(typeof e=="string"){let t=document.querySelector(e);if(!t)throw new Error(`Exeq: target "${e}" not found`);return t}return e}function _I(e){if(e.querySelector("[data-exeq-styles]"))return;let t=document.querySelector('script[src*="exeq"]');if(t){let n=new URL(t.src).origin,i=document.createElement("link");i.rel="stylesheet",i.href=`${n}/embed.css`,i.setAttribute("data-exeq-styles","true"),e.appendChild(i)}}var FI={editor(e){let t=MI(e.target);_I(t);let n=(0,FN.createRoot)(t);return n.render(_N.default.createElement(s9,{apiKey:e.apiKey})),e.pdf&&setTimeout(()=>{window.postMessage({type:"load-pdf",url:e.pdf},"*")},100),{destroy:()=>n.unmount()}},sign(e){let t=MI(e.target);return _I(t),(typeof e.fields=="string"?fetch(e.fields).then(i=>i.json()):Promise.resolve(e.fields)).then(i=>{let r=(0,FN.createRoot)(t),s={apiKey:e.apiKey,initialPdfUrl:e.pdf,initialTemplate:i,initialSigner:e.signer||"Signer 1",callbackUrl:e.callbackUrl,onComplete:e.onComplete};r.render(_N.default.createElement(OI,s)),t.__exeqRoot=r}),{destroy:()=>{let i=t.__exeqRoot;i&&i.unmount()}}}};typeof window<"u"&&(window.Exeq=FI);var Pat=FI;return yZ(Uat);})();
|
|
299
|
+
/*! Bundled license information:
|
|
300
|
+
|
|
301
|
+
react/cjs/react.production.js:
|
|
302
|
+
(**
|
|
303
|
+
* @license React
|
|
304
|
+
* react.production.js
|
|
305
|
+
*
|
|
306
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
307
|
+
*
|
|
308
|
+
* This source code is licensed under the MIT license found in the
|
|
309
|
+
* LICENSE file in the root directory of this source tree.
|
|
310
|
+
*)
|
|
311
|
+
|
|
312
|
+
react/cjs/react.development.js:
|
|
313
|
+
(**
|
|
314
|
+
* @license React
|
|
315
|
+
* react.development.js
|
|
316
|
+
*
|
|
317
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
318
|
+
*
|
|
319
|
+
* This source code is licensed under the MIT license found in the
|
|
320
|
+
* LICENSE file in the root directory of this source tree.
|
|
321
|
+
*)
|
|
322
|
+
|
|
323
|
+
scheduler/cjs/scheduler.production.js:
|
|
324
|
+
(**
|
|
325
|
+
* @license React
|
|
326
|
+
* scheduler.production.js
|
|
327
|
+
*
|
|
328
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
329
|
+
*
|
|
330
|
+
* This source code is licensed under the MIT license found in the
|
|
331
|
+
* LICENSE file in the root directory of this source tree.
|
|
332
|
+
*)
|
|
333
|
+
|
|
334
|
+
scheduler/cjs/scheduler.development.js:
|
|
335
|
+
(**
|
|
336
|
+
* @license React
|
|
337
|
+
* scheduler.development.js
|
|
338
|
+
*
|
|
339
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
340
|
+
*
|
|
341
|
+
* This source code is licensed under the MIT license found in the
|
|
342
|
+
* LICENSE file in the root directory of this source tree.
|
|
343
|
+
*)
|
|
344
|
+
|
|
345
|
+
react-dom/cjs/react-dom.production.js:
|
|
346
|
+
(**
|
|
347
|
+
* @license React
|
|
348
|
+
* react-dom.production.js
|
|
349
|
+
*
|
|
350
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
351
|
+
*
|
|
352
|
+
* This source code is licensed under the MIT license found in the
|
|
353
|
+
* LICENSE file in the root directory of this source tree.
|
|
354
|
+
*)
|
|
355
|
+
|
|
356
|
+
react-dom/cjs/react-dom.development.js:
|
|
357
|
+
(**
|
|
358
|
+
* @license React
|
|
359
|
+
* react-dom.development.js
|
|
360
|
+
*
|
|
361
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
362
|
+
*
|
|
363
|
+
* This source code is licensed under the MIT license found in the
|
|
364
|
+
* LICENSE file in the root directory of this source tree.
|
|
365
|
+
*)
|
|
366
|
+
|
|
367
|
+
react-dom/cjs/react-dom-client.production.js:
|
|
368
|
+
(**
|
|
369
|
+
* @license React
|
|
370
|
+
* react-dom-client.production.js
|
|
371
|
+
*
|
|
372
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
373
|
+
*
|
|
374
|
+
* This source code is licensed under the MIT license found in the
|
|
375
|
+
* LICENSE file in the root directory of this source tree.
|
|
376
|
+
*)
|
|
377
|
+
|
|
378
|
+
react-dom/cjs/react-dom-client.development.js:
|
|
379
|
+
(**
|
|
380
|
+
* @license React
|
|
381
|
+
* react-dom-client.development.js
|
|
382
|
+
*
|
|
383
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
384
|
+
*
|
|
385
|
+
* This source code is licensed under the MIT license found in the
|
|
386
|
+
* LICENSE file in the root directory of this source tree.
|
|
387
|
+
*)
|
|
388
|
+
|
|
389
|
+
react/cjs/react-jsx-runtime.production.js:
|
|
390
|
+
(**
|
|
391
|
+
* @license React
|
|
392
|
+
* react-jsx-runtime.production.js
|
|
393
|
+
*
|
|
394
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
395
|
+
*
|
|
396
|
+
* This source code is licensed under the MIT license found in the
|
|
397
|
+
* LICENSE file in the root directory of this source tree.
|
|
398
|
+
*)
|
|
399
|
+
|
|
400
|
+
react/cjs/react-jsx-runtime.development.js:
|
|
401
|
+
(**
|
|
402
|
+
* @license React
|
|
403
|
+
* react-jsx-runtime.development.js
|
|
404
|
+
*
|
|
405
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
406
|
+
*
|
|
407
|
+
* This source code is licensed under the MIT license found in the
|
|
408
|
+
* LICENSE file in the root directory of this source tree.
|
|
409
|
+
*)
|
|
410
|
+
|
|
411
|
+
tslib/tslib.es6.js:
|
|
412
|
+
(*! *****************************************************************************
|
|
413
|
+
Copyright (c) Microsoft Corporation.
|
|
414
|
+
|
|
415
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
416
|
+
purpose with or without fee is hereby granted.
|
|
417
|
+
|
|
418
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
419
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
420
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
421
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
422
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
423
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
424
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
425
|
+
***************************************************************************** *)
|
|
426
|
+
*/
|