@unlev/exeq 0.1.2 → 0.1.3

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.
@@ -1,419 +0,0 @@
1
- "use strict";var ExeqBundle=(()=>{var DI=Object.create;var I1=Object.defineProperty;var RI=Object.getOwnPropertyDescriptor;var OI=Object.getOwnPropertyNames;var MI=Object.getPrototypeOf,_I=Object.prototype.hasOwnProperty;var je=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports),FI=(n,t)=>{for(var e in t)I1(n,e,{get:t[e],enumerable:!0})},Pk=(n,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of OI(t))!_I.call(n,r)&&r!==e&&I1(n,r,{get:()=>t[r],enumerable:!(i=RI(t,r))||i.enumerable});return n};var yn=(n,t,e)=>(e=n!=null?DI(MI(n)):{},Pk(t||!n||!n.__esModule?I1(e,"default",{value:n,enumerable:!0}):e,n)),NI=n=>Pk(I1({},"__esModule",{value:!0}),n);var Wk=je(ie=>{"use strict";var Q2=Symbol.for("react.transitional.element"),zI=Symbol.for("react.portal"),kI=Symbol.for("react.fragment"),LI=Symbol.for("react.strict_mode"),UI=Symbol.for("react.profiler"),BI=Symbol.for("react.consumer"),PI=Symbol.for("react.context"),HI=Symbol.for("react.forward_ref"),jI=Symbol.for("react.suspense"),qI=Symbol.for("react.memo"),Gk=Symbol.for("react.lazy"),VI=Symbol.for("react.activity"),Hk=Symbol.iterator;function GI(n){return n===null||typeof n!="object"?null:(n=Hk&&n[Hk]||n["@@iterator"],typeof n=="function"?n:null)}var Ik={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Xk=Object.assign,Yk={};function Hd(n,t,e){this.props=n,this.context=t,this.refs=Yk,this.updater=e||Ik}Hd.prototype.isReactComponent={};Hd.prototype.setState=function(n,t){if(typeof n!="object"&&typeof n!="function"&&n!=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,n,t,"setState")};Hd.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function Kk(){}Kk.prototype=Hd.prototype;function J2(n,t,e){this.props=n,this.context=t,this.refs=Yk,this.updater=e||Ik}var $2=J2.prototype=new Kk;$2.constructor=J2;Xk($2,Hd.prototype);$2.isPureReactComponent=!0;var jk=Array.isArray;function W2(){}var bn={H:null,A:null,T:null,S:null},Zk=Object.prototype.hasOwnProperty;function tC(n,t,e){var i=e.ref;return{$$typeof:Q2,type:n,key:t,ref:i!==void 0?i:null,props:e}}function II(n,t){return tC(n.type,t,n.props)}function eC(n){return typeof n=="object"&&n!==null&&n.$$typeof===Q2}function XI(n){var t={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(e){return t[e]})}var qk=/\/+/g;function Z2(n,t){return typeof n=="object"&&n!==null&&n.key!=null?XI(""+n.key):t.toString(36)}function YI(n){switch(n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:switch(typeof n.status=="string"?n.then(W2,W2):(n.status="pending",n.then(function(t){n.status==="pending"&&(n.status="fulfilled",n.value=t)},function(t){n.status==="pending"&&(n.status="rejected",n.reason=t)})),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason}}throw n}function Pd(n,t,e,i,r){var s=typeof n;(s==="undefined"||s==="boolean")&&(n=null);var l=!1;if(n===null)l=!0;else switch(s){case"bigint":case"string":case"number":l=!0;break;case"object":switch(n.$$typeof){case Q2:case zI:l=!0;break;case Gk:return l=n._init,Pd(l(n._payload),t,e,i,r)}}if(l)return r=r(n),l=i===""?"."+Z2(n,0):i,jk(r)?(e="",l!=null&&(e=l.replace(qk,"$&/")+"/"),Pd(r,t,e,"",function(d){return d})):r!=null&&(eC(r)&&(r=II(r,e+(r.key==null||n&&n.key===r.key?"":(""+r.key).replace(qk,"$&/")+"/")+l)),t.push(r)),1;l=0;var c=i===""?".":i+":";if(jk(n))for(var h=0;h<n.length;h++)i=n[h],s=c+Z2(i,h),l+=Pd(i,t,e,s,r);else if(h=GI(n),typeof h=="function")for(n=h.call(n),h=0;!(i=n.next()).done;)i=i.value,s=c+Z2(i,h++),l+=Pd(i,t,e,s,r);else if(s==="object"){if(typeof n.then=="function")return Pd(YI(n),t,e,i,r);throw t=String(n),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return l}function X1(n,t,e){if(n==null)return n;var i=[],r=0;return Pd(n,i,"","",function(s){return t.call(e,s,r++)}),i}function KI(n){if(n._status===-1){var t=n._result;t=t(),t.then(function(e){(n._status===0||n._status===-1)&&(n._status=1,n._result=e)},function(e){(n._status===0||n._status===-1)&&(n._status=2,n._result=e)}),n._status===-1&&(n._status=0,n._result=t)}if(n._status===1)return n._result.default;throw n._result}var Vk=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},ZI={map:X1,forEach:function(n,t,e){X1(n,function(){t.apply(this,arguments)},e)},count:function(n){var t=0;return X1(n,function(){t++}),t},toArray:function(n){return X1(n,function(t){return t})||[]},only:function(n){if(!eC(n))throw Error("React.Children.only expected to receive a single React element child.");return n}};ie.Activity=VI;ie.Children=ZI;ie.Component=Hd;ie.Fragment=kI;ie.Profiler=UI;ie.PureComponent=J2;ie.StrictMode=LI;ie.Suspense=jI;ie.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=bn;ie.__COMPILER_RUNTIME={__proto__:null,c:function(n){return bn.H.useMemoCache(n)}};ie.cache=function(n){return function(){return n.apply(null,arguments)}};ie.cacheSignal=function(){return null};ie.cloneElement=function(n,t,e){if(n==null)throw Error("The argument must be a React element, but you passed "+n+".");var i=Xk({},n.props),r=n.key;if(t!=null)for(s in t.key!==void 0&&(r=""+t.key),t)!Zk.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=e;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];i.children=l}return tC(n.type,r,i)};ie.createContext=function(n){return n={$$typeof:PI,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null},n.Provider=n,n.Consumer={$$typeof:BI,_context:n},n};ie.createElement=function(n,t,e){var i,r={},s=null;if(t!=null)for(i in t.key!==void 0&&(s=""+t.key),t)Zk.call(t,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(r[i]=t[i]);var l=arguments.length-2;if(l===1)r.children=e;else if(1<l){for(var c=Array(l),h=0;h<l;h++)c[h]=arguments[h+2];r.children=c}if(n&&n.defaultProps)for(i in l=n.defaultProps,l)r[i]===void 0&&(r[i]=l[i]);return tC(n,s,r)};ie.createRef=function(){return{current:null}};ie.forwardRef=function(n){return{$$typeof:HI,render:n}};ie.isValidElement=eC;ie.lazy=function(n){return{$$typeof:Gk,_payload:{_status:-1,_result:n},_init:KI}};ie.memo=function(n,t){return{$$typeof:qI,type:n,compare:t===void 0?null:t}};ie.startTransition=function(n){var t=bn.T,e={};bn.T=e;try{var i=n(),r=bn.S;r!==null&&r(e,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then(W2,Vk)}catch(s){Vk(s)}finally{t!==null&&e.types!==null&&(t.types=e.types),bn.T=t}};ie.unstable_useCacheRefresh=function(){return bn.H.useCacheRefresh()};ie.use=function(n){return bn.H.use(n)};ie.useActionState=function(n,t,e){return bn.H.useActionState(n,t,e)};ie.useCallback=function(n,t){return bn.H.useCallback(n,t)};ie.useContext=function(n){return bn.H.useContext(n)};ie.useDebugValue=function(){};ie.useDeferredValue=function(n,t){return bn.H.useDeferredValue(n,t)};ie.useEffect=function(n,t){return bn.H.useEffect(n,t)};ie.useEffectEvent=function(n){return bn.H.useEffectEvent(n)};ie.useId=function(){return bn.H.useId()};ie.useImperativeHandle=function(n,t,e){return bn.H.useImperativeHandle(n,t,e)};ie.useInsertionEffect=function(n,t){return bn.H.useInsertionEffect(n,t)};ie.useLayoutEffect=function(n,t){return bn.H.useLayoutEffect(n,t)};ie.useMemo=function(n,t){return bn.H.useMemo(n,t)};ie.useOptimistic=function(n,t){return bn.H.useOptimistic(n,t)};ie.useReducer=function(n,t,e){return bn.H.useReducer(n,t,e)};ie.useRef=function(n){return bn.H.useRef(n)};ie.useState=function(n){return bn.H.useState(n)};ie.useSyncExternalStore=function(n,t,e){return bn.H.useSyncExternalStore(n,t,e)};ie.useTransition=function(){return bn.H.useTransition()};ie.version="19.2.5"});var Qk=je(($t,Y1)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function n(_,Q){Object.defineProperty(i.prototype,_,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",Q[0],Q[1])}})}function t(_){return _===null||typeof _!="object"?null:(_=Ei&&_[Ei]||_["@@iterator"],typeof _=="function"?_:null)}function e(_,Q){_=(_=_.constructor)&&(_.displayName||_.name)||"ReactClass";var ht=_+"."+Q;pt[ht]||(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,_),pt[ht]=!0)}function i(_,Q,ht){this.props=_,this.context=Q,this.refs=Il,this.updater=ht||Gl}function r(){}function s(_,Q,ht){this.props=_,this.context=Q,this.refs=Il,this.updater=ht||Gl}function l(){}function c(_){return""+_}function h(_){try{c(_);var Q=!1}catch{Q=!0}if(Q){Q=console;var ht=Q.error,vt=typeof Symbol=="function"&&Symbol.toStringTag&&_[Symbol.toStringTag]||_.constructor.name||"Object";return ht.call(Q,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",vt),c(_)}}function d(_){if(_==null)return null;if(typeof _=="function")return _.$$typeof===v0?null:_.displayName||_.name||null;if(typeof _=="string")return _;switch(_){case dt:return"Fragment";case tt:return"Profiler";case re:return"StrictMode";case mn:return"Suspense";case Ye:return"SuspenseList";case Ln:return"Activity"}if(typeof _=="object")switch(typeof _.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),_.$$typeof){case lt:return"Portal";case bt:return _.displayName||"Context";case gt:return(_._context.displayName||"Context")+".Consumer";case Pt:var Q=_.render;return _=_.displayName,_||(_=Q.displayName||Q.name||"",_=_!==""?"ForwardRef("+_+")":"ForwardRef"),_;case Et:return Q=_.displayName||null,Q!==null?Q:d(_.type)||"Memo";case Ke:Q=_._payload,_=_._init;try{return d(_(Q))}catch{}}return null}function m(_){if(_===dt)return"<>";if(typeof _=="object"&&_!==null&&_.$$typeof===Ke)return"<...>";try{var Q=d(_);return Q?"<"+Q+">":"<...>"}catch{return"<...>"}}function v(){var _=oe.A;return _===null?null:_.getOwner()}function y(){return Error("react-stack-top-frame")}function b(_){if(kh.call(_,"key")){var Q=Object.getOwnPropertyDescriptor(_,"key").get;if(Q&&Q.isReactWarning)return!1}return _.key!==void 0}function x(_,Q){function ht(){Oy||(Oy=!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))}ht.isReactWarning=!0,Object.defineProperty(_,"key",{get:ht,configurable:!0})}function E(){var _=d(this.type);return qc[_]||(qc[_]=!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.")),_=this.props.ref,_!==void 0?_:null}function C(_,Q,ht,vt,Ct,Zt){var Wt=ht.ref;return _={$$typeof:V,type:_,key:Q,props:ht,_owner:vt},(Wt!==void 0?Wt:null)!==null?Object.defineProperty(_,"ref",{enumerable:!1,get:E}):Object.defineProperty(_,"ref",{enumerable:!1,value:null}),_._store={},Object.defineProperty(_._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(_,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(_,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Ct}),Object.defineProperty(_,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Zt}),Object.freeze&&(Object.freeze(_.props),Object.freeze(_)),_}function A(_,Q){return Q=C(_.type,Q,_.props,_._owner,_._debugStack,_._debugTask),_._store&&(Q._store.validated=_._store.validated),Q}function T(_){D(_)?_._store&&(_._store.validated=1):typeof _=="object"&&_!==null&&_.$$typeof===Ke&&(_._payload.status==="fulfilled"?D(_._payload.value)&&_._payload.value._store&&(_._payload.value._store.validated=1):_._store&&(_._store.validated=1))}function D(_){return typeof _=="object"&&_!==null&&_.$$typeof===V}function O(_){var Q={"=":"=0",":":"=2"};return"$"+_.replace(/[=:]/g,function(ht){return Q[ht]})}function F(_,Q){return typeof _=="object"&&_!==null&&_.key!=null?(h(_.key),O(""+_.key)):Q.toString(36)}function U(_){switch(_.status){case"fulfilled":return _.value;case"rejected":throw _.reason;default:switch(typeof _.status=="string"?_.then(l,l):(_.status="pending",_.then(function(Q){_.status==="pending"&&(_.status="fulfilled",_.value=Q)},function(Q){_.status==="pending"&&(_.status="rejected",_.reason=Q)})),_.status){case"fulfilled":return _.value;case"rejected":throw _.reason}}throw _}function L(_,Q,ht,vt,Ct){var Zt=typeof _;(Zt==="undefined"||Zt==="boolean")&&(_=null);var Wt=!1;if(_===null)Wt=!0;else switch(Zt){case"bigint":case"string":case"number":Wt=!0;break;case"object":switch(_.$$typeof){case V:case lt:Wt=!0;break;case Ke:return Wt=_._init,L(Wt(_._payload),Q,ht,vt,Ct)}}if(Wt){Wt=_,Ct=Ct(Wt);var Le=vt===""?"."+F(Wt,0):vt;return Ze(Ct)?(ht="",Le!=null&&(ht=Le.replace(Uh,"$&/")+"/"),L(Ct,Q,ht,"",function(Wi){return Wi})):Ct!=null&&(D(Ct)&&(Ct.key!=null&&(Wt&&Wt.key===Ct.key||h(Ct.key)),ht=A(Ct,ht+(Ct.key==null||Wt&&Wt.key===Ct.key?"":(""+Ct.key).replace(Uh,"$&/")+"/")+Le),vt!==""&&Wt!=null&&D(Wt)&&Wt.key==null&&Wt._store&&!Wt._store.validated&&(ht._store.validated=2),Ct=ht),Q.push(Ct)),1}if(Wt=0,Le=vt===""?".":vt+":",Ze(_))for(var kt=0;kt<_.length;kt++)vt=_[kt],Zt=Le+F(vt,kt),Wt+=L(vt,Q,ht,Zt,Ct);else if(kt=t(_),typeof kt=="function")for(kt===_.entries&&(Lh||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Lh=!0),_=kt.call(_),kt=0;!(vt=_.next()).done;)vt=vt.value,Zt=Le+F(vt,kt++),Wt+=L(vt,Q,ht,Zt,Ct);else if(Zt==="object"){if(typeof _.then=="function")return L(U(_),Q,ht,vt,Ct);throw Q=String(_),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(_).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return Wt}function k(_,Q,ht){if(_==null)return _;var vt=[],Ct=0;return L(_,vt,"","",function(Zt){return Q.call(ht,Zt,Ct++)}),vt}function G(_){if(_._status===-1){var Q=_._ioInfo;Q!=null&&(Q.start=Q.end=performance.now()),Q=_._result;var ht=Q();if(ht.then(function(Ct){if(_._status===0||_._status===-1){_._status=1,_._result=Ct;var Zt=_._ioInfo;Zt!=null&&(Zt.end=performance.now()),ht.status===void 0&&(ht.status="fulfilled",ht.value=Ct)}},function(Ct){if(_._status===0||_._status===-1){_._status=2,_._result=Ct;var Zt=_._ioInfo;Zt!=null&&(Zt.end=performance.now()),ht.status===void 0&&(ht.status="rejected",ht.reason=Ct)}}),Q=_._ioInfo,Q!=null){Q.value=ht;var vt=ht.displayName;typeof vt=="string"&&(Q.name=vt)}_._status===-1&&(_._status=0,_._result=ht)}if(_._status===1)return Q=_._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 _._result}function q(){var _=oe.H;return _===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.`),_}function Z(){oe.asyncTransitions--}function J(_){if(Gc===null)try{var Q=("require"+Math.random()).slice(0,7);Gc=(Y1&&Y1[Q]).call(Y1,"timers").setImmediate}catch{Gc=function(vt){My===!1&&(My=!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 Ct=new MessageChannel;Ct.port1.onmessage=vt,Ct.port2.postMessage(void 0)}}return Gc(_)}function nt(_){return 1<_.length&&typeof AggregateError=="function"?new AggregateError(_):_[0]}function ot(_,Q){Q!==Ic-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. "),Ic=Q}function B(_,Q,ht){var vt=oe.actQueue;if(vt!==null)if(vt.length!==0)try{X(vt),J(function(){return B(_,Q,ht)});return}catch(Ct){oe.thrownErrors.push(Ct)}else oe.actQueue=null;0<oe.thrownErrors.length?(vt=nt(oe.thrownErrors),oe.thrownErrors.length=0,ht(vt)):Q(_)}function X(_){if(!Yc){Yc=!0;var Q=0;try{for(;Q<_.length;Q++){var ht=_[Q];do{oe.didUsePromise=!1;var vt=ht(!1);if(vt!==null){if(oe.didUsePromise){_[Q]=ht,_.splice(0,Q);return}ht=vt}else break}while(!0)}_.length=0}catch(Ct){_.splice(0,Q+1),oe.thrownErrors.push(Ct)}finally{Yc=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var V=Symbol.for("react.transitional.element"),lt=Symbol.for("react.portal"),dt=Symbol.for("react.fragment"),re=Symbol.for("react.strict_mode"),tt=Symbol.for("react.profiler"),gt=Symbol.for("react.consumer"),bt=Symbol.for("react.context"),Pt=Symbol.for("react.forward_ref"),mn=Symbol.for("react.suspense"),Ye=Symbol.for("react.suspense_list"),Et=Symbol.for("react.memo"),Ke=Symbol.for("react.lazy"),Ln=Symbol.for("react.activity"),Ei=Symbol.iterator,pt={},Gl={isMounted:function(){return!1},enqueueForceUpdate:function(_){e(_,"forceUpdate")},enqueueReplaceState:function(_){e(_,"replaceState")},enqueueSetState:function(_){e(_,"setState")}},go=Object.assign,Il={};Object.freeze(Il),i.prototype.isReactComponent={},i.prototype.setState=function(_,Q){if(typeof _!="object"&&typeof _!="function"&&_!=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,_,Q,"setState")},i.prototype.forceUpdate=function(_){this.updater.enqueueForceUpdate(this,_,"forceUpdate")};var Ti={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(Yl in Ti)Ti.hasOwnProperty(Yl)&&n(Yl,Ti[Yl]);r.prototype=i.prototype,Ti=s.prototype=new r,Ti.constructor=s,go(Ti,i.prototype),Ti.isPureReactComponent=!0;var Ze=Array.isArray,v0=Symbol.for("react.client.reference"),oe={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},kh=Object.prototype.hasOwnProperty,on=console.createTask?console.createTask:function(){return null};Ti={react_stack_bottom_frame:function(_){return _()}};var Oy,Ho,qc={},Vc=Ti.react_stack_bottom_frame.bind(Ti,y)(),pw=on(m(y)),Lh=!1,Uh=/\/+/g,Xl=typeof reportError=="function"?reportError:function(_){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof _=="object"&&_!==null&&typeof _.message=="string"?String(_.message):String(_),error:_});if(!window.dispatchEvent(Q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",_);return}console.error(_)},My=!1,Gc=null,Ic=0,Xc=!1,Yc=!1,y0=typeof queueMicrotask=="function"?function(_){queueMicrotask(function(){return queueMicrotask(_)})}:J;Ti=Object.freeze({__proto__:null,c:function(_){return q().useMemoCache(_)}});var Yl={map:k,forEach:function(_,Q,ht){k(_,function(){Q.apply(this,arguments)},ht)},count:function(_){var Q=0;return k(_,function(){Q++}),Q},toArray:function(_){return k(_,function(Q){return Q})||[]},only:function(_){if(!D(_))throw Error("React.Children.only expected to receive a single React element child.");return _}};$t.Activity=Ln,$t.Children=Yl,$t.Component=i,$t.Fragment=dt,$t.Profiler=tt,$t.PureComponent=s,$t.StrictMode=re,$t.Suspense=mn,$t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=oe,$t.__COMPILER_RUNTIME=Ti,$t.act=function(_){var Q=oe.actQueue,ht=Ic;Ic++;var vt=oe.actQueue=Q!==null?Q:[],Ct=!1;try{var Zt=_()}catch(kt){oe.thrownErrors.push(kt)}if(0<oe.thrownErrors.length)throw ot(Q,ht),_=nt(oe.thrownErrors),oe.thrownErrors.length=0,_;if(Zt!==null&&typeof Zt=="object"&&typeof Zt.then=="function"){var Wt=Zt;return y0(function(){Ct||Xc||(Xc=!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(kt,Wi){Ct=!0,Wt.then(function(Wa){if(ot(Q,ht),ht===0){try{X(vt),J(function(){return B(Wa,kt,Wi)})}catch(b0){oe.thrownErrors.push(b0)}if(0<oe.thrownErrors.length){var Kl=nt(oe.thrownErrors);oe.thrownErrors.length=0,Wi(Kl)}}else kt(Wa)},function(Wa){ot(Q,ht),0<oe.thrownErrors.length&&(Wa=nt(oe.thrownErrors),oe.thrownErrors.length=0),Wi(Wa)})}}}var Le=Zt;if(ot(Q,ht),ht===0&&(X(vt),vt.length!==0&&y0(function(){Ct||Xc||(Xc=!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(() => ...)"))}),oe.actQueue=null),0<oe.thrownErrors.length)throw _=nt(oe.thrownErrors),oe.thrownErrors.length=0,_;return{then:function(kt,Wi){Ct=!0,ht===0?(oe.actQueue=vt,J(function(){return B(Le,kt,Wi)})):kt(Le)}}},$t.cache=function(_){return function(){return _.apply(null,arguments)}},$t.cacheSignal=function(){return null},$t.captureOwnerStack=function(){var _=oe.getCurrentStack;return _===null?null:_()},$t.cloneElement=function(_,Q,ht){if(_==null)throw Error("The argument must be a React element, but you passed "+_+".");var vt=go({},_.props),Ct=_.key,Zt=_._owner;if(Q!=null){var Wt;t:{if(kh.call(Q,"ref")&&(Wt=Object.getOwnPropertyDescriptor(Q,"ref").get)&&Wt.isReactWarning){Wt=!1;break t}Wt=Q.ref!==void 0}Wt&&(Zt=v()),b(Q)&&(h(Q.key),Ct=""+Q.key);for(Le in Q)!kh.call(Q,Le)||Le==="key"||Le==="__self"||Le==="__source"||Le==="ref"&&Q.ref===void 0||(vt[Le]=Q[Le])}var Le=arguments.length-2;if(Le===1)vt.children=ht;else if(1<Le){Wt=Array(Le);for(var kt=0;kt<Le;kt++)Wt[kt]=arguments[kt+2];vt.children=Wt}for(vt=C(_.type,Ct,vt,Zt,_._debugStack,_._debugTask),Ct=2;Ct<arguments.length;Ct++)T(arguments[Ct]);return vt},$t.createContext=function(_){return _={$$typeof:bt,_currentValue:_,_currentValue2:_,_threadCount:0,Provider:null,Consumer:null},_.Provider=_,_.Consumer={$$typeof:gt,_context:_},_._currentRenderer=null,_._currentRenderer2=null,_},$t.createElement=function(_,Q,ht){for(var vt=2;vt<arguments.length;vt++)T(arguments[vt]);vt={};var Ct=null;if(Q!=null)for(kt in Ho||!("__self"in Q)||"key"in Q||(Ho=!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)&&(h(Q.key),Ct=""+Q.key),Q)kh.call(Q,kt)&&kt!=="key"&&kt!=="__self"&&kt!=="__source"&&(vt[kt]=Q[kt]);var Zt=arguments.length-2;if(Zt===1)vt.children=ht;else if(1<Zt){for(var Wt=Array(Zt),Le=0;Le<Zt;Le++)Wt[Le]=arguments[Le+2];Object.freeze&&Object.freeze(Wt),vt.children=Wt}if(_&&_.defaultProps)for(kt in Zt=_.defaultProps,Zt)vt[kt]===void 0&&(vt[kt]=Zt[kt]);Ct&&x(vt,typeof _=="function"?_.displayName||_.name||"Unknown":_);var kt=1e4>oe.recentlyCreatedOwnerStacks++;return C(_,Ct,vt,v(),kt?Error("react-stack-top-frame"):Vc,kt?on(m(_)):pw)},$t.createRef=function(){var _={current:null};return Object.seal(_),_},$t.forwardRef=function(_){_!=null&&_.$$typeof===Et?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof _!="function"?console.error("forwardRef requires a render function but was given %s.",_===null?"null":typeof _):_.length!==0&&_.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",_.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),_!=null&&_.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var Q={$$typeof:Pt,render:_},ht;return Object.defineProperty(Q,"displayName",{enumerable:!1,configurable:!0,get:function(){return ht},set:function(vt){ht=vt,_.name||_.displayName||(Object.defineProperty(_,"name",{value:vt}),_.displayName=vt)}}),Q},$t.isValidElement=D,$t.lazy=function(_){_={_status:-1,_result:_};var Q={$$typeof:Ke,_payload:_,_init:G},ht={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return _._ioInfo=ht,Q._debugInfo=[{awaited:ht}],Q},$t.memo=function(_,Q){_==null&&console.error("memo: The first argument must be a component. Instead received: %s",_===null?"null":typeof _),Q={$$typeof:Et,type:_,compare:Q===void 0?null:Q};var ht;return Object.defineProperty(Q,"displayName",{enumerable:!1,configurable:!0,get:function(){return ht},set:function(vt){ht=vt,_.name||_.displayName||(Object.defineProperty(_,"name",{value:vt}),_.displayName=vt)}}),Q},$t.startTransition=function(_){var Q=oe.T,ht={};ht._updatedFibers=new Set,oe.T=ht;try{var vt=_(),Ct=oe.S;Ct!==null&&Ct(ht,vt),typeof vt=="object"&&vt!==null&&typeof vt.then=="function"&&(oe.asyncTransitions++,vt.then(Z,Z),vt.then(l,Xl))}catch(Zt){Xl(Zt)}finally{Q===null&&ht._updatedFibers&&(_=ht._updatedFibers.size,ht._updatedFibers.clear(),10<_&&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&&ht.types!==null&&(Q.types!==null&&Q.types!==ht.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=ht.types),oe.T=Q}},$t.unstable_useCacheRefresh=function(){return q().useCacheRefresh()},$t.use=function(_){return q().use(_)},$t.useActionState=function(_,Q,ht){return q().useActionState(_,Q,ht)},$t.useCallback=function(_,Q){return q().useCallback(_,Q)},$t.useContext=function(_){var Q=q();return _.$$typeof===gt&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),Q.useContext(_)},$t.useDebugValue=function(_,Q){return q().useDebugValue(_,Q)},$t.useDeferredValue=function(_,Q){return q().useDeferredValue(_,Q)},$t.useEffect=function(_,Q){return _==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),q().useEffect(_,Q)},$t.useEffectEvent=function(_){return q().useEffectEvent(_)},$t.useId=function(){return q().useId()},$t.useImperativeHandle=function(_,Q,ht){return q().useImperativeHandle(_,Q,ht)},$t.useInsertionEffect=function(_,Q){return _==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),q().useInsertionEffect(_,Q)},$t.useLayoutEffect=function(_,Q){return _==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),q().useLayoutEffect(_,Q)},$t.useMemo=function(_,Q){return q().useMemo(_,Q)},$t.useOptimistic=function(_,Q){return q().useOptimistic(_,Q)},$t.useReducer=function(_,Q,ht){return q().useReducer(_,Q,ht)},$t.useRef=function(_){return q().useRef(_)},$t.useState=function(_){return q().useState(_)},$t.useSyncExternalStore=function(_,Q,ht){return q().useSyncExternalStore(_,Q,ht)},$t.useTransition=function(){return q().useTransition()},$t.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var Ir=je((_tt,nC)=>{"use strict";process.env.NODE_ENV==="production"?nC.exports=Wk():nC.exports=Qk()});var s4=je(Cn=>{"use strict";function oC(n,t){var e=n.length;n.push(t);t:for(;0<e;){var i=e-1>>>1,r=n[i];if(0<K1(r,t))n[i]=t,n[e]=r,e=i;else break t}}function ms(n){return n.length===0?null:n[0]}function W1(n){if(n.length===0)return null;var t=n[0],e=n.pop();if(e!==t){n[0]=e;t:for(var i=0,r=n.length,s=r>>>1;i<s;){var l=2*(i+1)-1,c=n[l],h=l+1,d=n[h];if(0>K1(c,e))h<r&&0>K1(d,c)?(n[i]=d,n[h]=e,i=h):(n[i]=c,n[l]=e,i=l);else if(h<r&&0>K1(d,e))n[i]=d,n[h]=e,i=h;else break t}}return t}function K1(n,t){var e=n.sortIndex-t.sortIndex;return e!==0?e:n.id-t.id}Cn.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Jk=performance,Cn.unstable_now=function(){return Jk.now()}):(iC=Date,$k=iC.now(),Cn.unstable_now=function(){return iC.now()-$k});var Jk,iC,$k,fl=[],ku=[],WI=1,Xr=null,ta=3,sC=!1,Wm=!1,Qm=!1,lC=!1,n4=typeof setTimeout=="function"?setTimeout:null,i4=typeof clearTimeout=="function"?clearTimeout:null,t4=typeof setImmediate<"u"?setImmediate:null;function Z1(n){for(var t=ms(ku);t!==null;){if(t.callback===null)W1(ku);else if(t.startTime<=n)W1(ku),t.sortIndex=t.expirationTime,oC(fl,t);else break;t=ms(ku)}}function uC(n){if(Qm=!1,Z1(n),!Wm)if(ms(fl)!==null)Wm=!0,qd||(qd=!0,jd());else{var t=ms(ku);t!==null&&cC(uC,t.startTime-n)}}var qd=!1,Jm=-1,a4=5,r4=-1;function o4(){return lC?!0:!(Cn.unstable_now()-r4<a4)}function aC(){if(lC=!1,qd){var n=Cn.unstable_now();r4=n;var t=!0;try{t:{Wm=!1,Qm&&(Qm=!1,i4(Jm),Jm=-1),sC=!0;var e=ta;try{e:{for(Z1(n),Xr=ms(fl);Xr!==null&&!(Xr.expirationTime>n&&o4());){var i=Xr.callback;if(typeof i=="function"){Xr.callback=null,ta=Xr.priorityLevel;var r=i(Xr.expirationTime<=n);if(n=Cn.unstable_now(),typeof r=="function"){Xr.callback=r,Z1(n),t=!0;break e}Xr===ms(fl)&&W1(fl),Z1(n)}else W1(fl);Xr=ms(fl)}if(Xr!==null)t=!0;else{var s=ms(ku);s!==null&&cC(uC,s.startTime-n),t=!1}}break t}finally{Xr=null,ta=e,sC=!1}t=void 0}}finally{t?jd():qd=!1}}}var jd;typeof t4=="function"?jd=function(){t4(aC)}:typeof MessageChannel<"u"?(rC=new MessageChannel,e4=rC.port2,rC.port1.onmessage=aC,jd=function(){e4.postMessage(null)}):jd=function(){n4(aC,0)};var rC,e4;function cC(n,t){Jm=n4(function(){n(Cn.unstable_now())},t)}Cn.unstable_IdlePriority=5;Cn.unstable_ImmediatePriority=1;Cn.unstable_LowPriority=4;Cn.unstable_NormalPriority=3;Cn.unstable_Profiling=null;Cn.unstable_UserBlockingPriority=2;Cn.unstable_cancelCallback=function(n){n.callback=null};Cn.unstable_forceFrameRate=function(n){0>n||125<n?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):a4=0<n?Math.floor(1e3/n):5};Cn.unstable_getCurrentPriorityLevel=function(){return ta};Cn.unstable_next=function(n){switch(ta){case 1:case 2:case 3:var t=3;break;default:t=ta}var e=ta;ta=t;try{return n()}finally{ta=e}};Cn.unstable_requestPaint=function(){lC=!0};Cn.unstable_runWithPriority=function(n,t){switch(n){case 1:case 2:case 3:case 4:case 5:break;default:n=3}var e=ta;ta=n;try{return t()}finally{ta=e}};Cn.unstable_scheduleCallback=function(n,t,e){var i=Cn.unstable_now();switch(typeof e=="object"&&e!==null?(e=e.delay,e=typeof e=="number"&&0<e?i+e:i):e=i,n){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=e+r,n={id:WI++,callback:t,priorityLevel:n,startTime:e,expirationTime:r,sortIndex:-1},e>i?(n.sortIndex=e,oC(ku,n),ms(fl)===null&&n===ms(ku)&&(Qm?(i4(Jm),Jm=-1):Qm=!0,cC(uC,e-i))):(n.sortIndex=r,oC(fl,n),Wm||sC||(Wm=!0,qd||(qd=!0,jd()))),n};Cn.unstable_shouldYield=o4;Cn.unstable_wrapCallback=function(n){var t=ta;return function(){var e=ta;ta=t;try{return n.apply(this,arguments)}finally{ta=e}}}});var l4=je(Dn=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function n(){if(O=!1,k){var B=Dn.unstable_now();Z=B;var X=!0;try{t:{T=!1,D&&(D=!1,U(G),G=-1),A=!0;var V=C;try{e:{for(s(B),E=e(y);E!==null&&!(E.expirationTime>B&&c());){var lt=E.callback;if(typeof lt=="function"){E.callback=null,C=E.priorityLevel;var dt=lt(E.expirationTime<=B);if(B=Dn.unstable_now(),typeof dt=="function"){E.callback=dt,s(B),X=!0;break e}E===e(y)&&i(y),s(B)}else i(y);E=e(y)}if(E!==null)X=!0;else{var re=e(b);re!==null&&h(l,re.startTime-B),X=!1}}break t}finally{E=null,C=V,A=!1}X=void 0}}finally{X?J():k=!1}}}function t(B,X){var V=B.length;B.push(X);t:for(;0<V;){var lt=V-1>>>1,dt=B[lt];if(0<r(dt,X))B[lt]=X,B[V]=dt,V=lt;else break t}}function e(B){return B.length===0?null:B[0]}function i(B){if(B.length===0)return null;var X=B[0],V=B.pop();if(V!==X){B[0]=V;t:for(var lt=0,dt=B.length,re=dt>>>1;lt<re;){var tt=2*(lt+1)-1,gt=B[tt],bt=tt+1,Pt=B[bt];if(0>r(gt,V))bt<dt&&0>r(Pt,gt)?(B[lt]=Pt,B[bt]=V,lt=bt):(B[lt]=gt,B[tt]=V,lt=tt);else if(bt<dt&&0>r(Pt,V))B[lt]=Pt,B[bt]=V,lt=bt;else break t}}return X}function r(B,X){var V=B.sortIndex-X.sortIndex;return V!==0?V:B.id-X.id}function s(B){for(var X=e(b);X!==null;){if(X.callback===null)i(b);else if(X.startTime<=B)i(b),X.sortIndex=X.expirationTime,t(y,X);else break;X=e(b)}}function l(B){if(D=!1,s(B),!T)if(e(y)!==null)T=!0,k||(k=!0,J());else{var X=e(b);X!==null&&h(l,X.startTime-B)}}function c(){return O?!0:!(Dn.unstable_now()-Z<q)}function h(B,X){G=F(function(){B(Dn.unstable_now())},X)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),Dn.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var d=performance;Dn.unstable_now=function(){return d.now()}}else{var m=Date,v=m.now();Dn.unstable_now=function(){return m.now()-v}}var y=[],b=[],x=1,E=null,C=3,A=!1,T=!1,D=!1,O=!1,F=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,L=typeof setImmediate<"u"?setImmediate:null,k=!1,G=-1,q=5,Z=-1;if(typeof L=="function")var J=function(){L(n)};else if(typeof MessageChannel<"u"){var nt=new MessageChannel,ot=nt.port2;nt.port1.onmessage=n,J=function(){ot.postMessage(null)}}else J=function(){F(n,0)};Dn.unstable_IdlePriority=5,Dn.unstable_ImmediatePriority=1,Dn.unstable_LowPriority=4,Dn.unstable_NormalPriority=3,Dn.unstable_Profiling=null,Dn.unstable_UserBlockingPriority=2,Dn.unstable_cancelCallback=function(B){B.callback=null},Dn.unstable_forceFrameRate=function(B){0>B||125<B?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):q=0<B?Math.floor(1e3/B):5},Dn.unstable_getCurrentPriorityLevel=function(){return C},Dn.unstable_next=function(B){switch(C){case 1:case 2:case 3:var X=3;break;default:X=C}var V=C;C=X;try{return B()}finally{C=V}},Dn.unstable_requestPaint=function(){O=!0},Dn.unstable_runWithPriority=function(B,X){switch(B){case 1:case 2:case 3:case 4:case 5:break;default:B=3}var V=C;C=B;try{return X()}finally{C=V}},Dn.unstable_scheduleCallback=function(B,X,V){var lt=Dn.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?lt+V:lt):V=lt,B){case 1:var dt=-1;break;case 2:dt=250;break;case 5:dt=1073741823;break;case 4:dt=1e4;break;default:dt=5e3}return dt=V+dt,B={id:x++,callback:X,priorityLevel:B,startTime:V,expirationTime:dt,sortIndex:-1},V>lt?(B.sortIndex=V,t(b,B),e(y)===null&&B===e(b)&&(D?(U(G),G=-1):D=!0,h(l,V-lt))):(B.sortIndex=dt,t(y,B),T||A||(T=!0,k||(k=!0,J()))),B},Dn.unstable_shouldYield=c,Dn.unstable_wrapCallback=function(B){var X=C;return function(){var V=C;C=X;try{return B.apply(this,arguments)}finally{C=V}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var hC=je((ztt,fC)=>{"use strict";process.env.NODE_ENV==="production"?fC.exports=s4():fC.exports=l4()});var c4=je(ba=>{"use strict";var QI=Ir();function u4(n){var t="https://react.dev/errors/"+n;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)t+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+n+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Lu(){}var ya={d:{f:Lu,r:function(){throw Error(u4(522))},D:Lu,C:Lu,L:Lu,m:Lu,X:Lu,S:Lu,M:Lu},p:0,findDOMNode:null},JI=Symbol.for("react.portal");function $I(n,t,e){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:JI,key:i==null?null:""+i,children:n,containerInfo:t,implementation:e}}var $m=QI.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Q1(n,t){if(n==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}ba.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ya;ba.createPortal=function(n,t){var e=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(u4(299));return $I(n,t,null,e)};ba.flushSync=function(n){var t=$m.T,e=ya.p;try{if($m.T=null,ya.p=2,n)return n()}finally{$m.T=t,ya.p=e,ya.d.f()}};ba.preconnect=function(n,t){typeof n=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,ya.d.C(n,t))};ba.prefetchDNS=function(n){typeof n=="string"&&ya.d.D(n)};ba.preinit=function(n,t){if(typeof n=="string"&&t&&typeof t.as=="string"){var e=t.as,i=Q1(e,t.crossOrigin),r=typeof t.integrity=="string"?t.integrity:void 0,s=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;e==="style"?ya.d.S(n,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:i,integrity:r,fetchPriority:s}):e==="script"&&ya.d.X(n,{crossOrigin:i,integrity:r,fetchPriority:s,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};ba.preinitModule=function(n,t){if(typeof n=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var e=Q1(t.as,t.crossOrigin);ya.d.M(n,{crossOrigin:e,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0})}}else t==null&&ya.d.M(n)};ba.preload=function(n,t){if(typeof n=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var e=t.as,i=Q1(e,t.crossOrigin);ya.d.L(n,e,{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})}};ba.preloadModule=function(n,t){if(typeof n=="string")if(t){var e=Q1(t.as,t.crossOrigin);ya.d.m(n,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:e,integrity:typeof t.integrity=="string"?t.integrity:void 0})}else ya.d.m(n)};ba.requestFormReset=function(n){ya.d.r(n)};ba.unstable_batchedUpdates=function(n,t){return n(t)};ba.useFormState=function(n,t,e){return $m.H.useFormState(n,t,e)};ba.useFormStatus=function(){return $m.H.useHostTransitionStatus()};ba.version="19.2.5"});var f4=je(Sa=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function n(){}function t(v){return""+v}function e(v,y,b){var x=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(x);var E=!1}catch{E=!0}return E&&(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&&x[Symbol.toStringTag]||x.constructor.name||"Object"),t(x)),{$$typeof:d,key:x==null?null:""+x,children:v,containerInfo:y,implementation:b}}function i(v,y){if(v==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}function r(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":'something with type "'+typeof v+'"'}function s(v){return v===null?"`null`":v===void 0?"`undefined`":v===""?"an empty string":typeof v=="string"?JSON.stringify(v):typeof v=="number"?"`"+v+"`":'something with type "'+typeof v+'"'}function l(){var v=m.H;return v===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.`),v}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var c=Ir(),h={d:{f:n,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},d=Symbol.for("react.portal"),m=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"),Sa.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=h,Sa.createPortal=function(v,y){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error("Target container is not a DOM element.");return e(v,y,null,b)},Sa.flushSync=function(v){var y=m.T,b=h.p;try{if(m.T=null,h.p=2,v)return v()}finally{m.T=y,h.p=b,h.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.")}},Sa.preconnect=function(v,y){typeof v=="string"&&v?y!=null&&typeof y!="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(y)):y!=null&&typeof y.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(y.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",r(v)),typeof v=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,h.d.C(v,y))},Sa.prefetchDNS=function(v){if(typeof v!="string"||!v)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",r(v));else if(1<arguments.length){var y=arguments[1];typeof y=="object"&&y.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(y)):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(y))}typeof v=="string"&&h.d.D(v)},Sa.preinit=function(v,y){if(typeof v=="string"&&v?y==null||typeof y!="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(y)):y.as!=="style"&&y.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(y.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",r(v)),typeof v=="string"&&y&&typeof y.as=="string"){var b=y.as,x=i(b,y.crossOrigin),E=typeof y.integrity=="string"?y.integrity:void 0,C=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;b==="style"?h.d.S(v,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:x,integrity:E,fetchPriority:C}):b==="script"&&h.d.X(v,{crossOrigin:x,integrity:E,fetchPriority:C,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},Sa.preinitModule=function(v,y){var b="";typeof v=="string"&&v||(b+=" The `href` argument encountered was "+r(v)+"."),y!==void 0&&typeof y!="object"?b+=" The `options` argument encountered was "+r(y)+".":y&&"as"in y&&y.as!=="script"&&(b+=" The `as` option encountered was "+s(y.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=y&&typeof y.as=="string"?y.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,v)),typeof v=="string"&&(typeof y=="object"&&y!==null?(y.as==null||y.as==="script")&&(b=i(y.as,y.crossOrigin),h.d.M(v,{crossOrigin:b,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})):y==null&&h.d.M(v))},Sa.preload=function(v,y){var b="";if(typeof v=="string"&&v||(b+=" The `href` argument encountered was "+r(v)+"."),y==null||typeof y!="object"?b+=" The `options` argument encountered was "+r(y)+".":typeof y.as=="string"&&y.as||(b+=" The `as` option encountered was "+r(y.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 v=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){b=y.as;var x=i(b,y.crossOrigin);h.d.L(v,b,{crossOrigin:x,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},Sa.preloadModule=function(v,y){var b="";typeof v=="string"&&v||(b+=" The `href` argument encountered was "+r(v)+"."),y!==void 0&&typeof y!="object"?b+=" The `options` argument encountered was "+r(y)+".":y&&"as"in y&&typeof y.as!="string"&&(b+=" The `as` option encountered was "+r(y.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 v=="string"&&(y?(b=i(y.as,y.crossOrigin),h.d.m(v,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:b,integrity:typeof y.integrity=="string"?y.integrity:void 0})):h.d.m(v))},Sa.requestFormReset=function(v){h.d.r(v)},Sa.unstable_batchedUpdates=function(v,y){return v(y)},Sa.useFormState=function(v,y,b){return l().useFormState(v,y,b)},Sa.useFormStatus=function(){return l().useHostTransitionStatus()},Sa.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var pC=je((Utt,dC)=>{"use strict";function h4(){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(h4)}catch(n){console.error(n)}}}process.env.NODE_ENV==="production"?(h4(),dC.exports=c4()):dC.exports=f4()});var EB=je(Ax=>{"use strict";var bi=hC(),BL=Ir(),tX=pC();function st(n){var t="https://react.dev/errors/"+n;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)t+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+n+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function PL(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function Pg(n){var t=n,e=n;if(n.alternate)for(;t.return;)t=t.return;else{n=t;do t=n,(t.flags&4098)!==0&&(e=t.return),n=t.return;while(n)}return t.tag===3?e:null}function HL(n){if(n.tag===13){var t=n.memoizedState;if(t===null&&(n=n.alternate,n!==null&&(t=n.memoizedState)),t!==null)return t.dehydrated}return null}function jL(n){if(n.tag===31){var t=n.memoizedState;if(t===null&&(n=n.alternate,n!==null&&(t=n.memoizedState)),t!==null)return t.dehydrated}return null}function d4(n){if(Pg(n)!==n)throw Error(st(188))}function eX(n){var t=n.alternate;if(!t){if(t=Pg(n),t===null)throw Error(st(188));return t!==n?null:n}for(var e=n,i=t;;){var r=e.return;if(r===null)break;var s=r.alternate;if(s===null){if(i=r.return,i!==null){e=i;continue}break}if(r.child===s.child){for(s=r.child;s;){if(s===e)return d4(r),n;if(s===i)return d4(r),t;s=s.sibling}throw Error(st(188))}if(e.return!==i.return)e=r,i=s;else{for(var l=!1,c=r.child;c;){if(c===e){l=!0,e=r,i=s;break}if(c===i){l=!0,i=r,e=s;break}c=c.sibling}if(!l){for(c=s.child;c;){if(c===e){l=!0,e=s,i=r;break}if(c===i){l=!0,i=s,e=r;break}c=c.sibling}if(!l)throw Error(st(189))}}if(e.alternate!==i)throw Error(st(190))}if(e.tag!==3)throw Error(st(188));return e.stateNode.current===e?n:t}function qL(n){var t=n.tag;if(t===5||t===26||t===27||t===6)return n;for(n=n.child;n!==null;){if(t=qL(n),t!==null)return t;n=n.sibling}return null}var An=Object.assign,nX=Symbol.for("react.element"),J1=Symbol.for("react.transitional.element"),sg=Symbol.for("react.portal"),Kd=Symbol.for("react.fragment"),VL=Symbol.for("react.strict_mode"),KC=Symbol.for("react.profiler"),GL=Symbol.for("react.consumer"),bl=Symbol.for("react.context"),VD=Symbol.for("react.forward_ref"),ZC=Symbol.for("react.suspense"),WC=Symbol.for("react.suspense_list"),GD=Symbol.for("react.memo"),Uu=Symbol.for("react.lazy"),QC=Symbol.for("react.activity"),iX=Symbol.for("react.memo_cache_sentinel"),p4=Symbol.iterator;function tg(n){return n===null||typeof n!="object"?null:(n=p4&&n[p4]||n["@@iterator"],typeof n=="function"?n:null)}var aX=Symbol.for("react.client.reference");function JC(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===aX?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Kd:return"Fragment";case KC:return"Profiler";case VL:return"StrictMode";case ZC:return"Suspense";case WC:return"SuspenseList";case QC:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case sg:return"Portal";case bl:return n.displayName||"Context";case GL:return(n._context.displayName||"Context")+".Consumer";case VD:var t=n.render;return n=n.displayName,n||(n=t.displayName||t.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case GD:return t=n.displayName||null,t!==null?t:JC(n.type)||"Memo";case Uu:t=n._payload,n=n._init;try{return JC(n(t))}catch{}}return null}var lg=Array.isArray,Yt=BL.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ve=tX.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Bf={pending:!1,data:null,method:null,action:null},$C=[],Zd=-1;function Ss(n){return{current:n}}function Ni(n){0>Zd||(n.current=$C[Zd],$C[Zd]=null,Zd--)}function pn(n,t){Zd++,$C[Zd]=n.current,n.current=t}var bs=Ss(null),Tg=Ss(null),Ku=Ss(null),_S=Ss(null);function FS(n,t){switch(pn(Ku,t),pn(Tg,n),pn(bs,null),t.nodeType){case 9:case 11:n=(n=t.documentElement)&&(n=n.namespaceURI)?xL(n):0;break;default:if(n=t.tagName,t=t.namespaceURI)t=xL(t),n=cB(t,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}Ni(bs),pn(bs,n)}function dp(){Ni(bs),Ni(Tg),Ni(Ku)}function tD(n){n.memoizedState!==null&&pn(_S,n);var t=bs.current,e=cB(t,n.type);t!==e&&(pn(Tg,n),pn(bs,e))}function NS(n){Tg.current===n&&(Ni(bs),Ni(Tg)),_S.current===n&&(Ni(_S),Lg._currentValue=Bf)}var mC,m4;function zf(n){if(mC===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);mC=t&&t[1]||"",m4=-1<e.stack.indexOf(`
18
- at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
19
- `+mC+n+m4}var gC=!1;function vC(n,t){if(!n||gC)return"";gC=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var v=function(){throw Error()};if(Object.defineProperty(v.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(v,[])}catch(b){var y=b}Reflect.construct(n,[],v)}else{try{v.call()}catch(b){y=b}n.call(v.prototype)}}else{try{throw Error()}catch(b){y=b}(v=n())&&typeof v.catch=="function"&&v.catch(function(){})}}catch(b){if(b&&y&&typeof b.stack=="string")return[b.stack,y.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 h=l.split(`
20
- `),d=c.split(`
21
- `);for(r=i=0;i<h.length&&!h[i].includes("DetermineComponentFrameRoot");)i++;for(;r<d.length&&!d[r].includes("DetermineComponentFrameRoot");)r++;if(i===h.length||r===d.length)for(i=h.length-1,r=d.length-1;1<=i&&0<=r&&h[i]!==d[r];)r--;for(;1<=i&&0<=r;i--,r--)if(h[i]!==d[r]){if(i!==1||r!==1)do if(i--,r--,0>r||h[i]!==d[r]){var m=`
22
- `+h[i].replace(" at new "," at ");return n.displayName&&m.includes("<anonymous>")&&(m=m.replace("<anonymous>",n.displayName)),m}while(1<=i&&0<=r);break}}}finally{gC=!1,Error.prepareStackTrace=e}return(e=n?n.displayName||n.name:"")?zf(e):""}function rX(n,t){switch(n.tag){case 26:case 27:case 5:return zf(n.type);case 16:return zf("Lazy");case 13:return n.child!==t&&t!==null?zf("Suspense Fallback"):zf("Suspense");case 19:return zf("SuspenseList");case 0:case 15:return vC(n.type,!1);case 11:return vC(n.type.render,!1);case 1:return vC(n.type,!0);case 31:return zf("Activity");default:return""}}function g4(n){try{var t="",e=null;do t+=rX(n,e),e=n,n=n.return;while(n);return t}catch(i){return`
23
- Error generating stack: `+i.message+`
24
- `+i.stack}}var eD=Object.prototype.hasOwnProperty,ID=bi.unstable_scheduleCallback,yC=bi.unstable_cancelCallback,oX=bi.unstable_shouldYield,sX=bi.unstable_requestPaint,vr=bi.unstable_now,lX=bi.unstable_getCurrentPriorityLevel,IL=bi.unstable_ImmediatePriority,XL=bi.unstable_UserBlockingPriority,zS=bi.unstable_NormalPriority,uX=bi.unstable_LowPriority,YL=bi.unstable_IdlePriority,cX=bi.log,fX=bi.unstable_setDisableYieldValue,Hg=null,yr=null;function Vu(n){if(typeof cX=="function"&&fX(n),yr&&typeof yr.setStrictMode=="function")try{yr.setStrictMode(Hg,n)}catch{}}var br=Math.clz32?Math.clz32:pX,hX=Math.log,dX=Math.LN2;function pX(n){return n>>>=0,n===0?32:31-(hX(n)/dX|0)|0}var $1=256,tS=262144,eS=4194304;function kf(n){var t=n&42;if(t!==0)return t;switch(n&-n){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 n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function ox(n,t,e){var i=n.pendingLanes;if(i===0)return 0;var r=0,s=n.suspendedLanes,l=n.pingedLanes;n=n.warmLanes;var c=i&134217727;return c!==0?(i=c&~s,i!==0?r=kf(i):(l&=c,l!==0?r=kf(l):e||(e=c&~n,e!==0&&(r=kf(e))))):(c=i&~s,c!==0?r=kf(c):l!==0?r=kf(l):e||(e=i&~n,e!==0&&(r=kf(e)))),r===0?0:t!==0&&t!==r&&(t&s)===0&&(s=r&-r,e=t&-t,s>=e||s===32&&(e&4194048)!==0)?t:r}function jg(n,t){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&t)===0}function mX(n,t){switch(n){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 KL(){var n=eS;return eS<<=1,(eS&62914560)===0&&(eS=4194304),n}function bC(n){for(var t=[],e=0;31>e;e++)t.push(n);return t}function qg(n,t){n.pendingLanes|=t,t!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function gX(n,t,e,i,r,s){var l=n.pendingLanes;n.pendingLanes=e,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=e,n.entangledLanes&=e,n.errorRecoveryDisabledLanes&=e,n.shellSuspendCounter=0;var c=n.entanglements,h=n.expirationTimes,d=n.hiddenUpdates;for(e=l&~e;0<e;){var m=31-br(e),v=1<<m;c[m]=0,h[m]=-1;var y=d[m];if(y!==null)for(d[m]=null,m=0;m<y.length;m++){var b=y[m];b!==null&&(b.lane&=-536870913)}e&=~v}i!==0&&ZL(n,i,0),s!==0&&r===0&&n.tag!==0&&(n.suspendedLanes|=s&~(l&~t))}function ZL(n,t,e){n.pendingLanes|=t,n.suspendedLanes&=~t;var i=31-br(t);n.entangledLanes|=t,n.entanglements[i]=n.entanglements[i]|1073741824|e&261930}function WL(n,t){var e=n.entangledLanes|=t;for(n=n.entanglements;e;){var i=31-br(e),r=1<<i;r&t|n[i]&t&&(n[i]|=t),e&=~r}}function QL(n,t){var e=t&-t;return e=(e&42)!==0?1:XD(e),(e&(n.suspendedLanes|t))!==0?0:e}function XD(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=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:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function YD(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function JL(){var n=Ve.p;return n!==0?n:(n=window.event,n===void 0?32:xB(n.type))}function v4(n,t){var e=Ve.p;try{return Ve.p=n,t()}finally{Ve.p=e}}var sc=Math.random().toString(36).slice(2),qi="__reactFiber$"+sc,qa="__reactProps$"+sc,Ep="__reactContainer$"+sc,nD="__reactEvents$"+sc,vX="__reactListeners$"+sc,yX="__reactHandles$"+sc,y4="__reactResources$"+sc,Vg="__reactMarker$"+sc;function KD(n){delete n[qi],delete n[qa],delete n[nD],delete n[vX],delete n[yX]}function Wd(n){var t=n[qi];if(t)return t;for(var e=n.parentNode;e;){if(t=e[Ep]||e[qi]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(n=CL(n);n!==null;){if(e=n[qi])return e;n=CL(n)}return t}n=e,e=n.parentNode}return null}function Tp(n){if(n=n[qi]||n[Ep]){var t=n.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return n}return null}function ug(n){var t=n.tag;if(t===5||t===26||t===27||t===6)return n.stateNode;throw Error(st(33))}function op(n){var t=n[y4];return t||(t=n[y4]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Fi(n){n[Vg]=!0}var $L=new Set,tU={};function Kf(n,t){pp(n,t),pp(n+"Capture",t)}function pp(n,t){for(tU[n]=t,n=0;n<t.length;n++)$L.add(t[n])}var bX=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={},S4={};function SX(n){return eD.call(S4,n)?!0:eD.call(b4,n)?!1:bX.test(n)?S4[n]=!0:(b4[n]=!0,!1)}function gS(n,t,e){if(SX(t))if(e===null)n.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":n.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){n.removeAttribute(t);return}}n.setAttribute(t,""+e)}}function nS(n,t,e){if(e===null)n.removeAttribute(t);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(t);return}n.setAttribute(t,""+e)}}function hl(n,t,e,i){if(i===null)n.removeAttribute(e);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(e);return}n.setAttributeNS(t,e,""+i)}}function Kr(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function eU(n){var t=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function xX(n,t,e){var i=Object.getOwnPropertyDescriptor(n.constructor.prototype,t);if(!n.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var r=i.get,s=i.set;return Object.defineProperty(n,t,{configurable:!0,get:function(){return r.call(this)},set:function(l){e=""+l,s.call(this,l)}}),Object.defineProperty(n,t,{enumerable:i.enumerable}),{getValue:function(){return e},setValue:function(l){e=""+l},stopTracking:function(){n._valueTracker=null,delete n[t]}}}}function iD(n){if(!n._valueTracker){var t=eU(n)?"checked":"value";n._valueTracker=xX(n,t,""+n[t])}}function nU(n){if(!n)return!1;var t=n._valueTracker;if(!t)return!0;var e=t.getValue(),i="";return n&&(i=eU(n)?n.checked?"true":"false":n.value),n=i,n!==e?(t.setValue(n),!0):!1}function kS(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var AX=/[\n"\\]/g;function Qr(n){return n.replace(AX,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function aD(n,t,e,i,r,s,l,c){n.name="",l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"?n.type=l:n.removeAttribute("type"),t!=null?l==="number"?(t===0&&n.value===""||n.value!=t)&&(n.value=""+Kr(t)):n.value!==""+Kr(t)&&(n.value=""+Kr(t)):l!=="submit"&&l!=="reset"||n.removeAttribute("value"),t!=null?rD(n,l,Kr(t)):e!=null?rD(n,l,Kr(e)):i!=null&&n.removeAttribute("value"),r==null&&s!=null&&(n.defaultChecked=!!s),r!=null&&(n.checked=r&&typeof r!="function"&&typeof r!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?n.name=""+Kr(c):n.removeAttribute("name")}function iU(n,t,e,i,r,s,l,c){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(n.type=s),t!=null||e!=null){if(!(s!=="submit"&&s!=="reset"||t!=null)){iD(n);return}e=e!=null?""+Kr(e):"",t=t!=null?""+Kr(t):e,c||t===n.value||(n.value=t),n.defaultValue=t}i=i??r,i=typeof i!="function"&&typeof i!="symbol"&&!!i,n.checked=c?n.checked:!!i,n.defaultChecked=!!i,l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"&&(n.name=l),iD(n)}function rD(n,t,e){t==="number"&&kS(n.ownerDocument)===n||n.defaultValue===""+e||(n.defaultValue=""+e)}function sp(n,t,e,i){if(n=n.options,t){t={};for(var r=0;r<e.length;r++)t["$"+e[r]]=!0;for(e=0;e<n.length;e++)r=t.hasOwnProperty("$"+n[e].value),n[e].selected!==r&&(n[e].selected=r),r&&i&&(n[e].defaultSelected=!0)}else{for(e=""+Kr(e),t=null,r=0;r<n.length;r++){if(n[r].value===e){n[r].selected=!0,i&&(n[r].defaultSelected=!0);return}t!==null||n[r].disabled||(t=n[r])}t!==null&&(t.selected=!0)}}function aU(n,t,e){if(t!=null&&(t=""+Kr(t),t!==n.value&&(n.value=t),e==null)){n.defaultValue!==t&&(n.defaultValue=t);return}n.defaultValue=e!=null?""+Kr(e):""}function rU(n,t,e,i){if(t==null){if(i!=null){if(e!=null)throw Error(st(92));if(lg(i)){if(1<i.length)throw Error(st(93));i=i[0]}e=i}e==null&&(e=""),t=e}e=Kr(t),n.defaultValue=e,i=n.textContent,i===e&&i!==""&&i!==null&&(n.value=i),iD(n)}function mp(n,t){if(t){var e=n.firstChild;if(e&&e===n.lastChild&&e.nodeType===3){e.nodeValue=t;return}}n.textContent=t}var wX=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 x4(n,t,e){var i=t.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?i?n.setProperty(t,""):t==="float"?n.cssFloat="":n[t]="":i?n.setProperty(t,e):typeof e!="number"||e===0||wX.has(t)?t==="float"?n.cssFloat=e:n[t]=(""+e).trim():n[t]=e+"px"}function oU(n,t,e){if(t!=null&&typeof t!="object")throw Error(st(62));if(n=n.style,e!=null){for(var i in e)!e.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?n.setProperty(i,""):i==="float"?n.cssFloat="":n[i]="");for(var r in t)i=t[r],t.hasOwnProperty(r)&&e[r]!==i&&x4(n,r,i)}else for(var s in t)t.hasOwnProperty(s)&&x4(n,s,t[s])}function ZD(n){if(n.indexOf("-")===-1)return!1;switch(n){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 EX=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"]]),TX=/^[\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 vS(n){return TX.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function Sl(){}var oD=null;function WD(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Qd=null,lp=null;function A4(n){var t=Tp(n);if(t&&(n=t.stateNode)){var e=n[qa]||null;t:switch(n=t.stateNode,t.type){case"input":if(aD(n,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),t=e.name,e.type==="radio"&&t!=null){for(e=n;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+Qr(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var i=e[t];if(i!==n&&i.form===n.form){var r=i[qa]||null;if(!r)throw Error(st(90));aD(i,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<e.length;t++)i=e[t],i.form===n.form&&nU(i)}break t;case"textarea":aU(n,e.value,e.defaultValue);break t;case"select":t=e.value,t!=null&&sp(n,!!e.multiple,t,!1)}}}var SC=!1;function sU(n,t,e){if(SC)return n(t,e);SC=!0;try{var i=n(t);return i}finally{if(SC=!1,(Qd!==null||lp!==null)&&(yx(),Qd&&(t=Qd,n=lp,lp=Qd=null,A4(t),n)))for(t=0;t<n.length;t++)A4(n[t])}}function Cg(n,t){var e=n.stateNode;if(e===null)return null;var i=e[qa]||null;if(i===null)return null;e=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)||(n=n.type,i=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!i;break t;default:n=!1}if(n)return null;if(e&&typeof e!="function")throw Error(st(231,t,typeof e));return e}var Tl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sD=!1;if(Tl)try{Vd={},Object.defineProperty(Vd,"passive",{get:function(){sD=!0}}),window.addEventListener("test",Vd,Vd),window.removeEventListener("test",Vd,Vd)}catch{sD=!1}var Vd,Gu=null,QD=null,yS=null;function lU(){if(yS)return yS;var n,t=QD,e=t.length,i,r="value"in Gu?Gu.value:Gu.textContent,s=r.length;for(n=0;n<e&&t[n]===r[n];n++);var l=e-n;for(i=1;i<=l&&t[e-i]===r[s-i];i++);return yS=r.slice(n,1<i?1-i:void 0)}function bS(n){var t=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&t===13&&(n=13)):n=t,n===10&&(n=13),32<=n||n===13?n:0}function iS(){return!0}function w4(){return!1}function Va(n){function t(e,i,r,s,l){this._reactName=e,this._targetInst=r,this.type=i,this.nativeEvent=s,this.target=l,this.currentTarget=null;for(var c in n)n.hasOwnProperty(c)&&(e=n[c],this[c]=e?e(s):s[c]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?iS:w4,this.isPropagationStopped=w4,this}return An(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=iS)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=iS)},persist:function(){},isPersistent:iS}),t}var Zf={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},sx=Va(Zf),Gg=An({},Zf,{view:0,detail:0}),CX=Va(Gg),xC,AC,eg,lx=An({},Gg,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:JD,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==eg&&(eg&&n.type==="mousemove"?(xC=n.screenX-eg.screenX,AC=n.screenY-eg.screenY):AC=xC=0,eg=n),xC)},movementY:function(n){return"movementY"in n?n.movementY:AC}}),E4=Va(lx),DX=An({},lx,{dataTransfer:0}),RX=Va(DX),OX=An({},Gg,{relatedTarget:0}),wC=Va(OX),MX=An({},Zf,{animationName:0,elapsedTime:0,pseudoElement:0}),_X=Va(MX),FX=An({},Zf,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),NX=Va(FX),zX=An({},Zf,{data:0}),T4=Va(zX),kX={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},LX={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"},UX={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function BX(n){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(n):(n=UX[n])?!!t[n]:!1}function JD(){return BX}var PX=An({},Gg,{key:function(n){if(n.key){var t=kX[n.key]||n.key;if(t!=="Unidentified")return t}return n.type==="keypress"?(n=bS(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?LX[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:JD,charCode:function(n){return n.type==="keypress"?bS(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?bS(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),HX=Va(PX),jX=An({},lx,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),C4=Va(jX),qX=An({},Gg,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:JD}),VX=Va(qX),GX=An({},Zf,{propertyName:0,elapsedTime:0,pseudoElement:0}),IX=Va(GX),XX=An({},lx,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),YX=Va(XX),KX=An({},Zf,{newState:0,oldState:0}),ZX=Va(KX),WX=[9,13,27,32],$D=Tl&&"CompositionEvent"in window,hg=null;Tl&&"documentMode"in document&&(hg=document.documentMode);var QX=Tl&&"TextEvent"in window&&!hg,uU=Tl&&(!$D||hg&&8<hg&&11>=hg),D4=" ",R4=!1;function cU(n,t){switch(n){case"keyup":return WX.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fU(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Jd=!1;function JX(n,t){switch(n){case"compositionend":return fU(t);case"keypress":return t.which!==32?null:(R4=!0,D4);case"textInput":return n=t.data,n===D4&&R4?null:n;default:return null}}function $X(n,t){if(Jd)return n==="compositionend"||!$D&&cU(n,t)?(n=lU(),yS=QD=Gu=null,Jd=!1,n):null;switch(n){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 uU&&t.locale!=="ko"?null:t.data;default:return null}}var tY={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 O4(n){var t=n&&n.nodeName&&n.nodeName.toLowerCase();return t==="input"?!!tY[n.type]:t==="textarea"}function hU(n,t,e,i){Qd?lp?lp.push(i):lp=[i]:Qd=i,t=$S(t,"onChange"),0<t.length&&(e=new sx("onChange","change",null,e,i),n.push({event:e,listeners:t}))}var dg=null,Dg=null;function eY(n){sB(n,0)}function ux(n){var t=ug(n);if(nU(t))return n}function M4(n,t){if(n==="change")return t}var dU=!1;Tl&&(Tl?(rS="oninput"in document,rS||(EC=document.createElement("div"),EC.setAttribute("oninput","return;"),rS=typeof EC.oninput=="function"),aS=rS):aS=!1,dU=aS&&(!document.documentMode||9<document.documentMode));var aS,rS,EC;function _4(){dg&&(dg.detachEvent("onpropertychange",pU),Dg=dg=null)}function pU(n){if(n.propertyName==="value"&&ux(Dg)){var t=[];hU(t,Dg,n,WD(n)),sU(eY,t)}}function nY(n,t,e){n==="focusin"?(_4(),dg=t,Dg=e,dg.attachEvent("onpropertychange",pU)):n==="focusout"&&_4()}function iY(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return ux(Dg)}function aY(n,t){if(n==="click")return ux(t)}function rY(n,t){if(n==="input"||n==="change")return ux(t)}function oY(n,t){return n===t&&(n!==0||1/n===1/t)||n!==n&&t!==t}var xr=typeof Object.is=="function"?Object.is:oY;function Rg(n,t){if(xr(n,t))return!0;if(typeof n!="object"||n===null||typeof t!="object"||t===null)return!1;var e=Object.keys(n),i=Object.keys(t);if(e.length!==i.length)return!1;for(i=0;i<e.length;i++){var r=e[i];if(!eD.call(t,r)||!xr(n[r],t[r]))return!1}return!0}function F4(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function N4(n,t){var e=F4(n);n=0;for(var i;e;){if(e.nodeType===3){if(i=n+e.textContent.length,n<=t&&i>=t)return{node:e,offset:t-n};n=i}t:{for(;e;){if(e.nextSibling){e=e.nextSibling;break t}e=e.parentNode}e=void 0}e=F4(e)}}function mU(n,t){return n&&t?n===t?!0:n&&n.nodeType===3?!1:t&&t.nodeType===3?mU(n,t.parentNode):"contains"in n?n.contains(t):n.compareDocumentPosition?!!(n.compareDocumentPosition(t)&16):!1:!1}function gU(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var t=kS(n.document);t instanceof n.HTMLIFrameElement;){try{var e=typeof t.contentWindow.location.href=="string"}catch{e=!1}if(e)n=t.contentWindow;else break;t=kS(n.document)}return t}function tR(n){var t=n&&n.nodeName&&n.nodeName.toLowerCase();return t&&(t==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||t==="textarea"||n.contentEditable==="true")}var sY=Tl&&"documentMode"in document&&11>=document.documentMode,$d=null,lD=null,pg=null,uD=!1;function z4(n,t,e){var i=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;uD||$d==null||$d!==kS(i)||(i=$d,"selectionStart"in i&&tR(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}),pg&&Rg(pg,i)||(pg=i,i=$S(lD,"onSelect"),0<i.length&&(t=new sx("onSelect","select",null,t,e),n.push({event:t,listeners:i}),t.target=$d)))}function Nf(n,t){var e={};return e[n.toLowerCase()]=t.toLowerCase(),e["Webkit"+n]="webkit"+t,e["Moz"+n]="moz"+t,e}var tp={animationend:Nf("Animation","AnimationEnd"),animationiteration:Nf("Animation","AnimationIteration"),animationstart:Nf("Animation","AnimationStart"),transitionrun:Nf("Transition","TransitionRun"),transitionstart:Nf("Transition","TransitionStart"),transitioncancel:Nf("Transition","TransitionCancel"),transitionend:Nf("Transition","TransitionEnd")},TC={},vU={};Tl&&(vU=document.createElement("div").style,"AnimationEvent"in window||(delete tp.animationend.animation,delete tp.animationiteration.animation,delete tp.animationstart.animation),"TransitionEvent"in window||delete tp.transitionend.transition);function Wf(n){if(TC[n])return TC[n];if(!tp[n])return n;var t=tp[n],e;for(e in t)if(t.hasOwnProperty(e)&&e in vU)return TC[n]=t[e];return n}var yU=Wf("animationend"),bU=Wf("animationiteration"),SU=Wf("animationstart"),lY=Wf("transitionrun"),uY=Wf("transitionstart"),cY=Wf("transitioncancel"),xU=Wf("transitionend"),AU=new Map,cD="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(" ");cD.push("scrollEnd");function Mo(n,t){AU.set(n,t),Kf(t,[n])}var LS=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},Yr=[],ep=0,eR=0;function cx(){for(var n=ep,t=eR=ep=0;t<n;){var e=Yr[t];Yr[t++]=null;var i=Yr[t];Yr[t++]=null;var r=Yr[t];Yr[t++]=null;var s=Yr[t];if(Yr[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&&wU(e,r,s)}}function fx(n,t,e,i){Yr[ep++]=n,Yr[ep++]=t,Yr[ep++]=e,Yr[ep++]=i,eR|=i,n.lanes|=i,n=n.alternate,n!==null&&(n.lanes|=i)}function nR(n,t,e,i){return fx(n,t,e,i),US(n)}function Qf(n,t){return fx(n,null,null,t),US(n)}function wU(n,t,e){n.lanes|=e;var i=n.alternate;i!==null&&(i.lanes|=e);for(var r=!1,s=n.return;s!==null;)s.childLanes|=e,i=s.alternate,i!==null&&(i.childLanes|=e),s.tag===22&&(n=s.stateNode,n===null||n._visibility&1||(r=!0)),n=s,s=s.return;return n.tag===3?(s=n.stateNode,r&&t!==null&&(r=31-br(e),n=s.hiddenUpdates,i=n[r],i===null?n[r]=[t]:i.push(t),t.lane=e|536870912),s):null}function US(n){if(50<wg)throw wg=0,_D=null,Error(st(185));for(var t=n.return;t!==null;)n=t,t=n.return;return n.tag===3?n.stateNode:null}var np={};function fY(n,t,e,i){this.tag=n,this.key=e,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 mr(n,t,e,i){return new fY(n,t,e,i)}function iR(n){return n=n.prototype,!(!n||!n.isReactComponent)}function Al(n,t){var e=n.alternate;return e===null?(e=mr(n.tag,t,n.key,n.mode),e.elementType=n.elementType,e.type=n.type,e.stateNode=n.stateNode,e.alternate=n,n.alternate=e):(e.pendingProps=t,e.type=n.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=n.flags&65011712,e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},e.sibling=n.sibling,e.index=n.index,e.ref=n.ref,e.refCleanup=n.refCleanup,e}function EU(n,t){n.flags&=65011714;var e=n.alternate;return e===null?(n.childLanes=0,n.lanes=t,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.type=e.type,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),n}function SS(n,t,e,i,r,s){var l=0;if(i=n,typeof n=="function")iR(n)&&(l=1);else if(typeof n=="string")l=pK(n,e,bs.current)?26:n==="html"||n==="head"||n==="body"?27:5;else t:switch(n){case QC:return n=mr(31,e,t,r),n.elementType=QC,n.lanes=s,n;case Kd:return Pf(e.children,r,s,t);case VL:l=8,r|=24;break;case KC:return n=mr(12,e,t,r|2),n.elementType=KC,n.lanes=s,n;case ZC:return n=mr(13,e,t,r),n.elementType=ZC,n.lanes=s,n;case WC:return n=mr(19,e,t,r),n.elementType=WC,n.lanes=s,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case bl:l=10;break t;case GL:l=9;break t;case VD:l=11;break t;case GD:l=14;break t;case Uu:l=16,i=null;break t}l=29,e=Error(st(130,n===null?"null":typeof n,"")),i=null}return t=mr(l,e,t,r),t.elementType=n,t.type=i,t.lanes=s,t}function Pf(n,t,e,i){return n=mr(7,n,i,t),n.lanes=e,n}function CC(n,t,e){return n=mr(6,n,null,t),n.lanes=e,n}function TU(n){var t=mr(18,null,null,0);return t.stateNode=n,t}function DC(n,t,e){return t=mr(4,n.children!==null?n.children:[],n.key,t),t.lanes=e,t.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},t}var k4=new WeakMap;function Jr(n,t){if(typeof n=="object"&&n!==null){var e=k4.get(n);return e!==void 0?e:(t={value:n,source:t,stack:g4(t)},k4.set(n,t),t)}return{value:n,source:t,stack:g4(t)}}var ip=[],ap=0,BS=null,Og=0,Zr=[],Wr=0,ic=null,gs=1,vs="";function vl(n,t){ip[ap++]=Og,ip[ap++]=BS,BS=n,Og=t}function CU(n,t,e){Zr[Wr++]=gs,Zr[Wr++]=vs,Zr[Wr++]=ic,ic=n;var i=gs;n=vs;var r=32-br(i)-1;i&=~(1<<r),e+=1;var s=32-br(t)+r;if(30<s){var l=r-r%5;s=(i&(1<<l)-1).toString(32),i>>=l,r-=l,gs=1<<32-br(t)+r|e<<r|i,vs=s+n}else gs=1<<s|e<<r|i,vs=n}function aR(n){n.return!==null&&(vl(n,1),CU(n,1,0))}function rR(n){for(;n===BS;)BS=ip[--ap],ip[ap]=null,Og=ip[--ap],ip[ap]=null;for(;n===ic;)ic=Zr[--Wr],Zr[Wr]=null,vs=Zr[--Wr],Zr[Wr]=null,gs=Zr[--Wr],Zr[Wr]=null}function DU(n,t){Zr[Wr++]=gs,Zr[Wr++]=vs,Zr[Wr++]=ic,gs=t.id,vs=t.overflow,ic=n}var Vi=null,xn=null,Ne=!1,Zu=null,$r=!1,fD=Error(st(519));function ac(n){var t=Error(st(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Mg(Jr(t,n)),fD}function L4(n){var t=n.stateNode,e=n.type,i=n.memoizedProps;switch(t[qi]=n,t[qa]=i,e){case"dialog":Ce("cancel",t),Ce("close",t);break;case"iframe":case"object":case"embed":Ce("load",t);break;case"video":case"audio":for(e=0;e<zg.length;e++)Ce(zg[e],t);break;case"source":Ce("error",t);break;case"img":case"image":case"link":Ce("error",t),Ce("load",t);break;case"details":Ce("toggle",t);break;case"input":Ce("invalid",t),iU(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":Ce("invalid",t);break;case"textarea":Ce("invalid",t),rU(t,i.value,i.defaultValue,i.children)}e=i.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||t.textContent===""+e||i.suppressHydrationWarning===!0||uB(t.textContent,e)?(i.popover!=null&&(Ce("beforetoggle",t),Ce("toggle",t)),i.onScroll!=null&&Ce("scroll",t),i.onScrollEnd!=null&&Ce("scrollend",t),i.onClick!=null&&(t.onclick=Sl),t=!0):t=!1,t||ac(n,!0)}function U4(n){for(Vi=n.return;Vi;)switch(Vi.tag){case 5:case 31:case 13:$r=!1;return;case 27:case 3:$r=!0;return;default:Vi=Vi.return}}function Gd(n){if(n!==Vi)return!1;if(!Ne)return U4(n),Ne=!0,!1;var t=n.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=n.type,e=!(e!=="form"&&e!=="button")||LD(n.type,n.memoizedProps)),e=!e),e&&xn&&ac(n),U4(n),t===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(st(317));xn=TL(n)}else if(t===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(st(317));xn=TL(n)}else t===27?(t=xn,lc(n.type)?(n=HD,HD=null,xn=n):xn=t):xn=Vi?eo(n.stateNode.nextSibling):null;return!0}function Vf(){xn=Vi=null,Ne=!1}function RC(){var n=Zu;return n!==null&&(Ha===null?Ha=n:Ha.push.apply(Ha,n),Zu=null),n}function Mg(n){Zu===null?Zu=[n]:Zu.push(n)}var hD=Ss(null),Jf=null,xl=null;function Pu(n,t,e){pn(hD,t._currentValue),t._currentValue=e}function wl(n){n._currentValue=hD.current,Ni(hD)}function dD(n,t,e){for(;n!==null;){var i=n.alternate;if((n.childLanes&t)!==t?(n.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),n===e)break;n=n.return}}function pD(n,t,e,i){var r=n.child;for(r!==null&&(r.return=n);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 h=0;h<t.length;h++)if(c.context===t[h]){s.lanes|=e,c=s.alternate,c!==null&&(c.lanes|=e),dD(s.return,e,n),i||(l=null);break t}s=c.next}}else if(r.tag===18){if(l=r.return,l===null)throw Error(st(341));l.lanes|=e,s=l.alternate,s!==null&&(s.lanes|=e),dD(l,e,n),l=null}else l=r.child;if(l!==null)l.return=r;else for(l=r;l!==null;){if(l===n){l=null;break}if(r=l.sibling,r!==null){r.return=l.return,l=r;break}l=l.return}r=l}}function Cp(n,t,e,i){n=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(st(387));if(l=l.memoizedProps,l!==null){var c=r.type;xr(r.pendingProps.value,l.value)||(n!==null?n.push(c):n=[c])}}else if(r===_S.current){if(l=r.alternate,l===null)throw Error(st(387));l.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(n!==null?n.push(Lg):n=[Lg])}r=r.return}n!==null&&pD(t,n,e,i),t.flags|=262144}function PS(n){for(n=n.firstContext;n!==null;){if(!xr(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Gf(n){Jf=n,xl=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Gi(n){return RU(Jf,n)}function oS(n,t){return Jf===null&&Gf(n),RU(n,t)}function RU(n,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},xl===null){if(n===null)throw Error(st(308));xl=t,n.dependencies={lanes:0,firstContext:t},n.flags|=524288}else xl=xl.next=t;return e}var hY=typeof AbortController<"u"?AbortController:function(){var n=[],t=this.signal={aborted:!1,addEventListener:function(e,i){n.push(i)}};this.abort=function(){t.aborted=!0,n.forEach(function(e){return e()})}},dY=bi.unstable_scheduleCallback,pY=bi.unstable_NormalPriority,si={$$typeof:bl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function oR(){return{controller:new hY,data:new Map,refCount:0}}function Ig(n){n.refCount--,n.refCount===0&&dY(pY,function(){n.controller.abort()})}var mg=null,mD=0,gp=0,up=null;function mY(n,t){if(mg===null){var e=mg=[];mD=0,gp=_R(),up={status:"pending",value:void 0,then:function(i){e.push(i)}}}return mD++,t.then(B4,B4),t}function B4(){if(--mD===0&&mg!==null){up!==null&&(up.status="fulfilled");var n=mg;mg=null,gp=0,up=null;for(var t=0;t<n.length;t++)(0,n[t])()}}function gY(n,t){var e=[],i={status:"pending",value:null,reason:null,then:function(r){e.push(r)}};return n.then(function(){i.status="fulfilled",i.value=t;for(var r=0;r<e.length;r++)(0,e[r])(t)},function(r){for(i.status="rejected",i.reason=r,r=0;r<e.length;r++)(0,e[r])(void 0)}),i}var P4=Yt.S;Yt.S=function(n,t){q6=vr(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&mY(n,t),P4!==null&&P4(n,t)};var Hf=Ss(null);function sR(){var n=Hf.current;return n!==null?n:un.pooledCache}function xS(n,t){t===null?pn(Hf,Hf.current):pn(Hf,t.pool)}function OU(){var n=sR();return n===null?null:{parent:si._currentValue,pool:n}}var Dp=Error(st(460)),lR=Error(st(474)),hx=Error(st(542)),HS={then:function(){}};function H4(n){return n=n.status,n==="fulfilled"||n==="rejected"}function MU(n,t,e){switch(e=n[e],e===void 0?n.push(t):e!==t&&(t.then(Sl,Sl),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw n=t.reason,q4(n),n;default:if(typeof t.status=="string")t.then(Sl,Sl);else{if(n=un,n!==null&&100<n.shellSuspendCounter)throw Error(st(482));n=t,n.status="pending",n.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 n=t.reason,q4(n),n}throw jf=t,Dp}}function Lf(n){try{var t=n._init;return t(n._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(jf=e,Dp):e}}var jf=null;function j4(){if(jf===null)throw Error(st(459));var n=jf;return jf=null,n}function q4(n){if(n===Dp||n===hx)throw Error(st(483))}var cp=null,_g=0;function sS(n){var t=_g;return _g+=1,cp===null&&(cp=[]),MU(cp,n,t)}function ng(n,t){t=t.props.ref,n.ref=t!==void 0?t:null}function lS(n,t){throw t.$$typeof===nX?Error(st(525)):(n=Object.prototype.toString.call(t),Error(st(31,n==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":n)))}function _U(n){function t(A,T){if(n){var D=A.deletions;D===null?(A.deletions=[T],A.flags|=16):D.push(T)}}function e(A,T){if(!n)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=Al(A,T),A.index=0,A.sibling=null,A}function s(A,T,D){return A.index=D,n?(D=A.alternate,D!==null?(D=D.index,D<T?(A.flags|=67108866,T):D):(A.flags|=67108866,T)):(A.flags|=1048576,T)}function l(A){return n&&A.alternate===null&&(A.flags|=67108866),A}function c(A,T,D,O){return T===null||T.tag!==6?(T=CC(D,A.mode,O),T.return=A,T):(T=r(T,D),T.return=A,T)}function h(A,T,D,O){var F=D.type;return F===Kd?m(A,T,D.props.children,O,D.key):T!==null&&(T.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===Uu&&Lf(F)===T.type)?(T=r(T,D.props),ng(T,D),T.return=A,T):(T=SS(D.type,D.key,D.props,null,A.mode,O),ng(T,D),T.return=A,T)}function d(A,T,D,O){return T===null||T.tag!==4||T.stateNode.containerInfo!==D.containerInfo||T.stateNode.implementation!==D.implementation?(T=DC(D,A.mode,O),T.return=A,T):(T=r(T,D.children||[]),T.return=A,T)}function m(A,T,D,O,F){return T===null||T.tag!==7?(T=Pf(D,A.mode,O,F),T.return=A,T):(T=r(T,D),T.return=A,T)}function v(A,T,D){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=CC(""+T,A.mode,D),T.return=A,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case J1:return D=SS(T.type,T.key,T.props,null,A.mode,D),ng(D,T),D.return=A,D;case sg:return T=DC(T,A.mode,D),T.return=A,T;case Uu:return T=Lf(T),v(A,T,D)}if(lg(T)||tg(T))return T=Pf(T,A.mode,D,null),T.return=A,T;if(typeof T.then=="function")return v(A,sS(T),D);if(T.$$typeof===bl)return v(A,oS(A,T),D);lS(A,T)}return null}function y(A,T,D,O){var F=T!==null?T.key:null;if(typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint")return F!==null?null:c(A,T,""+D,O);if(typeof D=="object"&&D!==null){switch(D.$$typeof){case J1:return D.key===F?h(A,T,D,O):null;case sg:return D.key===F?d(A,T,D,O):null;case Uu:return D=Lf(D),y(A,T,D,O)}if(lg(D)||tg(D))return F!==null?null:m(A,T,D,O,null);if(typeof D.then=="function")return y(A,T,sS(D),O);if(D.$$typeof===bl)return y(A,T,oS(A,D),O);lS(A,D)}return null}function b(A,T,D,O,F){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return A=A.get(D)||null,c(T,A,""+O,F);if(typeof O=="object"&&O!==null){switch(O.$$typeof){case J1:return A=A.get(O.key===null?D:O.key)||null,h(T,A,O,F);case sg:return A=A.get(O.key===null?D:O.key)||null,d(T,A,O,F);case Uu:return O=Lf(O),b(A,T,D,O,F)}if(lg(O)||tg(O))return A=A.get(D)||null,m(T,A,O,F,null);if(typeof O.then=="function")return b(A,T,D,sS(O),F);if(O.$$typeof===bl)return b(A,T,D,oS(T,O),F);lS(T,O)}return null}function x(A,T,D,O){for(var F=null,U=null,L=T,k=T=0,G=null;L!==null&&k<D.length;k++){L.index>k?(G=L,L=null):G=L.sibling;var q=y(A,L,D[k],O);if(q===null){L===null&&(L=G);break}n&&L&&q.alternate===null&&t(A,L),T=s(q,T,k),U===null?F=q:U.sibling=q,U=q,L=G}if(k===D.length)return e(A,L),Ne&&vl(A,k),F;if(L===null){for(;k<D.length;k++)L=v(A,D[k],O),L!==null&&(T=s(L,T,k),U===null?F=L:U.sibling=L,U=L);return Ne&&vl(A,k),F}for(L=i(L);k<D.length;k++)G=b(L,A,k,D[k],O),G!==null&&(n&&G.alternate!==null&&L.delete(G.key===null?k:G.key),T=s(G,T,k),U===null?F=G:U.sibling=G,U=G);return n&&L.forEach(function(Z){return t(A,Z)}),Ne&&vl(A,k),F}function E(A,T,D,O){if(D==null)throw Error(st(151));for(var F=null,U=null,L=T,k=T=0,G=null,q=D.next();L!==null&&!q.done;k++,q=D.next()){L.index>k?(G=L,L=null):G=L.sibling;var Z=y(A,L,q.value,O);if(Z===null){L===null&&(L=G);break}n&&L&&Z.alternate===null&&t(A,L),T=s(Z,T,k),U===null?F=Z:U.sibling=Z,U=Z,L=G}if(q.done)return e(A,L),Ne&&vl(A,k),F;if(L===null){for(;!q.done;k++,q=D.next())q=v(A,q.value,O),q!==null&&(T=s(q,T,k),U===null?F=q:U.sibling=q,U=q);return Ne&&vl(A,k),F}for(L=i(L);!q.done;k++,q=D.next())q=b(L,A,k,q.value,O),q!==null&&(n&&q.alternate!==null&&L.delete(q.key===null?k:q.key),T=s(q,T,k),U===null?F=q:U.sibling=q,U=q);return n&&L.forEach(function(J){return t(A,J)}),Ne&&vl(A,k),F}function C(A,T,D,O){if(typeof D=="object"&&D!==null&&D.type===Kd&&D.key===null&&(D=D.props.children),typeof D=="object"&&D!==null){switch(D.$$typeof){case J1:t:{for(var F=D.key;T!==null;){if(T.key===F){if(F=D.type,F===Kd){if(T.tag===7){e(A,T.sibling),O=r(T,D.props.children),O.return=A,A=O;break t}}else if(T.elementType===F||typeof F=="object"&&F!==null&&F.$$typeof===Uu&&Lf(F)===T.type){e(A,T.sibling),O=r(T,D.props),ng(O,D),O.return=A,A=O;break t}e(A,T);break}else t(A,T);T=T.sibling}D.type===Kd?(O=Pf(D.props.children,A.mode,O,D.key),O.return=A,A=O):(O=SS(D.type,D.key,D.props,null,A.mode,O),ng(O,D),O.return=A,A=O)}return l(A);case sg:t:{for(F=D.key;T!==null;){if(T.key===F)if(T.tag===4&&T.stateNode.containerInfo===D.containerInfo&&T.stateNode.implementation===D.implementation){e(A,T.sibling),O=r(T,D.children||[]),O.return=A,A=O;break t}else{e(A,T);break}else t(A,T);T=T.sibling}O=DC(D,A.mode,O),O.return=A,A=O}return l(A);case Uu:return D=Lf(D),C(A,T,D,O)}if(lg(D))return x(A,T,D,O);if(tg(D)){if(F=tg(D),typeof F!="function")throw Error(st(150));return D=F.call(D),E(A,T,D,O)}if(typeof D.then=="function")return C(A,T,sS(D),O);if(D.$$typeof===bl)return C(A,T,oS(A,D),O);lS(A,D)}return typeof D=="string"&&D!==""||typeof D=="number"||typeof D=="bigint"?(D=""+D,T!==null&&T.tag===6?(e(A,T.sibling),O=r(T,D),O.return=A,A=O):(e(A,T),O=CC(D,A.mode,O),O.return=A,A=O),l(A)):e(A,T)}return function(A,T,D,O){try{_g=0;var F=C(A,T,D,O);return cp=null,F}catch(L){if(L===Dp||L===hx)throw L;var U=mr(29,L,null,A.mode);return U.lanes=O,U.return=A,U}}}var If=_U(!0),FU=_U(!1),Bu=!1;function uR(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gD(n,t){n=n.updateQueue,t.updateQueue===n&&(t.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Wu(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function Qu(n,t,e){var i=n.updateQueue;if(i===null)return null;if(i=i.shared,(qe&2)!==0){var r=i.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),i.pending=t,t=US(n),wU(n,null,e),t}return fx(n,i,t,e),US(n)}function gg(n,t,e){if(t=t.updateQueue,t!==null&&(t=t.shared,(e&4194048)!==0)){var i=t.lanes;i&=n.pendingLanes,e|=i,t.lanes=e,WL(n,e)}}function OC(n,t){var e=n.updateQueue,i=n.alternate;if(i!==null&&(i=i.updateQueue,e===i)){var r=null,s=null;if(e=e.firstBaseUpdate,e!==null){do{var l={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};s===null?r=s=l:s=s.next=l,e=e.next}while(e!==null);s===null?r=s=t:s=s.next=t}else r=s=t;e={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:s,shared:i.shared,callbacks:i.callbacks},n.updateQueue=e;return}n=e.lastBaseUpdate,n===null?e.firstBaseUpdate=t:n.next=t,e.lastBaseUpdate=t}var vD=!1;function vg(){if(vD){var n=up;if(n!==null)throw n}}function yg(n,t,e,i){vD=!1;var r=n.updateQueue;Bu=!1;var s=r.firstBaseUpdate,l=r.lastBaseUpdate,c=r.shared.pending;if(c!==null){r.shared.pending=null;var h=c,d=h.next;h.next=null,l===null?s=d:l.next=d,l=h;var m=n.alternate;m!==null&&(m=m.updateQueue,c=m.lastBaseUpdate,c!==l&&(c===null?m.firstBaseUpdate=d:c.next=d,m.lastBaseUpdate=h))}if(s!==null){var v=r.baseState;l=0,m=d=h=null,c=s;do{var y=c.lane&-536870913,b=y!==c.lane;if(b?(Re&y)===y:(i&y)===y){y!==0&&y===gp&&(vD=!0),m!==null&&(m=m.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});t:{var x=n,E=c;y=t;var C=e;switch(E.tag){case 1:if(x=E.payload,typeof x=="function"){v=x.call(C,v,y);break t}v=x;break t;case 3:x.flags=x.flags&-65537|128;case 0:if(x=E.payload,y=typeof x=="function"?x.call(C,v,y):x,y==null)break t;v=An({},v,y);break t;case 2:Bu=!0}}y=c.callback,y!==null&&(n.flags|=64,b&&(n.flags|=8192),b=r.callbacks,b===null?r.callbacks=[y]:b.push(y))}else b={lane:y,tag:c.tag,payload:c.payload,callback:c.callback,next:null},m===null?(d=m=b,h=v):m=m.next=b,l|=y;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);m===null&&(h=v),r.baseState=h,r.firstBaseUpdate=d,r.lastBaseUpdate=m,s===null&&(r.shared.lanes=0),oc|=l,n.lanes=l,n.memoizedState=v}}function NU(n,t){if(typeof n!="function")throw Error(st(191,n));n.call(t)}function zU(n,t){var e=n.callbacks;if(e!==null)for(n.callbacks=null,n=0;n<e.length;n++)NU(e[n],t)}var vp=Ss(null),jS=Ss(0);function V4(n,t){n=Ol,pn(jS,n),pn(vp,t),Ol=n|t.baseLanes}function yD(){pn(jS,Ol),pn(vp,vp.current)}function cR(){Ol=jS.current,Ni(vp),Ni(jS)}var Ar=Ss(null),to=null;function Hu(n){var t=n.alternate;pn(Xn,Xn.current&1),pn(Ar,n),to===null&&(t===null||vp.current!==null||t.memoizedState!==null)&&(to=n)}function bD(n){pn(Xn,Xn.current),pn(Ar,n),to===null&&(to=n)}function kU(n){n.tag===22?(pn(Xn,Xn.current),pn(Ar,n),to===null&&(to=n)):ju(n)}function ju(){pn(Xn,Xn.current),pn(Ar,Ar.current)}function pr(n){Ni(Ar),to===n&&(to=null),Ni(Xn)}var Xn=Ss(0);function qS(n){for(var t=n;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||BD(e)||PD(e)))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===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Cl=0,ce=null,an=null,ri=null,VS=!1,fp=!1,Xf=!1,GS=0,Fg=0,hp=null,vY=0;function Pn(){throw Error(st(321))}function fR(n,t){if(t===null)return!1;for(var e=0;e<t.length&&e<n.length;e++)if(!xr(n[e],t[e]))return!1;return!0}function hR(n,t,e,i,r,s){return Cl=s,ce=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Yt.H=n===null||n.memoizedState===null?h6:wR,Xf=!1,s=e(i,r),Xf=!1,fp&&(s=UU(t,e,i,r)),LU(n),s}function LU(n){Yt.H=Ng;var t=an!==null&&an.next!==null;if(Cl=0,ri=an=ce=null,VS=!1,Fg=0,hp=null,t)throw Error(st(300));n===null||li||(n=n.dependencies,n!==null&&PS(n)&&(li=!0))}function UU(n,t,e,i){ce=n;var r=0;do{if(fp&&(hp=null),Fg=0,fp=!1,25<=r)throw Error(st(301));if(r+=1,ri=an=null,n.updateQueue!=null){var s=n.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}Yt.H=d6,s=t(e,i)}while(fp);return s}function yY(){var n=Yt.H,t=n.useState()[0];return t=typeof t.then=="function"?Xg(t):t,n=n.useState()[0],(an!==null?an.memoizedState:null)!==n&&(ce.flags|=1024),t}function dR(){var n=GS!==0;return GS=0,n}function pR(n,t,e){t.updateQueue=n.updateQueue,t.flags&=-2053,n.lanes&=~e}function mR(n){if(VS){for(n=n.memoizedState;n!==null;){var t=n.queue;t!==null&&(t.pending=null),n=n.next}VS=!1}Cl=0,ri=an=ce=null,fp=!1,Fg=GS=0,hp=null}function xa(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ri===null?ce.memoizedState=ri=n:ri=ri.next=n,ri}function Yn(){if(an===null){var n=ce.alternate;n=n!==null?n.memoizedState:null}else n=an.next;var t=ri===null?ce.memoizedState:ri.next;if(t!==null)ri=t,an=n;else{if(n===null)throw ce.alternate===null?Error(st(467)):Error(st(310));an=n,n={memoizedState:an.memoizedState,baseState:an.baseState,baseQueue:an.baseQueue,queue:an.queue,next:null},ri===null?ce.memoizedState=ri=n:ri=ri.next=n}return ri}function dx(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Xg(n){var t=Fg;return Fg+=1,hp===null&&(hp=[]),n=MU(hp,n,t),t=ce,(ri===null?t.memoizedState:ri.next)===null&&(t=t.alternate,Yt.H=t===null||t.memoizedState===null?h6:wR),n}function px(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return Xg(n);if(n.$$typeof===bl)return Gi(n)}throw Error(st(438,String(n)))}function gR(n){var t=null,e=ce.updateQueue;if(e!==null&&(t=e.memoCache),t==null){var i=ce.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}),e===null&&(e=dx(),ce.updateQueue=e),e.memoCache=t,e=t.data[t.index],e===void 0)for(e=t.data[t.index]=Array(n),i=0;i<n;i++)e[i]=iX;return t.index++,e}function Dl(n,t){return typeof t=="function"?t(n):t}function AS(n){var t=Yn();return vR(t,an,n)}function vR(n,t,e){var i=n.queue;if(i===null)throw Error(st(311));i.lastRenderedReducer=e;var r=n.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=n.baseState,r===null)n.memoizedState=s;else{t=r.next;var c=l=null,h=null,d=t,m=!1;do{var v=d.lane&-536870913;if(v!==d.lane?(Re&v)===v:(Cl&v)===v){var y=d.revertLane;if(y===0)h!==null&&(h=h.next={lane:0,revertLane:0,gesture:null,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),v===gp&&(m=!0);else if((Cl&y)===y){d=d.next,y===gp&&(m=!0);continue}else v={lane:0,revertLane:d.revertLane,gesture:null,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},h===null?(c=h=v,l=s):h=h.next=v,ce.lanes|=y,oc|=y;v=d.action,Xf&&e(s,v),s=d.hasEagerState?d.eagerState:e(s,v)}else y={lane:v,revertLane:d.revertLane,gesture:d.gesture,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null},h===null?(c=h=y,l=s):h=h.next=y,ce.lanes|=v,oc|=v;d=d.next}while(d!==null&&d!==t);if(h===null?l=s:h.next=c,!xr(s,n.memoizedState)&&(li=!0,m&&(e=up,e!==null)))throw e;n.memoizedState=s,n.baseState=l,n.baseQueue=h,i.lastRenderedState=s}return r===null&&(i.lanes=0),[n.memoizedState,i.dispatch]}function MC(n){var t=Yn(),e=t.queue;if(e===null)throw Error(st(311));e.lastRenderedReducer=n;var i=e.dispatch,r=e.pending,s=t.memoizedState;if(r!==null){e.pending=null;var l=r=r.next;do s=n(s,l.action),l=l.next;while(l!==r);xr(s,t.memoizedState)||(li=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),e.lastRenderedState=s}return[s,i]}function BU(n,t,e){var i=ce,r=Yn(),s=Ne;if(s){if(e===void 0)throw Error(st(407));e=e()}else e=t();var l=!xr((an||r).memoizedState,e);if(l&&(r.memoizedState=e,li=!0),r=r.queue,yR(jU.bind(null,i,r,n),[n]),r.getSnapshot!==t||l||ri!==null&&ri.memoizedState.tag&1){if(i.flags|=2048,yp(9,{destroy:void 0},HU.bind(null,i,r,e,t),null),un===null)throw Error(st(349));s||(Cl&127)!==0||PU(i,t,e)}return e}function PU(n,t,e){n.flags|=16384,n={getSnapshot:t,value:e},t=ce.updateQueue,t===null?(t=dx(),ce.updateQueue=t,t.stores=[n]):(e=t.stores,e===null?t.stores=[n]:e.push(n))}function HU(n,t,e,i){t.value=e,t.getSnapshot=i,qU(t)&&VU(n)}function jU(n,t,e){return e(function(){qU(t)&&VU(n)})}function qU(n){var t=n.getSnapshot;n=n.value;try{var e=t();return!xr(n,e)}catch{return!0}}function VU(n){var t=Qf(n,2);t!==null&&ja(t,n,2)}function SD(n){var t=xa();if(typeof n=="function"){var e=n;if(n=e(),Xf){Vu(!0);try{e()}finally{Vu(!1)}}}return t.memoizedState=t.baseState=n,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dl,lastRenderedState:n},t}function GU(n,t,e,i){return n.baseState=e,vR(n,an,typeof i=="function"?i:Dl)}function bY(n,t,e,i,r){if(gx(n))throw Error(st(485));if(n=t.action,n!==null){var s={payload:r,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(l){s.listeners.push(l)}};Yt.T!==null?e(!0):s.isTransition=!1,i(s),e=t.pending,e===null?(s.next=t.pending=s,IU(t,s)):(s.next=e.next,t.pending=e.next=s)}}function IU(n,t){var e=t.action,i=t.payload,r=n.state;if(t.isTransition){var s=Yt.T,l={};Yt.T=l;try{var c=e(r,i),h=Yt.S;h!==null&&h(l,c),G4(n,t,c)}catch(d){xD(n,t,d)}finally{s!==null&&l.types!==null&&(s.types=l.types),Yt.T=s}}else try{s=e(r,i),G4(n,t,s)}catch(d){xD(n,t,d)}}function G4(n,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(i){I4(n,t,i)},function(i){return xD(n,t,i)}):I4(n,t,e)}function I4(n,t,e){t.status="fulfilled",t.value=e,XU(t),n.state=e,t=n.pending,t!==null&&(e=t.next,e===t?n.pending=null:(e=e.next,t.next=e,IU(n,e)))}function xD(n,t,e){var i=n.pending;if(n.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=e,XU(t),t=t.next;while(t!==i)}n.action=null}function XU(n){n=n.listeners;for(var t=0;t<n.length;t++)(0,n[t])()}function YU(n,t){return t}function X4(n,t){if(Ne){var e=un.formState;if(e!==null){t:{var i=ce;if(Ne){if(xn){e:{for(var r=xn,s=$r;r.nodeType!==8;){if(!s){r=null;break e}if(r=eo(r.nextSibling),r===null){r=null;break e}}s=r.data,r=s==="F!"||s==="F"?r:null}if(r){xn=eo(r.nextSibling),i=r.data==="F!";break t}}ac(i)}i=!1}i&&(t=e[0])}}return e=xa(),e.memoizedState=e.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:YU,lastRenderedState:t},e.queue=i,e=u6.bind(null,ce,i),i.dispatch=e,i=SD(!1),s=AR.bind(null,ce,!1,i.queue),i=xa(),r={state:t,dispatch:null,action:n,pending:null},i.queue=r,e=bY.bind(null,ce,r,s,e),r.dispatch=e,i.memoizedState=n,[t,e,!1]}function Y4(n){var t=Yn();return KU(t,an,n)}function KU(n,t,e){if(t=vR(n,t,YU)[0],n=AS(Dl)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=Xg(t)}catch(l){throw l===Dp?hx:l}else i=t;t=Yn();var r=t.queue,s=r.dispatch;return e!==t.memoizedState&&(ce.flags|=2048,yp(9,{destroy:void 0},SY.bind(null,r,e),null)),[i,s,n]}function SY(n,t){n.action=t}function K4(n){var t=Yn(),e=an;if(e!==null)return KU(t,e,n);Yn(),t=t.memoizedState,e=Yn();var i=e.queue.dispatch;return e.memoizedState=n,[t,i,!1]}function yp(n,t,e,i){return n={tag:n,create:e,deps:i,inst:t,next:null},t=ce.updateQueue,t===null&&(t=dx(),ce.updateQueue=t),e=t.lastEffect,e===null?t.lastEffect=n.next=n:(i=e.next,e.next=n,n.next=i,t.lastEffect=n),n}function ZU(){return Yn().memoizedState}function wS(n,t,e,i){var r=xa();ce.flags|=n,r.memoizedState=yp(1|t,{destroy:void 0},e,i===void 0?null:i)}function mx(n,t,e,i){var r=Yn();i=i===void 0?null:i;var s=r.memoizedState.inst;an!==null&&i!==null&&fR(i,an.memoizedState.deps)?r.memoizedState=yp(t,s,e,i):(ce.flags|=n,r.memoizedState=yp(1|t,s,e,i))}function Z4(n,t){wS(8390656,8,n,t)}function yR(n,t){mx(2048,8,n,t)}function xY(n){ce.flags|=4;var t=ce.updateQueue;if(t===null)t=dx(),ce.updateQueue=t,t.events=[n];else{var e=t.events;e===null?t.events=[n]:e.push(n)}}function WU(n){var t=Yn().memoizedState;return xY({ref:t,nextImpl:n}),function(){if((qe&2)!==0)throw Error(st(440));return t.impl.apply(void 0,arguments)}}function QU(n,t){return mx(4,2,n,t)}function JU(n,t){return mx(4,4,n,t)}function $U(n,t){if(typeof t=="function"){n=n();var e=t(n);return function(){typeof e=="function"?e():t(null)}}if(t!=null)return n=n(),t.current=n,function(){t.current=null}}function t6(n,t,e){e=e!=null?e.concat([n]):null,mx(4,4,$U.bind(null,t,n),e)}function bR(){}function e6(n,t){var e=Yn();t=t===void 0?null:t;var i=e.memoizedState;return t!==null&&fR(t,i[1])?i[0]:(e.memoizedState=[n,t],n)}function n6(n,t){var e=Yn();t=t===void 0?null:t;var i=e.memoizedState;if(t!==null&&fR(t,i[1]))return i[0];if(i=n(),Xf){Vu(!0);try{n()}finally{Vu(!1)}}return e.memoizedState=[i,t],i}function SR(n,t,e){return e===void 0||(Cl&1073741824)!==0&&(Re&261930)===0?n.memoizedState=t:(n.memoizedState=e,n=G6(),ce.lanes|=n,oc|=n,e)}function i6(n,t,e,i){return xr(e,t)?e:vp.current!==null?(n=SR(n,e,i),xr(n,t)||(li=!0),n):(Cl&42)===0||(Cl&1073741824)!==0&&(Re&261930)===0?(li=!0,n.memoizedState=e):(n=G6(),ce.lanes|=n,oc|=n,t)}function a6(n,t,e,i,r){var s=Ve.p;Ve.p=s!==0&&8>s?s:8;var l=Yt.T,c={};Yt.T=c,AR(n,!1,t,e);try{var h=r(),d=Yt.S;if(d!==null&&d(c,h),h!==null&&typeof h=="object"&&typeof h.then=="function"){var m=gY(h,i);bg(n,t,m,Sr(n))}else bg(n,t,i,Sr(n))}catch(v){bg(n,t,{then:function(){},status:"rejected",reason:v},Sr())}finally{Ve.p=s,l!==null&&c.types!==null&&(l.types=c.types),Yt.T=l}}function AY(){}function AD(n,t,e,i){if(n.tag!==5)throw Error(st(476));var r=r6(n).queue;a6(n,r,t,Bf,e===null?AY:function(){return o6(n),e(i)})}function r6(n){var t=n.memoizedState;if(t!==null)return t;t={memoizedState:Bf,baseState:Bf,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dl,lastRenderedState:Bf},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dl,lastRenderedState:e},next:null},n.memoizedState=t,n=n.alternate,n!==null&&(n.memoizedState=t),t}function o6(n){var t=r6(n);t.next===null&&(t=n.alternate.memoizedState),bg(n,t.next.queue,{},Sr())}function xR(){return Gi(Lg)}function s6(){return Yn().memoizedState}function l6(){return Yn().memoizedState}function wY(n){for(var t=n.return;t!==null;){switch(t.tag){case 24:case 3:var e=Sr();n=Wu(e);var i=Qu(t,n,e);i!==null&&(ja(i,t,e),gg(i,t,e)),t={cache:oR()},n.payload=t;return}t=t.return}}function EY(n,t,e){var i=Sr();e={lane:i,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},gx(n)?c6(t,e):(e=nR(n,t,e,i),e!==null&&(ja(e,n,i),f6(e,t,i)))}function u6(n,t,e){var i=Sr();bg(n,t,e,i)}function bg(n,t,e,i){var r={lane:i,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(gx(n))c6(t,r);else{var s=n.alternate;if(n.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var l=t.lastRenderedState,c=s(l,e);if(r.hasEagerState=!0,r.eagerState=c,xr(c,l))return fx(n,t,r,0),un===null&&cx(),!1}catch{}if(e=nR(n,t,r,i),e!==null)return ja(e,n,i),f6(e,t,i),!0}return!1}function AR(n,t,e,i){if(i={lane:2,revertLane:_R(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},gx(n)){if(t)throw Error(st(479))}else t=nR(n,e,i,2),t!==null&&ja(t,n,2)}function gx(n){var t=n.alternate;return n===ce||t!==null&&t===ce}function c6(n,t){fp=VS=!0;var e=n.pending;e===null?t.next=t:(t.next=e.next,e.next=t),n.pending=t}function f6(n,t,e){if((e&4194048)!==0){var i=t.lanes;i&=n.pendingLanes,e|=i,t.lanes=e,WL(n,e)}}var Ng={readContext:Gi,use:px,useCallback:Pn,useContext:Pn,useEffect:Pn,useImperativeHandle:Pn,useLayoutEffect:Pn,useInsertionEffect:Pn,useMemo:Pn,useReducer:Pn,useRef:Pn,useState:Pn,useDebugValue:Pn,useDeferredValue:Pn,useTransition:Pn,useSyncExternalStore:Pn,useId:Pn,useHostTransitionStatus:Pn,useFormState:Pn,useActionState:Pn,useOptimistic:Pn,useMemoCache:Pn,useCacheRefresh:Pn};Ng.useEffectEvent=Pn;var h6={readContext:Gi,use:px,useCallback:function(n,t){return xa().memoizedState=[n,t===void 0?null:t],n},useContext:Gi,useEffect:Z4,useImperativeHandle:function(n,t,e){e=e!=null?e.concat([n]):null,wS(4194308,4,$U.bind(null,t,n),e)},useLayoutEffect:function(n,t){return wS(4194308,4,n,t)},useInsertionEffect:function(n,t){wS(4,2,n,t)},useMemo:function(n,t){var e=xa();t=t===void 0?null:t;var i=n();if(Xf){Vu(!0);try{n()}finally{Vu(!1)}}return e.memoizedState=[i,t],i},useReducer:function(n,t,e){var i=xa();if(e!==void 0){var r=e(t);if(Xf){Vu(!0);try{e(t)}finally{Vu(!1)}}}else r=t;return i.memoizedState=i.baseState=r,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:r},i.queue=n,n=n.dispatch=EY.bind(null,ce,n),[i.memoizedState,n]},useRef:function(n){var t=xa();return n={current:n},t.memoizedState=n},useState:function(n){n=SD(n);var t=n.queue,e=u6.bind(null,ce,t);return t.dispatch=e,[n.memoizedState,e]},useDebugValue:bR,useDeferredValue:function(n,t){var e=xa();return SR(e,n,t)},useTransition:function(){var n=SD(!1);return n=a6.bind(null,ce,n.queue,!0,!1),xa().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,t,e){var i=ce,r=xa();if(Ne){if(e===void 0)throw Error(st(407));e=e()}else{if(e=t(),un===null)throw Error(st(349));(Re&127)!==0||PU(i,t,e)}r.memoizedState=e;var s={value:e,getSnapshot:t};return r.queue=s,Z4(jU.bind(null,i,s,n),[n]),i.flags|=2048,yp(9,{destroy:void 0},HU.bind(null,i,s,e,t),null),e},useId:function(){var n=xa(),t=un.identifierPrefix;if(Ne){var e=vs,i=gs;e=(i&~(1<<32-br(i)-1)).toString(32)+e,t="_"+t+"R_"+e,e=GS++,0<e&&(t+="H"+e.toString(32)),t+="_"}else e=vY++,t="_"+t+"r_"+e.toString(32)+"_";return n.memoizedState=t},useHostTransitionStatus:xR,useFormState:X4,useActionState:X4,useOptimistic:function(n){var t=xa();t.memoizedState=t.baseState=n;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=AR.bind(null,ce,!0,e),e.dispatch=t,[n,t]},useMemoCache:gR,useCacheRefresh:function(){return xa().memoizedState=wY.bind(null,ce)},useEffectEvent:function(n){var t=xa(),e={impl:n};return t.memoizedState=e,function(){if((qe&2)!==0)throw Error(st(440));return e.impl.apply(void 0,arguments)}}},wR={readContext:Gi,use:px,useCallback:e6,useContext:Gi,useEffect:yR,useImperativeHandle:t6,useInsertionEffect:QU,useLayoutEffect:JU,useMemo:n6,useReducer:AS,useRef:ZU,useState:function(){return AS(Dl)},useDebugValue:bR,useDeferredValue:function(n,t){var e=Yn();return i6(e,an.memoizedState,n,t)},useTransition:function(){var n=AS(Dl)[0],t=Yn().memoizedState;return[typeof n=="boolean"?n:Xg(n),t]},useSyncExternalStore:BU,useId:s6,useHostTransitionStatus:xR,useFormState:Y4,useActionState:Y4,useOptimistic:function(n,t){var e=Yn();return GU(e,an,n,t)},useMemoCache:gR,useCacheRefresh:l6};wR.useEffectEvent=WU;var d6={readContext:Gi,use:px,useCallback:e6,useContext:Gi,useEffect:yR,useImperativeHandle:t6,useInsertionEffect:QU,useLayoutEffect:JU,useMemo:n6,useReducer:MC,useRef:ZU,useState:function(){return MC(Dl)},useDebugValue:bR,useDeferredValue:function(n,t){var e=Yn();return an===null?SR(e,n,t):i6(e,an.memoizedState,n,t)},useTransition:function(){var n=MC(Dl)[0],t=Yn().memoizedState;return[typeof n=="boolean"?n:Xg(n),t]},useSyncExternalStore:BU,useId:s6,useHostTransitionStatus:xR,useFormState:K4,useActionState:K4,useOptimistic:function(n,t){var e=Yn();return an!==null?GU(e,an,n,t):(e.baseState=n,[n,e.queue.dispatch])},useMemoCache:gR,useCacheRefresh:l6};d6.useEffectEvent=WU;function _C(n,t,e,i){t=n.memoizedState,e=e(i,t),e=e==null?t:An({},t,e),n.memoizedState=e,n.lanes===0&&(n.updateQueue.baseState=e)}var wD={enqueueSetState:function(n,t,e){n=n._reactInternals;var i=Sr(),r=Wu(i);r.payload=t,e!=null&&(r.callback=e),t=Qu(n,r,i),t!==null&&(ja(t,n,i),gg(t,n,i))},enqueueReplaceState:function(n,t,e){n=n._reactInternals;var i=Sr(),r=Wu(i);r.tag=1,r.payload=t,e!=null&&(r.callback=e),t=Qu(n,r,i),t!==null&&(ja(t,n,i),gg(t,n,i))},enqueueForceUpdate:function(n,t){n=n._reactInternals;var e=Sr(),i=Wu(e);i.tag=2,t!=null&&(i.callback=t),t=Qu(n,i,e),t!==null&&(ja(t,n,e),gg(t,n,e))}};function W4(n,t,e,i,r,s,l){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(i,s,l):t.prototype&&t.prototype.isPureReactComponent?!Rg(e,i)||!Rg(r,s):!0}function Q4(n,t,e,i){n=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(e,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(e,i),t.state!==n&&wD.enqueueReplaceState(t,t.state,null)}function Yf(n,t){var e=t;if("ref"in t){e={};for(var i in t)i!=="ref"&&(e[i]=t[i])}if(n=n.defaultProps){e===t&&(e=An({},e));for(var r in n)e[r]===void 0&&(e[r]=n[r])}return e}function p6(n){LS(n)}function m6(n){console.error(n)}function g6(n){LS(n)}function IS(n,t){try{var e=n.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function J4(n,t,e){try{var i=n.onCaughtError;i(e.value,{componentStack:e.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function ED(n,t,e){return e=Wu(e),e.tag=3,e.payload={element:null},e.callback=function(){IS(n,t)},e}function v6(n){return n=Wu(n),n.tag=3,n}function y6(n,t,e,i){var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=i.value;n.payload=function(){return r(s)},n.callback=function(){J4(t,e,i)}}var l=e.stateNode;l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){J4(t,e,i),typeof r!="function"&&(Ju===null?Ju=new Set([this]):Ju.add(this));var c=i.stack;this.componentDidCatch(i.value,{componentStack:c!==null?c:""})})}function TY(n,t,e,i,r){if(e.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=e.alternate,t!==null&&Cp(t,e,r,!0),e=Ar.current,e!==null){switch(e.tag){case 31:case 13:return to===null?WS():e.alternate===null&&Hn===0&&(Hn=3),e.flags&=-257,e.flags|=65536,e.lanes=r,i===HS?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([i]):t.add(i),qC(n,i,r)),!1;case 22:return e.flags|=65536,i===HS?e.flags|=16384:(t=e.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},e.updateQueue=t):(e=t.retryQueue,e===null?t.retryQueue=new Set([i]):e.add(i)),qC(n,i,r)),!1}throw Error(st(435,e.tag))}return qC(n,i,r),WS(),!1}if(Ne)return t=Ar.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,i!==fD&&(n=Error(st(422),{cause:i}),Mg(Jr(n,e)))):(i!==fD&&(t=Error(st(423),{cause:i}),Mg(Jr(t,e))),n=n.current.alternate,n.flags|=65536,r&=-r,n.lanes|=r,i=Jr(i,e),r=ED(n.stateNode,i,r),OC(n,r),Hn!==4&&(Hn=2)),!1;var s=Error(st(520),{cause:i});if(s=Jr(s,e),Ag===null?Ag=[s]:Ag.push(s),Hn!==4&&(Hn=2),t===null)return!0;i=Jr(i,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,n=r&-r,e.lanes|=n,n=ED(e.stateNode,i,n),OC(e,n),!1;case 1:if(t=e.type,s=e.stateNode,(e.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(Ju===null||!Ju.has(s))))return e.flags|=65536,r&=-r,e.lanes|=r,r=v6(r),y6(r,n,e,i),OC(e,r),!1}e=e.return}while(e!==null);return!1}var ER=Error(st(461)),li=!1;function ji(n,t,e,i){t.child=n===null?FU(t,null,e,i):If(t,n.child,e,i)}function $4(n,t,e,i,r){e=e.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 Gf(t),i=hR(n,t,e,l,s,r),c=dR(),n!==null&&!li?(pR(n,t,r),Rl(n,t,r)):(Ne&&c&&aR(t),t.flags|=1,ji(n,t,i,r),t.child)}function tL(n,t,e,i,r){if(n===null){var s=e.type;return typeof s=="function"&&!iR(s)&&s.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=s,b6(n,t,s,i,r)):(n=SS(e.type,null,i,t,t.mode,r),n.ref=t.ref,n.return=t,t.child=n)}if(s=n.child,!TR(n,r)){var l=s.memoizedProps;if(e=e.compare,e=e!==null?e:Rg,e(l,i)&&n.ref===t.ref)return Rl(n,t,r)}return t.flags|=1,n=Al(s,i),n.ref=t.ref,n.return=t,t.child=n}function b6(n,t,e,i,r){if(n!==null){var s=n.memoizedProps;if(Rg(s,i)&&n.ref===t.ref)if(li=!1,t.pendingProps=i=s,TR(n,r))(n.flags&131072)!==0&&(li=!0);else return t.lanes=n.lanes,Rl(n,t,r)}return TD(n,t,e,i,r)}function S6(n,t,e,i){var r=i.children,s=n!==null?n.memoizedState:null;if(n===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|e:e,n!==null){for(i=t.child=n.child,r=0;i!==null;)r=r|i.lanes|i.childLanes,i=i.sibling;i=r&~s}else i=0,t.child=null;return eL(n,t,s,e,i)}if((e&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},n!==null&&xS(t,s!==null?s.cachePool:null),s!==null?V4(t,s):yD(),kU(t);else return i=t.lanes=536870912,eL(n,t,s!==null?s.baseLanes|e:e,e,i)}else s!==null?(xS(t,s.cachePool),V4(t,s),ju(t),t.memoizedState=null):(n!==null&&xS(t,null),yD(),ju(t));return ji(n,t,r,e),t.child}function cg(n,t){return n!==null&&n.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function eL(n,t,e,i,r){var s=sR();return s=s===null?null:{parent:si._currentValue,pool:s},t.memoizedState={baseLanes:e,cachePool:s},n!==null&&xS(t,null),yD(),kU(t),n!==null&&Cp(n,t,i,!0),t.childLanes=r,null}function ES(n,t){return t=XS({mode:t.mode,children:t.children},n.mode),t.ref=n.ref,n.child=t,t.return=n,t}function nL(n,t,e){return If(t,n.child,null,e),n=ES(t,t.pendingProps),n.flags|=2,pr(t),t.memoizedState=null,n}function CY(n,t,e){var i=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,n===null){if(Ne){if(i.mode==="hidden")return n=ES(t,i),t.lanes=536870912,cg(null,n);if(bD(t),(n=xn)?(n=hB(n,$r),n=n!==null&&n.data==="&"?n:null,n!==null&&(t.memoizedState={dehydrated:n,treeContext:ic!==null?{id:gs,overflow:vs}:null,retryLane:536870912,hydrationErrors:null},e=TU(n),e.return=t,t.child=e,Vi=t,xn=null)):n=null,n===null)throw ac(t);return t.lanes=536870912,null}return ES(t,i)}var s=n.memoizedState;if(s!==null){var l=s.dehydrated;if(bD(t),r)if(t.flags&256)t.flags&=-257,t=nL(n,t,e);else if(t.memoizedState!==null)t.child=n.child,t.flags|=128,t=null;else throw Error(st(558));else if(li||Cp(n,t,e,!1),r=(e&n.childLanes)!==0,li||r){if(i=un,i!==null&&(l=QL(i,e),l!==0&&l!==s.retryLane))throw s.retryLane=l,Qf(n,l),ja(i,n,l),ER;WS(),t=nL(n,t,e)}else n=s.treeContext,xn=eo(l.nextSibling),Vi=t,Ne=!0,Zu=null,$r=!1,n!==null&&DU(t,n),t=ES(t,i),t.flags|=4096;return t}return n=Al(n.child,{mode:i.mode,children:i.children}),n.ref=t.ref,t.child=n,n.return=t,n}function TS(n,t){var e=t.ref;if(e===null)n!==null&&n.ref!==null&&(t.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(st(284));(n===null||n.ref!==e)&&(t.flags|=4194816)}}function TD(n,t,e,i,r){return Gf(t),e=hR(n,t,e,i,void 0,r),i=dR(),n!==null&&!li?(pR(n,t,r),Rl(n,t,r)):(Ne&&i&&aR(t),t.flags|=1,ji(n,t,e,r),t.child)}function iL(n,t,e,i,r,s){return Gf(t),t.updateQueue=null,e=UU(t,i,e,r),LU(n),i=dR(),n!==null&&!li?(pR(n,t,s),Rl(n,t,s)):(Ne&&i&&aR(t),t.flags|=1,ji(n,t,e,s),t.child)}function aL(n,t,e,i,r){if(Gf(t),t.stateNode===null){var s=np,l=e.contextType;typeof l=="object"&&l!==null&&(s=Gi(l)),s=new e(i,s),t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=wD,t.stateNode=s,s._reactInternals=t,s=t.stateNode,s.props=i,s.state=t.memoizedState,s.refs={},uR(t),l=e.contextType,s.context=typeof l=="object"&&l!==null?Gi(l):np,s.state=t.memoizedState,l=e.getDerivedStateFromProps,typeof l=="function"&&(_C(t,e,l,i),s.state=t.memoizedState),typeof e.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&&wD.enqueueReplaceState(s,s.state,null),yg(t,i,s,r),vg(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(n===null){s=t.stateNode;var c=t.memoizedProps,h=Yf(e,c);s.props=h;var d=s.context,m=e.contextType;l=np,typeof m=="object"&&m!==null&&(l=Gi(m));var v=e.getDerivedStateFromProps;m=typeof v=="function"||typeof s.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,m||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(c||d!==l)&&Q4(t,s,i,l),Bu=!1;var y=t.memoizedState;s.state=y,yg(t,i,s,r),vg(),d=t.memoizedState,c||y!==d||Bu?(typeof v=="function"&&(_C(t,e,v,i),d=t.memoizedState),(h=Bu||W4(t,e,h,i,y,d,l))?(m||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=d),s.props=i,s.state=d,s.context=l,i=h):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{s=t.stateNode,gD(n,t),l=t.memoizedProps,m=Yf(e,l),s.props=m,v=t.pendingProps,y=s.context,d=e.contextType,h=np,typeof d=="object"&&d!==null&&(h=Gi(d)),c=e.getDerivedStateFromProps,(d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==v||y!==h)&&Q4(t,s,i,h),Bu=!1,y=t.memoizedState,s.state=y,yg(t,i,s,r),vg();var b=t.memoizedState;l!==v||y!==b||Bu||n!==null&&n.dependencies!==null&&PS(n.dependencies)?(typeof c=="function"&&(_C(t,e,c,i),b=t.memoizedState),(m=Bu||W4(t,e,m,i,y,b,h)||n!==null&&n.dependencies!==null&&PS(n.dependencies))?(d||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,b,h),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,b,h)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===n.memoizedProps&&y===n.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===n.memoizedProps&&y===n.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=b),s.props=i,s.state=b,s.context=h,i=m):(typeof s.componentDidUpdate!="function"||l===n.memoizedProps&&y===n.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===n.memoizedProps&&y===n.memoizedState||(t.flags|=1024),i=!1)}return s=i,TS(n,t),i=(t.flags&128)!==0,s||i?(s=t.stateNode,e=i&&typeof e.getDerivedStateFromError!="function"?null:s.render(),t.flags|=1,n!==null&&i?(t.child=If(t,n.child,null,r),t.child=If(t,null,e,r)):ji(n,t,e,r),t.memoizedState=s.state,n=t.child):n=Rl(n,t,r),n}function rL(n,t,e,i){return Vf(),t.flags|=256,ji(n,t,e,i),t.child}var FC={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function NC(n){return{baseLanes:n,cachePool:OU()}}function zC(n,t,e){return n=n!==null?n.childLanes&~e:0,t&&(n|=gr),n}function x6(n,t,e){var i=t.pendingProps,r=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=n!==null&&n.memoizedState===null?!1:(Xn.current&2)!==0),l&&(r=!0,t.flags&=-129),l=(t.flags&32)!==0,t.flags&=-33,n===null){if(Ne){if(r?Hu(t):ju(t),(n=xn)?(n=hB(n,$r),n=n!==null&&n.data!=="&"?n:null,n!==null&&(t.memoizedState={dehydrated:n,treeContext:ic!==null?{id:gs,overflow:vs}:null,retryLane:536870912,hydrationErrors:null},e=TU(n),e.return=t,t.child=e,Vi=t,xn=null)):n=null,n===null)throw ac(t);return PD(n)?t.lanes=32:t.lanes=536870912,null}var c=i.children;return i=i.fallback,r?(ju(t),r=t.mode,c=XS({mode:"hidden",children:c},r),i=Pf(i,r,e,null),c.return=t,i.return=t,c.sibling=i,t.child=c,i=t.child,i.memoizedState=NC(e),i.childLanes=zC(n,l,e),t.memoizedState=FC,cg(null,i)):(Hu(t),CD(t,c))}var h=n.memoizedState;if(h!==null&&(c=h.dehydrated,c!==null)){if(s)t.flags&256?(Hu(t),t.flags&=-257,t=kC(n,t,e)):t.memoizedState!==null?(ju(t),t.child=n.child,t.flags|=128,t=null):(ju(t),c=i.fallback,r=t.mode,i=XS({mode:"visible",children:i.children},r),c=Pf(c,r,e,null),c.flags|=2,i.return=t,c.return=t,i.sibling=c,t.child=i,If(t,n.child,null,e),i=t.child,i.memoizedState=NC(e),i.childLanes=zC(n,l,e),t.memoizedState=FC,t=cg(null,i));else if(Hu(t),PD(c)){if(l=c.nextSibling&&c.nextSibling.dataset,l)var d=l.dgst;l=d,i=Error(st(419)),i.stack="",i.digest=l,Mg({value:i,source:null,stack:null}),t=kC(n,t,e)}else if(li||Cp(n,t,e,!1),l=(e&n.childLanes)!==0,li||l){if(l=un,l!==null&&(i=QL(l,e),i!==0&&i!==h.retryLane))throw h.retryLane=i,Qf(n,i),ja(l,n,i),ER;BD(c)||WS(),t=kC(n,t,e)}else BD(c)?(t.flags|=192,t.child=n.child,t=null):(n=h.treeContext,xn=eo(c.nextSibling),Vi=t,Ne=!0,Zu=null,$r=!1,n!==null&&DU(t,n),t=CD(t,i.children),t.flags|=4096);return t}return r?(ju(t),c=i.fallback,r=t.mode,h=n.child,d=h.sibling,i=Al(h,{mode:"hidden",children:i.children}),i.subtreeFlags=h.subtreeFlags&65011712,d!==null?c=Al(d,c):(c=Pf(c,r,e,null),c.flags|=2),c.return=t,i.return=t,i.sibling=c,t.child=i,cg(null,i),i=t.child,c=n.child.memoizedState,c===null?c=NC(e):(r=c.cachePool,r!==null?(h=si._currentValue,r=r.parent!==h?{parent:h,pool:h}:r):r=OU(),c={baseLanes:c.baseLanes|e,cachePool:r}),i.memoizedState=c,i.childLanes=zC(n,l,e),t.memoizedState=FC,cg(n.child,i)):(Hu(t),e=n.child,n=e.sibling,e=Al(e,{mode:"visible",children:i.children}),e.return=t,e.sibling=null,n!==null&&(l=t.deletions,l===null?(t.deletions=[n],t.flags|=16):l.push(n)),t.child=e,t.memoizedState=null,e)}function CD(n,t){return t=XS({mode:"visible",children:t},n.mode),t.return=n,n.child=t}function XS(n,t){return n=mr(22,n,null,t),n.lanes=0,n}function kC(n,t,e){return If(t,n.child,null,e),n=CD(t,t.pendingProps.children),n.flags|=2,t.memoizedState=null,n}function oL(n,t,e){n.lanes|=t;var i=n.alternate;i!==null&&(i.lanes|=t),dD(n.return,t,e)}function LC(n,t,e,i,r,s){var l=n.memoizedState;l===null?n.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:e,tailMode:r,treeForkCount:s}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=i,l.tail=e,l.tailMode=r,l.treeForkCount=s)}function A6(n,t,e){var i=t.pendingProps,r=i.revealOrder,s=i.tail;i=i.children;var l=Xn.current,c=(l&2)!==0;if(c?(l=l&1|2,t.flags|=128):l&=1,pn(Xn,l),ji(n,t,i,e),i=Ne?Og:0,!c&&n!==null&&(n.flags&128)!==0)t:for(n=t.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&oL(n,e,t);else if(n.tag===19)oL(n,e,t);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break t;for(;n.sibling===null;){if(n.return===null||n.return===t)break t;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(r){case"forwards":for(e=t.child,r=null;e!==null;)n=e.alternate,n!==null&&qS(n)===null&&(r=e),e=e.sibling;e=r,e===null?(r=t.child,t.child=null):(r=e.sibling,e.sibling=null),LC(t,!1,r,e,s,i);break;case"backwards":case"unstable_legacy-backwards":for(e=null,r=t.child,t.child=null;r!==null;){if(n=r.alternate,n!==null&&qS(n)===null){t.child=r;break}n=r.sibling,r.sibling=e,e=r,r=n}LC(t,!0,e,null,s,i);break;case"together":LC(t,!1,null,null,void 0,i);break;default:t.memoizedState=null}return t.child}function Rl(n,t,e){if(n!==null&&(t.dependencies=n.dependencies),oc|=t.lanes,(e&t.childLanes)===0)if(n!==null){if(Cp(n,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(n!==null&&t.child!==n.child)throw Error(st(153));if(t.child!==null){for(n=t.child,e=Al(n,n.pendingProps),t.child=e,e.return=t;n.sibling!==null;)n=n.sibling,e=e.sibling=Al(n,n.pendingProps),e.return=t;e.sibling=null}return t.child}function TR(n,t){return(n.lanes&t)!==0?!0:(n=n.dependencies,!!(n!==null&&PS(n)))}function DY(n,t,e){switch(t.tag){case 3:FS(t,t.stateNode.containerInfo),Pu(t,si,n.memoizedState.cache),Vf();break;case 27:case 5:tD(t);break;case 4:FS(t,t.stateNode.containerInfo);break;case 10:Pu(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,bD(t),null;break;case 13:var i=t.memoizedState;if(i!==null)return i.dehydrated!==null?(Hu(t),t.flags|=128,null):(e&t.child.childLanes)!==0?x6(n,t,e):(Hu(t),n=Rl(n,t,e),n!==null?n.sibling:null);Hu(t);break;case 19:var r=(n.flags&128)!==0;if(i=(e&t.childLanes)!==0,i||(Cp(n,t,e,!1),i=(e&t.childLanes)!==0),r){if(i)return A6(n,t,e);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),pn(Xn,Xn.current),i)break;return null;case 22:return t.lanes=0,S6(n,t,e,t.pendingProps);case 24:Pu(t,si,n.memoizedState.cache)}return Rl(n,t,e)}function w6(n,t,e){if(n!==null)if(n.memoizedProps!==t.pendingProps)li=!0;else{if(!TR(n,e)&&(t.flags&128)===0)return li=!1,DY(n,t,e);li=(n.flags&131072)!==0}else li=!1,Ne&&(t.flags&1048576)!==0&&CU(t,Og,t.index);switch(t.lanes=0,t.tag){case 16:t:{var i=t.pendingProps;if(n=Lf(t.elementType),t.type=n,typeof n=="function")iR(n)?(i=Yf(n,i),t.tag=1,t=aL(null,t,n,i,e)):(t.tag=0,t=TD(null,t,n,i,e));else{if(n!=null){var r=n.$$typeof;if(r===VD){t.tag=11,t=$4(null,t,n,i,e);break t}else if(r===GD){t.tag=14,t=tL(null,t,n,i,e);break t}}throw t=JC(n)||n,Error(st(306,t,""))}}return t;case 0:return TD(n,t,t.type,t.pendingProps,e);case 1:return i=t.type,r=Yf(i,t.pendingProps),aL(n,t,i,r,e);case 3:t:{if(FS(t,t.stateNode.containerInfo),n===null)throw Error(st(387));i=t.pendingProps;var s=t.memoizedState;r=s.element,gD(n,t),yg(t,i,null,e);var l=t.memoizedState;if(i=l.cache,Pu(t,si,i),i!==s.cache&&pD(t,[si],e,!0),vg(),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=rL(n,t,i,e);break t}else if(i!==r){r=Jr(Error(st(424)),t),Mg(r),t=rL(n,t,i,e);break t}else for(n=t.stateNode.containerInfo,n.nodeType===9?n=n.body:n=n.nodeName==="HTML"?n.ownerDocument.body:n,xn=eo(n.firstChild),Vi=t,Ne=!0,Zu=null,$r=!0,e=FU(t,null,i,e),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling;else{if(Vf(),i===r){t=Rl(n,t,e);break t}ji(n,t,i,e)}t=t.child}return t;case 26:return TS(n,t),n===null?(e=RL(t.type,null,t.pendingProps,null))?t.memoizedState=e:Ne||(e=t.type,n=t.pendingProps,i=tx(Ku.current).createElement(e),i[qi]=t,i[qa]=n,Ii(i,e,n),Fi(i),t.stateNode=i):t.memoizedState=RL(t.type,n.memoizedProps,t.pendingProps,n.memoizedState),null;case 27:return tD(t),n===null&&Ne&&(i=t.stateNode=dB(t.type,t.pendingProps,Ku.current),Vi=t,$r=!0,r=xn,lc(t.type)?(HD=r,xn=eo(i.firstChild)):xn=r),ji(n,t,t.pendingProps.children,e),TS(n,t),n===null&&(t.flags|=4194304),t.child;case 5:return n===null&&Ne&&((r=i=xn)&&(i=eK(i,t.type,t.pendingProps,$r),i!==null?(t.stateNode=i,Vi=t,xn=eo(i.firstChild),$r=!1,r=!0):r=!1),r||ac(t)),tD(t),r=t.type,s=t.pendingProps,l=n!==null?n.memoizedProps:null,i=s.children,LD(r,s)?i=null:l!==null&&LD(r,l)&&(t.flags|=32),t.memoizedState!==null&&(r=hR(n,t,yY,null,null,e),Lg._currentValue=r),TS(n,t),ji(n,t,i,e),t.child;case 6:return n===null&&Ne&&((n=e=xn)&&(e=nK(e,t.pendingProps,$r),e!==null?(t.stateNode=e,Vi=t,xn=null,n=!0):n=!1),n||ac(t)),null;case 13:return x6(n,t,e);case 4:return FS(t,t.stateNode.containerInfo),i=t.pendingProps,n===null?t.child=If(t,null,i,e):ji(n,t,i,e),t.child;case 11:return $4(n,t,t.type,t.pendingProps,e);case 7:return ji(n,t,t.pendingProps,e),t.child;case 8:return ji(n,t,t.pendingProps.children,e),t.child;case 12:return ji(n,t,t.pendingProps.children,e),t.child;case 10:return i=t.pendingProps,Pu(t,t.type,i.value),ji(n,t,i.children,e),t.child;case 9:return r=t.type._context,i=t.pendingProps.children,Gf(t),r=Gi(r),i=i(r),t.flags|=1,ji(n,t,i,e),t.child;case 14:return tL(n,t,t.type,t.pendingProps,e);case 15:return b6(n,t,t.type,t.pendingProps,e);case 19:return A6(n,t,e);case 31:return CY(n,t,e);case 22:return S6(n,t,e,t.pendingProps);case 24:return Gf(t),i=Gi(si),n===null?(r=sR(),r===null&&(r=un,s=oR(),r.pooledCache=s,s.refCount++,s!==null&&(r.pooledCacheLanes|=e),r=s),t.memoizedState={parent:i,cache:r},uR(t),Pu(t,si,r)):((n.lanes&e)!==0&&(gD(n,t),yg(t,null,null,e),vg()),r=n.memoizedState,s=t.memoizedState,r.parent!==i?(r={parent:i,cache:i},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),Pu(t,si,i)):(i=s.cache,Pu(t,si,i),i!==r.cache&&pD(t,[si],e,!0))),ji(n,t,t.pendingProps.children,e),t.child;case 29:throw t.pendingProps}throw Error(st(156,t.tag))}function dl(n){n.flags|=4}function UC(n,t,e,i,r){if((t=(n.mode&32)!==0)&&(t=!1),t){if(n.flags|=16777216,(r&335544128)===r)if(n.stateNode.complete)n.flags|=8192;else if(Y6())n.flags|=8192;else throw jf=HS,lR}else n.flags&=-16777217}function sL(n,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!gB(t))if(Y6())n.flags|=8192;else throw jf=HS,lR}function uS(n,t){t!==null&&(n.flags|=4),n.flags&16384&&(t=n.tag!==22?KL():536870912,n.lanes|=t,bp|=t)}function ig(n,t){if(!Ne)switch(n.tailMode){case"hidden":t=n.tail;for(var e=null;t!==null;)t.alternate!==null&&(e=t),t=t.sibling;e===null?n.tail=null:e.sibling=null;break;case"collapsed":e=n.tail;for(var i=null;e!==null;)e.alternate!==null&&(i=e),e=e.sibling;i===null?t||n.tail===null?n.tail=null:n.tail.sibling=null:i.sibling=null}}function Sn(n){var t=n.alternate!==null&&n.alternate.child===n.child,e=0,i=0;if(t)for(var r=n.child;r!==null;)e|=r.lanes|r.childLanes,i|=r.subtreeFlags&65011712,i|=r.flags&65011712,r.return=n,r=r.sibling;else for(r=n.child;r!==null;)e|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=n,r=r.sibling;return n.subtreeFlags|=i,n.childLanes=e,t}function RY(n,t,e){var i=t.pendingProps;switch(rR(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Sn(t),null;case 1:return Sn(t),null;case 3:return e=t.stateNode,i=null,n!==null&&(i=n.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),wl(si),dp(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(n===null||n.child===null)&&(Gd(t)?dl(t):n===null||n.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,RC())),Sn(t),null;case 26:var r=t.type,s=t.memoizedState;return n===null?(dl(t),s!==null?(Sn(t),sL(t,s)):(Sn(t),UC(t,r,null,i,e))):s?s!==n.memoizedState?(dl(t),Sn(t),sL(t,s)):(Sn(t),t.flags&=-16777217):(n=n.memoizedProps,n!==i&&dl(t),Sn(t),UC(t,r,n,i,e)),null;case 27:if(NS(t),e=Ku.current,r=t.type,n!==null&&t.stateNode!=null)n.memoizedProps!==i&&dl(t);else{if(!i){if(t.stateNode===null)throw Error(st(166));return Sn(t),null}n=bs.current,Gd(t)?L4(t,n):(n=dB(r,i,e),t.stateNode=n,dl(t))}return Sn(t),null;case 5:if(NS(t),r=t.type,n!==null&&t.stateNode!=null)n.memoizedProps!==i&&dl(t);else{if(!i){if(t.stateNode===null)throw Error(st(166));return Sn(t),null}if(s=bs.current,Gd(t))L4(t,s);else{var l=tx(Ku.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[qi]=t,s[qa]=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(Ii(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&&dl(t)}}return Sn(t),UC(t,t.type,n===null?null:n.memoizedProps,t.pendingProps,e),null;case 6:if(n&&t.stateNode!=null)n.memoizedProps!==i&&dl(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(st(166));if(n=Ku.current,Gd(t)){if(n=t.stateNode,e=t.memoizedProps,i=null,r=Vi,r!==null)switch(r.tag){case 27:case 5:i=r.memoizedProps}n[qi]=t,n=!!(n.nodeValue===e||i!==null&&i.suppressHydrationWarning===!0||uB(n.nodeValue,e)),n||ac(t,!0)}else n=tx(n).createTextNode(i),n[qi]=t,t.stateNode=n}return Sn(t),null;case 31:if(e=t.memoizedState,n===null||n.memoizedState!==null){if(i=Gd(t),e!==null){if(n===null){if(!i)throw Error(st(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(st(557));n[qi]=t}else Vf(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Sn(t),n=!1}else e=RC(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=e),n=!0;if(!n)return t.flags&256?(pr(t),t):(pr(t),null);if((t.flags&128)!==0)throw Error(st(558))}return Sn(t),null;case 13:if(i=t.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(r=Gd(t),i!==null&&i.dehydrated!==null){if(n===null){if(!r)throw Error(st(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(st(317));r[qi]=t}else Vf(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Sn(t),r=!1}else r=RC(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(pr(t),t):(pr(t),null)}return pr(t),(t.flags&128)!==0?(t.lanes=e,t):(e=i!==null,n=n!==null&&n.memoizedState!==null,e&&(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)),e!==n&&e&&(t.child.flags|=8192),uS(t,t.updateQueue),Sn(t),null);case 4:return dp(),n===null&&FR(t.stateNode.containerInfo),Sn(t),null;case 10:return wl(t.type),Sn(t),null;case 19:if(Ni(Xn),i=t.memoizedState,i===null)return Sn(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)ig(i,!1);else{if(Hn!==0||n!==null&&(n.flags&128)!==0)for(n=t.child;n!==null;){if(s=qS(n),s!==null){for(t.flags|=128,ig(i,!1),n=s.updateQueue,t.updateQueue=n,uS(t,n),t.subtreeFlags=0,n=e,e=t.child;e!==null;)EU(e,n),e=e.sibling;return pn(Xn,Xn.current&1|2),Ne&&vl(t,i.treeForkCount),t.child}n=n.sibling}i.tail!==null&&vr()>KS&&(t.flags|=128,r=!0,ig(i,!1),t.lanes=4194304)}else{if(!r)if(n=qS(s),n!==null){if(t.flags|=128,r=!0,n=n.updateQueue,t.updateQueue=n,uS(t,n),ig(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!Ne)return Sn(t),null}else 2*vr()-i.renderingStartTime>KS&&e!==536870912&&(t.flags|=128,r=!0,ig(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=vr(),n.sibling=null,e=Xn.current,pn(Xn,r?e&1|2:e&1),Ne&&vl(t,i.treeForkCount),n):(Sn(t),null);case 22:case 23:return pr(t),cR(),i=t.memoizedState!==null,n!==null?n.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(e&536870912)!==0&&(t.flags&128)===0&&(Sn(t),t.subtreeFlags&6&&(t.flags|=8192)):Sn(t),e=t.updateQueue,e!==null&&uS(t,e.retryQueue),e=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==e&&(t.flags|=2048),n!==null&&Ni(Hf),null;case 24:return e=null,n!==null&&(e=n.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),wl(si),Sn(t),null;case 25:return null;case 30:return null}throw Error(st(156,t.tag))}function OY(n,t){switch(rR(t),t.tag){case 1:return n=t.flags,n&65536?(t.flags=n&-65537|128,t):null;case 3:return wl(si),dp(),n=t.flags,(n&65536)!==0&&(n&128)===0?(t.flags=n&-65537|128,t):null;case 26:case 27:case 5:return NS(t),null;case 31:if(t.memoizedState!==null){if(pr(t),t.alternate===null)throw Error(st(340));Vf()}return n=t.flags,n&65536?(t.flags=n&-65537|128,t):null;case 13:if(pr(t),n=t.memoizedState,n!==null&&n.dehydrated!==null){if(t.alternate===null)throw Error(st(340));Vf()}return n=t.flags,n&65536?(t.flags=n&-65537|128,t):null;case 19:return Ni(Xn),null;case 4:return dp(),null;case 10:return wl(t.type),null;case 22:case 23:return pr(t),cR(),n!==null&&Ni(Hf),n=t.flags,n&65536?(t.flags=n&-65537|128,t):null;case 24:return wl(si),null;case 25:return null;default:return null}}function E6(n,t){switch(rR(t),t.tag){case 3:wl(si),dp();break;case 26:case 27:case 5:NS(t);break;case 4:dp();break;case 31:t.memoizedState!==null&&pr(t);break;case 13:pr(t);break;case 19:Ni(Xn);break;case 10:wl(t.type);break;case 22:case 23:pr(t),cR(),n!==null&&Ni(Hf);break;case 24:wl(si)}}function Yg(n,t){try{var e=t.updateQueue,i=e!==null?e.lastEffect:null;if(i!==null){var r=i.next;e=r;do{if((e.tag&n)===n){i=void 0;var s=e.create,l=e.inst;i=s(),l.destroy=i}e=e.next}while(e!==r)}}catch(c){Qe(t,t.return,c)}}function rc(n,t,e){try{var i=t.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var s=r.next;i=s;do{if((i.tag&n)===n){var l=i.inst,c=l.destroy;if(c!==void 0){l.destroy=void 0,r=t;var h=e,d=c;try{d()}catch(m){Qe(r,h,m)}}}i=i.next}while(i!==s)}}catch(m){Qe(t,t.return,m)}}function T6(n){var t=n.updateQueue;if(t!==null){var e=n.stateNode;try{zU(t,e)}catch(i){Qe(n,n.return,i)}}}function C6(n,t,e){e.props=Yf(n.type,n.memoizedProps),e.state=n.memoizedState;try{e.componentWillUnmount()}catch(i){Qe(n,t,i)}}function Sg(n,t){try{var e=n.ref;if(e!==null){switch(n.tag){case 26:case 27:case 5:var i=n.stateNode;break;case 30:i=n.stateNode;break;default:i=n.stateNode}typeof e=="function"?n.refCleanup=e(i):e.current=i}}catch(r){Qe(n,t,r)}}function ys(n,t){var e=n.ref,i=n.refCleanup;if(e!==null)if(typeof i=="function")try{i()}catch(r){Qe(n,t,r)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(r){Qe(n,t,r)}else e.current=null}function D6(n){var t=n.type,e=n.memoizedProps,i=n.stateNode;try{t:switch(t){case"button":case"input":case"select":case"textarea":e.autoFocus&&i.focus();break t;case"img":e.src?i.src=e.src:e.srcSet&&(i.srcset=e.srcSet)}}catch(r){Qe(n,n.return,r)}}function BC(n,t,e){try{var i=n.stateNode;ZY(i,n.type,e,t),i[qa]=t}catch(r){Qe(n,n.return,r)}}function R6(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&lc(n.type)||n.tag===4}function PC(n){t:for(;;){for(;n.sibling===null;){if(n.return===null||R6(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&lc(n.type)||n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function DD(n,t,e){var i=n.tag;if(i===5||i===6)n=n.stateNode,t?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(n,t):(t=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.appendChild(n),e=e._reactRootContainer,e!=null||t.onclick!==null||(t.onclick=Sl));else if(i!==4&&(i===27&&lc(n.type)&&(e=n.stateNode,t=null),n=n.child,n!==null))for(DD(n,t,e),n=n.sibling;n!==null;)DD(n,t,e),n=n.sibling}function YS(n,t,e){var i=n.tag;if(i===5||i===6)n=n.stateNode,t?e.insertBefore(n,t):e.appendChild(n);else if(i!==4&&(i===27&&lc(n.type)&&(e=n.stateNode),n=n.child,n!==null))for(YS(n,t,e),n=n.sibling;n!==null;)YS(n,t,e),n=n.sibling}function O6(n){var t=n.stateNode,e=n.memoizedProps;try{for(var i=n.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);Ii(t,i,e),t[qi]=n,t[qa]=e}catch(s){Qe(n,n.return,s)}}var yl=!1,oi=!1,HC=!1,lL=typeof WeakSet=="function"?WeakSet:Set,_i=null;function MY(n,t){if(n=n.containerInfo,zD=ax,n=gU(n),tR(n)){if("selectionStart"in n)var e={start:n.selectionStart,end:n.selectionEnd};else t:{e=(e=n.ownerDocument)&&e.defaultView||window;var i=e.getSelection&&e.getSelection();if(i&&i.rangeCount!==0){e=i.anchorNode;var r=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{e.nodeType,s.nodeType}catch{e=null;break t}var l=0,c=-1,h=-1,d=0,m=0,v=n,y=null;e:for(;;){for(var b;v!==e||r!==0&&v.nodeType!==3||(c=l+r),v!==s||i!==0&&v.nodeType!==3||(h=l+i),v.nodeType===3&&(l+=v.nodeValue.length),(b=v.firstChild)!==null;)y=v,v=b;for(;;){if(v===n)break e;if(y===e&&++d===r&&(c=l),y===s&&++m===i&&(h=l),(b=v.nextSibling)!==null)break;v=y,y=v.parentNode}v=b}e=c===-1||h===-1?null:{start:c,end:h}}else e=null}e=e||{start:0,end:0}}else e=null;for(kD={focusedElem:n,selectionRange:e},ax=!1,_i=t;_i!==null;)if(t=_i,n=t.child,(t.subtreeFlags&1028)!==0&&n!==null)n.return=t,_i=n;else for(;_i!==null;){switch(t=_i,s=t.alternate,n=t.flags,t.tag){case 0:if((n&4)!==0&&(n=t.updateQueue,n=n!==null?n.events:null,n!==null))for(e=0;e<n.length;e++)r=n[e],r.ref.impl=r.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&s!==null){n=void 0,e=t,r=s.memoizedProps,s=s.memoizedState,i=e.stateNode;try{var x=Yf(e.type,r);n=i.getSnapshotBeforeUpdate(x,s),i.__reactInternalSnapshotBeforeUpdate=n}catch(E){Qe(e,e.return,E)}}break;case 3:if((n&1024)!==0){if(n=t.stateNode.containerInfo,e=n.nodeType,e===9)UD(n);else if(e===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":UD(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(st(163))}if(n=t.sibling,n!==null){n.return=t.return,_i=n;break}_i=t.return}}function M6(n,t,e){var i=e.flags;switch(e.tag){case 0:case 11:case 15:ml(n,e),i&4&&Yg(5,e);break;case 1:if(ml(n,e),i&4)if(n=e.stateNode,t===null)try{n.componentDidMount()}catch(l){Qe(e,e.return,l)}else{var r=Yf(e.type,t.memoizedProps);t=t.memoizedState;try{n.componentDidUpdate(r,t,n.__reactInternalSnapshotBeforeUpdate)}catch(l){Qe(e,e.return,l)}}i&64&&T6(e),i&512&&Sg(e,e.return);break;case 3:if(ml(n,e),i&64&&(n=e.updateQueue,n!==null)){if(t=null,e.child!==null)switch(e.child.tag){case 27:case 5:t=e.child.stateNode;break;case 1:t=e.child.stateNode}try{zU(n,t)}catch(l){Qe(e,e.return,l)}}break;case 27:t===null&&i&4&&O6(e);case 26:case 5:ml(n,e),t===null&&i&4&&D6(e),i&512&&Sg(e,e.return);break;case 12:ml(n,e);break;case 31:ml(n,e),i&4&&N6(n,e);break;case 13:ml(n,e),i&4&&z6(n,e),i&64&&(n=e.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(e=PY.bind(null,e),iK(n,e))));break;case 22:if(i=e.memoizedState!==null||yl,!i){t=t!==null&&t.memoizedState!==null||oi,r=yl;var s=oi;yl=i,(oi=t)&&!s?gl(n,e,(e.subtreeFlags&8772)!==0):ml(n,e),yl=r,oi=s}break;case 30:break;default:ml(n,e)}}function _6(n){var t=n.alternate;t!==null&&(n.alternate=null,_6(t)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(t=n.stateNode,t!==null&&KD(t)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var Rn=null,Pa=!1;function pl(n,t,e){for(e=e.child;e!==null;)F6(n,t,e),e=e.sibling}function F6(n,t,e){if(yr&&typeof yr.onCommitFiberUnmount=="function")try{yr.onCommitFiberUnmount(Hg,e)}catch{}switch(e.tag){case 26:oi||ys(e,t),pl(n,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:oi||ys(e,t);var i=Rn,r=Pa;lc(e.type)&&(Rn=e.stateNode,Pa=!1),pl(n,t,e),Eg(e.stateNode),Rn=i,Pa=r;break;case 5:oi||ys(e,t);case 6:if(i=Rn,r=Pa,Rn=null,pl(n,t,e),Rn=i,Pa=r,Rn!==null)if(Pa)try{(Rn.nodeType===9?Rn.body:Rn.nodeName==="HTML"?Rn.ownerDocument.body:Rn).removeChild(e.stateNode)}catch(s){Qe(e,t,s)}else try{Rn.removeChild(e.stateNode)}catch(s){Qe(e,t,s)}break;case 18:Rn!==null&&(Pa?(n=Rn,wL(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,e.stateNode),wp(n)):wL(Rn,e.stateNode));break;case 4:i=Rn,r=Pa,Rn=e.stateNode.containerInfo,Pa=!0,pl(n,t,e),Rn=i,Pa=r;break;case 0:case 11:case 14:case 15:rc(2,e,t),oi||rc(4,e,t),pl(n,t,e);break;case 1:oi||(ys(e,t),i=e.stateNode,typeof i.componentWillUnmount=="function"&&C6(e,t,i)),pl(n,t,e);break;case 21:pl(n,t,e);break;case 22:oi=(i=oi)||e.memoizedState!==null,pl(n,t,e),oi=i;break;default:pl(n,t,e)}}function N6(n,t){if(t.memoizedState===null&&(n=t.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{wp(n)}catch(e){Qe(t,t.return,e)}}}function z6(n,t){if(t.memoizedState===null&&(n=t.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{wp(n)}catch(e){Qe(t,t.return,e)}}function _Y(n){switch(n.tag){case 31:case 13:case 19:var t=n.stateNode;return t===null&&(t=n.stateNode=new lL),t;case 22:return n=n.stateNode,t=n._retryCache,t===null&&(t=n._retryCache=new lL),t;default:throw Error(st(435,n.tag))}}function cS(n,t){var e=_Y(n);t.forEach(function(i){if(!e.has(i)){e.add(i);var r=HY.bind(null,n,i);i.then(r,r)}})}function Ua(n,t){var e=t.deletions;if(e!==null)for(var i=0;i<e.length;i++){var r=e[i],s=n,l=t,c=l;t:for(;c!==null;){switch(c.tag){case 27:if(lc(c.type)){Rn=c.stateNode,Pa=!1;break t}break;case 5:Rn=c.stateNode,Pa=!1;break t;case 3:case 4:Rn=c.stateNode.containerInfo,Pa=!0;break t}c=c.return}if(Rn===null)throw Error(st(160));F6(s,l,r),Rn=null,Pa=!1,s=r.alternate,s!==null&&(s.return=null),r.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)k6(t,n),t=t.sibling}var Oo=null;function k6(n,t){var e=n.alternate,i=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Ua(t,n),Ba(n),i&4&&(rc(3,n,n.return),Yg(3,n),rc(5,n,n.return));break;case 1:Ua(t,n),Ba(n),i&512&&(oi||e===null||ys(e,e.return)),i&64&&yl&&(n=n.updateQueue,n!==null&&(i=n.callbacks,i!==null&&(e=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=e===null?i:e.concat(i))));break;case 26:var r=Oo;if(Ua(t,n),Ba(n),i&512&&(oi||e===null||ys(e,e.return)),i&4){var s=e!==null?e.memoizedState:null;if(i=n.memoizedState,e===null)if(i===null)if(n.stateNode===null){t:{i=n.type,e=n.memoizedProps,r=r.ownerDocument||r;e:switch(i){case"title":s=r.getElementsByTagName("title")[0],(!s||s[Vg]||s[qi]||s.namespaceURI==="http://www.w3.org/2000/svg"||s.hasAttribute("itemprop"))&&(s=r.createElement(i),r.head.insertBefore(s,r.querySelector("head > title"))),Ii(s,i,e),s[qi]=n,Fi(s),i=s;break t;case"link":var l=ML("link","href",r).get(i+(e.href||""));if(l){for(var c=0;c<l.length;c++)if(s=l[c],s.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&s.getAttribute("rel")===(e.rel==null?null:e.rel)&&s.getAttribute("title")===(e.title==null?null:e.title)&&s.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){l.splice(c,1);break e}}s=r.createElement(i),Ii(s,i,e),r.head.appendChild(s);break;case"meta":if(l=ML("meta","content",r).get(i+(e.content||""))){for(c=0;c<l.length;c++)if(s=l[c],s.getAttribute("content")===(e.content==null?null:""+e.content)&&s.getAttribute("name")===(e.name==null?null:e.name)&&s.getAttribute("property")===(e.property==null?null:e.property)&&s.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&s.getAttribute("charset")===(e.charSet==null?null:e.charSet)){l.splice(c,1);break e}}s=r.createElement(i),Ii(s,i,e),r.head.appendChild(s);break;default:throw Error(st(468,i))}s[qi]=n,Fi(s),i=s}n.stateNode=i}else _L(r,n.type,n.stateNode);else n.stateNode=OL(r,i,n.memoizedProps);else s!==i?(s===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):s.count--,i===null?_L(r,n.type,n.stateNode):OL(r,i,n.memoizedProps)):i===null&&n.stateNode!==null&&BC(n,n.memoizedProps,e.memoizedProps)}break;case 27:Ua(t,n),Ba(n),i&512&&(oi||e===null||ys(e,e.return)),e!==null&&i&4&&BC(n,n.memoizedProps,e.memoizedProps);break;case 5:if(Ua(t,n),Ba(n),i&512&&(oi||e===null||ys(e,e.return)),n.flags&32){r=n.stateNode;try{mp(r,"")}catch(x){Qe(n,n.return,x)}}i&4&&n.stateNode!=null&&(r=n.memoizedProps,BC(n,r,e!==null?e.memoizedProps:r)),i&1024&&(HC=!0);break;case 6:if(Ua(t,n),Ba(n),i&4){if(n.stateNode===null)throw Error(st(162));i=n.memoizedProps,e=n.stateNode;try{e.nodeValue=i}catch(x){Qe(n,n.return,x)}}break;case 3:if(RS=null,r=Oo,Oo=ex(t.containerInfo),Ua(t,n),Oo=r,Ba(n),i&4&&e!==null&&e.memoizedState.isDehydrated)try{wp(t.containerInfo)}catch(x){Qe(n,n.return,x)}HC&&(HC=!1,L6(n));break;case 4:i=Oo,Oo=ex(n.stateNode.containerInfo),Ua(t,n),Ba(n),Oo=i;break;case 12:Ua(t,n),Ba(n);break;case 31:Ua(t,n),Ba(n),i&4&&(i=n.updateQueue,i!==null&&(n.updateQueue=null,cS(n,i)));break;case 13:Ua(t,n),Ba(n),n.child.flags&8192&&n.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(vx=vr()),i&4&&(i=n.updateQueue,i!==null&&(n.updateQueue=null,cS(n,i)));break;case 22:r=n.memoizedState!==null;var h=e!==null&&e.memoizedState!==null,d=yl,m=oi;if(yl=d||r,oi=m||h,Ua(t,n),oi=m,yl=d,Ba(n),i&8192)t:for(t=n.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,r&&(e===null||h||yl||oi||Uf(n)),e=null,t=n;;){if(t.tag===5||t.tag===26){if(e===null){h=e=t;try{if(s=h.stateNode,r)l=s.style,typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none";else{c=h.stateNode;var v=h.memoizedProps.style,y=v!=null&&v.hasOwnProperty("display")?v.display:null;c.style.display=y==null||typeof y=="boolean"?"":(""+y).trim()}}catch(x){Qe(h,h.return,x)}}}else if(t.tag===6){if(e===null){h=t;try{h.stateNode.nodeValue=r?"":h.memoizedProps}catch(x){Qe(h,h.return,x)}}}else if(t.tag===18){if(e===null){h=t;try{var b=h.stateNode;r?EL(b,!0):EL(h.stateNode,!1)}catch(x){Qe(h,h.return,x)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===n)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break t;for(;t.sibling===null;){if(t.return===null||t.return===n)break t;e===t&&(e=null),t=t.return}e===t&&(e=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=n.updateQueue,i!==null&&(e=i.retryQueue,e!==null&&(i.retryQueue=null,cS(n,e))));break;case 19:Ua(t,n),Ba(n),i&4&&(i=n.updateQueue,i!==null&&(n.updateQueue=null,cS(n,i)));break;case 30:break;case 21:break;default:Ua(t,n),Ba(n)}}function Ba(n){var t=n.flags;if(t&2){try{for(var e,i=n.return;i!==null;){if(R6(i)){e=i;break}i=i.return}if(e==null)throw Error(st(160));switch(e.tag){case 27:var r=e.stateNode,s=PC(n);YS(n,s,r);break;case 5:var l=e.stateNode;e.flags&32&&(mp(l,""),e.flags&=-33);var c=PC(n);YS(n,c,l);break;case 3:case 4:var h=e.stateNode.containerInfo,d=PC(n);DD(n,d,h);break;default:throw Error(st(161))}}catch(m){Qe(n,n.return,m)}n.flags&=-3}t&4096&&(n.flags&=-4097)}function L6(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var t=n;L6(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),n=n.sibling}}function ml(n,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)M6(n,t.alternate,t),t=t.sibling}function Uf(n){for(n=n.child;n!==null;){var t=n;switch(t.tag){case 0:case 11:case 14:case 15:rc(4,t,t.return),Uf(t);break;case 1:ys(t,t.return);var e=t.stateNode;typeof e.componentWillUnmount=="function"&&C6(t,t.return,e),Uf(t);break;case 27:Eg(t.stateNode);case 26:case 5:ys(t,t.return),Uf(t);break;case 22:t.memoizedState===null&&Uf(t);break;case 30:Uf(t);break;default:Uf(t)}n=n.sibling}}function gl(n,t,e){for(e=e&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var i=t.alternate,r=n,s=t,l=s.flags;switch(s.tag){case 0:case 11:case 15:gl(r,s,e),Yg(4,s);break;case 1:if(gl(r,s,e),i=s,r=i.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(d){Qe(i,i.return,d)}if(i=s,r=i.updateQueue,r!==null){var c=i.stateNode;try{var h=r.shared.hiddenCallbacks;if(h!==null)for(r.shared.hiddenCallbacks=null,r=0;r<h.length;r++)NU(h[r],c)}catch(d){Qe(i,i.return,d)}}e&&l&64&&T6(s),Sg(s,s.return);break;case 27:O6(s);case 26:case 5:gl(r,s,e),e&&i===null&&l&4&&D6(s),Sg(s,s.return);break;case 12:gl(r,s,e);break;case 31:gl(r,s,e),e&&l&4&&N6(r,s);break;case 13:gl(r,s,e),e&&l&4&&z6(r,s);break;case 22:s.memoizedState===null&&gl(r,s,e),Sg(s,s.return);break;case 30:break;default:gl(r,s,e)}t=t.sibling}}function CR(n,t){var e=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(e=n.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==e&&(n!=null&&n.refCount++,e!=null&&Ig(e))}function DR(n,t){n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==n&&(t.refCount++,n!=null&&Ig(n))}function Ro(n,t,e,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)U6(n,t,e,i),t=t.sibling}function U6(n,t,e,i){var r=t.flags;switch(t.tag){case 0:case 11:case 15:Ro(n,t,e,i),r&2048&&Yg(9,t);break;case 1:Ro(n,t,e,i);break;case 3:Ro(n,t,e,i),r&2048&&(n=null,t.alternate!==null&&(n=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==n&&(t.refCount++,n!=null&&Ig(n)));break;case 12:if(r&2048){Ro(n,t,e,i),n=t.stateNode;try{var s=t.memoizedProps,l=s.id,c=s.onPostCommit;typeof c=="function"&&c(l,t.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(h){Qe(t,t.return,h)}}else Ro(n,t,e,i);break;case 31:Ro(n,t,e,i);break;case 13:Ro(n,t,e,i);break;case 23:break;case 22:s=t.stateNode,l=t.alternate,t.memoizedState!==null?s._visibility&2?Ro(n,t,e,i):xg(n,t):s._visibility&2?Ro(n,t,e,i):(s._visibility|=2,Xd(n,t,e,i,(t.subtreeFlags&10256)!==0||!1)),r&2048&&CR(l,t);break;case 24:Ro(n,t,e,i),r&2048&&DR(t.alternate,t);break;default:Ro(n,t,e,i)}}function Xd(n,t,e,i,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var s=n,l=t,c=e,h=i,d=l.flags;switch(l.tag){case 0:case 11:case 15:Xd(s,l,c,h,r),Yg(8,l);break;case 23:break;case 22:var m=l.stateNode;l.memoizedState!==null?m._visibility&2?Xd(s,l,c,h,r):xg(s,l):(m._visibility|=2,Xd(s,l,c,h,r)),r&&d&2048&&CR(l.alternate,l);break;case 24:Xd(s,l,c,h,r),r&&d&2048&&DR(l.alternate,l);break;default:Xd(s,l,c,h,r)}t=t.sibling}}function xg(n,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var e=n,i=t,r=i.flags;switch(i.tag){case 22:xg(e,i),r&2048&&CR(i.alternate,i);break;case 24:xg(e,i),r&2048&&DR(i.alternate,i);break;default:xg(e,i)}t=t.sibling}}var fg=8192;function Id(n,t,e){if(n.subtreeFlags&fg)for(n=n.child;n!==null;)B6(n,t,e),n=n.sibling}function B6(n,t,e){switch(n.tag){case 26:Id(n,t,e),n.flags&fg&&n.memoizedState!==null&&mK(e,Oo,n.memoizedState,n.memoizedProps);break;case 5:Id(n,t,e);break;case 3:case 4:var i=Oo;Oo=ex(n.stateNode.containerInfo),Id(n,t,e),Oo=i;break;case 22:n.memoizedState===null&&(i=n.alternate,i!==null&&i.memoizedState!==null?(i=fg,fg=16777216,Id(n,t,e),fg=i):Id(n,t,e));break;default:Id(n,t,e)}}function P6(n){var t=n.alternate;if(t!==null&&(n=t.child,n!==null)){t.child=null;do t=n.sibling,n.sibling=null,n=t;while(n!==null)}}function ag(n){var t=n.deletions;if((n.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var i=t[e];_i=i,j6(i,n)}P6(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)H6(n),n=n.sibling}function H6(n){switch(n.tag){case 0:case 11:case 15:ag(n),n.flags&2048&&rc(9,n,n.return);break;case 3:ag(n);break;case 12:ag(n);break;case 22:var t=n.stateNode;n.memoizedState!==null&&t._visibility&2&&(n.return===null||n.return.tag!==13)?(t._visibility&=-3,CS(n)):ag(n);break;default:ag(n)}}function CS(n){var t=n.deletions;if((n.flags&16)!==0){if(t!==null)for(var e=0;e<t.length;e++){var i=t[e];_i=i,j6(i,n)}P6(n)}for(n=n.child;n!==null;){switch(t=n,t.tag){case 0:case 11:case 15:rc(8,t,t.return),CS(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,CS(t));break;default:CS(t)}n=n.sibling}}function j6(n,t){for(;_i!==null;){var e=_i;switch(e.tag){case 0:case 11:case 15:rc(8,e,t);break;case 23:case 22:if(e.memoizedState!==null&&e.memoizedState.cachePool!==null){var i=e.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:Ig(e.memoizedState.cache)}if(i=e.child,i!==null)i.return=e,_i=i;else t:for(e=n;_i!==null;){i=_i;var r=i.sibling,s=i.return;if(_6(i),i===e){_i=null;break t}if(r!==null){r.return=s,_i=r;break t}_i=s}}}var FY={getCacheForType:function(n){var t=Gi(si),e=t.data.get(n);return e===void 0&&(e=n(),t.data.set(n,e)),e},cacheSignal:function(){return Gi(si).controller.signal}},NY=typeof WeakMap=="function"?WeakMap:Map,qe=0,un=null,De=null,Re=0,We=0,dr=null,Iu=!1,Rp=!1,RR=!1,Ol=0,Hn=0,oc=0,qf=0,OR=0,gr=0,bp=0,Ag=null,Ha=null,RD=!1,vx=0,q6=0,KS=1/0,ZS=null,Ju=null,yi=0,$u=null,Sp=null,El=0,OD=0,MD=null,V6=null,wg=0,_D=null;function Sr(){return(qe&2)!==0&&Re!==0?Re&-Re:Yt.T!==null?_R():JL()}function G6(){if(gr===0)if((Re&536870912)===0||Ne){var n=tS;tS<<=1,(tS&3932160)===0&&(tS=262144),gr=n}else gr=536870912;return n=Ar.current,n!==null&&(n.flags|=32),gr}function ja(n,t,e){(n===un&&(We===2||We===9)||n.cancelPendingCommit!==null)&&(xp(n,0),Xu(n,Re,gr,!1)),qg(n,e),((qe&2)===0||n!==un)&&(n===un&&((qe&2)===0&&(qf|=e),Hn===4&&Xu(n,Re,gr,!1)),xs(n))}function I6(n,t,e){if((qe&6)!==0)throw Error(st(327));var i=!e&&(t&127)===0&&(t&n.expiredLanes)===0||jg(n,t),r=i?LY(n,t):jC(n,t,!0),s=i;do{if(r===0){Rp&&!i&&Xu(n,t,0,!1);break}else{if(e=n.current.alternate,s&&!zY(e)){r=jC(n,t,!1),s=!1;continue}if(r===2){if(s=t,n.errorRecoveryDisabledLanes&s)var l=0;else l=n.pendingLanes&-536870913,l=l!==0?l:l&536870912?536870912:0;if(l!==0){t=l;t:{var c=n;r=Ag;var h=c.current.memoizedState.isDehydrated;if(h&&(xp(c,l).flags|=256),l=jC(c,l,!1),l!==2){if(RR&&!h){c.errorRecoveryDisabledLanes|=s,qf|=s,r=4;break t}s=Ha,Ha=r,s!==null&&(Ha===null?Ha=s:Ha.push.apply(Ha,s))}r=l}if(s=!1,r!==2)continue}}if(r===1){xp(n,0),Xu(n,t,0,!0);break}t:{switch(i=n,s=r,s){case 0:case 1:throw Error(st(345));case 4:if((t&4194048)!==t)break;case 6:Xu(i,t,gr,!Iu);break t;case 2:Ha=null;break;case 3:case 5:break;default:throw Error(st(329))}if((t&62914560)===t&&(r=vx+300-vr(),10<r)){if(Xu(i,t,gr,!Iu),ox(i,0,!0)!==0)break t;El=t,i.timeoutHandle=fB(uL.bind(null,i,e,Ha,ZS,RD,t,gr,qf,bp,Iu,s,"Throttled",-0,0),r);break t}uL(i,e,Ha,ZS,RD,t,gr,qf,bp,Iu,s,null,-0,0)}}break}while(!0);xs(n)}function uL(n,t,e,i,r,s,l,c,h,d,m,v,y,b){if(n.timeoutHandle=-1,v=t.subtreeFlags,v&8192||(v&16785408)===16785408){v={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Sl},B6(t,s,v);var x=(s&62914560)===s?vx-vr():(s&4194048)===s?q6-vr():0;if(x=gK(v,x),x!==null){El=s,n.cancelPendingCommit=x(fL.bind(null,n,t,s,e,i,r,l,c,h,m,v,null,y,b)),Xu(n,s,l,!d);return}}fL(n,t,s,e,i,r,l,c,h)}function zY(n){for(var t=n;;){var e=t.tag;if((e===0||e===11||e===15)&&t.flags&16384&&(e=t.updateQueue,e!==null&&(e=e.stores,e!==null)))for(var i=0;i<e.length;i++){var r=e[i],s=r.getSnapshot;r=r.value;try{if(!xr(s(),r))return!1}catch{return!1}}if(e=t.child,t.subtreeFlags&16384&&e!==null)e.return=t,t=e;else{if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Xu(n,t,e,i){t&=~OR,t&=~qf,n.suspendedLanes|=t,n.pingedLanes&=~t,i&&(n.warmLanes|=t),i=n.expirationTimes;for(var r=t;0<r;){var s=31-br(r),l=1<<s;i[s]=-1,r&=~l}e!==0&&ZL(n,e,t)}function yx(){return(qe&6)===0?(Kg(0,!1),!1):!0}function MR(){if(De!==null){if(We===0)var n=De.return;else n=De,xl=Jf=null,mR(n),cp=null,_g=0,n=De;for(;n!==null;)E6(n.alternate,n),n=n.return;De=null}}function xp(n,t){var e=n.timeoutHandle;e!==-1&&(n.timeoutHandle=-1,JY(e)),e=n.cancelPendingCommit,e!==null&&(n.cancelPendingCommit=null,e()),El=0,MR(),un=n,De=e=Al(n.current,null),Re=t,We=0,dr=null,Iu=!1,Rp=jg(n,t),RR=!1,bp=gr=OR=qf=oc=Hn=0,Ha=Ag=null,RD=!1,(t&8)!==0&&(t|=t&32);var i=n.entangledLanes;if(i!==0)for(n=n.entanglements,i&=t;0<i;){var r=31-br(i),s=1<<r;t|=n[r],i&=~s}return Ol=t,cx(),e}function X6(n,t){ce=null,Yt.H=Ng,t===Dp||t===hx?(t=j4(),We=3):t===lR?(t=j4(),We=4):We=t===ER?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,dr=t,De===null&&(Hn=1,IS(n,Jr(t,n.current)))}function Y6(){var n=Ar.current;return n===null?!0:(Re&4194048)===Re?to===null:(Re&62914560)===Re||(Re&536870912)!==0?n===to:!1}function K6(){var n=Yt.H;return Yt.H=Ng,n===null?Ng:n}function Z6(){var n=Yt.A;return Yt.A=FY,n}function WS(){Hn=4,Iu||(Re&4194048)!==Re&&Ar.current!==null||(Rp=!0),(oc&134217727)===0&&(qf&134217727)===0||un===null||Xu(un,Re,gr,!1)}function jC(n,t,e){var i=qe;qe|=2;var r=K6(),s=Z6();(un!==n||Re!==t)&&(ZS=null,xp(n,t)),t=!1;var l=Hn;t:do try{if(We!==0&&De!==null){var c=De,h=dr;switch(We){case 8:MR(),l=6;break t;case 3:case 2:case 9:case 6:Ar.current===null&&(t=!0);var d=We;if(We=0,dr=null,rp(n,c,h,d),e&&Rp){l=0;break t}break;default:d=We,We=0,dr=null,rp(n,c,h,d)}}kY(),l=Hn;break}catch(m){X6(n,m)}while(!0);return t&&n.shellSuspendCounter++,xl=Jf=null,qe=i,Yt.H=r,Yt.A=s,De===null&&(un=null,Re=0,cx()),l}function kY(){for(;De!==null;)W6(De)}function LY(n,t){var e=qe;qe|=2;var i=K6(),r=Z6();un!==n||Re!==t?(ZS=null,KS=vr()+500,xp(n,t)):Rp=jg(n,t);t:do try{if(We!==0&&De!==null){t=De;var s=dr;e:switch(We){case 1:We=0,dr=null,rp(n,t,s,1);break;case 2:case 9:if(H4(s)){We=0,dr=null,cL(t);break}t=function(){We!==2&&We!==9||un!==n||(We=7),xs(n)},s.then(t,t);break t;case 3:We=7;break t;case 4:We=5;break t;case 7:H4(s)?(We=0,dr=null,cL(t)):(We=0,dr=null,rp(n,t,s,7));break;case 5:var l=null;switch(De.tag){case 26:l=De.memoizedState;case 5:case 27:var c=De;if(l?gB(l):c.stateNode.complete){We=0,dr=null;var h=c.sibling;if(h!==null)De=h;else{var d=c.return;d!==null?(De=d,bx(d)):De=null}break e}}We=0,dr=null,rp(n,t,s,5);break;case 6:We=0,dr=null,rp(n,t,s,6);break;case 8:MR(),Hn=6;break t;default:throw Error(st(462))}}UY();break}catch(m){X6(n,m)}while(!0);return xl=Jf=null,Yt.H=i,Yt.A=r,qe=e,De!==null?0:(un=null,Re=0,cx(),Hn)}function UY(){for(;De!==null&&!oX();)W6(De)}function W6(n){var t=w6(n.alternate,n,Ol);n.memoizedProps=n.pendingProps,t===null?bx(n):De=t}function cL(n){var t=n,e=t.alternate;switch(t.tag){case 15:case 0:t=iL(e,t,t.pendingProps,t.type,void 0,Re);break;case 11:t=iL(e,t,t.pendingProps,t.type.render,t.ref,Re);break;case 5:mR(t);default:E6(e,t),t=De=EU(t,Ol),t=w6(e,t,Ol)}n.memoizedProps=n.pendingProps,t===null?bx(n):De=t}function rp(n,t,e,i){xl=Jf=null,mR(t),cp=null,_g=0;var r=t.return;try{if(TY(n,r,t,e,Re)){Hn=1,IS(n,Jr(e,n.current)),De=null;return}}catch(s){if(r!==null)throw De=r,s;Hn=1,IS(n,Jr(e,n.current)),De=null;return}t.flags&32768?(Ne||i===1?n=!0:Rp||(Re&536870912)!==0?n=!1:(Iu=n=!0,(i===2||i===9||i===3||i===6)&&(i=Ar.current,i!==null&&i.tag===13&&(i.flags|=16384))),Q6(t,n)):bx(t)}function bx(n){var t=n;do{if((t.flags&32768)!==0){Q6(t,Iu);return}n=t.return;var e=RY(t.alternate,t,Ol);if(e!==null){De=e;return}if(t=t.sibling,t!==null){De=t;return}De=t=n}while(t!==null);Hn===0&&(Hn=5)}function Q6(n,t){do{var e=OY(n.alternate,n);if(e!==null){e.flags&=32767,De=e;return}if(e=n.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(n=n.sibling,n!==null)){De=n;return}De=n=e}while(n!==null);Hn=6,De=null}function fL(n,t,e,i,r,s,l,c,h){n.cancelPendingCommit=null;do Sx();while(yi!==0);if((qe&6)!==0)throw Error(st(327));if(t!==null){if(t===n.current)throw Error(st(177));if(s=t.lanes|t.childLanes,s|=eR,gX(n,e,s,l,c,h),n===un&&(De=un=null,Re=0),Sp=t,$u=n,El=e,OD=s,MD=r,V6=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,jY(zS,function(){return nB(),null})):(n.callbackNode=null,n.callbackPriority=0),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=Yt.T,Yt.T=null,r=Ve.p,Ve.p=2,l=qe,qe|=4;try{MY(n,t,e)}finally{qe=l,Ve.p=r,Yt.T=i}}yi=1,J6(),$6(),tB()}}function J6(){if(yi===1){yi=0;var n=$u,t=Sp,e=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||e){e=Yt.T,Yt.T=null;var i=Ve.p;Ve.p=2;var r=qe;qe|=4;try{k6(t,n);var s=kD,l=gU(n.containerInfo),c=s.focusedElem,h=s.selectionRange;if(l!==c&&c&&c.ownerDocument&&mU(c.ownerDocument.documentElement,c)){if(h!==null&&tR(c)){var d=h.start,m=h.end;if(m===void 0&&(m=d),"selectionStart"in c)c.selectionStart=d,c.selectionEnd=Math.min(m,c.value.length);else{var v=c.ownerDocument||document,y=v&&v.defaultView||window;if(y.getSelection){var b=y.getSelection(),x=c.textContent.length,E=Math.min(h.start,x),C=h.end===void 0?E:Math.min(h.end,x);!b.extend&&E>C&&(l=C,C=E,E=l);var A=N4(c,E),T=N4(c,C);if(A&&T&&(b.rangeCount!==1||b.anchorNode!==A.node||b.anchorOffset!==A.offset||b.focusNode!==T.node||b.focusOffset!==T.offset)){var D=v.createRange();D.setStart(A.node,A.offset),b.removeAllRanges(),E>C?(b.addRange(D),b.extend(T.node,T.offset)):(D.setEnd(T.node,T.offset),b.addRange(D))}}}}for(v=[],b=c;b=b.parentNode;)b.nodeType===1&&v.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<v.length;c++){var O=v[c];O.element.scrollLeft=O.left,O.element.scrollTop=O.top}}ax=!!zD,kD=zD=null}finally{qe=r,Ve.p=i,Yt.T=e}}n.current=t,yi=2}}function $6(){if(yi===2){yi=0;var n=$u,t=Sp,e=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||e){e=Yt.T,Yt.T=null;var i=Ve.p;Ve.p=2;var r=qe;qe|=4;try{M6(n,t.alternate,t)}finally{qe=r,Ve.p=i,Yt.T=e}}yi=3}}function tB(){if(yi===4||yi===3){yi=0,sX();var n=$u,t=Sp,e=El,i=V6;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?yi=5:(yi=0,Sp=$u=null,eB(n,n.pendingLanes));var r=n.pendingLanes;if(r===0&&(Ju=null),YD(e),t=t.stateNode,yr&&typeof yr.onCommitFiberRoot=="function")try{yr.onCommitFiberRoot(Hg,t,void 0,(t.current.flags&128)===128)}catch{}if(i!==null){t=Yt.T,r=Ve.p,Ve.p=2,Yt.T=null;try{for(var s=n.onRecoverableError,l=0;l<i.length;l++){var c=i[l];s(c.value,{componentStack:c.stack})}}finally{Yt.T=t,Ve.p=r}}(El&3)!==0&&Sx(),xs(n),r=n.pendingLanes,(e&261930)!==0&&(r&42)!==0?n===_D?wg++:(wg=0,_D=n):wg=0,Kg(0,!1)}}function eB(n,t){(n.pooledCacheLanes&=t)===0&&(t=n.pooledCache,t!=null&&(n.pooledCache=null,Ig(t)))}function Sx(){return J6(),$6(),tB(),nB()}function nB(){if(yi!==5)return!1;var n=$u,t=OD;OD=0;var e=YD(El),i=Yt.T,r=Ve.p;try{Ve.p=32>e?32:e,Yt.T=null,e=MD,MD=null;var s=$u,l=El;if(yi=0,Sp=$u=null,El=0,(qe&6)!==0)throw Error(st(331));var c=qe;if(qe|=4,H6(s.current),U6(s,s.current,l,e),qe=c,Kg(0,!1),yr&&typeof yr.onPostCommitFiberRoot=="function")try{yr.onPostCommitFiberRoot(Hg,s)}catch{}return!0}finally{Ve.p=r,Yt.T=i,eB(n,t)}}function hL(n,t,e){t=Jr(e,t),t=ED(n.stateNode,t,2),n=Qu(n,t,2),n!==null&&(qg(n,2),xs(n))}function Qe(n,t,e){if(n.tag===3)hL(n,n,e);else for(;t!==null;){if(t.tag===3){hL(t,n,e);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(Ju===null||!Ju.has(i))){n=Jr(e,n),e=v6(2),i=Qu(t,e,2),i!==null&&(y6(e,i,t,n),qg(i,2),xs(i));break}}t=t.return}}function qC(n,t,e){var i=n.pingCache;if(i===null){i=n.pingCache=new NY;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(e)||(RR=!0,r.add(e),n=BY.bind(null,n,t,e),t.then(n,n))}function BY(n,t,e){var i=n.pingCache;i!==null&&i.delete(t),n.pingedLanes|=n.suspendedLanes&e,n.warmLanes&=~e,un===n&&(Re&e)===e&&(Hn===4||Hn===3&&(Re&62914560)===Re&&300>vr()-vx?(qe&2)===0&&xp(n,0):OR|=e,bp===Re&&(bp=0)),xs(n)}function iB(n,t){t===0&&(t=KL()),n=Qf(n,t),n!==null&&(qg(n,t),xs(n))}function PY(n){var t=n.memoizedState,e=0;t!==null&&(e=t.retryLane),iB(n,e)}function HY(n,t){var e=0;switch(n.tag){case 31:case 13:var i=n.stateNode,r=n.memoizedState;r!==null&&(e=r.retryLane);break;case 19:i=n.stateNode;break;case 22:i=n.stateNode._retryCache;break;default:throw Error(st(314))}i!==null&&i.delete(t),iB(n,e)}function jY(n,t){return ID(n,t)}var QS=null,Yd=null,FD=!1,JS=!1,VC=!1,Yu=0;function xs(n){n!==Yd&&n.next===null&&(Yd===null?QS=Yd=n:Yd=Yd.next=n),JS=!0,FD||(FD=!0,VY())}function Kg(n,t){if(!VC&&JS){VC=!0;do for(var e=!1,i=QS;i!==null;){if(!t)if(n!==0){var r=i.pendingLanes;if(r===0)var s=0;else{var l=i.suspendedLanes,c=i.pingedLanes;s=(1<<31-br(42|n)+1)-1,s&=r&~(l&~c),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(e=!0,dL(i,s))}else s=Re,s=ox(i,i===un?s:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(s&3)===0||jg(i,s)||(e=!0,dL(i,s));i=i.next}while(e);VC=!1}}function qY(){aB()}function aB(){JS=FD=!1;var n=0;Yu!==0&&QY()&&(n=Yu);for(var t=vr(),e=null,i=QS;i!==null;){var r=i.next,s=rB(i,t);s===0?(i.next=null,e===null?QS=r:e.next=r,r===null&&(Yd=e)):(e=i,(n!==0||(s&3)!==0)&&(JS=!0)),i=r}yi!==0&&yi!==5||Kg(n,!1),Yu!==0&&(Yu=0)}function rB(n,t){for(var e=n.suspendedLanes,i=n.pingedLanes,r=n.expirationTimes,s=n.pendingLanes&-62914561;0<s;){var l=31-br(s),c=1<<l,h=r[l];h===-1?((c&e)===0||(c&i)!==0)&&(r[l]=mX(c,t)):h<=t&&(n.expiredLanes|=c),s&=~c}if(t=un,e=Re,e=ox(n,n===t?e:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),i=n.callbackNode,e===0||n===t&&(We===2||We===9)||n.cancelPendingCommit!==null)return i!==null&&i!==null&&yC(i),n.callbackNode=null,n.callbackPriority=0;if((e&3)===0||jg(n,e)){if(t=e&-e,t===n.callbackPriority)return t;switch(i!==null&&yC(i),YD(e)){case 2:case 8:e=XL;break;case 32:e=zS;break;case 268435456:e=YL;break;default:e=zS}return i=oB.bind(null,n),e=ID(e,i),n.callbackPriority=t,n.callbackNode=e,t}return i!==null&&i!==null&&yC(i),n.callbackPriority=2,n.callbackNode=null,2}function oB(n,t){if(yi!==0&&yi!==5)return n.callbackNode=null,n.callbackPriority=0,null;var e=n.callbackNode;if(Sx()&&n.callbackNode!==e)return null;var i=Re;return i=ox(n,n===un?i:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),i===0?null:(I6(n,i,t),rB(n,vr()),n.callbackNode!=null&&n.callbackNode===e?oB.bind(null,n):null)}function dL(n,t){if(Sx())return null;I6(n,t,!0)}function VY(){$Y(function(){(qe&6)!==0?ID(IL,qY):aB()})}function _R(){if(Yu===0){var n=gp;n===0&&(n=$1,$1<<=1,($1&261888)===0&&($1=256)),Yu=n}return Yu}function pL(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:vS(""+n)}function mL(n,t){var e=t.ownerDocument.createElement("input");return e.name=t.name,e.value=t.value,n.id&&e.setAttribute("form",n.id),t.parentNode.insertBefore(e,t),n=new FormData(n),e.parentNode.removeChild(e),n}function GY(n,t,e,i,r){if(t==="submit"&&e&&e.stateNode===r){var s=pL((r[qa]||null).action),l=i.submitter;l&&(t=(t=l[qa]||null)?pL(t.formAction):l.getAttribute("formAction"),t!==null&&(s=t,l=null));var c=new sx("action","action",null,i,r);n.push({event:c,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Yu!==0){var h=l?mL(r,l):new FormData(r);AD(e,{pending:!0,data:h,method:r.method,action:s},null,h)}}else typeof s=="function"&&(c.preventDefault(),h=l?mL(r,l):new FormData(r),AD(e,{pending:!0,data:h,method:r.method,action:s},s,h))},currentTarget:r}]})}}for(fS=0;fS<cD.length;fS++)hS=cD[fS],gL=hS.toLowerCase(),vL=hS[0].toUpperCase()+hS.slice(1),Mo(gL,"on"+vL);var hS,gL,vL,fS;Mo(yU,"onAnimationEnd");Mo(bU,"onAnimationIteration");Mo(SU,"onAnimationStart");Mo("dblclick","onDoubleClick");Mo("focusin","onFocus");Mo("focusout","onBlur");Mo(lY,"onTransitionRun");Mo(uY,"onTransitionStart");Mo(cY,"onTransitionCancel");Mo(xU,"onTransitionEnd");pp("onMouseEnter",["mouseout","mouseover"]);pp("onMouseLeave",["mouseout","mouseover"]);pp("onPointerEnter",["pointerout","pointerover"]);pp("onPointerLeave",["pointerout","pointerover"]);Kf("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Kf("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Kf("onBeforeInput",["compositionend","keypress","textInput","paste"]);Kf("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Kf("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Kf("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zg="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(" "),IY=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(zg));function sB(n,t){t=(t&4)!==0;for(var e=0;e<n.length;e++){var i=n[e],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],h=c.instance,d=c.currentTarget;if(c=c.listener,h!==s&&r.isPropagationStopped())break t;s=c,r.currentTarget=d;try{s(r)}catch(m){LS(m)}r.currentTarget=null,s=h}else for(l=0;l<i.length;l++){if(c=i[l],h=c.instance,d=c.currentTarget,c=c.listener,h!==s&&r.isPropagationStopped())break t;s=c,r.currentTarget=d;try{s(r)}catch(m){LS(m)}r.currentTarget=null,s=h}}}}function Ce(n,t){var e=t[nD];e===void 0&&(e=t[nD]=new Set);var i=n+"__bubble";e.has(i)||(lB(t,n,2,!1),e.add(i))}function GC(n,t,e){var i=0;t&&(i|=4),lB(e,n,i,t)}var dS="_reactListening"+Math.random().toString(36).slice(2);function FR(n){if(!n[dS]){n[dS]=!0,$L.forEach(function(e){e!=="selectionchange"&&(IY.has(e)||GC(e,!1,n),GC(e,!0,n))});var t=n.nodeType===9?n:n.ownerDocument;t===null||t[dS]||(t[dS]=!0,GC("selectionchange",!1,t))}}function lB(n,t,e,i){switch(xB(t)){case 2:var r=bK;break;case 8:r=SK;break;default:r=LR}e=r.bind(null,t,e,n),r=void 0,!sD||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),i?r!==void 0?n.addEventListener(t,e,{capture:!0,passive:r}):n.addEventListener(t,e,!0):r!==void 0?n.addEventListener(t,e,{passive:r}):n.addEventListener(t,e,!1)}function IC(n,t,e,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 h=l.tag;if((h===3||h===4)&&l.stateNode.containerInfo===r)return;l=l.return}for(;c!==null;){if(l=Wd(c),l===null)return;if(h=l.tag,h===5||h===6||h===26||h===27){i=s=l;continue t}c=c.parentNode}}i=i.return}sU(function(){var d=s,m=WD(e),v=[];t:{var y=AU.get(n);if(y!==void 0){var b=sx,x=n;switch(n){case"keypress":if(bS(e)===0)break t;case"keydown":case"keyup":b=HX;break;case"focusin":x="focus",b=wC;break;case"focusout":x="blur",b=wC;break;case"beforeblur":case"afterblur":b=wC;break;case"click":if(e.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=E4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=RX;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=VX;break;case yU:case bU:case SU:b=_X;break;case xU:b=IX;break;case"scroll":case"scrollend":b=CX;break;case"wheel":b=YX;break;case"copy":case"cut":case"paste":b=NX;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=C4;break;case"toggle":case"beforetoggle":b=ZX}var E=(t&4)!==0,C=!E&&(n==="scroll"||n==="scrollend"),A=E?y!==null?y+"Capture":null:y;E=[];for(var T=d,D;T!==null;){var O=T;if(D=O.stateNode,O=O.tag,O!==5&&O!==26&&O!==27||D===null||A===null||(O=Cg(T,A),O!=null&&E.push(kg(T,O,D))),C)break;T=T.return}0<E.length&&(y=new b(y,x,null,e,m),v.push({event:y,listeners:E}))}}if((t&7)===0){t:{if(y=n==="mouseover"||n==="pointerover",b=n==="mouseout"||n==="pointerout",y&&e!==oD&&(x=e.relatedTarget||e.fromElement)&&(Wd(x)||x[Ep]))break t;if((b||y)&&(y=m.window===m?m:(y=m.ownerDocument)?y.defaultView||y.parentWindow:window,b?(x=e.relatedTarget||e.toElement,b=d,x=x?Wd(x):null,x!==null&&(C=Pg(x),E=x.tag,x!==C||E!==5&&E!==27&&E!==6)&&(x=null)):(b=null,x=d),b!==x)){if(E=E4,O="onMouseLeave",A="onMouseEnter",T="mouse",(n==="pointerout"||n==="pointerover")&&(E=C4,O="onPointerLeave",A="onPointerEnter",T="pointer"),C=b==null?y:ug(b),D=x==null?y:ug(x),y=new E(O,T+"leave",b,e,m),y.target=C,y.relatedTarget=D,O=null,Wd(m)===d&&(E=new E(A,T+"enter",x,e,m),E.target=D,E.relatedTarget=C,O=E),C=O,b&&x)e:{for(E=XY,A=b,T=x,D=0,O=A;O;O=E(O))D++;O=0;for(var F=T;F;F=E(F))O++;for(;0<D-O;)A=E(A),D--;for(;0<O-D;)T=E(T),O--;for(;D--;){if(A===T||T!==null&&A===T.alternate){E=A;break e}A=E(A),T=E(T)}E=null}else E=null;b!==null&&yL(v,y,b,E,!1),x!==null&&C!==null&&yL(v,C,x,E,!0)}}t:{if(y=d?ug(d):window,b=y.nodeName&&y.nodeName.toLowerCase(),b==="select"||b==="input"&&y.type==="file")var U=M4;else if(O4(y))if(dU)U=rY;else{U=iY;var L=nY}else b=y.nodeName,!b||b.toLowerCase()!=="input"||y.type!=="checkbox"&&y.type!=="radio"?d&&ZD(d.elementType)&&(U=M4):U=aY;if(U&&(U=U(n,d))){hU(v,U,e,m);break t}L&&L(n,y,d),n==="focusout"&&d&&y.type==="number"&&d.memoizedProps.value!=null&&rD(y,"number",y.value)}switch(L=d?ug(d):window,n){case"focusin":(O4(L)||L.contentEditable==="true")&&($d=L,lD=d,pg=null);break;case"focusout":pg=lD=$d=null;break;case"mousedown":uD=!0;break;case"contextmenu":case"mouseup":case"dragend":uD=!1,z4(v,e,m);break;case"selectionchange":if(sY)break;case"keydown":case"keyup":z4(v,e,m)}var k;if($D)t:{switch(n){case"compositionstart":var G="onCompositionStart";break t;case"compositionend":G="onCompositionEnd";break t;case"compositionupdate":G="onCompositionUpdate";break t}G=void 0}else Jd?cU(n,e)&&(G="onCompositionEnd"):n==="keydown"&&e.keyCode===229&&(G="onCompositionStart");G&&(uU&&e.locale!=="ko"&&(Jd||G!=="onCompositionStart"?G==="onCompositionEnd"&&Jd&&(k=lU()):(Gu=m,QD="value"in Gu?Gu.value:Gu.textContent,Jd=!0)),L=$S(d,G),0<L.length&&(G=new T4(G,n,null,e,m),v.push({event:G,listeners:L}),k?G.data=k:(k=fU(e),k!==null&&(G.data=k)))),(k=QX?JX(n,e):$X(n,e))&&(G=$S(d,"onBeforeInput"),0<G.length&&(L=new T4("onBeforeInput","beforeinput",null,e,m),v.push({event:L,listeners:G}),L.data=k)),GY(v,n,d,e,m)}sB(v,t)})}function kg(n,t,e){return{instance:n,listener:t,currentTarget:e}}function $S(n,t){for(var e=t+"Capture",i=[];n!==null;){var r=n,s=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||s===null||(r=Cg(n,e),r!=null&&i.unshift(kg(n,r,s)),r=Cg(n,t),r!=null&&i.push(kg(n,r,s))),n.tag===3)return i;n=n.return}return[]}function XY(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function yL(n,t,e,i,r){for(var s=t._reactName,l=[];e!==null&&e!==i;){var c=e,h=c.alternate,d=c.stateNode;if(c=c.tag,h!==null&&h===i)break;c!==5&&c!==26&&c!==27||d===null||(h=d,r?(d=Cg(e,s),d!=null&&l.unshift(kg(e,d,h))):r||(d=Cg(e,s),d!=null&&l.push(kg(e,d,h)))),e=e.return}l.length!==0&&n.push({event:t,listeners:l})}var YY=/\r\n?/g,KY=/\u0000|\uFFFD/g;function bL(n){return(typeof n=="string"?n:""+n).replace(YY,`
25
- `).replace(KY,"")}function uB(n,t){return t=bL(t),bL(n)===t}function nn(n,t,e,i,r,s){switch(e){case"children":typeof i=="string"?t==="body"||t==="textarea"&&i===""||mp(n,i):(typeof i=="number"||typeof i=="bigint")&&t!=="body"&&mp(n,""+i);break;case"className":nS(n,"class",i);break;case"tabIndex":nS(n,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":nS(n,e,i);break;case"style":oU(n,i,s);break;case"data":if(t!=="object"){nS(n,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||e!=="href")){n.removeAttribute(e);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){n.removeAttribute(e);break}i=vS(""+i),n.setAttribute(e,i);break;case"action":case"formAction":if(typeof i=="function"){n.setAttribute(e,"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"&&(e==="formAction"?(t!=="input"&&nn(n,t,"name",r.name,r,null),nn(n,t,"formEncType",r.formEncType,r,null),nn(n,t,"formMethod",r.formMethod,r,null),nn(n,t,"formTarget",r.formTarget,r,null)):(nn(n,t,"encType",r.encType,r,null),nn(n,t,"method",r.method,r,null),nn(n,t,"target",r.target,r,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){n.removeAttribute(e);break}i=vS(""+i),n.setAttribute(e,i);break;case"onClick":i!=null&&(n.onclick=Sl);break;case"onScroll":i!=null&&Ce("scroll",n);break;case"onScrollEnd":i!=null&&Ce("scrollend",n);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(st(61));if(e=i.__html,e!=null){if(r.children!=null)throw Error(st(60));n.innerHTML=e}}break;case"multiple":n.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":n.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"){n.removeAttribute("xlink:href");break}e=vS(""+i),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e);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"?n.setAttribute(e,""+i):n.removeAttribute(e);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"?n.setAttribute(e,""):n.removeAttribute(e);break;case"capture":case"download":i===!0?n.setAttribute(e,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?n.setAttribute(e,i):n.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?n.setAttribute(e,i):n.removeAttribute(e);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?n.removeAttribute(e):n.setAttribute(e,i);break;case"popover":Ce("beforetoggle",n),Ce("toggle",n),gS(n,"popover",i);break;case"xlinkActuate":hl(n,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":hl(n,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":hl(n,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":hl(n,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":hl(n,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":hl(n,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":hl(n,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":hl(n,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":hl(n,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":gS(n,"is",i);break;case"innerText":case"textContent":break;default:(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(e=EX.get(e)||e,gS(n,e,i))}}function ND(n,t,e,i,r,s){switch(e){case"style":oU(n,i,s);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(st(61));if(e=i.__html,e!=null){if(r.children!=null)throw Error(st(60));n.innerHTML=e}}break;case"children":typeof i=="string"?mp(n,i):(typeof i=="number"||typeof i=="bigint")&&mp(n,""+i);break;case"onScroll":i!=null&&Ce("scroll",n);break;case"onScrollEnd":i!=null&&Ce("scrollend",n);break;case"onClick":i!=null&&(n.onclick=Sl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!tU.hasOwnProperty(e))t:{if(e[0]==="o"&&e[1]==="n"&&(r=e.endsWith("Capture"),t=e.slice(2,r?e.length-7:void 0),s=n[qa]||null,s=s!=null?s[e]:null,typeof s=="function"&&n.removeEventListener(t,s,r),typeof i=="function")){typeof s!="function"&&s!==null&&(e in n?n[e]=null:n.hasAttribute(e)&&n.removeAttribute(e)),n.addEventListener(t,i,r);break t}e in n?n[e]=i:i===!0?n.setAttribute(e,""):gS(n,e,i)}}}function Ii(n,t,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ce("error",n),Ce("load",n);var i=!1,r=!1,s;for(s in e)if(e.hasOwnProperty(s)){var l=e[s];if(l!=null)switch(s){case"src":i=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(st(137,t));default:nn(n,t,s,l,e,null)}}r&&nn(n,t,"srcSet",e.srcSet,e,null),i&&nn(n,t,"src",e.src,e,null);return;case"input":Ce("invalid",n);var c=s=l=r=null,h=null,d=null;for(i in e)if(e.hasOwnProperty(i)){var m=e[i];if(m!=null)switch(i){case"name":r=m;break;case"type":l=m;break;case"checked":h=m;break;case"defaultChecked":d=m;break;case"value":s=m;break;case"defaultValue":c=m;break;case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(st(137,t));break;default:nn(n,t,i,m,e,null)}}iU(n,s,c,h,d,l,r,!1);return;case"select":Ce("invalid",n),i=l=s=null;for(r in e)if(e.hasOwnProperty(r)&&(c=e[r],c!=null))switch(r){case"value":s=c;break;case"defaultValue":l=c;break;case"multiple":i=c;default:nn(n,t,r,c,e,null)}t=s,e=l,n.multiple=!!i,t!=null?sp(n,!!i,t,!1):e!=null&&sp(n,!!i,e,!0);return;case"textarea":Ce("invalid",n),s=r=i=null;for(l in e)if(e.hasOwnProperty(l)&&(c=e[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(st(91));break;default:nn(n,t,l,c,e,null)}rU(n,i,r,s);return;case"option":for(h in e)e.hasOwnProperty(h)&&(i=e[h],i!=null)&&(h==="selected"?n.selected=i&&typeof i!="function"&&typeof i!="symbol":nn(n,t,h,i,e,null));return;case"dialog":Ce("beforetoggle",n),Ce("toggle",n),Ce("cancel",n),Ce("close",n);break;case"iframe":case"object":Ce("load",n);break;case"video":case"audio":for(i=0;i<zg.length;i++)Ce(zg[i],n);break;case"image":Ce("error",n),Ce("load",n);break;case"details":Ce("toggle",n);break;case"embed":case"source":case"link":Ce("error",n),Ce("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(d in e)if(e.hasOwnProperty(d)&&(i=e[d],i!=null))switch(d){case"children":case"dangerouslySetInnerHTML":throw Error(st(137,t));default:nn(n,t,d,i,e,null)}return;default:if(ZD(t)){for(m in e)e.hasOwnProperty(m)&&(i=e[m],i!==void 0&&ND(n,t,m,i,e,void 0));return}}for(c in e)e.hasOwnProperty(c)&&(i=e[c],i!=null&&nn(n,t,c,i,e,null))}function ZY(n,t,e,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,h=null,d=null,m=null;for(b in e){var v=e[b];if(e.hasOwnProperty(b)&&v!=null)switch(b){case"checked":break;case"value":break;case"defaultValue":h=v;default:i.hasOwnProperty(b)||nn(n,t,b,null,i,v)}}for(var y in i){var b=i[y];if(v=e[y],i.hasOwnProperty(y)&&(b!=null||v!=null))switch(y){case"type":s=b;break;case"name":r=b;break;case"checked":d=b;break;case"defaultChecked":m=b;break;case"value":l=b;break;case"defaultValue":c=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(st(137,t));break;default:b!==v&&nn(n,t,y,b,i,v)}}aD(n,l,c,h,d,m,s,r);return;case"select":b=l=c=y=null;for(s in e)if(h=e[s],e.hasOwnProperty(s)&&h!=null)switch(s){case"value":break;case"multiple":b=h;default:i.hasOwnProperty(s)||nn(n,t,s,null,i,h)}for(r in i)if(s=i[r],h=e[r],i.hasOwnProperty(r)&&(s!=null||h!=null))switch(r){case"value":y=s;break;case"defaultValue":c=s;break;case"multiple":l=s;default:s!==h&&nn(n,t,r,s,i,h)}t=c,e=l,i=b,y!=null?sp(n,!!e,y,!1):!!i!=!!e&&(t!=null?sp(n,!!e,t,!0):sp(n,!!e,e?[]:"",!1));return;case"textarea":b=y=null;for(c in e)if(r=e[c],e.hasOwnProperty(c)&&r!=null&&!i.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:nn(n,t,c,null,i,r)}for(l in i)if(r=i[l],s=e[l],i.hasOwnProperty(l)&&(r!=null||s!=null))switch(l){case"value":y=r;break;case"defaultValue":b=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(st(91));break;default:r!==s&&nn(n,t,l,r,i,s)}aU(n,y,b);return;case"option":for(var x in e)y=e[x],e.hasOwnProperty(x)&&y!=null&&!i.hasOwnProperty(x)&&(x==="selected"?n.selected=!1:nn(n,t,x,null,i,y));for(h in i)y=i[h],b=e[h],i.hasOwnProperty(h)&&y!==b&&(y!=null||b!=null)&&(h==="selected"?n.selected=y&&typeof y!="function"&&typeof y!="symbol":nn(n,t,h,y,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 E in e)y=e[E],e.hasOwnProperty(E)&&y!=null&&!i.hasOwnProperty(E)&&nn(n,t,E,null,i,y);for(d in i)if(y=i[d],b=e[d],i.hasOwnProperty(d)&&y!==b&&(y!=null||b!=null))switch(d){case"children":case"dangerouslySetInnerHTML":if(y!=null)throw Error(st(137,t));break;default:nn(n,t,d,y,i,b)}return;default:if(ZD(t)){for(var C in e)y=e[C],e.hasOwnProperty(C)&&y!==void 0&&!i.hasOwnProperty(C)&&ND(n,t,C,void 0,i,y);for(m in i)y=i[m],b=e[m],!i.hasOwnProperty(m)||y===b||y===void 0&&b===void 0||ND(n,t,m,y,i,b);return}}for(var A in e)y=e[A],e.hasOwnProperty(A)&&y!=null&&!i.hasOwnProperty(A)&&nn(n,t,A,null,i,y);for(v in i)y=i[v],b=e[v],!i.hasOwnProperty(v)||y===b||y==null&&b==null||nn(n,t,v,y,i,b)}function SL(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function WY(){if(typeof performance.getEntriesByType=="function"){for(var n=0,t=0,e=performance.getEntriesByType("resource"),i=0;i<e.length;i++){var r=e[i],s=r.transferSize,l=r.initiatorType,c=r.duration;if(s&&c&&SL(l)){for(l=0,c=r.responseEnd,i+=1;i<e.length;i++){var h=e[i],d=h.startTime;if(d>c)break;var m=h.transferSize,v=h.initiatorType;m&&SL(v)&&(h=h.responseEnd,l+=m*(h<c?1:(c-d)/(h-d)))}if(--i,t+=8*(s+l)/(r.duration/1e3),n++,10<n)break}}if(0<n)return t/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var zD=null,kD=null;function tx(n){return n.nodeType===9?n:n.ownerDocument}function xL(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function cB(n,t){if(n===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&t==="foreignObject"?0:n}function LD(n,t){return n==="textarea"||n==="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 XC=null;function QY(){var n=window.event;return n&&n.type==="popstate"?n===XC?!1:(XC=n,!0):(XC=null,!1)}var fB=typeof setTimeout=="function"?setTimeout:void 0,JY=typeof clearTimeout=="function"?clearTimeout:void 0,AL=typeof Promise=="function"?Promise:void 0,$Y=typeof queueMicrotask=="function"?queueMicrotask:typeof AL<"u"?function(n){return AL.resolve(null).then(n).catch(tK)}:fB;function tK(n){setTimeout(function(){throw n})}function lc(n){return n==="head"}function wL(n,t){var e=t,i=0;do{var r=e.nextSibling;if(n.removeChild(e),r&&r.nodeType===8)if(e=r.data,e==="/$"||e==="/&"){if(i===0){n.removeChild(r),wp(t);return}i--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")i++;else if(e==="html")Eg(n.ownerDocument.documentElement);else if(e==="head"){e=n.ownerDocument.head,Eg(e);for(var s=e.firstChild;s;){var l=s.nextSibling,c=s.nodeName;s[Vg]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&s.rel.toLowerCase()==="stylesheet"||e.removeChild(s),s=l}}else e==="body"&&Eg(n.ownerDocument.body);e=r}while(e);wp(t)}function EL(n,t){var e=n;n=0;do{var i=e.nextSibling;if(e.nodeType===1?t?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(t?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),i&&i.nodeType===8)if(e=i.data,e==="/$"){if(n===0)break;n--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||n++;e=i}while(e)}function UD(n){var t=n.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var e=t;switch(t=t.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":UD(e),KD(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}n.removeChild(e)}}function eK(n,t,e,i){for(;n.nodeType===1;){var r=e;if(n.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(i){if(!n[Vg])switch(t){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(s=n.getAttribute("rel"),s==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(s!==r.rel||n.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||n.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||n.getAttribute("title")!==(r.title==null?null:r.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(s=n.getAttribute("src"),(s!==(r.src==null?null:r.src)||n.getAttribute("type")!==(r.type==null?null:r.type)||n.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&s&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(t==="input"&&n.type==="hidden"){var s=r.name==null?null:""+r.name;if(r.type==="hidden"&&n.getAttribute("name")===s)return n}else return n;if(n=eo(n.nextSibling),n===null)break}return null}function nK(n,t,e){if(t==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!e||(n=eo(n.nextSibling),n===null))return null;return n}function hB(n,t){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!t||(n=eo(n.nextSibling),n===null))return null;return n}function BD(n){return n.data==="$?"||n.data==="$~"}function PD(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function iK(n,t){var e=n.ownerDocument;if(n.data==="$~")n._reactRetry=t;else if(n.data!=="$?"||e.readyState!=="loading")t();else{var i=function(){t(),e.removeEventListener("DOMContentLoaded",i)};e.addEventListener("DOMContentLoaded",i),n._reactRetry=i}}function eo(n){for(;n!=null;n=n.nextSibling){var t=n.nodeType;if(t===1||t===3)break;if(t===8){if(t=n.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return n}var HD=null;function TL(n){n=n.nextSibling;for(var t=0;n;){if(n.nodeType===8){var e=n.data;if(e==="/$"||e==="/&"){if(t===0)return eo(n.nextSibling);t--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||t++}n=n.nextSibling}return null}function CL(n){n=n.previousSibling;for(var t=0;n;){if(n.nodeType===8){var e=n.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(t===0)return n;t--}else e!=="/$"&&e!=="/&"||t++}n=n.previousSibling}return null}function dB(n,t,e){switch(t=tx(e),n){case"html":if(n=t.documentElement,!n)throw Error(st(452));return n;case"head":if(n=t.head,!n)throw Error(st(453));return n;case"body":if(n=t.body,!n)throw Error(st(454));return n;default:throw Error(st(451))}}function Eg(n){for(var t=n.attributes;t.length;)n.removeAttributeNode(t[0]);KD(n)}var no=new Map,DL=new Set;function ex(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var Ml=Ve.d;Ve.d={f:aK,r:rK,D:oK,C:sK,L:lK,m:uK,X:fK,S:cK,M:hK};function aK(){var n=Ml.f(),t=yx();return n||t}function rK(n){var t=Tp(n);t!==null&&t.tag===5&&t.type==="form"?o6(t):Ml.r(n)}var Op=typeof document>"u"?null:document;function pB(n,t,e){var i=Op;if(i&&typeof t=="string"&&t){var r=Qr(t);r='link[rel="'+n+'"][href="'+r+'"]',typeof e=="string"&&(r+='[crossorigin="'+e+'"]'),DL.has(r)||(DL.add(r),n={rel:n,crossOrigin:e,href:t},i.querySelector(r)===null&&(t=i.createElement("link"),Ii(t,"link",n),Fi(t),i.head.appendChild(t)))}}function oK(n){Ml.D(n),pB("dns-prefetch",n,null)}function sK(n,t){Ml.C(n,t),pB("preconnect",n,t)}function lK(n,t,e){Ml.L(n,t,e);var i=Op;if(i&&n&&t){var r='link[rel="preload"][as="'+Qr(t)+'"]';t==="image"&&e&&e.imageSrcSet?(r+='[imagesrcset="'+Qr(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(r+='[imagesizes="'+Qr(e.imageSizes)+'"]')):r+='[href="'+Qr(n)+'"]';var s=r;switch(t){case"style":s=Ap(n);break;case"script":s=Mp(n)}no.has(s)||(n=An({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:n,as:t},e),no.set(s,n),i.querySelector(r)!==null||t==="style"&&i.querySelector(Zg(s))||t==="script"&&i.querySelector(Wg(s))||(t=i.createElement("link"),Ii(t,"link",n),Fi(t),i.head.appendChild(t)))}}function uK(n,t){Ml.m(n,t);var e=Op;if(e&&n){var i=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Qr(i)+'"][href="'+Qr(n)+'"]',s=r;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=Mp(n)}if(!no.has(s)&&(n=An({rel:"modulepreload",href:n},t),no.set(s,n),e.querySelector(r)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(Wg(s)))return}i=e.createElement("link"),Ii(i,"link",n),Fi(i),e.head.appendChild(i)}}}function cK(n,t,e){Ml.S(n,t,e);var i=Op;if(i&&n){var r=op(i).hoistableStyles,s=Ap(n);t=t||"default";var l=r.get(s);if(!l){var c={loading:0,preload:null};if(l=i.querySelector(Zg(s)))c.loading=5;else{n=An({rel:"stylesheet",href:n,"data-precedence":t},e),(e=no.get(s))&&NR(n,e);var h=l=i.createElement("link");Fi(h),Ii(h,"link",n),h._p=new Promise(function(d,m){h.onload=d,h.onerror=m}),h.addEventListener("load",function(){c.loading|=1}),h.addEventListener("error",function(){c.loading|=2}),c.loading|=4,DS(l,t,i)}l={type:"stylesheet",instance:l,count:1,state:c},r.set(s,l)}}}function fK(n,t){Ml.X(n,t);var e=Op;if(e&&n){var i=op(e).hoistableScripts,r=Mp(n),s=i.get(r);s||(s=e.querySelector(Wg(r)),s||(n=An({src:n,async:!0},t),(t=no.get(r))&&zR(n,t),s=e.createElement("script"),Fi(s),Ii(s,"link",n),e.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(r,s))}}function hK(n,t){Ml.M(n,t);var e=Op;if(e&&n){var i=op(e).hoistableScripts,r=Mp(n),s=i.get(r);s||(s=e.querySelector(Wg(r)),s||(n=An({src:n,async:!0,type:"module"},t),(t=no.get(r))&&zR(n,t),s=e.createElement("script"),Fi(s),Ii(s,"link",n),e.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(r,s))}}function RL(n,t,e,i){var r=(r=Ku.current)?ex(r):null;if(!r)throw Error(st(446));switch(n){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=Ap(e.href),e=op(r).hoistableStyles,i=e.get(t),i||(i={type:"style",instance:null,count:0,state:null},e.set(t,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){n=Ap(e.href);var s=op(r).hoistableStyles,l=s.get(n);if(l||(r=r.ownerDocument||r,l={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},s.set(n,l),(s=r.querySelector(Zg(n)))&&!s._p&&(l.instance=s,l.state.loading=5),no.has(n)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},no.set(n,e),s||dK(r,n,e,l.state))),t&&i===null)throw Error(st(528,""));return l}if(t&&i!==null)throw Error(st(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Mp(e),e=op(r).hoistableScripts,i=e.get(t),i||(i={type:"script",instance:null,count:0,state:null},e.set(t,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(st(444,n))}}function Ap(n){return'href="'+Qr(n)+'"'}function Zg(n){return'link[rel="stylesheet"]['+n+"]"}function mB(n){return An({},n,{"data-precedence":n.precedence,precedence:null})}function dK(n,t,e,i){n.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=1:(t=n.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2}),Ii(t,"link",e),Fi(t),n.head.appendChild(t))}function Mp(n){return'[src="'+Qr(n)+'"]'}function Wg(n){return"script[async]"+n}function OL(n,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var i=n.querySelector('style[data-href~="'+Qr(e.href)+'"]');if(i)return t.instance=i,Fi(i),i;var r=An({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return i=(n.ownerDocument||n).createElement("style"),Fi(i),Ii(i,"style",r),DS(i,e.precedence,n),t.instance=i;case"stylesheet":r=Ap(e.href);var s=n.querySelector(Zg(r));if(s)return t.state.loading|=4,t.instance=s,Fi(s),s;i=mB(e),(r=no.get(r))&&NR(i,r),s=(n.ownerDocument||n).createElement("link"),Fi(s);var l=s;return l._p=new Promise(function(c,h){l.onload=c,l.onerror=h}),Ii(s,"link",i),t.state.loading|=4,DS(s,e.precedence,n),t.instance=s;case"script":return s=Mp(e.src),(r=n.querySelector(Wg(s)))?(t.instance=r,Fi(r),r):(i=e,(r=no.get(s))&&(i=An({},e),zR(i,r)),n=n.ownerDocument||n,r=n.createElement("script"),Fi(r),Ii(r,"link",i),n.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(st(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,DS(i,e.precedence,n));return t.instance}function DS(n,t,e){for(var i=e.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(n,s.nextSibling):(t=e.nodeType===9?e.head:e,t.insertBefore(n,t.firstChild))}function NR(n,t){n.crossOrigin==null&&(n.crossOrigin=t.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=t.referrerPolicy),n.title==null&&(n.title=t.title)}function zR(n,t){n.crossOrigin==null&&(n.crossOrigin=t.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=t.referrerPolicy),n.integrity==null&&(n.integrity=t.integrity)}var RS=null;function ML(n,t,e){if(RS===null){var i=new Map,r=RS=new Map;r.set(e,i)}else r=RS,i=r.get(e),i||(i=new Map,r.set(e,i));if(i.has(n))return i;for(i.set(n,null),e=e.getElementsByTagName(n),r=0;r<e.length;r++){var s=e[r];if(!(s[Vg]||s[qi]||n==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!=="http://www.w3.org/2000/svg"){var l=s.getAttribute(t)||"";l=n+l;var c=i.get(l);c?c.push(s):i.set(l,[s])}}return i}function _L(n,t,e){n=n.ownerDocument||n,n.head.insertBefore(e,t==="title"?n.querySelector("head > title"):null)}function pK(n,t,e){if(e===1||t.itemProp!=null)return!1;switch(n){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"?(n=t.disabled,typeof t.precedence=="string"&&n==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 gB(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function mK(n,t,e,i){if(e.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(e.state.loading&4)===0){if(e.instance===null){var r=Ap(i.href),s=t.querySelector(Zg(r));if(s){t=s._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(n.count++,n=nx.bind(n),t.then(n,n)),e.state.loading|=4,e.instance=s,Fi(s);return}s=t.ownerDocument||t,i=mB(i),(r=no.get(r))&&NR(i,r),s=s.createElement("link"),Fi(s);var l=s;l._p=new Promise(function(c,h){l.onload=c,l.onerror=h}),Ii(s,"link",i),e.instance=s}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(e,t),(t=e.state.preload)&&(e.state.loading&3)===0&&(n.count++,e=nx.bind(n),t.addEventListener("load",e),t.addEventListener("error",e))}}var YC=0;function gK(n,t){return n.stylesheets&&n.count===0&&OS(n,n.stylesheets),0<n.count||0<n.imgCount?function(e){var i=setTimeout(function(){if(n.stylesheets&&OS(n,n.stylesheets),n.unsuspend){var s=n.unsuspend;n.unsuspend=null,s()}},6e4+t);0<n.imgBytes&&YC===0&&(YC=62500*WY());var r=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&OS(n,n.stylesheets),n.unsuspend)){var s=n.unsuspend;n.unsuspend=null,s()}},(n.imgBytes>YC?50:800)+t);return n.unsuspend=e,function(){n.unsuspend=null,clearTimeout(i),clearTimeout(r)}}:null}function nx(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)OS(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var ix=null;function OS(n,t){n.stylesheets=null,n.unsuspend!==null&&(n.count++,ix=new Map,t.forEach(vK,n),ix=null,nx.call(n))}function vK(n,t){if(!(t.state.loading&4)){var e=ix.get(n);if(e)var i=e.get(null);else{e=new Map,ix.set(n,e);for(var r=n.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")&&(e.set(l.dataset.precedence,l),i=l)}i&&e.set(null,i)}r=t.instance,l=r.getAttribute("data-precedence"),s=e.get(l)||i,s===i&&e.set(null,r),e.set(l,r),this.count++,i=nx.bind(this),r.addEventListener("load",i),r.addEventListener("error",i),s?s.parentNode.insertBefore(r,s.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(r,n.firstChild)),t.state.loading|=4}}var Lg={$$typeof:bl,Provider:null,Consumer:null,_currentValue:Bf,_currentValue2:Bf,_threadCount:0};function yK(n,t,e,i,r,s,l,c,h){this.tag=1,this.containerInfo=n,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=bC(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bC(0),this.hiddenUpdates=bC(null),this.identifierPrefix=i,this.onUncaughtError=r,this.onCaughtError=s,this.onRecoverableError=l,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=h,this.incompleteTransitions=new Map}function vB(n,t,e,i,r,s,l,c,h,d,m,v){return n=new yK(n,t,e,l,h,d,m,v,c),t=1,s===!0&&(t|=24),s=mr(3,null,null,t),n.current=s,s.stateNode=n,t=oR(),t.refCount++,n.pooledCache=t,t.refCount++,s.memoizedState={element:i,isDehydrated:e,cache:t},uR(s),n}function yB(n){return n?(n=np,n):np}function bB(n,t,e,i,r,s){r=yB(r),i.context===null?i.context=r:i.pendingContext=r,i=Wu(t),i.payload={element:e},s=s===void 0?null:s,s!==null&&(i.callback=s),e=Qu(n,i,t),e!==null&&(ja(e,n,t),gg(e,n,t))}function FL(n,t){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var e=n.retryLane;n.retryLane=e!==0&&e<t?e:t}}function kR(n,t){FL(n,t),(n=n.alternate)&&FL(n,t)}function SB(n){if(n.tag===13||n.tag===31){var t=Qf(n,67108864);t!==null&&ja(t,n,67108864),kR(n,67108864)}}function NL(n){if(n.tag===13||n.tag===31){var t=Sr();t=XD(t);var e=Qf(n,t);e!==null&&ja(e,n,t),kR(n,t)}}var ax=!0;function bK(n,t,e,i){var r=Yt.T;Yt.T=null;var s=Ve.p;try{Ve.p=2,LR(n,t,e,i)}finally{Ve.p=s,Yt.T=r}}function SK(n,t,e,i){var r=Yt.T;Yt.T=null;var s=Ve.p;try{Ve.p=8,LR(n,t,e,i)}finally{Ve.p=s,Yt.T=r}}function LR(n,t,e,i){if(ax){var r=jD(i);if(r===null)IC(n,t,i,rx,e),zL(n,i);else if(AK(r,n,t,e,i))i.stopPropagation();else if(zL(n,i),t&4&&-1<xK.indexOf(n)){for(;r!==null;){var s=Tp(r);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var l=kf(s.pendingLanes);if(l!==0){var c=s;for(c.pendingLanes|=2,c.entangledLanes|=2;l;){var h=1<<31-br(l);c.entanglements[1]|=h,l&=~h}xs(s),(qe&6)===0&&(KS=vr()+500,Kg(0,!1))}}break;case 31:case 13:c=Qf(s,2),c!==null&&ja(c,s,2),yx(),kR(s,2)}if(s=jD(i),s===null&&IC(n,t,i,rx,e),s===r)break;r=s}r!==null&&i.stopPropagation()}else IC(n,t,i,null,e)}}function jD(n){return n=WD(n),UR(n)}var rx=null;function UR(n){if(rx=null,n=Wd(n),n!==null){var t=Pg(n);if(t===null)n=null;else{var e=t.tag;if(e===13){if(n=HL(t),n!==null)return n;n=null}else if(e===31){if(n=jL(t),n!==null)return n;n=null}else if(e===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;n=null}else t!==n&&(n=null)}}return rx=n,null}function xB(n){switch(n){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(lX()){case IL:return 2;case XL:return 8;case zS:case uX:return 32;case YL:return 268435456;default:return 32}default:return 32}}var qD=!1,tc=null,ec=null,nc=null,Ug=new Map,Bg=new Map,qu=[],xK="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 zL(n,t){switch(n){case"focusin":case"focusout":tc=null;break;case"dragenter":case"dragleave":ec=null;break;case"mouseover":case"mouseout":nc=null;break;case"pointerover":case"pointerout":Ug.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Bg.delete(t.pointerId)}}function rg(n,t,e,i,r,s){return n===null||n.nativeEvent!==s?(n={blockedOn:t,domEventName:e,eventSystemFlags:i,nativeEvent:s,targetContainers:[r]},t!==null&&(t=Tp(t),t!==null&&SB(t)),n):(n.eventSystemFlags|=i,t=n.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),n)}function AK(n,t,e,i,r){switch(t){case"focusin":return tc=rg(tc,n,t,e,i,r),!0;case"dragenter":return ec=rg(ec,n,t,e,i,r),!0;case"mouseover":return nc=rg(nc,n,t,e,i,r),!0;case"pointerover":var s=r.pointerId;return Ug.set(s,rg(Ug.get(s)||null,n,t,e,i,r)),!0;case"gotpointercapture":return s=r.pointerId,Bg.set(s,rg(Bg.get(s)||null,n,t,e,i,r)),!0}return!1}function AB(n){var t=Wd(n.target);if(t!==null){var e=Pg(t);if(e!==null){if(t=e.tag,t===13){if(t=HL(e),t!==null){n.blockedOn=t,v4(n.priority,function(){NL(e)});return}}else if(t===31){if(t=jL(e),t!==null){n.blockedOn=t,v4(n.priority,function(){NL(e)});return}}else if(t===3&&e.stateNode.current.memoizedState.isDehydrated){n.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}n.blockedOn=null}function MS(n){if(n.blockedOn!==null)return!1;for(var t=n.targetContainers;0<t.length;){var e=jD(n.nativeEvent);if(e===null){e=n.nativeEvent;var i=new e.constructor(e.type,e);oD=i,e.target.dispatchEvent(i),oD=null}else return t=Tp(e),t!==null&&SB(t),n.blockedOn=e,!1;t.shift()}return!0}function kL(n,t,e){MS(n)&&e.delete(t)}function wK(){qD=!1,tc!==null&&MS(tc)&&(tc=null),ec!==null&&MS(ec)&&(ec=null),nc!==null&&MS(nc)&&(nc=null),Ug.forEach(kL),Bg.forEach(kL)}function pS(n,t){n.blockedOn===t&&(n.blockedOn=null,qD||(qD=!0,bi.unstable_scheduleCallback(bi.unstable_NormalPriority,wK)))}var mS=null;function LL(n){mS!==n&&(mS=n,bi.unstable_scheduleCallback(bi.unstable_NormalPriority,function(){mS===n&&(mS=null);for(var t=0;t<n.length;t+=3){var e=n[t],i=n[t+1],r=n[t+2];if(typeof i!="function"){if(UR(i||e)===null)continue;break}var s=Tp(e);s!==null&&(n.splice(t,3),t-=3,AD(s,{pending:!0,data:r,method:e.method,action:i},i,r))}}))}function wp(n){function t(h){return pS(h,n)}tc!==null&&pS(tc,n),ec!==null&&pS(ec,n),nc!==null&&pS(nc,n),Ug.forEach(t),Bg.forEach(t);for(var e=0;e<qu.length;e++){var i=qu[e];i.blockedOn===n&&(i.blockedOn=null)}for(;0<qu.length&&(e=qu[0],e.blockedOn===null);)AB(e),e.blockedOn===null&&qu.shift();if(e=(n.ownerDocument||n).$$reactFormReplay,e!=null)for(i=0;i<e.length;i+=3){var r=e[i],s=e[i+1],l=r[qa]||null;if(typeof s=="function")l||LL(e);else if(l){var c=null;if(s&&s.hasAttribute("formAction")){if(r=s,l=s[qa]||null)c=l.formAction;else if(UR(r)!==null)continue}else c=l.action;typeof c=="function"?e[i+1]=c:(e.splice(i,3),i-=3),LL(e)}}}function wB(){function n(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(e,20)}function e(){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",n),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(e,100),function(){i=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function BR(n){this._internalRoot=n}xx.prototype.render=BR.prototype.render=function(n){var t=this._internalRoot;if(t===null)throw Error(st(409));var e=t.current,i=Sr();bB(e,i,n,t,null,null)};xx.prototype.unmount=BR.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var t=n.containerInfo;bB(n.current,2,null,n,null,null),yx(),t[Ep]=null}};function xx(n){this._internalRoot=n}xx.prototype.unstable_scheduleHydration=function(n){if(n){var t=JL();n={blockedOn:null,target:n,priority:t};for(var e=0;e<qu.length&&t!==0&&t<qu[e].priority;e++);qu.splice(e,0,n),e===0&&AB(n)}};var UL=BL.version;if(UL!=="19.2.5")throw Error(st(527,UL,"19.2.5"));Ve.findDOMNode=function(n){var t=n._reactInternals;if(t===void 0)throw typeof n.render=="function"?Error(st(188)):(n=Object.keys(n).join(","),Error(st(268,n)));return n=eX(t),n=n!==null?qL(n):null,n=n===null?null:n.stateNode,n};var EK={bundleType:0,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:Yt,reconcilerVersion:"19.2.5"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(og=__REACT_DEVTOOLS_GLOBAL_HOOK__,!og.isDisabled&&og.supportsFiber))try{Hg=og.inject(EK),yr=og}catch{}var og;Ax.createRoot=function(n,t){if(!PL(n))throw Error(st(299));var e=!1,i="",r=p6,s=m6,l=g6;return t!=null&&(t.unstable_strictMode===!0&&(e=!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=vB(n,1,!1,null,null,e,i,null,r,s,l,wB),n[Ep]=t.current,FR(n),new BR(t)};Ax.hydrateRoot=function(n,t,e){if(!PL(n))throw Error(st(299));var i=!1,r="",s=p6,l=m6,c=g6,h=null;return e!=null&&(e.unstable_strictMode===!0&&(i=!0),e.identifierPrefix!==void 0&&(r=e.identifierPrefix),e.onUncaughtError!==void 0&&(s=e.onUncaughtError),e.onCaughtError!==void 0&&(l=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError),e.formState!==void 0&&(h=e.formState)),t=vB(n,1,!0,t,e??null,i,r,h,s,l,c,wB),t.context=yB(null),e=t.current,i=Sr(),i=XD(i),r=Wu(i),r.callback=null,Qu(e,r,i),e=i,t.current.lanes=e,qg(t,e),xs(t),n[Ep]=t.current,FR(n),new xx(t)};Ax.version="19.2.5"});var TB=je(wx=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function n(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 p=o[u],g=mi(a)?a.slice():ve({},a);return g[p]=t(a[p],o,u+1,f),g}function e(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 p=o[f],g=mi(a)?a.slice():ve({},a);return f+1===o.length?(g[u[f]]=g[p],mi(g)?g.splice(p,1):delete g[p]):g[p]=i(a[p],o,u,f+1),g}function r(a,o,u){var f=o[u],p=mi(a)?a.slice():ve({},a);return u+1===o.length?(mi(p)?p.splice(f,1):delete p[f],p):(p[f]=r(a[f],o,u+1),p)}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 h(){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 d(){}function m(){}function v(a){var o=[];return a.forEach(function(u){o.push(u)}),o.sort().join(", ")}function y(a,o,u,f){return new mq(a,o,u,f)}function b(a,o){a.context===pu&&(pT(a.current,2,o,a,null,null),Wh())}function x(a,o){if(kr!==null){var u=o.staleFamilies;o=o.updatedFamilies,I0(),I3(a.current,o,u),Wh()}}function E(a){kr=a}function C(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 D(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 F(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 p=u.return;if(p===null)break;var g=p.alternate;if(g===null){if(f=p.return,f!==null){u=f;continue}break}if(p.child===g.child){for(g=p.child;g;){if(g===u)return O(p),a;if(g===f)return O(p),o;g=g.sibling}throw Error("Unable to find node on an unmounted component.")}if(u.return!==f.return)u=p,f=g;else{for(var S=!1,w=p.child;w;){if(w===u){S=!0,u=p,f=g;break}if(w===f){S=!0,f=p,u=g;break}w=w.sibling}if(!S){for(w=g.child;w;){if(w===u){S=!0,u=g,f=p;break}if(w===f){S=!0,f=g,u=p;break}w=w.sibling}if(!S)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 U(a){var o=a.tag;if(o===5||o===26||o===27||o===6)return a;for(a=a.child;a!==null;){if(o=U(a),o!==null)return o;a=a.sibling}return null}function L(a){return a===null||typeof a!="object"?null:(a=Jz&&a[Jz]||a["@@iterator"],typeof a=="function"?a:null)}function k(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===UV?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case id:return"Fragment";case xT:return"Profiler";case Pb:return"StrictMode";case wT:return"Suspense";case ET:return"SuspenseList";case TT: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 nd:return"Portal";case as:return a.displayName||"Context";case AT:return(a._context.displayName||"Context")+".Consumer";case em:var o=a.render;return a=a.displayName,a||(a=o.displayName||o.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case Hb:return o=a.displayName||null,o!==null?o:k(a.type)||"Memo";case rr:o=a._payload,a=a._init;try{return k(a(o))}catch{}}return null}function G(a){return typeof a.tag=="number"?q(a):typeof a.name=="string"?a.name:null}function q(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 k(o);case 8:return o===Pb?"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 q(a.return)}return null}function Z(a){return{current:a}}function J(a,o){0>Ks?console.error("Unexpected pop."):(o!==DT[Ks]&&console.error("Unexpected Fiber popped."),a.current=CT[Ks],CT[Ks]=null,DT[Ks]=null,Ks--)}function nt(a,o,u){Ks++,CT[Ks]=a.current,DT[Ks]=u,a.current=o}function ot(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 B(a,o){nt(lu,o,a),nt(nm,a,a),nt(su,null,a);var u=o.nodeType;switch(u){case 9:case 11:u=u===9?"#document":"#fragment",o=(o=o.documentElement)&&(o=o.namespaceURI)?Az(o):ll;break;default:if(u=o.tagName,o=o.namespaceURI)o=Az(o),o=wz(o,u);else switch(u){case"svg":o=Ud;break;case"math":o=B1;break;default:o=ll}}u=u.toLowerCase(),u=g3(null,u),u={context:o,ancestorInfo:u},J(su,a),nt(su,u,a)}function X(a){J(su,a),J(nm,a),J(lu,a)}function V(){return ot(su.current)}function lt(a){a.memoizedState!==null&&nt(jb,a,a);var o=ot(su.current),u=a.type,f=wz(o.context,u);u=g3(o.ancestorInfo,u),f={context:f,ancestorInfo:u},o!==f&&(nt(nm,a,a),nt(su,f,a))}function dt(a){nm.current===a&&(J(su,a),J(nm,a)),jb.current===a&&(J(jb,a),Ym._currentValue=Ff)}function re(){}function tt(){if(im===0){$z=console.log,t5=console.info,e5=console.warn,n5=console.error,i5=console.group,a5=console.groupCollapsed,r5=console.groupEnd;var a={configurable:!0,enumerable:!0,value:re,writable:!0};Object.defineProperties(console,{info:a,log:a,warn:a,error:a,group:a,groupCollapsed:a,groupEnd:a})}im++}function gt(){if(im--,im===0){var a={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ve({},a,{value:$z}),info:ve({},a,{value:t5}),warn:ve({},a,{value:e5}),error:ve({},a,{value:n5}),group:ve({},a,{value:i5}),groupCollapsed:ve({},a,{value:a5}),groupEnd:ve({},a,{value:r5})})}0>im&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function bt(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 Pt(a){if(RT===void 0)try{throw Error()}catch(u){var o=u.stack.trim().match(/\n( *(at )?)/);RT=o&&o[1]||"",o5=-1<u.stack.indexOf(`
29
- at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
30
- `+RT+a+o5}function mn(a,o){if(!a||OT)return"";var u=MT.get(a);if(u!==void 0)return u;OT=!0,u=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var f=null;f=it.H,it.H=null,tt();try{var p={DetermineComponentFrameRoot:function(){try{if(o){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(mt){var $=mt}Reflect.construct(a,[],H)}else{try{H.call()}catch(mt){$=mt}a.call(H.prototype)}}else{try{throw Error()}catch(mt){$=mt}(H=a())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(mt){if(mt&&$&&typeof mt.stack=="string")return[mt.stack,$.stack]}return[null,null]}};p.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(p.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(p.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var S=p.DetermineComponentFrameRoot(),w=S[0],R=S[1];if(w&&R){var M=w.split(`
31
- `),Y=R.split(`
32
- `);for(S=g=0;g<M.length&&!M[g].includes("DetermineComponentFrameRoot");)g++;for(;S<Y.length&&!Y[S].includes("DetermineComponentFrameRoot");)S++;if(g===M.length||S===Y.length)for(g=M.length-1,S=Y.length-1;1<=g&&0<=S&&M[g]!==Y[S];)S--;for(;1<=g&&0<=S;g--,S--)if(M[g]!==Y[S]){if(g!==1||S!==1)do if(g--,S--,0>S||M[g]!==Y[S]){var K=`
33
- `+M[g].replace(" at new "," at ");return a.displayName&&K.includes("<anonymous>")&&(K=K.replace("<anonymous>",a.displayName)),typeof a=="function"&&MT.set(a,K),K}while(1<=g&&0<=S);break}}}finally{OT=!1,it.H=f,gt(),Error.prepareStackTrace=u}return M=(M=a?a.displayName||a.name:"")?Pt(M):"",typeof a=="function"&&MT.set(a,M),M}function Ye(a,o){switch(a.tag){case 26:case 27:case 5:return Pt(a.type);case 16:return Pt("Lazy");case 13:return a.child!==o&&o!==null?Pt("Suspense Fallback"):Pt("Suspense");case 19:return Pt("SuspenseList");case 0:case 15:return mn(a.type,!1);case 11:return mn(a.type.render,!1);case 1:return mn(a.type,!0);case 31:return Pt("Activity");default:return""}}function Et(a){try{var o="",u=null;do{o+=Ye(a,u);var f=a._debugInfo;if(f)for(var p=f.length-1;0<=p;p--){var g=f[p];if(typeof g.name=="string"){var S=o;t:{var w=g.name,R=g.env,M=g.debugLocation;if(M!=null){var Y=bt(M),K=Y.lastIndexOf(`
34
- `),H=K===-1?Y:Y.slice(K+1);if(H.indexOf(w)!==-1){var $=`
35
- `+H;break t}}$=Pt(w+(R?" ["+R+"]":""))}o=S+$}}u=a,a=a.return}while(a);return o}catch(mt){return`
36
- Error generating stack: `+mt.message+`
37
- `+mt.stack}}function Ke(a){return(a=a?a.displayName||a.name:"")?Pt(a):""}function Ln(){if(or===null)return null;var a=or._debugOwner;return a!=null?G(a):null}function Ei(){if(or===null)return"";var a=or;try{var o="";switch(a.tag===6&&(a=a.return),a.tag){case 26:case 27:case 5:o+=Pt(a.type);break;case 13:o+=Pt("Suspense");break;case 19:o+=Pt("SuspenseList");break;case 31:o+=Pt("Activity");break;case 30:case 0:case 15:case 1:a._debugOwner||o!==""||(o+=Ke(a.type));break;case 11:a._debugOwner||o!==""||(o+=Ke(a.type.render))}for(;a;)if(typeof a.tag=="number"){var u=a;a=u._debugOwner;var f=u._debugStack;if(a&&f){var p=bt(f);p!==""&&(o+=`
38
- `+p)}}else if(a.debugStack!=null){var g=a.debugStack;(a=a.owner)&&g&&(o+=`
39
- `+bt(g))}else break;var S=o}catch(w){S=`
40
- Error generating stack: `+w.message+`
41
- `+w.stack}return S}function pt(a,o,u,f,p,g,S){var w=or;Gl(a);try{return a!==null&&a._debugTask?a._debugTask.run(o.bind(null,u,f,p,g,S)):o(u,f,p,g,S)}finally{Gl(w)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function Gl(a){it.getCurrentStack=a===null?null:Ei,rs=!1,or=a}function go(a){return typeof Symbol=="function"&&Symbol.toStringTag&&a[Symbol.toStringTag]||a.constructor.name||"Object"}function Il(a){try{return Ti(a),!1}catch{return!0}}function Ti(a){return""+a}function Ze(a,o){if(Il(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,go(a)),Ti(a)}function v0(a,o){if(Il(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,go(a)),Ti(a)}function oe(a){if(Il(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.",go(a)),Ti(a)}function kh(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{rd=o.inject(a),Ji=o}catch(u){console.error("React instrumentation encountered an error: %o.",u)}return!!o.checkDCE}function on(a){if(typeof GV=="function"&&IV(a),Ji&&typeof Ji.setStrictMode=="function")try{Ji.setStrictMode(rd,a)}catch(o){os||(os=!0,console.error("React instrumentation encountered an error: %o",o))}}function Oy(a){return a>>>=0,a===0?32:31-(XV(a)/YV|0)|0}function Ho(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 qc(a,o,u){var f=a.pendingLanes;if(f===0)return 0;var p=0,g=a.suspendedLanes,S=a.pingedLanes;a=a.warmLanes;var w=f&134217727;return w!==0?(f=w&~g,f!==0?p=Ho(f):(S&=w,S!==0?p=Ho(S):u||(u=w&~a,u!==0&&(p=Ho(u))))):(w=f&~g,w!==0?p=Ho(w):S!==0?p=Ho(S):u||(u=f&~a,u!==0&&(p=Ho(u)))),p===0?0:o!==0&&o!==p&&(o&g)===0&&(g=p&-p,u=o&-o,g>=u||g===32&&(u&4194048)!==0)?o:p}function Vc(a,o){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&o)===0}function pw(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 Lh(){var a=Gb;return Gb<<=1,(Gb&62914560)===0&&(Gb=4194304),a}function Uh(a){for(var o=[],u=0;31>u;u++)o.push(a);return o}function Xl(a,o){a.pendingLanes|=o,o!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function My(a,o,u,f,p,g){var S=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 w=a.entanglements,R=a.expirationTimes,M=a.hiddenUpdates;for(u=S&~u;0<u;){var Y=31-ca(u),K=1<<Y;w[Y]=0,R[Y]=-1;var H=M[Y];if(H!==null)for(M[Y]=null,Y=0;Y<H.length;Y++){var $=H[Y];$!==null&&($.lane&=-536870913)}u&=~K}f!==0&&Gc(a,f,0),g!==0&&p===0&&a.tag!==0&&(a.suspendedLanes|=g&~(S&~o))}function Gc(a,o,u){a.pendingLanes|=o,a.suspendedLanes&=~o;var f=31-ca(o);a.entangledLanes|=o,a.entanglements[f]=a.entanglements[f]|1073741824|u&261930}function Ic(a,o){var u=a.entangledLanes|=o;for(a=a.entanglements;u;){var f=31-ca(u),p=1<<f;p&o|a[f]&o&&(a[f]|=o),u&=~p}}function Xc(a,o){var u=o&-o;return u=(u&42)!==0?1:Yc(u),(u&(a.suspendedLanes|o))!==0?0:u}function Yc(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 y0(a,o,u){if(ss)for(a=a.pendingUpdatersLaneMap;0<u;){var f=31-ca(u),p=1<<f;a[f].add(o),u&=~p}}function Yl(a,o){if(ss)for(var u=a.pendingUpdatersLaneMap,f=a.memoizedUpdaters;0<o;){var p=31-ca(o);a=1<<p,p=u[p],0<p.size&&(p.forEach(function(g){var S=g.alternate;S!==null&&f.has(S)||f.add(g)}),p.clear()),o&=~a}}function _(a){return a&=-a,sr!==0&&sr<a?xo!==0&&xo<a?(a&134217727)!==0?ls:Ib:xo:sr}function Q(){var a=He.p;return a!==0?a:(a=window.event,a===void 0?ls:Iz(a.type))}function ht(a,o){var u=He.p;try{return He.p=a,o()}finally{He.p=u}}function vt(a){delete a[Pi],delete a[fa],delete a[kT],delete a[KV],delete a[ZV]}function Ct(a){var o=a[Pi];if(o)return o;for(var u=a.parentNode;u;){if(o=u[cu]||u[Pi]){if(u=o.alternate,o.child!==null||u!==null&&u.child!==null)for(a=_z(a);a!==null;){if(u=a[Pi])return u;a=_z(a)}return o}a=u,u=a.parentNode}return null}function Zt(a){if(a=a[Pi]||a[cu]){var o=a.tag;if(o===5||o===6||o===13||o===31||o===26||o===27||o===3)return a}return null}function Wt(a){var o=a.tag;if(o===5||o===26||o===27||o===6)return a.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Le(a){var o=a[s5];return o||(o=a[s5]={hoistableStyles:new Map,hoistableScripts:new Map}),o}function kt(a){a[am]=!0}function Wi(a,o){Wa(a,o),Wa(a+"Capture",o)}function Wa(a,o){cf[a]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",a),cf[a]=o;var u=a.toLowerCase();for(LT[u]=a,a==="onDoubleClick"&&(LT.ondblclick=a),a=0;a<o.length;a++)l5.add(o[a])}function Kl(a,o){WV[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 b0(a){return So.call(c5,a)?!0:So.call(u5,a)?!1:QV.test(a)?c5[a]=!0:(u5[a]=!0,console.error("Invalid attribute name: `%s`",a),!1)}function e3(a,o,u){if(b0(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:(Ze(u,o),a===""+u?u:a)}}function _y(a,o,u){if(b0(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}}Ze(u,o),a.setAttribute(o,""+u)}}function Fy(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}Ze(u,o),a.setAttribute(o,""+u)}}function Ps(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}Ze(f,u),a.setAttributeNS(o,u,""+f)}}function Mr(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return oe(a),a;default:return""}}function n3(a){var o=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function X9(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 p=f.get,g=f.set;return Object.defineProperty(a,o,{configurable:!0,get:function(){return p.call(this)},set:function(S){oe(S),u=""+S,g.call(this,S)}}),Object.defineProperty(a,o,{enumerable:f.enumerable}),{getValue:function(){return u},setValue:function(S){oe(S),u=""+S},stopTracking:function(){a._valueTracker=null,delete a[o]}}}}function mw(a){if(!a._valueTracker){var o=n3(a)?"checked":"value";a._valueTracker=X9(a,o,""+a[o])}}function i3(a){if(!a)return!1;var o=a._valueTracker;if(!o)return!0;var u=o.getValue(),f="";return a&&(f=n3(a)?a.checked?"true":"false":a.value),a=f,a!==u?(o.setValue(a),!0):!1}function Ny(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 _r(a){return a.replace(JV,function(o){return"\\"+o.charCodeAt(0).toString(16)+" "})}function a3(a,o){o.checked===void 0||o.defaultChecked===void 0||h5||(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",Ln()||"A component",o.type),h5=!0),o.value===void 0||o.defaultValue===void 0||f5||(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",Ln()||"A component",o.type),f5=!0)}function gw(a,o,u,f,p,g,S,w){a.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?(Ze(S,"type"),a.type=S):a.removeAttribute("type"),o!=null?S==="number"?(o===0&&a.value===""||a.value!=o)&&(a.value=""+Mr(o)):a.value!==""+Mr(o)&&(a.value=""+Mr(o)):S!=="submit"&&S!=="reset"||a.removeAttribute("value"),o!=null?vw(a,S,Mr(o)):u!=null?vw(a,S,Mr(u)):f!=null&&a.removeAttribute("value"),p==null&&g!=null&&(a.defaultChecked=!!g),p!=null&&(a.checked=p&&typeof p!="function"&&typeof p!="symbol"),w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?(Ze(w,"name"),a.name=""+Mr(w)):a.removeAttribute("name")}function r3(a,o,u,f,p,g,S,w){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(Ze(g,"type"),a.type=g),o!=null||u!=null){if(!(g!=="submit"&&g!=="reset"||o!=null)){mw(a);return}u=u!=null?""+Mr(u):"",o=o!=null?""+Mr(o):u,w||o===a.value||(a.value=o),a.defaultValue=o}f=f??p,f=typeof f!="function"&&typeof f!="symbol"&&!!f,a.checked=w?a.checked:!!f,a.defaultChecked=!!f,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(Ze(S,"name"),a.name=S),mw(a)}function vw(a,o,u){o==="number"&&Ny(a.ownerDocument)===a||a.defaultValue===""+u||(a.defaultValue=""+u)}function o3(a,o){o.value==null&&(typeof o.children=="object"&&o.children!==null?ST.Children.forEach(o.children,function(u){u==null||typeof u=="string"||typeof u=="number"||typeof u=="bigint"||p5||(p5=!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||m5||(m5=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),o.selected==null||d5||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),d5=!0)}function s3(){var a=Ln();return a?`
42
-
43
- Check the render method of \``+a+"`.":""}function Bh(a,o,u,f){if(a=a.options,o){o={};for(var p=0;p<u.length;p++)o["$"+u[p]]=!0;for(u=0;u<a.length;u++)p=o.hasOwnProperty("$"+a[u].value),a[u].selected!==p&&(a[u].selected=p),p&&f&&(a[u].defaultSelected=!0)}else{for(u=""+Mr(u),o=null,p=0;p<a.length;p++){if(a[p].value===u){a[p].selected=!0,f&&(a[p].defaultSelected=!0);return}o!==null||a[p].disabled||(o=a[p])}o!==null&&(o.selected=!0)}}function l3(a,o){for(a=0;a<v5.length;a++){var u=v5[a];if(o[u]!=null){var f=mi(o[u]);o.multiple&&!f?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",u,s3()):!o.multiple&&f&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",u,s3())}}o.value===void 0||o.defaultValue===void 0||g5||(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"),g5=!0)}function u3(a,o){o.value===void 0||o.defaultValue===void 0||y5||(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",Ln()||"A component"),y5=!0),o.children!=null&&o.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function c3(a,o,u){if(o!=null&&(o=""+Mr(o),o!==a.value&&(a.value=o),u==null)){a.defaultValue!==o&&(a.defaultValue=o);return}a.defaultValue=u!=null?""+Mr(u):""}function f3(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(mi(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=Mr(o),a.defaultValue=u,f=a.textContent,f===u&&f!==""&&f!==null&&(a.value=f),mw(a)}function h3(a,o){return a.serverProps===void 0&&a.serverTail.length===0&&a.children.length===1&&3<a.distanceFromLeaf&&a.distanceFromLeaf>15-o?h3(a.children[0],o):a}function Qa(a){return" "+" ".repeat(a)}function Ph(a){return"+ "+" ".repeat(a)}function Kc(a){return"- "+" ".repeat(a)}function d3(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 S0(a,o){return b5.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 zy(a,o,u){var f=120-2*u;if(o===null)return Ph(u)+S0(a,f)+`
44
- `;if(typeof o=="string"){for(var p=0;p<o.length&&p<a.length&&o.charCodeAt(p)===a.charCodeAt(p);p++);return p>f-8&&10<p&&(a="..."+a.slice(p-8),o="..."+o.slice(p-8)),Ph(u)+S0(a,f)+`
45
- `+Kc(u)+S0(o,f)+`
46
- `}return Qa(u)+S0(a,f)+`
47
- `}function yw(a){return Object.prototype.toString.call(a).replace(/^\[object (.*)\]$/,function(o,u){return u})}function x0(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(mi(a))return"[...]";if(a.$$typeof===is)return(o=k(a.type))?"<"+o+">":"<...>";var u=yw(a);if(u==="Object"){u="",o-=2;for(var f in a)if(a.hasOwnProperty(f)){var p=JSON.stringify(f);if(p!=='"'+f+'"'&&(f=p),o-=f.length-2,p=x0(a[f],15>o?o:15),o-=p.length,0>o){u+=u===""?"...":", ...";break}u+=(u===""?"":",")+f+":"+p}return"{"+u+"}"}return u;case"function":return(o=a.displayName||a.name)?"function "+o:"function";default:return String(a)}}function Hh(a,o){return typeof a!="string"||b5.test(a)?"{"+x0(a,o-2)+"}":a.length>o-2?5>o?'"..."':'"'+a.slice(0,o-5)+'..."':'"'+a+'"'}function bw(a,o,u){var f=120-u.length-a.length,p=[],g;for(g in o)if(o.hasOwnProperty(g)&&g!=="children"){var S=Hh(o[g],120-u.length-g.length-1);f-=g.length+S.length+2,p.push(g+"="+S)}return p.length===0?u+"<"+a+`>
48
- `:0<f?u+"<"+a+" "+p.join(" ")+`>
49
- `:u+"<"+a+`
50
- `+u+" "+p.join(`
51
- `+u+" ")+`
52
- `+u+`>
53
- `}function Y9(a,o,u){var f="",p=ve({},o),g;for(g in a)if(a.hasOwnProperty(g)){delete p[g];var S=120-2*u-g.length-2,w=x0(a[g],S);o.hasOwnProperty(g)?(S=x0(o[g],S),f+=Ph(u)+g+": "+w+`
54
- `,f+=Kc(u)+g+": "+S+`
55
- `):f+=Ph(u)+g+": "+w+`
56
- `}for(var R in p)p.hasOwnProperty(R)&&(a=x0(p[R],120-2*u-R.length-2),f+=Kc(u)+R+": "+a+`
57
- `);return f}function K9(a,o,u,f){var p="",g=new Map;for(M in u)u.hasOwnProperty(M)&&g.set(M.toLowerCase(),M);if(g.size===1&&g.has("children"))p+=bw(a,o,Qa(f));else{for(var S in o)if(o.hasOwnProperty(S)&&S!=="children"){var w=120-2*(f+1)-S.length-1,R=g.get(S.toLowerCase());if(R!==void 0){g.delete(S.toLowerCase());var M=o[S];R=u[R];var Y=Hh(M,w);w=Hh(R,w),typeof M=="object"&&M!==null&&typeof R=="object"&&R!==null&&yw(M)==="Object"&&yw(R)==="Object"&&(2<Object.keys(M).length||2<Object.keys(R).length||-1<Y.indexOf("...")||-1<w.indexOf("..."))?p+=Qa(f+1)+S+`={{
58
- `+Y9(M,R,f+2)+Qa(f+1)+`}}
59
- `:(p+=Ph(f+1)+S+"="+Y+`
60
- `,p+=Kc(f+1)+S+"="+w+`
61
- `)}else p+=Qa(f+1)+S+"="+Hh(o[S],w)+`
62
- `}g.forEach(function(K){if(K!=="children"){var H=120-2*(f+1)-K.length-1;p+=Kc(f+1)+K+"="+Hh(u[K],H)+`
63
- `}}),p=p===""?Qa(f)+"<"+a+`>
64
- `:Qa(f)+"<"+a+`
65
- `+p+Qa(f)+`>
66
- `}return a=u.children,o=o.children,typeof a=="string"||typeof a=="number"||typeof a=="bigint"?(g="",(typeof o=="string"||typeof o=="number"||typeof o=="bigint")&&(g=""+o),p+=zy(g,""+a,f+1)):(typeof o=="string"||typeof o=="number"||typeof o=="bigint")&&(p=a==null?p+zy(""+o,null,f+1):p+zy(""+o,void 0,f+1)),p}function p3(a,o){var u=d3(a);if(u===null){for(u="",a=a.child;a;)u+=p3(a,o),a=a.sibling;return u}return Qa(o)+"<"+u+`>
67
- `}function Sw(a,o){var u=h3(a,o);if(u!==a&&(a.children.length!==1||a.children[0]!==u))return Qa(o)+`...
68
- `+Sw(u,o+1);u="";var f=a.fiber._debugInfo;if(f)for(var p=0;p<f.length;p++){var g=f[p].name;typeof g=="string"&&(u+=Qa(o)+"<"+g+`>
69
- `,o++)}if(f="",p=a.fiber.pendingProps,a.fiber.tag===6)f=zy(p,a.serverProps,o),o++;else if(g=d3(a.fiber),g!==null)if(a.serverProps===void 0){f=o;var S=120-2*f-g.length-2,w="";for(M in p)if(p.hasOwnProperty(M)&&M!=="children"){var R=Hh(p[M],15);if(S-=M.length+R.length+2,0>S){w+=" ...";break}w+=" "+M+"="+R}f=Qa(f)+"<"+g+w+`>
70
- `,o++}else a.serverProps===null?(f=bw(g,p,Ph(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=K9(g,p,a.serverProps,o),o++);var M="";for(p=a.fiber.child,g=0;p&&g<a.children.length;)S=a.children[g],S.fiber===p?(M+=Sw(S,o),g++):M+=p3(p,o),p=p.sibling;for(p&&0<a.children.length&&(M+=Qa(o)+`...
71
- `),p=a.serverTail,a.serverProps===null&&o--,a=0;a<p.length;a++)g=p[a],M=typeof g=="string"?M+(Kc(o)+S0(g,120-2*o)+`
72
- `):M+bw(g.type,g.props,Kc(o));return u+f+M}function xw(a){try{return`
73
-
74
- `+Sw(a,0)}catch{return""}}function m3(a,o,u){for(var f=o,p=null,g=0;f;)f===a&&(g=0),p={fiber:f,children:p!==null?[p]:[],serverProps:f===o?u:f===a?null:void 0,serverTail:[],distanceFromLeaf:g},g++,f=f.return;return p!==null?xw(p).replaceAll(/^[+-]/gm,">"):""}function g3(a,o){var u=ve({},a||x5),f={tag:o};return S5.indexOf(o)!==-1&&(u.aTagInScope=null,u.buttonTagInScope=null,u.nobrTagInScope=null),tG.indexOf(o)!==-1&&(u.pTagInButtonScope=null),$V.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 v3(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 eG.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 Z9(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 y3(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 Aw(a,o){o=o||x5;var u=o.current;if(o=(u=v3(a,u&&u.tag,o.implicitRootScope)?null:u)?null:Z9(a,o),o=u||o,!o)return!0;var f=o.tag;if(o=String(!!u)+"|"+a+"|"+f,Xb[o])return!1;Xb[o]=!0;var p=(o=or)?y3(o.return,f):null,g=o!==null&&p!==null?m3(p,o,null):"",S="<"+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`,S,f,u,g)):console.error(`In HTML, %s cannot be a descendant of <%s>.
76
- This will cause a hydration error.%s`,S,f,g),o&&(a=o.return,p===null||a===null||p===a&&a._debugOwner===o._debugOwner||pt(p,function(){console.error(`<%s> cannot contain a nested %s.
77
- See this log for the ancestor stack trace.`,f,S)})),!1}function ky(a,o,u){if(u||v3("#text",o,!1))return!0;if(u="#text|"+o,Xb[u])return!1;Xb[u]=!0;var f=(u=or)?y3(u,o):null;return u=u!==null&&f!==null?m3(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 A0(a,o){if(o){var u=a.firstChild;if(u&&u===a.lastChild&&u.nodeType===3){u.nodeValue=o;return}}a.textContent=o}function W9(a){return a.replace(aG,function(o,u){return u.toUpperCase()})}function b3(a,o,u){var f=o.indexOf("--")===0;f||(-1<o.indexOf("-")?od.hasOwnProperty(o)&&od[o]||(od[o]=!0,console.error("Unsupported style property %s. Did you mean %s?",o,W9(o.replace(iG,"ms-")))):nG.test(o)?od.hasOwnProperty(o)&&od[o]||(od[o]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",o,o.charAt(0).toUpperCase()+o.slice(1))):!E5.test(u)||BT.hasOwnProperty(u)&&BT[u]||(BT[u]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,o,u.replace(E5,""))),typeof u=="number"&&(isNaN(u)?T5||(T5=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",o)):isFinite(u)||C5||(C5=!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||D5.has(o)?o==="float"?a.cssFloat=u:(v0(u,o),a[o]=(""+u).trim()):a[o]=u+"px"}function S3(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 p in u)if(u.hasOwnProperty(p)&&!o.hasOwnProperty(p))for(var g=UT[p]||[p],S=0;S<g.length;S++)f[g[S]]=p}for(var w in o)if(o.hasOwnProperty(w)&&(!u||u[w]!==o[w]))for(p=UT[w]||[w],g=0;g<p.length;g++)f[p[g]]=w;w={};for(var R in o)for(p=UT[R]||[R],g=0;g<p.length;g++)w[p[g]]=R;R={};for(var M in f)if(p=f[M],(g=w[M])&&p!==g&&(S=p+","+g,!R[S])){R[S]=!0,S=console;var Y=o[p];S.error.call(S,"%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.",Y==null||typeof Y=="boolean"||Y===""?"Removing":"Updating",p,g)}}for(var K in u)!u.hasOwnProperty(K)||o!=null&&o.hasOwnProperty(K)||(K.indexOf("--")===0?a.setProperty(K,""):K==="float"?a.cssFloat="":a[K]="");for(var H in o)M=o[H],o.hasOwnProperty(H)&&u[H]!==M&&b3(a,H,M)}else for(f in o)o.hasOwnProperty(f)&&b3(a,f,o[f])}function w0(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 x3(a){return rG.get(a)||a}function Q9(a,o){if(So.call(ld,o)&&ld[o])return!0;if(sG.test(o)){if(a="aria-"+o.slice(4).toLowerCase(),a=R5.hasOwnProperty(a)?a:null,a==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",o),ld[o]=!0;if(o!==a)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",o,a),ld[o]=!0}if(oG.test(o)){if(a=o.toLowerCase(),a=R5.hasOwnProperty(a)?a:null,a==null)return ld[o]=!0,!1;o!==a&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",o,a),ld[o]=!0)}return!0}function J9(a,o){var u=[],f;for(f in o)Q9(a,f)||u.push(f);o=u.map(function(p){return"`"+p+"`"}).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 $9(a,o,u,f){if(So.call(ha,o)&&ha[o])return!0;var p=o.toLowerCase();if(p==="onfocusin"||p==="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."),ha[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(p)?a[p]:null,f!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",o,f),ha[o]=!0;if(M5.test(o))return console.error("Unknown event handler property `%s`. It will be ignored.",o),ha[o]=!0}else if(M5.test(o))return lG.test(o)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",o),ha[o]=!0;if(uG.test(o)||cG.test(o))return!0;if(p==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),ha[o]=!0;if(p==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),ha[o]=!0;if(p==="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),ha[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),ha[o]=!0;if(Kb.hasOwnProperty(p)){if(p=Kb[p],p!==o)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",o,p),ha[o]=!0}else if(o!==p)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,p),ha[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 p=o.toLowerCase().slice(0,5),p==="data-"||p==="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),ha[o]=!0)}case"function":case"symbol":return ha[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),ha[o]=!0}}return!0}function tq(a,o,u){var f=[],p;for(p in o)$9(a,p,o[p],u)||f.push(p);o=f.map(function(g){return"`"+g+"`"}).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 E0(a){return fG.test(""+a)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":a}function Hs(){}function ww(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}function A3(a){var o=Zt(a);if(o&&(a=o.stateNode)){var u=a[fa]||null;t:switch(a=o.stateNode,o.type){case"input":if(gw(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(Ze(o,"name"),u=u.querySelectorAll('input[name="'+_r(""+o)+'"][type="radio"]'),o=0;o<u.length;o++){var f=u[o];if(f!==a&&f.form===a.form){var p=f[fa]||null;if(!p)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");gw(f,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name)}}for(o=0;o<u.length;o++)f=u[o],f.form===a.form&&i3(f)}break t;case"textarea":c3(a,u.value,u.defaultValue);break t;case"select":o=u.value,o!=null&&Bh(a,!!u.multiple,o,!1)}}}function w3(a,o,u){if(PT)return a(o,u);PT=!0;try{var f=a(o);return f}finally{if(PT=!1,(ud!==null||cd!==null)&&(Wh(),ud&&(o=ud,a=cd,cd=ud=null,A3(o),a)))for(o=0;o<a.length;o++)A3(a[o])}}function T0(a,o){var u=a.stateNode;if(u===null)return null;var f=u[fa]||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 E3(){if(Zb)return Zb;var a,o=jT,u=o.length,f,p="value"in fu?fu.value:fu.textContent,g=p.length;for(a=0;a<u&&o[a]===p[a];a++);var S=u-a;for(f=1;f<=S&&o[u-f]===p[g-f];f++);return Zb=p.slice(a,1<f?1-f:void 0)}function Ly(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 Uy(){return!0}function T3(){return!1}function Ma(a){function o(u,f,p,g,S){this._reactName=u,this._targetInst=p,this.type=f,this.nativeEvent=g,this.target=S,this.currentTarget=null;for(var w in a)a.hasOwnProperty(w)&&(u=a[w],this[w]=u?u(g):g[w]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Uy:T3,this.isPropagationStopped=T3,this}return ve(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=Uy)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=Uy)},persist:function(){},isPersistent:Uy}),o}function eq(a){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(a):(a=EG[a])?!!o[a]:!1}function Ew(){return eq}function C3(a,o){switch(a){case"keyup":return LG.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==z5;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function D3(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}function nq(a,o){switch(a){case"compositionend":return D3(o);case"keypress":return o.which!==L5?null:(B5=!0,U5);case"textInput":return a=o.data,a===U5&&B5?null:a;default:return null}}function iq(a,o){if(fd)return a==="compositionend"||!IT&&C3(a,o)?(a=E3(),Zb=jT=fu=null,fd=!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 k5&&o.locale!=="ko"?null:o.data;default:return null}}function R3(a){var o=a&&a.nodeName&&a.nodeName.toLowerCase();return o==="input"?!!BG[a.type]:o==="textarea"}function aq(a){if(!us)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 O3(a,o,u,f){ud?cd?cd.push(f):cd=[f]:ud=f,o=Ob(o,"onChange"),0<o.length&&(u=new Wb("onChange","change",null,u,f),a.push({event:u,listeners:o}))}function rq(a){fz(a,0)}function By(a){var o=Wt(a);if(i3(o))return a}function M3(a,o){if(a==="change")return o}function _3(){cm&&(cm.detachEvent("onpropertychange",F3),fm=cm=null)}function F3(a){if(a.propertyName==="value"&&By(fm)){var o=[];O3(o,fm,a,ww(a)),w3(rq,o)}}function oq(a,o,u){a==="focusin"?(_3(),cm=o,fm=u,cm.attachEvent("onpropertychange",F3)):a==="focusout"&&_3()}function sq(a){if(a==="selectionchange"||a==="keyup"||a==="keydown")return By(fm)}function lq(a,o){if(a==="click")return By(o)}function uq(a,o){if(a==="input"||a==="change")return By(o)}function cq(a,o){return a===o&&(a!==0||1/a===1/o)||a!==a&&o!==o}function C0(a,o){if(da(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 p=u[f];if(!So.call(o,p)||!da(a[p],o[p]))return!1}return!0}function N3(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function z3(a,o){var u=N3(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=N3(u)}}function k3(a,o){return a&&o?a===o?!0:a&&a.nodeType===3?!1:o&&o.nodeType===3?k3(a,o.parentNode):"contains"in a?a.contains(o):a.compareDocumentPosition?!!(a.compareDocumentPosition(o)&16):!1:!1}function L3(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var o=Ny(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=Ny(a.document)}return o}function Tw(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 U3(a,o,u){var f=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;YT||hd==null||hd!==Ny(f)||(f=hd,"selectionStart"in f&&Tw(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}),hm&&C0(hm,f)||(hm=f,f=Ob(XT,"onSelect"),0<f.length&&(o=new Wb("onSelect","select",null,o,u),a.push({event:o,listeners:f}),o.target=hd)))}function Zc(a,o){var u={};return u[a.toLowerCase()]=o.toLowerCase(),u["Webkit"+a]="webkit"+o,u["Moz"+a]="moz"+o,u}function Wc(a){if(KT[a])return KT[a];if(!dd[a])return a;var o=dd[a],u;for(u in o)if(o.hasOwnProperty(u)&&u in H5)return KT[a]=o[u];return a}function vo(a,o){I5.set(a,o),Wi(o,[a])}function fq(a){for(var o=Jb,u=0;u<a.length;u++){var f=a[u];if(typeof f=="object"&&f!==null)if(mi(f)&&f.length===2&&typeof f[0]=="string"){if(o!==Jb&&o!==$T)return QT;o=$T}else return QT;else{if(typeof f=="function"||typeof f=="string"&&50<f.length||o!==Jb&&o!==JT)return QT;o=JT}}return o}function Cw(a,o,u,f){for(var p in a)So.call(a,p)&&p[0]!=="_"&&jo(p,a[p],o,u,f)}function jo(a,o,u,f,p){switch(typeof o){case"object":if(o===null){o="null";break}else{if(o.$$typeof===is){var g=k(o.type)||"\u2026",S=o.key;o=o.props;var w=Object.keys(o),R=w.length;if(S==null&&R===0){o="<"+g+" />";break}if(3>f||R===1&&w[0]==="children"&&S==null){o="<"+g+" \u2026 />";break}u.push([p+"\xA0\xA0".repeat(f)+a,"<"+g]),S!==null&&jo("key",S,u,f+1,p),a=!1;for(var M in o)M==="children"?o.children!=null&&(!mi(o.children)||0<o.children.length)&&(a=!0):So.call(o,M)&&M[0]!=="_"&&jo(M,o[M],u,f+1,p);u.push(["",a?">\u2026</"+g+">":"/>"]);return}if(g=Object.prototype.toString.call(o),g=g.slice(8,g.length-1),g==="Array"){if(M=fq(o),M===JT||M===Jb){o=JSON.stringify(o);break}else if(M===$T){for(u.push([p+"\xA0\xA0".repeat(f)+a,""]),a=0;a<o.length;a++)g=o[a],jo(g[0],g[1],u,f+1,p);return}}if(g==="Promise"){if(o.status==="fulfilled"){if(g=u.length,jo(a,o.value,u,f,p),u.length>g){u=u[g],u[1]="Promise<"+(u[1]||"Object")+">";return}}else if(o.status==="rejected"&&(g=u.length,jo(a,o.reason,u,f,p),u.length>g)){u=u[g],u[1]="Rejected Promise<"+u[1]+">";return}u.push(["\xA0\xA0".repeat(f)+a,"Promise"]);return}g==="Object"&&(M=Object.getPrototypeOf(o))&&typeof M.constructor=="function"&&(g=M.constructor.name),u.push([p+"\xA0\xA0".repeat(f)+a,g==="Object"?3>f?"":"\u2026":g]),3>f&&Cw(o,u,f+1,p);return}case"function":o=o.name===""?"() => {}":o.name+"() {}";break;case"string":o=o===IG?"\u2026":JSON.stringify(o);break;case"undefined":o="undefined";break;case"boolean":o=o?"true":"false";break;default:o=String(o)}u.push([p+"\xA0\xA0".repeat(f)+a,o])}function B3(a,o,u,f){var p=!0;for(S in a)S in o||(u.push([$b+"\xA0\xA0".repeat(f)+S,"\u2026"]),p=!1);for(var g in o)if(g in a){var S=a[g],w=o[g];if(S!==w){if(f===0&&g==="children")p="\xA0\xA0".repeat(f)+g,u.push([$b+p,"\u2026"],[t1+p,"\u2026"]);else{if(!(3<=f)){if(typeof S=="object"&&typeof w=="object"&&S!==null&&w!==null&&S.$$typeof===w.$$typeof)if(w.$$typeof===is){if(S.type===w.type&&S.key===w.key){S=k(w.type)||"\u2026",p="\xA0\xA0".repeat(f)+g,S="<"+S+" \u2026 />",u.push([$b+p,S],[t1+p,S]),p=!1;continue}}else{var R=Object.prototype.toString.call(S),M=Object.prototype.toString.call(w);if(R===M&&(M==="[object Object]"||M==="[object Array]")){R=[K5+"\xA0\xA0".repeat(f)+g,M==="[object Array]"?"Array":""],u.push(R),M=u.length,B3(S,w,u,f+1)?M===u.length&&(R[1]="Referentially unequal but deeply equal objects. Consider memoization."):p=!1;continue}}else if(typeof S=="function"&&typeof w=="function"&&S.name===w.name&&S.length===w.length&&(R=Function.prototype.toString.call(S),M=Function.prototype.toString.call(w),R===M)){S=w.name===""?"() => {}":w.name+"() {}",u.push([K5+"\xA0\xA0".repeat(f)+g,S+" Referentially unequal function closure. Consider memoization."]);continue}}jo(g,S,u,f,$b),jo(g,w,u,f,t1)}p=!1}}else u.push([t1+"\xA0\xA0".repeat(f)+g,"\u2026"]),p=!1;return p}function Ja(a){Se=a&63?"Blocking":a&64?"Gesture":a&4194176?"Transition":a&62914560?"Suspense":a&2080374784?"Idle":"Other"}function qo(a,o,u,f){fn&&(du.start=o,du.end=u,Zs.color="warning",Zs.tooltipText=f,Zs.properties=null,(a=a._debugTask)?a.run(performance.measure.bind(performance,f,du)):performance.measure(f,du))}function Py(a,o,u){qo(a,o,u,"Reconnect")}function Hy(a,o,u,f,p){var g=q(a);if(g!==null&&fn){var S=a.alternate,w=a.actualDuration;if(S===null||S.child!==a.child)for(var R=a.child;R!==null;R=R.sibling)w-=R.actualDuration;f=.5>w?f?"tertiary-light":"primary-light":10>w?f?"tertiary":"primary":100>w?f?"tertiary-dark":"primary-dark":"error";var M=a.memoizedProps;w=a._debugTask,M!==null&&S!==null&&S.memoizedProps!==M?(R=[XG],M=B3(S.memoizedProps,M,R,0),1<R.length&&(M&&!hu&&(S.lanes&p)===0&&100<a.actualDuration?(hu=!0,R[0]=YG,Zs.color="warning",Zs.tooltipText=Z5):(Zs.color=f,Zs.tooltipText=g),Zs.properties=R,du.start=o,du.end=u,w!=null?w.run(performance.measure.bind(performance,"\u200B"+g,du)):performance.measure("\u200B"+g,du))):w!=null?w.run(console.timeStamp.bind(console,g,o,u,Nr,void 0,f)):console.timeStamp(g,o,u,Nr,void 0,f)}}function Dw(a,o,u,f){if(fn){var p=q(a);if(p!==null){for(var g=null,S=[],w=0;w<f.length;w++){var R=f[w];g==null&&R.source!==null&&(g=R.source._debugTask),R=R.value,S.push(["Error",typeof R=="object"&&R!==null&&typeof R.message=="string"?String(R.message):String(R)])}a.key!==null&&jo("key",a.key,S,0,""),a.memoizedProps!==null&&Cw(a.memoizedProps,S,0,""),g==null&&(g=a._debugTask),a={start:o,end:u,detail:{devtools:{color:"error",track:Nr,tooltipText:a.tag===13?"Hydration failed":"Error boundary caught an error",properties:S}}},g?g.run(performance.measure.bind(performance,"\u200B"+p,a)):performance.measure("\u200B"+p,a)}}}function Vo(a,o,u,f,p){if(p!==null){if(fn){var g=q(a);if(g!==null){f=[];for(var S=0;S<p.length;S++){var w=p[S].value;f.push(["Error",typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w)])}a.key!==null&&jo("key",a.key,f,0,""),a.memoizedProps!==null&&Cw(a.memoizedProps,f,0,""),o={start:o,end:u,detail:{devtools:{color:"error",track:Nr,tooltipText:"A lifecycle or effect errored",properties:f}}},(a=a._debugTask)?a.run(performance.measure.bind(performance,"\u200B"+g,o)):performance.measure("\u200B"+g,o)}}}else g=q(a),g!==null&&fn&&(p=1>f?"secondary-light":100>f?"secondary":500>f?"secondary-dark":"error",(a=a._debugTask)?a.run(console.timeStamp.bind(console,g,o,u,Nr,void 0,p)):console.timeStamp(g,o,u,Nr,void 0,p))}function hq(a,o,u,f){if(fn&&!(o<=a)){var p=(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,Se,ye,p)):console.timeStamp(u,a,o,Se,ye,p)}}function P3(a,o,u,f){!fn||o<=a||(u=(u&738197653)===u?"tertiary-dark":"primary-dark",f?f.run(console.timeStamp.bind(console,"Prewarm",a,o,Se,ye,u)):console.timeStamp("Prewarm",a,o,Se,ye,u))}function H3(a,o,u,f){!fn||o<=a||(u=(u&738197653)===u?"tertiary-dark":"primary-dark",f?f.run(console.timeStamp.bind(console,"Suspended",a,o,Se,ye,u)):console.timeStamp("Suspended",a,o,Se,ye,u))}function dq(a,o,u,f,p,g){if(fn&&!(o<=a)){u=[];for(var S=0;S<f.length;S++){var w=f[S].value;u.push(["Recoverable Error",typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w)])}a={start:a,end:o,detail:{devtools:{color:"primary-dark",track:Se,trackGroup:ye,tooltipText:p?"Hydration Failed":"Recovered after Error",properties:u}}},g?g.run(performance.measure.bind(performance,"Recovered",a)):performance.measure("Recovered",a)}}function Rw(a,o,u,f){!fn||o<=a||(f?f.run(console.timeStamp.bind(console,"Errored",a,o,Se,ye,"error")):console.timeStamp("Errored",a,o,Se,ye,"error"))}function pq(a,o,u,f){!fn||o<=a||(f?f.run(console.timeStamp.bind(console,u,a,o,Se,ye,"secondary-light")):console.timeStamp(u,a,o,Se,ye,"secondary-light"))}function j3(a,o,u,f,p){if(fn&&!(o<=a)){for(var g=[],S=0;S<u.length;S++){var w=u[S].value;g.push(["Error",typeof w=="object"&&w!==null&&typeof w.message=="string"?String(w.message):String(w)])}a={start:a,end:o,detail:{devtools:{color:"error",track:Se,trackGroup:ye,tooltipText:f?"Remaining Effects Errored":"Commit Errored",properties:g}}},p?p.run(performance.measure.bind(performance,"Errored",a)):performance.measure("Errored",a)}}function D0(a,o,u){!fn||o<=a||(u?u.run(console.timeStamp.bind(console,"Animating",a,o,Se,ye,"secondary-dark")):console.timeStamp("Animating",a,o,Se,ye,"secondary-dark"))}function jy(){for(var a=pd,o=t2=pd=0;o<a;){var u=zr[o];zr[o++]=null;var f=zr[o];zr[o++]=null;var p=zr[o];zr[o++]=null;var g=zr[o];if(zr[o++]=null,f!==null&&p!==null){var S=f.pending;S===null?p.next=p:(p.next=S.next,S.next=p),f.pending=p}g!==0&&q3(u,p,g)}}function qy(a,o,u,f){zr[pd++]=a,zr[pd++]=o,zr[pd++]=u,zr[pd++]=f,t2|=f,a.lanes|=f,a=a.alternate,a!==null&&(a.lanes|=f)}function Ow(a,o,u,f){return qy(a,o,u,f),Vy(a)}function Qi(a,o){return qy(a,null,null,o),Vy(a)}function q3(a,o,u){a.lanes|=u;var f=a.alternate;f!==null&&(f.lanes|=u);for(var p=!1,g=a.return;g!==null;)g.childLanes|=u,f=g.alternate,f!==null&&(f.childLanes|=u),g.tag===22&&(a=g.stateNode,a===null||a._visibility&dm||(p=!0)),a=g,g=g.return;return a.tag===3?(g=a.stateNode,p&&o!==null&&(p=31-ca(u),a=g.hiddenUpdates,f=a[p],f===null?a[p]=[o]:f.push(o),o.lane=u|536870912),g):null}function Vy(a){if(Hm>lI)throw Cf=Hm=0,jm=N2=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.");Cf>uI&&(Cf=0,jm=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&&az(a);for(var o=a,u=o.return;u!==null;)o.alternate===null&&(o.flags&4098)!==0&&az(a),o=u,u=o.return;return o.tag===3?o.stateNode:null}function Qc(a){if(kr===null)return a;var o=kr(a);return o===void 0?a:o.current}function Mw(a){if(kr===null)return a;var o=kr(a);return o===void 0?a!=null&&typeof a.render=="function"&&(o=Qc(a.render),a.render!==o)?(o={$$typeof:em,render:o},a.displayName!==void 0&&(o.displayName=a.displayName),o):a:o.current}function V3(a,o){if(kr===null)return!1;var u=a.elementType;o=o.type;var f=!1,p=typeof o=="object"&&o!==null?o.$$typeof:null;switch(a.tag){case 1:typeof o=="function"&&(f=!0);break;case 0:(typeof o=="function"||p===rr)&&(f=!0);break;case 11:(p===em||p===rr)&&(f=!0);break;case 14:case 15:(p===Hb||p===rr)&&(f=!0);break;default:return!1}return!!(f&&(a=kr(u),a!==void 0&&a===kr(o)))}function G3(a){kr!==null&&typeof WeakSet=="function"&&(md===null&&(md=new WeakSet),md.add(a))}function I3(a,o,u){do{var f=a,p=f.alternate,g=f.child,S=f.sibling,w=f.tag;f=f.type;var R=null;switch(w){case 0:case 15:case 1:R=f;break;case 11:R=f.render}if(kr===null)throw Error("Expected resolveFamily to be set during hot reload.");var M=!1;if(f=!1,R!==null&&(R=kr(R),R!==void 0&&(u.has(R)?f=!0:o.has(R)&&(w===1?f=!0:M=!0))),md!==null&&(md.has(a)||p!==null&&md.has(p))&&(f=!0),f&&(a._debugNeedsRemount=!0),(f||M)&&(p=Qi(a,2),p!==null&&Fn(p,a,2)),g===null||f||I3(g,o,u),S===null)break;a=S}while(!0)}function mq(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,W5||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function _w(a){return a=a.prototype,!(!a||!a.isReactComponent)}function js(a,o){var u=a.alternate;switch(u===null?(u=y(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=Qc(a.type);break;case 1:u.type=Qc(a.type);break;case 11:u.type=Mw(a.type)}return u}function X3(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 Fw(a,o,u,f,p,g){var S=0,w=a;if(typeof a=="function")_w(a)&&(S=1),w=Qc(w);else if(typeof a=="string")S=V(),S=EV(a,u,S)?26:a==="html"||a==="head"||a==="body"?27:5;else t:switch(a){case TT:return o=y(31,u,o,p),o.elementType=TT,o.lanes=g,o;case id:return Jc(u.children,p,g,o);case Pb:S=8,p|=$i,p|=Ao;break;case xT:return a=u,f=p,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=y(12,a,o,f|se),o.elementType=xT,o.lanes=g,o.stateNode={effectDuration:0,passiveEffectDuration:0},o;case wT:return o=y(13,u,o,p),o.elementType=wT,o.lanes=g,o;case ET:return o=y(19,u,o,p),o.elementType=ET,o.lanes=g,o;default:if(typeof a=="object"&&a!==null)switch(a.$$typeof){case as:S=10;break t;case AT:S=9;break t;case em:S=11,w=Mw(w);break t;case Hb:S=14;break t;case rr:S=16,w=null;break t}w="",(a===void 0||typeof a=="object"&&a!==null&&Object.keys(a).length===0)&&(w+=" 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":mi(a)?u="array":a!==void 0&&a.$$typeof===is?(u="<"+(k(a.type)||"Unknown")+" />",w=" Did you accidentally export a JSX literal instead of a component?"):u=typeof a,(S=f?G(f):null)&&(w+=`
80
-
81
- Check the render method of \``+S+"`."),S=29,u=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(u+"."+w)),w=null}return o=y(S,u,o,p),o.elementType=a,o.type=w,o.lanes=g,o._debugOwner=f,o}function Gy(a,o,u){return o=Fw(a.type,a.key,a.props,a._owner,o,u),o._debugOwner=a._owner,o._debugStack=a._debugStack,o._debugTask=a._debugTask,o}function Jc(a,o,u,f){return a=y(7,a,f,o),a.lanes=u,a}function Nw(a,o,u){return a=y(6,a,null,o),a.lanes=u,a}function Y3(a){var o=y(18,null,null,qt);return o.stateNode=a,o}function zw(a,o,u){return o=y(4,a.children!==null?a.children:[],a.key,o),o.lanes=u,o.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},o}function $a(a,o){if(typeof a=="object"&&a!==null){var u=e2.get(a);return u!==void 0?u:(o={value:a,source:o,stack:Et(o)},e2.set(a,o),o)}return{value:a,source:o,stack:Et(o)}}function qs(a,o){Zl(),gd[vd++]=pm,gd[vd++]=e1,e1=a,pm=o}function K3(a,o,u){Zl(),Lr[Ur++]=Qs,Lr[Ur++]=Js,Lr[Ur++]=hf,hf=a;var f=Qs;a=Js;var p=32-ca(f)-1;f&=~(1<<p),u+=1;var g=32-ca(o)+p;if(30<g){var S=p-p%5;g=(f&(1<<S)-1).toString(32),f>>=S,p-=S,Qs=1<<32-ca(o)+p|u<<p|f,Js=g+a}else Qs=1<<g|u<<p|f,Js=a}function kw(a){Zl(),a.return!==null&&(qs(a,1),K3(a,1,0))}function Lw(a){for(;a===e1;)e1=gd[--vd],gd[vd]=null,pm=gd[--vd],gd[vd]=null;for(;a===hf;)hf=Lr[--Ur],Lr[Ur]=null,Js=Lr[--Ur],Lr[Ur]=null,Qs=Lr[--Ur],Lr[Ur]=null}function Z3(){return Zl(),hf!==null?{id:Qs,overflow:Js}:null}function W3(a,o){Zl(),Lr[Ur++]=Qs,Lr[Ur++]=Js,Lr[Ur++]=hf,Qs=o.id,Js=o.overflow,hf=a}function Zl(){xe||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function $c(a,o){if(a.return===null){if(lr===null)lr={fiber:a,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:o};else{if(lr.fiber!==a)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");lr.distanceFromLeaf>o&&(lr.distanceFromLeaf=o)}return lr}var u=$c(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 Q3(){xe&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Iy(a,o){cs||(a=$c(a,0),a.serverProps=null,o!==null&&(o=Oz(o),a.serverTail.push(o)))}function Wl(a){var o=1<arguments.length&&arguments[1]!==void 0?arguments[1]:!1,u="",f=lr;throw f!==null&&(lr=null,u=xw(f)),R0($a(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)),n2}function J3(a){var o=a.stateNode,u=a.type,f=a.memoizedProps;switch(o[Pi]=a,o[fa]=f,nT(u,f),u){case"dialog":Ee("cancel",o),Ee("close",o);break;case"iframe":case"object":case"embed":Ee("load",o);break;case"video":case"audio":for(u=0;u<qm.length;u++)Ee(qm[u],o);break;case"source":Ee("error",o);break;case"img":case"image":case"link":Ee("error",o),Ee("load",o);break;case"details":Ee("toggle",o);break;case"input":Kl("input",f),Ee("invalid",o),a3(o,f),r3(o,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0);break;case"option":o3(o,f);break;case"select":Kl("select",f),Ee("invalid",o),l3(o,f);break;case"textarea":Kl("textarea",f),Ee("invalid",o),u3(o,f),f3(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||mz(o.textContent,u)?(f.popover!=null&&(Ee("beforetoggle",o),Ee("toggle",o)),f.onScroll!=null&&Ee("scroll",o),f.onScrollEnd!=null&&Ee("scrollend",o),f.onClick!=null&&(o.onclick=Hs),o=!0):o=!1,o||Wl(a,!0)}function $3(a){for(Hi=a.return;Hi;)switch(Hi.tag){case 5:case 31:case 13:Br=!1;return;case 27:case 3:Br=!0;return;default:Hi=Hi.return}}function jh(a){if(a!==Hi)return!1;if(!xe)return $3(a),xe=!0,!1;var o=a.tag,u;if((u=o!==3&&o!==27)&&((u=o===5)&&(u=a.type,u=!(u!=="form"&&u!=="button")||sT(a.type,a.memoizedProps)),u=!u),u&&hn){for(u=hn;u;){var f=$c(a,0),p=Oz(u);f.serverTail.push(p),u=p.type==="Suspense"?fT(u):ar(u.nextSibling)}Wl(a)}if($3(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.");hn=fT(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.");hn=fT(a)}else o===27?(o=hn,ou(a.type)?(a=I2,I2=null,hn=a):hn=o):hn=Hi?ar(a.stateNode.nextSibling):null;return!0}function tf(){hn=Hi=null,cs=xe=!1}function Uw(){var a=mu;return a!==null&&(va===null?va=a:va.push.apply(va,a),mu=null),a}function R0(a){mu===null?mu=[a]:mu.push(a)}function Bw(){var a=lr;if(a!==null){lr=null;for(var o=xw(a);0<a.children.length;)a=a.children[0];pt(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 Xy(){yd=n1=null,bd=!1}function Ql(a,o,u){nt(i2,o._currentValue,a),o._currentValue=u,nt(a2,o._currentRenderer,a),o._currentRenderer!==void 0&&o._currentRenderer!==null&&o._currentRenderer!==J5&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),o._currentRenderer=J5}function Vs(a,o){a._currentValue=i2.current;var u=a2.current;J(a2,o),a._currentRenderer=u,J(i2,o)}function Pw(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 Hw(a,o,u,f){var p=a.child;for(p!==null&&(p.return=a);p!==null;){var g=p.dependencies;if(g!==null){var S=p.child;g=g.firstContext;t:for(;g!==null;){var w=g;g=p;for(var R=0;R<o.length;R++)if(w.context===o[R]){g.lanes|=u,w=g.alternate,w!==null&&(w.lanes|=u),Pw(g.return,u,a),f||(S=null);break t}g=w.next}}else if(p.tag===18){if(S=p.return,S===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");S.lanes|=u,g=S.alternate,g!==null&&(g.lanes|=u),Pw(S,u,a),S=null}else S=p.child;if(S!==null)S.return=p;else for(S=p;S!==null;){if(S===a){S=null;break}if(p=S.sibling,p!==null){p.return=S.return,S=p;break}S=S.return}p=S}}function qh(a,o,u,f){a=null;for(var p=o,g=!1;p!==null;){if(!g){if((p.flags&524288)!==0)g=!0;else if((p.flags&262144)!==0)break}if(p.tag===10){var S=p.alternate;if(S===null)throw Error("Should have a current fiber. This is a bug in React.");if(S=S.memoizedProps,S!==null){var w=p.type;da(p.pendingProps.value,S.value)||(a!==null?a.push(w):a=[w])}}else if(p===jb.current){if(S=p.alternate,S===null)throw Error("Should have a current fiber. This is a bug in React.");S.memoizedState.memoizedState!==p.memoizedState.memoizedState&&(a!==null?a.push(Ym):a=[Ym])}p=p.return}a!==null&&Hw(o,a,u,f),o.flags|=262144}function Yy(a){for(a=a.firstContext;a!==null;){if(!da(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function ef(a){n1=a,yd=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function gn(a){return bd&&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()."),tF(n1,a)}function Ky(a,o){return n1===null&&ef(a),tF(a,o)}function tF(a,o){var u=o._currentValue;if(o={context:o,memoizedValue:u,next:null},yd===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().");yd=o,a.dependencies={lanes:0,firstContext:o,_debugThenableState:null},a.flags|=524288}else yd=yd.next=o;return u}function jw(){return{controller:new WG,data:new Map,refCount:0}}function nf(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 O0(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&&QG(JG,function(){a.controller.abort()})}function Go(a,o,u){(a&127)!==0?0>fs&&(fs=$n(),gm=i1(o),r2=o,u!=null&&(o2=q(u)),(Fe&(vi|fr))!==Mi&&(Nn=!0,yu=mm),a=W0(),o=Z0(),a!==Sd||o!==vm?Sd=-1.1:o!==null&&(yu=mm),pf=a,vm=o):(a&4194048)!==0&&0>Pr&&(Pr=$n(),ym=i1(o),$5=o,u!=null&&(t8=q(u)),0>el)&&(a=W0(),o=Z0(),(a!==Su||o!==mf)&&(Su=-1.1),bu=a,mf=o)}function gq(a){if(0>fs){fs=$n(),gm=a._debugTask!=null?a._debugTask:null,(Fe&(vi|fr))!==Mi&&(yu=mm);var o=W0(),u=Z0();o!==Sd||u!==vm?Sd=-1.1:u!==null&&(yu=mm),pf=o,vm=u}0>Pr&&(Pr=$n(),ym=a._debugTask!=null?a._debugTask:null,0>el)&&(a=W0(),o=Z0(),(a!==Su||o!==mf)&&(Su=-1.1),bu=a,mf=o)}function Gs(){var a=df;return df=0,a}function Zy(a){var o=df;return df=a,o}function M0(a){var o=df;return df+=a,o}function Wy(){Ut=Lt=-1.1}function tr(){var a=Lt;return Lt=-1.1,a}function er(a){0<=a&&(Lt=a)}function Io(){var a=En;return En=-0,a}function Xo(a){0<=a&&(En=a)}function Yo(){var a=vn;return vn=null,a}function Ko(){var a=Nn;return Nn=!1,a}function qw(a){pa=$n(),0>a.actualStartTime&&(a.actualStartTime=pa)}function Vw(a){if(0<=pa){var o=$n()-pa;a.actualDuration+=o,a.selfBaseDuration=o,pa=-1}}function eF(a){if(0<=pa){var o=$n()-pa;a.actualDuration+=o,pa=-1}}function Zo(){if(0<=pa){var a=$n(),o=a-pa;pa=-1,df+=o,En+=o,Ut=a}}function nF(a){vn===null&&(vn=[]),vn.push(a),tl===null&&(tl=[]),tl.push(a)}function Wo(){pa=$n(),0>Lt&&(Lt=pa)}function _0(a){for(var o=a.child;o;)a.actualDuration+=o.actualDuration,o=o.sibling}function vq(a,o){if(Sm===null){var u=Sm=[];l2=0,gf=JE(),xd={status:"pending",value:void 0,then:function(f){u.push(f)}}}return l2++,o.then(iF,iF),o}function iF(){if(--l2===0&&(-1<Pr||(el=-1.1),Sm!==null)){xd!==null&&(xd.status="fulfilled");var a=Sm;Sm=null,gf=0,xd=null;for(var o=0;o<a.length;o++)(0,a[o])()}}function yq(a,o){var u=[],f={status:"pending",value:null,reason:null,then:function(p){u.push(p)}};return a.then(function(){f.status="fulfilled",f.value=o;for(var p=0;p<u.length;p++)(0,u[p])(o)},function(p){for(f.status="rejected",f.reason=p,p=0;p<u.length;p++)(0,u[p])(void 0)}),f}function Gw(){var a=vf.current;return a!==null?a:en.pooledCache}function Qy(a,o){o===null?nt(vf,vf.current,a):nt(vf,o.pool,a)}function aF(){var a=Gw();return a===null?null:{parent:Jn._currentValue,pool:a}}function rF(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function oF(a){return a=a.status,a==="fulfilled"||a==="rejected"}function sF(a,o,u){it.actQueue!==null&&(it.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(Hs,Hs),o=u),o._debugInfo===void 0){a=performance.now(),f=o.displayName;var p={name:typeof f=="string"?f:"Promise",start:a,end:a,value:o};o._debugInfo=[{awaited:p}],o.status!=="fulfilled"&&o.status!=="rejected"&&(a=function(){p.end=performance.now()},o.then(a,a))}switch(o.status){case"fulfilled":return o.value;case"rejected":throw a=o.reason,uF(a),a;default:if(typeof o.status=="string")o.then(Hs,Hs);else{if(a=en,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(g){if(o.status==="pending"){var S=o;S.status="fulfilled",S.value=g}},function(g){if(o.status==="pending"){var S=o;S.status="rejected",S.reason=g}})}switch(o.status){case"fulfilled":return o.value;case"rejected":throw a=o.reason,uF(a),a}throw bf=o,Dm=!0,Ad}}function Jl(a){try{return nI(a)}catch(o){throw o!==null&&typeof o=="object"&&typeof o.then=="function"?(bf=o,Dm=!0,Ad):o}}function lF(){if(bf===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var a=bf;return bf=null,Dm=!1,a}function uF(a){if(a===Ad||a===f1)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 Li(a){var o=le;return a!=null&&(le=o===null?a:o.concat(a)),o}function Iw(){var a=le;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 Jy(a,o,u){for(var f=Object.keys(a.props),p=0;p<f.length;p++){var g=f[p];if(g!=="children"&&g!=="key"){o===null&&(o=Gy(a,u.mode,0),o._debugInfo=le,o.return=u),pt(o,function(S){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",S)},g);break}}}function $y(a){var o=Rm;return Rm+=1,wd===null&&(wd=rF()),sF(wd,a,o)}function F0(a,o){o=o.props.ref,a.ref=o!==void 0?o:null}function cF(a,o){throw o.$$typeof===kV?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 tb(a,o){var u=Iw();u!==null?u.run(cF.bind(null,a,o)):cF(a,o)}function fF(a,o){var u=q(a)||"Component";S8[u]||(S8[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 eb(a,o){var u=Iw();u!==null?u.run(fF.bind(null,a,o)):fF(a,o)}function hF(a,o){var u=q(a)||"Component";x8[u]||(x8[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 nb(a,o){var u=Iw();u!==null?u.run(hF.bind(null,a,o)):hF(a,o)}function dF(a){function o(P,j){if(a){var I=P.deletions;I===null?(P.deletions=[j],P.flags|=16):I.push(j)}}function u(P,j){if(!a)return null;for(;j!==null;)o(P,j),j=j.sibling;return null}function f(P){for(var j=new Map;P!==null;)P.key!==null?j.set(P.key,P):j.set(P.index,P),P=P.sibling;return j}function p(P,j){return P=js(P,j),P.index=0,P.sibling=null,P}function g(P,j,I){return P.index=I,a?(I=P.alternate,I!==null?(I=I.index,I<j?(P.flags|=67108866,j):I):(P.flags|=67108866,j)):(P.flags|=1048576,j)}function S(P){return a&&P.alternate===null&&(P.flags|=67108866),P}function w(P,j,I,rt){return j===null||j.tag!==6?(j=Nw(I,P.mode,rt),j.return=P,j._debugOwner=P,j._debugTask=P._debugTask,j._debugInfo=le,j):(j=p(j,I),j.return=P,j._debugInfo=le,j)}function R(P,j,I,rt){var yt=I.type;return yt===id?(j=Y(P,j,I.props.children,rt,I.key),Jy(I,j,P),j):j!==null&&(j.elementType===yt||V3(j,I)||typeof yt=="object"&&yt!==null&&yt.$$typeof===rr&&Jl(yt)===j.type)?(j=p(j,I.props),F0(j,I),j.return=P,j._debugOwner=I._owner,j._debugInfo=le,j):(j=Gy(I,P.mode,rt),F0(j,I),j.return=P,j._debugInfo=le,j)}function M(P,j,I,rt){return j===null||j.tag!==4||j.stateNode.containerInfo!==I.containerInfo||j.stateNode.implementation!==I.implementation?(j=zw(I,P.mode,rt),j.return=P,j._debugInfo=le,j):(j=p(j,I.children||[]),j.return=P,j._debugInfo=le,j)}function Y(P,j,I,rt,yt){return j===null||j.tag!==7?(j=Jc(I,P.mode,rt,yt),j.return=P,j._debugOwner=P,j._debugTask=P._debugTask,j._debugInfo=le,j):(j=p(j,I),j.return=P,j._debugInfo=le,j)}function K(P,j,I){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return j=Nw(""+j,P.mode,I),j.return=P,j._debugOwner=P,j._debugTask=P._debugTask,j._debugInfo=le,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case is:return I=Gy(j,P.mode,I),F0(I,j),I.return=P,P=Li(j._debugInfo),I._debugInfo=le,le=P,I;case nd:return j=zw(j,P.mode,I),j.return=P,j._debugInfo=le,j;case rr:var rt=Li(j._debugInfo);return j=Jl(j),P=K(P,j,I),le=rt,P}if(mi(j)||L(j))return I=Jc(j,P.mode,I,null),I.return=P,I._debugOwner=P,I._debugTask=P._debugTask,P=Li(j._debugInfo),I._debugInfo=le,le=P,I;if(typeof j.then=="function")return rt=Li(j._debugInfo),P=K(P,$y(j),I),le=rt,P;if(j.$$typeof===as)return K(P,Ky(P,j),I);tb(P,j)}return typeof j=="function"&&eb(P,j),typeof j=="symbol"&&nb(P,j),null}function H(P,j,I,rt){var yt=j!==null?j.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return yt!==null?null:w(P,j,""+I,rt);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case is:return I.key===yt?(yt=Li(I._debugInfo),P=R(P,j,I,rt),le=yt,P):null;case nd:return I.key===yt?M(P,j,I,rt):null;case rr:return yt=Li(I._debugInfo),I=Jl(I),P=H(P,j,I,rt),le=yt,P}if(mi(I)||L(I))return yt!==null?null:(yt=Li(I._debugInfo),P=Y(P,j,I,rt,null),le=yt,P);if(typeof I.then=="function")return yt=Li(I._debugInfo),P=H(P,j,$y(I),rt),le=yt,P;if(I.$$typeof===as)return H(P,j,Ky(P,I),rt);tb(P,I)}return typeof I=="function"&&eb(P,I),typeof I=="symbol"&&nb(P,I),null}function $(P,j,I,rt,yt){if(typeof rt=="string"&&rt!==""||typeof rt=="number"||typeof rt=="bigint")return P=P.get(I)||null,w(j,P,""+rt,yt);if(typeof rt=="object"&&rt!==null){switch(rt.$$typeof){case is:return I=P.get(rt.key===null?I:rt.key)||null,P=Li(rt._debugInfo),j=R(j,I,rt,yt),le=P,j;case nd:return P=P.get(rt.key===null?I:rt.key)||null,M(j,P,rt,yt);case rr:var Xt=Li(rt._debugInfo);return rt=Jl(rt),j=$(P,j,I,rt,yt),le=Xt,j}if(mi(rt)||L(rt))return I=P.get(I)||null,P=Li(rt._debugInfo),j=Y(j,I,rt,yt,null),le=P,j;if(typeof rt.then=="function")return Xt=Li(rt._debugInfo),j=$(P,j,I,$y(rt),yt),le=Xt,j;if(rt.$$typeof===as)return $(P,j,I,Ky(j,rt),yt);tb(j,rt)}return typeof rt=="function"&&eb(j,rt),typeof rt=="symbol"&&nb(j,rt),null}function mt(P,j,I,rt){if(typeof I!="object"||I===null)return rt;switch(I.$$typeof){case is:case nd:m(P,j,I);var yt=I.key;if(typeof yt!="string")break;if(rt===null){rt=new Set,rt.add(yt);break}if(!rt.has(yt)){rt.add(yt);break}pt(j,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.",yt)});break;case rr:I=Jl(I),mt(P,j,I,rt)}return rt}function St(P,j,I,rt){for(var yt=null,Xt=null,zt=null,Dt=j,ne=j=0,dn=null;Dt!==null&&ne<I.length;ne++){Dt.index>ne?(dn=Dt,Dt=null):dn=Dt.sibling;var In=H(P,Dt,I[ne],rt);if(In===null){Dt===null&&(Dt=dn);break}yt=mt(P,In,I[ne],yt),a&&Dt&&In.alternate===null&&o(P,Dt),j=g(In,j,ne),zt===null?Xt=In:zt.sibling=In,zt=In,Dt=dn}if(ne===I.length)return u(P,Dt),xe&&qs(P,ne),Xt;if(Dt===null){for(;ne<I.length;ne++)Dt=K(P,I[ne],rt),Dt!==null&&(yt=mt(P,Dt,I[ne],yt),j=g(Dt,j,ne),zt===null?Xt=Dt:zt.sibling=Dt,zt=Dt);return xe&&qs(P,ne),Xt}for(Dt=f(Dt);ne<I.length;ne++)dn=$(Dt,P,ne,I[ne],rt),dn!==null&&(yt=mt(P,dn,I[ne],yt),a&&dn.alternate!==null&&Dt.delete(dn.key===null?ne:dn.key),j=g(dn,j,ne),zt===null?Xt=dn:zt.sibling=dn,zt=dn);return a&&Dt.forEach(function(cl){return o(P,cl)}),xe&&qs(P,ne),Xt}function ln(P,j,I,rt){if(I==null)throw Error("An iterable object provided no iterator.");for(var yt=null,Xt=null,zt=j,Dt=j=0,ne=null,dn=null,In=I.next();zt!==null&&!In.done;Dt++,In=I.next()){zt.index>Dt?(ne=zt,zt=null):ne=zt.sibling;var cl=H(P,zt,In.value,rt);if(cl===null){zt===null&&(zt=ne);break}dn=mt(P,cl,In.value,dn),a&&zt&&cl.alternate===null&&o(P,zt),j=g(cl,j,Dt),Xt===null?yt=cl:Xt.sibling=cl,Xt=cl,zt=ne}if(In.done)return u(P,zt),xe&&qs(P,Dt),yt;if(zt===null){for(;!In.done;Dt++,In=I.next())zt=K(P,In.value,rt),zt!==null&&(dn=mt(P,zt,In.value,dn),j=g(zt,j,Dt),Xt===null?yt=zt:Xt.sibling=zt,Xt=zt);return xe&&qs(P,Dt),yt}for(zt=f(zt);!In.done;Dt++,In=I.next())ne=$(zt,P,Dt,In.value,rt),ne!==null&&(dn=mt(P,ne,In.value,dn),a&&ne.alternate!==null&&zt.delete(ne.key===null?Dt:ne.key),j=g(ne,j,Dt),Xt===null?yt=ne:Xt.sibling=ne,Xt=ne);return a&&zt.forEach(function(CI){return o(P,CI)}),xe&&qs(P,Dt),yt}function Te(P,j,I,rt){if(typeof I=="object"&&I!==null&&I.type===id&&I.key===null&&(Jy(I,null,P),I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case is:var yt=Li(I._debugInfo);t:{for(var Xt=I.key;j!==null;){if(j.key===Xt){if(Xt=I.type,Xt===id){if(j.tag===7){u(P,j.sibling),rt=p(j,I.props.children),rt.return=P,rt._debugOwner=I._owner,rt._debugInfo=le,Jy(I,rt,P),P=rt;break t}}else if(j.elementType===Xt||V3(j,I)||typeof Xt=="object"&&Xt!==null&&Xt.$$typeof===rr&&Jl(Xt)===j.type){u(P,j.sibling),rt=p(j,I.props),F0(rt,I),rt.return=P,rt._debugOwner=I._owner,rt._debugInfo=le,P=rt;break t}u(P,j);break}else o(P,j);j=j.sibling}I.type===id?(rt=Jc(I.props.children,P.mode,rt,I.key),rt.return=P,rt._debugOwner=P,rt._debugTask=P._debugTask,rt._debugInfo=le,Jy(I,rt,P),P=rt):(rt=Gy(I,P.mode,rt),F0(rt,I),rt.return=P,rt._debugInfo=le,P=rt)}return P=S(P),le=yt,P;case nd:t:{for(yt=I,I=yt.key;j!==null;){if(j.key===I)if(j.tag===4&&j.stateNode.containerInfo===yt.containerInfo&&j.stateNode.implementation===yt.implementation){u(P,j.sibling),rt=p(j,yt.children||[]),rt.return=P,P=rt;break t}else{u(P,j);break}else o(P,j);j=j.sibling}rt=zw(yt,P.mode,rt),rt.return=P,P=rt}return S(P);case rr:return yt=Li(I._debugInfo),I=Jl(I),P=Te(P,j,I,rt),le=yt,P}if(mi(I))return yt=Li(I._debugInfo),P=St(P,j,I,rt),le=yt,P;if(L(I)){if(yt=Li(I._debugInfo),Xt=L(I),typeof Xt!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var zt=Xt.call(I);return zt===I?(P.tag!==0||Object.prototype.toString.call(P.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(zt)!=="[object Generator]")&&(y8||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."),y8=!0):I.entries!==Xt||h2||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),h2=!0),P=ln(P,j,zt,rt),le=yt,P}if(typeof I.then=="function")return yt=Li(I._debugInfo),P=Te(P,j,$y(I),rt),le=yt,P;if(I.$$typeof===as)return Te(P,j,Ky(P,I),rt);tb(P,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(yt=""+I,j!==null&&j.tag===6?(u(P,j.sibling),rt=p(j,yt),rt.return=P,P=rt):(u(P,j),rt=Nw(yt,P.mode,rt),rt.return=P,rt._debugOwner=P,rt._debugTask=P._debugTask,rt._debugInfo=le,P=rt),S(P)):(typeof I=="function"&&eb(P,I),typeof I=="symbol"&&nb(P,I),u(P,j))}return function(P,j,I,rt){var yt=le;le=null;try{Rm=0;var Xt=Te(P,j,I,rt);return wd=null,Xt}catch(dn){if(dn===Ad||dn===f1)throw dn;var zt=y(29,dn,null,P.mode);zt.lanes=rt,zt.return=P;var Dt=zt._debugInfo=le;if(zt._debugOwner=P._debugOwner,zt._debugTask=P._debugTask,Dt!=null){for(var ne=Dt.length-1;0<=ne;ne--)if(typeof Dt[ne].stack=="string"){zt._debugOwner=Dt[ne],zt._debugTask=Dt[ne].debugTask;break}}return zt}finally{le=yt}}}function pF(a,o){var u=mi(a);return a=!u&&typeof L(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 Xw(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Yw(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 $l(a){return{lane:a,tag:w8,payload:null,callback:null,next:null}}function tu(a,o,u){var f=a.updateQueue;if(f===null)return null;if(f=f.shared,p2===f&&!C8){var p=q(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`,p),C8=!0}return(Fe&vi)!==Mi?(p=f.pending,p===null?o.next=o:(o.next=p.next,p.next=o),f.pending=o,o=Vy(a),q3(a,null,u),o):(qy(a,f,o,u),Vy(a))}function N0(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,Ic(a,u)}}function ib(a,o){var u=a.updateQueue,f=a.alternate;if(f!==null&&(f=f.updateQueue,u===f)){var p=null,g=null;if(u=u.firstBaseUpdate,u!==null){do{var S={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};g===null?p=g=S:g=g.next=S,u=u.next}while(u!==null);g===null?p=g=o:g=g.next=o}else p=g=o;u={baseState:f.baseState,firstBaseUpdate:p,lastBaseUpdate:g,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 z0(){if(m2){var a=xd;if(a!==null)throw a}}function k0(a,o,u,f){m2=!1;var p=a.updateQueue;xu=!1,p2=p.shared;var g=p.firstBaseUpdate,S=p.lastBaseUpdate,w=p.shared.pending;if(w!==null){p.shared.pending=null;var R=w,M=R.next;R.next=null,S===null?g=M:S.next=M,S=R;var Y=a.alternate;Y!==null&&(Y=Y.updateQueue,w=Y.lastBaseUpdate,w!==S&&(w===null?Y.firstBaseUpdate=M:w.next=M,Y.lastBaseUpdate=R))}if(g!==null){var K=p.baseState;S=0,Y=M=R=null,w=g;do{var H=w.lane&-536870913,$=H!==w.lane;if($?(ue&H)===H:(f&H)===H){H!==0&&H===gf&&(m2=!0),Y!==null&&(Y=Y.next={lane:0,tag:w.tag,payload:w.payload,callback:null,next:null});t:{H=a;var mt=w,St=o,ln=u;switch(mt.tag){case E8:if(mt=mt.payload,typeof mt=="function"){bd=!0;var Te=mt.call(ln,K,St);if(H.mode&$i){on(!0);try{mt.call(ln,K,St)}finally{on(!1)}}bd=!1,K=Te;break t}K=mt;break t;case d2:H.flags=H.flags&-65537|128;case w8:if(Te=mt.payload,typeof Te=="function"){if(bd=!0,mt=Te.call(ln,K,St),H.mode&$i){on(!0);try{Te.call(ln,K,St)}finally{on(!1)}}bd=!1}else mt=Te;if(mt==null)break t;K=ve({},K,mt);break t;case T8:xu=!0}}H=w.callback,H!==null&&(a.flags|=64,$&&(a.flags|=8192),$=p.callbacks,$===null?p.callbacks=[H]:$.push(H))}else $={lane:H,tag:w.tag,payload:w.payload,callback:w.callback,next:null},Y===null?(M=Y=$,R=K):Y=Y.next=$,S|=H;if(w=w.next,w===null){if(w=p.shared.pending,w===null)break;$=w,w=$.next,$.next=null,p.lastBaseUpdate=$,p.shared.pending=null}}while(!0);Y===null&&(R=K),p.baseState=R,p.firstBaseUpdate=M,p.lastBaseUpdate=Y,g===null&&(p.shared.lanes=0),Eu|=S,a.lanes=S,a.memoizedState=K}p2=null}function mF(a,o){if(typeof a!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+a);a.call(o)}function bq(a,o){var u=a.shared.hiddenCallbacks;if(u!==null)for(a.shared.hiddenCallbacks=null,a=0;a<u.length;a++)mF(u[a],o)}function gF(a,o){var u=a.callbacks;if(u!==null)for(a.callbacks=null,a=0;a<u.length;a++)mF(u[a],o)}function vF(a,o){var u=ps;nt(d1,u,a),nt(Ed,o,a),ps=u|o.baseLanes}function Kw(a){nt(d1,ps,a),nt(Ed,Ed.current,a)}function Zw(a){ps=d1.current,J(Ed,a),J(d1,a)}function eu(a){var o=a.alternate;nt(Gn,Gn.current&Td,a),nt(ur,a,a),Hr===null&&(o===null||Ed.current!==null||o.memoizedState!==null)&&(Hr=a)}function Ww(a){nt(Gn,Gn.current,a),nt(ur,a,a),Hr===null&&(Hr=a)}function yF(a){a.tag===22?(nt(Gn,Gn.current,a),nt(ur,a,a),Hr===null&&(Hr=a)):nu(a)}function nu(a){nt(Gn,Gn.current,a),nt(ur,ur.current,a)}function nr(a){J(ur,a),Hr===a&&(Hr=null),J(Gn,a)}function ab(a){for(var o=a;o!==null;){if(o.tag===13){var u=o.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||uT(u)||cT(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 ge(){var a=et;qr===null?qr=[a]:qr.push(a)}function ft(){var a=et;if(qr!==null&&(rl++,qr[rl]!==a)){var o=q(It);if(!D8.has(o)&&(D8.add(o),qr!==null)){for(var u="",f=0;f<=rl;f++){var p=qr[f],g=f===rl?a:p;for(p=f+1+". "+p;30>p.length;)p+=" ";p+=g+`
111
- `,u+=p}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 Vh(a){a==null||mi(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.",et,typeof a)}function rb(){var a=q(It);O8.has(a)||(O8.add(a),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",a))}function Un(){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 Qw(a,o){if(_m)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.",et),!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`,et,"["+o.join(", ")+"]","["+a.join(", ")+"]");for(var u=0;u<o.length&&u<a.length;u++)if(!da(a[u],o[u]))return!1;return!0}function Jw(a,o,u,f,p,g){il=g,It=o,qr=a!==null?a._debugHookTypes:null,rl=-1,_m=a!==null&&a.type!==o.type,(Object.prototype.toString.call(u)==="[object AsyncFunction]"||Object.prototype.toString.call(u)==="[object AsyncGeneratorFunction]")&&(g=q(It),g2.has(g)||(g2.add(g),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.",g===null?"An unknown Component":"<"+g+">"))),o.memoizedState=null,o.updateQueue=null,o.lanes=0,it.H=a!==null&&a.memoizedState!==null?y2:qr!==null?M8:v2,xf=g=(o.mode&$i)!==qt;var S=u2(u,f,p);if(xf=!1,Dd&&(S=$w(o,u,f,p)),g){on(!0);try{S=$w(o,u,f,p)}finally{on(!1)}}return bF(a,o),S}function bF(a,o){o._debugHookTypes=qr,o.dependencies===null?al!==null&&(o.dependencies={lanes:0,firstContext:null,_debugThenableState:al}):o.dependencies._debugThenableState=al,it.H=Fm;var u=tn!==null&&tn.next!==null;if(il=0,qr=et=ti=tn=It=null,rl=-1,a!==null&&(a.flags&65011712)!==(o.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),m1=!1,Mm=0,al=null,u)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");a===null||ei||(a=a.dependencies,a!==null&&Yy(a)&&(ei=!0)),Dm?(Dm=!1,a=!0):a=!1,a&&(o=q(o)||"Unknown",R8.has(o)||g2.has(o)||(R8.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 $w(a,o,u,f){It=a;var p=0;do{if(Dd&&(al=null),Mm=0,Dd=!1,p>=aI)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(p+=1,_m=!1,ti=tn=null,a.updateQueue!=null){var g=a.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}rl=-1,it.H=_8,g=u2(o,u,f)}while(Dd);return g}function Sq(){var a=it.H,o=a.useState()[0];return o=typeof o.then=="function"?L0(o):o,a=a.useState()[0],(tn!==null?tn.memoizedState:null)!==a&&(It.flags|=1024),o}function tE(){var a=g1!==0;return g1=0,a}function eE(a,o,u){o.updateQueue=a.updateQueue,o.flags=(o.mode&Ao)!==qt?o.flags&-402655237:o.flags&-2053,a.lanes&=~u}function nE(a){if(m1){for(a=a.memoizedState;a!==null;){var o=a.queue;o!==null&&(o.pending=null),a=a.next}m1=!1}il=0,qr=ti=tn=It=null,rl=-1,et=null,Dd=!1,Mm=g1=0,al=null}function ua(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ti===null?It.memoizedState=ti=a:ti=ti.next=a,ti}function Ge(){if(tn===null){var a=It.alternate;a=a!==null?a.memoizedState:null}else a=tn.next;var o=ti===null?It.memoizedState:ti.next;if(o!==null)ti=o,tn=a;else{if(a===null)throw It.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.");tn=a,a={memoizedState:tn.memoizedState,baseState:tn.baseState,baseQueue:tn.baseQueue,queue:tn.queue,next:null},ti===null?It.memoizedState=ti=a:ti=ti.next=a}return ti}function ob(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function L0(a){var o=Mm;return Mm+=1,al===null&&(al=rF()),a=sF(al,a,o),o=It,(ti===null?o.memoizedState:ti.next)===null&&(o=o.alternate,it.H=o!==null&&o.memoizedState!==null?y2:v2),a}function iu(a){if(a!==null&&typeof a=="object"){if(typeof a.then=="function")return L0(a);if(a.$$typeof===as)return gn(a)}throw Error("An unsupported type was passed to use(): "+String(a))}function af(a){var o=null,u=It.updateQueue;if(u!==null&&(o=u.memoCache),o==null){var f=It.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(o={data:f.data.map(function(p){return p.slice()}),index:0})))}if(o==null&&(o={data:[],index:0}),u===null&&(u=ob(),It.updateQueue=u),u.memoCache=o,u=o.data[o.index],u===void 0||_m)for(u=o.data[o.index]=Array(a),f=0;f<a;f++)u[f]=LV;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 yo(a,o){return typeof o=="function"?o(a):o}function iE(a,o,u){var f=ua();if(u!==void 0){var p=u(o);if(xf){on(!0);try{u(o)}finally{on(!1)}}}else p=o;return f.memoizedState=f.baseState=p,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:p},f.queue=a,a=a.dispatch=Tq.bind(null,It,a),[f.memoizedState,a]}function Gh(a){var o=Ge();return aE(o,tn,a)}function aE(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 p=a.baseQueue,g=f.pending;if(g!==null){if(p!==null){var S=p.next;p.next=g.next,g.next=S}o.baseQueue!==p&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),o.baseQueue=p=g,f.pending=null}if(g=a.baseState,p===null)a.memoizedState=g;else{o=p.next;var w=S=null,R=null,M=o,Y=!1;do{var K=M.lane&-536870913;if(K!==M.lane?(ue&K)===K:(il&K)===K){var H=M.revertLane;if(H===0)R!==null&&(R=R.next={lane:0,revertLane:0,gesture:null,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),K===gf&&(Y=!0);else if((il&H)===H){M=M.next,H===gf&&(Y=!0);continue}else K={lane:0,revertLane:M.revertLane,gesture:null,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null},R===null?(w=R=K,S=g):R=R.next=K,It.lanes|=H,Eu|=H;K=M.action,xf&&u(g,K),g=M.hasEagerState?M.eagerState:u(g,K)}else H={lane:K,revertLane:M.revertLane,gesture:M.gesture,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null},R===null?(w=R=H,S=g):R=R.next=H,It.lanes|=K,Eu|=K;M=M.next}while(M!==null&&M!==o);if(R===null?S=g:R.next=w,!da(g,a.memoizedState)&&(ei=!0,Y&&(u=xd,u!==null)))throw u;a.memoizedState=g,a.baseState=S,a.baseQueue=R,f.lastRenderedState=g}return p===null&&(f.lanes=0),[a.memoizedState,f.dispatch]}function U0(a){var o=Ge(),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,p=u.pending,g=o.memoizedState;if(p!==null){u.pending=null;var S=p=p.next;do g=a(g,S.action),S=S.next;while(S!==p);da(g,o.memoizedState)||(ei=!0),o.memoizedState=g,o.baseQueue===null&&(o.baseState=g),u.lastRenderedState=g}return[g,f]}function rE(a,o,u){var f=It,p=ua();if(xe){if(u===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var g=u();Cd||g===u()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Cd=!0)}else{if(g=o(),Cd||(u=o(),da(g,u)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Cd=!0)),en===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(ue&127)!==0||SF(f,o,g)}return p.memoizedState=g,u={value:g,getSnapshot:o},p.queue=u,cb(AF.bind(null,f,u,a),[a]),f.flags|=2048,Xh(jr|ga,{destroy:void 0},xF.bind(null,f,u,g,o),null),g}function sb(a,o,u){var f=It,p=Ge(),g=xe;if(g){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(),!Cd){var S=o();da(u,S)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Cd=!0)}(S=!da((tn||p).memoizedState,u))&&(p.memoizedState=u,ei=!0),p=p.queue;var w=AF.bind(null,f,p,a);if(_a(2048,ga,w,[a]),p.getSnapshot!==o||S||ti!==null&&ti.memoizedState.tag&jr){if(f.flags|=2048,Xh(jr|ga,{destroy:void 0},xF.bind(null,f,p,u,o),null),en===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");g||(il&127)!==0||SF(f,o,u)}return u}function SF(a,o,u){a.flags|=16384,a={getSnapshot:o,value:u},o=It.updateQueue,o===null?(o=ob(),It.updateQueue=o,o.stores=[a]):(u=o.stores,u===null?o.stores=[a]:u.push(a))}function xF(a,o,u,f){o.value=u,o.getSnapshot=f,wF(o)&&EF(a)}function AF(a,o,u){return u(function(){wF(o)&&(Go(2,"updateSyncExternalStore()",a),EF(a))})}function wF(a){var o=a.getSnapshot;a=a.value;try{var u=o();return!da(a,u)}catch{return!0}}function EF(a){var o=Qi(a,2);o!==null&&Fn(o,a,2)}function oE(a){var o=ua();if(typeof a=="function"){var u=a;if(a=u(),xf){on(!0);try{u()}finally{on(!1)}}}return o.memoizedState=o.baseState=a,o.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yo,lastRenderedState:a},o}function sE(a){a=oE(a);var o=a.queue,u=VF.bind(null,It,o);return o.dispatch=u,[a.memoizedState,u]}function lE(a){var o=ua();o.memoizedState=o.baseState=a;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return o.queue=u,o=AE.bind(null,It,!0,u),u.dispatch=o,[a,o]}function TF(a,o){var u=Ge();return CF(u,tn,a,o)}function CF(a,o,u,f){return a.baseState=u,aE(a,tn,typeof f=="function"?f:yo)}function DF(a,o){var u=Ge();return tn!==null?CF(u,tn,a,o):(u.baseState=a,[a,u.queue.dispatch])}function xq(a,o,u,f,p){if(gb(a))throw Error("Cannot update form state while rendering.");if(a=o.action,a!==null){var g={payload:p,action:a,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){g.listeners.push(S)}};it.T!==null?u(!0):g.isTransition=!1,f(g),u=o.pending,u===null?(g.next=o.pending=g,RF(o,g)):(g.next=u.next,o.pending=u.next=g)}}function RF(a,o){var u=o.action,f=o.payload,p=a.state;if(o.isTransition){var g=it.T,S={};S._updatedFibers=new Set,it.T=S;try{var w=u(p,f),R=it.S;R!==null&&R(S,w),OF(a,o,w)}catch(M){uE(a,o,M)}finally{g!==null&&S.types!==null&&(g.types!==null&&g.types!==S.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."),g.types=S.types),it.T=g,g===null&&S._updatedFibers&&(a=S._updatedFibers.size,S._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{S=u(p,f),OF(a,o,S)}catch(M){uE(a,o,M)}}function OF(a,o,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?(it.asyncTransitions++,u.then(mb,mb),u.then(function(f){MF(a,o,f)},function(f){return uE(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.")):MF(a,o,u)}function MF(a,o,u){o.status="fulfilled",o.value=u,_F(o),a.state=u,o=a.pending,o!==null&&(u=o.next,u===o?a.pending=null:(u=u.next,o.next=u,RF(a,u)))}function uE(a,o,u){var f=a.pending;if(a.pending=null,f!==null){f=f.next;do o.status="rejected",o.reason=u,_F(o),o=o.next;while(o!==f)}a.action=null}function _F(a){a=a.listeners;for(var o=0;o<a.length;o++)(0,a[o])()}function FF(a,o){return o}function Ih(a,o){if(xe){var u=en.formState;if(u!==null){t:{var f=It;if(xe){if(hn){e:{for(var p=hn,g=Br;p.nodeType!==8;){if(!g){p=null;break e}if(p=ar(p.nextSibling),p===null){p=null;break e}}g=p.data,p=g===j2||g===gk?p:null}if(p){hn=ar(p.nextSibling),f=p.data===j2;break t}}Wl(f)}f=!1}f&&(o=u[0])}}return u=ua(),u.memoizedState=u.baseState=o,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:FF,lastRenderedState:o},u.queue=f,u=VF.bind(null,It,f),f.dispatch=u,f=oE(!1),g=AE.bind(null,It,!1,f.queue),f=ua(),p={state:o,dispatch:null,action:a,pending:null},f.queue=p,u=xq.bind(null,It,p,g,u),p.dispatch=u,f.memoizedState=a,[o,u,!1]}function lb(a){var o=Ge();return NF(o,tn,a)}function NF(a,o,u){if(o=aE(a,o,FF)[0],a=Gh(yo)[0],typeof o=="object"&&o!==null&&typeof o.then=="function")try{var f=L0(o)}catch(S){throw S===Ad?f1:S}else f=o;o=Ge();var p=o.queue,g=p.dispatch;return u!==o.memoizedState&&(It.flags|=2048,Xh(jr|ga,{destroy:void 0},Aq.bind(null,p,u),null)),[f,g,a]}function Aq(a,o){a.action=o}function ub(a){var o=Ge(),u=tn;if(u!==null)return NF(o,u,a);Ge(),o=o.memoizedState,u=Ge();var f=u.queue.dispatch;return u.memoizedState=a,[o,f,!1]}function Xh(a,o,u,f){return a={tag:a,create:u,deps:f,inst:o,next:null},o=It.updateQueue,o===null&&(o=ob(),It.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 cE(a){var o=ua();return a={current:a},o.memoizedState=a}function rf(a,o,u,f){var p=ua();It.flags|=a,p.memoizedState=Xh(jr|o,{destroy:void 0},u,f===void 0?null:f)}function _a(a,o,u,f){var p=Ge();f=f===void 0?null:f;var g=p.memoizedState.inst;tn!==null&&f!==null&&Qw(f,tn.memoizedState.deps)?p.memoizedState=Xh(o,g,u,f):(It.flags|=a,p.memoizedState=Xh(jr|o,g,u,f))}function cb(a,o){(It.mode&Ao)!==qt?rf(276826112,ga,a,o):rf(8390656,ga,a,o)}function wq(a){It.flags|=4;var o=It.updateQueue;if(o===null)o=ob(),It.updateQueue=o,o.events=[a];else{var u=o.events;u===null?o.events=[a]:u.push(a)}}function fE(a){var o=ua(),u={impl:a};return o.memoizedState=u,function(){if((Fe&vi)!==Mi)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return u.impl.apply(void 0,arguments)}}function fb(a){var o=Ge().memoizedState;return wq({ref:o,nextImpl:a}),function(){if((Fe&vi)!==Mi)throw Error("A function wrapped in useEffectEvent can't be called during rendering.");return o.impl.apply(void 0,arguments)}}function hE(a,o){var u=4194308;return(It.mode&Ao)!==qt&&(u|=134217728),rf(u,cr,a,o)}function zF(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 dE(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;(It.mode&Ao)!==qt&&(f|=134217728),rf(f,cr,zF.bind(null,o,a),u)}function hb(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,_a(4,cr,zF.bind(null,o,a),u)}function pE(a,o){return ua().memoizedState=[a,o===void 0?null:o],a}function db(a,o){var u=Ge();o=o===void 0?null:o;var f=u.memoizedState;return o!==null&&Qw(o,f[1])?f[0]:(u.memoizedState=[a,o],a)}function mE(a,o){var u=ua();o=o===void 0?null:o;var f=a();if(xf){on(!0);try{a()}finally{on(!1)}}return u.memoizedState=[f,o],f}function pb(a,o){var u=Ge();o=o===void 0?null:o;var f=u.memoizedState;if(o!==null&&Qw(o,f[1]))return f[0];if(f=a(),xf){on(!0);try{a()}finally{on(!1)}}return u.memoizedState=[f,o],f}function gE(a,o){var u=ua();return vE(u,a,o)}function kF(a,o){var u=Ge();return UF(u,tn.memoizedState,a,o)}function LF(a,o){var u=Ge();return tn===null?vE(u,a,o):UF(u,tn.memoizedState,a,o)}function vE(a,o,u){return u===void 0||(il&1073741824)!==0&&(ue&261930)===0?a.memoizedState=o:(a.memoizedState=u,a=BN(),It.lanes|=a,Eu|=a,u)}function UF(a,o,u,f){return da(u,o)?u:Ed.current!==null?(a=vE(a,u,f),da(a,o)||(ei=!0),a):(il&42)===0||(il&1073741824)!==0&&(ue&261930)===0?(ei=!0,a.memoizedState=u):(a=BN(),It.lanes|=a,Eu|=a,o)}function mb(){it.asyncTransitions--}function BF(a,o,u,f,p){var g=He.p;He.p=g!==0&&g<xo?g:xo;var S=it.T,w={};w._updatedFibers=new Set,it.T=w,AE(a,!1,o,u);try{var R=p(),M=it.S;if(M!==null&&M(w,R),R!==null&&typeof R=="object"&&typeof R.then=="function"){it.asyncTransitions++,R.then(mb,mb);var Y=yq(R,f);B0(a,o,Y,ir(a))}else B0(a,o,f,ir(a))}catch(K){B0(a,o,{then:function(){},status:"rejected",reason:K},ir(a))}finally{He.p=g,S!==null&&w.types!==null&&(S.types!==null&&S.types!==w.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."),S.types=w.types),it.T=S,S===null&&w._updatedFibers&&(a=w._updatedFibers.size,w._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 yE(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 p=PF(a).queue;gq(a),BF(a,p,o,Ff,u===null?d:function(){return HF(a),u(f)})}function PF(a){var o=a.memoizedState;if(o!==null)return o;o={memoizedState:Ff,baseState:Ff,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:yo,lastRenderedState:Ff},next:null};var u={};return o.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:yo,lastRenderedState:u},next:null},a.memoizedState=o,a=a.alternate,a!==null&&(a.memoizedState=o),o}function HF(a){it.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var o=PF(a);o.next===null&&(o=a.alternate.memoizedState),B0(a,o.next.queue,{},ir(a))}function bE(){var a=oE(!1);return a=BF.bind(null,It,a.queue,!0,!1),ua().memoizedState=a,[!1,a]}function jF(){var a=Gh(yo)[0],o=Ge().memoizedState;return[typeof a=="boolean"?a:L0(a),o]}function qF(){var a=U0(yo)[0],o=Ge().memoizedState;return[typeof a=="boolean"?a:L0(a),o]}function of(){return gn(Ym)}function SE(){var a=ua(),o=en.identifierPrefix;if(xe){var u=Js,f=Qs;u=(f&~(1<<32-ca(f)-1)).toString(32)+u,o="_"+o+"R_"+u,u=g1++,0<u&&(o+="H"+u.toString(32)),o+="_"}else u=iI++,o="_"+o+"r_"+u.toString(32)+"_";return a.memoizedState=o}function xE(){return ua().memoizedState=Eq.bind(null,It)}function Eq(a,o){for(var u=a.return;u!==null;){switch(u.tag){case 24:case 3:var f=ir(u),p=$l(f),g=tu(u,p,f);g!==null&&(Go(f,"refresh()",a),Fn(g,u,f),N0(g,u,f)),a=jw(),o!=null&&g!==null&&console.error("The seed argument is not enabled outside experimental channels."),p.payload={cache:a};return}u=u.return}}function Tq(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=ir(a);var p={lane:f,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};gb(a)?GF(o,p):(p=Ow(a,o,p,f),p!==null&&(Go(f,"dispatch()",a),Fn(p,a,f),IF(p,o,f)))}function VF(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=ir(a),B0(a,o,u,f)&&Go(f,"setState()",a)}function B0(a,o,u,f){var p={lane:f,revertLane:0,gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null};if(gb(a))GF(o,p);else{var g=a.alternate;if(a.lanes===0&&(g===null||g.lanes===0)&&(g=o.lastRenderedReducer,g!==null)){var S=it.H;it.H=Eo;try{var w=o.lastRenderedState,R=g(w,u);if(p.hasEagerState=!0,p.eagerState=R,da(R,w))return qy(a,o,p,0),en===null&&jy(),!1}catch{}finally{it.H=S}}if(u=Ow(a,o,p,f),u!==null)return Fn(u,a,f),IF(u,o,f),!0}return!1}function AE(a,o,u,f){if(it.T===null&&gf===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:JE(),gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},gb(a)){if(o)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else o=Ow(a,u,f,2),o!==null&&(Go(2,"setOptimistic()",a),Fn(o,a,2))}function gb(a){var o=a.alternate;return a===It||o!==null&&o===It}function GF(a,o){Dd=m1=!0;var u=a.pending;u===null?o.next=o:(o.next=u.next,u.next=o),a.pending=o}function IF(a,o,u){if((u&4194048)!==0){var f=o.lanes;f&=a.pendingLanes,u|=f,o.lanes=u,Ic(a,u)}}function wE(a){if(a!==null&&typeof a!="function"){var o=String(a);q8.has(o)||(q8.add(o),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",a))}}function EE(a,o,u,f){var p=a.memoizedState,g=u(f,p);if(a.mode&$i){on(!0);try{g=u(f,p)}finally{on(!1)}}g===void 0&&(o=k(o)||"Component",B8.has(o)||(B8.add(o),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",o))),p=g==null?p:ve({},p,g),a.memoizedState=p,a.lanes===0&&(a.updateQueue.baseState=p)}function XF(a,o,u,f,p,g,S){var w=a.stateNode;if(typeof w.shouldComponentUpdate=="function"){if(u=w.shouldComponentUpdate(f,g,S),a.mode&$i){on(!0);try{u=w.shouldComponentUpdate(f,g,S)}finally{on(!1)}}return u===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",k(o)||"Component"),u}return o.prototype&&o.prototype.isPureReactComponent?!C0(u,f)||!C0(p,g):!0}function YF(a,o,u,f){var p=o.state;typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(u,f),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(u,f),o.state!==p&&(a=q(a)||"Component",N8.has(a)||(N8.add(a),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",a)),b2.enqueueReplaceState(o,o.state,null))}function sf(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=ve({},u));for(var p in a)u[p]===void 0&&(u[p]=a[p])}return u}function KF(a){WT(a),console.warn(`%s
124
-
125
- %s
126
- `,Rd?"An error occurred in the <"+Rd+"> 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 ZF(a){var o=Rd?"The above error occurred in the <"+Rd+"> 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, "+((S2||"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,Ek+" "+a[0],Tk,j1+f+j1,Ck):a.splice(0,0,Ek,Tk,j1+f+j1,Ck),a.unshift(console),f=EI.apply(console.error,a),f()}else console.error(`%o
133
-
134
- %s
135
-
136
- %s
137
- `,a,o,u)}function WF(a){WT(a)}function vb(a,o){try{Rd=o.source?q(o.source):null,S2=null;var u=o.value;if(it.actQueue!==null)it.thrownErrors.push(u);else{var f=a.onUncaughtError;f(u,{componentStack:o.stack})}}catch(p){setTimeout(function(){throw p})}}function QF(a,o,u){try{Rd=u.source?q(u.source):null,S2=q(o);var f=a.onCaughtError;f(u.value,{componentStack:u.stack,errorBoundary:o.tag===1?o.stateNode:null})}catch(p){setTimeout(function(){throw p})}}function TE(a,o,u){return u=$l(u),u.tag=d2,u.payload={element:null},u.callback=function(){pt(o.source,vb,a,o)},u}function CE(a){return a=$l(a),a.tag=d2,a}function DE(a,o,u,f){var p=u.type.getDerivedStateFromError;if(typeof p=="function"){var g=f.value;a.payload=function(){return p(g)},a.callback=function(){G3(u),pt(f.source,QF,o,u,f)}}var S=u.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(a.callback=function(){G3(u),pt(f.source,QF,o,u,f),typeof p!="function"&&(Cu===null?Cu=new Set([this]):Cu.add(this)),$G(this,f),typeof p=="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.",q(u)||"Unknown")})}function Cq(a,o,u,f,p){if(u.flags|=32768,ss&&X0(a,p),f!==null&&typeof f=="object"&&typeof f.then=="function"){if(o=u.alternate,o!==null&&qh(o,u,p,!0),xe&&(cs=!0),u=ur.current,u!==null){switch(u.tag){case 31:case 13:return Hr===null?Cb():u.alternate===null&&Tn===sl&&(Tn=b1),u.flags&=-257,u.flags|=65536,u.lanes=p,f===h1?u.flags|=16384:(o=u.updateQueue,o===null?u.updateQueue=new Set([f]):o.add(f),KE(a,f,p)),!1;case 22:return u.flags|=65536,f===h1?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)),KE(a,f,p)),!1}throw Error("Unexpected Suspense handler tag ("+u.tag+"). This is a bug in React.")}return KE(a,f,p),Cb(),!1}if(xe)return cs=!0,o=ur.current,o!==null?((o.flags&65536)===0&&(o.flags|=256),o.flags|=65536,o.lanes=p,f!==n2&&R0($a(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!==n2&&R0($a(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,p&=-p,a.lanes|=p,f=$a(f,u),p=TE(a.stateNode,f,p),ib(a,p),Tn!==Au&&(Tn=Af)),!1;var g=$a(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(Bm===null?Bm=[g]:Bm.push(g),Tn!==Au&&(Tn=Af),o===null)return!0;f=$a(f,u),u=o;do{switch(u.tag){case 3:return u.flags|=65536,a=p&-p,u.lanes|=a,a=TE(u.stateNode,f,a),ib(u,a),!1;case 1:if(o=u.type,g=u.stateNode,(u.flags&128)===0&&(typeof o.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Cu===null||!Cu.has(g))))return u.flags|=65536,p&=-p,u.lanes|=p,p=CE(p),DE(p,a,u,f),ib(u,p),!1}u=u.return}while(u!==null);return!1}function Ui(a,o,u,f){o.child=a===null?A8(o,null,u,f):Sf(o,a.child,u,f)}function JF(a,o,u,f,p){u=u.render;var g=o.ref;if("ref"in f){var S={};for(var w in f)w!=="ref"&&(S[w]=f[w])}else S=f;return ef(o),f=Jw(a,o,u,S,g,p),w=tE(),a!==null&&!ei?(eE(a,o,p),Is(a,o,p)):(xe&&w&&kw(o),o.flags|=1,Ui(a,o,f,p),o.child)}function $F(a,o,u,f,p){if(a===null){var g=u.type;return typeof g=="function"&&!_w(g)&&g.defaultProps===void 0&&u.compare===null?(u=Qc(g),o.tag=15,o.type=u,OE(o,g),tN(a,o,u,f,p)):(a=Fw(u.type,null,f,o,o.mode,p),a.ref=o.ref,a.return=o,o.child=a)}if(g=a.child,!kE(a,p)){var S=g.memoizedProps;if(u=u.compare,u=u!==null?u:C0,u(S,f)&&a.ref===o.ref)return Is(a,o,p)}return o.flags|=1,a=js(g,f),a.ref=o.ref,a.return=o,o.child=a}function tN(a,o,u,f,p){if(a!==null){var g=a.memoizedProps;if(C0(g,f)&&a.ref===o.ref&&o.type===a.type)if(ei=!1,o.pendingProps=f=g,kE(a,p))(a.flags&131072)!==0&&(ei=!0);else return o.lanes=a.lanes,Is(a,o,p)}return RE(a,o,u,f,p)}function eN(a,o,u,f){var p=f.children,g=a!==null?a.memoizedState:null;if(a===null&&o.stateNode===null&&(o.stateNode={_visibility:dm,_pendingMarkers:null,_retryCache:null,_transitions:null}),f.mode==="hidden"){if((o.flags&128)!==0){if(g=g!==null?g.baseLanes|u:u,a!==null){for(f=o.child=a.child,p=0;f!==null;)p=p|f.lanes|f.childLanes,f=f.sibling;f=p&~g}else f=0,o.child=null;return nN(a,o,g,u,f)}if((u&536870912)!==0)o.memoizedState={baseLanes:0,cachePool:null},a!==null&&Qy(o,g!==null?g.cachePool:null),g!==null?vF(o,g):Kw(o),yF(o);else return f=o.lanes=536870912,nN(a,o,g!==null?g.baseLanes|u:u,u,f)}else g!==null?(Qy(o,g.cachePool),vF(o,g),nu(o),o.memoizedState=null):(a!==null&&Qy(o,null),Kw(o),nu(o));return Ui(a,o,p,u),o.child}function P0(a,o){return a!==null&&a.tag===22||o.stateNode!==null||(o.stateNode={_visibility:dm,_pendingMarkers:null,_retryCache:null,_transitions:null}),o.sibling}function nN(a,o,u,f,p){var g=Gw();return g=g===null?null:{parent:Jn._currentValue,pool:g},o.memoizedState={baseLanes:u,cachePool:g},a!==null&&Qy(o,null),Kw(o),yF(o),a!==null&&qh(a,o,f,!0),o.childLanes=p,null}function yb(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=Sb({mode:o.mode,children:o.children},a.mode),o.ref=a.ref,a.child=o,o.return=a,o}function iN(a,o,u){return Sf(o,a.child,null,u),a=yb(o,o.pendingProps),a.flags|=2,nr(o),o.memoizedState=null,a}function Dq(a,o,u){var f=o.pendingProps,p=(o.flags&128)!==0;if(o.flags&=-129,a===null){if(xe){if(f.mode==="hidden")return a=yb(o,f),o.lanes=536870912,P0(null,a);if(Ww(o),(a=hn)?(u=Rz(a,Br),u=u!==null&&u.data===Rf?u:null,u!==null&&(f={dehydrated:u,treeContext:Z3(),retryLane:536870912,hydrationErrors:null},o.memoizedState=f,f=Y3(u),f.return=o,o.child=f,Hi=o,hn=null)):u=null,u===null)throw Iy(o,a),Wl(o);return o.lanes=536870912,null}return yb(o,f)}var g=a.memoizedState;if(g!==null){var S=g.dehydrated;if(Ww(o),p)if(o.flags&256)o.flags&=-257,o=iN(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(Q3(),(u&536870912)!==0&&Tb(o),ei||qh(a,o,u,!1),p=(u&a.childLanes)!==0,ei||p){if(f=en,f!==null&&(S=Xc(f,u),S!==0&&S!==g.retryLane))throw g.retryLane=S,Qi(a,S),Fn(f,a,S),x2;Cb(),o=iN(a,o,u)}else a=g.treeContext,hn=ar(S.nextSibling),Hi=o,xe=!0,mu=null,cs=!1,lr=null,Br=!1,a!==null&&W3(o,a),o=yb(o,f),o.flags|=4096;return o}return g=a.child,f={mode:f.mode,children:f.children},(u&536870912)!==0&&(u&a.lanes)!==0&&Tb(o),a=js(g,f),a.ref=o.ref,o.child=a,a.return=o,a}function bb(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 RE(a,o,u,f,p){if(u.prototype&&typeof u.prototype.render=="function"){var g=k(u)||"Unknown";V8[g]||(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.",g,g),V8[g]=!0)}return o.mode&$i&&wo.recordLegacyContextWarning(o,null),a===null&&(OE(o,o.type),u.contextTypes&&(g=k(u)||"Unknown",I8[g]||(I8[g]=!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)",g)))),ef(o),u=Jw(a,o,u,f,void 0,p),f=tE(),a!==null&&!ei?(eE(a,o,p),Is(a,o,p)):(xe&&f&&kw(o),o.flags|=1,Ui(a,o,u,p),o.child)}function aN(a,o,u,f,p,g){return ef(o),rl=-1,_m=a!==null&&a.type!==o.type,o.updateQueue=null,u=$w(o,f,u,p),bF(a,o),f=tE(),a!==null&&!ei?(eE(a,o,g),Is(a,o,g)):(xe&&f&&kw(o),o.flags|=1,Ui(a,o,u,g),o.child)}function rN(a,o,u,f,p){switch(l(o)){case!1:var g=o.stateNode,S=new o.type(o.memoizedProps,g.context).state;g.updater.enqueueSetState(g,S,null);break;case!0:o.flags|=128,o.flags|=65536,g=Error("Simulated error coming from DevTools");var w=p&-p;if(o.lanes|=w,S=en,S===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");w=CE(w),DE(w,S,o,$a(g,o)),ib(o,w)}if(ef(o),o.stateNode===null){if(S=pu,g=u.contextType,"contextType"in u&&g!==null&&(g===void 0||g.$$typeof!==as)&&!j8.has(u)&&(j8.add(u),w=g===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 g!="object"?" However, it is set to a "+typeof g+".":g.$$typeof===AT?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(g).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",k(u)||"Component",w)),typeof g=="object"&&g!==null&&(S=gn(g)),g=new u(f,S),o.mode&$i){on(!0);try{g=new u(f,S)}finally{on(!1)}}if(S=o.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=b2,o.stateNode=g,g._reactInternals=o,g._reactInternalInstance=F8,typeof u.getDerivedStateFromProps=="function"&&S===null&&(S=k(u)||"Component",z8.has(S)||(z8.add(S),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.",S,g.state===null?"null":"undefined",S))),typeof u.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"){var R=w=S=null;if(typeof g.componentWillMount=="function"&&g.componentWillMount.__suppressDeprecationWarning!==!0?S="componentWillMount":typeof g.UNSAFE_componentWillMount=="function"&&(S="UNSAFE_componentWillMount"),typeof g.componentWillReceiveProps=="function"&&g.componentWillReceiveProps.__suppressDeprecationWarning!==!0?w="componentWillReceiveProps":typeof g.UNSAFE_componentWillReceiveProps=="function"&&(w="UNSAFE_componentWillReceiveProps"),typeof g.componentWillUpdate=="function"&&g.componentWillUpdate.__suppressDeprecationWarning!==!0?R="componentWillUpdate":typeof g.UNSAFE_componentWillUpdate=="function"&&(R="UNSAFE_componentWillUpdate"),S!==null||w!==null||R!==null){g=k(u)||"Component";var M=typeof u.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";L8.has(g)||(L8.add(g),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`,g,M,S!==null?`
145
- `+S:"",w!==null?`
146
- `+w:"",R!==null?`
147
- `+R:""))}}g=o.stateNode,S=k(u)||"Component",g.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?",S):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",S)),!g.getInitialState||g.getInitialState.isReactClassApproved||g.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?",S),g.getDefaultProps&&!g.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.",S),g.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",S),u.childContextTypes&&!H8.has(u)&&(H8.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)",S)),u.contextTypes&&!P8.has(u)&&(P8.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)",S)),typeof g.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.",S),u.prototype&&u.prototype.isPureReactComponent&&typeof g.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.",k(u)||"A pure component"),typeof g.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",S),typeof g.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().",S),typeof g.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",S),typeof g.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",S),w=g.props!==f,g.props!==void 0&&w&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",S),g.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.",S,S),typeof g.getSnapshotBeforeUpdate!="function"||typeof g.componentDidUpdate=="function"||k8.has(u)||(k8.add(u),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",k(u))),typeof g.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof g.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),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.",S),(w=g.state)&&(typeof w!="object"||mi(w))&&console.error("%s.state: must be set to an object or null",S),typeof g.getChildContext=="function"&&typeof u.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",S),g=o.stateNode,g.props=f,g.state=o.memoizedState,g.refs={},Xw(o),S=u.contextType,g.context=typeof S=="object"&&S!==null?gn(S):pu,g.state===f&&(S=k(u)||"Component",U8.has(S)||(U8.add(S),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.",S))),o.mode&$i&&wo.recordLegacyContextWarning(o,g),wo.recordUnsafeLifecycleWarnings(o,g),g.state=o.memoizedState,S=u.getDerivedStateFromProps,typeof S=="function"&&(EE(o,u,S,f),g.state=o.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(S=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),S!==g.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",q(o)||"Component"),b2.enqueueReplaceState(g,g.state,null)),k0(o,f,g,p),z0(),g.state=o.memoizedState),typeof g.componentDidMount=="function"&&(o.flags|=4194308),(o.mode&Ao)!==qt&&(o.flags|=134217728),g=!0}else if(a===null){g=o.stateNode;var Y=o.memoizedProps;w=sf(u,Y),g.props=w;var K=g.context;R=u.contextType,S=pu,typeof R=="object"&&R!==null&&(S=gn(R)),M=u.getDerivedStateFromProps,R=typeof M=="function"||typeof g.getSnapshotBeforeUpdate=="function",Y=o.pendingProps!==Y,R||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(Y||K!==S)&&YF(o,g,f,S),xu=!1;var H=o.memoizedState;g.state=H,k0(o,f,g,p),z0(),K=o.memoizedState,Y||H!==K||xu?(typeof M=="function"&&(EE(o,u,M,f),K=o.memoizedState),(w=xu||XF(o,u,w,f,H,K,S))?(R||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(o.flags|=4194308),(o.mode&Ao)!==qt&&(o.flags|=134217728)):(typeof g.componentDidMount=="function"&&(o.flags|=4194308),(o.mode&Ao)!==qt&&(o.flags|=134217728),o.memoizedProps=f,o.memoizedState=K),g.props=f,g.state=K,g.context=S,g=w):(typeof g.componentDidMount=="function"&&(o.flags|=4194308),(o.mode&Ao)!==qt&&(o.flags|=134217728),g=!1)}else{g=o.stateNode,Yw(a,o),S=o.memoizedProps,R=sf(u,S),g.props=R,M=o.pendingProps,H=g.context,K=u.contextType,w=pu,typeof K=="object"&&K!==null&&(w=gn(K)),Y=u.getDerivedStateFromProps,(K=typeof Y=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(S!==M||H!==w)&&YF(o,g,f,w),xu=!1,H=o.memoizedState,g.state=H,k0(o,f,g,p),z0();var $=o.memoizedState;S!==M||H!==$||xu||a!==null&&a.dependencies!==null&&Yy(a.dependencies)?(typeof Y=="function"&&(EE(o,u,Y,f),$=o.memoizedState),(R=xu||XF(o,u,R,f,H,$,w)||a!==null&&a.dependencies!==null&&Yy(a.dependencies))?(K||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(f,$,w),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(f,$,w)),typeof g.componentDidUpdate=="function"&&(o.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof g.componentDidUpdate!="function"||S===a.memoizedProps&&H===a.memoizedState||(o.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===a.memoizedProps&&H===a.memoizedState||(o.flags|=1024),o.memoizedProps=f,o.memoizedState=$),g.props=f,g.state=$,g.context=w,g=R):(typeof g.componentDidUpdate!="function"||S===a.memoizedProps&&H===a.memoizedState||(o.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===a.memoizedProps&&H===a.memoizedState||(o.flags|=1024),g=!1)}if(w=g,bb(a,o),S=(o.flags&128)!==0,w||S){if(w=o.stateNode,Gl(o),S&&typeof u.getDerivedStateFromError!="function")u=null,pa=-1;else if(u=l8(w),o.mode&$i){on(!0);try{l8(w)}finally{on(!1)}}o.flags|=1,a!==null&&S?(o.child=Sf(o,a.child,null,p),o.child=Sf(o,null,u,p)):Ui(a,o,u,p),o.memoizedState=w.state,a=o.child}else a=Is(a,o,p);return p=o.stateNode,g&&p.props!==f&&(Od||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",q(o)||"a component"),Od=!0),a}function oN(a,o,u,f){return tf(),o.flags|=256,Ui(a,o,u,f),o.child}function OE(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=k(o)||"Unknown",X8[a]||(console.error("%s: Function components do not support getDerivedStateFromProps.",a),X8[a]=!0)),typeof o.contextType=="object"&&o.contextType!==null&&(o=k(o)||"Unknown",G8[o]||(console.error("%s: Function components do not support contextType.",o),G8[o]=!0))}function ME(a){return{baseLanes:a,cachePool:aF()}}function _E(a,o,u){return a=a!==null?a.childLanes&~u:0,o&&(a|=La),a}function sN(a,o,u){var f,p=o.pendingProps;s(o)&&(o.flags|=128);var g=!1,S=(o.flags&128)!==0;if((f=S)||(f=a!==null&&a.memoizedState===null?!1:(Gn.current&Om)!==0),f&&(g=!0,o.flags&=-129),f=(o.flags&32)!==0,o.flags&=-33,a===null){if(xe){if(g?eu(o):nu(o),(a=hn)?(u=Rz(a,Br),u=u!==null&&u.data!==Rf?u:null,u!==null&&(f={dehydrated:u,treeContext:Z3(),retryLane:536870912,hydrationErrors:null},o.memoizedState=f,f=Y3(u),f.return=o,o.child=f,Hi=o,hn=null)):u=null,u===null)throw Iy(o,a),Wl(o);return cT(u)?o.lanes=32:o.lanes=536870912,null}var w=p.children;if(p=p.fallback,g){nu(o);var R=o.mode;return w=Sb({mode:"hidden",children:w},R),p=Jc(p,R,u,null),w.return=o,p.return=o,w.sibling=p,o.child=w,p=o.child,p.memoizedState=ME(u),p.childLanes=_E(a,f,u),o.memoizedState=A2,P0(null,p)}return eu(o),FE(o,w)}var M=a.memoizedState;if(M!==null){var Y=M.dehydrated;if(Y!==null){if(S)o.flags&256?(eu(o),o.flags&=-257,o=NE(a,o,u)):o.memoizedState!==null?(nu(o),o.child=a.child,o.flags|=128,o=null):(nu(o),w=p.fallback,R=o.mode,p=Sb({mode:"visible",children:p.children},R),w=Jc(w,R,u,null),w.flags|=2,p.return=o,w.return=o,p.sibling=w,o.child=p,Sf(o,a.child,null,u),p=o.child,p.memoizedState=ME(u),p.childLanes=_E(a,f,u),o.memoizedState=A2,o=P0(null,p));else if(eu(o),Q3(),(u&536870912)!==0&&Tb(o),cT(Y)){if(f=Y.nextSibling&&Y.nextSibling.dataset,f){w=f.dgst;var K=f.msg;R=f.stck;var H=f.cstck}g=K,f=w,p=R,Y=H,w=g,R=Y,w=Error(w||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),w.stack=p||"",w.digest=f,f=R===void 0?null:R,p={value:w,source:null,stack:f},typeof f=="string"&&e2.set(w,p),R0(p),o=NE(a,o,u)}else if(ei||qh(a,o,u,!1),f=(u&a.childLanes)!==0,ei||f){if(f=en,f!==null&&(p=Xc(f,u),p!==0&&p!==M.retryLane))throw M.retryLane=p,Qi(a,p),Fn(f,a,p),x2;uT(Y)||Cb(),o=NE(a,o,u)}else uT(Y)?(o.flags|=192,o.child=a.child,o=null):(a=M.treeContext,hn=ar(Y.nextSibling),Hi=o,xe=!0,mu=null,cs=!1,lr=null,Br=!1,a!==null&&W3(o,a),o=FE(o,p.children),o.flags|=4096);return o}}return g?(nu(o),w=p.fallback,R=o.mode,H=a.child,Y=H.sibling,p=js(H,{mode:"hidden",children:p.children}),p.subtreeFlags=H.subtreeFlags&65011712,Y!==null?w=js(Y,w):(w=Jc(w,R,u,null),w.flags|=2),w.return=o,p.return=o,p.sibling=w,o.child=p,P0(null,p),p=o.child,w=a.child.memoizedState,w===null?w=ME(u):(R=w.cachePool,R!==null?(H=Jn._currentValue,R=R.parent!==H?{parent:H,pool:H}:R):R=aF(),w={baseLanes:w.baseLanes|u,cachePool:R}),p.memoizedState=w,p.childLanes=_E(a,f,u),o.memoizedState=A2,P0(a.child,p)):(M!==null&&(u&62914560)===u&&(u&a.lanes)!==0&&Tb(o),eu(o),u=a.child,a=u.sibling,u=js(u,{mode:"visible",children:p.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 FE(a,o){return o=Sb({mode:"visible",children:o},a.mode),o.return=a,a.child=o}function Sb(a,o){return a=y(22,a,null,o),a.lanes=0,a}function NE(a,o,u){return Sf(o,a.child,null,u),a=FE(o,o.pendingProps.children),a.flags|=2,o.memoizedState=null,a}function lN(a,o,u){a.lanes|=o;var f=a.alternate;f!==null&&(f.lanes|=o),Pw(a.return,o,u)}function zE(a,o,u,f,p,g){var S=a.memoizedState;S===null?a.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:f,tail:u,tailMode:p,treeForkCount:g}:(S.isBackwards=o,S.rendering=null,S.renderingStartTime=0,S.last=f,S.tail=u,S.tailMode=p,S.treeForkCount=g)}function uN(a,o,u){var f=o.pendingProps,p=f.revealOrder,g=f.tail,S=f.children,w=Gn.current;if((f=(w&Om)!==0)?(w=w&Td|Om,o.flags|=128):w&=Td,nt(Gn,w,o),w=p??"null",p!=="forwards"&&p!=="unstable_legacy-backwards"&&p!=="together"&&p!=="independent"&&!Y8[w])if(Y8[w]=!0,p==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(p==="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 p=="string")switch(p.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.',p,p.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.',p,p.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',p)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "independent", "together", "forwards" or "backwards"?',p);w=g??"null",y1[w]||(g==null?(p==="forwards"||p==="backwards"||p==="unstable_legacy-backwards")&&(y1[w]=!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".')):g!=="visible"&&g!=="collapsed"&&g!=="hidden"?(y1[w]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "visible", "collapsed" or "hidden"?',g)):p!=="forwards"&&p!=="backwards"&&p!=="unstable_legacy-backwards"&&(y1[w]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',g)));t:if((p==="forwards"||p==="backwards"||p==="unstable_legacy-backwards")&&S!==void 0&&S!==null&&S!==!1)if(mi(S)){for(w=0;w<S.length;w++)if(!pF(S[w],w))break t}else if(w=L(S),typeof w=="function"){if(w=w.call(S))for(var R=w.next(),M=0;!R.done;R=w.next()){if(!pF(R.value,M))break t;M++}}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?',p);if(Ui(a,o,S,u),xe?(Zl(),S=pm):S=0,!f&&a!==null&&(a.flags&128)!==0)t:for(a=o.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&lN(a,u,o);else if(a.tag===19)lN(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(p){case"forwards":for(u=o.child,p=null;u!==null;)a=u.alternate,a!==null&&ab(a)===null&&(p=u),u=u.sibling;u=p,u===null?(p=o.child,o.child=null):(p=u.sibling,u.sibling=null),zE(o,!1,p,u,g,S);break;case"backwards":case"unstable_legacy-backwards":for(u=null,p=o.child,o.child=null;p!==null;){if(a=p.alternate,a!==null&&ab(a)===null){o.child=p;break}a=p.sibling,p.sibling=u,u=p,p=a}zE(o,!0,u,null,g,S);break;case"together":zE(o,!1,null,null,void 0,S);break;default:o.memoizedState=null}return o.child}function Is(a,o,u){if(a!==null&&(o.dependencies=a.dependencies),pa=-1,Eu|=o.lanes,(u&o.childLanes)===0)if(a!==null){if(qh(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=js(a,a.pendingProps),o.child=u,u.return=o;a.sibling!==null;)a=a.sibling,u=u.sibling=js(a,a.pendingProps),u.return=o;u.sibling=null}return o.child}function kE(a,o){return(a.lanes&o)!==0?!0:(a=a.dependencies,!!(a!==null&&Yy(a)))}function Rq(a,o,u){switch(o.tag){case 3:B(o,o.stateNode.containerInfo),Ql(o,Jn,a.memoizedState.cache),tf();break;case 27:case 5:lt(o);break;case 4:B(o,o.stateNode.containerInfo);break;case 10:Ql(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,Ww(o),null;break;case 13:if(f=o.memoizedState,f!==null)return f.dehydrated!==null?(eu(o),o.flags|=128,null):(u&o.child.childLanes)!==0?sN(a,o,u):(eu(o),a=Is(a,o,u),a!==null?a.sibling:null);eu(o);break;case 19:var p=(a.flags&128)!==0;if(f=(u&o.childLanes)!==0,f||(qh(a,o,u,!1),f=(u&o.childLanes)!==0),p){if(f)return uN(a,o,u);o.flags|=128}if(p=o.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),nt(Gn,Gn.current,o),f)break;return null;case 22:return o.lanes=0,eN(a,o,u,o.pendingProps);case 24:Ql(o,Jn,a.memoizedState.cache)}return Is(a,o,u)}function LE(a,o,u){if(o._debugNeedsRemount&&a!==null){u=Fw(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 p=f.child;if(p===null)throw Error("Expected parent to have a child.");for(;p.sibling!==o;)if(p=p.sibling,p===null)throw Error("Expected to find the previous sibling.");p.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)ei=!0;else{if(!kE(a,u)&&(o.flags&128)===0)return ei=!1,Rq(a,o,u);ei=(a.flags&131072)!==0}else ei=!1,(f=xe)&&(Zl(),f=(o.flags&1048576)!==0),f&&(f=o.index,Zl(),K3(o,pm,f));switch(o.lanes=0,o.tag){case 16:t:if(f=o.pendingProps,a=Jl(o.elementType),o.type=a,typeof a=="function")_w(a)?(f=sf(a,f),o.tag=1,o.type=a=Qc(a),o=rN(null,o,a,f,u)):(o.tag=0,OE(o,a),o.type=a=Qc(a),o=RE(null,o,a,f,u));else{if(a!=null){if(p=a.$$typeof,p===em){o.tag=11,o.type=a=Mw(a),o=JF(null,o,a,f,u);break t}else if(p===Hb){o.tag=14,o=$F(null,o,a,f,u);break t}}throw o="",a!==null&&typeof a=="object"&&a.$$typeof===rr&&(o=" Did you wrap a component in React.lazy() more than once?"),u=k(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 RE(a,o,o.type,o.pendingProps,u);case 1:return f=o.type,p=sf(f,o.pendingProps),rN(a,o,f,p,u);case 3:t:{if(B(o,o.stateNode.containerInfo),a===null)throw Error("Should have a current fiber. This is a bug in React.");f=o.pendingProps;var g=o.memoizedState;p=g.element,Yw(a,o),k0(o,f,null,u);var S=o.memoizedState;if(f=S.cache,Ql(o,Jn,f),f!==g.cache&&Hw(o,[Jn],u,!0),z0(),f=S.element,g.isDehydrated)if(g={element:f,isDehydrated:!1,cache:S.cache},o.updateQueue.baseState=g,o.memoizedState=g,o.flags&256){o=oN(a,o,f,u);break t}else if(f!==p){p=$a(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),o),R0(p),o=oN(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,hn=ar(a.firstChild),Hi=o,xe=!0,mu=null,cs=!1,lr=null,Br=!0,u=A8(o,null,f,u),o.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(tf(),f===p){o=Is(a,o,u);break t}Ui(a,o,f,u)}o=o.child}return o;case 26:return bb(a,o),a===null?(u=zz(o.type,null,o.pendingProps,null))?o.memoizedState=u:xe||(u=o.type,a=o.pendingProps,f=ot(lu.current),f=Mb(f).createElement(u),f[Pi]=o,f[fa]=a,Bi(f,u,a),kt(f),o.stateNode=f):o.memoizedState=zz(o.type,a.memoizedProps,o.pendingProps,a.memoizedState),null;case 27:return lt(o),a===null&&xe&&(f=ot(lu.current),p=V(),f=o.stateNode=Fz(o.type,o.pendingProps,f,p,!1),cs||(p=Sz(f,o.type,o.pendingProps,p),p!==null&&($c(o,0).serverProps=p)),Hi=o,Br=!0,p=hn,ou(o.type)?(I2=p,hn=ar(f.firstChild)):hn=p),Ui(a,o,o.pendingProps.children,u),bb(a,o),a===null&&(o.flags|=4194304),o.child;case 5:return a===null&&xe&&(g=V(),f=Aw(o.type,g.ancestorInfo),p=hn,(S=!p)||(S=gV(p,o.type,o.pendingProps,Br),S!==null?(o.stateNode=S,cs||(g=Sz(S,o.type,o.pendingProps,g),g!==null&&($c(o,0).serverProps=g)),Hi=o,hn=ar(S.firstChild),Br=!1,g=!0):g=!1,S=!g),S&&(f&&Iy(o,p),Wl(o))),lt(o),p=o.type,g=o.pendingProps,S=a!==null?a.memoizedProps:null,f=g.children,sT(p,g)?f=null:S!==null&&sT(p,S)&&(o.flags|=32),o.memoizedState!==null&&(p=Jw(a,o,Sq,null,null,u),Ym._currentValue=p),bb(a,o),Ui(a,o,f,u),o.child;case 6:return a===null&&xe&&(u=o.pendingProps,a=V(),f=a.ancestorInfo.current,u=f!=null?ky(u,f.tag,a.ancestorInfo.implicitRootScope):!0,a=hn,(f=!a)||(f=vV(a,o.pendingProps,Br),f!==null?(o.stateNode=f,Hi=o,hn=null,f=!0):f=!1,f=!f),f&&(u&&Iy(o,a),Wl(o))),null;case 13:return sN(a,o,u);case 4:return B(o,o.stateNode.containerInfo),f=o.pendingProps,a===null?o.child=Sf(o,null,f,u):Ui(a,o,f,u),o.child;case 11:return JF(a,o,o.type,o.pendingProps,u);case 7:return Ui(a,o,o.pendingProps,u),o.child;case 8:return Ui(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,Ui(a,o,o.pendingProps.children,u),o.child;case 10:return f=o.type,p=o.pendingProps,g=p.value,"value"in p||K8||(K8=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),Ql(o,f,g),Ui(a,o,p.children,u),o.child;case 9:return p=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."),ef(o),p=gn(p),f=u2(f,p,void 0),o.flags|=1,Ui(a,o,f,u),o.child;case 14:return $F(a,o,o.type,o.pendingProps,u);case 15:return tN(a,o,o.type,o.pendingProps,u);case 19:return uN(a,o,u);case 31:return Dq(a,o,u);case 22:return eN(a,o,u,o.pendingProps);case 24:return ef(o),f=gn(Jn),a===null?(p=Gw(),p===null&&(p=en,g=jw(),p.pooledCache=g,nf(g),g!==null&&(p.pooledCacheLanes|=u),p=g),o.memoizedState={parent:f,cache:p},Xw(o),Ql(o,Jn,p)):((a.lanes&u)!==0&&(Yw(a,o),k0(o,null,null,u),z0()),p=a.memoizedState,g=o.memoizedState,p.parent!==f?(p={parent:f,cache:f},o.memoizedState=p,o.lanes===0&&(o.memoizedState=o.updateQueue.baseState=p),Ql(o,Jn,f)):(f=g.cache,Ql(o,Jn,f),f!==p.cache&&Hw(o,[Jn],u,!0))),Ui(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 Xs(a){a.flags|=4}function UE(a,o,u,f,p){if((o=(a.mode&ZG)!==qt)&&(o=!1),o){if(a.flags|=16777216,(p&335544128)===p)if(a.stateNode.complete)a.flags|=8192;else if(qN())a.flags|=8192;else throw bf=h1,f2}else a.flags&=-16777217}function cN(a,o){if(o.type!=="stylesheet"||(o.state.loading&Vr)!==_f)a.flags&=-16777217;else if(a.flags|=16777216,!Pz(o))if(qN())a.flags|=8192;else throw bf=h1,f2}function xb(a,o){o!==null&&(a.flags|=4),a.flags&16384&&(o=a.tag!==22?Lh():536870912,a.lanes|=o,Tf|=o)}function H0(a,o){if(!xe)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 sn(a){var o=a.alternate!==null&&a.alternate.child===a.child,u=0,f=0;if(o)if((a.mode&se)!==qt){for(var p=a.selfBaseDuration,g=a.child;g!==null;)u|=g.lanes|g.childLanes,f|=g.subtreeFlags&65011712,f|=g.flags&65011712,p+=g.treeBaseDuration,g=g.sibling;a.treeBaseDuration=p}else for(p=a.child;p!==null;)u|=p.lanes|p.childLanes,f|=p.subtreeFlags&65011712,f|=p.flags&65011712,p.return=a,p=p.sibling;else if((a.mode&se)!==qt){p=a.actualDuration,g=a.selfBaseDuration;for(var S=a.child;S!==null;)u|=S.lanes|S.childLanes,f|=S.subtreeFlags,f|=S.flags,p+=S.actualDuration,g+=S.treeBaseDuration,S=S.sibling;a.actualDuration=p,a.treeBaseDuration=g}else for(p=a.child;p!==null;)u|=p.lanes|p.childLanes,f|=p.subtreeFlags,f|=p.flags,p.return=a,p=p.sibling;return a.subtreeFlags|=f,a.childLanes=u,o}function Oq(a,o,u){var f=o.pendingProps;switch(Lw(o),o.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return sn(o),null;case 1:return sn(o),null;case 3:return u=o.stateNode,f=null,a!==null&&(f=a.memoizedState.cache),o.memoizedState.cache!==f&&(o.flags|=2048),Vs(Jn,o),X(o),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(a===null||a.child===null)&&(jh(o)?(Bw(),Xs(o)):a===null||a.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Uw())),sn(o),null;case 26:var p=o.type,g=o.memoizedState;return a===null?(Xs(o),g!==null?(sn(o),cN(o,g)):(sn(o),UE(o,p,null,f,u))):g?g!==a.memoizedState?(Xs(o),sn(o),cN(o,g)):(sn(o),o.flags&=-16777217):(a=a.memoizedProps,a!==f&&Xs(o),sn(o),UE(o,p,a,f,u)),null;case 27:if(dt(o),u=ot(lu.current),p=o.type,a!==null&&o.stateNode!=null)a.memoizedProps!==f&&Xs(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 sn(o),null}a=V(),jh(o)?J3(o,a):(a=Fz(p,f,u,a,!0),o.stateNode=a,Xs(o))}return sn(o),null;case 5:if(dt(o),p=o.type,a!==null&&o.stateNode!=null)a.memoizedProps!==f&&Xs(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 sn(o),null}var S=V();if(jh(o))J3(o,S);else{switch(g=ot(lu.current),Aw(p,S.ancestorInfo),S=S.context,g=Mb(g),S){case Ud:g=g.createElementNS(sd,p);break;case B1:g=g.createElementNS(Yb,p);break;default:switch(p){case"svg":g=g.createElementNS(sd,p);break;case"math":g=g.createElementNS(Yb,p);break;case"script":g=g.createElement("div"),g.innerHTML="<script></script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof f.is=="string"?g.createElement("select",{is:f.is}):g.createElement("select"),f.multiple?g.multiple=!0:f.size&&(g.size=f.size);break;default:g=typeof f.is=="string"?g.createElement(p,{is:f.is}):g.createElement(p),p.indexOf("-")===-1&&(p!==p.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",p),Object.prototype.toString.call(g)!=="[object HTMLUnknownElement]"||So.call(yk,p)||(yk[p]=!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.",p)))}}g[Pi]=o,g[fa]=f;t:for(S=o.child;S!==null;){if(S.tag===5||S.tag===6)g.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===o)break t;for(;S.sibling===null;){if(S.return===null||S.return===o)break t;S=S.return}S.sibling.return=S.return,S=S.sibling}o.stateNode=g;t:switch(Bi(g,p,f),p){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break t;case"img":f=!0;break t;default:f=!1}f&&Xs(o)}}return sn(o),UE(o,o.type,a===null?null:a.memoizedProps,o.pendingProps,u),null;case 6:if(a&&o.stateNode!=null)a.memoizedProps!==f&&Xs(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=ot(lu.current),u=V(),jh(o)){if(a=o.stateNode,u=o.memoizedProps,p=!cs,f=null,g=Hi,g!==null)switch(g.tag){case 3:p&&(p=Mz(a,u,f),p!==null&&($c(o,0).serverProps=p));break;case 27:case 5:f=g.memoizedProps,p&&(p=Mz(a,u,f),p!==null&&($c(o,0).serverProps=p))}a[Pi]=o,a=!!(a.nodeValue===u||f!==null&&f.suppressHydrationWarning===!0||mz(a.nodeValue,u)),a||Wl(o,!0)}else p=u.ancestorInfo.current,p!=null&&ky(f,p.tag,u.ancestorInfo.implicitRootScope),a=Mb(a).createTextNode(f),a[Pi]=o,o.stateNode=a}return sn(o),null;case 31:if(u=o.memoizedState,a===null||a.memoizedState!==null){if(f=jh(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[Pi]=o,sn(o),(o.mode&se)!==qt&&u!==null&&(a=o.child,a!==null&&(o.treeBaseDuration-=a.treeBaseDuration))}else Bw(),tf(),(o.flags&128)===0&&(u=o.memoizedState=null),o.flags|=4,sn(o),(o.mode&se)!==qt&&u!==null&&(a=o.child,a!==null&&(o.treeBaseDuration-=a.treeBaseDuration));a=!1}else u=Uw(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=u),a=!0;if(!a)return o.flags&256?(nr(o),o):(nr(o),null);if((o.flags&128)!==0)throw Error("Client rendering an Activity suspended it again. This is a bug in React.")}return sn(o),null;case 13:if(f=o.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(p=f,g=jh(o),p!==null&&p.dehydrated!==null){if(a===null){if(!g)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(g=o.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");g[Pi]=o,sn(o),(o.mode&se)!==qt&&p!==null&&(p=o.child,p!==null&&(o.treeBaseDuration-=p.treeBaseDuration))}else Bw(),tf(),(o.flags&128)===0&&(p=o.memoizedState=null),o.flags|=4,sn(o),(o.mode&se)!==qt&&p!==null&&(p=o.child,p!==null&&(o.treeBaseDuration-=p.treeBaseDuration));p=!1}else p=Uw(),a!==null&&a.memoizedState!==null&&(a.memoizedState.hydrationErrors=p),p=!0;if(!p)return o.flags&256?(nr(o),o):(nr(o),null)}return nr(o),(o.flags&128)!==0?(o.lanes=u,(o.mode&se)!==qt&&_0(o),o):(u=f!==null,a=a!==null&&a.memoizedState!==null,u&&(f=o.child,p=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(p=f.alternate.memoizedState.cachePool.pool),g=null,f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(g=f.memoizedState.cachePool.pool),g!==p&&(f.flags|=2048)),u!==a&&u&&(o.child.flags|=8192),xb(o,o.updateQueue),sn(o),(o.mode&se)!==qt&&u&&(a=o.child,a!==null&&(o.treeBaseDuration-=a.treeBaseDuration)),null);case 4:return X(o),a===null&&tT(o.stateNode.containerInfo),sn(o),null;case 10:return Vs(o.type,o),sn(o),null;case 19:if(J(Gn,o),f=o.memoizedState,f===null)return sn(o),null;if(p=(o.flags&128)!==0,g=f.rendering,g===null)if(p)H0(f,!1);else{if(Tn!==sl||a!==null&&(a.flags&128)!==0)for(a=o.child;a!==null;){if(g=ab(a),g!==null){for(o.flags|=128,H0(f,!1),a=g.updateQueue,o.updateQueue=a,xb(o,a),o.subtreeFlags=0,a=u,u=o.child;u!==null;)X3(u,a),u=u.sibling;return nt(Gn,Gn.current&Td|Om,o),xe&&qs(o,f.treeForkCount),o.child}a=a.sibling}f.tail!==null&&Di()>T1&&(o.flags|=128,p=!0,H0(f,!1),o.lanes=4194304)}else{if(!p)if(a=ab(g),a!==null){if(o.flags|=128,p=!0,a=a.updateQueue,o.updateQueue=a,xb(o,a),H0(f,!0),f.tail===null&&f.tailMode==="hidden"&&!g.alternate&&!xe)return sn(o),null}else 2*Di()-f.renderingStartTime>T1&&u!==536870912&&(o.flags|=128,p=!0,H0(f,!1),o.lanes=4194304);f.isBackwards?(g.sibling=o.child,o.child=g):(a=f.last,a!==null?a.sibling=g:o.child=g,f.last=g)}return f.tail!==null?(a=f.tail,f.rendering=a,f.tail=a.sibling,f.renderingStartTime=Di(),a.sibling=null,u=Gn.current,u=p?u&Td|Om:u&Td,nt(Gn,u,o),xe&&qs(o,f.treeForkCount),a):(sn(o),null);case 22:case 23:return nr(o),Zw(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&&(sn(o),o.subtreeFlags&6&&(o.flags|=8192)):sn(o),u=o.updateQueue,u!==null&&xb(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&&J(vf,o),null;case 24:return u=null,a!==null&&(u=a.memoizedState.cache),o.memoizedState.cache!==u&&(o.flags|=2048),Vs(Jn,o),sn(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 Mq(a,o){switch(Lw(o),o.tag){case 1:return a=o.flags,a&65536?(o.flags=a&-65537|128,(o.mode&se)!==qt&&_0(o),o):null;case 3:return Vs(Jn,o),X(o),a=o.flags,(a&65536)!==0&&(a&128)===0?(o.flags=a&-65537|128,o):null;case 26:case 27:case 5:return dt(o),null;case 31:if(o.memoizedState!==null){if(nr(o),o.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");tf()}return a=o.flags,a&65536?(o.flags=a&-65537|128,(o.mode&se)!==qt&&_0(o),o):null;case 13:if(nr(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.");tf()}return a=o.flags,a&65536?(o.flags=a&-65537|128,(o.mode&se)!==qt&&_0(o),o):null;case 19:return J(Gn,o),null;case 4:return X(o),null;case 10:return Vs(o.type,o),null;case 22:case 23:return nr(o),Zw(o),a!==null&&J(vf,o),a=o.flags,a&65536?(o.flags=a&-65537|128,(o.mode&se)!==qt&&_0(o),o):null;case 24:return Vs(Jn,o),null;case 25:return null;default:return null}}function fN(a,o){switch(Lw(o),o.tag){case 3:Vs(Jn,o),X(o);break;case 26:case 27:case 5:dt(o);break;case 4:X(o);break;case 31:o.memoizedState!==null&&nr(o);break;case 13:nr(o);break;case 19:J(Gn,o);break;case 10:Vs(o.type,o);break;case 22:case 23:nr(o),Zw(o),a!==null&&J(vf,o);break;case 24:Vs(Jn,o)}}function Qo(a){return(a.mode&se)!==qt}function hN(a,o){Qo(a)?(Wo(),j0(o,a),Zo()):j0(o,a)}function BE(a,o,u){Qo(a)?(Wo(),Yh(u,a,o),Zo()):Yh(u,a,o)}function j0(a,o){try{var u=o.updateQueue,f=u!==null?u.lastEffect:null;if(f!==null){var p=f.next;u=p;do{if((u.tag&a)===a&&(f=void 0,(a&ma)!==p1&&(zd=!0),f=pt(o,tI,u),(a&ma)!==p1&&(zd=!1),f!==void 0&&typeof f!="function")){var g=void 0;g=(u.tag&cr)!==0?"useLayoutEffect":(u.tag&ma)!==0?"useInsertionEffect":"useEffect";var S=void 0;S=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 `+g+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
151
-
152
- `+g+`(() => {
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,pt(o,function(w,R){console.error("%s must not return anything besides a function, which is used for clean-up.%s",w,R)},g,S)}u=u.next}while(u!==p)}}catch(w){Pe(o,o.return,w)}}function Yh(a,o,u){try{var f=o.updateQueue,p=f!==null?f.lastEffect:null;if(p!==null){var g=p.next;f=g;do{if((f.tag&a)===a){var S=f.inst,w=S.destroy;w!==void 0&&(S.destroy=void 0,(a&ma)!==p1&&(zd=!0),p=o,pt(p,eI,p,u,w),(a&ma)!==p1&&(zd=!1))}f=f.next}while(f!==g)}}catch(R){Pe(o,o.return,R)}}function dN(a,o){Qo(a)?(Wo(),j0(o,a),Zo()):j0(o,a)}function PE(a,o,u){Qo(a)?(Wo(),Yh(u,a,o),Zo()):Yh(u,a,o)}function pN(a){var o=a.updateQueue;if(o!==null){var u=a.stateNode;a.type.defaultProps||"ref"in a.memoizedProps||Od||(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.",q(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.",q(a)||"instance"));try{pt(a,gF,o,u)}catch(f){Pe(a,a.return,f)}}}function _q(a,o,u){return a.getSnapshotBeforeUpdate(o,u)}function Fq(a,o){var u=o.memoizedProps,f=o.memoizedState;o=a.stateNode,a.type.defaultProps||"ref"in a.memoizedProps||Od||(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.",q(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.",q(a)||"instance"));try{var p=sf(a.type,u),g=pt(a,_q,o,p,f);u=Z8,g!==void 0||u.has(a.type)||(u.add(a.type),pt(a,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",q(a))})),o.__reactInternalSnapshotBeforeUpdate=g}catch(S){Pe(a,a.return,S)}}function mN(a,o,u){u.props=sf(a.type,a.memoizedProps),u.state=a.memoizedState,Qo(a)?(Wo(),pt(a,p8,a,o,u),Zo()):pt(a,p8,a,o,u)}function Nq(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(Qo(a))try{Wo(),a.refCleanup=o(u)}finally{Zo()}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().",q(a)),o.current=u}}function q0(a,o){try{pt(a,Nq,a)}catch(u){Pe(a,o,u)}}function Jo(a,o){var u=a.ref,f=a.refCleanup;if(u!==null)if(typeof f=="function")try{if(Qo(a))try{Wo(),pt(a,f)}finally{Zo(a)}else pt(a,f)}catch(p){Pe(a,o,p)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof u=="function")try{if(Qo(a))try{Wo(),pt(a,u,null)}finally{Zo(a)}else pt(a,u,null)}catch(p){Pe(a,o,p)}else u.current=null}function gN(a,o,u,f){var p=a.memoizedProps,g=p.id,S=p.onCommit;p=p.onRender,o=o===null?"mount":"update",l1&&(o="nested-update"),typeof p=="function"&&p(g,o,a.actualDuration,a.treeBaseDuration,a.actualStartTime,u),typeof S=="function"&&S(g,o,f,u)}function zq(a,o,u,f){var p=a.memoizedProps;a=p.id,p=p.onPostCommit,o=o===null?"mount":"update",l1&&(o="nested-update"),typeof p=="function"&&p(a,o,f,u)}function vN(a){var o=a.type,u=a.memoizedProps,f=a.stateNode;try{pt(a,aV,f,o,u,a)}catch(p){Pe(a,a.return,p)}}function HE(a,o,u){try{pt(a,oV,a.stateNode,a.type,u,o,a)}catch(f){Pe(a,a.return,f)}}function yN(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27&&ou(a.type)||a.tag===4}function jE(a){t:for(;;){for(;a.sibling===null;){if(a.return===null||yN(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&&ou(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 qE(a,o,u){var f=a.tag;if(f===5||f===6)a=a.stateNode,o?(Tz(u),(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(a,o)):(Tz(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=Hs));else if(f!==4&&(f===27&&ou(a.type)&&(u=a.stateNode,o=null),a=a.child,a!==null))for(qE(a,o,u),a=a.sibling;a!==null;)qE(a,o,u),a=a.sibling}function Ab(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&&ou(a.type)&&(u=a.stateNode),a=a.child,a!==null))for(Ab(a,o,u),a=a.sibling;a!==null;)Ab(a,o,u),a=a.sibling}function kq(a){for(var o,u=a.return;u!==null;){if(yN(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=jE(a),Ab(a,u,o);break;case 5:u=o.stateNode,o.flags&32&&(Ez(u),o.flags&=-33),o=jE(a),Ab(a,o,u);break;case 3:case 4:o=o.stateNode.containerInfo,u=jE(a),qE(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 bN(a){var o=a.stateNode,u=a.memoizedProps;try{pt(a,AV,a.type,u,o,a)}catch(f){Pe(a,a.return,f)}}function SN(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 Lq(a,o){if(a=a.containerInfo,q2=q1,a=L3(a),Tw(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 p=f.anchorOffset,g=f.focusNode;f=f.focusOffset;try{u.nodeType,g.nodeType}catch{u=null;break t}var S=0,w=-1,R=-1,M=0,Y=0,K=a,H=null;e:for(;;){for(var $;K!==u||p!==0&&K.nodeType!==3||(w=S+p),K!==g||f!==0&&K.nodeType!==3||(R=S+f),K.nodeType===3&&(S+=K.nodeValue.length),($=K.firstChild)!==null;)H=K,K=$;for(;;){if(K===a)break e;if(H===u&&++M===p&&(w=S),H===g&&++Y===f&&(R=S),($=K.nextSibling)!==null)break;K=H,H=K.parentNode}K=$}u=w===-1||R===-1?null:{start:w,end:R}}else u=null}u=u||{start:0,end:0}}else u=null;for(V2={focusedElem:a,selectionRange:u},q1=!1,Oi=o;Oi!==null;)if(o=Oi,a=o.child,(o.subtreeFlags&1028)!==0&&a!==null)a.return=o,Oi=a;else for(;Oi!==null;){switch(a=o=Oi,u=a.alternate,p=a.flags,a.tag){case 0:if((p&4)!==0&&(a=a.updateQueue,a=a!==null?a.events:null,a!==null))for(u=0;u<a.length;u++)p=a[u],p.ref.impl=p.nextImpl;break;case 11:case 15:break;case 1:(p&1024)!==0&&u!==null&&Fq(a,u);break;case 3:if((p&1024)!==0){if(a=a.stateNode.containerInfo,u=a.nodeType,u===9)lT(a);else if(u===1)switch(a.nodeName){case"HEAD":case"HTML":case"BODY":lT(a);break;default:a.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((p&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,Oi=a;break}Oi=o.return}}function xN(a,o,u){var f=tr(),p=Io(),g=Yo(),S=Ko(),w=u.flags;switch(u.tag){case 0:case 11:case 15:$o(a,u),w&4&&hN(u,cr|jr);break;case 1:if($o(a,u),w&4)if(a=u.stateNode,o===null)u.type.defaultProps||"ref"in u.memoizedProps||Od||(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.",q(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.",q(u)||"instance")),Qo(u)?(Wo(),pt(u,c2,u,a),Zo()):pt(u,c2,u,a);else{var R=sf(u.type,o.memoizedProps);o=o.memoizedState,u.type.defaultProps||"ref"in u.memoizedProps||Od||(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.",q(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.",q(u)||"instance")),Qo(u)?(Wo(),pt(u,f8,u,a,R,o,a.__reactInternalSnapshotBeforeUpdate),Zo()):pt(u,f8,u,a,R,o,a.__reactInternalSnapshotBeforeUpdate)}w&64&&pN(u),w&512&&q0(u,u.return);break;case 3:if(o=Gs(),$o(a,u),w&64&&(w=u.updateQueue,w!==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{pt(u,gF,w,R)}catch(Y){Pe(u,u.return,Y)}}a.effectDuration+=Zy(o);break;case 27:o===null&&w&4&&bN(u);case 26:case 5:if($o(a,u),o===null){if(w&4)vN(u);else if(w&64){a=u.type,o=u.memoizedProps,R=u.stateNode;try{pt(u,rV,R,a,o,u)}catch(Y){Pe(u,u.return,Y)}}}w&512&&q0(u,u.return);break;case 12:if(w&4){w=Gs(),$o(a,u),a=u.stateNode,a.effectDuration+=M0(w);try{pt(u,gN,u,o,gu,a.effectDuration)}catch(Y){Pe(u,u.return,Y)}}else $o(a,u);break;case 31:$o(a,u),w&4&&EN(a,u);break;case 13:$o(a,u),w&4&&TN(a,u),w&64&&(a=u.memoizedState,a!==null&&(a=a.dehydrated,a!==null&&(w=Iq.bind(null,u),yV(a,w))));break;case 22:if(w=u.memoizedState!==null||ol,!w){o=o!==null&&o.memoizedState!==null||ni,R=ol;var M=ni;ol=w,(ni=o)&&!M?(ts(a,u,(u.subtreeFlags&8772)!==0),(u.mode&se)!==qt&&0<=Lt&&0<=Ut&&.05<Ut-Lt&&Py(u,Lt,Ut)):$o(a,u),ol=R,ni=M}break;case 30:break;default:$o(a,u)}(u.mode&se)!==qt&&0<=Lt&&0<=Ut&&((Nn||.05<En)&&Vo(u,Lt,Ut,En,vn),u.alternate===null&&u.return!==null&&u.return.alternate!==null&&.05<Ut-Lt&&(SN(u.return.alternate,u.return)||qo(u,Lt,Ut,"Mount"))),er(f),Xo(p),vn=g,Nn=S}function AN(a){var o=a.alternate;o!==null&&(a.alternate=null,AN(o)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(o=a.stateNode,o!==null&&vt(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 Ys(a,o,u){for(u=u.child;u!==null;)wN(a,o,u),u=u.sibling}function wN(a,o,u){if(Ji&&typeof Ji.onCommitFiberUnmount=="function")try{Ji.onCommitFiberUnmount(rd,u)}catch(M){os||(os=!0,console.error("React instrumentation encountered an error: %o",M))}var f=tr(),p=Io(),g=Yo(),S=Ko();switch(u.tag){case 26:ni||Jo(u,o),Ys(a,o,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(a=u.stateNode,a.parentNode.removeChild(a));break;case 27:ni||Jo(u,o);var w=ii,R=za;ou(u.type)&&(ii=u.stateNode,za=!1),Ys(a,o,u),pt(u,Q0,u.stateNode),ii=w,za=R;break;case 5:ni||Jo(u,o);case 6:if(w=ii,R=za,ii=null,Ys(a,o,u),ii=w,za=R,ii!==null)if(za)try{pt(u,uV,ii,u.stateNode)}catch(M){Pe(u,o,M)}else try{pt(u,lV,ii,u.stateNode)}catch(M){Pe(u,o,M)}break;case 18:ii!==null&&(za?(a=ii,Cz(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,u.stateNode),ed(a)):Cz(ii,u.stateNode));break;case 4:w=ii,R=za,ii=u.stateNode.containerInfo,za=!0,Ys(a,o,u),ii=w,za=R;break;case 0:case 11:case 14:case 15:Yh(ma,u,o),ni||BE(u,o,cr),Ys(a,o,u);break;case 1:ni||(Jo(u,o),w=u.stateNode,typeof w.componentWillUnmount=="function"&&mN(u,o,w)),Ys(a,o,u);break;case 21:Ys(a,o,u);break;case 22:ni=(w=ni)||u.memoizedState!==null,Ys(a,o,u),ni=w;break;default:Ys(a,o,u)}(u.mode&se)!==qt&&0<=Lt&&0<=Ut&&(Nn||.05<En)&&Vo(u,Lt,Ut,En,vn),er(f),Xo(p),vn=g,Nn=S}function EN(a,o){if(o.memoizedState===null&&(a=o.alternate,a!==null&&(a=a.memoizedState,a!==null))){a=a.dehydrated;try{pt(o,SV,a)}catch(u){Pe(o,o.return,u)}}}function TN(a,o){if(o.memoizedState===null&&(a=o.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{pt(o,xV,a)}catch(u){Pe(o,o.return,u)}}function Uq(a){switch(a.tag){case 31:case 13:case 19:var o=a.stateNode;return o===null&&(o=a.stateNode=new W8),o;case 22:return a=a.stateNode,o=a._retryCache,o===null&&(o=a._retryCache=new W8),o;default:throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}}function wb(a,o){var u=Uq(a);o.forEach(function(f){if(!u.has(f)){if(u.add(f),ss)if(Md!==null&&_d!==null)X0(_d,Md);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");var p=Xq.bind(null,a,f);f.then(p,p)}})}function Fa(a,o){var u=o.deletions;if(u!==null)for(var f=0;f<u.length;f++){var p=a,g=o,S=u[f],w=tr(),R=g;t:for(;R!==null;){switch(R.tag){case 27:if(ou(R.type)){ii=R.stateNode,za=!1;break t}break;case 5:ii=R.stateNode,za=!1;break t;case 3:case 4:ii=R.stateNode.containerInfo,za=!0;break t}R=R.return}if(ii===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");wN(p,g,S),ii=null,za=!1,(S.mode&se)!==qt&&0<=Lt&&0<=Ut&&.05<Ut-Lt&&qo(S,Lt,Ut,"Unmount"),er(w),p=S,g=p.alternate,g!==null&&(g.return=null),p.return=null}if(o.subtreeFlags&13886)for(o=o.child;o!==null;)CN(o,a),o=o.sibling}function CN(a,o){var u=tr(),f=Io(),p=Yo(),g=Ko(),S=a.alternate,w=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:Fa(o,a),Na(a),w&4&&(Yh(ma|jr,a,a.return),j0(ma|jr,a),BE(a,a.return,cr|jr));break;case 1:if(Fa(o,a),Na(a),w&512&&(ni||S===null||Jo(S,S.return)),w&64&&ol&&(w=a.updateQueue,w!==null&&(S=w.callbacks,S!==null))){var R=w.shared.hiddenCallbacks;w.shared.hiddenCallbacks=R===null?S:R.concat(S)}break;case 26:if(R=To,Fa(o,a),Na(a),w&512&&(ni||S===null||Jo(S,S.return)),w&4){var M=S!==null?S.memoizedState:null;if(w=a.memoizedState,S===null)if(w===null)if(a.stateNode===null){t:{w=a.type,S=a.memoizedProps,R=R.ownerDocument||R;e:switch(w){case"title":M=R.getElementsByTagName("title")[0],(!M||M[am]||M[Pi]||M.namespaceURI===sd||M.hasAttribute("itemprop"))&&(M=R.createElement(w),R.head.insertBefore(M,R.querySelector("head > title"))),Bi(M,w,S),M[Pi]=a,kt(M),w=M;break t;case"link":var Y=Uz("link","href",R).get(w+(S.href||""));if(Y){for(var K=0;K<Y.length;K++)if(M=Y[K],M.getAttribute("href")===(S.href==null||S.href===""?null:S.href)&&M.getAttribute("rel")===(S.rel==null?null:S.rel)&&M.getAttribute("title")===(S.title==null?null:S.title)&&M.getAttribute("crossorigin")===(S.crossOrigin==null?null:S.crossOrigin)){Y.splice(K,1);break e}}M=R.createElement(w),Bi(M,w,S),R.head.appendChild(M);break;case"meta":if(Y=Uz("meta","content",R).get(w+(S.content||""))){for(K=0;K<Y.length;K++)if(M=Y[K],Ze(S.content,"content"),M.getAttribute("content")===(S.content==null?null:""+S.content)&&M.getAttribute("name")===(S.name==null?null:S.name)&&M.getAttribute("property")===(S.property==null?null:S.property)&&M.getAttribute("http-equiv")===(S.httpEquiv==null?null:S.httpEquiv)&&M.getAttribute("charset")===(S.charSet==null?null:S.charSet)){Y.splice(K,1);break e}}M=R.createElement(w),Bi(M,w,S),R.head.appendChild(M);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+w+'". This is a bug in React.')}M[Pi]=a,kt(M),w=M}a.stateNode=w}else Bz(R,a.type,a.stateNode);else a.stateNode=Lz(R,w,a.memoizedProps);else M!==w?(M===null?S.stateNode!==null&&(S=S.stateNode,S.parentNode.removeChild(S)):M.count--,w===null?Bz(R,a.type,a.stateNode):Lz(R,w,a.memoizedProps)):w===null&&a.stateNode!==null&&HE(a,a.memoizedProps,S.memoizedProps)}break;case 27:Fa(o,a),Na(a),w&512&&(ni||S===null||Jo(S,S.return)),S!==null&&w&4&&HE(a,a.memoizedProps,S.memoizedProps);break;case 5:if(Fa(o,a),Na(a),w&512&&(ni||S===null||Jo(S,S.return)),a.flags&32){R=a.stateNode;try{pt(a,Ez,R)}catch(St){Pe(a,a.return,St)}}w&4&&a.stateNode!=null&&(R=a.memoizedProps,HE(a,R,S!==null?S.memoizedProps:R)),w&1024&&(w2=!0,a.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Fa(o,a),Na(a),w&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.");w=a.memoizedProps,S=S!==null?S.memoizedProps:w,R=a.stateNode;try{pt(a,sV,R,S,w)}catch(St){Pe(a,a.return,St)}}break;case 3:if(R=Gs(),P1=null,M=To,To=_b(o.containerInfo),Fa(o,a),To=M,Na(a),w&4&&S!==null&&S.memoizedState.isDehydrated)try{pt(a,bV,o.containerInfo)}catch(St){Pe(a,a.return,St)}w2&&(w2=!1,DN(a)),o.effectDuration+=Zy(R);break;case 4:w=To,To=_b(a.stateNode.containerInfo),Fa(o,a),Na(a),To=w;break;case 12:w=Gs(),Fa(o,a),Na(a),a.stateNode.effectDuration+=M0(w);break;case 31:Fa(o,a),Na(a),w&4&&(w=a.updateQueue,w!==null&&(a.updateQueue=null,wb(a,w)));break;case 13:Fa(o,a),Na(a),a.child.flags&8192&&a.memoizedState!==null!=(S!==null&&S.memoizedState!==null)&&(E1=Di()),w&4&&(w=a.updateQueue,w!==null&&(a.updateQueue=null,wb(a,w)));break;case 22:R=a.memoizedState!==null;var H=S!==null&&S.memoizedState!==null,$=ol,mt=ni;if(ol=$||R,ni=mt||H,Fa(o,a),ni=mt,ol=$,H&&!R&&!$&&!mt&&(a.mode&se)!==qt&&0<=Lt&&0<=Ut&&.05<Ut-Lt&&Py(a,Lt,Ut),Na(a),w&8192)t:for(o=a.stateNode,o._visibility=R?o._visibility&~dm:o._visibility|dm,!R||S===null||H||ol||ni||(lf(a),(a.mode&se)!==qt&&0<=Lt&&0<=Ut&&.05<Ut-Lt&&qo(a,Lt,Ut,"Disconnect")),S=null,o=a;;){if(o.tag===5||o.tag===26){if(S===null){H=S=o;try{M=H.stateNode,R?pt(H,fV,M):pt(H,pV,H.stateNode,H.memoizedProps)}catch(St){Pe(H,H.return,St)}}}else if(o.tag===6){if(S===null){H=o;try{Y=H.stateNode,R?pt(H,hV,Y):pt(H,mV,Y,H.memoizedProps)}catch(St){Pe(H,H.return,St)}}}else if(o.tag===18){if(S===null){H=o;try{K=H.stateNode,R?pt(H,cV,K):pt(H,dV,H.stateNode)}catch(St){Pe(H,H.return,St)}}}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;S===o&&(S=null),o=o.return}S===o&&(S=null),o.sibling.return=o.return,o=o.sibling}w&4&&(w=a.updateQueue,w!==null&&(S=w.retryQueue,S!==null&&(w.retryQueue=null,wb(a,S))));break;case 19:Fa(o,a),Na(a),w&4&&(w=a.updateQueue,w!==null&&(a.updateQueue=null,wb(a,w)));break;case 30:break;case 21:break;default:Fa(o,a),Na(a)}(a.mode&se)!==qt&&0<=Lt&&0<=Ut&&((Nn||.05<En)&&Vo(a,Lt,Ut,En,vn),a.alternate===null&&a.return!==null&&a.return.alternate!==null&&.05<Ut-Lt&&(SN(a.return.alternate,a.return)||qo(a,Lt,Ut,"Mount"))),er(u),Xo(f),vn=p,Nn=g}function Na(a){var o=a.flags;if(o&2){try{pt(a,kq,a)}catch(u){Pe(a,a.return,u)}a.flags&=-3}o&4096&&(a.flags&=-4097)}function DN(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var o=a;DN(o),o.tag===5&&o.flags&1024&&o.stateNode.reset(),a=a.sibling}}function $o(a,o){if(o.subtreeFlags&8772)for(o=o.child;o!==null;)xN(a,o.alternate,o),o=o.sibling}function RN(a){var o=tr(),u=Io(),f=Yo(),p=Ko();switch(a.tag){case 0:case 11:case 14:case 15:BE(a,a.return,cr),lf(a);break;case 1:Jo(a,a.return);var g=a.stateNode;typeof g.componentWillUnmount=="function"&&mN(a,a.return,g),lf(a);break;case 27:pt(a,Q0,a.stateNode);case 26:case 5:Jo(a,a.return),lf(a);break;case 22:a.memoizedState===null&&lf(a);break;case 30:lf(a);break;default:lf(a)}(a.mode&se)!==qt&&0<=Lt&&0<=Ut&&(Nn||.05<En)&&Vo(a,Lt,Ut,En,vn),er(o),Xo(u),vn=f,Nn=p}function lf(a){for(a=a.child;a!==null;)RN(a),a=a.sibling}function ON(a,o,u,f){var p=tr(),g=Io(),S=Yo(),w=Ko(),R=u.flags;switch(u.tag){case 0:case 11:case 15:ts(a,u,f),hN(u,cr);break;case 1:if(ts(a,u,f),o=u.stateNode,typeof o.componentDidMount=="function"&&pt(u,c2,u,o),o=u.updateQueue,o!==null){a=u.stateNode;try{pt(u,bq,o,a)}catch(M){Pe(u,u.return,M)}}f&&R&64&&pN(u),q0(u,u.return);break;case 27:bN(u);case 26:case 5:ts(a,u,f),f&&o===null&&R&4&&vN(u),q0(u,u.return);break;case 12:if(f&&R&4){R=Gs(),ts(a,u,f),f=u.stateNode,f.effectDuration+=M0(R);try{pt(u,gN,u,o,gu,f.effectDuration)}catch(M){Pe(u,u.return,M)}}else ts(a,u,f);break;case 31:ts(a,u,f),f&&R&4&&EN(a,u);break;case 13:ts(a,u,f),f&&R&4&&TN(a,u);break;case 22:u.memoizedState===null&&ts(a,u,f),q0(u,u.return);break;case 30:break;default:ts(a,u,f)}(u.mode&se)!==qt&&0<=Lt&&0<=Ut&&(Nn||.05<En)&&Vo(u,Lt,Ut,En,vn),er(p),Xo(g),vn=S,Nn=w}function ts(a,o,u){for(u=u&&(o.subtreeFlags&8772)!==0,o=o.child;o!==null;)ON(a,o.alternate,o,u),o=o.sibling}function VE(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&&nf(a),u!=null&&O0(u))}function GE(a,o){a=null,o.alternate!==null&&(a=o.alternate.memoizedState.cache),o=o.memoizedState.cache,o!==a&&(nf(o),a!=null&&O0(a))}function bo(a,o,u,f,p){if(o.subtreeFlags&10256||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child))for(o=o.child;o!==null;){var g=o.sibling;MN(a,o,u,f,g!==null?g.actualStartTime:p),o=g}}function MN(a,o,u,f,p){var g=tr(),S=Io(),w=Yo(),R=Ko(),M=hu,Y=o.flags;switch(o.tag){case 0:case 11:case 15:(o.mode&se)!==qt&&0<o.actualStartTime&&(o.flags&1)!==0&&Hy(o,o.actualStartTime,p,gi,u),bo(a,o,u,f,p),Y&2048&&dN(o,ga|jr);break;case 1:(o.mode&se)!==qt&&0<o.actualStartTime&&((o.flags&128)!==0?Dw(o,o.actualStartTime,p,[]):(o.flags&1)!==0&&Hy(o,o.actualStartTime,p,gi,u)),bo(a,o,u,f,p);break;case 3:var K=Gs(),H=gi;gi=o.alternate!==null&&o.alternate.memoizedState.isDehydrated&&(o.flags&256)===0,bo(a,o,u,f,p),gi=H,Y&2048&&(u=null,o.alternate!==null&&(u=o.alternate.memoizedState.cache),f=o.memoizedState.cache,f!==u&&(nf(f),u!=null&&O0(u))),a.passiveEffectDuration+=Zy(K);break;case 12:if(Y&2048){Y=Gs(),bo(a,o,u,f,p),a=o.stateNode,a.passiveEffectDuration+=M0(Y);try{pt(o,zq,o,o.alternate,gu,a.passiveEffectDuration)}catch($){Pe(o,o.return,$)}}else bo(a,o,u,f,p);break;case 31:Y=gi,K=o.alternate!==null?o.alternate.memoizedState:null,H=o.memoizedState,K!==null&&H===null?(H=o.deletions,H!==null&&0<H.length&&H[0].tag===18?(gi=!1,K=K.hydrationErrors,K!==null&&Dw(o,o.actualStartTime,p,K)):gi=!0):gi=!1,bo(a,o,u,f,p),gi=Y;break;case 13:Y=gi,K=o.alternate!==null?o.alternate.memoizedState:null,H=o.memoizedState,K===null||K.dehydrated===null||H!==null&&H.dehydrated!==null?gi=!1:(H=o.deletions,H!==null&&0<H.length&&H[0].tag===18?(gi=!1,K=K.hydrationErrors,K!==null&&Dw(o,o.actualStartTime,p,K)):gi=!0),bo(a,o,u,f,p),gi=Y;break;case 23:break;case 22:H=o.stateNode,K=o.alternate,o.memoizedState!==null?H._visibility&Ws?bo(a,o,u,f,p):V0(a,o,u,f,p):H._visibility&Ws?bo(a,o,u,f,p):(H._visibility|=Ws,Kh(a,o,u,f,(o.subtreeFlags&10256)!==0||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child),p),(o.mode&se)===qt||gi||(a=o.actualStartTime,0<=a&&.05<p-a&&Py(o,a,p),0<=Lt&&0<=Ut&&.05<Ut-Lt&&Py(o,Lt,Ut))),Y&2048&&VE(K,o);break;case 24:bo(a,o,u,f,p),Y&2048&&GE(o.alternate,o);break;default:bo(a,o,u,f,p)}(o.mode&se)!==qt&&((a=!gi&&o.alternate===null&&o.return!==null&&o.return.alternate!==null)&&(u=o.actualStartTime,0<=u&&.05<p-u&&qo(o,u,p,"Mount")),0<=Lt&&0<=Ut&&((Nn||.05<En)&&Vo(o,Lt,Ut,En,vn),a&&.05<Ut-Lt&&qo(o,Lt,Ut,"Mount"))),er(g),Xo(S),vn=w,Nn=R,hu=M}function Kh(a,o,u,f,p,g){for(p=p&&((o.subtreeFlags&10256)!==0||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child)),o=o.child;o!==null;){var S=o.sibling;_N(a,o,u,f,p,S!==null?S.actualStartTime:g),o=S}}function _N(a,o,u,f,p,g){var S=tr(),w=Io(),R=Yo(),M=Ko(),Y=hu;p&&(o.mode&se)!==qt&&0<o.actualStartTime&&(o.flags&1)!==0&&Hy(o,o.actualStartTime,g,gi,u);var K=o.flags;switch(o.tag){case 0:case 11:case 15:Kh(a,o,u,f,p,g),dN(o,ga);break;case 23:break;case 22:var H=o.stateNode;o.memoizedState!==null?H._visibility&Ws?Kh(a,o,u,f,p,g):V0(a,o,u,f,g):(H._visibility|=Ws,Kh(a,o,u,f,p,g)),p&&K&2048&&VE(o.alternate,o);break;case 24:Kh(a,o,u,f,p,g),p&&K&2048&&GE(o.alternate,o);break;default:Kh(a,o,u,f,p,g)}(o.mode&se)!==qt&&0<=Lt&&0<=Ut&&(Nn||.05<En)&&Vo(o,Lt,Ut,En,vn),er(S),Xo(w),vn=R,Nn=M,hu=Y}function V0(a,o,u,f,p){if(o.subtreeFlags&10256||o.actualDuration!==0&&(o.alternate===null||o.alternate.child!==o.child))for(var g=o.child;g!==null;){o=g.sibling;var S=a,w=u,R=f,M=o!==null?o.actualStartTime:p,Y=hu;(g.mode&se)!==qt&&0<g.actualStartTime&&(g.flags&1)!==0&&Hy(g,g.actualStartTime,M,gi,w);var K=g.flags;switch(g.tag){case 22:V0(S,g,w,R,M),K&2048&&VE(g.alternate,g);break;case 24:V0(S,g,w,R,M),K&2048&&GE(g.alternate,g);break;default:V0(S,g,w,R,M)}hu=Y,g=o}}function Zh(a,o,u){if(a.subtreeFlags&Nm)for(a=a.child;a!==null;)FN(a,o,u),a=a.sibling}function FN(a,o,u){switch(a.tag){case 26:Zh(a,o,u),a.flags&Nm&&a.memoizedState!==null&&TV(u,To,a.memoizedState,a.memoizedProps);break;case 5:Zh(a,o,u);break;case 3:case 4:var f=To;To=_b(a.stateNode.containerInfo),Zh(a,o,u),To=f;break;case 22:a.memoizedState===null&&(f=a.alternate,f!==null&&f.memoizedState!==null?(f=Nm,Nm=16777216,Zh(a,o,u),Nm=f):Zh(a,o,u));break;default:Zh(a,o,u)}}function NN(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 G0(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],p=tr();Oi=f,LN(f,a),(f.mode&se)!==qt&&0<=Lt&&0<=Ut&&.05<Ut-Lt&&qo(f,Lt,Ut,"Unmount"),er(p)}NN(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)zN(a),a=a.sibling}function zN(a){var o=tr(),u=Io(),f=Yo(),p=Ko();switch(a.tag){case 0:case 11:case 15:G0(a),a.flags&2048&&PE(a,a.return,ga|jr);break;case 3:var g=Gs();G0(a),a.stateNode.passiveEffectDuration+=Zy(g);break;case 12:g=Gs(),G0(a),a.stateNode.passiveEffectDuration+=M0(g);break;case 22:g=a.stateNode,a.memoizedState!==null&&g._visibility&Ws&&(a.return===null||a.return.tag!==13)?(g._visibility&=~Ws,Eb(a),(a.mode&se)!==qt&&0<=Lt&&0<=Ut&&.05<Ut-Lt&&qo(a,Lt,Ut,"Disconnect")):G0(a);break;default:G0(a)}(a.mode&se)!==qt&&0<=Lt&&0<=Ut&&(Nn||.05<En)&&Vo(a,Lt,Ut,En,vn),er(o),Xo(u),Nn=p,vn=f}function Eb(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],p=tr();Oi=f,LN(f,a),(f.mode&se)!==qt&&0<=Lt&&0<=Ut&&.05<Ut-Lt&&qo(f,Lt,Ut,"Unmount"),er(p)}NN(a)}for(a=a.child;a!==null;)kN(a),a=a.sibling}function kN(a){var o=tr(),u=Io(),f=Yo(),p=Ko();switch(a.tag){case 0:case 11:case 15:PE(a,a.return,ga),Eb(a);break;case 22:var g=a.stateNode;g._visibility&Ws&&(g._visibility&=~Ws,Eb(a));break;default:Eb(a)}(a.mode&se)!==qt&&0<=Lt&&0<=Ut&&(Nn||.05<En)&&Vo(a,Lt,Ut,En,vn),er(o),Xo(u),Nn=p,vn=f}function LN(a,o){for(;Oi!==null;){var u=Oi,f=u,p=o,g=tr(),S=Io(),w=Yo(),R=Ko();switch(f.tag){case 0:case 11:case 15:PE(f,p,ga);break;case 23:case 22:f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(p=f.memoizedState.cachePool.pool,p!=null&&nf(p));break;case 24:O0(f.memoizedState.cache)}if((f.mode&se)!==qt&&0<=Lt&&0<=Ut&&(Nn||.05<En)&&Vo(f,Lt,Ut,En,vn),er(g),Xo(S),Nn=R,vn=w,f=u.child,f!==null)f.return=u,Oi=f;else t:for(u=a;Oi!==null;){if(f=Oi,g=f.sibling,S=f.return,AN(f),f===u){Oi=null;break t}if(g!==null){g.return=S,Oi=g;break t}Oi=S}}}function Bq(){oI.forEach(function(a){return a()})}function UN(){var a=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return a||it.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),a}function ir(a){if((Fe&vi)!==Mi&&ue!==0)return ue&-ue;var o=it.T;return o!==null?(o._updatedFibers||(o._updatedFibers=new Set),o._updatedFibers.add(a),JE()):Q()}function BN(){if(La===0)if((ue&536870912)===0||xe){var a=Vb;Vb<<=1,(Vb&3932160)===0&&(Vb=262144),La=a}else La=536870912;return a=ur.current,a!==null&&(a.flags|=32),La}function Fn(a,o,u){if(zd&&console.error("useInsertionEffect must not schedule updates."),z2&&(R1=!0),(a===en&&(Ie===wf||Ie===Ef)||a.cancelPendingCommit!==null)&&(Qh(a,0),au(a,ue,La,!1)),Xl(a,u),(Fe&vi)!==Mi&&a===en){if(rs)switch(o.tag){case 0:case 11:case 15:a=de&&q(de)||"Unknown",fk.has(a)||(fk.add(a),o=q(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:ck||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),ck=!0)}}else ss&&y0(a,o,u),Kq(o),a===en&&((Fe&vi)===Mi&&(Tu|=u),Tn===Au&&au(a,ue,La,!1)),es(a)}function PN(a,o,u){if((Fe&(vi|fr))!==Mi)throw Error("Should not already be working.");if(ue!==0&&de!==null){var f=de,p=Di();switch(i8){case Lm:case wf:var g=bm;fn&&((f=f._debugTask)?f.run(console.timeStamp.bind(console,"Suspended",g,p,Nr,void 0,"primary-light")):console.timeStamp("Suspended",g,p,Nr,void 0,"primary-light"));break;case Ef:g=bm,fn&&((f=f._debugTask)?f.run(console.timeStamp.bind(console,"Action",g,p,Nr,void 0,"primary-light")):console.timeStamp("Action",g,p,Nr,void 0,"primary-light"));break;default:fn&&(f=p-bm,3>f||console.timeStamp("Blocked",bm,p,Nr,void 0,5>f?"primary-light":10>f?"primary":100>f?"primary-dark":"error"))}}g=(u=!u&&(o&127)===0&&(o&a.expiredLanes)===0||Vc(a,o))?Hq(a,o):XE(a,o,!0);var S=u;do{if(g===sl){Fd&&!u&&au(a,o,0,!1),o=Ie,bm=$n(),i8=o;break}else{if(f=Di(),p=a.current.alternate,S&&!Pq(p)){Ja(o),p=Ri,g=f,!fn||g<=p||(Bn?Bn.run(console.timeStamp.bind(console,"Teared Render",p,g,Se,ye,"error")):console.timeStamp("Teared Render",p,g,Se,ye,"error")),uf(o,f),g=XE(a,o,!1),S=!1;continue}if(g===Af){if(S=o,a.errorRecoveryDisabledLanes&S)var w=0;else w=a.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){Ja(o),Rw(Ri,f,o,Bn),uf(o,f),o=w;t:{f=a,g=S,S=Bm;var R=f.current.memoizedState.isDehydrated;if(R&&(Qh(f,w).flags|=256),w=XE(f,w,!1),w!==Af){if(C2&&!R){f.errorRecoveryDisabledLanes|=g,Tu|=g,g=Au;break t}f=va,va=S,f!==null&&(va===null?va=f:va.push.apply(va,f))}g=w}if(S=!1,g!==Af)continue;f=Di()}}if(g===km){Ja(o),Rw(Ri,f,o,Bn),uf(o,f),Qh(a,0),au(a,o,0,!0);break}t:{switch(u=a,g){case sl:case km:throw Error("Root did not complete. This is a bug in React.");case Au:if((o&4194048)!==o)break;case S1:Ja(o),P3(Ri,f,o,Bn),uf(o,f),p=o,(p&127)!==0?r1=f:(p&4194048)!==0&&(o1=f),au(u,o,La,!wu);break t;case Af:va=null;break;case b1:case Q8:break;default:throw Error("Unknown root exit status.")}if(it.actQueue!==null)YE(u,p,o,va,Pm,w1,La,Tu,Tf,g,null,null,Ri,f);else{if((o&62914560)===o&&(S=E1+tk-Di(),10<S)){if(au(u,o,La,!wu),qc(u,0,!0)!==0)break t;Co=o,u.timeoutHandle=bk(HN.bind(null,u,p,va,Pm,w1,o,La,Tu,Tf,wu,g,"Throttled",Ri,f),S);break t}HN(u,p,va,Pm,w1,o,La,Tu,Tf,wu,g,null,Ri,f)}}}break}while(!0);es(a)}function HN(a,o,u,f,p,g,S,w,R,M,Y,K,H,$){a.timeoutHandle=Mf;var mt=o.subtreeFlags,St=null;if((mt&8192||(mt&16785408)===16785408)&&(St={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Hs},FN(o,g,St),mt=(g&62914560)===g?E1-Di():(g&4194048)===g?$8-Di():0,mt=CV(St,mt),mt!==null)){Co=g,a.cancelPendingCommit=mt(YE.bind(null,a,o,g,u,f,p,S,w,R,Y,St,St.waitingForViewTransition?"Waiting for the previous Animation":0<St.count?0<St.imgCount?"Suspended on CSS and Images":"Suspended on CSS":St.imgCount===1?"Suspended on an Image":0<St.imgCount?"Suspended on Images":null,H,$)),au(a,g,S,!M);return}YE(a,o,g,u,f,p,S,w,R,Y,St,K,H,$)}function Pq(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 p=u[f],g=p.getSnapshot;p=p.value;try{if(!da(g(),p))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 au(a,o,u,f){o&=~D2,o&=~Tu,a.suspendedLanes|=o,a.pingedLanes&=~o,f&&(a.warmLanes|=o),f=a.expirationTimes;for(var p=o;0<p;){var g=31-ca(p),S=1<<g;f[g]=-1,p&=~S}u!==0&&Gc(a,u,o)}function Wh(){return(Fe&(vi|fr))===Mi?(Y0(0,!1),!1):!0}function IE(){if(de!==null){if(Ie===ka)var a=de.return;else a=de,Xy(),nE(a),wd=null,Rm=0,a=de;for(;a!==null;)fN(a.alternate,a),a=a.return;de=null}}function uf(a,o){(a&127)!==0&&(vu=o),(a&4194048)!==0&&(hs=o),(a&62914560)!==0&&(e8=o),(a&2080374784)!==0&&(n8=o)}function Qh(a,o){fn&&(console.timeStamp("Blocking Track",.003,.003,"Blocking",ye,"primary-light"),console.timeStamp("Transition Track",.003,.003,"Transition",ye,"primary-light"),console.timeStamp("Suspense Track",.003,.003,"Suspense",ye,"primary-light"),console.timeStamp("Idle Track",.003,.003,"Idle",ye,"primary-light"));var u=Ri;if(Ri=$n(),ue!==0&&0<u){if(Ja(ue),Tn===b1||Tn===Au)P3(u,Ri,o,Bn);else{var f=Ri,p=Bn;if(fn&&!(f<=u)){var g=(o&738197653)===o?"tertiary-dark":"primary-dark",S=(o&536870912)===o?"Prewarm":(o&201326741)===o?"Interrupted Hydration":"Interrupted Render";p?p.run(console.timeStamp.bind(console,S,u,f,Se,ye,g)):console.timeStamp(S,u,f,Se,ye,g)}}uf(ue,Ri)}if(u=Bn,Bn=null,(o&127)!==0){Bn=gm,p=0<=fs&&fs<vu?vu:fs,f=0<=pf&&pf<vu?vu:pf,g=0<=f?f:0<=p?p:Ri,0<=r1?(Ja(2),H3(r1,g,o,u)):(s1&127)!==0&&(Ja(2),D0(vu,g,nl)),u=p;var w=f,R=vm,M=0<Sd,Y=yu===mm,K=yu===a1;if(p=Ri,f=gm,g=r2,S=o2,fn){if(Se="Blocking",0<u?u>p&&(u=p):u=p,0<w?w>u&&(w=u):w=u,R!==null&&u>w){var H=M?"secondary-light":"warning";f?f.run(console.timeStamp.bind(console,M?"Consecutive":"Event: "+R,w,u,Se,ye,H)):console.timeStamp(M?"Consecutive":"Event: "+R,w,u,Se,ye,H)}p>u&&(w=Y?"error":(o&738197653)===o?"tertiary-light":"primary-light",Y=K?"Promise Resolved":Y?"Cascading Update":5<p-u?"Update Blocked":"Update",K=[],S!=null&&K.push(["Component name",S]),g!=null&&K.push(["Method name",g]),u={start:u,end:p,detail:{devtools:{properties:K,track:Se,trackGroup:ye,color:w}}},f?f.run(performance.measure.bind(performance,Y,u)):performance.measure(Y,u))}fs=-1.1,yu=0,o2=r2=null,r1=-1.1,Sd=pf,pf=-1.1,vu=$n()}if((o&4194048)!==0&&(Bn=ym,p=0<=el&&el<hs?hs:el,u=0<=Pr&&Pr<hs?hs:Pr,f=0<=bu&&bu<hs?hs:bu,g=0<=f?f:0<=u?u:Ri,0<=o1?(Ja(256),H3(o1,g,o,Bn)):(s1&4194048)!==0&&(Ja(256),D0(hs,g,nl)),K=f,w=mf,R=0<Su,M=s2===a1,g=Ri,f=ym,S=$5,Y=t8,fn&&(Se="Transition",0<u?u>g&&(u=g):u=g,0<p?p>u&&(p=u):p=u,0<K?K>p&&(K=p):K=p,p>K&&w!==null&&(H=R?"secondary-light":"warning",f?f.run(console.timeStamp.bind(console,R?"Consecutive":"Event: "+w,K,p,Se,ye,H)):console.timeStamp(R?"Consecutive":"Event: "+w,K,p,Se,ye,H)),u>p&&(f?f.run(console.timeStamp.bind(console,"Action",p,u,Se,ye,"primary-dark")):console.timeStamp("Action",p,u,Se,ye,"primary-dark")),g>u&&(p=M?"Promise Resolved":5<g-u?"Update Blocked":"Update",K=[],Y!=null&&K.push(["Component name",Y]),S!=null&&K.push(["Method name",S]),u={start:u,end:g,detail:{devtools:{properties:K,track:Se,trackGroup:ye,color:"primary-light"}}},f?f.run(performance.measure.bind(performance,p,u)):performance.measure(p,u))),Pr=el=-1.1,s2=0,o1=-1.1,Su=bu,bu=-1.1,hs=$n()),(o&62914560)!==0&&(s1&62914560)!==0&&(Ja(4194304),D0(e8,Ri,nl)),(o&2080374784)!==0&&(s1&2080374784)!==0&&(Ja(268435456),D0(n8,Ri,nl)),u=a.timeoutHandle,u!==Mf&&(a.timeoutHandle=Mf,bI(u)),u=a.cancelPendingCommit,u!==null&&(a.cancelPendingCommit=null,u()),Co=0,IE(),en=a,de=u=js(a.current,null),ue=o,Ie=ka,hr=null,wu=!1,Fd=Vc(a,o),C2=!1,Tn=sl,Tf=La=D2=Tu=Eu=0,va=Bm=null,w1=!1,(o&8)!==0&&(o|=o&32),f=a.entangledLanes,f!==0)for(a=a.entanglements,f&=o;0<f;)p=31-ca(f),g=1<<p,o|=a[p],f&=~g;return ps=o,jy(),a=Y5(),1e3<a-X5&&(it.recentlyCreatedOwnerStacks=0,X5=a),wo.discardPendingWarnings(),u}function jN(a,o){It=null,it.H=Fm,it.getCurrentStack=null,rs=!1,or=null,o===Ad||o===f1?(o=lF(),Ie=Lm):o===f2?(o=lF(),Ie=J8):Ie=o===x2?T2:o!==null&&typeof o=="object"&&typeof o.then=="function"?Um:x1,hr=o;var u=de;u===null?(Tn=km,vb(a,$a(o,a.current))):u.mode&se&&Vw(u)}function qN(){var a=ur.current;return a===null?!0:(ue&4194048)===ue?Hr===null:(ue&62914560)===ue||(ue&536870912)!==0?a===Hr:!1}function VN(){var a=it.H;return it.H=Fm,a===null?Fm:a}function GN(){var a=it.A;return it.A=rI,a}function Tb(a){Bn===null&&(Bn=a._debugTask==null?null:a._debugTask)}function Cb(){Tn=Au,wu||(ue&4194048)!==ue&&ur.current!==null||(Fd=!0),(Eu&134217727)===0&&(Tu&134217727)===0||en===null||au(en,ue,La,!1)}function XE(a,o,u){var f=Fe;Fe|=vi;var p=VN(),g=GN();if(en!==a||ue!==o){if(ss){var S=a.memoizedUpdaters;0<S.size&&(X0(a,ue),S.clear()),Yl(a,o)}Pm=null,Qh(a,o)}o=!1,S=Tn;t:do try{if(Ie!==ka&&de!==null){var w=de,R=hr;switch(Ie){case T2:IE(),S=S1;break t;case Lm:case wf:case Ef:case Um:ur.current===null&&(o=!0);var M=Ie;if(Ie=ka,hr=null,Jh(a,w,R,M),u&&Fd){S=sl;break t}break;default:M=Ie,Ie=ka,hr=null,Jh(a,w,R,M)}}IN(),S=Tn;break}catch(Y){jN(a,Y)}while(!0);return o&&a.shellSuspendCounter++,Xy(),Fe=f,it.H=p,it.A=g,de===null&&(en=null,ue=0,jy()),S}function IN(){for(;de!==null;)XN(de)}function Hq(a,o){var u=Fe;Fe|=vi;var f=VN(),p=GN();if(en!==a||ue!==o){if(ss){var g=a.memoizedUpdaters;0<g.size&&(X0(a,ue),g.clear()),Yl(a,o)}Pm=null,T1=Di()+ek,Qh(a,o)}else Fd=Vc(a,o);t:do try{if(Ie!==ka&&de!==null)e:switch(o=de,g=hr,Ie){case x1:Ie=ka,hr=null,Jh(a,o,g,x1);break;case wf:case Ef:if(oF(g)){Ie=ka,hr=null,YN(o);break}o=function(){Ie!==wf&&Ie!==Ef||en!==a||(Ie=A1),es(a)},g.then(o,o);break t;case Lm:Ie=A1;break t;case J8:Ie=E2;break t;case A1:oF(g)?(Ie=ka,hr=null,YN(o)):(Ie=ka,hr=null,Jh(a,o,g,A1));break;case E2:var S=null;switch(de.tag){case 26:S=de.memoizedState;case 5:case 27:var w=de;if(S?Pz(S):w.stateNode.complete){Ie=ka,hr=null;var R=w.sibling;if(R!==null)de=R;else{var M=w.return;M!==null?(de=M,Db(M)):de=null}break e}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Ie=ka,hr=null,Jh(a,o,g,E2);break;case Um:Ie=ka,hr=null,Jh(a,o,g,Um);break;case T2:IE(),Tn=S1;break t;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}it.actQueue!==null?IN():jq();break}catch(Y){jN(a,Y)}while(!0);return Xy(),it.H=f,it.A=p,Fe=u,de!==null?sl:(en=null,ue=0,jy(),Tn)}function jq(){for(;de!==null&&!HV();)XN(de)}function XN(a){var o=a.alternate;(a.mode&se)!==qt?(qw(a),o=pt(a,LE,o,a,ps),Vw(a)):o=pt(a,LE,o,a,ps),a.memoizedProps=a.pendingProps,o===null?Db(a):de=o}function YN(a){var o=pt(a,qq,a);a.memoizedProps=a.pendingProps,o===null?Db(a):de=o}function qq(a){var o=a.alternate,u=(a.mode&se)!==qt;switch(u&&qw(a),a.tag){case 15:case 0:o=aN(o,a,a.pendingProps,a.type,void 0,ue);break;case 11:o=aN(o,a,a.pendingProps,a.type.render,a.ref,ue);break;case 5:nE(a);default:fN(o,a),a=de=X3(a,ps),o=LE(o,a,ps)}return u&&Vw(a),o}function Jh(a,o,u,f){Xy(),nE(o),wd=null,Rm=0;var p=o.return;try{if(Cq(a,p,o,u,ue)){Tn=km,vb(a,$a(u,a.current)),de=null;return}}catch(g){if(p!==null)throw de=p,g;Tn=km,vb(a,$a(u,a.current)),de=null;return}o.flags&32768?(xe||f===x1?a=!0:Fd||(ue&536870912)!==0?a=!1:(wu=a=!0,(f===wf||f===Ef||f===Lm||f===Um)&&(f=ur.current,f!==null&&f.tag===13&&(f.flags|=16384))),KN(o,a)):Db(o)}function Db(a){var o=a;do{if((o.flags&32768)!==0){KN(o,wu);return}var u=o.alternate;if(a=o.return,qw(o),u=pt(o,Oq,u,o,ps),(o.mode&se)!==qt&&eF(o),u!==null){de=u;return}if(o=o.sibling,o!==null){de=o;return}de=o=a}while(o!==null);Tn===sl&&(Tn=Q8)}function KN(a,o){do{var u=Mq(a.alternate,a);if(u!==null){u.flags&=32767,de=u;return}if((a.mode&se)!==qt){eF(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)){de=a;return}de=a=u}while(a!==null);Tn=S1,de=null}function YE(a,o,u,f,p,g,S,w,R,M,Y,K,H,$){a.cancelPendingCommit=null;do I0();while(ai!==Du);if(wo.flushLegacyContextWarning(),wo.flushPendingUnsafeLifecycleWarnings(),(Fe&(vi|fr))!==Mi)throw Error("Should not already be working.");if(Ja(u),M===Af?Rw(H,$,u,Bn):f!==null?dq(H,$,u,f,o!==null&&o.alternate!==null&&o.alternate.memoizedState.isDehydrated&&(o.flags&256)!==0,Bn):hq(H,$,u,Bn),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(g=o.lanes|o.childLanes,g|=t2,My(a,u,g,S,w,R),a===en&&(de=en=null,ue=0),Nd=o,Ru=a,Co=u,M2=g,F2=p,sk=f,_2=$,lk=K,Do=C1,uk=null,o.actualDuration!==0||(o.subtreeFlags&10256)!==0||(o.flags&10256)!==0?(a.callbackNode=null,a.callbackPriority=0,Yq(ad,function(){return Im=window.event,Do===C1&&(Do=O2),$N(),null})):(a.callbackNode=null,a.callbackPriority=0),tl=null,gu=$n(),K!==null&&pq($,gu,K,Bn),f=(o.flags&13878)!==0,(o.subtreeFlags&13878)!==0||f){f=it.T,it.T=null,p=He.p,He.p=sr,S=Fe,Fe|=fr;try{Lq(a,o,u)}finally{Fe=S,He.p=p,it.T=f}}ai=ik,ZN(),WN(),QN()}}function ZN(){if(ai===ik){ai=Du;var a=Ru,o=Nd,u=Co,f=(o.flags&13878)!==0;if((o.subtreeFlags&13878)!==0||f){f=it.T,it.T=null;var p=He.p;He.p=sr;var g=Fe;Fe|=fr;try{Md=u,_d=a,Wy(),CN(o,a),_d=Md=null,u=V2;var S=L3(a.containerInfo),w=u.focusedElem,R=u.selectionRange;if(S!==w&&w&&w.ownerDocument&&k3(w.ownerDocument.documentElement,w)){if(R!==null&&Tw(w)){var M=R.start,Y=R.end;if(Y===void 0&&(Y=M),"selectionStart"in w)w.selectionStart=M,w.selectionEnd=Math.min(Y,w.value.length);else{var K=w.ownerDocument||document,H=K&&K.defaultView||window;if(H.getSelection){var $=H.getSelection(),mt=w.textContent.length,St=Math.min(R.start,mt),ln=R.end===void 0?St:Math.min(R.end,mt);!$.extend&&St>ln&&(S=ln,ln=St,St=S);var Te=z3(w,St),P=z3(w,ln);if(Te&&P&&($.rangeCount!==1||$.anchorNode!==Te.node||$.anchorOffset!==Te.offset||$.focusNode!==P.node||$.focusOffset!==P.offset)){var j=K.createRange();j.setStart(Te.node,Te.offset),$.removeAllRanges(),St>ln?($.addRange(j),$.extend(P.node,P.offset)):(j.setEnd(P.node,P.offset),$.addRange(j))}}}}for(K=[],$=w;$=$.parentNode;)$.nodeType===1&&K.push({element:$,left:$.scrollLeft,top:$.scrollTop});for(typeof w.focus=="function"&&w.focus(),w=0;w<K.length;w++){var I=K[w];I.element.scrollLeft=I.left,I.element.scrollTop=I.top}}q1=!!q2,V2=q2=null}finally{Fe=g,He.p=p,it.T=f}}a.current=o,ai=ak}}function WN(){if(ai===ak){ai=Du;var a=uk;if(a!==null){gu=$n();var o=$s,u=gu;!fn||u<=o||(nl?nl.run(console.timeStamp.bind(console,a,o,u,Se,ye,"secondary-light")):console.timeStamp(a,o,u,Se,ye,"secondary-light"))}a=Ru,o=Nd,u=Co;var f=(o.flags&8772)!==0;if((o.subtreeFlags&8772)!==0||f){f=it.T,it.T=null;var p=He.p;He.p=sr;var g=Fe;Fe|=fr;try{Md=u,_d=a,Wy(),xN(a,o.alternate,o),_d=Md=null}finally{Fe=g,He.p=p,it.T=f}}a=_2,o=lk,$s=$n(),a=o===null?a:gu,o=$s,u=Do===R2,f=Bn,tl!==null?j3(a,o,tl,!1,f):!fn||o<=a||(f?f.run(console.timeStamp.bind(console,u?"Commit Interrupted View Transition":"Commit",a,o,Se,ye,u?"error":"secondary-dark")):console.timeStamp(u?"Commit Interrupted View Transition":"Commit",a,o,Se,ye,u?"error":"secondary-dark")),ai=rk}}function QN(){if(ai===ok||ai===rk){if(ai===ok){var a=$s;$s=$n();var o=$s,u=Do===R2;!fn||o<=a||(nl?nl.run(console.timeStamp.bind(console,u?"Interrupted View Transition":"Starting Animation",a,o,Se,ye,u?"error":"secondary-light")):console.timeStamp(u?"Interrupted View Transition":"Starting Animation",a,o,Se,ye,u?" error":"secondary-light")),Do!==R2&&(Do=nk)}ai=Du,jV(),a=Ru;var f=Nd;o=Co,u=sk;var p=f.actualDuration!==0||(f.subtreeFlags&10256)!==0||(f.flags&10256)!==0;p?ai=D1:(ai=Du,Nd=Ru=null,JN(a,a.pendingLanes),Cf=0,jm=null);var g=a.pendingLanes;if(g===0&&(Cu=null),p||iz(a),g=_(o),f=f.stateNode,Ji&&typeof Ji.onCommitFiberRoot=="function")try{var S=(f.current.flags&128)===128;switch(g){case sr:var w=FT;break;case xo:w=NT;break;case ls:w=ad;break;case Ib:w=zT;break;default:w=ad}Ji.onCommitFiberRoot(rd,f,w,S)}catch(K){os||(os=!0,console.error("React instrumentation encountered an error: %o",K))}if(ss&&a.memoizedUpdaters.clear(),Bq(),u!==null){S=it.T,w=He.p,He.p=sr,it.T=null;try{var R=a.onRecoverableError;for(f=0;f<u.length;f++){var M=u[f],Y=Vq(M.stack);pt(M.source,R,M.value,Y)}}finally{it.T=S,He.p=w}}(Co&3)!==0&&I0(),es(a),g=a.pendingLanes,(o&261930)!==0&&(g&42)!==0?(u1=!0,a===N2?Hm++:(Hm=0,N2=a)):Hm=0,p||uf(o,$s),Y0(0,!1)}}function Vq(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 JN(a,o){(a.pooledCacheLanes&=o)===0&&(o=a.pooledCache,o!=null&&(a.pooledCache=null,O0(o)))}function I0(){return ZN(),WN(),QN(),$N()}function $N(){if(ai!==D1)return!1;var a=Ru,o=M2;M2=0;var u=_(Co),f=ls===0||ls>u?ls:u;u=it.T;var p=He.p;try{He.p=f,it.T=null;var g=F2;F2=null,f=Ru;var S=Co;if(ai=Du,Nd=Ru=null,Co=0,(Fe&(vi|fr))!==Mi)throw Error("Cannot flush passive effects while already rendering.");Ja(S),z2=!0,R1=!1;var w=0;if(tl=null,w=Di(),Do===nk)D0($s,w,nl);else{var R=$s,M=w,Y=Do===O2;!fn||M<=R||(Bn?Bn.run(console.timeStamp.bind(console,Y?"Waiting for Paint":"Waiting",R,M,Se,ye,"secondary-light")):console.timeStamp(Y?"Waiting for Paint":"Waiting",R,M,Se,ye,"secondary-light"))}R=Fe,Fe|=fr;var K=f.current;Wy(),zN(K);var H=f.current;K=_2,Wy(),MN(f,H,S,g,K),iz(f),Fe=R;var $=Di();if(H=w,K=Bn,tl!==null?j3(H,$,tl,!0,K):!fn||$<=H||(K?K.run(console.timeStamp.bind(console,"Remaining Effects",H,$,Se,ye,"secondary-dark")):console.timeStamp("Remaining Effects",H,$,Se,ye,"secondary-dark")),uf(S,$),Y0(0,!1),R1?f===jm?Cf++:(Cf=0,jm=f):Cf=0,R1=z2=!1,Ji&&typeof Ji.onPostCommitFiberRoot=="function")try{Ji.onPostCommitFiberRoot(rd,f)}catch(St){os||(os=!0,console.error("React instrumentation encountered an error: %o",St))}var mt=f.current.stateNode;return mt.effectDuration=0,mt.passiveEffectDuration=0,!0}finally{He.p=p,it.T=u,JN(a,o)}}function tz(a,o,u){o=$a(u,o),nF(o),o=TE(a.stateNode,o,2),a=tu(a,o,2),a!==null&&(Xl(a,2),es(a))}function Pe(a,o,u){if(zd=!1,a.tag===3)tz(a,a,u);else{for(;o!==null;){if(o.tag===3){tz(o,a,u);return}if(o.tag===1){var f=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(Cu===null||!Cu.has(f))){a=$a(u,a),nF(a),u=CE(2),f=tu(o,u,2),f!==null&&(DE(u,f,o,a),Xl(f,2),es(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 KE(a,o,u){var f=a.pingCache;if(f===null){f=a.pingCache=new sI;var p=new Set;f.set(o,p)}else p=f.get(o),p===void 0&&(p=new Set,f.set(o,p));p.has(u)||(C2=!0,p.add(u),f=Gq.bind(null,a,o,u),ss&&X0(a,u),o.then(f,f))}function Gq(a,o,u){var f=a.pingCache;f!==null&&f.delete(o),a.pingedLanes|=a.suspendedLanes&u,a.warmLanes&=~u,(u&127)!==0?0>fs&&(vu=fs=$n(),gm=i1("Promise Resolved"),yu=a1):(u&4194048)!==0&&0>Pr&&(hs=Pr=$n(),ym=i1("Promise Resolved"),s2=a1),UN()&&it.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`),en===a&&(ue&u)===u&&(Tn===Au||Tn===b1&&(ue&62914560)===ue&&Di()-E1<tk?(Fe&vi)===Mi&&Qh(a,0):D2|=u,Tf===ue&&(Tf=0)),es(a)}function ez(a,o){o===0&&(o=Lh()),a=Qi(a,o),a!==null&&(Xl(a,o),es(a))}function Iq(a){var o=a.memoizedState,u=0;o!==null&&(u=o.retryLane),ez(a,u)}function Xq(a,o){var u=0;switch(a.tag){case 31:case 13:var f=a.stateNode,p=a.memoizedState;p!==null&&(u=p.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),ez(a,u)}function ZE(a,o,u){if((o.subtreeFlags&67117056)!==0)for(o=o.child;o!==null;){var f=a,p=o,g=p.type===Pb;g=u||g,p.tag!==22?p.flags&67108864?g&&pt(p,nz,f,p):ZE(f,p,g):p.memoizedState===null&&(g&&p.flags&8192?pt(p,nz,f,p):p.subtreeFlags&67108864&&pt(p,ZE,f,p,g)),o=o.sibling}}function nz(a,o){on(!0);try{RN(o),kN(o),ON(a,o.alternate,o,!1),_N(a,o,0,null,!1,0)}finally{on(!1)}}function iz(a){var o=!0;a.current.mode&($i|Ao)||(o=!1),ZE(a,a.current,o)}function az(a){if((Fe&vi)===Mi){var o=a.tag;if(o===3||o===1||o===0||o===11||o===14||o===15){if(o=q(a)||"ReactComponent",O1!==null){if(O1.has(o))return;O1.add(o)}else O1=new Set([o]);pt(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 X0(a,o){ss&&a.memoizedUpdaters.forEach(function(u){y0(a,u,o)})}function Yq(a,o){var u=it.actQueue;return u!==null?(u.push(o),cI):_T(a,o)}function Kq(a){UN()&&it.actQueue===null&&pt(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`,q(a))})}function es(a){a!==kd&&a.next===null&&(kd===null?M1=kd=a:kd=kd.next=a),_1=!0,it.actQueue!==null?L2||(L2=!0,lz()):k2||(k2=!0,lz())}function Y0(a,o){if(!U2&&_1){U2=!0;do for(var u=!1,f=M1;f!==null;){if(!o)if(a!==0){var p=f.pendingLanes;if(p===0)var g=0;else{var S=f.suspendedLanes,w=f.pingedLanes;g=(1<<31-ca(42|a)+1)-1,g&=p&~(S&~w),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(u=!0,sz(f,g))}else g=ue,g=qc(f,f===en?g:0,f.cancelPendingCommit!==null||f.timeoutHandle!==Mf),(g&3)===0||Vc(f,g)||(u=!0,sz(f,g));f=f.next}while(u);U2=!1}}function Zq(){Im=window.event,WE()}function WE(){_1=L2=k2=!1;var a=0;Ou!==0&&nV()&&(a=Ou);for(var o=Di(),u=null,f=M1;f!==null;){var p=f.next,g=rz(f,o);g===0?(f.next=null,u===null?M1=p:u.next=p,p===null&&(kd=u)):(u=f,(a!==0||(g&3)!==0)&&(_1=!0)),f=p}ai!==Du&&ai!==D1||Y0(a,!1),Ou!==0&&(Ou=0)}function rz(a,o){for(var u=a.suspendedLanes,f=a.pingedLanes,p=a.expirationTimes,g=a.pendingLanes&-62914561;0<g;){var S=31-ca(g),w=1<<S,R=p[S];R===-1?((w&u)===0||(w&f)!==0)&&(p[S]=pw(w,o)):R<=o&&(a.expiredLanes|=w),g&=~w}if(o=en,u=ue,u=qc(a,a===o?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==Mf),f=a.callbackNode,u===0||a===o&&(Ie===wf||Ie===Ef)||a.cancelPendingCommit!==null)return f!==null&&QE(f),a.callbackNode=null,a.callbackPriority=0;if((u&3)===0||Vc(a,u)){if(o=u&-u,o!==a.callbackPriority||it.actQueue!==null&&f!==B2)QE(f);else return o;switch(_(u)){case sr:case xo:u=NT;break;case ls:u=ad;break;case Ib:u=zT;break;default:u=ad}return f=oz.bind(null,a),it.actQueue!==null?(it.actQueue.push(f),u=B2):u=_T(u,f),a.callbackPriority=o,a.callbackNode=u,o}return f!==null&&QE(f),a.callbackPriority=2,a.callbackNode=null,2}function oz(a,o){if(u1=l1=!1,Im=window.event,ai!==Du&&ai!==D1)return a.callbackNode=null,a.callbackPriority=0,null;var u=a.callbackNode;if(Do===C1&&(Do=O2),I0()&&a.callbackNode!==u)return null;var f=ue;return f=qc(a,a===en?f:0,a.cancelPendingCommit!==null||a.timeoutHandle!==Mf),f===0?null:(PN(a,f,o),rz(a,Di()),a.callbackNode!=null&&a.callbackNode===u?oz.bind(null,a):null)}function sz(a,o){if(I0())return null;l1=u1,u1=!1,PN(a,o,!0)}function QE(a){a!==B2&&a!==null&&PV(a)}function lz(){it.actQueue!==null&&it.actQueue.push(function(){return WE(),null}),SI(function(){(Fe&(vi|fr))!==Mi?_T(FT,Zq):WE()})}function JE(){if(Ou===0){var a=gf;a===0&&(a=qb,qb<<=1,(qb&261888)===0&&(qb=256)),Ou=a}return Ou}function uz(a){return a==null||typeof a=="symbol"||typeof a=="boolean"?null:typeof a=="function"?a:(Ze(a,"action"),E0(""+a))}function cz(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 Wq(a,o,u,f,p){if(o==="submit"&&u&&u.stateNode===p){var g=uz((p[fa]||null).action),S=f.submitter;S&&(o=(o=S[fa]||null)?uz(o.formAction):S.getAttribute("formAction"),o!==null&&(g=o,S=null));var w=new Wb("action","action",null,f,p);a.push({event:w,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(Ou!==0){var R=S?cz(p,S):new FormData(p),M={pending:!0,data:R,method:p.method,action:g};Object.freeze(M),yE(u,M,null,R)}}else typeof g=="function"&&(w.preventDefault(),R=S?cz(p,S):new FormData(p),M={pending:!0,data:R,method:p.method,action:g},Object.freeze(M),yE(u,M,g,R))},currentTarget:p}]})}}function Rb(a,o,u){a.currentTarget=u;try{o(a)}catch(f){WT(f)}a.currentTarget=null}function fz(a,o){o=(o&4)!==0;for(var u=0;u<a.length;u++){var f=a[u];t:{var p=void 0,g=f.event;if(f=f.listeners,o)for(var S=f.length-1;0<=S;S--){var w=f[S],R=w.instance,M=w.currentTarget;if(w=w.listener,R!==p&&g.isPropagationStopped())break t;R!==null?pt(R,Rb,g,w,M):Rb(g,w,M),p=R}else for(S=0;S<f.length;S++){if(w=f[S],R=w.instance,M=w.currentTarget,w=w.listener,R!==p&&g.isPropagationStopped())break t;R!==null?pt(R,Rb,g,w,M):Rb(g,w,M),p=R}}}}function Ee(a,o){P2.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[kT];u===void 0&&(u=o[kT]=new Set);var f=a+"__bubble";u.has(f)||(hz(o,a,2,!1),u.add(f))}function $E(a,o,u){P2.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),hz(u,a,f,o)}function tT(a){if(!a[F1]){a[F1]=!0,l5.forEach(function(u){u!=="selectionchange"&&(P2.has(u)||$E(u,!1,a),$E(u,!0,a))});var o=a.nodeType===9?a:a.ownerDocument;o===null||o[F1]||(o[F1]=!0,$E("selectionchange",!1,o))}}function hz(a,o,u,f){switch(Iz(o)){case sr:var p=MV;break;case xo:p=_V;break;default:p=gT}u=p.bind(null,o,u,a),p=void 0,!HT||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(p=!0),f?p!==void 0?a.addEventListener(o,u,{capture:!0,passive:p}):a.addEventListener(o,u,!0):p!==void 0?a.addEventListener(o,u,{passive:p}):a.addEventListener(o,u,!1)}function eT(a,o,u,f,p){var g=f;if((o&1)===0&&(o&2)===0&&f!==null)t:for(;;){if(f===null)return;var S=f.tag;if(S===3||S===4){var w=f.stateNode.containerInfo;if(w===p)break;if(S===4)for(S=f.return;S!==null;){var R=S.tag;if((R===3||R===4)&&S.stateNode.containerInfo===p)return;S=S.return}for(;w!==null;){if(S=Ct(w),S===null)return;if(R=S.tag,R===5||R===6||R===26||R===27){f=g=S;continue t}w=w.parentNode}}f=f.return}w3(function(){var M=g,Y=ww(u),K=[];t:{var H=I5.get(a);if(H!==void 0){var $=Wb,mt=a;switch(a){case"keypress":if(Ly(u)===0)break t;case"keydown":case"keyup":$=CG;break;case"focusin":mt="focus",$=GT;break;case"focusout":mt="blur",$=GT;break;case"beforeblur":case"afterblur":$=GT;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":$=_5;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":$=pG;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":$=OG;break;case j5:case q5:case V5:$=vG;break;case G5:$=_G;break;case"scroll":case"scrollend":$=hG;break;case"wheel":$=NG;break;case"copy":case"cut":case"paste":$=bG;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":$=N5;break;case"toggle":case"beforetoggle":$=kG}var St=(o&4)!==0,ln=!St&&(a==="scroll"||a==="scrollend"),Te=St?H!==null?H+"Capture":null:H;St=[];for(var P=M,j;P!==null;){var I=P;if(j=I.stateNode,I=I.tag,I!==5&&I!==26&&I!==27||j===null||Te===null||(I=T0(P,Te),I!=null&&St.push(K0(P,I,j))),ln)break;P=P.return}0<St.length&&(H=new $(H,mt,null,u,Y),K.push({event:H,listeners:St}))}}if((o&7)===0){t:{if(H=a==="mouseover"||a==="pointerover",$=a==="mouseout"||a==="pointerout",H&&u!==rm&&(mt=u.relatedTarget||u.fromElement)&&(Ct(mt)||mt[cu]))break t;if(($||H)&&(H=Y.window===Y?Y:(H=Y.ownerDocument)?H.defaultView||H.parentWindow:window,$?(mt=u.relatedTarget||u.toElement,$=M,mt=mt?Ct(mt):null,mt!==null&&(ln=A(mt),St=mt.tag,mt!==ln||St!==5&&St!==27&&St!==6)&&(mt=null)):($=null,mt=M),$!==mt)){if(St=_5,I="onMouseLeave",Te="onMouseEnter",P="mouse",(a==="pointerout"||a==="pointerover")&&(St=N5,I="onPointerLeave",Te="onPointerEnter",P="pointer"),ln=$==null?H:Wt($),j=mt==null?H:Wt(mt),H=new St(I,P+"leave",$,u,Y),H.target=ln,H.relatedTarget=j,I=null,Ct(Y)===M&&(St=new St(Te,P+"enter",mt,u,Y),St.target=j,St.relatedTarget=ln,I=St),ln=I,$&&mt)e:{for(St=Qq,Te=$,P=mt,j=0,I=Te;I;I=St(I))j++;I=0;for(var rt=P;rt;rt=St(rt))I++;for(;0<j-I;)Te=St(Te),j--;for(;0<I-j;)P=St(P),I--;for(;j--;){if(Te===P||P!==null&&Te===P.alternate){St=Te;break e}Te=St(Te),P=St(P)}St=null}else St=null;$!==null&&dz(K,H,$,St,!1),mt!==null&&ln!==null&&dz(K,ln,mt,St,!0)}}t:{if(H=M?Wt(M):window,$=H.nodeName&&H.nodeName.toLowerCase(),$==="select"||$==="input"&&H.type==="file")var yt=M3;else if(R3(H))if(P5)yt=uq;else{yt=sq;var Xt=oq}else $=H.nodeName,!$||$.toLowerCase()!=="input"||H.type!=="checkbox"&&H.type!=="radio"?M&&w0(M.elementType)&&(yt=M3):yt=lq;if(yt&&(yt=yt(a,M))){O3(K,yt,u,Y);break t}Xt&&Xt(a,H,M),a==="focusout"&&M&&H.type==="number"&&M.memoizedProps.value!=null&&vw(H,"number",H.value)}switch(Xt=M?Wt(M):window,a){case"focusin":(R3(Xt)||Xt.contentEditable==="true")&&(hd=Xt,XT=M,hm=null);break;case"focusout":hm=XT=hd=null;break;case"mousedown":YT=!0;break;case"contextmenu":case"mouseup":case"dragend":YT=!1,U3(K,u,Y);break;case"selectionchange":if(PG)break;case"keydown":case"keyup":U3(K,u,Y)}var zt;if(IT)t:{switch(a){case"compositionstart":var Dt="onCompositionStart";break t;case"compositionend":Dt="onCompositionEnd";break t;case"compositionupdate":Dt="onCompositionUpdate";break t}Dt=void 0}else fd?C3(a,u)&&(Dt="onCompositionEnd"):a==="keydown"&&u.keyCode===z5&&(Dt="onCompositionStart");Dt&&(k5&&u.locale!=="ko"&&(fd||Dt!=="onCompositionStart"?Dt==="onCompositionEnd"&&fd&&(zt=E3()):(fu=Y,jT="value"in fu?fu.value:fu.textContent,fd=!0)),Xt=Ob(M,Dt),0<Xt.length&&(Dt=new F5(Dt,a,null,u,Y),K.push({event:Dt,listeners:Xt}),zt?Dt.data=zt:(zt=D3(u),zt!==null&&(Dt.data=zt)))),(zt=UG?nq(a,u):iq(a,u))&&(Dt=Ob(M,"onBeforeInput"),0<Dt.length&&(Xt=new xG("onBeforeInput","beforeinput",null,u,Y),K.push({event:Xt,listeners:Dt}),Xt.data=zt)),Wq(K,a,M,u,Y)}fz(K,o)})}function K0(a,o,u){return{instance:a,listener:o,currentTarget:u}}function Ob(a,o){for(var u=o+"Capture",f=[];a!==null;){var p=a,g=p.stateNode;if(p=p.tag,p!==5&&p!==26&&p!==27||g===null||(p=T0(a,u),p!=null&&f.unshift(K0(a,p,g)),p=T0(a,o),p!=null&&f.push(K0(a,p,g))),a.tag===3)return f;a=a.return}return[]}function Qq(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function dz(a,o,u,f,p){for(var g=o._reactName,S=[];u!==null&&u!==f;){var w=u,R=w.alternate,M=w.stateNode;if(w=w.tag,R!==null&&R===f)break;w!==5&&w!==26&&w!==27||M===null||(R=M,p?(M=T0(u,g),M!=null&&S.unshift(K0(u,M,R))):p||(M=T0(u,g),M!=null&&S.push(K0(u,M,R)))),u=u.return}S.length!==0&&a.push({event:o,listeners:S})}function nT(a,o){J9(a,o),a!=="input"&&a!=="textarea"&&a!=="select"||o==null||o.value!==null||O5||(O5=!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:cf,possibleRegistrationNames:LT};w0(a)||typeof o.is=="string"||tq(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 Ci(a,o,u,f){o!==u&&(u=ru(u),ru(o)!==u&&(f[a]=o))}function Jq(a,o,u){o.forEach(function(f){u[gz(f)]=f==="style"?aT(a):a.getAttribute(f)})}function ns(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 pz(a,o){return a=a.namespaceURI===Yb||a.namespaceURI===sd?a.ownerDocument.createElementNS(a.namespaceURI,a.tagName):a.ownerDocument.createElement(a.tagName),a.innerHTML=o,a.innerHTML}function ru(a){return Il(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.",go(a)),Ti(a)),(typeof a=="string"?a:""+a).replace(fI,`
184
- `).replace(hI,"")}function mz(a,o){return o=ru(o),ru(a)===o}function $e(a,o,u,f,p,g){switch(u){case"children":typeof f=="string"?(ky(f,o,!1),o==="body"||o==="textarea"&&f===""||A0(a,f)):(typeof f=="number"||typeof f=="bigint")&&(ky(""+f,o,!1),o!=="body"&&A0(a,""+f));break;case"className":Fy(a,"class",f);break;case"tabIndex":Fy(a,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":Fy(a,u,f);break;case"style":S3(a,f,g);break;case"data":if(o!=="object"){Fy(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}Ze(f,u),f=E0(""+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"&&(p.encType==null&&p.method==null||k1||(k1=!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.")),p.target==null||z1||(z1=!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"||p.type==="submit"||p.type==="image"||N1?o!=="button"||p.type==null||p.type==="submit"||N1?typeof f=="function"&&(p.name==null||pk||(pk=!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.')),p.formEncType==null&&p.formMethod==null||k1||(k1=!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.")),p.formTarget==null||z1||(z1=!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."))):(N1=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(N1=!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 g=="function"&&(u==="formAction"?(o!=="input"&&$e(a,o,"name",p.name,p,null),$e(a,o,"formEncType",p.formEncType,p,null),$e(a,o,"formMethod",p.formMethod,p,null),$e(a,o,"formTarget",p.formTarget,p,null)):($e(a,o,"encType",p.encType,p,null),$e(a,o,"method",p.method,p,null),$e(a,o,"target",p.target,p,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){a.removeAttribute(u);break}Ze(f,u),f=E0(""+f),a.setAttribute(u,f);break;case"onClick":f!=null&&(typeof f!="function"&&ns(u,f),a.onclick=Hs);break;case"onScroll":f!=null&&(typeof f!="function"&&ns(u,f),Ee("scroll",a));break;case"onScrollEnd":f!=null&&(typeof f!="function"&&ns(u,f),Ee("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(p.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}Ze(f,u),u=E0(""+f),a.setAttributeNS(Df,"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"?(Ze(f,u),a.setAttribute(u,""+f)):a.removeAttribute(u);break;case"inert":f!==""||L1[u]||(L1[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"?(Ze(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?(Ze(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):(Ze(f,u),a.setAttribute(u,f));break;case"popover":Ee("beforetoggle",a),Ee("toggle",a),_y(a,"popover",f);break;case"xlinkActuate":Ps(a,Df,"xlink:actuate",f);break;case"xlinkArcrole":Ps(a,Df,"xlink:arcrole",f);break;case"xlinkRole":Ps(a,Df,"xlink:role",f);break;case"xlinkShow":Ps(a,Df,"xlink:show",f);break;case"xlinkTitle":Ps(a,Df,"xlink:title",f);break;case"xlinkType":Ps(a,Df,"xlink:type",f);break;case"xmlBase":Ps(a,H2,"xml:base",f);break;case"xmlLang":Ps(a,H2,"xml:lang",f);break;case"xmlSpace":Ps(a,H2,"xml:space",f);break;case"is":g!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),_y(a,"is",f);break;case"innerText":case"textContent":break;case"popoverTarget":mk||f==null||typeof f!="object"||(mk=!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=x3(u),_y(a,u,f)):cf.hasOwnProperty(u)&&f!=null&&typeof f!="function"&&ns(u,f)}}function iT(a,o,u,f,p,g){switch(u){case"style":S3(a,f,g);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(p.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");a.innerHTML=u}}break;case"children":typeof f=="string"?A0(a,f):(typeof f=="number"||typeof f=="bigint")&&A0(a,""+f);break;case"onScroll":f!=null&&(typeof f!="function"&&ns(u,f),Ee("scroll",a));break;case"onScrollEnd":f!=null&&(typeof f!="function"&&ns(u,f),Ee("scrollend",a));break;case"onClick":f!=null&&(typeof f!="function"&&ns(u,f),a.onclick=Hs);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(cf.hasOwnProperty(u))f!=null&&typeof f!="function"&&ns(u,f);else t:{if(u[0]==="o"&&u[1]==="n"&&(p=u.endsWith("Capture"),o=u.slice(2,p?u.length-7:void 0),g=a[fa]||null,g=g!=null?g[u]:null,typeof g=="function"&&a.removeEventListener(o,g,p),typeof f=="function")){typeof g!="function"&&g!==null&&(u in a?a[u]=null:a.hasAttribute(u)&&a.removeAttribute(u)),a.addEventListener(o,f,p);break t}u in a?a[u]=f:f===!0?a.setAttribute(u,""):_y(a,u,f)}}}function Bi(a,o,u){switch(nT(o,u),o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ee("error",a),Ee("load",a);var f=!1,p=!1,g;for(g in u)if(u.hasOwnProperty(g)){var S=u[g];if(S!=null)switch(g){case"src":f=!0;break;case"srcSet":p=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:$e(a,o,g,S,u,null)}}p&&$e(a,o,"srcSet",u.srcSet,u,null),f&&$e(a,o,"src",u.src,u,null);return;case"input":Kl("input",u),Ee("invalid",a);var w=g=S=p=null,R=null,M=null;for(f in u)if(u.hasOwnProperty(f)){var Y=u[f];if(Y!=null)switch(f){case"name":p=Y;break;case"type":S=Y;break;case"checked":R=Y;break;case"defaultChecked":M=Y;break;case"value":g=Y;break;case"defaultValue":w=Y;break;case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(o+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:$e(a,o,f,Y,u,null)}}a3(a,u),r3(a,g,w,R,M,S,p,!1);return;case"select":Kl("select",u),Ee("invalid",a),f=S=g=null;for(p in u)if(u.hasOwnProperty(p)&&(w=u[p],w!=null))switch(p){case"value":g=w;break;case"defaultValue":S=w;break;case"multiple":f=w;default:$e(a,o,p,w,u,null)}l3(a,u),o=g,u=S,a.multiple=!!f,o!=null?Bh(a,!!f,o,!1):u!=null&&Bh(a,!!f,u,!0);return;case"textarea":Kl("textarea",u),Ee("invalid",a),g=p=f=null;for(S in u)if(u.hasOwnProperty(S)&&(w=u[S],w!=null))switch(S){case"value":f=w;break;case"defaultValue":p=w;break;case"children":g=w;break;case"dangerouslySetInnerHTML":if(w!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:$e(a,o,S,w,u,null)}u3(a,u),f3(a,f,p,g);return;case"option":o3(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":$e(a,o,R,f,u,null));return;case"dialog":Ee("beforetoggle",a),Ee("toggle",a),Ee("cancel",a),Ee("close",a);break;case"iframe":case"object":Ee("load",a);break;case"video":case"audio":for(f=0;f<qm.length;f++)Ee(qm[f],a);break;case"image":Ee("error",a),Ee("load",a);break;case"details":Ee("toggle",a);break;case"embed":case"source":case"link":Ee("error",a),Ee("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(M in u)if(u.hasOwnProperty(M)&&(f=u[M],f!=null))switch(M){case"children":case"dangerouslySetInnerHTML":throw Error(o+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:$e(a,o,M,f,u,null)}return;default:if(w0(o)){for(Y in u)u.hasOwnProperty(Y)&&(f=u[Y],f!==void 0&&iT(a,o,Y,f,u,void 0));return}}for(w in u)u.hasOwnProperty(w)&&(f=u[w],f!=null&&$e(a,o,w,f,u,null))}function $q(a,o,u,f){switch(nT(o,f),o){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var p=null,g=null,S=null,w=null,R=null,M=null,Y=null;for($ in u){var K=u[$];if(u.hasOwnProperty($)&&K!=null)switch($){case"checked":break;case"value":break;case"defaultValue":R=K;default:f.hasOwnProperty($)||$e(a,o,$,null,f,K)}}for(var H in f){var $=f[H];if(K=u[H],f.hasOwnProperty(H)&&($!=null||K!=null))switch(H){case"type":g=$;break;case"name":p=$;break;case"checked":M=$;break;case"defaultChecked":Y=$;break;case"value":S=$;break;case"defaultValue":w=$;break;case"children":case"dangerouslySetInnerHTML":if($!=null)throw Error(o+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:$!==K&&$e(a,o,H,$,f,K)}}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||dk||(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"),dk=!0),!o||f||hk||(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"),hk=!0),gw(a,S,w,R,M,Y,g,p);return;case"select":$=S=w=H=null;for(g in u)if(R=u[g],u.hasOwnProperty(g)&&R!=null)switch(g){case"value":break;case"multiple":$=R;default:f.hasOwnProperty(g)||$e(a,o,g,null,f,R)}for(p in f)if(g=f[p],R=u[p],f.hasOwnProperty(p)&&(g!=null||R!=null))switch(p){case"value":H=g;break;case"defaultValue":w=g;break;case"multiple":S=g;default:g!==R&&$e(a,o,p,g,f,R)}f=w,o=S,u=$,H!=null?Bh(a,!!o,H,!1):!!u!=!!o&&(f!=null?Bh(a,!!o,f,!0):Bh(a,!!o,o?[]:"",!1));return;case"textarea":$=H=null;for(w in u)if(p=u[w],u.hasOwnProperty(w)&&p!=null&&!f.hasOwnProperty(w))switch(w){case"value":break;case"children":break;default:$e(a,o,w,null,f,p)}for(S in f)if(p=f[S],g=u[S],f.hasOwnProperty(S)&&(p!=null||g!=null))switch(S){case"value":H=p;break;case"defaultValue":$=p;break;case"children":break;case"dangerouslySetInnerHTML":if(p!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:p!==g&&$e(a,o,S,p,f,g)}c3(a,H,$);return;case"option":for(var mt in u)H=u[mt],u.hasOwnProperty(mt)&&H!=null&&!f.hasOwnProperty(mt)&&(mt==="selected"?a.selected=!1:$e(a,o,mt,null,f,H));for(R in f)H=f[R],$=u[R],f.hasOwnProperty(R)&&H!==$&&(H!=null||$!=null)&&(R==="selected"?a.selected=H&&typeof H!="function"&&typeof H!="symbol":$e(a,o,R,H,f,$));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 St in u)H=u[St],u.hasOwnProperty(St)&&H!=null&&!f.hasOwnProperty(St)&&$e(a,o,St,null,f,H);for(M in f)if(H=f[M],$=u[M],f.hasOwnProperty(M)&&H!==$&&(H!=null||$!=null))switch(M){case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(o+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:$e(a,o,M,H,f,$)}return;default:if(w0(o)){for(var ln in u)H=u[ln],u.hasOwnProperty(ln)&&H!==void 0&&!f.hasOwnProperty(ln)&&iT(a,o,ln,void 0,f,H);for(Y in f)H=f[Y],$=u[Y],!f.hasOwnProperty(Y)||H===$||H===void 0&&$===void 0||iT(a,o,Y,H,f,$);return}}for(var Te in u)H=u[Te],u.hasOwnProperty(Te)&&H!=null&&!f.hasOwnProperty(Te)&&$e(a,o,Te,null,f,H);for(K in f)H=f[K],$=u[K],!f.hasOwnProperty(K)||H===$||H==null&&$==null||$e(a,o,K,H,f,$)}function gz(a){switch(a){case"class":return"className";case"for":return"htmlFor";default:return a}}function aT(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 vz(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,p=f="",g;for(g in o)if(o.hasOwnProperty(g)){var S=o[g];S!=null&&typeof S!="boolean"&&S!==""&&(g.indexOf("--")===0?(v0(S,g),f+=p+g+":"+(""+S).trim()):typeof S!="number"||S===0||D5.has(g)?(v0(S,g),f+=p+g.replace(A5,"-$1").toLowerCase().replace(w5,"-ms-")+":"+(""+S).trim()):f+=p+g.replace(A5,"-$1").toLowerCase().replace(w5,"-ms-")+":"+S+"px",p=";")}f=f||null,o=a.getAttribute("style"),o!==f&&(f=ru(f),ru(o)!==f&&(u.style=aT(a)))}}function Fr(a,o,u,f,p,g){if(p.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(Ze(f,o),a===""+f)return}Ci(o,a,f,g)}function yz(a,o,u,f,p,g){if(p.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}Ci(o,a,f,g)}function rT(a,o,u,f,p,g){if(p.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(Ze(f,u),a===""+f)return}Ci(o,a,f,g)}function bz(a,o,u,f,p,g){if(p.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)&&(Ze(f,o),a===""+f))return}Ci(o,a,f,g)}function oT(a,o,u,f,p,g){if(p.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(Ze(f,o),u=E0(""+f),a===u)return}Ci(o,a,f,g)}function Sz(a,o,u,f){for(var p={},g=new Set,S=a.attributes,w=0;w<S.length;w++)switch(S[w].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:g.add(S[w].name)}if(w0(o)){for(var R in u)if(u.hasOwnProperty(R)){var M=u[R];if(M!=null){if(cf.hasOwnProperty(R))typeof M!="function"&&ns(R,M);else if(u.suppressHydrationWarning!==!0)switch(R){case"children":typeof M!="string"&&typeof M!="number"||Ci("children",a.textContent,M,p);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":S=a.innerHTML,M=M?M.__html:void 0,M!=null&&(M=pz(a,M),Ci(R,S,M,p));continue;case"style":g.delete(R),vz(a,M,p);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":g.delete(R.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",R);continue;case"className":g.delete("class"),S=e3(a,"class",M),Ci("className",S,M,p);continue;default:f.context===ll&&o!=="svg"&&o!=="math"?g.delete(R.toLowerCase()):g.delete(R),S=e3(a,R,M),Ci(R,S,M,p)}}}}else for(M in u)if(u.hasOwnProperty(M)&&(R=u[M],R!=null)){if(cf.hasOwnProperty(M))typeof R!="function"&&ns(M,R);else if(u.suppressHydrationWarning!==!0)switch(M){case"children":typeof R!="string"&&typeof R!="number"||Ci("children",a.textContent,R,p);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":S=a.innerHTML,R=R?R.__html:void 0,R!=null&&(R=pz(a,R),S!==R&&(p[M]={__html:S}));continue;case"className":Fr(a,M,"class",R,g,p);continue;case"tabIndex":Fr(a,M,"tabindex",R,g,p);continue;case"style":g.delete(M),vz(a,R,p);continue;case"multiple":g.delete(M),Ci(M,a.multiple,R,p);continue;case"muted":g.delete(M),Ci(M,a.muted,R,p);continue;case"autoFocus":g.delete("autofocus"),Ci(M,a.autofocus,R,p);continue;case"data":if(o!=="object"){g.delete(M),S=a.getAttribute("data"),Ci(M,S,R,p);continue}case"src":case"href":if(!(R!==""||o==="a"&&M==="href"||o==="object"&&M==="data")){console.error(M==="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.',M,M);continue}oT(a,M,M,R,g,p);continue;case"action":case"formAction":if(S=a.getAttribute(M),typeof R=="function"){g.delete(M.toLowerCase()),M==="formAction"?(g.delete("name"),g.delete("formenctype"),g.delete("formmethod"),g.delete("formtarget")):(g.delete("enctype"),g.delete("method"),g.delete("target"));continue}else if(S===dI){g.delete(M.toLowerCase()),Ci(M,"function",R,p);continue}oT(a,M,M.toLowerCase(),R,g,p);continue;case"xlinkHref":oT(a,M,"xlink:href",R,g,p);continue;case"contentEditable":rT(a,M,"contenteditable",R,g,p);continue;case"spellCheck":rT(a,M,"spellcheck",R,g,p);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":rT(a,M,M,R,g,p);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":yz(a,M,M.toLowerCase(),R,g,p);continue;case"capture":case"download":t:{w=a;var Y=S=M,K=p;if(g.delete(Y),w=w.getAttribute(Y),w===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&&w==="")break t;break;default:if(Ze(R,S),w===""+R)break t}Ci(S,w,R,K)}continue;case"cols":case"rows":case"size":case"span":t:{if(w=a,Y=S=M,K=p,g.delete(Y),w=w.getAttribute(Y),w===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)&&(Ze(R,S),w===""+R))break t}Ci(S,w,R,K)}continue;case"rowSpan":bz(a,M,"rowspan",R,g,p);continue;case"start":bz(a,M,M,R,g,p);continue;case"xHeight":Fr(a,M,"x-height",R,g,p);continue;case"xlinkActuate":Fr(a,M,"xlink:actuate",R,g,p);continue;case"xlinkArcrole":Fr(a,M,"xlink:arcrole",R,g,p);continue;case"xlinkRole":Fr(a,M,"xlink:role",R,g,p);continue;case"xlinkShow":Fr(a,M,"xlink:show",R,g,p);continue;case"xlinkTitle":Fr(a,M,"xlink:title",R,g,p);continue;case"xlinkType":Fr(a,M,"xlink:type",R,g,p);continue;case"xmlBase":Fr(a,M,"xml:base",R,g,p);continue;case"xmlLang":Fr(a,M,"xml:lang",R,g,p);continue;case"xmlSpace":Fr(a,M,"xml:space",R,g,p);continue;case"inert":R!==""||L1[M]||(L1[M]=!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.",M)),yz(a,M,M,R,g,p);continue;default:if(!(2<M.length)||M[0]!=="o"&&M[0]!=="O"||M[1]!=="n"&&M[1]!=="N"){w=x3(M),S=!1,f.context===ll&&o!=="svg"&&o!=="math"?g.delete(w.toLowerCase()):(Y=M.toLowerCase(),Y=Kb.hasOwnProperty(Y)&&Kb[Y]||null,Y!==null&&Y!==M&&(S=!0,g.delete(Y)),g.delete(w));t:if(Y=a,K=w,w=R,b0(K))if(Y.hasAttribute(K))Y=Y.getAttribute(K),Ze(w,K),w=Y===""+w?w:Y;else{switch(typeof w){case"function":case"symbol":break t;case"boolean":if(Y=K.toLowerCase().slice(0,5),Y!=="data-"&&Y!=="aria-")break t}w=w===void 0?void 0:null}else w=void 0;S||Ci(M,w,R,p)}}}return 0<g.size&&u.suppressHydrationWarning!==!0&&Jq(a,g,p),Object.keys(p).length===0?null:p}function tV(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 xz(a){switch(a){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function eV(){if(typeof performance.getEntriesByType=="function"){for(var a=0,o=0,u=performance.getEntriesByType("resource"),f=0;f<u.length;f++){var p=u[f],g=p.transferSize,S=p.initiatorType,w=p.duration;if(g&&w&&xz(S)){for(S=0,w=p.responseEnd,f+=1;f<u.length;f++){var R=u[f],M=R.startTime;if(M>w)break;var Y=R.transferSize,K=R.initiatorType;Y&&xz(K)&&(R=R.responseEnd,S+=Y*(R<w?1:(w-M)/(R-M)))}if(--f,o+=8*(g+S)/(p.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 Mb(a){return a.nodeType===9?a:a.ownerDocument}function Az(a){switch(a){case sd:return Ud;case Yb:return B1;default:return ll}}function wz(a,o){if(a===ll)switch(o){case"svg":return Ud;case"math":return B1;default:return ll}return a===Ud&&o==="foreignObject"?ll:a}function sT(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 nV(){var a=window.event;return a&&a.type==="popstate"?a===G2?!1:(G2=a,!0):(G2=null,!1)}function Z0(){var a=window.event;return a&&a!==Im?a.type:null}function W0(){var a=window.event;return a&&a!==Im?a.timeStamp:-1.1}function iV(a){setTimeout(function(){throw a})}function aV(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 rV(){}function oV(a,o,u,f){$q(a,o,u,f),a[fa]=f}function Ez(a){A0(a,"")}function sV(a,o,u){a.nodeValue=u}function Tz(a){if(!a.__reactWarnedAboutChildrenConflict){var o=a[fa]||null;if(o!==null){var u=Zt(a);u!==null&&(typeof o.children=="string"||typeof o.children=="number"?(a.__reactWarnedAboutChildrenConflict=!0,pt(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,pt(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 ou(a){return a==="head"}function lV(a,o){a.removeChild(o)}function uV(a,o){(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).removeChild(o)}function Cz(a,o){var u=o,f=0;do{var p=u.nextSibling;if(a.removeChild(u),p&&p.nodeType===8)if(u=p.data,u===Gm||u===U1){if(f===0){a.removeChild(p),ed(o);return}f--}else if(u===Vm||u===Mu||u===Of||u===Ld||u===Rf)f++;else if(u===mI)Q0(a.ownerDocument.documentElement);else if(u===vI){u=a.ownerDocument.head,Q0(u);for(var g=u.firstChild;g;){var S=g.nextSibling,w=g.nodeName;g[am]||w==="SCRIPT"||w==="STYLE"||w==="LINK"&&g.rel.toLowerCase()==="stylesheet"||u.removeChild(g),g=S}}else u===gI&&Q0(a.ownerDocument.body);u=p}while(u);ed(o)}function Dz(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===Gm){if(a===0)break;a--}else u!==Vm&&u!==Mu&&u!==Of&&u!==Ld||a++;u=f}while(u)}function cV(a){Dz(a,!0)}function fV(a){a=a.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none"}function hV(a){a.nodeValue=""}function dV(a){Dz(a,!1)}function pV(a,o){o=o[yI],o=o!=null&&o.hasOwnProperty("display")?o.display:null,a.style.display=o==null||typeof o=="boolean"?"":(""+o).trim()}function mV(a,o){a.nodeValue=o}function lT(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":lT(u),vt(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}a.removeChild(u)}}function gV(a,o,u,f){for(;a.nodeType===1;){var p=u;if(a.nodeName.toLowerCase()!==o.toLowerCase()){if(!f&&(a.nodeName!=="INPUT"||a.type!=="hidden"))break}else if(f){if(!a[am])switch(o){case"meta":if(!a.hasAttribute("itemprop"))break;return a;case"link":if(g=a.getAttribute("rel"),g==="stylesheet"&&a.hasAttribute("data-precedence"))break;if(g!==p.rel||a.getAttribute("href")!==(p.href==null||p.href===""?null:p.href)||a.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin)||a.getAttribute("title")!==(p.title==null?null:p.title))break;return a;case"style":if(a.hasAttribute("data-precedence"))break;return a;case"script":if(g=a.getAttribute("src"),(g!==(p.src==null?null:p.src)||a.getAttribute("type")!==(p.type==null?null:p.type)||a.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin))&&g&&a.hasAttribute("async")&&!a.hasAttribute("itemprop"))break;return a;default:return a}}else if(o==="input"&&a.type==="hidden"){Ze(p.name,"name");var g=p.name==null?null:""+p.name;if(p.type==="hidden"&&a.getAttribute("name")===g)return a}else return a;if(a=ar(a.nextSibling),a===null)break}return null}function vV(a,o,u){if(o==="")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!u||(a=ar(a.nextSibling),a===null))return null;return a}function Rz(a,o){for(;a.nodeType!==8;)if((a.nodeType!==1||a.nodeName!=="INPUT"||a.type!=="hidden")&&!o||(a=ar(a.nextSibling),a===null))return null;return a}function uT(a){return a.data===Mu||a.data===Of}function cT(a){return a.data===Ld||a.data===Mu&&a.ownerDocument.readyState!==vk}function yV(a,o){var u=a.ownerDocument;if(a.data===Of)a._reactRetry=o;else if(a.data!==Mu||u.readyState!==vk)o();else{var f=function(){o(),u.removeEventListener("DOMContentLoaded",f)};u.addEventListener("DOMContentLoaded",f),a._reactRetry=f}}function ar(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===Vm||o===Ld||o===Mu||o===Of||o===Rf||o===j2||o===gk)break;if(o===Gm||o===U1)return null}}return a}function Oz(a){if(a.nodeType===1){for(var o=a.nodeName.toLowerCase(),u={},f=a.attributes,p=0;p<f.length;p++){var g=f[p];u[gz(g.name)]=g.name.toLowerCase()==="style"?aT(a):g.value}return{type:o,props:u}}return a.nodeType===8?a.data===Rf?{type:"Activity",props:{}}:{type:"Suspense",props:{}}:a.nodeValue}function Mz(a,o,u){return u===null||u[pI]!==!0?(a.nodeValue===o?a=null:(o=ru(o),a=ru(a.nodeValue)===o?null:a.nodeValue),a):null}function fT(a){a=a.nextSibling;for(var o=0;a;){if(a.nodeType===8){var u=a.data;if(u===Gm||u===U1){if(o===0)return ar(a.nextSibling);o--}else u!==Vm&&u!==Ld&&u!==Mu&&u!==Of&&u!==Rf||o++}a=a.nextSibling}return null}function _z(a){a=a.previousSibling;for(var o=0;a;){if(a.nodeType===8){var u=a.data;if(u===Vm||u===Ld||u===Mu||u===Of||u===Rf){if(o===0)return a;o--}else u!==Gm&&u!==U1||o++}a=a.previousSibling}return null}function bV(a){ed(a)}function SV(a){ed(a)}function xV(a){ed(a)}function Fz(a,o,u,f,p){switch(p&&Aw(a,f.ancestorInfo),o=Mb(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 AV(a,o,u,f){if(!u[cu]&&Zt(u)){var p=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.",p,p,p)}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(p=u.attributes;p.length;)u.removeAttributeNode(p[0]);Bi(u,a,o),u[Pi]=f,u[fa]=o}function Q0(a){for(var o=a.attributes;o.length;)a.removeAttributeNode(o[0]);vt(a)}function _b(a){return typeof a.getRootNode=="function"?a.getRootNode():a.nodeType===9?a:a.ownerDocument}function Nz(a,o,u){var f=Bd;if(f&&typeof o=="string"&&o){var p=_r(o);p='link[rel="'+a+'"][href="'+p+'"]',typeof u=="string"&&(p+='[crossorigin="'+u+'"]'),wk.has(p)||(wk.add(p),a={rel:a,crossOrigin:u,href:o},f.querySelector(p)===null&&(o=f.createElement("link"),Bi(o,"link",a),kt(o),f.head.appendChild(o)))}}function zz(a,o,u,f){var p=(p=lu.current)?_b(p):null;if(!p)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=$h(u.href),o=Le(p).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=$h(u.href);var g=Le(p).hoistableStyles,S=g.get(a);if(!S&&(p=p.ownerDocument||p,S={type:"stylesheet",instance:null,count:0,state:{loading:_f,preload:null}},g.set(a,S),(g=p.querySelector(J0(a)))&&!g._p&&(S.instance=g,S.state.loading=Xm|Vr),!Gr.has(a))){var w={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy};Gr.set(a,w),g||wV(p,a,w,S.state)}if(o&&f===null)throw u=`
185
-
186
- - `+Fb(o)+`
187
- + `+Fb(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 S}if(o&&f!==null)throw u=`
188
-
189
- - `+Fb(o)+`
190
- + `+Fb(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=td(u),o=Le(p).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 Fb(a){var o=0,u="<link";return typeof a.rel=="string"?(o++,u+=' rel="'+a.rel+'"'):So.call(a,"rel")&&(o++,u+=' rel="'+(a.rel===null?"null":"invalid type "+typeof a.rel)+'"'),typeof a.href=="string"?(o++,u+=' href="'+a.href+'"'):So.call(a,"href")&&(o++,u+=' href="'+(a.href===null?"null":"invalid type "+typeof a.href)+'"'),typeof a.precedence=="string"?(o++,u+=' precedence="'+a.precedence+'"'):So.call(a,"precedence")&&(o++,u+=" precedence={"+(a.precedence===null?"null":"invalid type "+typeof a.precedence)+"}"),Object.getOwnPropertyNames(a).length>o&&(u+=" ..."),u+" />"}function $h(a){return'href="'+_r(a)+'"'}function J0(a){return'link[rel="stylesheet"]['+a+"]"}function kz(a){return ve({},a,{"data-precedence":a.precedence,precedence:null})}function wV(a,o,u,f){a.querySelector('link[rel="preload"][as="style"]['+o+"]")?f.loading=Xm:(o=a.createElement("link"),f.preload=o,o.addEventListener("load",function(){return f.loading|=Xm}),o.addEventListener("error",function(){return f.loading|=xk}),Bi(o,"link",u),kt(o),a.head.appendChild(o))}function td(a){return'[src="'+_r(a)+'"]'}function $0(a){return"script[async]"+a}function Lz(a,o,u){if(o.count++,o.instance===null)switch(o.type){case"style":var f=a.querySelector('style[data-href~="'+_r(u.href)+'"]');if(f)return o.instance=f,kt(f),f;var p=ve({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return f=(a.ownerDocument||a).createElement("style"),kt(f),Bi(f,"style",p),Nb(f,u.precedence,a),o.instance=f;case"stylesheet":p=$h(u.href);var g=a.querySelector(J0(p));if(g)return o.state.loading|=Vr,o.instance=g,kt(g),g;f=kz(u),(p=Gr.get(p))&&hT(f,p),g=(a.ownerDocument||a).createElement("link"),kt(g);var S=g;return S._p=new Promise(function(w,R){S.onload=w,S.onerror=R}),Bi(g,"link",f),o.state.loading|=Vr,Nb(g,u.precedence,a),o.instance=g;case"script":return g=td(u.src),(p=a.querySelector($0(g)))?(o.instance=p,kt(p),p):(f=u,(p=Gr.get(g))&&(f=ve({},u),dT(f,p)),a=a.ownerDocument||a,p=a.createElement("script"),kt(p),Bi(p,"link",f),a.head.appendChild(p),o.instance=p);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&Vr)===_f&&(f=o.instance,o.state.loading|=Vr,Nb(f,u.precedence,a));return o.instance}function Nb(a,o,u){for(var f=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),p=f.length?f[f.length-1]:null,g=p,S=0;S<f.length;S++){var w=f[S];if(w.dataset.precedence===o)g=w;else if(g!==p)break}g?g.parentNode.insertBefore(a,g.nextSibling):(o=u.nodeType===9?u.head:u,o.insertBefore(a,o.firstChild))}function hT(a,o){a.crossOrigin==null&&(a.crossOrigin=o.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=o.referrerPolicy),a.title==null&&(a.title=o.title)}function dT(a,o){a.crossOrigin==null&&(a.crossOrigin=o.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=o.referrerPolicy),a.integrity==null&&(a.integrity=o.integrity)}function Uz(a,o,u){if(P1===null){var f=new Map,p=P1=new Map;p.set(u,f)}else p=P1,f=p.get(u),f||(f=new Map,p.set(u,f));if(f.has(a))return f;for(f.set(a,null),u=u.getElementsByTagName(a),p=0;p<u.length;p++){var g=u[p];if(!(g[am]||g[Pi]||a==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!==sd){var S=g.getAttribute(o)||"";S=a+S;var w=f.get(S);w?w.push(g):f.set(S,[g])}}return f}function Bz(a,o,u){a=a.ownerDocument||a,a.head.insertBefore(u,o==="title"?a.querySelector("head > title"):null)}function EV(a,o,u){var f=!u.ancestorInfo.containerTagInScope;if(u.context===Ud||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 p=o.onError,g=o.disabled;u=[],o.onLoad&&u.push("`onLoad`"),p&&u.push("`onError`"),g!=null&&u.push("`disabled`"),p=tV(u,"and"),p+=u.length===1?" prop":" props",g=u.length===1?"an "+p:"the "+p,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,g,p)}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 Pz(a){return!(a.type==="stylesheet"&&(a.state.loading&Ak)===_f)}function TV(a,o,u,f){if(u.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&(u.state.loading&Vr)===_f){if(u.instance===null){var p=$h(f.href),g=o.querySelector(J0(p));if(g){o=g._p,o!==null&&typeof o=="object"&&typeof o.then=="function"&&(a.count++,a=zb.bind(a),o.then(a,a)),u.state.loading|=Vr,u.instance=g,kt(g);return}g=o.ownerDocument||o,f=kz(f),(p=Gr.get(p))&&hT(f,p),g=g.createElement("link"),kt(g);var S=g;S._p=new Promise(function(w,R){S.onload=w,S.onerror=R}),Bi(g,"link",f),u.instance=g}a.stylesheets===null&&(a.stylesheets=new Map),a.stylesheets.set(u,o),(o=u.state.preload)&&(u.state.loading&Ak)===_f&&(a.count++,u=zb.bind(a),o.addEventListener("load",u),o.addEventListener("error",u))}}function CV(a,o){return a.stylesheets&&a.count===0&&kb(a,a.stylesheets),0<a.count||0<a.imgCount?function(u){var f=setTimeout(function(){if(a.stylesheets&&kb(a,a.stylesheets),a.unsuspend){var g=a.unsuspend;a.unsuspend=null,g()}},xI+o);0<a.imgBytes&&X2===0&&(X2=125*eV()*wI);var p=setTimeout(function(){if(a.waitingForImages=!1,a.count===0&&(a.stylesheets&&kb(a,a.stylesheets),a.unsuspend)){var g=a.unsuspend;a.unsuspend=null,g()}},(a.imgBytes>X2?50:AI)+o);return a.unsuspend=u,function(){a.unsuspend=null,clearTimeout(f),clearTimeout(p)}}:null}function zb(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)kb(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}function kb(a,o){a.stylesheets=null,a.unsuspend!==null&&(a.count++,H1=new Map,o.forEach(DV,a),H1=null,zb.call(a))}function DV(a,o){if(!(o.state.loading&Vr)){var u=H1.get(a);if(u)var f=u.get(Y2);else{u=new Map,H1.set(a,u);for(var p=a.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<p.length;g++){var S=p[g];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(u.set(S.dataset.precedence,S),f=S)}f&&u.set(Y2,f)}p=o.instance,S=p.getAttribute("data-precedence"),g=u.get(S)||f,g===f&&u.set(Y2,p),u.set(S,p),this.count++,f=zb.bind(this),p.addEventListener("load",f),p.addEventListener("error",f),g?g.parentNode.insertBefore(p,g.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(p,a.firstChild)),o.state.loading|=Vr}}function RV(a,o,u,f,p,g,S,w,R){for(this.tag=1,this.containerInfo=a,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Mf,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Uh(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Uh(0),this.hiddenUpdates=Uh(null),this.identifierPrefix=f,this.onUncaughtError=p,this.onCaughtError=g,this.onRecoverableError=S,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 Hz(a,o,u,f,p,g,S,w,R,M,Y,K){return a=new RV(a,o,u,S,R,M,Y,K,w),o=KG,g===!0&&(o|=$i|Ao),o|=se,g=y(3,null,null,o),a.current=g,g.stateNode=a,o=jw(),nf(o),a.pooledCache=o,nf(o),g.memoizedState={element:f,isDehydrated:u,cache:o},Xw(g),a}function jz(a){return a?(a=pu,a):pu}function pT(a,o,u,f,p,g){if(Ji&&typeof Ji.onScheduleFiberRoot=="function")try{Ji.onScheduleFiberRoot(rd,f,u)}catch(S){os||(os=!0,console.error("React instrumentation encountered an error: %o",S))}p=jz(p),f.context===null?f.context=p:f.pendingContext=p,rs&&or!==null&&!Dk&&(Dk=!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.`,q(or)||"Unknown")),f=$l(o),f.payload={element:u},g=g===void 0?null:g,g!==null&&(typeof g!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",g),f.callback=g),u=tu(a,f,o),u!==null&&(Go(o,"root.render()",null),Fn(u,a,o),N0(u,a,o))}function qz(a,o){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var u=a.retryLane;a.retryLane=u!==0&&u<o?u:o}}function mT(a,o){qz(a,o),(a=a.alternate)&&qz(a,o)}function Vz(a){if(a.tag===13||a.tag===31){var o=Qi(a,67108864);o!==null&&Fn(o,a,67108864),mT(a,67108864)}}function Gz(a){if(a.tag===13||a.tag===31){var o=ir(a);o=Yc(o);var u=Qi(a,o);u!==null&&Fn(u,a,o),mT(a,o)}}function OV(){return or}function MV(a,o,u,f){var p=it.T;it.T=null;var g=He.p;try{He.p=sr,gT(a,o,u,f)}finally{He.p=g,it.T=p}}function _V(a,o,u,f){var p=it.T;it.T=null;var g=He.p;try{He.p=xo,gT(a,o,u,f)}finally{He.p=g,it.T=p}}function gT(a,o,u,f){if(q1){var p=vT(f);if(p===null)eT(a,o,f,V1,u),Xz(a,f);else if(FV(p,a,o,u,f))f.stopPropagation();else if(Xz(a,f),o&4&&-1<TI.indexOf(a)){for(;p!==null;){var g=Zt(p);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var S=Ho(g.pendingLanes);if(S!==0){var w=g;for(w.pendingLanes|=2,w.entangledLanes|=2;S;){var R=1<<31-ca(S);w.entanglements[1]|=R,S&=~R}es(g),(Fe&(vi|fr))===Mi&&(T1=Di()+ek,Y0(0,!1))}}break;case 31:case 13:w=Qi(g,2),w!==null&&Fn(w,g,2),Wh(),mT(g,2)}if(g=vT(f),g===null&&eT(a,o,f,V1,u),g===p)break;p=g}p!==null&&f.stopPropagation()}else eT(a,o,f,null,u)}}function vT(a){return a=ww(a),yT(a)}function yT(a){if(V1=null,a=Ct(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=D(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 V1=a,null}function Iz(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 sr;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 xo;case"message":switch(qV()){case FT:return sr;case NT:return xo;case ad:case VV:return ls;case zT:return Ib;default:return ls}default:return ls}}function Xz(a,o){switch(a){case"focusin":case"focusout":_u=null;break;case"dragenter":case"dragleave":Fu=null;break;case"mouseover":case"mouseout":Nu=null;break;case"pointerover":case"pointerout":Km.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zm.delete(o.pointerId)}}function tm(a,o,u,f,p,g){return a===null||a.nativeEvent!==g?(a={blockedOn:o,domEventName:u,eventSystemFlags:f,nativeEvent:g,targetContainers:[p]},o!==null&&(o=Zt(o),o!==null&&Vz(o)),a):(a.eventSystemFlags|=f,o=a.targetContainers,p!==null&&o.indexOf(p)===-1&&o.push(p),a)}function FV(a,o,u,f,p){switch(o){case"focusin":return _u=tm(_u,a,o,u,f,p),!0;case"dragenter":return Fu=tm(Fu,a,o,u,f,p),!0;case"mouseover":return Nu=tm(Nu,a,o,u,f,p),!0;case"pointerover":var g=p.pointerId;return Km.set(g,tm(Km.get(g)||null,a,o,u,f,p)),!0;case"gotpointercapture":return g=p.pointerId,Zm.set(g,tm(Zm.get(g)||null,a,o,u,f,p)),!0}return!1}function Yz(a){var o=Ct(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,ht(a.priority,function(){Gz(u)});return}}else if(o===31){if(o=D(u),o!==null){a.blockedOn=o,ht(a.priority,function(){Gz(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 Lb(a){if(a.blockedOn!==null)return!1;for(var o=a.targetContainers;0<o.length;){var u=vT(a.nativeEvent);if(u===null){u=a.nativeEvent;var f=new u.constructor(u.type,u),p=f;rm!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),rm=p,u.target.dispatchEvent(f),rm===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."),rm=null}else return o=Zt(u),o!==null&&Vz(o),a.blockedOn=u,!1;o.shift()}return!0}function Kz(a,o,u){Lb(a)&&u.delete(o)}function NV(){K2=!1,_u!==null&&Lb(_u)&&(_u=null),Fu!==null&&Lb(Fu)&&(Fu=null),Nu!==null&&Lb(Nu)&&(Nu=null),Km.forEach(Kz),Zm.forEach(Kz)}function Ub(a,o){a.blockedOn===o&&(a.blockedOn=null,K2||(K2=!0,Qn.unstable_scheduleCallback(Qn.unstable_NormalPriority,NV)))}function Zz(a){G1!==a&&(G1=a,Qn.unstable_scheduleCallback(Qn.unstable_NormalPriority,function(){G1===a&&(G1=null);for(var o=0;o<a.length;o+=3){var u=a[o],f=a[o+1],p=a[o+2];if(typeof f!="function"){if(yT(f||u)===null)continue;break}var g=Zt(u);g!==null&&(a.splice(o,3),o-=3,u={pending:!0,data:p,method:u.method,action:f},Object.freeze(u),yE(g,u,f,p))}}))}function ed(a){function o(R){return Ub(R,a)}_u!==null&&Ub(_u,a),Fu!==null&&Ub(Fu,a),Nu!==null&&Ub(Nu,a),Km.forEach(o),Zm.forEach(o);for(var u=0;u<zu.length;u++){var f=zu[u];f.blockedOn===a&&(f.blockedOn=null)}for(;0<zu.length&&(u=zu[0],u.blockedOn===null);)Yz(u),u.blockedOn===null&&zu.shift();if(u=(a.ownerDocument||a).$$reactFormReplay,u!=null)for(f=0;f<u.length;f+=3){var p=u[f],g=u[f+1],S=p[fa]||null;if(typeof g=="function")S||Zz(u);else if(S){var w=null;if(g&&g.hasAttribute("formAction")){if(p=g,S=g[fa]||null)w=S.formAction;else if(yT(p)!==null)continue}else w=S.action;typeof w=="function"?u[f+1]=w:(u.splice(f,3),f-=3),Zz(u)}}}function Wz(){function a(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(S){return p=S})},focusReset:"manual",scroll:"manual"})}function o(){p!==null&&(p(),p=null),f||setTimeout(u,20)}function u(){if(!f&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var f=!1,p=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),p!==null&&(p(),p=null)}}}function bT(a){this._internalRoot=a}function Bb(a){this._internalRoot=a}function Qz(a){a[cu]&&(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 Qn=hC(),ST=Ir(),zV=pC(),ve=Object.assign,kV=Symbol.for("react.element"),is=Symbol.for("react.transitional.element"),nd=Symbol.for("react.portal"),id=Symbol.for("react.fragment"),Pb=Symbol.for("react.strict_mode"),xT=Symbol.for("react.profiler"),AT=Symbol.for("react.consumer"),as=Symbol.for("react.context"),em=Symbol.for("react.forward_ref"),wT=Symbol.for("react.suspense"),ET=Symbol.for("react.suspense_list"),Hb=Symbol.for("react.memo"),rr=Symbol.for("react.lazy"),TT=Symbol.for("react.activity"),LV=Symbol.for("react.memo_cache_sentinel"),Jz=Symbol.iterator,UV=Symbol.for("react.client.reference"),mi=Array.isArray,it=ST.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,He=zV.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,BV=Object.freeze({pending:!1,data:null,method:null,action:null}),CT=[],DT=[],Ks=-1,su=Z(null),nm=Z(null),lu=Z(null),jb=Z(null),im=0,$z,t5,e5,n5,i5,a5,r5;re.__reactDisabledLog=!0;var RT,o5,OT=!1,MT=new(typeof WeakMap=="function"?WeakMap:Map),or=null,rs=!1,So=Object.prototype.hasOwnProperty,_T=Qn.unstable_scheduleCallback,PV=Qn.unstable_cancelCallback,HV=Qn.unstable_shouldYield,jV=Qn.unstable_requestPaint,Di=Qn.unstable_now,qV=Qn.unstable_getCurrentPriorityLevel,FT=Qn.unstable_ImmediatePriority,NT=Qn.unstable_UserBlockingPriority,ad=Qn.unstable_NormalPriority,VV=Qn.unstable_LowPriority,zT=Qn.unstable_IdlePriority,GV=Qn.log,IV=Qn.unstable_setDisableYieldValue,rd=null,Ji=null,os=!1,ss=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ca=Math.clz32?Math.clz32:Oy,XV=Math.log,YV=Math.LN2,qb=256,Vb=262144,Gb=4194304,sr=2,xo=8,ls=32,Ib=268435456,uu=Math.random().toString(36).slice(2),Pi="__reactFiber$"+uu,fa="__reactProps$"+uu,cu="__reactContainer$"+uu,kT="__reactEvents$"+uu,KV="__reactListeners$"+uu,ZV="__reactHandles$"+uu,s5="__reactResources$"+uu,am="__reactMarker$"+uu,l5=new Set,cf={},LT={},WV={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},QV=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]*$"),u5={},c5={},JV=/[\n"\\]/g,f5=!1,h5=!1,d5=!1,p5=!1,m5=!1,g5=!1,v5=["value","defaultValue"],y5=!1,b5=/["'&<>\n\t]|^\s|\s$/,$V="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(" "),S5="applet caption html table td th marquee object template foreignObject desc title".split(" "),tG=S5.concat(["button"]),eG="dd dt li option optgroup p rp rt".split(" "),x5={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Xb={},UT={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"]},A5=/([A-Z])/g,w5=/^ms-/,nG=/^(?:webkit|moz|o)[A-Z]/,iG=/^-ms-/,aG=/-(.)/g,E5=/;\s*$/,od={},BT={},T5=!1,C5=!1,D5=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(" ")),Yb="http://www.w3.org/1998/Math/MathML",sd="http://www.w3.org/2000/svg",rG=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"]]),Kb={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"},R5={"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},ld={},oG=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]*$"),sG=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]*$"),O5=!1,ha={},M5=/^on./,lG=/^on[^A-Z]/,uG=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]*$"),cG=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]*$"),fG=/^[\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,rm=null,ud=null,cd=null,PT=!1,us=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),HT=!1;if(us)try{var om={};Object.defineProperty(om,"passive",{get:function(){HT=!0}}),window.addEventListener("test",om,om),window.removeEventListener("test",om,om)}catch{HT=!1}var fu=null,jT=null,Zb=null,ff={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wb=Ma(ff),sm=ve({},ff,{view:0,detail:0}),hG=Ma(sm),qT,VT,lm,Qb=ve({},sm,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ew,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!==lm&&(lm&&a.type==="mousemove"?(qT=a.screenX-lm.screenX,VT=a.screenY-lm.screenY):VT=qT=0,lm=a),qT)},movementY:function(a){return"movementY"in a?a.movementY:VT}}),_5=Ma(Qb),dG=ve({},Qb,{dataTransfer:0}),pG=Ma(dG),mG=ve({},sm,{relatedTarget:0}),GT=Ma(mG),gG=ve({},ff,{animationName:0,elapsedTime:0,pseudoElement:0}),vG=Ma(gG),yG=ve({},ff,{clipboardData:function(a){return"clipboardData"in a?a.clipboardData:window.clipboardData}}),bG=Ma(yG),SG=ve({},ff,{data:0}),F5=Ma(SG),xG=F5,AG={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wG={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"},EG={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},TG=ve({},sm,{key:function(a){if(a.key){var o=AG[a.key]||a.key;if(o!=="Unidentified")return o}return a.type==="keypress"?(a=Ly(a),a===13?"Enter":String.fromCharCode(a)):a.type==="keydown"||a.type==="keyup"?wG[a.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ew,charCode:function(a){return a.type==="keypress"?Ly(a):0},keyCode:function(a){return a.type==="keydown"||a.type==="keyup"?a.keyCode:0},which:function(a){return a.type==="keypress"?Ly(a):a.type==="keydown"||a.type==="keyup"?a.keyCode:0}}),CG=Ma(TG),DG=ve({},Qb,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),N5=Ma(DG),RG=ve({},sm,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ew}),OG=Ma(RG),MG=ve({},ff,{propertyName:0,elapsedTime:0,pseudoElement:0}),_G=Ma(MG),FG=ve({},Qb,{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}),NG=Ma(FG),zG=ve({},ff,{newState:0,oldState:0}),kG=Ma(zG),LG=[9,13,27,32],z5=229,IT=us&&"CompositionEvent"in window,um=null;us&&"documentMode"in document&&(um=document.documentMode);var UG=us&&"TextEvent"in window&&!um,k5=us&&(!IT||um&&8<um&&11>=um),L5=32,U5=String.fromCharCode(L5),B5=!1,fd=!1,BG={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},cm=null,fm=null,P5=!1;us&&(P5=aq("input")&&(!document.documentMode||9<document.documentMode));var da=typeof Object.is=="function"?Object.is:cq,PG=us&&"documentMode"in document&&11>=document.documentMode,hd=null,XT=null,hm=null,YT=!1,dd={animationend:Zc("Animation","AnimationEnd"),animationiteration:Zc("Animation","AnimationIteration"),animationstart:Zc("Animation","AnimationStart"),transitionrun:Zc("Transition","TransitionRun"),transitionstart:Zc("Transition","TransitionStart"),transitioncancel:Zc("Transition","TransitionCancel"),transitionend:Zc("Transition","TransitionEnd")},KT={},H5={};us&&(H5=document.createElement("div").style,"AnimationEvent"in window||(delete dd.animationend.animation,delete dd.animationiteration.animation,delete dd.animationstart.animation),"TransitionEvent"in window||delete dd.transitionend.transition);var j5=Wc("animationend"),q5=Wc("animationiteration"),V5=Wc("animationstart"),HG=Wc("transitionrun"),jG=Wc("transitionstart"),qG=Wc("transitioncancel"),G5=Wc("transitionend"),I5=new Map,ZT="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(" ");ZT.push("scrollEnd");var X5=0;if(typeof performance=="object"&&typeof performance.now=="function")var VG=performance,Y5=function(){return VG.now()};else{var GG=Date;Y5=function(){return GG.now()}}var WT=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)},IG="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.",Jb=0,QT=1,JT=2,$T=3,$b="\u2013\xA0",t1="+\xA0",K5="\u2007\xA0",fn=typeof console<"u"&&typeof console.timeStamp=="function"&&typeof performance<"u"&&typeof performance.measure=="function",Nr="Components \u269B",ye="Scheduler \u269B",Se="Blocking",hu=!1,Zs={color:"primary",properties:null,tooltipText:"",track:Nr},du={start:-0,end:-0,detail:{devtools:Zs}},XG=["Changed Props",""],Z5="This component received deeply equal props. It might benefit from useMemo or the React Compiler in its owner.",YG=["Changed Props",Z5],dm=1,Ws=2,zr=[],pd=0,t2=0,pu={};Object.freeze(pu);var kr=null,md=null,qt=0,KG=1,se=2,$i=8,Ao=16,ZG=32,W5=!1;try{var Q5=Object.preventExtensions({})}catch{W5=!0}var e2=new WeakMap,gd=[],vd=0,e1=null,pm=0,Lr=[],Ur=0,hf=null,Qs=1,Js="",Hi=null,hn=null,xe=!1,cs=!1,lr=null,mu=null,Br=!1,n2=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."),i2=Z(null),a2=Z(null),J5={},n1=null,yd=null,bd=!1,WG=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()})}},QG=Qn.unstable_scheduleCallback,JG=Qn.unstable_NormalPriority,Jn={$$typeof:as,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},$n=Qn.unstable_now,i1=console.createTask?console.createTask:function(){return null},mm=1,a1=2,Ri=-0,gu=-0,$s=-0,tl=null,pa=-1.1,df=-0,En=-0,Lt=-1.1,Ut=-1.1,vn=null,Nn=!1,vu=-0,fs=-1.1,gm=null,yu=0,r2=null,o2=null,pf=-1.1,vm=null,Sd=-1.1,r1=-1.1,hs=-0,el=-1.1,Pr=-1.1,s2=0,ym=null,$5=null,t8=null,bu=-1.1,mf=null,Su=-1.1,o1=-1.1,e8=-0,n8=-0,s1=0,nl=null,i8=0,bm=-1.1,l1=!1,u1=!1,Sm=null,l2=0,gf=0,xd=null,a8=it.S;it.S=function(a,o){if($8=Di(),typeof o=="object"&&o!==null&&typeof o.then=="function"){if(0>el&&0>Pr){el=$n();var u=W0(),f=Z0();(u!==Su||f!==mf)&&(Su=-1.1),bu=u,mf=f}vq(a,o)}a8!==null&&a8(a,o)};var vf=Z(null),wo={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},xm=[],Am=[],wm=[],Em=[],Tm=[],Cm=[],yf=new Set;wo.recordUnsafeLifecycleWarnings=function(a,o){yf.has(a.type)||(typeof o.componentWillMount=="function"&&o.componentWillMount.__suppressDeprecationWarning!==!0&&xm.push(a),a.mode&$i&&typeof o.UNSAFE_componentWillMount=="function"&&Am.push(a),typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&wm.push(a),a.mode&$i&&typeof o.UNSAFE_componentWillReceiveProps=="function"&&Em.push(a),typeof o.componentWillUpdate=="function"&&o.componentWillUpdate.__suppressDeprecationWarning!==!0&&Tm.push(a),a.mode&$i&&typeof o.UNSAFE_componentWillUpdate=="function"&&Cm.push(a))},wo.flushPendingUnsafeLifecycleWarnings=function(){var a=new Set;0<xm.length&&(xm.forEach(function(w){a.add(q(w)||"Component"),yf.add(w.type)}),xm=[]);var o=new Set;0<Am.length&&(Am.forEach(function(w){o.add(q(w)||"Component"),yf.add(w.type)}),Am=[]);var u=new Set;0<wm.length&&(wm.forEach(function(w){u.add(q(w)||"Component"),yf.add(w.type)}),wm=[]);var f=new Set;0<Em.length&&(Em.forEach(function(w){f.add(q(w)||"Component"),yf.add(w.type)}),Em=[]);var p=new Set;0<Tm.length&&(Tm.forEach(function(w){p.add(q(w)||"Component"),yf.add(w.type)}),Tm=[]);var g=new Set;if(0<Cm.length&&(Cm.forEach(function(w){g.add(q(w)||"Component"),yf.add(w.type)}),Cm=[]),0<o.size){var S=v(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`,S)}0<f.size&&(S=v(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`,S)),0<g.size&&(S=v(g),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`,S)),0<a.size&&(S=v(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`,S)),0<u.size&&(S=v(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`,S)),0<p.size&&(S=v(p),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`,S))};var c1=new Map,r8=new Set;wo.recordLegacyContextWarning=function(a,o){for(var u=null,f=a;f!==null;)f.mode&$i&&(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."):!r8.has(a.type)&&(f=c1.get(u),a.type.contextTypes!=null||a.type.childContextTypes!=null||o!==null&&typeof o.getChildContext=="function")&&(f===void 0&&(f=[],c1.set(u,f)),f.push(a))},wo.flushLegacyContextWarning=function(){c1.forEach(function(a){if(a.length!==0){var o=a[0],u=new Set;a.forEach(function(p){u.add(q(p)||"Component"),r8.add(p.type)});var f=v(u);pt(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)})}})},wo.discardPendingWarnings=function(){xm=[],Am=[],wm=[],Em=[],Tm=[],Cm=[],c1=new Map};var o8={react_stack_bottom_frame:function(a,o,u){var f=rs;rs=!0;try{return a(o,u)}finally{rs=f}}},u2=o8.react_stack_bottom_frame.bind(o8),s8={react_stack_bottom_frame:function(a){var o=rs;rs=!0;try{return a.render()}finally{rs=o}}},l8=s8.react_stack_bottom_frame.bind(s8),u8={react_stack_bottom_frame:function(a,o){try{o.componentDidMount()}catch(u){Pe(a,a.return,u)}}},c2=u8.react_stack_bottom_frame.bind(u8),c8={react_stack_bottom_frame:function(a,o,u,f,p){try{o.componentDidUpdate(u,f,p)}catch(g){Pe(a,a.return,g)}}},f8=c8.react_stack_bottom_frame.bind(c8),h8={react_stack_bottom_frame:function(a,o){var u=o.stack;a.componentDidCatch(o.value,{componentStack:u!==null?u:""})}},$G=h8.react_stack_bottom_frame.bind(h8),d8={react_stack_bottom_frame:function(a,o,u){try{u.componentWillUnmount()}catch(f){Pe(a,o,f)}}},p8=d8.react_stack_bottom_frame.bind(d8),m8={react_stack_bottom_frame:function(a){var o=a.create;return a=a.inst,o=o(),a.destroy=o}},tI=m8.react_stack_bottom_frame.bind(m8),g8={react_stack_bottom_frame:function(a,o,u){try{u()}catch(f){Pe(a,o,f)}}},eI=g8.react_stack_bottom_frame.bind(g8),v8={react_stack_bottom_frame:function(a){var o=a._init;return o(a._payload)}},nI=v8.react_stack_bottom_frame.bind(v8),Ad=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`."),f2=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."),f1=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."),h1={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.')}},bf=null,Dm=!1,wd=null,Rm=0,le=null,h2,y8=h2=!1,b8={},S8={},x8={};m=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=q(a),p=f||"null";if(!b8[p]){b8[p]=!0,u=u._owner,a=a._debugOwner;var g="";a&&typeof a.tag=="number"&&(p=q(a))&&(g=`
228
-
229
- Check the render method of \``+p+"`."),g||f&&(g=`
230
-
231
- Check the top-level render call using <`+f+">.");var S="";u!=null&&a!==u&&(f=null,typeof u.tag=="number"?f=q(u):typeof u.name=="string"&&(f=u.name),f&&(S=" It was passed a child from "+f+".")),pt(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.',g,S)})}}};var Sf=dF(!0),A8=dF(!1),w8=0,E8=1,T8=2,d2=3,xu=!1,C8=!1,p2=null,m2=!1,Ed=Z(null),d1=Z(0),ur=Z(null),Hr=null,Td=1,Om=2,Gn=Z(0),p1=0,jr=1,ma=2,cr=4,ga=8,Cd,D8=new Set,R8=new Set,g2=new Set,O8=new Set,il=0,It=null,tn=null,ti=null,m1=!1,Dd=!1,xf=!1,g1=0,Mm=0,al=null,iI=0,aI=25,et=null,qr=null,rl=-1,_m=!1,Fm={readContext:gn,use:iu,useCallback:Un,useContext:Un,useEffect:Un,useImperativeHandle:Un,useLayoutEffect:Un,useInsertionEffect:Un,useMemo:Un,useReducer:Un,useRef:Un,useState:Un,useDebugValue:Un,useDeferredValue:Un,useTransition:Un,useSyncExternalStore:Un,useId:Un,useHostTransitionStatus:Un,useFormState:Un,useActionState:Un,useOptimistic:Un,useMemoCache:Un,useCacheRefresh:Un};Fm.useEffectEvent=Un;var v2=null,M8=null,y2=null,_8=null,ds=null,Eo=null,v1=null;v2={readContext:function(a){return gn(a)},use:iu,useCallback:function(a,o){return et="useCallback",ge(),Vh(o),pE(a,o)},useContext:function(a){return et="useContext",ge(),gn(a)},useEffect:function(a,o){return et="useEffect",ge(),Vh(o),cb(a,o)},useImperativeHandle:function(a,o,u){return et="useImperativeHandle",ge(),Vh(u),dE(a,o,u)},useInsertionEffect:function(a,o){et="useInsertionEffect",ge(),Vh(o),rf(4,ma,a,o)},useLayoutEffect:function(a,o){return et="useLayoutEffect",ge(),Vh(o),hE(a,o)},useMemo:function(a,o){et="useMemo",ge(),Vh(o);var u=it.H;it.H=ds;try{return mE(a,o)}finally{it.H=u}},useReducer:function(a,o,u){et="useReducer",ge();var f=it.H;it.H=ds;try{return iE(a,o,u)}finally{it.H=f}},useRef:function(a){return et="useRef",ge(),cE(a)},useState:function(a){et="useState",ge();var o=it.H;it.H=ds;try{return sE(a)}finally{it.H=o}},useDebugValue:function(){et="useDebugValue",ge()},useDeferredValue:function(a,o){return et="useDeferredValue",ge(),gE(a,o)},useTransition:function(){return et="useTransition",ge(),bE()},useSyncExternalStore:function(a,o,u){return et="useSyncExternalStore",ge(),rE(a,o,u)},useId:function(){return et="useId",ge(),SE()},useFormState:function(a,o){return et="useFormState",ge(),rb(),Ih(a,o)},useActionState:function(a,o){return et="useActionState",ge(),Ih(a,o)},useOptimistic:function(a){return et="useOptimistic",ge(),lE(a)},useHostTransitionStatus:of,useMemoCache:af,useCacheRefresh:function(){return et="useCacheRefresh",ge(),xE()},useEffectEvent:function(a){return et="useEffectEvent",ge(),fE(a)}},M8={readContext:function(a){return gn(a)},use:iu,useCallback:function(a,o){return et="useCallback",ft(),pE(a,o)},useContext:function(a){return et="useContext",ft(),gn(a)},useEffect:function(a,o){return et="useEffect",ft(),cb(a,o)},useImperativeHandle:function(a,o,u){return et="useImperativeHandle",ft(),dE(a,o,u)},useInsertionEffect:function(a,o){et="useInsertionEffect",ft(),rf(4,ma,a,o)},useLayoutEffect:function(a,o){return et="useLayoutEffect",ft(),hE(a,o)},useMemo:function(a,o){et="useMemo",ft();var u=it.H;it.H=ds;try{return mE(a,o)}finally{it.H=u}},useReducer:function(a,o,u){et="useReducer",ft();var f=it.H;it.H=ds;try{return iE(a,o,u)}finally{it.H=f}},useRef:function(a){return et="useRef",ft(),cE(a)},useState:function(a){et="useState",ft();var o=it.H;it.H=ds;try{return sE(a)}finally{it.H=o}},useDebugValue:function(){et="useDebugValue",ft()},useDeferredValue:function(a,o){return et="useDeferredValue",ft(),gE(a,o)},useTransition:function(){return et="useTransition",ft(),bE()},useSyncExternalStore:function(a,o,u){return et="useSyncExternalStore",ft(),rE(a,o,u)},useId:function(){return et="useId",ft(),SE()},useActionState:function(a,o){return et="useActionState",ft(),Ih(a,o)},useFormState:function(a,o){return et="useFormState",ft(),rb(),Ih(a,o)},useOptimistic:function(a){return et="useOptimistic",ft(),lE(a)},useHostTransitionStatus:of,useMemoCache:af,useCacheRefresh:function(){return et="useCacheRefresh",ft(),xE()},useEffectEvent:function(a){return et="useEffectEvent",ft(),fE(a)}},y2={readContext:function(a){return gn(a)},use:iu,useCallback:function(a,o){return et="useCallback",ft(),db(a,o)},useContext:function(a){return et="useContext",ft(),gn(a)},useEffect:function(a,o){et="useEffect",ft(),_a(2048,ga,a,o)},useImperativeHandle:function(a,o,u){return et="useImperativeHandle",ft(),hb(a,o,u)},useInsertionEffect:function(a,o){return et="useInsertionEffect",ft(),_a(4,ma,a,o)},useLayoutEffect:function(a,o){return et="useLayoutEffect",ft(),_a(4,cr,a,o)},useMemo:function(a,o){et="useMemo",ft();var u=it.H;it.H=Eo;try{return pb(a,o)}finally{it.H=u}},useReducer:function(a,o,u){et="useReducer",ft();var f=it.H;it.H=Eo;try{return Gh(a,o,u)}finally{it.H=f}},useRef:function(){return et="useRef",ft(),Ge().memoizedState},useState:function(){et="useState",ft();var a=it.H;it.H=Eo;try{return Gh(yo)}finally{it.H=a}},useDebugValue:function(){et="useDebugValue",ft()},useDeferredValue:function(a,o){return et="useDeferredValue",ft(),kF(a,o)},useTransition:function(){return et="useTransition",ft(),jF()},useSyncExternalStore:function(a,o,u){return et="useSyncExternalStore",ft(),sb(a,o,u)},useId:function(){return et="useId",ft(),Ge().memoizedState},useFormState:function(a){return et="useFormState",ft(),rb(),lb(a)},useActionState:function(a){return et="useActionState",ft(),lb(a)},useOptimistic:function(a,o){return et="useOptimistic",ft(),TF(a,o)},useHostTransitionStatus:of,useMemoCache:af,useCacheRefresh:function(){return et="useCacheRefresh",ft(),Ge().memoizedState},useEffectEvent:function(a){return et="useEffectEvent",ft(),fb(a)}},_8={readContext:function(a){return gn(a)},use:iu,useCallback:function(a,o){return et="useCallback",ft(),db(a,o)},useContext:function(a){return et="useContext",ft(),gn(a)},useEffect:function(a,o){et="useEffect",ft(),_a(2048,ga,a,o)},useImperativeHandle:function(a,o,u){return et="useImperativeHandle",ft(),hb(a,o,u)},useInsertionEffect:function(a,o){return et="useInsertionEffect",ft(),_a(4,ma,a,o)},useLayoutEffect:function(a,o){return et="useLayoutEffect",ft(),_a(4,cr,a,o)},useMemo:function(a,o){et="useMemo",ft();var u=it.H;it.H=v1;try{return pb(a,o)}finally{it.H=u}},useReducer:function(a,o,u){et="useReducer",ft();var f=it.H;it.H=v1;try{return U0(a,o,u)}finally{it.H=f}},useRef:function(){return et="useRef",ft(),Ge().memoizedState},useState:function(){et="useState",ft();var a=it.H;it.H=v1;try{return U0(yo)}finally{it.H=a}},useDebugValue:function(){et="useDebugValue",ft()},useDeferredValue:function(a,o){return et="useDeferredValue",ft(),LF(a,o)},useTransition:function(){return et="useTransition",ft(),qF()},useSyncExternalStore:function(a,o,u){return et="useSyncExternalStore",ft(),sb(a,o,u)},useId:function(){return et="useId",ft(),Ge().memoizedState},useFormState:function(a){return et="useFormState",ft(),rb(),ub(a)},useActionState:function(a){return et="useActionState",ft(),ub(a)},useOptimistic:function(a,o){return et="useOptimistic",ft(),DF(a,o)},useHostTransitionStatus:of,useMemoCache:af,useCacheRefresh:function(){return et="useCacheRefresh",ft(),Ge().memoizedState},useEffectEvent:function(a){return et="useEffectEvent",ft(),fb(a)}},ds={readContext:function(a){return h(),gn(a)},use:function(a){return c(),iu(a)},useCallback:function(a,o){return et="useCallback",c(),ge(),pE(a,o)},useContext:function(a){return et="useContext",c(),ge(),gn(a)},useEffect:function(a,o){return et="useEffect",c(),ge(),cb(a,o)},useImperativeHandle:function(a,o,u){return et="useImperativeHandle",c(),ge(),dE(a,o,u)},useInsertionEffect:function(a,o){et="useInsertionEffect",c(),ge(),rf(4,ma,a,o)},useLayoutEffect:function(a,o){return et="useLayoutEffect",c(),ge(),hE(a,o)},useMemo:function(a,o){et="useMemo",c(),ge();var u=it.H;it.H=ds;try{return mE(a,o)}finally{it.H=u}},useReducer:function(a,o,u){et="useReducer",c(),ge();var f=it.H;it.H=ds;try{return iE(a,o,u)}finally{it.H=f}},useRef:function(a){return et="useRef",c(),ge(),cE(a)},useState:function(a){et="useState",c(),ge();var o=it.H;it.H=ds;try{return sE(a)}finally{it.H=o}},useDebugValue:function(){et="useDebugValue",c(),ge()},useDeferredValue:function(a,o){return et="useDeferredValue",c(),ge(),gE(a,o)},useTransition:function(){return et="useTransition",c(),ge(),bE()},useSyncExternalStore:function(a,o,u){return et="useSyncExternalStore",c(),ge(),rE(a,o,u)},useId:function(){return et="useId",c(),ge(),SE()},useFormState:function(a,o){return et="useFormState",c(),ge(),Ih(a,o)},useActionState:function(a,o){return et="useActionState",c(),ge(),Ih(a,o)},useOptimistic:function(a){return et="useOptimistic",c(),ge(),lE(a)},useMemoCache:function(a){return c(),af(a)},useHostTransitionStatus:of,useCacheRefresh:function(){return et="useCacheRefresh",ge(),xE()},useEffectEvent:function(a){return et="useEffectEvent",c(),ge(),fE(a)}},Eo={readContext:function(a){return h(),gn(a)},use:function(a){return c(),iu(a)},useCallback:function(a,o){return et="useCallback",c(),ft(),db(a,o)},useContext:function(a){return et="useContext",c(),ft(),gn(a)},useEffect:function(a,o){et="useEffect",c(),ft(),_a(2048,ga,a,o)},useImperativeHandle:function(a,o,u){return et="useImperativeHandle",c(),ft(),hb(a,o,u)},useInsertionEffect:function(a,o){return et="useInsertionEffect",c(),ft(),_a(4,ma,a,o)},useLayoutEffect:function(a,o){return et="useLayoutEffect",c(),ft(),_a(4,cr,a,o)},useMemo:function(a,o){et="useMemo",c(),ft();var u=it.H;it.H=Eo;try{return pb(a,o)}finally{it.H=u}},useReducer:function(a,o,u){et="useReducer",c(),ft();var f=it.H;it.H=Eo;try{return Gh(a,o,u)}finally{it.H=f}},useRef:function(){return et="useRef",c(),ft(),Ge().memoizedState},useState:function(){et="useState",c(),ft();var a=it.H;it.H=Eo;try{return Gh(yo)}finally{it.H=a}},useDebugValue:function(){et="useDebugValue",c(),ft()},useDeferredValue:function(a,o){return et="useDeferredValue",c(),ft(),kF(a,o)},useTransition:function(){return et="useTransition",c(),ft(),jF()},useSyncExternalStore:function(a,o,u){return et="useSyncExternalStore",c(),ft(),sb(a,o,u)},useId:function(){return et="useId",c(),ft(),Ge().memoizedState},useFormState:function(a){return et="useFormState",c(),ft(),lb(a)},useActionState:function(a){return et="useActionState",c(),ft(),lb(a)},useOptimistic:function(a,o){return et="useOptimistic",c(),ft(),TF(a,o)},useMemoCache:function(a){return c(),af(a)},useHostTransitionStatus:of,useCacheRefresh:function(){return et="useCacheRefresh",ft(),Ge().memoizedState},useEffectEvent:function(a){return et="useEffectEvent",c(),ft(),fb(a)}},v1={readContext:function(a){return h(),gn(a)},use:function(a){return c(),iu(a)},useCallback:function(a,o){return et="useCallback",c(),ft(),db(a,o)},useContext:function(a){return et="useContext",c(),ft(),gn(a)},useEffect:function(a,o){et="useEffect",c(),ft(),_a(2048,ga,a,o)},useImperativeHandle:function(a,o,u){return et="useImperativeHandle",c(),ft(),hb(a,o,u)},useInsertionEffect:function(a,o){return et="useInsertionEffect",c(),ft(),_a(4,ma,a,o)},useLayoutEffect:function(a,o){return et="useLayoutEffect",c(),ft(),_a(4,cr,a,o)},useMemo:function(a,o){et="useMemo",c(),ft();var u=it.H;it.H=Eo;try{return pb(a,o)}finally{it.H=u}},useReducer:function(a,o,u){et="useReducer",c(),ft();var f=it.H;it.H=Eo;try{return U0(a,o,u)}finally{it.H=f}},useRef:function(){return et="useRef",c(),ft(),Ge().memoizedState},useState:function(){et="useState",c(),ft();var a=it.H;it.H=Eo;try{return U0(yo)}finally{it.H=a}},useDebugValue:function(){et="useDebugValue",c(),ft()},useDeferredValue:function(a,o){return et="useDeferredValue",c(),ft(),LF(a,o)},useTransition:function(){return et="useTransition",c(),ft(),qF()},useSyncExternalStore:function(a,o,u){return et="useSyncExternalStore",c(),ft(),sb(a,o,u)},useId:function(){return et="useId",c(),ft(),Ge().memoizedState},useFormState:function(a){return et="useFormState",c(),ft(),ub(a)},useActionState:function(a){return et="useActionState",c(),ft(),ub(a)},useOptimistic:function(a,o){return et="useOptimistic",c(),ft(),DF(a,o)},useMemoCache:function(a){return c(),af(a)},useHostTransitionStatus:of,useCacheRefresh:function(){return et="useCacheRefresh",ft(),Ge().memoizedState},useEffectEvent:function(a){return et="useEffectEvent",c(),ft(),fb(a)}};var F8={},N8=new Set,z8=new Set,k8=new Set,L8=new Set,U8=new Set,B8=new Set,P8=new Set,H8=new Set,j8=new Set,q8=new Set;Object.freeze(F8);var b2={enqueueSetState:function(a,o,u){a=a._reactInternals;var f=ir(a),p=$l(f);p.payload=o,u!=null&&(wE(u),p.callback=u),o=tu(a,p,f),o!==null&&(Go(f,"this.setState()",a),Fn(o,a,f),N0(o,a,f))},enqueueReplaceState:function(a,o,u){a=a._reactInternals;var f=ir(a),p=$l(f);p.tag=E8,p.payload=o,u!=null&&(wE(u),p.callback=u),o=tu(a,p,f),o!==null&&(Go(f,"this.replaceState()",a),Fn(o,a,f),N0(o,a,f))},enqueueForceUpdate:function(a,o){a=a._reactInternals;var u=ir(a),f=$l(u);f.tag=T8,o!=null&&(wE(o),f.callback=o),o=tu(a,f,u),o!==null&&(Go(u,"this.forceUpdate()",a),Fn(o,a,u),N0(o,a,u))}},Rd=null,S2=null,x2=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."),ei=!1,V8={},G8={},I8={},X8={},Od=!1,Y8={},y1={},A2={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},K8=!1,Z8=null;Z8=new Set;var ol=!1,ni=!1,w2=!1,W8=typeof WeakSet=="function"?WeakSet:Set,Oi=null,Md=null,_d=null,ii=null,za=!1,To=null,gi=!1,Nm=8192,rI={getCacheForType:function(a){var o=gn(Jn),u=o.data.get(a);return u===void 0&&(u=a(),o.data.set(a,u)),u},cacheSignal:function(){return gn(Jn).controller.signal},getOwner:function(){return or}};if(typeof Symbol=="function"&&Symbol.for){var zm=Symbol.for;zm("selector.component"),zm("selector.has_pseudo_class"),zm("selector.role"),zm("selector.test_id"),zm("selector.text")}var oI=[],sI=typeof WeakMap=="function"?WeakMap:Map,Mi=0,vi=2,fr=4,sl=0,km=1,Af=2,b1=3,Au=4,S1=6,Q8=5,Fe=Mi,en=null,de=null,ue=0,ka=0,x1=1,wf=2,Lm=3,J8=4,E2=5,Um=6,A1=7,T2=8,Ef=9,Ie=ka,hr=null,wu=!1,Fd=!1,C2=!1,ps=0,Tn=sl,Eu=0,Tu=0,D2=0,La=0,Tf=0,Bm=null,va=null,w1=!1,E1=0,$8=0,tk=300,T1=1/0,ek=500,Pm=null,Bn=null,Cu=null,C1=0,R2=1,O2=2,nk=3,Du=0,ik=1,ak=2,rk=3,ok=4,D1=5,ai=0,Ru=null,Nd=null,Co=0,M2=0,_2=-0,F2=null,sk=null,lk=null,Do=C1,uk=null,lI=50,Hm=0,N2=null,z2=!1,R1=!1,uI=50,Cf=0,jm=null,zd=!1,O1=null,ck=!1,fk=new Set,cI={},M1=null,kd=null,k2=!1,L2=!1,_1=!1,U2=!1,Ou=0,B2={};(function(){for(var a=0;a<ZT.length;a++){var o=ZT[a],u=o.toLowerCase();o=o[0].toUpperCase()+o.slice(1),vo(u,"on"+o)}vo(j5,"onAnimationEnd"),vo(q5,"onAnimationIteration"),vo(V5,"onAnimationStart"),vo("dblclick","onDoubleClick"),vo("focusin","onFocus"),vo("focusout","onBlur"),vo(HG,"onTransitionRun"),vo(jG,"onTransitionStart"),vo(qG,"onTransitionCancel"),vo(G5,"onTransitionEnd")})(),Wa("onMouseEnter",["mouseout","mouseover"]),Wa("onMouseLeave",["mouseout","mouseover"]),Wa("onPointerEnter",["pointerout","pointerover"]),Wa("onPointerLeave",["pointerout","pointerover"]),Wi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Wi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Wi("onBeforeInput",["compositionend","keypress","textInput","paste"]),Wi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Wi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Wi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var qm="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(" "),P2=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(qm)),F1="_reactListening"+Math.random().toString(36).slice(2),hk=!1,dk=!1,N1=!1,pk=!1,z1=!1,k1=!1,mk=!1,L1={},fI=/\r\n?/g,hI=/\u0000|\uFFFD/g,Df="http://www.w3.org/1999/xlink",H2="http://www.w3.org/XML/1998/namespace",dI="javascript:throw new Error('React form unexpectedly submitted.')",pI="suppressHydrationWarning",Rf="&",U1="/&",Vm="$",Gm="/$",Mu="$?",Of="$~",Ld="$!",mI="html",gI="body",vI="head",j2="F!",gk="F",vk="loading",yI="style",ll=0,Ud=1,B1=2,q2=null,V2=null,yk={dialog:!0,webview:!0},G2=null,Im=void 0,bk=typeof setTimeout=="function"?setTimeout:void 0,bI=typeof clearTimeout=="function"?clearTimeout:void 0,Mf=-1,Sk=typeof Promise=="function"?Promise:void 0,SI=typeof queueMicrotask=="function"?queueMicrotask:typeof Sk<"u"?function(a){return Sk.resolve(null).then(a).catch(iV)}:bk,I2=null,_f=0,Xm=1,xk=2,Ak=3,Vr=4,Gr=new Map,wk=new Set,ul=He.d;He.d={f:function(){var a=ul.f(),o=Wh();return a||o},r:function(a){var o=Zt(a);o!==null&&o.tag===5&&o.type==="form"?HF(o):ul.r(a)},D:function(a){ul.D(a),Nz("dns-prefetch",a,null)},C:function(a,o){ul.C(a,o),Nz("preconnect",a,o)},L:function(a,o,u){ul.L(a,o,u);var f=Bd;if(f&&a&&o){var p='link[rel="preload"][as="'+_r(o)+'"]';o==="image"&&u&&u.imageSrcSet?(p+='[imagesrcset="'+_r(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(p+='[imagesizes="'+_r(u.imageSizes)+'"]')):p+='[href="'+_r(a)+'"]';var g=p;switch(o){case"style":g=$h(a);break;case"script":g=td(a)}Gr.has(g)||(a=ve({rel:"preload",href:o==="image"&&u&&u.imageSrcSet?void 0:a,as:o},u),Gr.set(g,a),f.querySelector(p)!==null||o==="style"&&f.querySelector(J0(g))||o==="script"&&f.querySelector($0(g))||(o=f.createElement("link"),Bi(o,"link",a),kt(o),f.head.appendChild(o)))}},m:function(a,o){ul.m(a,o);var u=Bd;if(u&&a){var f=o&&typeof o.as=="string"?o.as:"script",p='link[rel="modulepreload"][as="'+_r(f)+'"][href="'+_r(a)+'"]',g=p;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=td(a)}if(!Gr.has(g)&&(a=ve({rel:"modulepreload",href:a},o),Gr.set(g,a),u.querySelector(p)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector($0(g)))return}f=u.createElement("link"),Bi(f,"link",a),kt(f),u.head.appendChild(f)}}},X:function(a,o){ul.X(a,o);var u=Bd;if(u&&a){var f=Le(u).hoistableScripts,p=td(a),g=f.get(p);g||(g=u.querySelector($0(p)),g||(a=ve({src:a,async:!0},o),(o=Gr.get(p))&&dT(a,o),g=u.createElement("script"),kt(g),Bi(g,"link",a),u.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},f.set(p,g))}},S:function(a,o,u){ul.S(a,o,u);var f=Bd;if(f&&a){var p=Le(f).hoistableStyles,g=$h(a);o=o||"default";var S=p.get(g);if(!S){var w={loading:_f,preload:null};if(S=f.querySelector(J0(g)))w.loading=Xm|Vr;else{a=ve({rel:"stylesheet",href:a,"data-precedence":o},u),(u=Gr.get(g))&&hT(a,u);var R=S=f.createElement("link");kt(R),Bi(R,"link",a),R._p=new Promise(function(M,Y){R.onload=M,R.onerror=Y}),R.addEventListener("load",function(){w.loading|=Xm}),R.addEventListener("error",function(){w.loading|=xk}),w.loading|=Vr,Nb(S,o,f)}S={type:"stylesheet",instance:S,count:1,state:w},p.set(g,S)}}},M:function(a,o){ul.M(a,o);var u=Bd;if(u&&a){var f=Le(u).hoistableScripts,p=td(a),g=f.get(p);g||(g=u.querySelector($0(p)),g||(a=ve({src:a,async:!0,type:"module"},o),(o=Gr.get(p))&&dT(a,o),g=u.createElement("script"),kt(g),Bi(g,"link",a),u.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},f.set(p,g))}}};var Bd=typeof document>"u"?null:document,P1=null,xI=6e4,AI=800,wI=500,X2=0,Y2=null,H1=null,Ff=BV,Ym={$$typeof:as,Provider:null,Consumer:null,_currentValue:Ff,_currentValue2:Ff,_threadCount:0},Ek="%c%s%c",Tk="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",Ck="",j1=" ",EI=Function.prototype.bind,Dk=!1,Rk=null,Ok=null,Mk=null,_k=null,Fk=null,Nk=null,zk=null,kk=null,Lk=null,Uk=null;Rk=function(a,o,u,f){o=n(a,o),o!==null&&(u=t(o.memoizedState,u,0,f),o.memoizedState=u,o.baseState=u,a.memoizedProps=ve({},a.memoizedProps),u=Qi(a,2),u!==null&&Fn(u,a,2))},Ok=function(a,o,u){o=n(a,o),o!==null&&(u=r(o.memoizedState,u,0),o.memoizedState=u,o.baseState=u,a.memoizedProps=ve({},a.memoizedProps),u=Qi(a,2),u!==null&&Fn(u,a,2))},Mk=function(a,o,u,f){o=n(a,o),o!==null&&(u=e(o.memoizedState,u,f),o.memoizedState=u,o.baseState=u,a.memoizedProps=ve({},a.memoizedProps),u=Qi(a,2),u!==null&&Fn(u,a,2))},_k=function(a,o,u){a.pendingProps=t(a.memoizedProps,o,0,u),a.alternate&&(a.alternate.pendingProps=a.pendingProps),o=Qi(a,2),o!==null&&Fn(o,a,2)},Fk=function(a,o){a.pendingProps=r(a.memoizedProps,o,0),a.alternate&&(a.alternate.pendingProps=a.pendingProps),o=Qi(a,2),o!==null&&Fn(o,a,2)},Nk=function(a,o,u){a.pendingProps=e(a.memoizedProps,o,u),a.alternate&&(a.alternate.pendingProps=a.pendingProps),o=Qi(a,2),o!==null&&Fn(o,a,2)},zk=function(a){var o=Qi(a,2);o!==null&&Fn(o,a,2)},kk=function(a){var o=Lh(),u=Qi(a,o);u!==null&&Fn(u,a,o)},Lk=function(a){l=a},Uk=function(a){s=a};var q1=!0,V1=null,K2=!1,_u=null,Fu=null,Nu=null,Km=new Map,Zm=new Map,zu=[],TI="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(" "),G1=null;if(Bb.prototype.render=bT.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()."):C(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,p=ir(f);pT(f,p,u,o,null,null)},Bb.prototype.unmount=bT.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;(Fe&(vi|fr))!==Mi&&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."),pT(a.current,2,null,a,null,null),Wh(),o[cu]=null}},Bb.prototype.unstable_scheduleHydration=function(a){if(a){var o=Q();a={blockedOn:null,target:a,priority:o};for(var u=0;u<zu.length&&o!==0&&o<zu[u].priority;u++);zu.splice(u,0,a),u===0&&Yz(a)}},(function(){var a=ST.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"),He.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=F(o),a=a!==null?U(a):null,a=a===null?null:a.stateNode,a},!(function(){var a={bundleType:1,version:"19.2.5",rendererPackageName:"react-dom",currentDispatcherRef:it,reconcilerVersion:"19.2.5"};return a.overrideHookState=Rk,a.overrideHookStateDeletePath=Ok,a.overrideHookStateRenamePath=Mk,a.overrideProps=_k,a.overridePropsDeletePath=Fk,a.overridePropsRenamePath=Nk,a.scheduleUpdate=zk,a.scheduleRetry=kk,a.setErrorHandler=Lk,a.setSuspenseHandler=Uk,a.scheduleRefresh=x,a.scheduleRoot=b,a.setRefreshHandler=E,a.getCurrentFiber=OV,kh(a)})()&&us&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var Bk=window.location.protocol;/^(https?|file):$/.test(Bk)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(Bk==="file:"?`
235
- You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}wx.createRoot=function(a,o){if(!C(a))throw Error("Target container is not a DOM element.");Qz(a);var u=!1,f="",p=KF,g=ZF,S=WF;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===is&&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&&(p=o.onUncaughtError),o.onCaughtError!==void 0&&(g=o.onCaughtError),o.onRecoverableError!==void 0&&(S=o.onRecoverableError)),o=Hz(a,1,!1,null,null,u,f,null,p,g,S,Wz),a[cu]=o.current,tT(a),new bT(o)},wx.hydrateRoot=function(a,o,u){if(!C(a))throw Error("Target container is not a DOM element.");Qz(a),o===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var f=!1,p="",g=KF,S=ZF,w=WF,R=null;return u!=null&&(u.unstable_strictMode===!0&&(f=!0),u.identifierPrefix!==void 0&&(p=u.identifierPrefix),u.onUncaughtError!==void 0&&(g=u.onUncaughtError),u.onCaughtError!==void 0&&(S=u.onCaughtError),u.onRecoverableError!==void 0&&(w=u.onRecoverableError),u.formState!==void 0&&(R=u.formState)),o=Hz(a,1,!0,o,u??null,f,p,R,g,S,w,Wz),o.context=jz(null),u=o.current,f=ir(u),f=Yc(f),p=$l(f),p.callback=null,tu(u,p,f),Go(f,"hydrateRoot()",null),u=f,o.current.lanes=u,Xl(o,u),es(o),a[cu]=o.current,tT(a),new Bb(o)},wx.version="19.2.5",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var DB=je((Htt,PR)=>{"use strict";function CB(){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(CB)}catch(n){console.error(n)}}}process.env.NODE_ENV==="production"?(CB(),PR.exports=EB()):PR.exports=TB()});var iP=je(gA=>{"use strict";var EZ=Symbol.for("react.transitional.element"),TZ=Symbol.for("react.fragment");function nP(n,t,e){var i=null;if(e!==void 0&&(i=""+e),t.key!==void 0&&(i=""+t.key),"key"in t){e={};for(var r in t)r!=="key"&&(e[r]=t[r])}else e=t;return t=e.ref,{$$typeof:EZ,type:n,key:i,ref:t!==void 0?t:null,props:e}}gA.Fragment=TZ;gA.jsx=nP;gA.jsxs=nP});var aP=je(vA=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function n(tt){if(tt==null)return null;if(typeof tt=="function")return tt.$$typeof===Z?null:tt.displayName||tt.name||null;if(typeof tt=="string")return tt;switch(tt){case C:return"Fragment";case T:return"Profiler";case A:return"StrictMode";case U:return"Suspense";case L:return"SuspenseList";case q:return"Activity"}if(typeof tt=="object")switch(typeof tt.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),tt.$$typeof){case E:return"Portal";case O:return tt.displayName||"Context";case D:return(tt._context.displayName||"Context")+".Consumer";case F:var gt=tt.render;return tt=tt.displayName,tt||(tt=gt.displayName||gt.name||"",tt=tt!==""?"ForwardRef("+tt+")":"ForwardRef"),tt;case k:return gt=tt.displayName||null,gt!==null?gt:n(tt.type)||"Memo";case G:gt=tt._payload,tt=tt._init;try{return n(tt(gt))}catch{}}return null}function t(tt){return""+tt}function e(tt){try{t(tt);var gt=!1}catch{gt=!0}if(gt){gt=console;var bt=gt.error,Pt=typeof Symbol=="function"&&Symbol.toStringTag&&tt[Symbol.toStringTag]||tt.constructor.name||"Object";return bt.call(gt,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Pt),t(tt)}}function i(tt){if(tt===C)return"<>";if(typeof tt=="object"&&tt!==null&&tt.$$typeof===G)return"<...>";try{var gt=n(tt);return gt?"<"+gt+">":"<...>"}catch{return"<...>"}}function r(){var tt=J.A;return tt===null?null:tt.getOwner()}function s(){return Error("react-stack-top-frame")}function l(tt){if(nt.call(tt,"key")){var gt=Object.getOwnPropertyDescriptor(tt,"key").get;if(gt&&gt.isReactWarning)return!1}return tt.key!==void 0}function c(tt,gt){function bt(){X||(X=!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)",gt))}bt.isReactWarning=!0,Object.defineProperty(tt,"key",{get:bt,configurable:!0})}function h(){var tt=n(this.type);return V[tt]||(V[tt]=!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.")),tt=this.props.ref,tt!==void 0?tt:null}function d(tt,gt,bt,Pt,mn,Ye){var Et=bt.ref;return tt={$$typeof:x,type:tt,key:gt,props:bt,_owner:Pt},(Et!==void 0?Et:null)!==null?Object.defineProperty(tt,"ref",{enumerable:!1,get:h}):Object.defineProperty(tt,"ref",{enumerable:!1,value:null}),tt._store={},Object.defineProperty(tt._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(tt,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(tt,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:mn}),Object.defineProperty(tt,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Ye}),Object.freeze&&(Object.freeze(tt.props),Object.freeze(tt)),tt}function m(tt,gt,bt,Pt,mn,Ye){var Et=gt.children;if(Et!==void 0)if(Pt)if(ot(Et)){for(Pt=0;Pt<Et.length;Pt++)v(Et[Pt]);Object.freeze&&Object.freeze(Et)}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 v(Et);if(nt.call(gt,"key")){Et=n(tt);var Ke=Object.keys(gt).filter(function(Ei){return Ei!=="key"});Pt=0<Ke.length?"{key: someKey, "+Ke.join(": ..., ")+": ...}":"{key: someKey}",re[Et+Pt]||(Ke=0<Ke.length?"{"+Ke.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} />`,Pt,Et,Ke,Et),re[Et+Pt]=!0)}if(Et=null,bt!==void 0&&(e(bt),Et=""+bt),l(gt)&&(e(gt.key),Et=""+gt.key),"key"in gt){bt={};for(var Ln in gt)Ln!=="key"&&(bt[Ln]=gt[Ln])}else bt=gt;return Et&&c(bt,typeof tt=="function"?tt.displayName||tt.name||"Unknown":tt),d(tt,Et,bt,r(),mn,Ye)}function v(tt){y(tt)?tt._store&&(tt._store.validated=1):typeof tt=="object"&&tt!==null&&tt.$$typeof===G&&(tt._payload.status==="fulfilled"?y(tt._payload.value)&&tt._payload.value._store&&(tt._payload.value._store.validated=1):tt._store&&(tt._store.validated=1))}function y(tt){return typeof tt=="object"&&tt!==null&&tt.$$typeof===x}var b=Ir(),x=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),T=Symbol.for("react.profiler"),D=Symbol.for("react.consumer"),O=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),k=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),Z=Symbol.for("react.client.reference"),J=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,nt=Object.prototype.hasOwnProperty,ot=Array.isArray,B=console.createTask?console.createTask:function(){return null};b={react_stack_bottom_frame:function(tt){return tt()}};var X,V={},lt=b.react_stack_bottom_frame.bind(b,s)(),dt=B(i(s)),re={};vA.Fragment=C,vA.jsx=function(tt,gt,bt){var Pt=1e4>J.recentlyCreatedOwnerStacks++;return m(tt,gt,bt,!1,Pt?Error("react-stack-top-frame"):lt,Pt?B(i(tt)):dt)},vA.jsxs=function(tt,gt,bt){var Pt=1e4>J.recentlyCreatedOwnerStacks++;return m(tt,gt,bt,!0,Pt?Error("react-stack-top-frame"):lt,Pt?B(i(tt)):dt)}})()});var Aa=je((Let,vM)=>{"use strict";process.env.NODE_ENV==="production"?vM.exports=iP():vM.exports=aP()});var kl=je(Ea=>{"use strict";var WZ=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";function QZ(n,t){return Object.prototype.hasOwnProperty.call(n,t)}Ea.assign=function(n){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var e=t.shift();if(e){if(typeof e!="object")throw new TypeError(e+"must be non-object");for(var i in e)QZ(e,i)&&(n[i]=e[i])}}return n};Ea.shrinkBuf=function(n,t){return n.length===t?n:n.subarray?n.subarray(0,t):(n.length=t,n)};var JZ={arraySet:function(n,t,e,i,r){if(t.subarray&&n.subarray){n.set(t.subarray(e,e+i),r);return}for(var s=0;s<i;s++)n[r+s]=t[e+s]},flattenChunks:function(n){var t,e,i,r,s,l;for(i=0,t=0,e=n.length;t<e;t++)i+=n[t].length;for(l=new Uint8Array(i),r=0,t=0,e=n.length;t<e;t++)s=n[t],l.set(s,r),r+=s.length;return l}},$Z={arraySet:function(n,t,e,i,r){for(var s=0;s<i;s++)n[r+s]=t[e+s]},flattenChunks:function(n){return[].concat.apply([],n)}};Ea.setTyped=function(n){n?(Ea.Buf8=Uint8Array,Ea.Buf16=Uint16Array,Ea.Buf32=Int32Array,Ea.assign(Ea,JZ)):(Ea.Buf8=Array,Ea.Buf16=Array,Ea.Buf32=Array,Ea.assign(Ea,$Z))};Ea.setTyped(WZ)});var vH=je(Hp=>{"use strict";var tW=kl(),eW=4,ZP=0,WP=1,nW=2;function Pp(n){for(var t=n.length;--t>=0;)n[t]=0}var iW=0,nH=1,aW=2,rW=3,oW=258,kM=29,Ov=256,Tv=Ov+1+kM,Bp=30,LM=19,iH=2*Tv+1,fh=15,OM=16,sW=7,UM=256,aH=16,rH=17,oH=18,NM=[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],CA=[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],lW=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],sH=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],uW=512,Ll=new Array((Tv+2)*2);Pp(Ll);var Ev=new Array(Bp*2);Pp(Ev);var Cv=new Array(uW);Pp(Cv);var Dv=new Array(oW-rW+1);Pp(Dv);var BM=new Array(kM);Pp(BM);var DA=new Array(Bp);Pp(DA);function MM(n,t,e,i,r){this.static_tree=n,this.extra_bits=t,this.extra_base=e,this.elems=i,this.max_length=r,this.has_stree=n&&n.length}var lH,uH,cH;function _M(n,t){this.dyn_tree=n,this.max_code=0,this.stat_desc=t}function fH(n){return n<256?Cv[n]:Cv[256+(n>>>7)]}function Rv(n,t){n.pending_buf[n.pending++]=t&255,n.pending_buf[n.pending++]=t>>>8&255}function Ya(n,t,e){n.bi_valid>OM-e?(n.bi_buf|=t<<n.bi_valid&65535,Rv(n,n.bi_buf),n.bi_buf=t>>OM-n.bi_valid,n.bi_valid+=e-OM):(n.bi_buf|=t<<n.bi_valid&65535,n.bi_valid+=e)}function Rs(n,t,e){Ya(n,e[t*2],e[t*2+1])}function hH(n,t){var e=0;do e|=n&1,n>>>=1,e<<=1;while(--t>0);return e>>>1}function cW(n){n.bi_valid===16?(Rv(n,n.bi_buf),n.bi_buf=0,n.bi_valid=0):n.bi_valid>=8&&(n.pending_buf[n.pending++]=n.bi_buf&255,n.bi_buf>>=8,n.bi_valid-=8)}function fW(n,t){var e=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,h=t.stat_desc.max_length,d,m,v,y,b,x,E=0;for(y=0;y<=fh;y++)n.bl_count[y]=0;for(e[n.heap[n.heap_max]*2+1]=0,d=n.heap_max+1;d<iH;d++)m=n.heap[d],y=e[e[m*2+1]*2+1]+1,y>h&&(y=h,E++),e[m*2+1]=y,!(m>i)&&(n.bl_count[y]++,b=0,m>=c&&(b=l[m-c]),x=e[m*2],n.opt_len+=x*(y+b),s&&(n.static_len+=x*(r[m*2+1]+b)));if(E!==0){do{for(y=h-1;n.bl_count[y]===0;)y--;n.bl_count[y]--,n.bl_count[y+1]+=2,n.bl_count[h]--,E-=2}while(E>0);for(y=h;y!==0;y--)for(m=n.bl_count[y];m!==0;)v=n.heap[--d],!(v>i)&&(e[v*2+1]!==y&&(n.opt_len+=(y-e[v*2+1])*e[v*2],e[v*2+1]=y),m--)}}function dH(n,t,e){var i=new Array(fh+1),r=0,s,l;for(s=1;s<=fh;s++)i[s]=r=r+e[s-1]<<1;for(l=0;l<=t;l++){var c=n[l*2+1];c!==0&&(n[l*2]=hH(i[c]++,c))}}function hW(){var n,t,e,i,r,s=new Array(fh+1);for(e=0,i=0;i<kM-1;i++)for(BM[i]=e,n=0;n<1<<NM[i];n++)Dv[e++]=i;for(Dv[e-1]=i,r=0,i=0;i<16;i++)for(DA[i]=r,n=0;n<1<<CA[i];n++)Cv[r++]=i;for(r>>=7;i<Bp;i++)for(DA[i]=r<<7,n=0;n<1<<CA[i]-7;n++)Cv[256+r++]=i;for(t=0;t<=fh;t++)s[t]=0;for(n=0;n<=143;)Ll[n*2+1]=8,n++,s[8]++;for(;n<=255;)Ll[n*2+1]=9,n++,s[9]++;for(;n<=279;)Ll[n*2+1]=7,n++,s[7]++;for(;n<=287;)Ll[n*2+1]=8,n++,s[8]++;for(dH(Ll,Tv+1,s),n=0;n<Bp;n++)Ev[n*2+1]=5,Ev[n*2]=hH(n,5);lH=new MM(Ll,NM,Ov+1,Tv,fh),uH=new MM(Ev,CA,0,Bp,fh),cH=new MM(new Array(0),lW,0,LM,sW)}function pH(n){var t;for(t=0;t<Tv;t++)n.dyn_ltree[t*2]=0;for(t=0;t<Bp;t++)n.dyn_dtree[t*2]=0;for(t=0;t<LM;t++)n.bl_tree[t*2]=0;n.dyn_ltree[UM*2]=1,n.opt_len=n.static_len=0,n.last_lit=n.matches=0}function mH(n){n.bi_valid>8?Rv(n,n.bi_buf):n.bi_valid>0&&(n.pending_buf[n.pending++]=n.bi_buf),n.bi_buf=0,n.bi_valid=0}function dW(n,t,e,i){mH(n),i&&(Rv(n,e),Rv(n,~e)),tW.arraySet(n.pending_buf,n.window,t,e,n.pending),n.pending+=e}function QP(n,t,e,i){var r=t*2,s=e*2;return n[r]<n[s]||n[r]===n[s]&&i[t]<=i[e]}function FM(n,t,e){for(var i=n.heap[e],r=e<<1;r<=n.heap_len&&(r<n.heap_len&&QP(t,n.heap[r+1],n.heap[r],n.depth)&&r++,!QP(t,i,n.heap[r],n.depth));)n.heap[e]=n.heap[r],e=r,r<<=1;n.heap[e]=i}function JP(n,t,e){var i,r,s=0,l,c;if(n.last_lit!==0)do i=n.pending_buf[n.d_buf+s*2]<<8|n.pending_buf[n.d_buf+s*2+1],r=n.pending_buf[n.l_buf+s],s++,i===0?Rs(n,r,t):(l=Dv[r],Rs(n,l+Ov+1,t),c=NM[l],c!==0&&(r-=BM[l],Ya(n,r,c)),i--,l=fH(i),Rs(n,l,e),c=CA[l],c!==0&&(i-=DA[l],Ya(n,i,c)));while(s<n.last_lit);Rs(n,UM,t)}function zM(n,t){var e=t.dyn_tree,i=t.stat_desc.static_tree,r=t.stat_desc.has_stree,s=t.stat_desc.elems,l,c,h=-1,d;for(n.heap_len=0,n.heap_max=iH,l=0;l<s;l++)e[l*2]!==0?(n.heap[++n.heap_len]=h=l,n.depth[l]=0):e[l*2+1]=0;for(;n.heap_len<2;)d=n.heap[++n.heap_len]=h<2?++h:0,e[d*2]=1,n.depth[d]=0,n.opt_len--,r&&(n.static_len-=i[d*2+1]);for(t.max_code=h,l=n.heap_len>>1;l>=1;l--)FM(n,e,l);d=s;do l=n.heap[1],n.heap[1]=n.heap[n.heap_len--],FM(n,e,1),c=n.heap[1],n.heap[--n.heap_max]=l,n.heap[--n.heap_max]=c,e[d*2]=e[l*2]+e[c*2],n.depth[d]=(n.depth[l]>=n.depth[c]?n.depth[l]:n.depth[c])+1,e[l*2+1]=e[c*2+1]=d,n.heap[1]=d++,FM(n,e,1);while(n.heap_len>=2);n.heap[--n.heap_max]=n.heap[1],fW(n,t),dH(e,h,n.bl_count)}function $P(n,t,e){var i,r=-1,s,l=t[1],c=0,h=7,d=4;for(l===0&&(h=138,d=3),t[(e+1)*2+1]=65535,i=0;i<=e;i++)s=l,l=t[(i+1)*2+1],!(++c<h&&s===l)&&(c<d?n.bl_tree[s*2]+=c:s!==0?(s!==r&&n.bl_tree[s*2]++,n.bl_tree[aH*2]++):c<=10?n.bl_tree[rH*2]++:n.bl_tree[oH*2]++,c=0,r=s,l===0?(h=138,d=3):s===l?(h=6,d=3):(h=7,d=4))}function tH(n,t,e){var i,r=-1,s,l=t[1],c=0,h=7,d=4;for(l===0&&(h=138,d=3),i=0;i<=e;i++)if(s=l,l=t[(i+1)*2+1],!(++c<h&&s===l)){if(c<d)do Rs(n,s,n.bl_tree);while(--c!==0);else s!==0?(s!==r&&(Rs(n,s,n.bl_tree),c--),Rs(n,aH,n.bl_tree),Ya(n,c-3,2)):c<=10?(Rs(n,rH,n.bl_tree),Ya(n,c-3,3)):(Rs(n,oH,n.bl_tree),Ya(n,c-11,7));c=0,r=s,l===0?(h=138,d=3):s===l?(h=6,d=3):(h=7,d=4)}}function pW(n){var t;for($P(n,n.dyn_ltree,n.l_desc.max_code),$P(n,n.dyn_dtree,n.d_desc.max_code),zM(n,n.bl_desc),t=LM-1;t>=3&&n.bl_tree[sH[t]*2+1]===0;t--);return n.opt_len+=3*(t+1)+5+5+4,t}function mW(n,t,e,i){var r;for(Ya(n,t-257,5),Ya(n,e-1,5),Ya(n,i-4,4),r=0;r<i;r++)Ya(n,n.bl_tree[sH[r]*2+1],3);tH(n,n.dyn_ltree,t-1),tH(n,n.dyn_dtree,e-1)}function gW(n){var t=4093624447,e;for(e=0;e<=31;e++,t>>>=1)if(t&1&&n.dyn_ltree[e*2]!==0)return ZP;if(n.dyn_ltree[18]!==0||n.dyn_ltree[20]!==0||n.dyn_ltree[26]!==0)return WP;for(e=32;e<Ov;e++)if(n.dyn_ltree[e*2]!==0)return WP;return ZP}var eH=!1;function vW(n){eH||(hW(),eH=!0),n.l_desc=new _M(n.dyn_ltree,lH),n.d_desc=new _M(n.dyn_dtree,uH),n.bl_desc=new _M(n.bl_tree,cH),n.bi_buf=0,n.bi_valid=0,pH(n)}function gH(n,t,e,i){Ya(n,(iW<<1)+(i?1:0),3),dW(n,t,e,!0)}function yW(n){Ya(n,nH<<1,3),Rs(n,UM,Ll),cW(n)}function bW(n,t,e,i){var r,s,l=0;n.level>0?(n.strm.data_type===nW&&(n.strm.data_type=gW(n)),zM(n,n.l_desc),zM(n,n.d_desc),l=pW(n),r=n.opt_len+3+7>>>3,s=n.static_len+3+7>>>3,s<=r&&(r=s)):r=s=e+5,e+4<=r&&t!==-1?gH(n,t,e,i):n.strategy===eW||s===r?(Ya(n,(nH<<1)+(i?1:0),3),JP(n,Ll,Ev)):(Ya(n,(aW<<1)+(i?1:0),3),mW(n,n.l_desc.max_code+1,n.d_desc.max_code+1,l+1),JP(n,n.dyn_ltree,n.dyn_dtree)),pH(n),i&&mH(n)}function SW(n,t,e){return n.pending_buf[n.d_buf+n.last_lit*2]=t>>>8&255,n.pending_buf[n.d_buf+n.last_lit*2+1]=t&255,n.pending_buf[n.l_buf+n.last_lit]=e&255,n.last_lit++,t===0?n.dyn_ltree[e*2]++:(n.matches++,t--,n.dyn_ltree[(Dv[e]+Ov+1)*2]++,n.dyn_dtree[fH(t)*2]++),n.last_lit===n.lit_bufsize-1}Hp._tr_init=vW;Hp._tr_stored_block=gH;Hp._tr_flush_block=bW;Hp._tr_tally=SW;Hp._tr_align=yW});var PM=je((mnt,yH)=>{"use strict";function xW(n,t,e,i){for(var r=n&65535|0,s=n>>>16&65535|0,l=0;e!==0;){l=e>2e3?2e3:e,e-=l;do r=r+t[i++]|0,s=s+r|0;while(--l);r%=65521,s%=65521}return r|s<<16|0}yH.exports=xW});var HM=je((gnt,bH)=>{"use strict";function AW(){for(var n,t=[],e=0;e<256;e++){n=e;for(var i=0;i<8;i++)n=n&1?3988292384^n>>>1:n>>>1;t[e]=n}return t}var wW=AW();function EW(n,t,e,i){var r=wW,s=i+e;n^=-1;for(var l=i;l<s;l++)n=n>>>8^r[(n^t[l])&255];return n^-1}bH.exports=EW});var RA=je((vnt,SH)=>{"use strict";SH.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 OH=je(_s=>{"use strict";var Ta=kl(),ro=vH(),EH=PM(),bc=HM(),TW=RA(),mh=0,CW=1,DW=3,Ec=4,xH=5,Ms=0,AH=1,oo=-2,RW=-3,jM=-5,OW=-1,MW=1,OA=2,_W=3,FW=4,NW=0,zW=2,NA=8,kW=9,LW=15,UW=8,BW=29,PW=256,VM=PW+1+BW,HW=30,jW=19,qW=2*VM+1,VW=15,ke=3,Ac=258,zo=Ac+ke+1,GW=32,zA=42,GM=69,MA=73,_A=91,FA=103,hh=113,_v=666,xi=1,Fv=2,dh=3,Vp=4,IW=3;function wc(n,t){return n.msg=TW[t],t}function wH(n){return(n<<1)-(n>4?9:0)}function xc(n){for(var t=n.length;--t>=0;)n[t]=0}function Sc(n){var t=n.state,e=t.pending;e>n.avail_out&&(e=n.avail_out),e!==0&&(Ta.arraySet(n.output,t.pending_buf,t.pending_out,e,n.next_out),n.next_out+=e,t.pending_out+=e,n.total_out+=e,n.avail_out-=e,t.pending-=e,t.pending===0&&(t.pending_out=0))}function Ki(n,t){ro._tr_flush_block(n,n.block_start>=0?n.block_start:-1,n.strstart-n.block_start,t),n.block_start=n.strstart,Sc(n.strm)}function Be(n,t){n.pending_buf[n.pending++]=t}function Mv(n,t){n.pending_buf[n.pending++]=t>>>8&255,n.pending_buf[n.pending++]=t&255}function XW(n,t,e,i){var r=n.avail_in;return r>i&&(r=i),r===0?0:(n.avail_in-=r,Ta.arraySet(t,n.input,n.next_in,r,e),n.state.wrap===1?n.adler=EH(n.adler,t,r,e):n.state.wrap===2&&(n.adler=bc(n.adler,t,r,e)),n.next_in+=r,n.total_in+=r,r)}function TH(n,t){var e=n.max_chain_length,i=n.strstart,r,s,l=n.prev_length,c=n.nice_match,h=n.strstart>n.w_size-zo?n.strstart-(n.w_size-zo):0,d=n.window,m=n.w_mask,v=n.prev,y=n.strstart+Ac,b=d[i+l-1],x=d[i+l];n.prev_length>=n.good_match&&(e>>=2),c>n.lookahead&&(c=n.lookahead);do if(r=t,!(d[r+l]!==x||d[r+l-1]!==b||d[r]!==d[i]||d[++r]!==d[i+1])){i+=2,r++;do;while(d[++i]===d[++r]&&d[++i]===d[++r]&&d[++i]===d[++r]&&d[++i]===d[++r]&&d[++i]===d[++r]&&d[++i]===d[++r]&&d[++i]===d[++r]&&d[++i]===d[++r]&&i<y);if(s=Ac-(y-i),i=y-Ac,s>l){if(n.match_start=t,l=s,s>=c)break;b=d[i+l-1],x=d[i+l]}}while((t=v[t&m])>h&&--e!==0);return l<=n.lookahead?l:n.lookahead}function ph(n){var t=n.w_size,e,i,r,s,l;do{if(s=n.window_size-n.lookahead-n.strstart,n.strstart>=t+(t-zo)){Ta.arraySet(n.window,n.window,t,t,0),n.match_start-=t,n.strstart-=t,n.block_start-=t,i=n.hash_size,e=i;do r=n.head[--e],n.head[e]=r>=t?r-t:0;while(--i);i=t,e=i;do r=n.prev[--e],n.prev[e]=r>=t?r-t:0;while(--i);s+=t}if(n.strm.avail_in===0)break;if(i=XW(n.strm,n.window,n.strstart+n.lookahead,s),n.lookahead+=i,n.lookahead+n.insert>=ke)for(l=n.strstart-n.insert,n.ins_h=n.window[l],n.ins_h=(n.ins_h<<n.hash_shift^n.window[l+1])&n.hash_mask;n.insert&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[l+ke-1])&n.hash_mask,n.prev[l&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=l,l++,n.insert--,!(n.lookahead+n.insert<ke)););}while(n.lookahead<zo&&n.strm.avail_in!==0)}function YW(n,t){var e=65535;for(e>n.pending_buf_size-5&&(e=n.pending_buf_size-5);;){if(n.lookahead<=1){if(ph(n),n.lookahead===0&&t===mh)return xi;if(n.lookahead===0)break}n.strstart+=n.lookahead,n.lookahead=0;var i=n.block_start+e;if((n.strstart===0||n.strstart>=i)&&(n.lookahead=n.strstart-i,n.strstart=i,Ki(n,!1),n.strm.avail_out===0)||n.strstart-n.block_start>=n.w_size-zo&&(Ki(n,!1),n.strm.avail_out===0))return xi}return n.insert=0,t===Ec?(Ki(n,!0),n.strm.avail_out===0?dh:Vp):(n.strstart>n.block_start&&(Ki(n,!1),n.strm.avail_out===0),xi)}function qM(n,t){for(var e,i;;){if(n.lookahead<zo){if(ph(n),n.lookahead<zo&&t===mh)return xi;if(n.lookahead===0)break}if(e=0,n.lookahead>=ke&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+ke-1])&n.hash_mask,e=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),e!==0&&n.strstart-e<=n.w_size-zo&&(n.match_length=TH(n,e)),n.match_length>=ke)if(i=ro._tr_tally(n,n.strstart-n.match_start,n.match_length-ke),n.lookahead-=n.match_length,n.match_length<=n.max_lazy_match&&n.lookahead>=ke){n.match_length--;do n.strstart++,n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+ke-1])&n.hash_mask,e=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart;while(--n.match_length!==0);n.strstart++}else n.strstart+=n.match_length,n.match_length=0,n.ins_h=n.window[n.strstart],n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+1])&n.hash_mask;else i=ro._tr_tally(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++;if(i&&(Ki(n,!1),n.strm.avail_out===0))return xi}return n.insert=n.strstart<ke-1?n.strstart:ke-1,t===Ec?(Ki(n,!0),n.strm.avail_out===0?dh:Vp):n.last_lit&&(Ki(n,!1),n.strm.avail_out===0)?xi:Fv}function jp(n,t){for(var e,i,r;;){if(n.lookahead<zo){if(ph(n),n.lookahead<zo&&t===mh)return xi;if(n.lookahead===0)break}if(e=0,n.lookahead>=ke&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+ke-1])&n.hash_mask,e=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart),n.prev_length=n.match_length,n.prev_match=n.match_start,n.match_length=ke-1,e!==0&&n.prev_length<n.max_lazy_match&&n.strstart-e<=n.w_size-zo&&(n.match_length=TH(n,e),n.match_length<=5&&(n.strategy===MW||n.match_length===ke&&n.strstart-n.match_start>4096)&&(n.match_length=ke-1)),n.prev_length>=ke&&n.match_length<=n.prev_length){r=n.strstart+n.lookahead-ke,i=ro._tr_tally(n,n.strstart-1-n.prev_match,n.prev_length-ke),n.lookahead-=n.prev_length-1,n.prev_length-=2;do++n.strstart<=r&&(n.ins_h=(n.ins_h<<n.hash_shift^n.window[n.strstart+ke-1])&n.hash_mask,e=n.prev[n.strstart&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=n.strstart);while(--n.prev_length!==0);if(n.match_available=0,n.match_length=ke-1,n.strstart++,i&&(Ki(n,!1),n.strm.avail_out===0))return xi}else if(n.match_available){if(i=ro._tr_tally(n,0,n.window[n.strstart-1]),i&&Ki(n,!1),n.strstart++,n.lookahead--,n.strm.avail_out===0)return xi}else n.match_available=1,n.strstart++,n.lookahead--}return n.match_available&&(i=ro._tr_tally(n,0,n.window[n.strstart-1]),n.match_available=0),n.insert=n.strstart<ke-1?n.strstart:ke-1,t===Ec?(Ki(n,!0),n.strm.avail_out===0?dh:Vp):n.last_lit&&(Ki(n,!1),n.strm.avail_out===0)?xi:Fv}function KW(n,t){for(var e,i,r,s,l=n.window;;){if(n.lookahead<=Ac){if(ph(n),n.lookahead<=Ac&&t===mh)return xi;if(n.lookahead===0)break}if(n.match_length=0,n.lookahead>=ke&&n.strstart>0&&(r=n.strstart-1,i=l[r],i===l[++r]&&i===l[++r]&&i===l[++r])){s=n.strstart+Ac;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);n.match_length=Ac-(s-r),n.match_length>n.lookahead&&(n.match_length=n.lookahead)}if(n.match_length>=ke?(e=ro._tr_tally(n,1,n.match_length-ke),n.lookahead-=n.match_length,n.strstart+=n.match_length,n.match_length=0):(e=ro._tr_tally(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++),e&&(Ki(n,!1),n.strm.avail_out===0))return xi}return n.insert=0,t===Ec?(Ki(n,!0),n.strm.avail_out===0?dh:Vp):n.last_lit&&(Ki(n,!1),n.strm.avail_out===0)?xi:Fv}function ZW(n,t){for(var e;;){if(n.lookahead===0&&(ph(n),n.lookahead===0)){if(t===mh)return xi;break}if(n.match_length=0,e=ro._tr_tally(n,0,n.window[n.strstart]),n.lookahead--,n.strstart++,e&&(Ki(n,!1),n.strm.avail_out===0))return xi}return n.insert=0,t===Ec?(Ki(n,!0),n.strm.avail_out===0?dh:Vp):n.last_lit&&(Ki(n,!1),n.strm.avail_out===0)?xi:Fv}function Os(n,t,e,i,r){this.good_length=n,this.max_lazy=t,this.nice_length=e,this.max_chain=i,this.func=r}var qp;qp=[new Os(0,0,0,0,YW),new Os(4,4,8,4,qM),new Os(4,5,16,8,qM),new Os(4,6,32,32,qM),new Os(4,4,16,16,jp),new Os(8,16,32,32,jp),new Os(8,16,128,128,jp),new Os(8,32,128,256,jp),new Os(32,128,258,1024,jp),new Os(32,258,258,4096,jp)];function WW(n){n.window_size=2*n.w_size,xc(n.head),n.max_lazy_match=qp[n.level].max_lazy,n.good_match=qp[n.level].good_length,n.nice_match=qp[n.level].nice_length,n.max_chain_length=qp[n.level].max_chain,n.strstart=0,n.block_start=0,n.lookahead=0,n.insert=0,n.match_length=n.prev_length=ke-1,n.match_available=0,n.ins_h=0}function QW(){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=NA,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 Ta.Buf16(qW*2),this.dyn_dtree=new Ta.Buf16((2*HW+1)*2),this.bl_tree=new Ta.Buf16((2*jW+1)*2),xc(this.dyn_ltree),xc(this.dyn_dtree),xc(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Ta.Buf16(VW+1),this.heap=new Ta.Buf16(2*VM+1),xc(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Ta.Buf16(2*VM+1),xc(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 CH(n){var t;return!n||!n.state?wc(n,oo):(n.total_in=n.total_out=0,n.data_type=zW,t=n.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?zA:hh,n.adler=t.wrap===2?0:1,t.last_flush=mh,ro._tr_init(t),Ms)}function DH(n){var t=CH(n);return t===Ms&&WW(n.state),t}function JW(n,t){return!n||!n.state||n.state.wrap!==2?oo:(n.state.gzhead=t,Ms)}function RH(n,t,e,i,r,s){if(!n)return oo;var l=1;if(t===OW&&(t=6),i<0?(l=0,i=-i):i>15&&(l=2,i-=16),r<1||r>kW||e!==NA||i<8||i>15||t<0||t>9||s<0||s>FW)return wc(n,oo);i===8&&(i=9);var c=new QW;return n.state=c,c.strm=n,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+ke-1)/ke),c.window=new Ta.Buf8(c.w_size*2),c.head=new Ta.Buf16(c.hash_size),c.prev=new Ta.Buf16(c.w_size),c.lit_bufsize=1<<r+6,c.pending_buf_size=c.lit_bufsize*4,c.pending_buf=new Ta.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=e,DH(n)}function $W(n,t){return RH(n,t,NA,LW,UW,NW)}function tQ(n,t){var e,i,r,s;if(!n||!n.state||t>xH||t<0)return n?wc(n,oo):oo;if(i=n.state,!n.output||!n.input&&n.avail_in!==0||i.status===_v&&t!==Ec)return wc(n,n.avail_out===0?jM:oo);if(i.strm=n,e=i.last_flush,i.last_flush=t,i.status===zA)if(i.wrap===2)n.adler=0,Be(i,31),Be(i,139),Be(i,8),i.gzhead?(Be(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)),Be(i,i.gzhead.time&255),Be(i,i.gzhead.time>>8&255),Be(i,i.gzhead.time>>16&255),Be(i,i.gzhead.time>>24&255),Be(i,i.level===9?2:i.strategy>=OA||i.level<2?4:0),Be(i,i.gzhead.os&255),i.gzhead.extra&&i.gzhead.extra.length&&(Be(i,i.gzhead.extra.length&255),Be(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(n.adler=bc(n.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=GM):(Be(i,0),Be(i,0),Be(i,0),Be(i,0),Be(i,0),Be(i,i.level===9?2:i.strategy>=OA||i.level<2?4:0),Be(i,IW),i.status=hh);else{var l=NA+(i.w_bits-8<<4)<<8,c=-1;i.strategy>=OA||i.level<2?c=0:i.level<6?c=1:i.level===6?c=2:c=3,l|=c<<6,i.strstart!==0&&(l|=GW),l+=31-l%31,i.status=hh,Mv(i,l),i.strstart!==0&&(Mv(i,n.adler>>>16),Mv(i,n.adler&65535)),n.adler=1}if(i.status===GM)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&&(n.adler=bc(n.adler,i.pending_buf,i.pending-r,r)),Sc(n),r=i.pending,i.pending===i.pending_buf_size));)Be(i,i.gzhead.extra[i.gzindex]&255),i.gzindex++;i.gzhead.hcrc&&i.pending>r&&(n.adler=bc(n.adler,i.pending_buf,i.pending-r,r)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=MA)}else i.status=MA;if(i.status===MA)if(i.gzhead.name){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(n.adler=bc(n.adler,i.pending_buf,i.pending-r,r)),Sc(n),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,Be(i,s)}while(s!==0);i.gzhead.hcrc&&i.pending>r&&(n.adler=bc(n.adler,i.pending_buf,i.pending-r,r)),s===0&&(i.gzindex=0,i.status=_A)}else i.status=_A;if(i.status===_A)if(i.gzhead.comment){r=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>r&&(n.adler=bc(n.adler,i.pending_buf,i.pending-r,r)),Sc(n),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,Be(i,s)}while(s!==0);i.gzhead.hcrc&&i.pending>r&&(n.adler=bc(n.adler,i.pending_buf,i.pending-r,r)),s===0&&(i.status=FA)}else i.status=FA;if(i.status===FA&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&Sc(n),i.pending+2<=i.pending_buf_size&&(Be(i,n.adler&255),Be(i,n.adler>>8&255),n.adler=0,i.status=hh)):i.status=hh),i.pending!==0){if(Sc(n),n.avail_out===0)return i.last_flush=-1,Ms}else if(n.avail_in===0&&wH(t)<=wH(e)&&t!==Ec)return wc(n,jM);if(i.status===_v&&n.avail_in!==0)return wc(n,jM);if(n.avail_in!==0||i.lookahead!==0||t!==mh&&i.status!==_v){var h=i.strategy===OA?ZW(i,t):i.strategy===_W?KW(i,t):qp[i.level].func(i,t);if((h===dh||h===Vp)&&(i.status=_v),h===xi||h===dh)return n.avail_out===0&&(i.last_flush=-1),Ms;if(h===Fv&&(t===CW?ro._tr_align(i):t!==xH&&(ro._tr_stored_block(i,0,0,!1),t===DW&&(xc(i.head),i.lookahead===0&&(i.strstart=0,i.block_start=0,i.insert=0))),Sc(n),n.avail_out===0))return i.last_flush=-1,Ms}return t!==Ec?Ms:i.wrap<=0?AH:(i.wrap===2?(Be(i,n.adler&255),Be(i,n.adler>>8&255),Be(i,n.adler>>16&255),Be(i,n.adler>>24&255),Be(i,n.total_in&255),Be(i,n.total_in>>8&255),Be(i,n.total_in>>16&255),Be(i,n.total_in>>24&255)):(Mv(i,n.adler>>>16),Mv(i,n.adler&65535)),Sc(n),i.wrap>0&&(i.wrap=-i.wrap),i.pending!==0?Ms:AH)}function eQ(n){var t;return!n||!n.state?oo:(t=n.state.status,t!==zA&&t!==GM&&t!==MA&&t!==_A&&t!==FA&&t!==hh&&t!==_v?wc(n,oo):(n.state=null,t===hh?wc(n,RW):Ms))}function nQ(n,t){var e=t.length,i,r,s,l,c,h,d,m;if(!n||!n.state||(i=n.state,l=i.wrap,l===2||l===1&&i.status!==zA||i.lookahead))return oo;for(l===1&&(n.adler=EH(n.adler,t,e,0)),i.wrap=0,e>=i.w_size&&(l===0&&(xc(i.head),i.strstart=0,i.block_start=0,i.insert=0),m=new Ta.Buf8(i.w_size),Ta.arraySet(m,t,e-i.w_size,i.w_size,0),t=m,e=i.w_size),c=n.avail_in,h=n.next_in,d=n.input,n.avail_in=e,n.next_in=0,n.input=t,ph(i);i.lookahead>=ke;){r=i.strstart,s=i.lookahead-(ke-1);do i.ins_h=(i.ins_h<<i.hash_shift^i.window[r+ke-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=ke-1,ph(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=ke-1,i.match_available=0,n.next_in=h,n.input=d,n.avail_in=c,i.wrap=l,Ms}_s.deflateInit=$W;_s.deflateInit2=RH;_s.deflateReset=DH;_s.deflateResetKeep=CH;_s.deflateSetHeader=JW;_s.deflate=tQ;_s.deflateEnd=eQ;_s.deflateSetDictionary=nQ;_s.deflateInfo="pako deflate (from Nodeca project)"});var IM=je(Gp=>{"use strict";var kA=kl(),MH=!0,_H=!0;try{String.fromCharCode.apply(null,[0])}catch{MH=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{_H=!1}var Nv=new kA.Buf8(256);for(Ul=0;Ul<256;Ul++)Nv[Ul]=Ul>=252?6:Ul>=248?5:Ul>=240?4:Ul>=224?3:Ul>=192?2:1;var Ul;Nv[254]=Nv[254]=1;Gp.string2buf=function(n){var t,e,i,r,s,l=n.length,c=0;for(r=0;r<l;r++)e=n.charCodeAt(r),(e&64512)===55296&&r+1<l&&(i=n.charCodeAt(r+1),(i&64512)===56320&&(e=65536+(e-55296<<10)+(i-56320),r++)),c+=e<128?1:e<2048?2:e<65536?3:4;for(t=new kA.Buf8(c),s=0,r=0;s<c;r++)e=n.charCodeAt(r),(e&64512)===55296&&r+1<l&&(i=n.charCodeAt(r+1),(i&64512)===56320&&(e=65536+(e-55296<<10)+(i-56320),r++)),e<128?t[s++]=e:e<2048?(t[s++]=192|e>>>6,t[s++]=128|e&63):e<65536?(t[s++]=224|e>>>12,t[s++]=128|e>>>6&63,t[s++]=128|e&63):(t[s++]=240|e>>>18,t[s++]=128|e>>>12&63,t[s++]=128|e>>>6&63,t[s++]=128|e&63);return t};function FH(n,t){if(t<65534&&(n.subarray&&_H||!n.subarray&&MH))return String.fromCharCode.apply(null,kA.shrinkBuf(n,t));for(var e="",i=0;i<t;i++)e+=String.fromCharCode(n[i]);return e}Gp.buf2binstring=function(n){return FH(n,n.length)};Gp.binstring2buf=function(n){for(var t=new kA.Buf8(n.length),e=0,i=t.length;e<i;e++)t[e]=n.charCodeAt(e);return t};Gp.buf2string=function(n,t){var e,i,r,s,l=t||n.length,c=new Array(l*2);for(i=0,e=0;e<l;){if(r=n[e++],r<128){c[i++]=r;continue}if(s=Nv[r],s>4){c[i++]=65533,e+=s-1;continue}for(r&=s===2?31:s===3?15:7;s>1&&e<l;)r=r<<6|n[e++]&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 FH(c,i)};Gp.utf8border=function(n,t){var e;for(t=t||n.length,t>n.length&&(t=n.length),e=t-1;e>=0&&(n[e]&192)===128;)e--;return e<0||e===0?t:e+Nv[n[e]]>t?e:t}});var XM=je((Snt,NH)=>{"use strict";function iQ(){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}NH.exports=iQ});var UH=je(Lv=>{"use strict";var zv=OH(),kv=kl(),KM=IM(),ZM=RA(),aQ=XM(),LH=Object.prototype.toString,rQ=0,YM=4,Ip=0,zH=1,kH=2,oQ=-1,sQ=0,lQ=8;function gh(n){if(!(this instanceof gh))return new gh(n);this.options=kv.assign({level:oQ,method:lQ,chunkSize:16384,windowBits:15,memLevel:8,strategy:sQ,to:""},n||{});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 aQ,this.strm.avail_out=0;var e=zv.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==Ip)throw new Error(ZM[e]);if(t.header&&zv.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(typeof t.dictionary=="string"?i=KM.string2buf(t.dictionary):LH.call(t.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(t.dictionary):i=t.dictionary,e=zv.deflateSetDictionary(this.strm,i),e!==Ip)throw new Error(ZM[e]);this._dict_set=!0}}gh.prototype.push=function(n,t){var e=this.strm,i=this.options.chunkSize,r,s;if(this.ended)return!1;s=t===~~t?t:t===!0?YM:rQ,typeof n=="string"?e.input=KM.string2buf(n):LH.call(n)==="[object ArrayBuffer]"?e.input=new Uint8Array(n):e.input=n,e.next_in=0,e.avail_in=e.input.length;do{if(e.avail_out===0&&(e.output=new kv.Buf8(i),e.next_out=0,e.avail_out=i),r=zv.deflate(e,s),r!==zH&&r!==Ip)return this.onEnd(r),this.ended=!0,!1;(e.avail_out===0||e.avail_in===0&&(s===YM||s===kH))&&(this.options.to==="string"?this.onData(KM.buf2binstring(kv.shrinkBuf(e.output,e.next_out))):this.onData(kv.shrinkBuf(e.output,e.next_out)))}while((e.avail_in>0||e.avail_out===0)&&r!==zH);return s===YM?(r=zv.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===Ip):(s===kH&&(this.onEnd(Ip),e.avail_out=0),!0)};gh.prototype.onData=function(n){this.chunks.push(n)};gh.prototype.onEnd=function(n){n===Ip&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=kv.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg};function WM(n,t){var e=new gh(t);if(e.push(n,!0),e.err)throw e.msg||ZM[e.err];return e.result}function uQ(n,t){return t=t||{},t.raw=!0,WM(n,t)}function cQ(n,t){return t=t||{},t.gzip=!0,WM(n,t)}Lv.Deflate=gh;Lv.deflate=WM;Lv.deflateRaw=uQ;Lv.gzip=cQ});var PH=je((Ant,BH)=>{"use strict";var LA=30,fQ=12;BH.exports=function(t,e){var i,r,s,l,c,h,d,m,v,y,b,x,E,C,A,T,D,O,F,U,L,k,G,q,Z;i=t.state,r=t.next_in,q=t.input,s=r+(t.avail_in-5),l=t.next_out,Z=t.output,c=l-(e-t.avail_out),h=l+(t.avail_out-257),d=i.dmax,m=i.wsize,v=i.whave,y=i.wnext,b=i.window,x=i.hold,E=i.bits,C=i.lencode,A=i.distcode,T=(1<<i.lenbits)-1,D=(1<<i.distbits)-1;t:do{E<15&&(x+=q[r++]<<E,E+=8,x+=q[r++]<<E,E+=8),O=C[x&T];e:for(;;){if(F=O>>>24,x>>>=F,E-=F,F=O>>>16&255,F===0)Z[l++]=O&65535;else if(F&16){U=O&65535,F&=15,F&&(E<F&&(x+=q[r++]<<E,E+=8),U+=x&(1<<F)-1,x>>>=F,E-=F),E<15&&(x+=q[r++]<<E,E+=8,x+=q[r++]<<E,E+=8),O=A[x&D];n:for(;;){if(F=O>>>24,x>>>=F,E-=F,F=O>>>16&255,F&16){if(L=O&65535,F&=15,E<F&&(x+=q[r++]<<E,E+=8,E<F&&(x+=q[r++]<<E,E+=8)),L+=x&(1<<F)-1,L>d){t.msg="invalid distance too far back",i.mode=LA;break t}if(x>>>=F,E-=F,F=l-c,L>F){if(F=L-F,F>v&&i.sane){t.msg="invalid distance too far back",i.mode=LA;break t}if(k=0,G=b,y===0){if(k+=m-F,F<U){U-=F;do Z[l++]=b[k++];while(--F);k=l-L,G=Z}}else if(y<F){if(k+=m+y-F,F-=y,F<U){U-=F;do Z[l++]=b[k++];while(--F);if(k=0,y<U){F=y,U-=F;do Z[l++]=b[k++];while(--F);k=l-L,G=Z}}}else if(k+=y-F,F<U){U-=F;do Z[l++]=b[k++];while(--F);k=l-L,G=Z}for(;U>2;)Z[l++]=G[k++],Z[l++]=G[k++],Z[l++]=G[k++],U-=3;U&&(Z[l++]=G[k++],U>1&&(Z[l++]=G[k++]))}else{k=l-L;do Z[l++]=Z[k++],Z[l++]=Z[k++],Z[l++]=Z[k++],U-=3;while(U>2);U&&(Z[l++]=Z[k++],U>1&&(Z[l++]=Z[k++]))}}else if((F&64)===0){O=A[(O&65535)+(x&(1<<F)-1)];continue n}else{t.msg="invalid distance code",i.mode=LA;break t}break}}else if((F&64)===0){O=C[(O&65535)+(x&(1<<F)-1)];continue e}else if(F&32){i.mode=fQ;break t}else{t.msg="invalid literal/length code",i.mode=LA;break t}break}}while(r<s&&l<h);U=E>>3,r-=U,E-=U<<3,x&=(1<<E)-1,t.next_in=r,t.next_out=l,t.avail_in=r<s?5+(s-r):5-(r-s),t.avail_out=l<h?257+(h-l):257-(l-h),i.hold=x,i.bits=E}});var XH=je((wnt,IH)=>{"use strict";var HH=kl(),Xp=15,jH=852,qH=592,VH=0,QM=1,GH=2,hQ=[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],dQ=[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],pQ=[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],mQ=[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];IH.exports=function(t,e,i,r,s,l,c,h){var d=h.bits,m=0,v=0,y=0,b=0,x=0,E=0,C=0,A=0,T=0,D=0,O,F,U,L,k,G=null,q=0,Z,J=new HH.Buf16(Xp+1),nt=new HH.Buf16(Xp+1),ot=null,B=0,X,V,lt;for(m=0;m<=Xp;m++)J[m]=0;for(v=0;v<r;v++)J[e[i+v]]++;for(x=d,b=Xp;b>=1&&J[b]===0;b--);if(x>b&&(x=b),b===0)return s[l++]=1<<24|64<<16|0,s[l++]=1<<24|64<<16|0,h.bits=1,0;for(y=1;y<b&&J[y]===0;y++);for(x<y&&(x=y),A=1,m=1;m<=Xp;m++)if(A<<=1,A-=J[m],A<0)return-1;if(A>0&&(t===VH||b!==1))return-1;for(nt[1]=0,m=1;m<Xp;m++)nt[m+1]=nt[m]+J[m];for(v=0;v<r;v++)e[i+v]!==0&&(c[nt[e[i+v]]++]=v);if(t===VH?(G=ot=c,Z=19):t===QM?(G=hQ,q-=257,ot=dQ,B-=257,Z=256):(G=pQ,ot=mQ,Z=-1),D=0,v=0,m=y,k=l,E=x,C=0,U=-1,T=1<<x,L=T-1,t===QM&&T>jH||t===GH&&T>qH)return 1;for(;;){X=m-C,c[v]<Z?(V=0,lt=c[v]):c[v]>Z?(V=ot[B+c[v]],lt=G[q+c[v]]):(V=96,lt=0),O=1<<m-C,F=1<<E,y=F;do F-=O,s[k+(D>>C)+F]=X<<24|V<<16|lt|0;while(F!==0);for(O=1<<m-1;D&O;)O>>=1;if(O!==0?(D&=O-1,D+=O):D=0,v++,--J[m]===0){if(m===b)break;m=e[i+c[v]]}if(m>x&&(D&L)!==U){for(C===0&&(C=x),k+=y,E=m-C,A=1<<E;E+C<b&&(A-=J[E+C],!(A<=0));)E++,A<<=1;if(T+=1<<E,t===QM&&T>jH||t===GH&&T>qH)return 1;U=D&L,s[U]=x<<24|E<<16|k-l|0}}return D!==0&&(s[k+D]=m-C<<24|64<<16|0),h.bits=x,0}});var D7=je(ko=>{"use strict";var Dr=kl(),i_=PM(),Fs=HM(),gQ=PH(),Uv=XH(),vQ=0,y7=1,b7=2,YH=4,yQ=5,UA=6,vh=0,bQ=1,SQ=2,so=-2,S7=-3,a_=-4,xQ=-5,KH=8,x7=1,ZH=2,WH=3,QH=4,JH=5,$H=6,t7=7,e7=8,n7=9,i7=10,HA=11,Bl=12,JM=13,a7=14,$M=15,r7=16,o7=17,s7=18,l7=19,BA=20,PA=21,u7=22,c7=23,f7=24,h7=25,d7=26,t_=27,p7=28,m7=29,Mn=30,r_=31,AQ=32,wQ=852,EQ=592,TQ=15,CQ=TQ;function g7(n){return(n>>>24&255)+(n>>>8&65280)+((n&65280)<<8)+((n&255)<<24)}function DQ(){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 Dr.Buf16(320),this.work=new Dr.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function A7(n){var t;return!n||!n.state?so:(t=n.state,n.total_in=n.total_out=t.total=0,n.msg="",t.wrap&&(n.adler=t.wrap&1),t.mode=x7,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Dr.Buf32(wQ),t.distcode=t.distdyn=new Dr.Buf32(EQ),t.sane=1,t.back=-1,vh)}function w7(n){var t;return!n||!n.state?so:(t=n.state,t.wsize=0,t.whave=0,t.wnext=0,A7(n))}function E7(n,t){var e,i;return!n||!n.state||(i=n.state,t<0?(e=0,t=-t):(e=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?so:(i.window!==null&&i.wbits!==t&&(i.window=null),i.wrap=e,i.wbits=t,w7(n))}function T7(n,t){var e,i;return n?(i=new DQ,n.state=i,i.window=null,e=E7(n,t),e!==vh&&(n.state=null),e):so}function RQ(n){return T7(n,CQ)}var v7=!0,e_,n_;function OQ(n){if(v7){var t;for(e_=new Dr.Buf32(512),n_=new Dr.Buf32(32),t=0;t<144;)n.lens[t++]=8;for(;t<256;)n.lens[t++]=9;for(;t<280;)n.lens[t++]=7;for(;t<288;)n.lens[t++]=8;for(Uv(y7,n.lens,0,288,e_,0,n.work,{bits:9}),t=0;t<32;)n.lens[t++]=5;Uv(b7,n.lens,0,32,n_,0,n.work,{bits:5}),v7=!1}n.lencode=e_,n.lenbits=9,n.distcode=n_,n.distbits=5}function C7(n,t,e,i){var r,s=n.state;return s.window===null&&(s.wsize=1<<s.wbits,s.wnext=0,s.whave=0,s.window=new Dr.Buf8(s.wsize)),i>=s.wsize?(Dr.arraySet(s.window,t,e-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(r=s.wsize-s.wnext,r>i&&(r=i),Dr.arraySet(s.window,t,e-i,r,s.wnext),i-=r,i?(Dr.arraySet(s.window,t,e-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 MQ(n,t){var e,i,r,s,l,c,h,d,m,v,y,b,x,E,C=0,A,T,D,O,F,U,L,k,G=new Dr.Buf8(4),q,Z,J=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!n||!n.state||!n.output||!n.input&&n.avail_in!==0)return so;e=n.state,e.mode===Bl&&(e.mode=JM),l=n.next_out,r=n.output,h=n.avail_out,s=n.next_in,i=n.input,c=n.avail_in,d=e.hold,m=e.bits,v=c,y=h,k=vh;t:for(;;)switch(e.mode){case x7:if(e.wrap===0){e.mode=JM;break}for(;m<16;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}if(e.wrap&2&&d===35615){e.check=0,G[0]=d&255,G[1]=d>>>8&255,e.check=Fs(e.check,G,2,0),d=0,m=0,e.mode=ZH;break}if(e.flags=0,e.head&&(e.head.done=!1),!(e.wrap&1)||(((d&255)<<8)+(d>>8))%31){n.msg="incorrect header check",e.mode=Mn;break}if((d&15)!==KH){n.msg="unknown compression method",e.mode=Mn;break}if(d>>>=4,m-=4,L=(d&15)+8,e.wbits===0)e.wbits=L;else if(L>e.wbits){n.msg="invalid window size",e.mode=Mn;break}e.dmax=1<<L,n.adler=e.check=1,e.mode=d&512?i7:Bl,d=0,m=0;break;case ZH:for(;m<16;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}if(e.flags=d,(e.flags&255)!==KH){n.msg="unknown compression method",e.mode=Mn;break}if(e.flags&57344){n.msg="unknown header flags set",e.mode=Mn;break}e.head&&(e.head.text=d>>8&1),e.flags&512&&(G[0]=d&255,G[1]=d>>>8&255,e.check=Fs(e.check,G,2,0)),d=0,m=0,e.mode=WH;case WH:for(;m<32;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}e.head&&(e.head.time=d),e.flags&512&&(G[0]=d&255,G[1]=d>>>8&255,G[2]=d>>>16&255,G[3]=d>>>24&255,e.check=Fs(e.check,G,4,0)),d=0,m=0,e.mode=QH;case QH:for(;m<16;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}e.head&&(e.head.xflags=d&255,e.head.os=d>>8),e.flags&512&&(G[0]=d&255,G[1]=d>>>8&255,e.check=Fs(e.check,G,2,0)),d=0,m=0,e.mode=JH;case JH:if(e.flags&1024){for(;m<16;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}e.length=d,e.head&&(e.head.extra_len=d),e.flags&512&&(G[0]=d&255,G[1]=d>>>8&255,e.check=Fs(e.check,G,2,0)),d=0,m=0}else e.head&&(e.head.extra=null);e.mode=$H;case $H:if(e.flags&1024&&(b=e.length,b>c&&(b=c),b&&(e.head&&(L=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),Dr.arraySet(e.head.extra,i,s,b,L)),e.flags&512&&(e.check=Fs(e.check,i,b,s)),c-=b,s+=b,e.length-=b),e.length))break t;e.length=0,e.mode=t7;case t7:if(e.flags&2048){if(c===0)break t;b=0;do L=i[s+b++],e.head&&L&&e.length<65536&&(e.head.name+=String.fromCharCode(L));while(L&&b<c);if(e.flags&512&&(e.check=Fs(e.check,i,b,s)),c-=b,s+=b,L)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=e7;case e7:if(e.flags&4096){if(c===0)break t;b=0;do L=i[s+b++],e.head&&L&&e.length<65536&&(e.head.comment+=String.fromCharCode(L));while(L&&b<c);if(e.flags&512&&(e.check=Fs(e.check,i,b,s)),c-=b,s+=b,L)break t}else e.head&&(e.head.comment=null);e.mode=n7;case n7:if(e.flags&512){for(;m<16;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}if(d!==(e.check&65535)){n.msg="header crc mismatch",e.mode=Mn;break}d=0,m=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),n.adler=e.check=0,e.mode=Bl;break;case i7:for(;m<32;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}n.adler=e.check=g7(d),d=0,m=0,e.mode=HA;case HA:if(e.havedict===0)return n.next_out=l,n.avail_out=h,n.next_in=s,n.avail_in=c,e.hold=d,e.bits=m,SQ;n.adler=e.check=1,e.mode=Bl;case Bl:if(t===yQ||t===UA)break t;case JM:if(e.last){d>>>=m&7,m-=m&7,e.mode=t_;break}for(;m<3;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}switch(e.last=d&1,d>>>=1,m-=1,d&3){case 0:e.mode=a7;break;case 1:if(OQ(e),e.mode=BA,t===UA){d>>>=2,m-=2;break t}break;case 2:e.mode=o7;break;case 3:n.msg="invalid block type",e.mode=Mn}d>>>=2,m-=2;break;case a7:for(d>>>=m&7,m-=m&7;m<32;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}if((d&65535)!==(d>>>16^65535)){n.msg="invalid stored block lengths",e.mode=Mn;break}if(e.length=d&65535,d=0,m=0,e.mode=$M,t===UA)break t;case $M:e.mode=r7;case r7:if(b=e.length,b){if(b>c&&(b=c),b>h&&(b=h),b===0)break t;Dr.arraySet(r,i,s,b,l),c-=b,s+=b,h-=b,l+=b,e.length-=b;break}e.mode=Bl;break;case o7:for(;m<14;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}if(e.nlen=(d&31)+257,d>>>=5,m-=5,e.ndist=(d&31)+1,d>>>=5,m-=5,e.ncode=(d&15)+4,d>>>=4,m-=4,e.nlen>286||e.ndist>30){n.msg="too many length or distance symbols",e.mode=Mn;break}e.have=0,e.mode=s7;case s7:for(;e.have<e.ncode;){for(;m<3;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}e.lens[J[e.have++]]=d&7,d>>>=3,m-=3}for(;e.have<19;)e.lens[J[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,q={bits:e.lenbits},k=Uv(vQ,e.lens,0,19,e.lencode,0,e.work,q),e.lenbits=q.bits,k){n.msg="invalid code lengths set",e.mode=Mn;break}e.have=0,e.mode=l7;case l7:for(;e.have<e.nlen+e.ndist;){for(;C=e.lencode[d&(1<<e.lenbits)-1],A=C>>>24,T=C>>>16&255,D=C&65535,!(A<=m);){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}if(D<16)d>>>=A,m-=A,e.lens[e.have++]=D;else{if(D===16){for(Z=A+2;m<Z;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}if(d>>>=A,m-=A,e.have===0){n.msg="invalid bit length repeat",e.mode=Mn;break}L=e.lens[e.have-1],b=3+(d&3),d>>>=2,m-=2}else if(D===17){for(Z=A+3;m<Z;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}d>>>=A,m-=A,L=0,b=3+(d&7),d>>>=3,m-=3}else{for(Z=A+7;m<Z;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}d>>>=A,m-=A,L=0,b=11+(d&127),d>>>=7,m-=7}if(e.have+b>e.nlen+e.ndist){n.msg="invalid bit length repeat",e.mode=Mn;break}for(;b--;)e.lens[e.have++]=L}}if(e.mode===Mn)break;if(e.lens[256]===0){n.msg="invalid code -- missing end-of-block",e.mode=Mn;break}if(e.lenbits=9,q={bits:e.lenbits},k=Uv(y7,e.lens,0,e.nlen,e.lencode,0,e.work,q),e.lenbits=q.bits,k){n.msg="invalid literal/lengths set",e.mode=Mn;break}if(e.distbits=6,e.distcode=e.distdyn,q={bits:e.distbits},k=Uv(b7,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,q),e.distbits=q.bits,k){n.msg="invalid distances set",e.mode=Mn;break}if(e.mode=BA,t===UA)break t;case BA:e.mode=PA;case PA:if(c>=6&&h>=258){n.next_out=l,n.avail_out=h,n.next_in=s,n.avail_in=c,e.hold=d,e.bits=m,gQ(n,y),l=n.next_out,r=n.output,h=n.avail_out,s=n.next_in,i=n.input,c=n.avail_in,d=e.hold,m=e.bits,e.mode===Bl&&(e.back=-1);break}for(e.back=0;C=e.lencode[d&(1<<e.lenbits)-1],A=C>>>24,T=C>>>16&255,D=C&65535,!(A<=m);){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}if(T&&(T&240)===0){for(O=A,F=T,U=D;C=e.lencode[U+((d&(1<<O+F)-1)>>O)],A=C>>>24,T=C>>>16&255,D=C&65535,!(O+A<=m);){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}d>>>=O,m-=O,e.back+=O}if(d>>>=A,m-=A,e.back+=A,e.length=D,T===0){e.mode=d7;break}if(T&32){e.back=-1,e.mode=Bl;break}if(T&64){n.msg="invalid literal/length code",e.mode=Mn;break}e.extra=T&15,e.mode=u7;case u7:if(e.extra){for(Z=e.extra;m<Z;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}e.length+=d&(1<<e.extra)-1,d>>>=e.extra,m-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=c7;case c7:for(;C=e.distcode[d&(1<<e.distbits)-1],A=C>>>24,T=C>>>16&255,D=C&65535,!(A<=m);){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}if((T&240)===0){for(O=A,F=T,U=D;C=e.distcode[U+((d&(1<<O+F)-1)>>O)],A=C>>>24,T=C>>>16&255,D=C&65535,!(O+A<=m);){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}d>>>=O,m-=O,e.back+=O}if(d>>>=A,m-=A,e.back+=A,T&64){n.msg="invalid distance code",e.mode=Mn;break}e.offset=D,e.extra=T&15,e.mode=f7;case f7:if(e.extra){for(Z=e.extra;m<Z;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}e.offset+=d&(1<<e.extra)-1,d>>>=e.extra,m-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){n.msg="invalid distance too far back",e.mode=Mn;break}e.mode=h7;case h7:if(h===0)break t;if(b=y-h,e.offset>b){if(b=e.offset-b,b>e.whave&&e.sane){n.msg="invalid distance too far back",e.mode=Mn;break}b>e.wnext?(b-=e.wnext,x=e.wsize-b):x=e.wnext-b,b>e.length&&(b=e.length),E=e.window}else E=r,x=l-e.offset,b=e.length;b>h&&(b=h),h-=b,e.length-=b;do r[l++]=E[x++];while(--b);e.length===0&&(e.mode=PA);break;case d7:if(h===0)break t;r[l++]=e.length,h--,e.mode=PA;break;case t_:if(e.wrap){for(;m<32;){if(c===0)break t;c--,d|=i[s++]<<m,m+=8}if(y-=h,n.total_out+=y,e.total+=y,y&&(n.adler=e.check=e.flags?Fs(e.check,r,y,l-y):i_(e.check,r,y,l-y)),y=h,(e.flags?d:g7(d))!==e.check){n.msg="incorrect data check",e.mode=Mn;break}d=0,m=0}e.mode=p7;case p7:if(e.wrap&&e.flags){for(;m<32;){if(c===0)break t;c--,d+=i[s++]<<m,m+=8}if(d!==(e.total&4294967295)){n.msg="incorrect length check",e.mode=Mn;break}d=0,m=0}e.mode=m7;case m7:k=bQ;break t;case Mn:k=S7;break t;case r_:return a_;case AQ:default:return so}return n.next_out=l,n.avail_out=h,n.next_in=s,n.avail_in=c,e.hold=d,e.bits=m,(e.wsize||y!==n.avail_out&&e.mode<Mn&&(e.mode<t_||t!==YH))&&C7(n,n.output,n.next_out,y-n.avail_out)?(e.mode=r_,a_):(v-=n.avail_in,y-=n.avail_out,n.total_in+=v,n.total_out+=y,e.total+=y,e.wrap&&y&&(n.adler=e.check=e.flags?Fs(e.check,r,y,n.next_out-y):i_(e.check,r,y,n.next_out-y)),n.data_type=e.bits+(e.last?64:0)+(e.mode===Bl?128:0)+(e.mode===BA||e.mode===$M?256:0),(v===0&&y===0||t===YH)&&k===vh&&(k=xQ),k)}function _Q(n){if(!n||!n.state)return so;var t=n.state;return t.window&&(t.window=null),n.state=null,vh}function FQ(n,t){var e;return!n||!n.state||(e=n.state,(e.wrap&2)===0)?so:(e.head=t,t.done=!1,vh)}function NQ(n,t){var e=t.length,i,r,s;return!n||!n.state||(i=n.state,i.wrap!==0&&i.mode!==HA)?so:i.mode===HA&&(r=1,r=i_(r,t,e,0),r!==i.check)?S7:(s=C7(n,t,e,e),s?(i.mode=r_,a_):(i.havedict=1,vh))}ko.inflateReset=w7;ko.inflateReset2=E7;ko.inflateResetKeep=A7;ko.inflateInit=RQ;ko.inflateInit2=T7;ko.inflate=MQ;ko.inflateEnd=_Q;ko.inflateGetHeader=FQ;ko.inflateSetDictionary=NQ;ko.inflateInfo="pako inflate (from Nodeca project)"});var o_=je((Tnt,R7)=>{"use strict";R7.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 M7=je((Cnt,O7)=>{"use strict";function zQ(){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}O7.exports=zQ});var F7=je(Pv=>{"use strict";var Yp=D7(),Bv=kl(),jA=IM(),Zn=o_(),s_=RA(),kQ=XM(),LQ=M7(),_7=Object.prototype.toString;function yh(n){if(!(this instanceof yh))return new yh(n);this.options=Bv.assign({chunkSize:16384,windowBits:0,to:""},n||{});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&&!(n&&n.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 kQ,this.strm.avail_out=0;var e=Yp.inflateInit2(this.strm,t.windowBits);if(e!==Zn.Z_OK)throw new Error(s_[e]);if(this.header=new LQ,Yp.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=jA.string2buf(t.dictionary):_7.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(e=Yp.inflateSetDictionary(this.strm,t.dictionary),e!==Zn.Z_OK)))throw new Error(s_[e])}yh.prototype.push=function(n,t){var e=this.strm,i=this.options.chunkSize,r=this.options.dictionary,s,l,c,h,d,m=!1;if(this.ended)return!1;l=t===~~t?t:t===!0?Zn.Z_FINISH:Zn.Z_NO_FLUSH,typeof n=="string"?e.input=jA.binstring2buf(n):_7.call(n)==="[object ArrayBuffer]"?e.input=new Uint8Array(n):e.input=n,e.next_in=0,e.avail_in=e.input.length;do{if(e.avail_out===0&&(e.output=new Bv.Buf8(i),e.next_out=0,e.avail_out=i),s=Yp.inflate(e,Zn.Z_NO_FLUSH),s===Zn.Z_NEED_DICT&&r&&(s=Yp.inflateSetDictionary(this.strm,r)),s===Zn.Z_BUF_ERROR&&m===!0&&(s=Zn.Z_OK,m=!1),s!==Zn.Z_STREAM_END&&s!==Zn.Z_OK)return this.onEnd(s),this.ended=!0,!1;e.next_out&&(e.avail_out===0||s===Zn.Z_STREAM_END||e.avail_in===0&&(l===Zn.Z_FINISH||l===Zn.Z_SYNC_FLUSH))&&(this.options.to==="string"?(c=jA.utf8border(e.output,e.next_out),h=e.next_out-c,d=jA.buf2string(e.output,c),e.next_out=h,e.avail_out=i-h,h&&Bv.arraySet(e.output,e.output,c,h,0),this.onData(d)):this.onData(Bv.shrinkBuf(e.output,e.next_out))),e.avail_in===0&&e.avail_out===0&&(m=!0)}while((e.avail_in>0||e.avail_out===0)&&s!==Zn.Z_STREAM_END);return s===Zn.Z_STREAM_END&&(l=Zn.Z_FINISH),l===Zn.Z_FINISH?(s=Yp.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,s===Zn.Z_OK):(l===Zn.Z_SYNC_FLUSH&&(this.onEnd(Zn.Z_OK),e.avail_out=0),!0)};yh.prototype.onData=function(n){this.chunks.push(n)};yh.prototype.onEnd=function(n){n===Zn.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Bv.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg};function l_(n,t){var e=new yh(t);if(e.push(n,!0),e.err)throw e.msg||s_[e.err];return e.result}function UQ(n,t){return t=t||{},t.raw=!0,l_(n,t)}Pv.Inflate=yh;Pv.inflate=l_;Pv.inflateRaw=UQ;Pv.ungzip=l_});var Hv=je((Rnt,z7)=>{"use strict";var BQ=kl().assign,PQ=UH(),HQ=F7(),jQ=o_(),N7={};BQ(N7,PQ,HQ,jQ);z7.exports=N7});var Rtt={};FI(Rtt,{default:()=>Dtt});var $_=yn(Ir()),t3=yn(DB());var kn=yn(Ir());function TK(){return typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,n=>{let t=Math.random()*16|0;return(n==="x"?t:t&3|8).toString(16)})}var RB=["Sender","Signer 1"],CK={Sender:"#6366f1","Signer 1":"#22c55e","Signer 2":"#f59e0b","Signer 3":"#ef4444","Signer 4":"#06b6d4","Signer 5":"#d946ef"};function _o(n){return CK[n]||"#888888"}var DK={text:{width:20,height:3,fontSize:12,placeholder:"Enter text",textSubtype:"freeform"},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"}};function OB(n,t,e,i,r){let s=DK[n];return{id:TK(),type:n,label:n==="text"?"Text Field":n==="signature"?"Signature":n==="signed-date"?"Signed Date":n==="checkbox"?"Checkbox":"Initials",placeholder:s.placeholder||"",required:!0,assignee:t,page:e,x:i,y:r,width:s.width||20,height:s.height||3,fontSize:s.fontSize||12,value:"",...n==="text"?{textSubtype:s.textSubtype}:{}}}var wZ={},nv={};nv.d=(n,t)=>{for(var e in t)nv.o(t,e)&&!nv.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})};nv.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t);var Qt=globalThis.pdfjsLib={};nv.d(Qt,{AbortException:()=>Es,AnnotationEditorLayer:()=>fM,AnnotationEditorParamsType:()=>ze,AnnotationEditorType:()=>pe,AnnotationEditorUIManager:()=>ah,AnnotationLayer:()=>eM,AnnotationMode:()=>uc,ColorPicker:()=>aA,DOMSVGFactory:()=>hv,DrawLayer:()=>hM,FeatureTest:()=>Xi,GlobalWorkerOptions:()=>th,ImageKind:()=>Ox,InvalidPDFException:()=>av,MissingPDFException:()=>eh,OPS:()=>Fo,OutputScale:()=>sv,PDFDataRangeTransport:()=>Xx,PDFDateString:()=>Fx,PDFWorker:()=>Np,PasswordResponses:()=>FK,PermissionFlag:()=>_K,PixelsPerInch:()=>fc,RenderingCancelledException:()=>ov,TextLayer:()=>cv,TouchManager:()=>kx,UnexpectedResponseException:()=>zp,Util:()=>Mt,VerbosityLevel:()=>sA,XfaLayer:()=>Zx,build:()=>SZ,createValidAbsoluteUrl:()=>LK,fetchData:()=>fA,getDocument:()=>gZ,getFilenameFromUrl:()=>GK,getPdfFilenameFromUrl:()=>IK,getXfaPageViewport:()=>XK,isDataScheme:()=>hA,isPdfFile:()=>mM,noContextMenu:()=>No,normalizeUnicode:()=>jK,setLayerDimensions:()=>nh,shadow:()=>Ae,stopEvent:()=>Er,version:()=>bZ});var ia=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser"),GB=[1,0,0,1,0,0],IR=[.001,0,0,.001,0,0],RK=1e7,Rx=1.35,OK=.35,qtt=OK/Rx,wr={ANY:1,DISPLAY:2,PRINT:4,SAVE:8,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,IS_EDITING:128,OPLIST:256},uc={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},MK="pdfjs_internal_editor_",pe={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15},ze={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},_K={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},ea={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},Ox={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},Si={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 Qg={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};var sA={ERRORS:0,WARNINGS:1,INFOS:5},Fo={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},FK={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},lA=sA.WARNINGS;function NK(n){Number.isInteger(n)&&(lA=n)}function zK(){return lA}function uA(n){lA>=sA.INFOS&&console.log(`Info: ${n}`)}function me(n){lA>=sA.WARNINGS&&console.log(`Warning: ${n}`)}function cn(n){throw new Error(n)}function ci(n,t){n||cn(t)}function kK(n){switch(n?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function LK(n,t=null,e=null){if(!n)return null;try{if(e&&typeof n=="string"&&(e.addDefaultProtocol&&n.startsWith("www.")&&n.match(/\./g)?.length>=2&&(n=`http://${n}`),e.tryConvertEncoding))try{n=HK(n)}catch{}let i=t?new URL(n,t):new URL(n);if(kK(i))return i}catch{}return null}function Ae(n,t,e,i=!1){return Object.defineProperty(n,t,{value:e,enumerable:!i,configurable:!0,writable:!1}),e}var hc=(function(){function t(e,i){this.message=e,this.name=i}return t.prototype=new Error,t.constructor=t,t})(),Mx=class extends hc{constructor(t,e){super(t,"PasswordException"),this.code=e}},iv=class extends hc{constructor(t,e){super(t,"UnknownErrorException"),this.details=e}},av=class extends hc{constructor(t){super(t,"InvalidPDFException")}},eh=class extends hc{constructor(t){super(t,"MissingPDFException")}},zp=class extends hc{constructor(t,e){super(t,"UnexpectedResponseException"),this.status=e}},XR=class extends hc{constructor(t){super(t,"FormatError")}},Es=class extends hc{constructor(t){super(t,"AbortException")}};function IB(n){(typeof n!="object"||n?.length===void 0)&&cn("Invalid argument for bytesToString");let t=n.length,e=8192;if(t<e)return String.fromCharCode.apply(null,n);let i=[];for(let r=0;r<t;r+=e){let s=Math.min(r+e,t),l=n.subarray(r,s);i.push(String.fromCharCode.apply(null,l))}return i.join("")}function cA(n){typeof n!="string"&&cn("Invalid argument for stringToBytes");let t=n.length,e=new Uint8Array(t);for(let i=0;i<t;++i)e[i]=n.charCodeAt(i)&255;return e}function UK(n){return String.fromCharCode(n>>24&255,n>>16&255,n>>8&255,n&255)}function dM(n){let t=Object.create(null);for(let[e,i]of n)t[e]=i;return t}function BK(){let n=new Uint8Array(4);return n[0]=1,new Uint32Array(n.buffer,0,1)[0]===1}function PK(){try{return new Function(""),!0}catch{return!1}}var Xi=class{static get isLittleEndian(){return Ae(this,"isLittleEndian",BK())}static get isEvalSupported(){return Ae(this,"isEvalSupported",PK())}static get isOffscreenCanvasSupported(){return Ae(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}static get isImageDecoderSupported(){return Ae(this,"isImageDecoderSupported",typeof ImageDecoder<"u")}static get platform(){return typeof navigator<"u"&&typeof navigator?.platform=="string"?Ae(this,"platform",{isMac:navigator.platform.includes("Mac"),isWindows:navigator.platform.includes("Win"),isFirefox:typeof navigator?.userAgent=="string"&&navigator.userAgent.includes("Firefox")}):Ae(this,"platform",{isMac:!1,isWindows:!1,isFirefox:!1})}static get isCSSRoundSupported(){return Ae(this,"isCSSRoundSupported",globalThis.CSS?.supports?.("width: round(1.5px, 1px)"))}},HR=Array.from(Array(256).keys(),n=>n.toString(16).padStart(2,"0")),Mt=class{static makeHexColor(t,e,i){return`#${HR[t]}${HR[e]}${HR[i]}`}static scaleMinMax(t,e){let i;t[0]?(t[0]<0&&(i=e[0],e[0]=e[2],e[2]=i),e[0]*=t[0],e[2]*=t[0],t[3]<0&&(i=e[1],e[1]=e[3],e[3]=i),e[1]*=t[3],e[3]*=t[3]):(i=e[0],e[0]=e[1],e[1]=i,i=e[2],e[2]=e[3],e[3]=i,t[1]<0&&(i=e[1],e[1]=e[3],e[3]=i),e[1]*=t[1],e[3]*=t[1],t[2]<0&&(i=e[0],e[0]=e[2],e[2]=i),e[0]*=t[2],e[2]*=t[2]),e[0]+=t[4],e[1]+=t[5],e[2]+=t[4],e[3]+=t[5]}static transform(t,e){return[t[0]*e[0]+t[2]*e[1],t[1]*e[0]+t[3]*e[1],t[0]*e[2]+t[2]*e[3],t[1]*e[2]+t[3]*e[3],t[0]*e[4]+t[2]*e[5]+t[4],t[1]*e[4]+t[3]*e[5]+t[5]]}static applyTransform(t,e){let i=t[0]*e[0]+t[1]*e[2]+e[4],r=t[0]*e[1]+t[1]*e[3]+e[5];return[i,r]}static applyInverseTransform(t,e){let i=e[0]*e[3]-e[1]*e[2],r=(t[0]*e[3]-t[1]*e[2]+e[2]*e[5]-e[4]*e[3])/i,s=(-t[0]*e[1]+t[1]*e[0]+e[4]*e[1]-e[5]*e[0])/i;return[r,s]}static getAxialAlignedBoundingBox(t,e){let i=this.applyTransform(t,e),r=this.applyTransform(t.slice(2,4),e),s=this.applyTransform([t[0],t[3]],e),l=this.applyTransform([t[2],t[1]],e);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 e=t[0]*t[3]-t[1]*t[2];return[t[3]/e,-t[1]/e,-t[2]/e,t[0]/e,(t[2]*t[5]-t[4]*t[3])/e,(t[4]*t[1]-t[5]*t[0])/e]}static singularValueDecompose2dScale(t){let e=[t[0],t[2],t[1],t[3]],i=t[0]*e[0]+t[1]*e[2],r=t[0]*e[1]+t[1]*e[3],s=t[2]*e[0]+t[3]*e[2],l=t[2]*e[1]+t[3]*e[3],c=(i+l)/2,h=Math.sqrt((i+l)**2-4*(i*l-s*r))/2,d=c+h||1,m=c-h||1;return[Math.sqrt(d),Math.sqrt(m)]}static normalizeRect(t){let e=t.slice(0);return t[0]>t[2]&&(e[0]=t[2],e[2]=t[0]),t[1]>t[3]&&(e[1]=t[3],e[3]=t[1]),e}static intersect(t,e){let i=Math.max(Math.min(t[0],t[2]),Math.min(e[0],e[2])),r=Math.min(Math.max(t[0],t[2]),Math.max(e[0],e[2]));if(i>r)return null;let s=Math.max(Math.min(t[1],t[3]),Math.min(e[1],e[3])),l=Math.min(Math.max(t[1],t[3]),Math.max(e[1],e[3]));return s>l?null:[i,s,r,l]}static#t(t,e,i,r,s,l,c,h,d,m){if(d<=0||d>=1)return;let v=1-d,y=d*d,b=y*d,x=v*(v*(v*t+3*d*e)+3*y*i)+b*r,E=v*(v*(v*s+3*d*l)+3*y*c)+b*h;m[0]=Math.min(m[0],x),m[1]=Math.min(m[1],E),m[2]=Math.max(m[2],x),m[3]=Math.max(m[3],E)}static#e(t,e,i,r,s,l,c,h,d,m,v,y){if(Math.abs(d)<1e-12){Math.abs(m)>=1e-12&&this.#t(t,e,i,r,s,l,c,h,-v/m,y);return}let b=m**2-4*v*d;if(b<0)return;let x=Math.sqrt(b),E=2*d;this.#t(t,e,i,r,s,l,c,h,(-m+x)/E,y),this.#t(t,e,i,r,s,l,c,h,(-m-x)/E,y)}static bezierBoundingBox(t,e,i,r,s,l,c,h,d){return d?(d[0]=Math.min(d[0],t,c),d[1]=Math.min(d[1],e,h),d[2]=Math.max(d[2],t,c),d[3]=Math.max(d[3],e,h)):d=[Math.min(t,c),Math.min(e,h),Math.max(t,c),Math.max(e,h)],this.#e(t,i,s,c,e,r,l,h,3*(-t+3*(i-s)+c),6*(t-2*i+s),3*(i-t),d),this.#e(t,i,s,c,e,r,l,h,3*(-e+3*(r-l)+h),6*(e-2*r+l),3*(r-e),d),d}};function HK(n){return decodeURIComponent(escape(n))}var jR=null,MB=null;function jK(n){return jR||(jR=/([\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,MB=new Map([["\uFB05","\u017Ft"]])),n.replaceAll(jR,(t,e,i)=>e?e.normalize("NFKC"):MB.get(i))}function qK(){if(typeof crypto.randomUUID=="function")return crypto.randomUUID();let n=new Uint8Array(32);return crypto.getRandomValues(n),IB(n)}var pM="pdfjs_internal_id_";function VK(n){return Uint8Array.prototype.toBase64?n.toBase64():btoa(IB(n))}typeof Promise.try!="function"&&(Promise.try=function(n,...t){return new Promise(e=>{e(n(...t))})});var _l="http://www.w3.org/2000/svg",fc=class{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF};async function fA(n,t="text"){if(ev(n,document.baseURI)){let e=await fetch(n);if(!e.ok)throw new Error(e.statusText);switch(t){case"arraybuffer":return e.arrayBuffer();case"blob":return e.blob();case"json":return e.json()}return e.text()}return new Promise((e,i)=>{let r=new XMLHttpRequest;r.open("GET",n,!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":e(r.response);return}e(r.responseText);return}i(new Error(r.statusText))}},r.send(null)})}var rv=class n{constructor({viewBox:t,userUnit:e,scale:i,rotation:r,offsetX:s=0,offsetY:l=0,dontFlip:c=!1}){this.viewBox=t,this.userUnit=e,this.scale=i,this.rotation=r,this.offsetX=s,this.offsetY=l,i*=e;let h=(t[2]+t[0])/2,d=(t[3]+t[1])/2,m,v,y,b;switch(r%=360,r<0&&(r+=360),r){case 180:m=-1,v=0,y=0,b=1;break;case 90:m=0,v=1,y=1,b=0;break;case 270:m=0,v=-1,y=-1,b=0;break;case 0:m=1,v=0,y=0,b=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}c&&(y=-y,b=-b);let x,E,C,A;m===0?(x=Math.abs(d-t[1])*i+s,E=Math.abs(h-t[0])*i+l,C=(t[3]-t[1])*i,A=(t[2]-t[0])*i):(x=Math.abs(h-t[0])*i+s,E=Math.abs(d-t[1])*i+l,C=(t[2]-t[0])*i,A=(t[3]-t[1])*i),this.transform=[m*i,v*i,y*i,b*i,x-m*i*h-y*i*d,E-v*i*h-b*i*d],this.width=C,this.height=A}get rawDims(){let{userUnit:t,viewBox:e}=this,i=e.map(r=>r*t);return Ae(this,"rawDims",{pageWidth:i[2]-i[0],pageHeight:i[3]-i[1],pageX:i[0],pageY:i[1]})}clone({scale:t=this.scale,rotation:e=this.rotation,offsetX:i=this.offsetX,offsetY:r=this.offsetY,dontFlip:s=!1}={}){return new n({viewBox:this.viewBox.slice(),userUnit:this.userUnit,scale:t,rotation:e,offsetX:i,offsetY:r,dontFlip:s})}convertToViewportPoint(t,e){return Mt.applyTransform([t,e],this.transform)}convertToViewportRectangle(t){let e=Mt.applyTransform([t[0],t[1]],this.transform),i=Mt.applyTransform([t[2],t[3]],this.transform);return[e[0],e[1],i[0],i[1]]}convertToPdfPoint(t,e){return Mt.applyInverseTransform([t,e],this.transform)}},ov=class extends hc{constructor(t,e=0){super(t,"RenderingCancelledException"),this.extraDelay=e}};function hA(n){let t=n.length,e=0;for(;e<t&&n[e].trim()==="";)e++;return n.substring(e,e+5).toLowerCase()==="data:"}function mM(n){return typeof n=="string"&&/\.pdf$/i.test(n)}function GK(n){return[n]=n.split(/[#?]/,1),n.substring(n.lastIndexOf("/")+1)}function IK(n,t="document.pdf"){if(typeof n!="string")return t;if(hA(n))return me('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),t;let e=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,i=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,r=e.exec(n),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 _x=class{started=Object.create(null);times=[];time(t){t in this.started&&me(`Timer is already running for ${t}`),this.started[t]=Date.now()}timeEnd(t){t in this.started||me(`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=[],e=0;for(let{name:i}of this.times)e=Math.max(i.length,e);for(let{name:i,start:r,end:s}of this.times)t.push(`${i.padEnd(e)} ${s-r}ms
244
- `);return t.join("")}};function ev(n,t){try{let{protocol:e}=t?new URL(n,t):new URL(n);return e==="http:"||e==="https:"}catch{return!1}}function No(n){n.preventDefault()}function Er(n){n.preventDefault(),n.stopPropagation()}var Fx=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 e=this.#t.exec(t);if(!e)return null;let i=parseInt(e[1],10),r=parseInt(e[2],10);r=r>=1&&r<=12?r-1:0;let s=parseInt(e[3],10);s=s>=1&&s<=31?s:1;let l=parseInt(e[4],10);l=l>=0&&l<=23?l:0;let c=parseInt(e[5],10);c=c>=0&&c<=59?c:0;let h=parseInt(e[6],10);h=h>=0&&h<=59?h:0;let d=e[7]||"Z",m=parseInt(e[8],10);m=m>=0&&m<=23?m:0;let v=parseInt(e[9],10)||0;return v=v>=0&&v<=59?v:0,d==="-"?(l+=m,c+=v):d==="+"&&(l-=m,c-=v),new Date(Date.UTC(i,r,s,l,c,h))}};function XK(n,{scale:t=1,rotation:e=0}){let{width:i,height:r}=n.attributes.style,s=[0,0,parseInt(i),parseInt(r)];return new rv({viewBox:s,userUnit:1,scale:t,rotation:e})}function gM(n){if(n.startsWith("#")){let t=parseInt(n.slice(1),16);return[(t&16711680)>>16,(t&65280)>>8,t&255]}return n.startsWith("rgb(")?n.slice(4,-1).split(",").map(t=>parseInt(t)):n.startsWith("rgba(")?n.slice(5,-1).split(",").map(t=>parseInt(t)).slice(0,3):(me(`Not a valid color format: "${n}"`),[0,0,0])}function YK(n){let t=document.createElement("span");t.style.visibility="hidden",document.body.append(t);for(let e of n.keys()){t.style.color=e;let i=window.getComputedStyle(t).color;n.set(e,gM(i))}t.remove()}function On(n){let{a:t,b:e,c:i,d:r,e:s,f:l}=n.getTransform();return[t,e,i,r,s,l]}function As(n){let{a:t,b:e,c:i,d:r,e:s,f:l}=n.getTransform().invertSelf();return[t,e,i,r,s,l]}function nh(n,t,e=!1,i=!0){if(t instanceof rv){let{pageWidth:r,pageHeight:s}=t.rawDims,{style:l}=n,c=Xi.isCSSRoundSupported,h=`var(--scale-factor) * ${r}px`,d=`var(--scale-factor) * ${s}px`,m=c?`round(down, ${h}, var(--scale-round-x, 1px))`:`calc(${h})`,v=c?`round(down, ${d}, var(--scale-round-y, 1px))`:`calc(${d})`;!e||t.rotation%180===0?(l.width=m,l.height=v):(l.width=v,l.height=m)}i&&n.setAttribute("data-main-rotation",t.rotation)}var sv=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}},YR=class n{#t=null;#e=null;#n;#i=null;#r=null;static#a=null;constructor(t){this.#n=t,n.#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 e=this.#n._uiManager._signal;t.addEventListener("contextmenu",No,{signal:e}),t.addEventListener("pointerdown",n.#l,{signal:e});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.#h(),t}get div(){return this.#t}static#l(t){t.stopPropagation()}#s(t){this.#n._focusEventsAllowed=!1,Er(t)}#c(t){this.#n._focusEventsAllowed=!0,Er(t)}#u(t){let e=this.#n._uiManager._signal;t.addEventListener("focusin",this.#s.bind(this),{capture:!0,signal:e}),t.addEventListener("focusout",this.#c.bind(this),{capture:!0,signal:e}),t.addEventListener("contextmenu",No,{signal:e})}hide(){this.#t.classList.add("hidden"),this.#e?.hideDropdown()}show(){this.#t.classList.remove("hidden"),this.#r?.shown()}#h(){let{editorType:t,_uiManager:e}=this.#n,i=document.createElement("button");i.className="delete",i.tabIndex=0,i.setAttribute("data-l10n-id",n.#a[t]),this.#u(i),i.addEventListener("click",r=>{e.delete()},{signal:e._signal}),this.#i.append(i)}get#f(){let t=document.createElement("div");return t.className="divider",t}async addAltText(t){let e=await t.render();this.#u(e),this.#i.prepend(e,this.#f),this.#r=t}addColorPicker(t){this.#e=t;let e=t.renderButton();this.#u(e),this.#i.prepend(e,this.#f)}remove(){this.#t.remove(),this.#e?.destroy(),this.#e=null}},KR=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",No,{signal:this.#n._signal});let e=this.#t=document.createElement("div");return e.className="buttons",t.append(e),this.#a(),t}#r(t,e){let i=0,r=0;for(let s of t){let l=s.y+s.height;if(l<i)continue;let c=s.x+(e?s.width:0);if(l>i){r=c,i=l;continue}e?c>r&&(r=c):c<r&&(r=c)}return[e?1-r:r,i]}show(t,e,i){let[r,s]=this.#r(e,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 e=document.createElement("span");t.append(e),e.className="visuallyHidden",e.setAttribute("data-l10n-id","pdfjs-highlight-floating-button-label");let i=this.#n._signal;t.addEventListener("contextmenu",No,{signal:i}),t.addEventListener("click",()=>{this.#n.highlightSelection("floating_button")},{signal:i}),this.#t.append(t)}};function Nx(n,t,e){for(let i of e)t.addEventListener(i,n[i].bind(n))}var ZR=class{#t=0;get id(){return`${MK}${this.#t++}`}},WR=class n{#t=qK();#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 Ae(this,"_isSVGFittingCanvas",s)}async#i(t,e){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 e=="string"?(i.url=e,r=await fA(e,"blob")):e instanceof File?r=i.file=e:e instanceof Blob&&(r=e),r.type==="image/svg+xml"){let s=n._isSVGFittingCanvas,l=new FileReader,c=new Image,h=new Promise((d,m)=>{c.onload=()=>{i.bitmap=c,i.isSvg=!0,d()},l.onload=async()=>{let v=i.svgUrl=l.result;c.src=await s?`${v}#svgView(preserveAspectRatio(none))`:v},c.onerror=l.onerror=m});l.readAsDataURL(r),await h}else i.bitmap=await createImageBitmap(r);i.refCounter=1}catch(r){me(r),i=null}return this.#n.set(t,i),i&&this.#n.set(i.id,i),i}async getFromFile(t){let{lastModified:e,name:i,size:r,type:s}=t;return this.#i(`${e}_${i}_${r}_${s}`,t)}async getFromUrl(t){return this.#i(t,t)}async getFromBlob(t,e){let i=await e;return this.#i(t,i)}async getFromId(t){this.#n||=new Map;let e=this.#n.get(t);if(!e)return null;if(e.bitmap)return e.refCounter+=1,e;if(e.file)return this.getFromFile(e.file);if(e.blobPromise){let{blobPromise:i}=e;return delete e.blobPromise,this.getFromBlob(e.id,i)}return this.getFromUrl(e.url)}getFromCanvas(t,e){this.#n||=new Map;let i=this.#n.get(t);if(i?.bitmap)return i.refCounter+=1,i;let r=new OffscreenCanvas(e.width,e.height);return r.getContext("2d").drawImage(e,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 e=this.#n.get(t);return e?.isSvg?e.svgUrl:null}deleteId(t){this.#n||=new Map;let e=this.#n.get(t);if(!e||(e.refCounter-=1,e.refCounter!==0))return;let{bitmap:i}=e;if(!e.url&&!e.file){let r=new OffscreenCanvas(i.width,i.height);r.getContext("bitmaprenderer").transferFromImageBitmap(i),e.blobPromise=r.convertToBlob()}i.close?.(),e.bitmap=null}isValidId(t){return t.startsWith(`image_${this.#t}_`)}},QR=class{#t=[];#e=!1;#n;#i=-1;constructor(t=128){this.#n=t}add({cmd:t,undo:e,post:i,mustExec:r,type:s=NaN,overwriteIfSameType:l=!1,keepUndo:c=!1}){if(r&&t(),this.#e)return;let h={cmd:t,undo:e,post:i,type:s};if(this.#i===-1){this.#t.length>0&&(this.#t.length=0),this.#i=0,this.#t.push(h);return}if(l&&this.#t[this.#i].type===s){c&&(h.undo=this.#t[this.#i].undo),this.#t[this.#i]=h;return}let d=this.#i+1;d===this.#n?this.#t.splice(0,1):(this.#i=d,d<this.#t.length&&this.#t.splice(d)),this.#t.push(h)}undo(){if(this.#i===-1)return;this.#e=!0;let{undo:t,post:e}=this.#t[this.#i];t(),e?.(),this.#e=!1,this.#i-=1}redo(){if(this.#i<this.#t.length-1){this.#i+=1,this.#e=!0;let{cmd:t,post:e}=this.#t[this.#i];t(),e?.(),this.#e=!1}}hasSomethingToUndo(){return this.#i!==-1}hasSomethingToRedo(){return this.#i<this.#t.length-1}cleanType(t){if(this.#i!==-1){for(let e=this.#i;e>=0;e--)if(this.#t[e].type!==t){this.#t.splice(e+1,this.#i-e),this.#i=e;return}this.#t.length=0,this.#i=-1}}destroy(){this.#t=null}},ih=class{constructor(t){this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;let{isMac:e}=Xi.platform;for(let[i,r,s={}]of t)for(let l of i){let c=l.startsWith("mac+");e&&c?(this.callbacks.set(l.slice(4),{callback:r,options:s}),this.allKeys.add(l.split("+").at(-1))):!e&&!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 e=this.buffer.join("+");return this.buffer.length=0,e}exec(t,e){if(!this.allKeys.has(e.key))return;let i=this.callbacks.get(this.#t(e));if(!i)return;let{callback:r,options:{bubbles:s=!1,args:l=[],checker:c=null}}=i;c&&!c(t,e)||(r.bind(t,...l,e)(),s||Er(e))}},JR=class n{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){let t=new Map([["CanvasText",null],["Canvas",null]]);return YK(t),Ae(this,"_colors",t)}convert(t){let e=gM(t);if(!window.matchMedia("(forced-colors: active)").matches)return e;for(let[i,r]of this._colors)if(r.every((s,l)=>s===e[l]))return n._colorsMapping.get(i);return e}getHexCode(t){let e=this._colors.get(t);return e?Mt.makeHexColor(...e):t}},ah=class n{#t=new AbortController;#e=null;#n=new Map;#i=new Map;#r=null;#a=null;#l=null;#s=new QR;#c=null;#u=null;#h=0;#f=new Set;#d=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 ZR;#A=!1;#R=!1;#C=null;#_=null;#z=null;#L=null;#E=pe.NONE;#b=new Set;#N=null;#j=null;#q=null;#V={isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1};#U=[0,0];#k=null;#B=null;#G=null;#F=null;static TRANSLATE_SMALL=1;static TRANSLATE_BIG=10;static get _keyboardManager(){let t=n.prototype,e=l=>l.#B.contains(document.activeElement)&&document.activeElement.tagName!=="BUTTON"&&l.hasSomethingToControl(),i=(l,{target:c})=>{if(c instanceof HTMLInputElement){let{type:h}=c;return h!=="text"&&h!=="number"}return!0},r=this.TRANSLATE_SMALL,s=this.TRANSLATE_BIG;return Ae(this,"_keyboardManager",new ih([[["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.#B.contains(c)&&!l.isEnterHandled}],[[" ","mac+ "],t.addNewEditorFromKeyboard,{checker:(l,{target:c})=>!(c instanceof HTMLButtonElement)&&l.#B.contains(document.activeElement)}],[["Escape","mac+Escape"],t.unselectAll],[["ArrowLeft","mac+ArrowLeft"],t.translateSelectedEditors,{args:[-r,0],checker:e}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t.translateSelectedEditors,{args:[-s,0],checker:e}],[["ArrowRight","mac+ArrowRight"],t.translateSelectedEditors,{args:[r,0],checker:e}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t.translateSelectedEditors,{args:[s,0],checker:e}],[["ArrowUp","mac+ArrowUp"],t.translateSelectedEditors,{args:[0,-r],checker:e}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t.translateSelectedEditors,{args:[0,-s],checker:e}],[["ArrowDown","mac+ArrowDown"],t.translateSelectedEditors,{args:[0,r],checker:e}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t.translateSelectedEditors,{args:[0,s],checker:e}]]))}constructor(t,e,i,r,s,l,c,h,d,m,v,y,b){let x=this._signal=this.#t.signal;this.#B=t,this.#G=e,this.#r=i,this._eventBus=r,r._on("editingaction",this.onEditingAction.bind(this),{signal:x}),r._on("pagechanging",this.onPageChanging.bind(this),{signal:x}),r._on("scalechanging",this.onScaleChanging.bind(this),{signal:x}),r._on("rotationchanging",this.onRotationChanging.bind(this),{signal:x}),r._on("setpreference",this.onSetPreference.bind(this),{signal:x}),r._on("switchannotationeditorparams",E=>this.updateParams(E.type,E.value),{signal:x}),this.#et(),this.#rt(),this.#K(),this.#a=s.annotationStorage,this.#S=s.filterFactory,this.#j=l,this.#w=c||null,this.#g=h,this.#m=d,this.#v=m,this.#L=v||null,this.viewParameters={realScale:fc.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1,this._editorUndoBar=y||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 Ae(this,"hcmFilter",this.#j?this.#S.addHCMFilter(this.#j.foreground,this.#j.background):"none")}get direction(){return Ae(this,"direction",getComputedStyle(this.#B).direction)}get highlightColors(){return Ae(this,"highlightColors",this.#w?new Map(this.#w.split(",").map(t=>t.split("=").map(e=>e.trim()))):null)}get highlightColorNames(){return Ae(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,e=!1){this.#r?.editAltText(this,t,e)}switchToMode(t,e){this._eventBus.on("annotationeditormodechanged",e,{once:!0,signal:this._signal}),this._eventBus.dispatch("showannotationeditorui",{source:this,mode:t})}setPreference(t,e){this._eventBus.dispatch("setpreference",{source:this,name:t,value:e})}onSetPreference({name:t,value:e}){t==="enableNewAltTextWhenAddingImage"&&(this.#v=e)}onPageChanging({pageNumber:t}){this.#h=t-1}focusMainContainer(){this.#B.focus()}findParent(t,e){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&&e>=s&&e<=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*fc.PDF_TO_CSS_UNITS;for(let e of this.#p)e.onScaleChanging();this.#u?.onScaleChanging()}onRotationChanging({pagesRotation:t}){this.commitOrRemove(),this.viewParameters.rotation=t}#P({anchorNode:t}){return t.nodeType===Node.TEXT_NODE?t.parentElement:t}#Y(t){let{currentLayer:e}=this;if(e.hasTextLayer(t))return e;for(let i of this.#i.values())if(i.hasTextLayer(t))return i;return null}highlightSelection(t=""){let e=document.getSelection();if(!e||e.isCollapsed)return;let{anchorNode:i,anchorOffset:r,focusNode:s,focusOffset:l}=e,c=e.toString(),d=this.#P(e).closest(".textLayer"),m=this.getSelectionBoxes(d);if(!m)return;e.empty();let v=this.#Y(d),y=this.#E===pe.NONE,b=()=>{v?.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:t,boxes:m,anchorNode:i,anchorOffset:r,focusNode:s,focusOffset:l,text:c}),y&&this.showAllEditors("highlight",!0,!0)};if(y){this.switchToMode(pe.HIGHLIGHT,b);return}b()}#$(){let t=document.getSelection();if(!t||t.isCollapsed)return;let i=this.#P(t).closest(".textLayer"),r=this.getSelectionBoxes(i);r&&(this.#D||=new KR(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:e}=t;if(e===this.#N)return;let r=this.#P(t).closest(".textLayer");if(!r){this.#N&&(this.#D?.hide(),this.#N=null,this.#M({hasSelectedText:!1}));return}if(this.#D?.hide(),this.#N=e,this.#M({hasSelectedText:!0}),!(this.#E!==pe.HIGHLIGHT&&this.#E!==pe.NONE)&&(this.#E===pe.HIGHLIGHT&&this.showAllEditors("highlight",!0,!0),this.#T=this.isShiftKeyDown,!this.isShiftKeyDown)){let s=this.#E===pe.HIGHLIGHT?this.#Y(r):null;s?.toggleDrawing();let l=new AbortController,c=this.combinedSignal(l),h=d=>{d.type==="pointerup"&&d.button!==0||(l.abort(),s?.toggleDrawing(!0),d.type==="pointerup"&&this.#X("main_toolbar"))};window.addEventListener("pointerup",h,{signal:c}),window.addEventListener("blur",h,{signal:c})}}#X(t=""){this.#E===pe.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 e of this.#b)if(e.div.contains(t)){this.#_=[e,t],e._focusEventsAllowed=!1;break}}focus(){if(!this.#_)return;let[t,e]=this.#_;this.#_=null,e.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:this._signal}),e.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:e}of t.dataTransfer.items)for(let i of this.#o)if(i.isHandlingMimeForPasting(e)){t.dataTransfer.dropEffect="copy",t.preventDefault();return}}drop(t){for(let e of t.dataTransfer.items)for(let i of this.#o)if(i.isHandlingMimeForPasting(e.type)){i.paste(e,this.currentLayer),t.preventDefault();return}}copy(t){if(t.preventDefault(),this.#e?.commitOrRemove(),!this.hasSelection)return;let e=[];for(let i of this.#b){let r=i.serialize(!0);r&&e.push(r)}e.length!==0&&t.clipboardData.setData("application/pdfjs",JSON.stringify(e))}cut(t){this.copy(t),this.delete()}async paste(t){t.preventDefault();let{clipboardData:e}=t;for(let s of e.items)for(let l of this.#o)if(l.isHandlingMimeForPasting(s.type)){l.paste(s,this.currentLayer);return}let i=e.getData("application/pdfjs");if(!i)return;try{i=JSON.parse(i)}catch(s){me(`paste: "${s.message}".`);return}if(!Array.isArray(i))return;this.unselectAll();let r=this.currentLayer;try{let s=[];for(let h of i){let d=await r.deserialize(h);if(!d)return;s.push(d)}let l=()=>{for(let h of s)this.#Q(h);this.#J(s)},c=()=>{for(let h of s)h.remove()};this.addCommands({cmd:l,undo:c,mustExec:!0})}catch(s){me(`paste: "${s.message}".`)}}keydown(t){!this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!0),this.#E!==pe.NONE&&!this.isEditorHandlingKeyboard&&n._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===pe.HIGHLIGHT&&t.hasSelectedEditor===!1&&this.#H([[ze.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!==pe.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 e of this.#o)this.#H(e.defaultPropertiesToUpdate)}}getId(){return this.#O.id}get currentLayer(){return this.#i.get(this.#h)}getLayer(t){return this.#i.get(t)}get currentPageIndex(){return this.#h}addLayer(t){this.#i.set(t.pageIndex,t),this.#A?t.enable():t.disable()}removeLayer(t){this.#i.delete(t.pageIndex)}async updateMode(t,e=null,i=!1){if(this.#E!==t&&!(this.#F&&(await this.#F.promise,!this.#F))){if(this.#F=Promise.withResolvers(),this.#E=t,t===pe.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(!e){i&&this.addNewEditorFromKeyboard(),this.#F.resolve();return}for(let r of this.#n.values())r.annotationElementId===e?(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,e){if(this.#o){switch(t){case ze.CREATE:this.currentLayer.addNewEditor();return;case ze.HIGHLIGHT_DEFAULT_COLOR:this.#z?.updateColor(e);break;case ze.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(this.#q||=new Map).set(t,e),this.showAllEditors("highlight",e);break}for(let i of this.#b)i.updateParams(t,e);for(let i of this.#o)i.updateDefaultParams(t,e)}}showAllEditors(t,e,i=!1){for(let s of this.#n.values())s.editorType===t&&s.show(e);(this.#q?.get(ze.HIGHLIGHT_SHOW_ALL)??!0)!==e&&this.#H([[ze.HIGHLIGHT_SHOW_ALL,e]])}enableWaiting(t=!1){if(this.#R!==t){this.#R=t;for(let e of this.#i.values())t?e.disableClick():e.enableClick(),e.div.classList.toggle("waiting",t)}}async#ot(){if(!this.#A){this.#A=!0;let t=[];for(let e of this.#i.values())t.push(e.enable());await Promise.all(t);for(let e of this.#n.values())e.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 e=[];for(let i of this.#n.values())i.pageIndex===t&&e.push(i);return e}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 e=this.#i.get(t.pageIndex);e?e.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 e of this.#b)e!==t&&e.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 e=t?[t]:[...this.#b],i=()=>{this._editorUndoBar?.show(r,e.length===1?e[0].editorType:e.length);for(let s of e)s.remove()},r=()=>{for(let s of e)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 e of this.#b)e.unselect();this.#b.clear();for(let e of t)e.isEmpty()||(this.#b.add(e),e.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!==pe.NONE))&&!this.#u?.commitOrRemove()&&this.hasSelection){for(let t of this.#b)t.unselect();this.#b.clear(),this.#M({hasSelectedEditor:!1})}}translateSelectedEditors(t,e,i=!1){if(i||this.commitOrRemove(),!this.hasSelection)return;this.#U[0]+=t,this.#U[1]+=e;let[r,s]=this.#U,l=[...this.#b],c=1e3;this.#k&&clearTimeout(this.#k),this.#k=setTimeout(()=>{this.#k=null,this.#U[0]=this.#U[1]=0,this.addCommands({cmd:()=>{for(let h of l)this.#n.has(h.id)&&h.translateInPage(r,s)},undo:()=>{for(let h of l)this.#n.has(h.id)&&h.translateInPage(-r,-s)},mustExec:!1})},c);for(let h of l)h.translateInPage(t,e)}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),this.#d=new Map;for(let t of this.#b)this.#d.set(t,{savedX:t.x,savedY:t.y,savedPageIndex:t.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!this.#d)return!1;this.disableUserSelect(!1);let t=this.#d;this.#d=null;let e=!1;for(let[{x:r,y:s,pageIndex:l},c]of t)c.newX=r,c.newY=s,c.newPageIndex=l,e||=r!==c.savedX||s!==c.savedY||l!==c.savedPageIndex;if(!e)return!1;let i=(r,s,l,c)=>{if(this.#n.has(r.id)){let h=this.#i.get(c);h?r._setParentAndPosition(h,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,e){if(this.#d)for(let i of this.#d.keys())i.drag(t,e)}rebuild(t){if(t.parent===null){let e=this.getLayer(t.pageIndex);e?(e.changeParent(t),e.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 Ae(this,"imageManager",new WR)}getSelectionBoxes(t){if(!t)return null;let e=document.getSelection();for(let d=0,m=e.rangeCount;d<m;d++)if(!t.contains(e.getRangeAt(d).commonAncestorContainer))return null;let{x:i,y:r,width:s,height:l}=t.getBoundingClientRect(),c;switch(t.getAttribute("data-main-rotation")){case"90":c=(d,m,v,y)=>({x:(m-r)/l,y:1-(d+v-i)/s,width:y/l,height:v/s});break;case"180":c=(d,m,v,y)=>({x:1-(d+v-i)/s,y:1-(m+y-r)/l,width:v/s,height:y/l});break;case"270":c=(d,m,v,y)=>({x:1-(m+y-r)/l,y:(d-i)/s,width:y/l,height:v/s});break;default:c=(d,m,v,y)=>({x:(d-i)/s,y:(m-r)/l,width:v/s,height:y/l});break}let h=[];for(let d=0,m=e.rangeCount;d<m;d++){let v=e.getRangeAt(d);if(!v.collapsed)for(let{x:y,y:b,width:x,height:E}of v.getClientRects())x===0||E===0||h.push(c(y,b,x,E))}return h.length===0?null:h}addChangedExistingAnnotation({annotationElementId:t,id:e}){(this.#l||=new Map).set(t,e)}removeChangedExistingAnnotation({annotationElementId:t}){this.#l?.delete(t)}renderAnnotationElement(t){let e=this.#l?.get(t.data.id);if(!e)return;let i=this.#a.getRawValue(e);i&&(this.#E===pe.NONE&&!i.hasBeenModified||i.renderAnnotationElement(t))}},zx=class n{#t=null;#e=!1;#n=null;#i=null;#r=null;#a=null;#l=!1;#s=null;#c=null;#u=null;#h=null;#f=!1;static#d=null;static _l10n=null;constructor(t){this.#c=t,this.#f=t._uiManager.useNewAltTextFlow,n.#d||=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){n._l10n??=t}async render(){let t=this.#n=document.createElement("button");t.className="altText",t.tabIndex="0";let e=this.#i=document.createElement("span");t.append(e),this.#f?(t.classList.add("new"),t.setAttribute("data-l10n-id",n.#d.missing),e.setAttribute("data-l10n-id",n.#d["missing-label"])):(t.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button"),e.setAttribute("data-l10n-id","pdfjs-editor-alt-text-button-label"));let i=this.#c._uiManager._signal;t.addEventListener("contextmenu",No,{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.#h=await n._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 e=this.#s=document.createElement("div");e.className="noAltTextBadge",this.#c.div.append(e)}this.#s.classList.toggle("hidden",!t)}serialize(t){let e=this.#t;return!t&&this.#u===e&&(e=this.#h),{altText:e,decorative:this.#e,guessedText:this.#u,textWithDisclaimer:this.#h}}get data(){return{altText:this.#t,decorative:this.#e}}set data({altText:t,decorative:e,guessedText:i,textWithDisclaimer:r,cancel:s=!1}){i&&(this.#u=i,this.#h=r),!(this.#t===t&&this.#e===e)&&(s||(this.#t=t,this.#e=e),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",n.#d[this.#o]),this.#i?.setAttribute("data-l10n-id",n.#d[`${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 e=this.#r;if(!e){this.#r=e=document.createElement("span"),e.className="tooltip",e.setAttribute("role","tooltip"),e.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?e.setAttribute("data-l10n-id","pdfjs-editor-alt-text-decorative-tooltip"):(e.removeAttribute("data-l10n-id"),e.textContent=this.#t),e.parentNode||t.append(e),this.#c.getImageForAltText()?.setAttribute("aria-describedby",e.id)}},kx=class n{#t;#e=!1;#n=null;#i;#r;#a;#l;#s;#c=null;#u;#h=null;constructor({container:t,isPinchingDisabled:e=null,isPinchingStopped:i=null,onPinchStart:r=null,onPinching:s=null,onPinchEnd:l=null,signal:c}){this.#t=t,this.#n=i,this.#i=e,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 Ae(this,"MIN_TOUCH_DISTANCE_TO_PINCH",35/(window.devicePixelRatio||1))}#f(t){if(this.#i?.()||t.touches.length<2)return;if(!this.#h){this.#h=new AbortController;let r=AbortSignal.any([this.#s,this.#h.signal]),s=this.#t,l={signal:r,passive:!1};s.addEventListener("touchmove",this.#d.bind(this),l),s.addEventListener("touchend",this.#o.bind(this),l),s.addEventListener("touchcancel",this.#o.bind(this),l),this.#r?.()}if(Er(t),t.touches.length!==2||this.#n?.()){this.#c=null;return}let[e,i]=t.touches;e.identifier>i.identifier&&([e,i]=[i,e]),this.#c={touch0X:e.screenX,touch0Y:e.screenY,touch1X:i.screenX,touch1Y:i.screenY}}#d(t){if(!this.#c||t.touches.length!==2)return;let[e,i]=t.touches;e.identifier>i.identifier&&([e,i]=[i,e]);let{screenX:r,screenY:s}=e,{screenX:l,screenY:c}=i,h=this.#c,{touch0X:d,touch0Y:m,touch1X:v,touch1Y:y}=h,b=v-d,x=y-m,E=l-r,C=c-s,A=Math.hypot(E,C)||1,T=Math.hypot(b,x)||1;if(!this.#e&&Math.abs(T-A)<=n.MIN_TOUCH_DISTANCE_TO_PINCH)return;if(h.touch0X=r,h.touch0Y=s,h.touch1X=l,h.touch1Y=c,t.preventDefault(),!this.#e){this.#e=!0;return}let D=[(r+l)/2,(s+c)/2];this.#a?.(D,T,A)}#o(t){this.#h.abort(),this.#h=null,this.#l?.(),this.#c&&(t.preventDefault(),this.#c=null,this.#e=!1)}destroy(){this.#u?.abort(),this.#u=null}},zn=class n{#t=null;#e=null;#n=null;#i=!1;#r=null;#a="";#l=!1;#s=null;#c=null;#u=null;#h=null;#f="";#d=!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=n._zIndex++;static _borderLineWidth=-1;static _colorManager=new JR;static _zIndex=1;static _telemetryTimeout=1e3;static get _resizerKeyboardManager(){let t=n.prototype._resizeWithKeyboard,e=ah.TRANSLATE_SMALL,i=ah.TRANSLATE_BIG;return Ae(this,"_resizerKeyboardManager",new ih([[["ArrowLeft","mac+ArrowLeft"],t,{args:[-e,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t,{args:[-i,0]}],[["ArrowRight","mac+ArrowRight"],t,{args:[e,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t,{args:[i,0]}],[["ArrowUp","mac+ArrowUp"],t,{args:[0,-e]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t,{args:[0,-i]}],[["ArrowDown","mac+ArrowDown"],t,{args:[0,e]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t,{args:[0,i]}],[["Escape","mac+Escape"],n.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:e,rawDims:{pageWidth:i,pageHeight:r,pageX:s,pageY:l}}=this.parent.viewport;this.rotation=e,this.pageRotation=(360+e-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[i,r],this.pageTranslation=[s,l];let[c,h]=this.parentDimensions;this.x=t.x/c,this.y=t.y/h,this.isAttachedToDOM=!1,this.deleted=!1}get editorType(){return Object.getPrototypeOf(this).constructor._type}static get isDrawer(){return!1}static get _defaultLineColor(){return Ae(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(t){let e=new $R({id:t.parent.getNextId(),parent:t.parent,uiManager:t._uiManager});e.annotationElementId=t.annotationElementId,e.deleted=!0,e._uiManager.addToAnnotationStorage(e)}static initialize(t,e){if(n._l10n??=t,n._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"}),n._borderLineWidth!==-1)return;let i=getComputedStyle(document.documentElement);n._borderLineWidth=parseFloat(i.getPropertyValue("--outline-width"))||0}static updateDefaultParams(t,e){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(t){return!1}static paste(t,e){cn("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,e]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*e/(t*2),this.y+=this.width*t/(e*2);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*e/(t*2),this.y-=this.width*t/(e*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.#P(),this.parent=t}focusin(t){this._focusEventsAllowed&&(this.#d?this.#d=!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,e,i,r){let[s,l]=this.parentDimensions;[i,r]=this.screenToPageTranslation(i,r),this.x=(t+i)/s,this.y=(e+r)/l,this.fixAndSetPosition()}#O([t,e],i,r){[i,r]=this.screenToPageTranslation(i,r),this.x+=i/t,this.y+=r/e,this._onTranslating(this.x,this.y),this.fixAndSetPosition()}translate(t,e){this.#O(this.parentDimensions,t,e)}translateInPage(t,e){this.#o||=[this.x,this.y,this.width,this.height],this.#O(this.pageDimensions,t,e),this.div.scrollIntoView({block:"nearest"})}drag(t,e){this.#o||=[this.x,this.y,this.width,this.height];let{div:i,parentDimensions:[r,s]}=this;if(this.x+=t/r,this.y+=e/s,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){let{x:v,y}=this.div.getBoundingClientRect();this.parent.findNewParent(this,v,y)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:l,y:c}=this,[h,d]=this.getBaseTranslation();l+=h,c+=d;let{style:m}=i;m.left=`${(100*l).toFixed(2)}%`,m.top=`${(100*c).toFixed(2)}%`,this._onTranslating(l,c),i.scrollIntoView({block:"nearest"})}_onTranslating(t,e){}_onTranslated(t,e){}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,e]=this.parentDimensions,{_borderLineWidth:i}=n,r=i/t,s=i/e;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:e},pageDimensions:[i,r]}=this,{x:s,y:l,width:c,height:h}=this;if(c*=i,h*=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-h,l));break;case 90:s=Math.max(0,Math.min(i-h,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(h,l));break;case 270:s=Math.min(i,Math.max(h,s)),l=Math.max(0,Math.min(r-c,l));break}this.x=s/=i,this.y=l/=r;let[d,m]=this.getBaseTranslation();s+=d,l+=m,e.left=`${(100*s).toFixed(2)}%`,e.top=`${(100*l).toFixed(2)}%`,this.moveInDOM()}static#A(t,e,i){switch(i){case 90:return[e,-t];case 180:return[-t,-e];case 270:return[-e,t];default:return[t,e]}}screenToPageTranslation(t,e){return n.#A(t,e,this.parentRotation)}pageTranslationToScreen(t,e){return n.#A(t,e,360-this.parentRotation)}#R(t){switch(t){case 90:{let[e,i]=this.pageDimensions;return[0,-e/i,i/e,0]}case 180:return[-1,0,0,-1];case 270:{let[e,i]=this.pageDimensions;return[0,e/i,-i/e,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:[e,i]}=this;return[e*t,i*t]}setDims(t,e){let[i,r]=this.parentDimensions,{style:s}=this.div;s.width=`${(100*t/i).toFixed(2)}%`,this.#l||(s.height=`${(100*e/r).toFixed(2)}%`)}fixDims(){let{style:t}=this.div,{height:e,width:i}=t,r=i.endsWith("%"),s=!this.#l&&e.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(e)/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"],e=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:e}),r.addEventListener("contextmenu",No,{signal:e}),r.tabIndex=-1}this.div.prepend(this.#s)}#_(t,e){e.preventDefault();let{isMac:i}=Xi.platform;if(e.button!==0||e.ctrlKey&&i)return;this.#n?.toggle(!1);let r=this._isDraggable;this._isDraggable=!1,this.#c=[e.screenX,e.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",Er,{passive:!1,signal:l}),window.addEventListener("contextmenu",No,{signal:l}),this.#u={savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height};let c=this.parent.div.style.cursor,h=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(e.target).cursor;let d=()=>{s.abort(),this.parent.togglePointerEvents(!0),this.#n?.toggle(!0),this._isDraggable=r,this.parent.div.style.cursor=c,this.div.style.cursor=h,this.#L()};window.addEventListener("pointerup",d,{signal:l}),window.addEventListener("blur",d,{signal:l})}#z(t,e,i,r){this.width=i,this.height=r,this.x=t,this.y=e;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:e,savedWidth:i,savedHeight:r}=this.#u;this.#u=null;let s=this.x,l=this.y,c=this.width,h=this.height;s===t&&l===e&&c===i&&h===r||this.addCommands({cmd:this.#z.bind(this,s,l,c,h),undo:this.#z.bind(this,t,e,i,r),mustExec:!0})}static _round(t){return Math.round(t*1e4)/1e4}#E(t,e){let[i,r]=this.parentDimensions,s=this.x,l=this.y,c=this.width,h=this.height,d=n.MIN_SIZE/i,m=n.MIN_SIZE/r,v=this.#R(this.rotation),y=(X,V)=>[v[0]*X+v[2]*V,v[1]*X+v[3]*V],b=this.#R(360-this.rotation),x=(X,V)=>[b[0]*X+b[2]*V,b[1]*X+b[3]*V],E,C,A=!1,T=!1;switch(t){case"topLeft":A=!0,E=(X,V)=>[0,0],C=(X,V)=>[X,V];break;case"topMiddle":E=(X,V)=>[X/2,0],C=(X,V)=>[X/2,V];break;case"topRight":A=!0,E=(X,V)=>[X,0],C=(X,V)=>[0,V];break;case"middleRight":T=!0,E=(X,V)=>[X,V/2],C=(X,V)=>[0,V/2];break;case"bottomRight":A=!0,E=(X,V)=>[X,V],C=(X,V)=>[0,0];break;case"bottomMiddle":E=(X,V)=>[X/2,V],C=(X,V)=>[X/2,0];break;case"bottomLeft":A=!0,E=(X,V)=>[0,V],C=(X,V)=>[X,0];break;case"middleLeft":T=!0,E=(X,V)=>[0,V/2],C=(X,V)=>[X,V/2];break}let D=E(c,h),O=C(c,h),F=y(...O),U=n._round(s+F[0]),L=n._round(l+F[1]),k=1,G=1,q,Z;if(e.fromKeyboard)({deltaX:q,deltaY:Z}=e);else{let{screenX:X,screenY:V}=e,[lt,dt]=this.#c;[q,Z]=this.screenToPageTranslation(X-lt,V-dt),this.#c[0]=X,this.#c[1]=V}if([q,Z]=x(q/i,Z/r),A){let X=Math.hypot(c,h);k=G=Math.max(Math.min(Math.hypot(O[0]-D[0]-q,O[1]-D[1]-Z)/X,1/c,1/h),d/c,m/h)}else T?k=Math.max(d,Math.min(1,Math.abs(O[0]-D[0]-q)))/c:G=Math.max(m,Math.min(1,Math.abs(O[1]-D[1]-Z)))/h;let J=n._round(c*k),nt=n._round(h*G);F=y(...C(J,nt));let ot=U-F[0],B=L-F[1];this.#o||=[this.x,this.y,this.width,this.height],this.width=J,this.height=nt,this.x=ot,this.y=B,this.setDims(i*J,r*nt),this.fixAndSetPosition(),this._onResizing()}_onResizing(){}altTextFinish(){this.#n?.finish()}async addEditToolbar(){return this._editToolbar||this.#g?this._editToolbar:(this._editToolbar=new YR(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 e=this._editToolbar?.div;e?e.before(t):this.div.append(t)}getClientDimensions(){return this.div.getBoundingClientRect()}async addAltTextButton(){this.#n||(zx.initialize(n._l10n),this.#n=new zx(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.#U();let[t,e]=this.parentDimensions;this.parentRotation%180!==0&&(this.div.style.maxWidth=`${(100*e/t).toFixed(2)}%`,this.div.style.maxHeight=`${(100*t/e).toFixed(2)}%`);let[i,r]=this.getInitialTranslation();return this.translate(i,r),Nx(this,this.div,["pointerdown"]),this.isResizable&&this._uiManager._supportsPinchToZoom&&(this.#w||=new kx({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,e,i){let s=.7*(i/e)+1-.7;if(s===1)return;let l=this.#R(this.rotation),c=(U,L)=>[l[0]*U+l[2]*L,l[1]*U+l[3]*L],[h,d]=this.parentDimensions,m=this.x,v=this.y,y=this.width,b=this.height,x=n.MIN_SIZE/h,E=n.MIN_SIZE/d;s=Math.max(Math.min(s,1/y,1/b),x/y,E/b);let C=n._round(y*s),A=n._round(b*s);if(C===y&&A===b)return;this.#o||=[m,v,y,b];let T=c(y/2,b/2),D=n._round(m+T[0]),O=n._round(v+T[1]),F=c(C/2,A/2);this.x=D-F[0],this.y=O-F[1],this.width=C,this.height=A,this.setDims(h*C,d*A),this.fixAndSetPosition(),this._onResizing()}#j(){this.#n?.toggle(!0),this.parent.togglePointerEvents(!0),this.#L()}pointerdown(t){let{isMac:e}=Xi.platform;if(t.button!==0||t.ctrlKey&&e){t.preventDefault();return}if(this.#d=!0,this._isDraggable){this.#V(t);return}this.#q(t)}get isSelected(){return this._uiManager.isSelected(this)}#q(t){let{isMac:e}=Xi.platform;t.ctrlKey&&!e||t.shiftKey||t.metaKey&&e?this.parent.toggleSelected(this):this.parent.setSelected(this)}#V(t){let{isSelected:e}=this;this._uiManager.setUpDragSession();let i=!1,r=new AbortController,s=this._uiManager.combinedSignal(r),l={capture:!0,passive:!1,signal:s},c=d=>{r.abort(),this.#r=null,this.#d=!1,this._uiManager.endDragSession()||this.#q(d),i&&this._onStopDragging()};e&&(this.#S=t.clientX,this.#y=t.clientY,this.#r=t.pointerId,this.#a=t.pointerType,window.addEventListener("pointermove",d=>{i||(i=!0,this._onStartDragging());let{clientX:m,clientY:v,pointerId:y}=d;if(y!==this.#r){Er(d);return}let[b,x]=this.screenToPageTranslation(m-this.#S,v-this.#y);this.#S=m,this.#y=v,this._uiManager.dragSelectedEditors(b,x)},l),window.addEventListener("touchmove",Er,l),window.addEventListener("pointerdown",d=>{d.pointerType===this.#a&&(this.#w||d.isPrimary)&&c(d),Er(d)},l));let h=d=>{if(!this.#r||this.#r===d.pointerId){c(d);return}Er(d)};window.addEventListener("pointerup",h,{signal:s}),window.addEventListener("blur",h,{signal:s})}_onStartDragging(){}_onStopDragging(){}moveInDOM(){this.#v&&clearTimeout(this.#v),this.#v=setTimeout(()=>{this.#v=null,this.parent?.moveEditorInDOM(this)},0)}_setParentAndPosition(t,e,i){t.changeParent(this),this.x=e,this.y=i,this.fixAndSetPosition(),this._onTranslated()}getRect(t,e,i=this.rotation){let r=this.parentScale,[s,l]=this.pageDimensions,[c,h]=this.pageTranslation,d=t/r,m=e/r,v=this.x*s,y=this.y*l,b=this.width*s,x=this.height*l;switch(i){case 0:return[v+d+c,l-y-m-x+h,v+d+b+c,l-y-m+h];case 90:return[v+m+c,l-y+d+h,v+m+x+c,l-y+d+b+h];case 180:return[v-d-b+c,l-y+m+h,v-d+c,l-y+m+x+h];case 270:return[v-m-x+c,l-y-d-b+h,v-m+c,l-y-d+h];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(t,e){let[i,r,s,l]=t,c=s-i,h=l-r;switch(this.rotation){case 0:return[i,e-l,c,h];case 90:return[i,e-r,h,c];case 180:return[s,e-r,c,h];case 270:return[s,e-l,h,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:e,bottom:i,right:r}=this.getClientDimensions(),{innerHeight:s,innerWidth:l}=window;return e<l&&r>0&&t<s&&i>0}#U(){if(this.#h||!this.div)return;this.#h=new AbortController;let t=this._uiManager.combinedSignal(this.#h);this.div.addEventListener("focusin",this.focusin.bind(this),{signal:t}),this.div.addEventListener("focusout",this.focusout.bind(this),{signal:t})}rebuild(){this.#U()}rotate(t){}resize(){}serializeDeleted(){return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex,popupRef:this._initialData?.popupRef||""}}serialize(t=!1,e=null){cn("An editor must be serializable")}static async deserialize(t,e,i){let r=new this.prototype.constructor({parent:e,id:e.getNextId(),uiManager:i});r.rotation=t.rotation,r.#t=t.accessibilityData;let[s,l]=r.pageDimensions,[c,h,d,m]=r.getRectInCurrentCoords(t.rect,l);return r.x=c/s,r.y=h/l,r.width=d/s,r.height=m/l,r}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||this.serialize()!==null)}remove(){if(this.#h?.abort(),this.#h=null,this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),this.#v&&(clearTimeout(this.#v),this.#v=null),this.#P(),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"),Nx(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 e=this.#s.children;if(!this.#e){this.#e=Array.from(e);let l=this.#k.bind(this),c=this.#B.bind(this),h=this._uiManager._signal;for(let d of this.#e){let m=d.getAttribute("data-resizer-name");d.setAttribute("role","spinbutton"),d.addEventListener("keydown",l,{signal:h}),d.addEventListener("blur",c,{signal:h}),d.addEventListener("focus",this.#G.bind(this,m),{signal:h}),d.setAttribute("data-l10n-id",n._l10nResizer[m])}}let i=this.#e[0],r=0;for(let l of e){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 e){let d=this.#e[l++].getAttribute("data-resizer-name");c.setAttribute("data-l10n-id",n._l10nResizer[d])}}this.#F(0),this.#m=!0,this.#s.firstChild.focus({focusVisible:!0}),t.preventDefault(),t.stopImmediatePropagation()}#k(t){n._resizerKeyboardManager.exec(this,t)}#B(t){this.#m&&t.relatedTarget?.parentNode!==this.#s&&this.#P()}#G(t){this.#f=this.#m?t:""}#F(t){if(this.#e)for(let e of this.#e)e.tabIndex=t}_resizeWithKeyboard(t,e){this.#m&&this.#E(this.#f,{deltaX:t,deltaY:e,fromKeyboard:!0})}#P(){this.#m=!1,this.#F(-1),this.#L()}_stopResizingWithKeyboard(){this.#P(),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,e){}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,e){this.#l=!0;let i=t/e,{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,e=!1){if(e){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)},n._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 e=t.container.querySelector(".annotationContent");if(!e)e=document.createElement("div"),e.classList.add("annotationContent",this.editorType),t.container.prepend(e);else if(e.nodeName==="CANVAS"){let i=e;e=document.createElement("div"),e.classList.add("annotationContent",this.editorType),i.before(e)}return e}resetAnnotationElement(t){let{firstChild:e}=t.container;e?.nodeName==="DIV"&&e.classList.contains("annotationContent")&&e.remove()}},$R=class extends zn{constructor(t){super(t),this.annotationElementId=t.annotationElementId,this.deleted=!0}serialize(){return this.serializeDeleted()}},_B=3285377520,io=4294901760,ws=65535,Lx=class{constructor(t){this.h1=t?t&4294967295:_B,this.h2=t?t&4294967295:_B}update(t){let e,i;if(typeof t=="string"){e=new Uint8Array(t.length*2),i=0;for(let E=0,C=t.length;E<C;E++){let A=t.charCodeAt(E);A<=255?e[i++]=A:(e[i++]=A>>>8,e[i++]=A&255)}}else if(ArrayBuffer.isView(t))e=t.slice(),i=e.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(e.buffer,0,r),c=0,h=0,d=this.h1,m=this.h2,v=3432918353,y=461845907,b=v&ws,x=y&ws;for(let E=0;E<r;E++)E&1?(c=l[E],c=c*v&io|c*b&ws,c=c<<15|c>>>17,c=c*y&io|c*x&ws,d^=c,d=d<<13|d>>>19,d=d*5+3864292196):(h=l[E],h=h*v&io|h*b&ws,h=h<<15|h>>>17,h=h*y&io|h*x&ws,m^=h,m=m<<13|m>>>19,m=m*5+3864292196);switch(c=0,s){case 3:c^=e[r*4+2]<<16;case 2:c^=e[r*4+1]<<8;case 1:c^=e[r*4],c=c*v&io|c*b&ws,c=c<<15|c>>>17,c=c*y&io|c*x&ws,r&1?d^=c:m^=c}this.h1=d,this.h2=m}hexdigest(){let t=this.h1,e=this.h2;return t^=e>>>1,t=t*3981806797&io|t*36045&ws,e=e*4283543511&io|((e<<16|t>>>16)*2950163797&io)>>>16,t^=e>>>1,t=t*444984403&io|t*60499&ws,e=e*3301882366&io|((e<<16|t>>>16)*3120437893&io)>>>16,t^=e>>>1,(t>>>0).toString(16).padStart(8,"0")+(e>>>0).toString(16).padStart(8,"0")}},tO=Object.freeze({map:null,hash:"",transfer:void 0}),lv=class{#t=!1;#e=null;#n=new Map;constructor(){this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(t,e){let i=this.#n.get(t);return i===void 0?e:Object.assign(e,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 e of this.#n.values())if(e instanceof zn)return;this.onAnnotationEditor(null)}}setValue(t,e){let i=this.#n.get(t),r=!1;if(i!==void 0)for(let[s,l]of Object.entries(e))i[s]!==l&&(r=!0,i[s]=l);else r=!0,this.#n.set(t,e);r&&this.#i(),e instanceof zn&&typeof this.onAnnotationEditor=="function"&&this.onAnnotationEditor(e.constructor._type)}has(t){return this.#n.has(t)}getAll(){return this.#n.size>0?dM(this.#n):null}setAll(t){for(let[e,i]of Object.entries(t))this.setValue(e,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 Ux(this)}get serializable(){if(this.#n.size===0)return tO;let t=new Map,e=new Lx,i=[],r=Object.create(null),s=!1;for(let[l,c]of this.#n){let h=c instanceof zn?c.serialize(!1,r):c;h&&(t.set(l,h),e.update(`${l}:${JSON.stringify(h)}`),s||=!!h.bitmap)}if(s)for(let l of t.values())l.bitmap&&i.push(l.bitmap);return t.size>0?{map:t,hash:e.hexdigest(),transfer:i}:tO}get editorStats(){let t=null,e=new Map;for(let i of this.#n.values()){if(!(i instanceof zn))continue;let r=i.telemetryFinalData;if(!r)continue;let{type:s}=r;e.has(s)||e.set(s,Object.getPrototypeOf(i).constructor),t||=Object.create(null);let l=t[s]||=new Map;for(let[c,h]of Object.entries(r)){if(c==="type")continue;let d=l.get(c);d||(d=new Map,l.set(c,d));let m=d.get(h)??0;d.set(h,m+1)}}for(let[i,r]of e)t[i]=r.computeTelemetryFinalData(t[i]);return t}resetModifiedIds(){this.#e=null}get modifiedIds(){if(this.#e)return this.#e;let t=[];for(let e of this.#n.values())!(e instanceof zn)||!e.annotationElementId||!e.serialize()||t.push(e.annotationElementId);return this.#e={ids:new Set(t),hash:t.join(",")}}},Ux=class extends lv{#t;constructor(t){super();let{map:e,hash:i,transfer:r}=t.serializable,s=structuredClone(e,r?{transfer:r}:null);this.#t={map:s,hash:i,transfer:r}}get print(){cn("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#t}get modifiedIds(){return Ae(this,"modifiedIds",{ids:new Set,hash:""})}},eO=class{#t=new Set;constructor({ownerDocument:t=globalThis.document,styleElement:e=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 e=this.styleElement.sheet;e.insertRule(t,e.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:e}){if(!(!t||this.#t.has(t.loadedName))){if(ci(!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),e?.(t)}catch{me(`Cannot load system font: ${t.baseFontName}, installing it could help to improve PDF rendering.`),this.removeNativeFontFace(l)}return}cn("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 me(`Failed to load font '${i.family}': '${r}'.`),t.disableFontFace=!0,r}}return}let e=t.createFontFaceRule();if(e){if(this.insertRule(e),this.isSyncFontLoadingSupported)return;await new Promise(i=>{let r=this._queueLoadingCallback(i);this._prepareFontLoadEvent(t,r)})}}get isFontLoadingAPISupported(){let t=!!this._document?.fonts;return Ae(this,"isFontLoadingAPISupported",t)}get isSyncFontLoadingSupported(){let t=!1;return(ia||typeof navigator<"u"&&typeof navigator?.userAgent=="string"&&/Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent))&&(t=!0),Ae(this,"isSyncFontLoadingSupported",t)}_queueLoadingCallback(t){function e(){for(ci(!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:e,callback:t};return i.push(r),r}get _loadTestFont(){let t=atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==");return Ae(this,"_loadTestFont",t)}_prepareFontLoadEvent(t,e){function i(O,F){return O.charCodeAt(F)<<24|O.charCodeAt(F+1)<<16|O.charCodeAt(F+2)<<8|O.charCodeAt(F+3)&255}function r(O,F,U,L){let k=O.substring(0,F),G=O.substring(F+U);return k+L+G}let s,l,c=this._document.createElement("canvas");c.width=1,c.height=1;let h=c.getContext("2d"),d=0;function m(O,F){if(++d>30){me("Load test font never loaded."),F();return}if(h.font="30px "+O,h.fillText(".",0,20),h.getImageData(0,0,1,1).data[3]>0){F();return}setTimeout(m.bind(null,O,F))}let v=`lt${Date.now()}${this.loadTestFontId++}`,y=this._loadTestFont;y=r(y,976,v.length,v);let x=16,E=1482184792,C=i(y,x);for(s=0,l=v.length-3;s<l;s+=4)C=C-E+i(v,s)|0;s<v.length&&(C=C-E+i(v+"XXX",s)|0),y=r(y,x,4,UK(C));let A=`url(data:font/opentype;base64,${btoa(y)});`,T=`@font-face {font-family:"${v}";src:${A}}`;this.insertRule(T);let D=this._document.createElement("div");D.style.visibility="hidden",D.style.width=D.style.height="10px",D.style.position="absolute",D.style.top=D.style.left="0px";for(let O of[t.loadedName,v]){let F=this._document.createElement("span");F.textContent="Hi",F.style.fontFamily=O,D.append(F)}this._document.body.append(D),m(v,()=>{D.remove(),e.complete()})}},nO=class{constructor(t,{disableFontFace:e=!1,fontExtraProperties:i=!1,inspectFont:r=null}){this.compiledGlyphs=Object.create(null);for(let s in t)this[s]=t[s];this.disableFontFace=e===!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 e={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(e.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace(this.cssFontInfo.fontFamily,this.data,e)}return this._inspectFont?.(this),t}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;let t=`url(data:${this.mimetype};base64,${VK(this.data)});`,e;if(!this.cssFontInfo)e=`@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;`),e=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${i}src:${t}}`}return this._inspectFont?.(this,t),e}getPathGenerator(t,e){if(this.compiledGlyphs[e]!==void 0)return this.compiledGlyphs[e];let i=this.loadedName+"_path_"+e,r;try{r=t.get(i)}catch(l){me(`getPathGenerator - ignoring character: "${l}".`)}let s=new Path2D(r||"");return this.fontExtraProperties||t.delete(i),this.compiledGlyphs[e]=s}},Ex={DATA:1,ERROR:2},ui={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function FB(){}function Ia(n){if(n instanceof Es||n instanceof av||n instanceof eh||n instanceof Mx||n instanceof zp||n instanceof iv)return n;switch(n instanceof Error||typeof n=="object"&&n!==null||cn('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),n.name){case"AbortException":return new Es(n.message);case"InvalidPDFException":return new av(n.message);case"MissingPDFException":return new eh(n.message);case"PasswordException":return new Mx(n.message,n.code);case"UnexpectedResponseException":return new zp(n.message,n.status);case"UnknownErrorException":return new iv(n.message,n.details)}return new iv(n.message,n.toString())}var $f=class{#t=new AbortController;constructor(t,e,i){this.sourceName=t,this.targetName=e,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===Ex.DATA)r.resolve(t.data);else if(t.callback===Ex.ERROR)r.reject(Ia(t.reason));else throw new Error("Unexpected callback case");return}let e=this.actionHandler[t.action];if(!e)throw new Error(`Unknown action from worker: ${t.action}`);if(t.callbackId){let i=this.sourceName,r=t.sourceName,s=this.comObj;Promise.try(e,t.data).then(function(l){s.postMessage({sourceName:i,targetName:r,callback:Ex.DATA,callbackId:t.callbackId,data:l})},function(l){s.postMessage({sourceName:i,targetName:r,callback:Ex.ERROR,callbackId:t.callbackId,reason:Ia(l)})});return}if(t.streamId){this.#n(t);return}e(t.data)}on(t,e){let i=this.actionHandler;if(i[t])throw new Error(`There is already an actionName called "${t}"`);i[t]=e}send(t,e,i){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:e},i)}sendWithPromise(t,e,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:e},i)}catch(l){s.reject(l)}return s.promise}sendWithStream(t,e,i,r){let s=this.streamId++,l=this.sourceName,c=this.targetName,h=this.comObj;return new ReadableStream({start:d=>{let m=Promise.withResolvers();return this.streamControllers[s]={controller:d,startCall:m,pullCall:null,cancelCall:null,isClosed:!1},h.postMessage({sourceName:l,targetName:c,action:t,streamId:s,data:e,desiredSize:d.desiredSize},r),m.promise},pull:d=>{let m=Promise.withResolvers();return this.streamControllers[s].pullCall=m,h.postMessage({sourceName:l,targetName:c,stream:ui.PULL,streamId:s,desiredSize:d.desiredSize}),m.promise},cancel:d=>{ci(d instanceof Error,"cancel must have a valid reason");let m=Promise.withResolvers();return this.streamControllers[s].cancelCall=m,this.streamControllers[s].isClosed=!0,h.postMessage({sourceName:l,targetName:c,stream:ui.CANCEL,streamId:s,reason:Ia(d)}),m.promise}},i)}#n(t){let e=t.streamId,i=this.sourceName,r=t.sourceName,s=this.comObj,l=this,c=this.actionHandler[t.action],h={enqueue(d,m=1,v){if(this.isCancelled)return;let y=this.desiredSize;this.desiredSize-=m,y>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),s.postMessage({sourceName:i,targetName:r,stream:ui.ENQUEUE,streamId:e,chunk:d},v)},close(){this.isCancelled||(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:r,stream:ui.CLOSE,streamId:e}),delete l.streamSinks[e])},error(d){ci(d instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,s.postMessage({sourceName:i,targetName:r,stream:ui.ERROR,streamId:e,reason:Ia(d)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};h.sinkCapability.resolve(),h.ready=h.sinkCapability.promise,this.streamSinks[e]=h,Promise.try(c,t.data,h).then(function(){s.postMessage({sourceName:i,targetName:r,stream:ui.START_COMPLETE,streamId:e,success:!0})},function(d){s.postMessage({sourceName:i,targetName:r,stream:ui.START_COMPLETE,streamId:e,reason:Ia(d)})})}#i(t){let e=t.streamId,i=this.sourceName,r=t.sourceName,s=this.comObj,l=this.streamControllers[e],c=this.streamSinks[e];switch(t.stream){case ui.START_COMPLETE:t.success?l.startCall.resolve():l.startCall.reject(Ia(t.reason));break;case ui.PULL_COMPLETE:t.success?l.pullCall.resolve():l.pullCall.reject(Ia(t.reason));break;case ui.PULL:if(!c){s.postMessage({sourceName:i,targetName:r,stream:ui.PULL_COMPLETE,streamId:e,success:!0});break}c.desiredSize<=0&&t.desiredSize>0&&c.sinkCapability.resolve(),c.desiredSize=t.desiredSize,Promise.try(c.onPull||FB).then(function(){s.postMessage({sourceName:i,targetName:r,stream:ui.PULL_COMPLETE,streamId:e,success:!0})},function(d){s.postMessage({sourceName:i,targetName:r,stream:ui.PULL_COMPLETE,streamId:e,reason:Ia(d)})});break;case ui.ENQUEUE:if(ci(l,"enqueue should have stream controller"),l.isClosed)break;l.controller.enqueue(t.chunk);break;case ui.CLOSE:if(ci(l,"close should have stream controller"),l.isClosed)break;l.isClosed=!0,l.controller.close(),this.#r(l,e);break;case ui.ERROR:ci(l,"error should have stream controller"),l.controller.error(Ia(t.reason)),this.#r(l,e);break;case ui.CANCEL_COMPLETE:t.success?l.cancelCall.resolve():l.cancelCall.reject(Ia(t.reason)),this.#r(l,e);break;case ui.CANCEL:if(!c)break;let h=Ia(t.reason);Promise.try(c.onCancel||FB,h).then(function(){s.postMessage({sourceName:i,targetName:r,stream:ui.CANCEL_COMPLETE,streamId:e,success:!0})},function(d){s.postMessage({sourceName:i,targetName:r,stream:ui.CANCEL_COMPLETE,streamId:e,reason:Ia(d)})}),c.sinkCapability.reject(h),c.isCancelled=!0,delete this.streamSinks[e];break;default:throw new Error("Unexpected stream case")}}async#r(t,e){await Promise.allSettled([t.startCall?.promise,t.pullCall?.promise,t.cancelCall?.promise]),delete this.streamControllers[e]}destroy(){this.#t?.abort(),this.#t=null}},Bx=class{#t=!1;constructor({enableHWA:t=!1}){this.#t=t}create(t,e){if(t<=0||e<=0)throw new Error("Invalid canvas size");let i=this._createCanvas(t,e);return{canvas:i,context:i.getContext("2d",{willReadFrequently:!this.#t})}}reset(t,e,i){if(!t.canvas)throw new Error("Canvas is not specified");if(e<=0||i<=0)throw new Error("Invalid canvas size");t.canvas.width=e,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,e){cn("Abstract method `_createCanvas` called.")}},iO=class extends Bx{constructor({ownerDocument:t=globalThis.document,enableHWA:e=!1}){super({enableHWA:e}),this._document=t}_createCanvas(t,e){let i=this._document.createElement("canvas");return i.width=t,i.height=e,i}},Px=class{constructor({baseUrl:t=null,isCompressed:e=!0}){this.baseUrl=t,this.isCompressed=e}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 e=this.baseUrl+t+(this.isCompressed?".bcmap":"");return this._fetch(e).then(i=>({cMapData:i,isCompressed:this.isCompressed})).catch(i=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${e}`)})}async _fetch(t){cn("Abstract method `_fetch` called.")}},Hx=class extends Px{async _fetch(t){let e=await fA(t,this.isCompressed?"arraybuffer":"text");return e instanceof ArrayBuffer?new Uint8Array(e):cA(e)}},jx=class{addFilter(t){return"none"}addHCMFilter(t,e){return"none"}addAlphaFilter(t){return"none"}addLuminosityFilter(t){return"none"}addHighlightHCMFilter(t,e,i,r,s){return"none"}destroy(t=!1){}},aO=class extends jx{#t;#e;#n;#i;#r;#a;#l=0;constructor({docId:t,ownerDocument:e=globalThis.document}){super(),this.#i=t,this.#r=e}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:e}=t;e.visibility="hidden",e.contain="strict",e.width=e.height=0,e.position="absolute",e.top=e.left=0,e.zIndex=-1;let i=this.#r.createElementNS(_l,"svg");i.setAttribute("width",0),i.setAttribute("height",0),this.#n=this.#r.createElementNS(_l,"defs"),t.append(i),i.append(this.#n),this.#r.body.append(t)}return this.#n}#h(t){if(t.length===1){let h=t[0],d=new Array(256);for(let v=0;v<256;v++)d[v]=h[v]/255;let m=d.join(",");return[m,m,m]}let[e,i,r]=t,s=new Array(256),l=new Array(256),c=new Array(256);for(let h=0;h<256;h++)s[h]=e[h]/255,l[h]=i[h]/255,c[h]=r[h]/255;return[s.join(","),l.join(","),c.join(",")]}#f(t){if(this.#t===void 0){this.#t="";let e=this.#r.URL;e!==this.#r.baseURI&&(hA(e)?me('#createUrl: ignore "data:"-URL for performance reasons.'):this.#t=e.split("#",1)[0])}return`url(${this.#t}#${t})`}addFilter(t){if(!t)return"none";let e=this.#s.get(t);if(e)return e;let[i,r,s]=this.#h(t),l=t.length===1?i:`${i}${r}${s}`;if(e=this.#s.get(l),e)return this.#s.set(t,e),e;let c=`g_${this.#i}_transfer_map_${this.#l++}`,h=this.#f(c);this.#s.set(t,h),this.#s.set(l,h);let d=this.#p(c);return this.#m(i,r,s,d),h}addHCMFilter(t,e){let i=`${t}-${e}`,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||!e))return s.url;let l=this.#S(t);t=Mt.makeHexColor(...l);let c=this.#S(e);if(e=Mt.makeHexColor(...c),this.#u.style.color="",t==="#000000"&&e==="#ffffff"||t===e)return s.url;let h=new Array(256);for(let b=0;b<=255;b++){let x=b/255;h[b]=x<=.03928?x/12.92:((x+.055)/1.055)**2.4}let d=h.join(","),m=`g_${this.#i}_hcm_filter`,v=s.filter=this.#p(m);this.#m(d,d,d,v),this.#o(v);let y=(b,x)=>{let E=l[b]/255,C=c[b]/255,A=new Array(x+1);for(let T=0;T<=x;T++)A[T]=E+T/x*(C-E);return A.join(",")};return this.#m(y(0,5),y(1,5),y(2,5),v),s.url=this.#f(m),s.url}addAlphaFilter(t){let e=this.#s.get(t);if(e)return e;let[i]=this.#h([t]),r=`alpha_${i}`;if(e=this.#s.get(r),e)return this.#s.set(t,e),e;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 e=this.#s.get(t||"luminosity");if(e)return e;let i,r;if(t?([i]=this.#h([t]),r=`luminosity_${i}`):r="luminosity",e=this.#s.get(r),e)return this.#s.set(t,e),e;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.#d(c),t&&this.#v(i,c),l}addHighlightHCMFilter(t,e,i,r,s){let l=`${e}-${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)),!e||!i))return c.url;let[h,d]=[e,i].map(this.#S.bind(this)),m=Math.round(.2126*h[0]+.7152*h[1]+.0722*h[2]),v=Math.round(.2126*d[0]+.7152*d[1]+.0722*d[2]),[y,b]=[r,s].map(this.#S.bind(this));v<m&&([m,v,y,b]=[v,m,b,y]),this.#u.style.color="";let x=(A,T,D)=>{let O=new Array(256),F=(v-m)/D,U=A/255,L=(T-A)/(255*D),k=0;for(let G=0;G<=D;G++){let q=Math.round(m+G*F),Z=U+G*L;for(let J=k;J<=q;J++)O[J]=Z;k=q+1}for(let G=k;G<256;G++)O[G]=O[k-1];return O.join(",")},E=`g_${this.#i}_hcm_${t}_filter`,C=c.filter=this.#p(E);return this.#o(C),this.#m(x(y[0],b[0],5),x(y[1],b[1],5),x(y[2],b[2],5),C),c.url=this.#f(E),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)}#d(t){let e=this.#r.createElementNS(_l,"feColorMatrix");e.setAttribute("type","matrix"),e.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(e)}#o(t){let e=this.#r.createElementNS(_l,"feColorMatrix");e.setAttribute("type","matrix"),e.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(e)}#p(t){let e=this.#r.createElementNS(_l,"filter");return e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("id",t),this.#u.append(e),e}#g(t,e,i){let r=this.#r.createElementNS(_l,e);r.setAttribute("type","discrete"),r.setAttribute("tableValues",i),t.append(r)}#m(t,e,i,r){let s=this.#r.createElementNS(_l,"feComponentTransfer");r.append(s),this.#g(s,"feFuncR",t),this.#g(s,"feFuncG",e),this.#g(s,"feFuncB",i)}#v(t,e){let i=this.#r.createElementNS(_l,"feComponentTransfer");e.append(i),this.#g(i,"feFuncA",t)}#S(t){return this.#u.style.color=t,gM(getComputedStyle(this.#u).getPropertyValue("color"))}},qx=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 e=`${this.baseUrl}${t}`;return this._fetch(e).catch(i=>{throw new Error(`Unable to load font data at: ${e}`)})}async _fetch(t){cn("Abstract method `_fetch` called.")}},Vx=class extends qx{async _fetch(t){let e=await fA(t,"arraybuffer");return new Uint8Array(e)}};ia&&me("Please use the `legacy` build in Node.js environments.");async function XB(n){let e=await process.getBuiltinModule("fs").promises.readFile(n);return new Uint8Array(e)}var rO=class extends jx{},oO=class extends Bx{_createCanvas(t,e){return process.getBuiltinModule("module").createRequire(wZ.url)("@napi-rs/canvas").createCanvas(t,e)}},sO=class extends Px{async _fetch(t){return XB(t)}},lO=class extends qx{async _fetch(t){return XB(t)}},na={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function uO(n,t){if(!t)return;let e=t[2]-t[0],i=t[3]-t[1],r=new Path2D;r.rect(t[0],t[1],e,i),n.clip(r)}var uv=class{getPattern(){cn("Abstract method `getPattern` called.")}},cO=class extends uv{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 e;this._type==="axial"?e=t.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):this._type==="radial"&&(e=t.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(let i of this._colorStops)e.addColorStop(i[0],i[1]);return e}getPattern(t,e,i,r){let s;if(r===na.STROKE||r===na.FILL){let l=e.current.getClippedPathBoundingBox(r,On(t))||[0,0,0,0],c=Math.ceil(l[2]-l[0])||1,h=Math.ceil(l[3]-l[1])||1,d=e.cachedCanvases.getCanvas("pattern",c,h),m=d.context;m.clearRect(0,0,m.canvas.width,m.canvas.height),m.beginPath(),m.rect(0,0,m.canvas.width,m.canvas.height),m.translate(-l[0],-l[1]),i=Mt.transform(i,[1,0,0,1,l[0],l[1]]),m.transform(...e.baseTransform),this.matrix&&m.transform(...this.matrix),uO(m,this._bbox),m.fillStyle=this._createGradient(m),m.fill(),s=t.createPattern(d.canvas,"no-repeat");let v=new DOMMatrix(i);s.setTransform(v)}else uO(t,this._bbox),s=this._createGradient(t);return s}};function qR(n,t,e,i,r,s,l,c){let h=t.coords,d=t.colors,m=n.data,v=n.width*4,y;h[e+1]>h[i+1]&&(y=e,e=i,i=y,y=s,s=l,l=y),h[i+1]>h[r+1]&&(y=i,i=r,r=y,y=l,l=c,c=y),h[e+1]>h[i+1]&&(y=e,e=i,i=y,y=s,s=l,l=y);let b=(h[e]+t.offsetX)*t.scaleX,x=(h[e+1]+t.offsetY)*t.scaleY,E=(h[i]+t.offsetX)*t.scaleX,C=(h[i+1]+t.offsetY)*t.scaleY,A=(h[r]+t.offsetX)*t.scaleX,T=(h[r+1]+t.offsetY)*t.scaleY;if(x>=T)return;let D=d[s],O=d[s+1],F=d[s+2],U=d[l],L=d[l+1],k=d[l+2],G=d[c],q=d[c+1],Z=d[c+2],J=Math.round(x),nt=Math.round(T),ot,B,X,V,lt,dt,re,tt;for(let gt=J;gt<=nt;gt++){if(gt<C){let Et=gt<x?0:(x-gt)/(x-C);ot=b-(b-E)*Et,B=D-(D-U)*Et,X=O-(O-L)*Et,V=F-(F-k)*Et}else{let Et;gt>T?Et=1:C===T?Et=0:Et=(C-gt)/(C-T),ot=E-(E-A)*Et,B=U-(U-G)*Et,X=L-(L-q)*Et,V=k-(k-Z)*Et}let bt;gt<x?bt=0:gt>T?bt=1:bt=(x-gt)/(x-T),lt=b-(b-A)*bt,dt=D-(D-G)*bt,re=O-(O-q)*bt,tt=F-(F-Z)*bt;let Pt=Math.round(Math.min(ot,lt)),mn=Math.round(Math.max(ot,lt)),Ye=v*gt+Pt*4;for(let Et=Pt;Et<=mn;Et++)bt=(ot-Et)/(ot-lt),bt<0?bt=0:bt>1&&(bt=1),m[Ye++]=B-(B-dt)*bt|0,m[Ye++]=X-(X-re)*bt|0,m[Ye++]=V-(V-tt)*bt|0,m[Ye++]=255}}function KK(n,t,e){let i=t.coords,r=t.colors,s,l;switch(t.type){case"lattice":let c=t.verticesPerRow,h=Math.floor(i.length/c)-1,d=c-1;for(s=0;s<h;s++){let m=s*c;for(let v=0;v<d;v++,m++)qR(n,e,i[m],i[m+1],i[m+c],r[m],r[m+1],r[m+c]),qR(n,e,i[m+c+1],i[m+1],i[m+c],r[m+c+1],r[m+1],r[m+c])}break;case"triangles":for(s=0,l=i.length;s<l;s+=3)qR(n,e,i[s],i[s+1],i[s+2],r[s],r[s+1],r[s+2]);break;default:throw new Error("illegal figure")}}var fO=class extends uv{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,e,i){let c=Math.floor(this._bounds[0]),h=Math.floor(this._bounds[1]),d=Math.ceil(this._bounds[2])-c,m=Math.ceil(this._bounds[3])-h,v=Math.min(Math.ceil(Math.abs(d*t[0]*1.1)),3e3),y=Math.min(Math.ceil(Math.abs(m*t[1]*1.1)),3e3),b=d/v,x=m/y,E={coords:this._coords,colors:this._colors,offsetX:-c,offsetY:-h,scaleX:1/b,scaleY:1/x},C=v+4,A=y+4,T=i.getCanvas("mesh",C,A),D=T.context,O=D.createImageData(v,y);if(e){let U=O.data;for(let L=0,k=U.length;L<k;L+=4)U[L]=e[0],U[L+1]=e[1],U[L+2]=e[2],U[L+3]=255}for(let U of this._figures)KK(O,U,E);return D.putImageData(O,2,2),{canvas:T.canvas,offsetX:c-2*b,offsetY:h-2*x,scaleX:b,scaleY:x}}getPattern(t,e,i,r){uO(t,this._bbox);let s;if(r===na.SHADING)s=Mt.singularValueDecompose2dScale(On(t));else if(s=Mt.singularValueDecompose2dScale(e.baseTransform),this.matrix){let c=Mt.singularValueDecompose2dScale(this.matrix);s=[s[0]*c[0],s[1]*c[1]]}let l=this._createMeshCanvas(s,r===na.SHADING?null:this._background,e.cachedCanvases);return r!==na.SHADING&&(t.setTransform(...e.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")}},hO=class extends uv{getPattern(){return"hotpink"}};function ZK(n){switch(n[0]){case"RadialAxial":return new cO(n);case"Mesh":return new fO(n);case"Dummy":return new hO}throw new Error(`Unknown IR type: ${n[0]}`)}var NB={COLORED:1,UNCOLORED:2},dO=class n{static MAX_PATTERN_SIZE=3e3;constructor(t,e,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=e,this.ctx=i,this.canvasGraphicsFactory=r,this.baseTransform=s}createPatternCanvas(t){let{bbox:e,operatorList:i,paintType:r,tilingType:s,color:l,canvasGraphicsFactory:c}=this,{xstep:h,ystep:d}=this;h=Math.abs(h),d=Math.abs(d),uA("TilingType: "+s);let m=e[0],v=e[1],y=e[2],b=e[3],x=y-m,E=b-v,C=Mt.singularValueDecompose2dScale(this.matrix),A=Mt.singularValueDecompose2dScale(this.baseTransform),T=C[0]*A[0],D=C[1]*A[1],O=x,F=E,U=!1,L=!1,k=Math.ceil(h*T),G=Math.ceil(d*D),q=Math.ceil(x*T),Z=Math.ceil(E*D);k>=q?O=h:U=!0,G>=Z?F=d:L=!0;let J=this.getSizeAndScale(O,this.ctx.canvas.width,T),nt=this.getSizeAndScale(F,this.ctx.canvas.height,D),ot=t.cachedCanvases.getCanvas("pattern",J.size,nt.size),B=ot.context,X=c.createCanvasGraphics(B);if(X.groupLevel=t.groupLevel,this.setFillAndStrokeStyleToContext(X,r,l),B.translate(-J.scale*m,-nt.scale*v),X.transform(J.scale,0,0,nt.scale,0,0),B.save(),this.clipBbox(X,m,v,y,b),X.baseTransform=On(X.ctx),X.executeOperatorList(i),X.endDrawing(),B.restore(),U||L){let V=ot.canvas;U&&(O=h),L&&(F=d);let lt=this.getSizeAndScale(O,this.ctx.canvas.width,T),dt=this.getSizeAndScale(F,this.ctx.canvas.height,D),re=lt.size,tt=dt.size,gt=t.cachedCanvases.getCanvas("pattern-workaround",re,tt),bt=gt.context,Pt=U?Math.floor(x/h):0,mn=L?Math.floor(E/d):0;for(let Ye=0;Ye<=Pt;Ye++)for(let Et=0;Et<=mn;Et++)bt.drawImage(V,re*Ye,tt*Et,re,tt,0,0,re,tt);return{canvas:gt.canvas,scaleX:lt.scale,scaleY:dt.scale,offsetX:m,offsetY:v}}return{canvas:ot.canvas,scaleX:J.scale,scaleY:nt.scale,offsetX:m,offsetY:v}}getSizeAndScale(t,e,i){let r=Math.max(n.MAX_PATTERN_SIZE,e),s=Math.ceil(t*i);return s>=r?s=r:i=s/t,{scale:i,size:s}}clipBbox(t,e,i,r,s){let l=r-e,c=s-i;t.ctx.rect(e,i,l,c),t.current.updateRectMinMax(On(t.ctx),[e,i,r,s]),t.clip(),t.endPath()}setFillAndStrokeStyleToContext(t,e,i){let r=t.ctx,s=t.current;switch(e){case NB.COLORED:let l=this.ctx;r.fillStyle=l.fillStyle,r.strokeStyle=l.strokeStyle,s.fillColor=l.fillStyle,s.strokeColor=l.strokeStyle;break;case NB.UNCOLORED:let c=Mt.makeHexColor(i[0],i[1],i[2]);r.fillStyle=c,r.strokeStyle=c,s.fillColor=c,s.strokeColor=c;break;default:throw new XR(`Unsupported paint type: ${e}`)}}getPattern(t,e,i,r){let s=i;r!==na.SHADING&&(s=Mt.transform(s,e.baseTransform),this.matrix&&(s=Mt.transform(s,this.matrix)));let l=this.createPatternCanvas(e),c=new DOMMatrix(s);c=c.translate(l.offsetX,l.offsetY),c=c.scale(1/l.scaleX,1/l.scaleY);let h=t.createPattern(l.canvas,"repeat");return h.setTransform(c),h}};function WK({src:n,srcPos:t=0,dest:e,width:i,height:r,nonBlackColor:s=4294967295,inverseDecode:l=!1}){let c=Xi.isLittleEndian?4278190080:255,[h,d]=l?[s,c]:[c,s],m=i>>3,v=i&7,y=n.length;e=new Uint32Array(e.buffer);let b=0;for(let x=0;x<r;x++){for(let C=t+m;t<C;t++){let A=t<y?n[t]:255;e[b++]=A&128?d:h,e[b++]=A&64?d:h,e[b++]=A&32?d:h,e[b++]=A&16?d:h,e[b++]=A&8?d:h,e[b++]=A&4?d:h,e[b++]=A&2?d:h,e[b++]=A&1?d:h}if(v===0)continue;let E=t<y?n[t++]:255;for(let C=0;C<v;C++)e[b++]=E&1<<7-C?d:h}return{srcPos:t,destPos:b}}var zB=16,kB=100,QK=15,LB=10,UB=1e3,Xa=16;function JK(n,t){if(n._removeMirroring)throw new Error("Context is already forwarding operations.");n.__originalSave=n.save,n.__originalRestore=n.restore,n.__originalRotate=n.rotate,n.__originalScale=n.scale,n.__originalTranslate=n.translate,n.__originalTransform=n.transform,n.__originalSetTransform=n.setTransform,n.__originalResetTransform=n.resetTransform,n.__originalClip=n.clip,n.__originalMoveTo=n.moveTo,n.__originalLineTo=n.lineTo,n.__originalBezierCurveTo=n.bezierCurveTo,n.__originalRect=n.rect,n.__originalClosePath=n.closePath,n.__originalBeginPath=n.beginPath,n._removeMirroring=()=>{n.save=n.__originalSave,n.restore=n.__originalRestore,n.rotate=n.__originalRotate,n.scale=n.__originalScale,n.translate=n.__originalTranslate,n.transform=n.__originalTransform,n.setTransform=n.__originalSetTransform,n.resetTransform=n.__originalResetTransform,n.clip=n.__originalClip,n.moveTo=n.__originalMoveTo,n.lineTo=n.__originalLineTo,n.bezierCurveTo=n.__originalBezierCurveTo,n.rect=n.__originalRect,n.closePath=n.__originalClosePath,n.beginPath=n.__originalBeginPath,delete n._removeMirroring},n.save=function(){t.save(),this.__originalSave()},n.restore=function(){t.restore(),this.__originalRestore()},n.translate=function(i,r){t.translate(i,r),this.__originalTranslate(i,r)},n.scale=function(i,r){t.scale(i,r),this.__originalScale(i,r)},n.transform=function(i,r,s,l,c,h){t.transform(i,r,s,l,c,h),this.__originalTransform(i,r,s,l,c,h)},n.setTransform=function(i,r,s,l,c,h){t.setTransform(i,r,s,l,c,h),this.__originalSetTransform(i,r,s,l,c,h)},n.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},n.rotate=function(i){t.rotate(i),this.__originalRotate(i)},n.clip=function(i){t.clip(i),this.__originalClip(i)},n.moveTo=function(e,i){t.moveTo(e,i),this.__originalMoveTo(e,i)},n.lineTo=function(e,i){t.lineTo(e,i),this.__originalLineTo(e,i)},n.bezierCurveTo=function(e,i,r,s,l,c){t.bezierCurveTo(e,i,r,s,l,c),this.__originalBezierCurveTo(e,i,r,s,l,c)},n.rect=function(e,i,r,s){t.rect(e,i,r,s),this.__originalRect(e,i,r,s)},n.closePath=function(){t.closePath(),this.__originalClosePath()},n.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}var pO=class{constructor(t){this.canvasFactory=t,this.cache=Object.create(null)}getCanvas(t,e,i){let r;return this.cache[t]!==void 0?(r=this.cache[t],this.canvasFactory.reset(r,e,i)):(r=this.canvasFactory.create(e,i),this.cache[t]=r),r}delete(t){delete this.cache[t]}clear(){for(let t in this.cache){let e=this.cache[t];this.canvasFactory.destroy(e),delete this.cache[t]}}};function Tx(n,t,e,i,r,s,l,c,h,d){let[m,v,y,b,x,E]=On(n);if(v===0&&y===0){let T=l*m+x,D=Math.round(T),O=c*b+E,F=Math.round(O),U=(l+h)*m+x,L=Math.abs(Math.round(U)-D)||1,k=(c+d)*b+E,G=Math.abs(Math.round(k)-F)||1;return n.setTransform(Math.sign(m),0,0,Math.sign(b),D,F),n.drawImage(t,e,i,r,s,0,0,L,G),n.setTransform(m,v,y,b,x,E),[L,G]}if(m===0&&b===0){let T=c*y+x,D=Math.round(T),O=l*v+E,F=Math.round(O),U=(c+d)*y+x,L=Math.abs(Math.round(U)-D)||1,k=(l+h)*v+E,G=Math.abs(Math.round(k)-F)||1;return n.setTransform(0,Math.sign(v),Math.sign(y),0,D,F),n.drawImage(t,e,i,r,s,0,0,G,L),n.setTransform(m,v,y,b,x,E),[G,L]}n.drawImage(t,e,i,r,s,l,c,h,d);let C=Math.hypot(m,v),A=Math.hypot(y,b);return[C*h,A*d]}function $K(n){let{width:t,height:e}=n;if(t>UB||e>UB)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*(e+1)),c,h,d,m=t+7&-8,v=new Uint8Array(m*e),y=0;for(let A of n.data){let T=128;for(;T>0;)v[y++]=A&T?0:255,T>>=1}let b=0;for(y=0,v[y]!==0&&(l[0]=1,++b),h=1;h<t;h++)v[y]!==v[y+1]&&(l[h]=v[y]?2:1,++b),y++;for(v[y]!==0&&(l[h]=2,++b),c=1;c<e;c++){y=c*m,d=c*s,v[y-m]!==v[y]&&(l[d]=v[y]?1:8,++b);let A=(v[y]?4:0)+(v[y-m]?8:0);for(h=1;h<t;h++)A=(A>>2)+(v[y+1]?4:0)+(v[y-m+1]?8:0),r[A]&&(l[d+h]=r[A],++b),y++;if(v[y-m]!==v[y]&&(l[d+h]=v[y]?2:4,++b),b>i)return null}for(y=m*(e-1),d=c*s,v[y]!==0&&(l[d]=8,++b),h=1;h<t;h++)v[y]!==v[y+1]&&(l[d+h]=v[y]?4:8,++b),y++;if(v[y]!==0&&(l[d+h]=4,++b),b>i)return null;let x=new Int32Array([0,s,-1,0,-s,0,0,0,1]),E=new Path2D;for(c=0;b&&c<=e;c++){let A=c*s,T=A+t;for(;A<T&&!l[A];)A++;if(A===T)continue;E.moveTo(A%s,c);let D=A,O=l[A];do{let F=x[O];do A+=F;while(!l[A]);let U=l[A];U!==5&&U!==10?(O=U,l[A]=0):(O=U&51*O>>4,l[A]&=O>>2|O<<2),E.lineTo(A%s,A/s|0),l[A]||--b}while(D!==A);--c}return v=null,l=null,function(A){A.save(),A.scale(1/t,-1/e),A.translate(0,-e),A.fill(E),A.beginPath(),A.restore()}}var Gx=class{constructor(t,e){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=GB,this.textMatrixScale=1,this.fontMatrix=IR,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=ea.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,e])}clone(){let t=Object.create(this);return t.clipBox=this.clipBox.slice(),t}setCurrentPoint(t,e){this.x=t,this.y=e}updatePathMinMax(t,e,i){[e,i]=Mt.applyTransform([e,i],t),this.minX=Math.min(this.minX,e),this.minY=Math.min(this.minY,i),this.maxX=Math.max(this.maxX,e),this.maxY=Math.max(this.maxY,i)}updateRectMinMax(t,e){let i=Mt.applyTransform(e,t),r=Mt.applyTransform(e.slice(2),t),s=Mt.applyTransform([e[0],e[3]],t),l=Mt.applyTransform([e[2],e[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,e){Mt.scaleMinMax(t,e),this.minX=Math.min(this.minX,e[0]),this.minY=Math.min(this.minY,e[1]),this.maxX=Math.max(this.maxX,e[2]),this.maxY=Math.max(this.maxY,e[3])}updateCurvePathMinMax(t,e,i,r,s,l,c,h,d,m){let v=Mt.bezierBoundingBox(e,i,r,s,l,c,h,d,m);m||this.updateRectMinMax(t,v)}getPathBoundingBox(t=na.FILL,e=null){let i=[this.minX,this.minY,this.maxX,this.maxY];if(t===na.STROKE){e||cn("Stroke bounding box must include transform.");let r=Mt.singularValueDecompose2dScale(e),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=Mt.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=na.FILL,e=null){return Mt.intersect(this.clipBox,this.getPathBoundingBox(t,e))}};function BB(n,t){if(t instanceof ImageData){n.putImageData(t,0,0);return}let e=t.height,i=t.width,r=e%Xa,s=(e-r)/Xa,l=r===0?s:s+1,c=n.createImageData(i,Xa),h=0,d,m=t.data,v=c.data,y,b,x,E;if(t.kind===Ox.GRAYSCALE_1BPP){let C=m.byteLength,A=new Uint32Array(v.buffer,0,v.byteLength>>2),T=A.length,D=i+7>>3,O=4294967295,F=Xi.isLittleEndian?4278190080:255;for(y=0;y<l;y++){for(x=y<s?Xa:r,d=0,b=0;b<x;b++){let U=C-h,L=0,k=U>D?i:U*8-7,G=k&-8,q=0,Z=0;for(;L<G;L+=8)Z=m[h++],A[d++]=Z&128?O:F,A[d++]=Z&64?O:F,A[d++]=Z&32?O:F,A[d++]=Z&16?O:F,A[d++]=Z&8?O:F,A[d++]=Z&4?O:F,A[d++]=Z&2?O:F,A[d++]=Z&1?O:F;for(;L<k;L++)q===0&&(Z=m[h++],q=128),A[d++]=Z&q?O:F,q>>=1}for(;d<T;)A[d++]=0;n.putImageData(c,0,y*Xa)}}else if(t.kind===Ox.RGBA_32BPP){for(b=0,E=i*Xa*4,y=0;y<s;y++)v.set(m.subarray(h,h+E)),h+=E,n.putImageData(c,0,b),b+=Xa;y<l&&(E=i*r*4,v.set(m.subarray(h,h+E)),n.putImageData(c,0,b))}else if(t.kind===Ox.RGB_24BPP)for(x=Xa,E=i*x,y=0;y<l;y++){for(y>=s&&(x=r,E=i*x),d=0,b=E;b--;)v[d++]=m[h++],v[d++]=m[h++],v[d++]=m[h++],v[d++]=255;n.putImageData(c,0,y*Xa)}else throw new Error(`bad image kind: ${t.kind}`)}function PB(n,t){if(t.bitmap){n.drawImage(t.bitmap,0,0);return}let e=t.height,i=t.width,r=e%Xa,s=(e-r)/Xa,l=r===0?s:s+1,c=n.createImageData(i,Xa),h=0,d=t.data,m=c.data;for(let v=0;v<l;v++){let y=v<s?Xa:r;({srcPos:h}=WK({src:d,srcPos:h,dest:m,width:i,height:y,nonBlackColor:0})),n.putImageData(c,0,v*Xa)}}function Jg(n,t){let e=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font","filter"];for(let i of e)n[i]!==void 0&&(t[i]=n[i]);n.setLineDash!==void 0&&(t.setLineDash(n.getLineDash()),t.lineDashOffset=n.lineDashOffset)}function Cx(n){if(n.strokeStyle=n.fillStyle="#000000",n.fillRule="nonzero",n.globalAlpha=1,n.lineWidth=1,n.lineCap="butt",n.lineJoin="miter",n.miterLimit=10,n.globalCompositeOperation="source-over",n.font="10px sans-serif",n.setLineDash!==void 0&&(n.setLineDash([]),n.lineDashOffset=0),!ia){let{filter:t}=n;t!=="none"&&t!==""&&(n.filter="none")}}function HB(n,t){if(t)return!0;let e=Mt.singularValueDecompose2dScale(n);e[0]=Math.fround(e[0]),e[1]=Math.fround(e[1]);let i=Math.fround((globalThis.devicePixelRatio||1)*fc.PDF_TO_CSS_UNITS);return e[0]<=i&&e[1]<=i}var tZ=["butt","round","square"],eZ=["miter","round","bevel"],nZ={},jB={},Fp=class n{constructor(t,e,i,r,s,{optionalContentConfig:l,markedContentStack:c=null},h,d){this.ctx=t,this.current=new Gx(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=e,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 pO(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=h,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.pageColors=d,this._cachedScaleForStroking=[-1,0],this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(t,e=null){return typeof t=="string"?t.startsWith("g_")?this.commonObjs.get(t):this.objs.get(t):e}beginDrawing({transform:t,viewport:e,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 h=this.cachedCanvases.getCanvas("transparent",s,l);this.compositeCtx=this.ctx,this.transparentCanvas=h.canvas,this.ctx=h.context,this.ctx.save(),this.ctx.transform(...On(this.compositeCtx))}this.ctx.save(),Cx(this.ctx),t&&(this.ctx.transform(...t),this.outputScaleX=t[0],this.outputScaleY=t[0]),this.ctx.transform(...e.transform),this.viewportScale=e.scale,this.baseTransform=On(this.ctx)}executeOperatorList(t,e,i,r){let s=t.argsArray,l=t.fnArray,c=e||0,h=s.length;if(h===c)return c;let d=h-c>LB&&typeof i=="function",m=d?Date.now()+QK:0,v=0,y=this.commonObjs,b=this.objs,x;for(;;){if(r!==void 0&&c===r.nextBreakPoint)return r.breakIt(c,i),c;if(x=l[c],x!==Fo.dependency)this[x].apply(this,s[c]);else for(let E of s[c]){let C=E.startsWith("g_")?y:b;if(!C.has(E))return C.get(E,i),c}if(c++,c===h)return c;if(d&&++v>LB){if(Date.now()>m)return i(),c;v=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 e of t.values())typeof HTMLCanvasElement<"u"&&e instanceof HTMLCanvasElement&&(e.width=e.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 e=this.ctx.filter;this.ctx.filter=t,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=e}}}_scaleImage(t,e){let i=t.width??t.displayWidth,r=t.height??t.displayHeight,s=Math.max(Math.hypot(e[0],e[1]),1),l=Math.max(Math.hypot(e[2],e[3]),1),c=i,h=r,d="prescale1",m,v;for(;s>2&&c>1||l>2&&h>1;){let y=c,b=h;s>2&&c>1&&(y=c>=16384?Math.floor(c/2)-1||1:Math.ceil(c/2),s/=c/y),l>2&&h>1&&(b=h>=16384?Math.floor(h/2)-1||1:Math.ceil(h)/2,l/=h/b),m=this.cachedCanvases.getCanvas(d,y,b),v=m.context,v.clearRect(0,0,y,b),v.drawImage(t,0,0,c,h,0,0,y,b),t=m.canvas,c=y,h=b,d=d==="prescale1"?"prescale2":"prescale1"}return{img:t,paintWidth:c,paintHeight:h}}_createMaskCanvas(t){let e=this.ctx,{width:i,height:r}=t,s=this.current.fillColor,l=this.current.patternFill,c=On(e),h,d,m,v;if((t.bitmap||t.data)&&t.count>1){let k=t.bitmap||t.data.buffer;d=JSON.stringify(l?c:[c.slice(0,4),s]),h=this._cachedBitmapsMap.get(k),h||(h=new Map,this._cachedBitmapsMap.set(k,h));let G=h.get(d);if(G&&!l){let q=Math.round(Math.min(c[0],c[2])+c[4]),Z=Math.round(Math.min(c[1],c[3])+c[5]);return{canvas:G,offsetX:q,offsetY:Z}}m=G}m||(v=this.cachedCanvases.getCanvas("maskCanvas",i,r),PB(v.context,t));let y=Mt.transform(c,[1/i,0,0,-1/r,0,0]);y=Mt.transform(y,[1,0,0,1,0,-r]);let[b,x,E,C]=Mt.getAxialAlignedBoundingBox([0,0,i,r],y),A=Math.round(E-b)||1,T=Math.round(C-x)||1,D=this.cachedCanvases.getCanvas("fillCanvas",A,T),O=D.context,F=b,U=x;O.translate(-F,-U),O.transform(...y),m||(m=this._scaleImage(v.canvas,As(O)),m=m.img,h&&l&&h.set(d,m)),O.imageSmoothingEnabled=HB(On(O),t.interpolate),Tx(O,m,0,0,m.width,m.height,0,0,i,r),O.globalCompositeOperation="source-in";let L=Mt.transform(As(O),[1,0,0,1,-F,-U]);return O.fillStyle=l?s.getPattern(e,this,L,na.FILL):s,O.fillRect(0,0,i,r),h&&!l&&(this.cachedCanvases.delete("fillCanvas"),h.set(d,D.canvas)),{canvas:D.canvas,offsetX:Math.round(F),offsetY:Math.round(U)}}setLineWidth(t){t!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=t,this.ctx.lineWidth=t}setLineCap(t){this.ctx.lineCap=tZ[t]}setLineJoin(t){this.ctx.lineJoin=eZ[t]}setMiterLimit(t){this.ctx.miterLimit=t}setDash(t,e){let i=this.ctx;i.setLineDash!==void 0&&(i.setLineDash(t),i.lineDashOffset=e)}setRenderingIntent(t){}setFlatness(t){}setGState(t){for(let[e,i]of t)switch(e){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,e=this.ctx.canvas.height,i="smaskGroupAt"+this.groupLevel,r=this.cachedCanvases.getCanvas(i,t,e);this.suspendedCtx=this.ctx,this.ctx=r.context;let s=this.ctx;s.setTransform(...On(this.suspendedCtx)),Jg(this.suspendedCtx,s),JK(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(),Jg(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 e=this.current.activeSMask,i=this.suspendedCtx;this.composeSMask(i,e,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,e,i,r){let s=r[0],l=r[1],c=r[2]-s,h=r[3]-l;c===0||h===0||(this.genericComposeSMask(e.context,i,c,h,e.subtype,e.backdrop,e.transferMap,s,l,e.offsetX,e.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,e,i,r,s,l,c,h,d,m,v){let y=t.canvas,b=h-m,x=d-v;if(l){let C=Mt.makeHexColor(...l);if(b<0||x<0||b+i>y.width||x+r>y.height){let A=this.cachedCanvases.getCanvas("maskExtension",i,r),T=A.context;T.drawImage(y,-b,-x),T.globalCompositeOperation="destination-atop",T.fillStyle=C,T.fillRect(0,0,i,r),T.globalCompositeOperation="source-over",y=A.canvas,b=x=0}else{t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0);let A=new Path2D;A.rect(b,x,i,r),t.clip(A),t.globalCompositeOperation="destination-atop",t.fillStyle=C,t.fillRect(b,x,i,r),t.restore()}}e.save(),e.globalAlpha=1,e.setTransform(1,0,0,1,0,0),s==="Alpha"&&c?e.filter=this.filterFactory.addAlphaFilter(c):s==="Luminosity"&&(e.filter=this.filterFactory.addLuminosityFilter(c));let E=new Path2D;E.rect(h,d,i,r),e.clip(E),e.globalCompositeOperation="destination-in",e.drawImage(y,b,x,i,r,h,d,i,r),e.restore()}save(){this.inSMaskMode?(Jg(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(),Jg(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}transform(t,e,i,r,s,l){this.ctx.transform(t,e,i,r,s,l),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(t,e,i){let r=this.ctx,s=this.current,l=s.x,c=s.y,h,d,m=On(r),v=m[0]===0&&m[3]===0||m[1]===0&&m[2]===0,y=v?i.slice(0):null;for(let b=0,x=0,E=t.length;b<E;b++)switch(t[b]|0){case Fo.rectangle:l=e[x++],c=e[x++];let C=e[x++],A=e[x++],T=l+C,D=c+A;r.moveTo(l,c),C===0||A===0?r.lineTo(T,D):(r.lineTo(T,c),r.lineTo(T,D),r.lineTo(l,D)),v||s.updateRectMinMax(m,[l,c,T,D]),r.closePath();break;case Fo.moveTo:l=e[x++],c=e[x++],r.moveTo(l,c),v||s.updatePathMinMax(m,l,c);break;case Fo.lineTo:l=e[x++],c=e[x++],r.lineTo(l,c),v||s.updatePathMinMax(m,l,c);break;case Fo.curveTo:h=l,d=c,l=e[x+4],c=e[x+5],r.bezierCurveTo(e[x],e[x+1],e[x+2],e[x+3],l,c),s.updateCurvePathMinMax(m,h,d,e[x],e[x+1],e[x+2],e[x+3],l,c,y),x+=6;break;case Fo.curveTo2:h=l,d=c,r.bezierCurveTo(l,c,e[x],e[x+1],e[x+2],e[x+3]),s.updateCurvePathMinMax(m,h,d,l,c,e[x],e[x+1],e[x+2],e[x+3],y),l=e[x+2],c=e[x+3],x+=4;break;case Fo.curveTo3:h=l,d=c,l=e[x+2],c=e[x+3],r.bezierCurveTo(e[x],e[x+1],l,c,l,c),s.updateCurvePathMinMax(m,h,d,e[x],e[x+1],l,c,l,c,y),x+=4;break;case Fo.closePath:r.closePath();break}v&&s.updateScalingPathMinMax(m,y),s.setCurrentPoint(l,c)}closePath(){this.ctx.closePath()}stroke(t=!0){let e=this.ctx,i=this.current.strokeColor;e.globalAlpha=this.current.strokeAlpha,this.contentVisible&&(typeof i=="object"&&i?.getPattern?(e.save(),e.strokeStyle=i.getPattern(e,this,As(e),na.STROKE),this.rescaleAndStroke(!1),e.restore()):this.rescaleAndStroke(!0)),t&&this.consumePath(this.current.getClippedPathBoundingBox()),e.globalAlpha=this.current.fillAlpha}closeStroke(){this.closePath(),this.stroke()}fill(t=!0){let e=this.ctx,i=this.current.fillColor,r=this.current.patternFill,s=!1;r&&(e.save(),e.fillStyle=i.getPattern(e,this,As(e),na.FILL),s=!0);let l=this.current.getClippedPathBoundingBox();this.contentVisible&&l!==null&&(this.pendingEOFill?(e.fill("evenodd"),this.pendingEOFill=!1):e.fill()),s&&e.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=nZ}eoClip(){this.pendingClip=jB}beginText(){this.current.textMatrix=GB,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}endText(){let t=this.pendingTextPaths,e=this.ctx;if(t===void 0){e.beginPath();return}let i=new Path2D,r=e.getTransform().invertSelf();for(let{transform:s,x:l,y:c,fontSize:h,path:d}of t)i.addPath(d,new DOMMatrix(s).preMultiplySelf(r).translate(l,c).scale(h,-h));e.clip(i),e.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,e){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||IR,(r.fontMatrix[0]===0||r.fontMatrix[3]===0)&&me("Invalid font matrix for font "+t),e<0?(e=-e,r.fontDirection=-1):r.fontDirection=1,this.current.font=i,this.current.fontSize=e,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 h=i.italic?"italic":"normal",d=e;e<zB?d=zB:e>kB&&(d=kB),this.current.fontSizeScale=e/d,this.ctx.font=`${h} ${c} ${d}px ${l}`}setTextRenderingMode(t){this.current.textRenderingMode=t}setTextRise(t){this.current.textRise=t}moveText(t,e){this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=e}setLeadingMoveText(t,e){this.setLeading(-e),this.moveText(t,e)}setTextMatrix(t,e,i,r,s,l){this.current.textMatrix=[t,e,i,r,s,l],this.current.textMatrixScale=Math.hypot(t,e),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}#n(t,e,i){let r=new Path2D;return r.addPath(t,new DOMMatrix(i).invertSelf().multiplySelf(e)),r}paintChar(t,e,i,r,s){let l=this.ctx,c=this.current,h=c.font,d=c.textRenderingMode,m=c.fontSize/c.fontSizeScale,v=d&ea.FILL_STROKE_MASK,y=!!(d&ea.ADD_TO_PATH_FLAG),b=c.patternFill&&!h.missingFile,x=c.patternStroke&&!h.missingFile,E;if((h.disableFontFace||y||b||x)&&(E=h.getPathGenerator(this.commonObjs,t)),h.disableFontFace||b||x){if(l.save(),l.translate(e,i),l.scale(m,-m),v===ea.FILL||v===ea.FILL_STROKE)if(r){let C=l.getTransform();l.setTransform(...r),l.fill(this.#n(E,C,r))}else l.fill(E);if(v===ea.STROKE||v===ea.FILL_STROKE)if(s){let C=l.getTransform();l.setTransform(...s),l.stroke(this.#n(E,C,s))}else l.lineWidth/=m,l.stroke(E);l.restore()}else(v===ea.FILL||v===ea.FILL_STROKE)&&l.fillText(t,e,i),(v===ea.STROKE||v===ea.FILL_STROKE)&&l.strokeText(t,e,i);y&&(this.pendingTextPaths||=[]).push({transform:On(l),x:e,y:i,fontSize:m,path:E})}get isFontSubpixelAAEnabled(){let{context:t}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);t.scale(1.5,1),t.fillText("I",0,10);let e=t.getImageData(0,0,10,10).data,i=!1;for(let r=3;r<e.length;r+=4)if(e[r]>0&&e[r]<255){i=!0;break}return Ae(this,"isFontSubpixelAAEnabled",i)}showText(t){let e=this.current,i=e.font;if(i.isType3Font)return this.showType3Text(t);let r=e.fontSize;if(r===0)return;let s=this.ctx,l=e.fontSizeScale,c=e.charSpacing,h=e.wordSpacing,d=e.fontDirection,m=e.textHScale*d,v=t.length,y=i.vertical,b=y?1:-1,x=i.defaultVMetrics,E=r*e.fontMatrix[0],C=e.textRenderingMode===ea.FILL&&!i.disableFontFace&&!e.patternFill;s.save(),s.transform(...e.textMatrix),s.translate(e.x,e.y+e.textRise),d>0?s.scale(m,-1):s.scale(m,1);let A,T;if(e.patternFill){s.save();let L=e.fillColor.getPattern(s,this,As(s),na.FILL);A=On(s),s.restore(),s.fillStyle=L}if(e.patternStroke){s.save();let L=e.strokeColor.getPattern(s,this,As(s),na.STROKE);T=On(s),s.restore(),s.strokeStyle=L}let D=e.lineWidth,O=e.textMatrixScale;if(O===0||D===0){let L=e.textRenderingMode&ea.FILL_STROKE_MASK;(L===ea.STROKE||L===ea.FILL_STROKE)&&(D=this.getSinglePixelWidth())}else D/=O;if(l!==1&&(s.scale(l,l),D/=l),s.lineWidth=D,i.isInvalidPDFjsFont){let L=[],k=0;for(let G of t)L.push(G.unicode),k+=G.width;s.fillText(L.join(""),0,0),e.x+=k*E*m,s.restore(),this.compose();return}let F=0,U;for(U=0;U<v;++U){let L=t[U];if(typeof L=="number"){F+=b*L*r/1e3;continue}let k=!1,G=(L.isSpace?h:0)+c,q=L.fontChar,Z=L.accent,J,nt,ot=L.width;if(y){let X=L.vmetric||x,V=-(L.vmetric?X[1]:ot*.5)*E,lt=X[2]*E;ot=X?-X[0]:ot,J=V/l,nt=(F+lt)/l}else J=F/l,nt=0;if(i.remeasure&&ot>0){let X=s.measureText(q).width*1e3/r*l;if(ot<X&&this.isFontSubpixelAAEnabled){let V=ot/X;k=!0,s.save(),s.scale(V,1),J/=V}else ot!==X&&(J+=(ot-X)/2e3*r/l)}if(this.contentVisible&&(L.isInFont||i.missingFile)){if(C&&!Z)s.fillText(q,J,nt);else if(this.paintChar(q,J,nt,A,T),Z){let X=J+r*Z.offset.x/l,V=nt-r*Z.offset.y/l;this.paintChar(Z.fontChar,X,V,A,T)}}let B=y?ot*E-G*d:ot*E+G*d;F+=B,k&&s.restore()}y?e.y-=F:e.x+=F*m,s.restore(),this.compose()}showType3Text(t){let e=this.ctx,i=this.current,r=i.font,s=i.fontSize,l=i.fontDirection,c=r.vertical?1:-1,h=i.charSpacing,d=i.wordSpacing,m=i.textHScale*l,v=i.fontMatrix||IR,y=t.length,b=i.textRenderingMode===ea.INVISIBLE,x,E,C,A;if(!(b||s===0)){for(this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null,e.save(),e.transform(...i.textMatrix),e.translate(i.x,i.y),e.scale(m,l),x=0;x<y;++x){if(E=t[x],typeof E=="number"){A=c*E*s/1e3,this.ctx.translate(A,0),i.x+=A*m;continue}let T=(E.isSpace?d:0)+h,D=r.charProcOperatorList[E.operatorListId];if(!D){me(`Type3 character "${E.operatorListId}" is not available.`);continue}this.contentVisible&&(this.processingType3=E,this.save(),e.scale(s,s),e.transform(...v),this.executeOperatorList(D),this.restore()),C=Mt.applyTransform([E.width,0],v)[0]*s+T,e.translate(C,0),i.x+=C*m}e.restore(),this.processingType3=null}}setCharWidth(t,e){}setCharWidthAndBounds(t,e,i,r,s,l){this.ctx.rect(i,r,s-i,l-r),this.ctx.clip(),this.endPath()}getColorN_Pattern(t){let e;if(t[0]==="TilingPattern"){let i=t[1],r=this.baseTransform||On(this.ctx),s={createCanvasGraphics:l=>new n(l,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack})};e=new dO(t,i,this.ctx,s,r)}else e=this._getPattern(t[1],t[2]);return e}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,e,i){this.ctx.strokeStyle=this.current.strokeColor=Mt.makeHexColor(t,e,i),this.current.patternStroke=!1}setStrokeTransparent(){this.ctx.strokeStyle=this.current.strokeColor="transparent",this.current.patternStroke=!1}setFillRGBColor(t,e,i){this.ctx.fillStyle=this.current.fillColor=Mt.makeHexColor(t,e,i),this.current.patternFill=!1}setFillTransparent(){this.ctx.fillStyle=this.current.fillColor="transparent",this.current.patternFill=!1}_getPattern(t,e=null){let i;return this.cachedPatterns.has(t)?i=this.cachedPatterns.get(t):(i=ZK(this.getObject(t)),this.cachedPatterns.set(t,i)),e&&(i.matrix=e),i}shadingFill(t){if(!this.contentVisible)return;let e=this.ctx;this.save();let i=this._getPattern(t);e.fillStyle=i.getPattern(e,this,As(e),na.SHADING);let r=As(e);if(r){let{width:s,height:l}=e.canvas,[c,h,d,m]=Mt.getAxialAlignedBoundingBox([0,0,s,l],r);this.ctx.fillRect(c,h,d-c,m-h)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){cn("Should not call beginInlineImage")}beginImageData(){cn("Should not call beginImageData")}paintFormXObjectBegin(t,e){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),t&&this.transform(...t),this.baseTransform=On(this.ctx),e)){let i=e[2]-e[0],r=e[3]-e[1];this.ctx.rect(e[0],e[1],i,r),this.current.updateRectMinMax(On(this.ctx),e),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 e=this.ctx;t.isolated||uA("TODO: Support non-isolated groups."),t.knockout&&me("Knockout groups not supported.");let i=On(e);if(t.matrix&&e.transform(...t.matrix),!t.bbox)throw new Error("Bounding box is required.");let r=Mt.getAxialAlignedBoundingBox(t.bbox,On(e)),s=[0,0,e.canvas.width,e.canvas.height];r=Mt.intersect(r,s)||[0,0,0,0];let l=Math.floor(r[0]),c=Math.floor(r[1]),h=Math.max(Math.ceil(r[2])-l,1),d=Math.max(Math.ceil(r[3])-c,1);this.current.startNewPathAndClipBox([0,0,h,d]);let m="groupAt"+this.groupLevel;t.smask&&(m+="_smask_"+this.smaskCounter++%2);let v=this.cachedCanvases.getCanvas(m,h,d),y=v.context;y.translate(-l,-c),y.transform(...i),t.smask?this.smaskStack.push({canvas:v.canvas,context:y,offsetX:l,offsetY:c,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null,startTransformInverse:null}):(e.setTransform(1,0,0,1,0,0),e.translate(l,c),e.save()),Jg(e,y),this.ctx=y,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(e),this.groupLevel++}endGroup(t){if(!this.contentVisible)return;this.groupLevel--;let e=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=On(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...r);let s=Mt.getAxialAlignedBoundingBox([0,0,e.canvas.width,e.canvas.height],r);this.ctx.drawImage(e.canvas,0,0),this.ctx.restore(),this.compose(s)}}beginAnnotation(t,e,i,r,s){if(this.#t(),Cx(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),e){let l=e[2]-e[0],c=e[3]-e[1];if(s&&this.annotationCanvasMap){i=i.slice(),i[4]-=e[0],i[5]-=e[1],e=e.slice(),e[0]=e[1]=0,e[2]=l,e[3]=c;let[h,d]=Mt.singularValueDecompose2dScale(On(this.ctx)),{viewportScale:m}=this,v=Math.ceil(l*this.outputScaleX*m),y=Math.ceil(c*this.outputScaleY*m);this.annotationCanvas=this.canvasFactory.create(v,y);let{canvas:b,context:x}=this.annotationCanvas;this.annotationCanvasMap.set(t,b),this.annotationCanvas.savedCtx=this.ctx,this.ctx=x,this.ctx.save(),this.ctx.setTransform(h,0,0,-d,0,c*d),Cx(this.ctx)}else Cx(this.ctx),this.endPath(),this.ctx.rect(e[0],e[1],l,c),this.ctx.clip(),this.ctx.beginPath()}this.current=new Gx(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 e=t.count;t=this.getObject(t.data,t),t.count=e;let i=this.ctx,r=this.processingType3;if(r&&(r.compiled===void 0&&(r.compiled=$K(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,e,i=0,r=0,s,l){if(!this.contentVisible)return;t=this.getObject(t.data,t);let c=this.ctx;c.save();let h=On(c);c.transform(e,i,r,s,0,0);let d=this._createMaskCanvas(t);c.setTransform(1,0,0,1,d.offsetX-h[4],d.offsetY-h[5]);for(let m=0,v=l.length;m<v;m+=2){let y=Mt.transform(h,[e,i,r,s,l[m],l[m+1]]),[b,x]=Mt.applyTransform([0,0],y);c.drawImage(d.canvas,b,x)}c.restore(),this.compose()}paintImageMaskXObjectGroup(t){if(!this.contentVisible)return;let e=this.ctx,i=this.current.fillColor,r=this.current.patternFill;for(let s of t){let{data:l,width:c,height:h,transform:d}=s,m=this.cachedCanvases.getCanvas("maskCanvas",c,h),v=m.context;v.save();let y=this.getObject(l,s);PB(v,y),v.globalCompositeOperation="source-in",v.fillStyle=r?i.getPattern(v,this,As(e),na.FILL):i,v.fillRect(0,0,c,h),v.restore(),e.save(),e.transform(...d),e.scale(1,-1),Tx(e,m.canvas,0,0,c,h,0,-1,1,1),e.restore()}this.compose()}paintImageXObject(t){if(!this.contentVisible)return;let e=this.getObject(t);if(!e){me("Dependent image isn't ready yet");return}this.paintInlineImageXObject(e)}paintImageXObjectRepeat(t,e,i,r){if(!this.contentVisible)return;let s=this.getObject(t);if(!s){me("Dependent image isn't ready yet");return}let l=s.width,c=s.height,h=[];for(let d=0,m=r.length;d<m;d+=2)h.push({transform:[e,0,0,i,r[d],r[d+1]],x:0,y:0,w:l,h:c});this.paintInlineImageXObjectGroup(s,h)}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:e,width:i,height:r}=t,s=this.cachedCanvases.getCanvas("inlineImage",i,r),l=s.context;return l.filter=this.current.transferMaps,l.drawImage(e,0,0),l.filter="none",s.canvas}paintInlineImageXObject(t){if(!this.contentVisible)return;let e=t.width,i=t.height,r=this.ctx;if(this.save(),!ia){let{filter:c}=r;c!=="none"&&c!==""&&(r.filter="none")}r.scale(1/e,-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 h=this.cachedCanvases.getCanvas("inlineImage",e,i).context;BB(h,t),s=this.applyTransferMapsToCanvas(h)}let l=this._scaleImage(s,As(r));r.imageSmoothingEnabled=HB(On(r),t.interpolate),Tx(r,l.img,0,0,l.paintWidth,l.paintHeight,0,-i,e,i),this.compose(),this.restore()}paintInlineImageXObjectGroup(t,e){if(!this.contentVisible)return;let i=this.ctx,r;if(t.bitmap)r=t.bitmap;else{let s=t.width,l=t.height,h=this.cachedCanvases.getCanvas("inlineImage",s,l).context;BB(h,t),r=this.applyTransferMapsToCanvas(h)}for(let s of e)i.save(),i.transform(...s.transform),i.scale(1,-1),Tx(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,e){}beginMarkedContent(t){this.markedContentStack.push({visible:!0})}beginMarkedContentProps(t,e){t==="OC"?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(e)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}endMarkedContent(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}beginCompat(){}endCompat(){}consumePath(t){let e=this.current.isEmptyClip();this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(t);let i=this.ctx;this.pendingClip&&(e||(this.pendingClip===jB?i.clip("evenodd"):i.clip()),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),i.beginPath()}getSinglePixelWidth(){if(!this._cachedGetSinglePixelWidth){let t=On(this.ctx);if(t[1]===0&&t[2]===0)this._cachedGetSinglePixelWidth=1/Math.min(Math.abs(t[0]),Math.abs(t[3]));else{let e=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)/e}}return this._cachedGetSinglePixelWidth}getScaleForStroking(){if(this._cachedScaleForStroking[0]===-1){let{lineWidth:t}=this.current,{a:e,b:i,c:r,d:s}=this.ctx.getTransform(),l,c;if(i===0&&r===0){let h=Math.abs(e),d=Math.abs(s);if(h===d)if(t===0)l=c=1/h;else{let m=h*t;l=c=m<1?1/m:1}else if(t===0)l=1/h,c=1/d;else{let m=h*t,v=d*t;l=m<1?1/m:1,c=v<1?1/v:1}}else{let h=Math.abs(e*s-i*r),d=Math.hypot(e,i),m=Math.hypot(r,s);if(t===0)l=m/h,c=d/h;else{let v=t*h;l=m>v?m/v:1,c=d>v?d/v:1}}this._cachedScaleForStroking[0]=l,this._cachedScaleForStroking[1]=c}return this._cachedScaleForStroking}rescaleAndStroke(t){let{ctx:e}=this,{lineWidth:i}=this.current,[r,s]=this.getScaleForStroking();if(e.lineWidth=i||1,r===1&&s===1){e.stroke();return}let l=e.getLineDash();if(t&&e.save(),e.scale(r,s),l.length>0){let c=Math.max(r,s);e.setLineDash(l.map(h=>h/c)),e.lineDashOffset/=c}e.stroke(),t&&e.restore()}isContentVisible(){for(let t=this.markedContentStack.length-1;t>=0;t--)if(!this.markedContentStack[t].visible)return!1;return!0}};for(let n in Fo)Fp.prototype[n]!==void 0&&(Fp.prototype[Fo[n]]=Fp.prototype[n]);var th=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}},mO=class{#t;#e;constructor({parsedData:t,rawData:e}){this.#t=t,this.#e=e}getRaw(){return this.#e}get(t){return this.#t.get(t)??null}getAll(){return dM(this.#t)}has(t){return this.#t.has(t)}},_p=Symbol("INTERNAL"),gO=class{#t=!1;#e=!1;#n=!1;#i=!0;constructor(t,{name:e,intent:i,usage:r,rbGroups:s}){this.#t=!!(t&wr.DISPLAY),this.#e=!!(t&wr.PRINT),this.name=e,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:e}=this.usage;return this.#t?e?.viewState!=="OFF":this.#e?t?.printState!=="OFF":!0}_setVisible(t,e,i=!1){t!==_p&&cn("Internal method `_setVisible` called."),this.#n=i,this.#i=e}},vO=class{#t=null;#e=new Map;#n=null;#i=null;constructor(t,e=wr.DISPLAY){if(this.renderingIntent=e,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 gO(e,i));if(t.baseState==="OFF")for(let i of this.#e.values())i._setVisible(_p,!1);for(let i of t.on)this.#e.get(i)._setVisible(_p,!0);for(let i of t.off)this.#e.get(i)._setVisible(_p,!1);this.#n=this.getHash()}}#r(t){let e=t.length;if(e<2)return!0;let i=t[0];for(let r=1;r<e;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 me(`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 uA("Optional content group not defined."),!0;if(t.type==="OCG")return this.#e.has(t.id)?this.#e.get(t.id).visible:(me(`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 e of t.ids){if(!this.#e.has(e))return me(`Optional content group not found: ${e}`),!0;if(this.#e.get(e).visible)return!0}return!1}else if(t.policy==="AllOn"){for(let e of t.ids){if(!this.#e.has(e))return me(`Optional content group not found: ${e}`),!0;if(!this.#e.get(e).visible)return!1}return!0}else if(t.policy==="AnyOff"){for(let e of t.ids){if(!this.#e.has(e))return me(`Optional content group not found: ${e}`),!0;if(!this.#e.get(e).visible)return!0}return!1}else if(t.policy==="AllOff"){for(let e of t.ids){if(!this.#e.has(e))return me(`Optional content group not found: ${e}`),!0;if(this.#e.get(e).visible)return!1}return!0}return me(`Unknown optional content policy ${t.policy}.`),!0}return me(`Unknown group type ${t.type}.`),!0}setVisibility(t,e=!0,i=!0){let r=this.#e.get(t);if(!r){me(`Optional content group not found: ${t}`);return}if(i&&e&&r.rbGroups.length)for(let s of r.rbGroups)for(let l of s)l!==t&&this.#e.get(l)?._setVisible(_p,!1,!0);r._setVisible(_p,!!e,!0),this.#t=null}setOCGState({state:t,preserveRB:e}){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,e);break;case"OFF":this.setVisibility(r,!1,e);break;case"Toggle":this.setVisibility(r,!s.visible,e);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?dM(this.#e):null}getGroup(t){return this.#e.get(t)||null}getHash(){if(this.#t!==null)return this.#t;let t=new Lx;for(let[e,i]of this.#e)t.update(`${e}:${i.visible}`);return this.#t=t.hexdigest()}},yO=class{constructor(t,{disableRange:e=!1,disableStream:i=!1}){ci(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 h=s instanceof Uint8Array&&s.byteLength===s.buffer.byteLength?s.buffer:new Uint8Array(s).buffer;this._queuedChunks.push(h)}this._pdfDataRangeTransport=t,this._isStreamingSupported=!i,this._isRangeSupported=!e,this._contentLength=r,this._fullRequestReader=null,this._rangeReaders=[],t.addRangeListener((h,d)=>{this._onReceiveData({begin:h,chunk:d})}),t.addProgressListener((h,d)=>{this._onProgress({loaded:h,total:d})}),t.addProgressiveReadListener(h=>{this._onReceiveData({chunk:h})}),t.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),t.transportReady()}_onReceiveData({begin:t,chunk:e}){let i=e instanceof Uint8Array&&e.byteLength===e.buffer.byteLength?e.buffer:new Uint8Array(e).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)});ci(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 e=this._rangeReaders.indexOf(t);e>=0&&this._rangeReaders.splice(e,1)}getFullReader(){ci(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");let t=this._queuedChunks;return this._queuedChunks=null,new bO(this,t,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(t,e){if(e<=this._progressiveDataLength)return null;let i=new SO(this,t,e);return this._pdfDataRangeTransport.requestDataRange(t,e),this._rangeReaders.push(i),i}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(let e of this._rangeReaders.slice(0))e.cancel(t);this._pdfDataRangeTransport.abort()}},bO=class{constructor(t,e,i=!1,r=null){this._stream=t,this._done=i||!1,this._filename=mM(r)?r:null,this._queuedChunks=e||[],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 e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}},SO=class{constructor(t,e,i){this._stream=t,this._begin=e,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 e=this._queuedChunk;return this._queuedChunk=null,{value:e,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 e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}};function iZ(n){let t=!0,e=i("filename\\*","i").exec(n);if(e){e=e[1];let m=c(e);return m=unescape(m),m=h(m),m=d(m),s(m)}if(e=l(n),e){let m=d(e);return s(m)}if(e=i("filename","i").exec(n),e){e=e[1];let m=c(e);return m=d(m),s(m)}function i(m,v){return new RegExp("(?:^|;)\\s*"+m+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',v)}function r(m,v){if(m){if(!/^[\x00-\xFF]+$/.test(v))return v;try{let y=new TextDecoder(m,{fatal:!0}),b=cA(v);v=y.decode(b),t=!1}catch{}}return v}function s(m){return t&&/[\x80-\xff]/.test(m)&&(m=r("utf-8",m),t&&(m=r("iso-8859-1",m))),m}function l(m){let v=[],y,b=i("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;(y=b.exec(m))!==null;){let[,E,C,A]=y;if(E=parseInt(E,10),E in v){if(E===0)break;continue}v[E]=[C,A]}let x=[];for(let E=0;E<v.length&&E in v;++E){let[C,A]=v[E];A=c(A),C&&(A=unescape(A),E===0&&(A=h(A))),x.push(A)}return x.join("")}function c(m){if(m.startsWith('"')){let v=m.slice(1).split('\\"');for(let y=0;y<v.length;++y){let b=v[y].indexOf('"');b!==-1&&(v[y]=v[y].slice(0,b),v.length=y+1),v[y]=v[y].replaceAll(/\\(.)/g,"$1")}m=v.join('"')}return m}function h(m){let v=m.indexOf("'");if(v===-1)return m;let y=m.slice(0,v),x=m.slice(v+1).replace(/^[^']*'/,"");return r(y,x)}function d(m){return!m.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(m)?m:m.replaceAll(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,function(v,y,b,x){if(b==="q"||b==="Q")return x=x.replaceAll("_"," "),x=x.replaceAll(/=([0-9a-fA-F]{2})/g,function(E,C){return String.fromCharCode(parseInt(C,16))}),r(y,x);try{x=atob(x)}catch{}return r(y,x)})}return""}function YB(n,t){let e=new Headers;if(!n||!t||typeof t!="object")return e;for(let i in t){let r=t[i];r!==void 0&&e.append(i,r)}return e}function dA(n){try{return new URL(n).origin}catch{}return null}function KB({responseHeaders:n,isHttp:t,rangeChunkSize:e,disableRange:i}){let r={allowRangeRequests:!1,suggestedLength:void 0},s=parseInt(n.get("Content-Length"),10);return!Number.isInteger(s)||(r.suggestedLength=s,s<=2*e)||i||!t||n.get("Accept-Ranges")!=="bytes"||(n.get("Content-Encoding")||"identity")!=="identity"||(r.allowRangeRequests=!0),r}function ZB(n){let t=n.get("Content-Disposition");if(t){let e=iZ(t);if(e.includes("%"))try{e=decodeURIComponent(e)}catch{}if(mM(e))return e}return null}function pA(n,t){return n===404||n===0&&t.startsWith("file:")?new eh('Missing PDF "'+t+'".'):new zp(`Unexpected server response (${n}) while retrieving PDF "${t}".`,n)}function WB(n){return n===200||n===206}function QB(n,t,e){return{method:"GET",headers:n,signal:e.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function JB(n){return n instanceof Uint8Array?n.buffer:n instanceof ArrayBuffer?n:(me(`getArrayBuffer - unexpected data format: ${n}`),new Uint8Array(n).buffer)}var Ix=class{_responseOrigin=null;constructor(t){this.source=t,this.isHttp=/^https?:/i.test(t.url),this.headers=YB(this.isHttp,t.httpHeaders),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return ci(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new xO(this),this._fullRequestReader}getRangeReader(t,e){if(e<=this._progressiveDataLength)return null;let i=new AO(this,t,e);return this._rangeRequestReaders.push(i),i}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(let e of this._rangeRequestReaders.slice(0))e.cancel(t)}},xO=class{constructor(t){this._stream=t,this._reader=null,this._loaded=0,this._filename=null;let e=t.source;this._withCredentials=e.withCredentials||!1,this._contentLength=e.length,this._headersCapability=Promise.withResolvers(),this._disableRange=e.disableRange||!1,this._rangeChunkSize=e.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!e.disableStream,this._isRangeSupported=!e.disableRange;let i=new Headers(t.headers),r=e.url;fetch(r,QB(i,this._withCredentials,this._abortController)).then(s=>{if(t._responseOrigin=dA(s.url),!WB(s.status))throw pA(s.status,r);this._reader=s.body.getReader(),this._headersCapability.resolve();let l=s.headers,{allowRangeRequests:c,suggestedLength:h}=KB({responseHeaders:l,isHttp:t.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=c,this._contentLength=h||this._contentLength,this._filename=ZB(l),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new Es("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:e}=await this._reader.read();return e?{value:t,done:e}:(this._loaded+=t.byteLength,this.onProgress?.({loaded:this._loaded,total:this._contentLength}),{value:JB(t),done:!1})}cancel(t){this._reader?.cancel(t),this._abortController.abort()}},AO=class{constructor(t,e,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=${e}-${i-1}`);let l=r.url;fetch(l,QB(s,this._withCredentials,this._abortController)).then(c=>{let h=dA(c.url);if(h!==t._responseOrigin)throw new Error(`Expected range response-origin "${h}" to match "${t._responseOrigin}".`);if(!WB(c.status))throw pA(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:e}=await this._reader.read();return e?{value:t,done:e}:(this._loaded+=t.byteLength,this.onProgress?.({loaded:this._loaded}),{value:JB(t),done:!1})}cancel(t){this._reader?.cancel(t),this._abortController.abort()}},VR=200,GR=206;function aZ(n){let t=n.response;return typeof t!="string"?t:cA(t).buffer}var wO=class{_responseOrigin=null;constructor({url:t,httpHeaders:e,withCredentials:i}){this.url=t,this.isHttp=/^https?:/i.test(t),this.headers=YB(this.isHttp,e),this.withCredentials=i||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}request(t){let e=new XMLHttpRequest,i=this.currXhrId++,r=this.pendingRequests[i]={xhr:e};e.open("GET",this.url),e.withCredentials=this.withCredentials;for(let[s,l]of this.headers)e.setRequestHeader(s,l);return this.isHttp&&"begin"in t&&"end"in t?(e.setRequestHeader("Range",`bytes=${t.begin}-${t.end-1}`),r.expectedStatus=GR):r.expectedStatus=VR,e.responseType="arraybuffer",ci(t.onError,"Expected `onError` callback to be provided."),e.onerror=()=>{t.onError(e.status)},e.onreadystatechange=this.onStateChange.bind(this,i),e.onprogress=this.onProgress.bind(this,i),r.onHeadersReceived=t.onHeadersReceived,r.onDone=t.onDone,r.onError=t.onError,r.onProgress=t.onProgress,e.send(null),i}onProgress(t,e){let i=this.pendingRequests[t];i&&i.onProgress?.(e)}onStateChange(t,e){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||VR;if(!(s===VR&&i.expectedStatus===GR)&&s!==i.expectedStatus){i.onError(r.status);return}let c=aZ(r);if(s===GR){let h=r.getResponseHeader("Content-Range"),d=/bytes (\d+)-(\d+)\/(\d+)/.exec(h);d?i.onDone({begin:parseInt(d[1],10),chunk:c}):(me('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 e=this.pendingRequests[t].xhr;delete this.pendingRequests[t],e.abort()}},EO=class{constructor(t){this._source=t,this._manager=new wO(t),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(t){let e=this._rangeRequestReaders.indexOf(t);e>=0&&this._rangeRequestReaders.splice(e,1)}getFullReader(){return ci(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new TO(this._manager,this._source),this._fullRequestReader}getRangeReader(t,e){let i=new CO(this._manager,t,e);return i.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(i),i}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(let e of this._rangeRequestReaders.slice(0))e.cancel(t)}},TO=class{constructor(t,e){this._manager=t,this._url=e.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=e.disableRange||!1,this._contentLength=e.length,this._rangeChunkSize=e.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,e=this._manager.getRequestXhr(t);this._manager._responseOrigin=dA(e.responseURL);let i=e.getAllResponseHeaders(),r=new Headers(i?i.trimStart().replace(/[^\S ]+$/,"").split(/[\r\n]+/).map(c=>{let[h,...d]=c.split(": ");return[h,d.join(": ")]}):[]),{allowRangeRequests:s,suggestedLength:l}=KB({responseHeaders:r,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});s&&(this._isRangeSupported=!0),this._contentLength=l||this._contentLength,this._filename=ZB(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 e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(t){this._storedError=pA(t,this._url),this._headersCapability.reject(this._storedError);for(let e of this._requests)e.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 e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},CO=class{constructor(t,e,i){this._manager=t,this._url=t.url,this._requestId=t.request({begin:e,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=dA(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 e=t.chunk;this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunk=e,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??=pA(t,this._url);for(let e of this._requests)e.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 e=this._queuedChunk;return this._queuedChunk=null,{value:e,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 e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},rZ=/^[a-z][a-z0-9\-+.]+:/i;function oZ(n){if(rZ.test(n))return new URL(n);let t=process.getBuiltinModule("url");return new URL(t.pathToFileURL(n))}var DO=class{constructor(t){this.source=t,this.url=oZ(t.url),ci(this.url.protocol==="file:","PDFNodeStream only supports file:// URLs."),this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return ci(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=new RO(this),this._fullRequestReader}getRangeReader(t,e){if(e<=this._progressiveDataLength)return null;let i=new OO(this,t,e);return this._rangeRequestReaders.push(i),i}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(let e of this._rangeRequestReaders.slice(0))e.cancel(t)}},RO=class{constructor(t){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;let e=t.source;this._contentLength=e.length,this._loaded=0,this._filename=null,this._disableRange=e.disableRange||!1,this._rangeChunkSize=e.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!e.disableStream,this._isRangeSupported=!e.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 eh(`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",e=>{this._error(e)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new Es("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}},OO=class{constructor(t,e,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:e,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",e=>{this._error(e)}),this._storedError&&this._readableStream.destroy(this._storedError)}},sZ=1e5,Ga=30,lZ=.8,cv=class n{#t=Promise.withResolvers();#e=null;#n=!1;#i=!!globalThis.FontInspector?.enabled;#r=null;#a=null;#l=0;#s=0;#c=null;#u=null;#h=0;#f=0;#d=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:e,viewport:i}){if(t instanceof ReadableStream)this.#p=t;else if(typeof t=="object")this.#p=new ReadableStream({start(h){h.enqueue(t),h.close()}});else throw new Error('No "textContentSource" parameter specified.');this.#e=this.#u=e,this.#f=i.scale*(globalThis.devicePixelRatio||1),this.#h=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,n.#_(),nh(e,i),this.#t.promise.finally(()=>{n.#T.delete(this),this.#a=null,this.#d=null}).catch(()=>{})}static get fontFamilyMap(){let{isWindows:t,isFirefox:e}=Xi.platform;return Ae(this,"fontFamilyMap",new Map([["sans-serif",`${t&&e?"Calibri, ":""}sans-serif`],["monospace",`${t&&e?"Lucida Console, ":""}monospace`]]))}render(){let t=()=>{this.#c.read().then(({value:e,done:i})=>{if(i){this.#t.resolve();return}this.#r??=e.lang,Object.assign(this.#d,e.styles),this.#D(e.items),t()},this.#t.reject)};return this.#c=this.#p.getReader(),n.#T.add(this),t(),this.#t.promise}update({viewport:t,onBefore:e=null}){let i=t.scale*(globalThis.devicePixelRatio||1),r=t.rotation;if(r!==this.#h&&(e?.(),this.#h=r,nh(this.#u,{rotation:r})),i!==this.#f){e?.(),this.#f=i;let s={div:null,properties:null,ctx:n.#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 Es("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??=n.#R(this.#r);let e=this.#g,i=this.#o;for(let r of t){if(e.length>sZ){me("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 e=document.createElement("span"),i={angle:0,canvasWidth:0,hasText:t.str!=="",hasEOL:t.hasEOL,fontSize:0};this.#g.push(e);let r=Mt.transform(this.#v,t.transform),s=Math.atan2(r[1],r[0]),l=this.#d[t.fontName];l.vertical&&(s+=Math.PI/2);let c=this.#i&&l.fontSubstitution||l.fontFamily;c=n.fontFamilyMap.get(c)||c;let h=Math.hypot(r[2],r[3]),d=h*n.#z(c,this.#r),m,v;s===0?(m=r[4],v=r[5]-d):(m=r[4]+d*Math.sin(s),v=r[5]-d*Math.cos(s));let y="calc(var(--scale-factor)*",b=e.style;this.#e===this.#u?(b.left=`${(100*m/this.#s).toFixed(2)}%`,b.top=`${(100*v/this.#l).toFixed(2)}%`):(b.left=`${y}${m.toFixed(2)}px)`,b.top=`${y}${v.toFixed(2)}px)`),b.fontSize=`${y}${(n.#w*h).toFixed(2)}px)`,b.fontFamily=c,i.fontSize=h,e.setAttribute("role","presentation"),e.textContent=t.str,e.dir=t.dir,this.#i&&(e.dataset.fontName=l.fontSubstitutionLoadedName||t.fontName),s!==0&&(i.angle=s*(180/Math.PI));let x=!1;if(t.str.length>1)x=!0;else if(t.str!==" "&&t.transform[0]!==t.transform[3]){let E=Math.abs(t.transform[0]),C=Math.abs(t.transform[3]);E!==C&&Math.max(E,C)/Math.min(E,C)>1.5&&(x=!0)}if(x&&(i.canvasWidth=l.vertical?t.height:t.width),this.#m.set(e,i),this.#a.div=e,this.#a.properties=i,this.#A(this.#a),i.hasText&&this.#e.append(e),i.hasEOL){let E=document.createElement("br");E.setAttribute("role","presentation"),this.#e.append(E)}}#A(t){let{div:e,properties:i,ctx:r}=t,{style:s}=e,l="";if(n.#w>1&&(l=`scale(${1/n.#w})`),i.canvasWidth!==0&&i.hasText){let{fontFamily:c}=s,{canvasWidth:h,fontSize:d}=i;n.#C(r,d*this.#f,c);let{width:m}=r.measureText(e.textContent);m>0&&(l=`scaleX(${h*this.#f/m}) ${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 e=this.#y.get(t||="");if(!e){let i=document.createElement("canvas");i.className="hiddenCanvasElement",i.lang=t,document.body.append(i),e=i.getContext("2d",{alpha:!1,willReadFrequently:!0}),this.#y.set(t,e),this.#x.set(e,{size:0,family:""})}return e}static#C(t,e,i){let r=this.#x.get(t);e===r.size&&i===r.family||(t.font=`${e}px ${i}`,r.size=e,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,e){let i=this.#S.get(t);if(i)return i;let r=this.#R(e);r.canvas.width=r.canvas.height=Ga,this.#C(r,Ga,t);let s=r.measureText(""),l=s.fontBoundingBoxAscent,c=Math.abs(s.fontBoundingBoxDescent);if(l){let m=l/(l+c);return this.#S.set(t,m),r.canvas.width=r.canvas.height=0,m}r.strokeStyle="red",r.clearRect(0,0,Ga,Ga),r.strokeText("g",0,0);let h=r.getImageData(0,0,Ga,Ga).data;c=0;for(let m=h.length-1-3;m>=0;m-=4)if(h[m]>0){c=Math.ceil(m/4/Ga);break}r.clearRect(0,0,Ga,Ga),r.strokeText("A",0,Ga),h=r.getImageData(0,0,Ga,Ga).data,l=0;for(let m=0,v=h.length;m<v;m+=4)if(h[m]>0){l=Ga-Math.floor(m/4/Ga);break}r.canvas.width=r.canvas.height=0;let d=l?l/(l+c):lZ;return this.#S.set(t,d),d}},fv=class n{static textContent(t){let e=[],i={items:e,styles:Object.create(null)};function r(s){if(!s)return;let l=null,c=s.name;if(c==="#text")l=s.value;else if(n.shouldBuildText(c))s?.attributes?.textContent?l=s.attributes.textContent:s.value&&(l=s.value);else return;if(l!==null&&e.push({str:l}),!!s.children)for(let h of s.children)r(h)}return r(t),i}static shouldBuildText(t){return!(t==="textarea"||t==="input"||t==="option"||t==="select")}},uZ=65536,cZ=100,fZ=5e3,hZ=ia?oO:iO,dZ=ia?sO:Hx,pZ=ia?rO:aO,mZ=ia?lO:Vx;function gZ(n={}){typeof n=="string"||n instanceof URL?n={url:n}:(n instanceof ArrayBuffer||ArrayBuffer.isView(n))&&(n={data:n});let t=new MO,{docId:e}=t,i=n.url?vZ(n.url):null,r=n.data?yZ(n.data):null,s=n.httpHeaders||null,l=n.withCredentials===!0,c=n.password??null,h=n.range instanceof Xx?n.range:null,d=Number.isInteger(n.rangeChunkSize)&&n.rangeChunkSize>0?n.rangeChunkSize:uZ,m=n.worker instanceof Np?n.worker:null,v=n.verbosity,y=typeof n.docBaseUrl=="string"&&!hA(n.docBaseUrl)?n.docBaseUrl:null,b=typeof n.cMapUrl=="string"?n.cMapUrl:null,x=n.cMapPacked!==!1,E=n.CMapReaderFactory||dZ,C=typeof n.standardFontDataUrl=="string"?n.standardFontDataUrl:null,A=n.StandardFontDataFactory||mZ,T=n.stopAtErrors!==!0,D=Number.isInteger(n.maxImageSize)&&n.maxImageSize>-1?n.maxImageSize:-1,O=n.isEvalSupported!==!1,F=typeof n.isOffscreenCanvasSupported=="boolean"?n.isOffscreenCanvasSupported:!ia,U=typeof n.isImageDecoderSupported=="boolean"?n.isImageDecoderSupported:!ia&&(Xi.platform.isFirefox||!globalThis.chrome),L=Number.isInteger(n.canvasMaxAreaInBytes)?n.canvasMaxAreaInBytes:-1,k=typeof n.disableFontFace=="boolean"?n.disableFontFace:ia,G=n.fontExtraProperties===!0,q=n.enableXfa===!0,Z=n.ownerDocument||globalThis.document,J=n.disableRange===!0,nt=n.disableStream===!0,ot=n.disableAutoFetch===!0,B=n.pdfBug===!0,X=n.CanvasFactory||hZ,V=n.FilterFactory||pZ,lt=n.enableHWA===!0,dt=h?h.length:n.length??NaN,re=typeof n.useSystemFonts=="boolean"?n.useSystemFonts:!ia&&!k,tt=typeof n.useWorkerFetch=="boolean"?n.useWorkerFetch:E===Hx&&A===Vx&&b&&C&&ev(b,document.baseURI)&&ev(C,document.baseURI),gt=null;NK(v);let bt={canvasFactory:new X({ownerDocument:Z,enableHWA:lt}),filterFactory:new V({docId:e,ownerDocument:Z}),cMapReaderFactory:tt?null:new E({baseUrl:b,isCompressed:x}),standardFontDataFactory:tt?null:new A({baseUrl:C})};if(!m){let Ye={verbosity:v,port:th.workerPort};m=Ye.port?Np.fromPort(Ye):new Np(Ye),t._worker=m}let Pt={docId:e,apiVersion:"4.10.38",data:r,password:c,disableAutoFetch:ot,rangeChunkSize:d,length:dt,docBaseUrl:y,enableXfa:q,evaluatorOptions:{maxImageSize:D,disableFontFace:k,ignoreErrors:T,isEvalSupported:O,isOffscreenCanvasSupported:F,isImageDecoderSupported:U,canvasMaxAreaInBytes:L,fontExtraProperties:G,useSystemFonts:re,cMapUrl:tt?b:null,standardFontDataUrl:tt?C:null}},mn={disableFontFace:k,fontExtraProperties:G,ownerDocument:Z,pdfBug:B,styleElement:gt,loadingParams:{disableAutoFetch:ot,enableXfa:q}};return m.promise.then(function(){if(t.destroyed)throw new Error("Loading aborted");if(m.destroyed)throw new Error("Worker was destroyed");let Ye=m.messageHandler.sendWithPromise("GetDocRequest",Pt,r?[r.buffer]:null),Et;if(h)Et=new yO(h,{disableRange:J,disableStream:nt});else if(!r){if(!i)throw new Error("getDocument - no `url` parameter provided.");let Ke;if(ia)if(ev(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`.");Ke=Ix}else Ke=DO;else Ke=ev(i)?Ix:EO;Et=new Ke({url:i,length:dt,httpHeaders:s,withCredentials:l,rangeChunkSize:d,disableRange:J,disableStream:nt})}return Ye.then(Ke=>{if(t.destroyed)throw new Error("Loading aborted");if(m.destroyed)throw new Error("Worker was destroyed");let Ln=new $f(e,Ke,m.port),Ei=new zO(Ln,t,Et,mn,bt);t._transport=Ei,Ln.send("Ready",null)})}).catch(t._capability.reject),t}function vZ(n){if(n instanceof URL)return n.href;try{return new URL(n,window.location).href}catch{if(ia&&typeof n=="string")return n}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}function yZ(n){if(ia&&typeof Buffer<"u"&&n instanceof Buffer)throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`.");if(n instanceof Uint8Array&&n.byteLength===n.buffer.byteLength)return n;if(typeof n=="string")return cA(n);if(n instanceof ArrayBuffer||ArrayBuffer.isView(n)||typeof n=="object"&&!isNaN(n?.length))return new Uint8Array(n);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}function qB(n){return typeof n=="object"&&Number.isInteger(n?.num)&&n.num>=0&&Number.isInteger(n?.gen)&&n.gen>=0}var MO=class n{static#t=0;constructor(){this._capability=Promise.withResolvers(),this._transport=null,this._worker=null,this.docId=`d${n.#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}},Xx=class{constructor(t,e,i=!1,r=null){this.length=t,this.initialData=e,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,e){for(let i of this._rangeListeners)i(t,e)}onDataProgress(t,e){this._readyCapability.promise.then(()=>{for(let i of this._progressListeners)i(t,e)})}onDataProgressiveRead(t){this._readyCapability.promise.then(()=>{for(let e of this._progressiveReadListeners)e(t)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(let t of this._progressiveDoneListeners)t()})}transportReady(){this._readyCapability.resolve()}requestDataRange(t,e){cn("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}},_O=class{constructor(t,e){this._pdfInfo=t,this._transport=e}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 Ae(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:e}=this._transport.getRenderingIntent(t);return this._transport.getOptionalContentConfig(e)}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()}},FO=class{#t=null;#e=!1;constructor(t,e,i,r=!1){this._pageIndex=t,this._pageInfo=e,this._transport=i,this._stats=r?new _x:null,this._pdfBug=r,this.commonObjs=i.commonObjs,this.objs=new Yx,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:e=this.rotate,offsetX:i=0,offsetY:r=0,dontFlip:s=!1}={}){return new rv({viewBox:this.view,userUnit:this.userUnit,scale:t,rotation:e,offsetX:i,offsetY:r,dontFlip:s})}getAnnotations({intent:t="display"}={}){let{renderingIntent:e}=this._transport.getRenderingIntent(t);return this._transport.getAnnotations(this._pageIndex,e)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return Ae(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){return this._transport._htmlForXfa?.children[this._pageIndex]||null}render({canvasContext:t,viewport:e,intent:i="display",annotationMode:r=uc.ENABLE,transform:s=null,background:l=null,optionalContentConfigPromise:c=null,annotationCanvasMap:h=null,pageColors:d=null,printAnnotationStorage:m=null,isEditing:v=!1}){this._stats?.time("Overall");let y=this._transport.getRenderingIntent(i,r,m,v),{renderingIntent:b,cacheKey:x}=y;this.#e=!1,this.#i(),c||=this._transport.getOptionalContentConfig(b);let E=this._intentStates.get(x);E||(E=Object.create(null),this._intentStates.set(x,E)),E.streamReaderCancelTimeout&&(clearTimeout(E.streamReaderCancelTimeout),E.streamReaderCancelTimeout=null);let C=!!(b&wr.PRINT);E.displayReadyCapability||(E.displayReadyCapability=Promise.withResolvers(),E.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(y));let A=O=>{E.renderTasks.delete(T),(this._maybeCleanupAfterRender||C)&&(this.#e=!0),this.#n(!C),O?(T.capability.reject(O),this._abortOperatorList({intentState:E,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 LO({callback:A,params:{canvasContext:t,viewport:e,transform:s,background:l},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:h,operatorList:E.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!C,pdfBug:this._pdfBug,pageColors:d});(E.renderTasks||=new Set).add(T);let D=T.task;return Promise.all([E.displayReadyCapability.promise,c]).then(([O,F])=>{if(this.destroyed){A();return}if(this._stats?.time("Rendering"),!(F.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:F}),T.operatorListChanged()}).catch(A),D}getOperatorList({intent:t="display",annotationMode:e=uc.ENABLE,printAnnotationStorage:i=null,isEditing:r=!1}={}){function s(){c.operatorList.lastChunk&&(c.opListReadCapability.resolve(c.operatorList),c.renderTasks.delete(h))}let l=this._transport.getRenderingIntent(t,e,i,r,!0),c=this._intentStates.get(l.cacheKey);c||(c=Object.create(null),this._intentStates.set(l.cacheKey,c));let h;return c.opListReadCapability||(h=Object.create(null),h.operatorListChanged=s,c.opListReadCapability=Promise.withResolvers(),(c.renderTasks||=new Set).add(h),c.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(l)),c.opListReadCapability.promise}streamTextContent({includeMarkedContent:t=!1,disableNormalization:e=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:t===!0,disableNormalization:e===!0},{highWaterMark:100,size(r){return r.items.length}})}getTextContent(t={}){if(this._transport._htmlForXfa)return this.getXfa().then(i=>fv.textContent(i));let e=this.streamTextContent(t);return new Promise(function(i,r){function s(){l.read().then(function({value:h,done:d}){if(d){i(c);return}c.lang??=h.lang,Object.assign(c.styles,h.styles),c.items.push(...h.items),s()},r)}let l=e.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 e of this._intentStates.values())if(this._abortOperatorList({intentState:e,reason:new Error("Page was destroyed."),force:!0}),!e.opListReadCapability)for(let i of e.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 e=this.#n(!1);return t&&e&&(this._stats&&=new _x),e}#n(t=!1){if(this.#i(),!this.#e||this.destroyed)return!1;if(t)return this.#t=setTimeout(()=>{this.#t=null,this.#n(!1)},fZ),!1;for(let{renderTasks:e,operatorList:i}of this._intentStates.values())if(e.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,e){let i=this._intentStates.get(e);i&&(this._stats?.timeEnd("Page Request"),i.displayReadyCapability?.resolve(t))}_renderPageChunk(t,e){for(let i=0,r=t.length;i<r;i++)e.operatorList.fnArray.push(t.fnArray[i]),e.operatorList.argsArray.push(t.argsArray[i]);e.operatorList.lastChunk=t.lastChunk,e.operatorList.separateAnnots=t.separateAnnots;for(let i of e.renderTasks)i.operatorListChanged();t.lastChunk&&this.#n(!0)}_pumpOperatorList({renderingIntent:t,cacheKey:e,annotationStorageSerializable:i,modifiedIds:r}){let{map:s,transfer:l}=i,h=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:t,cacheKey:e,annotationStorage:s,modifiedIds:r},l).getReader(),d=this._intentStates.get(e);d.streamReader=h;let m=()=>{h.read().then(({value:v,done:y})=>{if(y){d.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(v,d),m())},v=>{if(d.streamReader=null,!this._transport.destroyed){if(d.operatorList){d.operatorList.lastChunk=!0;for(let y of d.renderTasks)y.operatorListChanged();this.#n(!0)}if(d.displayReadyCapability)d.displayReadyCapability.reject(v);else if(d.opListReadCapability)d.opListReadCapability.reject(v);else throw v}})};m()}_abortOperatorList({intentState:t,reason:e,force:i=!1}){if(t.streamReader){if(t.streamReaderCancelTimeout&&(clearTimeout(t.streamReaderCancelTimeout),t.streamReaderCancelTimeout=null),!i){if(t.renderTasks.size>0)return;if(e instanceof ov){let r=cZ;e.extraDelay>0&&e.extraDelay<1e3&&(r+=e.extraDelay),t.streamReaderCancelTimeout=setTimeout(()=>{t.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:t,reason:e,force:!0})},r);return}}if(t.streamReader.cancel(new Es(e.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}},NO=class{#t=new Map;#e=Promise.resolve();postMessage(t,e){let i={data:structuredClone(t,e?{transfer:e}:null)};this.#e.then(()=>{for(let[r]of this.#t)r.call(this,i)})}addEventListener(t,e,i=null){let r=null;if(i?.signal instanceof AbortSignal){let{signal:s}=i;if(s.aborted){me("LoopbackPort - cannot use an `aborted` signal.");return}let l=()=>this.removeEventListener(t,e);r=()=>s.removeEventListener("abort",l),s.addEventListener("abort",l)}this.#t.set(e,r)}removeEventListener(t,e){this.#t.get(e)?.(),this.#t.delete(e)}terminate(){for(let[,t]of this.#t)t?.();this.#t.clear()}},Np=class n{static#t=0;static#e=!1;static#n;static{ia&&(this.#e=!0,th.workerSrc||="./pdf.worker.mjs"),this._isSameOrigin=(t,e)=>{let i;try{if(i=new URL(t),!i.origin||i.origin==="null")return!1}catch{return!1}let r=new URL(e,i);return i.origin===r.origin},this._createCDNWrapper=t=>{let e=`await import("${t}");`;return URL.createObjectURL(new Blob([e],{type:"text/javascript"}))}}constructor({name:t=null,port:e=null,verbosity:i=zK()}={}){if(this.name=t,this.destroyed=!1,this.verbosity=i,this._readyCapability=Promise.withResolvers(),this._port=null,this._webWorker=null,this._messageHandler=null,e){if(n.#n?.has(e))throw new Error("Cannot use more than one PDFWorker per port.");(n.#n||=new WeakMap).set(e,this),this._initializeFromPort(e);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 $f("main","worker",t),this._messageHandler.on("ready",function(){}),this.#i()}_initialize(){if(n.#e||n.#r){this._setupFakeWorker();return}let{workerSrc:t}=n;try{n._isSameOrigin(window.location.href,t)||(t=n._createCDNWrapper(new URL(t,window.location).href));let e=new Worker(t,{type:"module"}),i=new $f("main","worker",e),r=()=>{s.abort(),i.destroy(),e.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},s=new AbortController;e.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=e,this._webWorker=e,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{uA("The worker has been disabled.")}this._setupFakeWorker()}_setupFakeWorker(){n.#e||(me("Setting up fake worker."),n.#e=!0),n._setupFakeWorkerGlobal.then(t=>{if(this.destroyed){this._readyCapability.reject(new Error("Worker was destroyed"));return}let e=new NO;this._port=e;let i=`fake${n.#t++}`,r=new $f(i+"_worker",i,e);t.setup(r,e),this._messageHandler=new $f(i,i+"_worker",e),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,n.#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 e=this.#n?.get(t.port);if(e){if(e._pendingDestroy)throw new Error("PDFWorker.fromPort - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return e}return new n(t)}static get workerSrc(){if(th.workerSrc)return th.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get#r(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){return Ae(this,"_setupFakeWorkerGlobal",(async()=>this.#r?this.#r:(await import(this.workerSrc)).WorkerMessageHandler)())}},zO=class{#t=new Map;#e=new Map;#n=new Map;#i=new Map;#r=null;constructor(t,e,i,r,s){this.messageHandler=t,this.loadingTask=e,this.commonObjs=new Yx,this.fontLoader=new eO({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,e=null){let i=this.#t.get(t);if(i)return i;let r=this.messageHandler.sendWithPromise(t,e);return this.#t.set(t,r),r}get annotationStorage(){return Ae(this,"annotationStorage",new lv)}getRenderingIntent(t,e=uc.ENABLE,i=null,r=!1,s=!1){let l=wr.DISPLAY,c=tO;switch(t){case"any":l=wr.ANY;break;case"display":break;case"print":l=wr.PRINT;break;default:me(`getRenderingIntent - invalid intent: ${t}`)}let h=l&wr.PRINT&&i instanceof Ux?i:this.annotationStorage;switch(e){case uc.DISABLE:l+=wr.ANNOTATIONS_DISABLE;break;case uc.ENABLE:break;case uc.ENABLE_FORMS:l+=wr.ANNOTATIONS_FORMS;break;case uc.ENABLE_STORAGE:l+=wr.ANNOTATIONS_STORAGE,c=h.serializable;break;default:me(`getRenderingIntent - invalid annotationMode: ${e}`)}r&&(l+=wr.IS_EDITING),s&&(l+=wr.OPLIST);let{ids:d,hash:m}=h.modifiedIds,v=[l,c.hash,m];return{renderingIntent:l,cacheKey:v.join("_"),annotationStorageSerializable:c,modifiedIds:d}}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 e=this.messageHandler.sendWithPromise("Terminate",null);return t.push(e),Promise.all(t).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#t.clear(),this.filterFactory.destroy(),cv.cleanup(),this._networkStream?.cancelAllRequests(new Es("Worker was terminated.")),this.messageHandler?.destroy(),this.messageHandler=null,this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){let{messageHandler:t,loadingTask:e}=this;t.on("GetReader",(i,r)=>{ci(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}ci(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&&e.onProgress?.(this._lastProgress),this._fullReader.onProgress=c=>{e.onProgress?.({loaded:c.loaded,total:c.total})}),{isStreamingSupported:r,isRangeSupported:s,contentLength:l}}),t.on("GetRangeReader",(i,r)=>{ci(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}ci(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,e._capability.resolve(new _O(i,this))}),t.on("DocException",i=>{e._capability.reject(Ia(i))}),t.on("PasswordRequest",i=>{this.#r=Promise.withResolvers();try{if(!e.onPassword)throw Ia(i);let r=s=>{s instanceof Error?this.#r.reject(s):this.#r.resolve({password:s})};e.onPassword(r,i.code)}catch(r){this.#r.reject(r)}return this.#r.promise}),t.on("DataLoaded",i=>{e.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:h}=this._params;if("error"in s){let y=s.error;me(`Error during font loading: ${y}`),this.commonObjs.resolve(i,y);break}let d=h&&globalThis.FontInspector?.enabled?(y,b)=>globalThis.FontInspector.fontAdded(y,b):null,m=new nO(s,{disableFontFace:l,fontExtraProperties:c,inspectFont:d});this.fontLoader.bind(m).catch(()=>t.sendWithPromise("FontFallback",{id:i})).finally(()=>{!c&&m.data&&(m.data=null),this.commonObjs.resolve(i,m)});break;case"CopyLocalImage":let{imageRef:v}=s;ci(v,"The imageRef must be defined.");for(let y of this.#e.values())for(let[,b]of y.objs)if(b?.ref===v)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>RK&&(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||e.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&&me("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");let{map:t,transfer:e}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:t,filename:this._fullReader?.filename??null},e).finally(()=>{this.annotationStorage.resetModified()})}getPage(t){if(!Number.isInteger(t)||t<=0||t>this._numPages)return Promise.reject(new Error("Invalid page request."));let e=t-1,i=this.#n.get(e);if(i)return i;let r=this.messageHandler.sendWithPromise("GetPage",{pageIndex:e}).then(s=>{if(this.destroyed)throw new Error("Transport destroyed");s.refStr&&this.#i.set(s.refStr,t);let l=new FO(e,s,this,this._params.pdfBug);return this.#e.set(e,l),l});return this.#n.set(e,r),r}getPageIndex(t){return qB(t)?this.messageHandler.sendWithPromise("GetPageIndex",{num:t.num,gen:t.gen}):Promise.reject(new Error("Invalid pageIndex request."))}getAnnotations(t,e){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:t,intent:e})}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(e=>new vO(e,t))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){let t="GetMetadata",e=this.#t.get(t);if(e)return e;let i=this.messageHandler.sendWithPromise(t,null).then(r=>({info:r[0],metadata:r[1]?new mO(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 e of this.#e.values())if(!e.cleanup())throw new Error(`startCleanup: Page ${e.pageNumber} is currently rendering.`);this.commonObjs.clear(),t||this.fontLoader.clear(),this.#t.clear(),this.filterFactory.destroy(!0),cv.cleanup()}}cachedPageNumber(t){if(!qB(t))return null;let e=t.gen===0?`${t.num}R`:`${t.num}R${t.gen}`;return this.#i.get(e)??null}},$g=Symbol("INITIAL_DATA"),Yx=class{#t=Object.create(null);#e(t){return this.#t[t]||={...Promise.withResolvers(),data:$g}}get(t,e=null){if(e){let r=this.#e(t);return r.promise.then(()=>e(r.data)),null}let i=this.#t[t];if(!i||i.data===$g)throw new Error(`Requesting object that isn't resolved yet ${t}.`);return i.data}has(t){let e=this.#t[t];return!!e&&e.data!==$g}delete(t){let e=this.#t[t];return!e||e.data===$g?!1:(delete this.#t[t],!0)}resolve(t,e=null){let i=this.#e(t);i.data=e,i.resolve()}clear(){for(let t in this.#t){let{data:e}=this.#t[t];e?.bitmap?.close()}this.#t=Object.create(null)}*[Symbol.iterator](){for(let t in this.#t){let{data:e}=this.#t[t];e!==$g&&(yield[t,e])}}},kO=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:e}=this.#t;return t.form||t.canvas&&e?.size>0}},LO=class n{#t=null;static#e=new WeakSet;constructor({callback:t,params:e,objs:i,commonObjs:r,annotationCanvasMap:s,operatorList:l,pageIndex:c,canvasFactory:h,filterFactory:d,useRequestAnimationFrame:m=!1,pdfBug:v=!1,pageColors:y=null}){this.callback=t,this.params=e,this.objs=i,this.commonObjs=r,this.annotationCanvasMap=s,this.operatorListIdx=null,this.operatorList=l,this._pageIndex=c,this.canvasFactory=h,this.filterFactory=d,this._pdfBug=v,this.pageColors=y,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=m===!0&&typeof window<"u",this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new kO(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=e.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:t=!1,optionalContentConfig:e}){if(this.cancelled)return;if(this._canvas){if(n.#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.");n.#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 Fp(i,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:e},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,e=0){this.running=!1,this.cancelled=!0,this.gfx?.endDrawing(),this.#t&&(window.cancelAnimationFrame(this.#t),this.#t=null),n.#e.delete(this._canvas),this.callback(t||new ov(`Rendering cancelled, page ${this._pageIndex+1}`,e))}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(),n.#e.delete(this._canvas),this.callback())))}},bZ="4.10.38",SZ="f9bea397f";function VB(n){return Math.floor(Math.max(0,Math.min(1,n))*255).toString(16).padStart(2,"0")}function tv(n){return Math.max(0,Math.min(255,255*n))}var Kx=class{static CMYK_G([t,e,i,r]){return["G",1-Math.min(1,.3*t+.59*i+.11*e+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=tv(t),[t,t,t]}static G_HTML([t]){let e=VB(t);return`#${e}${e}${e}`}static RGB_G([t,e,i]){return["G",.3*t+.59*e+.11*i]}static RGB_rgb(t){return t.map(tv)}static RGB_HTML(t){return`#${t.map(VB).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([t,e,i,r]){return["RGB",1-Math.min(1,t+r),1-Math.min(1,i+r),1-Math.min(1,e+r)]}static CMYK_rgb([t,e,i,r]){return[tv(1-Math.min(1,t+r)),tv(1-Math.min(1,i+r)),tv(1-Math.min(1,e+r))]}static CMYK_HTML(t){let e=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(e)}static RGB_CMYK([t,e,i]){let r=1-t,s=1-e,l=1-i,c=Math.min(r,s,l);return["CMYK",r,s,l,c]}},UO=class{create(t,e,i=!1){if(t<=0||e<=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",`${e}px`)),r.setAttribute("preserveAspectRatio","none"),r.setAttribute("viewBox",`0 0 ${t} ${e}`),r}createElement(t){if(typeof t!="string")throw new Error("Invalid SVG element type");return this._createSVG(t)}_createSVG(t){cn("Abstract method `_createSVG` called.")}},hv=class extends UO{_createSVG(t){return document.createElementNS(_l,t)}},Zx=class{static setupStorage(t,e,i,r,s){let l=r.getValue(e,{value:null});switch(i.name){case"textarea":if(l.value!==null&&(t.textContent=l.value),s==="print")break;t.addEventListener("input",c=>{r.setValue(e,{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(e,{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(e,{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 h=c.target.options,d=h.selectedIndex===-1?"":h[h.selectedIndex].value;r.setValue(e,{value:d})});break}}static setAttributes({html:t,element:e,storage:i=null,intent:r,linkService:s}){let{attributes:l}=e,c=t instanceof HTMLAnchorElement;l.type==="radio"&&(l.name=`${l.name}-${r}`);for(let[h,d]of Object.entries(l))if(d!=null)switch(h){case"class":d.length&&t.setAttribute(h,d.join(" "));break;case"dataId":break;case"id":t.setAttribute("data-element-id",d);break;case"style":Object.assign(t.style,d);break;case"textContent":t.textContent=d;break;default:(!c||h!=="href"&&h!=="newWindow")&&t.setAttribute(h,d)}c&&s.addLinkAttributes(t,l.href,l.newWindow),i&&l.dataId&&this.setupStorage(t,l.dataId,e,i)}static render(t){let e=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",h=t.div;if(h.append(l),t.viewport){let v=`matrix(${t.viewport.transform.join(",")})`;h.style.transform=v}c&&h.setAttribute("class","xfaLayer xfaFont");let d=[];if(r.children.length===0){if(r.value){let v=document.createTextNode(r.value);l.append(v),c&&fv.shouldBuildText(r.name)&&d.push(v)}return{textDivs:d}}let m=[[r,-1,l]];for(;m.length>0;){let[v,y,b]=m.at(-1);if(y+1===v.children.length){m.pop();continue}let x=v.children[++m.at(-1)[1]];if(x===null)continue;let{name:E}=x;if(E==="#text"){let A=document.createTextNode(x.value);d.push(A),b.append(A);continue}let C=x?.attributes?.xmlns?document.createElementNS(x.attributes.xmlns,E):document.createElement(E);if(b.append(C),x.attributes&&this.setAttributes({html:C,element:x,storage:e,intent:s,linkService:i}),x.children?.length>0)m.push([x,-1,C]);else if(x.value){let A=document.createTextNode(x.value);c&&fv.shouldBuildText(E)&&d.push(A),C.append(A)}}for(let v of h.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))v.setAttribute("readOnly",!0);return{textDivs:d}}static update(t){let e=`matrix(${t.viewport.transform.join(",")})`;t.div.style.transform=e,t.div.hidden=!1}},vv=1e3,xZ=9,rh=new WeakSet;function cc(n){return{width:n[2]-n[0],height:n[3]-n[1]}}var BO=class{static create(t){switch(t.data.annotationType){case Si.LINK:return new Wx(t);case Si.TEXT:return new PO(t);case Si.WIDGET:switch(t.data.fieldType){case"Tx":return new HO(t);case"Btn":return t.data.radioButton?new Qx(t):t.data.checkBox?new qO(t):new VO(t);case"Ch":return new GO(t);case"Sig":return new jO(t)}return new Fl(t);case Si.POPUP:return new dv(t);case Si.FREETEXT:return new Jx(t);case Si.LINE:return new XO(t);case Si.SQUARE:return new YO(t);case Si.CIRCLE:return new KO(t);case Si.POLYLINE:return new $x(t);case Si.CARET:return new WO(t);case Si.INK:return new pv(t);case Si.POLYGON:return new ZO(t);case Si.HIGHLIGHT:return new tA(t);case Si.UNDERLINE:return new QO(t);case Si.SQUIGGLY:return new JO(t);case Si.STRIKEOUT:return new $O(t);case Si.STAMP:return new eA(t);case Si.FILEATTACHMENT:return new tM(t);default:return new Kn(t)}}},Kn=class n{#t=null;#e=!1;#n=null;constructor(t,{isRenderable:e=!1,ignoreBorder:i=!1,createQuadrilaterals:r=!1}={}){this.isRenderable=e,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,e&&(this.container=this._createContainer(i)),r&&this._createQuadrilaterals()}static _hasPopupData({titleObj:t,contentsObj:e,richText:i}){return!!(t?.str||e?.str||i?.str)}get _isEditable(){return this.data.isEditable}get hasPopupData(){return n._hasPopupData(this.data)}updateEdited(t){if(!this.container)return;this.#t||={rect:this.data.rect.slice(0)};let{rect:e}=t;e&&this.#i(e),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:e},data:{rect:i,rotation:r},parent:{viewport:{rawDims:{pageWidth:s,pageHeight:l,pageX:c,pageY:h}}}}=this;i?.splice(0,4,...t);let{width:d,height:m}=cc(t);e.left=`${100*(t[0]-c)/s}%`,e.top=`${100*(l-t[3]+h)/l}%`,r===0?(e.width=`${100*d/s}%`,e.height=`${100*m/l}%`):this.setRotation(r)}_createContainer(t){let{data:e,parent:{page:i,viewport:r}}=this,s=document.createElement("section");s.setAttribute("data-annotation-id",e.id),this instanceof Fl||(s.tabIndex=vv);let{style:l}=s;if(l.zIndex=this.parent.zIndex++,e.alternativeText&&(s.title=e.alternativeText),e.noRotate&&s.classList.add("norotate"),!e.rect||this instanceof dv){let{rotation:E}=e;return!e.hasOwnCanvas&&E!==0&&this.setRotation(E,s),s}let{width:c,height:h}=cc(e.rect);if(!t&&e.borderStyle.width>0){l.borderWidth=`${e.borderStyle.width}px`;let E=e.borderStyle.horizontalCornerRadius,C=e.borderStyle.verticalCornerRadius;if(E>0||C>0){let T=`calc(${E}px * var(--scale-factor)) / calc(${C}px * var(--scale-factor))`;l.borderRadius=T}else if(this instanceof Qx){let T=`calc(${c}px * var(--scale-factor)) / calc(${h}px * var(--scale-factor))`;l.borderRadius=T}switch(e.borderStyle.style){case Qg.SOLID:l.borderStyle="solid";break;case Qg.DASHED:l.borderStyle="dashed";break;case Qg.BEVELED:me("Unimplemented border style: beveled");break;case Qg.INSET:me("Unimplemented border style: inset");break;case Qg.UNDERLINE:l.borderBottomStyle="solid";break;default:break}let A=e.borderColor||null;A?(this.#e=!0,l.borderColor=Mt.makeHexColor(A[0]|0,A[1]|0,A[2]|0)):l.borderWidth=0}let d=Mt.normalizeRect([e.rect[0],i.view[3]-e.rect[1]+i.view[1],e.rect[2],i.view[3]-e.rect[3]+i.view[1]]),{pageWidth:m,pageHeight:v,pageX:y,pageY:b}=r.rawDims;l.left=`${100*(d[0]-y)/m}%`,l.top=`${100*(d[1]-b)/v}%`;let{rotation:x}=e;return e.hasOwnCanvas||x===0?(l.width=`${100*c/m}%`,l.height=`${100*h/v}%`):this.setRotation(x,s),s}setRotation(t,e=this.container){if(!this.data.rect)return;let{pageWidth:i,pageHeight:r}=this.parent.viewport.rawDims,{width:s,height:l}=cc(this.data.rect),c,h;t%180===0?(c=100*s/i,h=100*l/r):(c=100*l/i,h=100*s/r),e.style.width=`${c}%`,e.style.height=`${h}%`,e.setAttribute("data-main-rotation",(360-t)%360)}get _commonActions(){let t=(e,i,r)=>{let s=r.detail[e],l=s[0],c=s.slice(1);r.target.style[i]=Kx[`${l}_HTML`](c),this.annotationStorage.setValue(this.data.id,{[i]:Kx[`${l}_rgb`](c)})};return Ae(this,"_commonActions",{display:e=>{let{display:i}=e.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:e=>{this.annotationStorage.setValue(this.data.id,{noPrint:!e.detail.print})},hidden:e=>{let{hidden:i}=e.detail;this.container.style.visibility=i?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:i,noView:i})},focus:e=>{setTimeout(()=>e.target.focus({preventScroll:!1}),0)},userName:e=>{e.target.title=e.detail.userName},readonly:e=>{e.target.disabled=e.detail.readonly},required:e=>{this._setRequired(e.target,e.detail.required)},bgColor:e=>{t("bgColor","backgroundColor",e)},fillColor:e=>{t("fillColor","backgroundColor",e)},fgColor:e=>{t("fgColor","color",e)},textColor:e=>{t("textColor","color",e)},borderColor:e=>{t("borderColor","borderColor",e)},strokeColor:e=>{t("strokeColor","borderColor",e)},rotation:e=>{let i=e.detail.rotation;this.setRotation(i),this.annotationStorage.setValue(this.data.id,{rotation:i})}})}_dispatchEventFromSandbox(t,e){let i=this._commonActions;for(let r of Object.keys(e.detail))(t[r]||i[r])?.(e)}_setDefaultPropertiesFromJS(t){if(!this.enableScripting)return;let e=this.annotationStorage.getRawValue(this.data.id);if(!e)return;let i=this._commonActions;for(let[r,s]of Object.entries(e)){let l=i[r];if(l){let c={detail:{[r]:s},target:t};l(c),delete e[r]}}}_createQuadrilaterals(){if(!this.container)return;let{quadPoints:t}=this.data;if(!t)return;let[e,i,r,s]=this.data.rect.map(E=>Math.fround(E));if(t.length===8){let[E,C,A,T]=t.subarray(2,6);if(r===E&&s===C&&e===A&&i===T)return}let{style:l}=this.container,c;if(this.#e){let{borderColor:E,borderWidth:C}=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="${E}" stroke-width="${C}">`],this.container.classList.add("hasBorder")}let h=r-e,d=s-i,{svgFactory:m}=this,v=m.createElement("svg");v.classList.add("quadrilateralsContainer"),v.setAttribute("width",0),v.setAttribute("height",0);let y=m.createElement("defs");v.append(y);let b=m.createElement("clipPath"),x=`clippath_${this.data.id}`;b.setAttribute("id",x),b.setAttribute("clipPathUnits","objectBoundingBox"),y.append(b);for(let E=2,C=t.length;E<C;E+=8){let A=t[E],T=t[E+1],D=t[E+2],O=t[E+3],F=m.createElement("rect"),U=(D-e)/h,L=(s-T)/d,k=(A-D)/h,G=(T-O)/d;F.setAttribute("x",U),F.setAttribute("y",L),F.setAttribute("width",k),F.setAttribute("height",G),b.append(F),c?.push(`<rect vector-effect="non-scaling-stroke" x="${U}" y="${L}" width="${k}" height="${G}"/>`)}this.#e&&(c.push("</g></svg>')"),l.backgroundImage=c.join("")),this.container.append(v),this.container.style.clipPath=`url(#${x})`}_createPopup(){let{data:t}=this,e=this.#n=new dv({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(e.render())}render(){cn("Abstract method `AnnotationElement.render` called")}_getElementsByName(t,e=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===e)continue;let h=typeof c=="string"?c:null,d=document.querySelector(`[data-element-id="${l}"]`);if(d&&!rh.has(d)){me(`_getElementsByName - element not allowed: ${l}`);continue}i.push({id:l,exportValue:h,domElement:d})}return i}for(let r of document.getElementsByName(t)){let{exportValue:s}=r,l=r.getAttribute("data-element-id");l!==e&&rh.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 e of t)e.classList.add("highlightArea");else t.classList.add("highlightArea")}_editOnDoubleClick(){if(!this._isEditable)return;let{annotationEditorType:t,data:{id:e}}=this;this.container.addEventListener("dblclick",()=>{this.linkService.eventBus?.dispatch("switchannotationeditormode",{source:this,mode:t,editId:e})})}},Wx=class extends Kn{constructor(t,e=null){super(t,{isRenderable:!0,ignoreBorder:!!e?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=t.data.isTooltipOnly}render(){let{data:t,linkService:e}=this,i=document.createElement("a");i.setAttribute("data-element-id",t.id);let r=!1;return t.url?(e.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,e){t.href=this.linkService.getDestinationHash(e),t.onclick=()=>(e&&this.linkService.goToDestination(e),!1),(e||e==="")&&this.#t()}_bindNamedAction(t,e){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeNamedAction(e),!1),this.#t()}#e(t,e,i=null){t.href=this.linkService.getAnchorUrl(""),e.description&&(t.title=e.description),t.onclick=()=>(this.downloadManager?.openOrDownloadData(e.content,e.filename,i),!1),this.#t()}#n(t,e){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeSetOCGState(e),!1),this.#t()}_bindJSAction(t,e){t.href=this.linkService.getAnchorUrl("");let i=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(let r of Object.keys(e.actions)){let s=i.get(r);s&&(t[s]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e.id,name:r}}),!1))}t.onclick||(t.onclick=()=>!1),this.#t()}_bindResetFormAction(t,e){let i=t.onclick;if(i||(t.href=this.linkService.getAnchorUrl("")),this.#t(),!this._fieldObjects){me('_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}=e,c=[];if(r.length!==0||s.length!==0){let m=new Set(s);for(let v of r){let y=this._fieldObjects[v]||[];for(let{id:b}of y)m.add(b)}for(let v of Object.values(this._fieldObjects))for(let y of v)m.has(y.id)===l&&c.push(y)}else for(let m of Object.values(this._fieldObjects))c.push(...m);let h=this.annotationStorage,d=[];for(let m of c){let{id:v}=m;switch(d.push(v),m.type){case"text":{let b=m.defaultValue||"";h.setValue(v,{value:b});break}case"checkbox":case"radiobutton":{let b=m.defaultValue===m.exportValues;h.setValue(v,{value:b});break}case"combobox":case"listbox":{let b=m.defaultValue||"";h.setValue(v,{value:b});break}default:continue}let y=document.querySelector(`[data-element-id="${v}"]`);if(y){if(!rh.has(y)){me(`_bindResetFormAction - element not allowed: ${v}`);continue}}else continue;y.dispatchEvent(new Event("resetform"))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:d,name:"ResetForm"}}),!1}}},PO=class extends Kn{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}},Fl=class extends Kn{render(){return this.container}showElementAndHideCanvas(t){this.data.hasOwnCanvas&&(t.previousSibling?.nodeName==="CANVAS"&&(t.previousSibling.hidden=!0),t.hidden=!1)}_getKeyModifier(t){return Xi.platform.isMac?t.metaKey:t.ctrlKey}_setEventListener(t,e,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(!e.focused||!l.relatedTarget)return;e.focused=!1}else if(i==="focus"){if(e.focused)return;e.focused=!0}s&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:r,value:s(l)}})})}_setEventListeners(t,e,i,r){for(let[s,l]of i)(l==="Action"||this.data.actions?.[l])&&((l==="Focus"||l==="Blur")&&(e||={focused:!1}),this._setEventListener(t,e,s,l,r),l==="Focus"&&!this.data.actions?.Blur?this._setEventListener(t,e,"blur","Blur",null):l==="Blur"&&!this.data.actions?.Focus&&this._setEventListener(t,e,"focus","Focus",null))}_setBackgroundColor(t){let e=this.data.backgroundColor||null;t.style.backgroundColor=e===null?"transparent":Mt.makeHexColor(e[0],e[1],e[2])}_setTextStyle(t){let e=["left","center","right"],{fontColor:i}=this.data.defaultAppearanceData,r=this.data.defaultAppearanceData.fontSize||xZ,s=t.style,l,c=2,h=d=>Math.round(10*d)/10;if(this.data.multiLine){let d=Math.abs(this.data.rect[3]-this.data.rect[1]-c),m=Math.round(d/(Rx*r))||1,v=d/m;l=Math.min(r,h(v/Rx))}else{let d=Math.abs(this.data.rect[3]-this.data.rect[1]-c);l=Math.min(r,h(d/Rx))}s.fontSize=`calc(${l}px * var(--scale-factor))`,s.color=Mt.makeHexColor(i[0],i[1],i[2]),this.data.textAlignment!==null&&(s.textAlign=e[this.data.textAlignment])}_setRequired(t,e){e?t.setAttribute("required",!0):t.removeAttribute("required"),t.setAttribute("aria-required",e)}},HO=class extends Fl{constructor(t){let e=t.renderForms||t.data.hasOwnCanvas||!t.data.hasAppearance&&!!t.data.fieldValue;super(t,{isRenderable:e})}setPropertyOnSiblings(t,e,i,r){let s=this.annotationStorage;for(let l of this._getElementsByName(t.name,t.id))l.domElement&&(l.domElement[e]=i),s.setValue(l.id,{[r]:i})}render(){let t=this.annotationStorage,e=this.data.id;this.container.classList.add("textWidgetAnnotation");let i=null;if(this.renderForms){let r=t.getValue(e,{value:this.data.fieldValue}),s=r.value||"",l=t.getValue(e,{charLimit:this.data.maxLen}).charLimit;l&&s.length>l&&(s=s.slice(0,l));let c=r.formattedValue||this.data.textContent?.join(`
245
- `)||null;c&&this.data.comb&&(c=c.replaceAll(/\s+/g,""));let h={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),rh.add(i),i.setAttribute("data-element-id",e),i.disabled=this.data.readOnly,i.name=this.data.fieldName,i.tabIndex=vv,this._setRequired(i,this.data.required),l&&(i.maxLength=l),i.addEventListener("input",m=>{t.setValue(e,{value:m.target.value}),this.setPropertyOnSiblings(i,"value",m.target.value,"value"),h.formattedValue=null}),i.addEventListener("resetform",m=>{let v=this.data.defaultFieldValue??"";i.value=h.userValue=v,h.formattedValue=null});let d=m=>{let{formattedValue:v}=h;v!=null&&(m.target.value=v),m.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){i.addEventListener("focus",v=>{if(h.focused)return;let{target:y}=v;h.userValue&&(y.value=h.userValue),h.lastCommittedValue=y.value,h.commitKey=1,this.data.actions?.Focus||(h.focused=!0)}),i.addEventListener("updatefromsandbox",v=>{this.showElementAndHideCanvas(v.target);let y={value(b){h.userValue=b.detail.value??"",t.setValue(e,{value:h.userValue.toString()}),b.target.value=h.userValue},formattedValue(b){let{formattedValue:x}=b.detail;h.formattedValue=x,x!=null&&b.target!==document.activeElement&&(b.target.value=x),t.setValue(e,{formattedValue:x})},selRange(b){b.target.setSelectionRange(...b.detail.selRange)},charLimit:b=>{let{charLimit:x}=b.detail,{target:E}=b;if(x===0){E.removeAttribute("maxLength");return}E.setAttribute("maxLength",x);let C=h.userValue;!C||C.length<=x||(C=C.slice(0,x),E.value=h.userValue=C,t.setValue(e,{value:C}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:C,willCommit:!0,commitKey:1,selStart:E.selectionStart,selEnd:E.selectionEnd}}))}};this._dispatchEventFromSandbox(y,v)}),i.addEventListener("keydown",v=>{h.commitKey=1;let y=-1;if(v.key==="Escape"?y=0:v.key==="Enter"&&!this.data.multiLine?y=2:v.key==="Tab"&&(h.commitKey=3),y===-1)return;let{value:b}=v.target;h.lastCommittedValue!==b&&(h.lastCommittedValue=b,h.userValue=b,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:b,willCommit:!0,commitKey:y,selStart:v.target.selectionStart,selEnd:v.target.selectionEnd}}))});let m=d;d=null,i.addEventListener("blur",v=>{if(!h.focused||!v.relatedTarget)return;this.data.actions?.Blur||(h.focused=!1);let{value:y}=v.target;h.userValue=y,h.lastCommittedValue!==y&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:y,willCommit:!0,commitKey:h.commitKey,selStart:v.target.selectionStart,selEnd:v.target.selectionEnd}}),m(v)}),this.data.actions?.Keystroke&&i.addEventListener("beforeinput",v=>{h.lastCommittedValue=null;let{data:y,target:b}=v,{value:x,selectionStart:E,selectionEnd:C}=b,A=E,T=C;switch(v.inputType){case"deleteWordBackward":{let D=x.substring(0,E).match(/\w*[^\w]*$/);D&&(A-=D[0].length);break}case"deleteWordForward":{let D=x.substring(E).match(/^[^\w]*\w*/);D&&(T+=D[0].length);break}case"deleteContentBackward":E===C&&(A-=1);break;case"deleteContentForward":E===C&&(T+=1);break}v.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:x,change:y||"",willCommit:!1,selStart:A,selEnd:T}})}),this._setEventListeners(i,h,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],v=>v.target.value)}if(d&&i.addEventListener("blur",d),this.data.comb){let v=(this.data.rect[2]-this.data.rect[0])/l;i.classList.add("comb"),i.style.letterSpacing=`calc(${v}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}},jO=class extends Fl{constructor(t){super(t,{isRenderable:!!t.data.hasOwnCanvas})}},qO=class extends Fl{constructor(t){super(t,{isRenderable:t.renderForms})}render(){let t=this.annotationStorage,e=this.data,i=e.id,r=t.getValue(i,{value:e.exportValue===e.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 rh.add(s),s.setAttribute("data-element-id",i),s.disabled=e.readOnly,this._setRequired(s,this.data.required),s.type="checkbox",s.name=e.fieldName,r&&s.setAttribute("checked",!0),s.setAttribute("exportValue",e.exportValue),s.tabIndex=vv,s.addEventListener("change",l=>{let{name:c,checked:h}=l.target;for(let d of this._getElementsByName(c,i)){let m=h&&d.exportValue===e.exportValue;d.domElement&&(d.domElement.checked=m),t.setValue(d.id,{value:m})}t.setValue(i,{value:h})}),s.addEventListener("resetform",l=>{let c=e.defaultFieldValue||"Off";l.target.checked=c===e.exportValue}),this.enableScripting&&this.hasJSActions&&(s.addEventListener("updatefromsandbox",l=>{let c={value(h){h.target.checked=h.detail.value!=="Off",t.setValue(i,{value:h.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}},Qx=class extends Fl{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");let t=this.annotationStorage,e=this.data,i=e.id,r=t.getValue(i,{value:e.fieldValue===e.buttonValue}).value;if(typeof r=="string"&&(r=r!==e.buttonValue,t.setValue(i,{value:r})),r)for(let l of this._getElementsByName(e.fieldName,i))t.setValue(l.id,{value:!1});let s=document.createElement("input");if(rh.add(s),s.setAttribute("data-element-id",i),s.disabled=e.readOnly,this._setRequired(s,this.data.required),s.type="radio",s.name=e.fieldName,r&&s.setAttribute("checked",!0),s.tabIndex=vv,s.addEventListener("change",l=>{let{name:c,checked:h}=l.target;for(let d of this._getElementsByName(c,i))t.setValue(d.id,{value:!1});t.setValue(i,{value:h})}),s.addEventListener("resetform",l=>{let c=e.defaultFieldValue;l.target.checked=c!=null&&c===e.buttonValue}),this.enableScripting&&this.hasJSActions){let l=e.buttonValue;s.addEventListener("updatefromsandbox",c=>{let h={value:d=>{let m=l===d.detail.value;for(let v of this._getElementsByName(d.target.name)){let y=m&&v.id===i;v.domElement&&(v.domElement.checked=y),t.setValue(v.id,{value:y})}}};this._dispatchEventFromSandbox(h,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}},VO=class extends Wx{constructor(t){super(t,{ignoreBorder:t.data.hasAppearance})}render(){let t=super.render();t.classList.add("buttonWidgetAnnotation","pushButton");let e=t.lastChild;return this.enableScripting&&this.hasJSActions&&e&&(this._setDefaultPropertiesFromJS(e),e.addEventListener("updatefromsandbox",i=>{this._dispatchEventFromSandbox({},i)})),t}},GO=class extends Fl{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");let t=this.annotationStorage,e=this.data.id,i=t.getValue(e,{value:this.data.fieldValue}),r=document.createElement("select");rh.add(r),r.setAttribute("data-element-id",e),r.disabled=this.data.readOnly,this._setRequired(r,this.data.required),r.name=this.data.fieldName,r.tabIndex=vv;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",m=>{let v=this.data.defaultFieldValue;for(let y of r.options)y.selected=y.value===v});for(let m of this.data.options){let v=document.createElement("option");v.textContent=m.displayValue,v.value=m.exportValue,i.value.includes(m.exportValue)&&(v.setAttribute("selected",!0),s=!1),r.append(v)}let l=null;if(s){let m=document.createElement("option");m.value=" ",m.setAttribute("hidden",!0),m.setAttribute("selected",!0),r.prepend(m),l=()=>{m.remove(),r.removeEventListener("input",l),l=null},r.addEventListener("input",l)}let c=m=>{let v=m?"value":"textContent",{options:y,multiple:b}=r;return b?Array.prototype.filter.call(y,x=>x.selected).map(x=>x[v]):y.selectedIndex===-1?null:y[y.selectedIndex][v]},h=c(!1),d=m=>{let v=m.target.options;return Array.prototype.map.call(v,y=>({displayValue:y.textContent,exportValue:y.value}))};return this.enableScripting&&this.hasJSActions?(r.addEventListener("updatefromsandbox",m=>{let v={value(y){l?.();let b=y.detail.value,x=new Set(Array.isArray(b)?b:[b]);for(let E of r.options)E.selected=x.has(E.value);t.setValue(e,{value:c(!0)}),h=c(!1)},multipleSelection(y){r.multiple=!0},remove(y){let b=r.options,x=y.detail.remove;b[x].selected=!1,r.remove(x),b.length>0&&Array.prototype.findIndex.call(b,C=>C.selected)===-1&&(b[0].selected=!0),t.setValue(e,{value:c(!0),items:d(y)}),h=c(!1)},clear(y){for(;r.length!==0;)r.remove(0);t.setValue(e,{value:null,items:[]}),h=c(!1)},insert(y){let{index:b,displayValue:x,exportValue:E}=y.detail.insert,C=r.children[b],A=document.createElement("option");A.textContent=x,A.value=E,C?C.before(A):r.append(A),t.setValue(e,{value:c(!0),items:d(y)}),h=c(!1)},items(y){let{items:b}=y.detail;for(;r.length!==0;)r.remove(0);for(let x of b){let{displayValue:E,exportValue:C}=x,A=document.createElement("option");A.textContent=E,A.value=C,r.append(A)}r.options.length>0&&(r.options[0].selected=!0),t.setValue(e,{value:c(!0),items:d(y)}),h=c(!1)},indices(y){let b=new Set(y.detail.indices);for(let x of y.target.options)x.selected=b.has(x.index);t.setValue(e,{value:c(!0)}),h=c(!1)},editable(y){y.target.disabled=!y.detail.editable}};this._dispatchEventFromSandbox(v,m)}),r.addEventListener("input",m=>{let v=c(!0),y=c(!1);t.setValue(e,{value:v}),m.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:e,name:"Keystroke",value:h,change:y,changeEx:v,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"]],m=>m.target.value)):r.addEventListener("input",function(m){t.setValue(e,{value:c(!0)})}),this.data.combo&&this._setTextStyle(r),this._setBackgroundColor(r),this._setDefaultPropertiesFromJS(r),this.container.append(r),this.container}},dv=class extends Kn{constructor(t){let{data:e,elements:i}=t;super(t,{isRenderable:Kn._hasPopupData(e)}),this.elements=i,this.popup=null}render(){this.container.classList.add("popupAnnotation");let t=this.popup=new IO({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}),e=[];for(let i of this.elements)i.popup=t,i.container.ariaHasPopup="dialog",e.push(i.data.id),i.addHighlightArea();return this.container.setAttribute("aria-controls",e.map(i=>`${pM}${i}`).join(",")),this.container}},IO=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;#h=null;#f=!1;#d=null;#o=null;#p=null;#g=null;#m=null;#v=null;#S=!1;constructor({container:t,color:e,elements:i,titleObj:r,modificationDate:s,contentsObj:l,richText:c,parent:h,rect:d,parentRect:m,open:v}){this.#a=t,this.#m=r,this.#l=l,this.#g=c,this.#u=h,this.#r=e,this.#p=d,this.#h=m,this.#c=i,this.#s=Fx.toDateObject(s),this.trigger=i.flatMap(y=>y.getElementsToTriggerPopup());for(let y of this.trigger)y.addEventListener("click",this.#i),y.addEventListener("mouseenter",this.#n),y.addEventListener("mouseleave",this.#e),y.classList.add("popupTriggerArea");for(let y of i)y.container?.addEventListener("keydown",this.#t);this.#a.hidden=!0,v&&this.#A()}render(){if(this.#d)return;let t=this.#d=document.createElement("div");if(t.className="popup",this.#r){let s=t.style.outlineColor=Mt.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=Mt.makeHexColor(...this.#r.map(c=>Math.floor(.7*(255-c)+c)))}let e=document.createElement("span");e.className="header";let i=document.createElement("h1");if(e.append(i),{dir:i.dir,str:i.textContent}=this.#m,t.append(e),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()})),e.append(s)}let r=this.#y;if(r)Zx.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,e=this.#l;return t?.str&&(!e?.str||e.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 e=[],i={str:t,html:{name:"div",attributes:{dir:"auto"},children:[{name:"p",children:e}]}},r={style:{color:this.#w,fontSize:this.#x?`calc(${this.#x}px * var(--scale-factor))`:""}};for(let s of t.split(`
246
- `))e.push({name:"span",value:s,attributes:r});return i}_formatContents({str:t,dir:e}){let i=document.createElement("p");i.classList.add("popupContent"),i.dir=e;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:e}){this.#v||={contentsObj:this.#l,richText:this.#g},t&&(this.#o=null),e&&(this.#g=this.#T(e),this.#l=null),this.#d?.remove(),this.#d=null}resetEdited(){this.#v&&({contentsObj:this.#l,richText:this.#g}=this.#v,this.#v=null,this.#d?.remove(),this.#d=null,this.#o=null)}#O(){if(this.#o!==null)return;let{page:{view:t},viewport:{rawDims:{pageWidth:e,pageHeight:i,pageX:r,pageY:s}}}=this.#u,l=!!this.#h,c=l?this.#h:this.#p;for(let x of this.#c)if(!c||Mt.intersect(x.data.rect,c)!==null){c=x.data.rect,l=!0;break}let h=Mt.normalizeRect([c[0],t[3]-c[1]+t[1],c[2],t[3]-c[3]+t[1]]),m=l?c[2]-c[0]+5:0,v=h[0]+m,y=h[1];this.#o=[100*(v-r)/e,100*(y-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.#d||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.#d||this.#R(),this.#S=!1,this.#a.hidden=!1)}get isVisible(){return this.#a.hidden===!1}},Jx=class extends Kn{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.textContent=t.data.textContent,this.textPosition=t.data.textPosition,this.annotationEditorType=pe.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 e of this.textContent){let i=document.createElement("span");i.textContent=e,t.append(i)}this.container.append(t)}return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}},XO=class extends Kn{#t=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("lineAnnotation");let t=this.data,{width:e,height:i}=cc(t.rect),r=this.svgFactory.create(e,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")}},YO=class extends Kn{#t=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("squareAnnotation");let t=this.data,{width:e,height:i}=cc(t.rect),r=this.svgFactory.create(e,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",e-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")}},KO=class extends Kn{#t=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("circleAnnotation");let t=this.data,{width:e,height:i}=cc(t.rect),r=this.svgFactory.create(e,i,!0),s=t.borderStyle.width,l=this.#t=this.svgFactory.createElement("svg:ellipse");return l.setAttribute("cx",e/2),l.setAttribute("cy",i/2),l.setAttribute("rx",e/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")}},$x=class extends Kn{#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:e,borderStyle:i,popupRef:r}}=this;if(!e)return this.container;let{width:s,height:l}=cc(t),c=this.svgFactory.create(s,l,!0),h=[];for(let m=0,v=e.length;m<v;m+=2){let y=e[m]-t[0],b=t[3]-e[m+1];h.push(`${y},${b}`)}h=h.join(" ");let d=this.#t=this.svgFactory.createElement(this.svgElementName);return d.setAttribute("points",h),d.setAttribute("stroke-width",i.width||1),d.setAttribute("stroke","transparent"),d.setAttribute("fill","transparent"),c.append(d),this.container.append(c),!r&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#t}addHighlightArea(){this.container.classList.add("highlightArea")}},ZO=class extends $x{constructor(t){super(t),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}},WO=class extends Kn{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){return this.container.classList.add("caretAnnotation"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container}},pv=class extends Kn{#t=null;#e=[];constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline",this.annotationEditorType=this.data.it==="InkHighlight"?pe.HIGHLIGHT:pe.INK}#n(t,e){switch(t){case 90:return{transform:`rotate(90) translate(${-e[0]},${e[1]}) scale(1,-1)`,width:e[3]-e[1],height:e[2]-e[0]};case 180:return{transform:`rotate(180) translate(${-e[2]},${e[1]}) scale(1,-1)`,width:e[2]-e[0],height:e[3]-e[1]};case 270:return{transform:`rotate(270) translate(${-e[2]},${e[3]}) scale(1,-1)`,width:e[3]-e[1],height:e[2]-e[0]};default:return{transform:`translate(${-e[0]},${e[3]}) scale(1,-1)`,width:e[2]-e[0],height:e[3]-e[1]}}}render(){this.container.classList.add(this.containerClassName);let{data:{rect:t,rotation:e,inkLists:i,borderStyle:r,popupRef:s}}=this,{transform:l,width:c,height:h}=this.#n(e,t),d=this.svgFactory.create(c,h,!0),m=this.#t=this.svgFactory.createElement("svg:g");d.append(m),m.setAttribute("stroke-width",r.width||1),m.setAttribute("stroke-linecap","round"),m.setAttribute("stroke-linejoin","round"),m.setAttribute("stroke-miterlimit",10),m.setAttribute("stroke","transparent"),m.setAttribute("fill","transparent"),m.setAttribute("transform",l);for(let v=0,y=i.length;v<y;v++){let b=this.svgFactory.createElement(this.svgElementName);this.#e.push(b),b.setAttribute("points",i[v].join(",")),m.append(b)}return!s&&this.hasPopupData&&this._createPopup(),this.container.append(d),this._editOnDoubleClick(),this.container}updateEdited(t){super.updateEdited(t);let{thickness:e,points:i,rect:r}=t,s=this.#t;if(e>=0&&s.setAttribute("stroke-width",e||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:h}=this.#n(this.data.rotation,r);s.parentElement.setAttribute("viewBox",`0 0 ${c} ${h}`),s.setAttribute("transform",l)}}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}},tA=class extends Kn{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0}),this.annotationEditorType=pe.HIGHLIGHT}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("highlightAnnotation"),this._editOnDoubleClick(),this.container}},QO=class extends Kn{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}},JO=class extends Kn{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}},$O=class extends Kn{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}},eA=class extends Kn{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.annotationEditorType=pe.STAMP}render(){return this.container.classList.add("stampAnnotation"),this.container.setAttribute("role","img"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}},tM=class extends Kn{#t=null;constructor(t){super(t,{isRenderable:!0});let{file:e}=this.data;this.filename=e.filename,this.content=e.content,this.linkService.eventBus?.dispatch("fileattachmentannotation",{source:this,...e})}render(){this.container.classList.add("fileAttachmentAnnotation");let{container:t,data:e}=this,i;e.hasAppearance||e.fillAlpha===0?i=document.createElement("div"):(i=document.createElement("img"),i.src=`${this.imageResourcesPath}annotation-${/paperclip/i.test(e.name)?"paperclip":"pushpin"}.svg`,e.fillAlpha&&e.fillAlpha<1&&(i.style=`filter: opacity(${Math.round(e.fillAlpha*100)}%);`)),i.addEventListener("dblclick",this.#e.bind(this)),this.#t=i;let{isMac:r}=Xi.platform;return t.addEventListener("keydown",s=>{s.key==="Enter"&&(r?s.metaKey:s.ctrlKey)&&this.#e()}),!e.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)}},eM=class{#t=null;#e=null;#n=new Map;#i=null;constructor({div:t,accessibilityManager:e,annotationCanvasMap:i,annotationEditorUIManager:r,page:s,viewport:l,structTreeLayer:c}){this.div=t,this.#t=e,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,e){let i=t.firstChild||t,r=i.id=`${pM}${e}`,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:e}=t,i=this.div;nh(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 hv,annotationStorage:t.annotationStorage||new lv,enableScripting:t.enableScripting===!0,hasJSActions:t.hasJSActions,fieldObjects:t.fieldObjects,parent:this,elements:null};for(let l of e){if(l.noHTML)continue;let c=l.annotationType===Si.POPUP;if(c){let m=r.get(l.id);if(!m)continue;s.elements=m}else{let{width:m,height:v}=cc(l.rect);if(m<=0||v<=0)continue}s.data=l;let h=BO.create(s);if(!h.isRenderable)continue;if(!c&&l.popupRef){let m=r.get(l.popupRef);m?m.push(h):r.set(l.popupRef,[h])}let d=h.render();l.hidden&&(d.style.visibility="hidden"),await this.#r(d,l.id),h._isEditable&&(this.#n.set(h.data.id,h),this._annotationEditorUIManager?.renderAnnotationElement(h))}this.#a()}update({viewport:t}){let e=this.div;this.viewport=t,nh(e,{rotation:t.rotation}),this.#a(),e.hidden=!1}#a(){if(!this.#e)return;let t=this.div;for(let[e,i]of this.#e){let r=t.querySelector(`[data-annotation-id="${e}"]`);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)}},Dx=/\r\n?|\n/g,nM=class n extends zn{#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=n.prototype,e=s=>s.isEmpty(),i=ah.TRANSLATE_SMALL,r=ah.TRANSLATE_BIG;return Ae(this,"_keyboardManager",new ih([[["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:e}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t._translateEmpty,{args:[-r,0],checker:e}],[["ArrowRight","mac+ArrowRight"],t._translateEmpty,{args:[i,0],checker:e}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t._translateEmpty,{args:[r,0],checker:e}],[["ArrowUp","mac+ArrowUp"],t._translateEmpty,{args:[0,-i],checker:e}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t._translateEmpty,{args:[0,-r],checker:e}],[["ArrowDown","mac+ArrowDown"],t._translateEmpty,{args:[0,i],checker:e}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t._translateEmpty,{args:[0,r],checker:e}]]))}static _type="freetext";static _editorType=pe.FREETEXT;constructor(t){super({...t,name:"freeTextEditor"}),this.#t=t.color||n._defaultColor||zn._defaultLineColor,this.#r=t.fontSize||n._defaultFontSize}static initialize(t,e){zn.initialize(t,e);let i=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(i.getPropertyValue("--freetext-padding"))}static updateDefaultParams(t,e){switch(t){case ze.FREETEXT_SIZE:n._defaultFontSize=e;break;case ze.FREETEXT_COLOR:n._defaultColor=e;break}}updateParams(t,e){switch(t){case ze.FREETEXT_SIZE:this.#a(e);break;case ze.FREETEXT_COLOR:this.#l(e);break}}static get defaultPropertiesToUpdate(){return[[ze.FREETEXT_SIZE,n._defaultFontSize],[ze.FREETEXT_COLOR,n._defaultColor||zn._defaultLineColor]]}get propertiesToUpdate(){return[[ze.FREETEXT_SIZE,this.#r],[ze.FREETEXT_COLOR,this.#t]]}#a(t){let e=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:e.bind(this,t),undo:e.bind(this,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:ze.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}#l(t){let e=r=>{this.#t=this.editorDiv.style.color=r},i=this.#t;this.addCommands({cmd:e.bind(this,t),undo:e.bind(this,i),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:ze.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}_translateEmpty(t,e){this._uiManager.translateSelectedEditors(t,e,!0)}getInitialTranslation(){let t=this.parentScale;return[-n._internalPadding*t,-(n._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(pe.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 e=null;for(let i of this.editorDiv.childNodes)e?.nodeType===Node.TEXT_NODE&&i.nodeName==="BR"||(t.push(n.#u(i)),e=i);return t.join(`
247
- `)}#c(){let[t,e]=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/e):(this.width=i.height/t,this.height=i.width/e),this.fixAndSetPosition()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();let t=this.#e,e=this.#e=this.#s().trimEnd();if(t===e)return;let i=r=>{if(this.#e=r,!r){this.remove();return}this.#h(),this._uiManager.rebuild(this),this.#c()};this.addCommands({cmd:()=>{i(e)},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){n._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,e;this.width&&(t=this.x,e=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),Nx(this,this.div,["dblclick","keydown"]),this.width){let[r,s]=this.parentDimensions;if(this.annotationElementId){let{position:l}=this._initialData,[c,h]=this.getInitialTranslation();[c,h]=this.pageTranslationToScreen(c,h);let[d,m]=this.pageDimensions,[v,y]=this.pageTranslation,b,x;switch(this.rotation){case 0:b=t+(l[0]-v)/d,x=e+this.height-(l[1]-y)/m;break;case 90:b=t+(l[0]-v)/d,x=e-(l[1]-y)/m,[c,h]=[h,-c];break;case 180:b=t-this.width+(l[0]-v)/d,x=e-(l[1]-y)/m,[c,h]=[-c,-h];break;case 270:b=t+(l[0]-v-this.height*m)/d,x=e+(l[1]-y-this.width*d)/m,[c,h]=[-h,c];break}this.setAt(b*r,x*s,c,h)}else this.setAt(t*r,e*s,this.width*r,this.height*s);this.#h(),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(Dx,"")}editorDivPaste(t){let e=t.clipboardData||window.clipboardData,{types:i}=e;if(i.length===1&&i[0]==="text/plain")return;t.preventDefault();let r=n.#d(e.getData("text")||"").replaceAll(Dx,`
248
- `);if(!r)return;let s=window.getSelection();if(!s.rangeCount)return;this.editorDiv.normalize(),s.deleteFromDocument();let l=s.getRangeAt(0);if(!r.includes(`
249
- `)){l.insertNode(document.createTextNode(r)),this.editorDiv.normalize(),s.collapseToStart();return}let{startContainer:c,startOffset:h}=l,d=[],m=[];if(c.nodeType===Node.TEXT_NODE){let b=c.parentElement;if(m.push(c.nodeValue.slice(h).replaceAll(Dx,"")),b!==this.editorDiv){let x=d;for(let E of this.editorDiv.childNodes){if(E===b){x=m;continue}x.push(n.#u(E))}}d.push(c.nodeValue.slice(0,h).replaceAll(Dx,""))}else if(c===this.editorDiv){let b=d,x=0;for(let E of this.editorDiv.childNodes)x++===h&&(b=m),b.push(n.#u(E))}this.#e=`${d.join(`
250
- `)}${r}${m.join(`
251
- `)}`,this.#h();let v=new Range,y=d.reduce((b,x)=>b+x.length,0);for(let{firstChild:b}of this.editorDiv.childNodes)if(b.nodeType===Node.TEXT_NODE){let x=b.nodeValue.length;if(y<=x){v.setStart(b,y),v.setEnd(b,y);break}y-=x}s.removeAllRanges(),s.addRange(v)}#h(){if(this.editorDiv.replaceChildren(),!!this.#e)for(let t of this.#e.split(`
252
- `)){let e=document.createElement("div");e.append(t?document.createTextNode(t):document.createElement("br")),this.editorDiv.append(e)}}#f(){return this.#e.replaceAll("\xA0"," ")}static#d(t){return t.replaceAll(" ","\xA0")}get contentDiv(){return this.editorDiv}static async deserialize(t,e,i){let r=null;if(t instanceof Jx){let{data:{defaultAppearanceData:{fontSize:l,fontColor:c},rect:h,rotation:d,id:m,popupRef:v},textContent:y,textPosition:b,parent:{page:{pageNumber:x}}}=t;if(!y||y.length===0)return null;r=t={annotationType:pe.FREETEXT,color:Array.from(c),fontSize:l,value:y.join(`
253
- `),position:b,pageIndex:x-1,rect:h.slice(0),rotation:d,id:m,deleted:!1,popupRef:v}}let s=await super.deserialize(t,e,i);return s.#r=t.fontSize,s.#t=Mt.makeHexColor(...t.color),s.#e=n.#d(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 e=n._internalPadding*this.parentScale,i=this.getRect(e,e),r=zn._colorManager.convert(this.isAttachedToDOM?getComputedStyle(this.editorDiv).color:this.#t),s={annotationType:pe.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:e,fontSize:i,color:r,pageIndex:s}=this._initialData;return this._hasBeenMoved||t.value!==e||t.fontSize!==i||t.color.some((l,c)=>l!==r[c])||t.pageIndex!==s}renderAnnotationElement(t){let e=super.renderAnnotationElement(t);if(this.deleted)return e;let{style:i}=e;i.fontSize=`calc(${this.#r}px * var(--scale-factor))`,i.color=this.#t,e.replaceChildren();for(let s of this.#e.split(`
254
- `)){let l=document.createElement("div");l.append(s?document.createTextNode(s):document.createElement("br")),e.append(l)}let r=n._internalPadding*this.parentScale;return t.updateEdited({rect:this.getRect(r,r),popupContent:this.#e}),e}resetAnnotationElement(t){super.resetAnnotationElement(t),t.resetEdited()}},wt=class{static PRECISION=1e-4;toSVGPath(){cn("Abstract method `toSVGPath` must be implemented.")}get box(){cn("Abstract getter `box` must be implemented.")}serialize(t,e){cn("Abstract method `serialize` must be implemented.")}static _rescale(t,e,i,r,s,l){l||=new Float32Array(t.length);for(let c=0,h=t.length;c<h;c+=2)l[c]=e+t[c]*r,l[c+1]=i+t[c+1]*s;return l}static _rescaleAndSwap(t,e,i,r,s,l){l||=new Float32Array(t.length);for(let c=0,h=t.length;c<h;c+=2)l[c]=e+t[c+1]*r,l[c+1]=i+t[c]*s;return l}static _translate(t,e,i,r){r||=new Float32Array(t.length);for(let s=0,l=t.length;s<l;s+=2)r[s]=e+t[s],r[s+1]=i+t[s+1];return r}static svgRound(t){return Math.round(t*1e4)}static _normalizePoint(t,e,i,r,s){switch(s){case 90:return[1-e/i,t/r];case 180:return[1-t/i,1-e/r];case 270:return[e/i,1-t/r];default:return[t/i,e/r]}}static _normalizePagePoint(t,e,i){switch(i){case 90:return[1-e,t];case 180:return[1-t,1-e];case 270:return[e,1-t];default:return[t,e]}}static createBezierPoints(t,e,i,r,s,l){return[(t+5*i)/6,(e+5*r)/6,(5*i+s)/6,(5*r+l)/6,(i+s)/2,(r+l)/2]}},nA=class n{#t;#e=[];#n;#i;#r=[];#a=new Float32Array(18);#l;#s;#c;#u;#h;#f;#d=[];static#o=8;static#p=2;static#g=n.#o+n.#p;constructor({x:t,y:e},i,r,s,l,c=0){this.#t=i,this.#f=s*r,this.#i=l,this.#a.set([NaN,NaN,NaN,NaN,t,e],6),this.#n=c,this.#u=n.#o*r,this.#c=n.#g*r,this.#h=r,this.#d.push(t,e)}isEmpty(){return isNaN(this.#a[8])}#m(){let t=this.#a.subarray(4,6),e=this.#a.subarray(16,18),[i,r,s,l]=this.#t;return[(this.#l+(t[0]-e[0])/2-i)/s,(this.#s+(t[1]-e[1])/2-r)/l,(this.#l+(e[0]-t[0])/2-i)/s,(this.#s+(e[1]-t[1])/2-r)/l]}add({x:t,y:e}){this.#l=t,this.#s=e;let[i,r,s,l]=this.#t,[c,h,d,m]=this.#a.subarray(8,12),v=t-d,y=e-m,b=Math.hypot(v,y);if(b<this.#c)return!1;let x=b-this.#u,E=x/b,C=E*v,A=E*y,T=c,D=h;c=d,h=m,d+=C,m+=A,this.#d?.push(t,e);let O=-A/x,F=C/x,U=O*this.#f,L=F*this.#f;return this.#a.set(this.#a.subarray(2,8),0),this.#a.set([d+U,m+L],4),this.#a.set(this.#a.subarray(14,18),12),this.#a.set([d-U,m-L],16),isNaN(this.#a[6])?(this.#r.length===0&&(this.#a.set([c+U,h+L],2),this.#r.push(NaN,NaN,NaN,NaN,(c+U-i)/s,(h+L-r)/l),this.#a.set([c-U,h-L],14),this.#e.push(NaN,NaN,NaN,NaN,(c-U-i)/s,(h-L-r)/l)),this.#a.set([T,D,c,h,d,m],6),!this.isEmpty()):(this.#a.set([T,D,c,h,d,m],6),Math.abs(Math.atan2(D-h,T-c)-Math.atan2(A,C))<Math.PI/2?([c,h,d,m]=this.#a.subarray(2,6),this.#r.push(NaN,NaN,NaN,NaN,((c+d)/2-i)/s,((h+m)/2-r)/l),[c,h,T,D]=this.#a.subarray(14,18),this.#e.push(NaN,NaN,NaN,NaN,((T+c)/2-i)/s,((D+h)/2-r)/l),!0):([T,D,c,h,d,m]=this.#a.subarray(0,6),this.#r.push(((T+5*c)/6-i)/s,((D+5*h)/6-r)/l,((5*c+d)/6-i)/s,((5*h+m)/6-r)/l,((c+d)/2-i)/s,((h+m)/2-r)/l),[d,m,c,h,T,D]=this.#a.subarray(12,18),this.#e.push(((T+5*c)/6-i)/s,((D+5*h)/6-r)/l,((5*c+d)/6-i)/s,((5*h+m)/6-r)/l,((c+d)/2-i)/s,((h+m)/2-r)/l),!0))}toSVGPath(){if(this.isEmpty())return"";let t=this.#r,e=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=e.length-6;r>=6;r-=6)isNaN(e[r])?i.push(`L${e[r+4]} ${e[r+5]}`):i.push(`C${e[r]} ${e[r+1]} ${e[r+2]} ${e[r+3]} ${e[r+4]} ${e[r+5]}`);return this.#S(i),i.join(" ")}#v(){let[t,e,i,r]=this.#t,[s,l,c,h]=this.#m();return`M${(this.#a[2]-t)/i} ${(this.#a[3]-e)/r} L${(this.#a[4]-t)/i} ${(this.#a[5]-e)/r} L${s} ${l} L${c} ${h} L${(this.#a[16]-t)/i} ${(this.#a[17]-e)/r} L${(this.#a[14]-t)/i} ${(this.#a[15]-e)/r} Z`}#S(t){let e=this.#e;t.push(`L${e[4]} ${e[5]} Z`)}#y(t){let[e,i,r,s]=this.#t,l=this.#a.subarray(4,6),c=this.#a.subarray(16,18),[h,d,m,v]=this.#m();t.push(`L${(l[0]-e)/r} ${(l[1]-i)/s} L${h} ${d} L${m} ${v} L${(c[0]-e)/r} ${(c[1]-i)/s}`)}newFreeDrawOutline(t,e,i,r,s,l){return new iA(t,e,i,r,s,l)}getOutlines(){let t=this.#r,e=this.#e,i=this.#a,[r,s,l,c]=this.#t,h=new Float32Array((this.#d?.length??0)+2);for(let v=0,y=h.length-2;v<y;v+=2)h[v]=(this.#d[v]-r)/l,h[v+1]=(this.#d[v+1]-s)/c;if(h[h.length-2]=(this.#l-r)/l,h[h.length-1]=(this.#s-s)/c,isNaN(i[6])&&!this.isEmpty())return this.#x(h);let d=new Float32Array(this.#r.length+24+this.#e.length),m=t.length;for(let v=0;v<m;v+=2){if(isNaN(t[v])){d[v]=d[v+1]=NaN;continue}d[v]=t[v],d[v+1]=t[v+1]}m=this.#T(d,m);for(let v=e.length-6;v>=6;v-=6)for(let y=0;y<6;y+=2){if(isNaN(e[v+y])){d[m]=d[m+1]=NaN,m+=2;continue}d[m]=e[v+y],d[m+1]=e[v+y+1],m+=2}return this.#w(d,m),this.newFreeDrawOutline(d,h,this.#t,this.#h,this.#n,this.#i)}#x(t){let e=this.#a,[i,r,s,l]=this.#t,[c,h,d,m]=this.#m(),v=new Float32Array(36);return v.set([NaN,NaN,NaN,NaN,(e[2]-i)/s,(e[3]-r)/l,NaN,NaN,NaN,NaN,(e[4]-i)/s,(e[5]-r)/l,NaN,NaN,NaN,NaN,c,h,NaN,NaN,NaN,NaN,d,m,NaN,NaN,NaN,NaN,(e[16]-i)/s,(e[17]-r)/l,NaN,NaN,NaN,NaN,(e[14]-i)/s,(e[15]-r)/l],0),this.newFreeDrawOutline(v,t,this.#t,this.#h,this.#n,this.#i)}#w(t,e){let i=this.#e;return t.set([NaN,NaN,NaN,NaN,i[4],i[5]],e),e+=6}#T(t,e){let i=this.#a.subarray(4,6),r=this.#a.subarray(16,18),[s,l,c,h]=this.#t,[d,m,v,y]=this.#m();return t.set([NaN,NaN,NaN,NaN,(i[0]-s)/c,(i[1]-l)/h,NaN,NaN,NaN,NaN,d,m,NaN,NaN,NaN,NaN,v,y,NaN,NaN,NaN,NaN,(r[0]-s)/c,(r[1]-l)/h],e),e+=24}},iA=class extends wt{#t;#e=new Float32Array(4);#n;#i;#r;#a;#l;constructor(t,e,i,r,s,l){super(),this.#l=t,this.#r=e,this.#t=i,this.#a=r,this.#n=s,this.#i=l,this.lastPoint=[NaN,NaN],this.#s(l);let[c,h,d,m]=this.#e;for(let v=0,y=t.length;v<y;v+=2)t[v]=(t[v]-c)/d,t[v+1]=(t[v+1]-h)/m;for(let v=0,y=e.length;v<y;v+=2)e[v]=(e[v]-c)/d,e[v+1]=(e[v+1]-h)/m}toSVGPath(){let t=[`M${this.#l[4]} ${this.#l[5]}`];for(let e=6,i=this.#l.length;e<i;e+=6){if(isNaN(this.#l[e])){t.push(`L${this.#l[e+4]} ${this.#l[e+5]}`);continue}t.push(`C${this.#l[e]} ${this.#l[e+1]} ${this.#l[e+2]} ${this.#l[e+3]} ${this.#l[e+4]} ${this.#l[e+5]}`)}return t.push("Z"),t.join(" ")}serialize([t,e,i,r],s){let l=i-t,c=r-e,h,d;switch(s){case 0:h=wt._rescale(this.#l,t,r,l,-c),d=wt._rescale(this.#r,t,r,l,-c);break;case 90:h=wt._rescaleAndSwap(this.#l,t,e,l,c),d=wt._rescaleAndSwap(this.#r,t,e,l,c);break;case 180:h=wt._rescale(this.#l,i,e,-l,c),d=wt._rescale(this.#r,i,e,-l,c);break;case 270:h=wt._rescaleAndSwap(this.#l,i,r,-l,-c),d=wt._rescaleAndSwap(this.#r,i,r,-l,-c);break}return{outline:Array.from(h),points:[Array.from(d)]}}#s(t){let e=this.#l,i=e[4],r=e[5],s=i,l=r,c=i,h=r,d=i,m=r,v=t?Math.max:Math.min;for(let b=6,x=e.length;b<x;b+=6){if(isNaN(e[b]))s=Math.min(s,e[b+4]),l=Math.min(l,e[b+5]),c=Math.max(c,e[b+4]),h=Math.max(h,e[b+5]),m<e[b+5]?(d=e[b+4],m=e[b+5]):m===e[b+5]&&(d=v(d,e[b+4]));else{let E=Mt.bezierBoundingBox(i,r,...e.slice(b,b+6));s=Math.min(s,E[0]),l=Math.min(l,E[1]),c=Math.max(c,E[2]),h=Math.max(h,E[3]),m<E[3]?(d=E[2],m=E[3]):m===E[3]&&(d=v(d,E[2]))}i=e[b+4],r=e[b+5]}let y=this.#e;y[0]=s-this.#n,y[1]=l-this.#n,y[2]=c-s+2*this.#n,y[3]=h-l+2*this.#n,this.lastPoint=[d,m]}get box(){return this.#e}newOutliner(t,e,i,r,s,l=0){return new nA(t,e,i,r,s,l)}getNewOutline(t,e){let[i,r,s,l]=this.#e,[c,h,d,m]=this.#t,v=s*d,y=l*m,b=i*d+c,x=r*m+h,E=this.newOutliner({x:this.#r[0]*v+b,y:this.#r[1]*y+x},this.#t,this.#a,t,this.#i,e??this.#n);for(let C=2;C<this.#r.length;C+=2)E.add({x:this.#r[C]*v+b,y:this.#r[C+1]*y+x});return E.getOutlines()}},mv=class{#t;#e;#n=[];#i=[];constructor(t,e=0,i=0,r=!0){let s=1/0,l=-1/0,c=1/0,h=-1/0,m=10**-4;for(let{x:A,y:T,width:D,height:O}of t){let F=Math.floor((A-e)/m)*m,U=Math.ceil((A+D+e)/m)*m,L=Math.floor((T-e)/m)*m,k=Math.ceil((T+O+e)/m)*m,G=[F,L,k,!0],q=[U,L,k,!1];this.#n.push(G,q),s=Math.min(s,F),l=Math.max(l,U),c=Math.min(c,L),h=Math.max(h,k)}let v=l-s+2*i,y=h-c+2*i,b=s-i,x=c-i,E=this.#n.at(r?-1:-2),C=[E[0],E[2]];for(let A of this.#n){let[T,D,O]=A;A[0]=(T-b)/v,A[1]=(D-x)/y,A[2]=(O-x)/y}this.#t=new Float32Array([b,x,v,y]),this.#e=C}getOutlines(){this.#n.sort((e,i)=>e[0]-i[0]||e[1]-i[1]||e[2]-i[2]);let t=[];for(let e of this.#n)e[3]?(t.push(...this.#c(e)),this.#l(e)):(this.#s(e),t.push(...this.#c(e)));return this.#r(t)}#r(t){let e=[],i=new Set;for(let l of t){let[c,h,d]=l;e.push([c,h,l],[c,d,l])}e.sort((l,c)=>l[1]-c[1]||l[0]-c[0]);for(let l=0,c=e.length;l<c;l+=2){let h=e[l][2],d=e[l+1][2];h.push(d),d.push(h),i.add(h),i.add(d)}let r=[],s;for(;i.size>0;){let l=i.values().next().value,[c,h,d,m,v]=l;i.delete(l);let y=c,b=h;for(s=[c,d],r.push(s);;){let x;if(i.has(m))x=m;else if(i.has(v))x=v;else break;i.delete(x),[c,h,d,m,v]=x,y!==c&&(s.push(y,b,c,b===h?h:d),y=c),b=b===h?d:h}s.push(y,b)}return new iM(r,this.#t,this.#e)}#a(t){let e=this.#i,i=0,r=e.length-1;for(;i<=r;){let s=i+r>>1,l=e[s][0];if(l===t)return s;l<t?i=s+1:r=s-1}return r+1}#l([,t,e]){let i=this.#a(t);this.#i.splice(i,0,[t,e])}#s([,t,e]){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===e){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===e){this.#i.splice(r,1);return}}}#c(t){let[e,i,r]=t,s=[[e,i,r]],l=this.#a(r);for(let c=0;c<l;c++){let[h,d]=this.#i[c];for(let m=0,v=s.length;m<v;m++){let[,y,b]=s[m];if(!(d<=y||b<=h)){if(y>=h){if(b>d)s[m][1]=d;else{if(v===1)return[];s.splice(m,1),m--,v--}continue}s[m][2]=h,b>d&&s.push([e,d,b])}}}return s}},iM=class extends wt{#t;#e;constructor(t,e,i){super(),this.#e=t,this.#t=e,this.lastPoint=i}toSVGPath(){let t=[];for(let e of this.#e){let[i,r]=e;t.push(`M${i} ${r}`);for(let s=2;s<e.length;s+=2){let l=e[s],c=e[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,e,i,r],s){let l=[],c=i-t,h=r-e;for(let d of this.#e){let m=new Array(d.length);for(let v=0;v<d.length;v+=2)m[v]=t+d[v]*c,m[v+1]=r-d[v+1]*h;l.push(m)}return l}get box(){return this.#t}get classNamesForOutlining(){return["highlightOutline"]}},gv=class extends nA{newFreeDrawOutline(t,e,i,r,s,l){return new aM(t,e,i,r,s,l)}},aM=class extends iA{newOutliner(t,e,i,r,s,l=0){return new gv(t,e,i,r,s,l)}},aA=class n{#t=null;#e=null;#n;#i=null;#r=!1;#a=!1;#l=null;#s;#c=null;#u=null;#h;static#f=null;static get _keyboardManager(){return Ae(this,"_keyboardManager",new ih([[["Escape","mac+Escape"],n.prototype._hideDropdownFromKeyboard],[[" ","mac+ "],n.prototype._colorSelectFromKeyboard],[["ArrowDown","ArrowRight","mac+ArrowDown","mac+ArrowRight"],n.prototype._moveToNext],[["ArrowUp","ArrowLeft","mac+ArrowUp","mac+ArrowLeft"],n.prototype._moveToPrevious],[["Home","mac+Home"],n.prototype._moveToBeginning],[["End","mac+End"],n.prototype._moveToEnd]]))}constructor({editor:t=null,uiManager:e=null}){t?(this.#a=!1,this.#h=ze.HIGHLIGHT_COLOR,this.#l=t):(this.#a=!0,this.#h=ze.HIGHLIGHT_DEFAULT_COLOR),this.#u=t?._uiManager||e,this.#s=this.#u._eventBus,this.#n=t?.color||this.#u?.highlightColors.values().next().value||"#FFFF98",n.#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 e=this.#u._signal;t.addEventListener("click",this.#g.bind(this),{signal:e}),t.addEventListener("keydown",this.#p.bind(this),{signal:e});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.#d();return t.setAttribute("aria-orientation","horizontal"),t.setAttribute("aria-labelledby","highlightColorPickerLabel"),t}#d(){let t=document.createElement("div"),e=this.#u._signal;t.addEventListener("contextmenu",No,{signal:e}),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",n.#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:e}),t.append(s)}return t.addEventListener("keydown",this.#p.bind(this),{signal:e}),t}#o(t,e){e.stopPropagation(),this.#s.dispatch("switchannotationeditorparams",{source:this,type:this.#h,value:t})}_colorSelectFromKeyboard(t){if(t.target===this.#t){this.#g(t);return}let e=t.target.getAttribute("data-color");e&&this.#o(e,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){n._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 e=this.#i=this.#d();this.#t.append(e)}#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 e=this.#u.highlightColors.values();for(let i of this.#i.children)i.setAttribute("aria-selected",e.next().value===t)}destroy(){this.#t?.remove(),this.#t=null,this.#e=null,this.#i?.remove(),this.#i=null}},rA=class n extends zn{#t=null;#e=0;#n;#i=null;#r=null;#a=null;#l=null;#s=0;#c=null;#u=null;#h=null;#f=!1;#d=null;#o;#p=null;#g="";#m;#v="";static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=12;static _type="highlight";static _editorType=pe.HIGHLIGHT;static _freeHighlightId=-1;static _freeHighlight=null;static _freeHighlightClipId="";static get _keyboardManager(){let t=n.prototype;return Ae(this,"_keyboardManager",new ih([[["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||n._defaultColor,this.#m=t.thickness||n._defaultThickness,this.#o=t.opacity||n._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 mv(this.#n,.001);this.#u=t.getOutlines(),[this.x,this.y,this.width,this.height]=this.#u.box;let e=new mv(this.#n,.0025,.001,this._uiManager.direction==="ltr");this.#a=e.getOutlines();let{lastPoint:i}=this.#a;this.#d=[(i[0]-this.x)/this.width,(i[1]-this.y)/this.height]}#y({highlightOutlines:t,highlightId:e,clipPathId:i}){this.#u=t;let r=1.5;if(this.#a=t.getNewOutline(this.#m/2+r,.0025),e>=0)this.#h=e,this.#i=i,this.parent.drawLayer.finalizeDraw(e,{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 m=this.parent.viewport.rotation;this.parent.drawLayer.updateProperties(this.#h,{bbox:n.#A(this.#u.box,(m-this.rotation+360)%360),path:{d:t.toSVGPath()}}),this.parent.drawLayer.updateProperties(this.#p,{bbox:n.#A(this.#a.box,m),path:{d:this.#a.toSVGPath()}})}let[s,l,c,h]=t.box;switch(this.rotation){case 0:this.x=s,this.y=l,this.width=c,this.height=h;break;case 90:{let[m,v]=this.parentDimensions;this.x=l,this.y=1-s,this.width=c*v/m,this.height=h*m/v;break}case 180:this.x=1-s,this.y=1-l,this.width=c,this.height=h;break;case 270:{let[m,v]=this.parentDimensions;this.x=1-l,this.y=s,this.width=c*v/m,this.height=h*m/v;break}}let{lastPoint:d}=this.#a;this.#d=[(d[0]-s)/c,(d[1]-l)/h]}static initialize(t,e){zn.initialize(t,e),n._defaultColor||=e.highlightColors?.values().next().value||"#fff066"}static updateDefaultParams(t,e){switch(t){case ze.HIGHLIGHT_DEFAULT_COLOR:n._defaultColor=e;break;case ze.HIGHLIGHT_THICKNESS:n._defaultThickness=e;break}}translateInPage(t,e){}get toolbarPosition(){return this.#d}updateParams(t,e){switch(t){case ze.HIGHLIGHT_COLOR:this.#x(e);break;case ze.HIGHLIGHT_THICKNESS:this.#w(e);break}}static get defaultPropertiesToUpdate(){return[[ze.HIGHLIGHT_DEFAULT_COLOR,n._defaultColor],[ze.HIGHLIGHT_THICKNESS,n._defaultThickness]]}get propertiesToUpdate(){return[[ze.HIGHLIGHT_COLOR,this.color||n._defaultColor],[ze.HIGHLIGHT_THICKNESS,this.#m||n._defaultThickness],[ze.HIGHLIGHT_FREE,this.#f]]}#x(t){let e=(s,l)=>{this.color=s,this.#o=l,this.parent?.drawLayer.updateProperties(this.#h,{root:{fill:s,"fill-opacity":l}}),this.#r?.updateColor(s)},i=this.color,r=this.#o;this.addCommands({cmd:e.bind(this,t,n._defaultOpacity),undo:e.bind(this,i,r),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:ze.HIGHLIGHT_COLOR,overwriteIfSameType:!0,keepUndo:!0}),this._reportTelemetry({action:"color_changed",color:this._uiManager.highlightColorNames.get(t)},!0)}#w(t){let e=this.#m,i=r=>{this.#m=r,this.#T(r)};this.addCommands({cmd:i.bind(this,t),undo:i.bind(this,e),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:ze.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 aA({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,e){return super.getRect(t,e,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 e=!1;this.parent&&!t?this.#D():t&&(this.#O(t),e=!this.parent&&this.div?.classList.contains("selectedEditor")),super.setParent(t),this.show(this._isVisible),e&&this.select()}#T(t){if(!this.#f)return;this.#y({highlightOutlines:this.#u.getNewOutline(t/2)}),this.fixAndSetPosition();let[e,i]=this.parentDimensions;this.setDims(this.width*e,this.height*i)}#D(){this.#h===null||!this.parent||(this.parent.drawLayer.remove(this.#h),this.#h=null,this.parent.drawLayer.remove(this.#p),this.#p=null)}#O(t=this.parent){this.#h===null&&({id:this.#h,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,e,i,r],s){switch(s){case 90:return[1-e-r,t,r,i];case 180:return[1-t-i,1-e-r,i,r];case 270:return[e,1-t-i,r,i]}return[t,e,i,r]}rotate(t){let{drawLayer:e}=this.parent,i;this.#f?(t=(t-this.rotation+360)%360,i=n.#A(this.#u.box,t)):i=n.#A([this.x,this.y,this.width,this.height],t),e.updateProperties(this.#h,{bbox:i,root:{"data-main-rotation":t}}),e.updateProperties(this.#p,{bbox:n.#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 e=this.#c=document.createElement("div");t.append(e),e.setAttribute("aria-hidden","true"),e.className="internal",e.style.clipPath=this.#i;let[i,r]=this.parentDimensions;return this.setDims(this.width*i,this.height*r),Nx(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){n._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 e=window.getSelection();t?e.setPosition(this.#t,this.#e):e.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.#h,{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,e]=this.pageDimensions,[i,r]=this.pageTranslation,s=this.#n,l=new Float32Array(s.length*8),c=0;for(let{x:h,y:d,width:m,height:v}of s){let y=h*t+i,b=(1-d)*e+r;l[c]=l[c+4]=y,l[c+1]=l[c+3]=b,l[c+2]=l[c+6]=y+m*t,l[c+5]=l[c+7]=b-v*e,c+=8}return l}#L(t){return this.#u.serialize(t,this.#_())}static startHighlighting(t,e,{target:i,x:r,y:s}){let{x:l,y:c,width:h,height:d}=i.getBoundingClientRect(),m=new AbortController,v=t.combinedSignal(m),y=b=>{m.abort(),this.#b(t,b)};window.addEventListener("blur",y,{signal:v}),window.addEventListener("pointerup",y,{signal:v}),window.addEventListener("pointerdown",Er,{capture:!0,passive:!1,signal:v}),window.addEventListener("contextmenu",No,{signal:v}),i.addEventListener("pointermove",this.#E.bind(this,t),{signal:v}),this._freeHighlight=new gv({x:r,y:s},[l,c,h,d],t.scale,this._defaultThickness/2,e,.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,e){this._freeHighlight.add(e)&&t.drawLayer.updateProperties(this._freeHighlightId,{path:{d:this._freeHighlight.toSVGPath()}})}static#b(t,e){this._freeHighlight.isEmpty()?t.drawLayer.remove(this._freeHighlightId):t.createAndAddNewEditor(e,!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,e,i){let r=null;if(t instanceof tA){let{data:{quadPoints:x,rect:E,rotation:C,id:A,color:T,opacity:D,popupRef:O},parent:{page:{pageNumber:F}}}=t;r=t={annotationType:pe.HIGHLIGHT,color:Array.from(T),opacity:D,quadPoints:x,boxes:null,pageIndex:F-1,rect:E.slice(0),rotation:C,id:A,deleted:!1,popupRef:O}}else if(t instanceof pv){let{data:{inkLists:x,rect:E,rotation:C,id:A,color:T,borderStyle:{rawWidth:D},popupRef:O},parent:{page:{pageNumber:F}}}=t;r=t={annotationType:pe.HIGHLIGHT,color:Array.from(T),thickness:D,inkLists:x,boxes:null,pageIndex:F-1,rect:E.slice(0),rotation:C,id:A,deleted:!1,popupRef:O}}let{color:s,quadPoints:l,inkLists:c,opacity:h}=t,d=await super.deserialize(t,e,i);d.color=Mt.makeHexColor(...s),d.#o=h||1,c&&(d.#m=t.thickness),d.annotationElementId=t.id||null,d._initialData=r;let[m,v]=d.pageDimensions,[y,b]=d.pageTranslation;if(l){let x=d.#n=[];for(let E=0;E<l.length;E+=8)x.push({x:(l[E]-y)/m,y:1-(l[E+1]-b)/v,width:(l[E+2]-l[E])/m,height:(l[E+1]-l[E+5])/v});d.#S(),d.#O(),d.rotate(d.rotation)}else if(c){d.#f=!0;let x=c[0],E={x:x[0]-y,y:v-(x[1]-b)},C=new gv(E,[0,0,m,v],1,d.#m/2,!0,.001);for(let D=0,O=x.length;D<O;D+=2)E.x=x[D]-y,E.y=v-(x[D+1]-b),C.add(E);let{id:A,clipPathId:T}=e.drawLayer.draw({bbox:[0,0,1,1],root:{viewBox:"0 0 1 1",fill:d.color,"fill-opacity":d._defaultOpacity},rootClass:{highlight:!0,free:!0},path:{d:C.toSVGPath()}},!0,!0);d.#y({highlightOutlines:C.getOutlines(),highlightId:A,clipPathId:T}),d.#O()}return d}serialize(t=!1){if(this.isEmpty()||t)return null;if(this.deleted)return this.serializeDeleted();let e=this.getRect(0,0),i=zn._colorManager.convert(this.color),r={annotationType:pe.HIGHLIGHT,color:i,opacity:this.#o,thickness:this.#m,quadPoints:this.#z(),outlines:this.#L(e),pageIndex:this.pageIndex,rect:e,rotation:this.#_(),structTreeParentId:this._structTreeParentId};return this.annotationElementId&&!this.#N(r)?null:(r.id=this.annotationElementId,r)}#N(t){let{color:e}=this._initialData;return t.color.some((i,r)=>i!==e[r])}renderAnnotationElement(t){return t.updateEdited({rect:this.getRect(0,0)}),null}static canCreateNewEmptyEditor(){return!1}},rM=class{#t=Object.create(null);updateProperty(t,e){this[t]=e,this.updateSVGProperty(t,e)}updateProperties(t){if(t)for(let[e,i]of Object.entries(t))this.updateProperty(e,i)}updateSVGProperty(t,e){this.#t[t]=e}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(){cn("Not implemented")}},oM=class n extends zn{#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.#d())}#u({drawOutlines:t,drawId:e,drawingOptions:i}){this.#t=t,this._drawingOptions||=i,e>=0?(this._drawId=e,this.parent.drawLayer.finalizeDraw(e,t.defaultProperties)):this._drawId=this.#h(t,this.parent),this.#g(t.box)}#h(t,e){let{id:i}=e.drawLayer.draw(n._mergeSVGProperties(this._drawingOptions.toSVGProperties(),t.defaultSVGProperties),!1,!1);return i}static _mergeSVGProperties(t,e){let i=new Set(Object.keys(t));for(let[r,s]of Object.entries(e))i.has(r)?Object.assign(t[r],s):t[r]=s;return t}static getDefaultDrawingOptions(t){cn("Not implemented")}static get typesMap(){cn("Not implemented")}static get isDrawer(){return!0}static get supportMultipleDrawings(){return!1}static updateDefaultParams(t,e){let i=this.typesMap.get(t);i&&this._defaultDrawingOptions.updateProperty(i,e),this._currentParent&&(n.#n.updateProperty(i,e),this._currentParent.drawLayer.updateProperties(this._currentDrawId,this._defaultDrawingOptions.toSVGProperties()))}updateParams(t,e){let i=this.constructor.typesMap.get(t);i&&this._updateProperty(t,i,e)}static get defaultPropertiesToUpdate(){let t=[],e=this._defaultDrawingOptions;for(let[i,r]of this.typesMap)t.push([i,e[r]]);return t}get propertiesToUpdate(){let t=[],{_drawingOptions:e}=this;for(let[i,r]of this.constructor.typesMap)t.push([i,e[r]]);return t}_updateProperty(t,e,i){let r=this._drawingOptions,s=r[e],l=c=>{r.updateProperty(e,c);let h=this.#t.updateProperty(e,c);h&&this.#g(h),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,n._mergeSVGProperties(this.#t.getPathResizingSVGProperties(this.#p()),{bbox:this.#m()}))}_onResized(){this.parent?.drawLayer.updateProperties(this._drawId,n._mergeSVGProperties(this.#t.getPathResizedSVGProperties(this.#p()),{bbox:this.#m()}))}_onTranslating(t,e){this.parent?.drawLayer.updateProperties(this._drawId,{bbox:this.#m(t,e)})}_onTranslated(){this.parent?.drawLayer.updateProperties(this._drawId,n._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.#d(),this.#g(this.#t.box),this.isAttachedToDOM||this.parent.add(this)))}setParent(t){let e=!1;this.parent&&!t?(this._uiManager.removeShouldRescale(this),this.#f()):t&&(this._uiManager.addShouldRescale(this),this.#d(t),e=!this.parent&&this.div?.classList.contains("selectedEditor")),super.setParent(t),e&&this.select()}#f(){this._drawId===null||!this.parent||(this.parent.drawLayer.remove(this._drawId),this._drawId=null,this._drawingOptions.reset())}#d(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.#h(this.#t,t)}}#o([t,e,i,r]){let{parentDimensions:[s,l],rotation:c}=this;switch(c){case 90:return[e,1-t,i*(l/s),r*(s/l)];case 180:return[1-t,1-e,i,r];case 270:return[1-e,t,i*(l/s),r*(s/l)];default:return[t,e,i,r]}}#p(){let{x:t,y:e,width:i,height:r,parentDimensions:[s,l],rotation:c}=this;switch(c){case 90:return[1-e,t,i*(s/l),r*(l/s)];case 180:return[1-t,1-e,i,r];case 270:return[e,1-t,i*(s/l),r*(l/s)];default:return[t,e,i,r]}}#g(t){if([this.x,this.y,this.width,this.height]=this.#o(t),this.div){this.fixAndSetPosition();let[e,i]=this.parentDimensions;this.setDims(this.width*e,this.height*i)}this._onResized()}#m(){let{x:t,y:e,width:i,height:r,rotation:s,parentRotation:l,parentDimensions:[c,h]}=this;switch((s*4+l)/90){case 1:return[1-e-r,t,r,i];case 2:return[1-t-i,1-e-r,i,r];case 3:return[e,1-t-i,r,i];case 4:return[t,e-i*(c/h),r*(h/c),i*(c/h)];case 5:return[1-e,t,i*(c/h),r*(h/c)];case 6:return[1-t-r*(h/c),1-e,r*(h/c),i*(c/h)];case 7:return[e-i*(c/h),1-t-r*(h/c),i*(c/h),r*(h/c)];case 8:return[t-i,e-r,i,r];case 9:return[1-e,t-i,r,i];case 10:return[1-t,1-e,i,r];case 11:return[e-r,1-t,r,i];case 12:return[t-r*(h/c),e,r*(h/c),i*(c/h)];case 13:return[1-e-i*(c/h),t-r*(h/c),i*(c/h),r*(h/c)];case 14:return[1-t,1-e-i*(c/h),r*(h/c),i*(c/h)];case 15:return[e,1-t,i*(c/h),r*(h/c)];default:return[t,e,i,r]}}rotate(){this.parent&&this.parent.drawLayer.updateProperties(this._drawId,n._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 e=document.createElement("div");t.append(e),e.setAttribute("aria-hidden","true"),e.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,e,i,r,s){cn("Not implemented")}static startDrawing(t,e,i,r){let{target:s,offsetX:l,offsetY:c,pointerId:h,pointerType:d}=r;if(n.#l&&n.#l!==d)return;let{viewport:{rotation:m}}=t,{width:v,height:y}=s.getBoundingClientRect(),b=n.#i=new AbortController,x=t.combinedSignal(b);if(n.#a||=h,n.#l??=d,window.addEventListener("pointerup",E=>{n.#a===E.pointerId?this._endDraw(E):n.#s?.delete(E.pointerId)},{signal:x}),window.addEventListener("pointercancel",E=>{n.#a===E.pointerId?this._currentParent.endDrawingSession():n.#s?.delete(E.pointerId)},{signal:x}),window.addEventListener("pointerdown",E=>{n.#l===E.pointerType&&((n.#s||=new Set).add(E.pointerId),n.#n.isCancellable()&&(n.#n.removeLastElement(),n.#n.isEmpty()?this._currentParent.endDrawingSession(!0):this._endDraw(null)))},{capture:!0,passive:!1,signal:x}),window.addEventListener("contextmenu",No,{signal:x}),s.addEventListener("pointermove",this._drawMove.bind(this),{signal:x}),s.addEventListener("touchmove",E=>{E.timeStamp===n.#c&&Er(E)},{signal:x}),t.toggleDrawing(),e._editorUndoBar?.hide(),n.#n){t.drawLayer.updateProperties(this._currentDrawId,n.#n.startNew(l,c,v,y,m));return}e.updateUIForDefaultProperties(this),n.#n=this.createDrawerInstance(l,c,v,y,m),n.#r=this.getDefaultDrawingOptions(),this._currentParent=t,{id:this._currentDrawId}=t.drawLayer.draw(this._mergeSVGProperties(n.#r.toSVGProperties(),n.#n.defaultSVGProperties),!0,!1)}static _drawMove(t){if(n.#c=-1,!n.#n)return;let{offsetX:e,offsetY:i,pointerId:r}=t;if(n.#a===r){if(n.#s?.size>=1){this._endDraw(t);return}this._currentParent.drawLayer.updateProperties(this._currentDrawId,n.#n.add(e,i)),n.#c=t.timeStamp,Er(t)}}static _cleanup(t){t&&(this._currentDrawId=-1,this._currentParent=null,n.#n=null,n.#r=null,n.#l=null,n.#c=NaN),n.#i&&(n.#i.abort(),n.#i=null,n.#a=NaN,n.#s=null)}static _endDraw(t){let e=this._currentParent;if(e){if(e.toggleDrawing(!0),this._cleanup(!1),t&&e.drawLayer.updateProperties(this._currentDrawId,n.#n.end(t.offsetX,t.offsetY)),this.supportMultipleDrawings){let i=n.#n,r=this._currentDrawId,s=i.getLastElement();e.addCommands({cmd:()=>{e.drawLayer.updateProperties(r,i.setLastElement(s))},undo:()=>{e.drawLayer.updateProperties(r,i.removeLastElement())},mustExec:!1,type:ze.DRAW_STEP});return}this.endDrawing(!1)}}static endDrawing(t){let e=this._currentParent;if(!e)return null;if(e.toggleDrawing(!0),e.cleanUndoStack(ze.DRAW_STEP),!n.#n.isEmpty()){let{pageDimensions:[i,r],scale:s}=e,l=e.createAndAddNewEditor({offsetX:0,offsetY:0},!1,{drawId:this._currentDrawId,drawOutlines:n.#n.getOutlines(i*s,r*s,s,this._INNER_MARGIN),drawingOptions:n.#r,mustBeCommitted:!t});return this._cleanup(!0),l}return e.drawLayer.remove(this._currentDrawId),this._cleanup(!0),null}createDrawingOptions(t){}static deserializeDraw(t,e,i,r,s,l){cn("Not implemented")}static async deserialize(t,e,i){let{rawDims:{pageWidth:r,pageHeight:s,pageX:l,pageY:c}}=e.viewport,h=this.deserializeDraw(l,c,r,s,this._INNER_MARGIN,t),d=await super.deserialize(t,e,i);return d.createDrawingOptions(t),d.#u({drawOutlines:h}),d.#d(),d.onScaleChanging(),d.rotate(),d}serializeDraw(t){let[e,i]=this.pageTranslation,[r,s]=this.pageDimensions;return this.#t.serialize([e,i,r,s],t)}renderAnnotationElement(t){return t.updateEdited({rect:this.getRect(0,0)}),null}static canCreateNewEmptyEditor(){return!1}},sM=class{#t=new Float64Array(6);#e;#n;#i;#r;#a;#l="";#s=0;#c=new oA;#u;#h;constructor(t,e,i,r,s,l){this.#u=i,this.#h=r,this.#i=s,this.#r=l,[t,e]=this.#f(t,e);let c=this.#e=[NaN,NaN,NaN,NaN,t,e];this.#a=[t,e],this.#n=[{line:c,points:this.#a}],this.#t.set(c,0)}updateProperty(t,e){t==="stroke-width"&&(this.#r=e)}#f(t,e){return wt._normalizePoint(t,e,this.#u,this.#h,this.#i)}isEmpty(){return!this.#n||this.#n.length===0}isCancellable(){return this.#a.length<=10}add(t,e){[t,e]=this.#f(t,e);let[i,r,s,l]=this.#t.subarray(2,6),c=t-s,h=e-l;return Math.hypot(this.#u*c,this.#h*h)<=2?null:(this.#a.push(t,e),isNaN(i)?(this.#t.set([s,l,t,e],2),this.#e.push(NaN,NaN,NaN,NaN,t,e),{path:{d:this.toSVGPath()}}):(isNaN(this.#t[0])&&this.#e.splice(6,6),this.#t.set([i,r,s,l,t,e],0),this.#e.push(...wt.createBezierPoints(i,r,s,l,t,e)),{path:{d:this.toSVGPath()}}))}end(t,e){let i=this.add(t,e);return i||(this.#a.length===2?{path:{d:this.toSVGPath()}}:null)}startNew(t,e,i,r,s){this.#u=i,this.#h=r,this.#i=s,[t,e]=this.#f(t,e);let l=this.#e=[NaN,NaN,NaN,NaN,t,e];this.#a=[t,e];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,e=this.#n.length;t<e;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=wt.svgRound(this.#e[4]),e=wt.svgRound(this.#e[5]);if(this.#a.length===2)return this.#l=`${this.#l} M ${t} ${e} Z`,this.#l;if(this.#a.length<=6){let r=this.#l.lastIndexOf("M");this.#l=`${this.#l.slice(0,r)} M ${t} ${e}`,this.#s=6}if(this.#a.length===4){let r=wt.svgRound(this.#e[10]),s=wt.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} ${e}`),this.#s=6);for(let r=this.#s,s=this.#e.length;r<s;r+=6){let[l,c,h,d,m,v]=this.#e.slice(r,r+6).map(wt.svgRound);i.push(`C${l} ${c} ${h} ${d} ${m} ${v}`)}return this.#l+=i.join(" "),this.#s=this.#e.length,this.#l}getOutlines(t,e,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,e,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]}}},oA=class n extends wt{#t;#e=0;#n;#i;#r;#a;#l;#s;#c;build(t,e,i,r,s,l,c){this.#r=e,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:e}of this.#i){if(t.push(`M${wt.svgRound(e[4])} ${wt.svgRound(e[5])}`),e.length===6){t.push("Z");continue}if(e.length===12){t.push(`L${wt.svgRound(e[10])} ${wt.svgRound(e[11])}`);continue}for(let i=6,r=e.length;i<r;i+=6){let[s,l,c,h,d,m]=e.subarray(i,i+6).map(wt.svgRound);t.push(`C${s} ${l} ${c} ${h} ${d} ${m}`)}}return t.join("")}serialize([t,e,i,r],s){let l=[],c=[],[h,d,m,v]=this.#h(),y,b,x,E,C,A,T,D,O;switch(this.#s){case 0:O=wt._rescale,y=t,b=e+r,x=i,E=-r,C=t+h*i,A=e+(1-d-v)*r,T=t+(h+m)*i,D=e+(1-d)*r;break;case 90:O=wt._rescaleAndSwap,y=t,b=e,x=i,E=r,C=t+d*i,A=e+h*r,T=t+(d+v)*i,D=e+(h+m)*r;break;case 180:O=wt._rescale,y=t+i,b=e,x=-i,E=r,C=t+(1-h-m)*i,A=e+d*r,T=t+(1-h)*i,D=e+(d+v)*r;break;case 270:O=wt._rescaleAndSwap,y=t+i,b=e+r,x=-i,E=-r,C=t+(1-d-v)*i,A=e+(1-h-m)*r,T=t+(1-d)*i,D=e+(1-h)*r;break}for(let{line:F,points:U}of this.#i)l.push(O(F,y,b,x,E,s?new Array(F.length):null)),c.push(O(U,y,b,x,E,s?new Array(U.length):null));return{lines:l,points:c,rect:[C,A,T,D]}}static deserialize(t,e,i,r,s,{paths:{lines:l,points:c},rotation:h,thickness:d}){let m=[],v,y,b,x,E;switch(h){case 0:E=wt._rescale,v=-t/i,y=e/r+1,b=1/i,x=-1/r;break;case 90:E=wt._rescaleAndSwap,v=-e/r,y=-t/i,b=1/r,x=1/i;break;case 180:E=wt._rescale,v=t/i+1,y=-e/r,b=-1/i,x=1/r;break;case 270:E=wt._rescaleAndSwap,v=e/r+1,y=t/i+1,b=-1/r,x=-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 D=new Float32Array(3*(T-2));l.push(D);let[O,F,U,L]=A.subarray(0,4);D.set([NaN,NaN,NaN,NaN,O,F],0);for(let k=4;k<T;k+=2){let G=A[k],q=A[k+1];D.set(wt.createBezierPoints(O,F,U,L,G,q),(k-2)*3),[O,F,U,L]=[U,L,G,q]}}}for(let A=0,T=l.length;A<T;A++)m.push({line:E(l[A].map(D=>D??NaN),v,y,b,x),points:E(c[A].map(D=>D??NaN),v,y,b,x)});let C=new n;return C.build(m,i,r,1,h,d,s),C}#u(t=this.#c){let e=this.#n+t/2*this.#l;return this.#s%180===0?[e/this.#r,e/this.#a]:[e/this.#a,e/this.#r]}#h(){let[t,e,i,r]=this.#t,[s,l]=this.#u(0);return[t+s,e+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,h=r.length;c<h;c+=6){let[d,m]=r.subarray(c,c+2);t[0]=Math.min(t[0],d),t[1]=Math.min(t[1],m),t[2]=Math.max(t[2],d),t[3]=Math.max(t[3],m)}continue}let s=r[4],l=r[5];for(let c=6,h=r.length;c<h;c+=6){let[d,m,v,y,b,x]=r.subarray(c,c+6);Mt.bezierBoundingBox(s,l,d,m,v,y,b,x,t),s=b,l=x}}let[e,i]=this.#u();t[0]=Math.min(1,Math.max(0,t[0]-e)),t[1]=Math.min(1,Math.max(0,t[1]-i)),t[2]=Math.min(1,Math.max(0,t[2]+e)),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,e){return t==="stroke-width"?this.#d(e):null}#d(t){let[e,i]=this.#u();this.#c=t;let[r,s]=this.#u(),[l,c]=[r-e,s-i],h=this.#t;return h[0]-=l,h[1]-=c,h[2]+=2*l,h[3]+=2*c,h}updateParentDimensions([t,e],i){let[r,s]=this.#u();this.#r=t,this.#a=e,this.#l=i;let[l,c]=this.#u(),h=l-r,d=c-s,m=this.#t;return m[0]-=h,m[1]-=d,m[2]+=2*h,m[3]+=2*d,m}updateRotation(t){return this.#e=t,{path:{transform:this.rotationTransform}}}get viewBox(){return this.#t.map(wt.svgRound).join(" ")}get defaultProperties(){let[t,e]=this.#t;return{root:{viewBox:this.viewBox},path:{"transform-origin":`${wt.svgRound(t)} ${wt.svgRound(e)}`}}}get rotationTransform(){let[,,t,e]=this.#t,i=0,r=0,s=0,l=0,c=0,h=0;switch(this.#e){case 90:r=e/t,s=-t/e,c=t;break;case 180:i=-1,l=-1,c=t,h=e;break;case 270:r=-e/t,s=t/e,h=e;break;default:return""}return`matrix(${i} ${r} ${s} ${l} ${wt.svgRound(c)} ${wt.svgRound(h)})`}getPathResizingSVGProperties([t,e,i,r]){let[s,l]=this.#u(),[c,h,d,m]=this.#t;if(Math.abs(d-s)<=wt.PRECISION||Math.abs(m-l)<=wt.PRECISION){let E=t+i/2-(c+d/2),C=e+r/2-(h+m/2);return{path:{"transform-origin":`${wt.svgRound(t)} ${wt.svgRound(e)}`,transform:`${this.rotationTransform} translate(${E} ${C})`}}}let v=(i-2*s)/(d-2*s),y=(r-2*l)/(m-2*l),b=d/i,x=m/r;return{path:{"transform-origin":`${wt.svgRound(c)} ${wt.svgRound(h)}`,transform:`${this.rotationTransform} scale(${b} ${x}) translate(${wt.svgRound(s)} ${wt.svgRound(l)}) scale(${v} ${y}) translate(${wt.svgRound(-s)} ${wt.svgRound(-l)})`}}}getPathResizedSVGProperties([t,e,i,r]){let[s,l]=this.#u(),c=this.#t,[h,d,m,v]=c;if(c[0]=t,c[1]=e,c[2]=i,c[3]=r,Math.abs(m-s)<=wt.PRECISION||Math.abs(v-l)<=wt.PRECISION){let C=t+i/2-(h+m/2),A=e+r/2-(d+v/2);for(let{line:T,points:D}of this.#i)wt._translate(T,C,A,T),wt._translate(D,C,A,D);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${wt.svgRound(t)} ${wt.svgRound(e)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}let y=(i-2*s)/(m-2*s),b=(r-2*l)/(v-2*l),x=-y*(h+s)+t+s,E=-b*(d+l)+e+l;if(y!==1||b!==1||x!==0||E!==0)for(let{line:C,points:A}of this.#i)wt._rescale(C,x,E,y,b,C),wt._rescale(A,x,E,y,b,A);return{root:{viewBox:this.viewBox},path:{"transform-origin":`${wt.svgRound(t)} ${wt.svgRound(e)}`,transform:this.rotationTransform||null,d:this.toSVGPath()}}}getPathTranslatedSVGProperties([t,e],i){let[r,s]=i,l=this.#t,c=t-l[0],h=e-l[1];if(this.#r===r&&this.#a===s)for(let{line:d,points:m}of this.#i)wt._translate(d,c,h,d),wt._translate(m,c,h,m);else{let d=this.#r/r,m=this.#a/s;this.#r=r,this.#a=s;for(let{line:v,points:y}of this.#i)wt._rescale(v,c,h,d,m,v),wt._rescale(y,c,h,d,m,y);l[2]*=d,l[3]*=m}return l[0]=t,l[1]=e,{root:{viewBox:this.viewBox},path:{d:this.toSVGPath(),"transform-origin":`${wt.svgRound(t)} ${wt.svgRound(e)}`}}}get defaultSVGProperties(){let t=this.#t;return{root:{viewBox:this.viewBox},rootClass:{draw:!0},path:{d:this.toSVGPath(),"transform-origin":`${wt.svgRound(t[0])} ${wt.svgRound(t[1])}`,transform:this.rotationTransform||null},bbox:t}}},lM=class n extends rM{#t;constructor(t){super(),this.#t=t,super.updateProperties({fill:"none",stroke:zn._defaultLineColor,"stroke-opacity":1,"stroke-width":1,"stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":10})}updateSVGProperty(t,e){t==="stroke-width"&&(e??=this["stroke-width"],e*=this.#t.realScale),super.updateSVGProperty(t,e)}clone(){let t=new n(this.#t);return t.updateAll(this),t}},uM=class n extends oM{static _type="ink";static _editorType=pe.INK;static _defaultDrawingOptions=null;constructor(t){super({...t,name:"inkEditor"}),this._willKeepAspectRatio=!0}static initialize(t,e){zn.initialize(t,e),this._defaultDrawingOptions=new lM(e.viewParameters)}static getDefaultDrawingOptions(t){let e=this._defaultDrawingOptions.clone();return e.updateProperties(t),e}static get supportMultipleDrawings(){return!0}static get typesMap(){return Ae(this,"typesMap",new Map([[ze.INK_THICKNESS,"stroke-width"],[ze.INK_COLOR,"stroke"],[ze.INK_OPACITY,"stroke-opacity"]]))}static createDrawerInstance(t,e,i,r,s){return new sM(t,e,i,r,s,this._defaultDrawingOptions["stroke-width"])}static deserializeDraw(t,e,i,r,s,l){return oA.deserialize(t,e,i,r,s,l)}static async deserialize(t,e,i){let r=null;if(t instanceof pv){let{data:{inkLists:l,rect:c,rotation:h,id:d,color:m,opacity:v,borderStyle:{rawWidth:y},popupRef:b},parent:{page:{pageNumber:x}}}=t;r=t={annotationType:pe.INK,color:Array.from(m),thickness:y,opacity:v,paths:{points:l},boxes:null,pageIndex:x-1,rect:c.slice(0),rotation:h,id:d,deleted:!1,popupRef:b}}let s=await super.deserialize(t,e,i);return s.annotationElementId=t.id||null,s._initialData=r,s}onScaleChanging(){if(!this.parent)return;super.onScaleChanging();let{_drawId:t,_drawingOptions:e,parent:i}=this;e.updateSVGProperty("stroke-width"),i.drawLayer.updateProperties(t,e.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:e,opacity:i}){this._drawingOptions=n.getDefaultDrawingOptions({stroke:Mt.makeHexColor(...t),"stroke-width":e,"stroke-opacity":i})}serialize(t=!1){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();let{lines:e,points:i,rect:r}=this.serializeDraw(t),{_drawingOptions:{stroke:s,"stroke-opacity":l,"stroke-width":c}}=this,h={annotationType:pe.INK,color:zn._colorManager.convert(s),opacity:l,thickness:c,paths:{lines:e,points:i},pageIndex:this.pageIndex,rect:r,rotation:this.rotation,structTreeParentId:this._structTreeParentId};return t?h:this.annotationElementId&&!this.#t(h)?null:(h.id=this.annotationElementId,h)}#t(t){let{color:e,thickness:i,opacity:r,pageIndex:s}=this._initialData;return this._hasBeenMoved||this._hasBeenResized||t.color.some((l,c)=>l!==e[c])||t.thickness!==i||t.opacity!==r||t.pageIndex!==s}renderAnnotationElement(t){let{points:e,rect:i}=this.serializeDraw(!1);return t.updateEdited({rect:i,thickness:this._drawingOptions["stroke-width"],points:e}),null}},cM=class n extends zn{#t=null;#e=null;#n=null;#i=null;#r=null;#a="";#l=null;#s=null;#c=!1;#u=!1;static _type="stamp";static _editorType=pe.STAMP;constructor(t){super({...t,name:"stampEditor"}),this.#i=t.bitmapUrl,this.#r=t.bitmapFile}static initialize(t,e){zn.initialize(t,e)}static get supportedTypes(){return Ae(this,"supportedTypes",["apng","avif","bmp","gif","jpeg","png","svg+xml","webp","x-icon"].map(e=>`image/${e}`))}static get supportedTypesStr(){return Ae(this,"supportedTypesStr",this.supportedTypes.join(","))}static isHandlingMimeForPasting(t){return this.supportedTypes.includes(t)}static paste(t,e){e.pasteEditor(pe.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 e=t.get("hasAltText");return{hasAltText:e.get(!0)??0,hasNoAltText:e.get(!1)??0}}#h(t,e=!1){if(!t){this.remove();return}this.#t=t.bitmap,e||(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,e=!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 h=c.output;return await this.setGuessedAltText(h),e&&!this.hasAltTextData()&&(this.altTextData={alt:h,decorative:!1}),h}#d(){if(this.#e){this._uiManager.enableWaiting(!0),this._uiManager.imageManager.getFromId(this.#e).then(i=>this.#h(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.#h(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.#h(r)).finally(()=>this.#f());return}let t=document.createElement("input");t.type="file",t.accept=n.supportedTypesStr;let e=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.#h(r)}i()},{signal:e}),t.addEventListener("cancel",()=>{this.remove(),i()},{signal:e})}).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.#d();return}super.rebuild(),this.div!==null&&(this.#e&&this.#l===null&&this.#d(),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,e;if(this.width&&(t=this.x,e=this.y),super.render(),this.div.hidden=!0,this.div.setAttribute("role","figure"),this.addAltTextButton(),this.#t?this.#o():this.#d(),this.width&&!this.annotationElementId){let[i,r]=this.parentDimensions;this.setAt(t*i,e*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:e,height:i}=this.#t,[r,s]=this.pageDimensions,l=.75;if(this.width)e=this.width*r,i=this.height*s;else if(e>l*r||i>l*s){let m=Math.min(l*r/e,l*s/i);e*=m,i*=m}let[c,h]=this.parentDimensions;this.setDims(e*c/r,i*h/s),this._uiManager.enableWaiting(!1);let d=this.#l=document.createElement("canvas");d.setAttribute("role","img"),this.addContainer(d),this.width=e/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&&d.setAttribute("aria-label",this.#a)}copyCanvas(t,e,i=!1){t||(t=224);let{width:r,height:s}=this.#t,l=new sv,c=this.#t,h=r,d=s,m=null;if(e){if(r>e||s>e){let U=Math.min(e/r,e/s);h=Math.floor(r*U),d=Math.floor(s*U)}m=document.createElement("canvas");let y=m.width=Math.ceil(h*l.sx),b=m.height=Math.ceil(d*l.sy);this.#c||(c=this.#p(y,b));let x=m.getContext("2d");x.filter=this._uiManager.hcmFilter;let E="white",C="#cfcfd8";this._uiManager.hcmFilter!=="none"?C="black":window.matchMedia?.("(prefers-color-scheme: dark)").matches&&(E="#8f8f9d",C="#42414d");let A=15,T=A*l.sx,D=A*l.sy,O=new OffscreenCanvas(T*2,D*2),F=O.getContext("2d");F.fillStyle=E,F.fillRect(0,0,T*2,D*2),F.fillStyle=C,F.fillRect(0,0,T,D),F.fillRect(T,D,T,D),x.fillStyle=x.createPattern(O,"repeat"),x.fillRect(0,0,y,b),x.drawImage(c,0,0,c.width,c.height,0,0,y,b)}let v=null;if(i){let y,b;if(l.symmetric&&c.width<t&&c.height<t)y=c.width,b=c.height;else if(c=this.#t,r>t||s>t){let C=Math.min(t/r,t/s);y=Math.floor(r*C),b=Math.floor(s*C),this.#c||(c=this.#p(y,b))}let E=new OffscreenCanvas(y,b).getContext("2d",{willReadFrequently:!0});E.drawImage(c,0,0,c.width,c.height,0,0,y,b),v={width:y,height:b,data:E.getImageData(0,0,y,b).data}}return{canvas:m,width:h,height:d,imageData:v}}#p(t,e){let{width:i,height:r}=this.#t,s=i,l=r,c=this.#t;for(;s>2*t||l>2*e;){let h=s,d=l;s>2*t&&(s=s>=16384?Math.floor(s/2)-1:Math.ceil(s/2)),l>2*e&&(l=l>=16384?Math.floor(l/2)-1:Math.ceil(l/2));let m=new OffscreenCanvas(s,l);m.getContext("2d").drawImage(c,0,0,h,d,0,0,s,l),c=m.transferToImageBitmap()}return c}#g(){let[t,e]=this.parentDimensions,{width:i,height:r}=this,s=new sv,l=Math.ceil(i*t*s.sx),c=Math.ceil(r*e*s.sy),h=this.#l;if(!h||h.width===l&&h.height===c)return;h.width=l,h.height=c;let d=this.#c?this.#t:this.#p(l,c),m=h.getContext("2d");m.filter=this._uiManager.hcmFilter,m.drawImage(d,0,0,d.width,d.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 e=document.createElement("canvas");return{width:e.width,height:e.height}=this.#t,e.getContext("2d").drawImage(this.#t,0,0),e.toDataURL()}if(this.#c){let[e,i]=this.pageDimensions,r=Math.round(this.width*e*fc.PDF_TO_CSS_UNITS),s=Math.round(this.height*i*fc.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,e,i){let r=null;if(t instanceof eA){let{data:{rect:x,rotation:E,id:C,structParent:A,popupRef:T},container:D,parent:{page:{pageNumber:O}}}=t,F=D.querySelector("canvas"),U=i.imageManager.getFromCanvas(D.id,F);F.remove();let L=(await e._structTree.getAriaAttributes(`${pM}${C}`))?.get("aria-label")||"";r=t={annotationType:pe.STAMP,bitmapId:U.id,bitmap:U.bitmap,pageIndex:O-1,rect:x.slice(0),rotation:E,id:C,deleted:!1,accessibilityData:{decorative:!1,altText:L},isSvg:!1,structParent:A,popupRef:T}}let s=await super.deserialize(t,e,i),{rect:l,bitmap:c,bitmapUrl:h,bitmapId:d,isSvg:m,accessibilityData:v}=t;d&&i.imageManager.isValidId(d)?(s.#e=d,c&&(s.#t=c)):s.#i=h,s.#c=m;let[y,b]=s.pageDimensions;return s.width=(l[2]-l[0])/y,s.height=(l[3]-l[1])/b,s.annotationElementId=t.id||null,v&&(s.altTextData=v),s._initialData=r,s.#u=!!r,s}serialize(t=!1,e=null){if(this.isEmpty())return null;if(this.deleted)return this.serializeDeleted();let i={annotationType:pe.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,e===null)return i;e.stamps||=new Map;let l=this.#c?(i.rect[2]-i.rect[0])*(i.rect[3]-i.rect[1]):null;if(!e.stamps.has(this.#e))e.stamps.set(this.#e,{area:l,serialized:i}),i.bitmap=this.#m(!1);else if(this.#c){let c=e.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:e,accessibilityData:{altText:i}}=this._initialData,r=t.pageIndex===e,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}},fM=class n{#t;#e=!1;#n=null;#i=null;#r=null;#a=new Map;#l=!1;#s=!1;#c=!1;#u=null;#h=null;#f=null;#d=null;#o;static _initialized=!1;static#p=new Map([nM,uM,cM,rA].map(t=>[t._editorType,t]));constructor({uiManager:t,pageIndex:e,div:i,structTreeLayer:r,accessibilityManager:s,annotationLayer:l,drawLayer:c,textLayer:h,viewport:d,l10n:m}){let v=[...n.#p.values()];if(!n._initialized){n._initialized=!0;for(let y of v)y.initialize(m,t)}t.registerEditorTypes(v),this.#o=t,this.pageIndex=e,this.div=i,this.#t=s,this.#n=l,this.viewport=d,this.#f=h,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()===pe.NONE}updateToolbar(t){this.#o.updateToolbar(t)}updateMode(t=this.#o.getMode()){switch(this.#y(),t){case pe.NONE:this.disableTextSelection(),this.togglePointerEvents(!1),this.toggleAnnotationLayerPointerEvents(!0),this.disableClick();return;case pe.INK:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick();break;case pe.HIGHLIGHT:this.enableTextSelection(),this.togglePointerEvents(!1),this.disableClick();break;default:this.disableTextSelection(),this.togglePointerEvents(!0),this.enableClick()}this.toggleAnnotationLayerPointerEvents(!1);let{classList:e}=this.div;for(let i of n.#p.values())e.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 e=this.#n.getEditableAnnotations();for(let i of e){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,e=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 e.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=e.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 n.#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.#d){this.#d=new AbortController;let t=this.#o.combinedSignal(this.#d);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.#d&&(this.#d.abort(),this.#d=null,this.#f.div.classList.remove("highlighting"))}#g(t){this.#o.unselectAll();let{target:e}=t;if(e===this.#f.div||(e.getAttribute("role")==="img"||e.classList.contains("endOfContent"))&&this.#f.div.contains(e)){let{isMac:i}=Xi.platform;if(t.button!==0||t.ctrlKey&&i)return;this.#o.showAllEditors("highlight",!0,!0),this.#f.div.classList.add("free"),this.toggleDrawing(),rA.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 e=this.pointerup.bind(this);this.div.addEventListener("pointerup",e,{signal:t}),this.div.addEventListener("pointercancel",e,{signal:t})}disableClick(){this.#i?.abort(),this.#i=null}attach(t){this.#a.set(t.id,t);let{annotationElementId:e}=t;e&&this.#o.isDeletedAnnotationElement(e)&&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),zn.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 e=t.render();this.div.append(e),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:e}=document;t.div.contains(e)&&!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}),e.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 e=()=>t._uiManager.rebuild(t),i=()=>{t.remove()};this.addCommands({cmd:e,undo:i,mustExec:!1})}getNextId(){return this.#o.getId()}get#m(){return n.#p.get(this.#o.getMode())}combinedSignal(t){return this.#o.combinedSignal(t)}#v(t){let e=this.#m;return e?new e.prototype.constructor(t):null}canCreateNewEmptyEditor(){return this.#m?.canCreateNewEmptyEditor()}pasteEditor(t,e){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,...e});l&&this.add(l)}async deserialize(t){return await n.#p.get(t.annotationType??t.annotationEditorType)?.deserialize(t,this,this.#o)||null}createAndAddNewEditor(t,e,i={}){let r=this.getNextId(),s=this.#v({parent:this,id:r,x:t.offsetX,y:t.offsetY,uiManager:this.#o,isCentered:e,...i});return s&&this.add(s),s}#S(){let{x:t,y:e,width:i,height:r}=this.div.getBoundingClientRect(),s=Math.max(0,t),l=Math.max(0,e),c=Math.min(window.innerWidth,t+i),h=Math.min(window.innerHeight,e+r),d=(s+c)/2-t,m=(l+h)/2-e,[v,y]=this.viewport.rotation%180===0?[d,m]:[m,d];return{offsetX:v,offsetY:y}}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:e}=Xi.platform;if(!(t.button!==0||t.ctrlKey&&e)&&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()===pe.STAMP){this.#o.unselectAll();return}this.createAndAddNewEditor(t,!1)}}pointerdown(t){if(this.#o.getMode()===pe.HIGHLIGHT&&this.enableTextSelection(),this.#l){this.#l=!1;return}let{isMac:e}=Xi.platform;if(t.button!==0||t.ctrlKey&&e||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 e=this.#o.combinedSignal(this.#u);this.div.addEventListener("blur",({relatedTarget:i})=>{i&&!this.div.contains(i)&&(this.#h=null,this.commitOrRemove())},{signal:e}),this.#m.startDrawing(this,this.#o,!1,t)}pause(t){if(t){let{activeElement:e}=document;this.div.contains(e)&&(this.#h=e);return}this.#h&&setTimeout(()=>{this.#h?.focus(),this.#h=null},0)}endDrawingSession(t=!1){return this.#u?(this.#o.setCurrentDrawingSession(null),this.#u.abort(),this.#u=null,this.#h=null,this.#m.endDrawing(t)):null}findNewParent(t,e,i){let r=this.#o.findParent(e,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,nh(this.div,t);for(let e of this.#o.getEditors(this.pageIndex))this.add(e),e.rebuild();this.updateMode()}update({viewport:t}){this.#o.commitOrRemove(),this.#y();let e=this.viewport.rotation,i=t.rotation;if(this.viewport=t,nh(this.div,{rotation:i}),e!==i)for(let r of this.#a.values())r.rotate(i)}get pageDimensions(){let{pageWidth:t,pageHeight:e}=this.viewport.rawDims;return[t,e]}get scale(){return this.#o.viewParameters.realScale}},hM=class n{#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 e of this.#n.values())e.remove(),t.append(e);this.#t=t}}static get _svgFactory(){return Ae(this,"_svgFactory",new hv)}static#r(t,[e,i,r,s]){let{style:l}=t;l.top=`${100*i}%`,l.left=`${100*e}%`,l.width=`${100*r}%`,l.height=`${100*s}%`}#a(){let t=n._svgFactory.create(1,1,!0);return this.#t.append(t),t.setAttribute("aria-hidden",!0),t}#l(t,e){let i=n._svgFactory.createElement("clipPath");t.append(i);let r=`clip_${e}`;i.setAttribute("id",r),i.setAttribute("clipPathUnits","objectBoundingBox");let s=n._svgFactory.createElement("use");return i.append(s),s.setAttribute("href",`#${e}`),s.classList.add("clip"),r}#s(t,e){for(let[i,r]of Object.entries(e))r===null?t.removeAttribute(i):t.setAttribute(i,r)}draw(t,e=!1,i=!1){let r=this.#e++,s=this.#a(),l=n._svgFactory.createElement("defs");s.append(l);let c=n._svgFactory.createElement("path");l.append(c);let h=`path_p${this.pageIndex}_${r}`;c.setAttribute("id",h),c.setAttribute("vector-effect","non-scaling-stroke"),e&&this.#i.set(r,c);let d=i?this.#l(l,h):null,m=n._svgFactory.createElement("use");return s.append(m),m.setAttribute("href",`#${h}`),this.updateProperties(s,t),this.#n.set(r,s),{id:r,clipPathId:`url(#${d})`}}drawOutline(t,e){let i=this.#e++,r=this.#a(),s=n._svgFactory.createElement("defs");r.append(s);let l=n._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 h;if(e){let v=n._svgFactory.createElement("mask");s.append(v),h=`mask_p${this.pageIndex}_${i}`,v.setAttribute("id",h),v.setAttribute("maskUnits","objectBoundingBox");let y=n._svgFactory.createElement("rect");v.append(y),y.setAttribute("width","1"),y.setAttribute("height","1"),y.setAttribute("fill","white");let b=n._svgFactory.createElement("use");v.append(b),b.setAttribute("href",`#${c}`),b.setAttribute("stroke","none"),b.setAttribute("fill","black"),b.setAttribute("fill-rule","nonzero"),b.classList.add("mask")}let d=n._svgFactory.createElement("use");r.append(d),d.setAttribute("href",`#${c}`),h&&d.setAttribute("mask",`url(#${h})`);let m=d.cloneNode();return r.append(m),d.classList.add("mainOutline"),m.classList.add("secondaryOutline"),this.updateProperties(r,t),this.#n.set(i,r),i}finalizeDraw(t,e){this.#i.delete(t),this.updateProperties(t,e)}updateProperties(t,e){if(!e)return;let{root:i,bbox:r,rootClass:s,path:l}=e,c=typeof t=="number"?this.#n.get(t):t;if(c){if(i&&this.#s(c,i),r&&n.#r(c,r),s){let{classList:h}=c;for(let[d,m]of Object.entries(s))h.toggle(d,m)}if(l){let d=c.firstChild.firstChild;this.#s(d,l)}}}updateParent(t,e){if(e===this)return;let i=this.#n.get(t);i&&(e.#t.append(i),this.#n.delete(t),e.#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:mv};var Vtt=Qt.AbortException,Gtt=Qt.AnnotationEditorLayer,Itt=Qt.AnnotationEditorParamsType,Xtt=Qt.AnnotationEditorType,Ytt=Qt.AnnotationEditorUIManager,Ktt=Qt.AnnotationLayer,Ztt=Qt.AnnotationMode,Wtt=Qt.ColorPicker,Qtt=Qt.DOMSVGFactory,Jtt=Qt.DrawLayer,$tt=Qt.FeatureTest,$B=Qt.GlobalWorkerOptions,tet=Qt.ImageKind,eet=Qt.InvalidPDFException,net=Qt.MissingPDFException,iet=Qt.OPS,aet=Qt.OutputScale,ret=Qt.PDFDataRangeTransport,oet=Qt.PDFDateString,set=Qt.PDFWorker,uet=Qt.PasswordResponses,cet=Qt.PermissionFlag,fet=Qt.PixelsPerInch,het=Qt.RenderingCancelledException,det=Qt.TextLayer,pet=Qt.TouchManager,met=Qt.UnexpectedResponseException,get=Qt.Util,vet=Qt.VerbosityLevel,yet=Qt.XfaLayer,bet=Qt.build,xet=Qt.createValidAbsoluteUrl,Aet=Qt.fetchData,tP=Qt.getDocument,wet=Qt.getFilenameFromUrl,Eet=Qt.getPdfFilenameFromUrl,Tet=Qt.getXfaPageViewport,Cet=Qt.isDataScheme,Det=Qt.isPdfFile,Ret=Qt.noContextMenu,Oet=Qt.normalizeUnicode,Met=Qt.setLayerDimensions,_et=Qt.shadow,Fet=Qt.stopEvent,eP=Qt.version;typeof window<"u"&&($B.workerSrc=`https://cdnjs.cloudflare.com/ajax/libs/pdf.js/${eP}/pdf.worker.min.mjs`);async function mA(n,t=2){let i=await tP(typeof n=="string"?{url:n}:{data:n}).promise,r=[];for(let s=1;s<=i.numPages;s++){let l=await i.getPage(s),c=l.getViewport({scale:t}),h=document.createElement("canvas");h.width=c.width,h.height=c.height;let d=h.getContext("2d");await l.render({canvasContext:d,viewport:c}).promise,r.push({pageNumber:s,dataUrl:h.toDataURL("image/png"),width:c.width,height:c.height})}return r}var Nl=yn(Ir());var Ts=yn(Aa());function yA({pages:n,fields:t,selectedFieldId:e,onSelectField:i,onFieldMove:r,onFieldResize:s,onPageClick:l,mode:c,currentSigner:h,renderFieldContent:d}){let m=(0,Nl.useRef)(null),v=(0,Nl.useCallback)((y,b)=>{if(!y.target.closest(".field-overlay"))if(l){let E=y.currentTarget.getBoundingClientRect(),C=(y.clientX-E.left)/E.width*100,A=(y.clientY-E.top)/E.height*100;l(b,C,A)}else i(null)},[l,i]);return(0,Ts.jsx)("div",{className:"pdf-viewer",ref:m,children:n.map((y,b)=>{let x=t.filter(E=>E.page===b);return(0,Ts.jsxs)("div",{className:"pdf-page",style:{aspectRatio:`${y.width} / ${y.height}`},onClick:E=>v(E,b),"data-page":b,children:[(0,Ts.jsx)("img",{src:y.dataUrl,alt:`Page ${b+1}`,className:"pdf-page-image",draggable:!1}),x.map(E=>(0,Ts.jsx)(CZ,{field:E,isSelected:E.id===e,onSelect:()=>i(E.id),onMove:r,onResize:s,mode:c,currentSigner:h,renderContent:d},E.id))]},b)})})}function CZ({field:n,isSelected:t,onSelect:e,onMove:i,onResize:r,mode:s,currentSigner:l,renderContent:c}){let h=(0,Nl.useRef)(null),d=(0,Nl.useRef)(null),m=(0,Nl.useRef)(null),v=_o(n.assignee),y=s==="designer"||s==="signer"&&n.assignee===l,b=!y&&!!n.value,x=(0,Nl.useCallback)(C=>{if(s!=="designer"||!i)return;C.preventDefault(),C.stopPropagation(),e();let A=h.current?.closest(".pdf-page");if(!A)return;d.current={startX:C.clientX,startY:C.clientY,fieldX:n.x,fieldY:n.y};let T=O=>{if(!d.current)return;let F=A.getBoundingClientRect(),U=(O.clientX-d.current.startX)/F.width*100,L=(O.clientY-d.current.startY)/F.height*100,k=Math.max(0,Math.min(100-n.width,d.current.fieldX+U)),G=Math.max(0,Math.min(100-n.height,d.current.fieldY+L));i(n.id,n.page,k,G)},D=()=>{d.current=null,window.removeEventListener("mousemove",T),window.removeEventListener("mouseup",D)};window.addEventListener("mousemove",T),window.addEventListener("mouseup",D)},[n,s,i,e]),E=(0,Nl.useCallback)(C=>{if(s!=="designer"||!r)return;C.preventDefault(),C.stopPropagation();let A=h.current?.closest(".pdf-page");if(!A)return;m.current={startX:C.clientX,startY:C.clientY,fieldW:n.width,fieldH:n.height};let T=O=>{if(!m.current)return;let F=A.getBoundingClientRect(),U=(O.clientX-m.current.startX)/F.width*100,L=(O.clientY-m.current.startY)/F.height*100,k=Math.max(2,Math.min(100-n.x,m.current.fieldW+U)),G=Math.max(1.5,Math.min(100-n.y,m.current.fieldH+L));r(n.id,k,G)},D=()=>{m.current=null,window.removeEventListener("mousemove",T),window.removeEventListener("mouseup",D)};window.addEventListener("mousemove",T),window.addEventListener("mouseup",D)},[n,s,r]);return(0,Ts.jsxs)("div",{ref:h,className:`field-overlay ${t?"selected":""} ${y?"editable":"readonly"} ${b?"prefilled":""}`,style:{left:`${n.x}%`,top:`${n.y}%`,width:`${n.width}%`,height:`${n.height}%`,borderColor:v,backgroundColor:t?`${v}22`:`${v}11`,cursor:s==="designer"?"move":"default"},onClick:C=>{C.stopPropagation(),e()},onMouseDown:x,children:[s==="designer"&&(0,Ts.jsx)("div",{className:"field-overlay-label",style:{backgroundColor:v},children:n.label}),c?c(n):(0,Ts.jsx)("div",{className:"field-overlay-placeholder",children:n.value||n.placeholder}),s==="designer"&&t&&(0,Ts.jsx)("div",{className:"field-resize-handle",onMouseDown:E})]})}var te=yn(Aa());function rP({field:n,signerRoles:t,onUpdate:e,onDelete:i}){let r=_o(n.assignee);return(0,te.jsxs)("div",{className:"field-property-panel",children:[(0,te.jsxs)("div",{className:"panel-header",children:[(0,te.jsx)("h3",{style:{color:r},children:n.label}),(0,te.jsx)("button",{onClick:()=>i(n.id),className:"panel-delete-btn",children:"Delete"})]}),(0,te.jsxs)("div",{className:"panel-field",children:[(0,te.jsx)("label",{children:"Label"}),(0,te.jsx)("input",{type:"text",value:n.label,onChange:s=>e(n.id,{label:s.target.value})})]}),(0,te.jsxs)("div",{className:"panel-field",children:[(0,te.jsx)("label",{children:"Field Type"}),(0,te.jsxs)("select",{value:n.type,onChange:s=>e(n.id,{type:s.target.value}),children:[(0,te.jsx)("option",{value:"text",children:"Text"}),(0,te.jsx)("option",{value:"signature",children:"Signature"}),(0,te.jsx)("option",{value:"signed-date",children:"Signed Date"}),(0,te.jsx)("option",{value:"checkbox",children:"Checkbox"}),(0,te.jsx)("option",{value:"initials",children:"Initials"})]})]}),n.type==="text"&&(0,te.jsxs)("div",{className:"panel-field",children:[(0,te.jsx)("label",{children:"Text Type"}),(0,te.jsxs)("select",{value:n.textSubtype||"freeform",onChange:s=>e(n.id,{textSubtype:s.target.value}),children:[(0,te.jsx)("option",{value:"freeform",children:"Freeform"}),(0,te.jsx)("option",{value:"number",children:"Number"}),(0,te.jsx)("option",{value:"date",children:"Date"}),(0,te.jsx)("option",{value:"email",children:"Email"}),(0,te.jsx)("option",{value:"phone",children:"Phone"})]})]}),(0,te.jsxs)("div",{className:"panel-field",children:[(0,te.jsx)("label",{children:"Assigned To"}),(0,te.jsx)("select",{value:n.assignee,onChange:s=>e(n.id,{assignee:s.target.value}),children:t.map(s=>(0,te.jsx)("option",{value:s,style:{color:_o(s)},children:s},s))})]}),(0,te.jsxs)("div",{className:"panel-field",children:[(0,te.jsx)("label",{children:"Placeholder"}),(0,te.jsx)("input",{type:"text",value:n.placeholder,onChange:s=>e(n.id,{placeholder:s.target.value})})]}),(0,te.jsx)("div",{className:"panel-field",children:(0,te.jsxs)("label",{className:"panel-checkbox-label",children:[(0,te.jsx)("input",{type:"checkbox",checked:n.required,onChange:s=>e(n.id,{required:s.target.checked})}),"Required"]})}),n.type!=="checkbox"&&(0,te.jsxs)("div",{className:"panel-field",children:[(0,te.jsx)("label",{children:"Font Size (pt)"}),(0,te.jsx)("input",{type:"number",min:"6",max:"72",value:n.fontSize,onChange:s=>e(n.id,{fontSize:Number(s.target.value)})})]}),(0,te.jsxs)("div",{className:"panel-field-group",children:[(0,te.jsxs)("div",{className:"panel-field",children:[(0,te.jsx)("label",{children:"Width (%)"}),(0,te.jsx)("input",{type:"number",min:"1",max:"100",step:"0.5",value:n.width,onChange:s=>e(n.id,{width:Number(s.target.value)})})]}),(0,te.jsxs)("div",{className:"panel-field",children:[(0,te.jsx)("label",{children:"Height (%)"}),(0,te.jsx)("input",{type:"number",min:"1",max:"100",step:"0.5",value:n.height,onChange:s=>e(n.id,{height:Number(s.target.value)})})]})]})]})}var yM=yn(Ir());var ao=yn(Aa());function oP({roles:n,activeRole:t,onSetActiveRole:e,onAddRole:i,onRemoveRole:r}){let[s,l]=(0,yM.useState)(!1),[c,h]=(0,yM.useState)(""),d=()=>{c.trim()&&(i(c.trim()),h(""),l(!1))};return(0,ao.jsxs)("div",{className:"signer-role-selector",children:[(0,ao.jsx)("div",{className:"signer-role-label",children:"Signer Roles"}),(0,ao.jsxs)("div",{className:"signer-role-list",children:[n.map(m=>(0,ao.jsxs)("button",{className:`signer-role-chip ${m===t?"active":""}`,style:{borderColor:_o(m),backgroundColor:m===t?_o(m):"transparent",color:m===t?"#fff":_o(m)},onClick:()=>e(m),children:[m,n.length>1&&m!=="Sender"&&(0,ao.jsx)("span",{className:"signer-role-remove",onClick:v=>{v.stopPropagation(),r(m)},children:"\xD7"})]},m)),s?(0,ao.jsxs)("div",{className:"signer-role-add-input",children:[(0,ao.jsx)("input",{type:"text",value:c,onChange:m=>h(m.target.value),onKeyDown:m=>m.key==="Enter"&&d(),placeholder:"Role name",autoFocus:!0}),(0,ao.jsx)("button",{onClick:d,children:"Add"}),(0,ao.jsx)("button",{onClick:()=>l(!1),children:"Cancel"})]}):(0,ao.jsx)("button",{className:"signer-role-add-btn",onClick:()=>l(!0),children:"+ Add Role"})]})]})}var wa=yn(Ir());var{PI:DZ}=Math,yv=DZ+1e-4,sP=.5,lP=[1,1];function uP(n,t,e,i=r=>r){return n*i(.5-t*(.5-e))}var{min:bM}=Math;function yP(n,t,e){let i=bM(1,t/e);return bM(1,n+(bM(1,1-i)-n)*(i*.275))}function RZ(n){return[-n[0],-n[1]]}function Cs(n,t){return[n[0]+t[0],n[1]+t[1]]}function cP(n,t,e){return n[0]=t[0]+e[0],n[1]=t[1]+e[1],n}function gc(n,t){return[n[0]-t[0],n[1]-t[1]]}function AM(n,t,e){return n[0]=t[0]-e[0],n[1]=t[1]-e[1],n}function mc(n,t){return[n[0]*t,n[1]*t]}function SM(n,t,e){return n[0]=t[0]*e,n[1]=t[1]*e,n}function OZ(n,t){return[n[0]/t,n[1]/t]}function bP(n){return[n[1],-n[0]]}function xM(n,t){let e=t[0];return n[0]=t[1],n[1]=-e,n}function fP(n,t){return n[0]*t[0]+n[1]*t[1]}function MZ(n,t){return n[0]===t[0]&&n[1]===t[1]}function _Z(n){return Math.hypot(n[0],n[1])}function hP(n,t){let e=n[0]-t[0],i=n[1]-t[1];return e*e+i*i}function SP(n){return OZ(n,_Z(n))}function FZ(n,t){return Math.hypot(n[1]-t[1],n[0]-t[0])}function wM(n,t,e){let i=Math.sin(e),r=Math.cos(e),s=n[0]-t[0],l=n[1]-t[1],c=s*r-l*i,h=s*i+l*r;return[c+t[0],h+t[1]]}function dP(n,t,e,i){let r=Math.sin(i),s=Math.cos(i),l=t[0]-e[0],c=t[1]-e[1],h=l*s-c*r,d=l*r+c*s;return n[0]=h+e[0],n[1]=d+e[1],n}function pP(n,t,e){return Cs(n,mc(gc(t,n),e))}function NZ(n,t,e,i){let r=e[0]-t[0],s=e[1]-t[1];return n[0]=t[0]+r*i,n[1]=t[1]+s*i,n}function xP(n,t,e){return Cs(n,mc(t,e))}var Yi=[0,0],dc=[0,0],pc=[0,0];function zZ(n,t){let e=xP(n,SP(bP(gc(n,Cs(n,[1,1])))),-t),i=[],r=1/13;for(let s=r;s<=1;s+=r)i.push(wM(e,n,yv*2*s));return i}function kZ(n,t,e){let i=[],r=1/e;for(let s=r;s<=1;s+=r)i.push(wM(t,n,yv*s));return i}function LZ(n,t,e){let i=gc(t,e),r=mc(i,.5),s=mc(i,.51);return[gc(n,r),gc(n,s),Cs(n,s),Cs(n,r)]}function UZ(n,t,e,i){let r=[],s=xP(n,t,e),l=1/i;for(let c=l;c<1;c+=l)r.push(wM(s,n,yv*3*c));return r}function BZ(n,t,e){return[Cs(n,mc(t,e)),Cs(n,mc(t,e*.99)),gc(n,mc(t,e*.99)),gc(n,mc(t,e))]}function mP(n,t,e){return n===!1||n===void 0?0:n===!0?Math.max(t,e):n}function PZ(n,t,e){return n.slice(0,10).reduce((i,r)=>{let s=r.pressure;return t&&(s=yP(i,r.distance,e)),(i+s)/2},n[0].pressure)}function HZ(n,t={}){let{size:e=16,smoothing:i=.5,thinning:r=.5,simulatePressure:s=!0,easing:l=V=>V,start:c={},end:h={},last:d=!1}=t,{cap:m=!0,easing:v=V=>V*(2-V)}=c,{cap:y=!0,easing:b=V=>--V*V*V+1}=h;if(n.length===0||e<=0)return[];let x=n[n.length-1].runningLength,E=mP(c.taper,e,x),C=mP(h.taper,e,x),A=(e*i)**2,T=[],D=[],O=PZ(n,s,e),F=uP(e,r,n[n.length-1].pressure,l),U,L=n[0].vector,k=n[0].point,G=k,q=k,Z=G,J=!1;for(let V=0;V<n.length;V++){let{pressure:lt}=n[V],{point:dt,vector:re,distance:tt,runningLength:gt}=n[V],bt=V===n.length-1;if(!bt&&x-gt<3)continue;r?(s&&(lt=yP(O,tt,e)),F=uP(e,r,lt,l)):F=e/2,U===void 0&&(U=F);let Pt=gt<E?v(gt/E):1,mn=x-gt<C?b((x-gt)/C):1;F=Math.max(.01,F*Math.min(Pt,mn));let Ye=(bt?n[V]:n[V+1]).vector,Et=bt?1:fP(re,Ye),Ke=fP(re,L)<0&&!J,Ln=Et!==null&&Et<0;if(Ke||Ln){xM(Yi,L),SM(Yi,Yi,F);for(let Ei=0;Ei<=1;Ei+=.07692307692307693)AM(dc,dt,Yi),dP(dc,dc,dt,yv*Ei),q=[dc[0],dc[1]],T.push(q),cP(pc,dt,Yi),dP(pc,pc,dt,yv*-Ei),Z=[pc[0],pc[1]],D.push(Z);k=q,G=Z,Ln&&(J=!0);continue}if(J=!1,bt){xM(Yi,re),SM(Yi,Yi,F),T.push(gc(dt,Yi)),D.push(Cs(dt,Yi));continue}NZ(Yi,Ye,re,Et),xM(Yi,Yi),SM(Yi,Yi,F),AM(dc,dt,Yi),q=[dc[0],dc[1]],(V<=1||hP(k,q)>A)&&(T.push(q),k=q),cP(pc,dt,Yi),Z=[pc[0],pc[1]],(V<=1||hP(G,Z)>A)&&(D.push(Z),G=Z),O=lt,L=re}let nt=[n[0].point[0],n[0].point[1]],ot=n.length>1?[n[n.length-1].point[0],n[n.length-1].point[1]]:Cs(n[0].point,[1,1]),B=[],X=[];if(n.length===1){if(!(E||C)||d)return zZ(nt,U||F)}else{E||C&&n.length===1||(m?B.push(...kZ(nt,D[0],13)):B.push(...LZ(nt,T[0],D[0])));let V=bP(RZ(n[n.length-1].vector));C||E&&n.length===1?X.push(ot):y?X.push(...UZ(ot,V,F,29)):X.push(...BZ(ot,V,F))}return T.concat(X,D.reverse(),B)}var gP=[0,0];function vP(n){return n!=null&&n>=0}function jZ(n,t={}){let{streamline:e=.5,size:i=16,last:r=!1}=t;if(n.length===0)return[];let s=.15+(1-e)*.85,l=Array.isArray(n[0])?n:n.map(({x:y,y:b,pressure:x=sP})=>[y,b,x]);if(l.length===2){let y=l[1];l=l.slice(0,-1);for(let b=1;b<5;b++)l.push(pP(l[0],y,b/4))}l.length===1&&(l=[...l,[...Cs(l[0],lP),...l[0].slice(2)]]);let c=[{point:[l[0][0],l[0][1]],pressure:vP(l[0][2])?l[0][2]:.25,vector:[...lP],distance:0,runningLength:0}],h=!1,d=0,m=c[0],v=l.length-1;for(let y=1;y<l.length;y++){let b=r&&y===v?[l[y][0],l[y][1]]:pP(m.point,l[y],s);if(MZ(m.point,b))continue;let x=FZ(b,m.point);if(d+=x,y<v&&!h){if(d<i)continue;h=!0}AM(gP,m.point,b),m={point:b,pressure:vP(l[y][2])?l[y][2]:sP,vector:SP(gP),distance:x,runningLength:d},c.push(m)}return c[0].vector=c[1]?.vector||[0,0],c}function AP(n,t={}){return HZ(jZ(n,t),t)}var oh=yn(Aa());function qZ(n){if(!n.length)return"";let t=n.reduce((e,[i,r],s,l)=>{let[c,h]=l[(s+1)%l.length];return e.push(i,r,(i+c)/2,(r+h)/2),e},["M",...n[0],"Q"]);return t.push("Z"),t.join(" ")}function bA({width:n=400,height:t=150,onSign:e,initialValue:i,className:r}){let s=(0,wa.useRef)(null),[l,c]=(0,wa.useState)([]),[h,d]=(0,wa.useState)(null),[m,v]=(0,wa.useState)(!i);(0,wa.useEffect)(()=>{if(i&&s.current){let A=s.current.getContext("2d"),T=new Image;T.onload=()=>{A.clearRect(0,0,n,t),A.drawImage(T,0,0,n,t)},T.src=i}},[i,n,t]),(0,wa.useEffect)(()=>{let A=s.current;if(!A)return;let T=A.getContext("2d");T.clearRect(0,0,n,t);let D=h?[...l,h]:l;for(let O of D){let F=AP(O,{size:3,thinning:.5,smoothing:.5,streamline:.5}),U=qZ(F),L=new Path2D(U);T.fillStyle="#000",T.fill(L)}},[l,h,n,t]);let y=(0,wa.useCallback)(A=>{let T=s.current.getBoundingClientRect();return[A.clientX-T.left,A.clientY-T.top,A.pressure]},[]),b=(0,wa.useCallback)(A=>{A.preventDefault(),A.target.setPointerCapture(A.pointerId),d([y(A)])},[y]),x=(0,wa.useCallback)(A=>{h&&(A.preventDefault(),d([...h,y(A)]))},[h,y]),E=(0,wa.useCallback)(()=>{h&&(c(A=>[...A,h]),d(null),v(!1),requestAnimationFrame(()=>{s.current&&e(s.current.toDataURL("image/png"))}))},[h,e]),C=(0,wa.useCallback)(()=>{c([]),d(null),v(!0);let A=s.current;A&&(A.getContext("2d").clearRect(0,0,n,t),e(""))},[n,t,e]);return(0,oh.jsxs)("div",{className:`signature-canvas-wrapper ${r||""}`,children:[(0,oh.jsx)("canvas",{ref:s,width:n,height:t,className:"signature-canvas",onPointerDown:b,onPointerMove:x,onPointerUp:E,style:{touchAction:"none"}}),(0,oh.jsxs)("div",{className:"signature-canvas-actions",children:[!m&&(0,oh.jsx)("button",{type:"button",onClick:C,className:"signature-clear-btn",children:"Clear"}),m&&(0,oh.jsx)("span",{className:"signature-hint",children:"Draw your signature above"})]})]})}var Kt=yn(Aa());function wP({initialPdfUrl:n,initialTemplate:t,onSave:e}={}){let[i,r]=(0,kn.useState)([]),[s,l]=(0,kn.useState)(t?.fields??[]),[c,h]=(0,kn.useState)(null),[d,m]=(0,kn.useState)(t?.signerRoles??[...RB]),[v,y]=(0,kn.useState)("Sender"),[b,x]=(0,kn.useState)("text"),[E,C]=(0,kn.useState)(!1),[A,T]=(0,kn.useState)(null);(0,kn.useEffect)(()=>{let B=n||t?.pdfUrl;if(B){D(B);return}let V=new URLSearchParams(window.location.search).get("pdf");V&&D(V);let lt=dt=>{dt.data?.type==="load-pdf"&&dt.data.url&&D(dt.data.url),dt.data?.type==="load-template"&&(dt.data.fields&&l(dt.data.fields),dt.data.signerRoles&&m(dt.data.signerRoles),dt.data.pdfUrl&&D(dt.data.pdfUrl))};return window.addEventListener("message",lt),()=>window.removeEventListener("message",lt)},[n,t]);let D=(0,kn.useCallback)(async B=>{C(!0);try{let X=await mA(B);r(X),T(B)}catch(X){console.error("Failed to load PDF:",X)}finally{C(!1)}},[]),O=(0,kn.useCallback)(B=>{let X=B.target.files?.[0];if(!X)return;let V=new FileReader;V.onload=()=>{V.result&&D(V.result)},V.readAsArrayBuffer(X)},[D]),F=(0,kn.useCallback)((B,X,V)=>{let lt=OB(b,v,B,X,V);l(dt=>[...dt,lt]),h(lt.id)},[b,v]),U=(0,kn.useCallback)((B,X,V,lt)=>{l(dt=>dt.map(re=>re.id===B?{...re,page:X,x:V,y:lt}:re))},[]),L=(0,kn.useCallback)((B,X,V)=>{l(lt=>lt.map(dt=>dt.id===B?{...dt,width:X,height:V}:dt))},[]),k=(0,kn.useCallback)((B,X)=>{l(V=>V.map(lt=>lt.id===B?{...lt,...X}:lt))},[]),G=(0,kn.useCallback)(B=>{l(X=>X.filter(V=>V.id!==B)),c===B&&h(null)},[c]),q=(0,kn.useCallback)(B=>{d.includes(B)||m(X=>[...X,B])},[d]),Z=(0,kn.useCallback)(B=>{m(X=>X.filter(V=>V!==B)),l(X=>X.map(V=>V.assignee===B?{...V,assignee:d[0]}:V)),v===B&&y(d[0])},[d,v]),J=(0,kn.useCallback)(()=>{let B={fields:s,signerRoles:d,pdfUrl:typeof A=="string"?A:""};if(e)e(B);else{let X=JSON.stringify(B,null,2),V=new Blob([X],{type:"application/json"}),lt=URL.createObjectURL(V),dt=document.createElement("a");dt.href=lt,dt.download="template.json",dt.click(),URL.revokeObjectURL(lt)}window.parent?.postMessage({type:"template-saved",template:B},"*")},[s,d,A,e]),nt=s.find(B=>B.id===c)||null,ot=(0,kn.useCallback)(B=>(B.type==="signature"||B.type==="initials")&&B.value?(0,Kt.jsx)("img",{src:B.value,alt:B.label,className:"field-signature-preview"}):(0,Kt.jsx)("div",{className:"field-overlay-placeholder",children:B.value||B.placeholder}),[]);return(0,Kt.jsxs)("div",{className:"designer-layout",children:[(0,Kt.jsxs)("div",{className:"designer-toolbar",children:[(0,Kt.jsxs)("div",{className:"toolbar-left",children:[!i.length&&(0,Kt.jsxs)("label",{className:"upload-btn",children:["Upload PDF",(0,Kt.jsx)("input",{type:"file",accept:".pdf",onChange:O,hidden:!0})]}),i.length>0&&(0,Kt.jsxs)(Kt.Fragment,{children:[(0,Kt.jsxs)("label",{className:"upload-btn upload-btn-small",children:["Change PDF",(0,Kt.jsx)("input",{type:"file",accept:".pdf",onChange:O,hidden:!0})]}),(0,Kt.jsx)("div",{className:"field-type-selector",children:["text","signature","signed-date","checkbox","initials"].map(B=>(0,Kt.jsx)("button",{className:`field-type-btn ${b===B?"active":""}`,onClick:()=>x(B),children:B==="text"?"Text":B==="signature"?"Signature":B==="signed-date"?"Date":B==="checkbox"?"Checkbox":"Initials"},B))})]})]}),(0,Kt.jsx)("div",{className:"toolbar-right",children:i.length>0&&(0,Kt.jsx)("button",{onClick:J,className:"export-btn",children:"Export Template"})})]}),i.length>0&&(0,Kt.jsx)(oP,{roles:d,activeRole:v,onSetActiveRole:y,onAddRole:q,onRemoveRole:Z}),(0,Kt.jsxs)("div",{className:"designer-content",children:[(0,Kt.jsxs)("div",{className:"designer-pdf-area",children:[E&&(0,Kt.jsx)("div",{className:"loading-indicator",children:"Loading PDF..."}),!i.length&&!E&&(0,Kt.jsxs)("div",{className:"empty-state",children:[(0,Kt.jsx)("h2",{children:"Upload a PDF to get started"}),(0,Kt.jsx)("p",{children:"Upload a template PDF, then click on the page to place form fields."}),(0,Kt.jsxs)("label",{className:"upload-btn upload-btn-large",children:["Choose PDF File",(0,Kt.jsx)("input",{type:"file",accept:".pdf",onChange:O,hidden:!0})]})]}),i.length>0&&(0,Kt.jsx)(yA,{pages:i,fields:s,selectedFieldId:c,onSelectField:h,onFieldMove:U,onFieldResize:L,onPageClick:F,mode:"designer",renderFieldContent:ot})]}),(0,Kt.jsxs)("div",{className:"designer-panel",children:[nt?(0,Kt.jsxs)(Kt.Fragment,{children:[(0,Kt.jsx)(rP,{field:nt,signerRoles:d,onUpdate:k,onDelete:G}),nt.assignee===v&&(0,Kt.jsxs)("div",{className:"prefill-section",children:[(0,Kt.jsx)("h4",{children:"Pre-fill Value"}),nt.type==="signature"||nt.type==="initials"?(0,Kt.jsx)(bA,{width:300,height:nt.type==="initials"?100:150,onSign:B=>k(nt.id,{value:B}),initialValue:nt.value}):nt.type==="checkbox"?(0,Kt.jsxs)("label",{className:"panel-checkbox-label",children:[(0,Kt.jsx)("input",{type:"checkbox",checked:nt.value==="true",onChange:B=>k(nt.id,{value:B.target.checked?"true":""})}),"Checked"]}):(0,Kt.jsx)("input",{type:nt.textSubtype==="email"?"email":nt.textSubtype==="number"?"number":nt.textSubtype==="phone"?"tel":nt.textSubtype==="date"?"date":"text",value:nt.value,onChange:B=>k(nt.id,{value:B.target.value}),placeholder:`Pre-fill ${nt.label}`,className:"prefill-input"})]})]}):(0,Kt.jsx)("div",{className:"panel-empty",children:i.length>0?"Click on the PDF to place a field, or select an existing field to edit its properties.":"Upload a PDF to begin designing your template."}),s.length>0&&(0,Kt.jsxs)("div",{className:"field-list",children:[(0,Kt.jsxs)("h4",{children:["All Fields (",s.length,")"]}),s.map((B,X)=>(0,Kt.jsxs)("div",{className:`field-list-item ${B.id===c?"active":""}`,onClick:()=>h(B.id),children:[(0,Kt.jsx)("span",{className:"field-list-dot",style:{backgroundColor:_o(B.assignee)}}),(0,Kt.jsx)("span",{className:"field-list-name",children:B.label}),(0,Kt.jsxs)("span",{className:"field-list-page",children:["p",B.page+1]}),B.required&&(0,Kt.jsx)("span",{className:"field-list-required",children:"*"})]},B.id))]})]})]}),(0,Kt.jsxs)("div",{className:"powered-by",children:["Powered by ",(0,Kt.jsx)("a",{href:"https://exeq.org",target:"_blank",rel:"noopener noreferrer",children:"Exeq.org"})]})]})}var pi=yn(Ir());var EM=function(n,t){return EM=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var r in i)i.hasOwnProperty(r)&&(e[r]=i[r])},EM(n,t)};function at(n,t){EM(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var Ht=function(){return Ht=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++){e=arguments[i];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])}return t},Ht.apply(this,arguments)};function EP(n,t){var e={};for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&t.indexOf(i)<0&&(e[i]=n[i]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,i=Object.getOwnPropertySymbols(n);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(n,i[r])&&(e[i[r]]=n[i[r]]);return e}function Rt(n,t,e,i){function r(s){return s instanceof e?s:new e(function(l){l(s)})}return new(e||(e=Promise))(function(s,l){function c(m){try{d(i.next(m))}catch(v){l(v)}}function h(m){try{d(i.throw(m))}catch(v){l(v)}}function d(m){m.done?s(m.value):r(m.value).then(c,h)}d((i=i.apply(n,t||[])).next())})}function Ot(n,t){var e={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(d){return function(m){return h([d,m])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;e;)try{if(i=1,r&&(s=d[0]&2?r.return:d[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,d[1])).done)return s;switch(r=0,s&&(d=[d[0]&2,s.value]),d[0]){case 0:case 1:s=d;break;case 4:return e.label++,{value:d[1],done:!1};case 5:e.label++,r=d[1],d=[0];continue;case 7:d=e.ops.pop(),e.trys.pop();continue;default:if(s=e.trys,!(s=s.length>0&&s[s.length-1])&&(d[0]===6||d[0]===2)){e=0;continue}if(d[0]===3&&(!s||d[1]>s[0]&&d[1]<s[3])){e.label=d[1];break}if(d[0]===6&&e.label<s[1]){e.label=s[1],s=d;break}if(s&&e.label<s[2]){e.label=s[2],e.ops.push(d);break}s[2]&&e.ops.pop(),e.trys.pop();continue}d=t.call(n,e)}catch(m){d=[6,m],r=0}finally{i=s=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function fe(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;for(var i=Array(n),r=0,t=0;t<e;t++)for(var s=arguments[t],l=0,c=s.length;l<c;l++,r++)i[r]=s[l];return i}var kp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Sv=new Uint8Array(256);for(bv=0;bv<kp.length;bv++)Sv[kp.charCodeAt(bv)]=bv;var bv,CP=function(n){for(var t="",e=n.length,i=0;i<e;i+=3)t+=kp[n[i]>>2],t+=kp[(n[i]&3)<<4|n[i+1]>>4],t+=kp[(n[i+1]&15)<<2|n[i+2]>>6],t+=kp[n[i+2]&63];return e%3===2?t=t.substring(0,t.length-1)+"=":e%3===1&&(t=t.substring(0,t.length-2)+"=="),t},TP=function(n){var t=n.length*.75,e=n.length,i,r=0,s,l,c,h;n[n.length-1]==="="&&(t--,n[n.length-2]==="="&&t--);var d=new Uint8Array(t);for(i=0;i<e;i+=4)s=Sv[n.charCodeAt(i)],l=Sv[n.charCodeAt(i+1)],c=Sv[n.charCodeAt(i+2)],h=Sv[n.charCodeAt(i+3)],d[r++]=s<<2|l>>4,d[r++]=(l&15)<<4|c>>2,d[r++]=(c&3)<<6|h&63;return d},VZ=/^(data)?:?([\w\/\+]+)?;?(charset=[\w-]+|base64)?.*,/i,DP=function(n){var t=n.trim(),e=t.substring(0,100),i=e.match(VZ);if(!i)return TP(t);var r=i[0],s=t.substring(r.length);return TP(s)};var Vt=function(n){return n.charCodeAt(0)},RP=function(n){return n.codePointAt(0)},zl=function(n,t){return Cr(n.toString(16),t,"0").toUpperCase()},vc=function(n){return zl(n,2)},Tr=function(n){return String.fromCharCode(n)},OP=function(n){return Tr(parseInt(n,16))},Cr=function(n,t,e){for(var i="",r=0,s=t-n.length;r<s;r++)i+=e;return i+n},rn=function(n,t,e){for(var i=n.length,r=0;r<i;r++)t[e++]=n.charCodeAt(r);return i};var GZ=function(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},sh=function(n){return n.replace(/\t|\u0085|\u2028|\u2029/g," ").replace(/[\b\v]/g,"")},IZ=["\\n","\\f","\\r","\\u000B"];var MP=function(n){return/^[\n\f\r\u000B]$/.test(n)},SA=function(n){return n.split(/[\n\f\r\u000B]/)},TM=function(n){return n.replace(/[\n\f\r\u000B]/g," ")},CM=function(n,t){var e=n.charCodeAt(t),i,r=t+1,s=1;return e>=55296&&e<=56319&&n.length>r&&(i=n.charCodeAt(r),i>=56320&&i<=57343&&(s=2)),[n.slice(t,t+s),s]},_P=function(n){for(var t=[],e=0,i=n.length;e<i;){var r=CM(n,e),s=r[0],l=r[1];t.push(s),e+=l}return t},XZ=function(n){for(var t=IZ.join("|"),e=["$"],i=0,r=n.length;i<r;i++){var s=n[i];if(MP(s))throw new TypeError("`wordBreak` must not include "+t);e.push(s===""?".":GZ(s))}var l=e.join("|");return new RegExp("("+t+")|((.*?)("+l+"))","gm")},FP=function(n,t,e,i){for(var r=XZ(t),s=sh(n).match(r),l="",c=0,h=[],d=function(){l!==""&&h.push(l),l="",c=0},m=0,v=s.length;m<v;m++){var y=s[m];if(MP(y))d();else{var b=i(y);c+b>e&&d(),l+=y,c+=b}}return d(),h},YZ=/^D:(\d\d\d\d)(\d\d)?(\d\d)?(\d\d)?(\d\d)?(\d\d)?([+\-Z])?(\d\d)?'?(\d\d)?'?$/,xA=function(n){var t=n.match(YZ);if(t){var e=t[1],i=t[2],r=i===void 0?"01":i,s=t[3],l=s===void 0?"01":s,c=t[4],h=c===void 0?"00":c,d=t[5],m=d===void 0?"00":d,v=t[6],y=v===void 0?"00":v,b=t[7],x=b===void 0?"Z":b,E=t[8],C=E===void 0?"00":E,A=t[9],T=A===void 0?"00":A,D=x==="Z"?"Z":""+x+C+":"+T,O=new Date(e+"-"+r+"-"+l+"T"+h+":"+m+":"+y+D);return O}},xv=function(n,t){for(var e,i=0,r;i<n.length;){var s=n.substring(i).match(t);if(!s)return{match:r,pos:i};r=s,i+=((e=s.index)!==null&&e!==void 0?e:0)+s[0].length}return{match:r,pos:i}};var Lp=function(n){return n[n.length-1]},AA=function(n){if(n instanceof Uint8Array)return n;for(var t=n.length,e=new Uint8Array(t),i=0;i<t;i++)e[i]=n.charCodeAt(i);return e},NP=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];for(var e=n.length,i=[],r=0;r<e;r++){var s=n[r];i[r]=s instanceof Uint8Array?s:AA(s)}for(var l=0,r=0;r<e;r++)l+=n[r].length;for(var c=new Uint8Array(l),h=0,d=0;d<e;d++)for(var m=i[d],v=0,y=m.length;v<y;v++)c[h++]=m[v];return c},zP=function(n){for(var t=0,e=0,i=n.length;e<i;e++)t+=n[e].length;for(var r=new Uint8Array(t),s=0,e=0,i=n.length;e<i;e++){var l=n[e];r.set(l,s),s+=l.length}return r},wA=function(n){for(var t="",e=0,i=n.length;e<i;e++)t+=Tr(n[e]);return t},kP=function(n,t){return n.id-t.id},LP=function(n,t){for(var e=[],i=0,r=n.length;i<r;i++){var s=n[i],l=n[i-1];(i===0||t(s)!==t(l))&&e.push(s)}return e},lh=function(n){for(var t=n.length,e=0,i=Math.floor(t/2);e<i;e++){var r=e,s=t-e-1,l=n[e];n[r]=n[s],n[s]=l}return n},UP=function(n){for(var t=0,e=0,i=n.length;e<i;e++)t+=n[e];return t},BP=function(n,t){for(var e=new Array(t-n),i=0,r=e.length;i<r;i++)e[i]=n+i;return e},PP=function(n,t){for(var e=new Array(t.length),i=0,r=t.length;i<r;i++)e[i]=n[t[i]];return e},HP=function(n){return n instanceof Uint8Array||n instanceof ArrayBuffer||typeof n=="string"},Up=function(n){if(typeof n=="string")return DP(n);if(n instanceof ArrayBuffer)return new Uint8Array(n);if(n instanceof Uint8Array)return n;throw new TypeError("`input` must be one of `string | ArrayBuffer | Uint8Array`")};var Ds=function(){return new Promise(function(n){setTimeout(function(){return n()},0)})};var VP=function(n,t){t===void 0&&(t=!0);var e=[];t&&e.push(65279);for(var i=0,r=n.length;i<r;){var s=n.codePointAt(i);if(s<65536)e.push(s),i+=1;else if(s<1114112)e.push(DM(s),RM(s)),i+=2;else throw new Error("Invalid code point: 0x"+vc(s))}return new Uint16Array(e)},GP=function(n){return n>=0&&n<=65535},IP=function(n){return n>=65536&&n<=1114111},DM=function(n){return Math.floor((n-65536)/1024)+55296},RM=function(n){return(n-65536)%1024+56320},yc;(function(n){n.BigEndian="BigEndian",n.LittleEndian="LittleEndian"})(yc||(yc={}));var Av="\uFFFD".codePointAt(0),EA=function(n,t){if(t===void 0&&(t=!0),n.length<=1)return String.fromCodePoint(Av);for(var e=t?ZZ(n):yc.BigEndian,i=t?2:0,r=[];n.length-i>=2;){var s=qP(n[i++],n[i++],e);if(KZ(s))if(n.length-i<2)r.push(Av);else{var l=qP(n[i++],n[i++],e);jP(l)?r.push(s,l):r.push(Av)}else jP(s)?(i+=2,r.push(Av)):r.push(s)}return i<n.length&&r.push(Av),String.fromCodePoint.apply(String,r)},KZ=function(n){return n>=55296&&n<=56319},jP=function(n){return n>=56320&&n<=57343},qP=function(n,t,e){if(e===yc.LittleEndian)return t<<8|n;if(e===yc.BigEndian)return n<<8|t;throw new Error("Invalid byteOrder: "+e)},ZZ=function(n){return XP(n)?yc.BigEndian:YP(n)?yc.LittleEndian:yc.BigEndian},XP=function(n){return n[0]===254&&n[1]===255},YP=function(n){return n[0]===255&&n[1]===254},TA=function(n){return XP(n)||YP(n)};var KP=function(n){var t=String(n);if(Math.abs(n)<1){var e=parseInt(n.toString().split("e-")[1]);if(e){var i=n<0;i&&(n*=-1),n*=Math.pow(10,e-1),t="0."+new Array(e).join("0")+n.toString().substring(2),i&&(t="-"+t)}}else{var e=parseInt(n.toString().split("+")[1]);e>20&&(e-=20,n/=Math.pow(10,e),t=n.toString()+new Array(e+1).join("0"))}return t},wv=function(n){return Math.ceil(n.toString(2).length/8)},uh=function(n){for(var t=new Uint8Array(wv(n)),e=1;e<=t.length;e++)t[e-1]=n>>(t.length-e)*8;return t};var ch=function(n){throw new Error(n)};var L7=yn(Hv()),k7="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qv=new Uint8Array(256);for(jv=0;jv<k7.length;jv++)qv[k7.charCodeAt(jv)]=jv;var jv,qQ=function(n){var t=n.length*.75,e=n.length,i,r=0,s,l,c,h;n[n.length-1]==="="&&(t--,n[n.length-2]==="="&&t--);var d=new Uint8Array(t);for(i=0;i<e;i+=4)s=qv[n.charCodeAt(i)],l=qv[n.charCodeAt(i+1)],c=qv[n.charCodeAt(i+2)],h=qv[n.charCodeAt(i+3)],d[r++]=s<<2|l>>4,d[r++]=(l&15)<<4|c>>2,d[r++]=(c&3)<<6|h&63;return d},VQ=function(n){for(var t="",e=0;e<n.length;e++)t+=String.fromCharCode(n[e]);return t},qA=function(n){return VQ(L7.default.inflate(qQ(n)))},U7=function(n,t,e){for(var i="",r=0,s=t-n.length;r<s;r++)i+=e;return i+n};var B7="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+NbMnlToZFAVEFkQ3iABW2uG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iZw6CzVSFCfUSGZFNjIldoKDkonTKQiJIGzWmFd3BizJJ9SINoLDriOfUCOZS+zg+KGD1qGiLNMLxtJD1/ns00ON6EzyUCM6vbxhoBKaqbG3DFQCNiL1iHccBPV0DHhQH/JW8EW90dkyFKGywCJU0WkVSvSGeiSUODWFFD0HYdPQVoiRgfPMA+/nnRgiAyNYSjpWNQcNSMrtFCUH4ZIRpSCWocFCSuhCEY6hoUClc0WC52BJlCYYLQdhN+hygRRRlo5BKRRLS6oihSqh+ZzzRGG1Mo4Iz1LoP0qsxDGFzk0JE42ji0jCPejomJKCuwil4m5CiRMEUMVSzVLDUstSx1Juc0oVWMpqY295qVltmtWmWW2a1aZZbZrVplltmtWmWW2G1WZYbYbVZlhthtVmWG2G1WZYbYbVZlhtltVmWW2W1WZZbZbVZlltltVmWW2W1QYjQCh7E2aAQHeGhCFgPoNoy8KNb2wxBhmGKBxoUZXlLGsLI6AsftEDHV0wIURVbANLcTKlGGBIKPOAxCmhePCKUwFzAmpDFRQvjA9R06Hq8TONvshgKDCuRAZTXigUxjxNFfKRo3CLhnIJBMFRvMZpqpNBMlQJzGT5WFQMVQI/AikPMIhEU1aDjqJvQwmjSHB05cC9jbYwc5UtAHNLhDw41ha+lEqF4JaH3gmB61SYcqInxTDmQK8v08vjqv4zDf1N0w3Lf4A8/vwPpfK11w==";var aJ={Courier:j7,"Courier-Bold":B7,"Courier-Oblique":H7,"Courier-BoldOblique":P7,Helvetica:I7,"Helvetica-Bold":q7,"Helvetica-Oblique":G7,"Helvetica-BoldOblique":V7,"Times-Roman":Z7,"Times-Bold":X7,"Times-Italic":K7,"Times-BoldItalic":Y7,Symbol:W7,ZapfDingbats:Q7},bh;(function(n){n.Courier="Courier",n.CourierBold="Courier-Bold",n.CourierOblique="Courier-Oblique",n.CourierBoldOblique="Courier-BoldOblique",n.Helvetica="Helvetica",n.HelveticaBold="Helvetica-Bold",n.HelveticaOblique="Helvetica-Oblique",n.HelveticaBoldOblique="Helvetica-BoldOblique",n.TimesRoman="Times-Roman",n.TimesRomanBold="Times-Bold",n.TimesRomanItalic="Times-Italic",n.TimesRomanBoldItalic="Times-BoldItalic",n.Symbol="Symbol",n.ZapfDingbats="ZapfDingbats"})(bh||(bh={}));var J7={},$7=(function(){function n(){var t=this;this.getWidthOfGlyph=function(e){return t.CharWidths[e]},this.getXAxisKerningForPair=function(e,i){return(t.KernPairXAmounts[e]||{})[i]}}return n.load=function(t){var e=J7[t];if(e)return e;var i=qA(aJ[t]),r=Object.assign(new n,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],h=l[1],d=l[2];return s[c]||(s[c]={}),s[c][h]=d,s},{}),J7[t]=r,r},n})();var tj="eJztWsuy48iN/Ret74KZfHtX47meqfGjPHaXx4/wgpJ4JbooUU1JVXXb0f9u4JwESF13R7TD29koIpFi8gCJBHDA/Pvm+nraTuPmZ3/f5HHzs7/k8WlzvXS7fvPXp02eqyR/2vRfd2N3gqhUUfm0Od9P236+DoczxLWK66fNpZ93/fkGWaOy5mnTnUR67c57lRaZSItM/tnN/XnsX/DfIqg0JOk8HI4UK4BCAFzG+xWCQgXF02Y3nU4dJJVKKrx5mPgKBVMImOvYXY+QKJRCoHzXzxMErQrap810hqaloioF1e0L5kvFUwqe23Hu+Q+1TinWeZnuMwSKrRRsL8Nn/kOxlYLtOnzFWE1Viqmu/eceVioVaylYe1OwVKilQD0PCYgiLRtVcJz4kEItW13mNLi0UsCVAB77KyxTKeJKEPff3rsREkVcCeLD3He3HqArBV0J6G/v/fU2cK1WH23l0e3c7T71N9uUVv/c5i73bWlVs1Y0u5/3srO7aQb2EPUB+eUTva0TYgG5mGbbzZSUkJTpn75ygF4PThhq1SMGMds4HYZdN54n/rdWc8rv02bfH9I2hbqGsKbPnIYzHSc0qmTIxI6nuwpiAIQmU8F4Gy7jK8RwntAI1v3wedj39FmFECp508s4zUOyGmwpK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ZK/+5JOLOulSqwaw5VJr2vB8dSFn89fvv/8H0oq1dA==";var oJ=qA(tj),u_=JSON.parse(oJ),c_=(function(){function n(t,e){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"+U7(r.toString(16),4,"0"),h=i.name+' cannot encode "'+l+'" ('+c+")";throw new Error(h)}return{code:s[0],name:s[1]}},this.name=t,this.supportedCodePoints=Object.keys(e).map(Number).sort(function(r,s){return r-s}),this.unicodeMappings=e}return n})(),Vv={Symbol:new c_("Symbol",u_.symbol),ZapfDingbats:new c_("ZapfDingbats",u_.zapfdingbats),WinAnsi:new c_("WinAnsi",u_.win1252)};var Gv=function(n){return Object.keys(n).map(function(t){return n[t]})},sJ=Gv(bh),f_=function(n){return sJ.includes(n)},Iv=function(n,t){return n.x===t.x&&n.y===t.y&&n.width===t.width&&n.height===t.height};var Ai=function(n){return"`"+n+"`"},lJ=function(n){return"'"+n+"'"},ej=function(n){var t=typeof n;return t==="string"?lJ(n):t==="undefined"?Ai(n):n},uJ=function(n,t,e){for(var i=new Array(e.length),r=0,s=e.length;r<s;r++){var l=e[r];i[r]=ej(l)}var c=i.join(" or ");return Ai(t)+" must be one of "+c+", but was actually "+ej(n)},Lo=function(n,t,e){Array.isArray(e)||(e=Gv(e));for(var i=0,r=e.length;i<r;i++)if(n===e[i])return;throw new TypeError(uJ(n,t,e))},Ka=function(n,t,e){Array.isArray(e)||(e=Gv(e)),Lo(n,t,e.concat(void 0))},nj=function(n,t,e){Array.isArray(e)||(e=Gv(e));for(var i=0,r=n.length;i<r;i++)Lo(n[i],t,e)},cJ=function(n){return n===null?"null":n===void 0?"undefined":typeof n=="string"?"string":isNaN(n)?"NaN":typeof n=="number"?"number":typeof n=="boolean"?"boolean":typeof n=="symbol"?"symbol":typeof n=="bigint"?"bigint":n.constructor&&n.constructor.name?n.constructor.name:n.name?n.name:n.constructor?String(n.constructor):String(n)},fJ=function(n,t){return t==="null"?n===null:t==="undefined"?n===void 0:t==="string"?typeof n=="string":t==="number"?typeof n=="number"&&!isNaN(n):t==="boolean"?typeof n=="boolean":t==="symbol"?typeof n=="symbol":t==="bigint"?typeof n=="bigint":t===Date?n instanceof Date:t===Array?n instanceof Array:t===Uint8Array?n instanceof Uint8Array:t===ArrayBuffer?n instanceof ArrayBuffer:t===Function?n instanceof Function:n instanceof t[0]},hJ=function(n,t,e){for(var i=new Array(e.length),r=0,s=e.length;r<s;r++){var l=e[r];l==="null"&&(i[r]=Ai("null")),l==="undefined"&&(i[r]=Ai("undefined")),l==="string"?i[r]=Ai("string"):l==="number"?i[r]=Ai("number"):l==="boolean"?i[r]=Ai("boolean"):l==="symbol"?i[r]=Ai("symbol"):l==="bigint"?i[r]=Ai("bigint"):l===Array?i[r]=Ai("Array"):l===Uint8Array?i[r]=Ai("Uint8Array"):l===ArrayBuffer?i[r]=Ai("ArrayBuffer"):i[r]=Ai(l[1])}var c=i.join(" or ");return Ai(t)+" must be of type "+c+", but was actually of type "+Ai(cJ(n))},W=function(n,t,e){for(var i=0,r=e.length;i<r;i++)if(fJ(n,e[i]))return;throw new TypeError(hJ(n,t,e))},ut=function(n,t,e){W(n,t,e.concat("undefined"))},VA=function(n,t,e){for(var i=0,r=n.length;i<r;i++)W(n[i],t,e)},aa=function(n,t,e,i){if(W(n,t,["number"]),W(e,"min",["number"]),W(i,"max",["number"]),i=Math.max(e,i),n<e||n>i)throw new Error(Ai(t)+" must be at least "+e+" and at most "+i+", but was actually "+n)},Rr=function(n,t,e,i){W(n,t,["number","undefined"]),typeof n=="number"&&aa(n,t,e,i)},GA=function(n,t,e){if(W(n,t,["number"]),n%e!==0)throw new Error(Ai(t)+" must be a multiple of "+e+", but was actually "+n)},ij=function(n,t){if(!Number.isInteger(n))throw new Error(Ai(t)+" must be an integer, but was actually "+n)},Tc=function(n,t){if(![1,0].includes(Math.sign(n)))throw new Error(Ai(t)+" must be a positive number or 0, but was actually "+n)};var Jt=new Uint16Array(256);for(Xv=0;Xv<256;Xv++)Jt[Xv]=Xv;var Xv;Jt[22]=Vt("");Jt[24]=Vt("\u02D8");Jt[25]=Vt("\u02C7");Jt[26]=Vt("\u02C6");Jt[27]=Vt("\u02D9");Jt[28]=Vt("\u02DD");Jt[29]=Vt("\u02DB");Jt[30]=Vt("\u02DA");Jt[31]=Vt("\u02DC");Jt[127]=Vt("\uFFFD");Jt[128]=Vt("\u2022");Jt[129]=Vt("\u2020");Jt[130]=Vt("\u2021");Jt[131]=Vt("\u2026");Jt[132]=Vt("\u2014");Jt[133]=Vt("\u2013");Jt[134]=Vt("\u0192");Jt[135]=Vt("\u2044");Jt[136]=Vt("\u2039");Jt[137]=Vt("\u203A");Jt[138]=Vt("\u2212");Jt[139]=Vt("\u2030");Jt[140]=Vt("\u201E");Jt[141]=Vt("\u201C");Jt[142]=Vt("\u201D");Jt[143]=Vt("\u2018");Jt[144]=Vt("\u2019");Jt[145]=Vt("\u201A");Jt[146]=Vt("\u2122");Jt[147]=Vt("\uFB01");Jt[148]=Vt("\uFB02");Jt[149]=Vt("\u0141");Jt[150]=Vt("\u0152");Jt[151]=Vt("\u0160");Jt[152]=Vt("\u0178");Jt[153]=Vt("\u017D");Jt[154]=Vt("\u0131");Jt[155]=Vt("\u0142");Jt[156]=Vt("\u0153");Jt[157]=Vt("\u0161");Jt[158]=Vt("\u017E");Jt[159]=Vt("\uFFFD");Jt[160]=Vt("\u20AC");Jt[173]=Vt("\uFFFD");var IA=function(n){for(var t=new Array(n.length),e=0,i=n.length;e<i;e++)t[e]=Jt[n[e]];return String.fromCodePoint.apply(String,t)};var dJ=(function(){function n(t){this.populate=t,this.value=void 0}return n.prototype.getValue=function(){return this.value},n.prototype.access=function(){return this.value||(this.value=this.populate()),this.value},n.prototype.invalidate=function(){this.value=void 0},n.populatedBy=function(t){return new n(t)},n})(),ra=dJ;var Zi=(function(n){at(t,n);function t(e,i){var r=this,s="Method "+e+"."+i+"() not implemented";return r=n.call(this,s)||this,r}return t})(Error);var Kp=(function(n){at(t,n);function t(e){var i=this,r="Cannot construct "+e+" - it has a private constructor";return i=n.call(this,r)||this,i}return t})(Error);var Sh=(function(n){at(t,n);function t(e,i){var r=this,s=function(h){var d,m;return(d=h?.name)!==null&&d!==void 0?d:(m=h?.constructor)===null||m===void 0?void 0:m.name},l=Array.isArray(e)?e.map(s):[s(e)],c="Expected instance of "+l.join(" or ")+", "+("but got instance of "+(i&&s(i)));return r=n.call(this,c)||this,r}return t})(Error);var aj=(function(n){at(t,n);function t(e){var i=this,r=e+" stream encoding not supported";return i=n.call(this,r)||this,i}return t})(Error);var Zp=(function(n){at(t,n);function t(e,i){var r=this,s="Cannot call "+e+"."+i+"() more than once";return r=n.call(this,s)||this,r}return t})(Error);var zit=(function(n){at(t,n);function t(e){var i=this,r="Missing catalog (ref="+e+")";return i=n.call(this,r)||this,i}return t})(Error);var rj=(function(n){at(t,n);function t(){var e=this,i="Can't embed page with missing Contents";return e=n.call(this,i)||this,e}return t})(Error);var oj=(function(n){at(t,n);function t(e){var i,r,s,l=this,c=(s=(r=(i=e?.contructor)===null||i===void 0?void 0:i.name)!==null&&r!==void 0?r:e?.name)!==null&&s!==void 0?s:e,h="Unrecognized stream type: "+c;return l=n.call(this,h)||this,l}return t})(Error);var sj=(function(n){at(t,n);function t(){var e=this,i="Found mismatched contexts while embedding pages. All pages in the array passed to `PDFDocument.embedPages()` must be from the same document.";return e=n.call(this,i)||this,e}return t})(Error);var lj=(function(n){at(t,n);function t(e){var i=this,r="Attempted to convert PDFArray with "+e+" elements to rectangle, but must have exactly 4 elements.";return i=n.call(this,r)||this,i}return t})(Error);var XA=(function(n){at(t,n);function t(e){var i=this,r='Attempted to convert "'+e+'" to a date, but it does not match the PDF date string format.';return i=n.call(this,r)||this,i}return t})(Error);var h_=(function(n){at(t,n);function t(e,i){var r=this,s="Invalid targetIndex specified: targetIndex="+e+" must be less than Count="+i;return r=n.call(this,s)||this,r}return t})(Error);var d_=(function(n){at(t,n);function t(e,i){var r=this,s="Failed to "+i+" at targetIndex="+e+" due to corrupt page tree: It is likely that one or more 'Count' entries are invalid";return r=n.call(this,s)||this,r}return t})(Error);var Wp=(function(n){at(t,n);function t(e,i,r){var s=this,l="index should be at least "+i+" and at most "+r+", but was actually "+e;return s=n.call(this,l)||this,s}return t})(Error);var Qp=(function(n){at(t,n);function t(){var e=this,i="Attempted to set invalid field value";return e=n.call(this,i)||this,e}return t})(Error);var uj=(function(n){at(t,n);function t(){var e=this,i="Attempted to select multiple values for single-select field";return e=n.call(this,i)||this,e}return t})(Error);var cj=(function(n){at(t,n);function t(e){var i=this,r="No /DA (default appearance) entry found for field: "+e;return i=n.call(this,r)||this,i}return t})(Error);var fj=(function(n){at(t,n);function t(e){var i=this,r="No Tf operator found for DA of field: "+e;return i=n.call(this,r)||this,i}return t})(Error);var p_=(function(n){at(t,n);function t(e,i){var r=this,s="Failed to parse number "+("(line:"+e.line+" col:"+e.column+" offset="+e.offset+'): "'+i+'"');return r=n.call(this,s)||this,r}return t})(Error);var Cc=(function(n){at(t,n);function t(e,i){var r=this,s="Failed to parse PDF document "+("(line:"+e.line+" col:"+e.column+" offset="+e.offset+"): "+i);return r=n.call(this,s)||this,r}return t})(Error);var hj=(function(n){at(t,n);function t(e,i,r){var s=this,l="Expected next byte to be "+i+" but it was actually "+r;return s=n.call(this,e,l)||this,s}return t})(Cc);var dj=(function(n){at(t,n);function t(e,i){var r=this,s="Failed to parse PDF object starting with the following byte: "+i;return r=n.call(this,e,s)||this,r}return t})(Cc);var pj=(function(n){at(t,n);function t(e){var i=this,r="Failed to parse invalid PDF object";return i=n.call(this,e,r)||this,i}return t})(Cc);var mj=(function(n){at(t,n);function t(e){var i=this,r="Failed to parse PDF stream";return i=n.call(this,e,r)||this,i}return t})(Cc);var gj=(function(n){at(t,n);function t(e){var i=this,r="Failed to parse PDF literal string due to unbalanced parenthesis";return i=n.call(this,e,r)||this,i}return t})(Cc);var vj=(function(n){at(t,n);function t(e){var i=this,r="Parser stalled";return i=n.call(this,e,r)||this,i}return t})(Cc);var yj=(function(n){at(t,n);function t(e){var i=this,r="No PDF header found";return i=n.call(this,e,r)||this,i}return t})(Cc);var bj=(function(n){at(t,n);function t(e,i){var r=this,s="Did not find expected keyword '"+wA(i)+"'";return r=n.call(this,e,s)||this,r}return t})(Cc);var m_;(function(n){n[n.Null=0]="Null",n[n.Backspace=8]="Backspace",n[n.Tab=9]="Tab",n[n.Newline=10]="Newline",n[n.FormFeed=12]="FormFeed",n[n.CarriageReturn=13]="CarriageReturn",n[n.Space=32]="Space",n[n.ExclamationPoint=33]="ExclamationPoint",n[n.Hash=35]="Hash",n[n.Percent=37]="Percent",n[n.LeftParen=40]="LeftParen",n[n.RightParen=41]="RightParen",n[n.Plus=43]="Plus",n[n.Minus=45]="Minus",n[n.Dash=45]="Dash",n[n.Period=46]="Period",n[n.ForwardSlash=47]="ForwardSlash",n[n.Zero=48]="Zero",n[n.One=49]="One",n[n.Two=50]="Two",n[n.Three=51]="Three",n[n.Four=52]="Four",n[n.Five=53]="Five",n[n.Six=54]="Six",n[n.Seven=55]="Seven",n[n.Eight=56]="Eight",n[n.Nine=57]="Nine",n[n.LessThan=60]="LessThan",n[n.GreaterThan=62]="GreaterThan",n[n.A=65]="A",n[n.D=68]="D",n[n.E=69]="E",n[n.F=70]="F",n[n.O=79]="O",n[n.P=80]="P",n[n.R=82]="R",n[n.LeftSquareBracket=91]="LeftSquareBracket",n[n.BackSlash=92]="BackSlash",n[n.RightSquareBracket=93]="RightSquareBracket",n[n.a=97]="a",n[n.b=98]="b",n[n.d=100]="d",n[n.e=101]="e",n[n.f=102]="f",n[n.i=105]="i",n[n.j=106]="j",n[n.l=108]="l",n[n.m=109]="m",n[n.n=110]="n",n[n.o=111]="o",n[n.r=114]="r",n[n.s=115]="s",n[n.t=116]="t",n[n.u=117]="u",n[n.x=120]="x",n[n.LeftCurly=123]="LeftCurly",n[n.RightCurly=125]="RightCurly",n[n.Tilde=126]="Tilde"})(m_||(m_={}));var z=m_;var Dj=yn(Hv());var pJ=(function(){function n(t,e){this.major=String(t),this.minor=String(e)}return n.prototype.toString=function(){var t=Tr(129);return"%PDF-"+this.major+"."+this.minor+`
255
- %`+t+t+t+t},n.prototype.sizeInBytes=function(){return 12+this.major.length+this.minor.length},n.prototype.copyBytesInto=function(t,e){var i=e;return t[e++]=z.Percent,t[e++]=z.P,t[e++]=z.D,t[e++]=z.F,t[e++]=z.Dash,e+=rn(this.major,t,e),t[e++]=z.Period,e+=rn(this.minor,t,e),t[e++]=z.Newline,t[e++]=z.Percent,t[e++]=129,t[e++]=129,t[e++]=129,t[e++]=129,e-i},n.forVersion=function(t,e){return new n(t,e)},n})(),Pl=pJ;var mJ=(function(){function n(){}return n.prototype.clone=function(t){throw new Zi(this.constructor.name,"clone")},n.prototype.toString=function(){throw new Zi(this.constructor.name,"toString")},n.prototype.sizeInBytes=function(){throw new Zi(this.constructor.name,"sizeInBytes")},n.prototype.copyBytesInto=function(t,e){throw new Zi(this.constructor.name,"copyBytesInto")},n})(),Je=mJ;var gJ=(function(n){at(t,n);function t(e){var i=n.call(this)||this;return i.numberValue=e,i.stringValue=KP(e),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(e,i){return i+=rn(this.stringValue,e,i),this.stringValue.length},t.of=function(e){return new t(e)},t})(Je),At=gJ;var vJ=(function(n){at(t,n);function t(e){var i=n.call(this)||this;return i.array=[],i.context=e,i}return t.prototype.size=function(){return this.array.length},t.prototype.push=function(e){this.array.push(e)},t.prototype.insert=function(e,i){this.array.splice(e,0,i)},t.prototype.indexOf=function(e){var i=this.array.indexOf(e);return i===-1?void 0:i},t.prototype.remove=function(e){this.array.splice(e,1)},t.prototype.set=function(e,i){this.array[e]=i},t.prototype.get=function(e){return this.array[e]},t.prototype.lookupMaybe=function(e){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(e)],r))},t.prototype.lookup=function(e){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(e)],r))},t.prototype.asRectangle=function(){if(this.size()!==4)throw new lj(this.size());var e=this.lookup(0,At).asNumber(),i=this.lookup(1,At).asNumber(),r=this.lookup(2,At).asNumber(),s=this.lookup(3,At).asNumber(),l=e,c=i,h=r-e,d=s-i;return{x:l,y:c,width:h,height:d}},t.prototype.asArray=function(){return this.array.slice()},t.prototype.clone=function(e){for(var i=t.withContext(e||this.context),r=0,s=this.size();r<s;r++)i.push(this.array[r]);return i},t.prototype.toString=function(){for(var e="[ ",i=0,r=this.size();i<r;i++)e+=this.get(i).toString(),e+=" ";return e+="]",e},t.prototype.sizeInBytes=function(){for(var e=3,i=0,r=this.size();i<r;i++)e+=this.get(i).sizeInBytes()+1;return e},t.prototype.copyBytesInto=function(e,i){var r=i;e[i++]=z.LeftSquareBracket,e[i++]=z.Space;for(var s=0,l=this.size();s<l;s++)i+=this.get(s).copyBytesInto(e,i),e[i++]=z.Space;return e[i++]=z.RightSquareBracket,i-r},t.prototype.scalePDFNumbers=function(e,i){for(var r=0,s=this.size();r<s;r++){var l=this.lookup(r);if(l instanceof At){var c=r%2===0?e:i;this.set(r,At.of(l.asNumber()*c))}}},t.withContext=function(e){return new t(e)},t})(Je),Bt=vJ;var g_={},yJ=(function(n){at(t,n);function t(e,i){var r=this;if(e!==g_)throw new Kp("PDFBool");return r=n.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(e,i){return this.value?(e[i++]=z.t,e[i++]=z.r,e[i++]=z.u,e[i++]=z.e,4):(e[i++]=z.f,e[i++]=z.a,e[i++]=z.l,e[i++]=z.s,e[i++]=z.e,5)},t.True=new t(g_,!0),t.False=new t(g_,!1),t})(Je),Hl=yJ;var Za=new Uint8Array(256);Za[z.LeftParen]=1;Za[z.RightParen]=1;Za[z.LessThan]=1;Za[z.GreaterThan]=1;Za[z.LeftSquareBracket]=1;Za[z.RightSquareBracket]=1;Za[z.LeftCurly]=1;Za[z.RightCurly]=1;Za[z.ForwardSlash]=1;Za[z.Percent]=1;var lo=new Uint8Array(256);lo[z.Null]=1;lo[z.Tab]=1;lo[z.Newline]=1;lo[z.FormFeed]=1;lo[z.CarriageReturn]=1;lo[z.Space]=1;var YA=new Uint8Array(256);for(Jp=0,Sj=256;Jp<Sj;Jp++)YA[Jp]=lo[Jp]||Za[Jp]?1:0;var Jp,Sj;YA[z.Hash]=1;var bJ=function(n){return n.replace(/#([\dABCDEF]{2})/g,function(t,e){return OP(e)})},SJ=function(n){return n>=z.ExclamationPoint&&n<=z.Tilde&&!YA[n]},xj={},Aj=new Map,xJ=(function(n){at(t,n);function t(e,i){var r=this;if(e!==xj)throw new Kp("PDFName");r=n.call(this)||this;for(var s="/",l=0,c=i.length;l<c;l++){var h=i[l],d=Vt(h);s+=SJ(d)?h:"#"+vc(d)}return r.encodedName=s,r}return t.prototype.asBytes=function(){for(var e=[],i="",r=!1,s=function(v){v!==void 0&&e.push(v),r=!1},l=1,c=this.encodedName.length;l<c;l++){var h=this.encodedName[l],d=Vt(h),m=this.encodedName[l+1];r?d>=z.Zero&&d<=z.Nine||d>=z.a&&d<=z.f||d>=z.A&&d<=z.F?(i+=h,(i.length===2||!(m>="0"&&m<="9"||m>="a"&&m<="f"||m>="A"&&m<="F"))&&(s(parseInt(i,16)),i="")):s(d):d===z.Hash?r=!0:s(d)}return new Uint8Array(e)},t.prototype.decodeText=function(){var e=this.asBytes();return String.fromCharCode.apply(String,Array.from(e))},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(e,i){return i+=rn(this.encodedName,e,i),this.encodedName.length},t.of=function(e){var i=bJ(e),r=Aj.get(i);return r||(r=new t(xj,i),Aj.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})(Je),N=xJ;var AJ=(function(n){at(t,n);function t(){return n!==null&&n.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(e,i){return e[i++]=z.n,e[i++]=z.u,e[i++]=z.l,e[i++]=z.l,4},t})(Je),zi=new AJ;var wJ=(function(n){at(t,n);function t(e,i){var r=n.call(this)||this;return r.dict=e,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(e,i){this.dict.set(e,i)},t.prototype.get=function(e,i){i===void 0&&(i=!1);var r=this.dict.get(e);if(!(r===zi&&!i))return r},t.prototype.has=function(e){var i=this.dict.get(e);return i!==void 0&&i!==zi},t.prototype.lookupMaybe=function(e){for(var i,r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var l=r.includes(zi),c=(i=this.context).lookupMaybe.apply(i,fe([this.get(e,l)],r));if(!(c===zi&&!l))return c},t.prototype.lookup=function(e){for(var i,r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var l=r.includes(zi),c=(i=this.context).lookup.apply(i,fe([this.get(e,l)],r));if(!(c===zi&&!l))return c},t.prototype.delete=function(e){return this.dict.delete(e)},t.prototype.asMap=function(){return new Map(this.dict)},t.prototype.uniqueKey=function(e){e===void 0&&(e="");for(var i=this.keys(),r=N.of(this.context.addRandomSuffix(e,10));i.includes(r);)r=N.of(this.context.addRandomSuffix(e,10));return r},t.prototype.clone=function(e){for(var i=t.withContext(e||this.context),r=this.entries(),s=0,l=r.length;s<l;s++){var c=r[s],h=c[0],d=c[1];i.set(h,d)}return i},t.prototype.toString=function(){for(var e=`<<
256
- `,i=this.entries(),r=0,s=i.length;r<s;r++){var l=i[r],c=l[0],h=l[1];e+=c.toString()+" "+h.toString()+`
257
- `}return e+=">>",e},t.prototype.sizeInBytes=function(){for(var e=5,i=this.entries(),r=0,s=i.length;r<s;r++){var l=i[r],c=l[0],h=l[1];e+=c.sizeInBytes()+h.sizeInBytes()+2}return e},t.prototype.copyBytesInto=function(e,i){var r=i;e[i++]=z.LessThan,e[i++]=z.LessThan,e[i++]=z.Newline;for(var s=this.entries(),l=0,c=s.length;l<c;l++){var h=s[l],d=h[0],m=h[1];i+=d.copyBytesInto(e,i),e[i++]=z.Space,i+=m.copyBytesInto(e,i),e[i++]=z.Newline}return e[i++]=z.GreaterThan,e[i++]=z.GreaterThan,i-r},t.withContext=function(e){return new t(new Map,e)},t.fromMapWithContext=function(e,i){return new t(e,i)},t})(Je),Tt=wJ;var EJ=(function(n){at(t,n);function t(e){var i=n.call(this)||this;return i.dict=e,i}return t.prototype.clone=function(e){throw new Zi(this.constructor.name,"clone")},t.prototype.getContentsString=function(){throw new Zi(this.constructor.name,"getContentsString")},t.prototype.getContents=function(){throw new Zi(this.constructor.name,"getContents")},t.prototype.getContentsSize=function(){throw new Zi(this.constructor.name,"getContentsSize")},t.prototype.updateDict=function(){var e=this.getContentsSize();this.dict.set(N.Length,At.of(e))},t.prototype.sizeInBytes=function(){return this.updateDict(),this.dict.sizeInBytes()+this.getContentsSize()+18},t.prototype.toString=function(){this.updateDict();var e=this.dict.toString();return e+=`
258
- stream
259
- `,e+=this.getContentsString(),e+=`
260
- endstream`,e},t.prototype.copyBytesInto=function(e,i){this.updateDict();var r=i;i+=this.dict.copyBytesInto(e,i),e[i++]=z.Newline,e[i++]=z.s,e[i++]=z.t,e[i++]=z.r,e[i++]=z.e,e[i++]=z.a,e[i++]=z.m,e[i++]=z.Newline;for(var s=this.getContents(),l=0,c=s.length;l<c;l++)e[i++]=s[l];return e[i++]=z.Newline,e[i++]=z.e,e[i++]=z.n,e[i++]=z.d,e[i++]=z.s,e[i++]=z.t,e[i++]=z.r,e[i++]=z.e,e[i++]=z.a,e[i++]=z.m,i-r},t})(Je),wn=EJ;var TJ=(function(n){at(t,n);function t(e,i){var r=n.call(this,e)||this;return r.contents=i,r}return t.prototype.asUint8Array=function(){return this.contents.slice()},t.prototype.clone=function(e){return t.of(this.dict.clone(e),this.contents.slice())},t.prototype.getContentsString=function(){return wA(this.contents)},t.prototype.getContents=function(){return this.contents},t.prototype.getContentsSize=function(){return this.contents.length},t.of=function(e,i){return new t(e,i)},t})(wn),Ns=TJ;var wj={},Ej=new Map,CJ=(function(n){at(t,n);function t(e,i,r){var s=this;if(e!==wj)throw new Kp("PDFRef");return s=n.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(e,i){return i+=rn(this.tag,e,i),this.tag.length},t.of=function(e,i){i===void 0&&(i=0);var r=e+" "+i+" R",s=Ej.get(r);return s||(s=new t(wj,e,i),Ej.set(r,s)),s},t})(Je),jt=CJ;var DJ=(function(){function n(t,e){this.name=t,this.args=e||[]}return n.prototype.clone=function(t){for(var e=new Array(this.args.length),i=0,r=e.length;i<r;i++){var s=this.args[i];e[i]=s instanceof Je?s.clone(t):s}return n.of(this.name,e)},n.prototype.toString=function(){for(var t="",e=0,i=this.args.length;e<i;e++)t+=String(this.args[e])+" ";return t+=this.name,t},n.prototype.sizeInBytes=function(){for(var t=0,e=0,i=this.args.length;e<i;e++){var r=this.args[e];t+=(r instanceof Je?r.sizeInBytes():r.length)+1}return t+=this.name.length,t},n.prototype.copyBytesInto=function(t,e){for(var i=e,r=0,s=this.args.length;r<s;r++){var l=this.args[r];l instanceof Je?e+=l.copyBytesInto(t,e):e+=rn(l,t,e),t[e++]=z.Space}return e+=rn(this.name,t,e),e-i},n.of=function(t,e){return new n(t,e)},n})(),be=DJ;var v_;(function(n){n.NonStrokingColor="sc",n.NonStrokingColorN="scn",n.NonStrokingColorRgb="rg",n.NonStrokingColorGray="g",n.NonStrokingColorCmyk="k",n.NonStrokingColorspace="cs",n.StrokingColor="SC",n.StrokingColorN="SCN",n.StrokingColorRgb="RG",n.StrokingColorGray="G",n.StrokingColorCmyk="K",n.StrokingColorspace="CS",n.BeginMarkedContentSequence="BDC",n.BeginMarkedContent="BMC",n.EndMarkedContent="EMC",n.MarkedContentPointWithProps="DP",n.MarkedContentPoint="MP",n.DrawObject="Do",n.ConcatTransformationMatrix="cm",n.PopGraphicsState="Q",n.PushGraphicsState="q",n.SetFlatness="i",n.SetGraphicsStateParams="gs",n.SetLineCapStyle="J",n.SetLineDashPattern="d",n.SetLineJoinStyle="j",n.SetLineMiterLimit="M",n.SetLineWidth="w",n.SetTextMatrix="Tm",n.SetRenderingIntent="ri",n.AppendRectangle="re",n.BeginInlineImage="BI",n.BeginInlineImageData="ID",n.EndInlineImage="EI",n.ClipEvenOdd="W*",n.ClipNonZero="W",n.CloseAndStroke="s",n.CloseFillEvenOddAndStroke="b*",n.CloseFillNonZeroAndStroke="b",n.ClosePath="h",n.AppendBezierCurve="c",n.CurveToReplicateFinalPoint="y",n.CurveToReplicateInitialPoint="v",n.EndPath="n",n.FillEvenOddAndStroke="B*",n.FillEvenOdd="f*",n.FillNonZeroAndStroke="B",n.FillNonZero="f",n.LegacyFillNonZero="F",n.LineTo="l",n.MoveTo="m",n.ShadingFill="sh",n.StrokePath="S",n.BeginText="BT",n.EndText="ET",n.MoveText="Td",n.MoveTextSetLeading="TD",n.NextLine="T*",n.SetCharacterSpacing="Tc",n.SetFontAndSize="Tf",n.SetTextHorizontalScaling="Tz",n.SetTextLineHeight="TL",n.SetTextRenderingMode="Tr",n.SetTextRise="Ts",n.SetWordSpacing="Tw",n.ShowText="Tj",n.ShowTextAdjusted="TJ",n.ShowTextLine="'",n.ShowTextLineAndSpace='"',n.Type3D0="d0",n.Type3D1="d1",n.BeginCompatibilitySection="BX",n.EndCompatibilitySection="EX"})(v_||(v_={}));var we=v_;var Tj=yn(Hv());var RJ=(function(n){at(t,n);function t(e,i){var r=n.call(this,e)||this;return r.computeContents=function(){var s=r.getUnencodedContents();return r.encode?Tj.default.deflate(s):s},r.encode=i,i&&e.set(N.of("Filter"),N.of("FlateDecode")),r.contentsCache=ra.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 Zi(this.constructor.name,"getUnencodedContents")},t})(wn),xh=RJ;var OJ=(function(n){at(t,n);function t(e,i,r){r===void 0&&(r=!0);var s=n.call(this,e,r)||this;return s.operators=i,s}return t.prototype.push=function(){for(var e,i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];(e=this.operators).push.apply(e,i)},t.prototype.clone=function(e){for(var i=new Array(this.operators.length),r=0,s=this.operators.length;r<s;r++)i[r]=this.operators[r].clone(e);var l=this,c=l.dict,h=l.encode;return t.of(c.clone(e),i,h)},t.prototype.getContentsString=function(){for(var e="",i=0,r=this.operators.length;i<r;i++)e+=this.operators[i]+`
261
- `;return e},t.prototype.getUnencodedContents=function(){for(var e=new Uint8Array(this.getUnencodedContentsSize()),i=0,r=0,s=this.operators.length;r<s;r++)i+=this.operators[r].copyBytesInto(e,i),e[i++]=z.Newline;return e},t.prototype.getUnencodedContentsSize=function(){for(var e=0,i=0,r=this.operators.length;i<r;i++)e+=this.operators[i].sizeInBytes()+1;return e},t.of=function(e,i,r){return r===void 0&&(r=!0),new t(e,i,r)},t})(xh),jl=OJ;var Cj=(function(){function n(t){this.seed=t}return n.prototype.nextInt=function(){var t=Math.sin(this.seed++)*1e4;return t-Math.floor(t)},n.withSeed=function(t){return new n(t)},n})();var MJ=function(n,t){var e=n[0],i=t[0];return e.objectNumber-i.objectNumber},_J=(function(){function n(){this.largestObjectNumber=0,this.header=Pl.forVersion(1,7),this.trailerInfo={},this.indirectObjects=new Map,this.rng=Cj.withSeed(1)}return n.prototype.assign=function(t,e){this.indirectObjects.set(t,e),t.objectNumber>this.largestObjectNumber&&(this.largestObjectNumber=t.objectNumber)},n.prototype.nextRef=function(){return this.largestObjectNumber+=1,jt.of(this.largestObjectNumber)},n.prototype.register=function(t){var e=this.nextRef();return this.assign(e,t),e},n.prototype.delete=function(t){return this.indirectObjects.delete(t)},n.prototype.lookupMaybe=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];var r=e.includes(zi),s=t instanceof jt?this.indirectObjects.get(t):t;if(!(!s||s===zi&&!r)){for(var l=0,c=e.length;l<c;l++){var h=e[l];if(h===zi){if(s===zi)return s}else if(s instanceof h)return s}throw new Sh(e,s)}},n.prototype.lookup=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];var r=t instanceof jt?this.indirectObjects.get(t):t;if(e.length===0)return r;for(var s=0,l=e.length;s<l;s++){var c=e[s];if(c===zi){if(r===zi)return r}else if(r instanceof c)return r}throw new Sh(e,r)},n.prototype.getObjectRef=function(t){for(var e=Array.from(this.indirectObjects.entries()),i=0,r=e.length;i<r;i++){var s=e[i],l=s[0],c=s[1];if(c===t)return l}},n.prototype.enumerateIndirectObjects=function(){return Array.from(this.indirectObjects.entries()).sort(MJ)},n.prototype.obj=function(t){if(t instanceof Je)return t;if(t==null)return zi;if(typeof t=="string")return N.of(t);if(typeof t=="number")return At.of(t);if(typeof t=="boolean")return t?Hl.True:Hl.False;if(Array.isArray(t)){for(var e=Bt.withContext(this),i=0,r=t.length;i<r;i++)e.push(this.obj(t[i]));return e}else{for(var s=Tt.withContext(this),l=Object.keys(t),i=0,r=l.length;i<r;i++){var c=l[i],h=t[c];h!==void 0&&s.set(N.of(c),this.obj(h))}return s}},n.prototype.stream=function(t,e){return e===void 0&&(e={}),Ns.of(this.obj(e),AA(t))},n.prototype.flateStream=function(t,e){return e===void 0&&(e={}),this.stream(Dj.default.deflate(AA(t)),Ht(Ht({},e),{Filter:"FlateDecode"}))},n.prototype.contentStream=function(t,e){return e===void 0&&(e={}),jl.of(this.obj(e),t)},n.prototype.formXObject=function(t,e){return e===void 0&&(e={}),this.contentStream(t,Ht(Ht({BBox:this.obj([0,0,0,0]),Matrix:this.obj([1,0,0,1,0,0])},e),{Type:"XObject",Subtype:"Form"}))},n.prototype.getPushGraphicsStateContentStream=function(){if(this.pushGraphicsStateContentStreamRef)return this.pushGraphicsStateContentStreamRef;var t=this.obj({}),e=be.of(we.PushGraphicsState),i=jl.of(t,[e]);return this.pushGraphicsStateContentStreamRef=this.register(i),this.pushGraphicsStateContentStreamRef},n.prototype.getPopGraphicsStateContentStream=function(){if(this.popGraphicsStateContentStreamRef)return this.popGraphicsStateContentStreamRef;var t=this.obj({}),e=be.of(we.PopGraphicsState),i=jl.of(t,[e]);return this.popGraphicsStateContentStreamRef=this.register(i),this.popGraphicsStateContentStreamRef},n.prototype.addRandomSuffix=function(t,e){return e===void 0&&(e=4),t+"-"+Math.floor(this.rng.nextInt()*Math.pow(10,e))},n.create=function(){return new n},n})(),$p=_J;var FJ=(function(n){at(t,n);function t(e,i,r){r===void 0&&(r=!0);var s=n.call(this,e,i)||this;return s.normalized=!1,s.autoNormalizeCTM=r,s}return t.prototype.clone=function(e){for(var i=t.fromMapWithContext(new Map,e||this.context,this.autoNormalizeCTM),r=this.entries(),s=0,l=r.length;s<l;s++){var c=r[s],h=c[0],d=c[1];i.set(h,d)}return i},t.prototype.Parent=function(){return this.lookupMaybe(N.Parent,Tt)},t.prototype.Contents=function(){return this.lookup(N.of("Contents"))},t.prototype.Annots=function(){return this.lookupMaybe(N.Annots,Bt)},t.prototype.BleedBox=function(){return this.lookupMaybe(N.BleedBox,Bt)},t.prototype.TrimBox=function(){return this.lookupMaybe(N.TrimBox,Bt)},t.prototype.ArtBox=function(){return this.lookupMaybe(N.ArtBox,Bt)},t.prototype.Resources=function(){var e=this.getInheritableAttribute(N.Resources);return this.context.lookupMaybe(e,Tt)},t.prototype.MediaBox=function(){var e=this.getInheritableAttribute(N.MediaBox);return this.context.lookup(e,Bt)},t.prototype.CropBox=function(){var e=this.getInheritableAttribute(N.CropBox);return this.context.lookupMaybe(e,Bt)},t.prototype.Rotate=function(){var e=this.getInheritableAttribute(N.Rotate);return this.context.lookupMaybe(e,At)},t.prototype.getInheritableAttribute=function(e){var i;return this.ascend(function(r){i||(i=r.get(e))}),i},t.prototype.setParent=function(e){this.set(N.Parent,e)},t.prototype.addContentStream=function(e){var i=this.normalizedEntries().Contents||this.context.obj([]);this.set(N.Contents,i),i.push(e)},t.prototype.wrapContentStreams=function(e,i){var r=this.Contents();return r instanceof Bt?(r.insert(0,e),r.push(i),!0):!1},t.prototype.addAnnot=function(e){var i=this.normalizedEntries().Annots;i.push(e)},t.prototype.removeAnnot=function(e){var i=this.normalizedEntries().Annots,r=i.indexOf(e);r!==void 0&&i.remove(r)},t.prototype.setFontDictionary=function(e,i){var r=this.normalizedEntries().Font;r.set(e,i)},t.prototype.newFontDictionaryKey=function(e){var i=this.normalizedEntries().Font;return i.uniqueKey(e)},t.prototype.newFontDictionary=function(e,i){var r=this.newFontDictionaryKey(e);return this.setFontDictionary(r,i),r},t.prototype.setXObject=function(e,i){var r=this.normalizedEntries().XObject;r.set(e,i)},t.prototype.newXObjectKey=function(e){var i=this.normalizedEntries().XObject;return i.uniqueKey(e)},t.prototype.newXObject=function(e,i){var r=this.newXObjectKey(e);return this.setXObject(r,i),r},t.prototype.setExtGState=function(e,i){var r=this.normalizedEntries().ExtGState;r.set(e,i)},t.prototype.newExtGStateKey=function(e){var i=this.normalizedEntries().ExtGState;return i.uniqueKey(e)},t.prototype.newExtGState=function(e,i){var r=this.newExtGStateKey(e);return this.setExtGState(r,i),r},t.prototype.ascend=function(e){e(this);var i=this.Parent();i&&i.ascend(e)},t.prototype.normalize=function(){if(!this.normalized){var e=this.context,i=this.get(N.Contents),r=this.context.lookup(i);r instanceof wn&&this.set(N.Contents,e.obj([i])),this.autoNormalizeCTM&&this.wrapContentStreams(this.context.getPushGraphicsStateContentStream(),this.context.getPopGraphicsStateContentStream());var s=this.getInheritableAttribute(N.Resources),l=e.lookupMaybe(s,Tt)||e.obj({});this.set(N.Resources,l);var c=l.lookupMaybe(N.Font,Tt)||e.obj({});l.set(N.Font,c);var h=l.lookupMaybe(N.XObject,Tt)||e.obj({});l.set(N.XObject,h);var d=l.lookupMaybe(N.ExtGState,Tt)||e.obj({});l.set(N.ExtGState,d);var m=this.Annots()||e.obj([]);this.set(N.Annots,m),this.normalized=!0}},t.prototype.normalizedEntries=function(){this.normalize();var e=this.Annots(),i=this.Resources(),r=this.Contents();return{Annots:e,Resources:i,Contents:r,Font:i.lookup(N.Font,Tt),XObject:i.lookup(N.XObject,Tt),ExtGState:i.lookup(N.ExtGState,Tt)}},t.InheritableEntries=["Resources","MediaBox","CropBox","Rotate"],t.withContextAndParent=function(e,i){var r=new Map;return r.set(N.Type,N.Page),r.set(N.Parent,i),r.set(N.Resources,e.obj({})),r.set(N.MediaBox,e.obj([0,0,612,792])),new t(r,e,!1)},t.fromMapWithContext=function(e,i,r){return r===void 0&&(r=!0),new t(e,i,r)},t})(Tt),Ca=FJ;var NJ=(function(){function n(t,e){var i=this;this.traversedObjects=new Map,this.copy=function(r){return r instanceof Ca?i.copyPDFPage(r):r instanceof Tt?i.copyPDFDict(r):r instanceof Bt?i.copyPDFArray(r):r instanceof wn?i.copyPDFStream(r):r instanceof jt?i.copyPDFIndirectObject(r):r.clone()},this.copyPDFPage=function(r){for(var s=r.clone(),l=Ca.InheritableEntries,c=0,h=l.length;c<h;c++){var d=N.of(l[c]),m=s.getInheritableAttribute(d);!s.get(d)&&m&&s.set(d,m)}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,h=l.length;c<h;c++){var d=l[c],m=d[0],v=d[1];s.set(m,i.copy(v))}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 h=r.get(l);s.set(l,i.copy(h))}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,h=l.length;c<h;c++){var d=l[c],m=d[0],v=d[1];s.dict.set(m,i.copy(v))}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 h=i.copy(c);i.dest.assign(l,h)}}return i.traversedObjects.get(r)},this.src=t,this.dest=e}return n.for=function(t,e){return new n(t,e)},n})(),KA=NJ;var zJ=(function(){function n(t){this.subsections=t?[[t]]:[],this.chunkIdx=0,this.chunkLength=t?1:0}return n.prototype.addEntry=function(t,e){this.append({ref:t,offset:e,deleted:!1})},n.prototype.addDeletedEntry=function(t,e){this.append({ref:t,offset:e,deleted:!0})},n.prototype.toString=function(){for(var t=`xref
262
- `,e=0,i=this.subsections.length;e<i;e++){var r=this.subsections[e];t+=r[0].ref.objectNumber+" "+r.length+`
263
- `;for(var s=0,l=r.length;s<l;s++){var c=r[s];t+=Cr(String(c.offset),10,"0"),t+=" ",t+=Cr(String(c.ref.generationNumber),5,"0"),t+=" ",t+=c.deleted?"f":"n",t+=`
264
- `}}return t},n.prototype.sizeInBytes=function(){for(var t=5,e=0,i=this.subsections.length;e<i;e++){var r=this.subsections[e],s=r.length,l=r[0];t+=2,t+=String(l.ref.objectNumber).length,t+=String(s).length,t+=20*s}return t},n.prototype.copyBytesInto=function(t,e){var i=e;return t[e++]=z.x,t[e++]=z.r,t[e++]=z.e,t[e++]=z.f,t[e++]=z.Newline,e+=this.copySubsectionsIntoBuffer(this.subsections,t,e),e-i},n.prototype.copySubsectionsIntoBuffer=function(t,e,i){for(var r=i,s=t.length,l=0;l<s;l++){var c=this.subsections[l],h=String(c[0].ref.objectNumber);i+=rn(h,e,i),e[i++]=z.Space;var d=String(c.length);i+=rn(d,e,i),e[i++]=z.Newline,i+=this.copyEntriesIntoBuffer(c,e,i)}return i-r},n.prototype.copyEntriesIntoBuffer=function(t,e,i){for(var r=t.length,s=0;s<r;s++){var l=t[s],c=Cr(String(l.offset),10,"0");i+=rn(c,e,i),e[i++]=z.Space;var h=Cr(String(l.ref.generationNumber),5,"0");i+=rn(h,e,i),e[i++]=z.Space,e[i++]=l.deleted?z.f:z.n,e[i++]=z.Space,e[i++]=z.Newline}return 20*r},n.prototype.append=function(t){if(this.chunkLength===0){this.subsections.push([t]),this.chunkIdx=0,this.chunkLength=1;return}var e=this.subsections[this.chunkIdx],i=e[this.chunkLength-1];t.ref.objectNumber-i.ref.objectNumber>1?(this.subsections.push([t]),this.chunkIdx+=1,this.chunkLength=1):(e.push(t),this.chunkLength+=1)},n.create=function(){return new n({ref:jt.of(0,65535),offset:0,deleted:!0})},n.createEmpty=function(){return new n},n})(),Yv=zJ;var kJ=(function(){function n(t){this.lastXRefOffset=String(t)}return n.prototype.toString=function(){return`startxref
265
- `+this.lastXRefOffset+`
266
- %%EOF`},n.prototype.sizeInBytes=function(){return 16+this.lastXRefOffset.length},n.prototype.copyBytesInto=function(t,e){var i=e;return t[e++]=z.s,t[e++]=z.t,t[e++]=z.a,t[e++]=z.r,t[e++]=z.t,t[e++]=z.x,t[e++]=z.r,t[e++]=z.e,t[e++]=z.f,t[e++]=z.Newline,e+=rn(this.lastXRefOffset,t,e),t[e++]=z.Newline,t[e++]=z.Percent,t[e++]=z.Percent,t[e++]=z.E,t[e++]=z.O,t[e++]=z.F,e-i},n.forLastCrossRefSectionOffset=function(t){return new n(t)},n})(),Ah=kJ;var LJ=(function(){function n(t){this.dict=t}return n.prototype.toString=function(){return`trailer
267
- `+this.dict.toString()},n.prototype.sizeInBytes=function(){return 8+this.dict.sizeInBytes()},n.prototype.copyBytesInto=function(t,e){var i=e;return t[e++]=z.t,t[e++]=z.r,t[e++]=z.a,t[e++]=z.i,t[e++]=z.l,t[e++]=z.e,t[e++]=z.r,t[e++]=z.Newline,e+=this.dict.copyBytesInto(t,e),e-i},n.of=function(t){return new n(t)},n})(),y_=LJ;var UJ=(function(n){at(t,n);function t(e,i,r){r===void 0&&(r=!0);var s=n.call(this,e.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"),At.of(s.objects.length)),s.dict.set(N.of("First"),At.of(s.offsetsString.length)),s}return t.prototype.getObjectsCount=function(){return this.objects.length},t.prototype.clone=function(e){return t.withContextAndObjects(e||this.dict.context,this.objects.slice(),this.encode)},t.prototype.getContentsString=function(){for(var e=this.offsetsString,i=0,r=this.objects.length;i<r;i++){var s=this.objects[i],l=s[1];e+=l+`
268
- `}return e},t.prototype.getUnencodedContents=function(){for(var e=new Uint8Array(this.getUnencodedContentsSize()),i=rn(this.offsetsString,e,0),r=0,s=this.objects.length;r<s;r++){var l=this.objects[r],c=l[1];i+=c.copyBytesInto(e,i),e[i++]=z.Newline}return e},t.prototype.getUnencodedContentsSize=function(){return this.offsetsString.length+Lp(this.offsets)[1]+Lp(this.objects)[1].sizeInBytes()+1},t.prototype.computeOffsetsString=function(){for(var e="",i=0,r=this.offsets.length;i<r;i++){var s=this.offsets[i],l=s[0],c=s[1];e+=l+" "+c+" "}return e},t.prototype.computeObjectOffsets=function(){for(var e=0,i=new Array(this.objects.length),r=0,s=this.objects.length;r<s;r++){var l=this.objects[r],c=l[0],h=l[1];i[r]=[c.objectNumber,e],e+=h.sizeInBytes()+1}return i},t.withContextAndObjects=function(e,i,r){return r===void 0&&(r=!0),new t(e,i,r)},t})(xh),Kv=UJ;var BJ=(function(){function n(t,e){var i=this;this.parsedObjects=0,this.shouldWaitForTick=function(r){return i.parsedObjects+=r,i.parsedObjects%i.objectsPerTick===0},this.context=t,this.objectsPerTick=e}return n.prototype.serializeToBuffer=function(){return Rt(this,void 0,void 0,function(){var t,e,i,r,s,l,c,h,d,m,v,y,b,x,E,C,A;return Ot(this,function(T){switch(T.label){case 0:return[4,this.computeBufferSize()];case 1:t=T.sent(),e=t.size,i=t.header,r=t.indirectObjects,s=t.xref,l=t.trailerDict,c=t.trailer,h=0,d=new Uint8Array(e),h+=i.copyBytesInto(d,h),d[h++]=z.Newline,d[h++]=z.Newline,m=0,v=r.length,T.label=2;case 2:return m<v?(y=r[m],b=y[0],x=y[1],E=String(b.objectNumber),h+=rn(E,d,h),d[h++]=z.Space,C=String(b.generationNumber),h+=rn(C,d,h),d[h++]=z.Space,d[h++]=z.o,d[h++]=z.b,d[h++]=z.j,d[h++]=z.Newline,h+=x.copyBytesInto(d,h),d[h++]=z.Newline,d[h++]=z.e,d[h++]=z.n,d[h++]=z.d,d[h++]=z.o,d[h++]=z.b,d[h++]=z.j,d[h++]=z.Newline,d[h++]=z.Newline,A=x instanceof Kv?x.getObjectsCount():1,this.shouldWaitForTick(A)?[4,Ds()]:[3,4]):[3,5];case 3:T.sent(),T.label=4;case 4:return m++,[3,2];case 5:return s&&(h+=s.copyBytesInto(d,h),d[h++]=z.Newline),l&&(h+=l.copyBytesInto(d,h),d[h++]=z.Newline,d[h++]=z.Newline),h+=c.copyBytesInto(d,h),[2,d]}})})},n.prototype.computeIndirectObjectSize=function(t){var e=t[0],i=t[1],r=e.sizeInBytes()+3,s=i.sizeInBytes()+9;return r+s},n.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})},n.prototype.computeBufferSize=function(){return Rt(this,void 0,void 0,function(){var t,e,i,r,s,l,c,h,d,m,v;return Ot(this,function(y){switch(y.label){case 0:t=Pl.forVersion(1,7),e=t.sizeInBytes()+2,i=Yv.create(),r=this.context.enumerateIndirectObjects(),s=0,l=r.length,y.label=1;case 1:return s<l?(c=r[s],h=c[0],i.addEntry(h,e),e+=this.computeIndirectObjectSize(c),this.shouldWaitForTick(1)?[4,Ds()]:[3,3]):[3,4];case 2:y.sent(),y.label=3;case 3:return s++,[3,1];case 4:return d=e,e+=i.sizeInBytes()+1,m=y_.of(this.createTrailerDict()),e+=m.sizeInBytes()+2,v=Ah.forLastCrossRefSectionOffset(d),e+=v.sizeInBytes(),[2,{size:e,header:t,indirectObjects:r,xref:i,trailerDict:m,trailer:v}]}})})},n.forContext=function(t,e){return new n(t,e)},n})(),Zv=BJ;var PJ=(function(n){at(t,n);function t(e){var i=n.call(this)||this;return i.data=e,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(e,i){for(var r=this.data.length,s=0;s<r;s++)e[i++]=this.data[s];return r},t.of=function(e){return new t(e)},t})(Je),Wv=PJ;var Dc;(function(n){n[n.Deleted=0]="Deleted",n[n.Uncompressed=1]="Uncompressed",n[n.Compressed=2]="Compressed"})(Dc||(Dc={}));var HJ=(function(n){at(t,n);function t(e,i,r){r===void 0&&(r=!0);var s=n.call(this,e,r)||this;return s.computeIndex=function(){for(var l=[],c=0,h=0,d=s.entries.length;h<d;h++){var m=s.entries[h],v=s.entries[h-1];h===0?l.push(m.ref.objectNumber):m.ref.objectNumber-v.ref.objectNumber>1&&(l.push(c),l.push(m.ref.objectNumber),c=0),c+=1}return l.push(c),l},s.computeEntryTuples=function(){for(var l=new Array(s.entries.length),c=0,h=s.entries.length;c<h;c++){var d=s.entries[c];if(d.type===Dc.Deleted){var m=d.type,v=d.nextFreeObjectNumber,y=d.ref;l[c]=[m,v,y.generationNumber]}if(d.type===Dc.Uncompressed){var m=d.type,b=d.offset,y=d.ref;l[c]=[m,b,y.generationNumber]}if(d.type===Dc.Compressed){var m=d.type,x=d.objectStreamRef,E=d.index;l[c]=[m,x.objectNumber,E]}}return l},s.computeMaxEntryByteWidths=function(){for(var l=s.entryTuplesCache.access(),c=[0,0,0],h=0,d=l.length;h<d;h++){var m=l[h],v=m[0],y=m[1],b=m[2],x=wv(v),E=wv(y),C=wv(b);x>c[0]&&(c[0]=x),E>c[1]&&(c[1]=E),C>c[2]&&(c[2]=C)}return c},s.entries=i||[],s.entryTuplesCache=ra.populatedBy(s.computeEntryTuples),s.maxByteWidthsCache=ra.populatedBy(s.computeMaxEntryByteWidths),s.indexCache=ra.populatedBy(s.computeIndex),e.set(N.of("Type"),N.of("XRef")),s}return t.prototype.addDeletedEntry=function(e,i){var r=Dc.Deleted;this.entries.push({type:r,ref:e,nextFreeObjectNumber:i}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.addUncompressedEntry=function(e,i){var r=Dc.Uncompressed;this.entries.push({type:r,ref:e,offset:i}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.addCompressedEntry=function(e,i,r){var s=Dc.Compressed;this.entries.push({type:s,ref:e,objectStreamRef:i,index:r}),this.entryTuplesCache.invalidate(),this.maxByteWidthsCache.invalidate(),this.indexCache.invalidate(),this.contentsCache.invalidate()},t.prototype.clone=function(e){var i=this,r=i.dict,s=i.entries,l=i.encode;return t.of(r.clone(e),s.slice(),l)},t.prototype.getContentsString=function(){for(var e=this.entryTuplesCache.access(),i=this.maxByteWidthsCache.access(),r="",s=0,l=e.length;s<l;s++){for(var c=e[s],h=c[0],d=c[1],m=c[2],v=lh(uh(h)),y=lh(uh(d)),b=lh(uh(m)),x=i[0]-1;x>=0;x--)r+=(v[x]||0).toString(2);for(var x=i[1]-1;x>=0;x--)r+=(y[x]||0).toString(2);for(var x=i[2]-1;x>=0;x--)r+=(b[x]||0).toString(2)}return r},t.prototype.getUnencodedContents=function(){for(var e=this.entryTuplesCache.access(),i=this.maxByteWidthsCache.access(),r=new Uint8Array(this.getUnencodedContentsSize()),s=0,l=0,c=e.length;l<c;l++){for(var h=e[l],d=h[0],m=h[1],v=h[2],y=lh(uh(d)),b=lh(uh(m)),x=lh(uh(v)),E=i[0]-1;E>=0;E--)r[s++]=y[E]||0;for(var E=i[1]-1;E>=0;E--)r[s++]=b[E]||0;for(var E=i[2]-1;E>=0;E--)r[s++]=x[E]||0}return r},t.prototype.getUnencodedContentsSize=function(){var e=this.maxByteWidthsCache.access(),i=UP(e);return i*this.entries.length},t.prototype.updateDict=function(){n.prototype.updateDict.call(this);var e=this.maxByteWidthsCache.access(),i=this.indexCache.access(),r=this.dict.context;this.dict.set(N.of("W"),r.obj(e)),this.dict.set(N.of("Index"),r.obj(i))},t.create=function(e,i){i===void 0&&(i=!0);var r=new t(e,[],i);return r.addDeletedEntry(jt.of(0,65535),0),r},t.of=function(e,i,r){return r===void 0&&(r=!0),new t(e,i,r)},t})(xh),b_=HJ;var jJ=(function(n){at(t,n);function t(e,i,r,s){var l=n.call(this,e,i)||this;return l.encodeStreams=r,l.objectsPerStream=s,l}return t.prototype.computeBufferSize=function(){return Rt(this,void 0,void 0,function(){var e,i,r,s,l,c,h,d,x,E,m,A,v,y,C,b,x,E,C,A,T,D,O,F;return Ot(this,function(U){switch(U.label){case 0:e=this.context.largestObjectNumber+1,i=Pl.forVersion(1,7),r=i.sizeInBytes()+2,s=b_.create(this.createTrailerDict(),this.encodeStreams),l=[],c=[],h=[],d=this.context.enumerateIndirectObjects(),x=0,E=d.length,U.label=1;case 1:return x<E?(m=d[x],A=m[0],v=m[1],y=A===this.context.trailerInfo.Encrypt||v instanceof wn||v instanceof Wv||A.generationNumber!==0,y?(l.push(m),s.addUncompressedEntry(A,r),r+=this.computeIndirectObjectSize(m),this.shouldWaitForTick(1)?[4,Ds()]:[3,3]):[3,4]):[3,6];case 2:U.sent(),U.label=3;case 3:return[3,5];case 4:C=Lp(c),b=Lp(h),(!C||C.length%this.objectsPerStream===0)&&(C=[],c.push(C),b=jt.of(e++),h.push(b)),s.addCompressedEntry(A,b,C.length),C.push(m),U.label=5;case 5:return x++,[3,1];case 6:x=0,E=c.length,U.label=7;case 7:return x<E?(C=c[x],A=h[x],T=Kv.withContextAndObjects(this.context,C,this.encodeStreams),s.addUncompressedEntry(A,r),r+=this.computeIndirectObjectSize([A,T]),l.push([A,T]),this.shouldWaitForTick(C.length)?[4,Ds()]:[3,9]):[3,10];case 8:U.sent(),U.label=9;case 9:return x++,[3,7];case 10:return D=jt.of(e++),s.dict.set(N.of("Size"),At.of(e)),s.addUncompressedEntry(D,r),O=r,r+=this.computeIndirectObjectSize([D,s]),l.push([D,s]),F=Ah.forLastCrossRefSectionOffset(O),r+=F.sizeInBytes(),[2,{size:r,header:i,indirectObjects:l,trailer:F}]}})})},t.forContext=function(e,i,r,s){return r===void 0&&(r=!0),s===void 0&&(s=50),new t(e,i,r,s)},t})(Zv),S_=jJ;var qJ=(function(n){at(t,n);function t(e){var i=n.call(this)||this;return i.value=e,i}return t.prototype.asBytes=function(){for(var e=this.value+(this.value.length%2===1?"0":""),i=e.length,r=new Uint8Array(e.length/2),s=0,l=0;s<i;){var c=parseInt(e.substring(s,s+2),16);r[l]=c,s+=2,l+=1}return r},t.prototype.decodeText=function(){var e=this.asBytes();return TA(e)?EA(e):IA(e)},t.prototype.decodeDate=function(){var e=this.decodeText(),i=xA(e);if(!i)throw new XA(e);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(e,i){return e[i++]=z.LessThan,i+=rn(this.value,e,i),e[i++]=z.GreaterThan,this.value.length+2},t.of=function(e){return new t(e)},t.fromText=function(e){for(var i=VP(e),r="",s=0,l=i.length;s<l;s++)r+=zl(i[s],4);return new t(r)},t})(Je),xt=qJ;var VJ=(function(){function n(t,e){this.encoding=t===bh.ZapfDingbats?Vv.ZapfDingbats:t===bh.Symbol?Vv.Symbol:Vv.WinAnsi,this.font=$7.load(t),this.fontName=this.font.FontName,this.customName=e}return n.prototype.encodeText=function(t){for(var e=this.encodeTextAsGlyphs(t),i=new Array(e.length),r=0,s=e.length;r<s;r++)i[r]=vc(e[r].code);return xt.of(i.join(""))},n.prototype.widthOfTextAtSize=function(t,e){for(var i=this.encodeTextAsGlyphs(t),r=0,s=0,l=i.length;s<l;s++){var c=i[s].name,h=(i[s+1]||{}).name,d=this.font.getXAxisKerningForPair(c,h)||0;r+=this.widthOfGlyph(c)+d}var m=e/1e3;return r*m},n.prototype.heightOfFontAtSize=function(t,e){e===void 0&&(e={});var i=e.descender,r=i===void 0?!0:i,s=this.font,l=s.Ascender,c=s.Descender,h=s.FontBBox,d=l||h[3],m=c||h[1],v=d-m;return r||(v+=c||0),v/1e3*t},n.prototype.sizeOfFontAtHeight=function(t){var e=this.font,i=e.Ascender,r=e.Descender,s=e.FontBBox,l=i||s[3],c=r||s[1];return 1e3*t/(l-c)},n.prototype.embedIntoContext=function(t,e){var i=t.obj({Type:"Font",Subtype:"Type1",BaseFont:this.customName||this.fontName,Encoding:this.encoding===Vv.WinAnsi?"WinAnsiEncoding":void 0});return e?(t.assign(e,i),e):t.register(i)},n.prototype.widthOfGlyph=function(t){return this.font.getWidthOfGlyph(t)||250},n.prototype.encodeTextAsGlyphs=function(t){for(var e=Array.from(t),i=new Array(e.length),r=0,s=e.length;r<s;r++){var l=RP(e[r]);i[r]=this.encoding.encodeUnicodeCodePoint(l)}return i},n.for=function(t,e){return new n(t,e)},n})(),wh=VJ;var Oj=function(n,t){for(var e=new Array(n.length),i=0,r=n.length;i<r;i++){var s=n[i],l=Rj(ZA(t(s))),c=Rj.apply(void 0,s.codePoints.map(IJ));e[i]=[l,c]}return GJ(e)},GJ=function(n){return`/CIDInit /ProcSet findresource begin
269
- 12 dict begin
270
- begincmap
271
- /CIDSystemInfo <<
272
- /Registry (Adobe)
273
- /Ordering (UCS)
274
- /Supplement 0
275
- >> def
276
- /CMapName /Adobe-Identity-UCS def
277
- /CMapType 2 def
278
- 1 begincodespacerange
279
- <0000><ffff>
280
- endcodespacerange
281
- `+n.length+` beginbfchar
282
- `+n.map(function(t){var e=t[0],i=t[1];return e+" "+i}).join(`
283
- `)+`
284
- endbfchar
285
- endcmap
286
- CMapName currentdict /CMap defineresource pop
287
- end
288
- end`},Rj=function(){for(var n=[],t=0;t<arguments.length;t++)n[t]=arguments[t];return"<"+n.join("")+">"},ZA=function(n){return zl(n,4)},IJ=function(n){if(GP(n))return ZA(n);if(IP(n)){var t=DM(n),e=RM(n);return""+ZA(t)+ZA(e)}var i=vc(n),r="0x"+i+" is not a valid UTF-8 or UTF-16 codepoint.";throw new Error(r)};var XJ=function(n){var t=0,e=function(i){t|=1<<i-1};return n.fixedPitch&&e(1),n.serif&&e(2),n.symbolic&&e(3),n.script&&e(4),n.nonsymbolic&&e(6),n.italic&&e(7),n.allCap&&e(17),n.smallCap&&e(18),n.forceBold&&e(19),t},Mj=function(n){var t=n["OS/2"]?n["OS/2"].sFamilyClass:0,e=XJ({fixedPitch:n.post.isFixedPitch,serif:1<=t&&t<=7,symbolic:!0,script:t===10,italic:n.head.macStyle.italic});return e};var YJ=(function(n){at(t,n);function t(e){var i=n.call(this)||this;return i.value=e,i}return t.prototype.asBytes=function(){for(var e=[],i="",r=!1,s=function(v){v!==void 0&&e.push(v),r=!1},l=0,c=this.value.length;l<c;l++){var h=this.value[l],d=Vt(h),m=this.value[l+1];r?d===z.Newline||d===z.CarriageReturn?s():d===z.n?s(z.Newline):d===z.r?s(z.CarriageReturn):d===z.t?s(z.Tab):d===z.b?s(z.Backspace):d===z.f?s(z.FormFeed):d===z.LeftParen?s(z.LeftParen):d===z.RightParen?s(z.RightParen):d===z.Backspace?s(z.BackSlash):d>=z.Zero&&d<=z.Seven?(i+=h,(i.length===3||!(m>="0"&&m<="7"))&&(s(parseInt(i,8)),i="")):s(d):d===z.BackSlash?r=!0:s(d)}return new Uint8Array(e)},t.prototype.decodeText=function(){var e=this.asBytes();return TA(e)?EA(e):IA(e)},t.prototype.decodeDate=function(){var e=this.decodeText(),i=xA(e);if(!i)throw new XA(e);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(e,i){return e[i++]=z.LeftParen,i+=rn(this.value,e,i),e[i++]=z.RightParen,this.value.length+2},t.of=function(e){return new t(e)},t.fromDate=function(e){var i=Cr(String(e.getUTCFullYear()),4,"0"),r=Cr(String(e.getUTCMonth()+1),2,"0"),s=Cr(String(e.getUTCDate()),2,"0"),l=Cr(String(e.getUTCHours()),2,"0"),c=Cr(String(e.getUTCMinutes()),2,"0"),h=Cr(String(e.getUTCSeconds()),2,"0");return new t("D:"+i+r+s+l+c+h+"Z")},t})(Je),he=YJ;var KJ=(function(){function n(t,e,i,r){var s=this;this.allGlyphsInFontSortedById=function(){for(var l=new Array(s.font.characterSet.length),c=0,h=l.length;c<h;c++){var d=s.font.characterSet[c];l[c]=s.font.glyphForCodePoint(d)}return LP(l.sort(kP),function(m){return m.id})},this.font=t,this.scale=1e3/this.font.unitsPerEm,this.fontData=e,this.fontName=this.font.postscriptName||"Font",this.customName=i,this.fontFeatures=r,this.baseFontName="",this.glyphCache=ra.populatedBy(this.allGlyphsInFontSortedById)}return n.for=function(t,e,i,r){return Rt(this,void 0,void 0,function(){var s;return Ot(this,function(l){switch(l.label){case 0:return[4,t.create(e)];case 1:return s=l.sent(),[2,new n(s,e,i,r)]}})})},n.prototype.encodeText=function(t){for(var e=this.font.layout(t,this.fontFeatures).glyphs,i=new Array(e.length),r=0,s=e.length;r<s;r++)i[r]=zl(e[r].id,4);return xt.of(i.join(""))},n.prototype.widthOfTextAtSize=function(t,e){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=e/1e3;return r*c},n.prototype.heightOfFontAtSize=function(t,e){e===void 0&&(e={});var i=e.descender,r=i===void 0?!0:i,s=this.font,l=s.ascent,c=s.descent,h=s.bbox,d=(l||h.maxY)*this.scale,m=(c||h.minY)*this.scale,v=d-m;return r||(v-=Math.abs(c)||0),v/1e3*t},n.prototype.sizeOfFontAtHeight=function(t){var e=this.font,i=e.ascent,r=e.descent,s=e.bbox,l=(i||s.maxY)*this.scale,c=(r||s.minY)*this.scale;return 1e3*t/(l-c)},n.prototype.embedIntoContext=function(t,e){return this.baseFontName=this.customName||t.addRandomSuffix(this.fontName),this.embedFontDict(t,e)},n.prototype.embedFontDict=function(t,e){return Rt(this,void 0,void 0,function(){var i,r,s;return Ot(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}),e?(t.assign(e,s),[2,e]):[2,t.register(s)]}})})},n.prototype.isCFF=function(){return this.font.cff},n.prototype.embedCIDFontDict=function(t){return Rt(this,void 0,void 0,function(){var e,i;return Ot(this,function(r){switch(r.label){case 0:return[4,this.embedFontDescriptor(t)];case 1:return e=r.sent(),i=t.obj({Type:"Font",Subtype:this.isCFF()?"CIDFontType0":"CIDFontType2",CIDToGIDMap:"Identity",BaseFont:this.baseFontName,CIDSystemInfo:{Registry:he.of("Adobe"),Ordering:he.of("Identity"),Supplement:0},FontDescriptor:e,W:this.computeWidths()}),[2,t.register(i)]}})})},n.prototype.embedFontDescriptor=function(t){return Rt(this,void 0,void 0,function(){var e,i,r,s,l,c,h,d,m,v,y,b,x,E,C;return Ot(this,function(A){switch(A.label){case 0:return[4,this.embedFontStream(t)];case 1:return e=A.sent(),i=this.scale,r=this.font,s=r.italicAngle,l=r.ascent,c=r.descent,h=r.capHeight,d=r.xHeight,m=this.font.bbox,v=m.minX,y=m.minY,b=m.maxX,x=m.maxY,E=t.obj((C={Type:"FontDescriptor",FontName:this.baseFontName,Flags:Mj(this.font),FontBBox:[v*i,y*i,b*i,x*i],ItalicAngle:s,Ascent:l*i,Descent:c*i,CapHeight:(h||l)*i,XHeight:(d||0)*i,StemV:0},C[this.isCFF()?"FontFile3":"FontFile2"]=e,C)),[2,t.register(E)]}})})},n.prototype.serializeFont=function(){return Rt(this,void 0,void 0,function(){return Ot(this,function(t){return[2,this.fontData]})})},n.prototype.embedFontStream=function(t){return Rt(this,void 0,void 0,function(){var e,i,r;return Ot(this,function(s){switch(s.label){case 0:return r=(i=t).flateStream,[4,this.serializeFont()];case 1:return e=r.apply(i,[s.sent(),{Subtype:this.isCFF()?"CIDFontType0C":void 0}]),[2,t.register(e)]}})})},n.prototype.embedUnicodeCmap=function(t){var e=Oj(this.glyphCache.access(),this.glyphId.bind(this)),i=t.flateStream(e);return t.register(i)},n.prototype.glyphId=function(t){return t?t.id:-1},n.prototype.computeWidths=function(){for(var t=this.glyphCache.access(),e=[],i=[],r=0,s=t.length;r<s;r++){var l=t[r],c=t[r-1],h=this.glyphId(l),d=this.glyphId(c);r===0?e.push(h):h-d!==1&&(e.push(i),e.push(h),i=[]),i.push(l.advanceWidth*this.scale)}return e.push(i),e},n})(),Eh=KJ;var ZJ=(function(n){at(t,n);function t(e,i,r,s){var l=n.call(this,e,i,r,s)||this;return l.subset=l.font.createSubset(),l.glyphs=[],l.glyphCache=ra.populatedBy(function(){return l.glyphs}),l.glyphIdMap=new Map,l}return t.for=function(e,i,r,s){return Rt(this,void 0,void 0,function(){var l;return Ot(this,function(c){switch(c.label){case 0:return[4,e.create(i)];case 1:return l=c.sent(),[2,new t(l,i,r,s)]}})})},t.prototype.encodeText=function(e){for(var i=this.font.layout(e,this.fontFeatures).glyphs,r=new Array(i.length),s=0,l=i.length;s<l;s++){var c=i[s],h=this.subset.includeGlyph(c);this.glyphs[h-1]=c,this.glyphIdMap.set(c.id,h),r[s]=zl(h,4)}return this.glyphCache.invalidate(),xt.of(r.join(""))},t.prototype.isCFF=function(){return this.subset.cff},t.prototype.glyphId=function(e){return e?this.glyphIdMap.get(e.id):-1},t.prototype.serializeFont=function(){var e=this;return new Promise(function(i,r){var s=[];e.subset.encodeStream().on("data",function(l){return s.push(l)}).on("end",function(){return i(zP(s))}).on("error",function(l){return r(l)})})},t})(Eh),x_=ZJ;var Qv;(function(n){n.Source="Source",n.Data="Data",n.Alternative="Alternative",n.Supplement="Supplement",n.EncryptedPayload="EncryptedPayload",n.FormData="EncryptedPayload",n.Schema="Schema",n.Unspecified="Unspecified"})(Qv||(Qv={}));var WJ=(function(){function n(t,e,i){i===void 0&&(i={}),this.fileData=t,this.fileName=e,this.options=i}return n.for=function(t,e,i){return i===void 0&&(i={}),new n(t,e,i)},n.prototype.embedIntoContext=function(t,e){return Rt(this,void 0,void 0,function(){var i,r,s,l,c,h,d,m,v;return Ot(this,function(y){return i=this.options,r=i.mimeType,s=i.description,l=i.creationDate,c=i.modificationDate,h=i.afRelationship,d=t.flateStream(this.fileData,{Type:"EmbeddedFile",Subtype:r??void 0,Params:{Size:this.fileData.length,CreationDate:l?he.fromDate(l):void 0,ModDate:c?he.fromDate(c):void 0}}),m=t.register(d),v=t.obj({Type:"Filespec",F:he.of(this.fileName),UF:xt.fromText(this.fileName),EF:{F:m},Desc:s?xt.fromText(s):void 0,AFRelationship:h??void 0}),e?(t.assign(e,v),[2,e]):[2,t.register(v)]})})},n})(),A_=WJ;var _j=[65472,65473,65474,65475,65477,65478,65479,65480,65481,65482,65483,65484,65485,65486,65487],t0;(function(n){n.DeviceGray="DeviceGray",n.DeviceRGB="DeviceRGB",n.DeviceCMYK="DeviceCMYK"})(t0||(t0={}));var QJ={1:t0.DeviceGray,3:t0.DeviceRGB,4:t0.DeviceCMYK},JJ=(function(){function n(t,e,i,r,s){this.imageData=t,this.bitsPerComponent=e,this.width=i,this.height=r,this.colorSpace=s}return n.for=function(t){return Rt(this,void 0,void 0,function(){var e,i,r,s,l,c,h,d,m,v;return Ot(this,function(y){if(e=new DataView(t.buffer),i=e.getUint16(0),i!==65496)throw new Error("SOI not found in JPEG");for(r=2;r<e.byteLength&&(s=e.getUint16(r),r+=2,!_j.includes(s));)r+=e.getUint16(r);if(!_j.includes(s))throw new Error("Invalid JPEG");if(r+=2,l=e.getUint8(r++),c=e.getUint16(r),r+=2,h=e.getUint16(r),r+=2,d=e.getUint8(r++),m=QJ[d],!m)throw new Error("Unknown JPEG channel.");return v=m,[2,new n(t,l,h,c,v)]})})},n.prototype.embedIntoContext=function(t,e){return Rt(this,void 0,void 0,function(){var i;return Ot(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===t0.DeviceCMYK?[1,0,1,0,1,0,1,0]:void 0}),e?(t.assign(e,i),[2,e]):[2,t.register(i)]})})},n})(),Jv=JJ;var Fj=yn(Hv()),ct={};ct.toRGBA8=function(n){var t=n.width,e=n.height;if(n.tabs.acTL==null)return[ct.toRGBA8.decodeImage(n.data,t,e,n).buffer];var i=[];n.frames[0].data==null&&(n.frames[0].data=n.data);for(var r=t*e*4,s=new Uint8Array(r),l=new Uint8Array(r),c=new Uint8Array(r),h=0;h<n.frames.length;h++){var d=n.frames[h],m=d.rect.x,v=d.rect.y,y=d.rect.width,b=d.rect.height,x=ct.toRGBA8.decodeImage(d.data,y,b,n);if(h!=0)for(var E=0;E<r;E++)c[E]=s[E];if(d.blend==0?ct._copyTile(x,y,b,s,t,e,m,v,0):d.blend==1&&ct._copyTile(x,y,b,s,t,e,m,v,1),i.push(s.buffer.slice(0)),d.dispose!=0){if(d.dispose==1)ct._copyTile(l,y,b,s,t,e,m,v,0);else if(d.dispose==2)for(var E=0;E<r;E++)s[E]=c[E]}}return i};ct.toRGBA8.decodeImage=function(n,t,e,i){var r=t*e,s=ct.decode._getBPP(i),l=Math.ceil(t*s/8),c=new Uint8Array(r*4),h=new Uint32Array(c.buffer),d=i.ctype,m=i.depth,v=ct._bin.readUshort,y=Date.now();if(d==6){var b=r<<2;if(m==8)for(var x=0;x<b;x+=4)c[x]=n[x],c[x+1]=n[x+1],c[x+2]=n[x+2],c[x+3]=n[x+3];if(m==16)for(var x=0;x<b;x++)c[x]=n[x<<1]}else if(d==2){var E=i.tabs.tRNS;if(E==null){if(m==8)for(var x=0;x<r;x++){var C=x*3;h[x]=255<<24|n[C+2]<<16|n[C+1]<<8|n[C]}if(m==16)for(var x=0;x<r;x++){var C=x*6;h[x]=255<<24|n[C+4]<<16|n[C+2]<<8|n[C]}}else{var A=E[0],T=E[1],D=E[2];if(m==8)for(var x=0;x<r;x++){var O=x<<2,C=x*3;h[x]=255<<24|n[C+2]<<16|n[C+1]<<8|n[C],n[C]==A&&n[C+1]==T&&n[C+2]==D&&(c[O+3]=0)}if(m==16)for(var x=0;x<r;x++){var O=x<<2,C=x*6;h[x]=255<<24|n[C+4]<<16|n[C+2]<<8|n[C],v(n,C)==A&&v(n,C+2)==T&&v(n,C+4)==D&&(c[O+3]=0)}}}else if(d==3){var F=i.tabs.PLTE,U=i.tabs.tRNS,L=U?U.length:0;if(m==1)for(var k=0;k<e;k++)for(var G=k*l,q=k*t,x=0;x<t;x++){var O=q+x<<2,Z=n[G+(x>>3)]>>7-((x&7)<<0)&1,J=3*Z;c[O]=F[J],c[O+1]=F[J+1],c[O+2]=F[J+2],c[O+3]=Z<L?U[Z]:255}if(m==2)for(var k=0;k<e;k++)for(var G=k*l,q=k*t,x=0;x<t;x++){var O=q+x<<2,Z=n[G+(x>>2)]>>6-((x&3)<<1)&3,J=3*Z;c[O]=F[J],c[O+1]=F[J+1],c[O+2]=F[J+2],c[O+3]=Z<L?U[Z]:255}if(m==4)for(var k=0;k<e;k++)for(var G=k*l,q=k*t,x=0;x<t;x++){var O=q+x<<2,Z=n[G+(x>>1)]>>4-((x&1)<<2)&15,J=3*Z;c[O]=F[J],c[O+1]=F[J+1],c[O+2]=F[J+2],c[O+3]=Z<L?U[Z]:255}if(m==8)for(var x=0;x<r;x++){var O=x<<2,Z=n[x],J=3*Z;c[O]=F[J],c[O+1]=F[J+1],c[O+2]=F[J+2],c[O+3]=Z<L?U[Z]:255}}else if(d==4){if(m==8)for(var x=0;x<r;x++){var O=x<<2,nt=x<<1,ot=n[nt];c[O]=ot,c[O+1]=ot,c[O+2]=ot,c[O+3]=n[nt+1]}if(m==16)for(var x=0;x<r;x++){var O=x<<2,nt=x<<2,ot=n[nt];c[O]=ot,c[O+1]=ot,c[O+2]=ot,c[O+3]=n[nt+2]}}else if(d==0)for(var A=i.tabs.tRNS?i.tabs.tRNS:-1,k=0;k<e;k++){var B=k*l,X=k*t;if(m==1)for(var V=0;V<t;V++){var ot=255*(n[B+(V>>>3)]>>>7-(V&7)&1),lt=ot==A*255?0:255;h[X+V]=lt<<24|ot<<16|ot<<8|ot}else if(m==2)for(var V=0;V<t;V++){var ot=85*(n[B+(V>>>2)]>>>6-((V&3)<<1)&3),lt=ot==A*85?0:255;h[X+V]=lt<<24|ot<<16|ot<<8|ot}else if(m==4)for(var V=0;V<t;V++){var ot=17*(n[B+(V>>>1)]>>>4-((V&1)<<2)&15),lt=ot==A*17?0:255;h[X+V]=lt<<24|ot<<16|ot<<8|ot}else if(m==8)for(var V=0;V<t;V++){var ot=n[B+V],lt=ot==A?0:255;h[X+V]=lt<<24|ot<<16|ot<<8|ot}else if(m==16)for(var V=0;V<t;V++){var ot=n[B+(V<<1)],lt=v(n,B+(V<<x))==A?0:255;h[X+V]=lt<<24|ot<<16|ot<<8|ot}}return c};ct.decode=function(n){for(var t=new Uint8Array(n),e=8,i=ct._bin,r=i.readUshort,s=i.readUint,l={tabs:{},frames:[]},c=new Uint8Array(t.length),h=0,d,m=0,v=[137,80,78,71,13,10,26,10],y=0;y<8;y++)if(t[y]!=v[y])throw"The input is not a PNG file!";for(;e<t.length;){var b=i.readUint(t,e);e+=4;var x=i.readASCII(t,e,4);if(e+=4,x=="IHDR")ct.decode._IHDR(t,e,l);else if(x=="IDAT"){for(var y=0;y<b;y++)c[h+y]=t[e+y];h+=b}else if(x=="acTL")l.tabs[x]={num_frames:s(t,e),num_plays:s(t,e+4)},d=new Uint8Array(t.length);else if(x=="fcTL"){if(m!=0){var E=l.frames[l.frames.length-1];E.data=ct.decode._decompress(l,d.slice(0,m),E.rect.width,E.rect.height),m=0}var C={x:s(t,e+12),y:s(t,e+16),width:s(t,e+4),height:s(t,e+8)},A=r(t,e+22);A=r(t,e+20)/(A==0?100:A);var T={rect:C,delay:Math.round(A*1e3),dispose:t[e+24],blend:t[e+25]};l.frames.push(T)}else if(x=="fdAT"){for(var y=0;y<b-4;y++)d[m+y]=t[e+y+4];m+=b-4}else if(x=="pHYs")l.tabs[x]=[i.readUint(t,e),i.readUint(t,e+4),t[e+8]];else if(x=="cHRM"){l.tabs[x]=[];for(var y=0;y<8;y++)l.tabs[x].push(i.readUint(t,e+y*4))}else if(x=="tEXt"){l.tabs[x]==null&&(l.tabs[x]={});var D=i.nextZero(t,e),O=i.readASCII(t,e,D-e),F=i.readASCII(t,D+1,e+b-D-1);l.tabs[x][O]=F}else if(x=="iTXt"){l.tabs[x]==null&&(l.tabs[x]={});var D=0,U=e;D=i.nextZero(t,U);var O=i.readASCII(t,U,D-U);U=D+1;var L=t[U],k=t[U+1];U+=2,D=i.nextZero(t,U);var G=i.readASCII(t,U,D-U);U=D+1,D=i.nextZero(t,U);var q=i.readUTF8(t,U,D-U);U=D+1;var F=i.readUTF8(t,U,b-(U-e));l.tabs[x][O]=F}else if(x=="PLTE")l.tabs[x]=i.readBytes(t,e,b);else if(x=="hIST"){var Z=l.tabs.PLTE.length/3;l.tabs[x]=[];for(var y=0;y<Z;y++)l.tabs[x].push(r(t,e+y*2))}else if(x=="tRNS")l.ctype==3?l.tabs[x]=i.readBytes(t,e,b):l.ctype==0?l.tabs[x]=r(t,e):l.ctype==2&&(l.tabs[x]=[r(t,e),r(t,e+2),r(t,e+4)]);else if(x=="gAMA")l.tabs[x]=i.readUint(t,e)/1e5;else if(x=="sRGB")l.tabs[x]=t[e];else if(x=="bKGD")l.ctype==0||l.ctype==4?l.tabs[x]=[r(t,e)]:l.ctype==2||l.ctype==6?l.tabs[x]=[r(t,e),r(t,e+2),r(t,e+4)]:l.ctype==3&&(l.tabs[x]=t[e]);else if(x=="IEND")break;e+=b;var J=i.readUint(t,e);e+=4}if(m!=0){var E=l.frames[l.frames.length-1];E.data=ct.decode._decompress(l,d.slice(0,m),E.rect.width,E.rect.height),m=0}return l.data=ct.decode._decompress(l,c,l.width,l.height),delete l.compress,delete l.interlace,delete l.filter,l};ct.decode._decompress=function(n,t,e,i){var c=Date.now(),r=ct.decode._getBPP(n),s=Math.ceil(e*r/8),l=new Uint8Array((s+1+n.interlace)*i);t=ct.decode._inflate(t,l);var c=Date.now();return n.interlace==0?t=ct.decode._filterZero(t,n,0,e,i):n.interlace==1&&(t=ct.decode._readInterlace(t,n)),t};ct.decode._inflate=function(n,t){var e=ct.inflateRaw(new Uint8Array(n.buffer,2,n.length-6),t);return e};ct.inflateRaw=(function(){var n={};return n.H={},n.H.N=function(t,e){var i=Uint8Array,r=0,s=0,l=0,c=0,h=0,d=0,m=0,v=0,y=0,b,x;if(t[0]==3&&t[1]==0)return e||new i(0);var E=n.H,C=E.b,A=E.e,T=E.R,D=E.n,O=E.A,F=E.Z,U=E.m,L=e==null;for(L&&(e=new i(t.length>>>2<<3));r==0;){if(r=C(t,y,1),s=C(t,y+1,2),y+=3,s==0){(y&7)!=0&&(y+=8-(y&7));var k=(y>>>3)+4,G=t[k-4]|t[k-3]<<8;L&&(e=n.H.W(e,v+G)),e.set(new i(t.buffer,t.byteOffset+k,G),v),y=k+G<<3,v+=G;continue}if(L&&(e=n.H.W(e,v+(1<<17))),s==1&&(b=U.J,x=U.h,d=511,m=31),s==2){l=A(t,y,5)+257,c=A(t,y+5,5)+1,h=A(t,y+10,4)+4,y+=14;for(var q=y,Z=1,J=0;J<38;J+=2)U.Q[J]=0,U.Q[J+1]=0;for(var J=0;J<h;J++){var nt=A(t,y+J*3,3);U.Q[(U.X[J]<<1)+1]=nt,nt>Z&&(Z=nt)}y+=3*h,D(U.Q,Z),O(U.Q,Z,U.u),b=U.w,x=U.d,y=T(U.u,(1<<Z)-1,l+c,t,y,U.v);var ot=E.V(U.v,0,l,U.C);d=(1<<ot)-1;var B=E.V(U.v,l,c,U.D);m=(1<<B)-1,D(U.C,ot),O(U.C,ot,b),D(U.D,B),O(U.D,B,x)}for(;;){var X=b[F(t,y)&d];y+=X&15;var V=X>>>4;if(!(V>>>8))e[v++]=V;else{if(V==256)break;var lt=v+V-254;if(V>264){var dt=U.q[V-257];lt=v+(dt>>>3)+A(t,y,dt&7),y+=dt&7}var re=x[F(t,y)&m];y+=re&15;var tt=re>>>4,gt=U.c[tt],bt=(gt>>>4)+C(t,y,gt&15);for(y+=gt&15;v<lt;)e[v]=e[v++-bt],e[v]=e[v++-bt],e[v]=e[v++-bt],e[v]=e[v++-bt];v=lt}}}return e.length==v?e:e.slice(0,v)},n.H.W=function(t,e){var i=t.length;if(e<=i)return t;var r=new Uint8Array(i<<1);return r.set(t,0),r},n.H.R=function(t,e,i,r,s,l){for(var c=n.H.e,h=n.H.Z,d=0;d<i;){var m=t[h(r,s)&e];s+=m&15;var v=m>>>4;if(v<=15)l[d]=v,d++;else{var y=0,b=0;v==16?(b=3+c(r,s,2),s+=2,y=l[d-1]):v==17?(b=3+c(r,s,3),s+=3):v==18&&(b=11+c(r,s,7),s+=7);for(var x=d+b;d<x;)l[d]=y,d++}}return s},n.H.V=function(t,e,i,r){for(var s=0,l=0,c=r.length>>>1;l<i;){var h=t[l+e];r[l<<1]=0,r[(l<<1)+1]=h,h>s&&(s=h),l++}for(;l<c;)r[l<<1]=0,r[(l<<1)+1]=0,l++;return s},n.H.n=function(t,e){for(var i=n.H.m,r=t.length,s,l,c,h,d,m=i.j,h=0;h<=e;h++)m[h]=0;for(h=1;h<r;h+=2)m[t[h]]++;var v=i.K;for(s=0,m[0]=0,l=1;l<=e;l++)s=s+m[l-1]<<1,v[l]=s;for(c=0;c<r;c+=2)d=t[c+1],d!=0&&(t[c]=v[d],v[d]++)},n.H.A=function(t,e,i){for(var r=t.length,s=n.H.m,l=s.r,c=0;c<r;c+=2)if(t[c+1]!=0)for(var h=c>>1,d=t[c+1],m=h<<4|d,v=e-d,y=t[c]<<v,b=y+(1<<v);y!=b;){var x=l[y]>>>15-e;i[x]=m,y++}},n.H.l=function(t,e){for(var i=n.H.m.r,r=15-e,s=0;s<t.length;s+=2){var l=t[s]<<e-t[s+1];t[s]=i[l]>>>r}},n.H.M=function(t,e,i){i=i<<(e&7);var r=e>>>3;t[r]|=i,t[r+1]|=i>>>8},n.H.I=function(t,e,i){i=i<<(e&7);var r=e>>>3;t[r]|=i,t[r+1]|=i>>>8,t[r+2]|=i>>>16},n.H.e=function(t,e,i){return(t[e>>>3]|t[(e>>>3)+1]<<8)>>>(e&7)&(1<<i)-1},n.H.b=function(t,e,i){return(t[e>>>3]|t[(e>>>3)+1]<<8|t[(e>>>3)+2]<<16)>>>(e&7)&(1<<i)-1},n.H.Z=function(t,e){return(t[e>>>3]|t[(e>>>3)+1]<<8|t[(e>>>3)+2]<<16)>>>(e&7)},n.H.i=function(t,e){return(t[e>>>3]|t[(e>>>3)+1]<<8|t[(e>>>3)+2]<<16|t[(e>>>3)+3]<<24)>>>(e&7)},n.H.m=(function(){var t=Uint16Array,e=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 e(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 e(286),Y:new e(30),a:new e(19),t:new e(15e3),k:new t(65536),g:new t(32768)}})(),(function(){for(var t=n.H.m,e=32768,i=0;i<e;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,h){for(;c--!=0;)l.push(0,h)}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),n.H.n(t._,9),n.H.A(t._,9,t.J),n.H.l(t._,9),s(t.$,32,5),n.H.n(t.$,5),n.H.A(t.$,5,t.h),n.H.l(t.$,5),s(t.Q,19,0),s(t.C,286,0),s(t.D,30,0),s(t.v,320,0)})(),n.H.N})();ct.decode._readInterlace=function(n,t){for(var e=t.width,i=t.height,r=ct.decode._getBPP(t),s=r>>3,l=Math.ceil(e*r/8),c=new Uint8Array(i*l),h=0,d=[0,0,4,0,2,0,1],m=[0,4,0,2,0,1,0],v=[8,8,8,4,4,2,2],y=[8,8,4,4,2,2,1],b=0;b<7;){for(var x=v[b],E=y[b],C=0,A=0,T=d[b];T<i;)T+=x,A++;for(var D=m[b];D<e;)D+=E,C++;var O=Math.ceil(C*r/8);ct.decode._filterZero(n,t,h,C,A);for(var F=0,U=d[b];U<i;){for(var L=m[b],k=h+F*O<<3;L<e;){if(r==1){var G=n[k>>3];G=G>>7-(k&7)&1,c[U*l+(L>>3)]|=G<<7-((L&7)<<0)}if(r==2){var G=n[k>>3];G=G>>6-(k&7)&3,c[U*l+(L>>2)]|=G<<6-((L&3)<<1)}if(r==4){var G=n[k>>3];G=G>>4-(k&7)&15,c[U*l+(L>>1)]|=G<<4-((L&1)<<2)}if(r>=8)for(var q=U*l+L*s,Z=0;Z<s;Z++)c[q+Z]=n[(k>>3)+Z];k+=r,L+=E}F++,U+=x}C*A!=0&&(h+=A*(1+O)),b=b+1}return c};ct.decode._getBPP=function(n){var t=[1,null,3,1,2,null,4][n.ctype];return t*n.depth};ct.decode._filterZero=function(n,t,e,i,r){var s=ct.decode._getBPP(t),l=Math.ceil(i*s/8),c=ct.decode._paeth;s=Math.ceil(s/8);var h=0,d=1,m=n[e],v=0;if(m>1&&(n[e]=[0,0,1][m-2]),m==3)for(v=s;v<l;v++)n[v+1]=n[v+1]+(n[v+1-s]>>>1)&255;for(var y=0;y<r;y++)if(h=e+y*l,d=h+y+1,m=n[d-1],v=0,m==0)for(;v<l;v++)n[h+v]=n[d+v];else if(m==1){for(;v<s;v++)n[h+v]=n[d+v];for(;v<l;v++)n[h+v]=n[d+v]+n[h+v-s]}else if(m==2)for(;v<l;v++)n[h+v]=n[d+v]+n[h+v-l];else if(m==3){for(;v<s;v++)n[h+v]=n[d+v]+(n[h+v-l]>>>1);for(;v<l;v++)n[h+v]=n[d+v]+(n[h+v-l]+n[h+v-s]>>>1)}else{for(;v<s;v++)n[h+v]=n[d+v]+c(0,n[h+v-l],0);for(;v<l;v++)n[h+v]=n[d+v]+c(n[h+v-s],n[h+v-l],n[h+v-s-l])}return n};ct.decode._paeth=function(n,t,e){var i=n+t-e,r=i-n,s=i-t,l=i-e;return r*r<=s*s&&r*r<=l*l?n:s*s<=l*l?t:e};ct.decode._IHDR=function(n,t,e){var i=ct._bin;e.width=i.readUint(n,t),t+=4,e.height=i.readUint(n,t),t+=4,e.depth=n[t],t++,e.ctype=n[t],t++,e.compress=n[t],t++,e.filter=n[t],t++,e.interlace=n[t],t++};ct._bin={nextZero:function(n,t){for(;n[t]!=0;)t++;return t},readUshort:function(n,t){return n[t]<<8|n[t+1]},writeUshort:function(n,t,e){n[t]=e>>8&255,n[t+1]=e&255},readUint:function(n,t){return n[t]*(256*256*256)+(n[t+1]<<16|n[t+2]<<8|n[t+3])},writeUint:function(n,t,e){n[t]=e>>24&255,n[t+1]=e>>16&255,n[t+2]=e>>8&255,n[t+3]=e&255},readASCII:function(n,t,e){for(var i="",r=0;r<e;r++)i+=String.fromCharCode(n[t+r]);return i},writeASCII:function(n,t,e){for(var i=0;i<e.length;i++)n[t+i]=e.charCodeAt(i)},readBytes:function(n,t,e){for(var i=[],r=0;r<e;r++)i.push(n[t+r]);return i},pad:function(n){return n.length<2?"0"+n:n},readUTF8:function(n,t,e){for(var i="",r,s=0;s<e;s++)i+="%"+ct._bin.pad(n[t+s].toString(16));try{r=decodeURIComponent(i)}catch{return ct._bin.readASCII(n,t,e)}return r}};ct._copyTile=function(n,t,e,i,r,s,l,c,h){for(var d=Math.min(t,r),m=Math.min(e,s),v=0,y=0,b=0;b<m;b++)for(var x=0;x<d;x++)if(l>=0&&c>=0?(v=b*t+x<<2,y=(c+b)*r+l+x<<2):(v=(-c+b)*t-l+x<<2,y=b*r+x<<2),h==0)i[y]=n[v],i[y+1]=n[v+1],i[y+2]=n[v+2],i[y+3]=n[v+3];else if(h==1){var E=n[v+3]*.00392156862745098,C=n[v]*E,A=n[v+1]*E,T=n[v+2]*E,D=i[y+3]*(1/255),O=i[y]*D,F=i[y+1]*D,U=i[y+2]*D,L=1-E,k=E+D*L,G=k==0?0:1/k;i[y+3]=255*k,i[y+0]=(C+O*L)*G,i[y+1]=(A+F*L)*G,i[y+2]=(T+U*L)*G}else if(h==2){var E=n[v+3],C=n[v],A=n[v+1],T=n[v+2],D=i[y+3],O=i[y],F=i[y+1],U=i[y+2];E==D&&C==O&&A==F&&T==U?(i[y]=0,i[y+1]=0,i[y+2]=0,i[y+3]=0):(i[y]=C,i[y+1]=A,i[y+2]=T,i[y+3]=E)}else if(h==3){var E=n[v+3],C=n[v],A=n[v+1],T=n[v+2],D=i[y+3],O=i[y],F=i[y+1],U=i[y+2];if(E==D&&C==O&&A==F&&T==U)continue;if(E<220&&D>20)return!1}return!0};ct.encode=function(n,t,e,i,r,s,l){i==null&&(i=0),l==null&&(l=!1);var c=ct.encode.compress(n,t,e,i,[!1,!1,!1,0,l]);return ct.encode.compressPNG(c,-1),ct.encode._main(c,t,e,r,s)};ct.encodeLL=function(n,t,e,i,r,s,l,c){for(var h={ctype:0+(i==1?0:2)+(r==0?0:4),depth:s,frames:[]},d=Date.now(),m=(i+r)*s,v=m*t,y=0;y<n.length;y++)h.frames.push({rect:{x:0,y:0,width:t,height:e},img:new Uint8Array(n[y]),blend:0,dispose:1,bpp:Math.ceil(m/8),bpl:Math.ceil(v/8)});ct.encode.compressPNG(h,0,!0);var b=ct.encode._main(h,t,e,l,c);return b};ct.encode._main=function(n,t,e,i,r){r==null&&(r={});var s=ct.crc.crc,l=ct._bin.writeUint,c=ct._bin.writeUshort,h=ct._bin.writeASCII,d=8,m=n.frames.length>1,v=!1,y=33+(m?20:0);if(r.sRGB!=null&&(y+=13),r.pHYs!=null&&(y+=21),n.ctype==3){for(var b=n.plte.length,x=0;x<b;x++)n.plte[x]>>>24!=255&&(v=!0);y+=8+b*3+4+(v?8+b*1+4:0)}for(var E=0;E<n.frames.length;E++){var C=n.frames[E];m&&(y+=38),y+=C.cimg.length+12,E!=0&&(y+=4)}y+=12;for(var A=new Uint8Array(y),T=[137,80,78,71,13,10,26,10],x=0;x<8;x++)A[x]=T[x];if(l(A,d,13),d+=4,h(A,d,"IHDR"),d+=4,l(A,d,t),d+=4,l(A,d,e),d+=4,A[d]=n.depth,d++,A[d]=n.ctype,d++,A[d]=0,d++,A[d]=0,d++,A[d]=0,d++,l(A,d,s(A,d-17,17)),d+=4,r.sRGB!=null&&(l(A,d,1),d+=4,h(A,d,"sRGB"),d+=4,A[d]=r.sRGB,d++,l(A,d,s(A,d-5,5)),d+=4),r.pHYs!=null&&(l(A,d,9),d+=4,h(A,d,"pHYs"),d+=4,l(A,d,r.pHYs[0]),d+=4,l(A,d,r.pHYs[1]),d+=4,A[d]=r.pHYs[2],d++,l(A,d,s(A,d-13,13)),d+=4),m&&(l(A,d,8),d+=4,h(A,d,"acTL"),d+=4,l(A,d,n.frames.length),d+=4,l(A,d,r.loop!=null?r.loop:0),d+=4,l(A,d,s(A,d-12,12)),d+=4),n.ctype==3){var b=n.plte.length;l(A,d,b*3),d+=4,h(A,d,"PLTE"),d+=4;for(var x=0;x<b;x++){var D=x*3,O=n.plte[x],F=O&255,U=O>>>8&255,L=O>>>16&255;A[d+D+0]=F,A[d+D+1]=U,A[d+D+2]=L}if(d+=b*3,l(A,d,s(A,d-b*3-4,b*3+4)),d+=4,v){l(A,d,b),d+=4,h(A,d,"tRNS"),d+=4;for(var x=0;x<b;x++)A[d+x]=n.plte[x]>>>24&255;d+=b,l(A,d,s(A,d-b-4,b+4)),d+=4}}for(var k=0,E=0;E<n.frames.length;E++){var C=n.frames[E];m&&(l(A,d,26),d+=4,h(A,d,"fcTL"),d+=4,l(A,d,k++),d+=4,l(A,d,C.rect.width),d+=4,l(A,d,C.rect.height),d+=4,l(A,d,C.rect.x),d+=4,l(A,d,C.rect.y),d+=4,c(A,d,i[E]),d+=2,c(A,d,1e3),d+=2,A[d]=C.dispose,d++,A[d]=C.blend,d++,l(A,d,s(A,d-30,30)),d+=4);var G=C.cimg,b=G.length;l(A,d,b+(E==0?0:4)),d+=4;var q=d;h(A,d,E==0?"IDAT":"fdAT"),d+=4,E!=0&&(l(A,d,k++),d+=4),A.set(G,d),d+=b,l(A,d,s(A,q,d-q)),d+=4}return l(A,d,0),d+=4,h(A,d,"IEND"),d+=4,l(A,d,s(A,d-4,4)),d+=4,A.buffer};ct.encode.compressPNG=function(n,t,e){for(var i=0;i<n.frames.length;i++){var r=n.frames[i],s=r.rect.width,l=r.rect.height,c=new Uint8Array(l*r.bpl+l);r.cimg=ct.encode._filterZero(r.img,l,r.bpp,r.bpl,c,t,e)}};ct.encode.compress=function(n,t,e,i,r){for(var s=r[0],l=r[1],c=r[2],h=r[3],d=r[4],m=6,v=8,y=255,b=0;b<n.length;b++)for(var x=new Uint8Array(n[b]),E=x.length,C=0;C<E;C+=4)y&=x[C+3];var A=y!=255,T=ct.encode.framize(n,t,e,s,l,c),D={},O=[],F=[];if(i!=0){for(var U=[],C=0;C<T.length;C++)U.push(T[C].img.buffer);for(var L=ct.encode.concatRGBA(U),k=ct.quantize(L,i),G=0,q=new Uint8Array(k.abuf),C=0;C<T.length;C++){var Z=T[C].img,J=Z.length;F.push(new Uint8Array(k.inds.buffer,G>>2,J>>2));for(var b=0;b<J;b+=4)Z[b]=q[G+b],Z[b+1]=q[G+b+1],Z[b+2]=q[G+b+2],Z[b+3]=q[G+b+3];G+=J}for(var C=0;C<k.plte.length;C++)O.push(k.plte[C].est.rgba)}else for(var b=0;b<T.length;b++){var nt=T[b],ot=new Uint32Array(nt.img.buffer),B=nt.rect.width,E=ot.length,X=new Uint8Array(E);F.push(X);for(var C=0;C<E;C++){var V=ot[C];if(C!=0&&V==ot[C-1])X[C]=X[C-1];else if(C>B&&V==ot[C-B])X[C]=X[C-B];else{var lt=D[V];if(lt==null&&(D[V]=lt=O.length,O.push(V),O.length>=300))break;X[C]=lt}}}var dt=O.length;dt<=256&&d==!1&&(dt<=2?v=1:dt<=4?v=2:dt<=16?v=4:v=8,v=Math.max(v,h));for(var b=0;b<T.length;b++){var nt=T[b],re=nt.rect.x,tt=nt.rect.y,B=nt.rect.width,gt=nt.rect.height,bt=nt.img,Pt=new Uint32Array(bt.buffer),mn=4*B,Ye=4;if(dt<=256&&d==!1){mn=Math.ceil(v*B/8);for(var Et=new Uint8Array(mn*gt),Ke=F[b],Ln=0;Ln<gt;Ln++){var C=Ln*mn,Ei=Ln*B;if(v==8)for(var pt=0;pt<B;pt++)Et[C+pt]=Ke[Ei+pt];else if(v==4)for(var pt=0;pt<B;pt++)Et[C+(pt>>1)]|=Ke[Ei+pt]<<4-(pt&1)*4;else if(v==2)for(var pt=0;pt<B;pt++)Et[C+(pt>>2)]|=Ke[Ei+pt]<<6-(pt&3)*2;else if(v==1)for(var pt=0;pt<B;pt++)Et[C+(pt>>3)]|=Ke[Ei+pt]<<7-(pt&7)*1}bt=Et,m=3,Ye=1}else if(A==!1&&T.length==1){for(var Et=new Uint8Array(B*gt*3),Gl=B*gt,C=0;C<Gl;C++){var Z=C*3,go=C*4;Et[Z]=bt[go],Et[Z+1]=bt[go+1],Et[Z+2]=bt[go+2]}bt=Et,m=2,Ye=3,mn=3*B}nt.img=bt,nt.bpl=mn,nt.bpp=Ye}return{ctype:m,depth:v,plte:O,frames:T}};ct.encode.framize=function(n,t,e,i,r,s){for(var l=[],c=0;c<n.length;c++){var h=new Uint8Array(n[c]),d=new Uint32Array(h.buffer),m,v=0,y=0,b=t,x=e,E=i?1:0;if(c!=0){for(var C=s||i||c==1||l[c-2].dispose!=0?1:2,A=0,T=1e9,D=0;D<C;D++){for(var nt=new Uint8Array(n[c-1-D]),O=new Uint32Array(n[c-1-D]),F=t,U=e,L=-1,k=-1,G=0;G<e;G++)for(var q=0;q<t;q++){var Z=G*t+q;d[Z]!=O[Z]&&(q<F&&(F=q),q>L&&(L=q),G<U&&(U=G),G>k&&(k=G))}L==-1&&(F=U=L=k=0),r&&((F&1)==1&&F--,(U&1)==1&&U--);var J=(L-F+1)*(k-U+1);J<T&&(T=J,A=D,v=F,y=U,b=L-F+1,x=k-U+1)}var nt=new Uint8Array(n[c-1-A]);A==1&&(l[c-1].dispose=2),m=new Uint8Array(b*x*4),ct._copyTile(nt,t,e,m,b,x,-v,-y,0),E=ct._copyTile(h,t,e,m,b,x,-v,-y,3)?1:0,E==1?ct.encode._prepareDiff(h,t,e,m,{x:v,y,width:b,height:x}):ct._copyTile(h,t,e,m,b,x,-v,-y,0)}else m=h.slice(0);l.push({rect:{x:v,y,width:b,height:x},img:m,blend:E,dispose:0})}if(i)for(var c=0;c<l.length;c++){var ot=l[c];if(ot.blend!=1){var B=ot.rect,X=l[c-1].rect,V=Math.min(B.x,X.x),lt=Math.min(B.y,X.y),dt=Math.max(B.x+B.width,X.x+X.width),re=Math.max(B.y+B.height,X.y+X.height),tt={x:V,y:lt,width:dt-V,height:re-lt};l[c-1].dispose=1,c-1!=0&&ct.encode._updateFrame(n,t,e,l,c-1,tt,r),ct.encode._updateFrame(n,t,e,l,c,tt,r)}}var gt=0;if(n.length!=1)for(var Z=0;Z<l.length;Z++){var ot=l[Z];gt+=ot.rect.width*ot.rect.height}return l};ct.encode._updateFrame=function(n,t,e,i,r,s,l){for(var c=Uint8Array,h=Uint32Array,d=new c(n[r-1]),m=new h(n[r-1]),v=r+1<n.length?new c(n[r+1]):null,y=new c(n[r]),b=new h(y.buffer),x=t,E=e,C=-1,A=-1,T=0;T<s.height;T++)for(var D=0;D<s.width;D++){var O=s.x+D,F=s.y+T,U=F*t+O,L=b[U];L==0||i[r-1].dispose==0&&m[U]==L&&(v==null||v[U*4+3]!=0)||(O<x&&(x=O),O>C&&(C=O),F<E&&(E=F),F>A&&(A=F))}C==-1&&(x=E=C=A=0),l&&((x&1)==1&&x--,(E&1)==1&&E--),s={x,y:E,width:C-x+1,height:A-E+1};var k=i[r];k.rect=s,k.blend=1,k.img=new Uint8Array(s.width*s.height*4),i[r-1].dispose==0?(ct._copyTile(d,t,e,k.img,s.width,s.height,-s.x,-s.y,0),ct.encode._prepareDiff(y,t,e,k.img,s)):ct._copyTile(y,t,e,k.img,s.width,s.height,-s.x,-s.y,0)};ct.encode._prepareDiff=function(n,t,e,i,r){ct._copyTile(n,t,e,i,r.width,r.height,-r.x,-r.y,2)};ct.encode._filterZero=function(n,t,e,i,r,s,l){var c=[],h=[0,1,2,3,4];s!=-1?h=[s]:(t*i>5e5||e==1)&&(h=[0]);var d;l&&(d={level:0});for(var m=l&&UZIP!=null?UZIP:Fj.default,v=0;v<h.length;v++){for(var y=0;y<t;y++)ct.encode._filterLine(r,n,y,i,e,h[v]);c.push(m.deflate(r,d))}for(var b,x=1e9,v=0;v<c.length;v++)c[v].length<x&&(b=v,x=c[v].length);return c[b]};ct.encode._filterLine=function(n,t,e,i,r,s){var l=e*i,c=l+e,h=ct.decode._paeth;if(n[c]=s,c++,s==0)if(i<500)for(var d=0;d<i;d++)n[c+d]=t[l+d];else n.set(new Uint8Array(t.buffer,l,i),c);else if(s==1){for(var d=0;d<r;d++)n[c+d]=t[l+d];for(var d=r;d<i;d++)n[c+d]=t[l+d]-t[l+d-r]+256&255}else if(e==0){for(var d=0;d<r;d++)n[c+d]=t[l+d];if(s==2)for(var d=r;d<i;d++)n[c+d]=t[l+d];if(s==3)for(var d=r;d<i;d++)n[c+d]=t[l+d]-(t[l+d-r]>>1)+256&255;if(s==4)for(var d=r;d<i;d++)n[c+d]=t[l+d]-h(t[l+d-r],0,0)+256&255}else{if(s==2)for(var d=0;d<i;d++)n[c+d]=t[l+d]+256-t[l+d-i]&255;if(s==3){for(var d=0;d<r;d++)n[c+d]=t[l+d]+256-(t[l+d-i]>>1)&255;for(var d=r;d<i;d++)n[c+d]=t[l+d]+256-(t[l+d-i]+t[l+d-r]>>1)&255}if(s==4){for(var d=0;d<r;d++)n[c+d]=t[l+d]+256-h(0,t[l+d-i],0)&255;for(var d=r;d<i;d++)n[c+d]=t[l+d]+256-h(t[l+d-r],t[l+d-i],t[l+d-r-i])&255}}};ct.crc={table:(function(){for(var n=new Uint32Array(256),t=0;t<256;t++){for(var e=t,i=0;i<8;i++)e&1?e=3988292384^e>>>1:e=e>>>1;n[t]=e}return n})(),update:function(n,t,e,i){for(var r=0;r<i;r++)n=ct.crc.table[(n^t[e+r])&255]^n>>>8;return n},crc:function(n,t,e){return ct.crc.update(4294967295,n,t,e)^4294967295}};ct.quantize=function(n,t){for(var e=new Uint8Array(n),i=e.slice(0),r=new Uint32Array(i.buffer),s=ct.quantize.getKDtree(i,t),l=s[0],c=s[1],h=ct.quantize.planeDst,d=e,m=r,v=d.length,y=new Uint8Array(e.length>>2),b=0;b<v;b+=4){var x=d[b]*.00392156862745098,E=d[b+1]*(1/255),C=d[b+2]*(1/255),A=d[b+3]*(1/255),T=ct.quantize.getNearest(l,x,E,C,A);y[b>>2]=T.ind,m[b>>2]=T.est.rgba}return{abuf:i.buffer,inds:y,plte:c}};ct.quantize.getKDtree=function(n,t,e){e==null&&(e=1e-4);var i=new Uint32Array(n.buffer),r={i0:0,i1:n.length,bst:null,est:null,tdst:0,left:null,right:null};r.bst=ct.quantize.stats(n,r.i0,r.i1),r.est=ct.quantize.estats(r.bst);for(var s=[r];s.length<t;){for(var l=0,c=0,h=0;h<s.length;h++)s[h].est.L>l&&(l=s[h].est.L,c=h);if(l<e)break;var d=s[c],m=ct.quantize.splitPixels(n,i,d.i0,d.i1,d.est.e,d.est.eMq255),v=d.i0>=m||d.i1<=m;if(v){d.est.L=0;continue}var y={i0:d.i0,i1:m,bst:null,est:null,tdst:0,left:null,right:null};y.bst=ct.quantize.stats(n,y.i0,y.i1),y.est=ct.quantize.estats(y.bst);var b={i0:m,i1:d.i1,bst:null,est:null,tdst:0,left:null,right:null};b.bst={R:[],m:[],N:d.bst.N-y.bst.N};for(var h=0;h<16;h++)b.bst.R[h]=d.bst.R[h]-y.bst.R[h];for(var h=0;h<4;h++)b.bst.m[h]=d.bst.m[h]-y.bst.m[h];b.est=ct.quantize.estats(b.bst),d.left=y,d.right=b,s[c]=y,s.push(b)}s.sort(function(x,E){return E.bst.N-x.bst.N});for(var h=0;h<s.length;h++)s[h].ind=h;return[r,s]};ct.quantize.getNearest=function(n,t,e,i,r){if(n.left==null)return n.tdst=ct.quantize.dist(n.est.q,t,e,i,r),n;var s=ct.quantize.planeDst(n.est,t,e,i,r),l=n.left,c=n.right;s>0&&(l=n.right,c=n.left);var h=ct.quantize.getNearest(l,t,e,i,r);if(h.tdst<=s*s)return h;var d=ct.quantize.getNearest(c,t,e,i,r);return d.tdst<h.tdst?d:h};ct.quantize.planeDst=function(n,t,e,i,r){var s=n.e;return s[0]*t+s[1]*e+s[2]*i+s[3]*r-n.eMq};ct.quantize.dist=function(n,t,e,i,r){var s=t-n[0],l=e-n[1],c=i-n[2],h=r-n[3];return s*s+l*l+c*c+h*h};ct.quantize.splitPixels=function(n,t,e,i,r,s){var l=ct.quantize.vecDot;i-=4;for(var c=0;e<i;){for(;l(n,e,r)<=s;)e+=4;for(;l(n,i,r)>s;)i-=4;if(e>=i)break;var h=t[e>>2];t[e>>2]=t[i>>2],t[i>>2]=h,e+=4,i-=4}for(;l(n,e,r)>s;)e-=4;return e+4};ct.quantize.vecDot=function(n,t,e){return n[t]*e[0]+n[t+1]*e[1]+n[t+2]*e[2]+n[t+3]*e[3]};ct.quantize.stats=function(n,t,e){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=e-t>>2,l=t;l<e;l+=4){var c=n[l]*.00392156862745098,h=n[l+1]*(1/255),d=n[l+2]*(1/255),m=n[l+3]*(1/255);r[0]+=c,r[1]+=h,r[2]+=d,r[3]+=m,i[0]+=c*c,i[1]+=c*h,i[2]+=c*d,i[3]+=c*m,i[5]+=h*h,i[6]+=h*d,i[7]+=h*m,i[10]+=d*d,i[11]+=d*m,i[15]+=m*m}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}};ct.quantize.estats=function(n){var t=n.R,e=n.m,i=n.N,r=e[0],s=e[1],l=e[2],c=e[3],h=i==0?0:1/i,d=[t[0]-r*r*h,t[1]-r*s*h,t[2]-r*l*h,t[3]-r*c*h,t[4]-s*r*h,t[5]-s*s*h,t[6]-s*l*h,t[7]-s*c*h,t[8]-l*r*h,t[9]-l*s*h,t[10]-l*l*h,t[11]-l*c*h,t[12]-c*r*h,t[13]-c*s*h,t[14]-c*l*h,t[15]-c*c*h],m=d,v=ct.M4,y=[.5,.5,.5,.5],b=0,x=0;if(i!=0)for(var E=0;E<10&&(y=v.multVec(m,y),x=Math.sqrt(v.dot(y,y)),y=v.sml(1/x,y),!(Math.abs(x-b)<1e-9));E++)b=x;var C=[r*h,s*h,l*h,c*h],A=v.dot(v.sml(255,C),y);return{Cov:d,q:C,e:y,L:b,eMq255:A,eMq:v.dot(y,C),rgba:(Math.round(255*C[3])<<24|Math.round(255*C[2])<<16|Math.round(255*C[1])<<8|Math.round(255*C[0])<<0)>>>0}};ct.M4={multVec:function(n,t){return[n[0]*t[0]+n[1]*t[1]+n[2]*t[2]+n[3]*t[3],n[4]*t[0]+n[5]*t[1]+n[6]*t[2]+n[7]*t[3],n[8]*t[0]+n[9]*t[1]+n[10]*t[2]+n[11]*t[3],n[12]*t[0]+n[13]*t[1]+n[14]*t[2]+n[15]*t[3]]},dot:function(n,t){return n[0]*t[0]+n[1]*t[1]+n[2]*t[2]+n[3]*t[3]},sml:function(n,t){return[n*t[0],n*t[1],n*t[2],n*t[3]]}};ct.encode.concatRGBA=function(n){for(var t=0,e=0;e<n.length;e++)t+=n[e].byteLength;for(var i=new Uint8Array(t),r=0,e=0;e<n.length;e++){for(var s=new Uint8Array(n[e]),l=s.length,c=0;c<l;c+=4){var h=s[c],d=s[c+1],m=s[c+2],v=s[c+3];v==0&&(h=d=m=0),i[r+c]=h,i[r+c+1]=d,i[r+c+2]=m,i[r+c+3]=v}r+=l}return i.buffer};var w_=ct;var $J=function(n){if(n===0)return Th.Greyscale;if(n===2)return Th.Truecolour;if(n===3)return Th.IndexedColour;if(n===4)return Th.GreyscaleWithAlpha;if(n===6)return Th.TruecolourWithAlpha;throw new Error("Unknown color type: "+n)},t$=function(n){for(var t=Math.floor(n.length/4),e=new Uint8Array(t*3),i=new Uint8Array(t*1),r=0,s=0,l=0;r<n.length;)e[s++]=n[r++],e[s++]=n[r++],e[s++]=n[r++],i[l++]=n[r++];return{rgbChannel:e,alphaChannel:i}},Th;(function(n){n.Greyscale="Greyscale",n.Truecolour="Truecolour",n.IndexedColour="IndexedColour",n.GreyscaleWithAlpha="GreyscaleWithAlpha",n.TruecolourWithAlpha="TruecolourWithAlpha"})(Th||(Th={}));var Nj=(function(){function n(t){var e=w_.decode(t),i=w_.toRGBA8(e);if(i.length>1)throw new Error("Animated PNGs are not supported");var r=new Uint8Array(i[0]),s=t$(r),l=s.rgbChannel,c=s.alphaChannel;this.rgbChannel=l;var h=c.some(function(d){return d<255});h&&(this.alphaChannel=c),this.type=$J(e.ctype),this.width=e.width,this.height=e.height,this.bitsPerComponent=8}return n.load=function(t){return new n(t)},n})();var e$=(function(){function n(t){this.image=t,this.bitsPerComponent=t.bitsPerComponent,this.width=t.width,this.height=t.height,this.colorSpace="DeviceRGB"}return n.for=function(t){return Rt(this,void 0,void 0,function(){var e;return Ot(this,function(i){return e=Nj.load(t),[2,new n(e)]})})},n.prototype.embedIntoContext=function(t,e){return Rt(this,void 0,void 0,function(){var i,r;return Ot(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}),e?(t.assign(e,r),[2,e]):[2,t.register(r)]})})},n.prototype.embedAlphaChannel=function(t){if(this.image.alphaChannel){var e=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(e)}},n})(),$v=e$;var n$=(function(){function n(t,e,i){this.bytes=t,this.start=e||0,this.pos=this.start,this.end=e&&i?e+i:this.bytes.length}return Object.defineProperty(n.prototype,"length",{get:function(){return this.end-this.start},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isEmpty",{get:function(){return this.length===0},enumerable:!1,configurable:!0}),n.prototype.getByte=function(){return this.pos>=this.end?-1:this.bytes[this.pos++]},n.prototype.getUint16=function(){var t=this.getByte(),e=this.getByte();return t===-1||e===-1?-1:(t<<8)+e},n.prototype.getInt32=function(){var t=this.getByte(),e=this.getByte(),i=this.getByte(),r=this.getByte();return(t<<24)+(e<<16)+(i<<8)+r},n.prototype.getBytes=function(t,e){e===void 0&&(e=!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 e?new Uint8ClampedArray(l):l}else{var l=i.subarray(r,s);return e?new Uint8ClampedArray(l):l}},n.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},n.prototype.peekBytes=function(t,e){e===void 0&&(e=!1);var i=this.getBytes(t,e);return this.pos-=i.length,i},n.prototype.skip=function(t){t||(t=1),this.pos+=t},n.prototype.reset=function(){this.pos=this.start},n.prototype.moveStart=function(){this.start=this.pos},n.prototype.makeSubStream=function(t,e){return new n(this.bytes,t,e)},n.prototype.decode=function(){return this.bytes},n})(),WA=n$;var i$=new Uint8Array(0),a$=(function(){function n(t){if(this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=i$,this.minBufferLength=512,t)for(;this.minBufferLength<t;)this.minBufferLength*=2}return Object.defineProperty(n.prototype,"isEmpty",{get:function(){for(;!this.eof&&this.bufferLength===0;)this.readBlock();return this.bufferLength===0},enumerable:!1,configurable:!0}),n.prototype.getByte=function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return-1;this.readBlock()}return this.buffer[this.pos++]},n.prototype.getUint16=function(){var t=this.getByte(),e=this.getByte();return t===-1||e===-1?-1:(t<<8)+e},n.prototype.getInt32=function(){var t=this.getByte(),e=this.getByte(),i=this.getByte(),r=this.getByte();return(t<<24)+(e<<16)+(i<<8)+r},n.prototype.getBytes=function(t,e){e===void 0&&(e=!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 e&&!(l instanceof Uint8ClampedArray)?new Uint8ClampedArray(l):l},n.prototype.peekByte=function(){var t=this.getByte();return this.pos--,t},n.prototype.peekBytes=function(t,e){e===void 0&&(e=!1);var i=this.getBytes(t,e);return this.pos-=i.length,i},n.prototype.skip=function(t){t||(t=1),this.pos+=t},n.prototype.reset=function(){this.pos=0},n.prototype.makeSubStream=function(t,e){for(var i=t+e;this.bufferLength<=i&&!this.eof;)this.readBlock();return new WA(this.buffer,t,e)},n.prototype.decode=function(){for(;!this.eof;)this.readBlock();return this.buffer.subarray(0,this.bufferLength)},n.prototype.readBlock=function(){throw new Zi(this.constructor.name,"readBlock")},n.prototype.ensureBuffer=function(t){var e=this.buffer;if(t<=e.byteLength)return e;for(var i=this.minBufferLength;i<t;)i*=2;var r=new Uint8Array(i);return r.set(e),this.buffer=r},n})(),zs=a$;var zj=function(n){return n===32||n===9||n===13||n===10},r$=(function(n){at(t,n);function t(e,i){var r=n.call(this,i)||this;return r.stream=e,r.input=new Uint8Array(5),i&&(i=.8*i),r}return t.prototype.readBlock=function(){for(var e=126,i=122,r=-1,s=this.stream,l=s.getByte();zj(l);)l=s.getByte();if(l===r||l===e){this.eof=!0;return}var c=this.bufferLength,h,d;if(l===i){for(h=this.ensureBuffer(c+4),d=0;d<4;++d)h[c+d]=0;this.bufferLength+=4}else{var m=this.input;for(m[0]=l,d=1;d<5;++d){for(l=s.getByte();zj(l);)l=s.getByte();if(m[d]=l,l===r||l===e)break}if(h=this.ensureBuffer(c+d-1),this.bufferLength+=d-1,d<5){for(;d<5;++d)m[d]=117;this.eof=!0}var v=0;for(d=0;d<5;++d)v=v*85+(m[d]-33);for(d=3;d>=0;--d)h[c+d]=v&255,v>>=8}},t})(zs),kj=r$;var o$=(function(n){at(t,n);function t(e,i){var r=n.call(this,i)||this;return r.stream=e,r.firstDigit=-1,i&&(i=.5*i),r}return t.prototype.readBlock=function(){var e=8e3,i=this.stream.getBytes(e);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,h=0,d=i.length;h<d;h++){var m=i[h],v=void 0;if(m>=48&&m<=57)v=m&15;else if(m>=65&&m<=70||m>=97&&m<=102)v=(m&15)+9;else if(m===62){this.eof=!0;break}else continue;c<0?c=v:(s[l++]=c<<4|v,c=-1)}c>=0&&this.eof&&(s[l++]=c<<4,c=-1),this.firstDigit=c,this.bufferLength=l},t})(zs),Lj=o$;var Uj=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s$=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]),l$=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]),u$=[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],c$=[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],f$=(function(n){at(t,n);function t(e,i){var r=n.call(this,i)||this;r.stream=e;var s=e.getByte(),l=e.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 e,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 h=l;if((l=r.getByte())===-1)throw new Error("Bad block header in flate stream");if(h|=l<<8,h!==(~c&65535)&&(c!==0||h!==0))throw new Error("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;var d=this.bufferLength;e=this.ensureBuffer(d+c);var m=d+c;if(this.bufferLength=m,c===0)r.peekByte()===-1&&(this.eof=!0);else for(var v=d;v<m;++v){if((l=r.getByte())===-1){this.eof=!0;break}e[v]=l}return}var y,b;if(s===1)y=u$,b=c$;else if(s===2){var x=this.getBits(5)+257,E=this.getBits(5)+1,C=this.getBits(4)+4,A=new Uint8Array(Uj.length),T=void 0;for(T=0;T<C;++T)A[Uj[T]]=this.getBits(3);var D=this.generateHuffmanTable(A);i=0,T=0;for(var O=x+E,F=new Uint8Array(O),U=void 0,L=void 0,k=void 0;T<O;){var G=this.getCode(D);if(G===16)U=2,L=3,k=i;else if(G===17)U=3,L=3,k=i=0;else if(G===18)U=7,L=11,k=i=0;else{F[T++]=i=G;continue}for(var q=this.getBits(U)+L;q-- >0;)F[T++]=k}y=this.generateHuffmanTable(F.subarray(0,x)),b=this.generateHuffmanTable(F.subarray(x,O))}else throw new Error("Unknown block type in flate stream");e=this.buffer;for(var Z=e?e.length:0,J=this.bufferLength;;){var nt=this.getCode(y);if(nt<256){J+1>=Z&&(e=this.ensureBuffer(J+1),Z=e.length),e[J++]=nt;continue}if(nt===256){this.bufferLength=J;return}nt-=257,nt=s$[nt];var ot=nt>>16;ot>0&&(ot=this.getBits(ot)),i=(nt&65535)+ot,nt=this.getCode(b),nt=l$[nt],ot=nt>>16,ot>0&&(ot=this.getBits(ot));var B=(nt&65535)+ot;J+i>=Z&&(e=this.ensureBuffer(J+i),Z=e.length);for(var X=0;X<i;++X,++J)e[J]=e[J-B]}},t.prototype.getBits=function(e){for(var i=this.stream,r=this.codeSize,s=this.codeBuf,l;r<e;){if((l=i.getByte())===-1)throw new Error("Bad encoding in flate stream");s|=l<<r,r+=8}return l=s&(1<<e)-1,this.codeBuf=s>>e,this.codeSize=r-=e,l},t.prototype.getCode=function(e){for(var i=this.stream,r=e[0],s=e[1],l=this.codeSize,c=this.codeBuf,h;l<s&&(h=i.getByte())!==-1;)c|=h<<l,l+=8;var d=r[c&(1<<s)-1];typeof r=="number"&&console.log("FLATE:",d);var m=d>>16,v=d&65535;if(m<1||l<m)throw new Error("Bad encoding in flate stream");return this.codeBuf=c>>m,this.codeSize=l-m,v},t.prototype.generateHuffmanTable=function(e){var i=e.length,r=0,s;for(s=0;s<i;++s)e[s]>r&&(r=e[s]);for(var l=1<<r,c=new Int32Array(l),h=1,d=0,m=2;h<=r;++h,d<<=1,m<<=1)for(var v=0;v<i;++v)if(e[v]===h){var y=0,b=d;for(s=0;s<h;++s)y=y<<1|b&1,b>>=1;for(s=y;s<l;s+=m)c[s]=h<<16|v;++d}return[c,r]},t})(zs),Bj=f$;var h$=(function(n){at(t,n);function t(e,i,r){var s=n.call(this,i)||this;s.stream=e,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},h=0;h<256;++h)c.dictionaryValues[h]=h,c.dictionaryLengths[h]=1;return s.lzwState=c,s}return t.prototype.readBlock=function(){var e=512,i=e*2,r=e,s,l,c,h=this.lzwState;if(h){var d=h.earlyChange,m=h.nextCode,v=h.dictionaryValues,y=h.dictionaryLengths,b=h.dictionaryPrevCodes,x=h.codeLength,E=h.prevCode,C=h.currentSequence,A=h.currentSequenceLength,T=0,D=this.bufferLength,O=this.ensureBuffer(this.bufferLength+i);for(s=0;s<e;s++){var F=this.readBits(x),U=A>0;if(!F||F<256)C[0]=F,A=1;else if(F>=258)if(F<m)for(A=y[F],l=A-1,c=F;l>=0;l--)C[l]=v[c],c=b[c];else C[A++]=C[0];else if(F===256){x=9,m=258,A=0;continue}else{this.eof=!0,delete this.lzwState;break}if(U&&(b[m]=E,y[m]=y[E]+1,v[m]=C[0],m++,x=m+d&m+d-1?x:Math.min(Math.log(m+d)/.6931471805599453+1,12)|0),E=F,T+=A,i<T){do i+=r;while(i<T);O=this.ensureBuffer(this.bufferLength+i)}for(l=0;l<A;l++)O[D++]=C[l]}h.nextCode=m,h.codeLength=x,h.prevCode=E,h.currentSequenceLength=A,this.bufferLength=D}},t.prototype.readBits=function(e){for(var i=this.bitsCached,r=this.cachedData;i<e;){var s=this.stream.getByte();if(s===-1)return this.eof=!0,null;r=r<<8|s,i+=8}return this.bitsCached=i-=e,this.cachedData=r,r>>>i&(1<<e)-1},t})(zs),Pj=h$;var d$=(function(n){at(t,n);function t(e,i){var r=n.call(this,i)||this;return r.stream=e,r}return t.prototype.readBlock=function(){var e=this.stream.getBytes(2);if(!e||e.length<2||e[0]===128){this.eof=!0;return}var i,r=this.bufferLength,s=e[0];if(s<128){if(i=this.ensureBuffer(r+s+1),i[r++]=e[1],s>0){var l=this.stream.getBytes(s);i.set(l,r),r+=s}}else{s=257-s;var c=e[1];i=this.ensureBuffer(r+s+1);for(var h=0;h<s;h++)i[r++]=c}this.bufferLength=r},t})(zs),Hj=d$;var jj=function(n,t,e){if(t===N.of("FlateDecode"))return new Bj(n);if(t===N.of("LZWDecode")){var i=1;if(e instanceof Tt){var r=e.lookup(N.of("EarlyChange"));r instanceof At&&(i=r.asNumber())}return new Pj(n,void 0,i)}if(t===N.of("ASCII85Decode"))return new kj(n);if(t===N.of("ASCIIHexDecode"))return new Lj(n);if(t===N.of("RunLengthDecode"))return new Hj(n);throw new aj(t.asString())},ty=function(n){var t=n.dict,e=n.contents,i=new WA(e),r=t.lookup(N.of("Filter")),s=t.lookup(N.of("DecodeParms"));if(r instanceof N)i=jj(i,r,s);else if(r instanceof Bt)for(var l=0,c=r.size();l<c;l++)i=jj(i,r.lookup(l,N),s&&s.lookupMaybe(l,Tt));else if(r)throw new Sh([N,Bt],r);return i};var p$=function(n){var t=n.MediaBox(),e=t.lookup(2,At).asNumber()-t.lookup(0,At).asNumber(),i=t.lookup(3,At).asNumber()-t.lookup(1,At).asNumber();return{left:0,bottom:0,right:e,top:i}},m$=function(n){return[1,0,0,1,-n.left,-n.bottom]},g$=(function(){function n(t,e,i){this.page=t;var r=e??p$(t);this.width=r.right-r.left,this.height=r.top-r.bottom,this.boundingBox=r,this.transformationMatrix=i??m$(r)}return n.for=function(t,e,i){return Rt(this,void 0,void 0,function(){return Ot(this,function(r){return[2,new n(t,e,i)]})})},n.prototype.embedIntoContext=function(t,e){return Rt(this,void 0,void 0,function(){var i,r,s,l,c,h,d,m,v,y;return Ot(this,function(b){if(i=this.page.normalizedEntries(),r=i.Contents,s=i.Resources,!r)throw new rj;return l=this.decodeContents(r),c=this.boundingBox,h=c.left,d=c.bottom,m=c.right,v=c.top,y=t.flateStream(l,{Type:"XObject",Subtype:"Form",FormType:1,BBox:[h,d,m,v],Matrix:this.transformationMatrix,Resources:s}),e?(t.assign(e,y),[2,e]):[2,t.register(y)]})})},n.prototype.decodeContents=function(t){for(var e=Uint8Array.of(z.Newline),i=[],r=0,s=t.size();r<s;r++){var l=t.lookup(r,wn),c=void 0;if(l instanceof Ns)c=ty(l).decode();else if(l instanceof jl)c=l.getUnencodedContents();else throw new oj(l);i.push(c,e)}return NP.apply(void 0,i)},n})(),ey=g$;var QA=function(n,t){if(n!==void 0)return t[n]},e0;(function(n){n.UseNone="UseNone",n.UseOutlines="UseOutlines",n.UseThumbs="UseThumbs",n.UseOC="UseOC"})(e0||(e0={}));var n0;(function(n){n.L2R="L2R",n.R2L="R2L"})(n0||(n0={}));var i0;(function(n){n.None="None",n.AppDefault="AppDefault"})(i0||(i0={}));var ny;(function(n){n.Simplex="Simplex",n.DuplexFlipShortEdge="DuplexFlipShortEdge",n.DuplexFlipLongEdge="DuplexFlipLongEdge"})(ny||(ny={}));var v$=(function(){function n(t){this.dict=t}return n.prototype.lookupBool=function(t){var e=this.dict.lookup(N.of(t));if(e instanceof Hl)return e},n.prototype.lookupName=function(t){var e=this.dict.lookup(N.of(t));if(e instanceof N)return e},n.prototype.HideToolbar=function(){return this.lookupBool("HideToolbar")},n.prototype.HideMenubar=function(){return this.lookupBool("HideMenubar")},n.prototype.HideWindowUI=function(){return this.lookupBool("HideWindowUI")},n.prototype.FitWindow=function(){return this.lookupBool("FitWindow")},n.prototype.CenterWindow=function(){return this.lookupBool("CenterWindow")},n.prototype.DisplayDocTitle=function(){return this.lookupBool("DisplayDocTitle")},n.prototype.NonFullScreenPageMode=function(){return this.lookupName("NonFullScreenPageMode")},n.prototype.Direction=function(){return this.lookupName("Direction")},n.prototype.PrintScaling=function(){return this.lookupName("PrintScaling")},n.prototype.Duplex=function(){return this.lookupName("Duplex")},n.prototype.PickTrayByPDFSize=function(){return this.lookupBool("PickTrayByPDFSize")},n.prototype.PrintPageRange=function(){var t=this.dict.lookup(N.of("PrintPageRange"));if(t instanceof Bt)return t},n.prototype.NumCopies=function(){var t=this.dict.lookup(N.of("NumCopies"));if(t instanceof At)return t},n.prototype.getHideToolbar=function(){var t,e;return(e=(t=this.HideToolbar())===null||t===void 0?void 0:t.asBoolean())!==null&&e!==void 0?e:!1},n.prototype.getHideMenubar=function(){var t,e;return(e=(t=this.HideMenubar())===null||t===void 0?void 0:t.asBoolean())!==null&&e!==void 0?e:!1},n.prototype.getHideWindowUI=function(){var t,e;return(e=(t=this.HideWindowUI())===null||t===void 0?void 0:t.asBoolean())!==null&&e!==void 0?e:!1},n.prototype.getFitWindow=function(){var t,e;return(e=(t=this.FitWindow())===null||t===void 0?void 0:t.asBoolean())!==null&&e!==void 0?e:!1},n.prototype.getCenterWindow=function(){var t,e;return(e=(t=this.CenterWindow())===null||t===void 0?void 0:t.asBoolean())!==null&&e!==void 0?e:!1},n.prototype.getDisplayDocTitle=function(){var t,e;return(e=(t=this.DisplayDocTitle())===null||t===void 0?void 0:t.asBoolean())!==null&&e!==void 0?e:!1},n.prototype.getNonFullScreenPageMode=function(){var t,e,i=(t=this.NonFullScreenPageMode())===null||t===void 0?void 0:t.decodeText();return(e=QA(i,e0))!==null&&e!==void 0?e:e0.UseNone},n.prototype.getReadingDirection=function(){var t,e,i=(t=this.Direction())===null||t===void 0?void 0:t.decodeText();return(e=QA(i,n0))!==null&&e!==void 0?e:n0.L2R},n.prototype.getPrintScaling=function(){var t,e,i=(t=this.PrintScaling())===null||t===void 0?void 0:t.decodeText();return(e=QA(i,i0))!==null&&e!==void 0?e:i0.AppDefault},n.prototype.getDuplex=function(){var t,e=(t=this.Duplex())===null||t===void 0?void 0:t.decodeText();return QA(e,ny)},n.prototype.getPickTrayByPDFSize=function(){var t;return(t=this.PickTrayByPDFSize())===null||t===void 0?void 0:t.asBoolean()},n.prototype.getPrintPageRange=function(){var t=this.PrintPageRange();if(!t)return[];for(var e=[],i=0;i<t.size();i+=2){var r=t.lookup(i,At).asNumber(),s=t.lookup(i+1,At).asNumber();e.push({start:r,end:s})}return e},n.prototype.getNumCopies=function(){var t,e;return(e=(t=this.NumCopies())===null||t===void 0?void 0:t.asNumber())!==null&&e!==void 0?e:1},n.prototype.setHideToolbar=function(t){var e=this.dict.context.obj(t);this.dict.set(N.of("HideToolbar"),e)},n.prototype.setHideMenubar=function(t){var e=this.dict.context.obj(t);this.dict.set(N.of("HideMenubar"),e)},n.prototype.setHideWindowUI=function(t){var e=this.dict.context.obj(t);this.dict.set(N.of("HideWindowUI"),e)},n.prototype.setFitWindow=function(t){var e=this.dict.context.obj(t);this.dict.set(N.of("FitWindow"),e)},n.prototype.setCenterWindow=function(t){var e=this.dict.context.obj(t);this.dict.set(N.of("CenterWindow"),e)},n.prototype.setDisplayDocTitle=function(t){var e=this.dict.context.obj(t);this.dict.set(N.of("DisplayDocTitle"),e)},n.prototype.setNonFullScreenPageMode=function(t){Lo(t,"nonFullScreenPageMode",e0);var e=N.of(t);this.dict.set(N.of("NonFullScreenPageMode"),e)},n.prototype.setReadingDirection=function(t){Lo(t,"readingDirection",n0);var e=N.of(t);this.dict.set(N.of("Direction"),e)},n.prototype.setPrintScaling=function(t){Lo(t,"printScaling",i0);var e=N.of(t);this.dict.set(N.of("PrintScaling"),e)},n.prototype.setDuplex=function(t){Lo(t,"duplex",ny);var e=N.of(t);this.dict.set(N.of("Duplex"),e)},n.prototype.setPickTrayByPDFSize=function(t){var e=this.dict.context.obj(t);this.dict.set(N.of("PickTrayByPDFSize"),e)},n.prototype.setPrintPageRange=function(t){Array.isArray(t)||(t=[t]);for(var e=[],i=0,r=t.length;i<r;i++)e.push(t[i].start),e.push(t[i].end);VA(e,"printPageRange",["number"]);var s=this.dict.context.obj(e);this.dict.set(N.of("PrintPageRange"),s)},n.prototype.setNumCopies=function(t){aa(t,"numCopies",1,Number.MAX_VALUE),ij(t,"numCopies");var e=this.dict.context.obj(t);this.dict.set(N.of("NumCopies"),e)},n.fromDict=function(t){return new n(t)},n.create=function(t){var e=t.obj({});return new n(e)},n})(),JA=v$;var y$=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]*(\d*\.\d+|\d+)?[\0\t\n\f\r\ ]+Tf/,b$=(function(){function n(t,e){this.dict=t,this.ref=e}return n.prototype.T=function(){return this.dict.lookupMaybe(N.of("T"),he,xt)},n.prototype.Ff=function(){var t=this.getInheritableAttribute(N.of("Ff"));return this.dict.context.lookupMaybe(t,At)},n.prototype.V=function(){var t=this.getInheritableAttribute(N.of("V"));return this.dict.context.lookup(t)},n.prototype.Kids=function(){return this.dict.lookupMaybe(N.of("Kids"),Bt)},n.prototype.DA=function(){var t=this.dict.lookup(N.of("DA"));if(t instanceof he||t instanceof xt)return t},n.prototype.setKids=function(t){this.dict.set(N.of("Kids"),this.dict.context.obj(t))},n.prototype.getParent=function(){var t=this.dict.get(N.of("Parent"));if(t instanceof jt){var e=this.dict.lookup(N.of("Parent"),Tt);return new n(e,t)}},n.prototype.setParent=function(t){t?this.dict.set(N.of("Parent"),t):this.dict.delete(N.of("Parent"))},n.prototype.getFullyQualifiedName=function(){var t=this.getParent();return t?t.getFullyQualifiedName()+"."+this.getPartialName():this.getPartialName()},n.prototype.getPartialName=function(){var t;return(t=this.T())===null||t===void 0?void 0:t.decodeText()},n.prototype.setPartialName=function(t){t?this.dict.set(N.of("T"),xt.fromText(t)):this.dict.delete(N.of("T"))},n.prototype.setDefaultAppearance=function(t){this.dict.set(N.of("DA"),he.of(t))},n.prototype.getDefaultAppearance=function(){var t=this.DA();return t instanceof xt?t.decodeText():t?.asString()},n.prototype.setFontSize=function(t){var e,i=(e=this.getFullyQualifiedName())!==null&&e!==void 0?e:"",r=this.getDefaultAppearance();if(!r)throw new cj(i);var s=xv(r,y$);if(!s.match)throw new fj(i);var l=r.slice(0,s.pos-s.match[0].length),c=s.pos<=r.length?r.slice(s.pos):"",h=s.match[1],d=l+" /"+h+" "+t+" Tf "+c;this.setDefaultAppearance(d)},n.prototype.getFlags=function(){var t,e;return(e=(t=this.Ff())===null||t===void 0?void 0:t.asNumber())!==null&&e!==void 0?e:0},n.prototype.setFlags=function(t){this.dict.set(N.of("Ff"),At.of(t))},n.prototype.hasFlag=function(t){var e=this.getFlags();return(e&t)!==0},n.prototype.setFlag=function(t){var e=this.getFlags();this.setFlags(e|t)},n.prototype.clearFlag=function(t){var e=this.getFlags();this.setFlags(e&~t)},n.prototype.setFlagTo=function(t,e){e?this.setFlag(t):this.clearFlag(t)},n.prototype.getInheritableAttribute=function(t){var e;return this.ascend(function(i){e||(e=i.dict.get(t))}),e},n.prototype.ascend=function(t){t(this);var e=this.getParent();e&&e.ascend(t)},n})(),iy=b$;var S$=(function(){function n(t){this.dict=t}return n.prototype.W=function(){var t=this.dict.lookup(N.of("W"));if(t instanceof At)return t},n.prototype.getWidth=function(){var t,e;return(e=(t=this.W())===null||t===void 0?void 0:t.asNumber())!==null&&e!==void 0?e:1},n.prototype.setWidth=function(t){var e=this.dict.context.obj(t);this.dict.set(N.of("W"),e)},n.fromDict=function(t){return new n(t)},n})(),$A=S$;var x$=(function(){function n(t){this.dict=t}return n.prototype.Rect=function(){return this.dict.lookup(N.of("Rect"),Bt)},n.prototype.AP=function(){return this.dict.lookupMaybe(N.of("AP"),Tt)},n.prototype.F=function(){var t=this.dict.lookup(N.of("F"));return this.dict.context.lookupMaybe(t,At)},n.prototype.getRectangle=function(){var t,e=this.Rect();return(t=e?.asRectangle())!==null&&t!==void 0?t:{x:0,y:0,width:0,height:0}},n.prototype.setRectangle=function(t){var e=t.x,i=t.y,r=t.width,s=t.height,l=this.dict.context.obj([e,i,e+r,i+s]);this.dict.set(N.of("Rect"),l)},n.prototype.getAppearanceState=function(){var t=this.dict.lookup(N.of("AS"));if(t instanceof N)return t},n.prototype.setAppearanceState=function(t){this.dict.set(N.of("AS"),t)},n.prototype.setAppearances=function(t){this.dict.set(N.of("AP"),t)},n.prototype.ensureAP=function(){var t=this.AP();return t||(t=this.dict.context.obj({}),this.dict.set(N.of("AP"),t)),t},n.prototype.getNormalAppearance=function(){var t=this.ensureAP(),e=t.get(N.of("N"));if(e instanceof jt||e instanceof Tt)return e;throw new Error("Unexpected N type: "+e?.constructor.name)},n.prototype.setNormalAppearance=function(t){var e=this.ensureAP();e.set(N.of("N"),t)},n.prototype.setRolloverAppearance=function(t){var e=this.ensureAP();e.set(N.of("R"),t)},n.prototype.setDownAppearance=function(t){var e=this.ensureAP();e.set(N.of("D"),t)},n.prototype.removeRolloverAppearance=function(){var t=this.AP();t?.delete(N.of("R"))},n.prototype.removeDownAppearance=function(){var t=this.AP();t?.delete(N.of("D"))},n.prototype.getAppearances=function(){var t=this.AP();if(t){var e=t.lookup(N.of("N"),Tt,wn),i=t.lookupMaybe(N.of("R"),Tt,wn),r=t.lookupMaybe(N.of("D"),Tt,wn);return{normal:e,rollover:i,down:r}}},n.prototype.getFlags=function(){var t,e;return(e=(t=this.F())===null||t===void 0?void 0:t.asNumber())!==null&&e!==void 0?e:0},n.prototype.setFlags=function(t){this.dict.set(N.of("F"),At.of(t))},n.prototype.hasFlag=function(t){var e=this.getFlags();return(e&t)!==0},n.prototype.setFlag=function(t){var e=this.getFlags();this.setFlags(e|t)},n.prototype.clearFlag=function(t){var e=this.getFlags();this.setFlags(e&~t)},n.prototype.setFlagTo=function(t,e){e?this.setFlag(t):this.clearFlag(t)},n.fromDict=function(t){return new n(t)},n})(),E_=x$;var A$=(function(){function n(t){this.dict=t}return n.prototype.R=function(){var t=this.dict.lookup(N.of("R"));if(t instanceof At)return t},n.prototype.BC=function(){var t=this.dict.lookup(N.of("BC"));if(t instanceof Bt)return t},n.prototype.BG=function(){var t=this.dict.lookup(N.of("BG"));if(t instanceof Bt)return t},n.prototype.CA=function(){var t=this.dict.lookup(N.of("CA"));if(t instanceof xt||t instanceof he)return t},n.prototype.RC=function(){var t=this.dict.lookup(N.of("RC"));if(t instanceof xt||t instanceof he)return t},n.prototype.AC=function(){var t=this.dict.lookup(N.of("AC"));if(t instanceof xt||t instanceof he)return t},n.prototype.getRotation=function(){var t;return(t=this.R())===null||t===void 0?void 0:t.asNumber()},n.prototype.getBorderColor=function(){var t=this.BC();if(t){for(var e=[],i=0,r=t?.size();i<r;i++){var s=t.get(i);s instanceof At&&e.push(s.asNumber())}return e}},n.prototype.getBackgroundColor=function(){var t=this.BG();if(t){for(var e=[],i=0,r=t?.size();i<r;i++){var s=t.get(i);s instanceof At&&e.push(s.asNumber())}return e}},n.prototype.getCaptions=function(){var t=this.CA(),e=this.RC(),i=this.AC();return{normal:t?.decodeText(),rollover:e?.decodeText(),down:i?.decodeText()}},n.prototype.setRotation=function(t){var e=this.dict.context.obj(t);this.dict.set(N.of("R"),e)},n.prototype.setBorderColor=function(t){var e=this.dict.context.obj(t);this.dict.set(N.of("BC"),e)},n.prototype.setBackgroundColor=function(t){var e=this.dict.context.obj(t);this.dict.set(N.of("BG"),e)},n.prototype.setCaptions=function(t){var e=xt.fromText(t.normal);if(this.dict.set(N.of("CA"),e),t.rollover){var i=xt.fromText(t.rollover);this.dict.set(N.of("RC"),i)}else this.dict.delete(N.of("RC"));if(t.down){var r=xt.fromText(t.down);this.dict.set(N.of("AC"),r)}else this.dict.delete(N.of("AC"))},n.fromDict=function(t){return new n(t)},n})(),ay=A$;var w$=(function(n){at(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.MK=function(){var e=this.dict.lookup(N.of("MK"));if(e instanceof Tt)return e},t.prototype.BS=function(){var e=this.dict.lookup(N.of("BS"));if(e instanceof Tt)return e},t.prototype.DA=function(){var e=this.dict.lookup(N.of("DA"));if(e instanceof he||e instanceof xt)return e},t.prototype.P=function(){var e=this.dict.get(N.of("P"));if(e instanceof jt)return e},t.prototype.setP=function(e){this.dict.set(N.of("P"),e)},t.prototype.setDefaultAppearance=function(e){this.dict.set(N.of("DA"),he.of(e))},t.prototype.getDefaultAppearance=function(){var e=this.DA();return e instanceof xt?e.decodeText():e?.asString()},t.prototype.getAppearanceCharacteristics=function(){var e=this.MK();if(e)return ay.fromDict(e)},t.prototype.getOrCreateAppearanceCharacteristics=function(){var e=this.MK();if(e)return ay.fromDict(e);var i=ay.fromDict(this.dict.context.obj({}));return this.dict.set(N.of("MK"),i.dict),i},t.prototype.getBorderStyle=function(){var e=this.BS();if(e)return $A.fromDict(e)},t.prototype.getOrCreateBorderStyle=function(){var e=this.BS();if(e)return $A.fromDict(e);var i=$A.fromDict(this.dict.context.obj({}));return this.dict.set(N.of("BS"),i.dict),i},t.prototype.getOnValue=function(){var e,i=(e=this.getAppearances())===null||e===void 0?void 0:e.normal;if(i instanceof Tt)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(e){return new t(e)},t.create=function(e,i){var r=e.obj({Type:"Annot",Subtype:"Widget",Rect:[0,0,0,0],Parent:i});return new t(r)},t})(E_),a0=w$;var E$=(function(n){at(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.FT=function(){var e=this.getInheritableAttribute(N.of("FT"));return this.dict.context.lookup(e,N)},t.prototype.getWidgets=function(){var e=this.Kids();if(!e)return[a0.fromDict(this.dict)];for(var i=new Array(e.size()),r=0,s=e.size();r<s;r++){var l=e.lookup(r,Tt);i[r]=a0.fromDict(l)}return i},t.prototype.addWidget=function(e){var i=this.normalizedEntries().Kids;i.push(e)},t.prototype.removeWidget=function(e){var i=this.Kids();if(i){if(e<0||e>i.size())throw new Wp(e,0,i.size());i.remove(e)}else{if(e!==0)throw new Wp(e,0,0);this.setKids([])}},t.prototype.normalizedEntries=function(){var e=this.Kids();return e||(e=this.dict.context.obj([this.ref]),this.dict.set(N.of("Kids"),e)),{Kids:e}},t.fromDict=function(e,i){return new t(e,i)},t})(iy),Or=E$;var T$=(function(n){at(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.Opt=function(){return this.dict.lookupMaybe(N.of("Opt"),he,xt,Bt)},t.prototype.setOpt=function(e){this.dict.set(N.of("Opt"),this.dict.context.obj(e))},t.prototype.getExportValues=function(){var e=this.Opt();if(e){if(e instanceof he||e instanceof xt)return[e];for(var i=[],r=0,s=e.size();r<s;r++){var l=e.lookup(r);(l instanceof he||l instanceof xt)&&i.push(l)}return i}},t.prototype.removeExportValue=function(e){var i=this.Opt();if(i)if(i instanceof he||i instanceof xt){if(e!==0)throw new Wp(e,0,0);this.setOpt([])}else{if(e<0||e>i.size())throw new Wp(e,0,i.size());i.remove(e)}},t.prototype.normalizeExportValues=function(){for(var e,i,r,s,l=(e=this.getExportValues())!==null&&e!==void 0?e:[],c=[],h=this.getWidgets(),d=0,m=h.length;d<m;d++){var v=h[d],y=(i=l[d])!==null&&i!==void 0?i:xt.fromText((s=(r=v.getOnValue())===null||r===void 0?void 0:r.decodeText())!==null&&s!==void 0?s:"");c.push(y)}this.setOpt(c)},t.prototype.addOpt=function(e,i){var r;this.normalizeExportValues();var s=e.decodeText(),l;if(i)for(var c=(r=this.getExportValues())!==null&&r!==void 0?r:[],h=0,d=c.length;h<d;h++){var m=c[h];m.decodeText()===s&&(l=h)}var v=this.Opt();return v.push(e),l??v.size()-1},t.prototype.addWidgetWithOpt=function(e,i,r){var s=this.addOpt(i,r),l=N.of(String(s));return this.addWidget(e),l},t})(Or),Ch=T$;var C$=(function(n){at(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.setValue=function(e){var i,r=(i=this.getOnValue())!==null&&i!==void 0?i:N.of("Yes");if(e!==r&&e!==N.of("Off"))throw new Qp;this.dict.set(N.of("V"),e);for(var s=this.getWidgets(),l=0,c=s.length;l<c;l++){var h=s[l],d=h.getOnValue()===e?e:N.of("Off");h.setAppearanceState(d)}},t.prototype.getValue=function(){var e=this.V();return e instanceof N?e:N.of("Off")},t.prototype.getOnValue=function(){var e=this.getWidgets()[0];return e?.getOnValue()},t.fromDict=function(e,i){return new t(e,i)},t.create=function(e){var i=e.obj({FT:"Btn",Kids:[]}),r=e.register(i);return new t(i,r)},t})(Ch),Rc=C$;var fi=function(n){return 1<<n},uo;(function(n){n[n.ReadOnly=fi(0)]="ReadOnly",n[n.Required=fi(1)]="Required",n[n.NoExport=fi(2)]="NoExport"})(uo||(uo={}));var oa;(function(n){n[n.NoToggleToOff=fi(14)]="NoToggleToOff",n[n.Radio=fi(15)]="Radio",n[n.PushButton=fi(16)]="PushButton",n[n.RadiosInUnison=fi(25)]="RadiosInUnison"})(oa||(oa={}));var _n;(function(n){n[n.Multiline=fi(12)]="Multiline",n[n.Password=fi(13)]="Password",n[n.FileSelect=fi(20)]="FileSelect",n[n.DoNotSpellCheck=fi(22)]="DoNotSpellCheck",n[n.DoNotScroll=fi(23)]="DoNotScroll",n[n.Comb=fi(24)]="Comb",n[n.RichText=fi(25)]="RichText"})(_n||(_n={}));var Oe;(function(n){n[n.Combo=fi(17)]="Combo",n[n.Edit=fi(18)]="Edit",n[n.Sort=fi(19)]="Sort",n[n.MultiSelect=fi(21)]="MultiSelect",n[n.DoNotSpellCheck=fi(22)]="DoNotSpellCheck",n[n.CommitOnSelChange=fi(26)]="CommitOnSelChange"})(Oe||(Oe={}));var D$=(function(n){at(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.setValues=function(e){if(this.hasFlag(Oe.Combo)&&!this.hasFlag(Oe.Edit)&&!this.valuesAreValid(e))throw new Qp;if(e.length===0&&this.dict.delete(N.of("V")),e.length===1&&this.dict.set(N.of("V"),e[0]),e.length>1){if(!this.hasFlag(Oe.MultiSelect))throw new uj;this.dict.set(N.of("V"),this.dict.context.obj(e))}this.updateSelectedIndices(e)},t.prototype.valuesAreValid=function(e){for(var i=this.getOptions(),r=function(h,d){var m=e[h].decodeText();if(!i.find(function(v){return m===(v.display||v.value).decodeText()}))return{value:!1}},s=0,l=e.length;s<l;s++){var c=r(s,l);if(typeof c=="object")return c.value}return!0},t.prototype.updateSelectedIndices=function(e){if(e.length>1){for(var i=new Array(e.length),r=this.getOptions(),s=function(h,d){var m=e[h].decodeText();i[h]=r.findIndex(function(v){return m===(v.display||v.value).decodeText()})},l=0,c=e.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 e=this.V();if(e instanceof he||e instanceof xt)return[e];if(e instanceof Bt){for(var i=[],r=0,s=e.size();r<s;r++){var l=e.lookup(r);(l instanceof he||l instanceof xt)&&i.push(l)}return i}return[]},t.prototype.Opt=function(){return this.dict.lookupMaybe(N.of("Opt"),he,xt,Bt)},t.prototype.setOptions=function(e){for(var i=new Array(e.length),r=0,s=e.length;r<s;r++){var l=e[r],c=l.value,h=l.display;i[r]=this.dict.context.obj([c,h||c])}this.dict.set(N.of("Opt"),this.dict.context.obj(i))},t.prototype.getOptions=function(){var e=this.Opt();if(e instanceof he||e instanceof xt)return[{value:e,display:e}];if(e instanceof Bt){for(var i=[],r=0,s=e.size();r<s;r++){var l=e.lookup(r);if((l instanceof he||l instanceof xt)&&i.push({value:l,display:l}),l instanceof Bt&&l.size()>0){var c=l.lookup(0,he,xt),h=l.lookupMaybe(1,he,xt);i.push({value:c,display:h||c})}}return i}return[]},t})(Or),ry=D$;var R$=(function(n){at(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.fromDict=function(e,i){return new t(e,i)},t.create=function(e){var i=e.obj({FT:"Ch",Ff:Oe.Combo,Kids:[]}),r=e.register(i);return new t(i,r)},t})(ry),Oc=R$;var O$=(function(n){at(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.addField=function(e){var i=this.normalizedEntries().Kids;i?.push(e)},t.prototype.normalizedEntries=function(){var e=this.Kids();return e||(e=this.dict.context.obj([]),this.dict.set(N.of("Kids"),e)),{Kids:e}},t.fromDict=function(e,i){return new t(e,i)},t.create=function(e){var i=e.obj({}),r=e.register(i);return new t(i,r)},t})(iy),Mc=O$;var M$=(function(n){at(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.fromDict=function(e,i){return new t(e,i)},t})(Or),Dh=M$;var _$=(function(n){at(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.MaxLen=function(){var e=this.dict.lookup(N.of("MaxLen"));if(e instanceof At)return e},t.prototype.Q=function(){var e=this.dict.lookup(N.of("Q"));if(e instanceof At)return e},t.prototype.setMaxLength=function(e){this.dict.set(N.of("MaxLen"),At.of(e))},t.prototype.removeMaxLength=function(){this.dict.delete(N.of("MaxLen"))},t.prototype.getMaxLength=function(){var e;return(e=this.MaxLen())===null||e===void 0?void 0:e.asNumber()},t.prototype.setQuadding=function(e){this.dict.set(N.of("Q"),At.of(e))},t.prototype.getQuadding=function(){var e;return(e=this.Q())===null||e===void 0?void 0:e.asNumber()},t.prototype.setValue=function(e){this.dict.set(N.of("V"),e)},t.prototype.removeValue=function(){this.dict.delete(N.of("V"))},t.prototype.getValue=function(){var e=this.V();if(e instanceof he||e instanceof xt)return e},t.fromDict=function(e,i){return new t(e,i)},t.create=function(e){var i=e.obj({FT:"Tx",Kids:[]}),r=e.register(i);return new t(i,r)},t})(Or),_c=_$;var F$=(function(n){at(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.fromDict=function(e,i){return new t(e,i)},t.create=function(e){var i=e.obj({FT:"Btn",Ff:oa.PushButton,Kids:[]}),r=e.register(i);return new t(i,r)},t})(Ch),Fc=F$;var N$=(function(n){at(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.setValue=function(e){var i=this.getOnValues();if(!i.includes(e)&&e!==N.of("Off"))throw new Qp;this.dict.set(N.of("V"),e);for(var r=this.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s],h=c.getOnValue()===e?e:N.of("Off");c.setAppearanceState(h)}},t.prototype.getValue=function(){var e=this.V();return e instanceof N?e:N.of("Off")},t.prototype.getOnValues=function(){for(var e=this.getWidgets(),i=[],r=0,s=e.length;r<s;r++){var l=e[r].getOnValue();l&&i.push(l)}return i},t.fromDict=function(e,i){return new t(e,i)},t.create=function(e){var i=e.obj({FT:"Btn",Ff:oa.Radio,Kids:[]}),r=e.register(i);return new t(i,r)},t})(Ch),Nc=N$;var z$=(function(n){at(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.fromDict=function(e,i){return new t(e,i)},t.create=function(e){var i=e.obj({FT:"Ch",Kids:[]}),r=e.register(i);return new t(i,r)},t})(ry),zc=z$;var oy=function(n){if(!n)return[];for(var t=[],e=0,i=n.size();e<i;e++){var r=n.get(e),s=n.lookup(e);r instanceof jt&&s instanceof Tt&&t.push([C_(s,r),r])}return t},C_=function(n,t){var e=k$(n);return e?Mc.fromDict(n,t):L$(n,t)},k$=function(n){var t=n.lookup(N.of("Kids"));if(t instanceof Bt)for(var e=0,i=t.size();e<i;e++){var r=t.lookup(e),s=r instanceof Tt&&r.has(N.of("T"));if(s)return!0}return!1},L$=function(n,t){var e=D_(n,N.of("FT")),i=n.context.lookup(e,N);return i===N.of("Btn")?U$(n,t):i===N.of("Ch")?B$(n,t):i===N.of("Tx")?_c.fromDict(n,t):i===N.of("Sig")?Dh.fromDict(n,t):Or.fromDict(n,t)},U$=function(n,t){var e,i=D_(n,N.of("Ff")),r=n.context.lookupMaybe(i,At),s=(e=r?.asNumber())!==null&&e!==void 0?e:0;return T_(s,oa.PushButton)?Fc.fromDict(n,t):T_(s,oa.Radio)?Nc.fromDict(n,t):Rc.fromDict(n,t)},B$=function(n,t){var e,i=D_(n,N.of("Ff")),r=n.context.lookupMaybe(i,At),s=(e=r?.asNumber())!==null&&e!==void 0?e:0;return T_(s,Oe.Combo)?Oc.fromDict(n,t):zc.fromDict(n,t)},T_=function(n,t){return(n&t)!==0},D_=function(n,t){var e;return qj(n,function(i){e||(e=i.get(t))}),e},qj=function(n,t){t(n);var e=n.lookupMaybe(N.of("Parent"),Tt);e&&qj(e,t)};var P$=(function(){function n(t){this.dict=t}return n.prototype.Fields=function(){var t=this.dict.lookup(N.of("Fields"));if(t instanceof Bt)return t},n.prototype.getFields=function(){for(var t=this.normalizedEntries().Fields,e=new Array(t.size()),i=0,r=t.size();i<r;i++){var s=t.get(i),l=t.lookup(i,Tt);e[i]=[C_(l,s),s]}return e},n.prototype.getAllFields=function(){var t=[],e=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 Mc&&e(oy(c.Kids()))}};return e(this.getFields()),t},n.prototype.addField=function(t){var e=this.normalizedEntries().Fields;e?.push(t)},n.prototype.removeField=function(t){var e=t.getParent(),i=e===void 0?this.normalizedEntries().Fields:e.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),e!==void 0&&i.size()===0&&this.removeField(e)},n.prototype.normalizedEntries=function(){var t=this.Fields();return t||(t=this.dict.context.obj([]),this.dict.set(N.of("Fields"),t)),{Fields:t}},n.fromDict=function(t){return new n(t)},n.create=function(t){var e=t.obj({Fields:[]});return new n(e)},n})(),Rh=P$;var H$=(function(n){at(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.Pages=function(){return this.lookup(N.of("Pages"),Tt)},t.prototype.AcroForm=function(){return this.lookupMaybe(N.of("AcroForm"),Tt)},t.prototype.getAcroForm=function(){var e=this.AcroForm();if(e)return Rh.fromDict(e)},t.prototype.getOrCreateAcroForm=function(){var e=this.getAcroForm();if(!e){e=Rh.create(this.context);var i=this.context.register(e.dict);this.set(N.of("AcroForm"),i)}return e},t.prototype.ViewerPreferences=function(){return this.lookupMaybe(N.of("ViewerPreferences"),Tt)},t.prototype.getViewerPreferences=function(){var e=this.ViewerPreferences();if(e)return JA.fromDict(e)},t.prototype.getOrCreateViewerPreferences=function(){var e=this.getViewerPreferences();if(!e){e=JA.create(this.context);var i=this.context.register(e.dict);this.set(N.of("ViewerPreferences"),i)}return e},t.prototype.insertLeafNode=function(e,i){var r=this.get(N.of("Pages")),s=this.Pages().insertLeafNode(e,i);return s||r},t.prototype.removeLeafNode=function(e){this.Pages().removeLeafNode(e)},t.withContextAndPages=function(e,i){var r=new Map;return r.set(N.of("Type"),N.of("Catalog")),r.set(N.of("Pages"),i),new t(r,e)},t.fromMapWithContext=function(e,i){return new t(e,i)},t})(Tt),sy=H$;var j$=(function(n){at(t,n);function t(){return n!==null&&n.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"),Bt)},t.prototype.Count=function(){return this.lookup(N.of("Count"),At)},t.prototype.pushTreeNode=function(e){var i=this.Kids();i.push(e)},t.prototype.pushLeafNode=function(e){var i=this.Kids();this.insertLeafKid(i.size(),e)},t.prototype.insertLeafNode=function(e,i){var r=this.Kids(),s=this.Count().asNumber();if(i>s)throw new h_(i,s);for(var l=i,c=0,h=r.size();c<h;c++){if(l===0){this.insertLeafKid(c,e);return}var d=r.get(c),m=this.context.lookup(d);if(m instanceof t){if(m.Count().asNumber()>l)return m.insertLeafNode(e,l)||d;l-=m.Count().asNumber()}m instanceof Ca&&(l-=1)}if(l===0){this.insertLeafKid(r.size(),e);return}throw new d_(i,"insertLeafNode")},t.prototype.removeLeafNode=function(e,i){i===void 0&&(i=!0);var r=this.Kids(),s=this.Count().asNumber();if(e>=s)throw new h_(e,s);for(var l=e,c=0,h=r.size();c<h;c++){var d=r.get(c),m=this.context.lookup(d);if(m instanceof t)if(m.Count().asNumber()>l){m.removeLeafNode(l,i),i&&m.Kids().size()===0&&r.remove(c);return}else l-=m.Count().asNumber();if(m instanceof Ca)if(l===0){this.removeKid(c);return}else l-=1}throw new d_(e,"removeLeafNode")},t.prototype.ascend=function(e){e(this);var i=this.Parent();i&&i.ascend(e)},t.prototype.traverse=function(e){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(e),e(c,l)}},t.prototype.insertLeafKid=function(e,i){var r=this.Kids();this.ascend(function(s){var l=s.Count().asNumber()+1;s.set(N.of("Count"),At.of(l))}),r.insert(e,i)},t.prototype.removeKid=function(e){var i=this.Kids(),r=i.lookup(e);r instanceof Ca&&this.ascend(function(s){var l=s.Count().asNumber()-1;s.set(N.of("Count"),At.of(l))}),i.remove(e)},t.withContext=function(e,i){var r=new Map;return r.set(N.of("Type"),N.of("Pages")),r.set(N.of("Kids"),e.obj([])),r.set(N.of("Count"),e.obj(0)),i&&r.set(N.of("Parent"),i),new t(r,e)},t.fromMapWithContext=function(e,i){return new t(e,i)},t})(Tt),ly=j$;var wi=new Uint8Array(256);wi[z.Zero]=1;wi[z.One]=1;wi[z.Two]=1;wi[z.Three]=1;wi[z.Four]=1;wi[z.Five]=1;wi[z.Six]=1;wi[z.Seven]=1;wi[z.Eight]=1;wi[z.Nine]=1;var tw=new Uint8Array(256);tw[z.Period]=1;tw[z.Plus]=1;tw[z.Minus]=1;var uy=new Uint8Array(256);for(r0=0,Vj=256;r0<Vj;r0++)uy[r0]=wi[r0]||tw[r0]?1:0;var r0,Vj;var Gj=z.Newline,Ij=z.CarriageReturn,q$=(function(){function n(t,e){e===void 0&&(e=!1),this.bytes=t,this.capNumbers=e}return n.prototype.parseRawInt=function(){for(var t="";!this.bytes.done();){var e=this.bytes.peek();if(!wi[e])break;t+=Tr(this.bytes.next())}var i=Number(t);if(!t||!isFinite(i))throw new p_(this.bytes.position(),t);return i},n.prototype.parseRawNumber=function(){for(var t="";!this.bytes.done();){var e=this.bytes.peek();if(!uy[e]||(t+=Tr(this.bytes.next()),e===z.Period))break}for(;!this.bytes.done();){var e=this.bytes.peek();if(!wi[e])break;t+=Tr(this.bytes.next())}var i=Number(t);if(!t||!isFinite(i))throw new p_(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},n.prototype.skipWhitespace=function(){for(;!this.bytes.done()&&lo[this.bytes.peek()];)this.bytes.next()},n.prototype.skipLine=function(){for(;!this.bytes.done();){var t=this.bytes.peek();if(t===Gj||t===Ij)return;this.bytes.next()}},n.prototype.skipComment=function(){if(this.bytes.peek()!==z.Percent)return!1;for(;!this.bytes.done();){var t=this.bytes.peek();if(t===Gj||t===Ij)return!0;this.bytes.next()}return!0},n.prototype.skipWhitespaceAndComments=function(){for(this.skipWhitespace();this.skipComment();)this.skipWhitespace()},n.prototype.matchKeyword=function(t){for(var e=this.bytes.offset(),i=0,r=t.length;i<r;i++)if(this.bytes.done()||this.bytes.next()!==t[i])return this.bytes.moveTo(e),!1;return!0},n})(),Xj=q$;var V$=(function(){function n(t){this.idx=0,this.line=0,this.column=0,this.bytes=t,this.length=this.bytes.length}return n.prototype.moveTo=function(t){this.idx=t},n.prototype.next=function(){var t=this.bytes[this.idx++];return t===z.Newline?(this.line+=1,this.column=0):this.column+=1,t},n.prototype.assertNext=function(t){if(this.peek()!==t)throw new hj(this.position(),t,this.peek());return this.next()},n.prototype.peek=function(){return this.bytes[this.idx]},n.prototype.peekAhead=function(t){return this.bytes[this.idx+t]},n.prototype.peekAt=function(t){return this.bytes[t]},n.prototype.done=function(){return this.idx>=this.length},n.prototype.offset=function(){return this.idx},n.prototype.slice=function(t,e){return this.bytes.slice(t,e)},n.prototype.position=function(){return{line:this.line,column:this.column,offset:this.idx}},n.of=function(t){return new n(t)},n.fromPDFRawStream=function(t){return n.of(ty(t).decode())},n})(),kc=V$;var G$=z.Space,cy=z.CarriageReturn,fy=z.Newline,hy=[z.s,z.t,z.r,z.e,z.a,z.m],ew=[z.e,z.n,z.d,z.s,z.t,z.r,z.e,z.a,z.m],Xe={header:[z.Percent,z.P,z.D,z.F,z.Dash],eof:[z.Percent,z.Percent,z.E,z.O,z.F],obj:[z.o,z.b,z.j],endobj:[z.e,z.n,z.d,z.o,z.b,z.j],xref:[z.x,z.r,z.e,z.f],trailer:[z.t,z.r,z.a,z.i,z.l,z.e,z.r],startxref:[z.s,z.t,z.a,z.r,z.t,z.x,z.r,z.e,z.f],true:[z.t,z.r,z.u,z.e],false:[z.f,z.a,z.l,z.s,z.e],null:[z.n,z.u,z.l,z.l],stream:hy,streamEOF1:fe(hy,[G$,cy,fy]),streamEOF2:fe(hy,[cy,fy]),streamEOF3:fe(hy,[cy]),streamEOF4:fe(hy,[fy]),endstream:ew,EOF1endstream:fe([cy,fy],ew),EOF2endstream:fe([cy],ew),EOF3endstream:fe([fy],ew)};var I$=(function(n){at(t,n);function t(e,i,r){r===void 0&&(r=!1);var s=n.call(this,e,r)||this;return s.context=i,s}return t.prototype.parseObject=function(){if(this.skipWhitespaceAndComments(),this.matchKeyword(Xe.true))return Hl.True;if(this.matchKeyword(Xe.false))return Hl.False;if(this.matchKeyword(Xe.null))return zi;var e=this.bytes.peek();if(e===z.LessThan&&this.bytes.peekAhead(1)===z.LessThan)return this.parseDictOrStream();if(e===z.LessThan)return this.parseHexString();if(e===z.LeftParen)return this.parseString();if(e===z.ForwardSlash)return this.parseName();if(e===z.LeftSquareBracket)return this.parseArray();if(uy[e])return this.parseNumberOrRef();throw new dj(this.bytes.position(),e)},t.prototype.parseNumberOrRef=function(){var e=this.parseRawNumber();this.skipWhitespaceAndComments();var i=this.bytes.offset();if(wi[this.bytes.peek()]){var r=this.parseRawNumber();if(this.skipWhitespaceAndComments(),this.bytes.peek()===z.R)return this.bytes.assertNext(z.R),jt.of(e,r)}return this.bytes.moveTo(i),At.of(e)},t.prototype.parseHexString=function(){var e="";for(this.bytes.assertNext(z.LessThan);!this.bytes.done()&&this.bytes.peek()!==z.GreaterThan;)e+=Tr(this.bytes.next());return this.bytes.assertNext(z.GreaterThan),xt.of(e)},t.prototype.parseString=function(){for(var e=0,i=!1,r="";!this.bytes.done();){var s=this.bytes.next();if(r+=Tr(s),i||(s===z.LeftParen&&(e+=1),s===z.RightParen&&(e-=1)),s===z.BackSlash?i=!i:i&&(i=!1),e===0)return he.of(r.substring(1,r.length-1))}throw new gj(this.bytes.position())},t.prototype.parseName=function(){this.bytes.assertNext(z.ForwardSlash);for(var e="";!this.bytes.done();){var i=this.bytes.peek();if(lo[i]||Za[i])break;e+=Tr(i),this.bytes.next()}return N.of(e)},t.prototype.parseArray=function(){this.bytes.assertNext(z.LeftSquareBracket),this.skipWhitespaceAndComments();for(var e=Bt.withContext(this.context);this.bytes.peek()!==z.RightSquareBracket;){var i=this.parseObject();e.push(i),this.skipWhitespaceAndComments()}return this.bytes.assertNext(z.RightSquareBracket),e},t.prototype.parseDict=function(){this.bytes.assertNext(z.LessThan),this.bytes.assertNext(z.LessThan),this.skipWhitespaceAndComments();for(var e=new Map;!this.bytes.done()&&this.bytes.peek()!==z.GreaterThan&&this.bytes.peekAhead(1)!==z.GreaterThan;){var i=this.parseName(),r=this.parseObject();e.set(i,r),this.skipWhitespaceAndComments()}this.skipWhitespaceAndComments(),this.bytes.assertNext(z.GreaterThan),this.bytes.assertNext(z.GreaterThan);var s=e.get(N.of("Type"));return s===N.of("Catalog")?sy.fromMapWithContext(e,this.context):s===N.of("Pages")?ly.fromMapWithContext(e,this.context):s===N.of("Page")?Ca.fromMapWithContext(e,this.context):Tt.fromMapWithContext(e,this.context)},t.prototype.parseDictOrStream=function(){var e=this.bytes.position(),i=this.parseDict();if(this.skipWhitespaceAndComments(),!this.matchKeyword(Xe.streamEOF1)&&!this.matchKeyword(Xe.streamEOF2)&&!this.matchKeyword(Xe.streamEOF3)&&!this.matchKeyword(Xe.streamEOF4)&&!this.matchKeyword(Xe.stream))return i;var r=this.bytes.offset(),s,l=i.get(N.of("Length"));l instanceof At?(s=r+l.asNumber(),this.bytes.moveTo(s),this.skipWhitespaceAndComments(),this.matchKeyword(Xe.endstream)||(this.bytes.moveTo(r),s=this.findEndOfStreamFallback(e))):s=this.findEndOfStreamFallback(e);var c=this.bytes.slice(r,s);return Ns.of(i,c)},t.prototype.findEndOfStreamFallback=function(e){for(var i=1,r=this.bytes.offset();!this.bytes.done()&&(r=this.bytes.offset(),this.matchKeyword(Xe.stream)?i+=1:this.matchKeyword(Xe.EOF1endstream)||this.matchKeyword(Xe.EOF2endstream)||this.matchKeyword(Xe.EOF3endstream)||this.matchKeyword(Xe.endstream)?i-=1:this.bytes.next(),i!==0););if(i!==0)throw new mj(e);return r},t.forBytes=function(e,i,r){return new t(kc.of(e),i,r)},t.forByteStream=function(e,i,r){return r===void 0&&(r=!1),new t(e,i,r)},t})(Xj),dy=I$;var X$=(function(n){at(t,n);function t(e,i){var r=n.call(this,kc.fromPDFRawStream(e),e.dict.context)||this,s=e.dict;return r.alreadyParsed=!1,r.shouldWaitForTick=i||(function(){return!1}),r.firstOffset=s.lookup(N.of("First"),At).asNumber(),r.objectCount=s.lookup(N.of("N"),At).asNumber(),r}return t.prototype.parseIntoContext=function(){return Rt(this,void 0,void 0,function(){var e,i,r,s,l,c,h,d;return Ot(this,function(m){switch(m.label){case 0:if(this.alreadyParsed)throw new Zp("PDFObjectStreamParser","parseIntoContext");this.alreadyParsed=!0,e=this.parseOffsetsAndObjectNumbers(),i=0,r=e.length,m.label=1;case 1:return i<r?(s=e[i],l=s.objectNumber,c=s.offset,this.bytes.moveTo(this.firstOffset+c),h=this.parseObject(),d=jt.of(l,0),this.context.assign(d,h),this.shouldWaitForTick()?[4,Ds()]:[3,3]):[3,4];case 2:m.sent(),m.label=3;case 3:return i++,[3,1];case 4:return[2]}})})},t.prototype.parseOffsetsAndObjectNumbers=function(){for(var e=[],i=0,r=this.objectCount;i<r;i++){this.skipWhitespaceAndComments();var s=this.parseRawInt();this.skipWhitespaceAndComments();var l=this.parseRawInt();e.push({objectNumber:s,offset:l})}return e},t.forStream=function(e,i){return new t(e,i)},t})(dy),R_=X$;var Y$=(function(){function n(t){this.alreadyParsed=!1,this.dict=t.dict,this.bytes=kc.fromPDFRawStream(t),this.context=this.dict.context;var e=this.dict.lookup(N.of("Size"),At),i=this.dict.lookup(N.of("Index"));if(i instanceof Bt){this.subsections=[];for(var r=0,s=i.size();r<s;r+=2){var l=i.lookup(r+0,At).asNumber(),c=i.lookup(r+1,At).asNumber();this.subsections.push({firstObjectNumber:l,length:c})}}else this.subsections=[{firstObjectNumber:0,length:e.asNumber()}];var h=this.dict.lookup(N.of("W"),Bt);this.byteWidths=[-1,-1,-1];for(var r=0,s=h.size();r<s;r++)this.byteWidths[r]=h.lookup(r,At).asNumber()}return n.prototype.parseIntoContext=function(){if(this.alreadyParsed)throw new Zp("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},n.prototype.parseEntries=function(){for(var t=[],e=this.byteWidths,i=e[0],r=e[1],s=e[2],l=0,c=this.subsections.length;l<c;l++)for(var h=this.subsections[l],d=h.firstObjectNumber,m=h.length,v=0;v<m;v++){for(var y=0,b=0,x=i;b<x;b++)y=y<<8|this.bytes.next();for(var E=0,b=0,x=r;b<x;b++)E=E<<8|this.bytes.next();for(var C=0,b=0,x=s;b<x;b++)C=C<<8|this.bytes.next();i===0&&(y=1);var A=d+v,T={ref:jt.of(A,C),offset:E,deleted:y===0,inObjectStream:y===2};t.push(T)}return t},n.forStream=function(t){return new n(t)},n})(),O_=Y$;var K$=(function(n){at(t,n);function t(e,i,r,s){i===void 0&&(i=1/0),r===void 0&&(r=!1),s===void 0&&(s=!1);var l=n.call(this,kc.of(e),$p.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 Rt(this,void 0,void 0,function(){var e,i;return Ot(this,function(r){switch(r.label){case 0:if(this.alreadyParsed)throw new Zp("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===e)throw new vj(this.bytes.position());return e=i,[3,1];case 3:return this.maybeRecoverRoot(),this.context.lookup(jt.of(0))&&(console.warn("Removing parsed object: 0 0 R"),this.context.delete(jt.of(0))),[2,this.context]}})})},t.prototype.maybeRecoverRoot=function(){var e=function(m){return m instanceof Tt&&m.lookup(N.of("Type"))===N.of("Catalog")},i=this.context.lookup(this.context.trailerInfo.Root);if(!e(i))for(var r=this.context.enumerateIndirectObjects(),s=0,l=r.length;s<l;s++){var c=r[s],h=c[0],d=c[1];e(d)&&(this.context.trailerInfo.Root=h)}},t.prototype.parseHeader=function(){for(;!this.bytes.done();){if(this.matchKeyword(Xe.header)){var e=this.parseRawInt();this.bytes.assertNext(z.Period);var i=this.parseRawInt(),r=Pl.forVersion(e,i);return this.skipBinaryHeaderComment(),r}this.bytes.next()}throw new yj(this.bytes.position())},t.prototype.parseIndirectObjectHeader=function(){this.skipWhitespaceAndComments();var e=this.parseRawInt();this.skipWhitespaceAndComments();var i=this.parseRawInt();if(this.skipWhitespaceAndComments(),!this.matchKeyword(Xe.obj))throw new bj(this.bytes.position(),Xe.obj);return jt.of(e,i)},t.prototype.matchIndirectObjectHeader=function(){var e=this.bytes.offset();try{return this.parseIndirectObjectHeader(),!0}catch{return this.bytes.moveTo(e),!1}},t.prototype.parseIndirectObject=function(){return Rt(this,void 0,void 0,function(){var e,i;return Ot(this,function(r){switch(r.label){case 0:return e=this.parseIndirectObjectHeader(),this.skipWhitespaceAndComments(),i=this.parseObject(),this.skipWhitespaceAndComments(),this.matchKeyword(Xe.endobj),i instanceof Ns&&i.dict.lookup(N.of("Type"))===N.of("ObjStm")?[4,R_.forStream(i,this.shouldWaitForTick).parseIntoContext()]:[3,2];case 1:return r.sent(),[3,3];case 2:i instanceof Ns&&i.dict.lookup(N.of("Type"))===N.of("XRef")?O_.forStream(i).parseIntoContext():this.context.assign(e,i),r.label=3;case 3:return[2,e]}})})},t.prototype.tryToParseInvalidIndirectObject=function(){var e=this.bytes.position(),i="Trying to parse invalid object: "+JSON.stringify(e)+")";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(Xe.endobj)&&(l=!1),!!l);)this.bytes.next();if(l)throw new pj(e);var c=this.bytes.offset()-Xe.endobj.length,h=Wv.of(this.bytes.slice(s,c));return this.context.assign(r,h),r},t.prototype.parseIndirectObjects=function(){return Rt(this,void 0,void 0,function(){var e,i;return Ot(this,function(r){switch(r.label){case 0:this.skipWhitespaceAndComments(),r.label=1;case 1:if(!(!this.bytes.done()&&wi[this.bytes.peek()]))return[3,8];e=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(e),this.tryToParseInvalidIndirectObject(),[3,5];case 5:return this.skipWhitespaceAndComments(),this.skipJibberish(),this.shouldWaitForTick()?[4,Ds()]:[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(Xe.xref)){this.skipWhitespaceAndComments();for(var e=-1,i=Yv.createEmpty();!this.bytes.done()&&wi[this.bytes.peek()];){var r=this.parseRawInt();this.skipWhitespaceAndComments();var s=this.parseRawInt();this.skipWhitespaceAndComments();var l=this.bytes.peek();if(l===z.n||l===z.f){var c=jt.of(e,s);this.bytes.next()===z.n?i.addEntry(c,r):i.addDeletedEntry(c,r),e+=1}else e=r;this.skipWhitespaceAndComments()}return i}},t.prototype.maybeParseTrailerDict=function(){if(this.skipWhitespaceAndComments(),!!this.matchKeyword(Xe.trailer)){this.skipWhitespaceAndComments();var e=this.parseDict(),i=this.context;i.trailerInfo={Root:e.get(N.of("Root"))||i.trailerInfo.Root,Encrypt:e.get(N.of("Encrypt"))||i.trailerInfo.Encrypt,Info:e.get(N.of("Info"))||i.trailerInfo.Info,ID:e.get(N.of("ID"))||i.trailerInfo.ID}}},t.prototype.maybeParseTrailer=function(){if(this.skipWhitespaceAndComments(),!!this.matchKeyword(Xe.startxref)){this.skipWhitespaceAndComments();var e=this.parseRawInt();return this.skipWhitespace(),this.matchKeyword(Xe.eof),this.skipWhitespaceAndComments(),this.matchKeyword(Xe.eof),this.skipWhitespaceAndComments(),Ah.forLastCrossRefSectionOffset(e)}},t.prototype.parseDocumentSection=function(){return Rt(this,void 0,void 0,function(){return Ot(this,function(e){switch(e.label){case 0:return[4,this.parseIndirectObjects()];case 1:return e.sent(),this.maybeParseCrossRefSection(),this.maybeParseTrailerDict(),this.maybeParseTrailer(),this.skipJibberish(),[2]}})})},t.prototype.skipJibberish=function(){for(this.skipWhitespaceAndComments();!this.bytes.done();){var e=this.bytes.offset(),i=this.bytes.peek(),r=i>=z.Space&&i<=z.Tilde;if(r&&(this.matchKeyword(Xe.xref)||this.matchKeyword(Xe.trailer)||this.matchKeyword(Xe.startxref)||this.matchIndirectObjectHeader())){this.bytes.moveTo(e);break}this.bytes.next()}},t.prototype.skipBinaryHeaderComment=function(){this.skipWhitespaceAndComments();try{var e=this.bytes.offset();this.parseIndirectObjectHeader(),this.bytes.moveTo(e)}catch{this.bytes.next(),this.skipWhitespaceAndComments()}},t.forBytesWithOptions=function(e,i,r,s){return new t(e,i,r,s)},t})(dy),M_=K$;var ks=function(n){return 1<<n},o0;(function(n){n[n.Invisible=ks(0)]="Invisible",n[n.Hidden=ks(1)]="Hidden",n[n.Print=ks(2)]="Print",n[n.NoZoom=ks(3)]="NoZoom",n[n.NoRotate=ks(4)]="NoRotate",n[n.NoView=ks(5)]="NoView",n[n.ReadOnly=ks(6)]="ReadOnly",n[n.Locked=ks(7)]="Locked",n[n.ToggleNoView=ks(8)]="ToggleNoView",n[n.LockedContents=ks(9)]="LockedContents"})(o0||(o0={}));var py=function(n){return n instanceof N?n:N.of(n)},Gt=function(n){return n instanceof At?n:At.of(n)},ee=function(n){return n instanceof At?n.asNumber():n};var my;(function(n){n.Degrees="degrees",n.Radians="radians"})(my||(my={}));var _t=function(n){return W(n,"degreeAngle",["number"]),{type:my.Degrees,angle:n}},Yj=my.Radians,Kj=my.Degrees,__=function(n){return n*Math.PI/180},Z$=function(n){return n*180/Math.PI},ki=function(n){return n.type===Yj?n.angle:n.type===Kj?__(n.angle):ch("Invalid rotation: "+JSON.stringify(n))},nw=function(n){return n.type===Yj?Z$(n.angle):n.type===Kj?n.angle:ch("Invalid rotation: "+JSON.stringify(n))},Uo=function(n){n===void 0&&(n=0);var t=n/90%4;return t===0?0:t===1?90:t===2?180:t===3?270:0},ql=function(n,t){t===void 0&&(t=0);var e=Uo(t);return e===90||e===270?{width:n.height,height:n.width}:{width:n.width,height:n.height}},Zj=function(n,t,e){t===void 0&&(t=0),e===void 0&&(e=0);var i=n.x,r=n.y,s=n.width,l=n.height,c=Uo(e),h=t/2;return c===0?{x:i-h,y:r-h,width:s,height:l}:c===90?{x:i-l+h,y:r-h,width:l,height:s}:c===180?{x:i-s+h,y:r-l+h,width:s,height:l}:c===270?{x:i-h,y:r-s+h,width:l,height:s}:{x:i-h,y:r-h,width:s,height:l}};var F_=function(){return be.of(we.ClipNonZero)};var iw=Math.cos,aw=Math.sin,rw=Math.tan,ow=function(n,t,e,i,r,s){return be.of(we.ConcatTransformationMatrix,[Gt(n),Gt(t),Gt(e),Gt(i),Gt(r),Gt(s)])},Da=function(n,t){return ow(1,0,0,1,n,t)},Mh=function(n,t){return ow(n,0,0,t,0,0)},_h=function(n){return ow(iw(ee(n)),aw(ee(n)),-aw(ee(n)),iw(ee(n)),0,0)},gy=function(n){return _h(__(ee(n)))},sw=function(n,t){return ow(1,rw(ee(n)),rw(ee(t)),1,0,0)};var vy=function(n,t){return be.of(we.SetLineDashPattern,["["+n.map(Gt).join(" ")+"]",Gt(t)])};var Oh;(function(n){n[n.Butt=0]="Butt",n[n.Round=1]="Round",n[n.Projecting=2]="Projecting"})(Oh||(Oh={}));var yy=function(n){return be.of(we.SetLineCapStyle,[Gt(n)])},Wj;(function(n){n[n.Miter=0]="Miter",n[n.Round=1]="Round",n[n.Bevel=2]="Bevel"})(Wj||(Wj={}));var Lc=function(n){return be.of(we.SetGraphicsStateParams,[py(n)])},jn=function(){return be.of(we.PushGraphicsState)},qn=function(){return be.of(we.PopGraphicsState)},s0=function(n){return be.of(we.SetLineWidth,[Gt(n)])},Ra=function(n,t,e,i,r,s){return be.of(we.AppendBezierCurve,[Gt(n),Gt(t),Gt(e),Gt(i),Gt(r),Gt(s)])},by=function(n,t,e,i){return be.of(we.CurveToReplicateInitialPoint,[Gt(n),Gt(t),Gt(e),Gt(i)])},Ls=function(){return be.of(we.ClosePath)},co=function(n,t){return be.of(we.MoveTo,[Gt(n),Gt(t)])},hi=function(n,t){return be.of(we.LineTo,[Gt(n),Gt(t)])};var l0=function(){return be.of(we.StrokePath)},lw=function(){return be.of(we.FillNonZero)},uw=function(){return be.of(we.FillNonZeroAndStroke)},N_=function(){return be.of(we.EndPath)},Jj=function(){return be.of(we.NextLine)};var z_=function(n){return be.of(we.ShowText,[n])},k_=function(){return be.of(we.BeginText)},L_=function(){return be.of(we.EndText)},Sy=function(n,t){return be.of(we.SetFontAndSize,[py(n),Gt(t)])};var $j=function(n){return be.of(we.SetTextLineHeight,[Gt(n)])};var Qj;(function(n){n[n.Fill=0]="Fill",n[n.Outline=1]="Outline",n[n.FillAndOutline=2]="FillAndOutline",n[n.Invisible=3]="Invisible",n[n.FillAndClip=4]="FillAndClip",n[n.OutlineAndClip=5]="OutlineAndClip",n[n.FillAndOutlineAndClip=6]="FillAndOutlineAndClip",n[n.Clip=7]="Clip"})(Qj||(Qj={}));var W$=function(n,t,e,i,r,s){return be.of(we.SetTextMatrix,[Gt(n),Gt(t),Gt(e),Gt(i),Gt(r),Gt(s)])},U_=function(n,t,e,i,r){return W$(iw(ee(n)),aw(ee(n))+rw(ee(t)),-aw(ee(n))+rw(ee(e)),iw(ee(n)),i,r)};var xy=function(n){return be.of(we.DrawObject,[py(n)])},t9=function(n){return be.of(we.NonStrokingColorGray,[Gt(n)])},e9=function(n){return be.of(we.StrokingColorGray,[Gt(n)])},n9=function(n,t,e){return be.of(we.NonStrokingColorRgb,[Gt(n),Gt(t),Gt(e)])},i9=function(n,t,e){return be.of(we.StrokingColorRgb,[Gt(n),Gt(t),Gt(e)])},a9=function(n,t,e,i){return be.of(we.NonStrokingColorCmyk,[Gt(n),Gt(t),Gt(e),Gt(i)])},r9=function(n,t,e,i){return be.of(we.StrokingColorCmyk,[Gt(n),Gt(t),Gt(e),Gt(i)])},B_=function(n){return be.of(we.BeginMarkedContent,[py(n)])},P_=function(){return be.of(we.EndMarkedContent)};var Uc;(function(n){n.Grayscale="Grayscale",n.RGB="RGB",n.CMYK="CMYK"})(Uc||(Uc={}));var H_=function(n){return aa(n,"gray",0,1),{type:Uc.Grayscale,gray:n}},ae=function(n,t,e){return aa(n,"red",0,1),aa(t,"green",0,1),aa(e,"blue",0,1),{type:Uc.RGB,red:n,green:t,blue:e}},j_=function(n,t,e,i){return aa(n,"cyan",0,1),aa(t,"magenta",0,1),aa(e,"yellow",0,1),aa(i,"key",0,1),{type:Uc.CMYK,cyan:n,magenta:t,yellow:e,key:i}},q_=Uc.Grayscale,V_=Uc.RGB,G_=Uc.CMYK,Us=function(n){return n.type===q_?t9(n.gray):n.type===V_?n9(n.red,n.green,n.blue):n.type===G_?a9(n.cyan,n.magenta,n.yellow,n.key):ch("Invalid color: "+JSON.stringify(n))},u0=function(n){return n.type===q_?e9(n.gray):n.type===V_?i9(n.red,n.green,n.blue):n.type===G_?r9(n.cyan,n.magenta,n.yellow,n.key):ch("Invalid color: "+JSON.stringify(n))},sa=function(n,t){return t===void 0&&(t=1),n?.length===1?H_(n[0]*t):n?.length===3?ae(n[0]*t,n[1]*t,n[2]*t):n?.length===4?j_(n[0]*t,n[1]*t,n[2]*t,n[3]*t):void 0},I_=function(n){return n.type===q_?[n.gray]:n.type===V_?[n.red,n.green,n.blue]:n.type===G_?[n.cyan,n.magenta,n.yellow,n.key]:ch("Invalid color: "+JSON.stringify(n))};var Ft=0,Nt=0,Me=0,_e=0,Ay=0,wy=0,o9=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]]),Q$=function(n){for(var t,e=[],i=[],r="",s=!1,l=0,c=0,h=n;c<h.length;c++){var d=h[c];if(o9.has(d))l=o9.get(d),t&&(r.length>0&&(i[i.length]=+r),e[e.length]={cmd:t,args:i},i=[],r="",s=!1),t=d;else if([" ",","].includes(d)||d==="-"&&r.length>0&&r[r.length-1]!=="e"||d==="."&&s){if(r.length===0)continue;i.length===l?(e[e.length]={cmd:t,args:i},i=[+r],t==="M"&&(t="L"),t==="m"&&(t="l")):i[i.length]=+r,s=d===".",r=["-","."].includes(d)?d:""}else r+=d,d==="."&&(s=!0)}return r.length>0&&(i.length===l?(e[e.length]={cmd:t,args:i},i=[+r],t==="M"&&(t="L"),t==="m"&&(t="l")):i[i.length]=+r),e[e.length]={cmd:t,args:i},e},J$=function(n){Ft=Nt=Me=_e=Ay=wy=0;for(var t=[],e=0;e<n.length;e++){var i=n[e];if(i.cmd&&typeof s9[i.cmd]=="function"){var r=s9[i.cmd](i.args);Array.isArray(r)?t=t.concat(r):t.push(r)}}return t},s9={M:function(n){return Ft=n[0],Nt=n[1],Me=_e=null,Ay=Ft,wy=Nt,co(Ft,Nt)},m:function(n){return Ft+=n[0],Nt+=n[1],Me=_e=null,Ay=Ft,wy=Nt,co(Ft,Nt)},C:function(n){return Ft=n[4],Nt=n[5],Me=n[2],_e=n[3],Ra(n[0],n[1],n[2],n[3],n[4],n[5])},c:function(n){var t=Ra(n[0]+Ft,n[1]+Nt,n[2]+Ft,n[3]+Nt,n[4]+Ft,n[5]+Nt);return Me=Ft+n[2],_e=Nt+n[3],Ft+=n[4],Nt+=n[5],t},S:function(n){(Me===null||_e===null)&&(Me=Ft,_e=Nt);var t=Ra(Ft-(Me-Ft),Nt-(_e-Nt),n[0],n[1],n[2],n[3]);return Me=n[0],_e=n[1],Ft=n[2],Nt=n[3],t},s:function(n){(Me===null||_e===null)&&(Me=Ft,_e=Nt);var t=Ra(Ft-(Me-Ft),Nt-(_e-Nt),Ft+n[0],Nt+n[1],Ft+n[2],Nt+n[3]);return Me=Ft+n[0],_e=Nt+n[1],Ft+=n[2],Nt+=n[3],t},Q:function(n){return Me=n[0],_e=n[1],Ft=n[2],Nt=n[3],by(n[0],n[1],Ft,Nt)},q:function(n){var t=by(n[0]+Ft,n[1]+Nt,n[2]+Ft,n[3]+Nt);return Me=Ft+n[0],_e=Nt+n[1],Ft+=n[2],Nt+=n[3],t},T:function(n){Me===null||_e===null?(Me=Ft,_e=Nt):(Me=Ft-(Me-Ft),_e=Nt-(_e-Nt));var t=by(Me,_e,n[0],n[1]);return Me=Ft-(Me-Ft),_e=Nt-(_e-Nt),Ft=n[0],Nt=n[1],t},t:function(n){Me===null||_e===null?(Me=Ft,_e=Nt):(Me=Ft-(Me-Ft),_e=Nt-(_e-Nt));var t=by(Me,_e,Ft+n[0],Nt+n[1]);return Ft+=n[0],Nt+=n[1],t},A:function(n){var t=l9(Ft,Nt,n);return Ft=n[5],Nt=n[6],t},a:function(n){n[5]+=Ft,n[6]+=Nt;var t=l9(Ft,Nt,n);return Ft=n[5],Nt=n[6],t},L:function(n){return Ft=n[0],Nt=n[1],Me=_e=null,hi(Ft,Nt)},l:function(n){return Ft+=n[0],Nt+=n[1],Me=_e=null,hi(Ft,Nt)},H:function(n){return Ft=n[0],Me=_e=null,hi(Ft,Nt)},h:function(n){return Ft+=n[0],Me=_e=null,hi(Ft,Nt)},V:function(n){return Nt=n[0],Me=_e=null,hi(Ft,Nt)},v:function(n){return Nt+=n[0],Me=_e=null,hi(Ft,Nt)},Z:function(){var n=Ls();return Ft=Ay,Nt=wy,n},z:function(){var n=Ls();return Ft=Ay,Nt=wy,n}},l9=function(n,t,e){for(var i=e[0],r=e[1],s=e[2],l=e[3],c=e[4],h=e[5],d=e[6],m=$$(h,d,i,r,l,c,s,n,t),v=[],y=0,b=m;y<b.length;y++){var x=b[y],E=ttt.apply(void 0,x);v.push(Ra.apply(void 0,E))}return v},$$=function(n,t,e,i,r,s,l,c,h){var d=l*(Math.PI/180),m=Math.sin(d),v=Math.cos(d);e=Math.abs(e),i=Math.abs(i),Me=v*(c-n)*.5+m*(h-t)*.5,_e=v*(h-t)*.5-m*(c-n)*.5;var y=Me*Me/(e*e)+_e*_e/(i*i);y>1&&(y=Math.sqrt(y),e*=y,i*=y);var b=v/e,x=m/e,E=-m/i,C=v/i,A=b*c+x*h,T=E*c+C*h,D=b*n+x*t,O=E*n+C*t,F=(D-A)*(D-A)+(O-T)*(O-T),U=1/F-.25;U<0&&(U=0);var L=Math.sqrt(U);s===r&&(L=-L);var k=.5*(A+D)-L*(O-T),G=.5*(T+O)+L*(D-A),q=Math.atan2(T-G,A-k),Z=Math.atan2(O-G,D-k),J=Z-q;J<0&&s===1?J+=2*Math.PI:J>0&&s===0&&(J-=2*Math.PI);for(var nt=Math.ceil(Math.abs(J/(Math.PI*.5+.001))),ot=[],B=0;B<nt;B++){var X=q+B*J/nt,V=q+(B+1)*J/nt;ot[B]=[k,G,X,V,e,i,m,v]}return ot},ttt=function(n,t,e,i,r,s,l,c){var h=c*r,d=-l*s,m=l*r,v=c*s,y=.5*(i-e),b=8/3*Math.sin(y*.5)*Math.sin(y*.5)/Math.sin(y),x=n+Math.cos(e)-b*Math.sin(e),E=t+Math.sin(e)+b*Math.cos(e),C=n+Math.cos(i),A=t+Math.sin(i),T=C+b*Math.sin(i),D=A-b*Math.cos(i),O=[h*x+d*E,m*x+v*E,h*T+d*D,m*T+v*D,h*C+d*A,m*C+v*A];return O},u9=function(n){return J$(Q$(n))};var c9=function(n,t){for(var e=[jn(),t.graphicsState&&Lc(t.graphicsState),k_(),Us(t.color),Sy(t.font,t.size),$j(t.lineHeight),U_(ki(t.rotate),ki(t.xSkew),ki(t.ySkew),t.x,t.y)].filter(Boolean),i=0,r=n.length;i<r;i++)e.push(z_(n[i]),Jj());return e.push(L_(),qn()),e},hw=function(n,t){return[jn(),t.graphicsState&&Lc(t.graphicsState),Da(t.x,t.y),_h(ki(t.rotate)),Mh(t.width,t.height),sw(ki(t.xSkew),ki(t.ySkew)),xy(n),qn()].filter(Boolean)},f9=function(n,t){return[jn(),t.graphicsState&&Lc(t.graphicsState),Da(t.x,t.y),_h(ki(t.rotate)),Mh(t.xScale,t.yScale),sw(ki(t.xSkew),ki(t.ySkew)),xy(n),qn()].filter(Boolean)},h9=function(n){var t,e;return[jn(),n.graphicsState&&Lc(n.graphicsState),n.color&&u0(n.color),s0(n.thickness),vy((t=n.dashArray)!==null&&t!==void 0?t:[],(e=n.dashPhase)!==null&&e!==void 0?e:0),co(n.start.x,n.start.y),n.lineCap&&yy(n.lineCap),co(n.start.x,n.start.y),hi(n.end.x,n.end.y),l0(),qn()].filter(Boolean)},Fh=function(n){var t,e;return[jn(),n.graphicsState&&Lc(n.graphicsState),n.color&&Us(n.color),n.borderColor&&u0(n.borderColor),s0(n.borderWidth),n.borderLineCap&&yy(n.borderLineCap),vy((t=n.borderDashArray)!==null&&t!==void 0?t:[],(e=n.borderDashPhase)!==null&&e!==void 0?e:0),Da(n.x,n.y),_h(ki(n.rotate)),sw(ki(n.xSkew),ki(n.ySkew)),co(0,0),hi(0,n.height),hi(n.width,n.height),hi(n.width,0),Ls(),n.color&&n.borderWidth?uw():n.color?lw():n.borderColor?l0():Ls(),qn()].filter(Boolean)},cw=4*((Math.sqrt(2)-1)/3),ett=function(n){var t=ee(n.x),e=ee(n.y),i=ee(n.xScale),r=ee(n.yScale);t-=i,e-=r;var s=i*cw,l=r*cw,c=t+i*2,h=e+r*2,d=t+i,m=e+r;return[jn(),co(t,m),Ra(t,m-l,d-s,e,d,e),Ra(d+s,e,c,m-l,c,m),Ra(c,m+l,d+s,h,d,h),Ra(d-s,h,t,m+l,t,m),qn()]},ntt=function(n){var t=ee(n.x),e=ee(n.y),i=ee(n.xScale),r=ee(n.yScale),s=-i,l=-r,c=i*cw,h=r*cw,d=s+i*2,m=l+r*2,v=s+i,y=l+r;return[Da(t,e),_h(ki(n.rotate)),co(s,y),Ra(s,y-h,v-c,l,v,l),Ra(v+c,l,d,y-h,d,y),Ra(d,y+h,v+c,m,v,m),Ra(v-c,m,s,y+h,s,y)]},fw=function(n){var t,e,i;return fe([jn(),n.graphicsState&&Lc(n.graphicsState),n.color&&Us(n.color),n.borderColor&&u0(n.borderColor),s0(n.borderWidth),n.borderLineCap&&yy(n.borderLineCap),vy((t=n.borderDashArray)!==null&&t!==void 0?t:[],(e=n.borderDashPhase)!==null&&e!==void 0?e:0)],n.rotate===void 0?ett({x:n.x,y:n.y,xScale:n.xScale,yScale:n.yScale}):ntt({x:n.x,y:n.y,xScale:n.xScale,yScale:n.yScale,rotate:(i=n.rotate)!==null&&i!==void 0?i:_t(0)}),[n.color&&n.borderWidth?uw():n.color?lw():n.borderColor?l0():Ls(),qn()]).filter(Boolean)},d9=function(n,t){var e,i,r;return fe([jn(),t.graphicsState&&Lc(t.graphicsState),Da(t.x,t.y),_h(ki((e=t.rotate)!==null&&e!==void 0?e:_t(0))),t.scale?Mh(t.scale,-t.scale):Mh(1,-1),t.color&&Us(t.color),t.borderColor&&u0(t.borderColor),t.borderWidth&&s0(t.borderWidth),t.borderLineCap&&yy(t.borderLineCap),vy((i=t.borderDashArray)!==null&&i!==void 0?i:[],(r=t.borderDashPhase)!==null&&r!==void 0?r:0)],u9(n),[t.color&&t.borderWidth?uw():t.color?lw():t.borderColor?l0():Ls(),qn()]).filter(Boolean)},itt=function(n){var t=ee(n.size),e=-1+.75,i=-1+.51,r=1-.525,s=1-.31,l=-1+.325,c=-((l-e)*(s-e))/(r-i)+i;return[jn(),n.color&&u0(n.color),s0(n.thickness),Da(n.x,n.y),co(l*t,c*t),hi(e*t,i*t),hi(s*t,r*t),l0(),qn()].filter(Boolean)},Bo=function(n){return n.rotation===0?[Da(0,0),gy(0)]:n.rotation===90?[Da(n.width,0),gy(90)]:n.rotation===180?[Da(n.width,n.height),gy(180)]:n.rotation===270?[Da(0,n.height),gy(270)]:[]},Ey=function(n){var t=Fh({x:n.x,y:n.y,width:n.width,height:n.height,borderWidth:n.borderWidth,color:n.color,borderColor:n.borderColor,rotate:_t(0),xSkew:_t(0),ySkew:_t(0)});if(!n.filled)return t;var e=ee(n.width),i=ee(n.height),r=Math.min(e,i)/2,s=itt({x:e/2,y:i/2,size:r,thickness:n.thickness,color:n.markColor});return fe([jn()],t,s,[qn()])},Ty=function(n){var t=ee(n.width),e=ee(n.height),i=Math.min(t,e)/2,r=fw({x:n.x,y:n.y,xScale:i,yScale:i,color:n.color,borderColor:n.borderColor,borderWidth:n.borderWidth});if(!n.filled)return r;var s=fw({x:n.x,y:n.y,xScale:i*.45,yScale:i*.45,color:n.dotColor,borderColor:void 0,borderWidth:0});return fe([jn()],r,s,[qn()])},X_=function(n){var t=ee(n.x),e=ee(n.y),i=ee(n.width),r=ee(n.height),s=Fh({x:t,y:e,width:i,height:r,borderWidth:n.borderWidth,color:n.color,borderColor:n.borderColor,rotate:_t(0),xSkew:_t(0),ySkew:_t(0)}),l=Y_(n.textLines,{color:n.textColor,font:n.font,size:n.fontSize,rotate:_t(0),xSkew:_t(0),ySkew:_t(0)});return fe([jn()],s,l,[qn()])},Y_=function(n,t){for(var e=[k_(),Us(t.color),Sy(t.font,t.size)],i=0,r=n.length;i<r;i++){var s=n[i],l=s.encoded,c=s.x,h=s.y;e.push(U_(ki(t.rotate),ki(t.xSkew),ki(t.ySkew),c,h),z_(l))}return e.push(L_()),e},K_=function(n){var t=ee(n.x),e=ee(n.y),i=ee(n.width),r=ee(n.height),s=ee(n.borderWidth),l=ee(n.padding),c=t+s/2+l,h=e+s/2+l,d=i-(s/2+l)*2,m=r-(s/2+l)*2,v=[co(c,h),hi(c,h+m),hi(c+d,h+m),hi(c+d,h),Ls(),F_(),N_()],y=Fh({x:t,y:e,width:i,height:r,borderWidth:n.borderWidth,color:n.color,borderColor:n.borderColor,rotate:_t(0),xSkew:_t(0),ySkew:_t(0)}),b=Y_(n.textLines,{color:n.textColor,font:n.font,size:n.fontSize,rotate:_t(0),xSkew:_t(0),ySkew:_t(0)}),x=fe([B_("Tx"),jn()],b,[qn(),P_()]);return fe([jn()],y,v,x,[qn()])},p9=function(n){for(var t=ee(n.x),e=ee(n.y),i=ee(n.width),r=ee(n.height),s=ee(n.lineHeight),l=ee(n.borderWidth),c=ee(n.padding),h=t+l/2+c,d=e+l/2+c,m=i-(l/2+c)*2,v=r-(l/2+c)*2,y=[co(h,d),hi(h,d+v),hi(h+m,d+v),hi(h+m,d),Ls(),F_(),N_()],b=Fh({x:t,y:e,width:i,height:r,borderWidth:n.borderWidth,color:n.color,borderColor:n.borderColor,rotate:_t(0),xSkew:_t(0),ySkew:_t(0)}),x=[],E=0,C=n.selectedLines.length;E<C;E++){var A=n.textLines[n.selectedLines[E]];x.push.apply(x,Fh({x:A.x-c,y:A.y-(s-A.height)/2,width:i-l,height:A.height+(s-A.height)/2,borderWidth:0,color:n.selectedColor,borderColor:void 0,rotate:_t(0),xSkew:_t(0),ySkew:_t(0)}))}var T=Y_(n.textLines,{color:n.textColor,font:n.font,size:n.fontSize,rotate:_t(0),xSkew:_t(0),ySkew:_t(0)}),D=fe([B_("Tx"),jn()],T,[qn(),P_()]);return fe([jn()],b,x,y,D,[qn()])};var m9=(function(n){at(t,n);function t(){var e=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 e=n.call(this,i)||this,e}return t})(Error);var g9=(function(n){at(t,n);function t(){var e=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 e=n.call(this,i)||this,e}return t})(Error);var v9=(function(n){at(t,n);function t(){var e=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 e=n.call(this,i)||this,e}return t})(Error);var y9=(function(n){at(t,n);function t(){var e=this,i="PDFDocument has no pages so `PDFDocument.removePage` cannot be called";return e=n.call(this,i)||this,e}return t})(Error);var b9=(function(n){at(t,n);function t(e){var i=this,r='PDFDocument has no form field with the name "'+e+'"';return i=n.call(this,r)||this,i}return t})(Error);var Bc=(function(n){at(t,n);function t(e,i,r){var s,l,c=this,h=i?.name,d=(l=(s=r?.constructor)===null||s===void 0?void 0:s.name)!==null&&l!==void 0?l:r,m='Expected field "'+e+'" to be of type '+h+", "+("but it is actually of type "+d);return c=n.call(this,m)||this,c}return t})(Error);var Vdt=(function(n){at(t,n);function t(e){var i=this,r='Failed to select check box due to missing onValue: "'+e+'"';return i=n.call(this,r)||this,i}return t})(Error);var Z_=(function(n){at(t,n);function t(e){var i=this,r='A field already exists with the specified name: "'+e+'"';return i=n.call(this,r)||this,i}return t})(Error);var S9=(function(n){at(t,n);function t(e){var i=this,r='Field name contains invalid component: "'+e+'"';return i=n.call(this,r)||this,i}return t})(Error);var Gdt=(function(n){at(t,n);function t(e){var i=this,r='A non-terminal field already exists with the specified name: "'+e+'"';return i=n.call(this,r)||this,i}return t})(Error);var x9=(function(n){at(t,n);function t(e){var i=this,r="Reading rich text fields is not supported: Attempted to read rich text field: "+e;return i=n.call(this,r)||this,i}return t})(Error);var A9=(function(n){at(t,n);function t(e,i){var r=this,s="Failed to layout combed text as lineLength="+e+" is greater than cellCount="+i;return r=n.call(this,s)||this,r}return t})(Error);var w9=(function(n){at(t,n);function t(e,i,r){var s=this,l="Attempted to set text with length="+e+" for TextField with maxLength="+i+" and name="+r;return s=n.call(this,l)||this,s}return t})(Error);var E9=(function(n){at(t,n);function t(e,i,r){var s=this,l="Attempted to set maxLength="+i+", which is less than "+e+", the length of this field's current value (name="+r+")";return s=n.call(this,l)||this,s}return t})(Error);var Vn;(function(n){n[n.Left=0]="Left",n[n.Center=1]="Center",n[n.Right=2]="Right"})(Vn||(Vn={}));var T9=4,C9=500,D9=function(n,t,e,i){i===void 0&&(i=!1);for(var r=T9;r<C9;){for(var s=0,l=0,c=n.length;l<c;l++){s+=1;for(var h=n[l],d=h.split(" "),m=e.width,v=0,y=d.length;v<y;v++){var b=v===y-1,x=b?d[v]:d[v]+" ",E=t.widthOfTextAtSize(x,r);m-=E,m<=0&&(s+=1,m=e.width-E)}}if(!i&&s>n.length)return r-1;var C=t.heightAtSize(r),A=C+C*.2,T=A*s;if(T>Math.abs(e.height))return r-1;r+=1}return r},att=function(n,t,e,i){for(var r=e.width/i,s=e.height,l=T9,c=_P(n);l<C9;){for(var h=0,d=c.length;h<d;h++){var m=c[h],v=t.widthOfTextAtSize(m,l)>r*.75;if(v)return l-1}var y=t.heightAtSize(l,{descender:!1});if(y>s)return l-1;l+=1}return l},rtt=function(n){for(var t=n.length;t>0;t--)if(/\s/.test(n[t]))return t},ott=function(n,t,e,i){for(var r,s=n.length;s>0;){var l=n.substring(0,s),c=e.encodeText(l),h=e.widthOfTextAtSize(l,i);if(h<t){var d=n.substring(s)||void 0;return{line:l,encoded:c,width:h,remainder:d}}s=(r=rtt(l))!==null&&r!==void 0?r:0}return{line:n,encoded:e.encodeText(n),width:e.widthOfTextAtSize(n,i),remainder:void 0}},W_=function(n,t){var e=t.alignment,i=t.fontSize,r=t.font,s=t.bounds,l=SA(sh(n));(i===void 0||i===0)&&(i=D9(l,r,s,!0));for(var c=r.heightAtSize(i),h=c+c*.2,d=[],m=s.x,v=s.y,y=s.x+s.width,b=s.y+s.height,x=s.y+s.height,E=0,C=l.length;E<C;E++)for(var A=l[E];A!==void 0;){var T=ott(A,s.width,r,i),D=T.line,O=T.encoded,F=T.width,U=T.remainder,L=e===Vn.Left?s.x:e===Vn.Center?s.x+s.width/2-F/2:e===Vn.Right?s.x+s.width-F:s.x;x-=h,L<m&&(m=L),x<v&&(v=x),L+F>y&&(y=L+F),x+c>b&&(b=x+c),d.push({text:D,encoded:O,width:F,height:c,x:L,y:x}),A=U?.trim()}return{fontSize:i,lineHeight:h,lines:d,bounds:{x:m,y:v,width:y-m,height:b-v}}},R9=function(n,t){var e=t.fontSize,i=t.font,r=t.bounds,s=t.cellCount,l=TM(sh(n));if(l.length>s)throw new A9(l.length,s);(e===void 0||e===0)&&(e=att(l,i,r,s));for(var c=r.width/s,h=i.heightAtSize(e,{descender:!1}),d=r.y+(r.height/2-h/2),m=[],v=r.x,y=r.y,b=r.x+r.width,x=r.y+r.height,E=0,C=0;E<s;){var A=CM(l,C),T=A[0],D=A[1],O=i.encodeText(T),F=i.widthOfTextAtSize(T,e),U=r.x+(c*E+c/2),L=U-F/2;L<v&&(v=L),d<y&&(y=d),L+F>b&&(b=L+F),d+h>x&&(x=d+h),m.push({text:l,encoded:O,width:F,height:h,x:L,y:d}),E+=1,C+=D}return{fontSize:e,cells:m,bounds:{x:v,y,width:b-v,height:x-y}}},Cy=function(n,t){var e=t.alignment,i=t.fontSize,r=t.font,s=t.bounds,l=TM(sh(n));(i===void 0||i===0)&&(i=D9([l],r,s));var c=r.encodeText(l),h=r.widthOfTextAtSize(l,i),d=r.heightAtSize(i,{descender:!1}),m=e===Vn.Left?s.x:e===Vn.Center?s.x+s.width/2-h/2:e===Vn.Right?s.x+s.width-h:s.x,v=s.y+(s.height/2-d/2);return{fontSize:i,line:{text:l,encoded:c,width:h,height:d,x:m,y:v},bounds:{x:m,y:v,width:h,height:d}}};var po=function(n){return"normal"in n?n:{normal:n}},stt=/\/([^\0\t\n\f\r\ ]+)[\0\t\n\f\r\ ]+(\d*\.\d+|\d+)[\0\t\n\f\r\ ]+Tf/,Pc=function(n){var t,e,i=(t=n.getDefaultAppearance())!==null&&t!==void 0?t:"",r=(e=xv(i,stt).match)!==null&&e!==void 0?e:[],s=Number(r[2]);return isFinite(s)?s:void 0},ltt=/(\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)/,fo=function(n){var t,e=(t=n.getDefaultAppearance())!==null&&t!==void 0?t:"",i=xv(e,ltt).match,r=i??[],s=r[1],l=r[2],c=r[3],h=r[4],d=r[5];if(d==="g"&&s)return H_(Number(s));if(d==="rg"&&s&&l&&c)return ae(Number(s),Number(l),Number(c));if(d==="k"&&s&&l&&c&&h)return j_(Number(s),Number(l),Number(c),Number(h))},ho=function(n,t,e,i){var r;i===void 0&&(i=0);var s=[Us(t).toString(),Sy((r=e?.name)!==null&&r!==void 0?r:"dummy__noop",i).toString()].join(`
289
- `);n.setDefaultAppearance(s)},O9=function(n,t){var e,i,r,s=fo(t),l=fo(n.acroField),c=t.getRectangle(),h=t.getAppearanceCharacteristics(),d=t.getBorderStyle(),m=(e=d?.getWidth())!==null&&e!==void 0?e:0,v=Uo(h?.getRotation()),y=ql(c,v),b=y.width,x=y.height,E=Bo(Ht(Ht({},c),{rotation:v})),C=ae(0,0,0),A=(i=sa(h?.getBorderColor()))!==null&&i!==void 0?i:C,T=sa(h?.getBackgroundColor()),D=sa(h?.getBackgroundColor(),.8),O=(r=s??l)!==null&&r!==void 0?r:C;ho(s?t:n.acroField,O);var F={x:0+m/2,y:0+m/2,width:b-m,height:x-m,thickness:1.5,borderWidth:m,borderColor:A,markColor:O};return{normal:{on:fe(E,Ey(Ht(Ht({},F),{color:T,filled:!0}))),off:fe(E,Ey(Ht(Ht({},F),{color:T,filled:!1})))},down:{on:fe(E,Ey(Ht(Ht({},F),{color:D,filled:!0}))),off:fe(E,Ey(Ht(Ht({},F),{color:D,filled:!1})))}}},M9=function(n,t){var e,i,r,s=fo(t),l=fo(n.acroField),c=t.getRectangle(),h=t.getAppearanceCharacteristics(),d=t.getBorderStyle(),m=(e=d?.getWidth())!==null&&e!==void 0?e:0,v=Uo(h?.getRotation()),y=ql(c,v),b=y.width,x=y.height,E=Bo(Ht(Ht({},c),{rotation:v})),C=ae(0,0,0),A=(i=sa(h?.getBorderColor()))!==null&&i!==void 0?i:C,T=sa(h?.getBackgroundColor()),D=sa(h?.getBackgroundColor(),.8),O=(r=s??l)!==null&&r!==void 0?r:C;ho(s?t:n.acroField,O);var F={x:b/2,y:x/2,width:b-m,height:x-m,borderWidth:m,borderColor:A,dotColor:O};return{normal:{on:fe(E,Ty(Ht(Ht({},F),{color:T,filled:!0}))),off:fe(E,Ty(Ht(Ht({},F),{color:T,filled:!1})))},down:{on:fe(E,Ty(Ht(Ht({},F),{color:D,filled:!0}))),off:fe(E,Ty(Ht(Ht({},F),{color:D,filled:!1})))}}},_9=function(n,t,e){var i,r,s,l,c,h=fo(t),d=fo(n.acroField),m=Pc(t),v=Pc(n.acroField),y=t.getRectangle(),b=t.getAppearanceCharacteristics(),x=t.getBorderStyle(),E=b?.getCaptions(),C=(i=E?.normal)!==null&&i!==void 0?i:"",A=(s=(r=E?.down)!==null&&r!==void 0?r:C)!==null&&s!==void 0?s:"",T=(l=x?.getWidth())!==null&&l!==void 0?l:0,D=Uo(b?.getRotation()),O=ql(y,D),F=O.width,U=O.height,L=Bo(Ht(Ht({},y),{rotation:D})),k=ae(0,0,0),G=sa(b?.getBorderColor()),q=sa(b?.getBackgroundColor()),Z=sa(b?.getBackgroundColor(),.8),J={x:T,y:T,width:F-T*2,height:U-T*2},nt=Cy(C,{alignment:Vn.Center,fontSize:m??v,font:e,bounds:J}),ot=Cy(A,{alignment:Vn.Center,fontSize:m??v,font:e,bounds:J}),B=Math.min(nt.fontSize,ot.fontSize),X=(c=h??d)!==null&&c!==void 0?c:k;ho(h||m!==void 0?t:n.acroField,X,e,B);var V={x:0+T/2,y:0+T/2,width:F-T,height:U-T,borderWidth:T,borderColor:G,textColor:X,font:e.name,fontSize:B};return{normal:fe(L,X_(Ht(Ht({},V),{color:q,textLines:[nt.line]}))),down:fe(L,X_(Ht(Ht({},V),{color:Z,textLines:[ot.line]})))}},F9=function(n,t,e){var i,r,s,l,c=fo(t),h=fo(n.acroField),d=Pc(t),m=Pc(n.acroField),v=t.getRectangle(),y=t.getAppearanceCharacteristics(),b=t.getBorderStyle(),x=(i=n.getText())!==null&&i!==void 0?i:"",E=(r=b?.getWidth())!==null&&r!==void 0?r:0,C=Uo(y?.getRotation()),A=ql(v,C),T=A.width,D=A.height,O=Bo(Ht(Ht({},v),{rotation:C})),F=ae(0,0,0),U=sa(y?.getBorderColor()),L=sa(y?.getBackgroundColor()),k,G,q=n.isCombed()?0:1,Z={x:E+q,y:E+q,width:T-(E+q)*2,height:D-(E+q)*2};if(n.isMultiline()){var J=W_(x,{alignment:n.getAlignment(),fontSize:d??m,font:e,bounds:Z});k=J.lines,G=J.fontSize}else if(n.isCombed()){var J=R9(x,{fontSize:d??m,font:e,bounds:Z,cellCount:(s=n.getMaxLength())!==null&&s!==void 0?s:0});k=J.cells,G=J.fontSize}else{var J=Cy(x,{alignment:n.getAlignment(),fontSize:d??m,font:e,bounds:Z});k=[J.line],G=J.fontSize}var nt=(l=c??h)!==null&&l!==void 0?l:F;ho(c||d!==void 0?t:n.acroField,nt,e,G);var ot={x:0+E/2,y:0+E/2,width:T-E,height:D-E,borderWidth:E??0,borderColor:U,textColor:nt,font:e.name,fontSize:G,color:L,textLines:k,padding:q};return fe(O,K_(ot))},N9=function(n,t,e){var i,r,s,l=fo(t),c=fo(n.acroField),h=Pc(t),d=Pc(n.acroField),m=t.getRectangle(),v=t.getAppearanceCharacteristics(),y=t.getBorderStyle(),b=(i=n.getSelected()[0])!==null&&i!==void 0?i:"",x=(r=y?.getWidth())!==null&&r!==void 0?r:0,E=Uo(v?.getRotation()),C=ql(m,E),A=C.width,T=C.height,D=Bo(Ht(Ht({},m),{rotation:E})),O=ae(0,0,0),F=sa(v?.getBorderColor()),U=sa(v?.getBackgroundColor()),L=1,k={x:x+L,y:x+L,width:A-(x+L)*2,height:T-(x+L)*2},G=Cy(b,{alignment:Vn.Left,fontSize:h??d,font:e,bounds:k}),q=G.line,Z=G.fontSize,J=(s=l??c)!==null&&s!==void 0?s:O;ho(l||h!==void 0?t:n.acroField,J,e,Z);var nt={x:0+x/2,y:0+x/2,width:A-x,height:T-x,borderWidth:x??0,borderColor:F,textColor:J,font:e.name,fontSize:Z,color:U,textLines:[q],padding:L};return fe(D,K_(nt))},z9=function(n,t,e){var i,r,s=fo(t),l=fo(n.acroField),c=Pc(t),h=Pc(n.acroField),d=t.getRectangle(),m=t.getAppearanceCharacteristics(),v=t.getBorderStyle(),y=(i=v?.getWidth())!==null&&i!==void 0?i:0,b=Uo(m?.getRotation()),x=ql(d,b),E=x.width,C=x.height,A=Bo(Ht(Ht({},d),{rotation:b})),T=ae(0,0,0),D=sa(m?.getBorderColor()),O=sa(m?.getBackgroundColor()),F=n.getOptions(),U=n.getSelected();n.isSorted()&&F.sort();for(var L="",k=0,G=F.length;k<G;k++)L+=F[k],k<G-1&&(L+=`
290
- `);for(var q=1,Z={x:y+q,y:y+q,width:E-(y+q)*2,height:C-(y+q)*2},J=W_(L,{alignment:Vn.Left,fontSize:c??h,font:e,bounds:Z}),nt=J.lines,ot=J.fontSize,B=J.lineHeight,X=[],k=0,G=nt.length;k<G;k++){var V=nt[k];U.includes(V.text)&&X.push(k)}var lt=ae(153/255,193/255,218/255),dt=(r=s??l)!==null&&r!==void 0?r:T;return ho(s||c!==void 0?t:n.acroField,dt,e,ot),fe(A,p9({x:0+y/2,y:0+y/2,width:E-y,height:C-y,borderWidth:y??0,borderColor:D,textColor:dt,font:e.name,fontSize:ot,color:O,textLines:nt,lineHeight:B,selectedColor:lt,selectedLines:X,padding:q}))};var utt=(function(){function n(t,e,i){this.alreadyEmbedded=!1,W(t,"ref",[[jt,"PDFRef"]]),W(e,"doc",[[la,"PDFDocument"]]),W(i,"embedder",[[ey,"PDFPageEmbedder"]]),this.ref=t,this.doc=e,this.width=i.width,this.height=i.height,this.embedder=i}return n.prototype.scale=function(t){return W(t,"factor",["number"]),{width:this.width*t,height:this.height*t}},n.prototype.size=function(){return this.scale(1)},n.prototype.embed=function(){return Rt(this,void 0,void 0,function(){return Ot(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]}})})},n.of=function(t,e,i){return new n(t,e,i)},n})(),Dy=utt;var ctt=(function(){function n(t,e,i){this.modified=!0,W(t,"ref",[[jt,"PDFRef"]]),W(e,"doc",[[la,"PDFDocument"]]),W(i,"embedder",[[Eh,"CustomFontEmbedder"],[wh,"StandardFontEmbedder"]]),this.ref=t,this.doc=e,this.name=i.fontName,this.embedder=i}return n.prototype.encodeText=function(t){return W(t,"text",["string"]),this.modified=!0,this.embedder.encodeText(t)},n.prototype.widthOfTextAtSize=function(t,e){return W(t,"text",["string"]),W(e,"size",["number"]),this.embedder.widthOfTextAtSize(t,e)},n.prototype.heightAtSize=function(t,e){var i;return W(t,"size",["number"]),ut(e?.descender,"options.descender",["boolean"]),this.embedder.heightOfFontAtSize(t,{descender:(i=e?.descender)!==null&&i!==void 0?i:!0})},n.prototype.sizeAtHeight=function(t){return W(t,"height",["number"]),this.embedder.sizeOfFontAtHeight(t)},n.prototype.getCharacterSet=function(){return this.embedder instanceof wh?this.embedder.encoding.supportedCodePoints:this.embedder.font.characterSet},n.prototype.embed=function(){return Rt(this,void 0,void 0,function(){return Ot(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]}})})},n.of=function(t,e,i){return new n(t,e,i)},n})(),Wn=ctt;var ftt=(function(){function n(t,e,i){W(t,"ref",[[jt,"PDFRef"]]),W(e,"doc",[[la,"PDFDocument"]]),W(i,"embedder",[[Jv,"JpegEmbedder"],[$v,"PngEmbedder"]]),this.ref=t,this.doc=e,this.width=i.width,this.height=i.height,this.embedder=i}return n.prototype.scale=function(t){return W(t,"factor",["number"]),{width:this.width*t,height:this.height*t}},n.prototype.scaleToFit=function(t,e){W(t,"width",["number"]),W(e,"height",["number"]);var i=t/this.width,r=e/this.height,s=Math.min(i,r);return this.scale(s)},n.prototype.size=function(){return this.scale(1)},n.prototype.embed=function(){return Rt(this,void 0,void 0,function(){var t,e,i;return Ot(this,function(r){switch(r.label){case 0:return this.embedder?(this.embedTask||(t=this,e=t.doc,i=t.ref,this.embedTask=this.embedder.embedIntoContext(e.context,i)),[4,this.embedTask]):[2];case 1:return r.sent(),this.embedder=void 0,[2]}})})},n.of=function(t,e,i){return new n(t,e,i)},n})(),c0=ftt;var Po;(function(n){n[n.Left=0]="Left",n[n.Center=1]="Center",n[n.Right=2]="Right"})(Po||(Po={}));var mo=function(n){ut(n?.x,"options.x",["number"]),ut(n?.y,"options.y",["number"]),ut(n?.width,"options.width",["number"]),ut(n?.height,"options.height",["number"]),ut(n?.textColor,"options.textColor",[[Object,"Color"]]),ut(n?.backgroundColor,"options.backgroundColor",[[Object,"Color"]]),ut(n?.borderColor,"options.borderColor",[[Object,"Color"]]),ut(n?.borderWidth,"options.borderWidth",["number"]),ut(n?.rotate,"options.rotate",[[Object,"Rotation"]])},htt=(function(){function n(t,e,i){W(t,"acroField",[[Or,"PDFAcroTerminal"]]),W(e,"ref",[[jt,"PDFRef"]]),W(i,"doc",[[la,"PDFDocument"]]),this.acroField=t,this.ref=e,this.doc=i}return n.prototype.getName=function(){var t;return(t=this.acroField.getFullyQualifiedName())!==null&&t!==void 0?t:""},n.prototype.isReadOnly=function(){return this.acroField.hasFlag(uo.ReadOnly)},n.prototype.enableReadOnly=function(){this.acroField.setFlagTo(uo.ReadOnly,!0)},n.prototype.disableReadOnly=function(){this.acroField.setFlagTo(uo.ReadOnly,!1)},n.prototype.isRequired=function(){return this.acroField.hasFlag(uo.Required)},n.prototype.enableRequired=function(){this.acroField.setFlagTo(uo.Required,!0)},n.prototype.disableRequired=function(){this.acroField.setFlagTo(uo.Required,!1)},n.prototype.isExported=function(){return!this.acroField.hasFlag(uo.NoExport)},n.prototype.enableExporting=function(){this.acroField.setFlagTo(uo.NoExport,!1)},n.prototype.disableExporting=function(){this.acroField.setFlagTo(uo.NoExport,!0)},n.prototype.needsAppearancesUpdate=function(){throw new Zi(this.constructor.name,"needsAppearancesUpdate")},n.prototype.defaultUpdateAppearances=function(t){throw new Zi(this.constructor.name,"defaultUpdateAppearances")},n.prototype.markAsDirty=function(){this.doc.getForm().markFieldAsDirty(this.ref)},n.prototype.markAsClean=function(){this.doc.getForm().markFieldAsClean(this.ref)},n.prototype.isDirty=function(){return this.doc.getForm().fieldIsDirty(this.ref)},n.prototype.createWidget=function(t){var e,i=t.textColor,r=t.backgroundColor,s=t.borderColor,l=t.borderWidth,c=nw(t.rotate),h=t.caption,d=t.x,m=t.y,v=t.width+l,y=t.height+l,b=!!t.hidden,x=t.page;GA(c,"degreesAngle",90);var E=a0.create(this.doc.context,this.ref),C=Zj({x:d,y:m,width:v,height:y},l,c);E.setRectangle(C),x&&E.setP(x);var A=E.getOrCreateAppearanceCharacteristics();r&&A.setBackgroundColor(I_(r)),A.setRotation(c),h&&A.setCaptions({normal:h}),s&&A.setBorderColor(I_(s));var T=E.getOrCreateBorderStyle();if(l!==void 0&&T.setWidth(l),E.setFlagTo(o0.Print,!0),E.setFlagTo(o0.Hidden,b),E.setFlagTo(o0.Invisible,!1),i){var D=(e=this.acroField.getDefaultAppearance())!==null&&e!==void 0?e:"",O=D+`
291
- `+Us(i).toString();this.acroField.setDefaultAppearance(O)}return E},n.prototype.updateWidgetAppearanceWithFont=function(t,e,i){var r=i.normal,s=i.rollover,l=i.down;this.updateWidgetAppearances(t,{normal:this.createAppearanceStream(t,r,e),rollover:s&&this.createAppearanceStream(t,s,e),down:l&&this.createAppearanceStream(t,l,e)})},n.prototype.updateOnOffWidgetAppearance=function(t,e,i){var r=i.normal,s=i.rollover,l=i.down;this.updateWidgetAppearances(t,{normal:this.createAppearanceDict(t,r,e),rollover:s&&this.createAppearanceDict(t,s,e),down:l&&this.createAppearanceDict(t,l,e)})},n.prototype.updateWidgetAppearances=function(t,e){var i=e.normal,r=e.rollover,s=e.down;t.setNormalAppearance(i),r?t.setRolloverAppearance(r):t.removeRolloverAppearance(),s?t.setDownAppearance(s):t.removeDownAppearance()},n.prototype.createAppearanceStream=function(t,e,i){var r,s=this.acroField.dict.context,l=t.getRectangle(),c=l.width,h=l.height,d=i&&{Font:(r={},r[i.name]=i.ref,r)},m=s.formXObject(e,{Resources:d,BBox:s.obj([0,0,c,h]),Matrix:s.obj([1,0,0,1,0,0])}),v=s.register(m);return v},n.prototype.createImageAppearanceStream=function(t,e,i){var r,s,l=this.acroField.dict.context,c=t.getRectangle(),h=t.getAppearanceCharacteristics(),d=t.getBorderStyle(),m=(s=d?.getWidth())!==null&&s!==void 0?s:0,v=Uo(h?.getRotation()),y=Bo(Ht(Ht({},c),{rotation:v})),b=ql(c,v),x=e.scaleToFit(b.width-m*2,b.height-m*2),E={x:m,y:m,width:x.width,height:x.height,rotate:_t(0),xSkew:_t(0),ySkew:_t(0)};i===Po.Center?(E.x+=(b.width-m*2)/2-x.width/2,E.y+=(b.height-m*2)/2-x.height/2):i===Po.Right&&(E.x=b.width-m-x.width,E.y=b.height-m-x.height);var C=this.doc.context.addRandomSuffix("Image",10),A=fe(y,hw(C,E)),T={XObject:(r={},r[C]=e.ref,r)},D=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(D)},n.prototype.createAppearanceDict=function(t,e,i){var r=this.acroField.dict.context,s=this.createAppearanceStream(t,e.on),l=this.createAppearanceStream(t,e.off),c=r.obj({});return c.set(i,s),c.set(N.of("Off"),l),c},n})(),Oa=htt;var dtt=(function(n){at(t,n);function t(e,i,r){var s=n.call(this,e,i,r)||this;return W(e,"acroCheckBox",[[Rc,"PDFAcroCheckBox"]]),s.acroField=e,s}return t.prototype.check=function(){var e,i=(e=this.acroField.getOnValue())!==null&&e!==void 0?e: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 e=this.acroField.getOnValue();return!!e&&e===this.acroField.getValue()},t.prototype.addToPage=function(e,i){var r,s,l,c,h,d;W(e,"page",[[di,"PDFPage"]]),mo(i),i||(i={}),"textColor"in i||(i.textColor=ae(0,0,0)),"backgroundColor"in i||(i.backgroundColor=ae(1,1,1)),"borderColor"in i||(i.borderColor=ae(0,0,0)),"borderWidth"in i||(i.borderWidth=1);var m=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:(h=i.borderWidth)!==null&&h!==void 0?h:0,rotate:(d=i.rotate)!==null&&d!==void 0?d:_t(0),hidden:i.hidden,page:e.ref}),v=this.doc.context.register(m.dict);this.acroField.addWidget(v),m.setAppearanceState(N.of("Off")),this.updateWidgetAppearance(m,N.of("Yes")),e.node.addAnnot(v)},t.prototype.needsAppearancesUpdate=function(){for(var e,i=this.acroField.getWidgets(),r=0,s=i.length;r<s;r++){var l=i[r],c=l.getAppearanceState(),h=(e=l.getAppearances())===null||e===void 0?void 0:e.normal;if(!(h instanceof Tt)||c&&!h.has(c))return!0}return!1},t.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},t.prototype.updateAppearances=function(e){var i;ut(e,"provider",[Function]);for(var r=this.acroField.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s],h=(i=c.getOnValue())!==null&&i!==void 0?i:N.of("Yes");h&&this.updateWidgetAppearance(c,h,e)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(e,i,r){var s=r??O9,l=po(s(this,e));this.updateOnOffWidgetAppearance(e,i,l)},t.of=function(e,i,r){return new t(e,i,r)},t})(Oa),Nh=dtt;var ptt=(function(n){at(t,n);function t(e,i,r){var s=n.call(this,e,i,r)||this;return W(e,"acroComboBox",[[Oc,"PDFAcroComboBox"]]),s.acroField=e,s}return t.prototype.getOptions=function(){for(var e=this.acroField.getOptions(),i=new Array(e.length),r=0,s=i.length;r<s;r++){var l=e[r],c=l.display,h=l.value;i[r]=(c??h).decodeText()}return i},t.prototype.getSelected=function(){for(var e=this.acroField.getValues(),i=new Array(e.length),r=0,s=e.length;r<s;r++)i[r]=e[r].decodeText();return i},t.prototype.setOptions=function(e){W(e,"options",[Array]);for(var i=new Array(e.length),r=0,s=e.length;r<s;r++)i[r]={value:xt.fromText(e[r])};this.acroField.setOptions(i)},t.prototype.addOptions=function(e){W(e,"options",["string",Array]);for(var i=Array.isArray(e)?e:[e],r=this.acroField.getOptions(),s=new Array(i.length),l=0,c=i.length;l<c;l++)s[l]={value:xt.fromText(i[l])};this.acroField.setOptions(r.concat(s))},t.prototype.select=function(e,i){i===void 0&&(i=!1),W(e,"options",["string",Array]),W(i,"merge",["boolean"]);var r=Array.isArray(e)?e:[e],s=this.getOptions(),l=r.find(function(v){return!s.includes(v)});l&&this.enableEditing(),this.markAsDirty(),(r.length>1||r.length===1&&i)&&this.enableMultiselect();for(var c=new Array(r.length),h=0,d=r.length;h<d;h++)c[h]=xt.fromText(r[h]);if(i){var m=this.acroField.getValues();this.acroField.setValues(m.concat(c))}else this.acroField.setValues(c)},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},t.prototype.setFontSize=function(e){Tc(e,"fontSize"),this.acroField.setFontSize(e),this.markAsDirty()},t.prototype.isEditable=function(){return this.acroField.hasFlag(Oe.Edit)},t.prototype.enableEditing=function(){this.acroField.setFlagTo(Oe.Edit,!0)},t.prototype.disableEditing=function(){this.acroField.setFlagTo(Oe.Edit,!1)},t.prototype.isSorted=function(){return this.acroField.hasFlag(Oe.Sort)},t.prototype.enableSorting=function(){this.acroField.setFlagTo(Oe.Sort,!0)},t.prototype.disableSorting=function(){this.acroField.setFlagTo(Oe.Sort,!1)},t.prototype.isMultiselect=function(){return this.acroField.hasFlag(Oe.MultiSelect)},t.prototype.enableMultiselect=function(){this.acroField.setFlagTo(Oe.MultiSelect,!0)},t.prototype.disableMultiselect=function(){this.acroField.setFlagTo(Oe.MultiSelect,!1)},t.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(Oe.DoNotSpellCheck)},t.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(Oe.DoNotSpellCheck,!1)},t.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(Oe.DoNotSpellCheck,!0)},t.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(Oe.CommitOnSelChange)},t.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(Oe.CommitOnSelChange,!0)},t.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(Oe.CommitOnSelChange,!1)},t.prototype.addToPage=function(e,i){var r,s,l,c,h,d,m;W(e,"page",[[di,"PDFPage"]]),mo(i),i||(i={}),"textColor"in i||(i.textColor=ae(0,0,0)),"backgroundColor"in i||(i.backgroundColor=ae(1,1,1)),"borderColor"in i||(i.borderColor=ae(0,0,0)),"borderWidth"in i||(i.borderWidth=1);var v=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:(h=i.borderWidth)!==null&&h!==void 0?h:0,rotate:(d=i.rotate)!==null&&d!==void 0?d:_t(0),hidden:i.hidden,page:e.ref}),y=this.doc.context.register(v.dict);this.acroField.addWidget(y);var b=(m=i.font)!==null&&m!==void 0?m:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(v,b),e.node.addAnnot(y)},t.prototype.needsAppearancesUpdate=function(){var e;if(this.isDirty())return!0;for(var i=this.acroField.getWidgets(),r=0,s=i.length;r<s;r++){var l=i[r],c=((e=l.getAppearances())===null||e===void 0?void 0:e.normal)instanceof wn;if(!c)return!0}return!1},t.prototype.defaultUpdateAppearances=function(e){W(e,"font",[[Wn,"PDFFont"]]),this.updateAppearances(e)},t.prototype.updateAppearances=function(e,i){W(e,"font",[[Wn,"PDFFont"]]),ut(i,"provider",[Function]);for(var r=this.acroField.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s];this.updateWidgetAppearance(c,e,i)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(e,i,r){var s=r??N9,l=po(s(this,e,i));this.updateWidgetAppearanceWithFont(e,i,l)},t.of=function(e,i,r){return new t(e,i,r)},t})(Oa),f0=ptt;var mtt=(function(n){at(t,n);function t(e,i,r){var s=n.call(this,e,i,r)||this;return W(e,"acroListBox",[[zc,"PDFAcroListBox"]]),s.acroField=e,s}return t.prototype.getOptions=function(){for(var e=this.acroField.getOptions(),i=new Array(e.length),r=0,s=i.length;r<s;r++){var l=e[r],c=l.display,h=l.value;i[r]=(c??h).decodeText()}return i},t.prototype.getSelected=function(){for(var e=this.acroField.getValues(),i=new Array(e.length),r=0,s=e.length;r<s;r++)i[r]=e[r].decodeText();return i},t.prototype.setOptions=function(e){W(e,"options",[Array]),this.markAsDirty();for(var i=new Array(e.length),r=0,s=e.length;r<s;r++)i[r]={value:xt.fromText(e[r])};this.acroField.setOptions(i)},t.prototype.addOptions=function(e){W(e,"options",["string",Array]),this.markAsDirty();for(var i=Array.isArray(e)?e:[e],r=this.acroField.getOptions(),s=new Array(i.length),l=0,c=i.length;l<c;l++)s[l]={value:xt.fromText(i[l])};this.acroField.setOptions(r.concat(s))},t.prototype.select=function(e,i){i===void 0&&(i=!1),W(e,"options",["string",Array]),W(i,"merge",["boolean"]);var r=Array.isArray(e)?e:[e],s=this.getOptions();nj(r,"option",s),this.markAsDirty(),(r.length>1||r.length===1&&i)&&this.enableMultiselect();for(var l=new Array(r.length),c=0,h=r.length;c<h;c++)l[c]=xt.fromText(r[c]);if(i){var d=this.acroField.getValues();this.acroField.setValues(d.concat(l))}else this.acroField.setValues(l)},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValues([])},t.prototype.setFontSize=function(e){Tc(e,"fontSize"),this.acroField.setFontSize(e),this.markAsDirty()},t.prototype.isSorted=function(){return this.acroField.hasFlag(Oe.Sort)},t.prototype.enableSorting=function(){this.acroField.setFlagTo(Oe.Sort,!0)},t.prototype.disableSorting=function(){this.acroField.setFlagTo(Oe.Sort,!1)},t.prototype.isMultiselect=function(){return this.acroField.hasFlag(Oe.MultiSelect)},t.prototype.enableMultiselect=function(){this.acroField.setFlagTo(Oe.MultiSelect,!0)},t.prototype.disableMultiselect=function(){this.acroField.setFlagTo(Oe.MultiSelect,!1)},t.prototype.isSelectOnClick=function(){return this.acroField.hasFlag(Oe.CommitOnSelChange)},t.prototype.enableSelectOnClick=function(){this.acroField.setFlagTo(Oe.CommitOnSelChange,!0)},t.prototype.disableSelectOnClick=function(){this.acroField.setFlagTo(Oe.CommitOnSelChange,!1)},t.prototype.addToPage=function(e,i){var r,s,l,c,h,d,m;W(e,"page",[[di,"PDFPage"]]),mo(i),i||(i={}),"textColor"in i||(i.textColor=ae(0,0,0)),"backgroundColor"in i||(i.backgroundColor=ae(1,1,1)),"borderColor"in i||(i.borderColor=ae(0,0,0)),"borderWidth"in i||(i.borderWidth=1);var v=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:(h=i.borderWidth)!==null&&h!==void 0?h:0,rotate:(d=i.rotate)!==null&&d!==void 0?d:_t(0),hidden:i.hidden,page:e.ref}),y=this.doc.context.register(v.dict);this.acroField.addWidget(y);var b=(m=i.font)!==null&&m!==void 0?m:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(v,b),e.node.addAnnot(y)},t.prototype.needsAppearancesUpdate=function(){var e;if(this.isDirty())return!0;for(var i=this.acroField.getWidgets(),r=0,s=i.length;r<s;r++){var l=i[r],c=((e=l.getAppearances())===null||e===void 0?void 0:e.normal)instanceof wn;if(!c)return!0}return!1},t.prototype.defaultUpdateAppearances=function(e){W(e,"font",[[Wn,"PDFFont"]]),this.updateAppearances(e)},t.prototype.updateAppearances=function(e,i){W(e,"font",[[Wn,"PDFFont"]]),ut(i,"provider",[Function]);for(var r=this.acroField.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s];this.updateWidgetAppearance(c,e,i)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(e,i,r){var s=r??z9,l=po(s(this,e,i));this.updateWidgetAppearanceWithFont(e,i,l)},t.of=function(e,i,r){return new t(e,i,r)},t})(Oa),h0=mtt;var gtt=(function(n){at(t,n);function t(e,i,r){var s=n.call(this,e,i,r)||this;return W(e,"acroRadioButton",[[Nc,"PDFAcroRadioButton"]]),s.acroField=e,s}return t.prototype.getOptions=function(){var e=this.acroField.getExportValues();if(e){for(var i=new Array(e.length),r=0,s=e.length;r<s;r++)i[r]=e[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 e=this.acroField.getValue();if(e!==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]===e)return i[s].decodeText()}return e.decodeText()}},t.prototype.select=function(e){W(e,"option",["string"]);var i=this.getOptions();Lo(e,"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()===e&&this.acroField.setValue(r[l]);else for(var l=0,c=r.length;l<c;l++){var h=r[l];h.decodeText()===e&&this.acroField.setValue(h)}},t.prototype.clear=function(){this.markAsDirty(),this.acroField.setValue(N.of("Off"))},t.prototype.isOffToggleable=function(){return!this.acroField.hasFlag(oa.NoToggleToOff)},t.prototype.enableOffToggling=function(){this.acroField.setFlagTo(oa.NoToggleToOff,!1)},t.prototype.disableOffToggling=function(){this.acroField.setFlagTo(oa.NoToggleToOff,!0)},t.prototype.isMutuallyExclusive=function(){return!this.acroField.hasFlag(oa.RadiosInUnison)},t.prototype.enableMutualExclusion=function(){this.acroField.setFlagTo(oa.RadiosInUnison,!1)},t.prototype.disableMutualExclusion=function(){this.acroField.setFlagTo(oa.RadiosInUnison,!0)},t.prototype.addOptionToPage=function(e,i,r){var s,l,c,h,d,m,v,y,b;W(e,"option",["string"]),W(i,"page",[[di,"PDFPage"]]),mo(r);var x=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:(h=r?.height)!==null&&h!==void 0?h:50,textColor:(d=r?.textColor)!==null&&d!==void 0?d:ae(0,0,0),backgroundColor:(m=r?.backgroundColor)!==null&&m!==void 0?m:ae(1,1,1),borderColor:(v=r?.borderColor)!==null&&v!==void 0?v:ae(0,0,0),borderWidth:(y=r?.borderWidth)!==null&&y!==void 0?y:1,rotate:(b=r?.rotate)!==null&&b!==void 0?b:_t(0),hidden:r?.hidden,page:i.ref}),E=this.doc.context.register(x.dict),C=this.acroField.addWidgetWithOpt(E,xt.fromText(e),!this.isMutuallyExclusive());x.setAppearanceState(N.of("Off")),this.updateWidgetAppearance(x,C),i.node.addAnnot(E)},t.prototype.needsAppearancesUpdate=function(){for(var e,i=this.acroField.getWidgets(),r=0,s=i.length;r<s;r++){var l=i[r],c=l.getAppearanceState(),h=(e=l.getAppearances())===null||e===void 0?void 0:e.normal;if(!(h instanceof Tt)||c&&!h.has(c))return!0}return!1},t.prototype.defaultUpdateAppearances=function(){this.updateAppearances()},t.prototype.updateAppearances=function(e){ut(e,"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,e)}},t.prototype.updateWidgetAppearance=function(e,i,r){var s=r??M9,l=po(s(this,e));this.updateOnOffWidgetAppearance(e,i,l)},t.of=function(e,i,r){return new t(e,i,r)},t})(Oa),zh=gtt;var vtt=(function(n){at(t,n);function t(e,i,r){var s=n.call(this,e,i,r)||this;return W(e,"acroSignature",[[Dh,"PDFAcroSignature"]]),s.acroField=e,s}return t.prototype.needsAppearancesUpdate=function(){return!1},t.of=function(e,i,r){return new t(e,i,r)},t})(Oa),Ry=vtt;var ytt=(function(n){at(t,n);function t(e,i,r){var s=n.call(this,e,i,r)||this;return W(e,"acroText",[[_c,"PDFAcroText"]]),s.acroField=e,s}return t.prototype.getText=function(){var e=this.acroField.getValue();if(!e&&this.isRichFormatted())throw new x9(this.getName());return e?.decodeText()},t.prototype.setText=function(e){ut(e,"text",["string"]);var i=this.getMaxLength();if(i!==void 0&&e&&e.length>i)throw new w9(e.length,i,this.getName());this.markAsDirty(),this.disableRichFormatting(),e?this.acroField.setValue(xt.fromText(e)):this.acroField.removeValue()},t.prototype.getAlignment=function(){var e=this.acroField.getQuadding();return e===0?Vn.Left:e===1?Vn.Center:e===2?Vn.Right:Vn.Left},t.prototype.setAlignment=function(e){Lo(e,"alignment",Vn),this.markAsDirty(),this.acroField.setQuadding(e)},t.prototype.getMaxLength=function(){return this.acroField.getMaxLength()},t.prototype.setMaxLength=function(e){if(Rr(e,"maxLength",0,Number.MAX_SAFE_INTEGER),this.markAsDirty(),e===void 0)this.acroField.removeMaxLength();else{var i=this.getText();if(i&&i.length>e)throw new E9(i.length,e,this.getName());this.acroField.setMaxLength(e)}},t.prototype.removeMaxLength=function(){this.markAsDirty(),this.acroField.removeMaxLength()},t.prototype.setImage=function(e){for(var i=this.getAlignment(),r=i===Vn.Center?Po.Center:i===Vn.Right?Po.Right:Po.Left,s=this.acroField.getWidgets(),l=0,c=s.length;l<c;l++){var h=s[l],d=this.createImageAppearanceStream(h,e,r);this.updateWidgetAppearances(h,{normal:d})}this.markAsClean()},t.prototype.setFontSize=function(e){Tc(e,"fontSize"),this.acroField.setFontSize(e),this.markAsDirty()},t.prototype.isMultiline=function(){return this.acroField.hasFlag(_n.Multiline)},t.prototype.enableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(_n.Multiline,!0)},t.prototype.disableMultiline=function(){this.markAsDirty(),this.acroField.setFlagTo(_n.Multiline,!1)},t.prototype.isPassword=function(){return this.acroField.hasFlag(_n.Password)},t.prototype.enablePassword=function(){this.acroField.setFlagTo(_n.Password,!0)},t.prototype.disablePassword=function(){this.acroField.setFlagTo(_n.Password,!1)},t.prototype.isFileSelector=function(){return this.acroField.hasFlag(_n.FileSelect)},t.prototype.enableFileSelection=function(){this.acroField.setFlagTo(_n.FileSelect,!0)},t.prototype.disableFileSelection=function(){this.acroField.setFlagTo(_n.FileSelect,!1)},t.prototype.isSpellChecked=function(){return!this.acroField.hasFlag(_n.DoNotSpellCheck)},t.prototype.enableSpellChecking=function(){this.acroField.setFlagTo(_n.DoNotSpellCheck,!1)},t.prototype.disableSpellChecking=function(){this.acroField.setFlagTo(_n.DoNotSpellCheck,!0)},t.prototype.isScrollable=function(){return!this.acroField.hasFlag(_n.DoNotScroll)},t.prototype.enableScrolling=function(){this.acroField.setFlagTo(_n.DoNotScroll,!1)},t.prototype.disableScrolling=function(){this.acroField.setFlagTo(_n.DoNotScroll,!0)},t.prototype.isCombed=function(){return this.acroField.hasFlag(_n.Comb)&&!this.isMultiline()&&!this.isPassword()&&!this.isFileSelector()&&this.getMaxLength()!==void 0},t.prototype.enableCombing=function(){if(this.getMaxLength()===void 0){var e="PDFTextFields must have a max length in order to be combed";console.warn(e)}this.markAsDirty(),this.disableMultiline(),this.disablePassword(),this.disableFileSelection(),this.acroField.setFlagTo(_n.Comb,!0)},t.prototype.disableCombing=function(){this.markAsDirty(),this.acroField.setFlagTo(_n.Comb,!1)},t.prototype.isRichFormatted=function(){return this.acroField.hasFlag(_n.RichText)},t.prototype.enableRichFormatting=function(){this.acroField.setFlagTo(_n.RichText,!0)},t.prototype.disableRichFormatting=function(){this.acroField.setFlagTo(_n.RichText,!1)},t.prototype.addToPage=function(e,i){var r,s,l,c,h,d,m;W(e,"page",[[di,"PDFPage"]]),mo(i),i||(i={}),"textColor"in i||(i.textColor=ae(0,0,0)),"backgroundColor"in i||(i.backgroundColor=ae(1,1,1)),"borderColor"in i||(i.borderColor=ae(0,0,0)),"borderWidth"in i||(i.borderWidth=1);var v=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:(h=i.borderWidth)!==null&&h!==void 0?h:0,rotate:(d=i.rotate)!==null&&d!==void 0?d:_t(0),hidden:i.hidden,page:e.ref}),y=this.doc.context.register(v.dict);this.acroField.addWidget(y);var b=(m=i.font)!==null&&m!==void 0?m:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(v,b),e.node.addAnnot(y)},t.prototype.needsAppearancesUpdate=function(){var e;if(this.isDirty())return!0;for(var i=this.acroField.getWidgets(),r=0,s=i.length;r<s;r++){var l=i[r],c=((e=l.getAppearances())===null||e===void 0?void 0:e.normal)instanceof wn;if(!c)return!0}return!1},t.prototype.defaultUpdateAppearances=function(e){W(e,"font",[[Wn,"PDFFont"]]),this.updateAppearances(e)},t.prototype.updateAppearances=function(e,i){W(e,"font",[[Wn,"PDFFont"]]),ut(i,"provider",[Function]);for(var r=this.acroField.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s];this.updateWidgetAppearance(c,e,i)}this.markAsClean()},t.prototype.updateWidgetAppearance=function(e,i,r){var s=r??F9,l=po(s(this,e,i));this.updateWidgetAppearanceWithFont(e,i,l)},t.of=function(e,i,r){return new t(e,i,r)},t})(Oa),d0=ytt;var Hc;(function(n){n.Courier="Courier",n.CourierBold="Courier-Bold",n.CourierOblique="Courier-Oblique",n.CourierBoldOblique="Courier-BoldOblique",n.Helvetica="Helvetica",n.HelveticaBold="Helvetica-Bold",n.HelveticaOblique="Helvetica-Oblique",n.HelveticaBoldOblique="Helvetica-BoldOblique",n.TimesRoman="Times-Roman",n.TimesRomanBold="Times-Bold",n.TimesRomanItalic="Times-Italic",n.TimesRomanBoldItalic="Times-BoldItalic",n.Symbol="Symbol",n.ZapfDingbats="ZapfDingbats"})(Hc||(Hc={}));var btt=(function(){function n(t,e){var i=this;this.embedDefaultFont=function(){return i.doc.embedStandardFont(Hc.Helvetica)},W(t,"acroForm",[[Rh,"PDFAcroForm"]]),W(e,"doc",[[la,"PDFDocument"]]),this.acroForm=t,this.doc=e,this.dirtyFields=new Set,this.defaultFontCache=ra.populatedBy(this.embedDefaultFont)}return n.prototype.hasXFA=function(){return this.acroForm.dict.has(N.of("XFA"))},n.prototype.deleteXFA=function(){this.acroForm.dict.delete(N.of("XFA"))},n.prototype.getFields=function(){for(var t=this.acroForm.getAllFields(),e=[],i=0,r=t.length;i<r;i++){var s=t[i],l=s[0],c=s[1],h=Stt(l,c,this.doc);h&&e.push(h)}return e},n.prototype.getFieldMaybe=function(t){W(t,"name",["string"]);for(var e=this.getFields(),i=0,r=e.length;i<r;i++){var s=e[i];if(s.getName()===t)return s}},n.prototype.getField=function(t){W(t,"name",["string"]);var e=this.getFieldMaybe(t);if(e)return e;throw new b9(t)},n.prototype.getButton=function(t){W(t,"name",["string"]);var e=this.getField(t);if(e instanceof g0)return e;throw new Bc(t,g0,e)},n.prototype.getCheckBox=function(t){W(t,"name",["string"]);var e=this.getField(t);if(e instanceof Nh)return e;throw new Bc(t,Nh,e)},n.prototype.getDropdown=function(t){W(t,"name",["string"]);var e=this.getField(t);if(e instanceof f0)return e;throw new Bc(t,f0,e)},n.prototype.getOptionList=function(t){W(t,"name",["string"]);var e=this.getField(t);if(e instanceof h0)return e;throw new Bc(t,h0,e)},n.prototype.getRadioGroup=function(t){W(t,"name",["string"]);var e=this.getField(t);if(e instanceof zh)return e;throw new Bc(t,zh,e)},n.prototype.getSignature=function(t){W(t,"name",["string"]);var e=this.getField(t);if(e instanceof Ry)return e;throw new Bc(t,Ry,e)},n.prototype.getTextField=function(t){W(t,"name",["string"]);var e=this.getField(t);if(e instanceof d0)return e;throw new Bc(t,d0,e)},n.prototype.createButton=function(t){W(t,"name",["string"]);var e=p0(t),i=this.findOrCreateNonTerminals(e.nonTerminal),r=Fc.create(this.doc.context);return r.setPartialName(e.terminal),m0(i,[r,r.ref],e.terminal),g0.of(r,r.ref,this.doc)},n.prototype.createCheckBox=function(t){W(t,"name",["string"]);var e=p0(t),i=this.findOrCreateNonTerminals(e.nonTerminal),r=Rc.create(this.doc.context);return r.setPartialName(e.terminal),m0(i,[r,r.ref],e.terminal),Nh.of(r,r.ref,this.doc)},n.prototype.createDropdown=function(t){W(t,"name",["string"]);var e=p0(t),i=this.findOrCreateNonTerminals(e.nonTerminal),r=Oc.create(this.doc.context);return r.setPartialName(e.terminal),m0(i,[r,r.ref],e.terminal),f0.of(r,r.ref,this.doc)},n.prototype.createOptionList=function(t){W(t,"name",["string"]);var e=p0(t),i=this.findOrCreateNonTerminals(e.nonTerminal),r=zc.create(this.doc.context);return r.setPartialName(e.terminal),m0(i,[r,r.ref],e.terminal),h0.of(r,r.ref,this.doc)},n.prototype.createRadioGroup=function(t){W(t,"name",["string"]);var e=p0(t),i=this.findOrCreateNonTerminals(e.nonTerminal),r=Nc.create(this.doc.context);return r.setPartialName(e.terminal),m0(i,[r,r.ref],e.terminal),zh.of(r,r.ref,this.doc)},n.prototype.createTextField=function(t){W(t,"name",["string"]);var e=p0(t),i=this.findOrCreateNonTerminals(e.nonTerminal),r=_c.create(this.doc.context);return r.setPartialName(e.terminal),m0(i,[r,r.ref],e.terminal),d0.of(r,r.ref,this.doc)},n.prototype.flatten=function(t){t===void 0&&(t={updateFieldAppearances:!0}),t.updateFieldAppearances&&this.updateFieldAppearances();for(var e=this.getFields(),i=0,r=e.length;i<r;i++){for(var s=e[i],l=s.acroField.getWidgets(),c=0,h=l.length;c<h;c++){var d=l[c],m=this.findWidgetPage(d),v=this.findWidgetAppearanceRef(s,d),y=m.node.newXObject("FlatWidget",v),b=d.getRectangle(),x=fe([jn(),Da(b.x,b.y)],Bo(Ht(Ht({},b),{rotation:0})),[xy(y),qn()]).filter(Boolean);m.pushOperators.apply(m,x)}this.removeField(s)}},n.prototype.removeField=function(t){for(var e=t.acroField.getWidgets(),i=new Set,r=0,s=e.length;r<s;r++){var l=e[r],c=this.findWidgetAppearanceRef(t,l),h=this.findWidgetPage(l);i.add(h),h.node.removeAnnot(c)}i.forEach(function(b){return b.node.removeAnnot(t.ref)}),this.acroForm.removeField(t.acroField);for(var d=t.acroField.normalizedEntries().Kids,m=d.size(),v=0;v<m;v++){var y=d.get(v);y instanceof jt&&this.doc.context.delete(y)}this.doc.context.delete(t.ref)},n.prototype.updateFieldAppearances=function(t){ut(t,"font",[[Wn,"PDFFont"]]),t=t??this.getDefaultFont();for(var e=this.getFields(),i=0,r=e.length;i<r;i++){var s=e[i];s.needsAppearancesUpdate()&&s.defaultUpdateAppearances(t)}},n.prototype.markFieldAsDirty=function(t){ut(t,"fieldRef",[[jt,"PDFRef"]]),this.dirtyFields.add(t)},n.prototype.markFieldAsClean=function(t){ut(t,"fieldRef",[[jt,"PDFRef"]]),this.dirtyFields.delete(t)},n.prototype.fieldIsDirty=function(t){return ut(t,"fieldRef",[[jt,"PDFRef"]]),this.dirtyFields.has(t)},n.prototype.getDefaultFont=function(){return this.defaultFontCache.access()},n.prototype.findWidgetPage=function(t){var e=t.P(),i=this.doc.getPages().find(function(s){return s.ref===e});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},n.prototype.findWidgetAppearanceRef=function(t,e){var i,r=e.getNormalAppearance();if(r instanceof Tt&&(t instanceof Nh||t instanceof zh)){var s=t.acroField.getValue(),l=(i=r.get(s))!==null&&i!==void 0?i:r.get(N.of("Off"));l instanceof jt&&(r=l)}if(!(r instanceof jt)){var c=t.getName();throw new Error("Failed to extract appearance ref for: "+c)}return r},n.prototype.findOrCreateNonTerminals=function(t){for(var e=[this.acroForm],i=0,r=t.length;i<r;i++){var s=t[i];if(!s)throw new S9(s);var l=e[0],c=e[1],h=this.findNonTerminal(s,l);if(h)e=h;else{var d=Mc.create(this.doc.context);d.setPartialName(s),d.setParent(c);var m=this.doc.context.register(d.dict);l.addField(m),e=[d,m]}}return e},n.prototype.findNonTerminal=function(t,e){for(var i=e instanceof Rh?this.acroForm.getFields():oy(e.Kids()),r=0,s=i.length;r<s;r++){var l=i[r],c=l[0],h=l[1];if(c.getPartialName()===t){if(c instanceof Mc)return[c,h];throw new Z_(t)}}},n.of=function(t,e){return new n(t,e)},n})(),Q_=btt,Stt=function(n,t,e){if(n instanceof Fc)return g0.of(n,t,e);if(n instanceof Rc)return Nh.of(n,t,e);if(n instanceof Oc)return f0.of(n,t,e);if(n instanceof zc)return h0.of(n,t,e);if(n instanceof _c)return d0.of(n,t,e);if(n instanceof Nc)return zh.of(n,t,e);if(n instanceof Dh)return Ry.of(n,t,e)},p0=function(n){if(n.length===0)throw new Error("PDF field names must not be empty strings");for(var t=n.split("."),e=0,i=t.length;e<i;e++)if(t[e]==="")throw new Error('Periods in PDF field names must be separated by at least one character: "'+n+'"');return t.length===1?{nonTerminal:[],terminal:t[0]}:{nonTerminal:t.slice(0,t.length-1),terminal:t[t.length-1]}},m0=function(n,t,e){for(var i=n[0],r=n[1],s=t[0],l=t[1],c=i.normalizedEntries(),h=oy("Kids"in c?c.Kids:c.Fields),d=0,m=h.length;d<m;d++)if(h[d][0].getPartialName()===e)throw new Z_(e);i.addField(l),s.setParent(r)};var k9={"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 dw;(function(n){n[n.Fastest=1/0]="Fastest",n[n.Fast=1500]="Fast",n[n.Medium=500]="Medium",n[n.Slow=100]="Slow"})(dw||(dw={}));var xtt=(function(){function n(t,e,i){this.alreadyEmbedded=!1,this.ref=t,this.doc=e,this.embedder=i}return n.prototype.embed=function(){return Rt(this,void 0,void 0,function(){var t,e,i,r,s;return Ot(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({})),e=this.doc.catalog.lookup(N.of("Names"),Tt),e.has(N.of("EmbeddedFiles"))||e.set(N.of("EmbeddedFiles"),this.doc.context.obj({})),i=e.lookup(N.of("EmbeddedFiles"),Tt),i.has(N.of("Names"))||i.set(N.of("Names"),this.doc.context.obj([])),r=i.lookup(N.of("Names"),Bt),r.push(xt.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"),Bt),s.push(t),this.alreadyEmbedded=!0,l.label=2;case 2:return[2]}})})},n.of=function(t,e,i){return new n(t,e,i)},n})(),L9=xtt;var Att=(function(){function n(t,e,i){this.alreadyEmbedded=!1,this.ref=t,this.doc=e,this.embedder=i}return n.prototype.embed=function(){return Rt(this,void 0,void 0,function(){var t,e,i,r,s,l,c;return Ot(this,function(h){switch(h.label){case 0:return this.alreadyEmbedded?[3,2]:(t=this.doc,e=t.catalog,i=t.context,[4,this.embedder.embedIntoContext(this.doc.context,this.ref)]);case 1:r=h.sent(),e.has(N.of("Names"))||e.set(N.of("Names"),i.obj({})),s=e.lookup(N.of("Names"),Tt),s.has(N.of("JavaScript"))||s.set(N.of("JavaScript"),i.obj({})),l=s.lookup(N.of("JavaScript"),Tt),l.has(N.of("Names"))||l.set(N.of("Names"),i.obj([])),c=l.lookup(N.of("Names"),Bt),c.push(xt.fromText(this.embedder.scriptName)),c.push(r),this.alreadyEmbedded=!0,h.label=2;case 2:return[2]}})})},n.of=function(t,e,i){return new n(t,e,i)},n})(),J_=Att;var wtt=(function(){function n(t,e){this.script=t,this.scriptName=e}return n.for=function(t,e){return new n(t,e)},n.prototype.embedIntoContext=function(t,e){return Rt(this,void 0,void 0,function(){var i;return Ot(this,function(r){return i=t.obj({Type:"Action",S:"JavaScript",JS:xt.fromText(this.script)}),e?(t.assign(e,i),[2,e]):[2,t.register(i)]})})},n})(),U9=wtt;var Ett=(function(){function n(t,e,i){var r=this;if(this.defaultWordBreaks=[" "],this.computePages=function(){var s=[];return r.catalog.Pages().traverse(function(l,c){if(l instanceof Ca){var h=r.pageMap.get(l);h||(h=di.of(l,c,r),r.pageMap.set(l,h)),s.push(h)}}),s},this.getOrCreateForm=function(){var s=r.catalog.getOrCreateAcroForm();return Q_.of(s,r)},W(t,"context",[[$p,"PDFContext"]]),W(e,"ignoreEncryption",["boolean"]),this.context=t,this.catalog=t.lookup(t.trailerInfo.Root),this.isEncrypted=!!t.lookup(t.trailerInfo.Encrypt),this.pageCache=ra.populatedBy(this.computePages),this.pageMap=new Map,this.formCache=ra.populatedBy(this.getOrCreateForm),this.fonts=[],this.images=[],this.embeddedPages=[],this.embeddedFiles=[],this.javaScripts=[],!e&&this.isEncrypted)throw new m9;i&&this.updateInfoDict()}return n.load=function(t,e){return e===void 0&&(e={}),Rt(this,void 0,void 0,function(){var i,r,s,l,c,h,d,m,v,y,b,x;return Ot(this,function(E){switch(E.label){case 0:return i=e.ignoreEncryption,r=i===void 0?!1:i,s=e.parseSpeed,l=s===void 0?dw.Slow:s,c=e.throwOnInvalidObject,h=c===void 0?!1:c,d=e.updateMetadata,m=d===void 0?!0:d,v=e.capNumbers,y=v===void 0?!1:v,W(t,"pdf",["string",Uint8Array,ArrayBuffer]),W(r,"ignoreEncryption",["boolean"]),W(l,"parseSpeed",["number"]),W(h,"throwOnInvalidObject",["boolean"]),b=Up(t),[4,M_.forBytesWithOptions(b,l,h,y).parseDocument()];case 1:return x=E.sent(),[2,new n(x,r,m)]}})})},n.create=function(t){return t===void 0&&(t={}),Rt(this,void 0,void 0,function(){var e,i,r,s,l,c;return Ot(this,function(h){return e=t.updateMetadata,i=e===void 0?!0:e,r=$p.create(),s=ly.withContext(r),l=r.register(s),c=sy.withContextAndPages(r,l),r.trailerInfo.Root=r.register(c),[2,new n(r,!1,i)]})})},n.prototype.registerFontkit=function(t){this.fontkit=t},n.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},n.prototype.getTitle=function(){var t=this.getInfoDict().lookup(N.Title);if(t)return jc(t),t.decodeText()},n.prototype.getAuthor=function(){var t=this.getInfoDict().lookup(N.Author);if(t)return jc(t),t.decodeText()},n.prototype.getSubject=function(){var t=this.getInfoDict().lookup(N.Subject);if(t)return jc(t),t.decodeText()},n.prototype.getKeywords=function(){var t=this.getInfoDict().lookup(N.Keywords);if(t)return jc(t),t.decodeText()},n.prototype.getCreator=function(){var t=this.getInfoDict().lookup(N.Creator);if(t)return jc(t),t.decodeText()},n.prototype.getProducer=function(){var t=this.getInfoDict().lookup(N.Producer);if(t)return jc(t),t.decodeText()},n.prototype.getCreationDate=function(){var t=this.getInfoDict().lookup(N.CreationDate);if(t)return jc(t),t.decodeDate()},n.prototype.getModificationDate=function(){var t=this.getInfoDict().lookup(N.ModDate);if(t)return jc(t),t.decodeDate()},n.prototype.setTitle=function(t,e){W(t,"title",["string"]);var i=N.of("Title");if(this.getInfoDict().set(i,xt.fromText(t)),e?.showInWindowTitleBar){var r=this.catalog.getOrCreateViewerPreferences();r.setDisplayDocTitle(!0)}},n.prototype.setAuthor=function(t){W(t,"author",["string"]);var e=N.of("Author");this.getInfoDict().set(e,xt.fromText(t))},n.prototype.setSubject=function(t){W(t,"author",["string"]);var e=N.of("Subject");this.getInfoDict().set(e,xt.fromText(t))},n.prototype.setKeywords=function(t){W(t,"keywords",[Array]);var e=N.of("Keywords");this.getInfoDict().set(e,xt.fromText(t.join(" ")))},n.prototype.setCreator=function(t){W(t,"creator",["string"]);var e=N.of("Creator");this.getInfoDict().set(e,xt.fromText(t))},n.prototype.setProducer=function(t){W(t,"creator",["string"]);var e=N.of("Producer");this.getInfoDict().set(e,xt.fromText(t))},n.prototype.setLanguage=function(t){W(t,"language",["string"]);var e=N.of("Lang");this.catalog.set(e,he.of(t))},n.prototype.setCreationDate=function(t){W(t,"creationDate",[[Date,"Date"]]);var e=N.of("CreationDate");this.getInfoDict().set(e,he.fromDate(t))},n.prototype.setModificationDate=function(t){W(t,"modificationDate",[[Date,"Date"]]);var e=N.of("ModDate");this.getInfoDict().set(e,he.fromDate(t))},n.prototype.getPageCount=function(){return this.pageCount===void 0&&(this.pageCount=this.getPages().length),this.pageCount},n.prototype.getPages=function(){return this.pageCache.access()},n.prototype.getPage=function(t){var e=this.getPages();return aa(t,"index",0,e.length-1),e[t]},n.prototype.getPageIndices=function(){return BP(0,this.getPageCount())},n.prototype.removePage=function(t){var e=this.getPageCount();if(this.pageCount===0)throw new y9;aa(t,"index",0,e-1),this.catalog.removeLeafNode(t),this.pageCount=e-1},n.prototype.addPage=function(t){return W(t,"page",["undefined",[di,"PDFPage"],Array]),this.insertPage(this.getPageCount(),t)},n.prototype.insertPage=function(t,e){var i=this.getPageCount();if(aa(t,"index",0,i),W(e,"page",["undefined",[di,"PDFPage"],Array]),!e||Array.isArray(e)){var r=Array.isArray(e)?e:k9.A4;e=di.create(this),e.setSize.apply(e,r)}else if(e.doc!==this)throw new v9;var s=this.catalog.insertLeafNode(e.ref,t);return e.node.setParent(s),this.pageMap.set(e.node,e),this.pageCache.invalidate(),this.pageCount=i+1,e},n.prototype.copyPages=function(t,e){return Rt(this,void 0,void 0,function(){var i,r,s,l,c,h,d,m;return Ot(this,function(v){switch(v.label){case 0:return W(t,"srcDoc",[[n,"PDFDocument"]]),W(e,"indices",[Array]),[4,t.flush()];case 1:for(v.sent(),i=KA.for(t.context,this.context),r=t.getPages(),s=new Array(e.length),l=0,c=e.length;l<c;l++)h=r[e[l]],d=i.copy(h.node),m=this.context.register(d),s[l]=di.of(d,m,this);return[2,s]}})})},n.prototype.copy=function(){return Rt(this,void 0,void 0,function(){var t,e,i,r;return Ot(this,function(s){switch(s.label){case 0:return[4,n.create()];case 1:return t=s.sent(),[4,t.copyPages(this,this.getPageIndices())];case 2:for(e=s.sent(),i=0,r=e.length;i<r;i++)t.addPage(e[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]}})})},n.prototype.addJavaScript=function(t,e){W(t,"name",["string"]),W(e,"script",["string"]);var i=U9.for(e,t),r=this.context.nextRef(),s=J_.of(r,this,i);this.javaScripts.push(s)},n.prototype.attach=function(t,e,i){return i===void 0&&(i={}),Rt(this,void 0,void 0,function(){var r,s,l,c;return Ot(this,function(h){return W(t,"attachment",["string",Uint8Array,ArrayBuffer]),W(e,"name",["string"]),ut(i.mimeType,"mimeType",["string"]),ut(i.description,"description",["string"]),ut(i.creationDate,"options.creationDate",[Date]),ut(i.modificationDate,"options.modificationDate",[Date]),Ka(i.afRelationship,"options.afRelationship",Qv),r=Up(t),s=A_.for(r,e,i),l=this.context.nextRef(),c=L9.of(l,this,s),this.embeddedFiles.push(c),[2]})})},n.prototype.embedFont=function(t,e){return e===void 0&&(e={}),Rt(this,void 0,void 0,function(){var i,r,s,l,c,h,d,m,v,y;return Ot(this,function(b){switch(b.label){case 0:return i=e.subset,r=i===void 0?!1:i,s=e.customName,l=e.features,W(t,"font",["string",Uint8Array,ArrayBuffer]),W(r,"subset",["boolean"]),f_(t)?(c=wh.for(t,s),[3,7]):[3,1];case 1:return HP(t)?(h=Up(t),d=this.assertFontkit(),r?[4,x_.for(d,h,s,l)]:[3,3]):[3,6];case 2:return m=b.sent(),[3,5];case 3:return[4,Eh.for(d,h,s,l)];case 4:m=b.sent(),b.label=5;case 5:return c=m,[3,7];case 6:throw new TypeError("`font` must be one of `StandardFonts | string | Uint8Array | ArrayBuffer`");case 7:return v=this.context.nextRef(),y=Wn.of(v,this,c),this.fonts.push(y),[2,y]}})})},n.prototype.embedStandardFont=function(t,e){if(W(t,"font",["string"]),!f_(t))throw new TypeError("`font` must be one of type `StandardFonts`");var i=wh.for(t,e),r=this.context.nextRef(),s=Wn.of(r,this,i);return this.fonts.push(s),s},n.prototype.embedJpg=function(t){return Rt(this,void 0,void 0,function(){var e,i,r,s;return Ot(this,function(l){switch(l.label){case 0:return W(t,"jpg",["string",Uint8Array,ArrayBuffer]),e=Up(t),[4,Jv.for(e)];case 1:return i=l.sent(),r=this.context.nextRef(),s=c0.of(r,this,i),this.images.push(s),[2,s]}})})},n.prototype.embedPng=function(t){return Rt(this,void 0,void 0,function(){var e,i,r,s;return Ot(this,function(l){switch(l.label){case 0:return W(t,"png",["string",Uint8Array,ArrayBuffer]),e=Up(t),[4,$v.for(e)];case 1:return i=l.sent(),r=this.context.nextRef(),s=c0.of(r,this,i),this.images.push(s),[2,s]}})})},n.prototype.embedPdf=function(t,e){return e===void 0&&(e=[0]),Rt(this,void 0,void 0,function(){var i,r,s;return Ot(this,function(l){switch(l.label){case 0:return W(t,"pdf",["string",Uint8Array,ArrayBuffer,[n,"PDFDocument"]]),W(e,"indices",[Array]),t instanceof n?(r=t,[3,3]):[3,1];case 1:return[4,n.load(t)];case 2:r=l.sent(),l.label=3;case 3:return i=r,s=PP(i.getPages(),e),[2,this.embedPages(s)]}})})},n.prototype.embedPage=function(t,e,i){return Rt(this,void 0,void 0,function(){var r;return Ot(this,function(s){switch(s.label){case 0:return W(t,"page",[[di,"PDFPage"]]),[4,this.embedPages([t],[e],[i])];case 1:return r=s.sent()[0],[2,r]}})})},n.prototype.embedPages=function(t,e,i){return e===void 0&&(e=[]),i===void 0&&(i=[]),Rt(this,void 0,void 0,function(){var d,m,r,s,l,c,h,d,m,v,y,b,x,E,C;return Ot(this,function(A){switch(A.label){case 0:if(t.length===0)return[2,[]];for(d=0,m=t.length-1;d<m;d++)if(r=t[d],s=t[d+1],r.node.context!==s.node.context)throw new sj;l=t[0].node.context,c=l===this.context?function(T){return T}:KA.for(l,this.context).copy,h=new Array(t.length),d=0,m=t.length,A.label=1;case 1:return d<m?(v=c(t[d].node),y=e[d],b=i[d],[4,ey.for(v,y,b)]):[3,4];case 2:x=A.sent(),E=this.context.nextRef(),h[d]=Dy.of(E,this,x),A.label=3;case 3:return d++,[3,1];case 4:return(C=this.embeddedPages).push.apply(C,h),[2,h]}})})},n.prototype.flush=function(){return Rt(this,void 0,void 0,function(){return Ot(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]}})})},n.prototype.save=function(t){return t===void 0&&(t={}),Rt(this,void 0,void 0,function(){var e,i,r,s,l,c,h,d,m,v;return Ot(this,function(y){switch(y.label){case 0:return e=t.useObjectStreams,i=e===void 0?!0:e,r=t.addDefaultPage,s=r===void 0?!0:r,l=t.objectsPerTick,c=l===void 0?50:l,h=t.updateFieldAppearances,d=h===void 0?!0:h,W(i,"useObjectStreams",["boolean"]),W(s,"addDefaultPage",["boolean"]),W(c,"objectsPerTick",["number"]),W(d,"updateFieldAppearances",["boolean"]),s&&this.getPageCount()===0&&this.addPage(),d&&(m=this.formCache.getValue(),m&&m.updateFieldAppearances()),[4,this.flush()];case 1:return y.sent(),v=i?S_:Zv,[2,v.forContext(this.context,c).serializeToBuffer()]}})})},n.prototype.saveAsBase64=function(t){return t===void 0&&(t={}),Rt(this,void 0,void 0,function(){var e,i,r,s,l;return Ot(this,function(c){switch(c.label){case 0:return e=t.dataUri,i=e===void 0?!1:e,r=EP(t,["dataUri"]),W(i,"dataUri",["boolean"]),[4,this.save(r)];case 1:return s=c.sent(),l=CP(s),[2,i?"data:application/pdf;base64,"+l:l]}})})},n.prototype.findPageForAnnotationRef=function(t){for(var e=this.getPages(),i=0,r=e.length;i<r;i++){var s=e[i],l=s.node.Annots();if(l?.indexOf(t)!==void 0)return s}},n.prototype.embedAll=function(t){return Rt(this,void 0,void 0,function(){var e,i;return Ot(this,function(r){switch(r.label){case 0:e=0,i=t.length,r.label=1;case 1:return e<i?[4,t[e].embed()]:[3,4];case 2:r.sent(),r.label=3;case 3:return e++,[3,1];case 4:return[2]}})})},n.prototype.updateInfoDict=function(){var t="pdf-lib (https://github.com/Hopding/pdf-lib)",e=new Date,i=this.getInfoDict();this.setProducer(t),this.setModificationDate(e),i.get(N.of("Creator"))||this.setCreator(t),i.get(N.of("CreationDate"))||this.setCreationDate(e)},n.prototype.getInfoDict=function(){var t=this.context.lookup(this.context.trailerInfo.Info);if(t instanceof Tt)return t;var e=this.context.obj({});return this.context.trailerInfo.Info=this.context.register(e),e},n.prototype.assertFontkit=function(){if(!this.fontkit)throw new g9;return this.fontkit},n})(),la=Ett;function jc(n){if(!(n instanceof xt)&&!(n instanceof he))throw new Sh([xt,he],n)}var Bs;(function(n){n.Normal="Normal",n.Multiply="Multiply",n.Screen="Screen",n.Overlay="Overlay",n.Darken="Darken",n.Lighten="Lighten",n.ColorDodge="ColorDodge",n.ColorBurn="ColorBurn",n.HardLight="HardLight",n.SoftLight="SoftLight",n.Difference="Difference",n.Exclusion="Exclusion"})(Bs||(Bs={}));var Ttt=(function(){function n(t,e,i){this.fontSize=24,this.fontColor=ae(0,0,0),this.lineHeight=24,this.x=0,this.y=0,W(t,"leafNode",[[Ca,"PDFPageLeaf"]]),W(e,"ref",[[jt,"PDFRef"]]),W(i,"doc",[[la,"PDFDocument"]]),this.node=t,this.ref=e,this.doc=i}return n.prototype.setRotation=function(t){var e=nw(t);GA(e,"degreesAngle",90),this.node.set(N.of("Rotate"),this.doc.context.obj(e))},n.prototype.getRotation=function(){var t=this.node.Rotate();return _t(t?t.asNumber():0)},n.prototype.setSize=function(t,e){W(t,"width",["number"]),W(e,"height",["number"]);var i=this.getMediaBox();this.setMediaBox(i.x,i.y,t,e);var r=this.getCropBox(),s=this.getBleedBox(),l=this.getTrimBox(),c=this.getArtBox(),h=this.node.CropBox(),d=this.node.BleedBox(),m=this.node.TrimBox(),v=this.node.ArtBox();h&&Iv(r,i)&&this.setCropBox(i.x,i.y,t,e),d&&Iv(s,i)&&this.setBleedBox(i.x,i.y,t,e),m&&Iv(l,i)&&this.setTrimBox(i.x,i.y,t,e),v&&Iv(c,i)&&this.setArtBox(i.x,i.y,t,e)},n.prototype.setWidth=function(t){W(t,"width",["number"]),this.setSize(t,this.getSize().height)},n.prototype.setHeight=function(t){W(t,"height",["number"]),this.setSize(this.getSize().width,t)},n.prototype.setMediaBox=function(t,e,i,r){W(t,"x",["number"]),W(e,"y",["number"]),W(i,"width",["number"]),W(r,"height",["number"]);var s=this.doc.context.obj([t,e,t+i,e+r]);this.node.set(N.MediaBox,s)},n.prototype.setCropBox=function(t,e,i,r){W(t,"x",["number"]),W(e,"y",["number"]),W(i,"width",["number"]),W(r,"height",["number"]);var s=this.doc.context.obj([t,e,t+i,e+r]);this.node.set(N.CropBox,s)},n.prototype.setBleedBox=function(t,e,i,r){W(t,"x",["number"]),W(e,"y",["number"]),W(i,"width",["number"]),W(r,"height",["number"]);var s=this.doc.context.obj([t,e,t+i,e+r]);this.node.set(N.BleedBox,s)},n.prototype.setTrimBox=function(t,e,i,r){W(t,"x",["number"]),W(e,"y",["number"]),W(i,"width",["number"]),W(r,"height",["number"]);var s=this.doc.context.obj([t,e,t+i,e+r]);this.node.set(N.TrimBox,s)},n.prototype.setArtBox=function(t,e,i,r){W(t,"x",["number"]),W(e,"y",["number"]),W(i,"width",["number"]),W(r,"height",["number"]);var s=this.doc.context.obj([t,e,t+i,e+r]);this.node.set(N.ArtBox,s)},n.prototype.getSize=function(){var t=this.getMediaBox(),e=t.width,i=t.height;return{width:e,height:i}},n.prototype.getWidth=function(){return this.getSize().width},n.prototype.getHeight=function(){return this.getSize().height},n.prototype.getMediaBox=function(){var t=this.node.MediaBox();return t.asRectangle()},n.prototype.getCropBox=function(){var t,e=this.node.CropBox();return(t=e?.asRectangle())!==null&&t!==void 0?t:this.getMediaBox()},n.prototype.getBleedBox=function(){var t,e=this.node.BleedBox();return(t=e?.asRectangle())!==null&&t!==void 0?t:this.getCropBox()},n.prototype.getTrimBox=function(){var t,e=this.node.TrimBox();return(t=e?.asRectangle())!==null&&t!==void 0?t:this.getCropBox()},n.prototype.getArtBox=function(){var t,e=this.node.ArtBox();return(t=e?.asRectangle())!==null&&t!==void 0?t:this.getCropBox()},n.prototype.translateContent=function(t,e){W(t,"x",["number"]),W(e,"y",["number"]),this.node.normalize(),this.getContentStream();var i=this.createContentStream(jn(),Da(t,e)),r=this.doc.context.register(i),s=this.createContentStream(qn()),l=this.doc.context.register(s);this.node.wrapContentStreams(r,l)},n.prototype.scale=function(t,e){W(t,"x",["number"]),W(e,"y",["number"]),this.setSize(this.getWidth()*t,this.getHeight()*e),this.scaleContent(t,e),this.scaleAnnotations(t,e)},n.prototype.scaleContent=function(t,e){W(t,"x",["number"]),W(e,"y",["number"]),this.node.normalize(),this.getContentStream();var i=this.createContentStream(jn(),Mh(t,e)),r=this.doc.context.register(i),s=this.createContentStream(qn()),l=this.doc.context.register(s);this.node.wrapContentStreams(r,l)},n.prototype.scaleAnnotations=function(t,e){W(t,"x",["number"]),W(e,"y",["number"]);var i=this.node.Annots();if(i)for(var r=0;r<i.size();r++){var s=i.lookup(r);s instanceof Tt&&this.scaleAnnot(s,t,e)}},n.prototype.resetPosition=function(){this.getContentStream(!1),this.x=0,this.y=0},n.prototype.setFont=function(t){W(t,"font",[[Wn,"PDFFont"]]),this.font=t,this.fontKey=this.node.newFontDictionary(this.font.name,this.font.ref)},n.prototype.setFontSize=function(t){W(t,"fontSize",["number"]),this.fontSize=t},n.prototype.setFontColor=function(t){W(t,"fontColor",[[Object,"Color"]]),this.fontColor=t},n.prototype.setLineHeight=function(t){W(t,"lineHeight",["number"]),this.lineHeight=t},n.prototype.getPosition=function(){return{x:this.x,y:this.y}},n.prototype.getX=function(){return this.x},n.prototype.getY=function(){return this.y},n.prototype.moveTo=function(t,e){W(t,"x",["number"]),W(e,"y",["number"]),this.x=t,this.y=e},n.prototype.moveDown=function(t){W(t,"yDecrease",["number"]),this.y-=t},n.prototype.moveUp=function(t){W(t,"yIncrease",["number"]),this.y+=t},n.prototype.moveLeft=function(t){W(t,"xDecrease",["number"]),this.x-=t},n.prototype.moveRight=function(t){W(t,"xIncrease",["number"]),this.x+=t},n.prototype.pushOperators=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];VA(t,"operator",[[be,"PDFOperator"]]);var i=this.getContentStream();i.push.apply(i,t)},n.prototype.drawText=function(t,e){var i,r,s,l,c,h,d;e===void 0&&(e={}),W(t,"text",["string"]),ut(e.color,"options.color",[[Object,"Color"]]),Rr(e.opacity,"opacity.opacity",0,1),ut(e.font,"options.font",[[Wn,"PDFFont"]]),ut(e.size,"options.size",["number"]),ut(e.rotate,"options.rotate",[[Object,"Rotation"]]),ut(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),ut(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),ut(e.x,"options.x",["number"]),ut(e.y,"options.y",["number"]),ut(e.lineHeight,"options.lineHeight",["number"]),ut(e.maxWidth,"options.maxWidth",["number"]),ut(e.wordBreaks,"options.wordBreaks",[Array]),Ka(e.blendMode,"options.blendMode",Bs);for(var m=this.setOrEmbedFont(e.font),v=m.oldFont,y=m.newFont,b=m.newFontKey,x=e.size||this.fontSize,E=e.wordBreaks||this.doc.defaultWordBreaks,C=function(L){return y.widthOfTextAtSize(L,x)},A=e.maxWidth===void 0?SA(sh(t)):FP(t,E,e.maxWidth,C),T=new Array(A.length),D=0,O=A.length;D<O;D++)T[D]=y.encodeText(A[D]);var F=this.maybeEmbedGraphicsState({opacity:e.opacity,blendMode:e.blendMode}),U=this.getContentStream();U.push.apply(U,c9(T,{color:(i=e.color)!==null&&i!==void 0?i:this.fontColor,font:b,size:x,rotate:(r=e.rotate)!==null&&r!==void 0?r:_t(0),xSkew:(s=e.xSkew)!==null&&s!==void 0?s:_t(0),ySkew:(l=e.ySkew)!==null&&l!==void 0?l:_t(0),x:(c=e.x)!==null&&c!==void 0?c:this.x,y:(h=e.y)!==null&&h!==void 0?h:this.y,lineHeight:(d=e.lineHeight)!==null&&d!==void 0?d:this.lineHeight,graphicsState:F})),e.font&&(v?this.setFont(v):this.resetFont())},n.prototype.drawImage=function(t,e){var i,r,s,l,c,h,d;e===void 0&&(e={}),W(t,"image",[[c0,"PDFImage"]]),ut(e.x,"options.x",["number"]),ut(e.y,"options.y",["number"]),ut(e.width,"options.width",["number"]),ut(e.height,"options.height",["number"]),ut(e.rotate,"options.rotate",[[Object,"Rotation"]]),ut(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),ut(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),Rr(e.opacity,"opacity.opacity",0,1),Ka(e.blendMode,"options.blendMode",Bs);var m=this.node.newXObject("Image",t.ref),v=this.maybeEmbedGraphicsState({opacity:e.opacity,blendMode:e.blendMode}),y=this.getContentStream();y.push.apply(y,hw(m,{x:(i=e.x)!==null&&i!==void 0?i:this.x,y:(r=e.y)!==null&&r!==void 0?r:this.y,width:(s=e.width)!==null&&s!==void 0?s:t.size().width,height:(l=e.height)!==null&&l!==void 0?l:t.size().height,rotate:(c=e.rotate)!==null&&c!==void 0?c:_t(0),xSkew:(h=e.xSkew)!==null&&h!==void 0?h:_t(0),ySkew:(d=e.ySkew)!==null&&d!==void 0?d:_t(0),graphicsState:v}))},n.prototype.drawPage=function(t,e){var i,r,s,l,c;e===void 0&&(e={}),W(t,"embeddedPage",[[Dy,"PDFEmbeddedPage"]]),ut(e.x,"options.x",["number"]),ut(e.y,"options.y",["number"]),ut(e.xScale,"options.xScale",["number"]),ut(e.yScale,"options.yScale",["number"]),ut(e.width,"options.width",["number"]),ut(e.height,"options.height",["number"]),ut(e.rotate,"options.rotate",[[Object,"Rotation"]]),ut(e.xSkew,"options.xSkew",[[Object,"Rotation"]]),ut(e.ySkew,"options.ySkew",[[Object,"Rotation"]]),Rr(e.opacity,"opacity.opacity",0,1),Ka(e.blendMode,"options.blendMode",Bs);var h=this.node.newXObject("EmbeddedPdfPage",t.ref),d=this.maybeEmbedGraphicsState({opacity:e.opacity,blendMode:e.blendMode}),m=e.width!==void 0?e.width/t.width:e.xScale!==void 0?e.xScale:1,v=e.height!==void 0?e.height/t.height:e.yScale!==void 0?e.yScale:1,y=this.getContentStream();y.push.apply(y,f9(h,{x:(i=e.x)!==null&&i!==void 0?i:this.x,y:(r=e.y)!==null&&r!==void 0?r:this.y,xScale:m,yScale:v,rotate:(s=e.rotate)!==null&&s!==void 0?s:_t(0),xSkew:(l=e.xSkew)!==null&&l!==void 0?l:_t(0),ySkew:(c=e.ySkew)!==null&&c!==void 0?c:_t(0),graphicsState:d}))},n.prototype.drawSvgPath=function(t,e){var i,r,s,l,c,h,d,m,v;e===void 0&&(e={}),W(t,"path",["string"]),ut(e.x,"options.x",["number"]),ut(e.y,"options.y",["number"]),ut(e.scale,"options.scale",["number"]),ut(e.rotate,"options.rotate",[[Object,"Rotation"]]),ut(e.borderWidth,"options.borderWidth",["number"]),ut(e.color,"options.color",[[Object,"Color"]]),Rr(e.opacity,"opacity.opacity",0,1),ut(e.borderColor,"options.borderColor",[[Object,"Color"]]),ut(e.borderDashArray,"options.borderDashArray",[Array]),ut(e.borderDashPhase,"options.borderDashPhase",["number"]),Ka(e.borderLineCap,"options.borderLineCap",Oh),Rr(e.borderOpacity,"options.borderOpacity",0,1),Ka(e.blendMode,"options.blendMode",Bs);var y=this.maybeEmbedGraphicsState({opacity:e.opacity,borderOpacity:e.borderOpacity,blendMode:e.blendMode});!("color"in e)&&!("borderColor"in e)&&(e.borderColor=ae(0,0,0));var b=this.getContentStream();b.push.apply(b,d9(t,{x:(i=e.x)!==null&&i!==void 0?i:this.x,y:(r=e.y)!==null&&r!==void 0?r:this.y,scale:e.scale,rotate:(s=e.rotate)!==null&&s!==void 0?s:_t(0),color:(l=e.color)!==null&&l!==void 0?l:void 0,borderColor:(c=e.borderColor)!==null&&c!==void 0?c:void 0,borderWidth:(h=e.borderWidth)!==null&&h!==void 0?h:0,borderDashArray:(d=e.borderDashArray)!==null&&d!==void 0?d:void 0,borderDashPhase:(m=e.borderDashPhase)!==null&&m!==void 0?m:void 0,borderLineCap:(v=e.borderLineCap)!==null&&v!==void 0?v:void 0,graphicsState:y}))},n.prototype.drawLine=function(t){var e,i,r,s,l;W(t.start,"options.start",[[Object,"{ x: number, y: number }"]]),W(t.end,"options.end",[[Object,"{ x: number, y: number }"]]),W(t.start.x,"options.start.x",["number"]),W(t.start.y,"options.start.y",["number"]),W(t.end.x,"options.end.x",["number"]),W(t.end.y,"options.end.y",["number"]),ut(t.thickness,"options.thickness",["number"]),ut(t.color,"options.color",[[Object,"Color"]]),ut(t.dashArray,"options.dashArray",[Array]),ut(t.dashPhase,"options.dashPhase",["number"]),Ka(t.lineCap,"options.lineCap",Oh),Rr(t.opacity,"opacity.opacity",0,1),Ka(t.blendMode,"options.blendMode",Bs);var c=this.maybeEmbedGraphicsState({borderOpacity:t.opacity,blendMode:t.blendMode});"color"in t||(t.color=ae(0,0,0));var h=this.getContentStream();h.push.apply(h,h9({start:t.start,end:t.end,thickness:(e=t.thickness)!==null&&e!==void 0?e: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}))},n.prototype.drawRectangle=function(t){var e,i,r,s,l,c,h,d,m,v,y,b,x;t===void 0&&(t={}),ut(t.x,"options.x",["number"]),ut(t.y,"options.y",["number"]),ut(t.width,"options.width",["number"]),ut(t.height,"options.height",["number"]),ut(t.rotate,"options.rotate",[[Object,"Rotation"]]),ut(t.xSkew,"options.xSkew",[[Object,"Rotation"]]),ut(t.ySkew,"options.ySkew",[[Object,"Rotation"]]),ut(t.borderWidth,"options.borderWidth",["number"]),ut(t.color,"options.color",[[Object,"Color"]]),Rr(t.opacity,"opacity.opacity",0,1),ut(t.borderColor,"options.borderColor",[[Object,"Color"]]),ut(t.borderDashArray,"options.borderDashArray",[Array]),ut(t.borderDashPhase,"options.borderDashPhase",["number"]),Ka(t.borderLineCap,"options.borderLineCap",Oh),Rr(t.borderOpacity,"options.borderOpacity",0,1),Ka(t.blendMode,"options.blendMode",Bs);var E=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});!("color"in t)&&!("borderColor"in t)&&(t.color=ae(0,0,0));var C=this.getContentStream();C.push.apply(C,Fh({x:(e=t.x)!==null&&e!==void 0?e: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:_t(0),xSkew:(c=t.xSkew)!==null&&c!==void 0?c:_t(0),ySkew:(h=t.ySkew)!==null&&h!==void 0?h:_t(0),borderWidth:(d=t.borderWidth)!==null&&d!==void 0?d:0,color:(m=t.color)!==null&&m!==void 0?m:void 0,borderColor:(v=t.borderColor)!==null&&v!==void 0?v:void 0,borderDashArray:(y=t.borderDashArray)!==null&&y!==void 0?y:void 0,borderDashPhase:(b=t.borderDashPhase)!==null&&b!==void 0?b:void 0,graphicsState:E,borderLineCap:(x=t.borderLineCap)!==null&&x!==void 0?x:void 0}))},n.prototype.drawSquare=function(t){t===void 0&&(t={});var e=t.size;ut(e,"size",["number"]),this.drawRectangle(Ht(Ht({},t),{width:e,height:e}))},n.prototype.drawEllipse=function(t){var e,i,r,s,l,c,h,d,m,v,y;t===void 0&&(t={}),ut(t.x,"options.x",["number"]),ut(t.y,"options.y",["number"]),ut(t.xScale,"options.xScale",["number"]),ut(t.yScale,"options.yScale",["number"]),ut(t.rotate,"options.rotate",[[Object,"Rotation"]]),ut(t.color,"options.color",[[Object,"Color"]]),Rr(t.opacity,"opacity.opacity",0,1),ut(t.borderColor,"options.borderColor",[[Object,"Color"]]),Rr(t.borderOpacity,"options.borderOpacity",0,1),ut(t.borderWidth,"options.borderWidth",["number"]),ut(t.borderDashArray,"options.borderDashArray",[Array]),ut(t.borderDashPhase,"options.borderDashPhase",["number"]),Ka(t.borderLineCap,"options.borderLineCap",Oh),Ka(t.blendMode,"options.blendMode",Bs);var b=this.maybeEmbedGraphicsState({opacity:t.opacity,borderOpacity:t.borderOpacity,blendMode:t.blendMode});!("color"in t)&&!("borderColor"in t)&&(t.color=ae(0,0,0));var x=this.getContentStream();x.push.apply(x,fw({x:(e=t.x)!==null&&e!==void 0?e: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:(h=t.borderColor)!==null&&h!==void 0?h:void 0,borderWidth:(d=t.borderWidth)!==null&&d!==void 0?d:0,borderDashArray:(m=t.borderDashArray)!==null&&m!==void 0?m:void 0,borderDashPhase:(v=t.borderDashPhase)!==null&&v!==void 0?v:void 0,borderLineCap:(y=t.borderLineCap)!==null&&y!==void 0?y:void 0,graphicsState:b}))},n.prototype.drawCircle=function(t){t===void 0&&(t={});var e=t.size,i=e===void 0?100:e;ut(i,"size",["number"]),this.drawEllipse(Ht(Ht({},t),{xScale:i,yScale:i}))},n.prototype.setOrEmbedFont=function(t){var e=this.font,i=this.fontKey;t?this.setFont(t):this.getFont();var r=this.font,s=this.fontKey;return{oldFont:e,oldFontKey:i,newFont:r,newFontKey:s}},n.prototype.getFont=function(){if(!this.font||!this.fontKey){var t=this.doc.embedStandardFont(Hc.Helvetica);this.setFont(t)}return[this.font,this.fontKey]},n.prototype.resetFont=function(){this.font=void 0,this.fontKey=void 0},n.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)},n.prototype.createContentStream=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var i=this.doc.context.obj({}),r=jl.of(i,t);return r},n.prototype.maybeEmbedGraphicsState=function(t){var e=t.opacity,i=t.borderOpacity,r=t.blendMode;if(!(e===void 0&&i===void 0&&r===void 0)){var s=this.doc.context.obj({Type:"ExtGState",ca:e,CA:i,BM:r}),l=this.node.newExtGState("GS",s);return l}},n.prototype.scaleAnnot=function(t,e,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 Bt&&c.scalePDFNumbers(e,i)}var h=t.lookup(N.of("InkList"));if(h instanceof Bt)for(var s=0,l=h.size();s<l;s++){var d=h.lookup(s);d instanceof Bt&&d.scalePDFNumbers(e,i)}},n.of=function(t,e,i){return new n(t,e,i)},n.create=function(t){W(t,"doc",[[la,"PDFDocument"]]);var e=jt.of(-1),i=Ca.withContextAndParent(t.context,e),r=t.context.register(i);return new n(i,r,t)},n})(),di=Ttt;var Ctt=(function(n){at(t,n);function t(e,i,r){var s=n.call(this,e,i,r)||this;return W(e,"acroButton",[[Fc,"PDFAcroPushButton"]]),s.acroField=e,s}return t.prototype.setImage=function(e,i){i===void 0&&(i=Po.Center);for(var r=this.acroField.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s],h=this.createImageAppearanceStream(c,e,i);this.updateWidgetAppearances(c,{normal:h})}this.markAsClean()},t.prototype.setFontSize=function(e){Tc(e,"fontSize"),this.acroField.setFontSize(e),this.markAsDirty()},t.prototype.addToPage=function(e,i,r){var s,l,c,h,d,m,v,y,b,x,E;ut(e,"text",["string"]),ut(i,"page",[[di,"PDFPage"]]),mo(r);var C=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)-((h=r?.borderWidth)!==null&&h!==void 0?h:0)/2,width:(d=r?.width)!==null&&d!==void 0?d:100,height:(m=r?.height)!==null&&m!==void 0?m:50,textColor:(v=r?.textColor)!==null&&v!==void 0?v:ae(0,0,0),backgroundColor:(y=r?.backgroundColor)!==null&&y!==void 0?y:ae(.75,.75,.75),borderColor:r?.borderColor,borderWidth:(b=r?.borderWidth)!==null&&b!==void 0?b:0,rotate:(x=r?.rotate)!==null&&x!==void 0?x:_t(0),caption:e,hidden:r?.hidden,page:i.ref}),A=this.doc.context.register(C.dict);this.acroField.addWidget(A);var T=(E=r?.font)!==null&&E!==void 0?E:this.doc.getForm().getDefaultFont();this.updateWidgetAppearance(C,T),i.node.addAnnot(A)},t.prototype.needsAppearancesUpdate=function(){var e;if(this.isDirty())return!0;for(var i=this.acroField.getWidgets(),r=0,s=i.length;r<s;r++){var l=i[r],c=((e=l.getAppearances())===null||e===void 0?void 0:e.normal)instanceof wn;if(!c)return!0}return!1},t.prototype.defaultUpdateAppearances=function(e){W(e,"font",[[Wn,"PDFFont"]]),this.updateAppearances(e)},t.prototype.updateAppearances=function(e,i){W(e,"font",[[Wn,"PDFFont"]]),ut(i,"provider",[Function]);for(var r=this.acroField.getWidgets(),s=0,l=r.length;s<l;s++){var c=r[s];this.updateWidgetAppearance(c,e,i)}},t.prototype.updateWidgetAppearance=function(e,i,r){var s=r??_9,l=po(s(this,e,i));this.updateWidgetAppearanceWithFont(e,i,l)},t.of=function(e,i,r){return new t(e,i,r)},t})(Oa),g0=Ctt;async function B9(n,t){let e;typeof n=="string"?e=await(await fetch(n)).arrayBuffer():e=n;let i=await la.load(e),r=await i.embedFont(Hc.Helvetica),s=i.getPages();for(let l of t){if(!l.value)continue;let c=s[l.page];if(!c)continue;let h=c.getWidth(),d=c.getHeight(),m=l.x/100*h,v=d-l.y/100*d-l.height/100*d,y=l.width/100*h,b=l.height/100*d;if(l.type==="checkbox"){if(l.value==="true"){let x=Math.min(y,b)*.2,E=Math.min(y,b)*.08;c.drawLine({start:{x:m+x,y:v+x},end:{x:m+y-x,y:v+b-x},thickness:E,color:ae(0,0,0)}),c.drawLine({start:{x:m+y-x,y:v+x},end:{x:m+x,y:v+b-x},thickness:E,color:ae(0,0,0)})}}else if(l.type==="signature"||l.type==="initials"){if(l.value.startsWith("data:image/png")){let x=Uint8Array.from(atob(l.value.split(",")[1]),C=>C.charCodeAt(0)),E=await i.embedPng(x);c.drawImage(E,{x:m,y:v,width:y,height:b})}}else{let x=Math.min(l.fontSize,b*.7);c.drawText(l.value,{x:m+2,y:v+b*.3,size:x,font:r,color:ae(0,0,0),maxWidth:y-4})}}return i.save()}function P9(n,t){let e=new Blob([n.slice().buffer],{type:"application/pdf"}),i=URL.createObjectURL(e),r=document.createElement("a");r.href=i,r.download=t,r.click(),URL.revokeObjectURL(i)}async function H9(n,t,e){let i=new Blob([n.slice().buffer],{type:"application/pdf"}),r=new FormData;r.append("file",i,e),await fetch(t,{method:"POST",body:r})}var Vl=yn(Aa());function j9({fields:n,currentFieldId:t,onNavigate:e,allRequiredFilled:i,onSubmit:r}){let s=n.findIndex(v=>v.id===t),l=s>0,c=s<n.length-1,h=()=>{l&&e(n[s-1].id)},d=()=>{c&&e(n[s+1].id)},m=n.filter(v=>!v.required||v.type==="checkbox"?!0:!!v.value).length;return(0,Vl.jsxs)("div",{className:"field-navigator",children:[(0,Vl.jsxs)("div",{className:"field-navigator-progress",children:[m," of ",n.length," fields completed"]}),(0,Vl.jsxs)("div",{className:"field-navigator-controls",children:[(0,Vl.jsx)("button",{onClick:h,disabled:!l,className:"nav-btn",children:"Prev"}),(0,Vl.jsx)("span",{className:"field-navigator-position",children:s>=0?`${s+1} / ${n.length}`:"-"}),(0,Vl.jsx)("button",{onClick:d,disabled:!c,className:"nav-btn",children:"Next"})]}),(0,Vl.jsx)("button",{onClick:r,disabled:!i,className:"submit-btn",children:"Complete & Download"})]})}var Ue=yn(Aa());function q9({initialPdfUrl:n,initialTemplate:t,initialSigner:e,callbackUrl:i,onComplete:r}={}){let[s,l]=(0,pi.useState)([]),[c,h]=(0,pi.useState)([]),[d,m]=(0,pi.useState)(null),[v,y]=(0,pi.useState)(e||"Signer 1"),[b,x]=(0,pi.useState)(!1),[E,C]=(0,pi.useState)(!1),[A,T]=(0,pi.useState)(null),[D,O]=(0,pi.useState)(i||""),F=(0,pi.useRef)(null);(0,pi.useEffect)(()=>{if(t){h(t.fields),n&&U(n);return}let B=new URLSearchParams(window.location.search),X=B.get("pdf"),V=B.get("fields"),lt=B.get("signer"),dt=B.get("callbackUrl");lt&&y(lt),dt&&O(dt),X&&U(X),V&&fetch(V).then(tt=>tt.json()).then(tt=>h(tt.fields)).catch(tt=>console.error("Failed to load fields:",tt));let re=tt=>{tt.data?.type==="load-signing"&&(tt.data.fields&&h(tt.data.fields),tt.data.pdfUrl&&U(tt.data.pdfUrl),tt.data.signer&&y(tt.data.signer),tt.data.callbackUrl&&O(tt.data.callbackUrl))};return window.addEventListener("message",re),()=>window.removeEventListener("message",re)},[t,n]);let U=(0,pi.useCallback)(async B=>{x(!0);try{let X=await mA(B);l(X),T(B)}catch(X){console.error("Failed to load PDF:",X)}finally{x(!1)}},[]),L=c.filter(B=>B.assignee===v),k=c.find(B=>B.id===d)||null,G=k?k.assignee===v:!1,q=(0,pi.useCallback)((B,X)=>{h(V=>V.map(lt=>lt.id===B?{...lt,value:X}:lt))},[]),Z=(0,pi.useCallback)(B=>{m(B);let X=c.find(V=>V.id===B);if(X&&F.current){let V=F.current.querySelector(`[data-page="${X.page}"]`);V&&V.scrollIntoView({behavior:"smooth",block:"center"})}},[c]),J=L.every(B=>!B.required||B.type==="checkbox"?!0:!!B.value),nt=(0,pi.useCallback)(async()=>{if(!(!A||!J)){C(!0);try{let B=await B9(A,c),X=new Blob([B.slice().buffer],{type:"application/pdf"});P9(B,"signed-document.pdf"),D&&await H9(B,D,"signed-document.pdf"),r&&r(X),window.parent?.postMessage({type:"signing-complete"},"*")}catch(B){console.error("Failed to generate PDF:",B)}finally{C(!1)}}},[A,c,D,J,r]),ot=(0,pi.useCallback)(B=>B.assignee===v?B.type==="signature"||B.type==="initials"?B.value?(0,Ue.jsx)("div",{className:"field-signature-filled",onClick:()=>q(B.id,""),children:(0,Ue.jsx)("img",{src:B.value,alt:B.label,className:"field-signature-preview"})}):(0,Ue.jsx)("div",{className:"field-overlay-placeholder editable",children:B.placeholder}):B.type==="checkbox"?(0,Ue.jsx)("div",{className:"field-checkbox-display editable",onClick:V=>{V.stopPropagation(),q(B.id,B.value==="true"?"":"true")},children:B.value==="true"?"\u2713":""}):B.type==="signed-date"?(0,Ue.jsx)("div",{className:"field-overlay-value",children:B.value||new Date().toLocaleDateString()}):(0,Ue.jsx)("input",{type:B.textSubtype==="email"?"email":B.textSubtype==="number"?"number":B.textSubtype==="phone"?"tel":B.textSubtype==="date"?"date":"text",className:"field-inline-input",value:B.value,placeholder:B.placeholder,onChange:V=>q(B.id,V.target.value),onClick:V=>V.stopPropagation(),style:{fontSize:`${B.fontSize*.6}px`}}):B.type==="signature"||B.type==="initials"?B.value?(0,Ue.jsx)("img",{src:B.value,alt:B.label,className:"field-signature-preview"}):(0,Ue.jsx)("div",{className:"field-overlay-placeholder readonly",children:B.placeholder}):B.type==="checkbox"?(0,Ue.jsx)("div",{className:"field-checkbox-display readonly",children:B.value==="true"?"\u2713":""}):(0,Ue.jsx)("div",{className:"field-overlay-placeholder readonly",children:B.value||B.placeholder}),[v,q]);return(0,pi.useEffect)(()=>{if(c.filter(X=>X.assignee===v&&X.type==="signature"&&X.value).length>0){let X=new Date().toLocaleDateString();h(V=>V.map(lt=>lt.assignee===v&&lt.type==="signed-date"&&!lt.value?{...lt,value:X}:lt))}},[c.filter(B=>B.type==="signature"&&B.value).length]),(0,Ue.jsxs)("div",{className:"signer-layout",ref:F,children:[b&&(0,Ue.jsx)("div",{className:"loading-indicator",children:"Loading document..."}),(0,Ue.jsxs)("div",{className:"signer-content",children:[(0,Ue.jsx)("div",{className:"signer-pdf-area",children:s.length>0&&(0,Ue.jsx)(yA,{pages:s,fields:c,selectedFieldId:d,onSelectField:m,mode:"signer",currentSigner:v,renderFieldContent:ot})}),(0,Ue.jsxs)("div",{className:"signer-panel",children:[k&&G&&(0,Ue.jsxs)("div",{className:"signer-field-input",children:[(0,Ue.jsx)("h3",{children:k.label}),k.required&&(0,Ue.jsx)("span",{className:"required-badge",children:"Required"}),(k.type==="signature"||k.type==="initials")&&(0,Ue.jsx)(bA,{width:280,height:k.type==="initials"?80:120,onSign:B=>q(k.id,B),initialValue:k.value}),k.type==="text"&&(0,Ue.jsx)("input",{type:k.textSubtype==="email"?"email":k.textSubtype==="number"?"number":k.textSubtype==="phone"?"tel":k.textSubtype==="date"?"date":"text",value:k.value,onChange:B=>q(k.id,B.target.value),placeholder:k.placeholder,className:"signer-text-input"}),k.type==="checkbox"&&(0,Ue.jsxs)("label",{className:"signer-checkbox-label",children:[(0,Ue.jsx)("input",{type:"checkbox",checked:k.value==="true",onChange:B=>q(k.id,B.target.checked?"true":"")}),k.placeholder||"Check this box"]}),k.type==="signed-date"&&(0,Ue.jsx)("div",{className:"signer-date-display",children:k.value||"Will auto-fill when you sign"})]}),k&&!G&&(0,Ue.jsxs)("div",{className:"signer-field-readonly",children:[(0,Ue.jsx)("h3",{children:k.label}),(0,Ue.jsx)("p",{children:"This field belongs to another signer."})]}),!k&&L.length>0&&(0,Ue.jsx)("div",{className:"panel-empty",children:"Select a field to fill it in, or use the navigation below."}),(0,Ue.jsx)(j9,{fields:L,currentFieldId:d,onNavigate:Z,allRequiredFilled:J,onSubmit:nt}),E&&(0,Ue.jsx)("div",{className:"loading-indicator",children:"Generating PDF..."})]})]}),(0,Ue.jsxs)("div",{className:"powered-by",children:["Powered by ",(0,Ue.jsx)("a",{href:"https://exeq.org",target:"_blank",rel:"noopener noreferrer",children:"Exeq.org"})]})]})}function V9(n){if(typeof n=="string"){let t=document.querySelector(n);if(!t)throw new Error(`Exeq: target "${n}" not found`);return t}return n}function G9(n){if(n.querySelector("[data-exeq-styles]"))return;let t=document.querySelector('script[src*="exeq"]');if(t){let e=new URL(t.src).origin,i=document.createElement("link");i.rel="stylesheet",i.href=`${e}/embed.css`,i.setAttribute("data-exeq-styles","true"),n.appendChild(i)}}var I9={editor(n){let t=V9(n.target);G9(t);let e=(0,t3.createRoot)(t);return e.render($_.default.createElement(wP)),n.pdf&&setTimeout(()=>{window.postMessage({type:"load-pdf",url:n.pdf},"*")},100),{destroy:()=>e.unmount()}},sign(n){let t=V9(n.target);return G9(t),(typeof n.fields=="string"?fetch(n.fields).then(i=>i.json()):Promise.resolve(n.fields)).then(i=>{let r=(0,t3.createRoot)(t),s={initialPdfUrl:n.pdf,initialTemplate:i,initialSigner:n.signer||"Signer 1",callbackUrl:n.callbackUrl,onComplete:n.onComplete};r.render($_.default.createElement(q9,s)),t.__exeqRoot=r}),{destroy:()=>{let i=t.__exeqRoot;i&&i.unmount()}}}};typeof window<"u"&&(window.Exeq=I9);var Dtt=I9;return NI(Rtt);})();
292
- /*! Bundled license information:
293
-
294
- react/cjs/react.production.js:
295
- (**
296
- * @license React
297
- * react.production.js
298
- *
299
- * Copyright (c) Meta Platforms, Inc. and affiliates.
300
- *
301
- * This source code is licensed under the MIT license found in the
302
- * LICENSE file in the root directory of this source tree.
303
- *)
304
-
305
- react/cjs/react.development.js:
306
- (**
307
- * @license React
308
- * react.development.js
309
- *
310
- * Copyright (c) Meta Platforms, Inc. and affiliates.
311
- *
312
- * This source code is licensed under the MIT license found in the
313
- * LICENSE file in the root directory of this source tree.
314
- *)
315
-
316
- scheduler/cjs/scheduler.production.js:
317
- (**
318
- * @license React
319
- * scheduler.production.js
320
- *
321
- * Copyright (c) Meta Platforms, Inc. and affiliates.
322
- *
323
- * This source code is licensed under the MIT license found in the
324
- * LICENSE file in the root directory of this source tree.
325
- *)
326
-
327
- scheduler/cjs/scheduler.development.js:
328
- (**
329
- * @license React
330
- * scheduler.development.js
331
- *
332
- * Copyright (c) Meta Platforms, Inc. and affiliates.
333
- *
334
- * This source code is licensed under the MIT license found in the
335
- * LICENSE file in the root directory of this source tree.
336
- *)
337
-
338
- react-dom/cjs/react-dom.production.js:
339
- (**
340
- * @license React
341
- * react-dom.production.js
342
- *
343
- * Copyright (c) Meta Platforms, Inc. and affiliates.
344
- *
345
- * This source code is licensed under the MIT license found in the
346
- * LICENSE file in the root directory of this source tree.
347
- *)
348
-
349
- react-dom/cjs/react-dom.development.js:
350
- (**
351
- * @license React
352
- * react-dom.development.js
353
- *
354
- * Copyright (c) Meta Platforms, Inc. and affiliates.
355
- *
356
- * This source code is licensed under the MIT license found in the
357
- * LICENSE file in the root directory of this source tree.
358
- *)
359
-
360
- react-dom/cjs/react-dom-client.production.js:
361
- (**
362
- * @license React
363
- * react-dom-client.production.js
364
- *
365
- * Copyright (c) Meta Platforms, Inc. and affiliates.
366
- *
367
- * This source code is licensed under the MIT license found in the
368
- * LICENSE file in the root directory of this source tree.
369
- *)
370
-
371
- react-dom/cjs/react-dom-client.development.js:
372
- (**
373
- * @license React
374
- * react-dom-client.development.js
375
- *
376
- * Copyright (c) Meta Platforms, Inc. and affiliates.
377
- *
378
- * This source code is licensed under the MIT license found in the
379
- * LICENSE file in the root directory of this source tree.
380
- *)
381
-
382
- react/cjs/react-jsx-runtime.production.js:
383
- (**
384
- * @license React
385
- * react-jsx-runtime.production.js
386
- *
387
- * Copyright (c) Meta Platforms, Inc. and affiliates.
388
- *
389
- * This source code is licensed under the MIT license found in the
390
- * LICENSE file in the root directory of this source tree.
391
- *)
392
-
393
- react/cjs/react-jsx-runtime.development.js:
394
- (**
395
- * @license React
396
- * react-jsx-runtime.development.js
397
- *
398
- * Copyright (c) Meta Platforms, Inc. and affiliates.
399
- *
400
- * This source code is licensed under the MIT license found in the
401
- * LICENSE file in the root directory of this source tree.
402
- *)
403
-
404
- tslib/tslib.es6.js:
405
- (*! *****************************************************************************
406
- Copyright (c) Microsoft Corporation.
407
-
408
- Permission to use, copy, modify, and/or distribute this software for any
409
- purpose with or without fee is hereby granted.
410
-
411
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
412
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
413
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
414
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
415
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
416
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
417
- PERFORMANCE OF THIS SOFTWARE.
418
- ***************************************************************************** *)
419
- */